@spytecgps/nova-orm 1.4.149 → 1.4.151

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (352) hide show
  1. package/dist/entities/issue.d.ts +2 -2
  2. package/dist/index.d.ts +2 -2
  3. package/dist/index.js +1 -1
  4. package/dist/index.js.map +1 -1
  5. package/dist/novaDataSource.d.ts +2 -2
  6. package/dist/types/common.d.ts +4 -10
  7. package/dist/types/enums.d.ts +10 -0
  8. package/dist/types/index.d.ts +5 -39
  9. package/package.json +1 -1
  10. package/dist/repositories/acumatica/getAcumaticaImeiIccidData.d.ts +0 -5
  11. package/dist/repositories/acumatica/getAcumaticaShipmentAmazon.d.ts +0 -5
  12. package/dist/repositories/acumatica/getAcumaticaShipmentDetails.d.ts +0 -4
  13. package/dist/repositories/acumatica/getLastAcumaticaShipmentDetails.d.ts +0 -4
  14. package/dist/repositories/acumatica/getOrderShipmentInternational.d.ts +0 -5
  15. package/dist/repositories/acumatica/index.d.ts +0 -47
  16. package/dist/repositories/aempToken/createAempToken.d.ts +0 -5
  17. package/dist/repositories/aempToken/deleteAempTokens.d.ts +0 -4
  18. package/dist/repositories/aempToken/getAempTokens.d.ts +0 -5
  19. package/dist/repositories/aempToken/index.d.ts +0 -33
  20. package/dist/repositories/appFeatures/createAppFeatureType.d.ts +0 -5
  21. package/dist/repositories/appFeatures/createClientAppFeature.d.ts +0 -5
  22. package/dist/repositories/appFeatures/getClientAppFeatures.d.ts +0 -5
  23. package/dist/repositories/appFeatures/index.d.ts +0 -37
  24. package/dist/repositories/baseRepository.d.ts +0 -21
  25. package/dist/repositories/billing/createBilling.d.ts +0 -5
  26. package/dist/repositories/billing/createBillingDeviceHistory.d.ts +0 -5
  27. package/dist/repositories/billing/createBillingHubspotPaymentLog.d.ts +0 -5
  28. package/dist/repositories/billing/createBillingStatusHistoryBraintree.d.ts +0 -5
  29. package/dist/repositories/billing/getBillingCustomerBraintreeById.d.ts +0 -5
  30. package/dist/repositories/billing/getBillingSubscriptionsBraintree.d.ts +0 -5
  31. package/dist/repositories/billing/getBillings.d.ts +0 -5
  32. package/dist/repositories/billing/getBraintreePastDueSubscriptions.d.ts +0 -4
  33. package/dist/repositories/billing/getCanceledImeis.d.ts +0 -4
  34. package/dist/repositories/billing/getCanceledImeisMatchingMagentoData.d.ts +0 -4
  35. package/dist/repositories/billing/getChurnStatusByClientId.d.ts +0 -4
  36. package/dist/repositories/billing/getClientIdFromBraintreeCustomer.d.ts +0 -4
  37. package/dist/repositories/billing/getMagentoPlan.d.ts +0 -5
  38. package/dist/repositories/billing/getUserByBraintreeCustomerId.d.ts +0 -5
  39. package/dist/repositories/billing/index.d.ts +0 -188
  40. package/dist/repositories/billing/updateBilling.d.ts +0 -4
  41. package/dist/repositories/billing/updateBillingCustomerBraintree.d.ts +0 -4
  42. package/dist/repositories/billing/upsertBillingCustomerBraintree.d.ts +0 -5
  43. package/dist/repositories/billing/upsertBillingSubscriptionBraintree.d.ts +0 -4
  44. package/dist/repositories/blacklist/deleteBlackList.d.ts +0 -4
  45. package/dist/repositories/blacklist/getBlacklists.d.ts +0 -5
  46. package/dist/repositories/blacklist/index.d.ts +0 -43
  47. package/dist/repositories/blacklist/updateBlackList.d.ts +0 -4
  48. package/dist/repositories/blacklist/upsertBlackList.d.ts +0 -5
  49. package/dist/repositories/boundaries/createBoundary.d.ts +0 -5
  50. package/dist/repositories/boundaries/deleteBoundary.d.ts +0 -4
  51. package/dist/repositories/boundaries/getBoundariesByClientId.d.ts +0 -5
  52. package/dist/repositories/boundaries/getBoundariesIdsByClientId.d.ts +0 -4
  53. package/dist/repositories/boundaries/getBoundariesReport.d.ts +0 -4
  54. package/dist/repositories/boundaries/getBoundaryById.d.ts +0 -5
  55. package/dist/repositories/boundaries/index.d.ts +0 -106
  56. package/dist/repositories/boundaries/processBoundaryEvent.d.ts +0 -4
  57. package/dist/repositories/boundaries/updateBoundary.d.ts +0 -4
  58. package/dist/repositories/boundaries/upsertBoundaryEvent.d.ts +0 -4
  59. package/dist/repositories/clientAlertConfiguration/createClientAlertConfiguration.d.ts +0 -5
  60. package/dist/repositories/clientAlertConfiguration/deleteClientAlertConfiguration.d.ts +0 -4
  61. package/dist/repositories/clientAlertConfiguration/getClientAlertConfigurations.d.ts +0 -5
  62. package/dist/repositories/clientAlertConfiguration/getClientAlertRecipients.d.ts +0 -4
  63. package/dist/repositories/clientAlertConfiguration/getUsersDataForClientAlertConfig.d.ts +0 -4
  64. package/dist/repositories/clientAlertConfiguration/index.d.ts +0 -13
  65. package/dist/repositories/clientAlertConfiguration/isUserAllowedForAlertConfig.d.ts +0 -4
  66. package/dist/repositories/clientAlertConfiguration/setClientAlertRecipients.d.ts +0 -4
  67. package/dist/repositories/clientAlertConfiguration/updateClientAlertConfiguration.d.ts +0 -4
  68. package/dist/repositories/clients/createClient.d.ts +0 -5
  69. package/dist/repositories/clients/createClientConfiguration.d.ts +0 -5
  70. package/dist/repositories/clients/createClientIngestorConfiguration.d.ts +0 -5
  71. package/dist/repositories/clients/createCustomerAttribute.d.ts +0 -5
  72. package/dist/repositories/clients/deleteClientAndConfiguration.d.ts +0 -4
  73. package/dist/repositories/clients/getClient.d.ts +0 -5
  74. package/dist/repositories/clients/getClientConfiguration.d.ts +0 -5
  75. package/dist/repositories/clients/getClientIngestorConfigurations.d.ts +0 -4
  76. package/dist/repositories/clients/getClients.d.ts +0 -5
  77. package/dist/repositories/clients/getCustomerAttribute.d.ts +0 -5
  78. package/dist/repositories/clients/index.d.ts +0 -138
  79. package/dist/repositories/clients/updateClient.d.ts +0 -4
  80. package/dist/repositories/clients/updateClientConfiguration.d.ts +0 -4
  81. package/dist/repositories/clients/updateCustomerAttribute.d.ts +0 -4
  82. package/dist/repositories/countries/getCountries.d.ts +0 -4
  83. package/dist/repositories/countries/getCountry.d.ts +0 -5
  84. package/dist/repositories/countries/index.d.ts +0 -20
  85. package/dist/repositories/deactivations/createDeactivation.d.ts +0 -5
  86. package/dist/repositories/deactivations/getDeactivationReasons.d.ts +0 -5
  87. package/dist/repositories/deactivations/getLatestDeactivationByImei.d.ts +0 -5
  88. package/dist/repositories/deactivations/index.d.ts +0 -38
  89. package/dist/repositories/deviceBehaviors/createDeviceBehaviorTask.d.ts +0 -5
  90. package/dist/repositories/deviceBehaviors/getDeviceBehaviorTasks.d.ts +0 -5
  91. package/dist/repositories/deviceBehaviors/getDeviceBehaviors.d.ts +0 -5
  92. package/dist/repositories/deviceBehaviors/getDeviceBehaviorsByIds.d.ts +0 -5
  93. package/dist/repositories/deviceBehaviors/index.d.ts +0 -70
  94. package/dist/repositories/deviceBehaviors/updateDeviceBehaviorTask.d.ts +0 -4
  95. package/dist/repositories/deviceBehaviors/upsertDeviceBehavior.d.ts +0 -5
  96. package/dist/repositories/devicePairings/createDevicePairing.d.ts +0 -5
  97. package/dist/repositories/devicePairings/deleteDevicePairing.d.ts +0 -4
  98. package/dist/repositories/devicePairings/getDevicePairings.d.ts +0 -5
  99. package/dist/repositories/devicePairings/getDevicePairingsByClientId.d.ts +0 -5
  100. package/dist/repositories/devicePairings/getDevicePairingsByImei.d.ts +0 -5
  101. package/dist/repositories/devicePairings/index.d.ts +0 -65
  102. package/dist/repositories/devicePairings/updateDevicePairing.d.ts +0 -4
  103. package/dist/repositories/deviceStatus/extendedDeviceStatus.d.ts +0 -12
  104. package/dist/repositories/deviceStatus/getDeviceStatuses.d.ts +0 -4
  105. package/dist/repositories/deviceStatus/getDeviceStatusesCount.d.ts +0 -4
  106. package/dist/repositories/deviceStatus/index.d.ts +0 -35
  107. package/dist/repositories/deviceStatus/upsertDeviceStatuses.d.ts +0 -4
  108. package/dist/repositories/deviceTypeFeature/bulkCreateDeviceTypeFeature.d.ts +0 -5
  109. package/dist/repositories/deviceTypeFeature/deleteDeviceTypeFeature.d.ts +0 -4
  110. package/dist/repositories/deviceTypeFeature/getDeviceTypeFeatures.d.ts +0 -4
  111. package/dist/repositories/deviceTypeFeature/index.d.ts +0 -27
  112. package/dist/repositories/devices/addDeviceChangesHistory.d.ts +0 -5
  113. package/dist/repositories/devices/allImeisAreActiveForClient.d.ts +0 -4
  114. package/dist/repositories/devices/createClientDeviceSetting.d.ts +0 -5
  115. package/dist/repositories/devices/createDevice.d.ts +0 -5
  116. package/dist/repositories/devices/createDeviceReplacement.d.ts +0 -5
  117. package/dist/repositories/devices/createDeviceType.d.ts +0 -5
  118. package/dist/repositories/devices/createImeiIccidCarrier.d.ts +0 -5
  119. package/dist/repositories/devices/deleteDevice.d.ts +0 -4
  120. package/dist/repositories/devices/generateDeviceIdentifierKey.d.ts +0 -4
  121. package/dist/repositories/devices/getCanceledDevicesWithActiveSimCards.d.ts +0 -4
  122. package/dist/repositories/devices/getCarrierStatusUpdatedBefore.d.ts +0 -4
  123. package/dist/repositories/devices/getClientDeviceSetting.d.ts +0 -5
  124. package/dist/repositories/devices/getClientDeviceSettings.d.ts +0 -5
  125. package/dist/repositories/devices/getDevice.d.ts +0 -5
  126. package/dist/repositories/devices/getDeviceChangesHistory.d.ts +0 -5
  127. package/dist/repositories/devices/getDeviceChangesHistoryAssignedToValuesByClient.d.ts +0 -4
  128. package/dist/repositories/devices/getDeviceCustomConfig.d.ts +0 -5
  129. package/dist/repositories/devices/getDeviceTypeByImei.d.ts +0 -5
  130. package/dist/repositories/devices/getDeviceTypes.d.ts +0 -4
  131. package/dist/repositories/devices/getDeviceTypesModelsOrderedByDeviceCount.d.ts +0 -3
  132. package/dist/repositories/devices/getDeviceWithUsersInfo.d.ts +0 -4
  133. package/dist/repositories/devices/getDevices.d.ts +0 -5
  134. package/dist/repositories/devices/getDevicesCountByStatus.d.ts +0 -4
  135. package/dist/repositories/devices/getFilteredImeisWithStatus.d.ts +0 -4
  136. package/dist/repositories/devices/getIccidStatus.d.ts +0 -5
  137. package/dist/repositories/devices/getImeiIccidCarrier.d.ts +0 -5
  138. package/dist/repositories/devices/getImeiIccidCarriers.d.ts +0 -5
  139. package/dist/repositories/devices/getServiceProviderProduct.d.ts +0 -5
  140. package/dist/repositories/devices/index.d.ts +0 -331
  141. package/dist/repositories/devices/updateClientDeviceSetting.d.ts +0 -4
  142. package/dist/repositories/devices/updateDevice.d.ts +0 -4
  143. package/dist/repositories/devices/updateDeviceType.d.ts +0 -4
  144. package/dist/repositories/devices/updateIccidStatus.d.ts +0 -4
  145. package/dist/repositories/devices/updateImeiIccidCarrier.d.ts +0 -4
  146. package/dist/repositories/devices/upsertDeviceCustomConfig.d.ts +0 -4
  147. package/dist/repositories/devices/upsertIccidStatus.d.ts +0 -4
  148. package/dist/repositories/entityTags/bulkCreateEntityTag.d.ts +0 -5
  149. package/dist/repositories/entityTags/bulkDeleteEntityTag.d.ts +0 -4
  150. package/dist/repositories/entityTags/createEntityTag.d.ts +0 -5
  151. package/dist/repositories/entityTags/deleteEntityTag.d.ts +0 -4
  152. package/dist/repositories/entityTags/deleteEntityTagById.d.ts +0 -3
  153. package/dist/repositories/entityTags/enforceEntityTagsByEntity.d.ts +0 -4
  154. package/dist/repositories/entityTags/getEntityTagById.d.ts +0 -5
  155. package/dist/repositories/entityTags/index.d.ts +0 -48
  156. package/dist/repositories/entityTags/searchEntityTags.d.ts +0 -4
  157. package/dist/repositories/features/createFeature.d.ts +0 -5
  158. package/dist/repositories/features/deleteFeature.d.ts +0 -4
  159. package/dist/repositories/features/getFeatures.d.ts +0 -4
  160. package/dist/repositories/features/index.d.ts +0 -33
  161. package/dist/repositories/features/upsertFeature.d.ts +0 -4
  162. package/dist/repositories/firmwares/createDeviceFirmware.d.ts +0 -5
  163. package/dist/repositories/firmwares/createFirmwareAutoUpgradeBlacklist.d.ts +0 -5
  164. package/dist/repositories/firmwares/createFirmwareUpgradeTask.d.ts +0 -5
  165. package/dist/repositories/firmwares/getDeviceFirmwares.d.ts +0 -4
  166. package/dist/repositories/firmwares/getFirmwareAutoUpgradeBlacklist.d.ts +0 -5
  167. package/dist/repositories/firmwares/getFirmwareUpgradeTasks.d.ts +0 -5
  168. package/dist/repositories/firmwares/getFirmwareUpgradeTasksCount.d.ts +0 -4
  169. package/dist/repositories/firmwares/index.d.ts +0 -132
  170. package/dist/repositories/firmwares/updateDeviceFirmware.d.ts +0 -4
  171. package/dist/repositories/firmwares/updateFirmwareUpgradeTasks.d.ts +0 -4
  172. package/dist/repositories/index.d.ts +0 -34
  173. package/dist/repositories/notificationRecipients/createNotificationRecipient.d.ts +0 -5
  174. package/dist/repositories/notificationRecipients/deleteNotificationRecipients.d.ts +0 -4
  175. package/dist/repositories/notificationRecipients/deleteNotificationRecipientsByEmailOrPhone.d.ts +0 -4
  176. package/dist/repositories/notificationRecipients/getNotificationRecipients.d.ts +0 -5
  177. package/dist/repositories/notificationRecipients/index.d.ts +0 -83
  178. package/dist/repositories/notificationRecipients/updateNotificationRecipient.d.ts +0 -4
  179. package/dist/repositories/notificationRecipients/updateUsersNotificationsUnsubscribedInfoStatus.d.ts +0 -4
  180. package/dist/repositories/notificationRecipients/updateUsersNotificationsUnsuscribedStatus.d.ts +0 -4
  181. package/dist/repositories/positions/createPosition.d.ts +0 -6
  182. package/dist/repositories/positions/getBatteryReportForDevice.d.ts +0 -4
  183. package/dist/repositories/positions/getLatestPositionByImei.d.ts +0 -5
  184. package/dist/repositories/positions/getPositionsByImei.d.ts +0 -5
  185. package/dist/repositories/positions/getPositionsReportByClient.d.ts +0 -4
  186. package/dist/repositories/positions/index.d.ts +0 -69
  187. package/dist/repositories/positions/mapping/mapToPositionReport.d.ts +0 -5
  188. package/dist/repositories/positions/upsertLatestPosition.d.ts +0 -4
  189. package/dist/repositories/promotions/bulkInsertDeviceTypePromotion.d.ts +0 -5
  190. package/dist/repositories/promotions/bulkInsertMarketplacePromotion.d.ts +0 -5
  191. package/dist/repositories/promotions/createPromotion.d.ts +0 -5
  192. package/dist/repositories/promotions/createPromotionHistory.d.ts +0 -5
  193. package/dist/repositories/promotions/deleteDeviceTypePromotion.d.ts +0 -4
  194. package/dist/repositories/promotions/deleteMarketplacePromotion.d.ts +0 -4
  195. package/dist/repositories/promotions/getDeviceTypePromotion.d.ts +0 -5
  196. package/dist/repositories/promotions/getMarketplacePromotion.d.ts +0 -5
  197. package/dist/repositories/promotions/getPromotions.d.ts +0 -5
  198. package/dist/repositories/promotions/index.d.ts +0 -72
  199. package/dist/repositories/promotions/promotionValidator.d.ts +0 -3
  200. package/dist/repositories/promotions/updatePromotion.d.ts +0 -4
  201. package/dist/repositories/security/bulkCreateUserAuthorizedBoundaries.d.ts +0 -4
  202. package/dist/repositories/security/bulkCreateUserAuthorizedDevices.d.ts +0 -4
  203. package/dist/repositories/security/bulkRemoveUserAuthorizedBoundaries.d.ts +0 -4
  204. package/dist/repositories/security/bulkRemoveUserAuthorizedDevices.d.ts +0 -4
  205. package/dist/repositories/security/createUserRole.d.ts +0 -5
  206. package/dist/repositories/security/getAllRoles.d.ts +0 -3
  207. package/dist/repositories/security/getAuthorizedBoundariesByUserId.d.ts +0 -5
  208. package/dist/repositories/security/getAuthorizedDevicesByUserId.d.ts +0 -5
  209. package/dist/repositories/security/getUserIdsByClientIdAndAuthorizedBoundaries.d.ts +0 -4
  210. package/dist/repositories/security/getUserIdsByClientIdAndAuthorizedDevices.d.ts +0 -4
  211. package/dist/repositories/security/getUserRoles.d.ts +0 -5
  212. package/dist/repositories/security/getUserRolesByClientId.d.ts +0 -5
  213. package/dist/repositories/security/index.d.ts +0 -64
  214. package/dist/repositories/security/removeUserRoles.d.ts +0 -4
  215. package/dist/repositories/security/updateUserRole.d.ts +0 -4
  216. package/dist/repositories/security/userIsAdminOrOwner.d.ts +0 -4
  217. package/dist/repositories/security/userIsInRole.d.ts +0 -4
  218. package/dist/repositories/tags/bulkCreateTags.d.ts +0 -5
  219. package/dist/repositories/tags/createTag.d.ts +0 -5
  220. package/dist/repositories/tags/deleteTag.d.ts +0 -4
  221. package/dist/repositories/tags/index.d.ts +0 -41
  222. package/dist/repositories/tags/searchTags.d.ts +0 -4
  223. package/dist/repositories/tags/searchTagsByUser.d.ts +0 -4
  224. package/dist/repositories/tags/updateTag.d.ts +0 -4
  225. package/dist/repositories/tasks/addTaskScheduleDevices.d.ts +0 -4
  226. package/dist/repositories/tasks/completeTask.d.ts +0 -4
  227. package/dist/repositories/tasks/createTask.d.ts +0 -5
  228. package/dist/repositories/tasks/createTaskSchedule.d.ts +0 -5
  229. package/dist/repositories/tasks/deleteTask.d.ts +0 -4
  230. package/dist/repositories/tasks/deleteTaskSchedule.d.ts +0 -4
  231. package/dist/repositories/tasks/deleteTaskScheduleDevices.d.ts +0 -4
  232. package/dist/repositories/tasks/getDeviceTasks.d.ts +0 -5
  233. package/dist/repositories/tasks/getTaskSchedule.d.ts +0 -5
  234. package/dist/repositories/tasks/getTaskSchedules.d.ts +0 -5
  235. package/dist/repositories/tasks/getTaskSchedulesCount.d.ts +0 -4
  236. package/dist/repositories/tasks/getTasks.d.ts +0 -5
  237. package/dist/repositories/tasks/getTasksCount.d.ts +0 -4
  238. package/dist/repositories/tasks/index.d.ts +0 -325
  239. package/dist/repositories/tasks/setTaskAsPastDue.d.ts +0 -4
  240. package/dist/repositories/tasks/setTaskScheduleDevices.d.ts +0 -4
  241. package/dist/repositories/tasks/updateTask.d.ts +0 -4
  242. package/dist/repositories/tasks/updateTaskSchedule.d.ts +0 -4
  243. package/dist/repositories/userActivations/createUserActivation.d.ts +0 -5
  244. package/dist/repositories/userActivations/createUserActivationDevice.d.ts +0 -5
  245. package/dist/repositories/userActivations/createUserActivationEvent.d.ts +0 -5
  246. package/dist/repositories/userActivations/createUserActivationMetric.d.ts +0 -5
  247. package/dist/repositories/userActivations/deleteUserActivation.d.ts +0 -4
  248. package/dist/repositories/userActivations/getLastActivationDevice.d.ts +0 -5
  249. package/dist/repositories/userActivations/getUserActivationById.d.ts +0 -5
  250. package/dist/repositories/userActivations/getUserActivationDevices.d.ts +0 -5
  251. package/dist/repositories/userActivations/getUserActivationDevicesByClientId.d.ts +0 -5
  252. package/dist/repositories/userActivations/getUserActivationMetrics.d.ts +0 -5
  253. package/dist/repositories/userActivations/getUserActivations.d.ts +0 -5
  254. package/dist/repositories/userActivations/index.d.ts +0 -147
  255. package/dist/repositories/userActivations/updateUserActivationDevice.d.ts +0 -4
  256. package/dist/repositories/userActivations/updateUserActivationMetrics.d.ts +0 -4
  257. package/dist/repositories/userAppFeedback/createUserAppFeedback.d.ts +0 -5
  258. package/dist/repositories/userAppFeedback/index.d.ts +0 -17
  259. package/dist/repositories/userAppIncidents/getUserAppIncidents.d.ts +0 -5
  260. package/dist/repositories/userAppIncidents/index.d.ts +0 -50
  261. package/dist/repositories/userAppIncidents/upsertUserAppIncident.d.ts +0 -4
  262. package/dist/repositories/userConfigurations/bulkCreateUserAlertConfigurations.d.ts +0 -5
  263. package/dist/repositories/userConfigurations/createUserAlertConfiguration.d.ts +0 -5
  264. package/dist/repositories/userConfigurations/createUserConfiguration.d.ts +0 -5
  265. package/dist/repositories/userConfigurations/deleteUserAlertConfigurations.d.ts +0 -4
  266. package/dist/repositories/userConfigurations/deleteUserAlertNotificationsConfig.d.ts +0 -4
  267. package/dist/repositories/userConfigurations/deleteUserConfiguration.d.ts +0 -4
  268. package/dist/repositories/userConfigurations/getUserAlertConfigurations.d.ts +0 -5
  269. package/dist/repositories/userConfigurations/getUserAlertNotificationsConfig.d.ts +0 -5
  270. package/dist/repositories/userConfigurations/getUserConfigurations.d.ts +0 -5
  271. package/dist/repositories/userConfigurations/index.d.ts +0 -170
  272. package/dist/repositories/userConfigurations/updateUserAlertConfigurations.d.ts +0 -4
  273. package/dist/repositories/userConfigurations/updateUserAlertConfigurationsByIds.d.ts +0 -4
  274. package/dist/repositories/userConfigurations/updateUserConfiguration.d.ts +0 -4
  275. package/dist/repositories/userConfigurations/upsertUserAlertNotificationsConfig.d.ts +0 -4
  276. package/dist/repositories/userDataDeletionRequests/createUserDataDeletionRequest.d.ts +0 -5
  277. package/dist/repositories/userDataDeletionRequests/getUserDataDeletionRequest.d.ts +0 -5
  278. package/dist/repositories/userDataDeletionRequests/index.d.ts +0 -39
  279. package/dist/repositories/userDataDeletionRequests/removeUserDataDeletionRequest.d.ts +0 -4
  280. package/dist/repositories/userDataDeletionRequests/updateUserDataDeletionRequest.d.ts +0 -4
  281. package/dist/repositories/userInvitations/createUserInvitation.d.ts +0 -5
  282. package/dist/repositories/userInvitations/getUserInvitationById.d.ts +0 -5
  283. package/dist/repositories/userInvitations/getUserInvitations.d.ts +0 -5
  284. package/dist/repositories/userInvitations/index.d.ts +0 -58
  285. package/dist/repositories/userInvitations/updateUserInvitation.d.ts +0 -4
  286. package/dist/repositories/userRatingRequests/createUserRatingRequest.d.ts +0 -5
  287. package/dist/repositories/userRatingRequests/getUserRatingRequests.d.ts +0 -5
  288. package/dist/repositories/userRatingRequests/index.d.ts +0 -28
  289. package/dist/repositories/userRegistrationAttempts/createUserRegistrationAttempt.d.ts +0 -5
  290. package/dist/repositories/userRegistrationAttempts/getUserRegistrationAttempts.d.ts +0 -5
  291. package/dist/repositories/userRegistrationAttempts/index.d.ts +0 -50
  292. package/dist/repositories/userRegistrationAttempts/updateUserRegistrationAttempt.d.ts +0 -4
  293. package/dist/repositories/users/createUser.d.ts +0 -5
  294. package/dist/repositories/users/deleteAccount.d.ts +0 -4
  295. package/dist/repositories/users/deleteUser.d.ts +0 -4
  296. package/dist/repositories/users/deleteUserData.d.ts +0 -4
  297. package/dist/repositories/users/getUserById.d.ts +0 -5
  298. package/dist/repositories/users/getUserClientRelatedEntitiesCount.d.ts +0 -4
  299. package/dist/repositories/users/getUserData.d.ts +0 -4
  300. package/dist/repositories/users/getUserInfoWithAmazonDevicesInfo.d.ts +0 -4
  301. package/dist/repositories/users/getUsers.d.ts +0 -5
  302. package/dist/repositories/users/getUsersConfigurationByImei.d.ts +0 -5
  303. package/dist/repositories/users/getUsersIdByPhoneAndCountryCode.d.ts +0 -4
  304. package/dist/repositories/users/getUsersInfoWithDevicesInfo.d.ts +0 -4
  305. package/dist/repositories/users/getUsersWithRoles.d.ts +0 -4
  306. package/dist/repositories/users/index.d.ts +0 -154
  307. package/dist/repositories/users/updateUser.d.ts +0 -4
  308. package/dist/types/acumatica.d.ts +0 -42
  309. package/dist/types/aempToken.d.ts +0 -20
  310. package/dist/types/alert.d.ts +0 -87
  311. package/dist/types/alertTypes.d.ts +0 -6
  312. package/dist/types/appFeatures.d.ts +0 -24
  313. package/dist/types/billing.d.ts +0 -244
  314. package/dist/types/blacklist.d.ts +0 -32
  315. package/dist/types/bleMesh.d.ts +0 -157
  316. package/dist/types/bleMeshConfiguration.d.ts +0 -30
  317. package/dist/types/boundaries.d.ts +0 -125
  318. package/dist/types/clientAlertConfiguration.d.ts +0 -103
  319. package/dist/types/clients.d.ts +0 -142
  320. package/dist/types/countries.d.ts +0 -12
  321. package/dist/types/dataExports.d.ts +0 -43
  322. package/dist/types/deactivations.d.ts +0 -25
  323. package/dist/types/deviceBehaviors.d.ts +0 -97
  324. package/dist/types/devicePairings.d.ts +0 -56
  325. package/dist/types/deviceStatus.d.ts +0 -87
  326. package/dist/types/deviceTypeFeature.d.ts +0 -23
  327. package/dist/types/devices.d.ts +0 -421
  328. package/dist/types/entitiesTags.d.ts +0 -67
  329. package/dist/types/feature.d.ts +0 -20
  330. package/dist/types/firmwares.d.ts +0 -132
  331. package/dist/types/latestUserAppInfo.d.ts +0 -12
  332. package/dist/types/liveLinks.d.ts +0 -92
  333. package/dist/types/notificationRecipients.d.ts +0 -72
  334. package/dist/types/position.d.ts +0 -72
  335. package/dist/types/promotion.d.ts +0 -121
  336. package/dist/types/security.d.ts +0 -100
  337. package/dist/types/tag.d.ts +0 -65
  338. package/dist/types/tasks.d.ts +0 -228
  339. package/dist/types/trip.d.ts +0 -98
  340. package/dist/types/user.d.ts +0 -260
  341. package/dist/types/userActivations.d.ts +0 -144
  342. package/dist/types/userAppFeedback.d.ts +0 -8
  343. package/dist/types/userAppIncidents.d.ts +0 -35
  344. package/dist/types/userConfigurations.d.ts +0 -131
  345. package/dist/types/userDataDeletionRequests.d.ts +0 -29
  346. package/dist/types/userInvitations.d.ts +0 -48
  347. package/dist/types/userRatingRequests.d.ts +0 -18
  348. package/dist/types/userRegistrationAttempts.d.ts +0 -36
  349. package/dist/utils/anyAttributeHasValue.d.ts +0 -1
  350. package/dist/utils/billingPlansHelper.d.ts +0 -3
  351. package/dist/utils/createBatchesWithMapping.d.ts +0 -1
  352. package/dist/utils/filterTools.d.ts +0 -12
