@spytecgps/nova-orm 1.2.15-rc8 → 1.2.16

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 (1628) hide show
  1. package/dist/entities/acumaticaAmazonProduct.d.ts +8 -8
  2. package/dist/entities/acumaticaAmazonProduct.js +47 -0
  3. package/dist/entities/acumaticaAmazonProduct.js.map +1 -0
  4. package/dist/entities/acumaticaImeiIccidData.d.ts +17 -17
  5. package/dist/entities/acumaticaImeiIccidData.js +93 -0
  6. package/dist/entities/acumaticaImeiIccidData.js.map +1 -0
  7. package/dist/entities/acumaticaOrderShipmentDetails.d.ts +11 -11
  8. package/dist/entities/acumaticaOrderShipmentDetails.js +63 -0
  9. package/dist/entities/acumaticaOrderShipmentDetails.js.map +1 -0
  10. package/dist/entities/acumaticaShipment.d.ts +5 -5
  11. package/dist/entities/acumaticaShipment.js +32 -0
  12. package/dist/entities/acumaticaShipment.js.map +1 -0
  13. package/dist/entities/acumaticaShipmentAmazon.d.ts +4 -4
  14. package/dist/entities/acumaticaShipmentAmazon.js +27 -0
  15. package/dist/entities/acumaticaShipmentAmazon.js.map +1 -0
  16. package/dist/entities/aempToken.d.ts +10 -10
  17. package/dist/entities/aempToken.js +48 -0
  18. package/dist/entities/aempToken.js.map +1 -0
  19. package/dist/entities/airflow/airflowAcumaticaExportImeiIccidData.d.ts +15 -15
  20. package/dist/entities/airflow/airflowAcumaticaExportImeiIccidData.js +82 -0
  21. package/dist/entities/airflow/airflowAcumaticaExportImeiIccidData.js.map +1 -0
  22. package/dist/entities/airflow/airflowAcumaticaExportOrderShipmentDetails.d.ts +28 -28
  23. package/dist/entities/airflow/airflowAcumaticaExportOrderShipmentDetails.js +147 -0
  24. package/dist/entities/airflow/airflowAcumaticaExportOrderShipmentDetails.js.map +1 -0
  25. package/dist/entities/airflow/airflowAcumaticaShipmentsAmazon.d.ts +7 -7
  26. package/dist/entities/airflow/airflowAcumaticaShipmentsAmazon.js +42 -0
  27. package/dist/entities/airflow/airflowAcumaticaShipmentsAmazon.js.map +1 -0
  28. package/dist/entities/alert.d.ts +28 -28
  29. package/dist/entities/alert.js +137 -0
  30. package/dist/entities/alert.js.map +1 -0
  31. package/dist/entities/alertType.d.ts +14 -14
  32. package/dist/entities/alertType.js +84 -0
  33. package/dist/entities/alertType.js.map +1 -0
  34. package/dist/entities/appFeatureType.d.ts +6 -6
  35. package/dist/entities/appFeatureType.js +37 -0
  36. package/dist/entities/appFeatureType.js.map +1 -0
  37. package/dist/entities/asinPromotion.d.ts +7 -7
  38. package/dist/entities/asinPromotion.js +37 -0
  39. package/dist/entities/asinPromotion.js.map +1 -0
  40. package/dist/entities/assetCategory.d.ts +5 -5
  41. package/dist/entities/assetCategory.js +33 -0
  42. package/dist/entities/assetCategory.js.map +1 -0
  43. package/dist/entities/beaconBleMesh.d.ts +11 -11
  44. package/dist/entities/beaconBleMesh.js +63 -0
  45. package/dist/entities/beaconBleMesh.js.map +1 -0
  46. package/dist/entities/billing.d.ts +20 -20
  47. package/dist/entities/billing.js +109 -0
  48. package/dist/entities/billing.js.map +1 -0
  49. package/dist/entities/billingCustomerAmazon.d.ts +14 -14
  50. package/dist/entities/billingCustomerAmazon.js +83 -0
  51. package/dist/entities/billingCustomerAmazon.js.map +1 -0
  52. package/dist/entities/billingCustomerBraintree.d.ts +11 -11
  53. package/dist/entities/billingCustomerBraintree.js +63 -0
  54. package/dist/entities/billingCustomerBraintree.js.map +1 -0
  55. package/dist/entities/billingDeviceHistory.d.ts +11 -11
  56. package/dist/entities/billingDeviceHistory.js +62 -0
  57. package/dist/entities/billingDeviceHistory.js.map +1 -0
  58. package/dist/entities/billingDeviceTypePlan.d.ts +12 -12
  59. package/dist/entities/billingDeviceTypePlan.js +64 -0
  60. package/dist/entities/billingDeviceTypePlan.js.map +1 -0
  61. package/dist/entities/billingHubspotPaymentLog.d.ts +50 -50
  62. package/dist/entities/billingHubspotPaymentLog.js +257 -0
  63. package/dist/entities/billingHubspotPaymentLog.js.map +1 -0
  64. package/dist/entities/billingKlarnaCustomer.d.ts +14 -14
  65. package/dist/entities/billingKlarnaCustomer.js +77 -0
  66. package/dist/entities/billingKlarnaCustomer.js.map +1 -0
  67. package/dist/entities/billingKlarnaOrder.d.ts +17 -17
  68. package/dist/entities/billingKlarnaOrder.js +115 -0
  69. package/dist/entities/billingKlarnaOrder.js.map +1 -0
  70. package/dist/entities/billingPlanFeatures.d.ts +6 -6
  71. package/dist/entities/billingPlanFeatures.js +37 -0
  72. package/dist/entities/billingPlanFeatures.js.map +1 -0
  73. package/dist/entities/billingPlans.d.ts +22 -22
  74. package/dist/entities/billingPlans.js +127 -0
  75. package/dist/entities/billingPlans.js.map +1 -0
  76. package/dist/entities/billingStatusHistoryBraintree.d.ts +10 -10
  77. package/dist/entities/billingStatusHistoryBraintree.js +64 -0
  78. package/dist/entities/billingStatusHistoryBraintree.js.map +1 -0
  79. package/dist/entities/billingSubscriptionAmazon.d.ts +22 -22
  80. package/dist/entities/billingSubscriptionAmazon.js +162 -0
  81. package/dist/entities/billingSubscriptionAmazon.js.map +1 -0
  82. package/dist/entities/billingSubscriptionBraintree.d.ts +34 -34
  83. package/dist/entities/billingSubscriptionBraintree.js +230 -0
  84. package/dist/entities/billingSubscriptionBraintree.js.map +1 -0
  85. package/dist/entities/blacklist.d.ts +9 -9
  86. package/dist/entities/blacklist.js +52 -0
  87. package/dist/entities/blacklist.js.map +1 -0
  88. package/dist/entities/blacklistType.d.ts +5 -5
  89. package/dist/entities/blacklistType.js +32 -0
  90. package/dist/entities/blacklistType.js.map +1 -0
  91. package/dist/entities/bleMesh.d.ts +15 -15
  92. package/dist/entities/bleMesh.js +74 -0
  93. package/dist/entities/bleMesh.js.map +1 -0
  94. package/dist/entities/bleMeshConfiguration.d.ts +9 -9
  95. package/dist/entities/bleMeshConfiguration.js +57 -0
  96. package/dist/entities/bleMeshConfiguration.js.map +1 -0
  97. package/dist/entities/boundary.d.ts +23 -23
  98. package/dist/entities/boundary.js +121 -0
  99. package/dist/entities/boundary.js.map +1 -0
  100. package/dist/entities/boundaryEvent.d.ts +20 -20
  101. package/dist/entities/boundaryEvent.js +106 -0
  102. package/dist/entities/boundaryEvent.js.map +1 -0
  103. package/dist/entities/cellTower.d.ts +12 -12
  104. package/dist/entities/cellTower.js +67 -0
  105. package/dist/entities/cellTower.js.map +1 -0
  106. package/dist/entities/client.d.ts +34 -34
  107. package/dist/entities/client.js +148 -0
  108. package/dist/entities/client.js.map +1 -0
  109. package/dist/entities/clientAlertConfiguration.d.ts +17 -17
  110. package/dist/entities/clientAlertConfiguration.js +90 -0
  111. package/dist/entities/clientAlertConfiguration.js.map +1 -0
  112. package/dist/entities/clientAlertRecipient.d.ts +16 -16
  113. package/dist/entities/clientAlertRecipient.js +98 -0
  114. package/dist/entities/clientAlertRecipient.js.map +1 -0
  115. package/dist/entities/clientAppFeature.d.ts +9 -9
  116. package/dist/entities/clientAppFeature.js +48 -0
  117. package/dist/entities/clientAppFeature.js.map +1 -0
  118. package/dist/entities/clientConfiguration.d.ts +9 -9
  119. package/dist/entities/clientConfiguration.js +59 -0
  120. package/dist/entities/clientConfiguration.js.map +1 -0
  121. package/dist/entities/clientDeviceSetting.d.ts +14 -14
  122. package/dist/entities/clientDeviceSetting.js +96 -0
  123. package/dist/entities/clientDeviceSetting.js.map +1 -0
  124. package/dist/entities/clientIngestorConfiguration.d.ts +8 -8
  125. package/dist/entities/clientIngestorConfiguration.js +48 -0
  126. package/dist/entities/clientIngestorConfiguration.js.map +1 -0
  127. package/dist/entities/clientType.d.ts +6 -6
  128. package/dist/entities/clientType.js +37 -0
  129. package/dist/entities/clientType.js.map +1 -0
  130. package/dist/entities/country.d.ts +16 -16
  131. package/dist/entities/country.js +92 -0
  132. package/dist/entities/country.js.map +1 -0
  133. package/dist/entities/customerAttribute.d.ts +15 -15
  134. package/dist/entities/customerAttribute.js +81 -0
  135. package/dist/entities/customerAttribute.js.map +1 -0
  136. package/dist/entities/dataExport.d.ts +17 -17
  137. package/dist/entities/dataExport.js +74 -0
  138. package/dist/entities/dataExport.js.map +1 -0
  139. package/dist/entities/dataSourceType.d.ts +5 -5
  140. package/dist/entities/dataSourceType.js +32 -0
  141. package/dist/entities/dataSourceType.js.map +1 -0
  142. package/dist/entities/deactivation.d.ts +14 -14
  143. package/dist/entities/deactivation.js +84 -0
  144. package/dist/entities/deactivation.js.map +1 -0
  145. package/dist/entities/deactivationReason.d.ts +6 -6
  146. package/dist/entities/deactivationReason.js +41 -0
  147. package/dist/entities/deactivationReason.js.map +1 -0
  148. package/dist/entities/device.d.ts +38 -36
  149. package/dist/entities/device.js +174 -0
  150. package/dist/entities/device.js.map +1 -0
  151. package/dist/entities/deviceBehavior.d.ts +25 -25
  152. package/dist/entities/deviceBehavior.js +148 -0
  153. package/dist/entities/deviceBehavior.js.map +1 -0
  154. package/dist/entities/deviceBleMesh.d.ts +14 -14
  155. package/dist/entities/deviceBleMesh.js +78 -0
  156. package/dist/entities/deviceBleMesh.js.map +1 -0
  157. package/dist/entities/deviceBleMeshUpdateTask.d.ts +18 -18
  158. package/dist/entities/deviceBleMeshUpdateTask.js +83 -0
  159. package/dist/entities/deviceBleMeshUpdateTask.js.map +1 -0
  160. package/dist/entities/deviceChangesHistory.d.ts +8 -8
  161. package/dist/entities/deviceChangesHistory.js +48 -0
  162. package/dist/entities/deviceChangesHistory.js.map +1 -0
  163. package/dist/entities/deviceCustomConfiguration.d.ts +13 -13
  164. package/dist/entities/deviceCustomConfiguration.js +77 -0
  165. package/dist/entities/deviceCustomConfiguration.js.map +1 -0
  166. package/dist/entities/deviceHistory.d.ts +8 -8
  167. package/dist/entities/deviceHistory.js +47 -0
  168. package/dist/entities/deviceHistory.js.map +1 -0
  169. package/dist/entities/deviceModelListener.d.ts +8 -8
  170. package/dist/entities/deviceModelListener.js +47 -0
  171. package/dist/entities/deviceModelListener.js.map +1 -0
  172. package/dist/entities/devicePairing.d.ts +14 -14
  173. package/dist/entities/devicePairing.js +83 -0
  174. package/dist/entities/devicePairing.js.map +1 -0
  175. package/dist/entities/devicePromotion.d.ts +7 -7
  176. package/dist/entities/devicePromotion.js +37 -0
  177. package/dist/entities/devicePromotion.js.map +1 -0
  178. package/dist/entities/deviceReplacement.d.ts +12 -12
  179. package/dist/entities/deviceReplacement.js +58 -0
  180. package/dist/entities/deviceReplacement.js.map +1 -0
  181. package/dist/entities/deviceStatus.d.ts +13 -13
  182. package/dist/entities/deviceStatus.js +61 -0
  183. package/dist/entities/deviceStatus.js.map +1 -0
  184. package/dist/entities/deviceTask.d.ts +8 -8
  185. package/dist/entities/deviceTask.js +45 -0
  186. package/dist/entities/deviceTask.js.map +1 -0
  187. package/dist/entities/deviceType.d.ts +26 -26
  188. package/dist/entities/deviceType.js +144 -0
  189. package/dist/entities/deviceType.js.map +1 -0
  190. package/dist/entities/deviceTypeFeature.d.ts +5 -5
  191. package/dist/entities/deviceTypeFeature.js +33 -0
  192. package/dist/entities/deviceTypeFeature.js.map +1 -0
  193. package/dist/entities/deviceTypeFirmware.d.ts +21 -21
  194. package/dist/entities/deviceTypeFirmware.js +118 -0
  195. package/dist/entities/deviceTypeFirmware.js.map +1 -0
  196. package/dist/entities/deviceTypePromotion.d.ts +7 -7
  197. package/dist/entities/deviceTypePromotion.js +37 -0
  198. package/dist/entities/deviceTypePromotion.js.map +1 -0
  199. package/dist/entities/emailDomain.d.ts +5 -5
  200. package/dist/entities/emailDomain.js +39 -0
  201. package/dist/entities/emailDomain.js.map +1 -0
  202. package/dist/entities/entityTag.d.ts +12 -12
  203. package/dist/entities/entityTag.js +72 -0
  204. package/dist/entities/entityTag.js.map +1 -0
  205. package/dist/entities/entityType.d.ts +5 -5
  206. package/dist/entities/entityType.js +32 -0
  207. package/dist/entities/entityType.js.map +1 -0
  208. package/dist/entities/feature.d.ts +6 -6
  209. package/dist/entities/feature.js +37 -0
  210. package/dist/entities/feature.js.map +1 -0
  211. package/dist/entities/firmwareAutoUpgradeBlacklist.d.ts +5 -5
  212. package/dist/entities/firmwareAutoUpgradeBlacklist.js +36 -0
  213. package/dist/entities/firmwareAutoUpgradeBlacklist.js.map +1 -0
  214. package/dist/entities/firmwareUpgradeTask.d.ts +23 -23
  215. package/dist/entities/firmwareUpgradeTask.js +108 -0
  216. package/dist/entities/firmwareUpgradeTask.js.map +1 -0
  217. package/dist/entities/iccidStatus.d.ts +7 -7
  218. package/dist/entities/iccidStatus.js +50 -0
  219. package/dist/entities/iccidStatus.js.map +1 -0
  220. package/dist/entities/imeiIccidCarrier.d.ts +21 -21
  221. package/dist/entities/imeiIccidCarrier.js +126 -0
  222. package/dist/entities/imeiIccidCarrier.js.map +1 -0
  223. package/dist/entities/imeiIccidHistory.d.ts +7 -7
  224. package/dist/entities/imeiIccidHistory.js +44 -0
  225. package/dist/entities/imeiIccidHistory.js.map +1 -0
  226. package/dist/entities/imeiIccidImport.d.ts +5 -5
  227. package/dist/entities/imeiIccidImport.js +32 -0
  228. package/dist/entities/imeiIccidImport.js.map +1 -0
  229. package/dist/entities/index.d.ts +120 -120
  230. package/dist/entities/index.js +121 -0
  231. package/dist/entities/index.js.map +1 -0
  232. package/dist/entities/industry.d.ts +8 -8
  233. package/dist/entities/industry.js +47 -0
  234. package/dist/entities/industry.js.map +1 -0
  235. package/dist/entities/latestPosition.d.ts +21 -21
  236. package/dist/entities/latestPosition.js +106 -0
  237. package/dist/entities/latestPosition.js.map +1 -0
  238. package/dist/entities/latestPositionMigration.d.ts +20 -20
  239. package/dist/entities/latestPositionMigration.js +97 -0
  240. package/dist/entities/latestPositionMigration.js.map +1 -0
  241. package/dist/entities/latestPositionMigrationBatch.d.ts +3 -3
  242. package/dist/entities/latestPositionMigrationBatch.js +22 -0
  243. package/dist/entities/latestPositionMigrationBatch.js.map +1 -0
  244. package/dist/entities/latestUserAppInfo.d.ts +9 -9
  245. package/dist/entities/latestUserAppInfo.js +43 -0
  246. package/dist/entities/latestUserAppInfo.js.map +1 -0
  247. package/dist/entities/liveLink.d.ts +17 -17
  248. package/dist/entities/liveLink.js +93 -0
  249. package/dist/entities/liveLink.js.map +1 -0
  250. package/dist/entities/magento2Gps.d.ts +50 -50
  251. package/dist/entities/magento2Gps.js +258 -0
  252. package/dist/entities/magento2Gps.js.map +1 -0
  253. package/dist/entities/magento2Plan.d.ts +6 -6
  254. package/dist/entities/magento2Plan.js +42 -0
  255. package/dist/entities/magento2Plan.js.map +1 -0
  256. package/dist/entities/marketplacePromotion.d.ts +7 -7
  257. package/dist/entities/marketplacePromotion.js +37 -0
  258. package/dist/entities/marketplacePromotion.js.map +1 -0
  259. package/dist/entities/mobileNetwork.d.ts +9 -9
  260. package/dist/entities/mobileNetwork.js +52 -0
  261. package/dist/entities/mobileNetwork.js.map +1 -0
  262. package/dist/entities/notificationRecipient.d.ts +23 -23
  263. package/dist/entities/notificationRecipient.js +128 -0
  264. package/dist/entities/notificationRecipient.js.map +1 -0
  265. package/dist/entities/orderShipmentInternational.d.ts +12 -12
  266. package/dist/entities/orderShipmentInternational.js +67 -0
  267. package/dist/entities/orderShipmentInternational.js.map +1 -0
  268. package/dist/entities/organization.d.ts +10 -10
  269. package/dist/entities/organization.js +47 -0
  270. package/dist/entities/organization.js.map +1 -0
  271. package/dist/entities/plan.d.ts +16 -16
  272. package/dist/entities/plan.js +87 -0
  273. package/dist/entities/plan.js.map +1 -0
  274. package/dist/entities/position.d.ts +21 -21
  275. package/dist/entities/position.js +106 -0
  276. package/dist/entities/position.js.map +1 -0
  277. package/dist/entities/positionMigration.d.ts +20 -20
  278. package/dist/entities/positionMigration.js +97 -0
  279. package/dist/entities/positionMigration.js.map +1 -0
  280. package/dist/entities/positionMigrationBatch.d.ts +3 -3
  281. package/dist/entities/positionMigrationBatch.js +22 -0
  282. package/dist/entities/positionMigrationBatch.js.map +1 -0
  283. package/dist/entities/promotion.d.ts +24 -24
  284. package/dist/entities/promotion.js +136 -0
  285. package/dist/entities/promotion.js.map +1 -0
  286. package/dist/entities/promotionHistory.d.ts +12 -12
  287. package/dist/entities/promotionHistory.js +90 -0
  288. package/dist/entities/promotionHistory.js.map +1 -0
  289. package/dist/entities/securityRole.d.ts +10 -10
  290. package/dist/entities/securityRole.js +48 -0
  291. package/dist/entities/securityRole.js.map +1 -0
  292. package/dist/entities/serviceProvider.d.ts +7 -7
  293. package/dist/entities/serviceProvider.js +42 -0
  294. package/dist/entities/serviceProvider.js.map +1 -0
  295. package/dist/entities/serviceProviderProduct.d.ts +9 -9
  296. package/dist/entities/serviceProviderProduct.js +62 -0
  297. package/dist/entities/serviceProviderProduct.js.map +1 -0
  298. package/dist/entities/serviceProviderProductNetwork.d.ts +5 -5
  299. package/dist/entities/serviceProviderProductNetwork.js +32 -0
  300. package/dist/entities/serviceProviderProductNetwork.js.map +1 -0
  301. package/dist/entities/serviceProviderProductType.d.ts +5 -5
  302. package/dist/entities/serviceProviderProductType.js +32 -0
  303. package/dist/entities/serviceProviderProductType.js.map +1 -0
  304. package/dist/entities/sim.d.ts +16 -16
  305. package/dist/entities/sim.js +93 -0
  306. package/dist/entities/sim.js.map +1 -0
  307. package/dist/entities/subscriptionHistoricalPrice.d.ts +18 -18
  308. package/dist/entities/subscriptionHistoricalPrice.js +133 -0
  309. package/dist/entities/subscriptionHistoricalPrice.js.map +1 -0
  310. package/dist/entities/tag.d.ts +12 -12
  311. package/dist/entities/tag.js +68 -0
  312. package/dist/entities/tag.js.map +1 -0
  313. package/dist/entities/task.d.ts +36 -36
  314. package/dist/entities/task.js +185 -0
  315. package/dist/entities/task.js.map +1 -0
  316. package/dist/entities/taskSchedule.d.ts +29 -29
  317. package/dist/entities/taskSchedule.js +147 -0
  318. package/dist/entities/taskSchedule.js.map +1 -0
  319. package/dist/entities/trip.d.ts +27 -27
  320. package/dist/entities/trip.js +139 -0
  321. package/dist/entities/trip.js.map +1 -0
  322. package/dist/entities/tripCompletionStatus.d.ts +6 -6
  323. package/dist/entities/tripCompletionStatus.js +37 -0
  324. package/dist/entities/tripCompletionStatus.js.map +1 -0
  325. package/dist/entities/tripPosition.d.ts +4 -4
  326. package/dist/entities/tripPosition.js +27 -0
  327. package/dist/entities/tripPosition.js.map +1 -0
  328. package/dist/entities/user.d.ts +48 -48
  329. package/dist/entities/user.js +218 -0
  330. package/dist/entities/user.js.map +1 -0
  331. package/dist/entities/userActivation.d.ts +10 -10
  332. package/dist/entities/userActivation.js +53 -0
  333. package/dist/entities/userActivation.js.map +1 -0
  334. package/dist/entities/userActivationDevice.d.ts +28 -28
  335. package/dist/entities/userActivationDevice.js +165 -0
  336. package/dist/entities/userActivationDevice.js.map +1 -0
  337. package/dist/entities/userActivationEvent.d.ts +13 -13
  338. package/dist/entities/userActivationEvent.js +62 -0
  339. package/dist/entities/userActivationEvent.js.map +1 -0
  340. package/dist/entities/userActivationMetric.d.ts +39 -39
  341. package/dist/entities/userActivationMetric.js +209 -0
  342. package/dist/entities/userActivationMetric.js.map +1 -0
  343. package/dist/entities/userAlertComplain.d.ts +18 -18
  344. package/dist/entities/userAlertComplain.js +79 -0
  345. package/dist/entities/userAlertComplain.js.map +1 -0
  346. package/dist/entities/userAlertConfiguration.d.ts +25 -25
  347. package/dist/entities/userAlertConfiguration.js +143 -0
  348. package/dist/entities/userAlertConfiguration.js.map +1 -0
  349. package/dist/entities/userAlertNotificationsConfig.d.ts +14 -14
  350. package/dist/entities/userAlertNotificationsConfig.js +91 -0
  351. package/dist/entities/userAlertNotificationsConfig.js.map +1 -0
  352. package/dist/entities/userAppFeedback.d.ts +11 -11
  353. package/dist/entities/userAppFeedback.js +53 -0
  354. package/dist/entities/userAppFeedback.js.map +1 -0
  355. package/dist/entities/userAppIncident.d.ts +30 -30
  356. package/dist/entities/userAppIncident.js +177 -0
  357. package/dist/entities/userAppIncident.js.map +1 -0
  358. package/dist/entities/userConfiguration.d.ts +21 -21
  359. package/dist/entities/userConfiguration.js +110 -0
  360. package/dist/entities/userConfiguration.js.map +1 -0
  361. package/dist/entities/userDataDeletionRequest.d.ts +12 -12
  362. package/dist/entities/userDataDeletionRequest.js +58 -0
  363. package/dist/entities/userDataDeletionRequest.js.map +1 -0
  364. package/dist/entities/userDeviceBehaviorTask.d.ts +16 -16
  365. package/dist/entities/userDeviceBehaviorTask.js +81 -0
  366. package/dist/entities/userDeviceBehaviorTask.js.map +1 -0
  367. package/dist/entities/userInvitation.d.ts +20 -20
  368. package/dist/entities/userInvitation.js +102 -0
  369. package/dist/entities/userInvitation.js.map +1 -0
  370. package/dist/entities/userRatingRequest.d.ts +14 -14
  371. package/dist/entities/userRatingRequest.js +76 -0
  372. package/dist/entities/userRatingRequest.js.map +1 -0
  373. package/dist/entities/userRegistrationAttempt.d.ts +36 -36
  374. package/dist/entities/userRegistrationAttempt.js +178 -0
  375. package/dist/entities/userRegistrationAttempt.js.map +1 -0
  376. package/dist/entities/userSecurityRole.d.ts +12 -12
  377. package/dist/entities/userSecurityRole.js +46 -0
  378. package/dist/entities/userSecurityRole.js.map +1 -0
  379. package/dist/index.d.ts +24 -24
  380. package/dist/index.js +1 -1
  381. package/dist/index.js.map +1 -0
  382. package/dist/migration/1684483704434-addLowerCaseIndex.d.ts +5 -5
  383. package/dist/migration/1684483704434-addLowerCaseIndex.js +17 -0
  384. package/dist/migration/1684483704434-addLowerCaseIndex.js.map +1 -0
  385. package/dist/novaDataSource.d.ts +82 -88
  386. package/dist/novaDataSource.js +200 -0
  387. package/dist/novaDataSource.js.map +1 -0
  388. package/dist/repositories/acumatica/getAcumaticaImeiIccidData.d.ts +5 -5
  389. package/dist/repositories/acumatica/getAcumaticaImeiIccidData.js +47 -0
  390. package/dist/repositories/acumatica/getAcumaticaImeiIccidData.js.map +1 -0
  391. package/dist/repositories/acumatica/getAcumaticaShipmentDetails.d.ts +4 -4
  392. package/dist/repositories/acumatica/getAcumaticaShipmentDetails.js +56 -0
  393. package/dist/repositories/acumatica/getAcumaticaShipmentDetails.js.map +1 -0
  394. package/dist/repositories/acumatica/getLastAcumaticaShipmentDetails.d.ts +4 -4
  395. package/dist/repositories/acumatica/getLastAcumaticaShipmentDetails.js +33 -0
  396. package/dist/repositories/acumatica/getLastAcumaticaShipmentDetails.js.map +1 -0
  397. package/dist/repositories/acumatica/getOrderShipmentInternational.d.ts +5 -5
  398. package/dist/repositories/acumatica/getOrderShipmentInternational.js +23 -0
  399. package/dist/repositories/acumatica/getOrderShipmentInternational.js.map +1 -0
  400. package/dist/repositories/acumatica/index.d.ts +40 -40
  401. package/dist/repositories/acumatica/index.js +67 -0
  402. package/dist/repositories/acumatica/index.js.map +1 -0
  403. package/dist/repositories/aempToken/createAempToken.d.ts +5 -5
  404. package/dist/repositories/aempToken/createAempToken.js +27 -0
  405. package/dist/repositories/aempToken/createAempToken.js.map +1 -0
  406. package/dist/repositories/aempToken/deleteAempTokens.d.ts +4 -4
  407. package/dist/repositories/aempToken/deleteAempTokens.js +31 -0
  408. package/dist/repositories/aempToken/deleteAempTokens.js.map +1 -0
  409. package/dist/repositories/aempToken/getAempTokens.d.ts +5 -5
  410. package/dist/repositories/aempToken/getAempTokens.js +35 -0
  411. package/dist/repositories/aempToken/getAempTokens.js.map +1 -0
  412. package/dist/repositories/aempToken/index.d.ts +33 -33
  413. package/dist/repositories/aempToken/index.js +54 -0
  414. package/dist/repositories/aempToken/index.js.map +1 -0
  415. package/dist/repositories/alertTypes/getAlertTypes.d.ts +4 -4
  416. package/dist/repositories/alertTypes/getAlertTypes.js +19 -0
  417. package/dist/repositories/alertTypes/getAlertTypes.js.map +1 -0
  418. package/dist/repositories/alertTypes/index.d.ts +6 -6
  419. package/dist/repositories/alertTypes/index.js +19 -0
  420. package/dist/repositories/alertTypes/index.js.map +1 -0
  421. package/dist/repositories/alerts/createAlert.d.ts +6 -6
  422. package/dist/repositories/alerts/createAlert.js +99 -0
  423. package/dist/repositories/alerts/createAlert.js.map +1 -0
  424. package/dist/repositories/alerts/createUserAlertComplain.d.ts +4 -4
  425. package/dist/repositories/alerts/createUserAlertComplain.js +27 -0
  426. package/dist/repositories/alerts/createUserAlertComplain.js.map +1 -0
  427. package/dist/repositories/alerts/getAlertsReportByClient.d.ts +7 -7
  428. package/dist/repositories/alerts/getAlertsReportByClient.js +70 -0
  429. package/dist/repositories/alerts/getAlertsReportByClient.js.map +1 -0
  430. package/dist/repositories/alerts/getAlertsReportByUser.d.ts +4 -4
  431. package/dist/repositories/alerts/getAlertsReportByUser.js +132 -0
  432. package/dist/repositories/alerts/getAlertsReportByUser.js.map +1 -0
  433. package/dist/repositories/alerts/index.d.ts +78 -78
  434. package/dist/repositories/alerts/index.js +105 -0
  435. package/dist/repositories/alerts/index.js.map +1 -0
  436. package/dist/repositories/appFeatures/createAppFeatureType.d.ts +5 -5
  437. package/dist/repositories/appFeatures/createAppFeatureType.js +16 -0
  438. package/dist/repositories/appFeatures/createAppFeatureType.js.map +1 -0
  439. package/dist/repositories/appFeatures/createClientAppFeature.d.ts +5 -5
  440. package/dist/repositories/appFeatures/createClientAppFeature.js +16 -0
  441. package/dist/repositories/appFeatures/createClientAppFeature.js.map +1 -0
  442. package/dist/repositories/appFeatures/getClientAppFeatures.d.ts +5 -5
  443. package/dist/repositories/appFeatures/getClientAppFeatures.js +45 -0
  444. package/dist/repositories/appFeatures/getClientAppFeatures.js.map +1 -0
  445. package/dist/repositories/appFeatures/index.d.ts +37 -37
  446. package/dist/repositories/appFeatures/index.js +58 -0
  447. package/dist/repositories/appFeatures/index.js.map +1 -0
  448. package/dist/repositories/assetCategories/getAssetCategories.d.ts +3 -3
  449. package/dist/repositories/assetCategories/getAssetCategories.js +19 -0
  450. package/dist/repositories/assetCategories/getAssetCategories.js.map +1 -0
  451. package/dist/repositories/assetCategories/index.d.ts +9 -9
  452. package/dist/repositories/assetCategories/index.js +17 -0
  453. package/dist/repositories/assetCategories/index.js.map +1 -0
  454. package/dist/repositories/baseRepository.d.ts +21 -21
  455. package/dist/repositories/baseRepository.js +24 -0
  456. package/dist/repositories/baseRepository.js.map +1 -0
  457. package/dist/repositories/billing/createBilling.d.ts +5 -5
  458. package/dist/repositories/billing/createBilling.js +38 -0
  459. package/dist/repositories/billing/createBilling.js.map +1 -0
  460. package/dist/repositories/billing/createBillingDeviceHistory.d.ts +5 -5
  461. package/dist/repositories/billing/createBillingDeviceHistory.js +31 -0
  462. package/dist/repositories/billing/createBillingDeviceHistory.js.map +1 -0
  463. package/dist/repositories/billing/createBillingHubspotPaymentLog.d.ts +5 -5
  464. package/dist/repositories/billing/createBillingHubspotPaymentLog.js +62 -0
  465. package/dist/repositories/billing/createBillingHubspotPaymentLog.js.map +1 -0
  466. package/dist/repositories/billing/createBillingStatusHistoryBraintree.d.ts +5 -5
  467. package/dist/repositories/billing/createBillingStatusHistoryBraintree.js +33 -0
  468. package/dist/repositories/billing/createBillingStatusHistoryBraintree.js.map +1 -0
  469. package/dist/repositories/billing/getBillingCustomerBraintreeById.d.ts +5 -5
  470. package/dist/repositories/billing/getBillingCustomerBraintreeById.js +24 -0
  471. package/dist/repositories/billing/getBillingCustomerBraintreeById.js.map +1 -0
  472. package/dist/repositories/billing/getBillingDeviceTypePlans.d.ts +5 -5
  473. package/dist/repositories/billing/getBillingDeviceTypePlans.js +22 -0
  474. package/dist/repositories/billing/getBillingDeviceTypePlans.js.map +1 -0
  475. package/dist/repositories/billing/getBillingKlarnaOrderByImei.d.ts +5 -5
  476. package/dist/repositories/billing/getBillingKlarnaOrderByImei.js +24 -0
  477. package/dist/repositories/billing/getBillingKlarnaOrderByImei.js.map +1 -0
  478. package/dist/repositories/billing/getBillingPlans.d.ts +4 -4
  479. package/dist/repositories/billing/getBillingPlans.js +68 -0
  480. package/dist/repositories/billing/getBillingPlans.js.map +1 -0
  481. package/dist/repositories/billing/getBillingSubscriptionBraintreeByImei.d.ts +5 -5
  482. package/dist/repositories/billing/getBillingSubscriptionBraintreeByImei.js +24 -0
  483. package/dist/repositories/billing/getBillingSubscriptionBraintreeByImei.js.map +1 -0
  484. package/dist/repositories/billing/getBillingSubscriptionsBraintree.d.ts +5 -5
  485. package/dist/repositories/billing/getBillingSubscriptionsBraintree.js +31 -0
  486. package/dist/repositories/billing/getBillingSubscriptionsBraintree.js.map +1 -0
  487. package/dist/repositories/billing/getBillings.d.ts +5 -5
  488. package/dist/repositories/billing/getBillings.js +48 -0
  489. package/dist/repositories/billing/getBillings.js.map +1 -0
  490. package/dist/repositories/billing/getBraintreePastDueSubscriptions.d.ts +4 -4
  491. package/dist/repositories/billing/getBraintreePastDueSubscriptions.js +49 -0
  492. package/dist/repositories/billing/getBraintreePastDueSubscriptions.js.map +1 -0
  493. package/dist/repositories/billing/getCanceledImeis.d.ts +4 -4
  494. package/dist/repositories/billing/getCanceledImeis.js +95 -0
  495. package/dist/repositories/billing/getCanceledImeis.js.map +1 -0
  496. package/dist/repositories/billing/getCanceledImeisMatchingMagentoData.d.ts +4 -4
  497. package/dist/repositories/billing/getCanceledImeisMatchingMagentoData.js +114 -0
  498. package/dist/repositories/billing/getCanceledImeisMatchingMagentoData.js.map +1 -0
  499. package/dist/repositories/billing/getChurnStatusByClientId.d.ts +4 -4
  500. package/dist/repositories/billing/getChurnStatusByClientId.js +37 -0
  501. package/dist/repositories/billing/getChurnStatusByClientId.js.map +1 -0
  502. package/dist/repositories/billing/getClientIdFromBraintreeCustomer.d.ts +4 -4
  503. package/dist/repositories/billing/getClientIdFromBraintreeCustomer.js +26 -0
  504. package/dist/repositories/billing/getClientIdFromBraintreeCustomer.js.map +1 -0
  505. package/dist/repositories/billing/getMagentoPlan.d.ts +5 -5
  506. package/dist/repositories/billing/getMagentoPlan.js +27 -0
  507. package/dist/repositories/billing/getMagentoPlan.js.map +1 -0
  508. package/dist/repositories/billing/getUserByBraintreeCustomerId.d.ts +5 -5
  509. package/dist/repositories/billing/getUserByBraintreeCustomerId.js +28 -0
  510. package/dist/repositories/billing/getUserByBraintreeCustomerId.js.map +1 -0
  511. package/dist/repositories/billing/index.d.ts +243 -243
  512. package/dist/repositories/billing/index.js +425 -0
  513. package/dist/repositories/billing/index.js.map +1 -0
  514. package/dist/repositories/billing/updateBilling.d.ts +4 -4
  515. package/dist/repositories/billing/updateBilling.js +44 -0
  516. package/dist/repositories/billing/updateBilling.js.map +1 -0
  517. package/dist/repositories/billing/updateBillingCustomerBraintree.d.ts +4 -4
  518. package/dist/repositories/billing/updateBillingCustomerBraintree.js +38 -0
  519. package/dist/repositories/billing/updateBillingCustomerBraintree.js.map +1 -0
  520. package/dist/repositories/billing/upsertBillingCustomerBraintree.d.ts +5 -5
  521. package/dist/repositories/billing/upsertBillingCustomerBraintree.js +49 -0
  522. package/dist/repositories/billing/upsertBillingCustomerBraintree.js.map +1 -0
  523. package/dist/repositories/billing/upsertBillingDeviceTypePlan.d.ts +5 -5
  524. package/dist/repositories/billing/upsertBillingDeviceTypePlan.js +67 -0
  525. package/dist/repositories/billing/upsertBillingDeviceTypePlan.js.map +1 -0
  526. package/dist/repositories/billing/upsertBillingKlarnaCustomer.d.ts +5 -5
  527. package/dist/repositories/billing/upsertBillingKlarnaCustomer.js +53 -0
  528. package/dist/repositories/billing/upsertBillingKlarnaCustomer.js.map +1 -0
  529. package/dist/repositories/billing/upsertBillingKlarnaOrder.d.ts +5 -5
  530. package/dist/repositories/billing/upsertBillingKlarnaOrder.js +59 -0
  531. package/dist/repositories/billing/upsertBillingKlarnaOrder.js.map +1 -0
  532. package/dist/repositories/billing/upsertBillingPlans.d.ts +5 -5
  533. package/dist/repositories/billing/upsertBillingPlans.js +54 -0
  534. package/dist/repositories/billing/upsertBillingPlans.js.map +1 -0
  535. package/dist/repositories/billing/upsertBillingSubscriptionBraintree.d.ts +4 -4
  536. package/dist/repositories/billing/upsertBillingSubscriptionBraintree.js +21 -0
  537. package/dist/repositories/billing/upsertBillingSubscriptionBraintree.js.map +1 -0
  538. package/dist/repositories/blacklist/deleteBlackList.d.ts +4 -4
  539. package/dist/repositories/blacklist/deleteBlackList.js +20 -0
  540. package/dist/repositories/blacklist/deleteBlackList.js.map +1 -0
  541. package/dist/repositories/blacklist/getBlacklists.d.ts +5 -5
  542. package/dist/repositories/blacklist/getBlacklists.js +25 -0
  543. package/dist/repositories/blacklist/getBlacklists.js.map +1 -0
  544. package/dist/repositories/blacklist/index.d.ts +43 -43
  545. package/dist/repositories/blacklist/index.js +71 -0
  546. package/dist/repositories/blacklist/index.js.map +1 -0
  547. package/dist/repositories/blacklist/updateBlackList.d.ts +4 -4
  548. package/dist/repositories/blacklist/updateBlackList.js +31 -0
  549. package/dist/repositories/blacklist/updateBlackList.js.map +1 -0
  550. package/dist/repositories/blacklist/upsertBlackList.d.ts +5 -5
  551. package/dist/repositories/blacklist/upsertBlackList.js +41 -0
  552. package/dist/repositories/blacklist/upsertBlackList.js.map +1 -0
  553. package/dist/repositories/bleMesh/addBeaconsToBLEMesh.d.ts +5 -5
  554. package/dist/repositories/bleMesh/addBeaconsToBLEMesh.js +22 -0
  555. package/dist/repositories/bleMesh/addBeaconsToBLEMesh.js.map +1 -0
  556. package/dist/repositories/bleMesh/addDevicesToBLEMesh.d.ts +5 -5
  557. package/dist/repositories/bleMesh/addDevicesToBLEMesh.js +38 -0
  558. package/dist/repositories/bleMesh/addDevicesToBLEMesh.js.map +1 -0
  559. package/dist/repositories/bleMesh/createBLEMesh.d.ts +5 -5
  560. package/dist/repositories/bleMesh/createBLEMesh.js +19 -0
  561. package/dist/repositories/bleMesh/createBLEMesh.js.map +1 -0
  562. package/dist/repositories/bleMesh/createDeviceBLEMeshUpdateTask.d.ts +5 -5
  563. package/dist/repositories/bleMesh/createDeviceBLEMeshUpdateTask.js +47 -0
  564. package/dist/repositories/bleMesh/createDeviceBLEMeshUpdateTask.js.map +1 -0
  565. package/dist/repositories/bleMesh/getBLEMeshes.d.ts +4 -4
  566. package/dist/repositories/bleMesh/getBLEMeshes.js +46 -0
  567. package/dist/repositories/bleMesh/getBLEMeshes.js.map +1 -0
  568. package/dist/repositories/bleMesh/getDeviceBLEMeshUpdateTasks.d.ts +4 -4
  569. package/dist/repositories/bleMesh/getDeviceBLEMeshUpdateTasks.js +56 -0
  570. package/dist/repositories/bleMesh/getDeviceBLEMeshUpdateTasks.js.map +1 -0
  571. package/dist/repositories/bleMesh/getDeviceBLEMeshes.d.ts +4 -4
  572. package/dist/repositories/bleMesh/getDeviceBLEMeshes.js +50 -0
  573. package/dist/repositories/bleMesh/getDeviceBLEMeshes.js.map +1 -0
  574. package/dist/repositories/bleMesh/index.d.ts +130 -130
  575. package/dist/repositories/bleMesh/index.js +221 -0
  576. package/dist/repositories/bleMesh/index.js.map +1 -0
  577. package/dist/repositories/bleMesh/removeBLEMesh.d.ts +4 -4
  578. package/dist/repositories/bleMesh/removeBLEMesh.js +22 -0
  579. package/dist/repositories/bleMesh/removeBLEMesh.js.map +1 -0
  580. package/dist/repositories/bleMesh/removeBeaconsFromBLEMesh.d.ts +4 -4
  581. package/dist/repositories/bleMesh/removeBeaconsFromBLEMesh.js +24 -0
  582. package/dist/repositories/bleMesh/removeBeaconsFromBLEMesh.js.map +1 -0
  583. package/dist/repositories/bleMesh/removeDevicesFromBLEMesh.d.ts +4 -4
  584. package/dist/repositories/bleMesh/removeDevicesFromBLEMesh.js +25 -0
  585. package/dist/repositories/bleMesh/removeDevicesFromBLEMesh.js.map +1 -0
  586. package/dist/repositories/bleMesh/updateBLEMesh.d.ts +4 -4
  587. package/dist/repositories/bleMesh/updateBLEMesh.js +32 -0
  588. package/dist/repositories/bleMesh/updateBLEMesh.js.map +1 -0
  589. package/dist/repositories/bleMesh/updateDevicesBLEMesh.d.ts +4 -4
  590. package/dist/repositories/bleMesh/updateDevicesBLEMesh.js +30 -0
  591. package/dist/repositories/bleMesh/updateDevicesBLEMesh.js.map +1 -0
  592. package/dist/repositories/bleMesh/updateDevicesBLEMeshUpdateTask.d.ts +4 -4
  593. package/dist/repositories/bleMesh/updateDevicesBLEMeshUpdateTask.js +27 -0
  594. package/dist/repositories/bleMesh/updateDevicesBLEMeshUpdateTask.js.map +1 -0
  595. package/dist/repositories/bleMeshConfiguration/createBLEMeshConfigurationParams.d.ts +5 -5
  596. package/dist/repositories/bleMeshConfiguration/createBLEMeshConfigurationParams.js +19 -0
  597. package/dist/repositories/bleMeshConfiguration/createBLEMeshConfigurationParams.js.map +1 -0
  598. package/dist/repositories/bleMeshConfiguration/deleteBLEMeshConfiguration.d.ts +4 -4
  599. package/dist/repositories/bleMeshConfiguration/deleteBLEMeshConfiguration.js +17 -0
  600. package/dist/repositories/bleMeshConfiguration/deleteBLEMeshConfiguration.js.map +1 -0
  601. package/dist/repositories/bleMeshConfiguration/getBLEMeshConfiguration.d.ts +5 -5
  602. package/dist/repositories/bleMeshConfiguration/getBLEMeshConfiguration.js +29 -0
  603. package/dist/repositories/bleMeshConfiguration/getBLEMeshConfiguration.js.map +1 -0
  604. package/dist/repositories/bleMeshConfiguration/index.d.ts +46 -46
  605. package/dist/repositories/bleMeshConfiguration/index.js +74 -0
  606. package/dist/repositories/bleMeshConfiguration/index.js.map +1 -0
  607. package/dist/repositories/bleMeshConfiguration/updateBLEMeshConfiguration.d.ts +4 -4
  608. package/dist/repositories/bleMeshConfiguration/updateBLEMeshConfiguration.js +31 -0
  609. package/dist/repositories/bleMeshConfiguration/updateBLEMeshConfiguration.js.map +1 -0
  610. package/dist/repositories/boundaries/createBoundary.d.ts +5 -5
  611. package/dist/repositories/boundaries/createBoundary.js +53 -0
  612. package/dist/repositories/boundaries/createBoundary.js.map +1 -0
  613. package/dist/repositories/boundaries/deleteBoundary.d.ts +4 -4
  614. package/dist/repositories/boundaries/deleteBoundary.js +24 -0
  615. package/dist/repositories/boundaries/deleteBoundary.js.map +1 -0
  616. package/dist/repositories/boundaries/getBoundariesByClientId.d.ts +5 -5
  617. package/dist/repositories/boundaries/getBoundariesByClientId.js +54 -0
  618. package/dist/repositories/boundaries/getBoundariesByClientId.js.map +1 -0
  619. package/dist/repositories/boundaries/getBoundariesIdsByClientId.d.ts +4 -4
  620. package/dist/repositories/boundaries/getBoundariesIdsByClientId.js +24 -0
  621. package/dist/repositories/boundaries/getBoundariesIdsByClientId.js.map +1 -0
  622. package/dist/repositories/boundaries/getBoundariesReport.d.ts +4 -4
  623. package/dist/repositories/boundaries/getBoundariesReport.js +147 -0
  624. package/dist/repositories/boundaries/getBoundariesReport.js.map +1 -0
  625. package/dist/repositories/boundaries/getBoundaryById.d.ts +5 -5
  626. package/dist/repositories/boundaries/getBoundaryById.js +23 -0
  627. package/dist/repositories/boundaries/getBoundaryById.js.map +1 -0
  628. package/dist/repositories/boundaries/index.d.ts +106 -106
  629. package/dist/repositories/boundaries/index.js +179 -0
  630. package/dist/repositories/boundaries/index.js.map +1 -0
  631. package/dist/repositories/boundaries/processBoundaryEvent.d.ts +4 -4
  632. package/dist/repositories/boundaries/processBoundaryEvent.js +212 -0
  633. package/dist/repositories/boundaries/processBoundaryEvent.js.map +1 -0
  634. package/dist/repositories/boundaries/updateBoundary.d.ts +4 -4
  635. package/dist/repositories/boundaries/updateBoundary.js +54 -0
  636. package/dist/repositories/boundaries/updateBoundary.js.map +1 -0
  637. package/dist/repositories/boundaries/upsertBoundaryEvent.d.ts +4 -4
  638. package/dist/repositories/boundaries/upsertBoundaryEvent.js +24 -0
  639. package/dist/repositories/boundaries/upsertBoundaryEvent.js.map +1 -0
  640. package/dist/repositories/clientAlertConfiguration/createClientAlertConfiguration.d.ts +5 -5
  641. package/dist/repositories/clientAlertConfiguration/createClientAlertConfiguration.js +25 -0
  642. package/dist/repositories/clientAlertConfiguration/createClientAlertConfiguration.js.map +1 -0
  643. package/dist/repositories/clientAlertConfiguration/deleteClientAlertConfiguration.d.ts +4 -4
  644. package/dist/repositories/clientAlertConfiguration/deleteClientAlertConfiguration.js +25 -0
  645. package/dist/repositories/clientAlertConfiguration/deleteClientAlertConfiguration.js.map +1 -0
  646. package/dist/repositories/clientAlertConfiguration/getClientAlertConfigurations.d.ts +5 -5
  647. package/dist/repositories/clientAlertConfiguration/getClientAlertConfigurations.js +44 -0
  648. package/dist/repositories/clientAlertConfiguration/getClientAlertConfigurations.js.map +1 -0
  649. package/dist/repositories/clientAlertConfiguration/getClientAlertRecipients.d.ts +4 -4
  650. package/dist/repositories/clientAlertConfiguration/getClientAlertRecipients.js +40 -0
  651. package/dist/repositories/clientAlertConfiguration/getClientAlertRecipients.js.map +1 -0
  652. package/dist/repositories/clientAlertConfiguration/getUsersDataForClientAlertConfig.d.ts +4 -4
  653. package/dist/repositories/clientAlertConfiguration/getUsersDataForClientAlertConfig.js +73 -0
  654. package/dist/repositories/clientAlertConfiguration/getUsersDataForClientAlertConfig.js.map +1 -0
  655. package/dist/repositories/clientAlertConfiguration/index.d.ts +13 -13
  656. package/dist/repositories/clientAlertConfiguration/index.js +139 -0
  657. package/dist/repositories/clientAlertConfiguration/index.js.map +1 -0
  658. package/dist/repositories/clientAlertConfiguration/isUserAllowedForAlertConfig.d.ts +4 -4
  659. package/dist/repositories/clientAlertConfiguration/isUserAllowedForAlertConfig.js +51 -0
  660. package/dist/repositories/clientAlertConfiguration/isUserAllowedForAlertConfig.js.map +1 -0
  661. package/dist/repositories/clientAlertConfiguration/setClientAlertRecipients.d.ts +4 -4
  662. package/dist/repositories/clientAlertConfiguration/setClientAlertRecipients.js +175 -0
  663. package/dist/repositories/clientAlertConfiguration/setClientAlertRecipients.js.map +1 -0
  664. package/dist/repositories/clientAlertConfiguration/updateClientAlertConfiguration.d.ts +4 -4
  665. package/dist/repositories/clientAlertConfiguration/updateClientAlertConfiguration.js +43 -0
  666. package/dist/repositories/clientAlertConfiguration/updateClientAlertConfiguration.js.map +1 -0
  667. package/dist/repositories/clients/createClient.d.ts +5 -5
  668. package/dist/repositories/clients/createClient.js +36 -0
  669. package/dist/repositories/clients/createClient.js.map +1 -0
  670. package/dist/repositories/clients/createClientConfiguration.d.ts +5 -5
  671. package/dist/repositories/clients/createClientConfiguration.js +21 -0
  672. package/dist/repositories/clients/createClientConfiguration.js.map +1 -0
  673. package/dist/repositories/clients/createClientIngestorConfiguration.d.ts +5 -5
  674. package/dist/repositories/clients/createClientIngestorConfiguration.js +21 -0
  675. package/dist/repositories/clients/createClientIngestorConfiguration.js.map +1 -0
  676. package/dist/repositories/clients/createCustomerAttribute.d.ts +5 -5
  677. package/dist/repositories/clients/createCustomerAttribute.js +22 -0
  678. package/dist/repositories/clients/createCustomerAttribute.js.map +1 -0
  679. package/dist/repositories/clients/deleteClientAndConfiguration.d.ts +4 -4
  680. package/dist/repositories/clients/deleteClientAndConfiguration.js +26 -0
  681. package/dist/repositories/clients/deleteClientAndConfiguration.js.map +1 -0
  682. package/dist/repositories/clients/getClient.d.ts +5 -5
  683. package/dist/repositories/clients/getClient.js +38 -0
  684. package/dist/repositories/clients/getClient.js.map +1 -0
  685. package/dist/repositories/clients/getClientConfiguration.d.ts +5 -5
  686. package/dist/repositories/clients/getClientConfiguration.js +31 -0
  687. package/dist/repositories/clients/getClientConfiguration.js.map +1 -0
  688. package/dist/repositories/clients/getClientIngestorConfigurations.d.ts +4 -4
  689. package/dist/repositories/clients/getClientIngestorConfigurations.js +25 -0
  690. package/dist/repositories/clients/getClientIngestorConfigurations.js.map +1 -0
  691. package/dist/repositories/clients/getClients.d.ts +5 -5
  692. package/dist/repositories/clients/getClients.js +32 -0
  693. package/dist/repositories/clients/getClients.js.map +1 -0
  694. package/dist/repositories/clients/getCustomerAttribute.d.ts +5 -5
  695. package/dist/repositories/clients/getCustomerAttribute.js +23 -0
  696. package/dist/repositories/clients/getCustomerAttribute.js.map +1 -0
  697. package/dist/repositories/clients/index.d.ts +138 -138
  698. package/dist/repositories/clients/index.js +228 -0
  699. package/dist/repositories/clients/index.js.map +1 -0
  700. package/dist/repositories/clients/updateClient.d.ts +4 -4
  701. package/dist/repositories/clients/updateClient.js +53 -0
  702. package/dist/repositories/clients/updateClient.js.map +1 -0
  703. package/dist/repositories/clients/updateClientConfiguration.d.ts +4 -4
  704. package/dist/repositories/clients/updateClientConfiguration.js +29 -0
  705. package/dist/repositories/clients/updateClientConfiguration.js.map +1 -0
  706. package/dist/repositories/clients/updateCustomerAttribute.d.ts +4 -4
  707. package/dist/repositories/clients/updateCustomerAttribute.js +27 -0
  708. package/dist/repositories/clients/updateCustomerAttribute.js.map +1 -0
  709. package/dist/repositories/countries/getCountries.d.ts +4 -4
  710. package/dist/repositories/countries/getCountries.js +20 -0
  711. package/dist/repositories/countries/getCountries.js.map +1 -0
  712. package/dist/repositories/countries/getCountry.d.ts +5 -5
  713. package/dist/repositories/countries/getCountry.js +29 -0
  714. package/dist/repositories/countries/getCountry.js.map +1 -0
  715. package/dist/repositories/countries/index.d.ts +20 -20
  716. package/dist/repositories/countries/index.js +34 -0
  717. package/dist/repositories/countries/index.js.map +1 -0
  718. package/dist/repositories/dataExports/createDataExports.d.ts +5 -5
  719. package/dist/repositories/dataExports/createDataExports.js +32 -0
  720. package/dist/repositories/dataExports/createDataExports.js.map +1 -0
  721. package/dist/repositories/dataExports/getDataExports.d.ts +4 -4
  722. package/dist/repositories/dataExports/getDataExports.js +47 -0
  723. package/dist/repositories/dataExports/getDataExports.js.map +1 -0
  724. package/dist/repositories/dataExports/index.d.ts +38 -38
  725. package/dist/repositories/dataExports/index.js +59 -0
  726. package/dist/repositories/dataExports/index.js.map +1 -0
  727. package/dist/repositories/dataExports/updateDataExports.d.ts +4 -4
  728. package/dist/repositories/dataExports/updateDataExports.js +26 -0
  729. package/dist/repositories/dataExports/updateDataExports.js.map +1 -0
  730. package/dist/repositories/deactivations/createDeactivation.d.ts +5 -5
  731. package/dist/repositories/deactivations/createDeactivation.js +17 -0
  732. package/dist/repositories/deactivations/createDeactivation.js.map +1 -0
  733. package/dist/repositories/deactivations/getDeactivationReasons.d.ts +5 -5
  734. package/dist/repositories/deactivations/getDeactivationReasons.js +30 -0
  735. package/dist/repositories/deactivations/getDeactivationReasons.js.map +1 -0
  736. package/dist/repositories/deactivations/getLatestDeactivationByImei.d.ts +5 -5
  737. package/dist/repositories/deactivations/getLatestDeactivationByImei.js +25 -0
  738. package/dist/repositories/deactivations/getLatestDeactivationByImei.js.map +1 -0
  739. package/dist/repositories/deactivations/index.d.ts +38 -38
  740. package/dist/repositories/deactivations/index.js +59 -0
  741. package/dist/repositories/deactivations/index.js.map +1 -0
  742. package/dist/repositories/deviceBehaviors/createDeviceBehaviorTask.d.ts +5 -5
  743. package/dist/repositories/deviceBehaviors/createDeviceBehaviorTask.js +49 -0
  744. package/dist/repositories/deviceBehaviors/createDeviceBehaviorTask.js.map +1 -0
  745. package/dist/repositories/deviceBehaviors/getDeviceBehaviorTasks.d.ts +5 -5
  746. package/dist/repositories/deviceBehaviors/getDeviceBehaviorTasks.js +46 -0
  747. package/dist/repositories/deviceBehaviors/getDeviceBehaviorTasks.js.map +1 -0
  748. package/dist/repositories/deviceBehaviors/getDeviceBehaviors.d.ts +5 -5
  749. package/dist/repositories/deviceBehaviors/getDeviceBehaviors.js +47 -0
  750. package/dist/repositories/deviceBehaviors/getDeviceBehaviors.js.map +1 -0
  751. package/dist/repositories/deviceBehaviors/getDeviceBehaviorsByIds.d.ts +5 -5
  752. package/dist/repositories/deviceBehaviors/getDeviceBehaviorsByIds.js +22 -0
  753. package/dist/repositories/deviceBehaviors/getDeviceBehaviorsByIds.js.map +1 -0
  754. package/dist/repositories/deviceBehaviors/index.d.ts +70 -70
  755. package/dist/repositories/deviceBehaviors/index.js +112 -0
  756. package/dist/repositories/deviceBehaviors/index.js.map +1 -0
  757. package/dist/repositories/deviceBehaviors/updateDeviceBehaviorTask.d.ts +4 -4
  758. package/dist/repositories/deviceBehaviors/updateDeviceBehaviorTask.js +28 -0
  759. package/dist/repositories/deviceBehaviors/updateDeviceBehaviorTask.js.map +1 -0
  760. package/dist/repositories/deviceBehaviors/upsertDeviceBehavior.d.ts +5 -5
  761. package/dist/repositories/deviceBehaviors/upsertDeviceBehavior.js +21 -0
  762. package/dist/repositories/deviceBehaviors/upsertDeviceBehavior.js.map +1 -0
  763. package/dist/repositories/devicePairings/createDevicePairing.d.ts +5 -5
  764. package/dist/repositories/devicePairings/createDevicePairing.js +22 -0
  765. package/dist/repositories/devicePairings/createDevicePairing.js.map +1 -0
  766. package/dist/repositories/devicePairings/deleteDevicePairing.d.ts +4 -4
  767. package/dist/repositories/devicePairings/deleteDevicePairing.js +17 -0
  768. package/dist/repositories/devicePairings/deleteDevicePairing.js.map +1 -0
  769. package/dist/repositories/devicePairings/getDevicePairings.d.ts +5 -5
  770. package/dist/repositories/devicePairings/getDevicePairings.js +42 -0
  771. package/dist/repositories/devicePairings/getDevicePairings.js.map +1 -0
  772. package/dist/repositories/devicePairings/getDevicePairingsByClientId.d.ts +5 -5
  773. package/dist/repositories/devicePairings/getDevicePairingsByClientId.js +28 -0
  774. package/dist/repositories/devicePairings/getDevicePairingsByClientId.js.map +1 -0
  775. package/dist/repositories/devicePairings/getDevicePairingsByImei.d.ts +5 -5
  776. package/dist/repositories/devicePairings/getDevicePairingsByImei.js +26 -0
  777. package/dist/repositories/devicePairings/getDevicePairingsByImei.js.map +1 -0
  778. package/dist/repositories/devicePairings/index.d.ts +65 -65
  779. package/dist/repositories/devicePairings/index.js +107 -0
  780. package/dist/repositories/devicePairings/index.js.map +1 -0
  781. package/dist/repositories/devicePairings/updateDevicePairing.d.ts +4 -4
  782. package/dist/repositories/devicePairings/updateDevicePairing.js +36 -0
  783. package/dist/repositories/devicePairings/updateDevicePairing.js.map +1 -0
  784. package/dist/repositories/deviceStatus/extendedDeviceStatus.d.ts +12 -12
  785. package/dist/repositories/deviceStatus/extendedDeviceStatus.js +207 -0
  786. package/dist/repositories/deviceStatus/extendedDeviceStatus.js.map +1 -0
  787. package/dist/repositories/deviceStatus/getDeviceStatuses.d.ts +4 -4
  788. package/dist/repositories/deviceStatus/getDeviceStatuses.js +88 -0
  789. package/dist/repositories/deviceStatus/getDeviceStatuses.js.map +1 -0
  790. package/dist/repositories/deviceStatus/getDeviceStatusesCount.d.ts +4 -4
  791. package/dist/repositories/deviceStatus/getDeviceStatusesCount.js +42 -0
  792. package/dist/repositories/deviceStatus/getDeviceStatusesCount.js.map +1 -0
  793. package/dist/repositories/deviceStatus/index.d.ts +35 -35
  794. package/dist/repositories/deviceStatus/index.js +63 -0
  795. package/dist/repositories/deviceStatus/index.js.map +1 -0
  796. package/dist/repositories/deviceStatus/upsertDeviceStatuses.d.ts +4 -4
  797. package/dist/repositories/deviceStatus/upsertDeviceStatuses.js +47 -0
  798. package/dist/repositories/deviceStatus/upsertDeviceStatuses.js.map +1 -0
  799. package/dist/repositories/deviceTypeFeature/bulkCreateDeviceTypeFeature.d.ts +5 -5
  800. package/dist/repositories/deviceTypeFeature/bulkCreateDeviceTypeFeature.js +20 -0
  801. package/dist/repositories/deviceTypeFeature/bulkCreateDeviceTypeFeature.js.map +1 -0
  802. package/dist/repositories/deviceTypeFeature/deleteDeviceTypeFeature.d.ts +4 -4
  803. package/dist/repositories/deviceTypeFeature/deleteDeviceTypeFeature.js +22 -0
  804. package/dist/repositories/deviceTypeFeature/deleteDeviceTypeFeature.js.map +1 -0
  805. package/dist/repositories/deviceTypeFeature/getDeviceTypeFeatures.d.ts +4 -4
  806. package/dist/repositories/deviceTypeFeature/getDeviceTypeFeatures.js +25 -0
  807. package/dist/repositories/deviceTypeFeature/getDeviceTypeFeatures.js.map +1 -0
  808. package/dist/repositories/deviceTypeFeature/index.d.ts +27 -27
  809. package/dist/repositories/deviceTypeFeature/index.js +48 -0
  810. package/dist/repositories/deviceTypeFeature/index.js.map +1 -0
  811. package/dist/repositories/devices/addDeviceChangesHistory.d.ts +5 -5
  812. package/dist/repositories/devices/addDeviceChangesHistory.js +35 -0
  813. package/dist/repositories/devices/addDeviceChangesHistory.js.map +1 -0
  814. package/dist/repositories/devices/allImeisAreActiveForClient.d.ts +4 -4
  815. package/dist/repositories/devices/allImeisAreActiveForClient.js +30 -0
  816. package/dist/repositories/devices/allImeisAreActiveForClient.js.map +1 -0
  817. package/dist/repositories/devices/createClientDeviceSetting.d.ts +5 -5
  818. package/dist/repositories/devices/createClientDeviceSetting.js +27 -0
  819. package/dist/repositories/devices/createClientDeviceSetting.js.map +1 -0
  820. package/dist/repositories/devices/createDevice.d.ts +5 -5
  821. package/dist/repositories/devices/createDevice.js +31 -0
  822. package/dist/repositories/devices/createDevice.js.map +1 -0
  823. package/dist/repositories/devices/createDeviceReplacement.d.ts +5 -5
  824. package/dist/repositories/devices/createDeviceReplacement.js +35 -0
  825. package/dist/repositories/devices/createDeviceReplacement.js.map +1 -0
  826. package/dist/repositories/devices/createDeviceType.d.ts +5 -5
  827. package/dist/repositories/devices/createDeviceType.js +16 -0
  828. package/dist/repositories/devices/createDeviceType.js.map +1 -0
  829. package/dist/repositories/devices/createImeiIccidCarrier.d.ts +5 -5
  830. package/dist/repositories/devices/createImeiIccidCarrier.js +19 -0
  831. package/dist/repositories/devices/createImeiIccidCarrier.js.map +1 -0
  832. package/dist/repositories/devices/deleteDevice.d.ts +4 -4
  833. package/dist/repositories/devices/deleteDevice.js +17 -0
  834. package/dist/repositories/devices/deleteDevice.js.map +1 -0
  835. package/dist/repositories/devices/generateDeviceIdentifierKey.d.ts +4 -4
  836. package/dist/repositories/devices/generateDeviceIdentifierKey.js +19 -0
  837. package/dist/repositories/devices/generateDeviceIdentifierKey.js.map +1 -0
  838. package/dist/repositories/devices/getCanceledDevicesWithActiveSimCards.d.ts +4 -4
  839. package/dist/repositories/devices/getCanceledDevicesWithActiveSimCards.js +50 -0
  840. package/dist/repositories/devices/getCanceledDevicesWithActiveSimCards.js.map +1 -0
  841. package/dist/repositories/devices/getCarrierStatusUpdatedBefore.d.ts +4 -4
  842. package/dist/repositories/devices/getCarrierStatusUpdatedBefore.js +46 -0
  843. package/dist/repositories/devices/getCarrierStatusUpdatedBefore.js.map +1 -0
  844. package/dist/repositories/devices/getClientDeviceSetting.d.ts +5 -5
  845. package/dist/repositories/devices/getClientDeviceSetting.js +26 -0
  846. package/dist/repositories/devices/getClientDeviceSetting.js.map +1 -0
  847. package/dist/repositories/devices/getClientDeviceSettings.d.ts +5 -5
  848. package/dist/repositories/devices/getClientDeviceSettings.js +23 -0
  849. package/dist/repositories/devices/getClientDeviceSettings.js.map +1 -0
  850. package/dist/repositories/devices/getDevice.d.ts +5 -5
  851. package/dist/repositories/devices/getDevice.js +39 -0
  852. package/dist/repositories/devices/getDevice.js.map +1 -0
  853. package/dist/repositories/devices/getDeviceChangesHistory.d.ts +5 -5
  854. package/dist/repositories/devices/getDeviceChangesHistory.js +28 -0
  855. package/dist/repositories/devices/getDeviceChangesHistory.js.map +1 -0
  856. package/dist/repositories/devices/getDeviceChangesHistoryAssignedToValuesByClient.d.ts +4 -4
  857. package/dist/repositories/devices/getDeviceChangesHistoryAssignedToValuesByClient.js +24 -0
  858. package/dist/repositories/devices/getDeviceChangesHistoryAssignedToValuesByClient.js.map +1 -0
  859. package/dist/repositories/devices/getDeviceCustomConfig.d.ts +5 -5
  860. package/dist/repositories/devices/getDeviceCustomConfig.js +43 -0
  861. package/dist/repositories/devices/getDeviceCustomConfig.js.map +1 -0
  862. package/dist/repositories/devices/getDeviceTypeByImei.d.ts +5 -5
  863. package/dist/repositories/devices/getDeviceTypeByImei.js +24 -0
  864. package/dist/repositories/devices/getDeviceTypeByImei.js.map +1 -0
  865. package/dist/repositories/devices/getDeviceTypes.d.ts +4 -4
  866. package/dist/repositories/devices/getDeviceTypes.js +53 -0
  867. package/dist/repositories/devices/getDeviceTypes.js.map +1 -0
  868. package/dist/repositories/devices/getDeviceTypesModelsOrderedByDeviceCount.d.ts +3 -3
  869. package/dist/repositories/devices/getDeviceTypesModelsOrderedByDeviceCount.js +33 -0
  870. package/dist/repositories/devices/getDeviceTypesModelsOrderedByDeviceCount.js.map +1 -0
  871. package/dist/repositories/devices/getDeviceWithUsersInfo.d.ts +4 -4
  872. package/dist/repositories/devices/getDeviceWithUsersInfo.js +65 -0
  873. package/dist/repositories/devices/getDeviceWithUsersInfo.js.map +1 -0
  874. package/dist/repositories/devices/getDevices.d.ts +5 -5
  875. package/dist/repositories/devices/getDevices.js +95 -0
  876. package/dist/repositories/devices/getDevices.js.map +1 -0
  877. package/dist/repositories/devices/getDevicesCountByStatus.d.ts +4 -4
  878. package/dist/repositories/devices/getDevicesCountByStatus.js +34 -0
  879. package/dist/repositories/devices/getDevicesCountByStatus.js.map +1 -0
  880. package/dist/repositories/devices/getFilteredImeisWithStatus.d.ts +4 -4
  881. package/dist/repositories/devices/getFilteredImeisWithStatus.js +26 -0
  882. package/dist/repositories/devices/getFilteredImeisWithStatus.js.map +1 -0
  883. package/dist/repositories/devices/getIccidStatus.d.ts +5 -5
  884. package/dist/repositories/devices/getIccidStatus.js +23 -0
  885. package/dist/repositories/devices/getIccidStatus.js.map +1 -0
  886. package/dist/repositories/devices/getImeiIccidCarrier.d.ts +5 -5
  887. package/dist/repositories/devices/getImeiIccidCarrier.js +29 -0
  888. package/dist/repositories/devices/getImeiIccidCarrier.js.map +1 -0
  889. package/dist/repositories/devices/getImeiIccidCarriers.d.ts +5 -5
  890. package/dist/repositories/devices/getImeiIccidCarriers.js +23 -0
  891. package/dist/repositories/devices/getImeiIccidCarriers.js.map +1 -0
  892. package/dist/repositories/devices/getServiceProviderProduct.d.ts +5 -5
  893. package/dist/repositories/devices/getServiceProviderProduct.js +23 -0
  894. package/dist/repositories/devices/getServiceProviderProduct.js.map +1 -0
  895. package/dist/repositories/devices/index.d.ts +331 -331
  896. package/dist/repositories/devices/index.js +563 -0
  897. package/dist/repositories/devices/index.js.map +1 -0
  898. package/dist/repositories/devices/updateClientDeviceSetting.d.ts +4 -4
  899. package/dist/repositories/devices/updateClientDeviceSetting.js +41 -0
  900. package/dist/repositories/devices/updateClientDeviceSetting.js.map +1 -0
  901. package/dist/repositories/devices/updateDevice.d.ts +4 -4
  902. package/dist/repositories/devices/updateDevice.js +47 -0
  903. package/dist/repositories/devices/updateDevice.js.map +1 -0
  904. package/dist/repositories/devices/updateDeviceType.d.ts +4 -4
  905. package/dist/repositories/devices/updateDeviceType.js +44 -0
  906. package/dist/repositories/devices/updateDeviceType.js.map +1 -0
  907. package/dist/repositories/devices/updateIccidStatus.d.ts +4 -4
  908. package/dist/repositories/devices/updateIccidStatus.js +29 -0
  909. package/dist/repositories/devices/updateIccidStatus.js.map +1 -0
  910. package/dist/repositories/devices/updateImeiIccidCarrier.d.ts +4 -4
  911. package/dist/repositories/devices/updateImeiIccidCarrier.js +44 -0
  912. package/dist/repositories/devices/updateImeiIccidCarrier.js.map +1 -0
  913. package/dist/repositories/devices/upsertDeviceCustomConfig.d.ts +4 -4
  914. package/dist/repositories/devices/upsertDeviceCustomConfig.js +15 -0
  915. package/dist/repositories/devices/upsertDeviceCustomConfig.js.map +1 -0
  916. package/dist/repositories/devices/upsertIccidStatus.d.ts +4 -4
  917. package/dist/repositories/devices/upsertIccidStatus.js +37 -0
  918. package/dist/repositories/devices/upsertIccidStatus.js.map +1 -0
  919. package/dist/repositories/entityTags/bulkCreateEntityTag.d.ts +5 -5
  920. package/dist/repositories/entityTags/bulkCreateEntityTag.js +21 -0
  921. package/dist/repositories/entityTags/bulkCreateEntityTag.js.map +1 -0
  922. package/dist/repositories/entityTags/bulkDeleteEntityTag.d.ts +4 -4
  923. package/dist/repositories/entityTags/bulkDeleteEntityTag.js +28 -0
  924. package/dist/repositories/entityTags/bulkDeleteEntityTag.js.map +1 -0
  925. package/dist/repositories/entityTags/createEntityTag.d.ts +5 -5
  926. package/dist/repositories/entityTags/createEntityTag.js +20 -0
  927. package/dist/repositories/entityTags/createEntityTag.js.map +1 -0
  928. package/dist/repositories/entityTags/deleteEntityTag.d.ts +4 -4
  929. package/dist/repositories/entityTags/deleteEntityTag.js +22 -0
  930. package/dist/repositories/entityTags/deleteEntityTag.js.map +1 -0
  931. package/dist/repositories/entityTags/deleteEntityTagById.d.ts +3 -3
  932. package/dist/repositories/entityTags/deleteEntityTagById.js +13 -0
  933. package/dist/repositories/entityTags/deleteEntityTagById.js.map +1 -0
  934. package/dist/repositories/entityTags/enforceEntityTagsByEntity.d.ts +4 -4
  935. package/dist/repositories/entityTags/enforceEntityTagsByEntity.js +38 -0
  936. package/dist/repositories/entityTags/enforceEntityTagsByEntity.js.map +1 -0
  937. package/dist/repositories/entityTags/getEntityTagById.d.ts +5 -5
  938. package/dist/repositories/entityTags/getEntityTagById.js +23 -0
  939. package/dist/repositories/entityTags/getEntityTagById.js.map +1 -0
  940. package/dist/repositories/entityTags/index.d.ts +48 -48
  941. package/dist/repositories/entityTags/index.js +104 -0
  942. package/dist/repositories/entityTags/index.js.map +1 -0
  943. package/dist/repositories/entityTags/searchEntityTags.d.ts +4 -4
  944. package/dist/repositories/entityTags/searchEntityTags.js +46 -0
  945. package/dist/repositories/entityTags/searchEntityTags.js.map +1 -0
  946. package/dist/repositories/features/createFeature.d.ts +5 -5
  947. package/dist/repositories/features/createFeature.js +21 -0
  948. package/dist/repositories/features/createFeature.js.map +1 -0
  949. package/dist/repositories/features/deleteFeature.d.ts +4 -4
  950. package/dist/repositories/features/deleteFeature.js +17 -0
  951. package/dist/repositories/features/deleteFeature.js.map +1 -0
  952. package/dist/repositories/features/getFeatures.d.ts +4 -4
  953. package/dist/repositories/features/getFeatures.js +25 -0
  954. package/dist/repositories/features/getFeatures.js.map +1 -0
  955. package/dist/repositories/features/index.d.ts +33 -33
  956. package/dist/repositories/features/index.js +61 -0
  957. package/dist/repositories/features/index.js.map +1 -0
  958. package/dist/repositories/features/upsertFeature.d.ts +4 -4
  959. package/dist/repositories/features/upsertFeature.js +23 -0
  960. package/dist/repositories/features/upsertFeature.js.map +1 -0
  961. package/dist/repositories/firmwares/createDeviceFirmware.d.ts +5 -5
  962. package/dist/repositories/firmwares/createDeviceFirmware.js +38 -0
  963. package/dist/repositories/firmwares/createDeviceFirmware.js.map +1 -0
  964. package/dist/repositories/firmwares/createFirmwareAutoUpgradeBlacklist.d.ts +5 -5
  965. package/dist/repositories/firmwares/createFirmwareAutoUpgradeBlacklist.js +17 -0
  966. package/dist/repositories/firmwares/createFirmwareAutoUpgradeBlacklist.js.map +1 -0
  967. package/dist/repositories/firmwares/createFirmwareUpgradeTask.d.ts +5 -5
  968. package/dist/repositories/firmwares/createFirmwareUpgradeTask.js +37 -0
  969. package/dist/repositories/firmwares/createFirmwareUpgradeTask.js.map +1 -0
  970. package/dist/repositories/firmwares/getDeviceFirmwares.d.ts +4 -4
  971. package/dist/repositories/firmwares/getDeviceFirmwares.js +29 -0
  972. package/dist/repositories/firmwares/getDeviceFirmwares.js.map +1 -0
  973. package/dist/repositories/firmwares/getFirmwareAutoUpgradeBlacklist.d.ts +5 -5
  974. package/dist/repositories/firmwares/getFirmwareAutoUpgradeBlacklist.js +29 -0
  975. package/dist/repositories/firmwares/getFirmwareAutoUpgradeBlacklist.js.map +1 -0
  976. package/dist/repositories/firmwares/getFirmwareUpgradeTasks.d.ts +5 -5
  977. package/dist/repositories/firmwares/getFirmwareUpgradeTasks.js +111 -0
  978. package/dist/repositories/firmwares/getFirmwareUpgradeTasks.js.map +1 -0
  979. package/dist/repositories/firmwares/getFirmwareUpgradeTasksCount.d.ts +4 -4
  980. package/dist/repositories/firmwares/getFirmwareUpgradeTasksCount.js +62 -0
  981. package/dist/repositories/firmwares/getFirmwareUpgradeTasksCount.js.map +1 -0
  982. package/dist/repositories/firmwares/index.d.ts +132 -132
  983. package/dist/repositories/firmwares/index.js +195 -0
  984. package/dist/repositories/firmwares/index.js.map +1 -0
  985. package/dist/repositories/firmwares/updateDeviceFirmware.d.ts +4 -4
  986. package/dist/repositories/firmwares/updateDeviceFirmware.js +42 -0
  987. package/dist/repositories/firmwares/updateDeviceFirmware.js.map +1 -0
  988. package/dist/repositories/firmwares/updateFirmwareUpgradeTasks.d.ts +4 -4
  989. package/dist/repositories/firmwares/updateFirmwareUpgradeTasks.js +38 -0
  990. package/dist/repositories/firmwares/updateFirmwareUpgradeTasks.js.map +1 -0
  991. package/dist/repositories/index.d.ts +43 -43
  992. package/dist/repositories/index.js +44 -0
  993. package/dist/repositories/index.js.map +1 -0
  994. package/dist/repositories/latestUserAppInfo/getLatestUserAppInfo.d.ts +5 -5
  995. package/dist/repositories/latestUserAppInfo/getLatestUserAppInfo.js +27 -0
  996. package/dist/repositories/latestUserAppInfo/getLatestUserAppInfo.js.map +1 -0
  997. package/dist/repositories/latestUserAppInfo/index.d.ts +23 -23
  998. package/dist/repositories/latestUserAppInfo/index.js +37 -0
  999. package/dist/repositories/latestUserAppInfo/index.js.map +1 -0
  1000. package/dist/repositories/latestUserAppInfo/upsertLatestUserAppInfo.d.ts +4 -4
  1001. package/dist/repositories/latestUserAppInfo/upsertLatestUserAppInfo.js +29 -0
  1002. package/dist/repositories/latestUserAppInfo/upsertLatestUserAppInfo.js.map +1 -0
  1003. package/dist/repositories/liveLinks/createLiveLink.d.ts +5 -5
  1004. package/dist/repositories/liveLinks/createLiveLink.js +30 -0
  1005. package/dist/repositories/liveLinks/createLiveLink.js.map +1 -0
  1006. package/dist/repositories/liveLinks/getLiveLinkData.d.ts +5 -5
  1007. package/dist/repositories/liveLinks/getLiveLinkData.js +105 -0
  1008. package/dist/repositories/liveLinks/getLiveLinkData.js.map +1 -0
  1009. package/dist/repositories/liveLinks/getLiveLinkDataCount.d.ts +5 -5
  1010. package/dist/repositories/liveLinks/getLiveLinkDataCount.js +49 -0
  1011. package/dist/repositories/liveLinks/getLiveLinkDataCount.js.map +1 -0
  1012. package/dist/repositories/liveLinks/getLiveLinks.d.ts +5 -5
  1013. package/dist/repositories/liveLinks/getLiveLinks.js +60 -0
  1014. package/dist/repositories/liveLinks/getLiveLinks.js.map +1 -0
  1015. package/dist/repositories/liveLinks/getLiveLinksCount.d.ts +4 -4
  1016. package/dist/repositories/liveLinks/getLiveLinksCount.js +38 -0
  1017. package/dist/repositories/liveLinks/getLiveLinksCount.js.map +1 -0
  1018. package/dist/repositories/liveLinks/index.d.ts +80 -80
  1019. package/dist/repositories/liveLinks/index.js +124 -0
  1020. package/dist/repositories/liveLinks/index.js.map +1 -0
  1021. package/dist/repositories/liveLinks/updateLiveLink.d.ts +4 -4
  1022. package/dist/repositories/liveLinks/updateLiveLink.js +36 -0
  1023. package/dist/repositories/liveLinks/updateLiveLink.js.map +1 -0
  1024. package/dist/repositories/notificationRecipients/createNotificationRecipient.d.ts +5 -5
  1025. package/dist/repositories/notificationRecipients/createNotificationRecipient.js +39 -0
  1026. package/dist/repositories/notificationRecipients/createNotificationRecipient.js.map +1 -0
  1027. package/dist/repositories/notificationRecipients/deleteNotificationRecipients.d.ts +4 -4
  1028. package/dist/repositories/notificationRecipients/deleteNotificationRecipients.js +32 -0
  1029. package/dist/repositories/notificationRecipients/deleteNotificationRecipients.js.map +1 -0
  1030. package/dist/repositories/notificationRecipients/deleteNotificationRecipientsByEmailOrPhone.d.ts +4 -4
  1031. package/dist/repositories/notificationRecipients/deleteNotificationRecipientsByEmailOrPhone.js +29 -0
  1032. package/dist/repositories/notificationRecipients/deleteNotificationRecipientsByEmailOrPhone.js.map +1 -0
  1033. package/dist/repositories/notificationRecipients/getNotificationRecipients.d.ts +5 -5
  1034. package/dist/repositories/notificationRecipients/getNotificationRecipients.js +36 -0
  1035. package/dist/repositories/notificationRecipients/getNotificationRecipients.js.map +1 -0
  1036. package/dist/repositories/notificationRecipients/index.d.ts +83 -83
  1037. package/dist/repositories/notificationRecipients/index.js +132 -0
  1038. package/dist/repositories/notificationRecipients/index.js.map +1 -0
  1039. package/dist/repositories/notificationRecipients/updateNotificationRecipient.d.ts +4 -4
  1040. package/dist/repositories/notificationRecipients/updateNotificationRecipient.js +38 -0
  1041. package/dist/repositories/notificationRecipients/updateNotificationRecipient.js.map +1 -0
  1042. package/dist/repositories/notificationRecipients/updateUsersNotificationsUnsubscribedInfoStatus.d.ts +4 -4
  1043. package/dist/repositories/notificationRecipients/updateUsersNotificationsUnsubscribedInfoStatus.js +99 -0
  1044. package/dist/repositories/notificationRecipients/updateUsersNotificationsUnsubscribedInfoStatus.js.map +1 -0
  1045. package/dist/repositories/notificationRecipients/updateUsersNotificationsUnsuscribedStatus.d.ts +4 -4
  1046. package/dist/repositories/notificationRecipients/updateUsersNotificationsUnsuscribedStatus.js +36 -0
  1047. package/dist/repositories/notificationRecipients/updateUsersNotificationsUnsuscribedStatus.js.map +1 -0
  1048. package/dist/repositories/positions/createPosition.d.ts +6 -6
  1049. package/dist/repositories/positions/createPosition.js +103 -0
  1050. package/dist/repositories/positions/createPosition.js.map +1 -0
  1051. package/dist/repositories/positions/getBatteryReportForDevice.d.ts +4 -4
  1052. package/dist/repositories/positions/getBatteryReportForDevice.js +47 -0
  1053. package/dist/repositories/positions/getBatteryReportForDevice.js.map +1 -0
  1054. package/dist/repositories/positions/getLatestPositionByImei.d.ts +5 -5
  1055. package/dist/repositories/positions/getLatestPositionByImei.js +33 -0
  1056. package/dist/repositories/positions/getLatestPositionByImei.js.map +1 -0
  1057. package/dist/repositories/positions/getPositionsByImei.d.ts +5 -5
  1058. package/dist/repositories/positions/getPositionsByImei.js +30 -0
  1059. package/dist/repositories/positions/getPositionsByImei.js.map +1 -0
  1060. package/dist/repositories/positions/getPositionsReportByClient.d.ts +4 -4
  1061. package/dist/repositories/positions/getPositionsReportByClient.js +96 -0
  1062. package/dist/repositories/positions/getPositionsReportByClient.js.map +1 -0
  1063. package/dist/repositories/positions/index.d.ts +69 -69
  1064. package/dist/repositories/positions/index.js +110 -0
  1065. package/dist/repositories/positions/index.js.map +1 -0
  1066. package/dist/repositories/positions/mapping/mapToPositionReport.d.ts +5 -5
  1067. package/dist/repositories/positions/mapping/mapToPositionReport.js +21 -0
  1068. package/dist/repositories/positions/mapping/mapToPositionReport.js.map +1 -0
  1069. package/dist/repositories/positions/upsertLatestPosition.d.ts +4 -4
  1070. package/dist/repositories/positions/upsertLatestPosition.js +42 -0
  1071. package/dist/repositories/positions/upsertLatestPosition.js.map +1 -0
  1072. package/dist/repositories/promotions/bulkInsertDeviceTypePromotion.d.ts +5 -5
  1073. package/dist/repositories/promotions/bulkInsertDeviceTypePromotion.js +15 -0
  1074. package/dist/repositories/promotions/bulkInsertDeviceTypePromotion.js.map +1 -0
  1075. package/dist/repositories/promotions/bulkInsertMarketplacePromotion.d.ts +5 -5
  1076. package/dist/repositories/promotions/bulkInsertMarketplacePromotion.js +15 -0
  1077. package/dist/repositories/promotions/bulkInsertMarketplacePromotion.js.map +1 -0
  1078. package/dist/repositories/promotions/createPromotion.d.ts +5 -5
  1079. package/dist/repositories/promotions/createPromotion.js +30 -0
  1080. package/dist/repositories/promotions/createPromotion.js.map +1 -0
  1081. package/dist/repositories/promotions/createPromotionHistory.d.ts +5 -5
  1082. package/dist/repositories/promotions/createPromotionHistory.js +18 -0
  1083. package/dist/repositories/promotions/createPromotionHistory.js.map +1 -0
  1084. package/dist/repositories/promotions/deleteDeviceTypePromotion.d.ts +4 -4
  1085. package/dist/repositories/promotions/deleteDeviceTypePromotion.js +22 -0
  1086. package/dist/repositories/promotions/deleteDeviceTypePromotion.js.map +1 -0
  1087. package/dist/repositories/promotions/deleteMarketplacePromotion.d.ts +4 -4
  1088. package/dist/repositories/promotions/deleteMarketplacePromotion.js +24 -0
  1089. package/dist/repositories/promotions/deleteMarketplacePromotion.js.map +1 -0
  1090. package/dist/repositories/promotions/getDeviceTypePromotion.d.ts +5 -5
  1091. package/dist/repositories/promotions/getDeviceTypePromotion.js +28 -0
  1092. package/dist/repositories/promotions/getDeviceTypePromotion.js.map +1 -0
  1093. package/dist/repositories/promotions/getMarketplacePromotion.d.ts +5 -5
  1094. package/dist/repositories/promotions/getMarketplacePromotion.js +28 -0
  1095. package/dist/repositories/promotions/getMarketplacePromotion.js.map +1 -0
  1096. package/dist/repositories/promotions/getPromotions.d.ts +5 -5
  1097. package/dist/repositories/promotions/getPromotions.js +64 -0
  1098. package/dist/repositories/promotions/getPromotions.js.map +1 -0
  1099. package/dist/repositories/promotions/index.d.ts +72 -72
  1100. package/dist/repositories/promotions/index.js +140 -0
  1101. package/dist/repositories/promotions/index.js.map +1 -0
  1102. package/dist/repositories/promotions/promotionValidator.d.ts +3 -3
  1103. package/dist/repositories/promotions/promotionValidator.js +17 -0
  1104. package/dist/repositories/promotions/promotionValidator.js.map +1 -0
  1105. package/dist/repositories/promotions/updatePromotion.d.ts +4 -4
  1106. package/dist/repositories/promotions/updatePromotion.js +36 -0
  1107. package/dist/repositories/promotions/updatePromotion.js.map +1 -0
  1108. package/dist/repositories/security/createUserRole.d.ts +5 -5
  1109. package/dist/repositories/security/createUserRole.js +31 -0
  1110. package/dist/repositories/security/createUserRole.js.map +1 -0
  1111. package/dist/repositories/security/getAllRoles.d.ts +3 -3
  1112. package/dist/repositories/security/getAllRoles.js +19 -0
  1113. package/dist/repositories/security/getAllRoles.js.map +1 -0
  1114. package/dist/repositories/security/getUserRoles.d.ts +5 -5
  1115. package/dist/repositories/security/getUserRoles.js +24 -0
  1116. package/dist/repositories/security/getUserRoles.js.map +1 -0
  1117. package/dist/repositories/security/getUserRolesByClientId.d.ts +5 -5
  1118. package/dist/repositories/security/getUserRolesByClientId.js +26 -0
  1119. package/dist/repositories/security/getUserRolesByClientId.js.map +1 -0
  1120. package/dist/repositories/security/index.d.ts +56 -56
  1121. package/dist/repositories/security/index.js +112 -0
  1122. package/dist/repositories/security/index.js.map +1 -0
  1123. package/dist/repositories/security/removeUserRoles.d.ts +4 -4
  1124. package/dist/repositories/security/removeUserRoles.js +22 -0
  1125. package/dist/repositories/security/removeUserRoles.js.map +1 -0
  1126. package/dist/repositories/security/updateUserRole.d.ts +4 -4
  1127. package/dist/repositories/security/updateUserRole.js +28 -0
  1128. package/dist/repositories/security/updateUserRole.js.map +1 -0
  1129. package/dist/repositories/security/userIsAdminOrOwner.d.ts +4 -4
  1130. package/dist/repositories/security/userIsAdminOrOwner.js +26 -0
  1131. package/dist/repositories/security/userIsAdminOrOwner.js.map +1 -0
  1132. package/dist/repositories/security/userIsInRole.d.ts +4 -4
  1133. package/dist/repositories/security/userIsInRole.js +23 -0
  1134. package/dist/repositories/security/userIsInRole.js.map +1 -0
  1135. package/dist/repositories/tags/bulkCreateTags.d.ts +5 -5
  1136. package/dist/repositories/tags/bulkCreateTags.js +25 -0
  1137. package/dist/repositories/tags/bulkCreateTags.js.map +1 -0
  1138. package/dist/repositories/tags/createTag.d.ts +5 -5
  1139. package/dist/repositories/tags/createTag.js +21 -0
  1140. package/dist/repositories/tags/createTag.js.map +1 -0
  1141. package/dist/repositories/tags/deleteTag.d.ts +4 -4
  1142. package/dist/repositories/tags/deleteTag.js +20 -0
  1143. package/dist/repositories/tags/deleteTag.js.map +1 -0
  1144. package/dist/repositories/tags/index.d.ts +41 -41
  1145. package/dist/repositories/tags/index.js +83 -0
  1146. package/dist/repositories/tags/index.js.map +1 -0
  1147. package/dist/repositories/tags/searchTags.d.ts +4 -4
  1148. package/dist/repositories/tags/searchTags.js +44 -0
  1149. package/dist/repositories/tags/searchTags.js.map +1 -0
  1150. package/dist/repositories/tags/searchTagsByUser.d.ts +4 -4
  1151. package/dist/repositories/tags/searchTagsByUser.js +46 -0
  1152. package/dist/repositories/tags/searchTagsByUser.js.map +1 -0
  1153. package/dist/repositories/tags/updateTag.d.ts +4 -4
  1154. package/dist/repositories/tags/updateTag.js +32 -0
  1155. package/dist/repositories/tags/updateTag.js.map +1 -0
  1156. package/dist/repositories/tasks/addTaskScheduleDevices.d.ts +4 -4
  1157. package/dist/repositories/tasks/addTaskScheduleDevices.js +38 -0
  1158. package/dist/repositories/tasks/addTaskScheduleDevices.js.map +1 -0
  1159. package/dist/repositories/tasks/completeTask.d.ts +4 -4
  1160. package/dist/repositories/tasks/completeTask.js +35 -0
  1161. package/dist/repositories/tasks/completeTask.js.map +1 -0
  1162. package/dist/repositories/tasks/createTask.d.ts +5 -5
  1163. package/dist/repositories/tasks/createTask.js +23 -0
  1164. package/dist/repositories/tasks/createTask.js.map +1 -0
  1165. package/dist/repositories/tasks/createTaskSchedule.d.ts +5 -5
  1166. package/dist/repositories/tasks/createTaskSchedule.js +34 -0
  1167. package/dist/repositories/tasks/createTaskSchedule.js.map +1 -0
  1168. package/dist/repositories/tasks/deleteTask.d.ts +4 -4
  1169. package/dist/repositories/tasks/deleteTask.js +23 -0
  1170. package/dist/repositories/tasks/deleteTask.js.map +1 -0
  1171. package/dist/repositories/tasks/deleteTaskSchedule.d.ts +4 -4
  1172. package/dist/repositories/tasks/deleteTaskSchedule.js +23 -0
  1173. package/dist/repositories/tasks/deleteTaskSchedule.js.map +1 -0
  1174. package/dist/repositories/tasks/deleteTaskScheduleDevices.d.ts +4 -4
  1175. package/dist/repositories/tasks/deleteTaskScheduleDevices.js +18 -0
  1176. package/dist/repositories/tasks/deleteTaskScheduleDevices.js.map +1 -0
  1177. package/dist/repositories/tasks/getDeviceTasks.d.ts +5 -5
  1178. package/dist/repositories/tasks/getDeviceTasks.js +34 -0
  1179. package/dist/repositories/tasks/getDeviceTasks.js.map +1 -0
  1180. package/dist/repositories/tasks/getTaskSchedule.d.ts +5 -5
  1181. package/dist/repositories/tasks/getTaskSchedule.js +43 -0
  1182. package/dist/repositories/tasks/getTaskSchedule.js.map +1 -0
  1183. package/dist/repositories/tasks/getTaskSchedules.d.ts +5 -5
  1184. package/dist/repositories/tasks/getTaskSchedules.js +105 -0
  1185. package/dist/repositories/tasks/getTaskSchedules.js.map +1 -0
  1186. package/dist/repositories/tasks/getTaskSchedulesCount.d.ts +4 -4
  1187. package/dist/repositories/tasks/getTaskSchedulesCount.js +42 -0
  1188. package/dist/repositories/tasks/getTaskSchedulesCount.js.map +1 -0
  1189. package/dist/repositories/tasks/getTasks.d.ts +5 -5
  1190. package/dist/repositories/tasks/getTasks.js +94 -0
  1191. package/dist/repositories/tasks/getTasks.js.map +1 -0
  1192. package/dist/repositories/tasks/getTasksCount.d.ts +4 -4
  1193. package/dist/repositories/tasks/getTasksCount.js +36 -0
  1194. package/dist/repositories/tasks/getTasksCount.js.map +1 -0
  1195. package/dist/repositories/tasks/index.d.ts +325 -325
  1196. package/dist/repositories/tasks/index.js +444 -0
  1197. package/dist/repositories/tasks/index.js.map +1 -0
  1198. package/dist/repositories/tasks/setTaskAsPastDue.d.ts +4 -4
  1199. package/dist/repositories/tasks/setTaskAsPastDue.js +24 -0
  1200. package/dist/repositories/tasks/setTaskAsPastDue.js.map +1 -0
  1201. package/dist/repositories/tasks/setTaskScheduleDevices.d.ts +4 -4
  1202. package/dist/repositories/tasks/setTaskScheduleDevices.js +44 -0
  1203. package/dist/repositories/tasks/setTaskScheduleDevices.js.map +1 -0
  1204. package/dist/repositories/tasks/updateTask.d.ts +4 -4
  1205. package/dist/repositories/tasks/updateTask.js +22 -0
  1206. package/dist/repositories/tasks/updateTask.js.map +1 -0
  1207. package/dist/repositories/tasks/updateTaskSchedule.d.ts +4 -4
  1208. package/dist/repositories/tasks/updateTaskSchedule.js +36 -0
  1209. package/dist/repositories/tasks/updateTaskSchedule.js.map +1 -0
  1210. package/dist/repositories/trips/createTrip.d.ts +5 -5
  1211. package/dist/repositories/trips/createTrip.js +30 -0
  1212. package/dist/repositories/trips/createTrip.js.map +1 -0
  1213. package/dist/repositories/trips/getDeviceTripConfiguration.d.ts +4 -4
  1214. package/dist/repositories/trips/getDeviceTripConfiguration.js +52 -0
  1215. package/dist/repositories/trips/getDeviceTripConfiguration.js.map +1 -0
  1216. package/dist/repositories/trips/getTripById.d.ts +4 -4
  1217. package/dist/repositories/trips/getTripById.js +22 -0
  1218. package/dist/repositories/trips/getTripById.js.map +1 -0
  1219. package/dist/repositories/trips/getTrips.d.ts +4 -4
  1220. package/dist/repositories/trips/getTrips.js +125 -0
  1221. package/dist/repositories/trips/getTrips.js.map +1 -0
  1222. package/dist/repositories/trips/index.d.ts +36 -36
  1223. package/dist/repositories/trips/index.js +78 -0
  1224. package/dist/repositories/trips/index.js.map +1 -0
  1225. package/dist/repositories/trips/updateTripEndValues.d.ts +4 -4
  1226. package/dist/repositories/trips/updateTripEndValues.js +37 -0
  1227. package/dist/repositories/trips/updateTripEndValues.js.map +1 -0
  1228. package/dist/repositories/trips/upsertTrip.d.ts +4 -4
  1229. package/dist/repositories/trips/upsertTrip.js +32 -0
  1230. package/dist/repositories/trips/upsertTrip.js.map +1 -0
  1231. package/dist/repositories/userActivations/createUserActivation.d.ts +5 -5
  1232. package/dist/repositories/userActivations/createUserActivation.js +27 -0
  1233. package/dist/repositories/userActivations/createUserActivation.js.map +1 -0
  1234. package/dist/repositories/userActivations/createUserActivationDevice.d.ts +5 -5
  1235. package/dist/repositories/userActivations/createUserActivationDevice.js +36 -0
  1236. package/dist/repositories/userActivations/createUserActivationDevice.js.map +1 -0
  1237. package/dist/repositories/userActivations/createUserActivationEvent.d.ts +5 -5
  1238. package/dist/repositories/userActivations/createUserActivationEvent.js +35 -0
  1239. package/dist/repositories/userActivations/createUserActivationEvent.js.map +1 -0
  1240. package/dist/repositories/userActivations/createUserActivationMetric.d.ts +5 -5
  1241. package/dist/repositories/userActivations/createUserActivationMetric.js +29 -0
  1242. package/dist/repositories/userActivations/createUserActivationMetric.js.map +1 -0
  1243. package/dist/repositories/userActivations/deleteUserActivation.d.ts +4 -4
  1244. package/dist/repositories/userActivations/deleteUserActivation.js +23 -0
  1245. package/dist/repositories/userActivations/deleteUserActivation.js.map +1 -0
  1246. package/dist/repositories/userActivations/getLastActivationDevice.d.ts +5 -5
  1247. package/dist/repositories/userActivations/getLastActivationDevice.js +32 -0
  1248. package/dist/repositories/userActivations/getLastActivationDevice.js.map +1 -0
  1249. package/dist/repositories/userActivations/getUserActivationById.d.ts +5 -5
  1250. package/dist/repositories/userActivations/getUserActivationById.js +22 -0
  1251. package/dist/repositories/userActivations/getUserActivationById.js.map +1 -0
  1252. package/dist/repositories/userActivations/getUserActivationDevices.d.ts +5 -5
  1253. package/dist/repositories/userActivations/getUserActivationDevices.js +30 -0
  1254. package/dist/repositories/userActivations/getUserActivationDevices.js.map +1 -0
  1255. package/dist/repositories/userActivations/getUserActivationDevicesByClientId.d.ts +5 -5
  1256. package/dist/repositories/userActivations/getUserActivationDevicesByClientId.js +31 -0
  1257. package/dist/repositories/userActivations/getUserActivationDevicesByClientId.js.map +1 -0
  1258. package/dist/repositories/userActivations/getUserActivationMetrics.d.ts +5 -5
  1259. package/dist/repositories/userActivations/getUserActivationMetrics.js +30 -0
  1260. package/dist/repositories/userActivations/getUserActivationMetrics.js.map +1 -0
  1261. package/dist/repositories/userActivations/getUserActivations.d.ts +5 -5
  1262. package/dist/repositories/userActivations/getUserActivations.js +35 -0
  1263. package/dist/repositories/userActivations/getUserActivations.js.map +1 -0
  1264. package/dist/repositories/userActivations/index.d.ts +147 -147
  1265. package/dist/repositories/userActivations/index.js +238 -0
  1266. package/dist/repositories/userActivations/index.js.map +1 -0
  1267. package/dist/repositories/userActivations/updateUserActivationDevice.d.ts +4 -4
  1268. package/dist/repositories/userActivations/updateUserActivationDevice.js +40 -0
  1269. package/dist/repositories/userActivations/updateUserActivationDevice.js.map +1 -0
  1270. package/dist/repositories/userActivations/updateUserActivationMetrics.d.ts +4 -4
  1271. package/dist/repositories/userActivations/updateUserActivationMetrics.js +62 -0
  1272. package/dist/repositories/userActivations/updateUserActivationMetrics.js.map +1 -0
  1273. package/dist/repositories/userAppFeedback/createUserAppFeedback.d.ts +5 -5
  1274. package/dist/repositories/userAppFeedback/createUserAppFeedback.js +27 -0
  1275. package/dist/repositories/userAppFeedback/createUserAppFeedback.js.map +1 -0
  1276. package/dist/repositories/userAppFeedback/index.d.ts +17 -17
  1277. package/dist/repositories/userAppFeedback/index.js +24 -0
  1278. package/dist/repositories/userAppFeedback/index.js.map +1 -0
  1279. package/dist/repositories/userAppIncidents/getUserAppIncidents.d.ts +5 -5
  1280. package/dist/repositories/userAppIncidents/getUserAppIncidents.js +34 -0
  1281. package/dist/repositories/userAppIncidents/getUserAppIncidents.js.map +1 -0
  1282. package/dist/repositories/userAppIncidents/index.d.ts +50 -50
  1283. package/dist/repositories/userAppIncidents/index.js +64 -0
  1284. package/dist/repositories/userAppIncidents/index.js.map +1 -0
  1285. package/dist/repositories/userAppIncidents/upsertUserAppIncident.d.ts +4 -4
  1286. package/dist/repositories/userAppIncidents/upsertUserAppIncident.js +54 -0
  1287. package/dist/repositories/userAppIncidents/upsertUserAppIncident.js.map +1 -0
  1288. package/dist/repositories/userConfigurations/bulkCreateUserAlertConfigurations.d.ts +5 -5
  1289. package/dist/repositories/userConfigurations/bulkCreateUserAlertConfigurations.js +46 -0
  1290. package/dist/repositories/userConfigurations/bulkCreateUserAlertConfigurations.js.map +1 -0
  1291. package/dist/repositories/userConfigurations/createUserAlertConfiguration.d.ts +5 -5
  1292. package/dist/repositories/userConfigurations/createUserAlertConfiguration.js +34 -0
  1293. package/dist/repositories/userConfigurations/createUserAlertConfiguration.js.map +1 -0
  1294. package/dist/repositories/userConfigurations/createUserConfiguration.d.ts +5 -5
  1295. package/dist/repositories/userConfigurations/createUserConfiguration.js +35 -0
  1296. package/dist/repositories/userConfigurations/createUserConfiguration.js.map +1 -0
  1297. package/dist/repositories/userConfigurations/deleteUserAlertConfigurations.d.ts +4 -4
  1298. package/dist/repositories/userConfigurations/deleteUserAlertConfigurations.js +30 -0
  1299. package/dist/repositories/userConfigurations/deleteUserAlertConfigurations.js.map +1 -0
  1300. package/dist/repositories/userConfigurations/deleteUserAlertNotificationsConfig.d.ts +4 -4
  1301. package/dist/repositories/userConfigurations/deleteUserAlertNotificationsConfig.js +30 -0
  1302. package/dist/repositories/userConfigurations/deleteUserAlertNotificationsConfig.js.map +1 -0
  1303. package/dist/repositories/userConfigurations/deleteUserConfiguration.d.ts +4 -4
  1304. package/dist/repositories/userConfigurations/deleteUserConfiguration.js +24 -0
  1305. package/dist/repositories/userConfigurations/deleteUserConfiguration.js.map +1 -0
  1306. package/dist/repositories/userConfigurations/getUserAlertConfigurations.d.ts +5 -5
  1307. package/dist/repositories/userConfigurations/getUserAlertConfigurations.js +34 -0
  1308. package/dist/repositories/userConfigurations/getUserAlertConfigurations.js.map +1 -0
  1309. package/dist/repositories/userConfigurations/getUserAlertNotificationsConfig.d.ts +5 -5
  1310. package/dist/repositories/userConfigurations/getUserAlertNotificationsConfig.js +149 -0
  1311. package/dist/repositories/userConfigurations/getUserAlertNotificationsConfig.js.map +1 -0
  1312. package/dist/repositories/userConfigurations/getUserConfigurations.d.ts +5 -5
  1313. package/dist/repositories/userConfigurations/getUserConfigurations.js +37 -0
  1314. package/dist/repositories/userConfigurations/getUserConfigurations.js.map +1 -0
  1315. package/dist/repositories/userConfigurations/index.d.ts +170 -170
  1316. package/dist/repositories/userConfigurations/index.js +261 -0
  1317. package/dist/repositories/userConfigurations/index.js.map +1 -0
  1318. package/dist/repositories/userConfigurations/updateUserAlertConfigurations.d.ts +4 -4
  1319. package/dist/repositories/userConfigurations/updateUserAlertConfigurations.js +47 -0
  1320. package/dist/repositories/userConfigurations/updateUserAlertConfigurations.js.map +1 -0
  1321. package/dist/repositories/userConfigurations/updateUserAlertConfigurationsByIds.d.ts +4 -4
  1322. package/dist/repositories/userConfigurations/updateUserAlertConfigurationsByIds.js +53 -0
  1323. package/dist/repositories/userConfigurations/updateUserAlertConfigurationsByIds.js.map +1 -0
  1324. package/dist/repositories/userConfigurations/updateUserConfiguration.d.ts +4 -4
  1325. package/dist/repositories/userConfigurations/updateUserConfiguration.js +50 -0
  1326. package/dist/repositories/userConfigurations/updateUserConfiguration.js.map +1 -0
  1327. package/dist/repositories/userConfigurations/upsertUserAlertNotificationsConfig.d.ts +4 -4
  1328. package/dist/repositories/userConfigurations/upsertUserAlertNotificationsConfig.js +30 -0
  1329. package/dist/repositories/userConfigurations/upsertUserAlertNotificationsConfig.js.map +1 -0
  1330. package/dist/repositories/userDataDeletionRequests/createUserDataDeletionRequest.d.ts +5 -5
  1331. package/dist/repositories/userDataDeletionRequests/createUserDataDeletionRequest.js +29 -0
  1332. package/dist/repositories/userDataDeletionRequests/createUserDataDeletionRequest.js.map +1 -0
  1333. package/dist/repositories/userDataDeletionRequests/getUserDataDeletionRequest.d.ts +5 -5
  1334. package/dist/repositories/userDataDeletionRequests/getUserDataDeletionRequest.js +35 -0
  1335. package/dist/repositories/userDataDeletionRequests/getUserDataDeletionRequest.js.map +1 -0
  1336. package/dist/repositories/userDataDeletionRequests/index.d.ts +39 -39
  1337. package/dist/repositories/userDataDeletionRequests/index.js +67 -0
  1338. package/dist/repositories/userDataDeletionRequests/index.js.map +1 -0
  1339. package/dist/repositories/userDataDeletionRequests/removeUserDataDeletionRequest.d.ts +4 -4
  1340. package/dist/repositories/userDataDeletionRequests/removeUserDataDeletionRequest.js +18 -0
  1341. package/dist/repositories/userDataDeletionRequests/removeUserDataDeletionRequest.js.map +1 -0
  1342. package/dist/repositories/userDataDeletionRequests/updateUserDataDeletionRequest.d.ts +4 -4
  1343. package/dist/repositories/userDataDeletionRequests/updateUserDataDeletionRequest.js +39 -0
  1344. package/dist/repositories/userDataDeletionRequests/updateUserDataDeletionRequest.js.map +1 -0
  1345. package/dist/repositories/userInvitations/createUserInvitation.d.ts +5 -5
  1346. package/dist/repositories/userInvitations/createUserInvitation.js +45 -0
  1347. package/dist/repositories/userInvitations/createUserInvitation.js.map +1 -0
  1348. package/dist/repositories/userInvitations/getUserInvitationById.d.ts +5 -5
  1349. package/dist/repositories/userInvitations/getUserInvitationById.js +28 -0
  1350. package/dist/repositories/userInvitations/getUserInvitationById.js.map +1 -0
  1351. package/dist/repositories/userInvitations/getUserInvitations.d.ts +5 -5
  1352. package/dist/repositories/userInvitations/getUserInvitations.js +56 -0
  1353. package/dist/repositories/userInvitations/getUserInvitations.js.map +1 -0
  1354. package/dist/repositories/userInvitations/index.d.ts +55 -55
  1355. package/dist/repositories/userInvitations/index.js +83 -0
  1356. package/dist/repositories/userInvitations/index.js.map +1 -0
  1357. package/dist/repositories/userInvitations/updateUserInvitation.d.ts +4 -4
  1358. package/dist/repositories/userInvitations/updateUserInvitation.js +53 -0
  1359. package/dist/repositories/userInvitations/updateUserInvitation.js.map +1 -0
  1360. package/dist/repositories/userRatingRequests/createUserRatingRequest.d.ts +5 -5
  1361. package/dist/repositories/userRatingRequests/createUserRatingRequest.js +35 -0
  1362. package/dist/repositories/userRatingRequests/createUserRatingRequest.js.map +1 -0
  1363. package/dist/repositories/userRatingRequests/getUserRatingRequests.d.ts +5 -5
  1364. package/dist/repositories/userRatingRequests/getUserRatingRequests.js +29 -0
  1365. package/dist/repositories/userRatingRequests/getUserRatingRequests.js.map +1 -0
  1366. package/dist/repositories/userRatingRequests/index.d.ts +28 -28
  1367. package/dist/repositories/userRatingRequests/index.js +42 -0
  1368. package/dist/repositories/userRatingRequests/index.js.map +1 -0
  1369. package/dist/repositories/userRegistrationAttempts/createUserRegistrationAttempt.d.ts +5 -5
  1370. package/dist/repositories/userRegistrationAttempts/createUserRegistrationAttempt.js +41 -0
  1371. package/dist/repositories/userRegistrationAttempts/createUserRegistrationAttempt.js.map +1 -0
  1372. package/dist/repositories/userRegistrationAttempts/getUserRegistrationAttempts.d.ts +5 -5
  1373. package/dist/repositories/userRegistrationAttempts/getUserRegistrationAttempts.js +35 -0
  1374. package/dist/repositories/userRegistrationAttempts/getUserRegistrationAttempts.js.map +1 -0
  1375. package/dist/repositories/userRegistrationAttempts/index.d.ts +50 -50
  1376. package/dist/repositories/userRegistrationAttempts/index.js +71 -0
  1377. package/dist/repositories/userRegistrationAttempts/index.js.map +1 -0
  1378. package/dist/repositories/userRegistrationAttempts/updateUserRegistrationAttempt.d.ts +4 -4
  1379. package/dist/repositories/userRegistrationAttempts/updateUserRegistrationAttempt.js +41 -0
  1380. package/dist/repositories/userRegistrationAttempts/updateUserRegistrationAttempt.js.map +1 -0
  1381. package/dist/repositories/users/createUser.d.ts +5 -5
  1382. package/dist/repositories/users/createUser.js +48 -0
  1383. package/dist/repositories/users/createUser.js.map +1 -0
  1384. package/dist/repositories/users/deleteAccount.d.ts +4 -4
  1385. package/dist/repositories/users/deleteAccount.js +99 -0
  1386. package/dist/repositories/users/deleteAccount.js.map +1 -0
  1387. package/dist/repositories/users/deleteUser.d.ts +4 -4
  1388. package/dist/repositories/users/deleteUser.js +23 -0
  1389. package/dist/repositories/users/deleteUser.js.map +1 -0
  1390. package/dist/repositories/users/getUserById.d.ts +5 -5
  1391. package/dist/repositories/users/getUserById.js +37 -0
  1392. package/dist/repositories/users/getUserById.js.map +1 -0
  1393. package/dist/repositories/users/getUserClientRelatedEntitiesCount.d.ts +4 -4
  1394. package/dist/repositories/users/getUserClientRelatedEntitiesCount.js +64 -0
  1395. package/dist/repositories/users/getUserClientRelatedEntitiesCount.js.map +1 -0
  1396. package/dist/repositories/users/getUserData.d.ts +4 -4
  1397. package/dist/repositories/users/getUserData.js +70 -0
  1398. package/dist/repositories/users/getUserData.js.map +1 -0
  1399. package/dist/repositories/users/getUserInfoWithAmazonDevicesInfo.d.ts +4 -4
  1400. package/dist/repositories/users/getUserInfoWithAmazonDevicesInfo.js +88 -0
  1401. package/dist/repositories/users/getUserInfoWithAmazonDevicesInfo.js.map +1 -0
  1402. package/dist/repositories/users/getUsers.d.ts +5 -5
  1403. package/dist/repositories/users/getUsers.js +102 -0
  1404. package/dist/repositories/users/getUsers.js.map +1 -0
  1405. package/dist/repositories/users/getUsersConfigurationByImei.d.ts +5 -5
  1406. package/dist/repositories/users/getUsersConfigurationByImei.js +31 -0
  1407. package/dist/repositories/users/getUsersConfigurationByImei.js.map +1 -0
  1408. package/dist/repositories/users/getUsersIdByPhoneAndCountryCode.d.ts +4 -4
  1409. package/dist/repositories/users/getUsersIdByPhoneAndCountryCode.js +27 -0
  1410. package/dist/repositories/users/getUsersIdByPhoneAndCountryCode.js.map +1 -0
  1411. package/dist/repositories/users/getUsersInfoWithActivationInfo.d.ts +4 -4
  1412. package/dist/repositories/users/getUsersInfoWithActivationInfo.js +101 -0
  1413. package/dist/repositories/users/getUsersInfoWithActivationInfo.js.map +1 -0
  1414. package/dist/repositories/users/getUsersInfoWithDevicesInfo.d.ts +4 -4
  1415. package/dist/repositories/users/getUsersInfoWithDevicesInfo.js +59 -0
  1416. package/dist/repositories/users/getUsersInfoWithDevicesInfo.js.map +1 -0
  1417. package/dist/repositories/users/getUsersWithRoles.d.ts +4 -4
  1418. package/dist/repositories/users/getUsersWithRoles.js +40 -0
  1419. package/dist/repositories/users/getUsersWithRoles.js.map +1 -0
  1420. package/dist/repositories/users/index.d.ts +154 -154
  1421. package/dist/repositories/users/index.js +252 -0
  1422. package/dist/repositories/users/index.js.map +1 -0
  1423. package/dist/repositories/users/updateUser.d.ts +4 -4
  1424. package/dist/repositories/users/updateUser.js +110 -0
  1425. package/dist/repositories/users/updateUser.js.map +1 -0
  1426. package/dist/subscribers/allEntitiesSubscriber.d.ts +13 -13
  1427. package/dist/subscribers/allEntitiesSubscriber.js +53 -0
  1428. package/dist/subscribers/allEntitiesSubscriber.js.map +1 -0
  1429. package/dist/subscribers/index.d.ts +2 -2
  1430. package/dist/subscribers/index.js +3 -0
  1431. package/dist/subscribers/index.js.map +1 -0
  1432. package/dist/types/acumatica.d.ts +37 -37
  1433. package/dist/types/acumatica.js +2 -0
  1434. package/dist/types/acumatica.js.map +1 -0
  1435. package/dist/types/aempToken.d.ts +20 -20
  1436. package/dist/types/aempToken.js +2 -0
  1437. package/dist/types/aempToken.js.map +1 -0
  1438. package/dist/types/alert.d.ts +87 -87
  1439. package/dist/types/alert.js +2 -0
  1440. package/dist/types/alert.js.map +1 -0
  1441. package/dist/types/alertTypes.d.ts +6 -6
  1442. package/dist/types/alertTypes.js +2 -0
  1443. package/dist/types/alertTypes.js.map +1 -0
  1444. package/dist/types/appFeatures.d.ts +24 -24
  1445. package/dist/types/appFeatures.js +2 -0
  1446. package/dist/types/appFeatures.js.map +1 -0
  1447. package/dist/types/billing.d.ts +341 -341
  1448. package/dist/types/billing.js +2 -0
  1449. package/dist/types/billing.js.map +1 -0
  1450. package/dist/types/blacklist.d.ts +32 -32
  1451. package/dist/types/blacklist.js +2 -0
  1452. package/dist/types/blacklist.js.map +1 -0
  1453. package/dist/types/bleMesh.d.ts +129 -129
  1454. package/dist/types/bleMesh.js +2 -0
  1455. package/dist/types/bleMesh.js.map +1 -0
  1456. package/dist/types/bleMeshConfiguration.d.ts +30 -30
  1457. package/dist/types/bleMeshConfiguration.js +2 -0
  1458. package/dist/types/bleMeshConfiguration.js.map +1 -0
  1459. package/dist/types/boundaries.d.ts +125 -125
  1460. package/dist/types/boundaries.js +2 -0
  1461. package/dist/types/boundaries.js.map +1 -0
  1462. package/dist/types/clientAlertConfiguration.d.ts +100 -100
  1463. package/dist/types/clientAlertConfiguration.js +2 -0
  1464. package/dist/types/clientAlertConfiguration.js.map +1 -0
  1465. package/dist/types/clients.d.ts +137 -137
  1466. package/dist/types/clients.js +35 -0
  1467. package/dist/types/clients.js.map +1 -0
  1468. package/dist/types/common.d.ts +17 -17
  1469. package/dist/types/common.js +2 -0
  1470. package/dist/types/common.js.map +1 -0
  1471. package/dist/types/countries.d.ts +12 -12
  1472. package/dist/types/countries.js +2 -0
  1473. package/dist/types/countries.js.map +1 -0
  1474. package/dist/types/dataExports.d.ts +43 -43
  1475. package/dist/types/dataExports.js +2 -0
  1476. package/dist/types/dataExports.js.map +1 -0
  1477. package/dist/types/deactivations.d.ts +25 -25
  1478. package/dist/types/deactivations.js +2 -0
  1479. package/dist/types/deactivations.js.map +1 -0
  1480. package/dist/types/deviceBehaviors.d.ts +97 -97
  1481. package/dist/types/deviceBehaviors.js +2 -0
  1482. package/dist/types/deviceBehaviors.js.map +1 -0
  1483. package/dist/types/devicePairings.d.ts +56 -56
  1484. package/dist/types/devicePairings.js +2 -0
  1485. package/dist/types/devicePairings.js.map +1 -0
  1486. package/dist/types/deviceStatus.d.ts +84 -84
  1487. package/dist/types/deviceStatus.js +2 -0
  1488. package/dist/types/deviceStatus.js.map +1 -0
  1489. package/dist/types/deviceTypeFeature.d.ts +23 -23
  1490. package/dist/types/deviceTypeFeature.js +4 -0
  1491. package/dist/types/deviceTypeFeature.js.map +1 -0
  1492. package/dist/types/devices.d.ts +408 -407
  1493. package/dist/types/devices.js +25 -0
  1494. package/dist/types/devices.js.map +1 -0
  1495. package/dist/types/entitiesTags.d.ts +63 -63
  1496. package/dist/types/entitiesTags.js +26 -0
  1497. package/dist/types/entitiesTags.js.map +1 -0
  1498. package/dist/types/enums.d.ts +85 -85
  1499. package/dist/types/enums.js +103 -0
  1500. package/dist/types/enums.js.map +1 -0
  1501. package/dist/types/feature.d.ts +20 -20
  1502. package/dist/types/feature.js +3 -0
  1503. package/dist/types/feature.js.map +1 -0
  1504. package/dist/types/firmwares.d.ts +129 -129
  1505. package/dist/types/firmwares.js +18 -0
  1506. package/dist/types/firmwares.js.map +1 -0
  1507. package/dist/types/index.d.ts +38 -38
  1508. package/dist/types/index.js +39 -0
  1509. package/dist/types/index.js.map +1 -0
  1510. package/dist/types/latestUserAppInfo.d.ts +12 -12
  1511. package/dist/types/latestUserAppInfo.js +2 -0
  1512. package/dist/types/latestUserAppInfo.js.map +1 -0
  1513. package/dist/types/liveLinks.d.ts +92 -92
  1514. package/dist/types/liveLinks.js +2 -0
  1515. package/dist/types/liveLinks.js.map +1 -0
  1516. package/dist/types/logger.d.ts +68 -68
  1517. package/dist/types/logger.js +10 -0
  1518. package/dist/types/logger.js.map +1 -0
  1519. package/dist/types/notificationRecipients.d.ts +72 -72
  1520. package/dist/types/notificationRecipients.js +2 -0
  1521. package/dist/types/notificationRecipients.js.map +1 -0
  1522. package/dist/types/position.d.ts +71 -71
  1523. package/dist/types/position.js +2 -0
  1524. package/dist/types/position.js.map +1 -0
  1525. package/dist/types/promotion.d.ts +121 -121
  1526. package/dist/types/promotion.js +42 -0
  1527. package/dist/types/promotion.js.map +1 -0
  1528. package/dist/types/security.d.ts +42 -42
  1529. package/dist/types/security.js +2 -0
  1530. package/dist/types/security.js.map +1 -0
  1531. package/dist/types/tag.d.ts +65 -65
  1532. package/dist/types/tag.js +15 -0
  1533. package/dist/types/tag.js.map +1 -0
  1534. package/dist/types/tasks.d.ts +228 -228
  1535. package/dist/types/tasks.js +2 -0
  1536. package/dist/types/tasks.js.map +1 -0
  1537. package/dist/types/trip.d.ts +92 -92
  1538. package/dist/types/trip.js +31 -0
  1539. package/dist/types/trip.js.map +1 -0
  1540. package/dist/types/user.d.ts +252 -252
  1541. package/dist/types/user.js +2 -0
  1542. package/dist/types/user.js.map +1 -0
  1543. package/dist/types/userActivations.d.ts +143 -143
  1544. package/dist/types/userActivations.js +2 -0
  1545. package/dist/types/userActivations.js.map +1 -0
  1546. package/dist/types/userAppFeedback.d.ts +8 -8
  1547. package/dist/types/userAppFeedback.js +2 -0
  1548. package/dist/types/userAppFeedback.js.map +1 -0
  1549. package/dist/types/userAppIncidents.d.ts +35 -35
  1550. package/dist/types/userAppIncidents.js +2 -0
  1551. package/dist/types/userAppIncidents.js.map +1 -0
  1552. package/dist/types/userConfigurations.d.ts +127 -127
  1553. package/dist/types/userConfigurations.js +2 -0
  1554. package/dist/types/userConfigurations.js.map +1 -0
  1555. package/dist/types/userDataDeletionRequests.d.ts +29 -29
  1556. package/dist/types/userDataDeletionRequests.js +2 -0
  1557. package/dist/types/userDataDeletionRequests.js.map +1 -0
  1558. package/dist/types/userInvitations.d.ts +48 -48
  1559. package/dist/types/userInvitations.js +2 -0
  1560. package/dist/types/userInvitations.js.map +1 -0
  1561. package/dist/types/userRatingRequests.d.ts +18 -18
  1562. package/dist/types/userRatingRequests.js +2 -0
  1563. package/dist/types/userRatingRequests.js.map +1 -0
  1564. package/dist/types/userRegistrationAttempts.d.ts +36 -36
  1565. package/dist/types/userRegistrationAttempts.js +2 -0
  1566. package/dist/types/userRegistrationAttempts.js.map +1 -0
  1567. package/dist/utils/anyAttributeHasValue.d.ts +1 -1
  1568. package/dist/utils/anyAttributeHasValue.js +21 -0
  1569. package/dist/utils/anyAttributeHasValue.js.map +1 -0
  1570. package/dist/utils/billingPlansHelper.d.ts +3 -3
  1571. package/dist/utils/billingPlansHelper.js +50 -0
  1572. package/dist/utils/billingPlansHelper.js.map +1 -0
  1573. package/dist/utils/boolToNumberTransformer.d.ts +5 -5
  1574. package/dist/utils/boolToNumberTransformer.js +24 -0
  1575. package/dist/utils/boolToNumberTransformer.js.map +1 -0
  1576. package/dist/utils/consoleLogger.d.ts +10 -10
  1577. package/dist/utils/consoleLogger.js +43 -0
  1578. package/dist/utils/consoleLogger.js.map +1 -0
  1579. package/dist/utils/dateTool.d.ts +2 -2
  1580. package/dist/utils/dateTool.js +9 -0
  1581. package/dist/utils/dateTool.js.map +1 -0
  1582. package/dist/utils/filterTools.d.ts +12 -12
  1583. package/dist/utils/filterTools.js +300 -0
  1584. package/dist/utils/filterTools.js.map +1 -0
  1585. package/dist/utils/mapRawEntityToEntity.d.ts +1 -1
  1586. package/dist/utils/mapRawEntityToEntity.js +13 -0
  1587. package/dist/utils/mapRawEntityToEntity.js.map +1 -0
  1588. package/dist/utils/paramsValidators.d.ts +3 -3
  1589. package/dist/utils/paramsValidators.js +17 -0
  1590. package/dist/utils/paramsValidators.js.map +1 -0
  1591. package/dist/utils/parsingTools.d.ts +3 -3
  1592. package/dist/utils/parsingTools.js +22 -0
  1593. package/dist/utils/parsingTools.js.map +1 -0
  1594. package/dist/utils/queryLogger.d.ts +13 -13
  1595. package/dist/utils/queryLogger.js +49 -0
  1596. package/dist/utils/queryLogger.js.map +1 -0
  1597. package/dist/utils/randomizer.d.ts +5 -5
  1598. package/dist/utils/randomizer.js +40 -0
  1599. package/dist/utils/randomizer.js.map +1 -0
  1600. package/dist/utils/stringToDateTransformer.d.ts +5 -5
  1601. package/dist/utils/stringToDateTransformer.js +17 -0
  1602. package/dist/utils/stringToDateTransformer.js.map +1 -0
  1603. package/dist/utils/uuidHelpers.d.ts +2 -2
  1604. package/dist/utils/uuidHelpers.js +31 -0
  1605. package/dist/utils/uuidHelpers.js.map +1 -0
  1606. package/package.json +3 -4
  1607. package/dist/entities/alertBeta.d.ts +0 -27
  1608. package/dist/entities/alertMigration.d.ts +0 -23
  1609. package/dist/entities/alertMigrationBatch.d.ts +0 -3
  1610. package/dist/entities/alertTimeWindowConfiguration.d.ts +0 -12
  1611. package/dist/entities/deviceAlertConfiguration.d.ts +0 -14
  1612. package/dist/entities/deviceTypeEvent.d.ts +0 -5
  1613. package/dist/entities/event.d.ts +0 -6
  1614. package/dist/entities/hapnBaseEntity.d.ts +0 -7
  1615. package/dist/entities/svrPairingRequest.d.ts +0 -21
  1616. package/dist/repositories/alerts/createRepository.d.ts +0 -4
  1617. package/dist/repositories/deviceBehaviors/getDevicesLastBehaviorTask.d.ts +0 -5
  1618. package/dist/repositories/deviceBehaviors/getLatestDeviceBehaviorTasks.d.ts +0 -4
  1619. package/dist/repositories/userConfigurations/createDeviceAlertTimeWindows.d.ts +0 -5
  1620. package/dist/repositories/userConfigurations/createUserAlertTimeWindows.d.ts +0 -5
  1621. package/dist/repositories/userConfigurations/deleteDeviceAlertTimeWindows.d.ts +0 -4
  1622. package/dist/repositories/userConfigurations/deleteUserAlertTimeWindows.d.ts +0 -4
  1623. package/dist/repositories/userConfigurations/getDeviceAlertTimeWindows.d.ts +0 -5
  1624. package/dist/repositories/userConfigurations/getUserAlertTimeWindows.d.ts +0 -5
  1625. package/dist/repositories/userConfigurations/updateDeviceAlertTimeWindows.d.ts +0 -4
  1626. package/dist/repositories/userConfigurations/updateUserAlertTimeWindows.d.ts +0 -4
  1627. package/dist/utils/anyAttributeIsNull.d.ts +0 -1
  1628. package/dist/utils/uuidTransformer.d.ts +0 -5
