@spytecgps/nova-orm 1.3.145 → 1.4.0

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 (566) hide show
  1. package/dist/entities/acumaticaAmazonProduct.d.ts +8 -8
  2. package/dist/entities/acumaticaImeiIccidData.d.ts +17 -17
  3. package/dist/entities/acumaticaOrderShipmentDetails.d.ts +11 -11
  4. package/dist/entities/acumaticaShipment.d.ts +5 -5
  5. package/dist/entities/acumaticaShipmentAmazon.d.ts +4 -4
  6. package/dist/entities/aempToken.d.ts +10 -10
  7. package/dist/entities/airflow/airflowAcumaticaExportImeiIccidData.d.ts +15 -15
  8. package/dist/entities/airflow/airflowAcumaticaExportOrderShipmentDetails.d.ts +28 -28
  9. package/dist/entities/airflow/airflowAcumaticaShipmentsAmazon.d.ts +7 -7
  10. package/dist/entities/alert.d.ts +29 -29
  11. package/dist/entities/alertType.d.ts +14 -14
  12. package/dist/entities/appFeatureType.d.ts +6 -6
  13. package/dist/entities/asinPromotion.d.ts +7 -7
  14. package/dist/entities/assetCategory.d.ts +5 -5
  15. package/dist/entities/assetProfile.d.ts +24 -24
  16. package/dist/entities/assetProfileCategory.d.ts +7 -7
  17. package/dist/entities/assetProfileCustomField.d.ts +11 -11
  18. package/dist/entities/assetProfileMedia.d.ts +12 -12
  19. package/dist/entities/assetProfileNote.d.ts +12 -12
  20. package/dist/entities/assetProfileType.d.ts +9 -9
  21. package/dist/entities/avalaraExemptCert.d.ts +7 -7
  22. package/dist/entities/avalaraQueue.d.ts +10 -10
  23. package/dist/entities/beaconBleMesh.d.ts +11 -11
  24. package/dist/entities/billing.d.ts +20 -20
  25. package/dist/entities/billingCustomerAmazon.d.ts +13 -13
  26. package/dist/entities/billingCustomerBraintree.d.ts +11 -11
  27. package/dist/entities/billingDeviceHistory.d.ts +11 -11
  28. package/dist/entities/billingDeviceTypePlan.d.ts +12 -12
  29. package/dist/entities/billingHubspotPaymentLog.d.ts +50 -50
  30. package/dist/entities/billingKlarnaCustomer.d.ts +14 -14
  31. package/dist/entities/billingKlarnaOrder.d.ts +18 -18
  32. package/dist/entities/billingPlanFeatures.d.ts +6 -6
  33. package/dist/entities/billingPlans.d.ts +22 -22
  34. package/dist/entities/billingStatusHistoryBraintree.d.ts +10 -10
  35. package/dist/entities/billingSubscriptionAmazon.d.ts +21 -21
  36. package/dist/entities/billingSubscriptionBraintree.d.ts +34 -34
  37. package/dist/entities/blacklist.d.ts +9 -9
  38. package/dist/entities/blacklistType.d.ts +5 -5
  39. package/dist/entities/bleMesh.d.ts +15 -15
  40. package/dist/entities/bleMeshConfiguration.d.ts +9 -9
  41. package/dist/entities/boundary.d.ts +23 -23
  42. package/dist/entities/boundaryEvent.d.ts +21 -21
  43. package/dist/entities/cellTower.d.ts +12 -12
  44. package/dist/entities/client.d.ts +34 -34
  45. package/dist/entities/clientAlertConfiguration.d.ts +20 -20
  46. package/dist/entities/clientAlertRecipient.d.ts +16 -16
  47. package/dist/entities/clientAppFeature.d.ts +9 -9
  48. package/dist/entities/clientConfiguration.d.ts +10 -10
  49. package/dist/entities/clientDeviceIcon.d.ts +9 -9
  50. package/dist/entities/clientDeviceSetting.d.ts +15 -15
  51. package/dist/entities/clientIngestorConfiguration.d.ts +11 -11
  52. package/dist/entities/clientType.d.ts +6 -6
  53. package/dist/entities/country.d.ts +16 -16
  54. package/dist/entities/customerAttribute.d.ts +15 -15
  55. package/dist/entities/dataExport.d.ts +17 -17
  56. package/dist/entities/dataSourceType.d.ts +5 -5
  57. package/dist/entities/deactivation.d.ts +14 -14
  58. package/dist/entities/deactivationReason.d.ts +6 -6
  59. package/dist/entities/device.d.ts +43 -43
  60. package/dist/entities/deviceBehavior.d.ts +26 -26
  61. package/dist/entities/deviceBleMesh.d.ts +14 -14
  62. package/dist/entities/deviceBleMeshUpdateTask.d.ts +18 -18
  63. package/dist/entities/deviceCameraMedia.d.ts +30 -30
  64. package/dist/entities/deviceCameraMediaEventType.d.ts +6 -6
  65. package/dist/entities/deviceCameraMediaStreamingData.d.ts +17 -17
  66. package/dist/entities/deviceCameraMediaSyncStatus.d.ts +14 -14
  67. package/dist/entities/deviceCameraRequestedPictureData.d.ts +14 -14
  68. package/dist/entities/deviceCameraRequestedVideoData.d.ts +19 -19
  69. package/dist/entities/deviceChangesHistory.d.ts +8 -8
  70. package/dist/entities/deviceCustomConfiguration.d.ts +13 -13
  71. package/dist/entities/deviceEventsTriggerConfiguration.d.ts +11 -11
  72. package/dist/entities/deviceHistory.d.ts +8 -8
  73. package/dist/entities/deviceModelListener.d.ts +8 -8
  74. package/dist/entities/devicePairing.d.ts +14 -14
  75. package/dist/entities/devicePromotion.d.ts +7 -7
  76. package/dist/entities/deviceReplacement.d.ts +12 -12
  77. package/dist/entities/deviceStatus.d.ts +13 -13
  78. package/dist/entities/deviceTask.d.ts +8 -8
  79. package/dist/entities/deviceType.d.ts +27 -27
  80. package/dist/entities/deviceTypeFeature.d.ts +5 -5
  81. package/dist/entities/deviceTypeFirmware.d.ts +28 -28
  82. package/dist/entities/deviceTypePromotion.d.ts +7 -7
  83. package/dist/entities/emailDomain.d.ts +5 -5
  84. package/dist/entities/entityTag.d.ts +19 -19
  85. package/dist/entities/entityType.d.ts +5 -5
  86. package/dist/entities/feature.d.ts +6 -6
  87. package/dist/entities/firmwareAutoUpgradeBlacklist.d.ts +6 -6
  88. package/dist/entities/firmwareUpgradeTask.d.ts +23 -23
  89. package/dist/entities/historicalBillingPlan.d.ts +22 -22
  90. package/dist/entities/iccidStatus.d.ts +7 -7
  91. package/dist/entities/imeiIccidCarrier.d.ts +23 -23
  92. package/dist/entities/imeiIccidHistory.d.ts +7 -7
  93. package/dist/entities/imeiIccidImport.d.ts +5 -5
  94. package/dist/entities/index.d.ts +145 -145
  95. package/dist/entities/industry.d.ts +8 -8
  96. package/dist/entities/latestPosition.d.ts +22 -22
  97. package/dist/entities/latestUserAppInfo.d.ts +9 -9
  98. package/dist/entities/liveLink.d.ts +23 -23
  99. package/dist/entities/liveLinkMedia.d.ts +11 -11
  100. package/dist/entities/m2Sync.d.ts +16 -16
  101. package/dist/entities/magento2Gps.d.ts +51 -51
  102. package/dist/entities/magento2Plan.d.ts +6 -6
  103. package/dist/entities/marketplacePromotion.d.ts +7 -7
  104. package/dist/entities/mobileNetwork.d.ts +9 -9
  105. package/dist/entities/notificationRecipient.d.ts +23 -23
  106. package/dist/entities/orderShipmentInternational.d.ts +12 -12
  107. package/dist/entities/organization.d.ts +10 -10
  108. package/dist/entities/plan.d.ts +16 -16
  109. package/dist/entities/position.d.ts +23 -23
  110. package/dist/entities/promotion.d.ts +24 -24
  111. package/dist/entities/promotionHistory.d.ts +12 -12
  112. package/dist/entities/region.d.ts +10 -10
  113. package/dist/entities/reportScheduleConfiguration.d.ts +16 -17
  114. package/dist/entities/securityRole.d.ts +10 -10
  115. package/dist/entities/serviceProvider.d.ts +7 -7
  116. package/dist/entities/serviceProviderProduct.d.ts +9 -9
  117. package/dist/entities/serviceProviderProductNetwork.d.ts +5 -5
  118. package/dist/entities/serviceProviderProductType.d.ts +5 -5
  119. package/dist/entities/sim.d.ts +16 -16
  120. package/dist/entities/tag.d.ts +13 -13
  121. package/dist/entities/task.d.ts +36 -36
  122. package/dist/entities/taskSchedule.d.ts +29 -29
  123. package/dist/entities/trip.d.ts +30 -30
  124. package/dist/entities/tripCompletionStatus.d.ts +6 -6
  125. package/dist/entities/tripPosition.d.ts +4 -4
  126. package/dist/entities/tripStatus.d.ts +6 -6
  127. package/dist/entities/user.d.ts +48 -48
  128. package/dist/entities/userActivation.d.ts +10 -10
  129. package/dist/entities/userActivationDevice.d.ts +28 -28
  130. package/dist/entities/userActivationEvent.d.ts +13 -13
  131. package/dist/entities/userActivationMetric.d.ts +39 -39
  132. package/dist/entities/userAlertComplain.d.ts +18 -18
  133. package/dist/entities/userAlertConfiguration.d.ts +25 -25
  134. package/dist/entities/userAlertNotificationsConfig.d.ts +14 -14
  135. package/dist/entities/userAppFeedback.d.ts +11 -11
  136. package/dist/entities/userAppIncident.d.ts +30 -30
  137. package/dist/entities/userAuthorizedBoundary.d.ts +8 -8
  138. package/dist/entities/userAuthorizedBoundarySecurityView.d.ts +5 -5
  139. package/dist/entities/userAuthorizedDevice.d.ts +8 -8
  140. package/dist/entities/userAuthorizedDeviceSecurityView.d.ts +5 -5
  141. package/dist/entities/userConfiguration.d.ts +21 -21
  142. package/dist/entities/userDataDeletionRequest.d.ts +12 -12
  143. package/dist/entities/userDeviceBehaviorTask.d.ts +16 -16
  144. package/dist/entities/userInvitation.d.ts +21 -21
  145. package/dist/entities/userRatingRequest.d.ts +14 -14
  146. package/dist/entities/userRegistrationAttempt.d.ts +36 -36
  147. package/dist/entities/userSecurityRole.d.ts +18 -18
  148. package/dist/entities/websocketConnection.d.ts +7 -7
  149. package/dist/index.d.ts +28 -26
  150. package/dist/index.js +1 -1
  151. package/dist/index.js.map +1 -1
  152. package/dist/migration/1684483704434-addLowerCaseIndex.d.ts +5 -5
  153. package/dist/migration/1684483704434-addLowerCaseIndex.js +21 -21
  154. package/dist/novaDataSource.d.ts +93 -88
  155. package/dist/repositories/acumatica/getAcumaticaImeiIccidData.d.ts +5 -5
  156. package/dist/repositories/acumatica/getAcumaticaShipmentAmazon.d.ts +5 -5
  157. package/dist/repositories/acumatica/getAcumaticaShipmentDetails.d.ts +4 -4
  158. package/dist/repositories/acumatica/getLastAcumaticaShipmentDetails.d.ts +4 -4
  159. package/dist/repositories/acumatica/getOrderShipmentInternational.d.ts +5 -5
  160. package/dist/repositories/acumatica/index.d.ts +47 -47
  161. package/dist/repositories/aempToken/createAempToken.d.ts +5 -5
  162. package/dist/repositories/aempToken/deleteAempTokens.d.ts +4 -4
  163. package/dist/repositories/aempToken/getAempTokens.d.ts +5 -5
  164. package/dist/repositories/aempToken/index.d.ts +33 -33
  165. package/dist/repositories/alertTypes/getAlertTypes.d.ts +4 -4
  166. package/dist/repositories/alertTypes/index.d.ts +6 -6
  167. package/dist/repositories/alerts/createAlert.d.ts +6 -6
  168. package/dist/repositories/alerts/createUserAlertComplain.d.ts +4 -4
  169. package/dist/repositories/alerts/getAlertsReportByClient.d.ts +7 -7
  170. package/dist/repositories/alerts/getAlertsReportByUser.d.ts +4 -4
  171. package/dist/repositories/alerts/index.d.ts +78 -78
  172. package/dist/repositories/appFeatures/createAppFeatureType.d.ts +5 -5
  173. package/dist/repositories/appFeatures/createClientAppFeature.d.ts +5 -5
  174. package/dist/repositories/appFeatures/getClientAppFeatures.d.ts +5 -5
  175. package/dist/repositories/appFeatures/index.d.ts +37 -37
  176. package/dist/repositories/assetCategories/getAssetCategories.d.ts +3 -3
  177. package/dist/repositories/assetCategories/index.d.ts +9 -9
  178. package/dist/repositories/baseRepository.d.ts +21 -21
  179. package/dist/repositories/billing/createBilling.d.ts +5 -5
  180. package/dist/repositories/billing/createBillingDeviceHistory.d.ts +5 -5
  181. package/dist/repositories/billing/createBillingHubspotPaymentLog.d.ts +5 -5
  182. package/dist/repositories/billing/createBillingStatusHistoryBraintree.d.ts +5 -5
  183. package/dist/repositories/billing/getBillingCustomerBraintreeById.d.ts +5 -5
  184. package/dist/repositories/billing/getBillingDeviceTypePlans.d.ts +5 -5
  185. package/dist/repositories/billing/getBillingPlans.d.ts +4 -4
  186. package/dist/repositories/billing/getBillingSubscriptionsBraintree.d.ts +5 -5
  187. package/dist/repositories/billing/getBillings.d.ts +5 -5
  188. package/dist/repositories/billing/getBraintreePastDueSubscriptions.d.ts +4 -4
  189. package/dist/repositories/billing/getCanceledImeis.d.ts +4 -4
  190. package/dist/repositories/billing/getCanceledImeisMatchingMagentoData.d.ts +4 -4
  191. package/dist/repositories/billing/getChurnStatusByClientId.d.ts +4 -4
  192. package/dist/repositories/billing/getClientIdFromBraintreeCustomer.d.ts +4 -4
  193. package/dist/repositories/billing/getMagentoPlan.d.ts +5 -5
  194. package/dist/repositories/billing/getUserByBraintreeCustomerId.d.ts +5 -5
  195. package/dist/repositories/billing/index.d.ts +217 -217
  196. package/dist/repositories/billing/updateBilling.d.ts +4 -4
  197. package/dist/repositories/billing/updateBillingCustomerBraintree.d.ts +4 -4
  198. package/dist/repositories/billing/upsertBillingCustomerBraintree.d.ts +5 -5
  199. package/dist/repositories/billing/upsertBillingDeviceTypePlan.d.ts +5 -5
  200. package/dist/repositories/billing/upsertBillingPlans.d.ts +5 -5
  201. package/dist/repositories/billing/upsertBillingSubscriptionBraintree.d.ts +4 -4
  202. package/dist/repositories/blacklist/deleteBlackList.d.ts +4 -4
  203. package/dist/repositories/blacklist/getBlacklists.d.ts +5 -5
  204. package/dist/repositories/blacklist/index.d.ts +43 -43
  205. package/dist/repositories/blacklist/updateBlackList.d.ts +4 -4
  206. package/dist/repositories/blacklist/upsertBlackList.d.ts +5 -5
  207. package/dist/repositories/bleMesh/addBeaconBLEMesh.d.ts +5 -5
  208. package/dist/repositories/bleMesh/addDevicesToBLEMesh.d.ts +5 -5
  209. package/dist/repositories/bleMesh/createBLEMesh.d.ts +5 -5
  210. package/dist/repositories/bleMesh/createDeviceBLEMeshUpdateTask.d.ts +5 -5
  211. package/dist/repositories/bleMesh/getBLEMeshes.d.ts +4 -4
  212. package/dist/repositories/bleMesh/getBeaconBLEMeshes.d.ts +4 -4
  213. package/dist/repositories/bleMesh/getDeviceBLEMeshUpdateTasks.d.ts +4 -4
  214. package/dist/repositories/bleMesh/getDeviceBLEMeshes.d.ts +4 -4
  215. package/dist/repositories/bleMesh/index.d.ts +157 -157
  216. package/dist/repositories/bleMesh/removeBLEMesh.d.ts +4 -4
  217. package/dist/repositories/bleMesh/removeBeaconBLEMeshes.d.ts +4 -4
  218. package/dist/repositories/bleMesh/removeBeaconsFromBLEMesh.d.ts +4 -4
  219. package/dist/repositories/bleMesh/removeDevicesFromBLEMesh.d.ts +4 -4
  220. package/dist/repositories/bleMesh/updateBLEMesh.d.ts +4 -4
  221. package/dist/repositories/bleMesh/updateBeaconBLEMesh.d.ts +4 -4
  222. package/dist/repositories/bleMesh/updateDevicesBLEMesh.d.ts +4 -4
  223. package/dist/repositories/bleMesh/updateDevicesBLEMeshUpdateTask.d.ts +4 -4
  224. package/dist/repositories/bleMeshConfiguration/createBLEMeshConfigurationParams.d.ts +5 -5
  225. package/dist/repositories/bleMeshConfiguration/deleteBLEMeshConfiguration.d.ts +4 -4
  226. package/dist/repositories/bleMeshConfiguration/getBLEMeshConfiguration.d.ts +5 -5
  227. package/dist/repositories/bleMeshConfiguration/index.d.ts +46 -46
  228. package/dist/repositories/bleMeshConfiguration/updateBLEMeshConfiguration.d.ts +4 -4
  229. package/dist/repositories/boundaries/createBoundary.d.ts +5 -5
  230. package/dist/repositories/boundaries/deleteBoundary.d.ts +4 -4
  231. package/dist/repositories/boundaries/getBoundariesByClientId.d.ts +5 -5
  232. package/dist/repositories/boundaries/getBoundariesIdsByClientId.d.ts +4 -4
  233. package/dist/repositories/boundaries/getBoundariesReport.d.ts +4 -4
  234. package/dist/repositories/boundaries/getBoundaryById.d.ts +5 -5
  235. package/dist/repositories/boundaries/index.d.ts +106 -106
  236. package/dist/repositories/boundaries/processBoundaryEvent.d.ts +4 -4
  237. package/dist/repositories/boundaries/updateBoundary.d.ts +4 -4
  238. package/dist/repositories/boundaries/upsertBoundaryEvent.d.ts +4 -4
  239. package/dist/repositories/clientAlertConfiguration/createClientAlertConfiguration.d.ts +5 -5
  240. package/dist/repositories/clientAlertConfiguration/deleteClientAlertConfiguration.d.ts +4 -4
  241. package/dist/repositories/clientAlertConfiguration/getClientAlertConfigurations.d.ts +5 -5
  242. package/dist/repositories/clientAlertConfiguration/getClientAlertRecipients.d.ts +4 -4
  243. package/dist/repositories/clientAlertConfiguration/getUsersDataForClientAlertConfig.d.ts +4 -4
  244. package/dist/repositories/clientAlertConfiguration/index.d.ts +13 -13
  245. package/dist/repositories/clientAlertConfiguration/isUserAllowedForAlertConfig.d.ts +4 -4
  246. package/dist/repositories/clientAlertConfiguration/setClientAlertRecipients.d.ts +4 -4
  247. package/dist/repositories/clientAlertConfiguration/updateClientAlertConfiguration.d.ts +4 -4
  248. package/dist/repositories/clients/createClient.d.ts +5 -5
  249. package/dist/repositories/clients/createClientConfiguration.d.ts +5 -5
  250. package/dist/repositories/clients/createClientIngestorConfiguration.d.ts +5 -5
  251. package/dist/repositories/clients/createCustomerAttribute.d.ts +5 -5
  252. package/dist/repositories/clients/deleteClientAndConfiguration.d.ts +4 -4
  253. package/dist/repositories/clients/getClient.d.ts +5 -5
  254. package/dist/repositories/clients/getClientConfiguration.d.ts +5 -5
  255. package/dist/repositories/clients/getClientIngestorConfigurations.d.ts +4 -4
  256. package/dist/repositories/clients/getClients.d.ts +5 -5
  257. package/dist/repositories/clients/getCustomerAttribute.d.ts +5 -5
  258. package/dist/repositories/clients/index.d.ts +138 -138
  259. package/dist/repositories/clients/updateClient.d.ts +4 -4
  260. package/dist/repositories/clients/updateClientConfiguration.d.ts +4 -4
  261. package/dist/repositories/clients/updateCustomerAttribute.d.ts +4 -4
  262. package/dist/repositories/countries/getCountries.d.ts +4 -4
  263. package/dist/repositories/countries/getCountry.d.ts +5 -5
  264. package/dist/repositories/countries/index.d.ts +20 -20
  265. package/dist/repositories/dataExports/createDataExports.d.ts +5 -5
  266. package/dist/repositories/dataExports/getDataExports.d.ts +4 -4
  267. package/dist/repositories/dataExports/index.d.ts +38 -38
  268. package/dist/repositories/dataExports/updateDataExports.d.ts +4 -4
  269. package/dist/repositories/deactivations/createDeactivation.d.ts +5 -5
  270. package/dist/repositories/deactivations/getDeactivationReasons.d.ts +5 -5
  271. package/dist/repositories/deactivations/getLatestDeactivationByImei.d.ts +5 -5
  272. package/dist/repositories/deactivations/index.d.ts +38 -38
  273. package/dist/repositories/deviceBehaviors/createDeviceBehaviorTask.d.ts +5 -5
  274. package/dist/repositories/deviceBehaviors/getDeviceBehaviorTasks.d.ts +5 -5
  275. package/dist/repositories/deviceBehaviors/getDeviceBehaviors.d.ts +5 -5
  276. package/dist/repositories/deviceBehaviors/getDeviceBehaviorsByIds.d.ts +5 -5
  277. package/dist/repositories/deviceBehaviors/index.d.ts +70 -70
  278. package/dist/repositories/deviceBehaviors/updateDeviceBehaviorTask.d.ts +4 -4
  279. package/dist/repositories/deviceBehaviors/upsertDeviceBehavior.d.ts +5 -5
  280. package/dist/repositories/devicePairings/createDevicePairing.d.ts +5 -5
  281. package/dist/repositories/devicePairings/deleteDevicePairing.d.ts +4 -4
  282. package/dist/repositories/devicePairings/getDevicePairings.d.ts +5 -5
  283. package/dist/repositories/devicePairings/getDevicePairingsByClientId.d.ts +5 -5
  284. package/dist/repositories/devicePairings/getDevicePairingsByImei.d.ts +5 -5
  285. package/dist/repositories/devicePairings/index.d.ts +65 -65
  286. package/dist/repositories/devicePairings/updateDevicePairing.d.ts +4 -4
  287. package/dist/repositories/deviceStatus/extendedDeviceStatus.d.ts +12 -12
  288. package/dist/repositories/deviceStatus/getDeviceStatuses.d.ts +4 -4
  289. package/dist/repositories/deviceStatus/getDeviceStatusesCount.d.ts +4 -4
  290. package/dist/repositories/deviceStatus/index.d.ts +35 -35
  291. package/dist/repositories/deviceStatus/upsertDeviceStatuses.d.ts +4 -4
  292. package/dist/repositories/deviceTypeFeature/bulkCreateDeviceTypeFeature.d.ts +5 -5
  293. package/dist/repositories/deviceTypeFeature/deleteDeviceTypeFeature.d.ts +4 -4
  294. package/dist/repositories/deviceTypeFeature/getDeviceTypeFeatures.d.ts +4 -4
  295. package/dist/repositories/deviceTypeFeature/index.d.ts +27 -27
  296. package/dist/repositories/devices/addDeviceChangesHistory.d.ts +5 -5
  297. package/dist/repositories/devices/allImeisAreActiveForClient.d.ts +4 -4
  298. package/dist/repositories/devices/createClientDeviceSetting.d.ts +5 -5
  299. package/dist/repositories/devices/createDevice.d.ts +5 -5
  300. package/dist/repositories/devices/createDeviceReplacement.d.ts +5 -5
  301. package/dist/repositories/devices/createDeviceType.d.ts +5 -5
  302. package/dist/repositories/devices/createImeiIccidCarrier.d.ts +5 -5
  303. package/dist/repositories/devices/deleteDevice.d.ts +4 -4
  304. package/dist/repositories/devices/generateDeviceIdentifierKey.d.ts +4 -4
  305. package/dist/repositories/devices/getCanceledDevicesWithActiveSimCards.d.ts +4 -4
  306. package/dist/repositories/devices/getCarrierStatusUpdatedBefore.d.ts +4 -4
  307. package/dist/repositories/devices/getClientDeviceSetting.d.ts +5 -5
  308. package/dist/repositories/devices/getClientDeviceSettings.d.ts +5 -5
  309. package/dist/repositories/devices/getDevice.d.ts +5 -5
  310. package/dist/repositories/devices/getDeviceChangesHistory.d.ts +5 -5
  311. package/dist/repositories/devices/getDeviceChangesHistoryAssignedToValuesByClient.d.ts +4 -4
  312. package/dist/repositories/devices/getDeviceCustomConfig.d.ts +5 -5
  313. package/dist/repositories/devices/getDeviceTypeByImei.d.ts +5 -5
  314. package/dist/repositories/devices/getDeviceTypes.d.ts +4 -4
  315. package/dist/repositories/devices/getDeviceTypesModelsOrderedByDeviceCount.d.ts +3 -3
  316. package/dist/repositories/devices/getDeviceWithUsersInfo.d.ts +4 -4
  317. package/dist/repositories/devices/getDevices.d.ts +5 -5
  318. package/dist/repositories/devices/getDevicesCountByStatus.d.ts +4 -4
  319. package/dist/repositories/devices/getFilteredImeisWithStatus.d.ts +4 -4
  320. package/dist/repositories/devices/getIccidStatus.d.ts +5 -5
  321. package/dist/repositories/devices/getImeiIccidCarrier.d.ts +5 -5
  322. package/dist/repositories/devices/getImeiIccidCarriers.d.ts +5 -5
  323. package/dist/repositories/devices/getServiceProviderProduct.d.ts +5 -5
  324. package/dist/repositories/devices/index.d.ts +331 -331
  325. package/dist/repositories/devices/updateClientDeviceSetting.d.ts +4 -4
  326. package/dist/repositories/devices/updateDevice.d.ts +4 -4
  327. package/dist/repositories/devices/updateDeviceType.d.ts +4 -4
  328. package/dist/repositories/devices/updateIccidStatus.d.ts +4 -4
  329. package/dist/repositories/devices/updateImeiIccidCarrier.d.ts +4 -4
  330. package/dist/repositories/devices/upsertDeviceCustomConfig.d.ts +4 -4
  331. package/dist/repositories/devices/upsertIccidStatus.d.ts +4 -4
  332. package/dist/repositories/entityTags/bulkCreateEntityTag.d.ts +5 -5
  333. package/dist/repositories/entityTags/bulkDeleteEntityTag.d.ts +4 -4
  334. package/dist/repositories/entityTags/createEntityTag.d.ts +5 -5
  335. package/dist/repositories/entityTags/deleteEntityTag.d.ts +4 -4
  336. package/dist/repositories/entityTags/deleteEntityTagById.d.ts +3 -3
  337. package/dist/repositories/entityTags/enforceEntityTagsByEntity.d.ts +4 -4
  338. package/dist/repositories/entityTags/getEntityTagById.d.ts +5 -5
  339. package/dist/repositories/entityTags/index.d.ts +48 -48
  340. package/dist/repositories/entityTags/searchEntityTags.d.ts +4 -4
  341. package/dist/repositories/features/createFeature.d.ts +5 -5
  342. package/dist/repositories/features/deleteFeature.d.ts +4 -4
  343. package/dist/repositories/features/getFeatures.d.ts +4 -4
  344. package/dist/repositories/features/index.d.ts +33 -33
  345. package/dist/repositories/features/upsertFeature.d.ts +4 -4
  346. package/dist/repositories/firmwares/createDeviceFirmware.d.ts +5 -5
  347. package/dist/repositories/firmwares/createFirmwareAutoUpgradeBlacklist.d.ts +5 -5
  348. package/dist/repositories/firmwares/createFirmwareUpgradeTask.d.ts +5 -5
  349. package/dist/repositories/firmwares/getDeviceFirmwares.d.ts +4 -4
  350. package/dist/repositories/firmwares/getFirmwareAutoUpgradeBlacklist.d.ts +5 -5
  351. package/dist/repositories/firmwares/getFirmwareUpgradeTasks.d.ts +5 -5
  352. package/dist/repositories/firmwares/getFirmwareUpgradeTasksCount.d.ts +4 -4
  353. package/dist/repositories/firmwares/index.d.ts +132 -132
  354. package/dist/repositories/firmwares/updateDeviceFirmware.d.ts +4 -4
  355. package/dist/repositories/firmwares/updateFirmwareUpgradeTasks.d.ts +4 -4
  356. package/dist/repositories/index.d.ts +42 -42
  357. package/dist/repositories/latestUserAppInfo/getLatestUserAppInfo.d.ts +5 -5
  358. package/dist/repositories/latestUserAppInfo/index.d.ts +23 -23
  359. package/dist/repositories/latestUserAppInfo/upsertLatestUserAppInfo.d.ts +4 -4
  360. package/dist/repositories/notificationRecipients/createNotificationRecipient.d.ts +5 -5
  361. package/dist/repositories/notificationRecipients/deleteNotificationRecipients.d.ts +4 -4
  362. package/dist/repositories/notificationRecipients/deleteNotificationRecipientsByEmailOrPhone.d.ts +4 -4
  363. package/dist/repositories/notificationRecipients/getNotificationRecipients.d.ts +5 -5
  364. package/dist/repositories/notificationRecipients/index.d.ts +83 -83
  365. package/dist/repositories/notificationRecipients/updateNotificationRecipient.d.ts +4 -4
  366. package/dist/repositories/notificationRecipients/updateUsersNotificationsUnsubscribedInfoStatus.d.ts +4 -4
  367. package/dist/repositories/notificationRecipients/updateUsersNotificationsUnsuscribedStatus.d.ts +4 -4
  368. package/dist/repositories/positions/createPosition.d.ts +6 -6
  369. package/dist/repositories/positions/getBatteryReportForDevice.d.ts +4 -4
  370. package/dist/repositories/positions/getLatestPositionByImei.d.ts +5 -5
  371. package/dist/repositories/positions/getPositionsByImei.d.ts +5 -5
  372. package/dist/repositories/positions/getPositionsReportByClient.d.ts +4 -4
  373. package/dist/repositories/positions/index.d.ts +69 -69
  374. package/dist/repositories/positions/mapping/mapToPositionReport.d.ts +5 -5
  375. package/dist/repositories/positions/upsertLatestPosition.d.ts +4 -4
  376. package/dist/repositories/promotions/bulkInsertDeviceTypePromotion.d.ts +5 -5
  377. package/dist/repositories/promotions/bulkInsertMarketplacePromotion.d.ts +5 -5
  378. package/dist/repositories/promotions/createPromotion.d.ts +5 -5
  379. package/dist/repositories/promotions/createPromotionHistory.d.ts +5 -5
  380. package/dist/repositories/promotions/deleteDeviceTypePromotion.d.ts +4 -4
  381. package/dist/repositories/promotions/deleteMarketplacePromotion.d.ts +4 -4
  382. package/dist/repositories/promotions/getDeviceTypePromotion.d.ts +5 -5
  383. package/dist/repositories/promotions/getMarketplacePromotion.d.ts +5 -5
  384. package/dist/repositories/promotions/getPromotions.d.ts +5 -5
  385. package/dist/repositories/promotions/index.d.ts +72 -72
  386. package/dist/repositories/promotions/promotionValidator.d.ts +3 -3
  387. package/dist/repositories/promotions/updatePromotion.d.ts +4 -4
  388. package/dist/repositories/security/bulkCreateUserAuthorizedBoundaries.d.ts +4 -4
  389. package/dist/repositories/security/bulkCreateUserAuthorizedDevices.d.ts +4 -4
  390. package/dist/repositories/security/bulkRemoveUserAuthorizedBoundaries.d.ts +4 -4
  391. package/dist/repositories/security/bulkRemoveUserAuthorizedDevices.d.ts +4 -4
  392. package/dist/repositories/security/createUserRole.d.ts +5 -5
  393. package/dist/repositories/security/getAllRoles.d.ts +3 -3
  394. package/dist/repositories/security/getAuthorizedBoundariesByUserId.d.ts +5 -5
  395. package/dist/repositories/security/getAuthorizedDevicesByUserId.d.ts +5 -5
  396. package/dist/repositories/security/getUserIdsByClientIdAndAuthorizedBoundaries.d.ts +4 -4
  397. package/dist/repositories/security/getUserIdsByClientIdAndAuthorizedDevices.d.ts +4 -4
  398. package/dist/repositories/security/getUserRoles.d.ts +5 -5
  399. package/dist/repositories/security/getUserRolesByClientId.d.ts +5 -5
  400. package/dist/repositories/security/index.d.ts +66 -66
  401. package/dist/repositories/security/removeUserRoles.d.ts +4 -4
  402. package/dist/repositories/security/updateUserRole.d.ts +4 -4
  403. package/dist/repositories/security/userIsAdminOrOwner.d.ts +4 -4
  404. package/dist/repositories/security/userIsInRole.d.ts +4 -4
  405. package/dist/repositories/tags/bulkCreateTags.d.ts +5 -5
  406. package/dist/repositories/tags/createTag.d.ts +5 -5
  407. package/dist/repositories/tags/deleteTag.d.ts +4 -4
  408. package/dist/repositories/tags/index.d.ts +41 -41
  409. package/dist/repositories/tags/searchTags.d.ts +4 -4
  410. package/dist/repositories/tags/searchTagsByUser.d.ts +4 -4
  411. package/dist/repositories/tags/updateTag.d.ts +4 -4
  412. package/dist/repositories/tasks/addTaskScheduleDevices.d.ts +4 -4
  413. package/dist/repositories/tasks/completeTask.d.ts +4 -4
  414. package/dist/repositories/tasks/createTask.d.ts +5 -5
  415. package/dist/repositories/tasks/createTaskSchedule.d.ts +5 -5
  416. package/dist/repositories/tasks/deleteTask.d.ts +4 -4
  417. package/dist/repositories/tasks/deleteTaskSchedule.d.ts +4 -4
  418. package/dist/repositories/tasks/deleteTaskScheduleDevices.d.ts +4 -4
  419. package/dist/repositories/tasks/getDeviceTasks.d.ts +5 -5
  420. package/dist/repositories/tasks/getTaskSchedule.d.ts +5 -5
  421. package/dist/repositories/tasks/getTaskSchedules.d.ts +5 -5
  422. package/dist/repositories/tasks/getTaskSchedulesCount.d.ts +4 -4
  423. package/dist/repositories/tasks/getTasks.d.ts +5 -5
  424. package/dist/repositories/tasks/getTasksCount.d.ts +4 -4
  425. package/dist/repositories/tasks/index.d.ts +325 -325
  426. package/dist/repositories/tasks/setTaskAsPastDue.d.ts +4 -4
  427. package/dist/repositories/tasks/setTaskScheduleDevices.d.ts +4 -4
  428. package/dist/repositories/tasks/updateTask.d.ts +4 -4
  429. package/dist/repositories/tasks/updateTaskSchedule.d.ts +4 -4
  430. package/dist/repositories/trips/createTrip.d.ts +4 -4
  431. package/dist/repositories/trips/getDeviceTripConfiguration.d.ts +4 -4
  432. package/dist/repositories/trips/getTripById.d.ts +4 -4
  433. package/dist/repositories/trips/getTrips.d.ts +4 -4
  434. package/dist/repositories/trips/index.d.ts +36 -36
  435. package/dist/repositories/trips/updateTripEndValues.d.ts +3 -3
  436. package/dist/repositories/trips/upsertTrip.d.ts +3 -3
  437. package/dist/repositories/userActivations/createUserActivation.d.ts +5 -5
  438. package/dist/repositories/userActivations/createUserActivationDevice.d.ts +5 -5
  439. package/dist/repositories/userActivations/createUserActivationEvent.d.ts +5 -5
  440. package/dist/repositories/userActivations/createUserActivationMetric.d.ts +5 -5
  441. package/dist/repositories/userActivations/deleteUserActivation.d.ts +4 -4
  442. package/dist/repositories/userActivations/getLastActivationDevice.d.ts +5 -5
  443. package/dist/repositories/userActivations/getUserActivationById.d.ts +5 -5
  444. package/dist/repositories/userActivations/getUserActivationDevices.d.ts +5 -5
  445. package/dist/repositories/userActivations/getUserActivationDevicesByClientId.d.ts +5 -5
  446. package/dist/repositories/userActivations/getUserActivationMetrics.d.ts +5 -5
  447. package/dist/repositories/userActivations/getUserActivations.d.ts +5 -5
  448. package/dist/repositories/userActivations/index.d.ts +147 -147
  449. package/dist/repositories/userActivations/updateUserActivationDevice.d.ts +4 -4
  450. package/dist/repositories/userActivations/updateUserActivationMetrics.d.ts +4 -4
  451. package/dist/repositories/userAppFeedback/createUserAppFeedback.d.ts +5 -5
  452. package/dist/repositories/userAppFeedback/index.d.ts +17 -17
  453. package/dist/repositories/userAppIncidents/getUserAppIncidents.d.ts +5 -5
  454. package/dist/repositories/userAppIncidents/index.d.ts +50 -50
  455. package/dist/repositories/userAppIncidents/upsertUserAppIncident.d.ts +4 -4
  456. package/dist/repositories/userConfigurations/bulkCreateUserAlertConfigurations.d.ts +5 -5
  457. package/dist/repositories/userConfigurations/createUserAlertConfiguration.d.ts +5 -5
  458. package/dist/repositories/userConfigurations/createUserConfiguration.d.ts +5 -5
  459. package/dist/repositories/userConfigurations/deleteUserAlertConfigurations.d.ts +4 -4
  460. package/dist/repositories/userConfigurations/deleteUserAlertNotificationsConfig.d.ts +4 -4
  461. package/dist/repositories/userConfigurations/deleteUserConfiguration.d.ts +4 -4
  462. package/dist/repositories/userConfigurations/getUserAlertConfigurations.d.ts +5 -5
  463. package/dist/repositories/userConfigurations/getUserAlertNotificationsConfig.d.ts +5 -5
  464. package/dist/repositories/userConfigurations/getUserConfigurations.d.ts +5 -5
  465. package/dist/repositories/userConfigurations/index.d.ts +170 -170
  466. package/dist/repositories/userConfigurations/updateUserAlertConfigurations.d.ts +4 -4
  467. package/dist/repositories/userConfigurations/updateUserAlertConfigurationsByIds.d.ts +4 -4
  468. package/dist/repositories/userConfigurations/updateUserConfiguration.d.ts +4 -4
  469. package/dist/repositories/userConfigurations/upsertUserAlertNotificationsConfig.d.ts +4 -4
  470. package/dist/repositories/userDataDeletionRequests/createUserDataDeletionRequest.d.ts +5 -5
  471. package/dist/repositories/userDataDeletionRequests/getUserDataDeletionRequest.d.ts +5 -5
  472. package/dist/repositories/userDataDeletionRequests/index.d.ts +39 -39
  473. package/dist/repositories/userDataDeletionRequests/removeUserDataDeletionRequest.d.ts +4 -4
  474. package/dist/repositories/userDataDeletionRequests/updateUserDataDeletionRequest.d.ts +4 -4
  475. package/dist/repositories/userInvitations/createUserInvitation.d.ts +5 -5
  476. package/dist/repositories/userInvitations/getUserInvitationById.d.ts +5 -5
  477. package/dist/repositories/userInvitations/getUserInvitations.d.ts +5 -5
  478. package/dist/repositories/userInvitations/index.d.ts +58 -58
  479. package/dist/repositories/userInvitations/updateUserInvitation.d.ts +4 -4
  480. package/dist/repositories/userRatingRequests/createUserRatingRequest.d.ts +5 -5
  481. package/dist/repositories/userRatingRequests/getUserRatingRequests.d.ts +5 -5
  482. package/dist/repositories/userRatingRequests/index.d.ts +28 -28
  483. package/dist/repositories/userRegistrationAttempts/createUserRegistrationAttempt.d.ts +5 -5
  484. package/dist/repositories/userRegistrationAttempts/getUserRegistrationAttempts.d.ts +5 -5
  485. package/dist/repositories/userRegistrationAttempts/index.d.ts +50 -50
  486. package/dist/repositories/userRegistrationAttempts/updateUserRegistrationAttempt.d.ts +4 -4
  487. package/dist/repositories/users/createUser.d.ts +5 -5
  488. package/dist/repositories/users/deleteAccount.d.ts +4 -4
  489. package/dist/repositories/users/deleteUser.d.ts +4 -4
  490. package/dist/repositories/users/deleteUserData.d.ts +4 -4
  491. package/dist/repositories/users/getUserById.d.ts +5 -5
  492. package/dist/repositories/users/getUserClientRelatedEntitiesCount.d.ts +4 -4
  493. package/dist/repositories/users/getUserData.d.ts +4 -4
  494. package/dist/repositories/users/getUserInfoWithAmazonDevicesInfo.d.ts +4 -4
  495. package/dist/repositories/users/getUsers.d.ts +5 -5
  496. package/dist/repositories/users/getUsersConfigurationByImei.d.ts +5 -5
  497. package/dist/repositories/users/getUsersIdByPhoneAndCountryCode.d.ts +4 -4
  498. package/dist/repositories/users/getUsersInfoWithDevicesInfo.d.ts +4 -4
  499. package/dist/repositories/users/getUsersWithRoles.d.ts +4 -4
  500. package/dist/repositories/users/index.d.ts +154 -154
  501. package/dist/repositories/users/updateUser.d.ts +4 -4
  502. package/dist/subscribers/allEntitiesSubscriber.d.ts +13 -13
  503. package/dist/subscribers/index.d.ts +2 -2
  504. package/dist/types/acumatica.d.ts +42 -42
  505. package/dist/types/aempToken.d.ts +20 -20
  506. package/dist/types/alert.d.ts +87 -87
  507. package/dist/types/alertTypes.d.ts +6 -6
  508. package/dist/types/appFeatures.d.ts +24 -24
  509. package/dist/types/billing.d.ts +308 -308
  510. package/dist/types/blacklist.d.ts +32 -32
  511. package/dist/types/bleMesh.d.ts +157 -157
  512. package/dist/types/bleMeshConfiguration.d.ts +30 -30
  513. package/dist/types/boundaries.d.ts +125 -125
  514. package/dist/types/clientAlertConfiguration.d.ts +103 -103
  515. package/dist/types/clients.d.ts +140 -140
  516. package/dist/types/common.d.ts +23 -23
  517. package/dist/types/countries.d.ts +12 -12
  518. package/dist/types/dataExports.d.ts +43 -43
  519. package/dist/types/deactivations.d.ts +25 -25
  520. package/dist/types/deviceBehaviors.d.ts +97 -97
  521. package/dist/types/devicePairings.d.ts +56 -56
  522. package/dist/types/deviceStatus.d.ts +86 -86
  523. package/dist/types/deviceTypeFeature.d.ts +23 -23
  524. package/dist/types/devices.d.ts +419 -419
  525. package/dist/types/entitiesTags.d.ts +67 -67
  526. package/dist/types/enums.d.ts +223 -224
  527. package/dist/types/feature.d.ts +20 -20
  528. package/dist/types/firmwares.d.ts +132 -132
  529. package/dist/types/index.d.ts +39 -39
  530. package/dist/types/latestUserAppInfo.d.ts +12 -12
  531. package/dist/types/liveLinks.d.ts +92 -92
  532. package/dist/types/logger.d.ts +68 -68
  533. package/dist/types/notificationRecipients.d.ts +72 -72
  534. package/dist/types/position.d.ts +72 -72
  535. package/dist/types/promotion.d.ts +121 -121
  536. package/dist/types/security.d.ts +98 -98
  537. package/dist/types/tag.d.ts +65 -65
  538. package/dist/types/tasks.d.ts +228 -228
  539. package/dist/types/trip.d.ts +98 -98
  540. package/dist/types/user.d.ts +256 -256
  541. package/dist/types/userActivations.d.ts +143 -143
  542. package/dist/types/userAppFeedback.d.ts +8 -8
  543. package/dist/types/userAppIncidents.d.ts +35 -35
  544. package/dist/types/userConfigurations.d.ts +127 -127
  545. package/dist/types/userDataDeletionRequests.d.ts +29 -29
  546. package/dist/types/userInvitations.d.ts +48 -48
  547. package/dist/types/userRatingRequests.d.ts +18 -18
  548. package/dist/types/userRegistrationAttempts.d.ts +36 -36
  549. package/dist/utils/anyAttributeHasValue.d.ts +1 -1
  550. package/dist/utils/billingPlansHelper.d.ts +3 -3
  551. package/dist/utils/boolToNumberTransformer.d.ts +5 -5
  552. package/dist/utils/commaSeparatedTransformer.d.ts +9 -9
  553. package/dist/utils/consoleLogger.d.ts +10 -10
  554. package/dist/utils/createBatchesWithMapping.d.ts +1 -1
  555. package/dist/utils/dateTool.d.ts +2 -2
  556. package/dist/utils/dayjs/utc.d.ts +2 -2
  557. package/dist/utils/filterTools.d.ts +12 -12
  558. package/dist/utils/mapRawEntityToEntity.d.ts +1 -1
  559. package/dist/utils/paramsValidators.d.ts +3 -3
  560. package/dist/utils/parsingTools.d.ts +3 -3
  561. package/dist/utils/queryLogger.d.ts +15 -15
  562. package/dist/utils/randomizer.d.ts +5 -5
  563. package/dist/utils/stringToDateTransformer.d.ts +5 -5
  564. package/dist/utils/uuidHelpers.d.ts +4 -4
  565. package/dist/utils/uuidTransformer.d.ts +5 -5
  566. package/package.json +7 -4
