@spytecgps/nova-orm 1.2.29-rc7 → 1.2.29-rc8

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 (1133) hide show
  1. package/dist/entities/acumaticaAmazonProduct.js +2 -1
  2. package/dist/entities/acumaticaAmazonProduct.js.map +1 -0
  3. package/dist/entities/acumaticaImeiIccidData.js +4 -2
  4. package/dist/entities/acumaticaImeiIccidData.js.map +1 -0
  5. package/dist/entities/acumaticaOrderShipmentDetails.js +5 -3
  6. package/dist/entities/acumaticaOrderShipmentDetails.js.map +1 -0
  7. package/dist/entities/acumaticaShipment.js +1 -0
  8. package/dist/entities/acumaticaShipment.js.map +1 -0
  9. package/dist/entities/acumaticaShipmentAmazon.js +1 -0
  10. package/dist/entities/acumaticaShipmentAmazon.js.map +1 -0
  11. package/dist/entities/aempToken.d.ts +1 -0
  12. package/dist/entities/aempToken.js +1 -0
  13. package/dist/entities/aempToken.js.map +1 -0
  14. package/dist/entities/airflow/airflowAcumaticaExportImeiIccidData.js +82 -0
  15. package/dist/entities/airflow/airflowAcumaticaExportImeiIccidData.js.map +1 -0
  16. package/dist/entities/airflow/airflowAcumaticaExportOrderShipmentDetails.js +147 -0
  17. package/dist/entities/airflow/airflowAcumaticaExportOrderShipmentDetails.js.map +1 -0
  18. package/dist/entities/airflow/airflowAcumaticaShipmentsAmazon.js +42 -0
  19. package/dist/entities/airflow/airflowAcumaticaShipmentsAmazon.js.map +1 -0
  20. package/dist/entities/alert.d.ts +1 -0
  21. package/dist/entities/alert.js +11 -3
  22. package/dist/entities/alert.js.map +1 -0
  23. package/dist/entities/alertType.js +1 -0
  24. package/dist/entities/alertType.js.map +1 -0
  25. package/dist/entities/appFeatureType.js +1 -0
  26. package/dist/entities/appFeatureType.js.map +1 -0
  27. package/dist/entities/{deviceTypeEvent.js → asinPromotion.js} +24 -19
  28. package/dist/entities/asinPromotion.js.map +1 -0
  29. package/dist/entities/assetCategory.js +1 -0
  30. package/dist/entities/assetCategory.js.map +1 -0
  31. package/dist/entities/beaconBleMesh.js +63 -0
  32. package/dist/entities/beaconBleMesh.js.map +1 -0
  33. package/dist/entities/billing.js +1 -0
  34. package/dist/entities/billing.js.map +1 -0
  35. package/dist/entities/billingCustomerAmazon.js +83 -0
  36. package/dist/entities/billingCustomerAmazon.js.map +1 -0
  37. package/dist/entities/billingCustomerBraintree.js +1 -0
  38. package/dist/entities/billingCustomerBraintree.js.map +1 -0
  39. package/dist/entities/billingDeviceHistory.js +1 -0
  40. package/dist/entities/billingDeviceHistory.js.map +1 -0
  41. package/dist/entities/billingDeviceTypePlan.js +64 -0
  42. package/dist/entities/billingDeviceTypePlan.js.map +1 -0
  43. package/dist/entities/billingHubspotPaymentLog.js +1 -0
  44. package/dist/entities/billingHubspotPaymentLog.js.map +1 -0
  45. package/dist/entities/billingKlarnaCustomer.js +1 -0
  46. package/dist/entities/billingKlarnaCustomer.js.map +1 -0
  47. package/dist/entities/billingKlarnaOrder.js +1 -0
  48. package/dist/entities/billingKlarnaOrder.js.map +1 -0
  49. package/dist/entities/billingPlanFeatures.js +37 -0
  50. package/dist/entities/billingPlanFeatures.js.map +1 -0
  51. package/dist/entities/billingPlans.js +127 -0
  52. package/dist/entities/billingPlans.js.map +1 -0
  53. package/dist/entities/billingStatusHistoryBraintree.js +1 -0
  54. package/dist/entities/billingStatusHistoryBraintree.js.map +1 -0
  55. package/dist/entities/billingSubscriptionAmazon.js +162 -0
  56. package/dist/entities/billingSubscriptionAmazon.js.map +1 -0
  57. package/dist/entities/billingSubscriptionBraintree.js +1 -0
  58. package/dist/entities/billingSubscriptionBraintree.js.map +1 -0
  59. package/dist/entities/blacklist.js +1 -0
  60. package/dist/entities/blacklist.js.map +1 -0
  61. package/dist/entities/blacklistType.js +1 -0
  62. package/dist/entities/blacklistType.js.map +1 -0
  63. package/dist/entities/bleMesh.js +74 -0
  64. package/dist/entities/bleMesh.js.map +1 -0
  65. package/dist/entities/bleMeshConfiguration.js +1 -1
  66. package/dist/entities/bleMeshConfiguration.js.map +1 -0
  67. package/dist/entities/boundary.js +2 -0
  68. package/dist/entities/boundary.js.map +1 -0
  69. package/dist/entities/boundaryEvent.d.ts +1 -0
  70. package/dist/entities/boundaryEvent.js +1 -0
  71. package/dist/entities/boundaryEvent.js.map +1 -0
  72. package/dist/entities/cellTower.js +1 -0
  73. package/dist/entities/cellTower.js.map +1 -0
  74. package/dist/entities/client.d.ts +1 -0
  75. package/dist/entities/client.js +1 -6
  76. package/dist/entities/client.js.map +1 -0
  77. package/dist/entities/clientAlertConfiguration.js +90 -0
  78. package/dist/entities/clientAlertConfiguration.js.map +1 -0
  79. package/dist/entities/clientAlertRecipient.d.ts +1 -0
  80. package/dist/entities/clientAlertRecipient.js +98 -0
  81. package/dist/entities/clientAlertRecipient.js.map +1 -0
  82. package/dist/entities/clientAppFeature.js +1 -0
  83. package/dist/entities/clientAppFeature.js.map +1 -0
  84. package/dist/entities/clientConfiguration.js +14 -2
  85. package/dist/entities/clientConfiguration.js.map +1 -0
  86. package/dist/entities/clientDeviceSetting.js +6 -0
  87. package/dist/entities/clientDeviceSetting.js.map +1 -0
  88. package/dist/entities/clientIngestorConfiguration.js +48 -0
  89. package/dist/entities/clientIngestorConfiguration.js.map +1 -0
  90. package/dist/entities/clientType.js +1 -0
  91. package/dist/entities/clientType.js.map +1 -0
  92. package/dist/entities/country.js +3 -1
  93. package/dist/entities/country.js.map +1 -0
  94. package/dist/entities/customerAttribute.js +29 -0
  95. package/dist/entities/customerAttribute.js.map +1 -0
  96. package/dist/entities/dataExport.d.ts +1 -0
  97. package/dist/entities/dataExport.js +74 -0
  98. package/dist/entities/dataExport.js.map +1 -0
  99. package/dist/entities/dataSourceType.js +1 -0
  100. package/dist/entities/dataSourceType.js.map +1 -0
  101. package/dist/entities/deactivation.js +1 -0
  102. package/dist/entities/deactivation.js.map +1 -0
  103. package/dist/entities/deactivationReason.js +1 -0
  104. package/dist/entities/deactivationReason.js.map +1 -0
  105. package/dist/entities/device.js +14 -0
  106. package/dist/entities/device.js.map +1 -0
  107. package/dist/entities/deviceBehavior.js +1 -0
  108. package/dist/entities/deviceBehavior.js.map +1 -0
  109. package/dist/entities/deviceBleMesh.js +78 -0
  110. package/dist/entities/deviceBleMesh.js.map +1 -0
  111. package/dist/entities/deviceBleMeshUpdateTask.d.ts +1 -0
  112. package/dist/entities/deviceBleMeshUpdateTask.js +83 -0
  113. package/dist/entities/deviceBleMeshUpdateTask.js.map +1 -0
  114. package/dist/entities/deviceChangesHistory.js +48 -0
  115. package/dist/entities/deviceChangesHistory.js.map +1 -0
  116. package/dist/entities/deviceCustomConfiguration.js +12 -2
  117. package/dist/entities/deviceCustomConfiguration.js.map +1 -0
  118. package/dist/entities/deviceHistory.js +1 -0
  119. package/dist/entities/deviceHistory.js.map +1 -0
  120. package/dist/entities/deviceModelListener.js +1 -0
  121. package/dist/entities/deviceModelListener.js.map +1 -0
  122. package/dist/entities/devicePairing.js +16 -0
  123. package/dist/entities/devicePairing.js.map +1 -0
  124. package/dist/entities/devicePromotion.js +6 -73
  125. package/dist/entities/devicePromotion.js.map +1 -0
  126. package/dist/entities/deviceReplacement.d.ts +1 -0
  127. package/dist/entities/deviceReplacement.js +1 -0
  128. package/dist/entities/deviceReplacement.js.map +1 -0
  129. package/dist/entities/deviceStatus.js +61 -0
  130. package/dist/entities/deviceStatus.js.map +1 -0
  131. package/dist/entities/deviceTask.js +1 -0
  132. package/dist/entities/deviceTask.js.map +1 -0
  133. package/dist/entities/deviceType.js +2 -7
  134. package/dist/entities/deviceType.js.map +1 -0
  135. package/dist/entities/deviceTypeFeature.js +1 -0
  136. package/dist/entities/deviceTypeFeature.js.map +1 -0
  137. package/dist/entities/deviceTypeFirmware.js +1 -0
  138. package/dist/entities/deviceTypeFirmware.js.map +1 -0
  139. package/dist/entities/deviceTypePromotion.js +37 -0
  140. package/dist/entities/deviceTypePromotion.js.map +1 -0
  141. package/dist/entities/emailDomain.js +39 -0
  142. package/dist/entities/emailDomain.js.map +1 -0
  143. package/dist/entities/entityTag.js +41 -17
  144. package/dist/entities/entityTag.js.map +1 -0
  145. package/dist/entities/entityType.js +1 -0
  146. package/dist/entities/entityType.js.map +1 -0
  147. package/dist/entities/feature.js +1 -0
  148. package/dist/entities/feature.js.map +1 -0
  149. package/dist/entities/firmwareAutoUpgradeBlacklist.js +1 -0
  150. package/dist/entities/firmwareAutoUpgradeBlacklist.js.map +1 -0
  151. package/dist/entities/firmwareUpgradeTask.d.ts +1 -0
  152. package/dist/entities/firmwareUpgradeTask.js +3 -0
  153. package/dist/entities/firmwareUpgradeTask.js.map +1 -0
  154. package/dist/entities/iccidStatus.js +1 -0
  155. package/dist/entities/iccidStatus.js.map +1 -0
  156. package/dist/entities/imeiIccidCarrier.js +1 -0
  157. package/dist/entities/imeiIccidCarrier.js.map +1 -0
  158. package/dist/entities/imeiIccidHistory.js +1 -0
  159. package/dist/entities/imeiIccidHistory.js.map +1 -0
  160. package/dist/entities/{event.js → imeiIccidImport.js} +16 -20
  161. package/dist/entities/imeiIccidImport.js.map +1 -0
  162. package/dist/entities/index.js +29 -8
  163. package/dist/entities/index.js.map +1 -0
  164. package/dist/entities/industry.js +1 -0
  165. package/dist/entities/industry.js.map +1 -0
  166. package/dist/entities/latestPosition.d.ts +1 -0
  167. package/dist/entities/latestPosition.js +6 -0
  168. package/dist/entities/latestPosition.js.map +1 -0
  169. package/dist/entities/latestPositionMigration.d.ts +1 -0
  170. package/dist/entities/latestPositionMigration.js +1 -0
  171. package/dist/entities/latestPositionMigration.js.map +1 -0
  172. package/dist/entities/latestPositionMigrationBatch.js +1 -0
  173. package/dist/entities/latestPositionMigrationBatch.js.map +1 -0
  174. package/dist/entities/latestUserAppInfo.d.ts +1 -0
  175. package/dist/entities/latestUserAppInfo.js +43 -0
  176. package/dist/entities/latestUserAppInfo.js.map +1 -0
  177. package/dist/entities/liveLink.js +126 -0
  178. package/dist/entities/liveLink.js.map +1 -0
  179. package/dist/entities/magento2Gps.js +7 -4
  180. package/dist/entities/magento2Gps.js.map +1 -0
  181. package/dist/entities/magento2Plan.js +1 -0
  182. package/dist/entities/magento2Plan.js.map +1 -0
  183. package/dist/entities/marketplacePromotion.js +37 -0
  184. package/dist/entities/marketplacePromotion.js.map +1 -0
  185. package/dist/entities/mobileNetwork.js +1 -0
  186. package/dist/entities/mobileNetwork.js.map +1 -0
  187. package/dist/entities/notificationRecipient.d.ts +1 -0
  188. package/dist/entities/notificationRecipient.js +29 -1
  189. package/dist/entities/notificationRecipient.js.map +1 -0
  190. package/dist/entities/orderShipmentInternational.js +67 -0
  191. package/dist/entities/orderShipmentInternational.js.map +1 -0
  192. package/dist/entities/organization.d.ts +1 -0
  193. package/dist/entities/organization.js +1 -0
  194. package/dist/entities/organization.js.map +1 -0
  195. package/dist/entities/plan.js +1 -0
  196. package/dist/entities/plan.js.map +1 -0
  197. package/dist/entities/position.d.ts +1 -0
  198. package/dist/entities/position.js +6 -2
  199. package/dist/entities/position.js.map +1 -0
  200. package/dist/entities/positionMigration.d.ts +1 -0
  201. package/dist/entities/positionMigration.js +1 -0
  202. package/dist/entities/positionMigration.js.map +1 -0
  203. package/dist/entities/positionMigrationBatch.js +1 -0
  204. package/dist/entities/positionMigrationBatch.js.map +1 -0
  205. package/dist/entities/promotion.js +47 -45
  206. package/dist/entities/promotion.js.map +1 -0
  207. package/dist/entities/promotionHistory.js +90 -0
  208. package/dist/entities/promotionHistory.js.map +1 -0
  209. package/dist/entities/securityRole.js +8 -1
  210. package/dist/entities/securityRole.js.map +1 -0
  211. package/dist/entities/serviceProvider.js +1 -0
  212. package/dist/entities/serviceProvider.js.map +1 -0
  213. package/dist/entities/serviceProviderProduct.js +2 -1
  214. package/dist/entities/serviceProviderProduct.js.map +1 -0
  215. package/dist/entities/serviceProviderProductNetwork.js +1 -0
  216. package/dist/entities/serviceProviderProductNetwork.js.map +1 -0
  217. package/dist/entities/serviceProviderProductType.js +1 -0
  218. package/dist/entities/serviceProviderProductType.js.map +1 -0
  219. package/dist/entities/sim.js +1 -0
  220. package/dist/entities/sim.js.map +1 -0
  221. package/dist/entities/subscriptionHistoricalPrice.js +151 -0
  222. package/dist/entities/subscriptionHistoricalPrice.js.map +1 -0
  223. package/dist/entities/tag.js +68 -0
  224. package/dist/entities/tag.js.map +1 -0
  225. package/dist/entities/task.js +41 -2
  226. package/dist/entities/task.js.map +1 -0
  227. package/dist/entities/taskSchedule.js +7 -1
  228. package/dist/entities/taskSchedule.js.map +1 -0
  229. package/dist/entities/trip.d.ts +1 -0
  230. package/dist/entities/trip.js +12 -0
  231. package/dist/entities/trip.js.map +1 -0
  232. package/dist/entities/tripCompletionStatus.js +1 -0
  233. package/dist/entities/tripCompletionStatus.js.map +1 -0
  234. package/dist/entities/tripPosition.js +1 -0
  235. package/dist/entities/tripPosition.js.map +1 -0
  236. package/dist/entities/user.d.ts +1 -0
  237. package/dist/entities/user.js +23 -1
  238. package/dist/entities/user.js.map +1 -0
  239. package/dist/entities/userActivation.d.ts +1 -0
  240. package/dist/entities/userActivation.js +1 -0
  241. package/dist/entities/userActivation.js.map +1 -0
  242. package/dist/entities/userActivationDevice.js +3 -2
  243. package/dist/entities/userActivationDevice.js.map +1 -0
  244. package/dist/entities/userActivationEvent.d.ts +1 -0
  245. package/dist/entities/userActivationEvent.js +1 -0
  246. package/dist/entities/userActivationEvent.js.map +1 -0
  247. package/dist/entities/userActivationMetric.d.ts +1 -0
  248. package/dist/entities/userActivationMetric.js +1 -0
  249. package/dist/entities/userActivationMetric.js.map +1 -0
  250. package/dist/entities/userAlertComplain.d.ts +1 -0
  251. package/dist/entities/userAlertComplain.js +1 -0
  252. package/dist/entities/userAlertComplain.js.map +1 -0
  253. package/dist/entities/userAlertConfiguration.d.ts +1 -0
  254. package/dist/entities/userAlertConfiguration.js +37 -3
  255. package/dist/entities/userAlertConfiguration.js.map +1 -0
  256. package/dist/entities/userAlertNotificationsConfig.d.ts +1 -0
  257. package/dist/entities/userAlertNotificationsConfig.js +91 -0
  258. package/dist/entities/userAlertNotificationsConfig.js.map +1 -0
  259. package/dist/entities/userAppFeedback.d.ts +1 -0
  260. package/dist/entities/userAppFeedback.js +1 -0
  261. package/dist/entities/userAppFeedback.js.map +1 -0
  262. package/dist/entities/userAppIncident.d.ts +1 -0
  263. package/dist/entities/userAppIncident.js +1 -0
  264. package/dist/entities/userAppIncident.js.map +1 -0
  265. package/dist/entities/userConfiguration.d.ts +1 -0
  266. package/dist/entities/userConfiguration.js +1 -0
  267. package/dist/entities/userConfiguration.js.map +1 -0
  268. package/dist/entities/userDataDeletionRequest.d.ts +1 -0
  269. package/dist/entities/userDataDeletionRequest.js +3 -1
  270. package/dist/entities/userDataDeletionRequest.js.map +1 -0
  271. package/dist/entities/userDeviceBehaviorTask.d.ts +1 -0
  272. package/dist/entities/userDeviceBehaviorTask.js +1 -0
  273. package/dist/entities/userDeviceBehaviorTask.js.map +1 -0
  274. package/dist/entities/userInvitation.js +14 -1
  275. package/dist/entities/userInvitation.js.map +1 -0
  276. package/dist/entities/userRatingRequest.d.ts +1 -0
  277. package/dist/entities/userRatingRequest.js +1 -0
  278. package/dist/entities/userRatingRequest.js.map +1 -0
  279. package/dist/entities/userRegistrationAttempt.d.ts +1 -0
  280. package/dist/entities/userRegistrationAttempt.js +1 -0
  281. package/dist/entities/userRegistrationAttempt.js.map +1 -0
  282. package/dist/entities/userSecurityRole.d.ts +1 -0
  283. package/dist/entities/userSecurityRole.js +14 -1
  284. package/dist/entities/userSecurityRole.js.map +1 -0
  285. package/dist/index.js +1 -1
  286. package/dist/index.js.map +1 -0
  287. package/dist/migration/1684483704434-addLowerCaseIndex.js +1 -0
  288. package/dist/migration/1684483704434-addLowerCaseIndex.js.map +1 -0
  289. package/dist/novaDataSource.js +99 -16
  290. package/dist/novaDataSource.js.map +1 -0
  291. package/dist/repositories/acumatica/getAcumaticaImeiIccidData.js +15 -3
  292. package/dist/repositories/acumatica/getAcumaticaImeiIccidData.js.map +1 -0
  293. package/dist/repositories/acumatica/getAcumaticaShipmentAmazon.js +23 -0
  294. package/dist/repositories/acumatica/getAcumaticaShipmentAmazon.js.map +1 -0
  295. package/dist/repositories/acumatica/getAcumaticaShipmentDetails.js +9 -3
  296. package/dist/repositories/acumatica/getAcumaticaShipmentDetails.js.map +1 -0
  297. package/dist/repositories/acumatica/getLastAcumaticaShipmentDetails.js +8 -2
  298. package/dist/repositories/acumatica/getLastAcumaticaShipmentDetails.js.map +1 -0
  299. package/dist/repositories/acumatica/getOrderShipmentInternational.js +23 -0
  300. package/dist/repositories/acumatica/getOrderShipmentInternational.js.map +1 -0
  301. package/dist/repositories/acumatica/index.js +32 -3
  302. package/dist/repositories/acumatica/index.js.map +1 -0
  303. package/dist/repositories/aempToken/createAempToken.js +1 -0
  304. package/dist/repositories/aempToken/createAempToken.js.map +1 -0
  305. package/dist/repositories/aempToken/deleteAempTokens.js +4 -3
  306. package/dist/repositories/aempToken/deleteAempTokens.js.map +1 -0
  307. package/dist/repositories/aempToken/getAempTokens.js +12 -4
  308. package/dist/repositories/aempToken/getAempTokens.js.map +1 -0
  309. package/dist/repositories/aempToken/index.js +4 -3
  310. package/dist/repositories/aempToken/index.js.map +1 -0
  311. package/dist/repositories/alertTypes/getAlertTypes.js +8 -2
  312. package/dist/repositories/alertTypes/getAlertTypes.js.map +1 -0
  313. package/dist/repositories/alertTypes/index.js +2 -1
  314. package/dist/repositories/alertTypes/index.js.map +1 -0
  315. package/dist/repositories/alerts/createAlert.js +5 -0
  316. package/dist/repositories/alerts/createAlert.js.map +1 -0
  317. package/dist/repositories/alerts/createUserAlertComplain.js +1 -0
  318. package/dist/repositories/alerts/createUserAlertComplain.js.map +1 -0
  319. package/dist/repositories/alerts/getAlertsReportByClient.js +5 -0
  320. package/dist/repositories/alerts/getAlertsReportByClient.js.map +1 -0
  321. package/dist/repositories/alerts/getAlertsReportByUser.js +5 -0
  322. package/dist/repositories/alerts/getAlertsReportByUser.js.map +1 -0
  323. package/dist/repositories/alerts/index.js +5 -4
  324. package/dist/repositories/alerts/index.js.map +1 -0
  325. package/dist/repositories/appFeatures/createAppFeatureType.js +1 -0
  326. package/dist/repositories/appFeatures/createAppFeatureType.js.map +1 -0
  327. package/dist/repositories/appFeatures/createClientAppFeature.js +1 -0
  328. package/dist/repositories/appFeatures/createClientAppFeature.js.map +1 -0
  329. package/dist/repositories/appFeatures/getClientAppFeatures.js +8 -2
  330. package/dist/repositories/appFeatures/getClientAppFeatures.js.map +1 -0
  331. package/dist/repositories/appFeatures/index.js +4 -3
  332. package/dist/repositories/appFeatures/index.js.map +1 -0
  333. package/dist/repositories/assetCategories/getAssetCategories.js +15 -4
  334. package/dist/repositories/assetCategories/getAssetCategories.js.map +1 -0
  335. package/dist/repositories/assetCategories/index.js +4 -3
  336. package/dist/repositories/assetCategories/index.js.map +1 -0
  337. package/dist/repositories/baseRepository.js +16 -1
  338. package/dist/repositories/baseRepository.js.map +1 -0
  339. package/dist/repositories/billing/createBilling.js +1 -0
  340. package/dist/repositories/billing/createBilling.js.map +1 -0
  341. package/dist/repositories/billing/createBillingDeviceHistory.js +2 -1
  342. package/dist/repositories/billing/createBillingDeviceHistory.js.map +1 -0
  343. package/dist/repositories/billing/createBillingHubspotPaymentLog.js +1 -0
  344. package/dist/repositories/billing/createBillingHubspotPaymentLog.js.map +1 -0
  345. package/dist/repositories/billing/createBillingStatusHistoryBraintree.js +1 -0
  346. package/dist/repositories/billing/createBillingStatusHistoryBraintree.js.map +1 -0
  347. package/dist/repositories/billing/getBillingCustomerBraintreeById.js +8 -2
  348. package/dist/repositories/billing/getBillingCustomerBraintreeById.js.map +1 -0
  349. package/dist/repositories/billing/getBillingDeviceTypePlans.js +22 -0
  350. package/dist/repositories/billing/getBillingDeviceTypePlans.js.map +1 -0
  351. package/dist/repositories/billing/getBillingKlarnaOrderByImei.js +8 -2
  352. package/dist/repositories/billing/getBillingKlarnaOrderByImei.js.map +1 -0
  353. package/dist/repositories/billing/getBillingPlans.js +68 -0
  354. package/dist/repositories/billing/getBillingPlans.js.map +1 -0
  355. package/dist/repositories/billing/getBillingSubscriptionBraintreeByImei.js +8 -2
  356. package/dist/repositories/billing/getBillingSubscriptionBraintreeByImei.js.map +1 -0
  357. package/dist/repositories/billing/getBillingSubscriptionsBraintree.js +10 -4
  358. package/dist/repositories/billing/getBillingSubscriptionsBraintree.js.map +1 -0
  359. package/dist/repositories/billing/getBillings.js +12 -6
  360. package/dist/repositories/billing/getBillings.js.map +1 -0
  361. package/dist/repositories/billing/getBraintreePastDueSubscriptions.js +49 -0
  362. package/dist/repositories/billing/getBraintreePastDueSubscriptions.js.map +1 -0
  363. package/dist/repositories/billing/getCanceledImeis.js +19 -7
  364. package/dist/repositories/billing/getCanceledImeis.js.map +1 -0
  365. package/dist/repositories/billing/getCanceledImeisMatchingMagentoData.js +39 -19
  366. package/dist/repositories/billing/getCanceledImeisMatchingMagentoData.js.map +1 -0
  367. package/dist/repositories/billing/getChurnStatusByClientId.js +14 -4
  368. package/dist/repositories/billing/getChurnStatusByClientId.js.map +1 -0
  369. package/dist/repositories/billing/getClientIdFromBraintreeCustomer.js +8 -2
  370. package/dist/repositories/billing/getClientIdFromBraintreeCustomer.js.map +1 -0
  371. package/dist/repositories/billing/getMagentoPlan.js +8 -2
  372. package/dist/repositories/billing/getMagentoPlan.js.map +1 -0
  373. package/dist/repositories/billing/getUserByBraintreeCustomerId.js +8 -2
  374. package/dist/repositories/billing/getUserByBraintreeCustomerId.js.map +1 -0
  375. package/dist/repositories/billing/index.js +93 -21
  376. package/dist/repositories/billing/index.js.map +1 -0
  377. package/dist/repositories/billing/updateBilling.js +1 -0
  378. package/dist/repositories/billing/updateBilling.js.map +1 -0
  379. package/dist/repositories/billing/updateBillingCustomerBraintree.js +1 -0
  380. package/dist/repositories/billing/updateBillingCustomerBraintree.js.map +1 -0
  381. package/dist/repositories/billing/upsertBillingCustomerBraintree.js +11 -1
  382. package/dist/repositories/billing/upsertBillingCustomerBraintree.js.map +1 -0
  383. package/dist/repositories/billing/upsertBillingDeviceTypePlan.js +67 -0
  384. package/dist/repositories/billing/upsertBillingDeviceTypePlan.js.map +1 -0
  385. package/dist/repositories/billing/upsertBillingKlarnaCustomer.js +1 -0
  386. package/dist/repositories/billing/upsertBillingKlarnaCustomer.js.map +1 -0
  387. package/dist/repositories/billing/upsertBillingKlarnaOrder.js +1 -0
  388. package/dist/repositories/billing/upsertBillingKlarnaOrder.js.map +1 -0
  389. package/dist/repositories/billing/upsertBillingPlans.js +54 -0
  390. package/dist/repositories/billing/upsertBillingPlans.js.map +1 -0
  391. package/dist/repositories/billing/upsertBillingSubscriptionBraintree.js +1 -0
  392. package/dist/repositories/billing/upsertBillingSubscriptionBraintree.js.map +1 -0
  393. package/dist/repositories/blacklist/deleteBlackList.js +20 -0
  394. package/dist/repositories/blacklist/deleteBlackList.js.map +1 -0
  395. package/dist/repositories/blacklist/getBlacklists.js +8 -2
  396. package/dist/repositories/blacklist/getBlacklists.js.map +1 -0
  397. package/dist/repositories/blacklist/index.js +53 -1
  398. package/dist/repositories/blacklist/index.js.map +1 -0
  399. package/dist/repositories/blacklist/updateBlackList.js +31 -0
  400. package/dist/repositories/blacklist/updateBlackList.js.map +1 -0
  401. package/dist/repositories/blacklist/upsertBlackList.js +41 -0
  402. package/dist/repositories/blacklist/upsertBlackList.js.map +1 -0
  403. package/dist/repositories/bleMesh/addBeaconBLEMesh.js +29 -0
  404. package/dist/repositories/bleMesh/addBeaconBLEMesh.js.map +1 -0
  405. package/dist/repositories/bleMesh/addDevicesToBLEMesh.js +38 -0
  406. package/dist/repositories/bleMesh/addDevicesToBLEMesh.js.map +1 -0
  407. package/dist/repositories/bleMesh/createBLEMesh.js +19 -0
  408. package/dist/repositories/bleMesh/createBLEMesh.js.map +1 -0
  409. package/dist/repositories/bleMesh/createDeviceBLEMeshUpdateTask.js +47 -0
  410. package/dist/repositories/bleMesh/createDeviceBLEMeshUpdateTask.js.map +1 -0
  411. package/dist/repositories/bleMesh/getBLEMeshes.js +46 -0
  412. package/dist/repositories/bleMesh/getBLEMeshes.js.map +1 -0
  413. package/dist/repositories/bleMesh/getBeaconBLEMeshes.js +44 -0
  414. package/dist/repositories/bleMesh/getBeaconBLEMeshes.js.map +1 -0
  415. package/dist/repositories/bleMesh/getDeviceBLEMeshUpdateTasks.js +56 -0
  416. package/dist/repositories/bleMesh/getDeviceBLEMeshUpdateTasks.js.map +1 -0
  417. package/dist/repositories/bleMesh/getDeviceBLEMeshes.js +50 -0
  418. package/dist/repositories/bleMesh/getDeviceBLEMeshes.js.map +1 -0
  419. package/dist/repositories/bleMesh/index.js +269 -0
  420. package/dist/repositories/bleMesh/index.js.map +1 -0
  421. package/dist/repositories/bleMesh/removeBLEMesh.js +22 -0
  422. package/dist/repositories/bleMesh/removeBLEMesh.js.map +1 -0
  423. package/dist/repositories/bleMesh/removeBeaconBLEMeshes.js +21 -0
  424. package/dist/repositories/bleMesh/removeBeaconBLEMeshes.js.map +1 -0
  425. package/dist/repositories/bleMesh/removeBeaconsFromBLEMesh.js +28 -0
  426. package/dist/repositories/bleMesh/removeBeaconsFromBLEMesh.js.map +1 -0
  427. package/dist/repositories/bleMesh/removeDevicesFromBLEMesh.js +25 -0
  428. package/dist/repositories/bleMesh/removeDevicesFromBLEMesh.js.map +1 -0
  429. package/dist/repositories/bleMesh/updateBLEMesh.js +32 -0
  430. package/dist/repositories/bleMesh/updateBLEMesh.js.map +1 -0
  431. package/dist/repositories/bleMesh/updateBeaconBLEMesh.js +27 -0
  432. package/dist/repositories/bleMesh/updateBeaconBLEMesh.js.map +1 -0
  433. package/dist/repositories/bleMesh/updateDevicesBLEMesh.js +30 -0
  434. package/dist/repositories/bleMesh/updateDevicesBLEMesh.js.map +1 -0
  435. package/dist/repositories/bleMesh/updateDevicesBLEMeshUpdateTask.js +27 -0
  436. package/dist/repositories/bleMesh/updateDevicesBLEMeshUpdateTask.js.map +1 -0
  437. package/dist/repositories/bleMeshConfiguration/createBLEMeshConfigurationParams.js +1 -0
  438. package/dist/repositories/bleMeshConfiguration/createBLEMeshConfigurationParams.js.map +1 -0
  439. package/dist/repositories/bleMeshConfiguration/deleteBLEMeshConfiguration.js +1 -0
  440. package/dist/repositories/bleMeshConfiguration/deleteBLEMeshConfiguration.js.map +1 -0
  441. package/dist/repositories/bleMeshConfiguration/getBLEMeshConfiguration.js +8 -2
  442. package/dist/repositories/bleMeshConfiguration/getBLEMeshConfiguration.js.map +1 -0
  443. package/dist/repositories/bleMeshConfiguration/index.js +8 -4
  444. package/dist/repositories/bleMeshConfiguration/index.js.map +1 -0
  445. package/dist/repositories/bleMeshConfiguration/updateBLEMeshConfiguration.js +1 -0
  446. package/dist/repositories/bleMeshConfiguration/updateBLEMeshConfiguration.js.map +1 -0
  447. package/dist/repositories/boundaries/createBoundary.js +1 -0
  448. package/dist/repositories/boundaries/createBoundary.js.map +1 -0
  449. package/dist/repositories/boundaries/deleteBoundary.js +1 -0
  450. package/dist/repositories/boundaries/deleteBoundary.js.map +1 -0
  451. package/dist/repositories/boundaries/getBoundariesByClientId.js +45 -8
  452. package/dist/repositories/boundaries/getBoundariesByClientId.js.map +1 -0
  453. package/dist/repositories/boundaries/getBoundariesIdsByClientId.js +12 -7
  454. package/dist/repositories/boundaries/getBoundariesIdsByClientId.js.map +1 -0
  455. package/dist/repositories/boundaries/getBoundariesReport.js +8 -2
  456. package/dist/repositories/boundaries/getBoundariesReport.js.map +1 -0
  457. package/dist/repositories/boundaries/getBoundaryById.js +14 -5
  458. package/dist/repositories/boundaries/getBoundaryById.js.map +1 -0
  459. package/dist/repositories/boundaries/index.js +10 -9
  460. package/dist/repositories/boundaries/index.js.map +1 -0
  461. package/dist/repositories/boundaries/processBoundaryEvent.js +1 -0
  462. package/dist/repositories/boundaries/processBoundaryEvent.js.map +1 -0
  463. package/dist/repositories/boundaries/updateBoundary.js +1 -0
  464. package/dist/repositories/boundaries/updateBoundary.js.map +1 -0
  465. package/dist/repositories/boundaries/upsertBoundaryEvent.js +1 -0
  466. package/dist/repositories/boundaries/upsertBoundaryEvent.js.map +1 -0
  467. package/dist/repositories/clientAlertConfiguration/createClientAlertConfiguration.js +25 -0
  468. package/dist/repositories/clientAlertConfiguration/createClientAlertConfiguration.js.map +1 -0
  469. package/dist/repositories/clientAlertConfiguration/deleteClientAlertConfiguration.js +25 -0
  470. package/dist/repositories/clientAlertConfiguration/deleteClientAlertConfiguration.js.map +1 -0
  471. package/dist/repositories/clientAlertConfiguration/getClientAlertConfigurations.js +44 -0
  472. package/dist/repositories/clientAlertConfiguration/getClientAlertConfigurations.js.map +1 -0
  473. package/dist/repositories/clientAlertConfiguration/getClientAlertRecipients.js +40 -0
  474. package/dist/repositories/clientAlertConfiguration/getClientAlertRecipients.js.map +1 -0
  475. package/dist/repositories/clientAlertConfiguration/getUsersDataForClientAlertConfig.js +73 -0
  476. package/dist/repositories/clientAlertConfiguration/getUsersDataForClientAlertConfig.js.map +1 -0
  477. package/dist/repositories/clientAlertConfiguration/index.js +139 -0
  478. package/dist/repositories/clientAlertConfiguration/index.js.map +1 -0
  479. package/dist/repositories/clientAlertConfiguration/isUserAllowedForAlertConfig.js +51 -0
  480. package/dist/repositories/clientAlertConfiguration/isUserAllowedForAlertConfig.js.map +1 -0
  481. package/dist/repositories/clientAlertConfiguration/setClientAlertRecipients.js +175 -0
  482. package/dist/repositories/clientAlertConfiguration/setClientAlertRecipients.js.map +1 -0
  483. package/dist/repositories/clientAlertConfiguration/updateClientAlertConfiguration.js +43 -0
  484. package/dist/repositories/clientAlertConfiguration/updateClientAlertConfiguration.js.map +1 -0
  485. package/dist/repositories/clients/createClient.js +1 -0
  486. package/dist/repositories/clients/createClient.js.map +1 -0
  487. package/dist/repositories/clients/createClientConfiguration.js +3 -0
  488. package/dist/repositories/clients/createClientConfiguration.js.map +1 -0
  489. package/dist/repositories/clients/createClientIngestorConfiguration.js +21 -0
  490. package/dist/repositories/clients/createClientIngestorConfiguration.js.map +1 -0
  491. package/dist/repositories/clients/createCustomerAttribute.js +7 -1
  492. package/dist/repositories/clients/createCustomerAttribute.js.map +1 -0
  493. package/dist/repositories/clients/deleteClientAndConfiguration.js +1 -0
  494. package/dist/repositories/clients/deleteClientAndConfiguration.js.map +1 -0
  495. package/dist/repositories/clients/getClient.js +8 -2
  496. package/dist/repositories/clients/getClient.js.map +1 -0
  497. package/dist/repositories/clients/getClientConfiguration.js +23 -6
  498. package/dist/repositories/clients/getClientConfiguration.js.map +1 -0
  499. package/dist/repositories/clients/getClientIngestorConfigurations.js +25 -0
  500. package/dist/repositories/clients/getClientIngestorConfigurations.js.map +1 -0
  501. package/dist/repositories/clients/getClients.js +8 -2
  502. package/dist/repositories/clients/getClients.js.map +1 -0
  503. package/dist/repositories/clients/getCustomerAttribute.js +13 -4
  504. package/dist/repositories/clients/getCustomerAttribute.js.map +1 -0
  505. package/dist/repositories/clients/index.js +47 -11
  506. package/dist/repositories/clients/index.js.map +1 -0
  507. package/dist/repositories/clients/updateClient.js +1 -0
  508. package/dist/repositories/clients/updateClient.js.map +1 -0
  509. package/dist/repositories/clients/updateClientConfiguration.js +8 -10
  510. package/dist/repositories/clients/updateClientConfiguration.js.map +1 -0
  511. package/dist/repositories/clients/updateCustomerAttribute.js +7 -7
  512. package/dist/repositories/clients/updateCustomerAttribute.js.map +1 -0
  513. package/dist/repositories/countries/getCountries.js +8 -2
  514. package/dist/repositories/countries/getCountries.js.map +1 -0
  515. package/dist/repositories/countries/getCountry.js +10 -4
  516. package/dist/repositories/countries/getCountry.js.map +1 -0
  517. package/dist/repositories/countries/index.js +3 -2
  518. package/dist/repositories/countries/index.js.map +1 -0
  519. package/dist/repositories/dataExports/createDataExports.js +32 -0
  520. package/dist/repositories/dataExports/createDataExports.js.map +1 -0
  521. package/dist/repositories/dataExports/getDataExports.js +47 -0
  522. package/dist/repositories/dataExports/getDataExports.js.map +1 -0
  523. package/dist/repositories/dataExports/index.js +59 -0
  524. package/dist/repositories/dataExports/index.js.map +1 -0
  525. package/dist/repositories/dataExports/updateDataExports.js +26 -0
  526. package/dist/repositories/dataExports/updateDataExports.js.map +1 -0
  527. package/dist/repositories/deactivations/createDeactivation.js +1 -0
  528. package/dist/repositories/deactivations/createDeactivation.js.map +1 -0
  529. package/dist/repositories/deactivations/getDeactivationReasons.js +8 -2
  530. package/dist/repositories/deactivations/getDeactivationReasons.js.map +1 -0
  531. package/dist/repositories/deactivations/getLatestDeactivationByImei.js +8 -2
  532. package/dist/repositories/deactivations/getLatestDeactivationByImei.js.map +1 -0
  533. package/dist/repositories/deactivations/index.js +4 -3
  534. package/dist/repositories/deactivations/index.js.map +1 -0
  535. package/dist/repositories/deviceBehaviors/createDeviceBehaviorTask.js +1 -0
  536. package/dist/repositories/deviceBehaviors/createDeviceBehaviorTask.js.map +1 -0
  537. package/dist/repositories/deviceBehaviors/getDeviceBehaviorTasks.js +8 -2
  538. package/dist/repositories/deviceBehaviors/getDeviceBehaviorTasks.js.map +1 -0
  539. package/dist/repositories/deviceBehaviors/getDeviceBehaviors.js +9 -3
  540. package/dist/repositories/deviceBehaviors/getDeviceBehaviors.js.map +1 -0
  541. package/dist/repositories/deviceBehaviors/getDeviceBehaviorsByIds.js +8 -2
  542. package/dist/repositories/deviceBehaviors/getDeviceBehaviorsByIds.js.map +1 -0
  543. package/dist/repositories/deviceBehaviors/index.js +7 -42
  544. package/dist/repositories/deviceBehaviors/index.js.map +1 -0
  545. package/dist/repositories/deviceBehaviors/updateDeviceBehaviorTask.js +1 -0
  546. package/dist/repositories/deviceBehaviors/updateDeviceBehaviorTask.js.map +1 -0
  547. package/dist/repositories/deviceBehaviors/upsertDeviceBehavior.js +1 -0
  548. package/dist/repositories/deviceBehaviors/upsertDeviceBehavior.js.map +1 -0
  549. package/dist/repositories/devicePairings/createDevicePairing.js +1 -0
  550. package/dist/repositories/devicePairings/createDevicePairing.js.map +1 -0
  551. package/dist/repositories/devicePairings/deleteDevicePairing.js +1 -0
  552. package/dist/repositories/devicePairings/deleteDevicePairing.js.map +1 -0
  553. package/dist/repositories/devicePairings/getDevicePairings.js +8 -2
  554. package/dist/repositories/devicePairings/getDevicePairings.js.map +1 -0
  555. package/dist/repositories/devicePairings/getDevicePairingsByClientId.js +28 -0
  556. package/dist/repositories/devicePairings/getDevicePairingsByClientId.js.map +1 -0
  557. package/dist/repositories/devicePairings/getDevicePairingsByImei.js +8 -2
  558. package/dist/repositories/devicePairings/getDevicePairingsByImei.js.map +1 -0
  559. package/dist/repositories/devicePairings/index.js +22 -5
  560. package/dist/repositories/devicePairings/index.js.map +1 -0
  561. package/dist/repositories/devicePairings/updateDevicePairing.js +5 -1
  562. package/dist/repositories/devicePairings/updateDevicePairing.js.map +1 -0
  563. package/dist/repositories/deviceStatus/extendedDeviceStatus.js +207 -0
  564. package/dist/repositories/deviceStatus/extendedDeviceStatus.js.map +1 -0
  565. package/dist/repositories/deviceStatus/getDeviceStatuses.js +88 -0
  566. package/dist/repositories/deviceStatus/getDeviceStatuses.js.map +1 -0
  567. package/dist/repositories/deviceStatus/getDeviceStatusesCount.js +42 -0
  568. package/dist/repositories/deviceStatus/getDeviceStatusesCount.js.map +1 -0
  569. package/dist/repositories/deviceStatus/index.js +63 -0
  570. package/dist/repositories/deviceStatus/index.js.map +1 -0
  571. package/dist/repositories/deviceStatus/upsertDeviceStatuses.js +47 -0
  572. package/dist/repositories/deviceStatus/upsertDeviceStatuses.js.map +1 -0
  573. package/dist/repositories/deviceTypeFeature/bulkCreateDeviceTypeFeature.js +20 -0
  574. package/dist/repositories/deviceTypeFeature/bulkCreateDeviceTypeFeature.js.map +1 -0
  575. package/dist/repositories/deviceTypeFeature/deleteDeviceTypeFeature.js +22 -0
  576. package/dist/repositories/deviceTypeFeature/deleteDeviceTypeFeature.js.map +1 -0
  577. package/dist/repositories/deviceTypeFeature/getDeviceTypeFeatures.js +25 -0
  578. package/dist/repositories/deviceTypeFeature/getDeviceTypeFeatures.js.map +1 -0
  579. package/dist/repositories/deviceTypeFeature/index.js +48 -0
  580. package/dist/repositories/deviceTypeFeature/index.js.map +1 -0
  581. package/dist/repositories/devices/addDeviceChangesHistory.js +35 -0
  582. package/dist/repositories/devices/addDeviceChangesHistory.js.map +1 -0
  583. package/dist/repositories/devices/allImeisAreActiveForClient.js +8 -2
  584. package/dist/repositories/devices/allImeisAreActiveForClient.js.map +1 -0
  585. package/dist/repositories/devices/createClientDeviceSetting.js +3 -1
  586. package/dist/repositories/devices/createClientDeviceSetting.js.map +1 -0
  587. package/dist/repositories/devices/createDevice.js +2 -1
  588. package/dist/repositories/devices/createDevice.js.map +1 -0
  589. package/dist/repositories/devices/createDeviceReplacement.js +2 -1
  590. package/dist/repositories/devices/createDeviceReplacement.js.map +1 -0
  591. package/dist/repositories/devices/createDeviceType.js +2 -1
  592. package/dist/repositories/devices/createDeviceType.js.map +1 -0
  593. package/dist/repositories/devices/createImeiIccidCarrier.js +19 -0
  594. package/dist/repositories/devices/createImeiIccidCarrier.js.map +1 -0
  595. package/dist/repositories/devices/deleteDevice.js +2 -1
  596. package/dist/repositories/devices/deleteDevice.js.map +1 -0
  597. package/dist/repositories/devices/generateDeviceIdentifierKey.js +2 -1
  598. package/dist/repositories/devices/generateDeviceIdentifierKey.js.map +1 -0
  599. package/dist/repositories/devices/getCanceledDevicesWithActiveSimCards.js +13 -3
  600. package/dist/repositories/devices/getCanceledDevicesWithActiveSimCards.js.map +1 -0
  601. package/dist/repositories/devices/getCarrierStatusUpdatedBefore.js +8 -2
  602. package/dist/repositories/devices/getCarrierStatusUpdatedBefore.js.map +1 -0
  603. package/dist/repositories/devices/getClientDeviceSetting.js +8 -2
  604. package/dist/repositories/devices/getClientDeviceSetting.js.map +1 -0
  605. package/dist/repositories/devices/getClientDeviceSettings.js +8 -2
  606. package/dist/repositories/devices/getClientDeviceSettings.js.map +1 -0
  607. package/dist/repositories/devices/getDevice.js +8 -2
  608. package/dist/repositories/devices/getDevice.js.map +1 -0
  609. package/dist/repositories/devices/getDeviceChangesHistory.js +28 -0
  610. package/dist/repositories/devices/getDeviceChangesHistory.js.map +1 -0
  611. package/dist/repositories/devices/getDeviceChangesHistoryAssignedToValuesByClient.js +24 -0
  612. package/dist/repositories/devices/getDeviceChangesHistoryAssignedToValuesByClient.js.map +1 -0
  613. package/dist/repositories/devices/getDeviceCustomConfig.js +8 -2
  614. package/dist/repositories/devices/getDeviceCustomConfig.js.map +1 -0
  615. package/dist/repositories/devices/getDeviceTypeByImei.js +8 -2
  616. package/dist/repositories/devices/getDeviceTypeByImei.js.map +1 -0
  617. package/dist/repositories/devices/getDeviceTypes.js +41 -18
  618. package/dist/repositories/devices/getDeviceTypes.js.map +1 -0
  619. package/dist/repositories/devices/getDeviceTypesModelsOrderedByDeviceCount.js +8 -2
  620. package/dist/repositories/devices/getDeviceTypesModelsOrderedByDeviceCount.js.map +1 -0
  621. package/dist/repositories/devices/getDeviceWithUsersInfo.js +8 -2
  622. package/dist/repositories/devices/getDeviceWithUsersInfo.js.map +1 -0
  623. package/dist/repositories/devices/getDevices.js +56 -7
  624. package/dist/repositories/devices/getDevices.js.map +1 -0
  625. package/dist/repositories/devices/getDevicesCountByStatus.js +34 -0
  626. package/dist/repositories/devices/getDevicesCountByStatus.js.map +1 -0
  627. package/dist/repositories/devices/getFilteredImeisWithStatus.js +8 -2
  628. package/dist/repositories/devices/getFilteredImeisWithStatus.js.map +1 -0
  629. package/dist/repositories/devices/getIccidStatus.js +8 -2
  630. package/dist/repositories/devices/getIccidStatus.js.map +1 -0
  631. package/dist/repositories/devices/getImeiIccidCarrier.js +8 -2
  632. package/dist/repositories/devices/getImeiIccidCarrier.js.map +1 -0
  633. package/dist/repositories/devices/getImeiIccidCarriers.js +8 -2
  634. package/dist/repositories/devices/getImeiIccidCarriers.js.map +1 -0
  635. package/dist/repositories/devices/getServiceProviderProduct.js +23 -0
  636. package/dist/repositories/devices/getServiceProviderProduct.js.map +1 -0
  637. package/dist/repositories/devices/index.js +143 -59
  638. package/dist/repositories/devices/index.js.map +1 -0
  639. package/dist/repositories/devices/updateClientDeviceSetting.js +5 -2
  640. package/dist/repositories/devices/updateClientDeviceSetting.js.map +1 -0
  641. package/dist/repositories/devices/updateDevice.js +5 -14
  642. package/dist/repositories/devices/updateDevice.js.map +1 -0
  643. package/dist/repositories/devices/updateDeviceType.js +2 -1
  644. package/dist/repositories/devices/updateDeviceType.js.map +1 -0
  645. package/dist/repositories/devices/updateIccidStatus.js +2 -1
  646. package/dist/repositories/devices/updateIccidStatus.js.map +1 -0
  647. package/dist/repositories/devices/updateImeiIccidCarrier.js +2 -1
  648. package/dist/repositories/devices/updateImeiIccidCarrier.js.map +1 -0
  649. package/dist/repositories/devices/upsertDeviceCustomConfig.js +15 -0
  650. package/dist/repositories/devices/upsertDeviceCustomConfig.js.map +1 -0
  651. package/dist/repositories/devices/upsertIccidStatus.js +2 -1
  652. package/dist/repositories/devices/upsertIccidStatus.js.map +1 -0
  653. package/dist/repositories/entityTags/bulkCreateEntityTag.js +21 -0
  654. package/dist/repositories/entityTags/bulkCreateEntityTag.js.map +1 -0
  655. package/dist/repositories/entityTags/bulkDeleteEntityTag.js +28 -0
  656. package/dist/repositories/entityTags/bulkDeleteEntityTag.js.map +1 -0
  657. package/dist/repositories/entityTags/createEntityTag.js +20 -0
  658. package/dist/repositories/entityTags/createEntityTag.js.map +1 -0
  659. package/dist/repositories/entityTags/deleteEntityTag.js +22 -0
  660. package/dist/repositories/entityTags/deleteEntityTag.js.map +1 -0
  661. package/dist/repositories/entityTags/deleteEntityTagById.js +13 -0
  662. package/dist/repositories/entityTags/deleteEntityTagById.js.map +1 -0
  663. package/dist/repositories/entityTags/enforceEntityTagsByEntity.js +38 -0
  664. package/dist/repositories/entityTags/enforceEntityTagsByEntity.js.map +1 -0
  665. package/dist/repositories/entityTags/getEntityTagById.js +23 -0
  666. package/dist/repositories/entityTags/getEntityTagById.js.map +1 -0
  667. package/dist/repositories/entityTags/index.js +104 -0
  668. package/dist/repositories/entityTags/index.js.map +1 -0
  669. package/dist/repositories/entityTags/searchEntityTags.js +46 -0
  670. package/dist/repositories/entityTags/searchEntityTags.js.map +1 -0
  671. package/dist/repositories/features/createFeature.js +21 -0
  672. package/dist/repositories/features/createFeature.js.map +1 -0
  673. package/dist/repositories/features/deleteFeature.js +17 -0
  674. package/dist/repositories/features/deleteFeature.js.map +1 -0
  675. package/dist/repositories/features/getFeatures.js +25 -0
  676. package/dist/repositories/features/getFeatures.js.map +1 -0
  677. package/dist/repositories/features/index.js +61 -0
  678. package/dist/repositories/features/index.js.map +1 -0
  679. package/dist/repositories/features/upsertFeature.js +23 -0
  680. package/dist/repositories/features/upsertFeature.js.map +1 -0
  681. package/dist/repositories/firmwares/createDeviceFirmware.js +1 -0
  682. package/dist/repositories/firmwares/createDeviceFirmware.js.map +1 -0
  683. package/dist/repositories/firmwares/createFirmwareAutoUpgradeBlacklist.js +1 -0
  684. package/dist/repositories/firmwares/createFirmwareAutoUpgradeBlacklist.js.map +1 -0
  685. package/dist/repositories/firmwares/createFirmwareUpgradeTask.js +1 -0
  686. package/dist/repositories/firmwares/createFirmwareUpgradeTask.js.map +1 -0
  687. package/dist/repositories/firmwares/getDeviceFirmwares.js +28 -20
  688. package/dist/repositories/firmwares/getDeviceFirmwares.js.map +1 -0
  689. package/dist/repositories/firmwares/getFirmwareAutoUpgradeBlacklist.js +8 -2
  690. package/dist/repositories/firmwares/getFirmwareAutoUpgradeBlacklist.js.map +1 -0
  691. package/dist/repositories/firmwares/getFirmwareUpgradeTasks.js +8 -2
  692. package/dist/repositories/firmwares/getFirmwareUpgradeTasks.js.map +1 -0
  693. package/dist/repositories/firmwares/getFirmwareUpgradeTasksCount.js +8 -2
  694. package/dist/repositories/firmwares/getFirmwareUpgradeTasksCount.js.map +1 -0
  695. package/dist/repositories/firmwares/index.js +10 -9
  696. package/dist/repositories/firmwares/index.js.map +1 -0
  697. package/dist/repositories/firmwares/updateDeviceFirmware.js +1 -0
  698. package/dist/repositories/firmwares/updateDeviceFirmware.js.map +1 -0
  699. package/dist/repositories/firmwares/updateFirmwareUpgradeTasks.js +1 -0
  700. package/dist/repositories/firmwares/updateFirmwareUpgradeTasks.js.map +1 -0
  701. package/dist/repositories/index.js +13 -1
  702. package/dist/repositories/index.js.map +1 -0
  703. package/dist/repositories/latestUserAppInfo/getLatestUserAppInfo.js +27 -0
  704. package/dist/repositories/latestUserAppInfo/getLatestUserAppInfo.js.map +1 -0
  705. package/dist/repositories/latestUserAppInfo/index.js +37 -0
  706. package/dist/repositories/latestUserAppInfo/index.js.map +1 -0
  707. package/dist/repositories/latestUserAppInfo/upsertLatestUserAppInfo.js +29 -0
  708. package/dist/repositories/latestUserAppInfo/upsertLatestUserAppInfo.js.map +1 -0
  709. package/dist/repositories/notificationRecipients/createNotificationRecipient.js +2 -0
  710. package/dist/repositories/notificationRecipients/createNotificationRecipient.js.map +1 -0
  711. package/dist/repositories/notificationRecipients/deleteNotificationRecipients.js +9 -3
  712. package/dist/repositories/notificationRecipients/deleteNotificationRecipients.js.map +1 -0
  713. package/dist/repositories/notificationRecipients/deleteNotificationRecipientsByEmailOrPhone.js +1 -0
  714. package/dist/repositories/notificationRecipients/deleteNotificationRecipientsByEmailOrPhone.js.map +1 -0
  715. package/dist/repositories/notificationRecipients/getNotificationRecipients.js +22 -2
  716. package/dist/repositories/notificationRecipients/getNotificationRecipients.js.map +1 -0
  717. package/dist/repositories/notificationRecipients/index.js +8 -7
  718. package/dist/repositories/notificationRecipients/index.js.map +1 -0
  719. package/dist/repositories/notificationRecipients/updateNotificationRecipient.js +1 -0
  720. package/dist/repositories/notificationRecipients/updateNotificationRecipient.js.map +1 -0
  721. package/dist/repositories/notificationRecipients/updateUsersNotificationsUnsubscribedInfoStatus.js +1 -0
  722. package/dist/repositories/notificationRecipients/updateUsersNotificationsUnsubscribedInfoStatus.js.map +1 -0
  723. package/dist/repositories/notificationRecipients/updateUsersNotificationsUnsuscribedStatus.js +1 -0
  724. package/dist/repositories/notificationRecipients/updateUsersNotificationsUnsuscribedStatus.js.map +1 -0
  725. package/dist/repositories/positions/createPosition.js +3 -0
  726. package/dist/repositories/positions/createPosition.js.map +1 -0
  727. package/dist/repositories/positions/getBatteryReportForDevice.js +47 -0
  728. package/dist/repositories/positions/getBatteryReportForDevice.js.map +1 -0
  729. package/dist/repositories/positions/getLatestPositionByImei.js +9 -2
  730. package/dist/repositories/positions/getLatestPositionByImei.js.map +1 -0
  731. package/dist/repositories/positions/getPositionsByImei.js +9 -2
  732. package/dist/repositories/positions/getPositionsByImei.js.map +1 -0
  733. package/dist/repositories/positions/getPositionsReportByClient.js +10 -1
  734. package/dist/repositories/positions/getPositionsReportByClient.js.map +1 -0
  735. package/dist/repositories/positions/index.js +17 -8
  736. package/dist/repositories/positions/index.js.map +1 -0
  737. package/dist/repositories/positions/mapping/mapToPositionReport.js +21 -0
  738. package/dist/repositories/positions/mapping/mapToPositionReport.js.map +1 -0
  739. package/dist/repositories/positions/upsertLatestPosition.js +1 -0
  740. package/dist/repositories/positions/upsertLatestPosition.js.map +1 -0
  741. package/dist/repositories/promotions/bulkInsertDeviceTypePromotion.js +15 -0
  742. package/dist/repositories/promotions/bulkInsertDeviceTypePromotion.js.map +1 -0
  743. package/dist/repositories/promotions/bulkInsertMarketplacePromotion.js +15 -0
  744. package/dist/repositories/promotions/bulkInsertMarketplacePromotion.js.map +1 -0
  745. package/dist/repositories/promotions/createPromotion.js +30 -0
  746. package/dist/repositories/promotions/createPromotion.js.map +1 -0
  747. package/dist/repositories/promotions/createPromotionHistory.js +18 -0
  748. package/dist/repositories/promotions/createPromotionHistory.js.map +1 -0
  749. package/dist/repositories/promotions/deleteDeviceTypePromotion.js +22 -0
  750. package/dist/repositories/promotions/deleteDeviceTypePromotion.js.map +1 -0
  751. package/dist/repositories/promotions/deleteMarketplacePromotion.js +24 -0
  752. package/dist/repositories/promotions/deleteMarketplacePromotion.js.map +1 -0
  753. package/dist/repositories/promotions/getDeviceTypePromotion.js +28 -0
  754. package/dist/repositories/promotions/getDeviceTypePromotion.js.map +1 -0
  755. package/dist/repositories/promotions/getMarketplacePromotion.js +28 -0
  756. package/dist/repositories/promotions/getMarketplacePromotion.js.map +1 -0
  757. package/dist/repositories/promotions/getPromotions.js +64 -0
  758. package/dist/repositories/promotions/getPromotions.js.map +1 -0
  759. package/dist/repositories/promotions/index.js +140 -0
  760. package/dist/repositories/promotions/index.js.map +1 -0
  761. package/dist/repositories/promotions/promotionValidator.js +17 -0
  762. package/dist/repositories/promotions/promotionValidator.js.map +1 -0
  763. package/dist/repositories/promotions/updatePromotion.js +36 -0
  764. package/dist/repositories/promotions/updatePromotion.js.map +1 -0
  765. package/dist/repositories/security/createUserRole.js +1 -0
  766. package/dist/repositories/security/createUserRole.js.map +1 -0
  767. package/dist/repositories/security/getAllRoles.js +15 -4
  768. package/dist/repositories/security/getAllRoles.js.map +1 -0
  769. package/dist/repositories/security/getUserRoles.js +14 -5
  770. package/dist/repositories/security/getUserRoles.js.map +1 -0
  771. package/dist/repositories/security/getUserRolesByClientId.js +17 -8
  772. package/dist/repositories/security/getUserRolesByClientId.js.map +1 -0
  773. package/dist/repositories/security/index.js +11 -10
  774. package/dist/repositories/security/index.js.map +1 -0
  775. package/dist/repositories/security/removeUserRoles.js +1 -0
  776. package/dist/repositories/security/removeUserRoles.js.map +1 -0
  777. package/dist/repositories/security/updateUserRole.js +1 -0
  778. package/dist/repositories/security/updateUserRole.js.map +1 -0
  779. package/dist/repositories/security/userIsAdminOrOwner.js +15 -9
  780. package/dist/repositories/security/userIsAdminOrOwner.js.map +1 -0
  781. package/dist/repositories/security/userIsInRole.js +13 -8
  782. package/dist/repositories/security/userIsInRole.js.map +1 -0
  783. package/dist/repositories/tags/bulkCreateTags.js +25 -0
  784. package/dist/repositories/tags/bulkCreateTags.js.map +1 -0
  785. package/dist/repositories/tags/createTag.js +21 -0
  786. package/dist/repositories/tags/createTag.js.map +1 -0
  787. package/dist/repositories/tags/deleteTag.js +20 -0
  788. package/dist/repositories/tags/deleteTag.js.map +1 -0
  789. package/dist/repositories/tags/index.js +83 -0
  790. package/dist/repositories/tags/index.js.map +1 -0
  791. package/dist/repositories/tags/searchTags.js +44 -0
  792. package/dist/repositories/tags/searchTags.js.map +1 -0
  793. package/dist/repositories/tags/searchTagsByUser.js +46 -0
  794. package/dist/repositories/tags/searchTagsByUser.js.map +1 -0
  795. package/dist/repositories/tags/updateTag.js +32 -0
  796. package/dist/repositories/tags/updateTag.js.map +1 -0
  797. package/dist/repositories/tasks/addTaskScheduleDevices.js +1 -0
  798. package/dist/repositories/tasks/addTaskScheduleDevices.js.map +1 -0
  799. package/dist/repositories/tasks/completeTask.js +12 -2
  800. package/dist/repositories/tasks/completeTask.js.map +1 -0
  801. package/dist/repositories/tasks/createTask.js +1 -0
  802. package/dist/repositories/tasks/createTask.js.map +1 -0
  803. package/dist/repositories/tasks/createTaskSchedule.js +1 -0
  804. package/dist/repositories/tasks/createTaskSchedule.js.map +1 -0
  805. package/dist/repositories/tasks/deleteTask.js +1 -0
  806. package/dist/repositories/tasks/deleteTask.js.map +1 -0
  807. package/dist/repositories/tasks/deleteTaskSchedule.js +1 -0
  808. package/dist/repositories/tasks/deleteTaskSchedule.js.map +1 -0
  809. package/dist/repositories/tasks/deleteTaskScheduleDevices.js +1 -0
  810. package/dist/repositories/tasks/deleteTaskScheduleDevices.js.map +1 -0
  811. package/dist/repositories/tasks/getDeviceTasks.js +8 -2
  812. package/dist/repositories/tasks/getDeviceTasks.js.map +1 -0
  813. package/dist/repositories/tasks/getTaskSchedule.js +22 -10
  814. package/dist/repositories/tasks/getTaskSchedule.js.map +1 -0
  815. package/dist/repositories/tasks/getTaskSchedules.js +35 -8
  816. package/dist/repositories/tasks/getTaskSchedules.js.map +1 -0
  817. package/dist/repositories/tasks/getTaskSchedulesCount.js +26 -7
  818. package/dist/repositories/tasks/getTaskSchedulesCount.js.map +1 -0
  819. package/dist/repositories/tasks/getTasks.js +70 -5
  820. package/dist/repositories/tasks/getTasks.js.map +1 -0
  821. package/dist/repositories/tasks/getTasksCount.js +18 -2
  822. package/dist/repositories/tasks/getTasksCount.js.map +1 -0
  823. package/dist/repositories/tasks/index.js +20 -17
  824. package/dist/repositories/tasks/index.js.map +1 -0
  825. package/dist/repositories/tasks/setTaskAsPastDue.js +1 -0
  826. package/dist/repositories/tasks/setTaskAsPastDue.js.map +1 -0
  827. package/dist/repositories/tasks/setTaskScheduleDevices.js +1 -0
  828. package/dist/repositories/tasks/setTaskScheduleDevices.js.map +1 -0
  829. package/dist/repositories/tasks/updateTask.js +1 -0
  830. package/dist/repositories/tasks/updateTask.js.map +1 -0
  831. package/dist/repositories/tasks/updateTaskSchedule.js +1 -0
  832. package/dist/repositories/tasks/updateTaskSchedule.js.map +1 -0
  833. package/dist/repositories/trips/createTrip.js +2 -1
  834. package/dist/repositories/trips/createTrip.js.map +1 -0
  835. package/dist/repositories/trips/getDeviceTripConfiguration.js +52 -0
  836. package/dist/repositories/trips/getDeviceTripConfiguration.js.map +1 -0
  837. package/dist/repositories/trips/getTripById.js +13 -6
  838. package/dist/repositories/trips/getTripById.js.map +1 -0
  839. package/dist/repositories/trips/getTrips.js +74 -14
  840. package/dist/repositories/trips/getTrips.js.map +1 -0
  841. package/dist/repositories/trips/index.js +19 -10
  842. package/dist/repositories/trips/index.js.map +1 -0
  843. package/dist/repositories/trips/updateTripEndValues.js +2 -1
  844. package/dist/repositories/trips/updateTripEndValues.js.map +1 -0
  845. package/dist/repositories/trips/upsertTrip.js +2 -1
  846. package/dist/repositories/trips/upsertTrip.js.map +1 -0
  847. package/dist/repositories/userActivations/createUserActivation.js +1 -0
  848. package/dist/repositories/userActivations/createUserActivation.js.map +1 -0
  849. package/dist/repositories/userActivations/createUserActivationDevice.js +1 -0
  850. package/dist/repositories/userActivations/createUserActivationDevice.js.map +1 -0
  851. package/dist/repositories/userActivations/createUserActivationEvent.js +1 -0
  852. package/dist/repositories/userActivations/createUserActivationEvent.js.map +1 -0
  853. package/dist/repositories/userActivations/createUserActivationMetric.js +1 -0
  854. package/dist/repositories/userActivations/createUserActivationMetric.js.map +1 -0
  855. package/dist/repositories/userActivations/deleteUserActivation.js +1 -0
  856. package/dist/repositories/userActivations/deleteUserActivation.js.map +1 -0
  857. package/dist/repositories/userActivations/getLastActivationDevice.js +8 -2
  858. package/dist/repositories/userActivations/getLastActivationDevice.js.map +1 -0
  859. package/dist/repositories/userActivations/getUserActivationById.js +22 -0
  860. package/dist/repositories/userActivations/getUserActivationById.js.map +1 -0
  861. package/dist/repositories/userActivations/getUserActivationDevices.js +8 -2
  862. package/dist/repositories/userActivations/getUserActivationDevices.js.map +1 -0
  863. package/dist/repositories/userActivations/getUserActivationDevicesByClientId.js +8 -3
  864. package/dist/repositories/userActivations/getUserActivationDevicesByClientId.js.map +1 -0
  865. package/dist/repositories/userActivations/getUserActivationMetrics.js +8 -2
  866. package/dist/repositories/userActivations/getUserActivationMetrics.js.map +1 -0
  867. package/dist/repositories/userActivations/getUserActivations.js +8 -2
  868. package/dist/repositories/userActivations/getUserActivations.js.map +1 -0
  869. package/dist/repositories/userActivations/index.js +21 -12
  870. package/dist/repositories/userActivations/index.js.map +1 -0
  871. package/dist/repositories/userActivations/updateUserActivationDevice.js +1 -0
  872. package/dist/repositories/userActivations/updateUserActivationDevice.js.map +1 -0
  873. package/dist/repositories/userActivations/updateUserActivationMetrics.js +1 -0
  874. package/dist/repositories/userActivations/updateUserActivationMetrics.js.map +1 -0
  875. package/dist/repositories/userAppFeedback/createUserAppFeedback.js +1 -0
  876. package/dist/repositories/userAppFeedback/createUserAppFeedback.js.map +1 -0
  877. package/dist/repositories/userAppFeedback/index.js +2 -1
  878. package/dist/repositories/userAppFeedback/index.js.map +1 -0
  879. package/dist/repositories/userAppIncidents/getUserAppIncidents.js +8 -2
  880. package/dist/repositories/userAppIncidents/getUserAppIncidents.js.map +1 -0
  881. package/dist/repositories/userAppIncidents/index.js +3 -2
  882. package/dist/repositories/userAppIncidents/index.js.map +1 -0
  883. package/dist/repositories/userAppIncidents/upsertUserAppIncident.js +1 -0
  884. package/dist/repositories/userAppIncidents/upsertUserAppIncident.js.map +1 -0
  885. package/dist/repositories/userConfigurations/bulkCreateUserAlertConfigurations.js +11 -11
  886. package/dist/repositories/userConfigurations/bulkCreateUserAlertConfigurations.js.map +1 -0
  887. package/dist/repositories/userConfigurations/createUserAlertConfiguration.js +34 -0
  888. package/dist/repositories/userConfigurations/createUserAlertConfiguration.js.map +1 -0
  889. package/dist/repositories/userConfigurations/createUserConfiguration.js +1 -0
  890. package/dist/repositories/userConfigurations/createUserConfiguration.js.map +1 -0
  891. package/dist/repositories/userConfigurations/deleteUserAlertConfigurations.js +11 -5
  892. package/dist/repositories/userConfigurations/deleteUserAlertConfigurations.js.map +1 -0
  893. package/dist/repositories/userConfigurations/deleteUserAlertNotificationsConfig.js +30 -0
  894. package/dist/repositories/userConfigurations/deleteUserAlertNotificationsConfig.js.map +1 -0
  895. package/dist/repositories/userConfigurations/deleteUserConfiguration.js +1 -0
  896. package/dist/repositories/userConfigurations/deleteUserConfiguration.js.map +1 -0
  897. package/dist/repositories/userConfigurations/getUserAlertConfigurations.js +11 -2
  898. package/dist/repositories/userConfigurations/getUserAlertConfigurations.js.map +1 -0
  899. package/dist/repositories/userConfigurations/getUserAlertNotificationsConfig.js +149 -0
  900. package/dist/repositories/userConfigurations/getUserAlertNotificationsConfig.js.map +1 -0
  901. package/dist/repositories/userConfigurations/getUserConfigurations.js +8 -2
  902. package/dist/repositories/userConfigurations/getUserConfigurations.js.map +1 -0
  903. package/dist/repositories/userConfigurations/index.js +99 -136
  904. package/dist/repositories/userConfigurations/index.js.map +1 -0
  905. package/dist/repositories/userConfigurations/updateUserAlertConfigurations.js +1 -0
  906. package/dist/repositories/userConfigurations/updateUserAlertConfigurations.js.map +1 -0
  907. package/dist/repositories/userConfigurations/updateUserAlertConfigurationsByIds.js +53 -0
  908. package/dist/repositories/userConfigurations/updateUserAlertConfigurationsByIds.js.map +1 -0
  909. package/dist/repositories/userConfigurations/updateUserConfiguration.js +1 -0
  910. package/dist/repositories/userConfigurations/updateUserConfiguration.js.map +1 -0
  911. package/dist/repositories/userConfigurations/upsertUserAlertNotificationsConfig.js +30 -0
  912. package/dist/repositories/userConfigurations/upsertUserAlertNotificationsConfig.js.map +1 -0
  913. package/dist/repositories/userDataDeletionRequests/createUserDataDeletionRequest.js +1 -0
  914. package/dist/repositories/userDataDeletionRequests/createUserDataDeletionRequest.js.map +1 -0
  915. package/dist/repositories/userDataDeletionRequests/getUserDataDeletionRequest.js +10 -4
  916. package/dist/repositories/userDataDeletionRequests/getUserDataDeletionRequest.js.map +1 -0
  917. package/dist/repositories/userDataDeletionRequests/index.js +5 -4
  918. package/dist/repositories/userDataDeletionRequests/index.js.map +1 -0
  919. package/dist/repositories/userDataDeletionRequests/removeUserDataDeletionRequest.js +1 -0
  920. package/dist/repositories/userDataDeletionRequests/removeUserDataDeletionRequest.js.map +1 -0
  921. package/dist/repositories/userDataDeletionRequests/updateUserDataDeletionRequest.js +1 -0
  922. package/dist/repositories/userDataDeletionRequests/updateUserDataDeletionRequest.js.map +1 -0
  923. package/dist/repositories/userInvitations/createUserInvitation.js +2 -0
  924. package/dist/repositories/userInvitations/createUserInvitation.js.map +1 -0
  925. package/dist/repositories/userInvitations/getUserInvitationById.js +8 -2
  926. package/dist/repositories/userInvitations/getUserInvitationById.js.map +1 -0
  927. package/dist/repositories/userInvitations/getUserInvitations.js +29 -4
  928. package/dist/repositories/userInvitations/getUserInvitations.js.map +1 -0
  929. package/dist/repositories/userInvitations/index.js +5 -4
  930. package/dist/repositories/userInvitations/index.js.map +1 -0
  931. package/dist/repositories/userInvitations/updateUserInvitation.js +4 -1
  932. package/dist/repositories/userInvitations/updateUserInvitation.js.map +1 -0
  933. package/dist/repositories/userRatingRequests/createUserRatingRequest.js +1 -0
  934. package/dist/repositories/userRatingRequests/createUserRatingRequest.js.map +1 -0
  935. package/dist/repositories/userRatingRequests/getUserRatingRequests.js +8 -2
  936. package/dist/repositories/userRatingRequests/getUserRatingRequests.js.map +1 -0
  937. package/dist/repositories/userRatingRequests/index.js +3 -2
  938. package/dist/repositories/userRatingRequests/index.js.map +1 -0
  939. package/dist/repositories/userRegistrationAttempts/createUserRegistrationAttempt.js +1 -0
  940. package/dist/repositories/userRegistrationAttempts/createUserRegistrationAttempt.js.map +1 -0
  941. package/dist/repositories/userRegistrationAttempts/getUserRegistrationAttempts.js +10 -4
  942. package/dist/repositories/userRegistrationAttempts/getUserRegistrationAttempts.js.map +1 -0
  943. package/dist/repositories/userRegistrationAttempts/index.js +4 -3
  944. package/dist/repositories/userRegistrationAttempts/index.js.map +1 -0
  945. package/dist/repositories/userRegistrationAttempts/updateUserRegistrationAttempt.js +1 -0
  946. package/dist/repositories/userRegistrationAttempts/updateUserRegistrationAttempt.js.map +1 -0
  947. package/dist/repositories/users/createUser.js +1 -0
  948. package/dist/repositories/users/createUser.js.map +1 -0
  949. package/dist/repositories/users/deleteAccount.js +1 -0
  950. package/dist/repositories/users/deleteAccount.js.map +1 -0
  951. package/dist/repositories/users/deleteUser.js +1 -0
  952. package/dist/repositories/users/deleteUser.js.map +1 -0
  953. package/dist/repositories/users/getUserById.js +26 -11
  954. package/dist/repositories/users/getUserById.js.map +1 -0
  955. package/dist/repositories/users/getUserClientRelatedEntitiesCount.js +64 -0
  956. package/dist/repositories/users/getUserClientRelatedEntitiesCount.js.map +1 -0
  957. package/dist/repositories/users/getUserData.js +12 -8
  958. package/dist/repositories/users/getUserData.js.map +1 -0
  959. package/dist/repositories/users/getUserInfoWithAmazonDevicesInfo.js +88 -0
  960. package/dist/repositories/users/getUserInfoWithAmazonDevicesInfo.js.map +1 -0
  961. package/dist/repositories/users/getUsers.js +59 -6
  962. package/dist/repositories/users/getUsers.js.map +1 -0
  963. package/dist/repositories/users/getUsersConfigurationByImei.js +15 -13
  964. package/dist/repositories/users/getUsersConfigurationByImei.js.map +1 -0
  965. package/dist/repositories/users/getUsersIdByPhoneAndCountryCode.js +8 -2
  966. package/dist/repositories/users/getUsersIdByPhoneAndCountryCode.js.map +1 -0
  967. package/dist/repositories/users/getUsersInfoWithActivationInfo.js +101 -0
  968. package/dist/repositories/users/getUsersInfoWithActivationInfo.js.map +1 -0
  969. package/dist/repositories/users/getUsersInfoWithDevicesInfo.js +59 -0
  970. package/dist/repositories/users/getUsersInfoWithDevicesInfo.js.map +1 -0
  971. package/dist/repositories/users/getUsersWithRoles.js +11 -3
  972. package/dist/repositories/users/getUsersWithRoles.js.map +1 -0
  973. package/dist/repositories/users/index.js +68 -11
  974. package/dist/repositories/users/index.js.map +1 -0
  975. package/dist/repositories/users/updateUser.js +1 -0
  976. package/dist/repositories/users/updateUser.js.map +1 -0
  977. package/dist/subscribers/allEntitiesSubscriber.js +1 -0
  978. package/dist/subscribers/allEntitiesSubscriber.js.map +1 -0
  979. package/dist/subscribers/index.js +1 -0
  980. package/dist/subscribers/index.js.map +1 -0
  981. package/dist/types/acumatica.js +1 -0
  982. package/dist/types/acumatica.js.map +1 -0
  983. package/dist/types/aempToken.js +1 -0
  984. package/dist/types/aempToken.js.map +1 -0
  985. package/dist/types/alert.d.ts +1 -0
  986. package/dist/types/alert.js +1 -0
  987. package/dist/types/alert.js.map +1 -0
  988. package/dist/types/alertTypes.js +1 -0
  989. package/dist/types/alertTypes.js.map +1 -0
  990. package/dist/types/appFeatures.js +1 -0
  991. package/dist/types/appFeatures.js.map +1 -0
  992. package/dist/types/billing.js +1 -0
  993. package/dist/types/billing.js.map +1 -0
  994. package/dist/types/blacklist.js +1 -0
  995. package/dist/types/blacklist.js.map +1 -0
  996. package/dist/types/bleMesh.js +2 -0
  997. package/dist/types/bleMesh.js.map +1 -0
  998. package/dist/types/bleMeshConfiguration.js +1 -0
  999. package/dist/types/bleMeshConfiguration.js.map +1 -0
  1000. package/dist/types/boundaries.js +1 -0
  1001. package/dist/types/boundaries.js.map +1 -0
  1002. package/dist/types/clientAlertConfiguration.js +2 -0
  1003. package/dist/types/clientAlertConfiguration.js.map +1 -0
  1004. package/dist/types/clients.js +35 -1
  1005. package/dist/types/clients.js.map +1 -0
  1006. package/dist/types/common.js +1 -0
  1007. package/dist/types/common.js.map +1 -0
  1008. package/dist/types/countries.js +1 -0
  1009. package/dist/types/countries.js.map +1 -0
  1010. package/dist/types/dataExports.js +2 -0
  1011. package/dist/types/dataExports.js.map +1 -0
  1012. package/dist/types/deactivations.js +1 -0
  1013. package/dist/types/deactivations.js.map +1 -0
  1014. package/dist/types/deviceBehaviors.js +1 -0
  1015. package/dist/types/deviceBehaviors.js.map +1 -0
  1016. package/dist/types/devicePairings.js +1 -0
  1017. package/dist/types/devicePairings.js.map +1 -0
  1018. package/dist/types/deviceStatus.js +2 -0
  1019. package/dist/types/deviceStatus.js.map +1 -0
  1020. package/dist/types/deviceTypeFeature.js +4 -0
  1021. package/dist/types/deviceTypeFeature.js.map +1 -0
  1022. package/dist/types/devices.js +25 -1
  1023. package/dist/types/devices.js.map +1 -0
  1024. package/dist/types/entitiesTags.js +26 -0
  1025. package/dist/types/entitiesTags.js.map +1 -0
  1026. package/dist/types/enums.js +29 -0
  1027. package/dist/types/enums.js.map +1 -0
  1028. package/dist/types/feature.js +3 -0
  1029. package/dist/types/feature.js.map +1 -0
  1030. package/dist/types/firmwares.js +1 -0
  1031. package/dist/types/firmwares.js.map +1 -0
  1032. package/dist/types/index.js +9 -1
  1033. package/dist/types/index.js.map +1 -0
  1034. package/dist/types/latestUserAppInfo.js +2 -0
  1035. package/dist/types/latestUserAppInfo.js.map +1 -0
  1036. package/dist/types/liveLinks.js +2 -0
  1037. package/dist/types/liveLinks.js.map +1 -0
  1038. package/dist/types/logger.js +1 -0
  1039. package/dist/types/logger.js.map +1 -0
  1040. package/dist/types/notificationRecipients.js +1 -0
  1041. package/dist/types/notificationRecipients.js.map +1 -0
  1042. package/dist/types/position.js +1 -0
  1043. package/dist/types/position.js.map +1 -0
  1044. package/dist/types/promotion.js +42 -0
  1045. package/dist/types/promotion.js.map +1 -0
  1046. package/dist/types/security.js +1 -0
  1047. package/dist/types/security.js.map +1 -0
  1048. package/dist/types/tag.js +15 -0
  1049. package/dist/types/tag.js.map +1 -0
  1050. package/dist/types/tasks.js +1 -0
  1051. package/dist/types/tasks.js.map +1 -0
  1052. package/dist/types/trip.js +2 -0
  1053. package/dist/types/trip.js.map +1 -0
  1054. package/dist/types/user.js +2 -1
  1055. package/dist/types/user.js.map +1 -0
  1056. package/dist/types/userActivations.js +1 -0
  1057. package/dist/types/userActivations.js.map +1 -0
  1058. package/dist/types/userAppFeedback.js +1 -0
  1059. package/dist/types/userAppFeedback.js.map +1 -0
  1060. package/dist/types/userAppIncidents.js +1 -0
  1061. package/dist/types/userAppIncidents.js.map +1 -0
  1062. package/dist/types/userConfigurations.js +1 -0
  1063. package/dist/types/userConfigurations.js.map +1 -0
  1064. package/dist/types/userDataDeletionRequests.js +1 -0
  1065. package/dist/types/userDataDeletionRequests.js.map +1 -0
  1066. package/dist/types/userInvitations.js +1 -0
  1067. package/dist/types/userInvitations.js.map +1 -0
  1068. package/dist/types/userRatingRequests.js +1 -0
  1069. package/dist/types/userRatingRequests.js.map +1 -0
  1070. package/dist/types/userRegistrationAttempts.js +1 -0
  1071. package/dist/types/userRegistrationAttempts.js.map +1 -0
  1072. package/dist/utils/anyAttributeHasValue.js +1 -0
  1073. package/dist/utils/anyAttributeHasValue.js.map +1 -0
  1074. package/dist/utils/billingPlansHelper.js +50 -0
  1075. package/dist/utils/billingPlansHelper.js.map +1 -0
  1076. package/dist/utils/boolToNumberTransformer.js +1 -0
  1077. package/dist/utils/boolToNumberTransformer.js.map +1 -0
  1078. package/dist/utils/consoleLogger.js +1 -0
  1079. package/dist/utils/consoleLogger.js.map +1 -0
  1080. package/dist/utils/dateTool.js +9 -0
  1081. package/dist/utils/dateTool.js.map +1 -0
  1082. package/dist/utils/filterTools.js +1 -0
  1083. package/dist/utils/filterTools.js.map +1 -0
  1084. package/dist/utils/mapRawEntityToEntity.js +1 -0
  1085. package/dist/utils/mapRawEntityToEntity.js.map +1 -0
  1086. package/dist/utils/{anyAttributeIsNull.js → paramsValidators.js} +5 -0
  1087. package/dist/utils/paramsValidators.js.map +1 -0
  1088. package/dist/utils/parsingTools.js +22 -0
  1089. package/dist/utils/parsingTools.js.map +1 -0
  1090. package/dist/utils/queryLogger.js +3 -1
  1091. package/dist/utils/queryLogger.js.map +1 -0
  1092. package/dist/utils/randomizer.js +1 -0
  1093. package/dist/utils/randomizer.js.map +1 -0
  1094. package/dist/utils/stringToDateTransformer.js +1 -0
  1095. package/dist/utils/stringToDateTransformer.js.map +1 -0
  1096. package/dist/utils/uuidHelpers.js +1 -0
  1097. package/dist/utils/uuidHelpers.js.map +1 -0
  1098. package/dist/utils/uuidTransformer.js +38 -0
  1099. package/dist/utils/uuidTransformer.js.map +1 -0
  1100. package/package.json +1 -1
  1101. package/dist/entities/alertMigration.d.ts +0 -22
  1102. package/dist/entities/alertMigration.js +0 -115
  1103. package/dist/entities/alertMigrationBatch.d.ts +0 -3
  1104. package/dist/entities/alertMigrationBatch.js +0 -21
  1105. package/dist/entities/alertTimeWindowConfiguration.d.ts +0 -12
  1106. package/dist/entities/alertTimeWindowConfiguration.js +0 -61
  1107. package/dist/entities/deviceAlertConfiguration.d.ts +0 -14
  1108. package/dist/entities/deviceAlertConfiguration.js +0 -71
  1109. package/dist/entities/deviceTypeEvent.d.ts +0 -5
  1110. package/dist/entities/event.d.ts +0 -6
  1111. package/dist/entities/svrPairingRequest.d.ts +0 -21
  1112. package/dist/entities/svrPairingRequest.js +0 -174
  1113. package/dist/repositories/deviceBehaviors/getDevicesLastBehaviorTask.d.ts +0 -5
  1114. package/dist/repositories/deviceBehaviors/getDevicesLastBehaviorTask.js +0 -42
  1115. package/dist/repositories/deviceBehaviors/getLatestDeviceBehaviorTasks.d.ts +0 -4
  1116. package/dist/repositories/deviceBehaviors/getLatestDeviceBehaviorTasks.js +0 -40
  1117. package/dist/repositories/userConfigurations/createDeviceAlertTimeWindows.d.ts +0 -5
  1118. package/dist/repositories/userConfigurations/createDeviceAlertTimeWindows.js +0 -36
  1119. package/dist/repositories/userConfigurations/createUserAlertTimeWindows.d.ts +0 -5
  1120. package/dist/repositories/userConfigurations/createUserAlertTimeWindows.js +0 -33
  1121. package/dist/repositories/userConfigurations/deleteDeviceAlertTimeWindows.d.ts +0 -4
  1122. package/dist/repositories/userConfigurations/deleteDeviceAlertTimeWindows.js +0 -17
  1123. package/dist/repositories/userConfigurations/deleteUserAlertTimeWindows.d.ts +0 -4
  1124. package/dist/repositories/userConfigurations/deleteUserAlertTimeWindows.js +0 -17
  1125. package/dist/repositories/userConfigurations/getDeviceAlertTimeWindows.d.ts +0 -5
  1126. package/dist/repositories/userConfigurations/getDeviceAlertTimeWindows.js +0 -43
  1127. package/dist/repositories/userConfigurations/getUserAlertTimeWindows.d.ts +0 -5
  1128. package/dist/repositories/userConfigurations/getUserAlertTimeWindows.js +0 -35
  1129. package/dist/repositories/userConfigurations/updateDeviceAlertTimeWindows.d.ts +0 -4
  1130. package/dist/repositories/userConfigurations/updateDeviceAlertTimeWindows.js +0 -29
  1131. package/dist/repositories/userConfigurations/updateUserAlertTimeWindows.d.ts +0 -4
  1132. package/dist/repositories/userConfigurations/updateUserAlertTimeWindows.js +0 -28
  1133. package/dist/utils/anyAttributeIsNull.d.ts +0 -1
