@spytecgps/nova-orm 1.3.5 → 1.3.6

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 (544) hide show
  1. package/dist/entities/acumaticaAmazonProduct.d.ts +8 -8
  2. package/dist/entities/acumaticaImeiIccidData.d.ts +17 -17
  3. package/dist/entities/acumaticaOrderShipmentDetails.d.ts +11 -11
  4. package/dist/entities/acumaticaShipment.d.ts +5 -5
  5. package/dist/entities/acumaticaShipmentAmazon.d.ts +4 -4
  6. package/dist/entities/aempToken.d.ts +10 -10
  7. package/dist/entities/airflow/airflowAcumaticaExportImeiIccidData.d.ts +15 -15
  8. package/dist/entities/airflow/airflowAcumaticaExportOrderShipmentDetails.d.ts +28 -28
  9. package/dist/entities/airflow/airflowAcumaticaShipmentsAmazon.d.ts +7 -7
  10. package/dist/entities/alert.d.ts +28 -28
  11. package/dist/entities/alertType.d.ts +14 -14
  12. package/dist/entities/appFeatureType.d.ts +6 -6
  13. package/dist/entities/asinPromotion.d.ts +7 -7
  14. package/dist/entities/assetCategory.d.ts +5 -5
  15. package/dist/entities/beaconBleMesh.d.ts +11 -11
  16. package/dist/entities/billing.d.ts +20 -20
  17. package/dist/entities/billingCustomerAmazon.d.ts +14 -14
  18. package/dist/entities/billingCustomerBraintree.d.ts +11 -11
  19. package/dist/entities/billingDeviceHistory.d.ts +11 -11
  20. package/dist/entities/billingDeviceTypePlan.d.ts +12 -12
  21. package/dist/entities/billingHubspotPaymentLog.d.ts +50 -50
  22. package/dist/entities/billingKlarnaCustomer.d.ts +14 -14
  23. package/dist/entities/billingKlarnaOrder.d.ts +17 -17
  24. package/dist/entities/billingPlanFeatures.d.ts +6 -6
  25. package/dist/entities/billingPlans.d.ts +22 -22
  26. package/dist/entities/billingStatusHistoryBraintree.d.ts +10 -10
  27. package/dist/entities/billingSubscriptionAmazon.d.ts +22 -22
  28. package/dist/entities/billingSubscriptionBraintree.d.ts +34 -34
  29. package/dist/entities/blacklist.d.ts +9 -9
  30. package/dist/entities/blacklistType.d.ts +5 -5
  31. package/dist/entities/bleMesh.d.ts +15 -15
  32. package/dist/entities/bleMeshConfiguration.d.ts +9 -9
  33. package/dist/entities/boundary.d.ts +23 -23
  34. package/dist/entities/boundaryEvent.d.ts +20 -20
  35. package/dist/entities/cellTower.d.ts +12 -12
  36. package/dist/entities/client.d.ts +34 -34
  37. package/dist/entities/clientAlertConfiguration.d.ts +20 -20
  38. package/dist/entities/clientAlertRecipient.d.ts +16 -16
  39. package/dist/entities/clientAppFeature.d.ts +9 -9
  40. package/dist/entities/clientConfiguration.d.ts +9 -9
  41. package/dist/entities/clientDeviceSetting.d.ts +14 -14
  42. package/dist/entities/clientIngestorConfiguration.d.ts +8 -8
  43. package/dist/entities/clientType.d.ts +6 -6
  44. package/dist/entities/country.d.ts +16 -16
  45. package/dist/entities/customerAttribute.d.ts +15 -15
  46. package/dist/entities/dataExport.d.ts +17 -17
  47. package/dist/entities/dataSourceType.d.ts +5 -5
  48. package/dist/entities/deactivation.d.ts +14 -14
  49. package/dist/entities/deactivationReason.d.ts +6 -6
  50. package/dist/entities/device.d.ts +38 -38
  51. package/dist/entities/deviceBehavior.d.ts +25 -25
  52. package/dist/entities/deviceBleMesh.d.ts +14 -14
  53. package/dist/entities/deviceBleMeshUpdateTask.d.ts +18 -18
  54. package/dist/entities/deviceChangesHistory.d.ts +8 -8
  55. package/dist/entities/deviceCustomConfiguration.d.ts +13 -13
  56. package/dist/entities/deviceHistory.d.ts +8 -8
  57. package/dist/entities/deviceModelListener.d.ts +8 -8
  58. package/dist/entities/devicePairing.d.ts +14 -14
  59. package/dist/entities/devicePromotion.d.ts +7 -7
  60. package/dist/entities/deviceReplacement.d.ts +12 -12
  61. package/dist/entities/deviceStatus.d.ts +13 -13
  62. package/dist/entities/deviceTask.d.ts +8 -8
  63. package/dist/entities/deviceType.d.ts +27 -27
  64. package/dist/entities/deviceTypeFeature.d.ts +5 -5
  65. package/dist/entities/deviceTypeFirmware.d.ts +21 -21
  66. package/dist/entities/deviceTypePromotion.d.ts +7 -7
  67. package/dist/entities/emailDomain.d.ts +5 -5
  68. package/dist/entities/entityTag.d.ts +12 -12
  69. package/dist/entities/entityType.d.ts +5 -5
  70. package/dist/entities/feature.d.ts +6 -6
  71. package/dist/entities/firmwareAutoUpgradeBlacklist.d.ts +5 -5
  72. package/dist/entities/firmwareUpgradeTask.d.ts +23 -23
  73. package/dist/entities/historicalBillingPlan.d.ts +21 -21
  74. package/dist/entities/iccidStatus.d.ts +7 -7
  75. package/dist/entities/imeiIccidCarrier.d.ts +23 -23
  76. package/dist/entities/imeiIccidHistory.d.ts +7 -7
  77. package/dist/entities/imeiIccidImport.d.ts +5 -5
  78. package/dist/entities/index.d.ts +121 -121
  79. package/dist/entities/industry.d.ts +8 -8
  80. package/dist/entities/latestPosition.d.ts +21 -21
  81. package/dist/entities/latestUserAppInfo.d.ts +9 -9
  82. package/dist/entities/liveLink.d.ts +17 -17
  83. package/dist/entities/magento2Gps.d.ts +50 -50
  84. package/dist/entities/magento2Plan.d.ts +6 -6
  85. package/dist/entities/marketplacePromotion.d.ts +7 -7
  86. package/dist/entities/mobileNetwork.d.ts +9 -9
  87. package/dist/entities/notificationRecipient.d.ts +23 -23
  88. package/dist/entities/orderShipmentInternational.d.ts +12 -12
  89. package/dist/entities/organization.d.ts +10 -10
  90. package/dist/entities/plan.d.ts +16 -16
  91. package/dist/entities/position.d.ts +21 -21
  92. package/dist/entities/promotion.d.ts +24 -24
  93. package/dist/entities/promotionHistory.d.ts +12 -12
  94. package/dist/entities/region.d.ts +10 -10
  95. package/dist/entities/securityRole.d.ts +10 -10
  96. package/dist/entities/serviceProvider.d.ts +7 -7
  97. package/dist/entities/serviceProviderProduct.d.ts +9 -9
  98. package/dist/entities/serviceProviderProductNetwork.d.ts +5 -5
  99. package/dist/entities/serviceProviderProductType.d.ts +5 -5
  100. package/dist/entities/sim.d.ts +16 -16
  101. package/dist/entities/tag.d.ts +12 -12
  102. package/dist/entities/task.d.ts +36 -36
  103. package/dist/entities/taskSchedule.d.ts +29 -29
  104. package/dist/entities/trip.d.ts +27 -27
  105. package/dist/entities/tripCompletionStatus.d.ts +6 -6
  106. package/dist/entities/tripPosition.d.ts +4 -4
  107. package/dist/entities/user.d.ts +48 -48
  108. package/dist/entities/userActivation.d.ts +10 -10
  109. package/dist/entities/userActivationDevice.d.ts +28 -28
  110. package/dist/entities/userActivationEvent.d.ts +13 -13
  111. package/dist/entities/userActivationMetric.d.ts +39 -39
  112. package/dist/entities/userAlertComplain.d.ts +18 -18
  113. package/dist/entities/userAlertConfiguration.d.ts +25 -25
  114. package/dist/entities/userAlertNotificationsConfig.d.ts +14 -14
  115. package/dist/entities/userAppFeedback.d.ts +11 -11
  116. package/dist/entities/userAppIncident.d.ts +30 -30
  117. package/dist/entities/userAuthorizedBoundary.d.ts +9 -9
  118. package/dist/entities/userAuthorizedDevice.d.ts +9 -9
  119. package/dist/entities/userConfiguration.d.ts +21 -21
  120. package/dist/entities/userDataDeletionRequest.d.ts +12 -12
  121. package/dist/entities/userDeviceBehaviorTask.d.ts +16 -16
  122. package/dist/entities/userInvitation.d.ts +21 -21
  123. package/dist/entities/userRatingRequest.d.ts +14 -14
  124. package/dist/entities/userRegistrationAttempt.d.ts +36 -36
  125. package/dist/entities/userSecurityRole.d.ts +12 -12
  126. package/dist/index.d.ts +26 -26
  127. package/dist/index.js +1 -1
  128. package/dist/migration/1684483704434-addLowerCaseIndex.d.ts +5 -5
  129. package/dist/novaDataSource.d.ts +88 -88
  130. package/dist/repositories/acumatica/getAcumaticaImeiIccidData.d.ts +5 -5
  131. package/dist/repositories/acumatica/getAcumaticaShipmentAmazon.d.ts +5 -5
  132. package/dist/repositories/acumatica/getAcumaticaShipmentDetails.d.ts +4 -4
  133. package/dist/repositories/acumatica/getLastAcumaticaShipmentDetails.d.ts +4 -4
  134. package/dist/repositories/acumatica/getOrderShipmentInternational.d.ts +5 -5
  135. package/dist/repositories/acumatica/index.d.ts +47 -47
  136. package/dist/repositories/aempToken/createAempToken.d.ts +5 -5
  137. package/dist/repositories/aempToken/deleteAempTokens.d.ts +4 -4
  138. package/dist/repositories/aempToken/getAempTokens.d.ts +5 -5
  139. package/dist/repositories/aempToken/index.d.ts +33 -33
  140. package/dist/repositories/alertTypes/getAlertTypes.d.ts +4 -4
  141. package/dist/repositories/alertTypes/index.d.ts +6 -6
  142. package/dist/repositories/alerts/createAlert.d.ts +6 -6
  143. package/dist/repositories/alerts/createUserAlertComplain.d.ts +4 -4
  144. package/dist/repositories/alerts/getAlertsReportByClient.d.ts +7 -7
  145. package/dist/repositories/alerts/getAlertsReportByUser.d.ts +4 -4
  146. package/dist/repositories/alerts/index.d.ts +78 -78
  147. package/dist/repositories/appFeatures/createAppFeatureType.d.ts +5 -5
  148. package/dist/repositories/appFeatures/createClientAppFeature.d.ts +5 -5
  149. package/dist/repositories/appFeatures/getClientAppFeatures.d.ts +5 -5
  150. package/dist/repositories/appFeatures/index.d.ts +37 -37
  151. package/dist/repositories/assetCategories/getAssetCategories.d.ts +3 -3
  152. package/dist/repositories/assetCategories/index.d.ts +9 -9
  153. package/dist/repositories/baseRepository.d.ts +21 -21
  154. package/dist/repositories/billing/createBilling.d.ts +5 -5
  155. package/dist/repositories/billing/createBillingDeviceHistory.d.ts +5 -5
  156. package/dist/repositories/billing/createBillingHubspotPaymentLog.d.ts +5 -5
  157. package/dist/repositories/billing/createBillingStatusHistoryBraintree.d.ts +5 -5
  158. package/dist/repositories/billing/getBillingCustomerBraintreeById.d.ts +5 -5
  159. package/dist/repositories/billing/getBillingDeviceTypePlans.d.ts +5 -5
  160. package/dist/repositories/billing/getBillingKlarnaOrderByImei.d.ts +5 -5
  161. package/dist/repositories/billing/getBillingPlans.d.ts +4 -4
  162. package/dist/repositories/billing/getBillingSubscriptionBraintreeByImei.d.ts +5 -5
  163. package/dist/repositories/billing/getBillingSubscriptionsBraintree.d.ts +5 -5
  164. package/dist/repositories/billing/getBillings.d.ts +5 -5
  165. package/dist/repositories/billing/getBraintreePastDueSubscriptions.d.ts +4 -4
  166. package/dist/repositories/billing/getCanceledImeis.d.ts +4 -4
  167. package/dist/repositories/billing/getCanceledImeisMatchingMagentoData.d.ts +4 -4
  168. package/dist/repositories/billing/getChurnStatusByClientId.d.ts +4 -4
  169. package/dist/repositories/billing/getClientIdFromBraintreeCustomer.d.ts +4 -4
  170. package/dist/repositories/billing/getMagentoPlan.d.ts +5 -5
  171. package/dist/repositories/billing/getUserByBraintreeCustomerId.d.ts +5 -5
  172. package/dist/repositories/billing/index.d.ts +243 -243
  173. package/dist/repositories/billing/updateBilling.d.ts +4 -4
  174. package/dist/repositories/billing/updateBillingCustomerBraintree.d.ts +4 -4
  175. package/dist/repositories/billing/upsertBillingCustomerBraintree.d.ts +5 -5
  176. package/dist/repositories/billing/upsertBillingDeviceTypePlan.d.ts +5 -5
  177. package/dist/repositories/billing/upsertBillingKlarnaCustomer.d.ts +5 -5
  178. package/dist/repositories/billing/upsertBillingKlarnaOrder.d.ts +5 -5
  179. package/dist/repositories/billing/upsertBillingPlans.d.ts +5 -5
  180. package/dist/repositories/billing/upsertBillingSubscriptionBraintree.d.ts +4 -4
  181. package/dist/repositories/blacklist/deleteBlackList.d.ts +4 -4
  182. package/dist/repositories/blacklist/getBlacklists.d.ts +5 -5
  183. package/dist/repositories/blacklist/index.d.ts +43 -43
  184. package/dist/repositories/blacklist/updateBlackList.d.ts +4 -4
  185. package/dist/repositories/blacklist/upsertBlackList.d.ts +5 -5
  186. package/dist/repositories/bleMesh/addBeaconBLEMesh.d.ts +5 -5
  187. package/dist/repositories/bleMesh/addDevicesToBLEMesh.d.ts +5 -5
  188. package/dist/repositories/bleMesh/createBLEMesh.d.ts +5 -5
  189. package/dist/repositories/bleMesh/createDeviceBLEMeshUpdateTask.d.ts +5 -5
  190. package/dist/repositories/bleMesh/getBLEMeshes.d.ts +4 -4
  191. package/dist/repositories/bleMesh/getBeaconBLEMeshes.d.ts +4 -4
  192. package/dist/repositories/bleMesh/getDeviceBLEMeshUpdateTasks.d.ts +4 -4
  193. package/dist/repositories/bleMesh/getDeviceBLEMeshes.d.ts +4 -4
  194. package/dist/repositories/bleMesh/index.d.ts +157 -157
  195. package/dist/repositories/bleMesh/removeBLEMesh.d.ts +4 -4
  196. package/dist/repositories/bleMesh/removeBeaconBLEMeshes.d.ts +4 -4
  197. package/dist/repositories/bleMesh/removeBeaconsFromBLEMesh.d.ts +4 -4
  198. package/dist/repositories/bleMesh/removeDevicesFromBLEMesh.d.ts +4 -4
  199. package/dist/repositories/bleMesh/updateBLEMesh.d.ts +4 -4
  200. package/dist/repositories/bleMesh/updateBeaconBLEMesh.d.ts +4 -4
  201. package/dist/repositories/bleMesh/updateDevicesBLEMesh.d.ts +4 -4
  202. package/dist/repositories/bleMesh/updateDevicesBLEMeshUpdateTask.d.ts +4 -4
  203. package/dist/repositories/bleMeshConfiguration/createBLEMeshConfigurationParams.d.ts +5 -5
  204. package/dist/repositories/bleMeshConfiguration/deleteBLEMeshConfiguration.d.ts +4 -4
  205. package/dist/repositories/bleMeshConfiguration/getBLEMeshConfiguration.d.ts +5 -5
  206. package/dist/repositories/bleMeshConfiguration/index.d.ts +46 -46
  207. package/dist/repositories/bleMeshConfiguration/updateBLEMeshConfiguration.d.ts +4 -4
  208. package/dist/repositories/boundaries/createBoundary.d.ts +5 -5
  209. package/dist/repositories/boundaries/deleteBoundary.d.ts +4 -4
  210. package/dist/repositories/boundaries/getBoundariesByClientId.d.ts +5 -5
  211. package/dist/repositories/boundaries/getBoundariesIdsByClientId.d.ts +4 -4
  212. package/dist/repositories/boundaries/getBoundariesReport.d.ts +4 -4
  213. package/dist/repositories/boundaries/getBoundaryById.d.ts +5 -5
  214. package/dist/repositories/boundaries/index.d.ts +106 -106
  215. package/dist/repositories/boundaries/processBoundaryEvent.d.ts +4 -4
  216. package/dist/repositories/boundaries/updateBoundary.d.ts +4 -4
  217. package/dist/repositories/boundaries/upsertBoundaryEvent.d.ts +4 -4
  218. package/dist/repositories/clientAlertConfiguration/createClientAlertConfiguration.d.ts +5 -5
  219. package/dist/repositories/clientAlertConfiguration/deleteClientAlertConfiguration.d.ts +4 -4
  220. package/dist/repositories/clientAlertConfiguration/getClientAlertConfigurations.d.ts +5 -5
  221. package/dist/repositories/clientAlertConfiguration/getClientAlertRecipients.d.ts +4 -4
  222. package/dist/repositories/clientAlertConfiguration/getUsersDataForClientAlertConfig.d.ts +4 -4
  223. package/dist/repositories/clientAlertConfiguration/index.d.ts +13 -13
  224. package/dist/repositories/clientAlertConfiguration/isUserAllowedForAlertConfig.d.ts +4 -4
  225. package/dist/repositories/clientAlertConfiguration/setClientAlertRecipients.d.ts +4 -4
  226. package/dist/repositories/clientAlertConfiguration/updateClientAlertConfiguration.d.ts +4 -4
  227. package/dist/repositories/clients/createClient.d.ts +5 -5
  228. package/dist/repositories/clients/createClientConfiguration.d.ts +5 -5
  229. package/dist/repositories/clients/createClientIngestorConfiguration.d.ts +5 -5
  230. package/dist/repositories/clients/createCustomerAttribute.d.ts +5 -5
  231. package/dist/repositories/clients/deleteClientAndConfiguration.d.ts +4 -4
  232. package/dist/repositories/clients/getClient.d.ts +5 -5
  233. package/dist/repositories/clients/getClientConfiguration.d.ts +5 -5
  234. package/dist/repositories/clients/getClientIngestorConfigurations.d.ts +4 -4
  235. package/dist/repositories/clients/getClients.d.ts +5 -5
  236. package/dist/repositories/clients/getCustomerAttribute.d.ts +5 -5
  237. package/dist/repositories/clients/index.d.ts +138 -138
  238. package/dist/repositories/clients/updateClient.d.ts +4 -4
  239. package/dist/repositories/clients/updateClientConfiguration.d.ts +4 -4
  240. package/dist/repositories/clients/updateCustomerAttribute.d.ts +4 -4
  241. package/dist/repositories/countries/getCountries.d.ts +4 -4
  242. package/dist/repositories/countries/getCountry.d.ts +5 -5
  243. package/dist/repositories/countries/index.d.ts +20 -20
  244. package/dist/repositories/dataExports/createDataExports.d.ts +5 -5
  245. package/dist/repositories/dataExports/getDataExports.d.ts +4 -4
  246. package/dist/repositories/dataExports/index.d.ts +38 -38
  247. package/dist/repositories/dataExports/updateDataExports.d.ts +4 -4
  248. package/dist/repositories/deactivations/createDeactivation.d.ts +5 -5
  249. package/dist/repositories/deactivations/getDeactivationReasons.d.ts +5 -5
  250. package/dist/repositories/deactivations/getLatestDeactivationByImei.d.ts +5 -5
  251. package/dist/repositories/deactivations/index.d.ts +38 -38
  252. package/dist/repositories/deviceBehaviors/createDeviceBehaviorTask.d.ts +5 -5
  253. package/dist/repositories/deviceBehaviors/getDeviceBehaviorTasks.d.ts +5 -5
  254. package/dist/repositories/deviceBehaviors/getDeviceBehaviors.d.ts +5 -5
  255. package/dist/repositories/deviceBehaviors/getDeviceBehaviorsByIds.d.ts +5 -5
  256. package/dist/repositories/deviceBehaviors/index.d.ts +70 -70
  257. package/dist/repositories/deviceBehaviors/updateDeviceBehaviorTask.d.ts +4 -4
  258. package/dist/repositories/deviceBehaviors/upsertDeviceBehavior.d.ts +5 -5
  259. package/dist/repositories/devicePairings/createDevicePairing.d.ts +5 -5
  260. package/dist/repositories/devicePairings/deleteDevicePairing.d.ts +4 -4
  261. package/dist/repositories/devicePairings/getDevicePairings.d.ts +5 -5
  262. package/dist/repositories/devicePairings/getDevicePairingsByClientId.d.ts +5 -5
  263. package/dist/repositories/devicePairings/getDevicePairingsByImei.d.ts +5 -5
  264. package/dist/repositories/devicePairings/index.d.ts +65 -65
  265. package/dist/repositories/devicePairings/updateDevicePairing.d.ts +4 -4
  266. package/dist/repositories/deviceStatus/extendedDeviceStatus.d.ts +12 -12
  267. package/dist/repositories/deviceStatus/getDeviceStatuses.d.ts +4 -4
  268. package/dist/repositories/deviceStatus/getDeviceStatusesCount.d.ts +4 -4
  269. package/dist/repositories/deviceStatus/index.d.ts +35 -35
  270. package/dist/repositories/deviceStatus/upsertDeviceStatuses.d.ts +4 -4
  271. package/dist/repositories/deviceTypeFeature/bulkCreateDeviceTypeFeature.d.ts +5 -5
  272. package/dist/repositories/deviceTypeFeature/deleteDeviceTypeFeature.d.ts +4 -4
  273. package/dist/repositories/deviceTypeFeature/getDeviceTypeFeatures.d.ts +4 -4
  274. package/dist/repositories/deviceTypeFeature/index.d.ts +27 -27
  275. package/dist/repositories/devices/addDeviceChangesHistory.d.ts +5 -5
  276. package/dist/repositories/devices/allImeisAreActiveForClient.d.ts +4 -4
  277. package/dist/repositories/devices/createClientDeviceSetting.d.ts +5 -5
  278. package/dist/repositories/devices/createDevice.d.ts +5 -5
  279. package/dist/repositories/devices/createDeviceReplacement.d.ts +5 -5
  280. package/dist/repositories/devices/createDeviceType.d.ts +5 -5
  281. package/dist/repositories/devices/createImeiIccidCarrier.d.ts +5 -5
  282. package/dist/repositories/devices/deleteDevice.d.ts +4 -4
  283. package/dist/repositories/devices/generateDeviceIdentifierKey.d.ts +4 -4
  284. package/dist/repositories/devices/getCanceledDevicesWithActiveSimCards.d.ts +4 -4
  285. package/dist/repositories/devices/getCarrierStatusUpdatedBefore.d.ts +4 -4
  286. package/dist/repositories/devices/getClientDeviceSetting.d.ts +5 -5
  287. package/dist/repositories/devices/getClientDeviceSettings.d.ts +5 -5
  288. package/dist/repositories/devices/getDevice.d.ts +5 -5
  289. package/dist/repositories/devices/getDeviceChangesHistory.d.ts +5 -5
  290. package/dist/repositories/devices/getDeviceChangesHistoryAssignedToValuesByClient.d.ts +4 -4
  291. package/dist/repositories/devices/getDeviceCustomConfig.d.ts +5 -5
  292. package/dist/repositories/devices/getDeviceTypeByImei.d.ts +5 -5
  293. package/dist/repositories/devices/getDeviceTypes.d.ts +4 -4
  294. package/dist/repositories/devices/getDeviceTypesModelsOrderedByDeviceCount.d.ts +3 -3
  295. package/dist/repositories/devices/getDeviceWithUsersInfo.d.ts +4 -4
  296. package/dist/repositories/devices/getDevices.d.ts +5 -5
  297. package/dist/repositories/devices/getDevicesCountByStatus.d.ts +4 -4
  298. package/dist/repositories/devices/getFilteredImeisWithStatus.d.ts +4 -4
  299. package/dist/repositories/devices/getIccidStatus.d.ts +5 -5
  300. package/dist/repositories/devices/getImeiIccidCarrier.d.ts +5 -5
  301. package/dist/repositories/devices/getImeiIccidCarriers.d.ts +5 -5
  302. package/dist/repositories/devices/getServiceProviderProduct.d.ts +5 -5
  303. package/dist/repositories/devices/index.d.ts +331 -331
  304. package/dist/repositories/devices/updateClientDeviceSetting.d.ts +4 -4
  305. package/dist/repositories/devices/updateDevice.d.ts +4 -4
  306. package/dist/repositories/devices/updateDeviceType.d.ts +4 -4
  307. package/dist/repositories/devices/updateIccidStatus.d.ts +4 -4
  308. package/dist/repositories/devices/updateImeiIccidCarrier.d.ts +4 -4
  309. package/dist/repositories/devices/upsertDeviceCustomConfig.d.ts +4 -4
  310. package/dist/repositories/devices/upsertIccidStatus.d.ts +4 -4
  311. package/dist/repositories/entityTags/bulkCreateEntityTag.d.ts +5 -5
  312. package/dist/repositories/entityTags/bulkDeleteEntityTag.d.ts +4 -4
  313. package/dist/repositories/entityTags/createEntityTag.d.ts +5 -5
  314. package/dist/repositories/entityTags/deleteEntityTag.d.ts +4 -4
  315. package/dist/repositories/entityTags/deleteEntityTagById.d.ts +3 -3
  316. package/dist/repositories/entityTags/enforceEntityTagsByEntity.d.ts +4 -4
  317. package/dist/repositories/entityTags/getEntityTagById.d.ts +5 -5
  318. package/dist/repositories/entityTags/index.d.ts +48 -48
  319. package/dist/repositories/entityTags/searchEntityTags.d.ts +4 -4
  320. package/dist/repositories/features/createFeature.d.ts +5 -5
  321. package/dist/repositories/features/deleteFeature.d.ts +4 -4
  322. package/dist/repositories/features/getFeatures.d.ts +4 -4
  323. package/dist/repositories/features/index.d.ts +33 -33
  324. package/dist/repositories/features/upsertFeature.d.ts +4 -4
  325. package/dist/repositories/firmwares/createDeviceFirmware.d.ts +5 -5
  326. package/dist/repositories/firmwares/createFirmwareAutoUpgradeBlacklist.d.ts +5 -5
  327. package/dist/repositories/firmwares/createFirmwareUpgradeTask.d.ts +5 -5
  328. package/dist/repositories/firmwares/getDeviceFirmwares.d.ts +4 -4
  329. package/dist/repositories/firmwares/getFirmwareAutoUpgradeBlacklist.d.ts +5 -5
  330. package/dist/repositories/firmwares/getFirmwareUpgradeTasks.d.ts +5 -5
  331. package/dist/repositories/firmwares/getFirmwareUpgradeTasksCount.d.ts +4 -4
  332. package/dist/repositories/firmwares/index.d.ts +132 -132
  333. package/dist/repositories/firmwares/updateDeviceFirmware.d.ts +4 -4
  334. package/dist/repositories/firmwares/updateFirmwareUpgradeTasks.d.ts +4 -4
  335. package/dist/repositories/index.d.ts +42 -42
  336. package/dist/repositories/latestUserAppInfo/getLatestUserAppInfo.d.ts +5 -5
  337. package/dist/repositories/latestUserAppInfo/index.d.ts +23 -23
  338. package/dist/repositories/latestUserAppInfo/upsertLatestUserAppInfo.d.ts +4 -4
  339. package/dist/repositories/notificationRecipients/createNotificationRecipient.d.ts +5 -5
  340. package/dist/repositories/notificationRecipients/deleteNotificationRecipients.d.ts +4 -4
  341. package/dist/repositories/notificationRecipients/deleteNotificationRecipientsByEmailOrPhone.d.ts +4 -4
  342. package/dist/repositories/notificationRecipients/getNotificationRecipients.d.ts +5 -5
  343. package/dist/repositories/notificationRecipients/index.d.ts +83 -83
  344. package/dist/repositories/notificationRecipients/updateNotificationRecipient.d.ts +4 -4
  345. package/dist/repositories/notificationRecipients/updateUsersNotificationsUnsubscribedInfoStatus.d.ts +4 -4
  346. package/dist/repositories/notificationRecipients/updateUsersNotificationsUnsuscribedStatus.d.ts +4 -4
  347. package/dist/repositories/positions/createPosition.d.ts +6 -6
  348. package/dist/repositories/positions/getBatteryReportForDevice.d.ts +4 -4
  349. package/dist/repositories/positions/getLatestPositionByImei.d.ts +5 -5
  350. package/dist/repositories/positions/getPositionsByImei.d.ts +5 -5
  351. package/dist/repositories/positions/getPositionsReportByClient.d.ts +4 -4
  352. package/dist/repositories/positions/index.d.ts +69 -69
  353. package/dist/repositories/positions/mapping/mapToPositionReport.d.ts +5 -5
  354. package/dist/repositories/positions/upsertLatestPosition.d.ts +4 -4
  355. package/dist/repositories/promotions/bulkInsertDeviceTypePromotion.d.ts +5 -5
  356. package/dist/repositories/promotions/bulkInsertMarketplacePromotion.d.ts +5 -5
  357. package/dist/repositories/promotions/createPromotion.d.ts +5 -5
  358. package/dist/repositories/promotions/createPromotionHistory.d.ts +5 -5
  359. package/dist/repositories/promotions/deleteDeviceTypePromotion.d.ts +4 -4
  360. package/dist/repositories/promotions/deleteMarketplacePromotion.d.ts +4 -4
  361. package/dist/repositories/promotions/getDeviceTypePromotion.d.ts +5 -5
  362. package/dist/repositories/promotions/getMarketplacePromotion.d.ts +5 -5
  363. package/dist/repositories/promotions/getPromotions.d.ts +5 -5
  364. package/dist/repositories/promotions/index.d.ts +72 -72
  365. package/dist/repositories/promotions/promotionValidator.d.ts +3 -3
  366. package/dist/repositories/promotions/updatePromotion.d.ts +4 -4
  367. package/dist/repositories/security/bulkCreateUserAuthorizedBoundaries.d.ts +4 -5
  368. package/dist/repositories/security/bulkCreateUserAuthorizedDevices.d.ts +4 -5
  369. package/dist/repositories/security/bulkRemoveUserAuthorizedBoundaries.d.ts +4 -4
  370. package/dist/repositories/security/bulkRemoveUserAuthorizedDevices.d.ts +4 -4
  371. package/dist/repositories/security/createUserRole.d.ts +5 -5
  372. package/dist/repositories/security/getAllRoles.d.ts +3 -3
  373. package/dist/repositories/security/getAuthorizedBoundariesByUserId.d.ts +5 -5
  374. package/dist/repositories/security/getAuthorizedDevicesByUserId.d.ts +5 -5
  375. package/dist/repositories/security/getUserIdsByClientIdAndAuthorizedBoundaries.d.ts +4 -4
  376. package/dist/repositories/security/getUserIdsByClientIdAndAuthorizedDevices.d.ts +4 -4
  377. package/dist/repositories/security/getUserRoles.d.ts +5 -5
  378. package/dist/repositories/security/getUserRolesByClientId.d.ts +5 -5
  379. package/dist/repositories/security/index.d.ts +66 -66
  380. package/dist/repositories/security/removeUserRoles.d.ts +4 -4
  381. package/dist/repositories/security/updateUserRole.d.ts +4 -4
  382. package/dist/repositories/security/userIsAdminOrOwner.d.ts +4 -4
  383. package/dist/repositories/security/userIsInRole.d.ts +4 -4
  384. package/dist/repositories/tags/bulkCreateTags.d.ts +5 -5
  385. package/dist/repositories/tags/createTag.d.ts +5 -5
  386. package/dist/repositories/tags/deleteTag.d.ts +4 -4
  387. package/dist/repositories/tags/index.d.ts +41 -41
  388. package/dist/repositories/tags/searchTags.d.ts +4 -4
  389. package/dist/repositories/tags/searchTagsByUser.d.ts +4 -4
  390. package/dist/repositories/tags/updateTag.d.ts +4 -4
  391. package/dist/repositories/tasks/addTaskScheduleDevices.d.ts +4 -4
  392. package/dist/repositories/tasks/completeTask.d.ts +4 -4
  393. package/dist/repositories/tasks/createTask.d.ts +5 -5
  394. package/dist/repositories/tasks/createTaskSchedule.d.ts +5 -5
  395. package/dist/repositories/tasks/deleteTask.d.ts +4 -4
  396. package/dist/repositories/tasks/deleteTaskSchedule.d.ts +4 -4
  397. package/dist/repositories/tasks/deleteTaskScheduleDevices.d.ts +4 -4
  398. package/dist/repositories/tasks/getDeviceTasks.d.ts +5 -5
  399. package/dist/repositories/tasks/getTaskSchedule.d.ts +5 -5
  400. package/dist/repositories/tasks/getTaskSchedules.d.ts +5 -5
  401. package/dist/repositories/tasks/getTaskSchedulesCount.d.ts +4 -4
  402. package/dist/repositories/tasks/getTasks.d.ts +5 -5
  403. package/dist/repositories/tasks/getTasksCount.d.ts +4 -4
  404. package/dist/repositories/tasks/index.d.ts +325 -325
  405. package/dist/repositories/tasks/setTaskAsPastDue.d.ts +4 -4
  406. package/dist/repositories/tasks/setTaskScheduleDevices.d.ts +4 -4
  407. package/dist/repositories/tasks/updateTask.d.ts +4 -4
  408. package/dist/repositories/tasks/updateTaskSchedule.d.ts +4 -4
  409. package/dist/repositories/trips/createTrip.d.ts +5 -5
  410. package/dist/repositories/trips/getDeviceTripConfiguration.d.ts +4 -4
  411. package/dist/repositories/trips/getTripById.d.ts +4 -4
  412. package/dist/repositories/trips/getTrips.d.ts +4 -4
  413. package/dist/repositories/trips/index.d.ts +36 -36
  414. package/dist/repositories/trips/updateTripEndValues.d.ts +4 -4
  415. package/dist/repositories/trips/upsertTrip.d.ts +4 -4
  416. package/dist/repositories/userActivations/createUserActivation.d.ts +5 -5
  417. package/dist/repositories/userActivations/createUserActivationDevice.d.ts +5 -5
  418. package/dist/repositories/userActivations/createUserActivationEvent.d.ts +5 -5
  419. package/dist/repositories/userActivations/createUserActivationMetric.d.ts +5 -5
  420. package/dist/repositories/userActivations/deleteUserActivation.d.ts +4 -4
  421. package/dist/repositories/userActivations/getLastActivationDevice.d.ts +5 -5
  422. package/dist/repositories/userActivations/getUserActivationById.d.ts +5 -5
  423. package/dist/repositories/userActivations/getUserActivationDevices.d.ts +5 -5
  424. package/dist/repositories/userActivations/getUserActivationDevicesByClientId.d.ts +5 -5
  425. package/dist/repositories/userActivations/getUserActivationMetrics.d.ts +5 -5
  426. package/dist/repositories/userActivations/getUserActivations.d.ts +5 -5
  427. package/dist/repositories/userActivations/index.d.ts +147 -147
  428. package/dist/repositories/userActivations/updateUserActivationDevice.d.ts +4 -4
  429. package/dist/repositories/userActivations/updateUserActivationMetrics.d.ts +4 -4
  430. package/dist/repositories/userAppFeedback/createUserAppFeedback.d.ts +5 -5
  431. package/dist/repositories/userAppFeedback/index.d.ts +17 -17
  432. package/dist/repositories/userAppIncidents/getUserAppIncidents.d.ts +5 -5
  433. package/dist/repositories/userAppIncidents/index.d.ts +50 -50
  434. package/dist/repositories/userAppIncidents/upsertUserAppIncident.d.ts +4 -4
  435. package/dist/repositories/userConfigurations/bulkCreateUserAlertConfigurations.d.ts +5 -5
  436. package/dist/repositories/userConfigurations/createUserAlertConfiguration.d.ts +5 -5
  437. package/dist/repositories/userConfigurations/createUserConfiguration.d.ts +5 -5
  438. package/dist/repositories/userConfigurations/deleteUserAlertConfigurations.d.ts +4 -4
  439. package/dist/repositories/userConfigurations/deleteUserAlertNotificationsConfig.d.ts +4 -4
  440. package/dist/repositories/userConfigurations/deleteUserConfiguration.d.ts +4 -4
  441. package/dist/repositories/userConfigurations/getUserAlertConfigurations.d.ts +5 -5
  442. package/dist/repositories/userConfigurations/getUserAlertNotificationsConfig.d.ts +5 -5
  443. package/dist/repositories/userConfigurations/getUserConfigurations.d.ts +5 -5
  444. package/dist/repositories/userConfigurations/index.d.ts +170 -170
  445. package/dist/repositories/userConfigurations/updateUserAlertConfigurations.d.ts +4 -4
  446. package/dist/repositories/userConfigurations/updateUserAlertConfigurationsByIds.d.ts +4 -4
  447. package/dist/repositories/userConfigurations/updateUserConfiguration.d.ts +4 -4
  448. package/dist/repositories/userConfigurations/upsertUserAlertNotificationsConfig.d.ts +4 -4
  449. package/dist/repositories/userDataDeletionRequests/createUserDataDeletionRequest.d.ts +5 -5
  450. package/dist/repositories/userDataDeletionRequests/getUserDataDeletionRequest.d.ts +5 -5
  451. package/dist/repositories/userDataDeletionRequests/index.d.ts +39 -39
  452. package/dist/repositories/userDataDeletionRequests/removeUserDataDeletionRequest.d.ts +4 -4
  453. package/dist/repositories/userDataDeletionRequests/updateUserDataDeletionRequest.d.ts +4 -4
  454. package/dist/repositories/userInvitations/createUserInvitation.d.ts +5 -5
  455. package/dist/repositories/userInvitations/getUserInvitationById.d.ts +5 -5
  456. package/dist/repositories/userInvitations/getUserInvitations.d.ts +5 -5
  457. package/dist/repositories/userInvitations/index.d.ts +58 -58
  458. package/dist/repositories/userInvitations/updateUserInvitation.d.ts +4 -4
  459. package/dist/repositories/userRatingRequests/createUserRatingRequest.d.ts +5 -5
  460. package/dist/repositories/userRatingRequests/getUserRatingRequests.d.ts +5 -5
  461. package/dist/repositories/userRatingRequests/index.d.ts +28 -28
  462. package/dist/repositories/userRegistrationAttempts/createUserRegistrationAttempt.d.ts +5 -5
  463. package/dist/repositories/userRegistrationAttempts/getUserRegistrationAttempts.d.ts +5 -5
  464. package/dist/repositories/userRegistrationAttempts/index.d.ts +50 -50
  465. package/dist/repositories/userRegistrationAttempts/updateUserRegistrationAttempt.d.ts +4 -4
  466. package/dist/repositories/users/createUser.d.ts +5 -5
  467. package/dist/repositories/users/deleteAccount.d.ts +4 -4
  468. package/dist/repositories/users/deleteUser.d.ts +4 -4
  469. package/dist/repositories/users/getUserById.d.ts +5 -5
  470. package/dist/repositories/users/getUserClientRelatedEntitiesCount.d.ts +4 -4
  471. package/dist/repositories/users/getUserData.d.ts +4 -4
  472. package/dist/repositories/users/getUserInfoWithAmazonDevicesInfo.d.ts +4 -4
  473. package/dist/repositories/users/getUsers.d.ts +5 -5
  474. package/dist/repositories/users/getUsersConfigurationByImei.d.ts +5 -5
  475. package/dist/repositories/users/getUsersIdByPhoneAndCountryCode.d.ts +4 -4
  476. package/dist/repositories/users/getUsersInfoWithActivationInfo.d.ts +4 -4
  477. package/dist/repositories/users/getUsersInfoWithDevicesInfo.d.ts +4 -4
  478. package/dist/repositories/users/getUsersWithRoles.d.ts +4 -4
  479. package/dist/repositories/users/index.d.ts +154 -154
  480. package/dist/repositories/users/updateUser.d.ts +4 -4
  481. package/dist/subscribers/allEntitiesSubscriber.d.ts +13 -13
  482. package/dist/subscribers/index.d.ts +2 -2
  483. package/dist/types/acumatica.d.ts +42 -42
  484. package/dist/types/aempToken.d.ts +20 -20
  485. package/dist/types/alert.d.ts +87 -87
  486. package/dist/types/alertTypes.d.ts +6 -6
  487. package/dist/types/appFeatures.d.ts +24 -24
  488. package/dist/types/billing.d.ts +342 -342
  489. package/dist/types/blacklist.d.ts +32 -32
  490. package/dist/types/bleMesh.d.ts +157 -157
  491. package/dist/types/bleMeshConfiguration.d.ts +30 -30
  492. package/dist/types/boundaries.d.ts +125 -125
  493. package/dist/types/clientAlertConfiguration.d.ts +102 -102
  494. package/dist/types/clients.d.ts +137 -137
  495. package/dist/types/common.d.ts +17 -17
  496. package/dist/types/countries.d.ts +12 -12
  497. package/dist/types/dataExports.d.ts +43 -43
  498. package/dist/types/deactivations.d.ts +25 -25
  499. package/dist/types/deviceBehaviors.d.ts +97 -97
  500. package/dist/types/devicePairings.d.ts +56 -56
  501. package/dist/types/deviceStatus.d.ts +84 -84
  502. package/dist/types/deviceTypeFeature.d.ts +23 -23
  503. package/dist/types/devices.d.ts +410 -410
  504. package/dist/types/entitiesTags.d.ts +63 -63
  505. package/dist/types/enums.d.ts +90 -90
  506. package/dist/types/feature.d.ts +20 -20
  507. package/dist/types/firmwares.d.ts +129 -129
  508. package/dist/types/index.d.ts +38 -38
  509. package/dist/types/latestUserAppInfo.d.ts +12 -12
  510. package/dist/types/liveLinks.d.ts +92 -92
  511. package/dist/types/logger.d.ts +68 -68
  512. package/dist/types/notificationRecipients.d.ts +72 -72
  513. package/dist/types/position.d.ts +71 -71
  514. package/dist/types/promotion.d.ts +121 -121
  515. package/dist/types/security.d.ts +85 -85
  516. package/dist/types/tag.d.ts +65 -65
  517. package/dist/types/tasks.d.ts +228 -228
  518. package/dist/types/trip.d.ts +92 -92
  519. package/dist/types/user.d.ts +255 -255
  520. package/dist/types/userActivations.d.ts +143 -143
  521. package/dist/types/userAppFeedback.d.ts +8 -8
  522. package/dist/types/userAppIncidents.d.ts +35 -35
  523. package/dist/types/userConfigurations.d.ts +127 -127
  524. package/dist/types/userDataDeletionRequests.d.ts +29 -29
  525. package/dist/types/userInvitations.d.ts +48 -48
  526. package/dist/types/userRatingRequests.d.ts +18 -18
  527. package/dist/types/userRegistrationAttempts.d.ts +36 -36
  528. package/dist/utils/anyAttributeHasValue.d.ts +1 -1
  529. package/dist/utils/billingPlansHelper.d.ts +3 -3
  530. package/dist/utils/boolToNumberTransformer.d.ts +5 -5
  531. package/dist/utils/commaSeparatedTransformer.d.ts +9 -9
  532. package/dist/utils/consoleLogger.d.ts +10 -10
  533. package/dist/utils/dateTool.d.ts +2 -2
  534. package/dist/utils/dayjs/utc.d.ts +2 -2
  535. package/dist/utils/filterTools.d.ts +12 -12
  536. package/dist/utils/mapRawEntityToEntity.d.ts +1 -1
  537. package/dist/utils/paramsValidators.d.ts +3 -3
  538. package/dist/utils/parsingTools.d.ts +3 -3
  539. package/dist/utils/queryLogger.d.ts +13 -13
  540. package/dist/utils/randomizer.d.ts +5 -5
  541. package/dist/utils/stringToDateTransformer.d.ts +5 -5
  542. package/dist/utils/uuidHelpers.d.ts +4 -4
  543. package/dist/utils/uuidTransformer.d.ts +5 -5
  544. package/package.json +2 -2
