@spytecgps/nova-orm 1.2.29-rc3 → 1.2.29-rc4
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/acumaticaAmazonProduct.js +1 -2
- package/dist/entities/acumaticaImeiIccidData.js +2 -4
- package/dist/entities/acumaticaOrderShipmentDetails.js +3 -5
- package/dist/entities/acumaticaShipment.js +0 -1
- package/dist/entities/acumaticaShipmentAmazon.js +0 -1
- package/dist/entities/aempToken.d.ts +0 -1
- package/dist/entities/aempToken.js +0 -1
- package/dist/entities/alert.d.ts +0 -1
- package/dist/entities/alert.js +3 -11
- package/dist/entities/alertMigration.d.ts +22 -0
- package/dist/entities/alertMigration.js +115 -0
- package/dist/entities/alertMigrationBatch.d.ts +3 -0
- package/dist/entities/alertMigrationBatch.js +21 -0
- package/dist/entities/alertTimeWindowConfiguration.d.ts +12 -0
- package/dist/entities/alertTimeWindowConfiguration.js +61 -0
- package/dist/entities/alertType.js +0 -1
- package/dist/entities/appFeatureType.js +0 -1
- package/dist/entities/assetCategory.js +0 -1
- package/dist/entities/billing.js +0 -1
- package/dist/entities/billingCustomerBraintree.js +0 -1
- package/dist/entities/billingDeviceHistory.js +0 -1
- package/dist/entities/billingHubspotPaymentLog.js +0 -1
- package/dist/entities/billingKlarnaCustomer.js +0 -1
- package/dist/entities/billingKlarnaOrder.js +0 -1
- package/dist/entities/billingStatusHistoryBraintree.js +0 -1
- package/dist/entities/billingSubscriptionBraintree.js +0 -1
- package/dist/entities/blacklist.js +0 -1
- package/dist/entities/blacklistType.js +0 -1
- package/dist/entities/bleMeshConfiguration.js +1 -1
- package/dist/entities/boundary.js +0 -2
- package/dist/entities/boundaryEvent.d.ts +0 -1
- package/dist/entities/boundaryEvent.js +0 -1
- package/dist/entities/cellTower.js +0 -1
- package/dist/entities/client.d.ts +0 -1
- package/dist/entities/client.js +6 -1
- package/dist/entities/clientAlertRecipient.d.ts +0 -1
- package/dist/entities/clientAppFeature.js +0 -1
- package/dist/entities/clientConfiguration.js +2 -14
- package/dist/entities/clientDeviceSetting.js +0 -6
- package/dist/entities/clientType.js +0 -1
- package/dist/entities/country.js +1 -3
- package/dist/entities/customerAttribute.js +0 -29
- package/dist/entities/dataExport.d.ts +0 -1
- package/dist/entities/dataSourceType.js +0 -1
- package/dist/entities/deactivation.js +0 -1
- package/dist/entities/deactivationReason.js +0 -1
- package/dist/entities/device.js +0 -14
- package/dist/entities/deviceAlertConfiguration.d.ts +14 -0
- package/dist/entities/deviceAlertConfiguration.js +71 -0
- package/dist/entities/deviceBehavior.js +0 -1
- package/dist/entities/deviceBleMeshUpdateTask.d.ts +0 -1
- package/dist/entities/deviceCustomConfiguration.js +2 -12
- package/dist/entities/deviceHistory.js +0 -1
- package/dist/entities/deviceModelListener.js +0 -1
- package/dist/entities/devicePairing.js +0 -16
- package/dist/entities/devicePromotion.js +73 -6
- package/dist/entities/deviceReplacement.d.ts +0 -1
- package/dist/entities/deviceReplacement.js +0 -1
- package/dist/entities/deviceTask.js +0 -1
- package/dist/entities/deviceType.js +7 -2
- package/dist/entities/deviceTypeEvent.d.ts +5 -0
- package/dist/entities/{asinPromotion.js → deviceTypeEvent.js} +19 -24
- package/dist/entities/deviceTypeFeature.js +0 -1
- package/dist/entities/deviceTypeFirmware.js +0 -1
- package/dist/entities/entityTag.js +17 -41
- package/dist/entities/entityType.js +0 -1
- package/dist/entities/event.d.ts +6 -0
- package/dist/entities/{imeiIccidImport.js → event.js} +20 -16
- package/dist/entities/feature.js +0 -1
- package/dist/entities/firmwareAutoUpgradeBlacklist.js +0 -1
- package/dist/entities/firmwareUpgradeTask.d.ts +0 -1
- package/dist/entities/firmwareUpgradeTask.js +0 -3
- package/dist/entities/iccidStatus.js +0 -1
- package/dist/entities/imeiIccidCarrier.js +0 -1
- package/dist/entities/imeiIccidHistory.js +0 -1
- package/dist/entities/index.js +8 -29
- package/dist/entities/industry.js +0 -1
- package/dist/entities/latestPosition.d.ts +0 -1
- package/dist/entities/latestPosition.js +0 -6
- package/dist/entities/latestPositionMigration.d.ts +0 -1
- package/dist/entities/latestPositionMigration.js +0 -1
- package/dist/entities/latestPositionMigrationBatch.js +0 -1
- package/dist/entities/latestUserAppInfo.d.ts +0 -1
- package/dist/entities/magento2Gps.js +4 -7
- package/dist/entities/magento2Plan.js +0 -1
- package/dist/entities/mobileNetwork.js +0 -1
- package/dist/entities/notificationRecipient.d.ts +0 -1
- package/dist/entities/notificationRecipient.js +1 -29
- package/dist/entities/organization.d.ts +0 -1
- package/dist/entities/organization.js +0 -1
- package/dist/entities/plan.js +0 -1
- package/dist/entities/position.d.ts +0 -1
- package/dist/entities/position.js +2 -6
- package/dist/entities/positionMigration.d.ts +0 -1
- package/dist/entities/positionMigration.js +0 -1
- package/dist/entities/positionMigrationBatch.js +0 -1
- package/dist/entities/promotion.js +45 -47
- package/dist/entities/securityRole.js +1 -8
- package/dist/entities/serviceProvider.js +0 -1
- package/dist/entities/serviceProviderProduct.js +1 -2
- package/dist/entities/serviceProviderProductNetwork.js +0 -1
- package/dist/entities/serviceProviderProductType.js +0 -1
- package/dist/entities/sim.js +0 -1
- package/dist/entities/svrPairingRequest.d.ts +21 -0
- package/dist/entities/svrPairingRequest.js +174 -0
- package/dist/entities/task.js +2 -41
- package/dist/entities/taskSchedule.js +1 -7
- package/dist/entities/trip.d.ts +0 -1
- package/dist/entities/trip.js +0 -12
- package/dist/entities/tripCompletionStatus.js +0 -1
- package/dist/entities/tripPosition.js +0 -1
- package/dist/entities/user.d.ts +0 -1
- package/dist/entities/user.js +1 -23
- package/dist/entities/userActivation.d.ts +0 -1
- package/dist/entities/userActivation.js +0 -1
- package/dist/entities/userActivationDevice.js +2 -3
- package/dist/entities/userActivationEvent.d.ts +0 -1
- package/dist/entities/userActivationEvent.js +0 -1
- package/dist/entities/userActivationMetric.d.ts +0 -1
- package/dist/entities/userActivationMetric.js +0 -1
- package/dist/entities/userAlertComplain.d.ts +0 -1
- package/dist/entities/userAlertComplain.js +0 -1
- package/dist/entities/userAlertConfiguration.d.ts +0 -1
- package/dist/entities/userAlertConfiguration.js +3 -37
- package/dist/entities/userAlertNotificationsConfig.d.ts +0 -1
- package/dist/entities/userAppFeedback.d.ts +0 -1
- package/dist/entities/userAppFeedback.js +0 -1
- package/dist/entities/userAppIncident.d.ts +0 -1
- package/dist/entities/userAppIncident.js +0 -1
- package/dist/entities/userConfiguration.d.ts +0 -1
- package/dist/entities/userConfiguration.js +0 -1
- package/dist/entities/userDataDeletionRequest.d.ts +0 -1
- package/dist/entities/userDataDeletionRequest.js +1 -3
- package/dist/entities/userDeviceBehaviorTask.d.ts +0 -1
- package/dist/entities/userDeviceBehaviorTask.js +0 -1
- package/dist/entities/userInvitation.d.ts +5 -2
- package/dist/entities/userInvitation.js +1 -14
- package/dist/entities/userRatingRequest.d.ts +0 -1
- package/dist/entities/userRatingRequest.js +0 -1
- package/dist/entities/userRegistrationAttempt.d.ts +0 -1
- package/dist/entities/userRegistrationAttempt.js +0 -1
- package/dist/entities/userSecurityRole.d.ts +0 -1
- package/dist/entities/userSecurityRole.js +1 -14
- package/dist/index.js +1 -1
- package/dist/migration/1684483704434-addLowerCaseIndex.js +0 -1
- package/dist/novaDataSource.js +16 -99
- package/dist/repositories/acumatica/getAcumaticaImeiIccidData.js +3 -15
- package/dist/repositories/acumatica/getAcumaticaShipmentDetails.js +3 -9
- package/dist/repositories/acumatica/getLastAcumaticaShipmentDetails.js +2 -8
- package/dist/repositories/acumatica/index.js +3 -32
- package/dist/repositories/aempToken/createAempToken.js +0 -1
- package/dist/repositories/aempToken/deleteAempTokens.js +3 -4
- package/dist/repositories/aempToken/getAempTokens.js +4 -12
- package/dist/repositories/aempToken/index.js +3 -4
- package/dist/repositories/alertTypes/getAlertTypes.js +2 -8
- package/dist/repositories/alertTypes/index.js +1 -2
- package/dist/repositories/alerts/createAlert.js +0 -5
- package/dist/repositories/alerts/createUserAlertComplain.js +0 -1
- package/dist/repositories/alerts/getAlertsReportByClient.js +0 -5
- package/dist/repositories/alerts/getAlertsReportByUser.js +0 -5
- package/dist/repositories/alerts/index.js +4 -5
- package/dist/repositories/appFeatures/createAppFeatureType.js +0 -1
- package/dist/repositories/appFeatures/createClientAppFeature.js +0 -1
- package/dist/repositories/appFeatures/getClientAppFeatures.js +2 -8
- package/dist/repositories/appFeatures/index.js +3 -4
- package/dist/repositories/assetCategories/getAssetCategories.js +4 -15
- package/dist/repositories/assetCategories/index.js +3 -4
- package/dist/repositories/baseRepository.js +1 -16
- package/dist/repositories/billing/createBilling.js +0 -1
- package/dist/repositories/billing/createBillingDeviceHistory.js +1 -2
- package/dist/repositories/billing/createBillingHubspotPaymentLog.js +0 -1
- package/dist/repositories/billing/createBillingStatusHistoryBraintree.js +0 -1
- package/dist/repositories/billing/getBillingCustomerBraintreeById.js +2 -8
- package/dist/repositories/billing/getBillingKlarnaOrderByImei.js +2 -8
- package/dist/repositories/billing/getBillingSubscriptionBraintreeByImei.js +2 -8
- package/dist/repositories/billing/getBillingSubscriptionsBraintree.js +4 -10
- package/dist/repositories/billing/getBillings.js +6 -12
- package/dist/repositories/billing/getCanceledImeis.js +7 -19
- package/dist/repositories/billing/getCanceledImeisMatchingMagentoData.js +19 -39
- package/dist/repositories/billing/getChurnStatusByClientId.js +4 -14
- package/dist/repositories/billing/getClientIdFromBraintreeCustomer.js +2 -8
- package/dist/repositories/billing/getMagentoPlan.js +2 -8
- package/dist/repositories/billing/getUserByBraintreeCustomerId.js +2 -8
- package/dist/repositories/billing/index.js +21 -93
- package/dist/repositories/billing/updateBilling.js +0 -1
- package/dist/repositories/billing/updateBillingCustomerBraintree.js +0 -1
- package/dist/repositories/billing/upsertBillingCustomerBraintree.js +1 -11
- package/dist/repositories/billing/upsertBillingKlarnaCustomer.js +0 -1
- package/dist/repositories/billing/upsertBillingKlarnaOrder.js +0 -1
- package/dist/repositories/billing/upsertBillingSubscriptionBraintree.js +0 -1
- package/dist/repositories/blacklist/getBlacklists.js +2 -8
- package/dist/repositories/blacklist/index.js +1 -53
- package/dist/repositories/bleMeshConfiguration/createBLEMeshConfigurationParams.js +0 -1
- package/dist/repositories/bleMeshConfiguration/deleteBLEMeshConfiguration.js +0 -1
- package/dist/repositories/bleMeshConfiguration/getBLEMeshConfiguration.js +2 -8
- package/dist/repositories/bleMeshConfiguration/index.js +4 -8
- package/dist/repositories/bleMeshConfiguration/updateBLEMeshConfiguration.js +0 -1
- package/dist/repositories/boundaries/createBoundary.js +0 -1
- package/dist/repositories/boundaries/deleteBoundary.js +0 -1
- package/dist/repositories/boundaries/getBoundariesByClientId.js +8 -45
- package/dist/repositories/boundaries/getBoundariesIdsByClientId.js +7 -12
- package/dist/repositories/boundaries/getBoundariesReport.js +2 -8
- package/dist/repositories/boundaries/getBoundaryById.js +5 -14
- package/dist/repositories/boundaries/index.js +9 -10
- package/dist/repositories/boundaries/processBoundaryEvent.js +0 -1
- package/dist/repositories/boundaries/updateBoundary.js +0 -1
- package/dist/repositories/boundaries/upsertBoundaryEvent.js +0 -1
- package/dist/repositories/clients/createClient.js +0 -1
- package/dist/repositories/clients/createClientConfiguration.js +0 -3
- package/dist/repositories/clients/createCustomerAttribute.js +1 -7
- package/dist/repositories/clients/deleteClientAndConfiguration.js +0 -1
- package/dist/repositories/clients/getClient.js +2 -8
- package/dist/repositories/clients/getClientConfiguration.js +6 -23
- package/dist/repositories/clients/getClients.js +2 -8
- package/dist/repositories/clients/getCustomerAttribute.js +4 -13
- package/dist/repositories/clients/index.js +11 -47
- package/dist/repositories/clients/updateClient.js +0 -1
- package/dist/repositories/clients/updateClientConfiguration.js +10 -8
- package/dist/repositories/clients/updateCustomerAttribute.js +7 -7
- package/dist/repositories/countries/getCountries.js +2 -8
- package/dist/repositories/countries/getCountry.js +4 -10
- package/dist/repositories/countries/index.js +2 -3
- package/dist/repositories/deactivations/createDeactivation.js +0 -1
- package/dist/repositories/deactivations/getDeactivationReasons.js +2 -8
- package/dist/repositories/deactivations/getLatestDeactivationByImei.js +2 -8
- package/dist/repositories/deactivations/index.js +3 -4
- package/dist/repositories/deviceBehaviors/createDeviceBehaviorTask.js +0 -1
- package/dist/repositories/deviceBehaviors/getDeviceBehaviorTasks.js +2 -8
- package/dist/repositories/deviceBehaviors/getDeviceBehaviors.js +3 -9
- package/dist/repositories/deviceBehaviors/getDeviceBehaviorsByIds.js +2 -8
- package/dist/repositories/deviceBehaviors/getDevicesLastBehaviorTask.d.ts +5 -0
- package/dist/repositories/deviceBehaviors/getDevicesLastBehaviorTask.js +42 -0
- package/dist/repositories/deviceBehaviors/getLatestDeviceBehaviorTasks.d.ts +4 -0
- package/dist/repositories/deviceBehaviors/getLatestDeviceBehaviorTasks.js +40 -0
- package/dist/repositories/deviceBehaviors/index.js +42 -7
- package/dist/repositories/deviceBehaviors/updateDeviceBehaviorTask.js +0 -1
- package/dist/repositories/deviceBehaviors/upsertDeviceBehavior.js +0 -1
- package/dist/repositories/devicePairings/createDevicePairing.js +0 -1
- package/dist/repositories/devicePairings/deleteDevicePairing.js +0 -1
- package/dist/repositories/devicePairings/getDevicePairings.js +2 -8
- package/dist/repositories/devicePairings/getDevicePairingsByImei.js +2 -8
- package/dist/repositories/devicePairings/index.js +5 -22
- package/dist/repositories/devicePairings/updateDevicePairing.js +1 -5
- package/dist/repositories/devices/allImeisAreActiveForClient.js +2 -8
- package/dist/repositories/devices/createClientDeviceSetting.js +1 -3
- package/dist/repositories/devices/createDevice.js +1 -2
- package/dist/repositories/devices/createDeviceReplacement.js +1 -2
- package/dist/repositories/devices/createDeviceType.js +1 -2
- package/dist/repositories/devices/deleteDevice.js +1 -2
- package/dist/repositories/devices/generateDeviceIdentifierKey.js +1 -2
- package/dist/repositories/devices/getCanceledDevicesWithActiveSimCards.js +3 -13
- package/dist/repositories/devices/getCarrierStatusUpdatedBefore.js +2 -8
- package/dist/repositories/devices/getClientDeviceSetting.js +2 -8
- package/dist/repositories/devices/getClientDeviceSettings.js +2 -8
- package/dist/repositories/devices/getDevice.js +2 -8
- package/dist/repositories/devices/getDeviceCustomConfig.js +2 -8
- package/dist/repositories/devices/getDeviceTypeByImei.js +2 -8
- package/dist/repositories/devices/getDeviceTypes.js +18 -41
- package/dist/repositories/devices/getDeviceTypesModelsOrderedByDeviceCount.js +2 -8
- package/dist/repositories/devices/getDeviceWithUsersInfo.js +2 -8
- package/dist/repositories/devices/getDevices.js +7 -56
- package/dist/repositories/devices/getFilteredImeisWithStatus.js +2 -8
- package/dist/repositories/devices/getIccidStatus.js +2 -8
- package/dist/repositories/devices/getImeiIccidCarrier.js +2 -8
- package/dist/repositories/devices/getImeiIccidCarriers.js +2 -8
- package/dist/repositories/devices/index.js +59 -143
- package/dist/repositories/devices/updateClientDeviceSetting.js +2 -5
- package/dist/repositories/devices/updateDevice.js +14 -5
- package/dist/repositories/devices/updateDeviceType.js +1 -2
- package/dist/repositories/devices/updateIccidStatus.js +1 -2
- package/dist/repositories/devices/updateImeiIccidCarrier.js +1 -2
- package/dist/repositories/devices/upsertIccidStatus.js +1 -2
- package/dist/repositories/firmwares/createDeviceFirmware.js +0 -1
- package/dist/repositories/firmwares/createFirmwareAutoUpgradeBlacklist.js +0 -1
- package/dist/repositories/firmwares/createFirmwareUpgradeTask.js +0 -1
- package/dist/repositories/firmwares/getDeviceFirmwares.js +20 -28
- package/dist/repositories/firmwares/getFirmwareAutoUpgradeBlacklist.js +2 -8
- package/dist/repositories/firmwares/getFirmwareUpgradeTasks.js +2 -8
- package/dist/repositories/firmwares/getFirmwareUpgradeTasksCount.js +2 -8
- package/dist/repositories/firmwares/index.js +9 -10
- package/dist/repositories/firmwares/updateDeviceFirmware.js +0 -1
- package/dist/repositories/firmwares/updateFirmwareUpgradeTasks.js +0 -1
- package/dist/repositories/index.js +1 -13
- package/dist/repositories/notificationRecipients/createNotificationRecipient.js +0 -2
- package/dist/repositories/notificationRecipients/deleteNotificationRecipients.js +3 -9
- package/dist/repositories/notificationRecipients/deleteNotificationRecipientsByEmailOrPhone.js +0 -1
- package/dist/repositories/notificationRecipients/getNotificationRecipients.js +2 -22
- package/dist/repositories/notificationRecipients/index.js +7 -8
- package/dist/repositories/notificationRecipients/updateNotificationRecipient.js +0 -1
- package/dist/repositories/notificationRecipients/updateUsersNotificationsUnsubscribedInfoStatus.js +0 -1
- package/dist/repositories/notificationRecipients/updateUsersNotificationsUnsuscribedStatus.js +0 -1
- package/dist/repositories/positions/createPosition.js +0 -3
- package/dist/repositories/positions/getLatestPositionByImei.js +2 -9
- package/dist/repositories/positions/getPositionsByImei.js +2 -9
- package/dist/repositories/positions/getPositionsReportByClient.js +1 -10
- package/dist/repositories/positions/index.js +8 -17
- package/dist/repositories/positions/upsertLatestPosition.js +0 -1
- package/dist/repositories/security/createUserRole.js +0 -1
- package/dist/repositories/security/getAllRoles.js +4 -15
- package/dist/repositories/security/getUserRoles.js +5 -14
- package/dist/repositories/security/getUserRolesByClientId.js +8 -17
- package/dist/repositories/security/index.js +10 -11
- package/dist/repositories/security/removeUserRoles.js +0 -1
- package/dist/repositories/security/updateUserRole.js +0 -1
- package/dist/repositories/security/userIsAdminOrOwner.js +9 -15
- package/dist/repositories/security/userIsInRole.js +8 -13
- package/dist/repositories/tasks/addTaskScheduleDevices.js +0 -1
- package/dist/repositories/tasks/completeTask.js +2 -12
- package/dist/repositories/tasks/createTask.js +0 -1
- package/dist/repositories/tasks/createTaskSchedule.js +0 -1
- package/dist/repositories/tasks/deleteTask.js +0 -1
- package/dist/repositories/tasks/deleteTaskSchedule.js +0 -1
- package/dist/repositories/tasks/deleteTaskScheduleDevices.js +0 -1
- package/dist/repositories/tasks/getDeviceTasks.js +2 -8
- package/dist/repositories/tasks/getTaskSchedule.js +10 -22
- package/dist/repositories/tasks/getTaskSchedules.js +8 -35
- package/dist/repositories/tasks/getTaskSchedulesCount.js +7 -26
- package/dist/repositories/tasks/getTasks.js +5 -70
- package/dist/repositories/tasks/getTasksCount.js +2 -18
- package/dist/repositories/tasks/index.js +17 -20
- package/dist/repositories/tasks/setTaskAsPastDue.js +0 -1
- package/dist/repositories/tasks/setTaskScheduleDevices.js +0 -1
- package/dist/repositories/tasks/updateTask.js +0 -1
- package/dist/repositories/tasks/updateTaskSchedule.js +0 -1
- package/dist/repositories/trips/createTrip.js +1 -2
- package/dist/repositories/trips/getTripById.js +6 -13
- package/dist/repositories/trips/getTrips.js +14 -74
- package/dist/repositories/trips/index.js +10 -19
- package/dist/repositories/trips/updateTripEndValues.js +1 -2
- package/dist/repositories/trips/upsertTrip.js +1 -2
- package/dist/repositories/userActivations/createUserActivation.js +0 -1
- package/dist/repositories/userActivations/createUserActivationDevice.js +0 -1
- package/dist/repositories/userActivations/createUserActivationEvent.js +0 -1
- package/dist/repositories/userActivations/createUserActivationMetric.js +0 -1
- package/dist/repositories/userActivations/deleteUserActivation.js +0 -1
- package/dist/repositories/userActivations/getLastActivationDevice.js +2 -8
- package/dist/repositories/userActivations/getUserActivationDevices.js +2 -8
- package/dist/repositories/userActivations/getUserActivationDevicesByClientId.js +3 -8
- package/dist/repositories/userActivations/getUserActivationMetrics.js +2 -8
- package/dist/repositories/userActivations/getUserActivations.js +2 -8
- package/dist/repositories/userActivations/index.js +12 -21
- package/dist/repositories/userActivations/updateUserActivationDevice.js +0 -1
- package/dist/repositories/userActivations/updateUserActivationMetrics.js +0 -1
- package/dist/repositories/userAppFeedback/createUserAppFeedback.js +0 -1
- package/dist/repositories/userAppFeedback/index.js +1 -2
- package/dist/repositories/userAppIncidents/getUserAppIncidents.js +2 -8
- package/dist/repositories/userAppIncidents/index.js +2 -3
- package/dist/repositories/userAppIncidents/upsertUserAppIncident.js +0 -1
- package/dist/repositories/userConfigurations/bulkCreateUserAlertConfigurations.js +11 -11
- package/dist/repositories/userConfigurations/createDeviceAlertTimeWindows.d.ts +5 -0
- package/dist/repositories/userConfigurations/createDeviceAlertTimeWindows.js +36 -0
- package/dist/repositories/userConfigurations/createUserAlertTimeWindows.d.ts +5 -0
- package/dist/repositories/userConfigurations/createUserAlertTimeWindows.js +33 -0
- package/dist/repositories/userConfigurations/createUserConfiguration.js +0 -1
- package/dist/repositories/userConfigurations/deleteDeviceAlertTimeWindows.d.ts +4 -0
- package/dist/repositories/userConfigurations/deleteDeviceAlertTimeWindows.js +17 -0
- package/dist/repositories/userConfigurations/deleteUserAlertConfigurations.js +5 -11
- package/dist/repositories/userConfigurations/deleteUserAlertTimeWindows.d.ts +4 -0
- package/dist/repositories/userConfigurations/deleteUserAlertTimeWindows.js +17 -0
- package/dist/repositories/userConfigurations/deleteUserConfiguration.js +0 -1
- package/dist/repositories/userConfigurations/getDeviceAlertTimeWindows.d.ts +5 -0
- package/dist/repositories/userConfigurations/getDeviceAlertTimeWindows.js +43 -0
- package/dist/repositories/userConfigurations/getUserAlertConfigurations.js +2 -11
- package/dist/repositories/userConfigurations/getUserAlertTimeWindows.d.ts +5 -0
- package/dist/repositories/userConfigurations/getUserAlertTimeWindows.js +35 -0
- package/dist/repositories/userConfigurations/getUserConfigurations.js +2 -8
- package/dist/repositories/userConfigurations/index.js +136 -99
- package/dist/repositories/userConfigurations/updateDeviceAlertTimeWindows.d.ts +4 -0
- package/dist/repositories/userConfigurations/updateDeviceAlertTimeWindows.js +29 -0
- package/dist/repositories/userConfigurations/updateUserAlertConfigurations.js +0 -1
- package/dist/repositories/userConfigurations/updateUserAlertTimeWindows.d.ts +4 -0
- package/dist/repositories/userConfigurations/updateUserAlertTimeWindows.js +28 -0
- package/dist/repositories/userConfigurations/updateUserConfiguration.js +0 -1
- package/dist/repositories/userDataDeletionRequests/createUserDataDeletionRequest.js +0 -1
- package/dist/repositories/userDataDeletionRequests/getUserDataDeletionRequest.js +4 -10
- package/dist/repositories/userDataDeletionRequests/index.js +4 -5
- package/dist/repositories/userDataDeletionRequests/removeUserDataDeletionRequest.js +0 -1
- package/dist/repositories/userDataDeletionRequests/updateUserDataDeletionRequest.js +0 -1
- package/dist/repositories/userInvitations/createUserInvitation.js +0 -2
- package/dist/repositories/userInvitations/getUserInvitationById.js +2 -8
- package/dist/repositories/userInvitations/getUserInvitations.js +4 -29
- package/dist/repositories/userInvitations/index.js +4 -5
- package/dist/repositories/userInvitations/updateUserInvitation.js +1 -4
- package/dist/repositories/userRatingRequests/createUserRatingRequest.js +0 -1
- package/dist/repositories/userRatingRequests/getUserRatingRequests.js +2 -8
- package/dist/repositories/userRatingRequests/index.js +2 -3
- package/dist/repositories/userRegistrationAttempts/createUserRegistrationAttempt.js +0 -1
- package/dist/repositories/userRegistrationAttempts/getUserRegistrationAttempts.js +4 -10
- package/dist/repositories/userRegistrationAttempts/index.js +3 -4
- package/dist/repositories/userRegistrationAttempts/updateUserRegistrationAttempt.js +0 -1
- package/dist/repositories/users/createUser.js +0 -1
- package/dist/repositories/users/deleteAccount.js +0 -1
- package/dist/repositories/users/deleteUser.js +0 -1
- package/dist/repositories/users/getUserById.js +11 -26
- package/dist/repositories/users/getUserData.js +8 -12
- package/dist/repositories/users/getUsers.js +6 -59
- package/dist/repositories/users/getUsersConfigurationByImei.js +13 -15
- package/dist/repositories/users/getUsersIdByPhoneAndCountryCode.js +2 -8
- package/dist/repositories/users/getUsersWithRoles.js +3 -11
- package/dist/repositories/users/index.js +11 -68
- package/dist/repositories/users/updateUser.js +0 -1
- package/dist/subscribers/allEntitiesSubscriber.js +0 -1
- package/dist/subscribers/index.js +0 -1
- package/dist/types/acumatica.js +0 -1
- package/dist/types/aempToken.js +0 -1
- package/dist/types/alert.d.ts +0 -1
- package/dist/types/alert.js +0 -1
- package/dist/types/alertTypes.js +0 -1
- package/dist/types/appFeatures.js +0 -1
- package/dist/types/billing.js +0 -1
- package/dist/types/blacklist.js +0 -1
- package/dist/types/bleMeshConfiguration.js +0 -1
- package/dist/types/boundaries.js +0 -1
- package/dist/types/clients.js +1 -35
- package/dist/types/common.js +0 -1
- package/dist/types/countries.js +0 -1
- package/dist/types/deactivations.js +0 -1
- package/dist/types/deviceBehaviors.js +0 -1
- package/dist/types/devicePairings.js +0 -1
- package/dist/types/devices.js +1 -25
- package/dist/types/enums.d.ts +5 -0
- package/dist/types/enums.js +0 -29
- package/dist/types/firmwares.js +0 -1
- package/dist/types/index.js +1 -9
- package/dist/types/logger.js +0 -1
- package/dist/types/notificationRecipients.js +0 -1
- package/dist/types/position.js +0 -1
- package/dist/types/security.js +0 -1
- package/dist/types/tasks.js +0 -1
- package/dist/types/trip.js +0 -2
- package/dist/types/user.js +1 -2
- package/dist/types/userActivations.js +0 -1
- package/dist/types/userAppFeedback.js +0 -1
- package/dist/types/userAppIncidents.js +0 -1
- package/dist/types/userConfigurations.js +0 -1
- package/dist/types/userDataDeletionRequests.js +0 -1
- package/dist/types/userInvitations.js +0 -1
- package/dist/types/userRatingRequests.js +0 -1
- package/dist/types/userRegistrationAttempts.js +0 -1
- package/dist/utils/anyAttributeHasValue.js +0 -1
- package/dist/utils/anyAttributeIsNull.d.ts +1 -0
- package/dist/utils/{paramsValidators.js → anyAttributeIsNull.js} +0 -5
- package/dist/utils/boolToNumberTransformer.js +0 -1
- package/dist/utils/consoleLogger.js +0 -1
- package/dist/utils/filterTools.js +0 -1
- package/dist/utils/mapRawEntityToEntity.js +0 -1
- package/dist/utils/queryLogger.js +1 -3
- package/dist/utils/randomizer.js +0 -1
- package/dist/utils/stringToDateTransformer.js +0 -1
- package/dist/utils/uuidHelpers.js +0 -1
- package/package.json +1 -1
- package/dist/entities/acumaticaAmazonProduct.js.map +0 -1
- package/dist/entities/acumaticaImeiIccidData.js.map +0 -1
- package/dist/entities/acumaticaOrderShipmentDetails.js.map +0 -1
- package/dist/entities/acumaticaShipment.js.map +0 -1
- package/dist/entities/acumaticaShipmentAmazon.js.map +0 -1
- package/dist/entities/aempToken.js.map +0 -1
- package/dist/entities/airflow/airflowAcumaticaExportImeiIccidData.js +0 -82
- package/dist/entities/airflow/airflowAcumaticaExportImeiIccidData.js.map +0 -1
- package/dist/entities/airflow/airflowAcumaticaExportOrderShipmentDetails.js +0 -147
- package/dist/entities/airflow/airflowAcumaticaExportOrderShipmentDetails.js.map +0 -1
- package/dist/entities/airflow/airflowAcumaticaShipmentsAmazon.js +0 -42
- package/dist/entities/airflow/airflowAcumaticaShipmentsAmazon.js.map +0 -1
- package/dist/entities/alert.js.map +0 -1
- package/dist/entities/alertType.js.map +0 -1
- package/dist/entities/appFeatureType.js.map +0 -1
- package/dist/entities/asinPromotion.js.map +0 -1
- package/dist/entities/assetCategory.js.map +0 -1
- package/dist/entities/beaconBleMesh.js +0 -63
- package/dist/entities/beaconBleMesh.js.map +0 -1
- package/dist/entities/billing.js.map +0 -1
- package/dist/entities/billingCustomerAmazon.js +0 -83
- package/dist/entities/billingCustomerAmazon.js.map +0 -1
- package/dist/entities/billingCustomerBraintree.js.map +0 -1
- package/dist/entities/billingDeviceHistory.js.map +0 -1
- package/dist/entities/billingDeviceTypePlan.js +0 -64
- package/dist/entities/billingDeviceTypePlan.js.map +0 -1
- package/dist/entities/billingHubspotPaymentLog.js.map +0 -1
- package/dist/entities/billingKlarnaCustomer.js.map +0 -1
- package/dist/entities/billingKlarnaOrder.js.map +0 -1
- package/dist/entities/billingPlanFeatures.js +0 -37
- package/dist/entities/billingPlanFeatures.js.map +0 -1
- package/dist/entities/billingPlans.js +0 -127
- package/dist/entities/billingPlans.js.map +0 -1
- package/dist/entities/billingStatusHistoryBraintree.js.map +0 -1
- package/dist/entities/billingSubscriptionAmazon.js +0 -162
- package/dist/entities/billingSubscriptionAmazon.js.map +0 -1
- package/dist/entities/billingSubscriptionBraintree.js.map +0 -1
- package/dist/entities/blacklist.js.map +0 -1
- package/dist/entities/blacklistType.js.map +0 -1
- package/dist/entities/bleMesh.js +0 -74
- package/dist/entities/bleMesh.js.map +0 -1
- package/dist/entities/bleMeshConfiguration.js.map +0 -1
- package/dist/entities/boundary.js.map +0 -1
- package/dist/entities/boundaryEvent.js.map +0 -1
- package/dist/entities/cellTower.js.map +0 -1
- package/dist/entities/client.js.map +0 -1
- package/dist/entities/clientAlertConfiguration.js +0 -90
- package/dist/entities/clientAlertConfiguration.js.map +0 -1
- package/dist/entities/clientAlertRecipient.js +0 -98
- package/dist/entities/clientAlertRecipient.js.map +0 -1
- package/dist/entities/clientAppFeature.js.map +0 -1
- package/dist/entities/clientConfiguration.js.map +0 -1
- package/dist/entities/clientDeviceSetting.js.map +0 -1
- package/dist/entities/clientIngestorConfiguration.js +0 -48
- package/dist/entities/clientIngestorConfiguration.js.map +0 -1
- package/dist/entities/clientType.js.map +0 -1
- package/dist/entities/country.js.map +0 -1
- package/dist/entities/customerAttribute.js.map +0 -1
- package/dist/entities/dataExport.js +0 -74
- package/dist/entities/dataExport.js.map +0 -1
- package/dist/entities/dataSourceType.js.map +0 -1
- package/dist/entities/deactivation.js.map +0 -1
- package/dist/entities/deactivationReason.js.map +0 -1
- package/dist/entities/device.js.map +0 -1
- package/dist/entities/deviceBehavior.js.map +0 -1
- package/dist/entities/deviceBleMesh.js +0 -78
- package/dist/entities/deviceBleMesh.js.map +0 -1
- package/dist/entities/deviceBleMeshUpdateTask.js +0 -83
- package/dist/entities/deviceBleMeshUpdateTask.js.map +0 -1
- package/dist/entities/deviceChangesHistory.js +0 -48
- package/dist/entities/deviceChangesHistory.js.map +0 -1
- package/dist/entities/deviceCustomConfiguration.js.map +0 -1
- package/dist/entities/deviceHistory.js.map +0 -1
- package/dist/entities/deviceModelListener.js.map +0 -1
- package/dist/entities/devicePairing.js.map +0 -1
- package/dist/entities/devicePromotion.js.map +0 -1
- package/dist/entities/deviceReplacement.js.map +0 -1
- package/dist/entities/deviceStatus.js +0 -61
- package/dist/entities/deviceStatus.js.map +0 -1
- package/dist/entities/deviceTask.js.map +0 -1
- package/dist/entities/deviceType.js.map +0 -1
- package/dist/entities/deviceTypeFeature.js.map +0 -1
- package/dist/entities/deviceTypeFirmware.js.map +0 -1
- package/dist/entities/deviceTypePromotion.js +0 -37
- package/dist/entities/deviceTypePromotion.js.map +0 -1
- package/dist/entities/emailDomain.js +0 -39
- package/dist/entities/emailDomain.js.map +0 -1
- package/dist/entities/entityTag.js.map +0 -1
- package/dist/entities/entityType.js.map +0 -1
- package/dist/entities/feature.js.map +0 -1
- package/dist/entities/firmwareAutoUpgradeBlacklist.js.map +0 -1
- package/dist/entities/firmwareUpgradeTask.js.map +0 -1
- package/dist/entities/iccidStatus.js.map +0 -1
- package/dist/entities/imeiIccidCarrier.js.map +0 -1
- package/dist/entities/imeiIccidHistory.js.map +0 -1
- package/dist/entities/imeiIccidImport.js.map +0 -1
- package/dist/entities/index.js.map +0 -1
- package/dist/entities/industry.js.map +0 -1
- package/dist/entities/latestPosition.js.map +0 -1
- package/dist/entities/latestPositionMigration.js.map +0 -1
- package/dist/entities/latestPositionMigrationBatch.js.map +0 -1
- package/dist/entities/latestUserAppInfo.js +0 -43
- package/dist/entities/latestUserAppInfo.js.map +0 -1
- package/dist/entities/liveLink.js +0 -126
- package/dist/entities/liveLink.js.map +0 -1
- package/dist/entities/magento2Gps.js.map +0 -1
- package/dist/entities/magento2Plan.js.map +0 -1
- package/dist/entities/marketplacePromotion.js +0 -37
- package/dist/entities/marketplacePromotion.js.map +0 -1
- package/dist/entities/mobileNetwork.js.map +0 -1
- package/dist/entities/notificationRecipient.js.map +0 -1
- package/dist/entities/orderShipmentInternational.js +0 -67
- package/dist/entities/orderShipmentInternational.js.map +0 -1
- package/dist/entities/organization.js.map +0 -1
- package/dist/entities/plan.js.map +0 -1
- package/dist/entities/position.js.map +0 -1
- package/dist/entities/positionMigration.js.map +0 -1
- package/dist/entities/positionMigrationBatch.js.map +0 -1
- package/dist/entities/promotion.js.map +0 -1
- package/dist/entities/promotionHistory.js +0 -90
- package/dist/entities/promotionHistory.js.map +0 -1
- package/dist/entities/securityRole.js.map +0 -1
- package/dist/entities/serviceProvider.js.map +0 -1
- package/dist/entities/serviceProviderProduct.js.map +0 -1
- package/dist/entities/serviceProviderProductNetwork.js.map +0 -1
- package/dist/entities/serviceProviderProductType.js.map +0 -1
- package/dist/entities/sim.js.map +0 -1
- package/dist/entities/subscriptionHistoricalPrice.js +0 -151
- package/dist/entities/subscriptionHistoricalPrice.js.map +0 -1
- package/dist/entities/tag.js +0 -68
- package/dist/entities/tag.js.map +0 -1
- package/dist/entities/task.js.map +0 -1
- package/dist/entities/taskSchedule.js.map +0 -1
- package/dist/entities/trip.js.map +0 -1
- package/dist/entities/tripCompletionStatus.js.map +0 -1
- package/dist/entities/tripPosition.js.map +0 -1
- package/dist/entities/user.js.map +0 -1
- package/dist/entities/userActivation.js.map +0 -1
- package/dist/entities/userActivationDevice.js.map +0 -1
- package/dist/entities/userActivationEvent.js.map +0 -1
- package/dist/entities/userActivationMetric.js.map +0 -1
- package/dist/entities/userAlertComplain.js.map +0 -1
- package/dist/entities/userAlertConfiguration.js.map +0 -1
- package/dist/entities/userAlertNotificationsConfig.js +0 -91
- package/dist/entities/userAlertNotificationsConfig.js.map +0 -1
- package/dist/entities/userAppFeedback.js.map +0 -1
- package/dist/entities/userAppIncident.js.map +0 -1
- package/dist/entities/userConfiguration.js.map +0 -1
- package/dist/entities/userDataDeletionRequest.js.map +0 -1
- package/dist/entities/userDeviceBehaviorTask.js.map +0 -1
- package/dist/entities/userInvitation.js.map +0 -1
- package/dist/entities/userRatingRequest.js.map +0 -1
- package/dist/entities/userRegistrationAttempt.js.map +0 -1
- package/dist/entities/userSecurityRole.js.map +0 -1
- package/dist/index.js.map +0 -1
- package/dist/migration/1684483704434-addLowerCaseIndex.js.map +0 -1
- package/dist/novaDataSource.js.map +0 -1
- package/dist/repositories/acumatica/getAcumaticaImeiIccidData.js.map +0 -1
- package/dist/repositories/acumatica/getAcumaticaShipmentAmazon.js +0 -23
- package/dist/repositories/acumatica/getAcumaticaShipmentAmazon.js.map +0 -1
- package/dist/repositories/acumatica/getAcumaticaShipmentDetails.js.map +0 -1
- package/dist/repositories/acumatica/getLastAcumaticaShipmentDetails.js.map +0 -1
- package/dist/repositories/acumatica/getOrderShipmentInternational.js +0 -23
- package/dist/repositories/acumatica/getOrderShipmentInternational.js.map +0 -1
- package/dist/repositories/acumatica/index.js.map +0 -1
- package/dist/repositories/aempToken/createAempToken.js.map +0 -1
- package/dist/repositories/aempToken/deleteAempTokens.js.map +0 -1
- package/dist/repositories/aempToken/getAempTokens.js.map +0 -1
- package/dist/repositories/aempToken/index.js.map +0 -1
- package/dist/repositories/alertTypes/getAlertTypes.js.map +0 -1
- package/dist/repositories/alertTypes/index.js.map +0 -1
- package/dist/repositories/alerts/createAlert.js.map +0 -1
- package/dist/repositories/alerts/createUserAlertComplain.js.map +0 -1
- package/dist/repositories/alerts/getAlertsReportByClient.js.map +0 -1
- package/dist/repositories/alerts/getAlertsReportByUser.js.map +0 -1
- package/dist/repositories/alerts/index.js.map +0 -1
- package/dist/repositories/appFeatures/createAppFeatureType.js.map +0 -1
- package/dist/repositories/appFeatures/createClientAppFeature.js.map +0 -1
- package/dist/repositories/appFeatures/getClientAppFeatures.js.map +0 -1
- package/dist/repositories/appFeatures/index.js.map +0 -1
- package/dist/repositories/assetCategories/getAssetCategories.js.map +0 -1
- package/dist/repositories/assetCategories/index.js.map +0 -1
- package/dist/repositories/baseRepository.js.map +0 -1
- package/dist/repositories/billing/createBilling.js.map +0 -1
- package/dist/repositories/billing/createBillingDeviceHistory.js.map +0 -1
- package/dist/repositories/billing/createBillingHubspotPaymentLog.js.map +0 -1
- package/dist/repositories/billing/createBillingStatusHistoryBraintree.js.map +0 -1
- package/dist/repositories/billing/getBillingCustomerBraintreeById.js.map +0 -1
- package/dist/repositories/billing/getBillingDeviceTypePlans.js +0 -22
- package/dist/repositories/billing/getBillingDeviceTypePlans.js.map +0 -1
- package/dist/repositories/billing/getBillingKlarnaOrderByImei.js.map +0 -1
- package/dist/repositories/billing/getBillingPlans.js +0 -68
- package/dist/repositories/billing/getBillingPlans.js.map +0 -1
- package/dist/repositories/billing/getBillingSubscriptionBraintreeByImei.js.map +0 -1
- package/dist/repositories/billing/getBillingSubscriptionsBraintree.js.map +0 -1
- package/dist/repositories/billing/getBillings.js.map +0 -1
- package/dist/repositories/billing/getBraintreePastDueSubscriptions.js +0 -49
- package/dist/repositories/billing/getBraintreePastDueSubscriptions.js.map +0 -1
- package/dist/repositories/billing/getCanceledImeis.js.map +0 -1
- package/dist/repositories/billing/getCanceledImeisMatchingMagentoData.js.map +0 -1
- package/dist/repositories/billing/getChurnStatusByClientId.js.map +0 -1
- package/dist/repositories/billing/getClientIdFromBraintreeCustomer.js.map +0 -1
- package/dist/repositories/billing/getMagentoPlan.js.map +0 -1
- package/dist/repositories/billing/getUserByBraintreeCustomerId.js.map +0 -1
- package/dist/repositories/billing/index.js.map +0 -1
- package/dist/repositories/billing/updateBilling.js.map +0 -1
- package/dist/repositories/billing/updateBillingCustomerBraintree.js.map +0 -1
- package/dist/repositories/billing/upsertBillingCustomerBraintree.js.map +0 -1
- package/dist/repositories/billing/upsertBillingDeviceTypePlan.js +0 -67
- package/dist/repositories/billing/upsertBillingDeviceTypePlan.js.map +0 -1
- package/dist/repositories/billing/upsertBillingKlarnaCustomer.js.map +0 -1
- package/dist/repositories/billing/upsertBillingKlarnaOrder.js.map +0 -1
- package/dist/repositories/billing/upsertBillingPlans.js +0 -54
- package/dist/repositories/billing/upsertBillingPlans.js.map +0 -1
- package/dist/repositories/billing/upsertBillingSubscriptionBraintree.js.map +0 -1
- package/dist/repositories/blacklist/deleteBlackList.js +0 -20
- package/dist/repositories/blacklist/deleteBlackList.js.map +0 -1
- package/dist/repositories/blacklist/getBlacklists.js.map +0 -1
- package/dist/repositories/blacklist/index.js.map +0 -1
- package/dist/repositories/blacklist/updateBlackList.js +0 -31
- package/dist/repositories/blacklist/updateBlackList.js.map +0 -1
- package/dist/repositories/blacklist/upsertBlackList.js +0 -41
- package/dist/repositories/blacklist/upsertBlackList.js.map +0 -1
- package/dist/repositories/bleMesh/addBeaconBLEMesh.js +0 -29
- package/dist/repositories/bleMesh/addBeaconBLEMesh.js.map +0 -1
- package/dist/repositories/bleMesh/addDevicesToBLEMesh.js +0 -38
- package/dist/repositories/bleMesh/addDevicesToBLEMesh.js.map +0 -1
- package/dist/repositories/bleMesh/createBLEMesh.js +0 -19
- package/dist/repositories/bleMesh/createBLEMesh.js.map +0 -1
- package/dist/repositories/bleMesh/createDeviceBLEMeshUpdateTask.js +0 -47
- package/dist/repositories/bleMesh/createDeviceBLEMeshUpdateTask.js.map +0 -1
- package/dist/repositories/bleMesh/getBLEMeshes.js +0 -46
- package/dist/repositories/bleMesh/getBLEMeshes.js.map +0 -1
- package/dist/repositories/bleMesh/getBeaconBLEMeshes.js +0 -44
- package/dist/repositories/bleMesh/getBeaconBLEMeshes.js.map +0 -1
- package/dist/repositories/bleMesh/getDeviceBLEMeshUpdateTasks.js +0 -56
- package/dist/repositories/bleMesh/getDeviceBLEMeshUpdateTasks.js.map +0 -1
- package/dist/repositories/bleMesh/getDeviceBLEMeshes.js +0 -50
- package/dist/repositories/bleMesh/getDeviceBLEMeshes.js.map +0 -1
- package/dist/repositories/bleMesh/index.js +0 -269
- package/dist/repositories/bleMesh/index.js.map +0 -1
- package/dist/repositories/bleMesh/removeBLEMesh.js +0 -22
- package/dist/repositories/bleMesh/removeBLEMesh.js.map +0 -1
- package/dist/repositories/bleMesh/removeBeaconBLEMeshes.js +0 -21
- package/dist/repositories/bleMesh/removeBeaconBLEMeshes.js.map +0 -1
- package/dist/repositories/bleMesh/removeBeaconsFromBLEMesh.js +0 -28
- package/dist/repositories/bleMesh/removeBeaconsFromBLEMesh.js.map +0 -1
- package/dist/repositories/bleMesh/removeDevicesFromBLEMesh.js +0 -25
- package/dist/repositories/bleMesh/removeDevicesFromBLEMesh.js.map +0 -1
- package/dist/repositories/bleMesh/updateBLEMesh.js +0 -32
- package/dist/repositories/bleMesh/updateBLEMesh.js.map +0 -1
- package/dist/repositories/bleMesh/updateBeaconBLEMesh.js +0 -27
- package/dist/repositories/bleMesh/updateBeaconBLEMesh.js.map +0 -1
- package/dist/repositories/bleMesh/updateDevicesBLEMesh.js +0 -30
- package/dist/repositories/bleMesh/updateDevicesBLEMesh.js.map +0 -1
- package/dist/repositories/bleMesh/updateDevicesBLEMeshUpdateTask.js +0 -27
- package/dist/repositories/bleMesh/updateDevicesBLEMeshUpdateTask.js.map +0 -1
- package/dist/repositories/bleMeshConfiguration/createBLEMeshConfigurationParams.js.map +0 -1
- package/dist/repositories/bleMeshConfiguration/deleteBLEMeshConfiguration.js.map +0 -1
- package/dist/repositories/bleMeshConfiguration/getBLEMeshConfiguration.js.map +0 -1
- package/dist/repositories/bleMeshConfiguration/index.js.map +0 -1
- package/dist/repositories/bleMeshConfiguration/updateBLEMeshConfiguration.js.map +0 -1
- package/dist/repositories/boundaries/createBoundary.js.map +0 -1
- package/dist/repositories/boundaries/deleteBoundary.js.map +0 -1
- package/dist/repositories/boundaries/getBoundariesByClientId.js.map +0 -1
- package/dist/repositories/boundaries/getBoundariesIdsByClientId.js.map +0 -1
- package/dist/repositories/boundaries/getBoundariesReport.js.map +0 -1
- package/dist/repositories/boundaries/getBoundaryById.js.map +0 -1
- package/dist/repositories/boundaries/index.js.map +0 -1
- package/dist/repositories/boundaries/processBoundaryEvent.js.map +0 -1
- package/dist/repositories/boundaries/updateBoundary.js.map +0 -1
- package/dist/repositories/boundaries/upsertBoundaryEvent.js.map +0 -1
- package/dist/repositories/clientAlertConfiguration/createClientAlertConfiguration.js +0 -25
- package/dist/repositories/clientAlertConfiguration/createClientAlertConfiguration.js.map +0 -1
- package/dist/repositories/clientAlertConfiguration/deleteClientAlertConfiguration.js +0 -25
- package/dist/repositories/clientAlertConfiguration/deleteClientAlertConfiguration.js.map +0 -1
- package/dist/repositories/clientAlertConfiguration/getClientAlertConfigurations.js +0 -44
- package/dist/repositories/clientAlertConfiguration/getClientAlertConfigurations.js.map +0 -1
- package/dist/repositories/clientAlertConfiguration/getClientAlertRecipients.js +0 -40
- package/dist/repositories/clientAlertConfiguration/getClientAlertRecipients.js.map +0 -1
- package/dist/repositories/clientAlertConfiguration/getUsersDataForClientAlertConfig.js +0 -73
- package/dist/repositories/clientAlertConfiguration/getUsersDataForClientAlertConfig.js.map +0 -1
- package/dist/repositories/clientAlertConfiguration/index.js +0 -139
- package/dist/repositories/clientAlertConfiguration/index.js.map +0 -1
- package/dist/repositories/clientAlertConfiguration/isUserAllowedForAlertConfig.js +0 -51
- package/dist/repositories/clientAlertConfiguration/isUserAllowedForAlertConfig.js.map +0 -1
- package/dist/repositories/clientAlertConfiguration/setClientAlertRecipients.js +0 -175
- package/dist/repositories/clientAlertConfiguration/setClientAlertRecipients.js.map +0 -1
- package/dist/repositories/clientAlertConfiguration/updateClientAlertConfiguration.js +0 -43
- package/dist/repositories/clientAlertConfiguration/updateClientAlertConfiguration.js.map +0 -1
- package/dist/repositories/clients/createClient.js.map +0 -1
- package/dist/repositories/clients/createClientConfiguration.js.map +0 -1
- package/dist/repositories/clients/createClientIngestorConfiguration.js +0 -21
- package/dist/repositories/clients/createClientIngestorConfiguration.js.map +0 -1
- package/dist/repositories/clients/createCustomerAttribute.js.map +0 -1
- package/dist/repositories/clients/deleteClientAndConfiguration.js.map +0 -1
- package/dist/repositories/clients/getClient.js.map +0 -1
- package/dist/repositories/clients/getClientConfiguration.js.map +0 -1
- package/dist/repositories/clients/getClientIngestorConfigurations.js +0 -25
- package/dist/repositories/clients/getClientIngestorConfigurations.js.map +0 -1
- package/dist/repositories/clients/getClients.js.map +0 -1
- package/dist/repositories/clients/getCustomerAttribute.js.map +0 -1
- package/dist/repositories/clients/index.js.map +0 -1
- package/dist/repositories/clients/updateClient.js.map +0 -1
- package/dist/repositories/clients/updateClientConfiguration.js.map +0 -1
- package/dist/repositories/clients/updateCustomerAttribute.js.map +0 -1
- package/dist/repositories/countries/getCountries.js.map +0 -1
- package/dist/repositories/countries/getCountry.js.map +0 -1
- package/dist/repositories/countries/index.js.map +0 -1
- package/dist/repositories/dataExports/createDataExports.js +0 -32
- package/dist/repositories/dataExports/createDataExports.js.map +0 -1
- package/dist/repositories/dataExports/getDataExports.js +0 -47
- package/dist/repositories/dataExports/getDataExports.js.map +0 -1
- package/dist/repositories/dataExports/index.js +0 -59
- package/dist/repositories/dataExports/index.js.map +0 -1
- package/dist/repositories/dataExports/updateDataExports.js +0 -26
- package/dist/repositories/dataExports/updateDataExports.js.map +0 -1
- package/dist/repositories/deactivations/createDeactivation.js.map +0 -1
- package/dist/repositories/deactivations/getDeactivationReasons.js.map +0 -1
- package/dist/repositories/deactivations/getLatestDeactivationByImei.js.map +0 -1
- package/dist/repositories/deactivations/index.js.map +0 -1
- package/dist/repositories/deviceBehaviors/createDeviceBehaviorTask.js.map +0 -1
- package/dist/repositories/deviceBehaviors/getDeviceBehaviorTasks.js.map +0 -1
- package/dist/repositories/deviceBehaviors/getDeviceBehaviors.js.map +0 -1
- package/dist/repositories/deviceBehaviors/getDeviceBehaviorsByIds.js.map +0 -1
- package/dist/repositories/deviceBehaviors/index.js.map +0 -1
- package/dist/repositories/deviceBehaviors/updateDeviceBehaviorTask.js.map +0 -1
- package/dist/repositories/deviceBehaviors/upsertDeviceBehavior.js.map +0 -1
- package/dist/repositories/devicePairings/createDevicePairing.js.map +0 -1
- package/dist/repositories/devicePairings/deleteDevicePairing.js.map +0 -1
- package/dist/repositories/devicePairings/getDevicePairings.js.map +0 -1
- package/dist/repositories/devicePairings/getDevicePairingsByClientId.js +0 -28
- package/dist/repositories/devicePairings/getDevicePairingsByClientId.js.map +0 -1
- package/dist/repositories/devicePairings/getDevicePairingsByImei.js.map +0 -1
- package/dist/repositories/devicePairings/index.js.map +0 -1
- package/dist/repositories/devicePairings/updateDevicePairing.js.map +0 -1
- package/dist/repositories/deviceStatus/extendedDeviceStatus.js +0 -207
- package/dist/repositories/deviceStatus/extendedDeviceStatus.js.map +0 -1
- package/dist/repositories/deviceStatus/getDeviceStatuses.js +0 -88
- package/dist/repositories/deviceStatus/getDeviceStatuses.js.map +0 -1
- package/dist/repositories/deviceStatus/getDeviceStatusesCount.js +0 -42
- package/dist/repositories/deviceStatus/getDeviceStatusesCount.js.map +0 -1
- package/dist/repositories/deviceStatus/index.js +0 -63
- package/dist/repositories/deviceStatus/index.js.map +0 -1
- package/dist/repositories/deviceStatus/upsertDeviceStatuses.js +0 -47
- package/dist/repositories/deviceStatus/upsertDeviceStatuses.js.map +0 -1
- package/dist/repositories/deviceTypeFeature/bulkCreateDeviceTypeFeature.js +0 -20
- package/dist/repositories/deviceTypeFeature/bulkCreateDeviceTypeFeature.js.map +0 -1
- package/dist/repositories/deviceTypeFeature/deleteDeviceTypeFeature.js +0 -22
- package/dist/repositories/deviceTypeFeature/deleteDeviceTypeFeature.js.map +0 -1
- package/dist/repositories/deviceTypeFeature/getDeviceTypeFeatures.js +0 -25
- package/dist/repositories/deviceTypeFeature/getDeviceTypeFeatures.js.map +0 -1
- package/dist/repositories/deviceTypeFeature/index.js +0 -48
- package/dist/repositories/deviceTypeFeature/index.js.map +0 -1
- package/dist/repositories/devices/addDeviceChangesHistory.js +0 -35
- package/dist/repositories/devices/addDeviceChangesHistory.js.map +0 -1
- package/dist/repositories/devices/allImeisAreActiveForClient.js.map +0 -1
- package/dist/repositories/devices/createClientDeviceSetting.js.map +0 -1
- package/dist/repositories/devices/createDevice.js.map +0 -1
- package/dist/repositories/devices/createDeviceReplacement.js.map +0 -1
- package/dist/repositories/devices/createDeviceType.js.map +0 -1
- package/dist/repositories/devices/createImeiIccidCarrier.js +0 -19
- package/dist/repositories/devices/createImeiIccidCarrier.js.map +0 -1
- package/dist/repositories/devices/deleteDevice.js.map +0 -1
- package/dist/repositories/devices/generateDeviceIdentifierKey.js.map +0 -1
- package/dist/repositories/devices/getCanceledDevicesWithActiveSimCards.js.map +0 -1
- package/dist/repositories/devices/getCarrierStatusUpdatedBefore.js.map +0 -1
- package/dist/repositories/devices/getClientDeviceSetting.js.map +0 -1
- package/dist/repositories/devices/getClientDeviceSettings.js.map +0 -1
- package/dist/repositories/devices/getDevice.js.map +0 -1
- package/dist/repositories/devices/getDeviceChangesHistory.js +0 -28
- package/dist/repositories/devices/getDeviceChangesHistory.js.map +0 -1
- package/dist/repositories/devices/getDeviceChangesHistoryAssignedToValuesByClient.js +0 -24
- package/dist/repositories/devices/getDeviceChangesHistoryAssignedToValuesByClient.js.map +0 -1
- package/dist/repositories/devices/getDeviceCustomConfig.js.map +0 -1
- package/dist/repositories/devices/getDeviceTypeByImei.js.map +0 -1
- package/dist/repositories/devices/getDeviceTypes.js.map +0 -1
- package/dist/repositories/devices/getDeviceTypesModelsOrderedByDeviceCount.js.map +0 -1
- package/dist/repositories/devices/getDeviceWithUsersInfo.js.map +0 -1
- package/dist/repositories/devices/getDevices.js.map +0 -1
- package/dist/repositories/devices/getDevicesCountByStatus.js +0 -34
- package/dist/repositories/devices/getDevicesCountByStatus.js.map +0 -1
- package/dist/repositories/devices/getFilteredImeisWithStatus.js.map +0 -1
- package/dist/repositories/devices/getIccidStatus.js.map +0 -1
- package/dist/repositories/devices/getImeiIccidCarrier.js.map +0 -1
- package/dist/repositories/devices/getImeiIccidCarriers.js.map +0 -1
- package/dist/repositories/devices/getServiceProviderProduct.js +0 -23
- package/dist/repositories/devices/getServiceProviderProduct.js.map +0 -1
- package/dist/repositories/devices/index.js.map +0 -1
- package/dist/repositories/devices/updateClientDeviceSetting.js.map +0 -1
- package/dist/repositories/devices/updateDevice.js.map +0 -1
- package/dist/repositories/devices/updateDeviceType.js.map +0 -1
- package/dist/repositories/devices/updateIccidStatus.js.map +0 -1
- package/dist/repositories/devices/updateImeiIccidCarrier.js.map +0 -1
- package/dist/repositories/devices/upsertDeviceCustomConfig.js +0 -15
- package/dist/repositories/devices/upsertDeviceCustomConfig.js.map +0 -1
- package/dist/repositories/devices/upsertIccidStatus.js.map +0 -1
- package/dist/repositories/entityTags/bulkCreateEntityTag.js +0 -21
- package/dist/repositories/entityTags/bulkCreateEntityTag.js.map +0 -1
- package/dist/repositories/entityTags/bulkDeleteEntityTag.js +0 -28
- package/dist/repositories/entityTags/bulkDeleteEntityTag.js.map +0 -1
- package/dist/repositories/entityTags/createEntityTag.js +0 -20
- package/dist/repositories/entityTags/createEntityTag.js.map +0 -1
- package/dist/repositories/entityTags/deleteEntityTag.js +0 -22
- package/dist/repositories/entityTags/deleteEntityTag.js.map +0 -1
- package/dist/repositories/entityTags/deleteEntityTagById.js +0 -13
- package/dist/repositories/entityTags/deleteEntityTagById.js.map +0 -1
- package/dist/repositories/entityTags/enforceEntityTagsByEntity.js +0 -38
- package/dist/repositories/entityTags/enforceEntityTagsByEntity.js.map +0 -1
- package/dist/repositories/entityTags/getEntityTagById.js +0 -23
- package/dist/repositories/entityTags/getEntityTagById.js.map +0 -1
- package/dist/repositories/entityTags/index.js +0 -104
- package/dist/repositories/entityTags/index.js.map +0 -1
- package/dist/repositories/entityTags/searchEntityTags.js +0 -46
- package/dist/repositories/entityTags/searchEntityTags.js.map +0 -1
- package/dist/repositories/features/createFeature.js +0 -21
- package/dist/repositories/features/createFeature.js.map +0 -1
- package/dist/repositories/features/deleteFeature.js +0 -17
- package/dist/repositories/features/deleteFeature.js.map +0 -1
- package/dist/repositories/features/getFeatures.js +0 -25
- package/dist/repositories/features/getFeatures.js.map +0 -1
- package/dist/repositories/features/index.js +0 -61
- package/dist/repositories/features/index.js.map +0 -1
- package/dist/repositories/features/upsertFeature.js +0 -23
- package/dist/repositories/features/upsertFeature.js.map +0 -1
- package/dist/repositories/firmwares/createDeviceFirmware.js.map +0 -1
- package/dist/repositories/firmwares/createFirmwareAutoUpgradeBlacklist.js.map +0 -1
- package/dist/repositories/firmwares/createFirmwareUpgradeTask.js.map +0 -1
- package/dist/repositories/firmwares/getDeviceFirmwares.js.map +0 -1
- package/dist/repositories/firmwares/getFirmwareAutoUpgradeBlacklist.js.map +0 -1
- package/dist/repositories/firmwares/getFirmwareUpgradeTasks.js.map +0 -1
- package/dist/repositories/firmwares/getFirmwareUpgradeTasksCount.js.map +0 -1
- package/dist/repositories/firmwares/index.js.map +0 -1
- package/dist/repositories/firmwares/updateDeviceFirmware.js.map +0 -1
- package/dist/repositories/firmwares/updateFirmwareUpgradeTasks.js.map +0 -1
- package/dist/repositories/index.js.map +0 -1
- package/dist/repositories/latestUserAppInfo/getLatestUserAppInfo.js +0 -27
- package/dist/repositories/latestUserAppInfo/getLatestUserAppInfo.js.map +0 -1
- package/dist/repositories/latestUserAppInfo/index.js +0 -37
- package/dist/repositories/latestUserAppInfo/index.js.map +0 -1
- package/dist/repositories/latestUserAppInfo/upsertLatestUserAppInfo.js +0 -29
- package/dist/repositories/latestUserAppInfo/upsertLatestUserAppInfo.js.map +0 -1
- package/dist/repositories/notificationRecipients/createNotificationRecipient.js.map +0 -1
- package/dist/repositories/notificationRecipients/deleteNotificationRecipients.js.map +0 -1
- package/dist/repositories/notificationRecipients/deleteNotificationRecipientsByEmailOrPhone.js.map +0 -1
- package/dist/repositories/notificationRecipients/getNotificationRecipients.js.map +0 -1
- package/dist/repositories/notificationRecipients/index.js.map +0 -1
- package/dist/repositories/notificationRecipients/updateNotificationRecipient.js.map +0 -1
- package/dist/repositories/notificationRecipients/updateUsersNotificationsUnsubscribedInfoStatus.js.map +0 -1
- package/dist/repositories/notificationRecipients/updateUsersNotificationsUnsuscribedStatus.js.map +0 -1
- package/dist/repositories/positions/createPosition.js.map +0 -1
- package/dist/repositories/positions/getBatteryReportForDevice.js +0 -47
- package/dist/repositories/positions/getBatteryReportForDevice.js.map +0 -1
- package/dist/repositories/positions/getLatestPositionByImei.js.map +0 -1
- package/dist/repositories/positions/getPositionsByImei.js.map +0 -1
- package/dist/repositories/positions/getPositionsReportByClient.js.map +0 -1
- package/dist/repositories/positions/index.js.map +0 -1
- package/dist/repositories/positions/mapping/mapToPositionReport.js +0 -21
- package/dist/repositories/positions/mapping/mapToPositionReport.js.map +0 -1
- package/dist/repositories/positions/upsertLatestPosition.js.map +0 -1
- package/dist/repositories/promotions/bulkInsertDeviceTypePromotion.js +0 -15
- package/dist/repositories/promotions/bulkInsertDeviceTypePromotion.js.map +0 -1
- package/dist/repositories/promotions/bulkInsertMarketplacePromotion.js +0 -15
- package/dist/repositories/promotions/bulkInsertMarketplacePromotion.js.map +0 -1
- package/dist/repositories/promotions/createPromotion.js +0 -30
- package/dist/repositories/promotions/createPromotion.js.map +0 -1
- package/dist/repositories/promotions/createPromotionHistory.js +0 -18
- package/dist/repositories/promotions/createPromotionHistory.js.map +0 -1
- package/dist/repositories/promotions/deleteDeviceTypePromotion.js +0 -22
- package/dist/repositories/promotions/deleteDeviceTypePromotion.js.map +0 -1
- package/dist/repositories/promotions/deleteMarketplacePromotion.js +0 -24
- package/dist/repositories/promotions/deleteMarketplacePromotion.js.map +0 -1
- package/dist/repositories/promotions/getDeviceTypePromotion.js +0 -28
- package/dist/repositories/promotions/getDeviceTypePromotion.js.map +0 -1
- package/dist/repositories/promotions/getMarketplacePromotion.js +0 -28
- package/dist/repositories/promotions/getMarketplacePromotion.js.map +0 -1
- package/dist/repositories/promotions/getPromotions.js +0 -64
- package/dist/repositories/promotions/getPromotions.js.map +0 -1
- package/dist/repositories/promotions/index.js +0 -140
- package/dist/repositories/promotions/index.js.map +0 -1
- package/dist/repositories/promotions/promotionValidator.js +0 -17
- package/dist/repositories/promotions/promotionValidator.js.map +0 -1
- package/dist/repositories/promotions/updatePromotion.js +0 -36
- package/dist/repositories/promotions/updatePromotion.js.map +0 -1
- package/dist/repositories/security/createUserRole.js.map +0 -1
- package/dist/repositories/security/getAllRoles.js.map +0 -1
- package/dist/repositories/security/getUserRoles.js.map +0 -1
- package/dist/repositories/security/getUserRolesByClientId.js.map +0 -1
- package/dist/repositories/security/index.js.map +0 -1
- package/dist/repositories/security/removeUserRoles.js.map +0 -1
- package/dist/repositories/security/updateUserRole.js.map +0 -1
- package/dist/repositories/security/userIsAdminOrOwner.js.map +0 -1
- package/dist/repositories/security/userIsInRole.js.map +0 -1
- package/dist/repositories/tags/bulkCreateTags.js +0 -25
- package/dist/repositories/tags/bulkCreateTags.js.map +0 -1
- package/dist/repositories/tags/createTag.js +0 -21
- package/dist/repositories/tags/createTag.js.map +0 -1
- package/dist/repositories/tags/deleteTag.js +0 -20
- package/dist/repositories/tags/deleteTag.js.map +0 -1
- package/dist/repositories/tags/index.js +0 -83
- package/dist/repositories/tags/index.js.map +0 -1
- package/dist/repositories/tags/searchTags.js +0 -44
- package/dist/repositories/tags/searchTags.js.map +0 -1
- package/dist/repositories/tags/searchTagsByUser.js +0 -46
- package/dist/repositories/tags/searchTagsByUser.js.map +0 -1
- package/dist/repositories/tags/updateTag.js +0 -32
- package/dist/repositories/tags/updateTag.js.map +0 -1
- package/dist/repositories/tasks/addTaskScheduleDevices.js.map +0 -1
- package/dist/repositories/tasks/completeTask.js.map +0 -1
- package/dist/repositories/tasks/createTask.js.map +0 -1
- package/dist/repositories/tasks/createTaskSchedule.js.map +0 -1
- package/dist/repositories/tasks/deleteTask.js.map +0 -1
- package/dist/repositories/tasks/deleteTaskSchedule.js.map +0 -1
- package/dist/repositories/tasks/deleteTaskScheduleDevices.js.map +0 -1
- package/dist/repositories/tasks/getDeviceTasks.js.map +0 -1
- package/dist/repositories/tasks/getTaskSchedule.js.map +0 -1
- package/dist/repositories/tasks/getTaskSchedules.js.map +0 -1
- package/dist/repositories/tasks/getTaskSchedulesCount.js.map +0 -1
- package/dist/repositories/tasks/getTasks.js.map +0 -1
- package/dist/repositories/tasks/getTasksCount.js.map +0 -1
- package/dist/repositories/tasks/index.js.map +0 -1
- package/dist/repositories/tasks/setTaskAsPastDue.js.map +0 -1
- package/dist/repositories/tasks/setTaskScheduleDevices.js.map +0 -1
- package/dist/repositories/tasks/updateTask.js.map +0 -1
- package/dist/repositories/tasks/updateTaskSchedule.js.map +0 -1
- package/dist/repositories/trips/createTrip.js.map +0 -1
- package/dist/repositories/trips/getDeviceTripConfiguration.js +0 -52
- package/dist/repositories/trips/getDeviceTripConfiguration.js.map +0 -1
- package/dist/repositories/trips/getTripById.js.map +0 -1
- package/dist/repositories/trips/getTrips.js.map +0 -1
- package/dist/repositories/trips/index.js.map +0 -1
- package/dist/repositories/trips/updateTripEndValues.js.map +0 -1
- package/dist/repositories/trips/upsertTrip.js.map +0 -1
- package/dist/repositories/userActivations/createUserActivation.js.map +0 -1
- package/dist/repositories/userActivations/createUserActivationDevice.js.map +0 -1
- package/dist/repositories/userActivations/createUserActivationEvent.js.map +0 -1
- package/dist/repositories/userActivations/createUserActivationMetric.js.map +0 -1
- package/dist/repositories/userActivations/deleteUserActivation.js.map +0 -1
- package/dist/repositories/userActivations/getLastActivationDevice.js.map +0 -1
- package/dist/repositories/userActivations/getUserActivationById.js +0 -22
- package/dist/repositories/userActivations/getUserActivationById.js.map +0 -1
- package/dist/repositories/userActivations/getUserActivationDevices.js.map +0 -1
- package/dist/repositories/userActivations/getUserActivationDevicesByClientId.js.map +0 -1
- package/dist/repositories/userActivations/getUserActivationMetrics.js.map +0 -1
- package/dist/repositories/userActivations/getUserActivations.js.map +0 -1
- package/dist/repositories/userActivations/index.js.map +0 -1
- package/dist/repositories/userActivations/updateUserActivationDevice.js.map +0 -1
- package/dist/repositories/userActivations/updateUserActivationMetrics.js.map +0 -1
- package/dist/repositories/userAppFeedback/createUserAppFeedback.js.map +0 -1
- package/dist/repositories/userAppFeedback/index.js.map +0 -1
- package/dist/repositories/userAppIncidents/getUserAppIncidents.js.map +0 -1
- package/dist/repositories/userAppIncidents/index.js.map +0 -1
- package/dist/repositories/userAppIncidents/upsertUserAppIncident.js.map +0 -1
- package/dist/repositories/userConfigurations/bulkCreateUserAlertConfigurations.js.map +0 -1
- package/dist/repositories/userConfigurations/createUserAlertConfiguration.js +0 -34
- package/dist/repositories/userConfigurations/createUserAlertConfiguration.js.map +0 -1
- package/dist/repositories/userConfigurations/createUserConfiguration.js.map +0 -1
- package/dist/repositories/userConfigurations/deleteUserAlertConfigurations.js.map +0 -1
- package/dist/repositories/userConfigurations/deleteUserAlertNotificationsConfig.js +0 -30
- package/dist/repositories/userConfigurations/deleteUserAlertNotificationsConfig.js.map +0 -1
- package/dist/repositories/userConfigurations/deleteUserConfiguration.js.map +0 -1
- package/dist/repositories/userConfigurations/getUserAlertConfigurations.js.map +0 -1
- package/dist/repositories/userConfigurations/getUserAlertNotificationsConfig.js +0 -149
- package/dist/repositories/userConfigurations/getUserAlertNotificationsConfig.js.map +0 -1
- package/dist/repositories/userConfigurations/getUserConfigurations.js.map +0 -1
- package/dist/repositories/userConfigurations/index.js.map +0 -1
- package/dist/repositories/userConfigurations/updateUserAlertConfigurations.js.map +0 -1
- package/dist/repositories/userConfigurations/updateUserAlertConfigurationsByIds.js +0 -53
- package/dist/repositories/userConfigurations/updateUserAlertConfigurationsByIds.js.map +0 -1
- package/dist/repositories/userConfigurations/updateUserConfiguration.js.map +0 -1
- package/dist/repositories/userConfigurations/upsertUserAlertNotificationsConfig.js +0 -30
- package/dist/repositories/userConfigurations/upsertUserAlertNotificationsConfig.js.map +0 -1
- package/dist/repositories/userDataDeletionRequests/createUserDataDeletionRequest.js.map +0 -1
- package/dist/repositories/userDataDeletionRequests/getUserDataDeletionRequest.js.map +0 -1
- package/dist/repositories/userDataDeletionRequests/index.js.map +0 -1
- package/dist/repositories/userDataDeletionRequests/removeUserDataDeletionRequest.js.map +0 -1
- package/dist/repositories/userDataDeletionRequests/updateUserDataDeletionRequest.js.map +0 -1
- package/dist/repositories/userInvitations/createUserInvitation.js.map +0 -1
- package/dist/repositories/userInvitations/getUserInvitationById.js.map +0 -1
- package/dist/repositories/userInvitations/getUserInvitations.js.map +0 -1
- package/dist/repositories/userInvitations/index.js.map +0 -1
- package/dist/repositories/userInvitations/updateUserInvitation.js.map +0 -1
- package/dist/repositories/userRatingRequests/createUserRatingRequest.js.map +0 -1
- package/dist/repositories/userRatingRequests/getUserRatingRequests.js.map +0 -1
- package/dist/repositories/userRatingRequests/index.js.map +0 -1
- package/dist/repositories/userRegistrationAttempts/createUserRegistrationAttempt.js.map +0 -1
- package/dist/repositories/userRegistrationAttempts/getUserRegistrationAttempts.js.map +0 -1
- package/dist/repositories/userRegistrationAttempts/index.js.map +0 -1
- package/dist/repositories/userRegistrationAttempts/updateUserRegistrationAttempt.js.map +0 -1
- package/dist/repositories/users/createUser.js.map +0 -1
- package/dist/repositories/users/deleteAccount.js.map +0 -1
- package/dist/repositories/users/deleteUser.js.map +0 -1
- package/dist/repositories/users/getUserById.js.map +0 -1
- package/dist/repositories/users/getUserClientRelatedEntitiesCount.js +0 -64
- package/dist/repositories/users/getUserClientRelatedEntitiesCount.js.map +0 -1
- package/dist/repositories/users/getUserData.js.map +0 -1
- package/dist/repositories/users/getUserInfoWithAmazonDevicesInfo.js +0 -88
- package/dist/repositories/users/getUserInfoWithAmazonDevicesInfo.js.map +0 -1
- package/dist/repositories/users/getUsers.js.map +0 -1
- package/dist/repositories/users/getUsersConfigurationByImei.js.map +0 -1
- package/dist/repositories/users/getUsersIdByPhoneAndCountryCode.js.map +0 -1
- package/dist/repositories/users/getUsersInfoWithActivationInfo.js +0 -101
- package/dist/repositories/users/getUsersInfoWithActivationInfo.js.map +0 -1
- package/dist/repositories/users/getUsersInfoWithDevicesInfo.js +0 -59
- package/dist/repositories/users/getUsersInfoWithDevicesInfo.js.map +0 -1
- package/dist/repositories/users/getUsersWithRoles.js.map +0 -1
- package/dist/repositories/users/index.js.map +0 -1
- package/dist/repositories/users/updateUser.js.map +0 -1
- package/dist/subscribers/allEntitiesSubscriber.js.map +0 -1
- package/dist/subscribers/index.js.map +0 -1
- package/dist/types/acumatica.js.map +0 -1
- package/dist/types/aempToken.js.map +0 -1
- package/dist/types/alert.js.map +0 -1
- package/dist/types/alertTypes.js.map +0 -1
- package/dist/types/appFeatures.js.map +0 -1
- package/dist/types/billing.js.map +0 -1
- package/dist/types/blacklist.js.map +0 -1
- package/dist/types/bleMesh.js +0 -2
- package/dist/types/bleMesh.js.map +0 -1
- package/dist/types/bleMeshConfiguration.js.map +0 -1
- package/dist/types/boundaries.js.map +0 -1
- package/dist/types/clientAlertConfiguration.js +0 -2
- package/dist/types/clientAlertConfiguration.js.map +0 -1
- package/dist/types/clients.js.map +0 -1
- package/dist/types/common.js.map +0 -1
- package/dist/types/countries.js.map +0 -1
- package/dist/types/dataExports.js +0 -2
- package/dist/types/dataExports.js.map +0 -1
- package/dist/types/deactivations.js.map +0 -1
- package/dist/types/deviceBehaviors.js.map +0 -1
- package/dist/types/devicePairings.js.map +0 -1
- package/dist/types/deviceStatus.js +0 -2
- package/dist/types/deviceStatus.js.map +0 -1
- package/dist/types/deviceTypeFeature.js +0 -4
- package/dist/types/deviceTypeFeature.js.map +0 -1
- package/dist/types/devices.js.map +0 -1
- package/dist/types/entitiesTags.js +0 -26
- package/dist/types/entitiesTags.js.map +0 -1
- package/dist/types/enums.js.map +0 -1
- package/dist/types/feature.js +0 -3
- package/dist/types/feature.js.map +0 -1
- package/dist/types/firmwares.js.map +0 -1
- package/dist/types/index.js.map +0 -1
- package/dist/types/latestUserAppInfo.js +0 -2
- package/dist/types/latestUserAppInfo.js.map +0 -1
- package/dist/types/liveLinks.js +0 -2
- package/dist/types/liveLinks.js.map +0 -1
- package/dist/types/logger.js.map +0 -1
- package/dist/types/notificationRecipients.js.map +0 -1
- package/dist/types/position.js.map +0 -1
- package/dist/types/promotion.js +0 -42
- package/dist/types/promotion.js.map +0 -1
- package/dist/types/security.js.map +0 -1
- package/dist/types/tag.js +0 -15
- package/dist/types/tag.js.map +0 -1
- package/dist/types/tasks.js.map +0 -1
- package/dist/types/trip.js.map +0 -1
- package/dist/types/user.js.map +0 -1
- package/dist/types/userActivations.js.map +0 -1
- package/dist/types/userAppFeedback.js.map +0 -1
- package/dist/types/userAppIncidents.js.map +0 -1
- package/dist/types/userConfigurations.js.map +0 -1
- package/dist/types/userDataDeletionRequests.js.map +0 -1
- package/dist/types/userInvitations.js.map +0 -1
- package/dist/types/userRatingRequests.js.map +0 -1
- package/dist/types/userRegistrationAttempts.js.map +0 -1
- package/dist/utils/anyAttributeHasValue.js.map +0 -1
- package/dist/utils/billingPlansHelper.js +0 -50
- package/dist/utils/billingPlansHelper.js.map +0 -1
- package/dist/utils/boolToNumberTransformer.js.map +0 -1
- package/dist/utils/consoleLogger.js.map +0 -1
- package/dist/utils/dateTool.js +0 -9
- package/dist/utils/dateTool.js.map +0 -1
- package/dist/utils/filterTools.js.map +0 -1
- package/dist/utils/mapRawEntityToEntity.js.map +0 -1
- package/dist/utils/paramsValidators.js.map +0 -1
- package/dist/utils/parsingTools.js +0 -22
- package/dist/utils/parsingTools.js.map +0 -1
- package/dist/utils/queryLogger.js.map +0 -1
- package/dist/utils/randomizer.js.map +0 -1
- package/dist/utils/stringToDateTransformer.js.map +0 -1
- package/dist/utils/uuidHelpers.js.map +0 -1
- package/dist/utils/uuidTransformer.js +0 -38
- package/dist/utils/uuidTransformer.js.map +0 -1
|
@@ -17,7 +17,7 @@ let AcumaticaAmazonProduct = class AcumaticaAmazonProduct {
|
|
|
17
17
|
productUrl;
|
|
18
18
|
};
|
|
19
19
|
__decorate([
|
|
20
|
-
PrimaryGeneratedColumn({ type: '
|
|
20
|
+
PrimaryGeneratedColumn({ type: 'smallint', name: 'id' }),
|
|
21
21
|
__metadata("design:type", Number)
|
|
22
22
|
], AcumaticaAmazonProduct.prototype, "id", void 0);
|
|
23
23
|
__decorate([
|
|
@@ -44,4 +44,3 @@ AcumaticaAmazonProduct = __decorate([
|
|
|
44
44
|
Entity('acumaticaAmazonProduct', { schema: 'nova' })
|
|
45
45
|
], AcumaticaAmazonProduct);
|
|
46
46
|
export { AcumaticaAmazonProduct };
|
|
47
|
-
//# sourceMappingURL=acumaticaAmazonProduct.js.map
|
|
@@ -7,7 +7,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
7
7
|
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
8
8
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
9
|
};
|
|
10
|
-
import { Column, Entity,
|
|
10
|
+
import { Column, Entity, PrimaryGeneratedColumn } from 'typeorm';
|
|
11
11
|
let AcumaticaImeiIccidData = class AcumaticaImeiIccidData {
|
|
12
12
|
id;
|
|
13
13
|
imei;
|
|
@@ -26,7 +26,7 @@ let AcumaticaImeiIccidData = class AcumaticaImeiIccidData {
|
|
|
26
26
|
countryCode;
|
|
27
27
|
};
|
|
28
28
|
__decorate([
|
|
29
|
-
PrimaryGeneratedColumn({ type: '
|
|
29
|
+
PrimaryGeneratedColumn({ type: 'smallint', name: 'id' }),
|
|
30
30
|
__metadata("design:type", Number)
|
|
31
31
|
], AcumaticaImeiIccidData.prototype, "id", void 0);
|
|
32
32
|
__decorate([
|
|
@@ -86,8 +86,6 @@ __decorate([
|
|
|
86
86
|
__metadata("design:type", String)
|
|
87
87
|
], AcumaticaImeiIccidData.prototype, "countryCode", void 0);
|
|
88
88
|
AcumaticaImeiIccidData = __decorate([
|
|
89
|
-
Index('ixAcumaticaImeiIccidDataIccid', ['iccid'], {}),
|
|
90
89
|
Entity('acumaticaImeiIccidData', { schema: 'nova' })
|
|
91
90
|
], AcumaticaImeiIccidData);
|
|
92
91
|
export { AcumaticaImeiIccidData };
|
|
93
|
-
//# sourceMappingURL=acumaticaImeiIccidData.js.map
|
|
@@ -7,7 +7,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
7
7
|
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
8
8
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
9
|
};
|
|
10
|
-
import { Column, Entity,
|
|
10
|
+
import { Column, Entity, PrimaryGeneratedColumn } from 'typeorm';
|
|
11
11
|
let AcumaticaOrderShipmentDetails = class AcumaticaOrderShipmentDetails {
|
|
12
12
|
id;
|
|
13
13
|
imei;
|
|
@@ -20,7 +20,7 @@ let AcumaticaOrderShipmentDetails = class AcumaticaOrderShipmentDetails {
|
|
|
20
20
|
sku;
|
|
21
21
|
};
|
|
22
22
|
__decorate([
|
|
23
|
-
PrimaryGeneratedColumn({ type: '
|
|
23
|
+
PrimaryGeneratedColumn({ type: 'smallint', name: 'id' }),
|
|
24
24
|
__metadata("design:type", Number)
|
|
25
25
|
], AcumaticaOrderShipmentDetails.prototype, "id", void 0);
|
|
26
26
|
__decorate([
|
|
@@ -56,8 +56,6 @@ __decorate([
|
|
|
56
56
|
__metadata("design:type", String)
|
|
57
57
|
], AcumaticaOrderShipmentDetails.prototype, "sku", void 0);
|
|
58
58
|
AcumaticaOrderShipmentDetails = __decorate([
|
|
59
|
-
Entity('acumaticaOrderShipmentDetails', { schema: 'nova' })
|
|
60
|
-
Index('ixAcumaticaOrderShipmentDetails_imei_shipmentDate', ['imei', 'shipmentDate'], {})
|
|
59
|
+
Entity('acumaticaOrderShipmentDetails', { schema: 'nova' })
|
|
61
60
|
], AcumaticaOrderShipmentDetails);
|
|
62
61
|
export { AcumaticaOrderShipmentDetails };
|
|
63
|
-
//# sourceMappingURL=acumaticaOrderShipmentDetails.js.map
|
package/dist/entities/alert.d.ts
CHANGED
package/dist/entities/alert.js
CHANGED
|
@@ -30,8 +30,6 @@ let Alert = class Alert {
|
|
|
30
30
|
relevantAddress;
|
|
31
31
|
gpsMessageId;
|
|
32
32
|
cellTowerRelevantAddress;
|
|
33
|
-
userAlertConfigurationId;
|
|
34
|
-
clientAlertConfigurationId;
|
|
35
33
|
};
|
|
36
34
|
__decorate([
|
|
37
35
|
PrimaryGeneratedColumn({ type: 'bigint', name: 'id' }),
|
|
@@ -118,20 +116,14 @@ __decorate([
|
|
|
118
116
|
}),
|
|
119
117
|
__metadata("design:type", String)
|
|
120
118
|
], Alert.prototype, "cellTowerRelevantAddress", void 0);
|
|
121
|
-
__decorate([
|
|
122
|
-
Column('int', { name: 'userAlertConfigurationId', nullable: true }),
|
|
123
|
-
__metadata("design:type", Number)
|
|
124
|
-
], Alert.prototype, "userAlertConfigurationId", void 0);
|
|
125
|
-
__decorate([
|
|
126
|
-
Column('int', { name: 'clientAlertConfigurationId', nullable: true }),
|
|
127
|
-
__metadata("design:type", Number)
|
|
128
|
-
], Alert.prototype, "clientAlertConfigurationId", void 0);
|
|
129
119
|
Alert = __decorate([
|
|
130
120
|
Index('ixAlertUserId_Imei_AlertTypeId_SendTime', ['userId', 'imei', 'alertTypeId', 'sendTime'], {}),
|
|
131
121
|
Index('ixAlertUserId_AlertTypeId_SendTime', ['userId', 'alertTypeId', 'sendTime'], {}),
|
|
122
|
+
Index('ixAlertAlertTypeId', ['alertTypeId'], {}),
|
|
123
|
+
Index('ixAlertClientId', ['clientId'], {}),
|
|
132
124
|
Index('ixAlertImei', ['imei'], {}),
|
|
133
125
|
Index('ixAlertSendTime', ['sendTime'], {}),
|
|
126
|
+
Index('ixAlertUserId', ['userId'], {}),
|
|
134
127
|
Entity('alert', { schema: 'nova' })
|
|
135
128
|
], Alert);
|
|
136
129
|
export { Alert };
|
|
137
|
-
//# sourceMappingURL=alert.js.map
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/// <reference types="node" />
|
|
2
|
+
export declare class AlertMigration {
|
|
3
|
+
id: number;
|
|
4
|
+
alertTypeId: number;
|
|
5
|
+
value: string | null;
|
|
6
|
+
createdAt: Date | null;
|
|
7
|
+
userId: Buffer | null;
|
|
8
|
+
messageId: Buffer;
|
|
9
|
+
boundaryId?: number;
|
|
10
|
+
imei: string;
|
|
11
|
+
sendTime: Date;
|
|
12
|
+
lat: number | null;
|
|
13
|
+
lon: number | null;
|
|
14
|
+
address: string | null;
|
|
15
|
+
clientId: number | null;
|
|
16
|
+
isBuffer: boolean | null;
|
|
17
|
+
isNotification: boolean | null;
|
|
18
|
+
gpsUtcTime: Date | null;
|
|
19
|
+
relevantAddress: string | null;
|
|
20
|
+
gpsMessageId: Buffer | null;
|
|
21
|
+
cellTowerRelevantAddress: string | null;
|
|
22
|
+
}
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
+
};
|
|
7
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
8
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
|
+
};
|
|
10
|
+
import { Column, Entity, PrimaryColumn } from 'typeorm';
|
|
11
|
+
let AlertMigration = class AlertMigration {
|
|
12
|
+
id;
|
|
13
|
+
alertTypeId;
|
|
14
|
+
value;
|
|
15
|
+
createdAt;
|
|
16
|
+
userId;
|
|
17
|
+
messageId;
|
|
18
|
+
boundaryId;
|
|
19
|
+
imei;
|
|
20
|
+
sendTime;
|
|
21
|
+
lat;
|
|
22
|
+
lon;
|
|
23
|
+
address;
|
|
24
|
+
clientId;
|
|
25
|
+
isBuffer;
|
|
26
|
+
isNotification;
|
|
27
|
+
gpsUtcTime;
|
|
28
|
+
relevantAddress;
|
|
29
|
+
gpsMessageId;
|
|
30
|
+
cellTowerRelevantAddress;
|
|
31
|
+
};
|
|
32
|
+
__decorate([
|
|
33
|
+
PrimaryColumn({ type: 'bigint', name: 'id' }),
|
|
34
|
+
__metadata("design:type", Number)
|
|
35
|
+
], AlertMigration.prototype, "id", void 0);
|
|
36
|
+
__decorate([
|
|
37
|
+
Column('tinyint', { name: 'alertTypeId' }),
|
|
38
|
+
__metadata("design:type", Number)
|
|
39
|
+
], AlertMigration.prototype, "alertTypeId", void 0);
|
|
40
|
+
__decorate([
|
|
41
|
+
Column('varchar', { name: 'value', nullable: true, length: 5000 }),
|
|
42
|
+
__metadata("design:type", String)
|
|
43
|
+
], AlertMigration.prototype, "value", void 0);
|
|
44
|
+
__decorate([
|
|
45
|
+
Column('datetime', { name: 'createdAt', precision: 3 }),
|
|
46
|
+
__metadata("design:type", Date)
|
|
47
|
+
], AlertMigration.prototype, "createdAt", void 0);
|
|
48
|
+
__decorate([
|
|
49
|
+
Column('binary', { name: 'userId', nullable: true, length: 16 }),
|
|
50
|
+
__metadata("design:type", Buffer)
|
|
51
|
+
], AlertMigration.prototype, "userId", void 0);
|
|
52
|
+
__decorate([
|
|
53
|
+
Column('binary', { name: 'messageId', length: 16 }),
|
|
54
|
+
__metadata("design:type", Buffer)
|
|
55
|
+
], AlertMigration.prototype, "messageId", void 0);
|
|
56
|
+
__decorate([
|
|
57
|
+
Column('int', { name: 'boundaryId', nullable: true }),
|
|
58
|
+
__metadata("design:type", Number)
|
|
59
|
+
], AlertMigration.prototype, "boundaryId", void 0);
|
|
60
|
+
__decorate([
|
|
61
|
+
Column('varchar', { name: 'imei', length: 15 }),
|
|
62
|
+
__metadata("design:type", String)
|
|
63
|
+
], AlertMigration.prototype, "imei", void 0);
|
|
64
|
+
__decorate([
|
|
65
|
+
Column('datetime', { name: 'sendTime', precision: 3 }),
|
|
66
|
+
__metadata("design:type", Date)
|
|
67
|
+
], AlertMigration.prototype, "sendTime", void 0);
|
|
68
|
+
__decorate([
|
|
69
|
+
Column('decimal', { name: 'lat', nullable: true, precision: 8, scale: 6 }),
|
|
70
|
+
__metadata("design:type", Number)
|
|
71
|
+
], AlertMigration.prototype, "lat", void 0);
|
|
72
|
+
__decorate([
|
|
73
|
+
Column('decimal', { name: 'lon', nullable: true, precision: 9, scale: 6 }),
|
|
74
|
+
__metadata("design:type", Number)
|
|
75
|
+
], AlertMigration.prototype, "lon", void 0);
|
|
76
|
+
__decorate([
|
|
77
|
+
Column('varchar', { name: 'address', nullable: true, length: 255 }),
|
|
78
|
+
__metadata("design:type", String)
|
|
79
|
+
], AlertMigration.prototype, "address", void 0);
|
|
80
|
+
__decorate([
|
|
81
|
+
Column('int', { name: 'clientId', nullable: true }),
|
|
82
|
+
__metadata("design:type", Number)
|
|
83
|
+
], AlertMigration.prototype, "clientId", void 0);
|
|
84
|
+
__decorate([
|
|
85
|
+
Column('tinyint', { name: 'isBuffer', nullable: true, width: 1 }),
|
|
86
|
+
__metadata("design:type", Boolean)
|
|
87
|
+
], AlertMigration.prototype, "isBuffer", void 0);
|
|
88
|
+
__decorate([
|
|
89
|
+
Column('tinyint', { name: 'isNotification', nullable: true, width: 1 }),
|
|
90
|
+
__metadata("design:type", Boolean)
|
|
91
|
+
], AlertMigration.prototype, "isNotification", void 0);
|
|
92
|
+
__decorate([
|
|
93
|
+
Column('datetime', { name: 'gpsUtcTime', nullable: true, precision: 3 }),
|
|
94
|
+
__metadata("design:type", Date)
|
|
95
|
+
], AlertMigration.prototype, "gpsUtcTime", void 0);
|
|
96
|
+
__decorate([
|
|
97
|
+
Column('varchar', { name: 'relevantAddress', nullable: true, length: 255 }),
|
|
98
|
+
__metadata("design:type", String)
|
|
99
|
+
], AlertMigration.prototype, "relevantAddress", void 0);
|
|
100
|
+
__decorate([
|
|
101
|
+
Column('binary', { name: 'gpsMessageId', nullable: true, length: 16 }),
|
|
102
|
+
__metadata("design:type", Buffer)
|
|
103
|
+
], AlertMigration.prototype, "gpsMessageId", void 0);
|
|
104
|
+
__decorate([
|
|
105
|
+
Column('varchar', {
|
|
106
|
+
name: 'cellTowerRelevantAddress',
|
|
107
|
+
nullable: true,
|
|
108
|
+
length: 255,
|
|
109
|
+
}),
|
|
110
|
+
__metadata("design:type", String)
|
|
111
|
+
], AlertMigration.prototype, "cellTowerRelevantAddress", void 0);
|
|
112
|
+
AlertMigration = __decorate([
|
|
113
|
+
Entity('alertMigration', { schema: 'nova' })
|
|
114
|
+
], AlertMigration);
|
|
115
|
+
export { AlertMigration };
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
+
};
|
|
7
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
8
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
|
+
};
|
|
10
|
+
import { Entity, PrimaryColumn } from 'typeorm';
|
|
11
|
+
let AlertMigrationBatch = class AlertMigrationBatch {
|
|
12
|
+
id;
|
|
13
|
+
};
|
|
14
|
+
__decorate([
|
|
15
|
+
PrimaryColumn({ type: 'bigint', name: 'id' }),
|
|
16
|
+
__metadata("design:type", Number)
|
|
17
|
+
], AlertMigrationBatch.prototype, "id", void 0);
|
|
18
|
+
AlertMigrationBatch = __decorate([
|
|
19
|
+
Entity('alertMigrationBatch', { schema: 'nova' })
|
|
20
|
+
], AlertMigrationBatch);
|
|
21
|
+
export { AlertMigrationBatch };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/// <reference types="node" />
|
|
2
|
+
export declare class AlertTimeWindowConfiguration {
|
|
3
|
+
id: number;
|
|
4
|
+
alertId: number | null;
|
|
5
|
+
userId: Buffer | null;
|
|
6
|
+
clientId: number | null;
|
|
7
|
+
alertConfigurationId: number;
|
|
8
|
+
daysOfTheWeek: string | null;
|
|
9
|
+
startTime: Date | null;
|
|
10
|
+
endTime: Date | null;
|
|
11
|
+
label: string | null;
|
|
12
|
+
}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
+
};
|
|
7
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
8
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
|
+
};
|
|
10
|
+
import { Column, Entity, PrimaryGeneratedColumn } from 'typeorm';
|
|
11
|
+
let AlertTimeWindowConfiguration = class AlertTimeWindowConfiguration {
|
|
12
|
+
id;
|
|
13
|
+
alertId;
|
|
14
|
+
userId;
|
|
15
|
+
clientId;
|
|
16
|
+
alertConfigurationId;
|
|
17
|
+
daysOfTheWeek;
|
|
18
|
+
startTime;
|
|
19
|
+
endTime;
|
|
20
|
+
label;
|
|
21
|
+
};
|
|
22
|
+
__decorate([
|
|
23
|
+
PrimaryGeneratedColumn({ type: 'int', name: 'id' }),
|
|
24
|
+
__metadata("design:type", Number)
|
|
25
|
+
], AlertTimeWindowConfiguration.prototype, "id", void 0);
|
|
26
|
+
__decorate([
|
|
27
|
+
Column('int', { name: 'alertId', nullable: true }),
|
|
28
|
+
__metadata("design:type", Number)
|
|
29
|
+
], AlertTimeWindowConfiguration.prototype, "alertId", void 0);
|
|
30
|
+
__decorate([
|
|
31
|
+
Column('binary', { name: 'userId', nullable: true, length: 16 }),
|
|
32
|
+
__metadata("design:type", Buffer)
|
|
33
|
+
], AlertTimeWindowConfiguration.prototype, "userId", void 0);
|
|
34
|
+
__decorate([
|
|
35
|
+
Column('int', { name: 'clientId', nullable: true }),
|
|
36
|
+
__metadata("design:type", Number)
|
|
37
|
+
], AlertTimeWindowConfiguration.prototype, "clientId", void 0);
|
|
38
|
+
__decorate([
|
|
39
|
+
Column('int', { name: 'alertConfigurationId', nullable: true }),
|
|
40
|
+
__metadata("design:type", Number)
|
|
41
|
+
], AlertTimeWindowConfiguration.prototype, "alertConfigurationId", void 0);
|
|
42
|
+
__decorate([
|
|
43
|
+
Column('varchar', { name: 'daysOfTheWeek', nullable: true, length: 7 }),
|
|
44
|
+
__metadata("design:type", String)
|
|
45
|
+
], AlertTimeWindowConfiguration.prototype, "daysOfTheWeek", void 0);
|
|
46
|
+
__decorate([
|
|
47
|
+
Column('datetime', { name: 'startTime', nullable: true, precision: 0 }),
|
|
48
|
+
__metadata("design:type", Date)
|
|
49
|
+
], AlertTimeWindowConfiguration.prototype, "startTime", void 0);
|
|
50
|
+
__decorate([
|
|
51
|
+
Column('datetime', { name: 'endTime', nullable: true, precision: 0 }),
|
|
52
|
+
__metadata("design:type", Date)
|
|
53
|
+
], AlertTimeWindowConfiguration.prototype, "endTime", void 0);
|
|
54
|
+
__decorate([
|
|
55
|
+
Column('varchar', { name: 'label', nullable: true, length: 100 }),
|
|
56
|
+
__metadata("design:type", String)
|
|
57
|
+
], AlertTimeWindowConfiguration.prototype, "label", void 0);
|
|
58
|
+
AlertTimeWindowConfiguration = __decorate([
|
|
59
|
+
Entity('alertTimeWindowConfiguration', { schema: 'nova' })
|
|
60
|
+
], AlertTimeWindowConfiguration);
|
|
61
|
+
export { AlertTimeWindowConfiguration };
|
package/dist/entities/billing.js
CHANGED
|
@@ -50,8 +50,8 @@ __decorate([
|
|
|
50
50
|
__metadata("design:type", Date)
|
|
51
51
|
], BLEMeshConfiguration.prototype, "modifiedAt", void 0);
|
|
52
52
|
BLEMeshConfiguration = __decorate([
|
|
53
|
+
Index('ixBLEMeshConfigurationImeiMain', ['imeiMain'], {}),
|
|
53
54
|
Index('ixuBLEMeshConfigurationImeiMainBLEMac', ['imeiMain', 'bleMac'], { unique: true }),
|
|
54
55
|
Entity('bleMeshConfiguration', { schema: 'nova' })
|
|
55
56
|
], BLEMeshConfiguration);
|
|
56
57
|
export { BLEMeshConfiguration };
|
|
57
|
-
//# sourceMappingURL=bleMeshConfiguration.js.map
|
|
@@ -29,7 +29,6 @@ let Boundary = class Boundary {
|
|
|
29
29
|
area;
|
|
30
30
|
centerLat;
|
|
31
31
|
centerLon;
|
|
32
|
-
securityGroupEntityTags;
|
|
33
32
|
};
|
|
34
33
|
__decorate([
|
|
35
34
|
PrimaryGeneratedColumn({ type: 'int', name: 'id' }),
|
|
@@ -118,4 +117,3 @@ Boundary = __decorate([
|
|
|
118
117
|
Entity('boundary', { schema: 'nova' })
|
|
119
118
|
], Boundary);
|
|
120
119
|
export { Boundary };
|
|
121
|
-
//# sourceMappingURL=boundary.js.map
|
package/dist/entities/client.js
CHANGED
|
@@ -13,6 +13,7 @@ import { CustomerAttribute } from './customerAttribute';
|
|
|
13
13
|
import { Device } from './device';
|
|
14
14
|
import { DeviceCustomConfiguration } from './deviceCustomConfiguration';
|
|
15
15
|
import { Organization } from './organization';
|
|
16
|
+
import { Promotion } from './promotion';
|
|
16
17
|
import { User } from './user';
|
|
17
18
|
let Client = class Client {
|
|
18
19
|
id;
|
|
@@ -36,6 +37,7 @@ let Client = class Client {
|
|
|
36
37
|
organization;
|
|
37
38
|
users;
|
|
38
39
|
devices;
|
|
40
|
+
promotions;
|
|
39
41
|
deviceCustomConfigurations;
|
|
40
42
|
customerAttribute;
|
|
41
43
|
};
|
|
@@ -129,6 +131,10 @@ __decorate([
|
|
|
129
131
|
OneToMany(() => Device, device => device.client),
|
|
130
132
|
__metadata("design:type", Array)
|
|
131
133
|
], Client.prototype, "devices", void 0);
|
|
134
|
+
__decorate([
|
|
135
|
+
OneToMany(() => Promotion, promotion => promotion.client),
|
|
136
|
+
__metadata("design:type", Array)
|
|
137
|
+
], Client.prototype, "promotions", void 0);
|
|
132
138
|
__decorate([
|
|
133
139
|
OneToMany(() => DeviceCustomConfiguration, deviceCustomConfiguration => deviceCustomConfiguration.client),
|
|
134
140
|
__metadata("design:type", Array)
|
|
@@ -145,4 +151,3 @@ Client = __decorate([
|
|
|
145
151
|
Entity('client', { schema: 'nova' })
|
|
146
152
|
], Client);
|
|
147
153
|
export { Client };
|
|
148
|
-
//# sourceMappingURL=client.js.map
|
|
@@ -7,15 +7,13 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
7
7
|
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
8
8
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
9
|
};
|
|
10
|
-
import { Column, Entity
|
|
10
|
+
import { Column, Entity } from 'typeorm';
|
|
11
11
|
let ClientConfiguration = class ClientConfiguration {
|
|
12
12
|
clientId;
|
|
13
13
|
movementTripThreshold;
|
|
14
14
|
stopTripThreshold;
|
|
15
15
|
mapUpdateMode;
|
|
16
16
|
maxUsersAllowed;
|
|
17
|
-
ssoDomain;
|
|
18
|
-
ssoMetadata;
|
|
19
17
|
};
|
|
20
18
|
__decorate([
|
|
21
19
|
Column('int', { primary: true, name: 'clientId' }),
|
|
@@ -43,17 +41,7 @@ __decorate([
|
|
|
43
41
|
Column('smallint', { name: 'maxUsersAllowed', default: () => "'10'" }),
|
|
44
42
|
__metadata("design:type", Number)
|
|
45
43
|
], ClientConfiguration.prototype, "maxUsersAllowed", void 0);
|
|
46
|
-
__decorate([
|
|
47
|
-
Column('varchar', { name: 'ssoDomain', nullable: true, length: 250 }),
|
|
48
|
-
__metadata("design:type", String)
|
|
49
|
-
], ClientConfiguration.prototype, "ssoDomain", void 0);
|
|
50
|
-
__decorate([
|
|
51
|
-
Column('json', { name: 'ssoMetadata', nullable: true }),
|
|
52
|
-
__metadata("design:type", Object)
|
|
53
|
-
], ClientConfiguration.prototype, "ssoMetadata", void 0);
|
|
54
44
|
ClientConfiguration = __decorate([
|
|
55
|
-
Entity('clientConfiguration', { schema: 'nova' })
|
|
56
|
-
Index('ssoDomain', ['ssoDomain'], { unique: true })
|
|
45
|
+
Entity('clientConfiguration', { schema: 'nova' })
|
|
57
46
|
], ClientConfiguration);
|
|
58
47
|
export { ClientConfiguration };
|
|
59
|
-
//# sourceMappingURL=clientConfiguration.js.map
|
|
@@ -21,7 +21,6 @@ let ClientDeviceSetting = class ClientDeviceSetting {
|
|
|
21
21
|
offlineThresholdMinutes;
|
|
22
22
|
movementThresholdSpeed;
|
|
23
23
|
externalBatteryInformation;
|
|
24
|
-
reportingMode;
|
|
25
24
|
};
|
|
26
25
|
__decorate([
|
|
27
26
|
PrimaryGeneratedColumn({ type: 'int', name: 'id' }),
|
|
@@ -81,10 +80,6 @@ __decorate([
|
|
|
81
80
|
}),
|
|
82
81
|
__metadata("design:type", Boolean)
|
|
83
82
|
], ClientDeviceSetting.prototype, "externalBatteryInformation", void 0);
|
|
84
|
-
__decorate([
|
|
85
|
-
Column('varchar', { length: 30, nullable: true, default: '' }),
|
|
86
|
-
__metadata("design:type", String)
|
|
87
|
-
], ClientDeviceSetting.prototype, "reportingMode", void 0);
|
|
88
83
|
ClientDeviceSetting = __decorate([
|
|
89
84
|
Index('ixuUserDeviceSettingClientIdImei', ['clientId', 'imei'], {
|
|
90
85
|
unique: true,
|
|
@@ -93,4 +88,3 @@ ClientDeviceSetting = __decorate([
|
|
|
93
88
|
Entity('clientDeviceSetting', { schema: 'nova' })
|
|
94
89
|
], ClientDeviceSetting);
|
|
95
90
|
export { ClientDeviceSetting };
|
|
96
|
-
//# sourceMappingURL=clientDeviceSetting.js.map
|
package/dist/entities/country.js
CHANGED
|
@@ -7,7 +7,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
7
7
|
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
8
8
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
9
|
};
|
|
10
|
-
import { Column, Entity,
|
|
10
|
+
import { Column, Entity, PrimaryGeneratedColumn } from 'typeorm';
|
|
11
11
|
let Country = class Country {
|
|
12
12
|
id;
|
|
13
13
|
name;
|
|
@@ -85,8 +85,6 @@ __decorate([
|
|
|
85
85
|
__metadata("design:type", String)
|
|
86
86
|
], Country.prototype, "alpha3Code", void 0);
|
|
87
87
|
Country = __decorate([
|
|
88
|
-
Index('ixCountryAlpha2Code', ['alpha2Code'], {}),
|
|
89
88
|
Entity('country', { schema: 'nova' })
|
|
90
89
|
], Country);
|
|
91
90
|
export { Country };
|
|
92
|
-
//# sourceMappingURL=country.js.map
|