@@ -1,5 +1,5 @@
1
- import { BillingDeviceTypePlan } from '../../entities';
2
- import { NovaDataSource } from '../../novaDataSource';
3
- import { UpsertBillingDeviceTypePlanParams } from '../../types/billing';
4
- import { Logger } from '../../types/logger';
5
- export declare const upsertBillingDeviceTypePlan: (novaDataSource: NovaDataSource, params: UpsertBillingDeviceTypePlanParams, logger: Logger) => Promise<BillingDeviceTypePlan>;
1
+ import { BillingDeviceTypePlan } from '../../entities';
2
+ import { NovaDataSource } from '../../novaDataSource';
3
+ import { UpsertBillingDeviceTypePlanParams } from '../../types/billing';
4
+ import { Logger } from '../../types/logger';
5
+ export declare const upsertBillingDeviceTypePlan: (novaDataSource: NovaDataSource, params: UpsertBillingDeviceTypePlanParams, logger: Logger) => Promise<BillingDeviceTypePlan>;
@@ -0,0 +1,67 @@
1
+ import { BillingDeviceTypePlan } from '../../entities';
2
+ export const upsertBillingDeviceTypePlan = async (novaDataSource, params, logger) => {
3
+ if (!params?.deviceTypeId && !params?.planId && !params?.status) {
4
+ logger.warn({ params }, 'BillingRepository::upsertBillingDeviceTypePlan - missing required parameters');
5
+ return null;
6
+ }
7
+ return novaDataSource.safeQuery(async (dataSource) => {
8
+ const billingDeviceTypePlanRepository = dataSource.getRepository(BillingDeviceTypePlan);
9
+ const existingBillingDeviceTypePlan = await billingDeviceTypePlanRepository
10
+ .createQueryBuilder('billingDeviceTypePlan')
11
+ .where('billingDeviceTypePlan.deviceTypeId = :deviceTypeId', {
12
+ deviceTypeId: params.deviceTypeId,
13
+ })
14
+ .andWhere('billingDeviceTypePlan.planId = :planId', {
15
+ planId: params.planId,
16
+ })
17
+ .getOne();
18
+ if (!existingBillingDeviceTypePlan) {
19
+ const billingDeviceTypePlan = {
20
+ deviceTypeId: params.deviceTypeId,
21
+ planId: params.planId,
22
+ deviceTypeModel: params.deviceTypeModel,
23
+ deviceType: params.deviceType ?? null,
24
+ createdAt: params.createdAt,
25
+ status: params.status,
26
+ };
27
+ const insertResult = await billingDeviceTypePlanRepository
28
+ .createQueryBuilder()
29
+ .insert()
30
+ .into(BillingDeviceTypePlan)
31
+ .values([billingDeviceTypePlan])
32
+ .execute();
33
+ return insertResult.identifiers.length > 0
34
+ ? await billingDeviceTypePlanRepository.findOne({
35
+ where: {
36
+ deviceTypeId: params.deviceTypeId,
37
+ planId: params.planId,
38
+ },
39
+ })
40
+ : null;
41
+ }
42
+ else {
43
+ const updateResult = await billingDeviceTypePlanRepository
44
+ .createQueryBuilder()
45
+ .update(BillingDeviceTypePlan)
46
+ .set({
47
+ status: params.status,
48
+ })
49
+ .where('deviceTypeId = :deviceTypeId', {
50
+ deviceTypeId: params.deviceTypeId,
51
+ })
52
+ .andWhere('planId = :planId', {
53
+ planId: params.planId,
54
+ })
55
+ .execute();
56
+ return updateResult.affected > 0
57
+ ? await billingDeviceTypePlanRepository.findOne({
58
+ where: {
59
+ deviceTypeId: params.deviceTypeId,
60
+ planId: params.planId,
61
+ },
62
+ })
63
+ : null;
64
+ }
65
+ }, 'BillingRepository::upsertBillingDeviceTypePlan');
66
+ };
67
+ //# sourceMappingURL=upsertBillingDeviceTypePlan.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"upsertBillingDeviceTypePlan.js","sourceRoot":"","sources":["../../../src/repositories/billing/upsertBillingDeviceTypePlan.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,gBAAgB,CAAA;AAKtD,MAAM,CAAC,MAAM,2BAA2B,GAAG,KAAK,EAC9C,cAA8B,EAC9B,MAAyC,EACzC,MAAc,EACkB,EAAE;IAClC,IAAI,CAAC,MAAM,EAAE,YAAY,IAAI,CAAC,MAAM,EAAE,MAAM,IAAI,CAAC,MAAM,EAAE,MAAM,EAAE;QAC/D,MAAM,CAAC,IAAI,CACT,EAAE,MAAM,EAAE,EACV,8EAA8E,CAC/E,CAAA;QACD,OAAO,IAAI,CAAA;KACZ;IAED,OAAO,cAAc,CAAC,SAAS,CAAC,KAAK,EAAE,UAA0B,EAE/D,EAAE;QACF,MAAM,+BAA+B,GAAG,UAAU,CAAC,aAAa,CAAC,qBAAqB,CAAC,CAAA;QAEvF,MAAM,6BAA6B,GAAG,MAAM,+BAA+B;aACxE,kBAAkB,CAAC,uBAAuB,CAAC;aAC3C,KAAK,CAAC,oDAAoD,EAAE;YAC3D,YAAY,EAAE,MAAM,CAAC,YAAY;SAClC,CAAC;aACD,QAAQ,CAAC,wCAAwC,EAAE;YAClD,MAAM,EAAE,MAAM,CAAC,MAAM;SACtB,CAAC;aACD,MAAM,EAAE,CAAA;QAEX,IAAI,CAAC,6BAA6B,EAAE;YAClC,MAAM,qBAAqB,GAAG;gBAC5B,YAAY,EAAE,MAAM,CAAC,YAAY;gBACjC,MAAM,EAAE,MAAM,CAAC,MAAM;gBACrB,eAAe,EAAE,MAAM,CAAC,eAAe;gBACvC,UAAU,EAAE,MAAM,CAAC,UAAU,IAAI,IAAI;gBACrC,SAAS,EAAE,MAAM,CAAC,SAAS;gBAC3B,MAAM,EAAE,MAAM,CAAC,MAAM;aACtB,CAAA;YAED,MAAM,YAAY,GAAG,MAAM,+BAA+B;iBACvD,kBAAkB,EAAE;iBACpB,MAAM,EAAE;iBACR,IAAI,CAAC,qBAAqB,CAAC;iBAC3B,MAAM,CAAC,CAAC,qBAAqB,CAAC,CAAC;iBAC/B,OAAO,EAAE,CAAA;YAEZ,OAAO,YAAY,CAAC,WAAW,CAAC,MAAM,GAAG,CAAC;gBACxC,CAAC,CAAC,MAAM,+BAA+B,CAAC,OAAO,CAAC;oBAC5C,KAAK,EAAE;wBACL,YAAY,EAAE,MAAM,CAAC,YAAY;wBACjC,MAAM,EAAE,MAAM,CAAC,MAAM;qBACtB;iBACF,CAAC;gBACJ,CAAC,CAAC,IAAI,CAAA;SACT;aAAM;YACL,MAAM,YAAY,GAAG,MAAM,+BAA+B;iBACvD,kBAAkB,EAAE;iBACpB,MAAM,CAAC,qBAAqB,CAAC;iBAC7B,GAAG,CAAC;gBACH,MAAM,EAAE,MAAM,CAAC,MAAM;aACtB,CAAC;iBACD,KAAK,CAAC,8BAA8B,EAAE;gBACrC,YAAY,EAAE,MAAM,CAAC,YAAY;aAClC,CAAC;iBACD,QAAQ,CAAC,kBAAkB,EAAE;gBAC5B,MAAM,EAAE,MAAM,CAAC,MAAM;aACtB,CAAC;iBACD,OAAO,EAAE,CAAA;YAEZ,OAAO,YAAY,CAAC,QAAQ,GAAG,CAAC;gBAC9B,CAAC,CAAC,MAAM,+BAA+B,CAAC,OAAO,CAAC;oBAC5C,KAAK,EAAE;wBACL,YAAY,EAAE,MAAM,CAAC,YAAY;wBACjC,MAAM,EAAE,MAAM,CAAC,MAAM;qBACtB;iBACF,CAAC;gBACJ,CAAC,CAAC,IAAI,CAAA;SACT;IACH,CAAC,EAAE,gDAAgD,CAAC,CAAA;AACtD,CAAC,CAAA"}
@@ -1,5 +1,5 @@
1
- import { BillingKlarnaCustomer } from '../../entities';
2
- import { NovaDataSource } from '../../novaDataSource';
3
- import { UpsertBillingKlarnaCustomerParams } from '../../types/billing';
4
- import { Logger } from '../../types/logger';
5
- export declare const upsertBillingKlarnaCustomer: (novaDataSource: NovaDataSource, params: UpsertBillingKlarnaCustomerParams, logger: Logger) => Promise<BillingKlarnaCustomer>;
1
+ import { BillingKlarnaCustomer } from '../../entities';
2
+ import { NovaDataSource } from '../../novaDataSource';
3
+ import { UpsertBillingKlarnaCustomerParams } from '../../types/billing';
4
+ import { Logger } from '../../types/logger';
5
+ export declare const upsertBillingKlarnaCustomer: (novaDataSource: NovaDataSource, params: UpsertBillingKlarnaCustomerParams, logger: Logger) => Promise<BillingKlarnaCustomer>;
@@ -0,0 +1,53 @@
1
+ import { BillingKlarnaCustomer } from '../../entities';
2
+ export const upsertBillingKlarnaCustomer = async (novaDataSource, params, logger) => {
3
+ // id is required
4
+ if (!params?.id) {
5
+ logger.warn({ params }, 'BillingRepository::upsertBillingKlarnaCustomer - missing required parameters');
6
+ return null;
7
+ }
8
+ // at least one field to update is required
9
+ if (!params?.firstName &&
10
+ !params?.lastName &&
11
+ !params?.billingEmail &&
12
+ !params?.shippingEmail &&
13
+ !params?.streetAddress &&
14
+ !params?.city &&
15
+ !params?.region &&
16
+ !params?.country &&
17
+ !params?.postalCode &&
18
+ !params?.phone &&
19
+ !params?.createdAt) {
20
+ logger.warn({ params }, 'BillingRepository::upsertBillingKlarnaCustomer - missing required parameters');
21
+ return null;
22
+ }
23
+ return novaDataSource.safeQuery(async (dataSource) => {
24
+ const billingKlarnaCustomerRepository = dataSource.getRepository(BillingKlarnaCustomer);
25
+ const now = new Date();
26
+ const billingKlarnaCustomer = {
27
+ id: params.id ? params.id : undefined,
28
+ firstName: params.firstName ? params.firstName : undefined,
29
+ lastName: params.lastName ? params.lastName : undefined,
30
+ billingEmail: params.billingEmail ? params.billingEmail : undefined,
31
+ shippingEmail: params.shippingEmail ? params.shippingEmail : undefined,
32
+ streetAddress: params.streetAddress ? params.streetAddress : undefined,
33
+ city: params.city ? params.city : undefined,
34
+ region: params.region ? params.region : undefined,
35
+ country: params.country ? params.country : undefined,
36
+ postalCode: params.postalCode ? params.postalCode : undefined,
37
+ phone: params.phone ? params.phone : undefined,
38
+ createdAt: params.createdAt ?? now,
39
+ };
40
+ const upsertResult = await billingKlarnaCustomerRepository.upsert(billingKlarnaCustomer, {
41
+ conflictPaths: ['id'],
42
+ });
43
+ const upsertedCustomer = upsertResult?.raw?.affectedRows > 0
44
+ ? await billingKlarnaCustomerRepository.findOne({
45
+ where: {
46
+ id: params.id,
47
+ },
48
+ })
49
+ : null;
50
+ return upsertedCustomer;
51
+ }, 'BillingRepository::upsertBillingKlarnaCustomer');
52
+ };
53
+ //# sourceMappingURL=upsertBillingKlarnaCustomer.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"upsertBillingKlarnaCustomer.js","sourceRoot":"","sources":["../../../src/repositories/billing/upsertBillingKlarnaCustomer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,gBAAgB,CAAA;AAKtD,MAAM,CAAC,MAAM,2BAA2B,GAAG,KAAK,EAC9C,cAA8B,EAC9B,MAAyC,EACzC,MAAc,EACkB,EAAE;IAClC,iBAAiB;IACjB,IAAI,CAAC,MAAM,EAAE,EAAE,EAAE;QACf,MAAM,CAAC,IAAI,CACT,EAAE,MAAM,EAAE,EACV,8EAA8E,CAC/E,CAAA;QACD,OAAO,IAAI,CAAA;KACZ;IAED,2CAA2C;IAC3C,IACE,CAAC,MAAM,EAAE,SAAS;QAClB,CAAC,MAAM,EAAE,QAAQ;QACjB,CAAC,MAAM,EAAE,YAAY;QACrB,CAAC,MAAM,EAAE,aAAa;QACtB,CAAC,MAAM,EAAE,aAAa;QACtB,CAAC,MAAM,EAAE,IAAI;QACb,CAAC,MAAM,EAAE,MAAM;QACf,CAAC,MAAM,EAAE,OAAO;QAChB,CAAC,MAAM,EAAE,UAAU;QACnB,CAAC,MAAM,EAAE,KAAK;QACd,CAAC,MAAM,EAAE,SAAS,EAClB;QACA,MAAM,CAAC,IAAI,CACT,EAAE,MAAM,EAAE,EACV,8EAA8E,CAC/E,CAAA;QACD,OAAO,IAAI,CAAA;KACZ;IAED,OAAO,cAAc,CAAC,SAAS,CAAC,KAAK,EAAE,UAA0B,EAE/D,EAAE;QACF,MAAM,+BAA+B,GAAG,UAAU,CAAC,aAAa,CAAC,qBAAqB,CAAC,CAAA;QAEvF,MAAM,GAAG,GAAG,IAAI,IAAI,EAAE,CAAA;QAEtB,MAAM,qBAAqB,GAAG;YAC5B,EAAE,EAAE,MAAM,CAAC,EAAE,CAAC,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,CAAC,SAAS;YACrC,SAAS,EAAE,MAAM,CAAC,SAAS,CAAC,CAAC,CAAC,MAAM,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS;YAC1D,QAAQ,EAAE,MAAM,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS;YACvD,YAAY,EAAE,MAAM,CAAC,YAAY,CAAC,CAAC,CAAC,MAAM,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS;YACnE,aAAa,EAAE,MAAM,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS;YACtE,aAAa,EAAE,MAAM,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS;YACtE,IAAI,EAAE,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS;YAC3C,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS;YACjD,OAAO,EAAE,MAAM,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS;YACpD,UAAU,EAAE,MAAM,CAAC,UAAU,CAAC,CAAC,CAAC,MAAM,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS;YAC7D,KAAK,EAAE,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS;YAC9C,SAAS,EAAE,MAAM,CAAC,SAAS,IAAI,GAAG;SACnC,CAAA;QAED,MAAM,YAAY,GAAG,MAAM,+BAA+B,CAAC,MAAM,CAAC,qBAAqB,EAAE;YACvF,aAAa,EAAE,CAAC,IAAI,CAAC;SACtB,CAAC,CAAA;QAEF,MAAM,gBAAgB,GACpB,YAAY,EAAE,GAAG,EAAE,YAAY,GAAG,CAAC;YACjC,CAAC,CAAC,MAAM,+BAA+B,CAAC,OAAO,CAAC;gBAC5C,KAAK,EAAE;oBACL,EAAE,EAAE,MAAM,CAAC,EAAE;iBACd;aACF,CAAC;YACJ,CAAC,CAAC,IAAI,CAAA;QAEV,OAAO,gBAAgB,CAAA;IACzB,CAAC,EAAE,gDAAgD,CAAC,CAAA;AACtD,CAAC,CAAA"}
@@ -1,5 +1,5 @@
1
- import { BillingKlarnaOrder } from '../../entities';
2
- import { NovaDataSource } from '../../novaDataSource';
3
- import { UpsertBillingKlarnaOrderParams } from '../../types/billing';
4
- import { Logger } from '../../types/logger';
5
- export declare const upsertBillingKlarnaOrder: (novaDataSource: NovaDataSource, params: UpsertBillingKlarnaOrderParams, logger: Logger) => Promise<BillingKlarnaOrder>;
1
+ import { BillingKlarnaOrder } from '../../entities';
2
+ import { NovaDataSource } from '../../novaDataSource';
3
+ import { UpsertBillingKlarnaOrderParams } from '../../types/billing';
4
+ import { Logger } from '../../types/logger';
5
+ export declare const upsertBillingKlarnaOrder: (novaDataSource: NovaDataSource, params: UpsertBillingKlarnaOrderParams, logger: Logger) => Promise<BillingKlarnaOrder>;
@@ -0,0 +1,59 @@
1
+ import { BillingKlarnaOrder } from '../../entities';
2
+ export const upsertBillingKlarnaOrder = async (novaDataSource, params, logger) => {
3
+ // id is required
4
+ if (!params?.deviceId || !params?.klarnaCustomerId || !params?.orderId) {
5
+ logger.warn({ params }, 'BillingRepository::upsertBillingKlarnaOrder - missing required parameters');
6
+ return null;
7
+ }
8
+ // at least one field to update is required
9
+ if (!params?.planId &&
10
+ !params?.createdAt &&
11
+ !params?.subscriptionStart &&
12
+ !params?.subscriptionEnd &&
13
+ !params?.nextBillingDate &&
14
+ !params?.subscriptionValue &&
15
+ !params?.status &&
16
+ !params?.paymentType &&
17
+ !params?.discounts &&
18
+ !params?.addOns &&
19
+ !params?.nextBillingPeriodAmount &&
20
+ !params?.paymentMethodToken) {
21
+ logger.warn({ params }, 'BillingRepository::upsertBillingKlarnaOrder - missing required parameters');
22
+ return null;
23
+ }
24
+ return novaDataSource.safeQuery(async (dataSource) => {
25
+ const billingKlarnaOrderRepository = dataSource.getRepository(BillingKlarnaOrder);
26
+ const now = new Date();
27
+ const billingKlarnaOrder = {
28
+ deviceId: params.deviceId ? params.deviceId : undefined,
29
+ klarnaCustomerId: params.klarnaCustomerId ? params.klarnaCustomerId : undefined,
30
+ orderId: params.orderId ? params.orderId : undefined,
31
+ planId: params.planId ? params.planId : undefined,
32
+ createdAt: params.createdAt ?? now,
33
+ subscriptionStart: params.subscriptionStart ? params.subscriptionStart : undefined,
34
+ subscriptionEnd: params.subscriptionEnd ? params.subscriptionEnd : undefined,
35
+ nextBillingDate: params.nextBillingDate ? params.nextBillingDate : undefined,
36
+ subscriptionValue: params.subscriptionValue ? params.subscriptionValue : undefined,
37
+ status: params.status ? params.status : undefined,
38
+ paymentType: params.paymentType ? params.paymentType : undefined,
39
+ discounts: params.discounts ? params.discounts : undefined,
40
+ addOns: params.addOns ? params.addOns : undefined,
41
+ nextBillingPeriodAmount: params.nextBillingPeriodAmount
42
+ ? params.nextBillingPeriodAmount
43
+ : undefined,
44
+ paymentMethodToken: params.paymentMethodToken ? params.paymentMethodToken : undefined,
45
+ };
46
+ const upsertResult = await billingKlarnaOrderRepository.upsert(billingKlarnaOrder, {
47
+ conflictPaths: ['deviceId'],
48
+ });
49
+ const insertedOrder = upsertResult?.raw?.affectedRows > 0
50
+ ? await billingKlarnaOrderRepository.findOne({
51
+ where: {
52
+ deviceId: params.deviceId,
53
+ },
54
+ })
55
+ : null;
56
+ return insertedOrder;
57
+ }, 'BillingRepository::upsertBillingKlarnaOrder');
58
+ };
59
+ //# sourceMappingURL=upsertBillingKlarnaOrder.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"upsertBillingKlarnaOrder.js","sourceRoot":"","sources":["../../../src/repositories/billing/upsertBillingKlarnaOrder.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,gBAAgB,CAAA;AAKnD,MAAM,CAAC,MAAM,wBAAwB,GAAG,KAAK,EAC3C,cAA8B,EAC9B,MAAsC,EACtC,MAAc,EACe,EAAE;IAC/B,iBAAiB;IACjB,IAAI,CAAC,MAAM,EAAE,QAAQ,IAAI,CAAC,MAAM,EAAE,gBAAgB,IAAI,CAAC,MAAM,EAAE,OAAO,EAAE;QACtE,MAAM,CAAC,IAAI,CACT,EAAE,MAAM,EAAE,EACV,2EAA2E,CAC5E,CAAA;QACD,OAAO,IAAI,CAAA;KACZ;IAED,2CAA2C;IAC3C,IACE,CAAC,MAAM,EAAE,MAAM;QACf,CAAC,MAAM,EAAE,SAAS;QAClB,CAAC,MAAM,EAAE,iBAAiB;QAC1B,CAAC,MAAM,EAAE,eAAe;QACxB,CAAC,MAAM,EAAE,eAAe;QACxB,CAAC,MAAM,EAAE,iBAAiB;QAC1B,CAAC,MAAM,EAAE,MAAM;QACf,CAAC,MAAM,EAAE,WAAW;QACpB,CAAC,MAAM,EAAE,SAAS;QAClB,CAAC,MAAM,EAAE,MAAM;QACf,CAAC,MAAM,EAAE,uBAAuB;QAChC,CAAC,MAAM,EAAE,kBAAkB,EAC3B;QACA,MAAM,CAAC,IAAI,CACT,EAAE,MAAM,EAAE,EACV,2EAA2E,CAC5E,CAAA;QACD,OAAO,IAAI,CAAA;KACZ;IAED,OAAO,cAAc,CAAC,SAAS,CAAC,KAAK,EAAE,UAA0B,EAE/D,EAAE;QACF,MAAM,4BAA4B,GAAG,UAAU,CAAC,aAAa,CAAC,kBAAkB,CAAC,CAAA;QAEjF,MAAM,GAAG,GAAG,IAAI,IAAI,EAAE,CAAA;QAEtB,MAAM,kBAAkB,GAAG;YACzB,QAAQ,EAAE,MAAM,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS;YACvD,gBAAgB,EAAE,MAAM,CAAC,gBAAgB,CAAC,CAAC,CAAC,MAAM,CAAC,gBAAgB,CAAC,CAAC,CAAC,SAAS;YAC/E,OAAO,EAAE,MAAM,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS;YACpD,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS;YACjD,SAAS,EAAE,MAAM,CAAC,SAAS,IAAI,GAAG;YAClC,iBAAiB,EAAE,MAAM,CAAC,iBAAiB,CAAC,CAAC,CAAC,MAAM,CAAC,iBAAiB,CAAC,CAAC,CAAC,SAAS;YAClF,eAAe,EAAE,MAAM,CAAC,eAAe,CAAC,CAAC,CAAC,MAAM,CAAC,eAAe,CAAC,CAAC,CAAC,SAAS;YAC5E,eAAe,EAAE,MAAM,CAAC,eAAe,CAAC,CAAC,CAAC,MAAM,CAAC,eAAe,CAAC,CAAC,CAAC,SAAS;YAC5E,iBAAiB,EAAE,MAAM,CAAC,iBAAiB,CAAC,CAAC,CAAC,MAAM,CAAC,iBAAiB,CAAC,CAAC,CAAC,SAAS;YAClF,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS;YACjD,WAAW,EAAE,MAAM,CAAC,WAAW,CAAC,CAAC,CAAC,MAAM,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS;YAChE,SAAS,EAAE,MAAM,CAAC,SAAS,CAAC,CAAC,CAAC,MAAM,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS;YAC1D,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS;YACjD,uBAAuB,EAAE,MAAM,CAAC,uBAAuB;gBACrD,CAAC,CAAC,MAAM,CAAC,uBAAuB;gBAChC,CAAC,CAAC,SAAS;YACb,kBAAkB,EAAE,MAAM,CAAC,kBAAkB,CAAC,CAAC,CAAC,MAAM,CAAC,kBAAkB,CAAC,CAAC,CAAC,SAAS;SACtF,CAAA;QAED,MAAM,YAAY,GAAG,MAAM,4BAA4B,CAAC,MAAM,CAAC,kBAAkB,EAAE;YACjF,aAAa,EAAE,CAAC,UAAU,CAAC;SAC5B,CAAC,CAAA;QAEF,MAAM,aAAa,GACjB,YAAY,EAAE,GAAG,EAAE,YAAY,GAAG,CAAC;YACjC,CAAC,CAAC,MAAM,4BAA4B,CAAC,OAAO,CAAC;gBACzC,KAAK,EAAE;oBACL,QAAQ,EAAE,MAAM,CAAC,QAAQ;iBAC1B;aACF,CAAC;YACJ,CAAC,CAAC,IAAI,CAAA;QAEV,OAAO,aAAa,CAAA;IACtB,CAAC,EAAE,6CAA6C,CAAC,CAAA;AACnD,CAAC,CAAA"}
@@ -1,5 +1,5 @@
1
- import { BillingPlans } from '../../entities';
2
- import { NovaDataSource } from '../../novaDataSource';
3
- import { UpsertBillingPlanParams } from '../../types/billing';
4
- import { Logger } from '../../types/logger';
5
- export declare const upsertBillingPlans: (novaDataSource: NovaDataSource, params: UpsertBillingPlanParams, logger: Logger) => Promise<BillingPlans>;
1
+ import { BillingPlans } from '../../entities';
2
+ import { NovaDataSource } from '../../novaDataSource';
3
+ import { UpsertBillingPlanParams } from '../../types/billing';
4
+ import { Logger } from '../../types/logger';
5
+ export declare const upsertBillingPlans: (novaDataSource: NovaDataSource, params: UpsertBillingPlanParams, logger: Logger) => Promise<BillingPlans>;
@@ -0,0 +1,54 @@
1
+ import { BillingPlans } from '../../entities';
2
+ export const upsertBillingPlans = async (novaDataSource, params, logger) => {
3
+ if (!params?.planId &&
4
+ !params?.targetCustomer &&
5
+ !params?.code &&
6
+ !params?.status &&
7
+ !params?.platform &&
8
+ !params?.billingFrequency &&
9
+ !params?.contractLength &&
10
+ !params?.name &&
11
+ !params?.price &&
12
+ !params?.createdAt &&
13
+ !params?.updatedAt) {
14
+ logger.warn({ params }, 'BillingRepository::upsertBillingPlan - missing required parameters');
15
+ return null;
16
+ }
17
+ return novaDataSource.safeQuery(async (dataSource) => {
18
+ const billingPlansRepository = dataSource.getRepository(BillingPlans);
19
+ const billingPlan = {
20
+ planId: params.planId,
21
+ targetCustomer: params.targetCustomer,
22
+ code: params.code,
23
+ status: params.status,
24
+ platform: params.platform,
25
+ billingFrequency: params.billingFrequency,
26
+ contractLength: params.contractLength,
27
+ numberOfBillingCycles: params.numberOfBillingCycles ?? null,
28
+ description: params.description ?? null,
29
+ name: params.name,
30
+ price: params.price,
31
+ trialDuration: params.trialDuration ?? null,
32
+ trialDurationUnit: params.trialDurationUnit ?? null,
33
+ trialPeriod: params.trialPeriod ? params.trialPeriod : false,
34
+ createdAt: params.createdAt,
35
+ updatedAt: params.updatedAt,
36
+ addOns: params.addOns ?? [],
37
+ discounts: params.discounts ?? [],
38
+ startDate: params.startDate ?? null,
39
+ endDate: params.endDate ?? null,
40
+ };
41
+ const upsertResult = await billingPlansRepository.upsert(billingPlan, {
42
+ conflictPaths: ['planId'],
43
+ });
44
+ const insertedBillingPlan = upsertResult?.raw?.affectedRows > 0
45
+ ? await billingPlansRepository.findOne({
46
+ where: {
47
+ planId: params.planId,
48
+ },
49
+ })
50
+ : null;
51
+ return insertedBillingPlan;
52
+ }, 'BillingRepository::upsertBillingPlan');
53
+ };
54
+ //# sourceMappingURL=upsertBillingPlans.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"upsertBillingPlans.js","sourceRoot":"","sources":["../../../src/repositories/billing/upsertBillingPlans.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAK7C,MAAM,CAAC,MAAM,kBAAkB,GAAG,KAAK,EACrC,cAA8B,EAC9B,MAA+B,EAC/B,MAAc,EACS,EAAE;IACzB,IACE,CAAC,MAAM,EAAE,MAAM;QACf,CAAC,MAAM,EAAE,cAAc;QACvB,CAAC,MAAM,EAAE,IAAI;QACb,CAAC,MAAM,EAAE,MAAM;QACf,CAAC,MAAM,EAAE,QAAQ;QACjB,CAAC,MAAM,EAAE,gBAAgB;QACzB,CAAC,MAAM,EAAE,cAAc;QACvB,CAAC,MAAM,EAAE,IAAI;QACb,CAAC,MAAM,EAAE,KAAK;QACd,CAAC,MAAM,EAAE,SAAS;QAClB,CAAC,MAAM,EAAE,SAAS,EAClB;QACA,MAAM,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,EAAE,oEAAoE,CAAC,CAAA;QAC7F,OAAO,IAAI,CAAA;KACZ;IAED,OAAO,cAAc,CAAC,SAAS,CAAC,KAAK,EAAE,UAA0B,EAAyB,EAAE;QAC1F,MAAM,sBAAsB,GAAG,UAAU,CAAC,aAAa,CAAC,YAAY,CAAC,CAAA;QAErE,MAAM,WAAW,GAAG;YAClB,MAAM,EAAE,MAAM,CAAC,MAAM;YACrB,cAAc,EAAE,MAAM,CAAC,cAAc;YACrC,IAAI,EAAE,MAAM,CAAC,IAAI;YACjB,MAAM,EAAE,MAAM,CAAC,MAAM;YACrB,QAAQ,EAAE,MAAM,CAAC,QAAQ;YACzB,gBAAgB,EAAE,MAAM,CAAC,gBAAgB;YACzC,cAAc,EAAE,MAAM,CAAC,cAAc;YACrC,qBAAqB,EAAE,MAAM,CAAC,qBAAqB,IAAI,IAAI;YAC3D,WAAW,EAAE,MAAM,CAAC,WAAW,IAAI,IAAI;YACvC,IAAI,EAAE,MAAM,CAAC,IAAI;YACjB,KAAK,EAAE,MAAM,CAAC,KAAK;YACnB,aAAa,EAAE,MAAM,CAAC,aAAa,IAAI,IAAI;YAC3C,iBAAiB,EAAE,MAAM,CAAC,iBAAiB,IAAI,IAAI;YACnD,WAAW,EAAE,MAAM,CAAC,WAAW,CAAC,CAAC,CAAC,MAAM,CAAC,WAAW,CAAC,CAAC,CAAC,KAAK;YAC5D,SAAS,EAAE,MAAM,CAAC,SAAS;YAC3B,SAAS,EAAE,MAAM,CAAC,SAAS;YAC3B,MAAM,EAAE,MAAM,CAAC,MAAM,IAAI,EAAE;YAC3B,SAAS,EAAE,MAAM,CAAC,SAAS,IAAI,EAAE;YACjC,SAAS,EAAE,MAAM,CAAC,SAAS,IAAI,IAAI;YACnC,OAAO,EAAE,MAAM,CAAC,OAAO,IAAI,IAAI;SAChC,CAAA;QAED,MAAM,YAAY,GAAG,MAAM,sBAAsB,CAAC,MAAM,CAAC,WAAW,EAAE;YACpE,aAAa,EAAE,CAAC,QAAQ,CAAC;SAC1B,CAAC,CAAA;QAEF,MAAM,mBAAmB,GACvB,YAAY,EAAE,GAAG,EAAE,YAAY,GAAG,CAAC;YACjC,CAAC,CAAC,MAAM,sBAAsB,CAAC,OAAO,CAAC;gBACnC,KAAK,EAAE;oBACL,MAAM,EAAE,MAAM,CAAC,MAAM;iBACtB;aACF,CAAC;YACJ,CAAC,CAAC,IAAI,CAAA;QAEV,OAAO,mBAAmB,CAAA;IAC5B,CAAC,EAAE,sCAAsC,CAAC,CAAA;AAC5C,CAAC,CAAA"}
@@ -1,4 +1,4 @@
1
- import { NovaDataSource } from '../../novaDataSource';
2
- import { UpsertBillingSubscriptionBraintreeParams } from '../../types/billing';
3
- import { Logger } from '../../types/logger';
4
- export declare const upsertBillingSubscriptionBraintree: (novaDataSource: NovaDataSource, params: UpsertBillingSubscriptionBraintreeParams, logger: Logger) => Promise<boolean>;
1
+ import { NovaDataSource } from '../../novaDataSource';
2
+ import { UpsertBillingSubscriptionBraintreeParams } from '../../types/billing';
3
+ import { Logger } from '../../types/logger';
4
+ export declare const upsertBillingSubscriptionBraintree: (novaDataSource: NovaDataSource, params: UpsertBillingSubscriptionBraintreeParams, logger: Logger) => Promise<boolean>;
@@ -0,0 +1,21 @@
1
+ import { BillingSubscriptionBraintree } from '../../entities';
2
+ export const upsertBillingSubscriptionBraintree = async (novaDataSource, params, logger) => {
3
+ // id is required
4
+ if (!params?.subscriptionId) {
5
+ logger.warn({ params }, 'BillingRepository::upsertBillingSubscriptionBraintree - missing required parameters');
6
+ return false;
7
+ }
8
+ return novaDataSource.safeQuery(async (dataSource) => {
9
+ const billingSubscriptionBraintreeRepository = dataSource.getRepository(BillingSubscriptionBraintree);
10
+ const now = new Date();
11
+ const billingSubscriptionBraintree = {
12
+ ...params,
13
+ createdAt: params.createdAt ?? now,
14
+ };
15
+ const result = await billingSubscriptionBraintreeRepository.upsert(billingSubscriptionBraintree, {
16
+ conflictPaths: ['subscriptionId'],
17
+ });
18
+ return result?.raw?.affectedRows > 0;
19
+ }, 'BillingRepository::upsertBillingSubscriptionBraintree');
20
+ };
21
+ //# sourceMappingURL=upsertBillingSubscriptionBraintree.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"upsertBillingSubscriptionBraintree.js","sourceRoot":"","sources":["../../../src/repositories/billing/upsertBillingSubscriptionBraintree.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,4BAA4B,EAAE,MAAM,gBAAgB,CAAA;AAK7D,MAAM,CAAC,MAAM,kCAAkC,GAAG,KAAK,EACrD,cAA8B,EAC9B,MAAgD,EAChD,MAAc,EACI,EAAE;IACpB,iBAAiB;IACjB,IAAI,CAAC,MAAM,EAAE,cAAc,EAAE;QAC3B,MAAM,CAAC,IAAI,CACT,EAAE,MAAM,EAAE,EACV,qFAAqF,CACtF,CAAA;QACD,OAAO,KAAK,CAAA;KACb;IAED,OAAO,cAAc,CAAC,SAAS,CAAC,KAAK,EAAE,UAA0B,EAAoB,EAAE;QACrF,MAAM,sCAAsC,GAAG,UAAU,CAAC,aAAa,CACrE,4BAA4B,CAC7B,CAAA;QAED,MAAM,GAAG,GAAG,IAAI,IAAI,EAAE,CAAA;QAEtB,MAAM,4BAA4B,GAAG;YACnC,GAAG,MAAM;YACT,SAAS,EAAE,MAAM,CAAC,SAAS,IAAI,GAAG;SACnC,CAAA;QAED,MAAM,MAAM,GAAG,MAAM,sCAAsC,CAAC,MAAM,CAChE,4BAA4B,EAC5B;YACE,aAAa,EAAE,CAAC,gBAAgB,CAAC;SAClC,CACF,CAAA;QAED,OAAO,MAAM,EAAE,GAAG,EAAE,YAAY,GAAG,CAAC,CAAA;IACtC,CAAC,EAAE,uDAAuD,CAAC,CAAA;AAC7D,CAAC,CAAA"}
@@ -1,4 +1,4 @@
1
- import { NovaDataSource } from '../../novaDataSource';
2
- import { DeleteBlacklistParams } from '../../types/blacklist';
3
- import { Logger } from '../../types/logger';
4
- export declare const deleteBlackList: (novaDataSource: NovaDataSource, params: DeleteBlacklistParams, logger: Logger) => Promise<boolean>;
1
+ import { NovaDataSource } from '../../novaDataSource';
2
+ import { DeleteBlacklistParams } from '../../types/blacklist';
3
+ import { Logger } from '../../types/logger';
4
+ export declare const deleteBlackList: (novaDataSource: NovaDataSource, params: DeleteBlacklistParams, logger: Logger) => Promise<boolean>;
@@ -0,0 +1,20 @@
1
+ import { Blacklist } from '../../entities';
2
+ export const deleteBlackList = async (novaDataSource, params, logger) => {
3
+ if (!params?.filters?.blacklistTypeId || !params?.filters?.value) {
4
+ logger.warn({ params }, 'BlacklistRepository::deleteBlackList - missing required parameters');
5
+ return false;
6
+ }
7
+ return novaDataSource.safeQuery(async (dataSource) => {
8
+ const blacklistRepository = dataSource.getRepository(Blacklist);
9
+ const result = await blacklistRepository
10
+ .createQueryBuilder()
11
+ .delete()
12
+ .where('blacklistTypeId = :blacklistTypeId', {
13
+ blacklistTypeId: params.filters.blacklistTypeId,
14
+ })
15
+ .andWhere('value = :value', { value: params.filters.value })
16
+ .execute();
17
+ return result.affected > 0;
18
+ }, 'BlacklistRepository::deleteBlackList');
19
+ };
20
+ //# sourceMappingURL=deleteBlackList.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"deleteBlackList.js","sourceRoot":"","sources":["../../../src/repositories/blacklist/deleteBlackList.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAA;AAK1C,MAAM,CAAC,MAAM,eAAe,GAAG,KAAK,EAClC,cAA8B,EAC9B,MAA6B,EAC7B,MAAc,EACI,EAAE;IACpB,IAAI,CAAC,MAAM,EAAE,OAAO,EAAE,eAAe,IAAI,CAAC,MAAM,EAAE,OAAO,EAAE,KAAK,EAAE;QAChE,MAAM,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,EAAE,oEAAoE,CAAC,CAAA;QAC7F,OAAO,KAAK,CAAA;KACb;IAED,OAAO,cAAc,CAAC,SAAS,CAAC,KAAK,EAAE,UAA0B,EAAoB,EAAE;QACrF,MAAM,mBAAmB,GAAG,UAAU,CAAC,aAAa,CAAC,SAAS,CAAC,CAAA;QAE/D,MAAM,MAAM,GAAG,MAAM,mBAAmB;aACrC,kBAAkB,EAAE;aACpB,MAAM,EAAE;aACR,KAAK,CAAC,oCAAoC,EAAE;YAC3C,eAAe,EAAE,MAAM,CAAC,OAAO,CAAC,eAAe;SAChD,CAAC;aACD,QAAQ,CAAC,gBAAgB,EAAE,EAAE,KAAK,EAAE,MAAM,CAAC,OAAO,CAAC,KAAK,EAAE,CAAC;aAC3D,OAAO,EAAE,CAAA;QAEZ,OAAO,MAAM,CAAC,QAAQ,GAAG,CAAC,CAAA;IAC5B,CAAC,EAAE,sCAAsC,CAAC,CAAA;AAC5C,CAAC,CAAA"}
@@ -1,5 +1,5 @@
1
- import { Blacklist } from '../../entities';
2
- import { NovaDataSource } from '../../novaDataSource';
3
- import { GetBlacklistsParams } from '../../types/blacklist';
4
- import { Logger } from '../../types/logger';
5
- export declare const getBlacklists: (novaDataSource: NovaDataSource, params: GetBlacklistsParams, logger: Logger) => Promise<Blacklist[]>;
1
+ import { Blacklist } from '../../entities';
2
+ import { NovaDataSource } from '../../novaDataSource';
3
+ import { GetBlacklistsParams } from '../../types/blacklist';
4
+ import { Logger } from '../../types/logger';
5
+ export declare const getBlacklists: (novaDataSource: NovaDataSource, params: GetBlacklistsParams, logger: Logger) => Promise<Blacklist[]>;
@@ -0,0 +1,25 @@
1
+ import { Blacklist, BlacklistType } from '../../entities';
2
+ export const getBlacklists = async (novaDataSource, params, logger) => {
3
+ if (!params?.filters?.blacklistType && !params?.filters?.value) {
4
+ logger.warn({ params }, 'BlacklistRepository::getBlacklists - missing required parameters');
5
+ return [];
6
+ }
7
+ // Force the query to run on master or slave
8
+ const dbQueryRunner = novaDataSource.createQueryRunnerFromParams(params);
9
+ return novaDataSource.safeQuery(async (dataSource, queryRunner) => {
10
+ const blacklistRepository = dataSource.getRepository(Blacklist);
11
+ const queryBuilder = blacklistRepository
12
+ .createQueryBuilder('blacklist')
13
+ .innerJoin(BlacklistType, 'blacklistType', 'blacklistType.id = blacklist.blacklistTypeId')
14
+ .where('blacklist.blacklistTypeId = :blacklistType', {
15
+ blacklistType: params.filters.blacklistType,
16
+ })
17
+ .andWhere('LOWER(blacklist.value) = LOWER(:value)', { value: params.filters.value });
18
+ if (queryRunner) {
19
+ queryBuilder.setQueryRunner(queryRunner);
20
+ }
21
+ const result = await queryBuilder.getMany();
22
+ return result;
23
+ }, 'BlacklistRepository::getBlacklists', dbQueryRunner);
24
+ };
25
+ //# sourceMappingURL=getBlacklists.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getBlacklists.js","sourceRoot":"","sources":["../../../src/repositories/blacklist/getBlacklists.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAA;AAKzD,MAAM,CAAC,MAAM,aAAa,GAAG,KAAK,EAChC,cAA8B,EAC9B,MAA2B,EAC3B,MAAc,EACQ,EAAE;IACxB,IAAI,CAAC,MAAM,EAAE,OAAO,EAAE,aAAa,IAAI,CAAC,MAAM,EAAE,OAAO,EAAE,KAAK,EAAE;QAC9D,MAAM,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,EAAE,kEAAkE,CAAC,CAAA;QAC3F,OAAO,EAAE,CAAA;KACV;IAED,4CAA4C;IAC5C,MAAM,aAAa,GAAG,cAAc,CAAC,2BAA2B,CAAC,MAAM,CAAC,CAAA;IAExE,OAAO,cAAc,CAAC,SAAS,CAC7B,KAAK,EAAE,UAA0B,EAAE,WAAyB,EAAwB,EAAE;QACpF,MAAM,mBAAmB,GAAG,UAAU,CAAC,aAAa,CAAC,SAAS,CAAC,CAAA;QAE/D,MAAM,YAAY,GAAG,mBAAmB;aACrC,kBAAkB,CAAC,WAAW,CAAC;aAC/B,SAAS,CAAC,aAAa,EAAE,eAAe,EAAE,8CAA8C,CAAC;aACzF,KAAK,CAAC,4CAA4C,EAAE;YACnD,aAAa,EAAE,MAAM,CAAC,OAAO,CAAC,aAAa;SAC5C,CAAC;aACD,QAAQ,CAAC,wCAAwC,EAAE,EAAE,KAAK,EAAE,MAAM,CAAC,OAAO,CAAC,KAAK,EAAE,CAAC,CAAA;QAEtF,IAAI,WAAW,EAAE;YACf,YAAY,CAAC,cAAc,CAAC,WAAW,CAAC,CAAA;SACzC;QAED,MAAM,MAAM,GAAG,MAAM,YAAY,CAAC,OAAO,EAAE,CAAA;QAE3C,OAAO,MAAM,CAAA;IACf,CAAC,EACD,oCAAoC,EACpC,aAAa,CACd,CAAA;AACH,CAAC,CAAA"}
@@ -1,43 +1,43 @@
1
- import { Blacklist } from '../../entities';
2
- import { DeleteBlacklistParams, GetBlacklistsParams, UpdateBlacklistParams, UpsertBlacklistParams } from '../../types/blacklist';
3
- import { BaseRepository } from '../baseRepository';
4
- export declare class BlacklistRepository extends BaseRepository {
5
- /**
6
- * Get blacklists
7
- * @param {GetBlacklistsParams} params containing information to get blacklists
8
- * - filters.blacklistType The blacklist type
9
- * - filters.value The value
10
- * @returns The blacklists information
11
- */
12
- getBlacklists(params: GetBlacklistsParams): Promise<Blacklist[]>;
13
- /**
14
- * Upsert blacklist
15
- * @param {UpsertBlacklistParams} params containing information to upsert blacklist
16
- * - blacklistTypeId The blacklist type id
17
- * - value The value
18
- * - notes The notes
19
- * - createdBy The created by
20
- * @returns The upserted blacklist information
21
- */
22
- upsertBlacklist(params: UpsertBlacklistParams): Promise<Blacklist>;
23
- /**
24
- * Update blacklist
25
- * @param {UpdateBlacklistParams} params containing information to update blacklist
26
- * - filters.blacklistTypeId The blacklist type id
27
- * - filters.value The value
28
- * - values.blacklistTypeId The blacklist type id
29
- * - values.value The value
30
- * - values.notes The notes
31
- * - values.modifiedBy The modified by
32
- * @returns Whether the blacklist was updated
33
- */
34
- updateBlacklist(params: UpdateBlacklistParams): Promise<boolean>;
35
- /**
36
- * Delete blacklist
37
- * @param {DeleteBlacklistParams} params containing information to delete blacklist
38
- * - filters.blacklistTypeId The blacklist type id
39
- * - filters.value The value
40
- * @returns Whether the blacklist was deleted
41
- */
42
- deleteBlacklist(params: DeleteBlacklistParams): Promise<boolean>;
43
- }
1
+ import { Blacklist } from '../../entities';
2
+ import { DeleteBlacklistParams, GetBlacklistsParams, UpdateBlacklistParams, UpsertBlacklistParams } from '../../types/blacklist';
3
+ import { BaseRepository } from '../baseRepository';
4
+ export declare class BlacklistRepository extends BaseRepository {
5
+ /**
6
+ * Get blacklists
7
+ * @param {GetBlacklistsParams} params containing information to get blacklists
8
+ * - filters.blacklistType The blacklist type
9
+ * - filters.value The value
10
+ * @returns The blacklists information
11
+ */
12
+ getBlacklists(params: GetBlacklistsParams): Promise<Blacklist[]>;
13
+ /**
14
+ * Upsert blacklist
15
+ * @param {UpsertBlacklistParams} params containing information to upsert blacklist
16
+ * - blacklistTypeId The blacklist type id
17
+ * - value The value
18
+ * - notes The notes
19
+ * - createdBy The created by
20
+ * @returns The upserted blacklist information
21
+ */
22
+ upsertBlacklist(params: UpsertBlacklistParams): Promise<Blacklist>;
23
+ /**
24
+ * Update blacklist
25
+ * @param {UpdateBlacklistParams} params containing information to update blacklist
26
+ * - filters.blacklistTypeId The blacklist type id
27
+ * - filters.value The value
28
+ * - values.blacklistTypeId The blacklist type id
29
+ * - values.value The value
30
+ * - values.notes The notes
31
+ * - values.modifiedBy The modified by
32
+ * @returns Whether the blacklist was updated
33
+ */
34
+ updateBlacklist(params: UpdateBlacklistParams): Promise<boolean>;
35
+ /**
36
+ * Delete blacklist
37
+ * @param {DeleteBlacklistParams} params containing information to delete blacklist
38
+ * - filters.blacklistTypeId The blacklist type id
39
+ * - filters.value The value
40
+ * @returns Whether the blacklist was deleted
41
+ */
42
+ deleteBlacklist(params: DeleteBlacklistParams): Promise<boolean>;
43
+ }
@@ -0,0 +1,71 @@
1
+ import { NovaDataSource } from '../../novaDataSource';
2
+ import { BaseRepository } from '../baseRepository';
3
+ import { deleteBlackList } from './deleteBlackList';
4
+ import { getBlacklists } from './getBlacklists';
5
+ import { updateBlackList } from './updateBlackList';
6
+ import { upsertBlackList } from './upsertBlackList';
7
+ export class BlacklistRepository extends BaseRepository {
8
+ /**
9
+ * Get blacklists
10
+ * @param {GetBlacklistsParams} params containing information to get blacklists
11
+ * - filters.blacklistType The blacklist type
12
+ * - filters.value The value
13
+ * @returns The blacklists information
14
+ */
15
+ async getBlacklists(params) {
16
+ this.logger.trace(params, 'BlacklistRepository::getBlacklists started with params');
17
+ const novaDataSource = new NovaDataSource(this.novaDataSourceConfig, this.logger, this.replicaNovaDataSourceConfig);
18
+ const result = await getBlacklists(novaDataSource, params, this.logger);
19
+ this.logger.trace(result, 'BlacklistRepository::getBlacklists result');
20
+ return result;
21
+ }
22
+ /**
23
+ * Upsert blacklist
24
+ * @param {UpsertBlacklistParams} params containing information to upsert blacklist
25
+ * - blacklistTypeId The blacklist type id
26
+ * - value The value
27
+ * - notes The notes
28
+ * - createdBy The created by
29
+ * @returns The upserted blacklist information
30
+ */
31
+ async upsertBlacklist(params) {
32
+ this.logger.trace(params, 'BlacklistRepository::upsertBlacklist started with params');
33
+ const novaDataSource = new NovaDataSource(this.novaDataSourceConfig, this.logger, this.replicaNovaDataSourceConfig);
34
+ const result = await upsertBlackList(novaDataSource, params, this.logger);
35
+ this.logger.trace(result, 'BlacklistRepository::upsertBlacklist result');
36
+ return result;
37
+ }
38
+ /**
39
+ * Update blacklist
40
+ * @param {UpdateBlacklistParams} params containing information to update blacklist
41
+ * - filters.blacklistTypeId The blacklist type id
42
+ * - filters.value The value
43
+ * - values.blacklistTypeId The blacklist type id
44
+ * - values.value The value
45
+ * - values.notes The notes
46
+ * - values.modifiedBy The modified by
47
+ * @returns Whether the blacklist was updated
48
+ */
49
+ async updateBlacklist(params) {
50
+ this.logger.trace(params, 'BlacklistRepository::updateBlacklist started with params');
51
+ const novaDataSource = new NovaDataSource(this.novaDataSourceConfig, this.logger, this.replicaNovaDataSourceConfig);
52
+ const result = await updateBlackList(novaDataSource, params, this.logger);
53
+ this.logger.trace({ result }, 'BlacklistRepository::updateBlacklist result');
54
+ return result;
55
+ }
56
+ /**
57
+ * Delete blacklist
58
+ * @param {DeleteBlacklistParams} params containing information to delete blacklist
59
+ * - filters.blacklistTypeId The blacklist type id
60
+ * - filters.value The value
61
+ * @returns Whether the blacklist was deleted
62
+ */
63
+ async deleteBlacklist(params) {
64
+ this.logger.trace(params, 'BlacklistRepository::deleteBlacklist started with params');
65
+ const novaDataSource = new NovaDataSource(this.novaDataSourceConfig, this.logger, this.replicaNovaDataSourceConfig);
66
+ const result = await deleteBlackList(novaDataSource, params, this.logger);
67
+ this.logger.trace({ result }, 'BlacklistRepository::deleteBlacklist result');
68
+ return result;
69
+ }
70
+ }
71
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/repositories/blacklist/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAA;AAOrD,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAA;AAClD,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA;AACnD,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAA;AAC/C,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA;AACnD,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA;AAEnD,MAAM,OAAO,mBAAoB,SAAQ,cAAc;IACrD;;;;;;OAMG;IACH,KAAK,CAAC,aAAa,CAAC,MAA2B;QAC7C,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,EAAE,wDAAwD,CAAC,CAAA;QAEnF,MAAM,cAAc,GAAG,IAAI,cAAc,CACvC,IAAI,CAAC,oBAAoB,EACzB,IAAI,CAAC,MAAM,EACX,IAAI,CAAC,2BAA2B,CACjC,CAAA;QAED,MAAM,MAAM,GAAG,MAAM,aAAa,CAAC,cAAc,EAAE,MAAM,EAAE,IAAI,CAAC,MAAM,CAAC,CAAA;QAEvE,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,EAAE,2CAA2C,CAAC,CAAA;QAEtE,OAAO,MAAM,CAAA;IACf,CAAC;IAED;;;;;;;;OAQG;IACH,KAAK,CAAC,eAAe,CAAC,MAA6B;QACjD,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,EAAE,0DAA0D,CAAC,CAAA;QAErF,MAAM,cAAc,GAAG,IAAI,cAAc,CACvC,IAAI,CAAC,oBAAoB,EACzB,IAAI,CAAC,MAAM,EACX,IAAI,CAAC,2BAA2B,CACjC,CAAA;QAED,MAAM,MAAM,GAAG,MAAM,eAAe,CAAC,cAAc,EAAE,MAAM,EAAE,IAAI,CAAC,MAAM,CAAC,CAAA;QAEzE,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,EAAE,6CAA6C,CAAC,CAAA;QAExE,OAAO,MAAM,CAAA;IACf,CAAC;IAED;;;;;;;;;;OAUG;IACH,KAAK,CAAC,eAAe,CAAC,MAA6B;QACjD,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,EAAE,0DAA0D,CAAC,CAAA;QAErF,MAAM,cAAc,GAAG,IAAI,cAAc,CACvC,IAAI,CAAC,oBAAoB,EACzB,IAAI,CAAC,MAAM,EACX,IAAI,CAAC,2BAA2B,CACjC,CAAA;QAED,MAAM,MAAM,GAAG,MAAM,eAAe,CAAC,cAAc,EAAE,MAAM,EAAE,IAAI,CAAC,MAAM,CAAC,CAAA;QAEzE,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,EAAE,MAAM,EAAE,EAAE,6CAA6C,CAAC,CAAA;QAE5E,OAAO,MAAM,CAAA;IACf,CAAC;IAED;;;;;;OAMG;IACH,KAAK,CAAC,eAAe,CAAC,MAA6B;QACjD,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,EAAE,0DAA0D,CAAC,CAAA;QAErF,MAAM,cAAc,GAAG,IAAI,cAAc,CACvC,IAAI,CAAC,oBAAoB,EACzB,IAAI,CAAC,MAAM,EACX,IAAI,CAAC,2BAA2B,CACjC,CAAA;QAED,MAAM,MAAM,GAAG,MAAM,eAAe,CAAC,cAAc,EAAE,MAAM,EAAE,IAAI,CAAC,MAAM,CAAC,CAAA;QAEzE,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,EAAE,MAAM,EAAE,EAAE,6CAA6C,CAAC,CAAA;QAE5E,OAAO,MAAM,CAAA;IACf,CAAC;CACF"}
@@ -1,4 +1,4 @@
1
- import { NovaDataSource } from '../../novaDataSource';
2
- import { UpdateBlacklistParams } from '../../types/blacklist';
3
- import { Logger } from '../../types/logger';
4
- export declare const updateBlackList: (novaDataSource: NovaDataSource, params: UpdateBlacklistParams, logger: Logger) => Promise<boolean>;
1
+ import { NovaDataSource } from '../../novaDataSource';
2
+ import { UpdateBlacklistParams } from '../../types/blacklist';
3
+ import { Logger } from '../../types/logger';
4
+ export declare const updateBlackList: (novaDataSource: NovaDataSource, params: UpdateBlacklistParams, logger: Logger) => Promise<boolean>;