@@ -1,342 +1,342 @@
1
- import { BaseSelectQueryParams } from './common';
2
- export interface GetBillingsParams extends BaseSelectQueryParams {
3
- filters: {
4
- imei?: string;
5
- clientId?: number;
6
- subscriptionId?: string;
7
- status?: string;
8
- };
9
- projectionOptions?: {
10
- withClient?: boolean;
11
- withPlan?: boolean;
12
- };
13
- }
14
- export interface CreateBillingParams {
15
- id?: number;
16
- deviceId?: number;
17
- imei?: string;
18
- planId?: string;
19
- subscriptionId?: string;
20
- platform?: string;
21
- status?: string;
22
- subscriptionValue?: number;
23
- subscriptionPeriodMonths?: number;
24
- subscriptionValueMonthly?: number;
25
- clientId?: number;
26
- }
27
- export interface UpdateBillingParams {
28
- filters: {
29
- imei: string;
30
- };
31
- values: {
32
- deviceId?: number;
33
- planId?: string;
34
- subscriptionId?: string;
35
- platform?: string;
36
- status?: string;
37
- subscriptionValue?: number;
38
- subscriptionPeriodMonths?: number;
39
- subscriptionValueMonthly?: number;
40
- clientId?: number;
41
- };
42
- }
43
- export interface GetClientIdFromBraintreeCustomerParams extends BaseSelectQueryParams {
44
- filters: {
45
- customerId: string;
46
- };
47
- }
48
- export interface GetBillingCustomerBraintreeByIdParams extends BaseSelectQueryParams {
49
- filters: {
50
- id: string;
51
- };
52
- }
53
- export interface UpdateBillingCustomerBraintreeParams {
54
- filters: {
55
- id: string;
56
- };
57
- values: {
58
- firstName?: string;
59
- lastName?: string;
60
- company?: string;
61
- email?: string;
62
- phone?: string;
63
- churnStatus?: string;
64
- };
65
- }
66
- export interface UpsertBillingCustomerBraintreeParams {
67
- id: string;
68
- firstName?: string;
69
- lastName?: string;
70
- company?: string;
71
- email?: string;
72
- phone?: string;
73
- }
74
- export interface CreateBillingStatusHistoryBraintreeParams {
75
- subscriptionId: string;
76
- subscriptionHistories: {
77
- id?: number;
78
- status?: string;
79
- balance?: number;
80
- price?: number;
81
- currencyIsoCode?: string;
82
- planId?: string;
83
- timestamp?: string;
84
- }[];
85
- }
86
- export interface CreateBillingDeviceHistoryParams {
87
- id?: number;
88
- clientId?: number;
89
- deviceId?: number;
90
- imei?: string;
91
- planId?: string;
92
- subscriptionId?: string;
93
- platform?: string;
94
- status?: string;
95
- }
96
- export interface GetUserByBraintreeCustomerIdParams extends BaseSelectQueryParams {
97
- filters: {
98
- customerId: string;
99
- };
100
- }
101
- export interface GetBillingSubscriptionsBraintreeParams extends BaseSelectQueryParams {
102
- filters: {
103
- subscriptionId?: string;
104
- clientId?: number;
105
- };
106
- }
107
- export interface BillingSubscriptionParams extends BaseSelectQueryParams {
108
- imei: string;
109
- }
110
- export interface GetChurnStatusByClientIdParams extends BaseSelectQueryParams {
111
- filters: {
112
- clientId: number;
113
- };
114
- }
115
- export interface BillingSubscriptionChurnStatus {
116
- braintreeCustomerId: string;
117
- braintreeSubscriptionStatus: string;
118
- subscriptionId: string;
119
- churnStatus?: string | null;
120
- nextBillingDate?: Date | null;
121
- lastStatusUpdate?: string | null;
122
- subscriptionPeriodMonths?: number | null;
123
- }
124
- export interface UpsertBillingSubscriptionBraintreeParams {
125
- subscriptionId: string;
126
- customerId?: string | null;
127
- planId?: string | null;
128
- createdAt?: Date | null;
129
- updatedAt?: Date | null;
130
- subscriptionStart?: Date | null;
131
- subscriptionEnd?: Date | null;
132
- nextBillingDate?: Date | null;
133
- subscriptionValue?: number | null;
134
- status?: string | null;
135
- subscriptionPeriodMonths?: number | null;
136
- paymentInstrumentType?: string | null;
137
- paymentInstrumentDetails?: object | null;
138
- isPaused?: boolean | null;
139
- discountDetails?: object | null;
140
- addons?: object | null;
141
- balance?: number | null;
142
- currentBillingCycle?: number | null;
143
- daysPastDue?: number | null;
144
- description?: string | null;
145
- descriptor?: object | null;
146
- failureCount?: number | null;
147
- firstBillingDate?: Date | null;
148
- merchantAccountId?: string | null;
149
- nextBillingPeriodAmount?: number | null;
150
- numberOfBillingCycles?: number | null;
151
- paidThroughDate?: Date | null;
152
- paymentMethodToken?: string | null;
153
- statusHistory?: object | null;
154
- trialDuration?: number | null;
155
- trialDurationUnit?: string | null;
156
- trialPeriod?: boolean | null;
157
- }
158
- export interface GetCanceledImeisParams extends BaseSelectQueryParams {
159
- filters: {
160
- minCancellationDate: Date;
161
- maxCancellationDate: Date;
162
- canceledIn: 'carrier' | 'device' | 'both';
163
- excludeB2B: boolean;
164
- excludeTest: boolean;
165
- };
166
- pagingOptions: {
167
- pageSize: number | 100;
168
- };
169
- }
170
- export interface CanceledImeiResult {
171
- imei: string;
172
- iccid: string;
173
- clientId: number;
174
- clientTypeId: number;
175
- email: string;
176
- subscriptionId: string;
177
- createdAt: Date;
178
- updatedAt: string;
179
- status: string;
180
- carrier: string;
181
- isEnterpriseCustomer: boolean;
182
- }
183
- export interface GetMagentoPlanParams extends BaseSelectQueryParams {
184
- filters: {
185
- annual: boolean;
186
- code: string;
187
- };
188
- }
189
- export interface CreateBillingHubspotPaymentLogParams {
190
- id?: number;
191
- amountPaid: number;
192
- owner?: string | null;
193
- bankOfIssuer?: string | null;
194
- billingAddress?: string | null;
195
- billingAddressCity?: string | null;
196
- billingAddressCountry?: string | null;
197
- billingAddressLine1?: string | null;
198
- billingAddressLine2?: string | null;
199
- billingAddressState?: string | null;
200
- billingAddressZip?: string | null;
201
- createdByUserId?: string | null;
202
- currencyCode?: string | null;
203
- customer?: string | null;
204
- grossAmount?: number | null;
205
- lastFourDigits?: string | null;
206
- lineItemDiscountAmount?: number | null;
207
- netAmount?: number | null;
208
- objectCreateDateTime?: Date | null;
209
- objectId?: string | null;
210
- objectLastModifiedDateTime?: Date | null;
211
- orderDiscountAmount?: number | null;
212
- orderDiscountCode?: string | null;
213
- orderDiscountPercentage?: number | null;
214
- ownerAssignedDateTime?: Date | null;
215
- paymentDateTime?: Date | null;
216
- paymentId?: string | null;
217
- paymentMethod?: string | null;
218
- paymentSourceName?: string | null;
219
- paymentType?: string | null;
220
- processingFees?: number | null;
221
- refunded?: number | null;
222
- shippingAddress?: string | null;
223
- shippingAddressCity?: string | null;
224
- shippingAddressCountry?: string | null;
225
- shippingAddressLine1?: string | null;
226
- shippingAddressLine2?: string | null;
227
- shippingAddressState?: string | null;
228
- shippingAddressZip?: string | null;
229
- source?: string | null;
230
- sourceId?: string | null;
231
- sourceUrl?: string | null;
232
- status?: string | null;
233
- statusUpdatedOn?: Date | null;
234
- totalDiscountAmount?: number | null;
235
- totalFees?: number | null;
236
- totalTaxes?: number | null;
237
- updatedByUserId?: string | null;
238
- }
239
- export interface UpsertBillingKlarnaCustomerParams {
240
- id: string;
241
- firstName?: string | null;
242
- lastName?: string | null;
243
- billingEmail?: string | null;
244
- shippingEmail?: string | null;
245
- streetAddress?: string | null;
246
- city?: string | null;
247
- region?: string | null;
248
- country?: string | null;
249
- postalCode?: string | null;
250
- phone?: string | null;
251
- createdAt?: Date | null;
252
- }
253
- export interface UpsertBillingKlarnaOrderParams {
254
- deviceId: string;
255
- klarnaCustomerId: string;
256
- orderId: string;
257
- planId?: string | null;
258
- createdAt?: Date | null;
259
- subscriptionStart?: Date | null;
260
- subscriptionEnd?: Date | null;
261
- nextBillingDate?: Date | null;
262
- subscriptionValue?: number | null;
263
- status?: string | null;
264
- paymentType?: string | null;
265
- discounts?: object | null;
266
- addOns?: object | null;
267
- nextBillingPeriodAmount?: number | null;
268
- paymentMethodToken?: string | null;
269
- }
270
- export type UpsertBillingPlanParamsStatus = 'active' | 'disabled' | 'draft';
271
- export type UpsertBillingPlanParamsTagetConsumer = 'consumer' | 'enterprise' | 'any';
272
- export type UpsertBillingPlanParamsTrialDurationUnit = 'day' | 'month' | null;
273
- export interface UpsertBillingPlanParams {
274
- planId: string;
275
- targetCustomer: UpsertBillingPlanParamsTagetConsumer;
276
- code: string;
277
- status: UpsertBillingPlanParamsStatus;
278
- platform: string;
279
- billingFrequency: number;
280
- contractLength: number;
281
- numberOfBillingCycles?: number | null;
282
- description?: string | null;
283
- name: string;
284
- price: string;
285
- trialDuration?: number | null;
286
- trialDurationUnit?: UpsertBillingPlanParamsTrialDurationUnit;
287
- trialPeriod?: boolean | null;
288
- createdAt: Date;
289
- updatedAt: Date;
290
- addOns?: Record<string, any>[] | null;
291
- discounts?: Record<string, any>[] | null;
292
- startDate?: Date | null;
293
- endDate?: Date | null;
294
- }
295
- export interface UpsertBillingDeviceTypePlanParams {
296
- deviceTypeId: number;
297
- planId: string;
298
- deviceTypeModel?: string;
299
- deviceType?: string | null;
300
- createdAt?: Date;
301
- status: UpsertBillingPlanParamsStatus;
302
- }
303
- export interface GetBillingDeviceTypePlansParams extends BaseSelectQueryParams {
304
- planId: string;
305
- }
306
- export interface GetBillingPlansParams extends BaseSelectQueryParams {
307
- deviceTypeId: number;
308
- targetCustomer: string;
309
- status: string;
310
- date: string | null;
311
- sortField?: 'planId' | 'billingFrequency' | 'price' | 'createdAt';
312
- sortOrder?: 'ASC' | 'DESC';
313
- }
314
- export interface GetBillingPlanResult {
315
- deviceTypeId: number;
316
- planId: string;
317
- deviceType: string;
318
- deviceTypeModel: string;
319
- targetCustomer: 'consumer' | 'enterprise' | 'any';
320
- plan: string;
321
- platform: string;
322
- billingFrequency: number;
323
- contractLength: number;
324
- description: string;
325
- price: string;
326
- createdAt: Date;
327
- addOns: Record<string, any>[];
328
- discounts: Record<string, any>[];
329
- startDate: Date | null;
330
- endDate: Date | null;
331
- imageUrl: string;
332
- productName: string;
333
- }
334
- export interface GetBraintreePastDueSubscriptionParams extends BaseSelectQueryParams {
335
- filters: {
336
- numberOfPastDueDays: number;
337
- };
338
- }
339
- export interface BraintreePastDueSubscription {
340
- subscriptionId: string;
341
- timestamp: string;
342
- }
1
+ import { BaseSelectQueryParams } from './common';
2
+ export interface GetBillingsParams extends BaseSelectQueryParams {
3
+ filters: {
4
+ imei?: string;
5
+ clientId?: number;
6
+ subscriptionId?: string;
7
+ status?: string;
8
+ };
9
+ projectionOptions?: {
10
+ withClient?: boolean;
11
+ withPlan?: boolean;
12
+ };
13
+ }
14
+ export interface CreateBillingParams {
15
+ id?: number;
16
+ deviceId?: number;
17
+ imei?: string;
18
+ planId?: string;
19
+ subscriptionId?: string;
20
+ platform?: string;
21
+ status?: string;
22
+ subscriptionValue?: number;
23
+ subscriptionPeriodMonths?: number;
24
+ subscriptionValueMonthly?: number;
25
+ clientId?: number;
26
+ }
27
+ export interface UpdateBillingParams {
28
+ filters: {
29
+ imei: string;
30
+ };
31
+ values: {
32
+ deviceId?: number;
33
+ planId?: string;
34
+ subscriptionId?: string;
35
+ platform?: string;
36
+ status?: string;
37
+ subscriptionValue?: number;
38
+ subscriptionPeriodMonths?: number;
39
+ subscriptionValueMonthly?: number;
40
+ clientId?: number;
41
+ };
42
+ }
43
+ export interface GetClientIdFromBraintreeCustomerParams extends BaseSelectQueryParams {
44
+ filters: {
45
+ customerId: string;
46
+ };
47
+ }
48
+ export interface GetBillingCustomerBraintreeByIdParams extends BaseSelectQueryParams {
49
+ filters: {
50
+ id: string;
51
+ };
52
+ }
53
+ export interface UpdateBillingCustomerBraintreeParams {
54
+ filters: {
55
+ id: string;
56
+ };
57
+ values: {
58
+ firstName?: string;
59
+ lastName?: string;
60
+ company?: string;
61
+ email?: string;
62
+ phone?: string;
63
+ churnStatus?: string;
64
+ };
65
+ }
66
+ export interface UpsertBillingCustomerBraintreeParams {
67
+ id: string;
68
+ firstName?: string;
69
+ lastName?: string;
70
+ company?: string;
71
+ email?: string;
72
+ phone?: string;
73
+ }
74
+ export interface CreateBillingStatusHistoryBraintreeParams {
75
+ subscriptionId: string;
76
+ subscriptionHistories: {
77
+ id?: number;
78
+ status?: string;
79
+ balance?: number;
80
+ price?: number;
81
+ currencyIsoCode?: string;
82
+ planId?: string;
83
+ timestamp?: string;
84
+ }[];
85
+ }
86
+ export interface CreateBillingDeviceHistoryParams {
87
+ id?: number;
88
+ clientId?: number;
89
+ deviceId?: number;
90
+ imei?: string;
91
+ planId?: string;
92
+ subscriptionId?: string;
93
+ platform?: string;
94
+ status?: string;
95
+ }
96
+ export interface GetUserByBraintreeCustomerIdParams extends BaseSelectQueryParams {
97
+ filters: {
98
+ customerId: string;
99
+ };
100
+ }
101
+ export interface GetBillingSubscriptionsBraintreeParams extends BaseSelectQueryParams {
102
+ filters: {
103
+ subscriptionId?: string;
104
+ clientId?: number;
105
+ };
106
+ }
107
+ export interface BillingSubscriptionParams extends BaseSelectQueryParams {
108
+ imei: string;
109
+ }
110
+ export interface GetChurnStatusByClientIdParams extends BaseSelectQueryParams {
111
+ filters: {
112
+ clientId: number;
113
+ };
114
+ }
115
+ export interface BillingSubscriptionChurnStatus {
116
+ braintreeCustomerId: string;
117
+ braintreeSubscriptionStatus: string;
118
+ subscriptionId: string;
119
+ churnStatus?: string | null;
120
+ nextBillingDate?: Date | null;
121
+ lastStatusUpdate?: string | null;
122
+ subscriptionPeriodMonths?: number | null;
123
+ }
124
+ export interface UpsertBillingSubscriptionBraintreeParams {
125
+ subscriptionId: string;
126
+ customerId?: string | null;
127
+ planId?: string | null;
128
+ createdAt?: Date | null;
129
+ updatedAt?: Date | null;
130
+ subscriptionStart?: Date | null;
131
+ subscriptionEnd?: Date | null;
132
+ nextBillingDate?: Date | null;
133
+ subscriptionValue?: number | null;
134
+ status?: string | null;
135
+ subscriptionPeriodMonths?: number | null;
136
+ paymentInstrumentType?: string | null;
137
+ paymentInstrumentDetails?: object | null;
138
+ isPaused?: boolean | null;
139
+ discountDetails?: object | null;
140
+ addons?: object | null;
141
+ balance?: number | null;
142
+ currentBillingCycle?: number | null;
143
+ daysPastDue?: number | null;
144
+ description?: string | null;
145
+ descriptor?: object | null;
146
+ failureCount?: number | null;
147
+ firstBillingDate?: Date | null;
148
+ merchantAccountId?: string | null;
149
+ nextBillingPeriodAmount?: number | null;
150
+ numberOfBillingCycles?: number | null;
151
+ paidThroughDate?: Date | null;
152
+ paymentMethodToken?: string | null;
153
+ statusHistory?: object | null;
154
+ trialDuration?: number | null;
155
+ trialDurationUnit?: string | null;
156
+ trialPeriod?: boolean | null;
157
+ }
158
+ export interface GetCanceledImeisParams extends BaseSelectQueryParams {
159
+ filters: {
160
+ minCancellationDate: Date;
161
+ maxCancellationDate: Date;
162
+ canceledIn: 'carrier' | 'device' | 'both';
163
+ excludeB2B: boolean;
164
+ excludeTest: boolean;
165
+ };
166
+ pagingOptions: {
167
+ pageSize: number | 100;
168
+ };
169
+ }
170
+ export interface CanceledImeiResult {
171
+ imei: string;
172
+ iccid: string;
173
+ clientId: number;
174
+ clientTypeId: number;
175
+ email: string;
176
+ subscriptionId: string;
177
+ createdAt: Date;
178
+ updatedAt: string;
179
+ status: string;
180
+ carrier: string;
181
+ isEnterpriseCustomer: boolean;
182
+ }
183
+ export interface GetMagentoPlanParams extends BaseSelectQueryParams {
184
+ filters: {
185
+ annual: boolean;
186
+ code: string;
187
+ };
188
+ }
189
+ export interface CreateBillingHubspotPaymentLogParams {
190
+ id?: number;
191
+ amountPaid: number;
192
+ owner?: string | null;
193
+ bankOfIssuer?: string | null;
194
+ billingAddress?: string | null;
195
+ billingAddressCity?: string | null;
196
+ billingAddressCountry?: string | null;
197
+ billingAddressLine1?: string | null;
198
+ billingAddressLine2?: string | null;
199
+ billingAddressState?: string | null;
200
+ billingAddressZip?: string | null;
201
+ createdByUserId?: string | null;
202
+ currencyCode?: string | null;
203
+ customer?: string | null;
204
+ grossAmount?: number | null;
205
+ lastFourDigits?: string | null;
206
+ lineItemDiscountAmount?: number | null;
207
+ netAmount?: number | null;
208
+ objectCreateDateTime?: Date | null;
209
+ objectId?: string | null;
210
+ objectLastModifiedDateTime?: Date | null;
211
+ orderDiscountAmount?: number | null;
212
+ orderDiscountCode?: string | null;
213
+ orderDiscountPercentage?: number | null;
214
+ ownerAssignedDateTime?: Date | null;
215
+ paymentDateTime?: Date | null;
216
+ paymentId?: string | null;
217
+ paymentMethod?: string | null;
218
+ paymentSourceName?: string | null;
219
+ paymentType?: string | null;
220
+ processingFees?: number | null;
221
+ refunded?: number | null;
222
+ shippingAddress?: string | null;
223
+ shippingAddressCity?: string | null;
224
+ shippingAddressCountry?: string | null;
225
+ shippingAddressLine1?: string | null;
226
+ shippingAddressLine2?: string | null;
227
+ shippingAddressState?: string | null;
228
+ shippingAddressZip?: string | null;
229
+ source?: string | null;
230
+ sourceId?: string | null;
231
+ sourceUrl?: string | null;
232
+ status?: string | null;
233
+ statusUpdatedOn?: Date | null;
234
+ totalDiscountAmount?: number | null;
235
+ totalFees?: number | null;
236
+ totalTaxes?: number | null;
237
+ updatedByUserId?: string | null;
238
+ }
239
+ export interface UpsertBillingKlarnaCustomerParams {
240
+ id: string;
241
+ firstName?: string | null;
242
+ lastName?: string | null;
243
+ billingEmail?: string | null;
244
+ shippingEmail?: string | null;
245
+ streetAddress?: string | null;
246
+ city?: string | null;
247
+ region?: string | null;
248
+ country?: string | null;
249
+ postalCode?: string | null;
250
+ phone?: string | null;
251
+ createdAt?: Date | null;
252
+ }
253
+ export interface UpsertBillingKlarnaOrderParams {
254
+ deviceId: string;
255
+ klarnaCustomerId: string;
256
+ orderId: string;
257
+ planId?: string | null;
258
+ createdAt?: Date | null;
259
+ subscriptionStart?: Date | null;
260
+ subscriptionEnd?: Date | null;
261
+ nextBillingDate?: Date | null;
262
+ subscriptionValue?: number | null;
263
+ status?: string | null;
264
+ paymentType?: string | null;
265
+ discounts?: object | null;
266
+ addOns?: object | null;
267
+ nextBillingPeriodAmount?: number | null;
268
+ paymentMethodToken?: string | null;
269
+ }
270
+ export type UpsertBillingPlanParamsStatus = 'active' | 'disabled' | 'draft';
271
+ export type UpsertBillingPlanParamsTagetConsumer = 'consumer' | 'enterprise' | 'any';
272
+ export type UpsertBillingPlanParamsTrialDurationUnit = 'day' | 'month' | null;
273
+ export interface UpsertBillingPlanParams {
274
+ planId: string;
275
+ targetCustomer: UpsertBillingPlanParamsTagetConsumer;
276
+ code: string;
277
+ status: UpsertBillingPlanParamsStatus;
278
+ platform: string;
279
+ billingFrequency: number;
280
+ contractLength: number;
281
+ numberOfBillingCycles?: number | null;
282
+ description?: string | null;
283
+ name: string;
284
+ price: string;
285
+ trialDuration?: number | null;
286
+ trialDurationUnit?: UpsertBillingPlanParamsTrialDurationUnit;
287
+ trialPeriod?: boolean | null;
288
+ createdAt: Date;
289
+ updatedAt: Date;
290
+ addOns?: Record<string, any>[] | null;
291
+ discounts?: Record<string, any>[] | null;
292
+ startDate?: Date | null;
293
+ endDate?: Date | null;
294
+ }
295
+ export interface UpsertBillingDeviceTypePlanParams {
296
+ deviceTypeId: number;
297
+ planId: string;
298
+ deviceTypeModel?: string;
299
+ deviceType?: string | null;
300
+ createdAt?: Date;
301
+ status: UpsertBillingPlanParamsStatus;
302
+ }
303
+ export interface GetBillingDeviceTypePlansParams extends BaseSelectQueryParams {
304
+ planId: string;
305
+ }
306
+ export interface GetBillingPlansParams extends BaseSelectQueryParams {
307
+ deviceTypeId: number;
308
+ targetCustomer: string;
309
+ status: string;
310
+ date: string | null;
311
+ sortField?: 'planId' | 'billingFrequency' | 'price' | 'createdAt';
312
+ sortOrder?: 'ASC' | 'DESC';
313
+ }
314
+ export interface GetBillingPlanResult {
315
+ deviceTypeId: number;
316
+ planId: string;
317
+ deviceType: string;
318
+ deviceTypeModel: string;
319
+ targetCustomer: 'consumer' | 'enterprise' | 'any';
320
+ plan: string;
321
+ platform: string;
322
+ billingFrequency: number;
323
+ contractLength: number;
324
+ description: string;
325
+ price: string;
326
+ createdAt: Date;
327
+ addOns: Record<string, any>[];
328
+ discounts: Record<string, any>[];
329
+ startDate: Date | null;
330
+ endDate: Date | null;
331
+ imageUrl: string;
332
+ productName: string;
333
+ }
334
+ export interface GetBraintreePastDueSubscriptionParams extends BaseSelectQueryParams {
335
+ filters: {
336
+ numberOfPastDueDays: number;
337
+ };
338
+ }
339
+ export interface BraintreePastDueSubscription {
340
+ subscriptionId: string;
341
+ timestamp: string;
342
+ }