@@ -1,78 +1,78 @@
1
- import { Alert, UserAlertComplain } from '../../entities';
2
- import { AlertReport, CreateAlertParams, CreateUserAlertComplaintParams, GetAlertReportByUserParams } from '../../types/alert';
3
- import { BaseRepository } from '../baseRepository';
4
- export declare class AlertRepository extends BaseRepository {
5
- /** Create an alert record
6
- * @param {CreateAlertParams} params containing information to create an alert
7
- * id: The alert id. if null will be generated
8
- * clientId: The client id of the owner of the device generating the alert
9
- * deviceId: The device id of the device generating the alert
10
- * alertTypeId: The alert type id
11
- * value: The alert value
12
- * userId: The user id of the user associated with the alert
13
- * messageId: The message id of the message that generated the alert
14
- * boundaryId: The boundary id of the boundary if the alert is related to a boundary
15
- * imei: The imei of the device generating the alert
16
- * sendTime: The time the alert was sent
17
- * lat: The latitude of the device when the alert was generated
18
- * lon: The longitude of the device when the alert was generated
19
- * address: The address of the device when the alert was generated
20
- * isBuffer: The is buffer flag
21
- * isNotification: The is notification flag
22
- * gpsUtcTime: The time the gps utc time was set
23
- * relevantAddress: The relevant address
24
- * gpsMessageId: The gps message id
25
- * cellTowerRelevantAddress: The cell tower relevant address
26
- */
27
- createAlert(params: CreateAlertParams): Promise<Alert>;
28
- /** Create alert records
29
- * @param {CreateAlertParams[]} params containing information to create alert records
30
- * id: The alert id. if null will be generated
31
- * clientId: The client id of the owner of the device generating the alert
32
- * deviceId: The device id of the device generating the alert
33
- * alertTypeId: The alert type id
34
- * value: The alert value
35
- * userId: The user id of the user associated with the alert
36
- * messageId: The message id of the message that generated the alert
37
- * boundaryId: The boundary id of the boundary if the alert is related to a boundary
38
- * imei: The imei of the device generating the alert
39
- * sendTime: The time the alert was sent
40
- * lat: The latitude of the device when the alert was generated
41
- * lon: The longitude of the device when the alert was generated
42
- * address: The address of the device when the alert was generated
43
- * isBuffer: The is buffer flag
44
- * isNotification: The is notification flag
45
- * gpsUtcTime: The time the gps utc time was set
46
- * relevantAddress: The relevant address
47
- * gpsMessageId: The gps message id
48
- * cellTowerRelevantAddress: The cell tower relevant address
49
- */
50
- createAlerts(params: CreateAlertParams[]): Promise<Alert[]>;
51
- /** Get alerts report by user id
52
- * @param {GetAlertReportByUserParams} params containing information to filter alerts report by user id
53
- * params.filters.userId: The user id of the user associated with the alert
54
- * params.filters.imeis: The imeis of the devices generating the alert
55
- * params.filters.alertTypeId: The alert type id
56
- * params.filters.boundaryId: The boundary id of the boundary if the alert is related to a boundary
57
- * params.filters.sendTimeFrom: The time the alert was sent from
58
- * params.filters.sendTimeTo: The time the alert was sent to
59
- * params.pagingOptions.pageSize: The number of alerts to return
60
- * params.pagingOptions.pageIndex: The page index of the alerts to return
61
- * params.sortOptions.sortField: The field to sort the alerts by
62
- * params.sortOptions.sortOrder: The order to sort the alerts by desc | asc
63
- * @returns Promise<AlertReport[]>
64
- */
65
- getAlertsReportByUser(params: GetAlertReportByUserParams): Promise<AlertReport[]>;
66
- /**
67
- * Insert a new user alert complain
68
- * @param {CreateUserAlertComplaintParams} params containing information to create a user alert complain
69
- * params.alertTypeId: The alert type id that has been disabled
70
- * params.userId: The user id of the user associated with the alert
71
- * params.clientId: The client id of the owner of the device generating the alert
72
- * params.email: The email of the user
73
- * params.reason: The reason for disabling the alert
74
- * params.createdAt: The datetime the complaint was received, it will default to now if not provided
75
- * @returns {Promise<UserAlertComplain>} The created user alert complain
76
- */
77
- createUserAlertComplain(params: CreateUserAlertComplaintParams): Promise<UserAlertComplain>;
78
- }
1
+ import { Alert, UserAlertComplain } from '../../entities';
2
+ import { AlertReport, CreateAlertParams, CreateUserAlertComplaintParams, GetAlertReportByUserParams } from '../../types/alert';
3
+ import { BaseRepository } from '../baseRepository';
4
+ export declare class AlertRepository extends BaseRepository {
5
+ /** Create an alert record
6
+ * @param {CreateAlertParams} params containing information to create an alert
7
+ * id: The alert id. if null will be generated
8
+ * clientId: The client id of the owner of the device generating the alert
9
+ * deviceId: The device id of the device generating the alert
10
+ * alertTypeId: The alert type id
11
+ * value: The alert value
12
+ * userId: The user id of the user associated with the alert
13
+ * messageId: The message id of the message that generated the alert
14
+ * boundaryId: The boundary id of the boundary if the alert is related to a boundary
15
+ * imei: The imei of the device generating the alert
16
+ * sendTime: The time the alert was sent
17
+ * lat: The latitude of the device when the alert was generated
18
+ * lon: The longitude of the device when the alert was generated
19
+ * address: The address of the device when the alert was generated
20
+ * isBuffer: The is buffer flag
21
+ * isNotification: The is notification flag
22
+ * gpsUtcTime: The time the gps utc time was set
23
+ * relevantAddress: The relevant address
24
+ * gpsMessageId: The gps message id
25
+ * cellTowerRelevantAddress: The cell tower relevant address
26
+ */
27
+ createAlert(params: CreateAlertParams): Promise<Alert>;
28
+ /** Create alert records
29
+ * @param {CreateAlertParams[]} params containing information to create alert records
30
+ * id: The alert id. if null will be generated
31
+ * clientId: The client id of the owner of the device generating the alert
32
+ * deviceId: The device id of the device generating the alert
33
+ * alertTypeId: The alert type id
34
+ * value: The alert value
35
+ * userId: The user id of the user associated with the alert
36
+ * messageId: The message id of the message that generated the alert
37
+ * boundaryId: The boundary id of the boundary if the alert is related to a boundary
38
+ * imei: The imei of the device generating the alert
39
+ * sendTime: The time the alert was sent
40
+ * lat: The latitude of the device when the alert was generated
41
+ * lon: The longitude of the device when the alert was generated
42
+ * address: The address of the device when the alert was generated
43
+ * isBuffer: The is buffer flag
44
+ * isNotification: The is notification flag
45
+ * gpsUtcTime: The time the gps utc time was set
46
+ * relevantAddress: The relevant address
47
+ * gpsMessageId: The gps message id
48
+ * cellTowerRelevantAddress: The cell tower relevant address
49
+ */
50
+ createAlerts(params: CreateAlertParams[]): Promise<Alert[]>;
51
+ /** Get alerts report by user id
52
+ * @param {GetAlertReportByUserParams} params containing information to filter alerts report by user id
53
+ * params.filters.userId: The user id of the user associated with the alert
54
+ * params.filters.imeis: The imeis of the devices generating the alert
55
+ * params.filters.alertTypeId: The alert type id
56
+ * params.filters.boundaryId: The boundary id of the boundary if the alert is related to a boundary
57
+ * params.filters.sendTimeFrom: The time the alert was sent from
58
+ * params.filters.sendTimeTo: The time the alert was sent to
59
+ * params.pagingOptions.pageSize: The number of alerts to return
60
+ * params.pagingOptions.pageIndex: The page index of the alerts to return
61
+ * params.sortOptions.sortField: The field to sort the alerts by
62
+ * params.sortOptions.sortOrder: The order to sort the alerts by desc | asc
63
+ * @returns Promise<AlertReport[]>
64
+ */
65
+ getAlertsReportByUser(params: GetAlertReportByUserParams): Promise<AlertReport[]>;
66
+ /**
67
+ * Insert a new user alert complain
68
+ * @param {CreateUserAlertComplaintParams} params containing information to create a user alert complain
69
+ * params.alertTypeId: The alert type id that has been disabled
70
+ * params.userId: The user id of the user associated with the alert
71
+ * params.clientId: The client id of the owner of the device generating the alert
72
+ * params.email: The email of the user
73
+ * params.reason: The reason for disabling the alert
74
+ * params.createdAt: The datetime the complaint was received, it will default to now if not provided
75
+ * @returns {Promise<UserAlertComplain>} The created user alert complain
76
+ */
77
+ createUserAlertComplain(params: CreateUserAlertComplaintParams): Promise<UserAlertComplain>;
78
+ }
@@ -1,5 +1,5 @@
1
- import { AppFeatureType } from '../../entities';
2
- import { NovaDataSource } from '../../novaDataSource';
3
- import { CreateAppFeatureTypeParams } from '../../types/appFeatures';
4
- import { Logger } from '../../types/logger';
5
- export declare const createAppFeatureType: (novaDataSource: NovaDataSource, params: CreateAppFeatureTypeParams, logger: Logger) => Promise<AppFeatureType>;
1
+ import { AppFeatureType } from '../../entities';
2
+ import { NovaDataSource } from '../../novaDataSource';
3
+ import { CreateAppFeatureTypeParams } from '../../types/appFeatures';
4
+ import { Logger } from '../../types/logger';
5
+ export declare const createAppFeatureType: (novaDataSource: NovaDataSource, params: CreateAppFeatureTypeParams, logger: Logger) => Promise<AppFeatureType>;
@@ -1,5 +1,5 @@
1
- import { ClientAppFeature } from '../../entities';
2
- import { NovaDataSource } from '../../novaDataSource';
3
- import { CreateClientAppFeatureParams } from '../../types/appFeatures';
4
- import { Logger } from '../../types/logger';
5
- export declare const createClientAppFeature: (novaDataSource: NovaDataSource, params: CreateClientAppFeatureParams, logger: Logger) => Promise<ClientAppFeature>;
1
+ import { ClientAppFeature } from '../../entities';
2
+ import { NovaDataSource } from '../../novaDataSource';
3
+ import { CreateClientAppFeatureParams } from '../../types/appFeatures';
4
+ import { Logger } from '../../types/logger';
5
+ export declare const createClientAppFeature: (novaDataSource: NovaDataSource, params: CreateClientAppFeatureParams, logger: Logger) => Promise<ClientAppFeature>;
@@ -1,5 +1,5 @@
1
- import { ClientAppFeature } from '../../entities';
2
- import { NovaDataSource } from '../../novaDataSource';
3
- import { GetClientAppFeaturesParams } from '../../types/appFeatures';
4
- import { Logger } from '../../types/logger';
5
- export declare const getClientAppFeatures: (novaDataSource: NovaDataSource, params: GetClientAppFeaturesParams, logger: Logger) => Promise<ClientAppFeature[]>;
1
+ import { ClientAppFeature } from '../../entities';
2
+ import { NovaDataSource } from '../../novaDataSource';
3
+ import { GetClientAppFeaturesParams } from '../../types/appFeatures';
4
+ import { Logger } from '../../types/logger';
5
+ export declare const getClientAppFeatures: (novaDataSource: NovaDataSource, params: GetClientAppFeaturesParams, logger: Logger) => Promise<ClientAppFeature[]>;
@@ -1,37 +1,37 @@
1
- import { AppFeatureType, ClientAppFeature } from '../../entities';
2
- import { CreateAppFeatureTypeParams, CreateClientAppFeatureParams, GetClientAppFeaturesParams } from '../../types/appFeatures';
3
- import { BaseRepository } from '../baseRepository';
4
- export declare class AppFeaturesRepository extends BaseRepository {
5
- /**
6
- * Create a new app feature type
7
- * @param params - The parameters to create the app feature type
8
- * params.id - The id of the app feature type, optional. If not provided, it will be auto-generated
9
- * params.name - The name of the app feature type, required
10
- * params.description - The description of the app feature type, required
11
- * params.statusId - The status id of the app feature type, optional, default to 1
12
- * @returns The created app feature type
13
- */
14
- createAppFeatureType(params: CreateAppFeatureTypeParams): Promise<AppFeatureType>;
15
- /**
16
- * Create a new client app feature
17
- * @param params - The parameters to create the client app feature
18
- * params.clientId: The client id of the client app feature, required
19
- * params.appFeatureTypeId: The app feature type id of the client app feature, required
20
- * params.entityId: The entity id of the client app feature, required
21
- * params.statusId: The status id of the client app feature, optional, default to 1
22
- * @returns The created client app feature
23
- */
24
- createClientAppFeature(params: CreateClientAppFeatureParams): Promise<ClientAppFeature>;
25
- /**
26
- * Get client app features
27
- * @param params - The parameters to get client app features
28
- * One of the following filters is required:
29
- * params.filters.clientId: The client id to filter, optional
30
- * params.filters.appFeatureTypeId: The app feature type id to filter, optional
31
- * params.filters.entityId: The entity id to filter, optional
32
- * params.filters.statusId: The status id to filter, optional
33
- * params.projectionOptions.withAppFeatureType: Whether to include app feature type relation in the result
34
- * @returns The client app features
35
- */
36
- getClientAppFeatures(params: GetClientAppFeaturesParams): Promise<ClientAppFeature[]>;
37
- }
1
+ import { AppFeatureType, ClientAppFeature } from '../../entities';
2
+ import { CreateAppFeatureTypeParams, CreateClientAppFeatureParams, GetClientAppFeaturesParams } from '../../types/appFeatures';
3
+ import { BaseRepository } from '../baseRepository';
4
+ export declare class AppFeaturesRepository extends BaseRepository {
5
+ /**
6
+ * Create a new app feature type
7
+ * @param params - The parameters to create the app feature type
8
+ * params.id - The id of the app feature type, optional. If not provided, it will be auto-generated
9
+ * params.name - The name of the app feature type, required
10
+ * params.description - The description of the app feature type, required
11
+ * params.statusId - The status id of the app feature type, optional, default to 1
12
+ * @returns The created app feature type
13
+ */
14
+ createAppFeatureType(params: CreateAppFeatureTypeParams): Promise<AppFeatureType>;
15
+ /**
16
+ * Create a new client app feature
17
+ * @param params - The parameters to create the client app feature
18
+ * params.clientId: The client id of the client app feature, required
19
+ * params.appFeatureTypeId: The app feature type id of the client app feature, required
20
+ * params.entityId: The entity id of the client app feature, required
21
+ * params.statusId: The status id of the client app feature, optional, default to 1
22
+ * @returns The created client app feature
23
+ */
24
+ createClientAppFeature(params: CreateClientAppFeatureParams): Promise<ClientAppFeature>;
25
+ /**
26
+ * Get client app features
27
+ * @param params - The parameters to get client app features
28
+ * One of the following filters is required:
29
+ * params.filters.clientId: The client id to filter, optional
30
+ * params.filters.appFeatureTypeId: The app feature type id to filter, optional
31
+ * params.filters.entityId: The entity id to filter, optional
32
+ * params.filters.statusId: The status id to filter, optional
33
+ * params.projectionOptions.withAppFeatureType: Whether to include app feature type relation in the result
34
+ * @returns The client app features
35
+ */
36
+ getClientAppFeatures(params: GetClientAppFeaturesParams): Promise<ClientAppFeature[]>;
37
+ }
@@ -1,3 +1,3 @@
1
- import { AssetCategory } from '../../entities';
2
- import { NovaDataSource } from '../../novaDataSource';
3
- export declare const getAssetCategories: (novaDataSource: NovaDataSource, forceUseReplica?: boolean) => Promise<AssetCategory[]>;
1
+ import { AssetCategory } from '../../entities';
2
+ import { NovaDataSource } from '../../novaDataSource';
3
+ export declare const getAssetCategories: (novaDataSource: NovaDataSource, forceUseReplica?: boolean) => Promise<AssetCategory[]>;
@@ -1,9 +1,9 @@
1
- import { AssetCategory } from '../../entities';
2
- import { BaseRepository } from '../baseRepository';
3
- export declare class AssetCategoriesRepository extends BaseRepository {
4
- /**
5
- * Get all asset categories
6
- * @returns {Promise<AssetCategory[]>} The asset categories
7
- */
8
- getAssetCategories(forceUseReplica?: boolean): Promise<AssetCategory[]>;
9
- }
1
+ import { AssetCategory } from '../../entities';
2
+ import { BaseRepository } from '../baseRepository';
3
+ export declare class AssetCategoriesRepository extends BaseRepository {
4
+ /**
5
+ * Get all asset categories
6
+ * @returns {Promise<AssetCategory[]>} The asset categories
7
+ */
8
+ getAssetCategories(forceUseReplica?: boolean): Promise<AssetCategory[]>;
9
+ }
@@ -1,21 +1,21 @@
1
- import { NovaDataSource, NovaDataSourceConfig } from '../novaDataSource';
2
- import { Logger } from '../types/logger';
3
- export declare class BaseRepository {
4
- protected readonly novaDataSourceConfig: NovaDataSourceConfig;
5
- protected readonly replicaNovaDataSourceConfig?: NovaDataSourceConfig;
6
- protected readonly logger: Logger;
7
- protected readonly useBeta: boolean;
8
- constructor(config: NovaDataSourceConfig, logger: Logger, replicaConfig?: NovaDataSourceConfig, useBeta?: boolean);
9
- }
10
- interface BaseRepository2Options {
11
- useBeta?: boolean;
12
- dataSource: NovaDataSource;
13
- logger?: Logger;
14
- }
15
- export declare class BaseRepository2 {
16
- protected readonly useBeta: boolean;
17
- protected readonly dataSource: NovaDataSource;
18
- protected readonly logger: Logger;
19
- constructor(options: BaseRepository2Options);
20
- }
21
- export {};
1
+ import { NovaDataSource, NovaDataSourceConfig } from '../novaDataSource';
2
+ import { Logger } from '../types/logger';
3
+ export declare class BaseRepository {
4
+ protected readonly novaDataSourceConfig: NovaDataSourceConfig;
5
+ protected readonly replicaNovaDataSourceConfig?: NovaDataSourceConfig;
6
+ protected readonly logger: Logger;
7
+ protected readonly useBeta: boolean;
8
+ constructor(config: NovaDataSourceConfig, logger: Logger, replicaConfig?: NovaDataSourceConfig, useBeta?: boolean);
9
+ }
10
+ interface BaseRepository2Options {
11
+ useBeta?: boolean;
12
+ dataSource: NovaDataSource;
13
+ logger?: Logger;
14
+ }
15
+ export declare class BaseRepository2 {
16
+ protected readonly useBeta: boolean;
17
+ protected readonly dataSource: NovaDataSource;
18
+ protected readonly logger: Logger;
19
+ constructor(options: BaseRepository2Options);
20
+ }
21
+ export {};
@@ -1,5 +1,5 @@
1
- import { Billing } from '../../entities';
2
- import { NovaDataSource } from '../../novaDataSource';
3
- import { CreateBillingParams } from '../../types/billing';
4
- import { Logger } from '../../types/logger';
5
- export declare const createBilling: (novaDataSource: NovaDataSource, params: CreateBillingParams, logger: Logger) => Promise<Billing>;
1
+ import { Billing } from '../../entities';
2
+ import { NovaDataSource } from '../../novaDataSource';
3
+ import { CreateBillingParams } from '../../types/billing';
4
+ import { Logger } from '../../types/logger';
5
+ export declare const createBilling: (novaDataSource: NovaDataSource, params: CreateBillingParams, logger: Logger) => Promise<Billing>;
@@ -1,5 +1,5 @@
1
- import { BillingDeviceHistory } from '../../entities';
2
- import { NovaDataSource } from '../../novaDataSource';
3
- import { CreateBillingDeviceHistoryParams } from '../../types/billing';
4
- import { Logger } from '../../types/logger';
5
- export declare const createBillingDeviceHistory: (novaDataSource: NovaDataSource, params: CreateBillingDeviceHistoryParams, logger: Logger) => Promise<BillingDeviceHistory>;
1
+ import { BillingDeviceHistory } from '../../entities';
2
+ import { NovaDataSource } from '../../novaDataSource';
3
+ import { CreateBillingDeviceHistoryParams } from '../../types/billing';
4
+ import { Logger } from '../../types/logger';
5
+ export declare const createBillingDeviceHistory: (novaDataSource: NovaDataSource, params: CreateBillingDeviceHistoryParams, logger: Logger) => Promise<BillingDeviceHistory>;
@@ -1,5 +1,5 @@
1
- import { BillingHubspotPaymentLog } from '../../entities';
2
- import { NovaDataSource } from '../../novaDataSource';
3
- import { CreateBillingHubspotPaymentLogParams } from '../../types/billing';
4
- import { Logger } from '../../types/logger';
5
- export declare const createBillingHubspotPaymentLog: (novaDataSource: NovaDataSource, params: CreateBillingHubspotPaymentLogParams, logger: Logger) => Promise<BillingHubspotPaymentLog>;
1
+ import { BillingHubspotPaymentLog } from '../../entities';
2
+ import { NovaDataSource } from '../../novaDataSource';
3
+ import { CreateBillingHubspotPaymentLogParams } from '../../types/billing';
4
+ import { Logger } from '../../types/logger';
5
+ export declare const createBillingHubspotPaymentLog: (novaDataSource: NovaDataSource, params: CreateBillingHubspotPaymentLogParams, logger: Logger) => Promise<BillingHubspotPaymentLog>;
@@ -1,5 +1,5 @@
1
- import { BillingStatusHistoryBraintree } from '../../entities';
2
- import { NovaDataSource } from '../../novaDataSource';
3
- import { CreateBillingStatusHistoryBraintreeParams } from '../../types/billing';
4
- import { Logger } from '../../types/logger';
5
- export declare const createBillingStatusHistoryBraintree: (novaDataSource: NovaDataSource, params: CreateBillingStatusHistoryBraintreeParams, logger: Logger) => Promise<BillingStatusHistoryBraintree[]>;
1
+ import { BillingStatusHistoryBraintree } from '../../entities';
2
+ import { NovaDataSource } from '../../novaDataSource';
3
+ import { CreateBillingStatusHistoryBraintreeParams } from '../../types/billing';
4
+ import { Logger } from '../../types/logger';
5
+ export declare const createBillingStatusHistoryBraintree: (novaDataSource: NovaDataSource, params: CreateBillingStatusHistoryBraintreeParams, logger: Logger) => Promise<BillingStatusHistoryBraintree[]>;
@@ -1,5 +1,5 @@
1
- import { BillingCustomerBraintree } from '../../entities';
2
- import { NovaDataSource } from '../../novaDataSource';
3
- import { GetBillingCustomerBraintreeByIdParams } from '../../types/billing';
4
- import { Logger } from '../../types/logger';
5
- export declare const getBillingCustomerBraintreeById: (novaDataSource: NovaDataSource, params: GetBillingCustomerBraintreeByIdParams, logger: Logger) => Promise<BillingCustomerBraintree>;
1
+ import { BillingCustomerBraintree } from '../../entities';
2
+ import { NovaDataSource } from '../../novaDataSource';
3
+ import { GetBillingCustomerBraintreeByIdParams } from '../../types/billing';
4
+ import { Logger } from '../../types/logger';
5
+ export declare const getBillingCustomerBraintreeById: (novaDataSource: NovaDataSource, params: GetBillingCustomerBraintreeByIdParams, logger: Logger) => Promise<BillingCustomerBraintree>;
@@ -1,5 +1,5 @@
1
- import { BillingDeviceTypePlan } from '../../entities';
2
- import { NovaDataSource } from '../../novaDataSource';
3
- import { GetBillingDeviceTypePlansParams } from '../../types/billing';
4
- import { Logger } from '../../types/logger';
5
- export declare const getBillingDeviceTypePlans: (novaDataSource: NovaDataSource, params: GetBillingDeviceTypePlansParams, logger: Logger) => Promise<BillingDeviceTypePlan[]>;
1
+ import { BillingDeviceTypePlan } from '../../entities';
2
+ import { NovaDataSource } from '../../novaDataSource';
3
+ import { GetBillingDeviceTypePlansParams } from '../../types/billing';
4
+ import { Logger } from '../../types/logger';
5
+ export declare const getBillingDeviceTypePlans: (novaDataSource: NovaDataSource, params: GetBillingDeviceTypePlansParams, logger: Logger) => Promise<BillingDeviceTypePlan[]>;
@@ -1,4 +1,4 @@
1
- import { NovaDataSource } from '../../novaDataSource';
2
- import { GetBillingPlanResult, GetBillingPlansParams } from '../../types/billing';
3
- import { Logger } from '../../types/logger';
4
- export declare const getBillingPlans: (novaDataSource: NovaDataSource, params: GetBillingPlansParams, logger: Logger) => Promise<GetBillingPlanResult[]>;
1
+ import { NovaDataSource } from '../../novaDataSource';
2
+ import { GetBillingPlanResult, GetBillingPlansParams } from '../../types/billing';
3
+ import { Logger } from '../../types/logger';
4
+ export declare const getBillingPlans: (novaDataSource: NovaDataSource, params: GetBillingPlansParams, logger: Logger) => Promise<GetBillingPlanResult[]>;
@@ -1,5 +1,5 @@
1
- import { BillingSubscriptionBraintree } from '../../entities';
2
- import { NovaDataSource } from '../../novaDataSource';
3
- import { GetBillingSubscriptionsBraintreeParams } from '../../types/billing';
4
- import { Logger } from '../../types/logger';
5
- export declare const getBillingSubscriptionsBraintree: (novaDataSource: NovaDataSource, params: GetBillingSubscriptionsBraintreeParams, logger: Logger) => Promise<BillingSubscriptionBraintree[]>;
1
+ import { BillingSubscriptionBraintree } from '../../entities';
2
+ import { NovaDataSource } from '../../novaDataSource';
3
+ import { GetBillingSubscriptionsBraintreeParams } from '../../types/billing';
4
+ import { Logger } from '../../types/logger';
5
+ export declare const getBillingSubscriptionsBraintree: (novaDataSource: NovaDataSource, params: GetBillingSubscriptionsBraintreeParams, logger: Logger) => Promise<BillingSubscriptionBraintree[]>;
@@ -1,5 +1,5 @@
1
- import { Billing } from '../../entities';
2
- import { NovaDataSource } from '../../novaDataSource';
3
- import { GetBillingsParams } from '../../types/billing';
4
- import { Logger } from '../../types/logger';
5
- export declare const getBillings: (novaDataSource: NovaDataSource, params: GetBillingsParams, logger: Logger) => Promise<Billing[]>;
1
+ import { Billing } from '../../entities';
2
+ import { NovaDataSource } from '../../novaDataSource';
3
+ import { GetBillingsParams } from '../../types/billing';
4
+ import { Logger } from '../../types/logger';
5
+ export declare const getBillings: (novaDataSource: NovaDataSource, params: GetBillingsParams, logger: Logger) => Promise<Billing[]>;
@@ -1,4 +1,4 @@
1
- import { NovaDataSource } from '../../novaDataSource';
2
- import { BraintreePastDueSubscription, GetBraintreePastDueSubscriptionParams } from '../../types/billing';
3
- import { Logger } from '../../types/logger';
4
- export declare const getBraintreePastDueSubscriptions: (novaDataSource: NovaDataSource, params: GetBraintreePastDueSubscriptionParams, logger: Logger) => Promise<BraintreePastDueSubscription[]>;
1
+ import { NovaDataSource } from '../../novaDataSource';
2
+ import { BraintreePastDueSubscription, GetBraintreePastDueSubscriptionParams } from '../../types/billing';
3
+ import { Logger } from '../../types/logger';
4
+ export declare const getBraintreePastDueSubscriptions: (novaDataSource: NovaDataSource, params: GetBraintreePastDueSubscriptionParams, logger: Logger) => Promise<BraintreePastDueSubscription[]>;
@@ -1,4 +1,4 @@
1
- import { NovaDataSource } from '../../novaDataSource';
2
- import { CanceledImeiResult, GetCanceledImeisParams } from '../../types/billing';
3
- import { Logger } from '../../types/logger';
4
- export declare const getCanceledImeis: (novaDataSource: NovaDataSource, params: GetCanceledImeisParams, logger: Logger) => Promise<CanceledImeiResult[]>;
1
+ import { NovaDataSource } from '../../novaDataSource';
2
+ import { CanceledImeiResult, GetCanceledImeisParams } from '../../types/billing';
3
+ import { Logger } from '../../types/logger';
4
+ export declare const getCanceledImeis: (novaDataSource: NovaDataSource, params: GetCanceledImeisParams, logger: Logger) => Promise<CanceledImeiResult[]>;
@@ -1,4 +1,4 @@
1
- import { NovaDataSource } from '../../novaDataSource';
2
- import { CanceledImeiResult, GetCanceledImeisParams } from '../../types/billing';
3
- import { Logger } from '../../types/logger';
4
- export declare const getCanceledImeisMatchingMagentoData: (novaDataSource: NovaDataSource, params: GetCanceledImeisParams, logger: Logger) => Promise<CanceledImeiResult[]>;
1
+ import { NovaDataSource } from '../../novaDataSource';
2
+ import { CanceledImeiResult, GetCanceledImeisParams } from '../../types/billing';
3
+ import { Logger } from '../../types/logger';
4
+ export declare const getCanceledImeisMatchingMagentoData: (novaDataSource: NovaDataSource, params: GetCanceledImeisParams, logger: Logger) => Promise<CanceledImeiResult[]>;
@@ -1,4 +1,4 @@
1
- import { NovaDataSource } from '../../novaDataSource';
2
- import { BillingSubscriptionChurnStatus, GetChurnStatusByClientIdParams } from '../../types/billing';
3
- import { Logger } from '../../types/logger';
4
- export declare const getChurnStatusByClientId: (novaDataSource: NovaDataSource, params: GetChurnStatusByClientIdParams, logger: Logger) => Promise<BillingSubscriptionChurnStatus[]>;
1
+ import { NovaDataSource } from '../../novaDataSource';
2
+ import { BillingSubscriptionChurnStatus, GetChurnStatusByClientIdParams } from '../../types/billing';
3
+ import { Logger } from '../../types/logger';
4
+ export declare const getChurnStatusByClientId: (novaDataSource: NovaDataSource, params: GetChurnStatusByClientIdParams, logger: Logger) => Promise<BillingSubscriptionChurnStatus[]>;
@@ -1,4 +1,4 @@
1
- import { NovaDataSource } from '../../novaDataSource';
2
- import { GetClientIdFromBraintreeCustomerParams } from '../../types/billing';
3
- import { Logger } from '../../types/logger';
4
- export declare const getClientIdFromBraintreeCustomer: (novaDataSource: NovaDataSource, params: GetClientIdFromBraintreeCustomerParams, logger: Logger) => Promise<number>;
1
+ import { NovaDataSource } from '../../novaDataSource';
2
+ import { GetClientIdFromBraintreeCustomerParams } from '../../types/billing';
3
+ import { Logger } from '../../types/logger';
4
+ export declare const getClientIdFromBraintreeCustomer: (novaDataSource: NovaDataSource, params: GetClientIdFromBraintreeCustomerParams, logger: Logger) => Promise<number>;
@@ -1,5 +1,5 @@
1
- import { Magento2Plan } from '../../entities';
2
- import { NovaDataSource } from '../../novaDataSource';
3
- import { GetMagentoPlanParams } from '../../types/billing';
4
- import { Logger } from '../../types/logger';
5
- export declare const getMagentoPlan: (novaDataSource: NovaDataSource, params: GetMagentoPlanParams, logger: Logger) => Promise<Magento2Plan>;
1
+ import { Magento2Plan } from '../../entities';
2
+ import { NovaDataSource } from '../../novaDataSource';
3
+ import { GetMagentoPlanParams } from '../../types/billing';
4
+ import { Logger } from '../../types/logger';
5
+ export declare const getMagentoPlan: (novaDataSource: NovaDataSource, params: GetMagentoPlanParams, logger: Logger) => Promise<Magento2Plan>;
@@ -1,5 +1,5 @@
1
- import { User } from '../../entities';
2
- import { NovaDataSource } from '../../novaDataSource';
3
- import { GetUserByBraintreeCustomerIdParams } from '../../types/billing';
4
- import { Logger } from '../../types/logger';
5
- export declare const getUserByBraintreeCustomerId: (novaDataSource: NovaDataSource, params: GetUserByBraintreeCustomerIdParams, logger: Logger) => Promise<User>;
1
+ import { User } from '../../entities';
2
+ import { NovaDataSource } from '../../novaDataSource';
3
+ import { GetUserByBraintreeCustomerIdParams } from '../../types/billing';
4
+ import { Logger } from '../../types/logger';
5
+ export declare const getUserByBraintreeCustomerId: (novaDataSource: NovaDataSource, params: GetUserByBraintreeCustomerIdParams, logger: Logger) => Promise<User>;