@@ -49,3 +49,4 @@ Blacklist = __decorate([
49
49
  Entity('blacklist', { schema: 'nova' })
50
50
  ], Blacklist);
51
51
  export { Blacklist };
52
+ //# sourceMappingURL=blacklist.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"blacklist.js","sourceRoot":"","sources":["../../src/entities/blacklist.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,SAAS,CAAA;AAGjC,IAAM,SAAS,GAAf,MAAM,SAAS;IAEpB,eAAe,CAAQ;IAGvB,KAAK,CAAQ;IAGb,KAAK,CAAe;IAGpB,SAAS,CAAa;IAGtB,SAAS,CAAQ;IAGjB,UAAU,CAAa;IAGvB,UAAU,CAAe;CAC1B,CAAA;AApBC;IAAC,MAAM,CAAC,SAAS,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,iBAAiB,EAAE,CAAC;;kDACvC;AAEvB;IAAC,MAAM,CAAC,SAAS,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,EAAE,GAAG,EAAE,CAAC;;wCACpD;AAEb;IAAC,MAAM,CAAC,SAAS,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC;;wCAC/C;AAEpB;IAAC,MAAM,CAAC,UAAU,EAAE,EAAE,IAAI,EAAE,WAAW,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BAC/C,IAAI;4CAAO;AAEtB;IAAC,MAAM,CAAC,SAAS,EAAE,EAAE,IAAI,EAAE,WAAW,EAAE,MAAM,EAAE,GAAG,EAAE,CAAC;;4CACrC;AAEjB;IAAC,MAAM,CAAC,UAAU,EAAE,EAAE,IAAI,EAAE,YAAY,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BAC/C,IAAI;6CAAO;AAEvB;IAAC,MAAM,CAAC,SAAS,EAAE,EAAE,IAAI,EAAE,YAAY,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,EAAE,GAAG,EAAE,CAAC;;6CAC9C;AApBd,SAAS;IADrB,MAAM,CAAC,WAAW,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC;GAC3B,SAAS,CAqBrB;SArBY,SAAS"}
@@ -29,3 +29,4 @@ BlacklistType = __decorate([
29
29
  Entity('blacklistType', { schema: 'nova' })
30
30
  ], BlacklistType);
