@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,325 +0,0 @@
|
|
|
1
|
-
import { DeviceTask, Task, TaskSchedule } from '../../entities';
|
|
2
|
-
import { AddTaskScheduleDevicesParams, CompleteTaskParams, CreateTaskParams, CreateTaskScheduleParams, DeleteTaskParams, DeleteTaskScheduleDevicesParams, DeleteTaskScheduleParams, GetDeviceTasksParams, GetTaskScheduleParams, GetTaskSchedulesCountParams, GetTaskSchedulesParams, GetTasksCountParams, GetTasksParams, SetTaskAsPastDueParams, SetTaskScheduleDevicesParams, UpdateTaskParams, UpdateTaskScheduleParams } from '../../types/tasks';
|
|
3
|
-
import { BaseRepository } from '../baseRepository';
|
|
4
|
-
export declare class TasksRepository extends BaseRepository {
|
|
5
|
-
/**
|
|
6
|
-
* Create a new task schedule
|
|
7
|
-
* @param params params containing information to create task schedule
|
|
8
|
-
* params.id: the ID, optional. If not provided, a new ID will be generated
|
|
9
|
-
* params.clientId: the client ID, required
|
|
10
|
-
* params.title: the title, required
|
|
11
|
-
* params.description: the description, required
|
|
12
|
-
* params.repeats: whether the task repeats, required
|
|
13
|
-
* params.dueDate: the due date, optional
|
|
14
|
-
* params.dueOdometer: the due odometer, optional
|
|
15
|
-
* params.dueActiveHours: the due active hours, optional
|
|
16
|
-
* params.intervalDays: the interval days, optional
|
|
17
|
-
* params.intervalOdometer: the interval odometer, optional
|
|
18
|
-
* params.intervalActiveHours: the interval active hours, optional
|
|
19
|
-
* params.intervalStartDate: the interval start date, optional
|
|
20
|
-
* params.intervalStartingOdometer: the interval starting odometer, optional
|
|
21
|
-
* params.intervalStartingActiveHours: the interval starting active hours, optional
|
|
22
|
-
* params.notes: the notes, optional
|
|
23
|
-
* params.createdBy: the created by, required
|
|
24
|
-
* @returns Promise<TaskSchedule> the created task schedule
|
|
25
|
-
*/
|
|
26
|
-
createTaskSchedule(params: CreateTaskScheduleParams): Promise<TaskSchedule>;
|
|
27
|
-
/**
|
|
28
|
-
* Get a task schedule
|
|
29
|
-
* @param params params containing information to get task schedule
|
|
30
|
-
* params.filters.id: the ID, required
|
|
31
|
-
* @returns Promise<TaskSchedule> the task schedule
|
|
32
|
-
*/
|
|
33
|
-
getTaskSchedule(params: GetTaskScheduleParams): Promise<TaskSchedule>;
|
|
34
|
-
/**
|
|
35
|
-
* Update an existing task schedule
|
|
36
|
-
* @param params params containing information to update task schedule
|
|
37
|
-
* params.filters.id: the ID, required
|
|
38
|
-
* params.values.clientId: the client ID, optional
|
|
39
|
-
* params.values.title: the title, optional
|
|
40
|
-
* params.values.description: the description, optional
|
|
41
|
-
* params.values.repeats: whether the task repeats, optional
|
|
42
|
-
* params.values.dueDate: the due date, optional
|
|
43
|
-
* params.values.dueOdometer: the due odometer, optional
|
|
44
|
-
* params.values.dueActiveHours: the due active hours, optional
|
|
45
|
-
* params.values.intervalDays: the interval days, optional
|
|
46
|
-
* params.values.intervalOdometer: the interval odometer, optional
|
|
47
|
-
* params.values.intervalActiveHours: the interval active hours, optional
|
|
48
|
-
* params.values.intervalStartDate: the interval start date, optional
|
|
49
|
-
* params.values.intervalStartingOdometer: the interval starting odometer, optional
|
|
50
|
-
* params.values.intervalStartingActiveHours: the interval starting active hours, optional
|
|
51
|
-
* params.values.notes: the notes, optional
|
|
52
|
-
* params.values.modifiedBy: the modified by, required
|
|
53
|
-
* @returns Promise<boolean> whether the task schedule was updated
|
|
54
|
-
*/
|
|
55
|
-
updateTaskSchedule(params: UpdateTaskScheduleParams): Promise<boolean>;
|
|
56
|
-
/**
|
|
57
|
-
* Delete an existing task schedule
|
|
58
|
-
* @param params params containing information to delete task schedule
|
|
59
|
-
* params.id: the ID, required
|
|
60
|
-
* params.deletedBy: the user performing the delete action, required
|
|
61
|
-
* @returns Promise<boolean> whether the task schedule was deleted
|
|
62
|
-
*/
|
|
63
|
-
deleteTaskSchedule(params: DeleteTaskScheduleParams): Promise<boolean>;
|
|
64
|
-
/**
|
|
65
|
-
* Get task schedules with filters
|
|
66
|
-
* @param params params containing information to get task schedules
|
|
67
|
-
* At least one of the following filters is required:
|
|
68
|
-
* params.filters.imei: the IMEI, if provided, will return task schedules associated to the device
|
|
69
|
-
* params.filters.clientId: the client ID
|
|
70
|
-
* params.filters.title: the title for partial match search
|
|
71
|
-
* params.filters.description: the description for partial match search
|
|
72
|
-
* params.filters.repeats: filter for tasks that repeat or not
|
|
73
|
-
* params.filters.minDueDate: the minimum due date
|
|
74
|
-
* params.filters.maxDueDate: the maximum due date
|
|
75
|
-
* params.filters.minDueOdometer: the minimum due odometer
|
|
76
|
-
* params.filters.maxDueOdometer: the maximum due odometer
|
|
77
|
-
* params.filters.minDueActiveHours: the minimum due active hours
|
|
78
|
-
* params.filters.maxDueActiveHours: the maximum due active hours
|
|
79
|
-
* params.filters.minIntervalDays: the minimum interval days
|
|
80
|
-
* params.filters.maxIntervalDays: the maximum interval days
|
|
81
|
-
* params.filters.minIntervalStartDate: the minimum interval start date
|
|
82
|
-
* params.filters.maxIntervalStartDate: the maximum interval start date
|
|
83
|
-
* params.filters.minIntervalOdometer: the minimum interval odometer
|
|
84
|
-
* params.filters.maxIntervalOdometer: the maximum interval odometer
|
|
85
|
-
* params.filters.minIntervalActiveHours: the minimum interval active hours
|
|
86
|
-
* params.filters.maxIntervalActiveHours: the maximum interval active hours
|
|
87
|
-
* params.filters.minIntervalStartingOdometer: the minimum interval starting odometer
|
|
88
|
-
* params.filters.maxIntervalStartingOdometer: the maximum interval starting odometer
|
|
89
|
-
* params.filters.minIntervalStartingActiveHours: the minimum interval starting active hours
|
|
90
|
-
* params.filters.maxIntervalStartingActiveHours: the maximum interval starting active hours
|
|
91
|
-
* params.filters.notes: the notes for partial match search
|
|
92
|
-
* params.filters.createdBy: the created by, exact match search
|
|
93
|
-
* params.filters.minCreatedAt: the minimum created at
|
|
94
|
-
* params.filters.maxCreatedAt: the maximum created at
|
|
95
|
-
* params.filters.modifiedBy: the modified by, exact match search
|
|
96
|
-
* params.filters.minModifiedAt: the minimum modified at
|
|
97
|
-
* params.filters.maxModifiedAt: the maximum modified at
|
|
98
|
-
* params.filters.deletedBy: the deleted by, exact match search
|
|
99
|
-
* params.filters.minDeletedAt: the minimum deleted at
|
|
100
|
-
* params.filters.maxDeletedAt: the maximum deleted at
|
|
101
|
-
* params.filters.status: the status (active or deleted)
|
|
102
|
-
* params.projectionOptions:
|
|
103
|
-
* - numberOfDevicesToGet: the number of devices to get for each task schedule. By default, no device is returned.
|
|
104
|
-
* params.sortOptions:
|
|
105
|
-
* - sortField: field to order by
|
|
106
|
-
* - sortDirection: order direction (asc or desc)
|
|
107
|
-
* params.pagingOptions:
|
|
108
|
-
* - pageSize: the page size
|
|
109
|
-
* - pageIndex: the page index
|
|
110
|
-
* @returns Promise<TaskSchedule[]> the task schedules corresponding to the filters
|
|
111
|
-
*/
|
|
112
|
-
getTaskSchedules(params: GetTaskSchedulesParams): Promise<TaskSchedule[]>;
|
|
113
|
-
/**
|
|
114
|
-
* Get the count of task schedules with filters
|
|
115
|
-
* @param params params containing information to get task schedules count
|
|
116
|
-
* At least one of the following filters is required:
|
|
117
|
-
* params.filters.imei: the IMEI, if provided, will return task schedules associated to the device
|
|
118
|
-
* params.filters.clientId: the client ID
|
|
119
|
-
* params.filters.title: the title for partial match search
|
|
120
|
-
* params.filters.description: the description for partial match search
|
|
121
|
-
* params.filters.repeats: filter for tasks that repeat or not
|
|
122
|
-
* params.filters.minDueDate: the minimum due date
|
|
123
|
-
* params.filters.maxDueDate: the maximum due date
|
|
124
|
-
* params.filters.minDueOdometer: the minimum due odometer
|
|
125
|
-
* params.filters.maxDueOdometer: the maximum due odometer
|
|
126
|
-
* params.filters.minDueActiveHours: the minimum due active hours
|
|
127
|
-
* params.filters.maxDueActiveHours: the maximum due active hours
|
|
128
|
-
* params.filters.minIntervalDays: the minimum interval days
|
|
129
|
-
* params.filters.maxIntervalDays: the maximum interval days
|
|
130
|
-
* params.filters.minIntervalStartDate: the minimum interval start date
|
|
131
|
-
* params.filters.maxIntervalStartDate: the maximum interval start date
|
|
132
|
-
* params.filters.minIntervalOdometer: the minimum interval odometer
|
|
133
|
-
* params.filters.maxIntervalOdometer: the maximum interval odometer
|
|
134
|
-
* params.filters.minIntervalActiveHours: the minimum interval active hours
|
|
135
|
-
* params.filters.maxIntervalActiveHours: the maximum interval active hours
|
|
136
|
-
* params.filters.minIntervalStartingOdometer: the minimum interval starting odometer
|
|
137
|
-
* params.filters.maxIntervalStartingOdometer: the maximum interval starting odometer
|
|
138
|
-
* params.filters.minIntervalStartingActiveHours: the minimum interval starting active hours
|
|
139
|
-
* params.filters.maxIntervalStartingActiveHours: the maximum interval starting active hours
|
|
140
|
-
* params.filters.notes: the notes for partial match search
|
|
141
|
-
* params.filters.createdBy: the created by, exact match search
|
|
142
|
-
* params.filters.minCreatedAt: the minimum created at
|
|
143
|
-
* params.filters.maxCreatedAt: the maximum created at
|
|
144
|
-
* params.filters.modifiedBy: the modified by, exact match search
|
|
145
|
-
* params.filters.minModifiedAt: the minimum modified at
|
|
146
|
-
* params.filters.maxModifiedAt: the maximum modified at
|
|
147
|
-
* params.filters.deletedBy: the deleted by, exact match search
|
|
148
|
-
* params.filters.minDeletedAt: the minimum deleted at
|
|
149
|
-
* params.filters.maxDeletedAt: the maximum deleted at
|
|
150
|
-
* params.filters.status: the status (active or deleted)
|
|
151
|
-
* @returns Promise<number> the count of task schedules corresponding to the filters
|
|
152
|
-
*/
|
|
153
|
-
getTaskSchedulesCount(params: GetTaskSchedulesCountParams): Promise<number>;
|
|
154
|
-
/**
|
|
155
|
-
* Get device tasks
|
|
156
|
-
* @param params params containing information to get device tasks
|
|
157
|
-
* At least one of the following filters is required:
|
|
158
|
-
* params.filters.taskScheduleId: the task schedule ID
|
|
159
|
-
* params.filters.imei: the IMEI
|
|
160
|
-
* params.filters.clientId: the client ID
|
|
161
|
-
* @returns Promise<DeviceTask[]> the device tasks corresponding to the filters
|
|
162
|
-
*/
|
|
163
|
-
getDeviceTasks(params: GetDeviceTasksParams): Promise<DeviceTask[]>;
|
|
164
|
-
/**
|
|
165
|
-
* Sets the imeis associated with a task schedule.
|
|
166
|
-
* This operation replaces all the existing records associated with the taskScheduleId, with the supplied imeis.
|
|
167
|
-
* @param params params containing information to set task schedule devices
|
|
168
|
-
* params.taskScheduleId: the task schedule ID, required.
|
|
169
|
-
* params.imeis: the IMEIs, optional. If not provided, all the existing records associated with the taskScheduleId will be deleted.
|
|
170
|
-
* @returns Promise<boolean> whether the task schedule devices were set
|
|
171
|
-
* If the task schedule does not exist, the function will return false
|
|
172
|
-
*/
|
|
173
|
-
setTaskScheduleDevices(params: SetTaskScheduleDevicesParams): Promise<boolean>;
|
|
174
|
-
/**
|
|
175
|
-
* Adds the supplied imeis to the DeviceTask table, associated with a task schedule id.
|
|
176
|
-
* This operation adds the imeis if they do not exist and does not remove or modifies other records.
|
|
177
|
-
* @param params params containing information to add task schedule devices
|
|
178
|
-
* params.taskScheduleId: the task schedule ID, required.
|
|
179
|
-
* params.imeis: the IMEIs, required.
|
|
180
|
-
* @returns Promise<boolean> whether the task schedule devices were added
|
|
181
|
-
* If the task schedule does not exist, the function will return false
|
|
182
|
-
*/
|
|
183
|
-
addTaskScheduleDevices(params: AddTaskScheduleDevicesParams): Promise<boolean>;
|
|
184
|
-
/**
|
|
185
|
-
* Deletes the supplied imeis from the DeviceTask table, associated with a task schedule id.
|
|
186
|
-
* This operation deletes the imeis if they exist and does not remove or modifies other records.
|
|
187
|
-
* @param params params containing information to delete task schedule devices
|
|
188
|
-
* params.taskScheduleId: the task schedule ID, required.
|
|
189
|
-
* params.imeis: the IMEIs, required.
|
|
190
|
-
* @returns Promise<boolean> whether the task schedule devices were deleted
|
|
191
|
-
*/
|
|
192
|
-
deleteTaskScheduleDevices(params: DeleteTaskScheduleDevicesParams): Promise<boolean>;
|
|
193
|
-
/**
|
|
194
|
-
* Create a new task
|
|
195
|
-
* @param params params containing information to create task
|
|
196
|
-
* params.id: the ID, optional. If not provided, a new ID will be generated
|
|
197
|
-
* params.taskScheduleId: the task schedule ID, required
|
|
198
|
-
* params.imei: the IMEI, required
|
|
199
|
-
* params.clientId: the client ID, required
|
|
200
|
-
* params.startDate: the starting date, optional
|
|
201
|
-
* params.startingOdometer: the starting odometer, optional
|
|
202
|
-
* params.startingActiveHours: the starting active hours, optional
|
|
203
|
-
* One of the following is required:
|
|
204
|
-
* params.dueDate: the due date, required
|
|
205
|
-
* params.dueOdometer: the due odometer, required
|
|
206
|
-
* params.dueActiveHours: the due active hours, required
|
|
207
|
-
* @returns Promise<Task> the created task
|
|
208
|
-
*/
|
|
209
|
-
createTask(params: CreateTaskParams): Promise<Task>;
|
|
210
|
-
/**
|
|
211
|
-
* Get tasks with filters
|
|
212
|
-
* @param params params containing information to get tasks
|
|
213
|
-
* At least one of the following filters is required:
|
|
214
|
-
* params.filters.taskId: the task ID
|
|
215
|
-
* params.filters.taskScheduleId: the task schedule ID
|
|
216
|
-
* params.filters.imei: the IMEI
|
|
217
|
-
* params.filters.clientId: the client ID
|
|
218
|
-
* params.filters.dueDateFilter: the due date range filter
|
|
219
|
-
* params.filters.dueOdometerFilter: the due odometer range filter
|
|
220
|
-
* params.filters.dueActiveHoursFilter: the due active hours range filter
|
|
221
|
-
* params.filters.startDateFilter: the start date range filter
|
|
222
|
-
* params.filters.startingOdometerFilter: the starting odometer range filter
|
|
223
|
-
* params.filters.startingActiveHoursFilter: the starting active hours range filter
|
|
224
|
-
* params.filters.status: the status (pending, past_due, completed, deleted)
|
|
225
|
-
* params.filters.pastDueAtFilter: the past due at range filter
|
|
226
|
-
* params.filters.createdAtFilter: the created at range filter
|
|
227
|
-
* params.filters.completedAtFilter: the completed at range filter
|
|
228
|
-
* params.filters.completionNotes: the completion notes for partial match search
|
|
229
|
-
* params.filters.completionOdometerFilter: the completion odometer range filter
|
|
230
|
-
* params.filters.completionActiveHoursFilter: the completion active hours range filter
|
|
231
|
-
* params.filters.completedBy: the completed by, partial match search
|
|
232
|
-
* params.filters.modifiedBy: the modified by, partial match search
|
|
233
|
-
* params.filters.modifiedAtFilter: the modified at range filter
|
|
234
|
-
* params.filters.queuedAtFilter: the queued at range filter
|
|
235
|
-
* params.filters.predictedDueDateFilter: the predicted due date range filter
|
|
236
|
-
* params.filters.deletedAtFilter: the deleted at range filter
|
|
237
|
-
* params.filters.deletedBy: the deleted by, partial match search
|
|
238
|
-
* params.sortOptions:
|
|
239
|
-
* - sortField: field to order by
|
|
240
|
-
* - sortDirection: order direction (asc or desc)
|
|
241
|
-
* params.pagingOptions:
|
|
242
|
-
* - pageSize: the page size
|
|
243
|
-
* - pageIndex: the page index
|
|
244
|
-
* @returns Promise<Task[]> the tasks corresponding to the filters
|
|
245
|
-
*/
|
|
246
|
-
getTasks(params: GetTasksParams): Promise<Task[]>;
|
|
247
|
-
/**
|
|
248
|
-
* Get the count of tasks with filters
|
|
249
|
-
* @param params params containing information to get tasks count
|
|
250
|
-
* At least one of the following filters is required:
|
|
251
|
-
* params.filters.taskId: the task ID
|
|
252
|
-
* params.filters.taskScheduleId: the task schedule ID
|
|
253
|
-
* params.filters.imei: the IMEI
|
|
254
|
-
* params.filters.clientId: the client ID
|
|
255
|
-
* params.filters.dueDateFilter: the due date range filter
|
|
256
|
-
* params.filters.dueOdometerFilter: the due odometer range filter
|
|
257
|
-
* params.filters.dueActiveHoursFilter: the due active hours range filter
|
|
258
|
-
* params.filters.startDateFilter: the start date range filter
|
|
259
|
-
* params.filters.startingOdometerFilter: the starting odometer range filter
|
|
260
|
-
* params.filters.startingActiveHoursFilter: the starting active hours range filter
|
|
261
|
-
* params.filters.status: the status (pending, past_due, completed, deleted)
|
|
262
|
-
* params.filters.pastDueAtFilter: the past due at range filter
|
|
263
|
-
* params.filters.createdAtFilter: the created at range filter
|
|
264
|
-
* params.filters.completedAtFilter: the completed at range filter
|
|
265
|
-
* params.filters.completionNotes: the completion notes for partial match search
|
|
266
|
-
* params.filters.completionOdometerFilter: the completion odometer range filter
|
|
267
|
-
* params.filters.completionActiveHoursFilter: the completion active hours range filter
|
|
268
|
-
* params.filters.completedBy: the completed by, partial match search
|
|
269
|
-
* params.filters.modifiedBy: the modified by, partial match search
|
|
270
|
-
* params.filters.modifiedAtFilter: the modified at range filter
|
|
271
|
-
* params.filters.queuedAtFilter: the queued at range filter
|
|
272
|
-
* params.filters.predictedDueDateFilter: the predicted due date range filter
|
|
273
|
-
* params.filters.deletedAtFilter: the deleted at range filter
|
|
274
|
-
* params.filters.deletedBy: the deleted by, partial match search
|
|
275
|
-
* @returns Promise<number> the count of tasks corresponding to the filters
|
|
276
|
-
*/
|
|
277
|
-
getTasksCount(params: GetTasksCountParams): Promise<number>;
|
|
278
|
-
/**
|
|
279
|
-
* Update an existing task
|
|
280
|
-
* @param params params containing information to update task
|
|
281
|
-
* params.filters.id: the ID, required
|
|
282
|
-
* params.values.modifiedBy: the modified by, required
|
|
283
|
-
* One of dueDate, dueOdometer, or dueActiveHours is required:
|
|
284
|
-
* params.values.dueDate: the due date, optional
|
|
285
|
-
* params.values.dueOdometer: the due odometer, optional
|
|
286
|
-
* params.values.dueActiveHours: the due active hours, optional
|
|
287
|
-
* params.values.startDate: the starting date, optional
|
|
288
|
-
* params.values.startingOdometer: the starting odometer, optional
|
|
289
|
-
* params.values.startingActiveHours: the starting active hours, optional
|
|
290
|
-
* params.values.predictedDueDate: the predicted due date, optional
|
|
291
|
-
* params.values.queuedAt: the queued at, optional
|
|
292
|
-
* @returns Promise<boolean> whether the task was updated
|
|
293
|
-
*/
|
|
294
|
-
updateTask(params: UpdateTaskParams): Promise<boolean>;
|
|
295
|
-
/**
|
|
296
|
-
* Set a task as past due
|
|
297
|
-
* @param params params containing information to set task as past due
|
|
298
|
-
* params.id: the task ID, required
|
|
299
|
-
* params.pastDueAt: the past due at, optional. If not provided, the current date will be used
|
|
300
|
-
* params.modifiedBy: the modified by, required
|
|
301
|
-
* @returns Promise<boolean> whether the task was set as past due
|
|
302
|
-
*/
|
|
303
|
-
setTaskAsPastDue(params: SetTaskAsPastDueParams): Promise<boolean>;
|
|
304
|
-
/**
|
|
305
|
-
* Complete a task
|
|
306
|
-
* @param params params containing information to complete task
|
|
307
|
-
* params.id: the ID, required
|
|
308
|
-
* params.completedBy: the completed by, required
|
|
309
|
-
* params.completionNotes: the completion notes, optional
|
|
310
|
-
* params.completionOdometer: the completion odometer, optional
|
|
311
|
-
* params.completionActiveHours: the completion active hours, optional
|
|
312
|
-
* params.completionMetadata: the completion metadata, optional
|
|
313
|
-
* params.includeTimeInCompletedAt: whether to include time in completed at, optional. Default is false
|
|
314
|
-
* @returns Promise<boolean> whether the task was completed
|
|
315
|
-
*/
|
|
316
|
-
completeTask(params: CompleteTaskParams): Promise<boolean>;
|
|
317
|
-
/**
|
|
318
|
-
* Delete an existing task
|
|
319
|
-
* @param params params containing information to delete task
|
|
320
|
-
* params.id: the ID, required
|
|
321
|
-
* params.deletedBy: the user performing the delete action, required
|
|
322
|
-
* @returns Promise<boolean> whether the task was deleted
|
|
323
|
-
*/
|
|
324
|
-
deleteTask(params: DeleteTaskParams): Promise<boolean>;
|
|
325
|
-
}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { NovaDataSource } from '../../novaDataSource';
|
|
2
|
-
import { Logger } from '../../types/logger';
|
|
3
|
-
import { SetTaskAsPastDueParams } from '../../types/tasks';
|
|
4
|
-
export declare const setTaskAsPastDue: (novaDataSource: NovaDataSource, params: SetTaskAsPastDueParams, logger: Logger) => Promise<boolean>;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { NovaDataSource } from '../../novaDataSource';
|
|
2
|
-
import { Logger } from '../../types/logger';
|
|
3
|
-
import { SetTaskScheduleDevicesParams } from '../../types/tasks';
|
|
4
|
-
export declare const setTaskScheduleDevices: (novaDataSource: NovaDataSource, params: SetTaskScheduleDevicesParams, logger: Logger) => Promise<boolean>;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { NovaDataSource } from '../../novaDataSource';
|
|
2
|
-
import { Logger } from '../../types/logger';
|
|
3
|
-
import { UpdateTaskParams } from '../../types/tasks';
|
|
4
|
-
export declare const updateTask: (novaDataSource: NovaDataSource, params: UpdateTaskParams, logger: Logger) => Promise<boolean>;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { NovaDataSource } from '../../novaDataSource';
|
|
2
|
-
import { Logger } from '../../types/logger';
|
|
3
|
-
import { UpdateTaskScheduleParams } from '../../types/tasks';
|
|
4
|
-
export declare const updateTaskSchedule: (novaDataSource: NovaDataSource, params: UpdateTaskScheduleParams, logger: Logger) => Promise<boolean>;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { UserActivation } from '../../entities/userActivation';
|
|
2
|
-
import { NovaDataSource } from '../../novaDataSource';
|
|
3
|
-
import { Logger } from '../../types/logger';
|
|
4
|
-
import { CreateUserActivationParams } from '../../types/userActivations';
|
|
5
|
-
export declare const createUserActivation: (novaDataSource: NovaDataSource, params: CreateUserActivationParams, logger: Logger) => Promise<UserActivation>;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { UserActivationDevice } from '../../entities/userActivationDevice';
|
|
2
|
-
import { NovaDataSource } from '../../novaDataSource';
|
|
3
|
-
import { Logger } from '../../types/logger';
|
|
4
|
-
import { CreateUserActivationDeviceParams } from '../../types/userActivations';
|
|
5
|
-
export declare const createUserActivationDevice: (novaDataSource: NovaDataSource, params: CreateUserActivationDeviceParams, logger: Logger) => Promise<UserActivationDevice>;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { UserActivationEvent } from '../../entities';
|
|
2
|
-
import { NovaDataSource } from '../../novaDataSource';
|
|
3
|
-
import { Logger } from '../../types/logger';
|
|
4
|
-
import { CreateUserActivationEventParams } from '../../types/userActivations';
|
|
5
|
-
export declare const createUserActivationEvent: (novaDataSource: NovaDataSource, params: CreateUserActivationEventParams, logger: Logger) => Promise<UserActivationEvent>;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { UserActivationMetric } from '../../entities/userActivationMetric';
|
|
2
|
-
import { NovaDataSource } from '../../novaDataSource';
|
|
3
|
-
import { Logger } from '../../types/logger';
|
|
4
|
-
import { CreateUserActivationMetricParams } from '../../types/userActivations';
|
|
5
|
-
export declare const createUserActivationMetric: (novaDataSource: NovaDataSource, params: CreateUserActivationMetricParams, logger: Logger) => Promise<UserActivationMetric>;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { NovaDataSource } from '../../novaDataSource';
|
|
2
|
-
import { Logger } from '../../types/logger';
|
|
3
|
-
import { DeleteUserActivationParams } from '../../types/userActivations';
|
|
4
|
-
export declare const deleteUserActivation: (novaDataSource: NovaDataSource, params: DeleteUserActivationParams, logger: Logger) => Promise<boolean>;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { UserActivationDevice } from '../../entities';
|
|
2
|
-
import { NovaDataSource } from '../../novaDataSource';
|
|
3
|
-
import { Logger } from '../../types/logger';
|
|
4
|
-
import { GetLastActivationDeviceParams } from '../../types/userActivations';
|
|
5
|
-
export declare const getLastActivationDevice: (novaDataSource: NovaDataSource, params: GetLastActivationDeviceParams, logger: Logger) => Promise<UserActivationDevice>;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { UserActivation } from '../../entities';
|
|
2
|
-
import { NovaDataSource } from '../../novaDataSource';
|
|
3
|
-
import { Logger } from '../../types/logger';
|
|
4
|
-
import { GetUserActivationByIdParams } from '../../types/userActivations';
|
|
5
|
-
export declare const getUserActivationById: (novaDataSource: NovaDataSource, params: GetUserActivationByIdParams, logger: Logger) => Promise<UserActivation | null>;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { UserActivationDevice } from '../../entities';
|
|
2
|
-
import { NovaDataSource } from '../../novaDataSource';
|
|
3
|
-
import { Logger } from '../../types/logger';
|
|
4
|
-
import { GetUserActivationDevicesParams } from '../../types/userActivations';
|
|
5
|
-
export declare const getUserActivationDevices: (novaDataSource: NovaDataSource, params: GetUserActivationDevicesParams, logger: Logger) => Promise<UserActivationDevice[]>;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { UserActivationDevice } from '../../entities';
|
|
2
|
-
import { NovaDataSource } from '../../novaDataSource';
|
|
3
|
-
import { Logger } from '../../types/logger';
|
|
4
|
-
import { GetUserActivationDevicesByClientIdParams } from '../../types/userActivations';
|
|
5
|
-
export declare const getUserActivationDevicesByClientId: (novaDataSource: NovaDataSource, params: GetUserActivationDevicesByClientIdParams, logger: Logger) => Promise<UserActivationDevice[]>;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { UserActivationMetric } from '../../entities';
|
|
2
|
-
import { NovaDataSource } from '../../novaDataSource';
|
|
3
|
-
import { Logger } from '../../types/logger';
|
|
4
|
-
import { GetUserActivationMetricsParams } from '../../types/userActivations';
|
|
5
|
-
export declare const getUserActivationMetrics: (novaDataSource: NovaDataSource, params: GetUserActivationMetricsParams, logger: Logger) => Promise<UserActivationMetric>;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { UserActivation } from '../../entities';
|
|
2
|
-
import { NovaDataSource } from '../../novaDataSource';
|
|
3
|
-
import { Logger } from '../../types/logger';
|
|
4
|
-
import { GetUserActivationsParams } from '../../types/userActivations';
|
|
5
|
-
export declare const getUserActivations: (novaDataSource: NovaDataSource, params: GetUserActivationsParams, logger: Logger) => Promise<UserActivation[]>;
|
|
@@ -1,147 +0,0 @@
|
|
|
1
|
-
import { UserActivation, UserActivationDevice, UserActivationEvent, UserActivationMetric } from '../../entities';
|
|
2
|
-
import { CreateUserActivationDeviceParams, CreateUserActivationEventParams, CreateUserActivationMetricParams, CreateUserActivationParams, DeleteUserActivationParams, GetLastActivationDeviceParams, GetUserActivationByIdParams, GetUserActivationDevicesByClientIdParams, GetUserActivationDevicesParams, GetUserActivationMetricsParams, GetUserActivationsParams, UpdateUserActivationDeviceParams, UpdateUserActivationMetricsParams } from '../../types/userActivations';
|
|
3
|
-
import { BaseRepository } from '../baseRepository';
|
|
4
|
-
export declare class UserActivationsRepository extends BaseRepository {
|
|
5
|
-
/**
|
|
6
|
-
* Create user activation
|
|
7
|
-
* @param {CreateUserActivationParams} params containing information to create a user activation
|
|
8
|
-
* - params.id: The user activation id, optional. If not provided, it will be generated
|
|
9
|
-
* - params.userId: The user id, required
|
|
10
|
-
* - params.clientId: The client id, required
|
|
11
|
-
* - params.status: The status, optional. If not provided, it will be set to 'A'
|
|
12
|
-
* @returns The created user activation
|
|
13
|
-
*/
|
|
14
|
-
createUserActivation(params: CreateUserActivationParams): Promise<UserActivation>;
|
|
15
|
-
/**
|
|
16
|
-
* Get user activations
|
|
17
|
-
* @param {GetUserActivationsParams} params containing information to get user activations
|
|
18
|
-
* Filters:
|
|
19
|
-
* One of the following filters is required
|
|
20
|
-
* - params.filters.userId: The user id, optional
|
|
21
|
-
* - params.filters.clientId: The client id, optional
|
|
22
|
-
* @returns The user activations
|
|
23
|
-
*/
|
|
24
|
-
getUserActivations(params: GetUserActivationsParams): Promise<UserActivation[]>;
|
|
25
|
-
/**
|
|
26
|
-
* Delete user activation
|
|
27
|
-
* @param {DeleteUserActivationParams} params containing information to delete a user activation
|
|
28
|
-
* - params.userId: The user id, required
|
|
29
|
-
* @returns True if the user activation was deleted, false otherwise
|
|
30
|
-
*/
|
|
31
|
-
deleteUserActivation(params: DeleteUserActivationParams): Promise<boolean>;
|
|
32
|
-
/**
|
|
33
|
-
* Get user activation devices
|
|
34
|
-
* @param {GetUserActivationDevicesParams} params containing information to get user activation devices
|
|
35
|
-
* Filters:
|
|
36
|
-
* One of the following filters is required
|
|
37
|
-
* - params.filters.id: The user activation device id, optional
|
|
38
|
-
* - params.filters.imei: The user activation device imei, optional
|
|
39
|
-
* @returns The user activation devices
|
|
40
|
-
*/
|
|
41
|
-
getUserActivationDevices(params: GetUserActivationDevicesParams): Promise<UserActivationDevice[]>;
|
|
42
|
-
/**
|
|
43
|
-
* Get user activation devices by client id
|
|
44
|
-
* @param {GetUserActivationDevicesByClientIdParams} params containing information to get user activation devices by client id
|
|
45
|
-
* Filters:
|
|
46
|
-
* - params.filters.clientId: The client id, required
|
|
47
|
-
* @returns The user activation devices
|
|
48
|
-
*/
|
|
49
|
-
getUserActivationDevicesByClientId(params: GetUserActivationDevicesByClientIdParams): Promise<UserActivationDevice[]>;
|
|
50
|
-
/**
|
|
51
|
-
* Create user activation device
|
|
52
|
-
* @param {CreateUserActivationDeviceParams} params containing information to create a user activation device
|
|
53
|
-
* - params.id: The user activation device id, optional. If not provided, it will be generated
|
|
54
|
-
* - params.userActivationId: The user activation id, required
|
|
55
|
-
* - params.deviceId: The device id, required
|
|
56
|
-
* - params.imei: The device imei, required
|
|
57
|
-
* - params.model: The device model, optional
|
|
58
|
-
* - params.billingInterval: The billing interval, optional
|
|
59
|
-
* - params.deviceName: The device name, optional
|
|
60
|
-
* - params.status: The status, optional
|
|
61
|
-
* - params.trackingReason: The tracking reason, optional
|
|
62
|
-
* - params.deviceColor: The device color, optional
|
|
63
|
-
* - params.notificationByEmail: The notification by email, optional
|
|
64
|
-
* - params.notificationBySms: The notification by sms, optional
|
|
65
|
-
* - params.planAnnual: The plan annual, optional
|
|
66
|
-
* - params.dataSourceTypeId: The data source type id, optional
|
|
67
|
-
* - params.subscriptionId: The subscription id, optional
|
|
68
|
-
* - params.platform: The platform, optional
|
|
69
|
-
* - params.eventType: The event type, optional
|
|
70
|
-
* - params.planCode: The plan code, optional
|
|
71
|
-
* @returns The created user activation device
|
|
72
|
-
*/
|
|
73
|
-
createUserActivationDevice(params: CreateUserActivationDeviceParams): Promise<UserActivationDevice>;
|
|
74
|
-
/**
|
|
75
|
-
* Get last activation device
|
|
76
|
-
* @param {GetLastActivationDeviceParams} params containing information to get last activation device
|
|
77
|
-
* Filters:
|
|
78
|
-
* - params.filters.imei: The user activation device imei, required
|
|
79
|
-
* Projection options:
|
|
80
|
-
* - params.projectionOptions.withDevice: If true, the device will be included in the result, optional
|
|
81
|
-
* - params.projectionOptions.withUserActivation: If true, the user activation will be included in the result, optional
|
|
82
|
-
* Sort options:
|
|
83
|
-
* - params.sortOptions.sortField: The sort field, optional. If not provided, it will be set to 'userActivationDevice.id'
|
|
84
|
-
* @returns The last activation device
|
|
85
|
-
*/
|
|
86
|
-
getLastActivationDevice(params: GetLastActivationDeviceParams): Promise<UserActivationDevice>;
|
|
87
|
-
/**
|
|
88
|
-
* Update user activation device
|
|
89
|
-
* @param {UpdateUserActivationDeviceParams} params containing information to update user activation device
|
|
90
|
-
* Filters:
|
|
91
|
-
* - params.filters.imei: The user activation device imei, required
|
|
92
|
-
* Values:
|
|
93
|
-
* At least one of the values is required
|
|
94
|
-
* - params.values.trackingReason: The tracking reason, optional
|
|
95
|
-
* - params.values.deviceName: The device name, optional
|
|
96
|
-
* - params.values.deviceColor: The device color, optional
|
|
97
|
-
* - params.values.planAnnual: The plan annual, optional
|
|
98
|
-
* - params.values.subscriptionId: The subscription id, optional
|
|
99
|
-
* - params.values.platform: The platform, optional
|
|
100
|
-
* @returns True if the user activation device was updated, false otherwise
|
|
101
|
-
*/
|
|
102
|
-
updateUserActivationDevice(params: UpdateUserActivationDeviceParams): Promise<boolean>;
|
|
103
|
-
/**
|
|
104
|
-
* Get user activation metrics
|
|
105
|
-
* @param {GetUserActivationMetricsParams} params containing information to get user activation metrics
|
|
106
|
-
* Filters:
|
|
107
|
-
* - params.filters.userId: The user id, required
|
|
108
|
-
* @returns The user activation metrics
|
|
109
|
-
*/
|
|
110
|
-
getUserActivationMetrics(params: GetUserActivationMetricsParams): Promise<UserActivationMetric>;
|
|
111
|
-
/**
|
|
112
|
-
* Update user activation metrics
|
|
113
|
-
* @param {UpdateUserActivationMetricsParams} params containing information to update user activation metrics
|
|
114
|
-
* Filters:
|
|
115
|
-
* - params.filters.userId: The user id, required
|
|
116
|
-
* Values: At least one of the values is required
|
|
117
|
-
* @returns True if the user activation metrics were updated, false otherwise
|
|
118
|
-
*/
|
|
119
|
-
updateUserActivationMetrics(params: UpdateUserActivationMetricsParams): Promise<boolean>;
|
|
120
|
-
/**
|
|
121
|
-
* Create user activation event
|
|
122
|
-
* @param {CreateUserActivationEventParams} params containing information to create a user activation event
|
|
123
|
-
* - params.userId: The user id, required
|
|
124
|
-
* - params.eventId: The event id, required
|
|
125
|
-
* - params.eventName: The event name, required
|
|
126
|
-
* - params.eventValue: The event value, optional
|
|
127
|
-
* - params.eventMetadata: The event metadata, optional
|
|
128
|
-
* - params.platform: The platform, optional
|
|
129
|
-
* - params.ip: The ip, optional
|
|
130
|
-
* - params.userAgent: The user agent, optional
|
|
131
|
-
* @returns The created user activation event
|
|
132
|
-
*/
|
|
133
|
-
createUserActivationEvent(params: CreateUserActivationEventParams): Promise<UserActivationEvent>;
|
|
134
|
-
/**
|
|
135
|
-
* Create user activation metric
|
|
136
|
-
* @param {CreateUserActivationMetricParams} params containing information to create a user activation metric
|
|
137
|
-
* - params.id: The user activation metric id, optional. If not provided, it will be generated
|
|
138
|
-
* - params.userId: The user id, required
|
|
139
|
-
* - params.firstName: The first name, required
|
|
140
|
-
* - params.lastName: The last name, required
|
|
141
|
-
* - params.email: The email, required
|
|
142
|
-
* - params.phone: The phone, optional
|
|
143
|
-
* @returns The created user activation metric
|
|
144
|
-
*/
|
|
145
|
-
createUserActivationMetric(params: CreateUserActivationMetricParams): Promise<UserActivationMetric>;
|
|
146
|
-
getUserActivationById(params: GetUserActivationByIdParams): Promise<UserActivation | null>;
|
|
147
|
-
}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { NovaDataSource } from '../../novaDataSource';
|
|
2
|
-
import { Logger } from '../../types/logger';
|
|
3
|
-
import { UpdateUserActivationDeviceParams } from '../../types/userActivations';
|
|
4
|
-
export declare const updateUserActivationDevice: (novaDataSource: NovaDataSource, params: UpdateUserActivationDeviceParams, logger: Logger) => Promise<boolean>;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { NovaDataSource } from '../../novaDataSource';
|
|
2
|
-
import { Logger } from '../../types/logger';
|
|
3
|
-
import { UpdateUserActivationMetricsParams } from '../../types/userActivations';
|
|
4
|
-
export declare const updateUserActivationMetrics: (novaDataSource: NovaDataSource, params: UpdateUserActivationMetricsParams, logger: Logger) => Promise<boolean>;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { UserAppFeedback } from '../../entities';
|
|
2
|
-
import { NovaDataSource } from '../../novaDataSource';
|
|
3
|
-
import { Logger } from '../../types/logger';
|
|
4
|
-
import { CreateUserAppFeedbackParams } from '../../types/userAppFeedback';
|
|
5
|
-
export declare const createUserAppFeedback: (novaDataSource: NovaDataSource, params: CreateUserAppFeedbackParams, logger: Logger) => Promise<UserAppFeedback>;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { UserAppFeedback } from '../../entities';
|
|
2
|
-
import { CreateUserAppFeedbackParams } from '../../types/userAppFeedback';
|
|
3
|
-
import { BaseRepository } from '../baseRepository';
|
|
4
|
-
export declare class UserAppFeedbackRepository extends BaseRepository {
|
|
5
|
-
/**
|
|
6
|
-
* Creates a new user app feedback record
|
|
7
|
-
* @param {CreateUserAppFeedbackParams} params containing information to create a user app feedback record
|
|
8
|
-
* - params.id: The user app feedback id, optional
|
|
9
|
-
* - params.userId: The user id, required
|
|
10
|
-
* - params.platform: The platform, required
|
|
11
|
-
* - params.appVersion: The app version, required
|
|
12
|
-
* - params.feedback: The feedback, optional
|
|
13
|
-
* - params.amazonReviewDate: The amazon review date, optional
|
|
14
|
-
* @returns The created user app feedback record
|
|
15
|
-
*/
|
|
16
|
-
createUserAppFeedback(params: CreateUserAppFeedbackParams): Promise<UserAppFeedback>;
|
|
17
|
-
}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { UserAppIncident } from '../../entities';
|
|
2
|
-
import { NovaDataSource } from '../../novaDataSource';
|
|
3
|
-
import { Logger } from '../../types/logger';
|
|
4
|
-
import { GetUserAppIncidentsParams } from '../../types/userAppIncidents';
|
|
5
|
-
export declare const getUserAppIncidents: (novaDataSource: NovaDataSource, params: GetUserAppIncidentsParams, logger: Logger) => Promise<UserAppIncident[]>;
|