@@ -1,5 +0,0 @@
1
- import { UserAuthorizedBoundarySecurityView } from '../../entities';
2
- import { NovaDataSource } from '../../novaDataSource';
3
- import { Logger } from '../../types/logger';
4
- import { GetAuthorizedResourcesByUserIdParams } from '../../types/security';
5
- export declare const getAuthorizedBoundariesByUserId: (novaDataSource: NovaDataSource, params: GetAuthorizedResourcesByUserIdParams, logger: Logger) => Promise<UserAuthorizedBoundarySecurityView[]>;
@@ -1,5 +0,0 @@
1
- import { UserAuthorizedDeviceSecurityView } from '../../entities';
2
- import { NovaDataSource } from '../../novaDataSource';
3
- import { Logger } from '../../types/logger';
4
- import { GetAuthorizedResourcesByUserIdParams } from '../../types/security';
5
- export declare const getAuthorizedDevicesByUserId: (novaDataSource: NovaDataSource, params: GetAuthorizedResourcesByUserIdParams, logger: Logger) => Promise<UserAuthorizedDeviceSecurityView[]>;
@@ -1,4 +0,0 @@
1
- import { NovaDataSource } from '../../novaDataSource';
2
- import { Logger } from '../../types/logger';
3
- import { GetUserIdsByClientIdAndAuthorizedBoundariesParams } from '../../types/security';
4
- export declare const getUserIdsByClientIdAndAuthorizedBoundaries: (novaDataSource: NovaDataSource, params: GetUserIdsByClientIdAndAuthorizedBoundariesParams, logger: Logger) => Promise<string[]>;
@@ -1,4 +0,0 @@
1
- import { NovaDataSource } from '../../novaDataSource';
2
- import { Logger } from '../../types/logger';
3
- import { GetUserIdsByClientIdAndAuthorizedDevicesParams } from '../../types/security';
4
- export declare const getUserIdsByClientIdAndAuthorizedDevices: (novaDataSource: NovaDataSource, params: GetUserIdsByClientIdAndAuthorizedDevicesParams, logger: Logger) => Promise<string[]>;
@@ -1,5 +0,0 @@
1
- import { UserSecurityRole } from '../../entities';
2
- import { NovaDataSource } from '../../novaDataSource';
3
- import { Logger } from '../../types/logger';
4
- import { GetUserRolesParams } from '../../types/security';
5
- export declare const getUserRoles: (novaDataSource: NovaDataSource, params: GetUserRolesParams, logger: Logger) => Promise<UserSecurityRole[]>;
@@ -1,5 +0,0 @@
1
- import { UserSecurityRole } from '../../entities';
2
- import { NovaDataSource } from '../../novaDataSource';
3
- import { Logger } from '../../types/logger';
4
- import { GetUserRolesByClientIdParams } from '../../types/security';
5
- export declare const getUserRolesByClientId: (novaDataSource: NovaDataSource, params: GetUserRolesByClientIdParams, logger: Logger) => Promise<UserSecurityRole[]>;
@@ -1,64 +0,0 @@
1
- import { SecurityRole, UserAuthorizedBoundarySecurityView, UserAuthorizedDeviceSecurityView, UserSecurityRole } from '../../entities';
2
- import { BulkRemoveUserAuthorizedBoundariesParams, BulkRemoveUserAuthorizedDevicesParams, CreateUserAuthorizedBoundaryParams, CreateUserAuthorizedDeviceParams, CreateUserAuthorizedOptions, CreateUserRoleParams, GetAuthorizedResourcesByUserIdParams, GetUserIdsByClientIdAndAuthorizedBoundariesParams, GetUserIdsByClientIdAndAuthorizedDevicesParams, GetUserRolesByClientIdParams, GetUserRolesParams, RemoveUserRolesParams, UpdateUserRoleParams, UserIsAdminOrOwnerParams, UserIsInRoleParams } from '../../types/security';
3
- import { BaseRepository2 } from '../baseRepository';
4
- export declare class SecurityRepository extends BaseRepository2 {
5
- /**
6
- * Get all security roles
7
- */
8
- getAllRoles(): Promise<SecurityRole[]>;
9
- /**
10
- * Get roles of the user
11
- * @param {GetUserRolesParams} params containing information to get roles of the user
12
- * - filters.userId: The user id
13
- */
14
- getUserRoles(params: GetUserRolesParams): Promise<UserSecurityRole[]>;
15
- /**
16
- * Get user roles by clientId
17
- * @param {GetUserRolesByClientIdParams} params containing information to get user roles by clientId
18
- * - filters.clientId: The client id
19
- * - filters.role: The role to only obtain user roles with that role, optional
20
- */
21
- getUserRolesByClientId(params: GetUserRolesByClientIdParams): Promise<UserSecurityRole[]>;
22
- /**
23
- * Whether the user is in role
24
- * @param {UserIsInRoleParams} params containing information to know if the user is in role
25
- * - filters.userId: The user id
26
- * - filters.role: The role to check if the user is in that role
27
- */
28
- userIsInRole(params: UserIsInRoleParams): Promise<boolean>;
29
- /**
30
- * Whether the user is admin or owner
31
- * @param {UserIsAdminOrOwnerParams} params containing information to know if the user is admin or owner
32
- * - filters.userId: The user id
33
- */
34
- userIsAdminOrOwner(params: UserIsAdminOrOwnerParams): Promise<boolean>;
35
- /**
36
- * Create user role
37
- * @param {CreateUserRoleParams} params containing information to create user role
38
- * - userId: The user id
39
- * - clientId: The client id
40
- * - roleId: The role to assign to the user
41
- */
42
- createUserRole(params: CreateUserRoleParams): Promise<UserSecurityRole>;
43
- /**
44
- * Update user role
45
- * @param {UpdateUserRoleParams} params containing information to update user role
46
- * - filters.userId: The user id to update role
47
- * - values.roleId: The role to assign to the user
48
- */
49
- updateUserRole(params: UpdateUserRoleParams): Promise<boolean>;
50
- /**
51
- * Remove user roles
52
- * @param {RemoveUserRolesParams} params containing information to remove user roles
53
- * - filters.userId: The user id to remove roles from
54
- */
55
- removeUserRoles(params: RemoveUserRolesParams): Promise<boolean>;
56
- bulkCreateUserAuthorizedDevices(params: CreateUserAuthorizedDeviceParams[], options?: CreateUserAuthorizedOptions): Promise<boolean>;
57
- getAuthorizedDevicesByUserId(params: GetAuthorizedResourcesByUserIdParams): Promise<UserAuthorizedDeviceSecurityView[]>;
58
- bulkCreateUserAuthorizedBoundaries(params: CreateUserAuthorizedBoundaryParams[], options?: CreateUserAuthorizedOptions): Promise<boolean>;
59
- getAuthorizedBoundariesByUserId(params: GetAuthorizedResourcesByUserIdParams): Promise<UserAuthorizedBoundarySecurityView[]>;
60
- bulkRemoveUserAuthorizedDevices(params: BulkRemoveUserAuthorizedDevicesParams): Promise<boolean>;
61
- bulkRemoveUserAuthorizedBoundaries(params: BulkRemoveUserAuthorizedBoundariesParams): Promise<boolean>;
62
- getUserIdsByClientIdAndAuthorizedDevices(params: GetUserIdsByClientIdAndAuthorizedDevicesParams): Promise<string[]>;
63
- getUserIdsByClientIdAndAuthorizedBoundaries(params: GetUserIdsByClientIdAndAuthorizedBoundariesParams): Promise<string[]>;
64
- }
@@ -1,4 +0,0 @@
1
- import { NovaDataSource } from '../../novaDataSource';
2
- import { Logger } from '../../types/logger';
3
- import { RemoveUserRolesParams } from '../../types/security';
4
- export declare const removeUserRoles: (novaDataSource: NovaDataSource, params: RemoveUserRolesParams, logger: Logger) => Promise<boolean>;
@@ -1,4 +0,0 @@
1
- import { NovaDataSource } from '../../novaDataSource';
2
- import { Logger } from '../../types/logger';
3
- import { UpdateUserRoleParams } from '../../types/security';
4
- export declare const updateUserRole: (novaDataSource: NovaDataSource, params: UpdateUserRoleParams, logger: Logger) => Promise<boolean>;
@@ -1,4 +0,0 @@
1
- import { NovaDataSource } from '../../novaDataSource';
2
- import { Logger } from '../../types/logger';
3
- import { UserIsAdminOrOwnerParams } from '../../types/security';
4
- export declare const userIsAdminOrOwner: (novaDataSource: NovaDataSource, params: UserIsAdminOrOwnerParams, logger: Logger) => Promise<boolean>;
@@ -1,4 +0,0 @@
1
- import { NovaDataSource } from '../../novaDataSource';
2
- import { Logger } from '../../types/logger';
3
- import { UserIsInRoleParams } from '../../types/security';
4
- export declare const userIsInRole: (novaDataSource: NovaDataSource, params: UserIsInRoleParams, logger: Logger) => Promise<boolean>;
@@ -1,5 +0,0 @@
1
- import { Tag } from '../../entities';
2
- import { NovaDataSource } from '../../novaDataSource';
3
- import { Logger } from '../../types/logger';
4
- import { BulkCreateTagParams } from '../../types/tag';
5
- export declare const bulkCreateTags: (novaDataSource: NovaDataSource, params: BulkCreateTagParams, logger: Logger) => Promise<Tag[]>;
@@ -1,5 +0,0 @@
1
- import { Tag } from '../../entities';
2
- import { NovaDataSource } from '../../novaDataSource';
3
- import { Logger } from '../../types/logger';
4
- import { CreateTagParams } from '../../types/tag';
5
- export declare const createTag: (novaDataSource: NovaDataSource, params: CreateTagParams, logger: Logger) => Promise<Tag>;
@@ -1,4 +0,0 @@
1
- import { NovaDataSource } from '../../novaDataSource';
2
- import { Logger } from '../../types/logger';
3
- import { DeleteTagParams } from '../../types/tag';
4
- export declare const deleteTag: (novaDataSource: NovaDataSource, params: DeleteTagParams, logger: Logger) => Promise<boolean>;
@@ -1,41 +0,0 @@
1
- import { Tag } from '../../entities';
2
- import { BulkCreateTagParams, CreateTagParams, DeleteTagParams, GetTagsResult, SearchTagsByUserParams, SearchTagsParams, UpdateTagParams } from '../../types/tag';
3
- import { BaseRepository } from '../baseRepository';
4
- export declare class TagsRepository extends BaseRepository {
5
- /**
6
- * Create a tag
7
- * @param {CreateTagParams} params containing information to create a tag
8
- * @returns {Tag} the created tag
9
- */
10
- createTag(params: CreateTagParams): Promise<Tag>;
11
- /**
12
- * Update a tag
13
- * @param {UpdateTagParams} params containing information to update the tag
14
- * @returns {boolean} true if the update was successful, false otherwise
15
- */
16
- updateTag(params: UpdateTagParams): Promise<boolean>;
17
- /**
18
- * Delete a tag
19
- * @param {UpdateTagParams} params containing information to delete the tag
20
- * @returns {boolean} true if the delete was successful, false otherwise
21
- */
22
- deleteTag(params: DeleteTagParams): Promise<boolean>;
23
- /**
24
- * Search for tags
25
- * @param {SearchTagsParams} params containing information to search for tags
26
- * @returns {Tag[]} the tags found
27
- */
28
- searchTags(params: SearchTagsParams): Promise<GetTagsResult>;
29
- /**
30
- * Bulk create tags
31
- * @param {BulkCreateTagParams} params containing information to create tags
32
- * @returns {Tag[]} the created tags
33
- */
34
- bulkCreateTags(params: BulkCreateTagParams): Promise<Tag[]>;
35
- /**
36
- * Search for tags by a given user
37
- * @param {SearchTagsByUserParams} params containing information to search for tags by user
38
- * @returns {Tag[]} the tags found
39
- */
40
- searchTagsByUser(params: SearchTagsByUserParams): Promise<GetTagsResult>;
41
- }
@@ -1,4 +0,0 @@
1
- import { NovaDataSource } from '../../novaDataSource';
2
- import { Logger } from '../../types/logger';
3
- import { GetTagsResult, SearchTagsParams } from '../../types/tag';
4
- export declare const searchTags: (novaDataSource: NovaDataSource, params: SearchTagsParams, logger: Logger) => Promise<GetTagsResult>;
@@ -1,4 +0,0 @@
1
- import { NovaDataSource } from '../../novaDataSource';
2
- import { Logger } from '../../types/logger';
3
- import { GetTagsResult, SearchTagsByUserParams } from '../../types/tag';
4
- export declare const searchTagsByUser: (novaDataSource: NovaDataSource, params: SearchTagsByUserParams, logger: Logger) => Promise<GetTagsResult>;
@@ -1,4 +0,0 @@
1
- import { NovaDataSource } from '../../novaDataSource';
2
- import { Logger } from '../../types/logger';
3
- import { UpdateTagParams } from '../../types/tag';
4
- export declare const updateTag: (novaDataSource: NovaDataSource, params: UpdateTagParams, logger: Logger) => Promise<boolean>;
@@ -1,4 +0,0 @@
1
- import { NovaDataSource } from '../../novaDataSource';
2
- import { Logger } from '../../types/logger';
3
- import { AddTaskScheduleDevicesParams } from '../../types/tasks';
4
- export declare const addTaskScheduleDevices: (novaDataSource: NovaDataSource, params: AddTaskScheduleDevicesParams, logger: Logger) => Promise<boolean>;
@@ -1,4 +0,0 @@
1
- import { NovaDataSource } from '../../novaDataSource';
2
- import { Logger } from '../../types/logger';
3
- import { CompleteTaskParams } from '../../types/tasks';
4
- export declare const completeTask: (novaDataSource: NovaDataSource, params: CompleteTaskParams, logger: Logger) => Promise<boolean>;
@@ -1,5 +0,0 @@
1
- import { Task } from '../../entities';
2
- import { NovaDataSource } from '../../novaDataSource';
3
- import { Logger } from '../../types/logger';
4
- import { CreateTaskParams } from '../../types/tasks';
5
- export declare const createTask: (novaDataSource: NovaDataSource, params: CreateTaskParams, logger: Logger) => Promise<Task>;
@@ -1,5 +0,0 @@
1
- import { TaskSchedule } from '../../entities';
2
- import { NovaDataSource } from '../../novaDataSource';
3
- import { Logger } from '../../types/logger';
4
- import { CreateTaskScheduleParams } from '../../types/tasks';
5
- export declare const createTaskSchedule: (novaDataSource: NovaDataSource, params: CreateTaskScheduleParams, logger: Logger) => Promise<TaskSchedule>;
@@ -1,4 +0,0 @@
1
- import { NovaDataSource } from '../../novaDataSource';
2
- import { Logger } from '../../types/logger';
3
- import { DeleteTaskParams } from '../../types/tasks';
4
- export declare const deleteTask: (novaDataSource: NovaDataSource, params: DeleteTaskParams, logger: Logger) => Promise<boolean>;
@@ -1,4 +0,0 @@
1
- import { NovaDataSource } from '../../novaDataSource';
2
- import { Logger } from '../../types/logger';
3
- import { DeleteTaskScheduleParams } from '../../types/tasks';
4
- export declare const deleteTaskSchedule: (novaDataSource: NovaDataSource, params: DeleteTaskScheduleParams, logger: Logger) => Promise<boolean>;
@@ -1,4 +0,0 @@
1
- import { NovaDataSource } from '../../novaDataSource';
2
- import { Logger } from '../../types/logger';
3
- import { DeleteTaskScheduleDevicesParams } from '../../types/tasks';
4
- export declare const deleteTaskScheduleDevices: (novaDataSource: NovaDataSource, params: DeleteTaskScheduleDevicesParams, logger: Logger) => Promise<boolean>;
@@ -1,5 +0,0 @@
1
- import { DeviceTask } from '../../entities';
2
- import { NovaDataSource } from '../../novaDataSource';
3
- import { Logger } from '../../types/logger';
4
- import { GetDeviceTasksParams } from '../../types/tasks';
5
- export declare const getDeviceTasks: (novaDataSource: NovaDataSource, params: GetDeviceTasksParams, logger: Logger) => Promise<DeviceTask[]>;
@@ -1,5 +0,0 @@
1
- import { TaskSchedule } from '../../entities';
2
- import { NovaDataSource } from '../../novaDataSource';
3
- import { Logger } from '../../types/logger';
4
- import { GetTaskScheduleParams } from '../../types/tasks';
5
- export declare const getTaskSchedule: (novaDataSource: NovaDataSource, params: GetTaskScheduleParams, logger: Logger) => Promise<TaskSchedule>;
@@ -1,5 +0,0 @@
1
- import { TaskSchedule } from '../../entities';
2
- import { NovaDataSource } from '../../novaDataSource';
3
- import { Logger } from '../../types/logger';
4
- import { GetTaskSchedulesParams } from '../../types/tasks';
5
- export declare const getTaskSchedules: (novaDataSource: NovaDataSource, params: GetTaskSchedulesParams, logger: Logger) => Promise<TaskSchedule[]>;
@@ -1,4 +0,0 @@
1
- import { NovaDataSource } from '../../novaDataSource';
2
- import { Logger } from '../../types/logger';
3
- import { GetTaskSchedulesCountParams } from '../../types/tasks';
4
- export declare const getTaskSchedulesCount: (novaDataSource: NovaDataSource, params: GetTaskSchedulesCountParams, logger: Logger) => Promise<number>;
@@ -1,5 +0,0 @@
1
- import { Task } from '../../entities';
2
- import { NovaDataSource } from '../../novaDataSource';
3
- import { Logger } from '../../types/logger';
4
- import { GetTasksParams } from '../../types/tasks';
5
- export declare const getTasks: (novaDataSource: NovaDataSource, params: GetTasksParams, logger: Logger) => Promise<Task[]>;
@@ -1,4 +0,0 @@
1
- import { NovaDataSource } from '../../novaDataSource';
2
- import { Logger } from '../../types/logger';
3
- import { GetTasksCountParams } from '../../types/tasks';
4
- export declare const getTasksCount: (novaDataSource: NovaDataSource, params: GetTasksCountParams, logger: Logger) => Promise<number>;
@@ -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>;