31
31
  export { BlacklistType };
32
+ //# sourceMappingURL=blacklistType.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"blacklistType.js","sourceRoot":"","sources":["../../src/entities/blacklistType.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,sBAAsB,EAAE,MAAM,SAAS,CAAA;AAGzD,IAAM,aAAa,GAAnB,MAAM,aAAa;IAExB,EAAE,CAAQ;IAGV,IAAI,CAAQ;IAGZ,WAAW,CAAe;CAC3B,CAAA;AARC;IAAC,sBAAsB,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;yCAC9C;AAEV;IAAC,MAAM,CAAC,SAAS,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,EAAE,EAAE,CAAC;;2CACpC;AAEZ;IAAC,MAAM,CAAC,SAAS,EAAE,EAAE,IAAI,EAAE,aAAa,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC;;kDAC/C;AARf,aAAa;IADzB,MAAM,CAAC,eAAe,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC;GAC/B,aAAa,CASzB;SATY,aAAa"}
@@ -0,0 +1,74 @@
1
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
2
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
3
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
4
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
5
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
6
+ };
7
+ var __metadata = (this && this.__metadata) || function (k, v) {
8
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
9
+ };
10
+ import { Column, Entity, Index, OneToMany, PrimaryGeneratedColumn } from 'typeorm';
11
+ import { BeaconBleMesh } from './beaconBleMesh';
12
+ import { DeviceBleMesh } from './deviceBleMesh';
13
+ let BLEMesh = class BLEMesh {
14
+ id;
15
+ clientId;
16
+ name;
17
+ address;
18
+ lat;
19
+ lon;
20
+ createdAt;
21
+ modifiedAt;
22
+ beacons;
23
+ devices;
24
+ };
25
+ __decorate([
26
+ PrimaryGeneratedColumn({ type: 'int', name: 'id' }),
27
+ __metadata("design:type", Number)
28
+ ], BLEMesh.prototype, "id", void 0);
29
+ __decorate([
30
+ Column('int', { name: 'clientId' }),
31
+ __metadata("design:type", Number)
32
+ ], BLEMesh.prototype, "clientId", void 0);
33
+ __decorate([
34
+ Column('varchar', { name: 'name', length: 150 }),
35
+ __metadata("design:type", String)
36
+ ], BLEMesh.prototype, "name", void 0);
37
+ __decorate([
38
+ Column('varchar', { name: 'address', length: 500 }),
39
+ __metadata("design:type", String)
40
+ ], BLEMesh.prototype, "address", void 0);
41
+ __decorate([
42
+ Column('decimal', { name: 'lat', nullable: true, precision: 8, scale: 6 }),
43
+ __metadata("design:type", Number)
44
+ ], BLEMesh.prototype, "lat", void 0);
45
+ __decorate([
46
+ Column('decimal', { name: 'lon', nullable: true, precision: 9, scale: 6 }),
47
+ __metadata("design:type", Number)
48
+ ], BLEMesh.prototype, "lon", void 0);
49
+ __decorate([
50
+ Column('datetime', {
51
+ name: 'createdAt',
52
+ nullable: true,
53
+ default: () => 'CURRENT_TIMESTAMP',
54
+ }),
55
+ __metadata("design:type", Date)
56
+ ], BLEMesh.prototype, "createdAt", void 0);
57
+ __decorate([
58
+ Column('datetime', { name: 'modifiedAt', nullable: true }),
59
+ __metadata("design:type", Date)
60
+ ], BLEMesh.prototype, "modifiedAt", void 0);
61
+ __decorate([
62
+ OneToMany(() => BeaconBleMesh, beaconMesh => beaconMesh.bleMesh),
63
+ __metadata("design:type", Array)
64
+ ], BLEMesh.prototype, "beacons", void 0);
65
+ __decorate([
66
+ OneToMany(() => DeviceBleMesh, deviceMesh => deviceMesh.bleMesh),
67
+ __metadata("design:type", Array)
68
+ ], BLEMesh.prototype, "devices", void 0);
69
+ BLEMesh = __decorate([
70
+ Index('ixBLEMesh_clientId', ['clientId'], {}),
71
+ Entity('bleMesh', { schema: 'nova' })
72
+ ], BLEMesh);
73
+ export { BLE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E,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,CAAC;;oCACzD;AAElB;IAAC,MAAM,CAAC,UAAU,EAAE;QAClB,IAAI,EAAE,WAAW;QACjB,QAAQ,EAAE,IAAI;QACd,OAAO,EAAE,GAAG,EAAE,CAAC,mBAAmB;KACnC,CAAC;8BACS,IAAI;0CAAO;AAEtB;IAAC,MAAM,CAAC,UAAU,EAAE,EAAE,IAAI,EAAE,YAAY,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BAC/C,IAAI;2CAAO;AAEvB;IAAC,SAAS,CACR,GAAG,EAAE,CAAC,aAAa,EACnB,UAAU,CAAC,EAAE,CAAC,UAAU,CAAC,OAAO,CACjC;;wCACiC;AAElC;IAAC,SAAS,CACR,GAAG,EAAE,CAAC,aAAa,EACnB,UAAU,CAAC,EAAE,CAAC,UAAU,CAAC,OAAO,CACjC;;wCACiC;AAvCvB,OAAO;IAFnB,KAAK,CAAC,oBAAoB,EAAE,CAAC,UAAU,CAAC,EAAE,EAAE,CAAC;IAC7C,MAAM,CAAC,SAAS,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC;GACzB,OAAO,CAwCnB;SAxCY,OAAO"}
@@ -50,8 +50,8 @@ __decorate([
50
50
  __metadata("design:type", Date)
51
51
  ], BLEMeshConfiguration.prototype, "modifiedAt", void 0);
52
52
  BLEMeshConfiguration = __decorate([
53
- Index('ixBLEMeshConfigurationImeiMain', ['imeiMain'], {}),
54
53
  Index('ixuBLEMeshConfigurationImeiMainBLEMac', ['imeiMain', 'bleMac'], { unique: true }),
55
54
  Entity('bleMeshConfiguration', { schema: 'nova' })
56
55
  ], BLEMeshConfiguration);
57
56
  export { BLEMeshConfiguration };
57
+ //# sourceMappingURL=bleMeshConfiguration.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bleMeshConfiguration.js","sourceRoot":"","sources":["../../src/entities/bleMeshConfiguration.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,MAA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BAAsB,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC;GACtC,oBAAoB,CAyBhC;SAzBY,oBAAoB"}
@@ -29,6 +29,7 @@ let Boundary = class Boundary {
29
29
  area;
30
30
  centerLat;
31
31
  centerLon;
32
+ securityGroupEntityTags;
32
33
  };
33
34
  __decorate([
34
35
  PrimaryGeneratedColumn({ type: 'int', name: 'id' }),
@@ -117,3 +118,4 @@ Boundary = __decorate([
117
118
  Entity('boundary', { schema: 'nova' })
118
119
  ], Boundary);
119
120
  export { Boundary };
121
+ //# sourceMappingURL=boundary.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"boundary.js","sourceRoot":"","sources":["../../src/entities/boundary.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,sBAAsB,EAAE,MAAM,SAAS,CAAA;AAEvE,OAAO,EAAE,uBAAuB,EAAE,MAAM,kCAAkC,CAAA;AAMnE,IAAM,QAAQ,GAAd,MAAM,QAAQ;IAEnB,EAAE,CAAQ;IAGV,IAAI,CAAe;IAGnB,IAAI,CAAe;IAGnB,MAAM,CAAe;IAGrB,SAAS,CAAa;IAGtB,UAAU,CAAa;IAGvB,SAAS,CAAe;IAGxB,UAAU,CAAe;IAGzB,QAAQ,CAAQ;IAGhB,QAAQ,CAAe;IAGvB,MAAM,CAAQ;IAGd,iBAAiB,CAAe;IAGhC,gBAAgB,CAAe;IAG/B,QAAQ,CAAe;IAGvB,KAAK,CAAe;IAQpB,aAAa,CAAS;IAGtB,IAAI,CAAe;IAGnB,SAAS,CAAe;IAGxB,SAAS,CAAe;IAExB,uBAAuB,CAAc;CACtC,CAAA;AA/DC;IAAC,sBAAsB,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;oCAC1C;AAEV;IAAC,MAAM,CAAC,SAAS,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI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,CAAC,UAAU,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC;GAC1B,QAAQ,CAgEpB;SAhEY,QAAQ"}
@@ -1,4 +1,5 @@
1
1
  /// <reference types="node" />
2
+ /// <reference types="node" />
2
3
  export declare class BoundaryEvent {
3
4
  id: number;
4
5
  deviceId: number;
@@ -103,3 +103,4 @@ BoundaryEvent = __decorate([
103
103
  Entity('boundaryEvent', { schema: 'nova' })
104
104
  ], BoundaryEvent);
105
105
  export { BoundaryEvent };
106
+ //# sourceMappingURL=boundaryEvent.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"boundaryEvent.js","sourceRoot":"","sources":["../../src/entities/boundaryEvent.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,sBAAsB,EAAE,MAAM,SAAS,CAAA;AAiBhE,IAAM,aAAa,GAAnB,MAAM,aAAa;IAExB,EAAE,CAAQ;IAGV,QAAQ,CAAQ;IAGhB,UAAU,CAAQ;IAGlB,MAAM,CAAa;IAGnB,KAAK,CAAe;IAGpB,KAAK,CAAe;IAGpB,SAAS,CAAe;IAGxB,OAAO,CAAa;IAGpB,MAAM,CAAe;IAGrB,MAAM,CAAe;IAGrB,UAAU,CAAe;IAGzB,aAAa,CAAe;IAG5B,SAAS,CAAM;IAMf,UAAU,CAAM;IAGhB,IAAI,CAAe;IAGnB,MAAM,CAAe;CACtB,CAAA;AAlDC;IAAC,sBAAsB,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;yCAC7C;AAEV;IAAC,MAAM,CAAC,KAAK,EAAE,EAAE,IAAI,EAAE,UAAU,EAAE,CAAC;;+CACpB;AAEhB;IAAC,MAAM,CAAC,KAAK,EAAE,EAAE,IAAI,EAAE,YAAY,EAAE,CAAC;;iDACpB;AAElB;IAAC,MAAM,CAAC,UAAU,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,SA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,IAAI,EAAE,SAAS,EAAE,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,CAAC;;sCACzD;AAElB;IAAC,MAAM,CAAC,WAAW,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;wCACnC;AAEpB;IAAC,MAAM,CAAC,UAAU,EAAE,EAAE,IAAI,EAAE,WAAW,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BAC/C,IAAI;4CAAO;AAEtB;IAAC,MAAM,CAAC,UAAU,EAAE,EAAE,IAAI,EAAE,WAAW,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BAC/C,IAAI;4CAAO;AA7BX,SAAS;IADrB,MAAM,CAAC,WAAW,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC;GAC3B,SAAS,CA8BrB;SA9BY,SAAS"}
@@ -1,4 +1,5 @@
1
1
  /// <reference types="node" />
2
+ /// <reference types="node" />
2
3
  import { Relation } from 'typeorm';
3
4
  import { ClientType } from './clientType';
4
5
  import { CustomerAttribute } from './customerAttribute';
@@ -13,7 +13,6 @@ import { CustomerAttribute } from './customerAttribute';
13
13
  import { Device } from './device';
14
14
  import { DeviceCustomConfiguration } from './deviceCustomConfiguration';
15
15
  import { Organization } from './organization';
16
- import { Promotion } from './promotion';
17
16
  import { User } from './user';
18
17
  let Client = class Client {
19
18
  id;
@@ -37,7 +36,6 @@ let Client = class Client {
37
36
  organization;
38
37
  users;
39
38
  devices;
40
- promotions;
41
39
  deviceCustomConfigurations;
42
40
  customerAttribute;
43
41
  };
@@ -131,10 +129,6 @@ __decorate([
131
129
  OneToMany(() => Device, device => device.client),
132
130
  __metadata("design:type", Array)
133
131
  ], Client.prototype, "devices", void 0);
134
- __decorate([
135
- OneToMany(() => Promotion, promotion => promotion.client),
136
- __metadata("design:type", Array)
137
- ], Client.prototype, "promotions", void 0);
138
132
  __decorate([
139
133
  OneToMany(() => DeviceCustomConfiguration, deviceCustomConfiguration => deviceCustomConfiguration.client),
140
134
  __metadata("design:type", Array)
@@ -151,3 +145,4 @@ Client = __decorate([
151
145
  Entity('client', { schema: 'nova' })
152
146
  ], Client);
153
147
  export { Client };
148
+ //# sourceMappingURL=client.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"client.js","sourceRoot":"","sources":["../../src/entities/client.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EACL,MAAM,EACN,MAAM,EACN,KAAK,EACL,UAAU,EACV,SAAS,EACT,SAAS,EACT,QAAQ,EACR,sBAAsB,GAEvB,MAAM,SAAS,CAAA;AAEhB,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AACzC,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAA;AACvD,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAA;AACjC,OAAO,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAA;AACvE,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAC7C,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAA;AAOtB,IAAM,MAAM,GAAZ,MAAM,MAAM;IAEjB,EAAE,CAAQ;IAGV,IAAI,CAAe;IAGnB,SAAS,CAAa;IAGtB,UAAU,CAAa;IAGvB,IAAI,CAAe;IAGnB,KAAK,CAAe;IAGpB,UAAU,CAAe;IAGzB,SAAS,CAAe;IAGxB,gBAAgB,CAAe;IAG/B,YAAY,CAAQ;IAQpB,UAAU,CAAsB;IAGhC,YAAY,CAAe;IAG3B,YAAY,CAAe;IAG3B,cAAc,CAAa;IAG3B,OAAO,CAAe;IAGtB,YAAY,CAAe;IAG3B,kBAAkB,CAAe;IAGjC,cAAc,CAAe;IAI7B,YAAY,CAAwB;IAMpC,KAAK,CAAkB;IAMvB,OAAO,CAAoB;IAM3B,0BAA0B,CAAuC;IAMjE,iBAAiB,CAA6B;CAC/C,CAAA;AAtFC;IAAC,sBAAsB,CAAC,EAAE,IAAI,EAAE,KA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R,GAAG,EAAE,CAAC,MAAM,EACZ,MAAM,CAAC,EAAE,CAAC,MAAM,CAAC,MAAM,CACxB;;uCAC0B;AAE3B;IAAC,SAAS,CACR,GAAG,EAAE,CAAC,yBAAyB,EAC/B,yBAAyB,CAAC,EAAE,CAAC,yBAAyB,CAAC,MAAM,CAC9D;;0DACgE;AAEjE;IAAC,QAAQ,CACP,GAAG,EAAE,CAAC,iBAAiB,EACvB,iBAAiB,CAAC,EAAE,CAAC,iBAAiB,CAAC,MAAM,CAC9C;;iDAC6C;AAtFnC,MAAM;IALlB,KAAK,CAAC,sBAAsB,EAAE,CAAC,cAAc,CAAC,EAAE,EAAE,CAAC;IACnD,KAAK,CAAC,mBAAmB,EAAE,CAAC,WAAW,CAAC,EAAE,EAAE,CAAC;IAC7C,KAAK,CAAC,eAAe,EAAE,CAAC,OAAO,CAAC,EAAE,EAAE,CAAC;IACrC,KAAK,CAAC,oBAAoB,EAAE,EAAE,WAAW,EAAE,KAAK,EAAE,CAAC;IACnD,MAAM,CAAC,QAAQ,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC;GACxB,MAAM,CAuFlB;SAvFY,MAAM"}
@@ -0,0 +1,90 @@
1
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
2
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
3
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
4
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
5
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
6
+ };
7
+ var __metadata = (this && this.__metadata) || function (k, v) {
8
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
9
+ };
10
+ import { Column, Entity, Index, JoinColumn, OneToMany, PrimaryGeneratedColumn, } from 'typeorm';
11
+ import { BoolToNumberTransformer } from '../utils/boolToNumberTransformer';
12
+ import { ClientAlertRecipient } from './clientAlertRecipient';
13
+ import { NotificationRecipient } from './notificationRecipient';
14
+ let ClientAlertConfiguration = class ClientAlertConfiguration {
15
+ id;
16
+ clientId;
17
+ alertTypeId;
18
+ name;
19
+ description;
20
+ status;
21
+ alertValue;
22
+ alertMetadata;
23
+ filter;
24
+ readOnly;
25
+ internalRecipients;
26
+ externalRecipients;
27
+ };
28
+ __decorate([
29
+ PrimaryGeneratedColumn({ type: 'int', name: 'id' }),
30
+ __metadata("design:type", Number)
31
+ ], ClientAlertConfiguration.prototype, "id", void 0);
32
+ __decorate([
33
+ Column('int', { name: 'clientId' }),
34
+ __metadata("design:type", Number)
35
+ ], ClientAlertConfiguration.prototype, "clientId", void 0);
36
+ __decorate([
37
+ Column('tinyint', { name: 'alertTypeId' }),
38
+ __metadata("design:type", Number)
39
+ ], ClientAlertConfiguration.prototype, "alertTypeId", void 0);
40
+ __decorate([
41
+ Column('varchar', { name: 'name', length: 100 }),
42
+ __metadata("design:type", String)
43
+ ], ClientAlertConfiguration.prototype, "name", void 0);
44
+ __decorate([
45
+ Column('varchar', { name: 'description', length: 1000 }),
46
+ __metadata("design:type", String)
47
+ ], ClientAlertConfiguration.prototype, "description", void 0);
48
+ __decorate([
49
+ Column('varchar', { name: 'status', length: 20, default: () => "'active'" }),
50
+ __metadata("design:type", String)
51
+ ], ClientAlertConfiguration.prototype, "status", void 0);
52
+ __decorate([
53
+ Column('varchar', { name: 'alertValue', nullable: true, length: 10 }),
54
+ __metadata("design:type", String)
55
+ ], ClientAlertConfiguration.prototype, "alertValue", void 0);
56
+ __decorate([
57
+ Column('varchar', { name: 'alertMetadata', nullable: true, length: 255 }),
58
+ __metadata("design:type", String)
59
+ ], ClientAlertConfiguration.prototype, "alertMetadata", void 0);
60
+ __decorate([
61
+ Column('json', { name: 'filter', nullable: true }),
62
+ __metadata("design:type", Object)
63
+ ], ClientAlertConfiguration.prototype, "filter", void 0);
64
+ __decorate([
65
+ Column('tinyint', {
66
+ name: 'readOnly',
67
+ width: 1,
68
+ default: () => "'0'",
69
+ transformer: new BoolToNumberTransformer(),
70
+ }),
71
+ __metadata("design:type", Boolean)
72
+ ], ClientAlertConfiguration.prototype, "readOnly", void 0);
73
+ __decorate([
74
+ OneToMany(() => ClientAlertRecipient, r => r.clientAlertConfiguration),
75
+ JoinColumn({ name: 'id', referencedColumnName: 'clientAlertConfigurationId' }),
76
+ __metadata("design:type", Array)
77
+ ], ClientAlertConfiguration.prototype, "internalRecipients", void 0);
78
+ __decorate([
79
+ OneToMany(() => NotificationRecipient, r => r.clientAlertConfiguration),
80
+ JoinColumn({ name: 'id', referencedColumnName: 'clientAlertConfigurationId' }),
81
+ __metadata("design:type", Array)
82
+ ], ClientAlertConfiguration.prototype, "externalRecipients", void 0);
83
+ ClientAlertConfiguration = __decorate([
84
+ Index('ixClientAlertConfigurationClientIdAlertTypeId', ['clientId', 'alertTypeId'], {
85
+ unique: false,
86
+ }),
87
+ Entity('clientAlertConfiguration', { schema: 'nova' })
88
+ ], ClientAlertConfiguration);
89
+ export { ClientAlertConfiguration };
90
+ //# sourceMappingURL=clientAlertConfiguration.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"clientAlertConfiguration.js","sourceRoot":"","sources":["../../src/entities/clientAlertConfiguration.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EACL,MAAM,EACN,MAAM,EACN,KAAK,EACL,UAAU,EACV,SAAS,EACT,sBAAsB,GAEvB,MAAM,SAAS,CAAA;AAEhB,OAAO,EAAE,uBAAuB,EAAE,MAAM,kCAAkC,CAAA;AAC1E,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAA;AAC7D,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAA;AAMxD,IAAM,wBAAwB,GAA9B,MAAM,wBAAwB;IAEnC,EAAE,CAAQ;IAGV,QAAQ,CAAQ;IAGhB,WAAW,C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E;QACjB,IAAI,EAAE,UAAU;QAChB,KAAK,EAAE,CAAC;QACR,OAAO,EAAE,GAAG,EAAE,CAAC,KAAK;QACpB,WAAW,EAAE,IAAI,uBAAuB,EAAE;KAC3C,CAAC;;0DACe;AAEjB;IAAC,SAAS,CACR,GAAG,EAAE,CAAC,oBAAoB,EAC1B,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,wBAAwB,CAChC;IACA,UAAU,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,oBAAoB,EAAE,4BAA4B,EAAE,CAAC;;oEAC1B;AAErD;IAAC,SAAS,CACR,GAAG,EAAE,CAAC,qBAAqB,EAC3B,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,wBAAwB,CAChC;IACA,UAAU,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,oBAAoB,EAAE,4BAA4B,EAAE,CAAC;;oEACzB;AAhD3C,wBAAwB;IAJpC,KAAK,CAAC,+CAA+C,EAAE,CAAC,UAAU,EAAE,aAAa,CAAC,EAAE;QACnF,MAAM,EAAE,KAAK;KACd,CAAC;IACD,MAAM,CAAC,0BAA0B,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC;GAC1C,wBAAwB,CAiDpC;SAjDY,wBAAwB"}
@@ -1,4 +1,5 @@
1
1
  /// <reference types="node" />
2
+ /// <reference types="node" />
2
3
  import { Relation } from 'typeorm';
3
4
  import { ClientAlertConfiguration } from './clientAlertConfiguration';
4
5
  export declare class ClientAlertRecipient {
@@ -0,0 +1,98 @@
1
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
2
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
3
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
4
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
5
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
6
+ };
7
+ var __metadata = (this && this.__metadata) || function (k, v) {
8
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
9
+ };
10
+ import { Column, Entity, Index, JoinColumn, ManyToOne, PrimaryGeneratedColumn, } from 'typeorm';
11
+ import { BoolToNumberTransformer } from '../utils/boolToNumberTransformer';
12
+ import { ClientAlertConfiguration } from './clientAlertConfiguration';
13
+ let ClientAlertRecipient = class ClientAlertRecipient {
14
+ id;
15
+ clientAlertConfigurationId;
16
+ clientAlertConfiguration;
17
+ userId;
18
+ roleId;
19
+ isEnabled;
20
+ smsNotification;
21
+ emailNotification;
22
+ appNotification;
23
+ pushNotification;
24
+ };
25
+ __decorate([
26
+ PrimaryGeneratedColumn({ type: 'int', name: 'id' }),
27
+ __metadata("design:type", Number)
28
+ ], ClientAlertRecipient.prototype, "id", void 0);
29
+ __decorate([
30
+ Column('int', { name: 'clientAlertConfigurationId' }),
31
+ __metadata("design:type", Number)
32
+ ], ClientAlertRecipient.prototype, "clientAlertConfigurationId", void 0);
33
+ __decorate([
34
+ ManyToOne(() => ClientAlertConfiguration, { createForeignKeyConstraints: false, nullable: true }),
35
+ JoinColumn([{ name: 'clientAlertConfigurationId', referencedColumnName: 'id' }]),
36
+ __metadata("design:type", Object)
37
+ ], ClientAlertRecipient.prototype, "clientAlertConfiguration", void 0);
38
+ __decorate([
39
+ Column('binary', { name: 'userId', length: 16, nullable: true }),
40
+ __metadata("design:type", Buffer)
41
+ ], ClientAlertRecipient.prototype, "userId", void 0);
42
+ __decorate([
43
+ Column('tinyint', { name: 'roleId', nullable: true }),
44
+ __metadata("design:type", Number)
45
+ ], ClientAlertRecipient.prototype, "roleId", void 0);
46
+ __decorate([
47
+ Column('tinyint', {
48
+ name: 'isEnabled',
49
+ width: 1,
50
+ transformer: new BoolToNumberTransformer(),
51
+ default: () => "'1'",
52
+ }),
53
+ __metadata("design:type", Boolean)
54
+ ], ClientAlertRecipient.prototype, "isEnabled", void 0);
55
+ __decorate([
56
+ Column('tinyint', {
57
+ name: 'smsNotification',
58
+ width: 1,
59
+ default: () => "'1'",
60
+ transformer: new BoolToNumberTransformer(),
61
+ }),
62
+ __metadata("design:type", Boolean)
63
+ ], ClientAlertRecipient.prototype, "smsNotification", void 0);
64
+ __decorate([
65
+ Column('tinyint', {
66
+ name: 'emailNotification',
67
+ width: 1,
68
+ default: () => "'1'",
69
+ transformer: new BoolToNumberTransformer(),
70
+ }),
71
+ __metadata("design:type", Boolean)
72
+ ], ClientAlertRecipient.prototype, "emailNotification", void 0);
73
+ __decorate([
74
+ Column('tinyint', {
75
+ name: 'appNotification',
76
+ width: 1,
77
+ default: () => "'1'",
78
+ transformer: new BoolToNumberTransformer(),
79
+ }),
80
+ __metadata("design:type", Boolean)
81
+ ], ClientAlertRecipient.prototype, "appNotification", void 0);
82
+ __decorate([
83
+ Column('tinyint', {
84
+ name: 'pushNotification',
85
+ width: 1,
86
+ default: () => "'1'",
87
+ transformer: new BoolToNumberTransformer(),
88
+ }),
89
+ __metadata("design:type", Boolean)
90
+ ], ClientAlertRecipient.prototype, "pushNotification", void 0);
91
+ ClientAlertRecipient = __decorate([
92
+ Index('ixClientAlertConfigurationId', ['clientAlertConfigurationId'], {
93
+ unique: false,
94
+ }),
95
+ Entity('clientAlertRecipient', { schema: 'nova' })
96
+ ], ClientAlertRecipient);
97
+ export { ClientAlertRecipient };
98
+ //# sourceMappingURL=clientAlertRecipient.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"clientAlertRecipient.js","sourceRoot":"","sources":["../../src/entities/clientAlertRecipient.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EACL,MAAM,EACN,MAAM,EACN,KAAK,EACL,UAAU,EACV,SAAS,EACT,sBAAsB,GAEvB,MAAM,SAAS,CAAA;AAEhB,OAAO,EAAE,uBAAuB,EAAE,MAAM,kCAAkC,CAAA;AAC1E,OAAO,EAAE,wBAAwB,EAAE,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G,EAAE,CAAC,KAAK;QACpB,WAAW,EAAE,IAAI,uBAAuB,EAAE;KAC3C,CAAC;;6DACsB;AAExB;IAAC,MAAM,CAAC,SAAS,EAAE;QACjB,IAAI,EAAE,mBAAmB;QACzB,KAAK,EAAE,CAAC;QACR,OAAO,EAAE,GAAG,EAAE,CAAC,KAAK;QACpB,WAAW,EAAE,IAAI,uBAAuB,EAAE;KAC3C,CAAC;;+DACwB;AAE1B;IAAC,MAAM,CAAC,SAAS,EAAE;QACjB,IAAI,EAAE,iBAAiB;QACvB,KAAK,EAAE,CAAC;QACR,OAAO,EAAE,GAAG,EAAE,CAAC,KAAK;QACpB,WAAW,EAAE,IAAI,uBAAuB,EAAE;KAC3C,CAAC;;6DACsB;AAExB;IAAC,MAAM,CAAC,SAAS,EAAE;QACjB,IAAI,EAAE,kBAAkB;QACxB,KAAK,EAAE,CAAC;QACR,OAAO,EAAE,GAAG,EAAE,CAAC,KAAK;QACpB,WAAW,EAAE,IAAI,uBAAuB,EAAE;KAC3C,CAAC;;8DACuB;AAvDd,oBAAoB;IAJhC,KAAK,CAAC,8BAA8B,EAAE,CAAC,4BAA4B,CAAC,EAAE;QACrE,MAAM,EAAE,KAAK;KACd,CAAC;IACD,MAAM,CAAC,sBAAsB,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC;GACtC,oBAAoB,CAwDhC;SAxDY,oBAAoB"}
@@ -45,3 +45,4 @@ ClientAppFeature = __decorate([
45
45
  Entity('clientAppFeature', { schema: 'nova' })
46
46
  ], ClientAppFeature);
47
47
  export { ClientAppFeature };
48
+ //# sourceMappingURL=clientAppFeature.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"clientAppFeature.js","sourceRoot":"","sources":["../../src/entities/clientAppFeature.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,UAAU,EAAE,SAAS,EAAY,MAAM,SAAS,CAAA;AAEzE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;AAG1C,IAAM,gBAAgB,GAAtB,MAAM,gBAAgB;IAE3B,QAAQ,CAAQ;IAGhB,gBAAgB,CAAQ;IAQxB,cAAc,CAA0B;IAGxC,QAAQ,CAAQ;IAGhB,QAAQ,CAAQ;CACjB,CAAA;AAnBC;IAAC,MAAM,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,UAAU,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;;kDACzC;AAEhB;IAAC,MAAM,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,kBAAkB,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;;0DACzC;AAExB;IAAC,SAAS,CAAC,GAAG,EAAE,CAAC,cAAc,EAAE;QAC/B,2BAA2B,EAAE,KAAK;QAClC,KAAK,EAAE,IAAI;QACX,QAAQ,EAAE,KAAK;KAChB,CAAC;IACD,UAAU,EAAE;;wDAC2B;AAExC;IAAC,MAAM,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,UAAU,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;;kDACzC;AAEhB;IAAC,MAAM,CAAC,KAAK,EAAE,EAAE,IAAI,EAAE,UAAU,EAAE,OAAO,EAAE,GAAG,EAAE,CAAC,KAAK,EAAE,CAAC;;kDAC1C;AAnBL,gBAAgB;IAD5B,MAAM,CAAC,kBAAkB,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC;GAClC,gBAAgB,CAoB5B;SApBY,gBAAgB"}
@@ -7,13 +7,15 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
7
7
  var __metadata = (this && this.__metadata) || function (k, v) {
8
8
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
9
9
  };
10
- import { Column, Entity } from 'typeorm';
10
+ import { Column, Entity, Index } from 'typeorm';
11
11
  let ClientConfiguration = class ClientConfiguration {
12
12
  clientId;
13
13
  movementTripThreshold;
14
14
  stopTripThreshold;
15
15
  mapUpdateMode;
16
16
  maxUsersAllowed;
17
+ ssoDomain;
18
+ ssoMetadata;
17
19
  };
18
20
  __decorate([
19
21
  Column('int', { primary: true, name: 'clientId' }),
@@ -41,7 +43,17 @@ __decorate([
41
43
  Column('smallint', { name: 'maxUsersAllowed', default: () => "'10'" }),
42
44
  __metadata("design:type", Number)
43
45
  ], ClientConfiguration.prototype, "maxUsersAllowed", void 0);
46
+ __decorate([
47
+ Column('varchar', { name: 'ssoDomain', nullable: true, length: 250 }),
48
+ __metadata("design:type", String)
49
+ ], ClientConfiguration.prototype, "ssoDomain", void 0);
50
+ __decorate([
51
+ Column('json', { name: 'ssoMetadata', nullable: true }),
52
+ __metadata("design:type", Object)
53
+ ], ClientConfiguration.prototype, "ssoMetadata", void 0);
44
54
  ClientConfiguration = __decorate([
45
- Entity('clientConfiguration', { schema: 'nova' })
55
+ Entity('clientConfiguration', { schema: 'nova' }),
56
+ Index('ssoDomain', ['ssoDomain'], { unique: true })
46
57
  ], ClientConfiguration);
47
58
  export { ClientConfiguration };
59
+ //# sourceMappingURL=clientConfiguration.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"clientConfiguration.js","sourceRoot":"","sources":["../../src/entities/clientConfiguration.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,SAAS,CAAA;AAIxC,IAAM,mBAAmB,GAAzB,MAAM,mBAAmB;IAE9B,QAAQ,CAAQ;IAMhB,qBAAqB,CAAe;IAMpC,iBAAiB,CAAe;IAGhC,aAAa,CAAe;IAG5B,eAAe,CAAQ;IAGvB,SAAS,CAAe;IAGxB,WAAW,CAA4B;CACxC,CAAA;AA1BC;IAAC,MAAM,CAAC,KAAK,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,UAAU,EAAE,CAAC;;qDACnC;AAEhB;IAAC,MAAM,CAAC,QAAQ,EAAE;QAChB,IAAI,EAAE,uBAAuB;QAC7B,QAAQ,EAAE,IAAI;KACf,CAAC;;kEACkC;AAEpC;IAAC,MAAM,CAAC,QAAQ,EAAE;QAChB,IAAI,EAAE,mBAAmB;QACzB,QAAQ,EAAE,IAAI;KACf,CAAC;;8DAC8B;AAEhC;IAAC,MAAM,CAAC,SAAS,EAAE,EAAE,IAAI,EAAE,eAAe,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;0DACjC;AAE5B;IAAC,MAAM,CAAC,UAAU,EAAE,EAAE,IAAI,EAAE,iBAAiB,EAAE,OAAO,EAAE,GAAG,EAAE,CAAC,MAAM,EAAE,CAAC;;4DAChD;AAEvB;IAAC,MAAM,CAAC,SAAS,EAAE,EAAE,IAAI,EAAE,WAAW,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,EAAE,GAAG,EAAE,CAAC;;sDAC9C;AAExB;IAAC,MAAM,CAAC,MAAM,EAAE,EAAE,IAAI,EAAE,aAAa,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;wDACjB;AA1B5B,mBAAmB;IAF/B,MAAM,CAAC,qBAAqB,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC;IACjD,KAAK,CAAC,WAAW,EAAE,CAAC,WAAW,CAAC,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC;GACvC,mBAAmB,CA2B/B;SA3BY,mBAAmB"}
@@ -21,6 +21,7 @@ let ClientDeviceSetting = class ClientDeviceSetting {
21
21
  offlineThresholdMinutes;
22
22
  movementThresholdSpeed;
23
23
  externalBatteryInformation;
24
+ reportingMode;
24
25
  };
25
26
  __decorate([
26
27
  PrimaryGeneratedColumn({ type: 'int', name: 'id' }),
@@ -80,6 +81,10 @@ __decorate([
80
81
  }),
81
82
  __metadata("design:type", Boolean)
82
83
  ], ClientDeviceSetting.prototype, "externalBatteryInformation", void 0);
84
+ __decorate([
85
+ Column('varchar', { length: 30, nullable: true, default: '' }),
86
+ __metadata("design:type", String)
87
+ ], ClientDeviceSetting.prototype, "reportingMode", void 0);
83
88
  ClientDeviceSetting = __decorate([
84
89
  Index('ixuUserDeviceSettingClientIdImei', ['clientId', 'imei'], {
85
90
  unique: true,
@@ -88,3 +93,4 @@ ClientDeviceSetting = __decorate([
88
93
  Entity('clientDeviceSetting', { schema: 'nova' })
89
94
  ], ClientDeviceSetting);
90
95
  export { ClientDeviceSetting };
96
+ //# sourceMappingURL=clientDeviceSetting.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"clientDeviceSetting.js","sourceRoot":"","sources":["../../src/entities/clientDeviceSetting.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,sBAAsB,EAAE,MAAM,SAAS,CAAA;AAEvE,OAAO,EAAE,uBAAuB,EAAE,MAAM,kCAAkC,CAAA;AAOnE,IAAM,mBAAmB,GAAzB,MAAM,mBAAmB;IAE9B,EAAE,CAAQ;IAGV,QAAQ,CAAQ;IAGhB,IAAI,CAAQ;IAGZ,mBAAmB,CAAe;IAGlC,oBAAoB,CAAe;IAGnC,WAAW,CAAe;IAQ1B,aAAa,CAAS;IAGtB,oBAAoB,CAAe;IAGnC,uBAAuB,CAAe;IAMtC,sBAAsB,CAAe;IASrC,0BAA0B,CAAgB;IAG1C,aAAa,CAAQ;CACtB,CAAA;AAjDC;IAAC,sBAAsB,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;+CAC1C;AAEV;IAAC,MAAM,CAAC,KAAK,EAAE,EAAE,IAAI,EAAE,UAAU,EAAE,CAAC;;qDACpB;AAEhB;IAAC,MAAM,CAAC,SAAS,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,EAAE,EAAE,CAAC;;iDACpC;AAEZ;IAAC,MAAM,CAAC,WAAW,EAAE,EAAE,IAAI,EAAE,qBAAqB,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;gEACnC;AAEl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,2BAA2B,EAAE,CAAC,MAAM,CAAC,EAAE,EAAE,CAAC;IAChD,MAAM,CAAC,qBAAqB,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC;GACrC,mBAAmB,CAkD/B;SAlDY,mBAAmB"}
@@ -0,0 +1,48 @@
1
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
2
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
3
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
4
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
5
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
6
+ };
7
+ var __metadata = (this && this.__metadata) || function (k, v) {
8
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
9
+ };
10
+ import { Column, Entity, Index, PrimaryGeneratedColumn } from 'typeorm';
11
+ let ClientIngestorConfiguration = class ClientIngestorConfiguration {
12
+ id;
13
+ clientId;
14
+ userActivationId;
15
+ tokenUrl;
16
+ fleetUrl;
17
+ requestBody;
18
+ };
19
+ __decorate([
20
+ PrimaryGeneratedColumn({ type: 'int', name: 'id' }),
21
+ __metadata("design:type", Number)
22
+ ], ClientIngestorConfiguration.prototype, "id", void 0);
23
+ __decorate([
24
+ Column('int', { name: 'clientId' }),
25
+ __metadata("design:type", Number)
26
+ ], ClientIngestorConfiguration.prototype, "clientId", void 0);
27
+ __decorate([
28
+ Column('int', { name: 'userActivationId' }),
29
+ __metadata("design:type", Number)
30
+ ], ClientIngestorConfiguration.prototype, "userActivationId", void 0);
31
+ __decorate([
32
+ Column('varchar', { name: 'tokenUrl', length: 250 }),
33
+ __metadata("design:type", String)
34
+ ], ClientIngestorConfiguration.prototype, "tokenUrl", void 0);
35
+ __decorate([
36
+ Column('varchar', { name: 'fleetUrl', length: 250 }),
37
+ __metadata("design:type", String)
38
+ ], ClientIngestorConfiguration.prototype, "fleetUrl", void 0);
39
+ __decorate([
40
+ Column('json', { name: 'requestBody' }),
41
+ __metadata("design:type", Object)
42
+ ], ClientIngestorConfiguration.prototype, "requestBody", void 0);
43
+ ClientIngestorConfiguration = __decorate([
44
+ Index('ixClientIngestorConfigurationClientId', ['clientId'], {}),
45
+ Entity('clientIngestorConfiguration', { schema: 'nova' })
46
+ ], ClientIngestorConfiguration);
47
+ export { ClientIngestorConfiguration };
48
+ //# sourceMappingURL=clientIngestorConfiguration.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"clientIngestorConfiguration.js","sourceRoot":"","sources":["../../src/entities/clientIngestorConfiguration.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,sBAAsB,EAAE,MAAM,SAAS,CAAA;AAIhE,IAAM,2BAA2B,GAAjC,MAAM,2BAA2B;IAEtC,EAAE,CAAQ;IAGV,QAAQ,CAAQ;IAGhB,gBAAgB,CAAQ;IAGxB,QAAQ,CAAQ;IAGhB,QAAQ,CAAQ;IAGhB,WAAW,CAAqB;CACjC,CAAA;AAjBC;IAAC,sBAAsB,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;uDAC1C;AAEV;IAAC,MAAM,CAAC,KAAK,EAAE,EAAE,IAAI,EAAE,UAAU,EAAE,CAAC;;6DACpB;AAEhB;IAAC,MAAM,CAAC,KAAK,EAAE,EAAE,IAAI,EAAE,kBAAkB,EAAE,CAAC;;qEACpB;AAExB;IAAC,MAAM,CAAC,SAAS,EAAE,EAAE,IAAI,EAAE,UAAU,EAAE,MAAM,EAAE,GAAG,EAAE,CAAC;;6DACrC;AAEhB;IAAC,MAAM,CAAC,SAAS,EAAE,EAAE,IAAI,EAAE,UAAU,EAAE,MAAM,EAAE,GAAG,EAAE,CAAC;;6DACrC;AAEhB;IAAC,MAAM,CAAC,MAAM,EAAE,EAAE,IAAI,EAAE,aAAa,EAAE,CAAC;;gEACR;AAjBrB,2BAA2B;IAFvC,KAAK,CAAC,uCAAuC,EAAE,CAAC,UAAU,CAAC,EAAE,EAAE,CAAC;IAChE,MAAM,CAAC,6BAA6B,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC;GAC7C,2BAA2B,CAkBvC;SAlBY,2BAA2B"}
@@ -34,3 +34,4 @@ ClientType = __decorate([
34
34
  Entity('clientType', { schema: 'nova' })
35
35
  ], ClientType);
36
36
  export { ClientType };
37
+ //# sourceMappingURL=clientType.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"clientType.js","sourceRoot":"","sources":["../../src/entities/clientType.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,sBAAsB,EAAE,MAAM,SAAS,CAAA;AAGzD,IAAM,UAAU,GAAhB,MAAM,UAAU;IAErB,EAAE,CAAQ;IAGV,IAAI,CAAQ;IAGZ,WAAW,CAAQ;IAGnB,MAAM,CAAQ;CACf,CAAA;AAXC;IAAC,sBAAsB,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;sCAC9C;AAEV;IAAC,MAAM,CAAC,SAAS,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,EAAE,EAAE,CAAC;;wCACpC;AAEZ;IAAC,MAAM,CAAC,SAAS,EAAE,EAAE,IAAI,EAAE,aAAa,EAAE,MAAM,EAAE,GAAG,EAAE,CAAC;;+CACrC;AAEnB;IAAC,MAAM,CAAC,SAAS,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,EAAE,EAAE,EAAE,OAAO,EAAE,GAAG,EAAE,CAAC,UAAU,EAAE,CAAC;;0CAC/D;AAXH,UAAU;IADtB,MAAM,CAAC,YAAY,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC;GAC5B,UAAU,CAYtB;SAZY,UAAU"}
@@ -7,7 +7,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
7
7
  var __metadata = (this && this.__metadata) || function (k, v) {
8
8
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
9
9
  };
10
- import { Column, Entity, PrimaryGeneratedColumn } from 'typeorm';
10
+ import { Column, Entity, Index, PrimaryGeneratedColumn } from 'typeorm';
11
11
  let Country = class Country {
12
12
  id;
13
13
  name;
@@ -85,6 +85,8 @@ __decorate([
85
85
  __metadata("design:type", String)
86
86
  ], Country.prototype, "alpha3Code", void 0);
87
87
  Country = __decorate([
88
+ Index('ixCountryAlpha2Code', ['alpha2Code'], {}),
88
89
  Entity('country', { schema: 'nova' })
89
90
  ], Country);
90
91
  export { Country };
92
+ //# sourceMappingURL=country.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"country.js","sourceRoot":"","sources":["../../src/entities/country.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,sBAAsB,EAAE,MAAM,SAAS,CAAA;AAIhE,IAAM,OAAO,GAAb,MAAM,OAAO;IAElB,EAAE,CAAQ;IAGV,IAAI,CAAe;IAGnB,UAAU,CAAe;IAGzB,OAAO,CAAe;IAGtB,MAAM,CAAe;IAGrB,SAAS,CAAe;IAGxB,SAAS,CAAe;IAGxB,GAAG,CAAe;IAGlB,GAAG,CAAe;IAGlB,OAAO,CAAe;IAGtB,IAAI,CAAe;IAOnB,0BAA0B,CAAe;IAGzC,UAAU,CAAe;IAGzB,UAAU,CAAe;CAC1B,CAAA;AA7CC;IAAC,sBAAsB,CAAC,EAAE,IAAI,EAAE,UAAU,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;mCAC/C;AAEV;IAAC,MAAM,CAAC,SAAS,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,EAAE,E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