@spytecgps/nova-orm 1.4.150 → 1.4.151
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/entities/issue.d.ts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/migration/_virtual/_virtual_multi-entry.js +2 -2
- package/dist/novaDataSource.d.ts +2 -2
- package/dist/types/common.d.ts +4 -10
- package/dist/types/enums.d.ts +10 -0
- package/dist/types/index.d.ts +5 -39
- package/package.json +1 -1
- package/dist/repositories/acumatica/getAcumaticaImeiIccidData.d.ts +0 -5
- package/dist/repositories/acumatica/getAcumaticaShipmentAmazon.d.ts +0 -5
- package/dist/repositories/acumatica/getAcumaticaShipmentDetails.d.ts +0 -4
- package/dist/repositories/acumatica/getLastAcumaticaShipmentDetails.d.ts +0 -4
- package/dist/repositories/acumatica/getOrderShipmentInternational.d.ts +0 -5
- package/dist/repositories/acumatica/index.d.ts +0 -47
- package/dist/repositories/aempToken/createAempToken.d.ts +0 -5
- package/dist/repositories/aempToken/deleteAempTokens.d.ts +0 -4
- package/dist/repositories/aempToken/getAempTokens.d.ts +0 -5
- package/dist/repositories/aempToken/index.d.ts +0 -33
- package/dist/repositories/appFeatures/createAppFeatureType.d.ts +0 -5
- package/dist/repositories/appFeatures/createClientAppFeature.d.ts +0 -5
- package/dist/repositories/appFeatures/getClientAppFeatures.d.ts +0 -5
- package/dist/repositories/appFeatures/index.d.ts +0 -37
- package/dist/repositories/baseRepository.d.ts +0 -21
- package/dist/repositories/billing/createBilling.d.ts +0 -5
- package/dist/repositories/billing/createBillingDeviceHistory.d.ts +0 -5
- package/dist/repositories/billing/createBillingHubspotPaymentLog.d.ts +0 -5
- package/dist/repositories/billing/createBillingStatusHistoryBraintree.d.ts +0 -5
- package/dist/repositories/billing/getBillingCustomerBraintreeById.d.ts +0 -5
- package/dist/repositories/billing/getBillingSubscriptionsBraintree.d.ts +0 -5
- package/dist/repositories/billing/getBillings.d.ts +0 -5
- package/dist/repositories/billing/getBraintreePastDueSubscriptions.d.ts +0 -4
- package/dist/repositories/billing/getCanceledImeis.d.ts +0 -4
- package/dist/repositories/billing/getCanceledImeisMatchingMagentoData.d.ts +0 -4
- package/dist/repositories/billing/getChurnStatusByClientId.d.ts +0 -4
- package/dist/repositories/billing/getClientIdFromBraintreeCustomer.d.ts +0 -4
- package/dist/repositories/billing/getMagentoPlan.d.ts +0 -5
- package/dist/repositories/billing/getUserByBraintreeCustomerId.d.ts +0 -5
- package/dist/repositories/billing/index.d.ts +0 -188
- package/dist/repositories/billing/updateBilling.d.ts +0 -4
- package/dist/repositories/billing/updateBillingCustomerBraintree.d.ts +0 -4
- package/dist/repositories/billing/upsertBillingCustomerBraintree.d.ts +0 -5
- package/dist/repositories/billing/upsertBillingSubscriptionBraintree.d.ts +0 -4
- package/dist/repositories/blacklist/deleteBlackList.d.ts +0 -4
- package/dist/repositories/blacklist/getBlacklists.d.ts +0 -5
- package/dist/repositories/blacklist/index.d.ts +0 -43
- package/dist/repositories/blacklist/updateBlackList.d.ts +0 -4
- package/dist/repositories/blacklist/upsertBlackList.d.ts +0 -5
- package/dist/repositories/boundaries/createBoundary.d.ts +0 -5
- package/dist/repositories/boundaries/deleteBoundary.d.ts +0 -4
- package/dist/repositories/boundaries/getBoundariesByClientId.d.ts +0 -5
- package/dist/repositories/boundaries/getBoundariesIdsByClientId.d.ts +0 -4
- package/dist/repositories/boundaries/getBoundariesReport.d.ts +0 -4
- package/dist/repositories/boundaries/getBoundaryById.d.ts +0 -5
- package/dist/repositories/boundaries/index.d.ts +0 -106
- package/dist/repositories/boundaries/processBoundaryEvent.d.ts +0 -4
- package/dist/repositories/boundaries/updateBoundary.d.ts +0 -4
- package/dist/repositories/boundaries/upsertBoundaryEvent.d.ts +0 -4
- package/dist/repositories/clientAlertConfiguration/createClientAlertConfiguration.d.ts +0 -5
- package/dist/repositories/clientAlertConfiguration/deleteClientAlertConfiguration.d.ts +0 -4
- package/dist/repositories/clientAlertConfiguration/getClientAlertConfigurations.d.ts +0 -5
- package/dist/repositories/clientAlertConfiguration/getClientAlertRecipients.d.ts +0 -4
- package/dist/repositories/clientAlertConfiguration/getUsersDataForClientAlertConfig.d.ts +0 -4
- package/dist/repositories/clientAlertConfiguration/index.d.ts +0 -13
- package/dist/repositories/clientAlertConfiguration/isUserAllowedForAlertConfig.d.ts +0 -4
- package/dist/repositories/clientAlertConfiguration/setClientAlertRecipients.d.ts +0 -4
- package/dist/repositories/clientAlertConfiguration/updateClientAlertConfiguration.d.ts +0 -4
- package/dist/repositories/clients/createClient.d.ts +0 -5
- package/dist/repositories/clients/createClientConfiguration.d.ts +0 -5
- package/dist/repositories/clients/createClientIngestorConfiguration.d.ts +0 -5
- package/dist/repositories/clients/createCustomerAttribute.d.ts +0 -5
- package/dist/repositories/clients/deleteClientAndConfiguration.d.ts +0 -4
- package/dist/repositories/clients/getClient.d.ts +0 -5
- package/dist/repositories/clients/getClientConfiguration.d.ts +0 -5
- package/dist/repositories/clients/getClientIngestorConfigurations.d.ts +0 -4
- package/dist/repositories/clients/getClients.d.ts +0 -5
- package/dist/repositories/clients/getCustomerAttribute.d.ts +0 -5
- package/dist/repositories/clients/index.d.ts +0 -138
- package/dist/repositories/clients/updateClient.d.ts +0 -4
- package/dist/repositories/clients/updateClientConfiguration.d.ts +0 -4
- package/dist/repositories/clients/updateCustomerAttribute.d.ts +0 -4
- package/dist/repositories/countries/getCountries.d.ts +0 -4
- package/dist/repositories/countries/getCountry.d.ts +0 -5
- package/dist/repositories/countries/index.d.ts +0 -20
- package/dist/repositories/deactivations/createDeactivation.d.ts +0 -5
- package/dist/repositories/deactivations/getDeactivationReasons.d.ts +0 -5
- package/dist/repositories/deactivations/getLatestDeactivationByImei.d.ts +0 -5
- package/dist/repositories/deactivations/index.d.ts +0 -38
- package/dist/repositories/deviceBehaviors/createDeviceBehaviorTask.d.ts +0 -5
- package/dist/repositories/deviceBehaviors/getDeviceBehaviorTasks.d.ts +0 -5
- package/dist/repositories/deviceBehaviors/getDeviceBehaviors.d.ts +0 -5
- package/dist/repositories/deviceBehaviors/getDeviceBehaviorsByIds.d.ts +0 -5
- package/dist/repositories/deviceBehaviors/index.d.ts +0 -70
- package/dist/repositories/deviceBehaviors/updateDeviceBehaviorTask.d.ts +0 -4
- package/dist/repositories/deviceBehaviors/upsertDeviceBehavior.d.ts +0 -5
- package/dist/repositories/devicePairings/createDevicePairing.d.ts +0 -5
- package/dist/repositories/devicePairings/deleteDevicePairing.d.ts +0 -4
- package/dist/repositories/devicePairings/getDevicePairings.d.ts +0 -5
- package/dist/repositories/devicePairings/getDevicePairingsByClientId.d.ts +0 -5
- package/dist/repositories/devicePairings/getDevicePairingsByImei.d.ts +0 -5
- package/dist/repositories/devicePairings/index.d.ts +0 -65
- package/dist/repositories/devicePairings/updateDevicePairing.d.ts +0 -4
- package/dist/repositories/deviceStatus/extendedDeviceStatus.d.ts +0 -12
- package/dist/repositories/deviceStatus/getDeviceStatuses.d.ts +0 -4
- package/dist/repositories/deviceStatus/getDeviceStatusesCount.d.ts +0 -4
- package/dist/repositories/deviceStatus/index.d.ts +0 -35
- package/dist/repositories/deviceStatus/upsertDeviceStatuses.d.ts +0 -4
- package/dist/repositories/deviceTypeFeature/bulkCreateDeviceTypeFeature.d.ts +0 -5
- package/dist/repositories/deviceTypeFeature/deleteDeviceTypeFeature.d.ts +0 -4
- package/dist/repositories/deviceTypeFeature/getDeviceTypeFeatures.d.ts +0 -4
- package/dist/repositories/deviceTypeFeature/index.d.ts +0 -27
- package/dist/repositories/devices/addDeviceChangesHistory.d.ts +0 -5
- package/dist/repositories/devices/allImeisAreActiveForClient.d.ts +0 -4
- package/dist/repositories/devices/createClientDeviceSetting.d.ts +0 -5
- package/dist/repositories/devices/createDevice.d.ts +0 -5
- package/dist/repositories/devices/createDeviceReplacement.d.ts +0 -5
- package/dist/repositories/devices/createDeviceType.d.ts +0 -5
- package/dist/repositories/devices/createImeiIccidCarrier.d.ts +0 -5
- package/dist/repositories/devices/deleteDevice.d.ts +0 -4
- package/dist/repositories/devices/generateDeviceIdentifierKey.d.ts +0 -4
- package/dist/repositories/devices/getCanceledDevicesWithActiveSimCards.d.ts +0 -4
- package/dist/repositories/devices/getCarrierStatusUpdatedBefore.d.ts +0 -4
- package/dist/repositories/devices/getClientDeviceSetting.d.ts +0 -5
- package/dist/repositories/devices/getClientDeviceSettings.d.ts +0 -5
- package/dist/repositories/devices/getDevice.d.ts +0 -5
- package/dist/repositories/devices/getDeviceChangesHistory.d.ts +0 -5
- package/dist/repositories/devices/getDeviceChangesHistoryAssignedToValuesByClient.d.ts +0 -4
- package/dist/repositories/devices/getDeviceCustomConfig.d.ts +0 -5
- package/dist/repositories/devices/getDeviceTypeByImei.d.ts +0 -5
- package/dist/repositories/devices/getDeviceTypes.d.ts +0 -4
- package/dist/repositories/devices/getDeviceTypesModelsOrderedByDeviceCount.d.ts +0 -3
- package/dist/repositories/devices/getDeviceWithUsersInfo.d.ts +0 -4
- package/dist/repositories/devices/getDevices.d.ts +0 -5
- package/dist/repositories/devices/getDevicesCountByStatus.d.ts +0 -4
- package/dist/repositories/devices/getFilteredImeisWithStatus.d.ts +0 -4
- package/dist/repositories/devices/getIccidStatus.d.ts +0 -5
- package/dist/repositories/devices/getImeiIccidCarrier.d.ts +0 -5
- package/dist/repositories/devices/getImeiIccidCarriers.d.ts +0 -5
- package/dist/repositories/devices/getServiceProviderProduct.d.ts +0 -5
- package/dist/repositories/devices/index.d.ts +0 -331
- package/dist/repositories/devices/updateClientDeviceSetting.d.ts +0 -4
- package/dist/repositories/devices/updateDevice.d.ts +0 -4
- package/dist/repositories/devices/updateDeviceType.d.ts +0 -4
- package/dist/repositories/devices/updateIccidStatus.d.ts +0 -4
- package/dist/repositories/devices/updateImeiIccidCarrier.d.ts +0 -4
- package/dist/repositories/devices/upsertDeviceCustomConfig.d.ts +0 -4
- package/dist/repositories/devices/upsertIccidStatus.d.ts +0 -4
- package/dist/repositories/entityTags/bulkCreateEntityTag.d.ts +0 -5
- package/dist/repositories/entityTags/bulkDeleteEntityTag.d.ts +0 -4
- package/dist/repositories/entityTags/createEntityTag.d.ts +0 -5
- package/dist/repositories/entityTags/deleteEntityTag.d.ts +0 -4
- package/dist/repositories/entityTags/deleteEntityTagById.d.ts +0 -3
- package/dist/repositories/entityTags/enforceEntityTagsByEntity.d.ts +0 -4
- package/dist/repositories/entityTags/getEntityTagById.d.ts +0 -5
- package/dist/repositories/entityTags/index.d.ts +0 -48
- package/dist/repositories/entityTags/searchEntityTags.d.ts +0 -4
- package/dist/repositories/features/createFeature.d.ts +0 -5
- package/dist/repositories/features/deleteFeature.d.ts +0 -4
- package/dist/repositories/features/getFeatures.d.ts +0 -4
- package/dist/repositories/features/index.d.ts +0 -33
- package/dist/repositories/features/upsertFeature.d.ts +0 -4
- package/dist/repositories/firmwares/createDeviceFirmware.d.ts +0 -5
- package/dist/repositories/firmwares/createFirmwareAutoUpgradeBlacklist.d.ts +0 -5
- package/dist/repositories/firmwares/createFirmwareUpgradeTask.d.ts +0 -5
- package/dist/repositories/firmwares/getDeviceFirmwares.d.ts +0 -4
- package/dist/repositories/firmwares/getFirmwareAutoUpgradeBlacklist.d.ts +0 -5
- package/dist/repositories/firmwares/getFirmwareUpgradeTasks.d.ts +0 -5
- package/dist/repositories/firmwares/getFirmwareUpgradeTasksCount.d.ts +0 -4
- package/dist/repositories/firmwares/index.d.ts +0 -132
- package/dist/repositories/firmwares/updateDeviceFirmware.d.ts +0 -4
- package/dist/repositories/firmwares/updateFirmwareUpgradeTasks.d.ts +0 -4
- package/dist/repositories/index.d.ts +0 -34
- package/dist/repositories/notificationRecipients/createNotificationRecipient.d.ts +0 -5
- package/dist/repositories/notificationRecipients/deleteNotificationRecipients.d.ts +0 -4
- package/dist/repositories/notificationRecipients/deleteNotificationRecipientsByEmailOrPhone.d.ts +0 -4
- package/dist/repositories/notificationRecipients/getNotificationRecipients.d.ts +0 -5
- package/dist/repositories/notificationRecipients/index.d.ts +0 -83
- package/dist/repositories/notificationRecipients/updateNotificationRecipient.d.ts +0 -4
- package/dist/repositories/notificationRecipients/updateUsersNotificationsUnsubscribedInfoStatus.d.ts +0 -4
- package/dist/repositories/notificationRecipients/updateUsersNotificationsUnsuscribedStatus.d.ts +0 -4
- package/dist/repositories/positions/createPosition.d.ts +0 -6
- package/dist/repositories/positions/getBatteryReportForDevice.d.ts +0 -4
- package/dist/repositories/positions/getLatestPositionByImei.d.ts +0 -5
- package/dist/repositories/positions/getPositionsByImei.d.ts +0 -5
- package/dist/repositories/positions/getPositionsReportByClient.d.ts +0 -4
- package/dist/repositories/positions/index.d.ts +0 -69
- package/dist/repositories/positions/mapping/mapToPositionReport.d.ts +0 -5
- package/dist/repositories/positions/upsertLatestPosition.d.ts +0 -4
- package/dist/repositories/promotions/bulkInsertDeviceTypePromotion.d.ts +0 -5
- package/dist/repositories/promotions/bulkInsertMarketplacePromotion.d.ts +0 -5
- package/dist/repositories/promotions/createPromotion.d.ts +0 -5
- package/dist/repositories/promotions/createPromotionHistory.d.ts +0 -5
- package/dist/repositories/promotions/deleteDeviceTypePromotion.d.ts +0 -4
- package/dist/repositories/promotions/deleteMarketplacePromotion.d.ts +0 -4
- package/dist/repositories/promotions/getDeviceTypePromotion.d.ts +0 -5
- package/dist/repositories/promotions/getMarketplacePromotion.d.ts +0 -5
- package/dist/repositories/promotions/getPromotions.d.ts +0 -5
- package/dist/repositories/promotions/index.d.ts +0 -72
- package/dist/repositories/promotions/promotionValidator.d.ts +0 -3
- package/dist/repositories/promotions/updatePromotion.d.ts +0 -4
- package/dist/repositories/security/bulkCreateUserAuthorizedBoundaries.d.ts +0 -4
- package/dist/repositories/security/bulkCreateUserAuthorizedDevices.d.ts +0 -4
- package/dist/repositories/security/bulkRemoveUserAuthorizedBoundaries.d.ts +0 -4
- package/dist/repositories/security/bulkRemoveUserAuthorizedDevices.d.ts +0 -4
- package/dist/repositories/security/createUserRole.d.ts +0 -5
- package/dist/repositories/security/getAllRoles.d.ts +0 -3
- package/dist/repositories/security/getAuthorizedBoundariesByUserId.d.ts +0 -5
- package/dist/repositories/security/getAuthorizedDevicesByUserId.d.ts +0 -5
- package/dist/repositories/security/getUserIdsByClientIdAndAuthorizedBoundaries.d.ts +0 -4
- package/dist/repositories/security/getUserIdsByClientIdAndAuthorizedDevices.d.ts +0 -4
- package/dist/repositories/security/getUserRoles.d.ts +0 -5
- package/dist/repositories/security/getUserRolesByClientId.d.ts +0 -5
- package/dist/repositories/security/index.d.ts +0 -64
- package/dist/repositories/security/removeUserRoles.d.ts +0 -4
- package/dist/repositories/security/updateUserRole.d.ts +0 -4
- package/dist/repositories/security/userIsAdminOrOwner.d.ts +0 -4
- package/dist/repositories/security/userIsInRole.d.ts +0 -4
- package/dist/repositories/tags/bulkCreateTags.d.ts +0 -5
- package/dist/repositories/tags/createTag.d.ts +0 -5
- package/dist/repositories/tags/deleteTag.d.ts +0 -4
- package/dist/repositories/tags/index.d.ts +0 -41
- package/dist/repositories/tags/searchTags.d.ts +0 -4
- package/dist/repositories/tags/searchTagsByUser.d.ts +0 -4
- package/dist/repositories/tags/updateTag.d.ts +0 -4
- package/dist/repositories/tasks/addTaskScheduleDevices.d.ts +0 -4
- package/dist/repositories/tasks/completeTask.d.ts +0 -4
- package/dist/repositories/tasks/createTask.d.ts +0 -5
- package/dist/repositories/tasks/createTaskSchedule.d.ts +0 -5
- package/dist/repositories/tasks/deleteTask.d.ts +0 -4
- package/dist/repositories/tasks/deleteTaskSchedule.d.ts +0 -4
- package/dist/repositories/tasks/deleteTaskScheduleDevices.d.ts +0 -4
- package/dist/repositories/tasks/getDeviceTasks.d.ts +0 -5
- package/dist/repositories/tasks/getTaskSchedule.d.ts +0 -5
- package/dist/repositories/tasks/getTaskSchedules.d.ts +0 -5
- package/dist/repositories/tasks/getTaskSchedulesCount.d.ts +0 -4
- package/dist/repositories/tasks/getTasks.d.ts +0 -5
- package/dist/repositories/tasks/getTasksCount.d.ts +0 -4
- package/dist/repositories/tasks/index.d.ts +0 -325
- package/dist/repositories/tasks/setTaskAsPastDue.d.ts +0 -4
- package/dist/repositories/tasks/setTaskScheduleDevices.d.ts +0 -4
- package/dist/repositories/tasks/updateTask.d.ts +0 -4
- package/dist/repositories/tasks/updateTaskSchedule.d.ts +0 -4
- package/dist/repositories/userActivations/createUserActivation.d.ts +0 -5
- package/dist/repositories/userActivations/createUserActivationDevice.d.ts +0 -5
- package/dist/repositories/userActivations/createUserActivationEvent.d.ts +0 -5
- package/dist/repositories/userActivations/createUserActivationMetric.d.ts +0 -5
- package/dist/repositories/userActivations/deleteUserActivation.d.ts +0 -4
- package/dist/repositories/userActivations/getLastActivationDevice.d.ts +0 -5
- package/dist/repositories/userActivations/getUserActivationById.d.ts +0 -5
- package/dist/repositories/userActivations/getUserActivationDevices.d.ts +0 -5
- package/dist/repositories/userActivations/getUserActivationDevicesByClientId.d.ts +0 -5
- package/dist/repositories/userActivations/getUserActivationMetrics.d.ts +0 -5
- package/dist/repositories/userActivations/getUserActivations.d.ts +0 -5
- package/dist/repositories/userActivations/index.d.ts +0 -147
- package/dist/repositories/userActivations/updateUserActivationDevice.d.ts +0 -4
- package/dist/repositories/userActivations/updateUserActivationMetrics.d.ts +0 -4
- package/dist/repositories/userAppFeedback/createUserAppFeedback.d.ts +0 -5
- package/dist/repositories/userAppFeedback/index.d.ts +0 -17
- package/dist/repositories/userAppIncidents/getUserAppIncidents.d.ts +0 -5
- package/dist/repositories/userAppIncidents/index.d.ts +0 -50
- package/dist/repositories/userAppIncidents/upsertUserAppIncident.d.ts +0 -4
- package/dist/repositories/userConfigurations/bulkCreateUserAlertConfigurations.d.ts +0 -5
- package/dist/repositories/userConfigurations/createUserAlertConfiguration.d.ts +0 -5
- package/dist/repositories/userConfigurations/createUserConfiguration.d.ts +0 -5
- package/dist/repositories/userConfigurations/deleteUserAlertConfigurations.d.ts +0 -4
- package/dist/repositories/userConfigurations/deleteUserAlertNotificationsConfig.d.ts +0 -4
- package/dist/repositories/userConfigurations/deleteUserConfiguration.d.ts +0 -4
- package/dist/repositories/userConfigurations/getUserAlertConfigurations.d.ts +0 -5
- package/dist/repositories/userConfigurations/getUserAlertNotificationsConfig.d.ts +0 -5
- package/dist/repositories/userConfigurations/getUserConfigurations.d.ts +0 -5
- package/dist/repositories/userConfigurations/index.d.ts +0 -170
- package/dist/repositories/userConfigurations/updateUserAlertConfigurations.d.ts +0 -4
- package/dist/repositories/userConfigurations/updateUserAlertConfigurationsByIds.d.ts +0 -4
- package/dist/repositories/userConfigurations/updateUserConfiguration.d.ts +0 -4
- package/dist/repositories/userConfigurations/upsertUserAlertNotificationsConfig.d.ts +0 -4
- package/dist/repositories/userDataDeletionRequests/createUserDataDeletionRequest.d.ts +0 -5
- package/dist/repositories/userDataDeletionRequests/getUserDataDeletionRequest.d.ts +0 -5
- package/dist/repositories/userDataDeletionRequests/index.d.ts +0 -39
- package/dist/repositories/userDataDeletionRequests/removeUserDataDeletionRequest.d.ts +0 -4
- package/dist/repositories/userDataDeletionRequests/updateUserDataDeletionRequest.d.ts +0 -4
- package/dist/repositories/userInvitations/createUserInvitation.d.ts +0 -5
- package/dist/repositories/userInvitations/getUserInvitationById.d.ts +0 -5
- package/dist/repositories/userInvitations/getUserInvitations.d.ts +0 -5
- package/dist/repositories/userInvitations/index.d.ts +0 -58
- package/dist/repositories/userInvitations/updateUserInvitation.d.ts +0 -4
- package/dist/repositories/userRatingRequests/createUserRatingRequest.d.ts +0 -5
- package/dist/repositories/userRatingRequests/getUserRatingRequests.d.ts +0 -5
- package/dist/repositories/userRatingRequests/index.d.ts +0 -28
- package/dist/repositories/userRegistrationAttempts/createUserRegistrationAttempt.d.ts +0 -5
- package/dist/repositories/userRegistrationAttempts/getUserRegistrationAttempts.d.ts +0 -5
- package/dist/repositories/userRegistrationAttempts/index.d.ts +0 -50
- package/dist/repositories/userRegistrationAttempts/updateUserRegistrationAttempt.d.ts +0 -4
- package/dist/repositories/users/createUser.d.ts +0 -5
- package/dist/repositories/users/deleteAccount.d.ts +0 -4
- package/dist/repositories/users/deleteUser.d.ts +0 -4
- package/dist/repositories/users/deleteUserData.d.ts +0 -4
- package/dist/repositories/users/getUserById.d.ts +0 -5
- package/dist/repositories/users/getUserClientRelatedEntitiesCount.d.ts +0 -4
- package/dist/repositories/users/getUserData.d.ts +0 -4
- package/dist/repositories/users/getUserInfoWithAmazonDevicesInfo.d.ts +0 -4
- package/dist/repositories/users/getUsers.d.ts +0 -5
- package/dist/repositories/users/getUsersConfigurationByImei.d.ts +0 -5
- package/dist/repositories/users/getUsersIdByPhoneAndCountryCode.d.ts +0 -4
- package/dist/repositories/users/getUsersInfoWithDevicesInfo.d.ts +0 -4
- package/dist/repositories/users/getUsersWithRoles.d.ts +0 -4
- package/dist/repositories/users/index.d.ts +0 -154
- package/dist/repositories/users/updateUser.d.ts +0 -4
- package/dist/types/acumatica.d.ts +0 -42
- package/dist/types/aempToken.d.ts +0 -20
- package/dist/types/alert.d.ts +0 -87
- package/dist/types/alertTypes.d.ts +0 -6
- package/dist/types/appFeatures.d.ts +0 -24
- package/dist/types/billing.d.ts +0 -244
- package/dist/types/blacklist.d.ts +0 -32
- package/dist/types/bleMesh.d.ts +0 -157
- package/dist/types/bleMeshConfiguration.d.ts +0 -30
- package/dist/types/boundaries.d.ts +0 -125
- package/dist/types/clientAlertConfiguration.d.ts +0 -103
- package/dist/types/clients.d.ts +0 -142
- package/dist/types/countries.d.ts +0 -12
- package/dist/types/dataExports.d.ts +0 -43
- package/dist/types/deactivations.d.ts +0 -25
- package/dist/types/deviceBehaviors.d.ts +0 -97
- package/dist/types/devicePairings.d.ts +0 -56
- package/dist/types/deviceStatus.d.ts +0 -87
- package/dist/types/deviceTypeFeature.d.ts +0 -23
- package/dist/types/devices.d.ts +0 -421
- package/dist/types/entitiesTags.d.ts +0 -67
- package/dist/types/feature.d.ts +0 -20
- package/dist/types/firmwares.d.ts +0 -132
- package/dist/types/latestUserAppInfo.d.ts +0 -12
- package/dist/types/liveLinks.d.ts +0 -92
- package/dist/types/notificationRecipients.d.ts +0 -72
- package/dist/types/position.d.ts +0 -72
- package/dist/types/promotion.d.ts +0 -121
- package/dist/types/security.d.ts +0 -100
- package/dist/types/tag.d.ts +0 -65
- package/dist/types/tasks.d.ts +0 -228
- package/dist/types/trip.d.ts +0 -98
- package/dist/types/user.d.ts +0 -260
- package/dist/types/userActivations.d.ts +0 -144
- package/dist/types/userAppFeedback.d.ts +0 -8
- package/dist/types/userAppIncidents.d.ts +0 -35
- package/dist/types/userConfigurations.d.ts +0 -131
- package/dist/types/userDataDeletionRequests.d.ts +0 -29
- package/dist/types/userInvitations.d.ts +0 -48
- package/dist/types/userRatingRequests.d.ts +0 -18
- package/dist/types/userRegistrationAttempts.d.ts +0 -36
- package/dist/utils/anyAttributeHasValue.d.ts +0 -1
- package/dist/utils/billingPlansHelper.d.ts +0 -3
- package/dist/utils/createBatchesWithMapping.d.ts +0 -1
- package/dist/utils/filterTools.d.ts +0 -12
|
@@ -1,188 +0,0 @@
|
|
|
1
|
-
import { Billing, BillingCustomerBraintree, BillingDeviceHistory, BillingHubspotPaymentLog, BillingStatusHistoryBraintree, BillingSubscriptionBraintree, Magento2Plan, User } from '../../entities';
|
|
2
|
-
import { BillingSubscriptionChurnStatus, BraintreePastDueSubscription, CanceledImeiResult, CreateBillingDeviceHistoryParams, CreateBillingHubspotPaymentLogParams, CreateBillingParams, CreateBillingStatusHistoryBraintreeParams, GetBillingCustomerBraintreeByIdParams, GetBillingsParams, GetBillingSubscriptionsBraintreeParams, GetBraintreePastDueSubscriptionParams, GetCanceledImeisParams, GetChurnStatusByClientIdParams, GetClientIdFromBraintreeCustomerParams, GetMagentoPlanParams, GetUserByBraintreeCustomerIdParams, UpdateBillingCustomerBraintreeParams, UpdateBillingParams, UpsertBillingCustomerBraintreeParams, UpsertBillingSubscriptionBraintreeParams } from '../../types/billing';
|
|
3
|
-
import { BaseRepository } from '../baseRepository';
|
|
4
|
-
export declare class BillingRepository extends BaseRepository {
|
|
5
|
-
/**
|
|
6
|
-
* Get billings
|
|
7
|
-
* @param {GetBillingsParams} params containing information to get billings
|
|
8
|
-
* One of the following filters is required:
|
|
9
|
-
* - filters.imei: The billing imei
|
|
10
|
-
* - filters.clientId: The billing clientId
|
|
11
|
-
* - filters.subscriptionId: The billing subscriptionId
|
|
12
|
-
* @returns The billings information
|
|
13
|
-
*/
|
|
14
|
-
getBillings(params: GetBillingsParams): Promise<Billing[]>;
|
|
15
|
-
/**
|
|
16
|
-
* Create billing
|
|
17
|
-
* @param {CreateBillingParams} params containing information to create billing
|
|
18
|
-
* One of the following parameters is required:
|
|
19
|
-
* - params.id: The billing id
|
|
20
|
-
* - params.deviceId: The billing deviceId
|
|
21
|
-
* - params.clientId: The billing clientId
|
|
22
|
-
* - params.subscriptionId: The billing subscriptionId
|
|
23
|
-
* - params.imei: The billing imei
|
|
24
|
-
* - params.planId: The billing planId
|
|
25
|
-
* - params.platform: The billing platform
|
|
26
|
-
* - params.status: The billing status
|
|
27
|
-
* - params.subscriptionValue: The billing subscriptionValue
|
|
28
|
-
* - params.subscriptionPeriodMonths: The billing subscriptionPeriodMonths
|
|
29
|
-
* - params.subscriptionValueMonthly: The billing subscriptionValueMonthly
|
|
30
|
-
* @returns The created billing information
|
|
31
|
-
*/
|
|
32
|
-
createBilling(params: CreateBillingParams): Promise<Billing>;
|
|
33
|
-
/**
|
|
34
|
-
* Update billing
|
|
35
|
-
* @param {UpdateBillingParams} params containing information to update billing
|
|
36
|
-
* - params.filters.imei: The billing imei
|
|
37
|
-
* One of the following parameters is required:
|
|
38
|
-
* - params.values.deviceId: The billing deviceId
|
|
39
|
-
* - params.values.clientId: The billing clientId
|
|
40
|
-
* - params.values.subscriptionId: The billing subscriptionId
|
|
41
|
-
* - params.values.planId: The billing planId
|
|
42
|
-
* - params.values.platform: The billing platform
|
|
43
|
-
* - params.values.status: The billing status
|
|
44
|
-
* - params.values.subscriptionValue: The billing subscriptionValue
|
|
45
|
-
* - params.values.subscriptionPeriodMonths: The billing subscriptionPeriodMonths
|
|
46
|
-
* - params.values.subscriptionValueMonthly: The billing subscriptionValueMonthly
|
|
47
|
-
* Whether the billing was updated or not
|
|
48
|
-
*/
|
|
49
|
-
updateBilling(params: UpdateBillingParams): Promise<boolean>;
|
|
50
|
-
/**
|
|
51
|
-
* Get clientId from braintree customer
|
|
52
|
-
* @param {GetClientIdFromBraintreeCustomerParams} params containing information to get clientId from braintree customer
|
|
53
|
-
* - params.filters.customerId: The braintree customer id
|
|
54
|
-
* @returns The clientId
|
|
55
|
-
*/
|
|
56
|
-
getClientIdFromBraintreeCustomer(params: GetClientIdFromBraintreeCustomerParams): Promise<number>;
|
|
57
|
-
/**
|
|
58
|
-
* Get billing customer braintree by id
|
|
59
|
-
* @param {GetBillingCustomerBraintreeByIdParams} params containing information to get billing customer braintree by id
|
|
60
|
-
* - params.filters.id: The billing customer braintree id
|
|
61
|
-
* @returns The billing customer braintree information
|
|
62
|
-
*/
|
|
63
|
-
getBillingCustomerBraintreeById(params: GetBillingCustomerBraintreeByIdParams): Promise<BillingCustomerBraintree>;
|
|
64
|
-
/**
|
|
65
|
-
* Update billing customer braintree
|
|
66
|
-
* @param {UpdateBillingCustomerBraintreeParams} params containing information to update billing customer braintree
|
|
67
|
-
* - params.filters.id: The billing customer braintree id
|
|
68
|
-
* One of the following parameters is required:
|
|
69
|
-
* - params.values.firstName: The billing customer braintree firstName
|
|
70
|
-
* - params.values.lastName: The billing customer braintree lastName
|
|
71
|
-
* - params.values.company: The billing customer braintree company
|
|
72
|
-
* - params.values.email: The billing customer braintree email
|
|
73
|
-
* - params.values.phone: The billing customer braintree phone
|
|
74
|
-
* - params.values.churnStatus: The billing customer braintree churnStatus
|
|
75
|
-
* @returns Whether the billing customer braintree was updated or not
|
|
76
|
-
*/
|
|
77
|
-
updateBillingCustomerBraintree(params: UpdateBillingCustomerBraintreeParams): Promise<boolean>;
|
|
78
|
-
/**
|
|
79
|
-
* Upsert billing customer braintree
|
|
80
|
-
* @param {UpsertBillingCustomerBraintreeParams} params containing information to upsert billing customer braintree
|
|
81
|
-
* If the billing customer braintree exists, it will be updated, otherwise it will be created.
|
|
82
|
-
* - params.id: The billing customer braintree id
|
|
83
|
-
* One of the following parameters is required:
|
|
84
|
-
* - params.firstName: The billing customer braintree firstName
|
|
85
|
-
* - params.lastName: The billing customer braintree lastName
|
|
86
|
-
* - params.company: The billing customer braintree company
|
|
87
|
-
* - params.email: The billing customer braintree email
|
|
88
|
-
* - params.phone: The billing customer braintree phone
|
|
89
|
-
* @returns The upserted billing customer braintree information
|
|
90
|
-
*/
|
|
91
|
-
upsertBillingCustomerBraintree(params: UpsertBillingCustomerBraintreeParams): Promise<BillingCustomerBraintree>;
|
|
92
|
-
/**
|
|
93
|
-
* Create billing status history braintree
|
|
94
|
-
* @param {CreateBillingStatusHistoryBraintreeParams} params containing information to create billing status history braintree
|
|
95
|
-
* - params.subscriptionId: The subscriptionId, required
|
|
96
|
-
* - params.subscriptionHistories: The subscriptionHistories to create. At least one is required.
|
|
97
|
-
* @returns The created billing status history braintree information
|
|
98
|
-
*/
|
|
99
|
-
createBillingStatusHistoryBraintree(params: CreateBillingStatusHistoryBraintreeParams): Promise<BillingStatusHistoryBraintree[]>;
|
|
100
|
-
/**
|
|
101
|
-
* Create billing device history
|
|
102
|
-
* @param {CreateBillingDeviceHistoryParams} params containing information to create billing device history
|
|
103
|
-
* One of the following parameters is required:
|
|
104
|
-
* - params.id: The billing device history id
|
|
105
|
-
* - params.deviceId: The deviceId
|
|
106
|
-
* - params.clientId: The clientId
|
|
107
|
-
* - params.subscriptionId: The subscriptionId
|
|
108
|
-
* - params.imei: The imei
|
|
109
|
-
* - params.planId: The planId
|
|
110
|
-
* - params.platform: The platform
|
|
111
|
-
* - params.status: The status
|
|
112
|
-
* @returns The created billing device history information
|
|
113
|
-
*/
|
|
114
|
-
createBillingDeviceHistory(params: CreateBillingDeviceHistoryParams): Promise<BillingDeviceHistory>;
|
|
115
|
-
/**
|
|
116
|
-
* Get user by braintree customer id
|
|
117
|
-
* @param {GetUserByBraintreeCustomerIdParams} params containing information to get user by braintree customer id
|
|
118
|
-
* - params.filters.customerId: The braintree customer id
|
|
119
|
-
* @returns The user information
|
|
120
|
-
*/
|
|
121
|
-
getUserByBraintreeCustomerId(params: GetUserByBraintreeCustomerIdParams): Promise<User>;
|
|
122
|
-
/**
|
|
123
|
-
* Get billing braintree subscriptions
|
|
124
|
-
* @param {GetBillingSubscriptionsBraintreeParams} params containing information to get billing braintree subscriptions
|
|
125
|
-
* - params.filters.subscriptionId: The braintree subscription id
|
|
126
|
-
* - params.filters.clientId: The clientId
|
|
127
|
-
* @returns The billing braintree subscriptions corresponding to the provided filters
|
|
128
|
-
*/
|
|
129
|
-
getBillingSubscriptionsBraintree(params: GetBillingSubscriptionsBraintreeParams): Promise<BillingSubscriptionBraintree[]>;
|
|
130
|
-
/**
|
|
131
|
-
* Get churn status by clientId
|
|
132
|
-
* @param {GetChurnStatusByClientIdParams} params containing information to get billing braintree subscriptions
|
|
133
|
-
* - params.filters.clientId: The clientId
|
|
134
|
-
* @returns The churn status list for all subscriptions for the provided clientId
|
|
135
|
-
*/
|
|
136
|
-
getChurnStatusByClientId(params: GetChurnStatusByClientIdParams): Promise<BillingSubscriptionChurnStatus[]>;
|
|
137
|
-
/**
|
|
138
|
-
* Upsert billing subscription braintree
|
|
139
|
-
* @param {UpsertBillingSubscriptionBraintreeParams} params containing information to upsert billing braintree subscription
|
|
140
|
-
* @returns Whether the billing braintree subscription was upserted
|
|
141
|
-
*/
|
|
142
|
-
upsertBillingSubscriptionBraintree(params: UpsertBillingSubscriptionBraintreeParams): Promise<boolean>;
|
|
143
|
-
/**
|
|
144
|
-
* Get canceled imei
|
|
145
|
-
* @param {GetCanceledImeisParams} params containing information to get canceled imeis
|
|
146
|
-
* - params.filters.minCancellationDate: The min cancellation date
|
|
147
|
-
* - params.filters.maxCancellationDate: The max cancellation date
|
|
148
|
-
* - params.filters.canceledIn: which canceled status to check by ('carrier', 'device' or 'both')
|
|
149
|
-
* - params.filters.excludeB2B: whether to exclude devices from B2B clients
|
|
150
|
-
* - params.filters.excludeTest: whether to exclude devices from test clients
|
|
151
|
-
* - params.pagingOptions.pageSize: max elements to return
|
|
152
|
-
* @returns The list of canceled imeis
|
|
153
|
-
*/
|
|
154
|
-
getCanceledImeis(params: GetCanceledImeisParams): Promise<CanceledImeiResult[]>;
|
|
155
|
-
/**
|
|
156
|
-
* Get canceled imei matching magento data
|
|
157
|
-
* @param {GetCanceledImeisParams} params containing information to get canceled imeis matching magento data
|
|
158
|
-
* - params.filters.minCancellationDate: The min cancellation date
|
|
159
|
-
* - params.filters.maxCancellationDate: The max cancellation date
|
|
160
|
-
* - params.filters.canceledIn: which canceled status to check by ('carrier', 'device' or 'both')
|
|
161
|
-
* - params.filters.excludeB2B: whether to exclude devices from B2B clients
|
|
162
|
-
* - params.filters.excludeTest: whether to exclude devices from test clients
|
|
163
|
-
* - params.pagingOptions.pageSize: max elements to return
|
|
164
|
-
* @returns The list of canceled imeis
|
|
165
|
-
*/
|
|
166
|
-
getCanceledImeisMatchingMagentoData(params: GetCanceledImeisParams): Promise<CanceledImeiResult[]>;
|
|
167
|
-
/**
|
|
168
|
-
* Get magento plan
|
|
169
|
-
* @param {GetMagentoPlanParams} params containing information to get magento plan
|
|
170
|
-
* - params.filters.annual: Whether the plan is annual
|
|
171
|
-
* - params.filters.code: The plan code
|
|
172
|
-
* @returns The magento plan
|
|
173
|
-
*/
|
|
174
|
-
getMagentoPlan(params: GetMagentoPlanParams): Promise<Magento2Plan>;
|
|
175
|
-
/**
|
|
176
|
-
* Create billing hubspot payment log
|
|
177
|
-
* @param {CreateBillingHubspotPaymentLogParams} params containing information to create billing hubspot payment log
|
|
178
|
-
* @returns The created billing hubspot payment log information
|
|
179
|
-
*/
|
|
180
|
-
createBillingHubspotPaymentLog(params: CreateBillingHubspotPaymentLogParams): Promise<BillingHubspotPaymentLog>;
|
|
181
|
-
/**
|
|
182
|
-
* Get Braintree Past Due Subscriptions
|
|
183
|
-
* @param {GetBraintreePastDueSubscriptionParams} params containing information to get Braintree Past Due Subscriptions
|
|
184
|
-
* - params.filters.numberOfPastDueDays: The number of past due days
|
|
185
|
-
* @returns The Braintree Past Due Subscriptions
|
|
186
|
-
*/
|
|
187
|
-
getBraintreePastDueSubscriptions(params: GetBraintreePastDueSubscriptionParams): Promise<BraintreePastDueSubscription[]>;
|
|
188
|
-
}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { NovaDataSource } from '../../novaDataSource';
|
|
2
|
-
import { UpdateBillingParams } from '../../types/billing';
|
|
3
|
-
import { Logger } from '../../types/logger';
|
|
4
|
-
export declare const updateBilling: (novaDataSource: NovaDataSource, params: UpdateBillingParams, logger: Logger) => Promise<boolean>;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { NovaDataSource } from '../../novaDataSource';
|
|
2
|
-
import { UpdateBillingCustomerBraintreeParams } from '../../types/billing';
|
|
3
|
-
import { Logger } from '../../types/logger';
|
|
4
|
-
export declare const updateBillingCustomerBraintree: (novaDataSource: NovaDataSource, params: UpdateBillingCustomerBraintreeParams, logger: Logger) => Promise<boolean>;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { BillingCustomerBraintree } from '../../entities';
|
|
2
|
-
import { NovaDataSource } from '../../novaDataSource';
|
|
3
|
-
import { UpsertBillingCustomerBraintreeParams } from '../../types/billing';
|
|
4
|
-
import { Logger } from '../../types/logger';
|
|
5
|
-
export declare const upsertBillingCustomerBraintree: (novaDataSource: NovaDataSource, params: UpsertBillingCustomerBraintreeParams, logger: Logger) => Promise<BillingCustomerBraintree>;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { NovaDataSource } from '../../novaDataSource';
|
|
2
|
-
import { UpsertBillingSubscriptionBraintreeParams } from '../../types/billing';
|
|
3
|
-
import { Logger } from '../../types/logger';
|
|
4
|
-
export declare const upsertBillingSubscriptionBraintree: (novaDataSource: NovaDataSource, params: UpsertBillingSubscriptionBraintreeParams, logger: Logger) => Promise<boolean>;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { NovaDataSource } from '../../novaDataSource';
|
|
2
|
-
import { DeleteBlacklistParams } from '../../types/blacklist';
|
|
3
|
-
import { Logger } from '../../types/logger';
|
|
4
|
-
export declare const deleteBlackList: (novaDataSource: NovaDataSource, params: DeleteBlacklistParams, logger: Logger) => Promise<boolean>;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { Blacklist } from '../../entities';
|
|
2
|
-
import { NovaDataSource } from '../../novaDataSource';
|
|
3
|
-
import { GetBlacklistsParams } from '../../types/blacklist';
|
|
4
|
-
import { Logger } from '../../types/logger';
|
|
5
|
-
export declare const getBlacklists: (novaDataSource: NovaDataSource, params: GetBlacklistsParams, logger: Logger) => Promise<Blacklist[]>;
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import { Blacklist } from '../../entities';
|
|
2
|
-
import { DeleteBlacklistParams, GetBlacklistsParams, UpdateBlacklistParams, UpsertBlacklistParams } from '../../types/blacklist';
|
|
3
|
-
import { BaseRepository } from '../baseRepository';
|
|
4
|
-
export declare class BlacklistRepository extends BaseRepository {
|
|
5
|
-
/**
|
|
6
|
-
* Get blacklists
|
|
7
|
-
* @param {GetBlacklistsParams} params containing information to get blacklists
|
|
8
|
-
* - filters.blacklistType The blacklist type
|
|
9
|
-
* - filters.value The value
|
|
10
|
-
* @returns The blacklists information
|
|
11
|
-
*/
|
|
12
|
-
getBlacklists(params: GetBlacklistsParams): Promise<Blacklist[]>;
|
|
13
|
-
/**
|
|
14
|
-
* Upsert blacklist
|
|
15
|
-
* @param {UpsertBlacklistParams} params containing information to upsert blacklist
|
|
16
|
-
* - blacklistTypeId The blacklist type id
|
|
17
|
-
* - value The value
|
|
18
|
-
* - notes The notes
|
|
19
|
-
* - createdBy The created by
|
|
20
|
-
* @returns The upserted blacklist information
|
|
21
|
-
*/
|
|
22
|
-
upsertBlacklist(params: UpsertBlacklistParams): Promise<Blacklist>;
|
|
23
|
-
/**
|
|
24
|
-
* Update blacklist
|
|
25
|
-
* @param {UpdateBlacklistParams} params containing information to update blacklist
|
|
26
|
-
* - filters.blacklistTypeId The blacklist type id
|
|
27
|
-
* - filters.value The value
|
|
28
|
-
* - values.blacklistTypeId The blacklist type id
|
|
29
|
-
* - values.value The value
|
|
30
|
-
* - values.notes The notes
|
|
31
|
-
* - values.modifiedBy The modified by
|
|
32
|
-
* @returns Whether the blacklist was updated
|
|
33
|
-
*/
|
|
34
|
-
updateBlacklist(params: UpdateBlacklistParams): Promise<boolean>;
|
|
35
|
-
/**
|
|
36
|
-
* Delete blacklist
|
|
37
|
-
* @param {DeleteBlacklistParams} params containing information to delete blacklist
|
|
38
|
-
* - filters.blacklistTypeId The blacklist type id
|
|
39
|
-
* - filters.value The value
|
|
40
|
-
* @returns Whether the blacklist was deleted
|
|
41
|
-
*/
|
|
42
|
-
deleteBlacklist(params: DeleteBlacklistParams): Promise<boolean>;
|
|
43
|
-
}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { NovaDataSource } from '../../novaDataSource';
|
|
2
|
-
import { UpdateBlacklistParams } from '../../types/blacklist';
|
|
3
|
-
import { Logger } from '../../types/logger';
|
|
4
|
-
export declare const updateBlackList: (novaDataSource: NovaDataSource, params: UpdateBlacklistParams, logger: Logger) => Promise<boolean>;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { Blacklist } from '../../entities';
|
|
2
|
-
import { NovaDataSource } from '../../novaDataSource';
|
|
3
|
-
import { UpsertBlacklistParams } from '../../types/blacklist';
|
|
4
|
-
import { Logger } from '../../types/logger';
|
|
5
|
-
export declare const upsertBlackList: (novaDataSource: NovaDataSource, params: UpsertBlacklistParams, logger: Logger) => Promise<Blacklist>;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { Boundary } from '../../entities';
|
|
2
|
-
import { NovaDataSource } from '../../novaDataSource';
|
|
3
|
-
import { CreateBoundaryParams } from '../../types/boundaries';
|
|
4
|
-
import { Logger } from '../../types/logger';
|
|
5
|
-
export declare const createBoundary: (novaDataSource: NovaDataSource, params: CreateBoundaryParams, logger: Logger) => Promise<Boundary>;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { NovaDataSource } from '../../novaDataSource';
|
|
2
|
-
import { DeleteBoundaryParams } from '../../types/boundaries';
|
|
3
|
-
import { Logger } from '../../types/logger';
|
|
4
|
-
export declare const deleteBoundary: (novaDataSource: NovaDataSource, params: DeleteBoundaryParams, logger: Logger) => Promise<boolean>;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { Boundary } from '../../entities';
|
|
2
|
-
import { NovaDataSource } from '../../novaDataSource';
|
|
3
|
-
import { GetBoundariesByClientIdParams } from '../../types/boundaries';
|
|
4
|
-
import { Logger } from '../../types/logger';
|
|
5
|
-
export declare const getBoundariesByClientId: (novaDataSource: NovaDataSource, params: GetBoundariesByClientIdParams, logger: Logger) => Promise<Boundary[]>;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { NovaDataSource } from '../../novaDataSource';
|
|
2
|
-
import { GetBoundariesByClientIdParams } from '../../types/boundaries';
|
|
3
|
-
import { Logger } from '../../types/logger';
|
|
4
|
-
export declare const getBoundariesIdsByClientId: (novaDataSource: NovaDataSource, params: GetBoundariesByClientIdParams, logger: Logger) => Promise<number[]>;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { NovaDataSource } from '../../novaDataSource';
|
|
2
|
-
import { BoundariesReportEntity, GetBoundariesReportParams } from '../../types/boundaries';
|
|
3
|
-
import { Logger } from '../../types/logger';
|
|
4
|
-
export declare const getBoundariesReport: (novaDataSource: NovaDataSource, params: GetBoundariesReportParams, logger: Logger) => Promise<BoundariesReportEntity[]>;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { Boundary } from '../../entities';
|
|
2
|
-
import { NovaDataSource } from '../../novaDataSource';
|
|
3
|
-
import { GetBoundaryByIdParams } from '../../types/boundaries';
|
|
4
|
-
import { Logger } from '../../types/logger';
|
|
5
|
-
export declare const getBoundaryById: (novaDataSource: NovaDataSource, params: GetBoundaryByIdParams, logger: Logger) => Promise<Boundary>;
|
|
@@ -1,106 +0,0 @@
|
|
|
1
|
-
import { Boundary } from '../../entities';
|
|
2
|
-
import { BoundariesReportEntity, CreateBoundaryParams, DeleteBoundaryParams, GetBoundariesByClientIdParams, GetBoundariesReportParams, GetBoundaryByIdParams, ProcessBoundaryEventParams, UpdateBoundaryParams, UpsertBoundaryEventParams } from '../../types/boundaries';
|
|
3
|
-
import { BaseRepository } from '../baseRepository';
|
|
4
|
-
export declare class BoundariesRepository extends BaseRepository {
|
|
5
|
-
/**
|
|
6
|
-
* Get all boundaries by client id
|
|
7
|
-
* @param {GetBoundariesByClientIdParams} params containing information to get boundaries by clientId
|
|
8
|
-
* - filters.clientId: The client id
|
|
9
|
-
* - filters.status: The status to only obtain boundaries with that status, optional
|
|
10
|
-
*/
|
|
11
|
-
getBoundariesByClientId(params: GetBoundariesByClientIdParams): Promise<Boundary[]>;
|
|
12
|
-
/**
|
|
13
|
-
* Get all boundaries ids by client id
|
|
14
|
-
* @param {GetBoundariesByClientIdParams} params containing information to get boundaries ids by clientId
|
|
15
|
-
* - filters.clientId: The client id
|
|
16
|
-
* - filters.status: The status to only obtain boundaries with that status, optional
|
|
17
|
-
*/
|
|
18
|
-
getBoundariesIdsByClientId(params: GetBoundariesByClientIdParams): Promise<number[]>;
|
|
19
|
-
/**
|
|
20
|
-
* Get a boundary by id
|
|
21
|
-
* @param {GetBoundaryByIdParams} params containing information to get a boundary by id
|
|
22
|
-
* - filters.boundaryId: The boundary id
|
|
23
|
-
*/
|
|
24
|
-
getBoundaryById(params: GetBoundaryByIdParams): Promise<Boundary>;
|
|
25
|
-
/**
|
|
26
|
-
* Create a boundary
|
|
27
|
-
* @param {CreateBoundaryParams} params containing information to create a boundary
|
|
28
|
-
* - name: boundary name
|
|
29
|
-
* - type: boundary type
|
|
30
|
-
* - clientId: id of the client that owns the boundary
|
|
31
|
-
* - createdBy: id of the user that created the boundary
|
|
32
|
-
* - location: location of the boundary
|
|
33
|
-
* - buffer: buffer of the boundary
|
|
34
|
-
* - radiusDisplayUnit: radius display unit of the boundary
|
|
35
|
-
* - color: color of the boundary
|
|
36
|
-
* - geometry: geometry of the boundary
|
|
37
|
-
* - status: status of the boundary
|
|
38
|
-
* - dataSourceTypeId: data source type id of the boundary, optional
|
|
39
|
-
* - isUserCreated: if the boundary was created by a user, optional
|
|
40
|
-
* - area: area of the boundary, optional
|
|
41
|
-
*/
|
|
42
|
-
createBoundary(params: CreateBoundaryParams): Promise<Boundary>;
|
|
43
|
-
/**
|
|
44
|
-
* Update a boundary
|
|
45
|
-
* @param {UpdateBoundaryParams} params containing information to update a boundary
|
|
46
|
-
* - filters.boundaryId: The id of the boundary to update
|
|
47
|
-
* - values.name: The name of the boundary. Optional, if undefined, the name will not be updated.
|
|
48
|
-
* - values.type: The type of the boundary. Optional, if undefined, the type will not be updated.
|
|
49
|
-
* - values.modifiedBy: The user id of the user that modified the boundary. Optional, if undefined, the modifiedBy will not be updated.
|
|
50
|
-
* - values.location: The location of the boundary. Optional, if undefined, the location will not be updated.
|
|
51
|
-
* - values.geometry: The geometry of the boundary. Optional, if undefined, the geometry will not be updated.
|
|
52
|
-
* - values.status: The status of the boundary. Optional, if undefined, the status will not be updated.
|
|
53
|
-
* - values.buffer: The buffer of the boundary. Optional, if undefined, the buffer will not be updated.
|
|
54
|
-
* - values.radiusDisplayUnit: The radius display unit of the boundary. Optional, if undefined, the radius display unit will not be updated.
|
|
55
|
-
* - values.color: The color of the boundary. Optional, if undefined, the color will not be updated.
|
|
56
|
-
* - values.area: The area of the boundary. Optional, if undefined, the area will not be updated.
|
|
57
|
-
*/
|
|
58
|
-
updateBoundary(params: UpdateBoundaryParams): Promise<boolean>;
|
|
59
|
-
/**
|
|
60
|
-
* Delete a boundary
|
|
61
|
-
* @param {DeleteBoundaryParams} params containing information to delete a boundary
|
|
62
|
-
* The boundary will not be removed from the database, it will only be marked as deleted
|
|
63
|
-
* - filters.boundaryId: The id of the boundary to delete
|
|
64
|
-
* - values.modifiedBy: The user id of the user that deleted the boundary
|
|
65
|
-
*/
|
|
66
|
-
deleteBoundary(params: DeleteBoundaryParams): Promise<boolean>;
|
|
67
|
-
/**
|
|
68
|
-
* Get boundaries report
|
|
69
|
-
* @param {GetBoundariesReportParams} params containing information to get boundaries report
|
|
70
|
-
* - filters.userId: The user id
|
|
71
|
-
* - filters.boundaryId: The boundary id, optional
|
|
72
|
-
* - filters.boundaryName: The boundary name, optional
|
|
73
|
-
* - filters.imeis: The imeis, optional
|
|
74
|
-
* - filters.boundaryInStartDate: The boundary in start date, optional
|
|
75
|
-
* - filters.boundaryInEndDate: The boundary in end date, optional
|
|
76
|
-
* - filters.boundaryOutStartDate: The boundary out start date, optional
|
|
77
|
-
* - filters.boundaryOutEndDate: The boundary out end date, optional
|
|
78
|
-
* - pagingOptions.pageSize: The page size of the pagination, required
|
|
79
|
-
* - pagingOptions.pageIndex: The page index of the pagination, required
|
|
80
|
-
* - sortOptions.sortField: The field to sort the pagination, optional
|
|
81
|
-
* - sortOptions.sortOrder: The order to sort the pagination, optional
|
|
82
|
-
* @returns The boundaries report
|
|
83
|
-
*/
|
|
84
|
-
getBoundariesReport(params: GetBoundariesReportParams): Promise<BoundariesReportEntity[]>;
|
|
85
|
-
/**
|
|
86
|
-
* Process boundary event
|
|
87
|
-
* @param {ProcessBoundaryEventParams} params containing information to process boundary event
|
|
88
|
-
* - boundaryId: The boundary id
|
|
89
|
-
* - imei: The imei of the device
|
|
90
|
-
* - userId: The user id
|
|
91
|
-
* - sendTime: The event date
|
|
92
|
-
* - eventType: The event type (enter or exit)
|
|
93
|
-
* - lat: The latitude of the event
|
|
94
|
-
* - lon: The longitude of the event
|
|
95
|
-
* - address: The address of the event
|
|
96
|
-
* @returns true if the event was processed, false otherwise
|
|
97
|
-
*/
|
|
98
|
-
processBoundaryEvent(params: ProcessBoundaryEventParams): Promise<boolean>;
|
|
99
|
-
/**
|
|
100
|
-
* Upsert boundary event
|
|
101
|
-
* @param {UpsertBoundaryEventParams} params containing information to upsert boundary event
|
|
102
|
-
* - id: The id of the boundary event
|
|
103
|
-
* @returns true if the event was upserted, false otherwise
|
|
104
|
-
*/
|
|
105
|
-
upsertBoundaryEvent(params: UpsertBoundaryEventParams): Promise<boolean>;
|
|
106
|
-
}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { NovaDataSource } from '../../novaDataSource';
|
|
2
|
-
import { ProcessBoundaryEventParams } from '../../types/boundaries';
|
|
3
|
-
import { Logger } from '../../types/logger';
|
|
4
|
-
export declare const processBoundaryEvent: (novaDataSource: NovaDataSource, params: ProcessBoundaryEventParams, logger: Logger) => Promise<boolean>;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { NovaDataSource } from '../../novaDataSource';
|
|
2
|
-
import { UpdateBoundaryParams } from '../../types/boundaries';
|
|
3
|
-
import { Logger } from '../../types/logger';
|
|
4
|
-
export declare const updateBoundary: (novaDataSource: NovaDataSource, params: UpdateBoundaryParams, logger: Logger) => Promise<boolean>;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { NovaDataSource } from '../../novaDataSource';
|
|
2
|
-
import { UpsertBoundaryEventParams } from '../../types/boundaries';
|
|
3
|
-
import { Logger } from '../../types/logger';
|
|
4
|
-
export declare const upsertBoundaryEvent: (novaDataSource: NovaDataSource, params: UpsertBoundaryEventParams, logger: Logger) => Promise<boolean>;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { ClientAlertConfiguration } from '../../entities';
|
|
2
|
-
import { NovaDataSource } from '../../novaDataSource';
|
|
3
|
-
import { CreateClientAlertConfigurationParams } from '../../types/clientAlertConfiguration';
|
|
4
|
-
import { Logger } from '../../types/logger';
|
|
5
|
-
export declare const createClientAlertConfiguration: (novaDataSource: NovaDataSource, params: CreateClientAlertConfigurationParams, logger: Logger) => Promise<ClientAlertConfiguration>;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { NovaDataSource } from '../../novaDataSource';
|
|
2
|
-
import { DeleteClientAlertConfigurationsParams } from '../../types/clientAlertConfiguration';
|
|
3
|
-
import { Logger } from '../../types/logger';
|
|
4
|
-
export declare const deleteClientAlertConfigurations: (novaDataSource: NovaDataSource, params: DeleteClientAlertConfigurationsParams, logger: Logger) => Promise<boolean>;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { ClientAlertConfiguration } from '../../entities';
|
|
2
|
-
import { NovaDataSource } from '../../novaDataSource';
|
|
3
|
-
import { GetClientAlertConfigurationsParams } from '../../types/clientAlertConfiguration';
|
|
4
|
-
import { Logger } from '../../types/logger';
|
|
5
|
-
export declare const getClientAlertConfigurations: (novaDataSource: NovaDataSource, params: GetClientAlertConfigurationsParams, logger: Logger) => Promise<ClientAlertConfiguration[]>;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { NovaDataSource } from '../../novaDataSource';
|
|
2
|
-
import { GetClientAlertRecipientsParams, GetClientAlertRecipientsResult } from '../../types/clientAlertConfiguration';
|
|
3
|
-
import { Logger } from '../../types/logger';
|
|
4
|
-
export declare const getClientAlertRecipients: (novaDataSource: NovaDataSource, params: GetClientAlertRecipientsParams, logger: Logger) => Promise<GetClientAlertRecipientsResult>;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { NovaDataSource } from '../../novaDataSource';
|
|
2
|
-
import { GetUsersDataForClientAlertConfigParams, UserDataForClientAlertConfig } from '../../types/clientAlertConfiguration';
|
|
3
|
-
import { Logger } from '../../types/logger';
|
|
4
|
-
export declare const getUsersDataForClientAlertConfig: (novaDataSource: NovaDataSource, params: GetUsersDataForClientAlertConfigParams, logger: Logger) => Promise<UserDataForClientAlertConfig[]>;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { ClientAlertConfiguration } from '../../entities';
|
|
2
|
-
import { CreateClientAlertConfigurationParams, DeleteClientAlertConfigurationsParams, GetClientAlertConfigurationsParams, GetClientAlertRecipientsParams, GetClientAlertRecipientsResult, GetUsersDataForClientAlertConfigParams, IsUserAllowedForAlertConfigParams, SetClientAlertRecipientsParams, UpdateClientAlertConfigurationParams } from '../../types/clientAlertConfiguration';
|
|
3
|
-
import { BaseRepository } from '../baseRepository';
|
|
4
|
-
export declare class ClientAlertConfigurationRepository extends BaseRepository {
|
|
5
|
-
getClientAlertConfigurations(params: GetClientAlertConfigurationsParams): Promise<ClientAlertConfiguration[]>;
|
|
6
|
-
createClientAlertConfiguration(params: CreateClientAlertConfigurationParams): Promise<ClientAlertConfiguration>;
|
|
7
|
-
updateClientAlertConfiguration(params: UpdateClientAlertConfigurationParams): Promise<boolean>;
|
|
8
|
-
deleteClientAlertConfigurations(params: DeleteClientAlertConfigurationsParams): Promise<boolean>;
|
|
9
|
-
getClientAlertRecipients(params: GetClientAlertRecipientsParams): Promise<GetClientAlertRecipientsResult>;
|
|
10
|
-
setClientAlertRecipients(params: SetClientAlertRecipientsParams): Promise<boolean>;
|
|
11
|
-
isUserAllowedForAlertConfig(params: IsUserAllowedForAlertConfigParams): Promise<boolean>;
|
|
12
|
-
getUsersDataForClientAlertConfig(params: GetUsersDataForClientAlertConfigParams): Promise<import("../../types/clientAlertConfiguration").UserDataForClientAlertConfig[]>;
|
|
13
|
-
}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { NovaDataSource } from '../../novaDataSource';
|
|
2
|
-
import { IsUserAllowedForAlertConfigParams } from '../../types/clientAlertConfiguration';
|
|
3
|
-
import { Logger } from '../../types/logger';
|
|
4
|
-
export declare const isUserAllowedForAlertConfig: (novaDataSource: NovaDataSource, params: IsUserAllowedForAlertConfigParams, logger: Logger) => Promise<boolean>;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { NovaDataSource } from '../../novaDataSource';
|
|
2
|
-
import { SetClientAlertRecipientsParams } from '../../types/clientAlertConfiguration';
|
|
3
|
-
import { Logger } from '../../types/logger';
|
|
4
|
-
export declare const setClientAlertRecipients: (novaDataSource: NovaDataSource, params: SetClientAlertRecipientsParams, logger: Logger) => Promise<boolean>;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { NovaDataSource } from '../../novaDataSource';
|
|
2
|
-
import { UpdateClientAlertConfigurationParams } from '../../types/clientAlertConfiguration';
|
|
3
|
-
import { Logger } from '../../types/logger';
|
|
4
|
-
export declare const updateClientAlertConfiguration: (novaDataSource: NovaDataSource, params: UpdateClientAlertConfigurationParams, logger: Logger) => Promise<boolean>;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { Client } from '../../entities';
|
|
2
|
-
import { NovaDataSource } from '../../novaDataSource';
|
|
3
|
-
import { CreateClientParams } from '../../types/clients';
|
|
4
|
-
import { Logger } from '../../types/logger';
|
|
5
|
-
export declare const createClient: (novaDataSource: NovaDataSource, params: CreateClientParams, logger: Logger) => Promise<Client>;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { ClientConfiguration } from '../../entities';
|
|
2
|
-
import { NovaDataSource } from '../../novaDataSource';
|
|
3
|
-
import { CreateClientConfigurationParams } from '../../types/clients';
|
|
4
|
-
import { Logger } from '../../types/logger';
|
|
5
|
-
export declare const createClientConfiguration: (novaDataSource: NovaDataSource, params: CreateClientConfigurationParams, logger: Logger) => Promise<ClientConfiguration>;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { ClientIngestorConfiguration } from '../../entities';
|
|
2
|
-
import { NovaDataSource } from '../../novaDataSource';
|
|
3
|
-
import { CreateClientIngestorConfigurationParams } from '../../types/clients';
|
|
4
|
-
import { Logger } from '../../types/logger';
|
|
5
|
-
export declare const createClientIngestorConfiguration: (novaDataSource: NovaDataSource, params: CreateClientIngestorConfigurationParams, logger: Logger) => Promise<ClientIngestorConfiguration>;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { CustomerAttribute } from '../../entities/customerAttribute';
|
|
2
|
-
import { NovaDataSource } from '../../novaDataSource';
|
|
3
|
-
import { CreateCustomerAttributeParams } from '../../types/clients';
|
|
4
|
-
import { Logger } from '../../types/logger';
|
|
5
|
-
export declare const createCustomerAttribute: (novaDataSource: NovaDataSource, params: CreateCustomerAttributeParams, logger: Logger) => Promise<CustomerAttribute>;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { NovaDataSource } from '../../novaDataSource';
|
|
2
|
-
import { DeleteClientParams } from '../../types/clients';
|
|
3
|
-
import { Logger } from '../../types/logger';
|
|
4
|
-
export declare const deleteClientAndConfiguration: (novaDataSource: NovaDataSource, params: DeleteClientParams, logger: Logger) => Promise<boolean>;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { Client } from '../../entities';
|
|
2
|
-
import { NovaDataSource } from '../../novaDataSource';
|
|
3
|
-
import { GetClientParams } from '../../types/clients';
|
|
4
|
-
import { Logger } from '../../types/logger';
|
|
5
|
-
export declare const getClient: (novaDataSource: NovaDataSource, params: GetClientParams, logger: Logger) => Promise<Client>;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { ClientConfiguration } from '../../entities';
|
|
2
|
-
import { NovaDataSource } from '../../novaDataSource';
|
|
3
|
-
import { GetClientConfigurationParams } from '../../types/clients';
|
|
4
|
-
import { Logger } from '../../types/logger';
|
|
5
|
-
export declare const getClientConfiguration: (novaDataSource: NovaDataSource, params: GetClientConfigurationParams, logger: Logger) => Promise<ClientConfiguration>;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { ClientIngestorConfiguration } from '../../entities';
|
|
2
|
-
import { NovaDataSource } from '../../novaDataSource';
|
|
3
|
-
import { GetClientIngestorConfigurationsParams } from '../../types/clients';
|
|
4
|
-
export declare const getClientIngestorConfigurations: (novaDataSource: NovaDataSource, params: GetClientIngestorConfigurationsParams) => Promise<ClientIngestorConfiguration[]>;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { Client } from '../../entities';
|
|
2
|
-
import { NovaDataSource } from '../../novaDataSource';
|
|
3
|
-
import { GetClientsParams } from '../../types/clients';
|
|
4
|
-
import { Logger } from '../../types/logger';
|
|
5
|
-
export declare const getClients: (novaDataSource: NovaDataSource, params: GetClientsParams, logger: Logger) => Promise<Client[]>;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { CustomerAttribute } from '../../entities';
|
|
2
|
-
import { NovaDataSource } from '../../novaDataSource';
|
|
3
|
-
import { GetCustomerAttributeParams } from '../../types/clients';
|
|
4
|
-
import { Logger } from '../../types/logger';
|
|
5
|
-
export declare const getCustomerAttribute: (novaDataSource: NovaDataSource, params: GetCustomerAttributeParams, logger: Logger) => Promise<CustomerAttribute>;
|