@trakit/objects 0.0.1 → 0.0.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 (444) hide show
  1. package/LICENSE +661 -0
  2. package/README.md +11 -0
  3. package/{API → _publish/API}/Base.d.ts +3 -2
  4. package/{API → _publish/API}/BaseComponent.d.ts +9 -6
  5. package/_publish/API/Codifier.d.ts +15 -0
  6. package/_publish/API/Encoding.d.ts +9 -0
  7. package/{API → _publish/API}/Files.d.ts +4 -4
  8. package/{API → _publish/API}/Functions.d.ts +26 -21
  9. package/{API → _publish/API}/Geography/Functions.d.ts +4 -0
  10. package/{API → _publish/API}/Geography/Interfaces.d.ts +19 -14
  11. package/{API → _publish/API}/Geography/LatLng.d.ts +9 -1
  12. package/{API → _publish/API}/Geography/LatLngBounds.d.ts +2 -1
  13. package/{API → _publish/API}/Geography/Position.d.ts +23 -11
  14. package/{API → _publish/API}/Geography/StreetAddress.d.ts +3 -2
  15. package/{API → _publish/API}/Geometry/Functions.d.ts +1 -1
  16. package/{API → _publish/API}/Geometry/Point.d.ts +4 -3
  17. package/{API → _publish/API}/Geometry/Radial.d.ts +5 -4
  18. package/{API → _publish/API}/Geometry/Rectangle.d.ts +3 -7
  19. package/{API → _publish/API}/Geometry/Size.d.ts +8 -2
  20. package/_publish/API/Interfaces/IAuditable.d.ts +31 -0
  21. package/{API → _publish/API}/Interfaces/IDeserializable.d.ts +2 -1
  22. package/{API → _publish/API}/Interfaces/ILabelled.d.ts +2 -1
  23. package/{API → _publish/API}/Interfaces/IRequestable.d.ts +5 -1
  24. package/_publish/API/Objects.d.ts +5 -0
  25. package/{API → _publish/API}/SearchPattern.d.ts +3 -2
  26. package/{API → _publish/API}/TimeSpan.d.ts +7 -38
  27. package/{API → _publish/API}/Timezone.d.ts +3 -3
  28. package/{API → _publish/API}/Types.d.ts +18 -0
  29. package/{Accounts → _publish/Accounts}/Contact.d.ts +10 -10
  30. package/{Accounts → _publish/Accounts}/Machine.d.ts +14 -6
  31. package/{Accounts → _publish/Accounts}/Permissions/Permission.d.ts +3 -3
  32. package/{Accounts → _publish/Accounts}/Permissions/PermissionEscalation.d.ts +11 -3
  33. package/{Accounts → _publish/Accounts}/Permissions/PermissionEscalationState.d.ts +5 -3
  34. package/{Accounts → _publish/Accounts}/Session.d.ts +2 -2
  35. package/{Accounts → _publish/Accounts}/User.d.ts +10 -10
  36. package/{Accounts → _publish/Accounts}/UserAdvanced.d.ts +2 -2
  37. package/{Accounts → _publish/Accounts}/UserGeneral.d.ts +5 -5
  38. package/{Accounts → _publish/Accounts}/UserGroup.d.ts +3 -3
  39. package/{Accounts → _publish/Accounts}/UserNotifications.d.ts +2 -2
  40. package/{Assets → _publish/Assets}/Asset.d.ts +56 -24
  41. package/{Assets → _publish/Assets}/AssetAdvanced.d.ts +8 -20
  42. package/{Assets → _publish/Assets}/AssetAttribute.d.ts +2 -2
  43. package/{Assets → _publish/Assets}/AssetDispatch.d.ts +5 -12
  44. package/{Assets → _publish/Assets}/AssetGeneral.d.ts +44 -24
  45. package/{Assets → _publish/Assets}/AssetPlaceStatus.d.ts +2 -2
  46. package/{Behaviours → _publish/Behaviours}/Behaviour.d.ts +4 -4
  47. package/{Behaviours → _publish/Behaviours}/BehaviourLog.d.ts +3 -3
  48. package/{Behaviours → _publish/Behaviours}/BehaviourParameter.d.ts +2 -1
  49. package/{Behaviours → _publish/Behaviours}/BehaviourScript.d.ts +4 -4
  50. package/{Billing → _publish/Billing}/BillableBase.d.ts +3 -3
  51. package/{Billing → _publish/Billing}/BillableSmsProfile.d.ts +2 -2
  52. package/{Billing → _publish/Billing}/BillingProfile.d.ts +3 -3
  53. package/{Billing → _publish/Billing}/Hosting/BillableHostingBase.d.ts +2 -2
  54. package/{Billing → _publish/Billing}/Hosting/BillableHostingDiscount.d.ts +2 -1
  55. package/{Billing → _publish/Billing}/Hosting/BillableHostingLicense.d.ts +2 -1
  56. package/{Billing → _publish/Billing}/Hosting/BillableHostingRule.d.ts +2 -1
  57. package/{Billing → _publish/Billing}/Report/BillingReport.d.ts +3 -3
  58. package/{Billing → _publish/Billing}/Report/BillingReportBreakdown.d.ts +2 -2
  59. package/{Billing → _publish/Billing}/Report/BillingReportHostingSummary.d.ts +2 -2
  60. package/{Billing → _publish/Billing}/Report/BillingReportLicenseBreakdown.d.ts +2 -2
  61. package/{Billing → _publish/Billing}/Report/BillingReportServiceBreakdown.d.ts +2 -2
  62. package/{Billing → _publish/Billing}/Report/BillingReportSummary.d.ts +2 -2
  63. package/{Companies → _publish/Companies}/ColourStyle.d.ts +2 -2
  64. package/{Companies → _publish/Companies}/Company.d.ts +48 -33
  65. package/{Companies → _publish/Companies}/CompanyDirectory.d.ts +10 -5
  66. package/{Companies → _publish/Companies}/CompanyGeneral.d.ts +10 -5
  67. package/{Companies/CompanyPolicies.d.ts → _publish/Companies/CompanyPolicy.d.ts} +9 -4
  68. package/{Companies → _publish/Companies}/CompanyReseller.d.ts +14 -9
  69. package/{Companies/CompanyStyles.d.ts → _publish/Companies/CompanyStyle.d.ts} +11 -6
  70. package/{Companies → _publish/Companies}/LabelStyle.d.ts +2 -2
  71. package/{Companies → _publish/Companies}/NotificationServerEmail.d.ts +2 -2
  72. package/{Companies → _publish/Companies}/NotificationServerSms.d.ts +3 -3
  73. package/{Companies → _publish/Companies}/PasswordPolicy.d.ts +2 -2
  74. package/{Companies → _publish/Companies}/SessionPolicy.d.ts +2 -2
  75. package/{Dispatch → _publish/Dispatch}/DispatchDirection.d.ts +3 -3
  76. package/{Dispatch → _publish/Dispatch}/DispatchJob.d.ts +4 -4
  77. package/{Dispatch → _publish/Dispatch}/DispatchStep.d.ts +4 -4
  78. package/{Dispatch → _publish/Dispatch}/DispatchStepState.d.ts +3 -3
  79. package/{Dispatch → _publish/Dispatch}/DispatchTask.d.ts +5 -5
  80. package/{Hosting → _publish/Hosting}/Document.d.ts +3 -3
  81. package/{Hosting → _publish/Hosting}/Fields/FormFieldAttachments.d.ts +4 -11
  82. package/{Hosting → _publish/Hosting}/Fields/FormFieldBase.d.ts +8 -23
  83. package/_publish/Hosting/Fields/FormFieldBase_fromJSON.d.ts +1 -0
  84. package/{Hosting → _publish/Hosting}/Fields/FormFieldBoolean.d.ts +4 -12
  85. package/{Hosting → _publish/Hosting}/Fields/FormFieldChoice.d.ts +10 -12
  86. package/{Hosting → _publish/Hosting}/Fields/FormFieldDate.d.ts +2 -9
  87. package/{Hosting → _publish/Hosting}/Fields/FormFieldNumeric.d.ts +2 -9
  88. package/{Hosting → _publish/Hosting}/Fields/FormFieldSignature.d.ts +2 -2
  89. package/{Hosting → _publish/Hosting}/Fields/FormFieldText.d.ts +2 -9
  90. package/_publish/Hosting/Fields/FormFieldTime.d.ts +37 -0
  91. package/{Hosting → _publish/Hosting}/Fields/FormFieldTimezone.d.ts +2 -2
  92. package/{Hosting → _publish/Hosting}/FormResult.d.ts +4 -4
  93. package/{Hosting → _publish/Hosting}/FormTemplate.d.ts +3 -3
  94. package/{Images → _publish/Images}/Dashcam.d.ts +3 -3
  95. package/{Images → _publish/Images}/DashcamBase.d.ts +2 -2
  96. package/{Images → _publish/Images}/DashcamLive.d.ts +3 -3
  97. package/{Images → _publish/Images}/Icon.d.ts +7 -27
  98. package/{Images → _publish/Images}/IconGlyph.d.ts +5 -12
  99. package/{Images → _publish/Images}/IconLabel.d.ts +5 -8
  100. package/{Images → _publish/Images}/Picture.d.ts +3 -3
  101. package/{Maintenance → _publish/Maintenance}/MaintenanceInterval.d.ts +2 -2
  102. package/{Maintenance → _publish/Maintenance}/MaintenanceJob.d.ts +3 -3
  103. package/{Maintenance → _publish/Maintenance}/MaintenanceSchedule.d.ts +4 -4
  104. package/{Messaging → _publish/Messaging}/AssetAlert.d.ts +2 -1
  105. package/{Messaging → _publish/Messaging}/AssetMessage.d.ts +2 -2
  106. package/{Messaging → _publish/Messaging}/MessageBase.d.ts +3 -3
  107. package/{Places → _publish/Places}/Place.d.ts +4 -4
  108. package/{Providers → _publish/Providers}/Config/ProviderConfig.d.ts +4 -4
  109. package/{Providers → _publish/Providers}/Config/ProviderRegistration.d.ts +2 -2
  110. package/{Providers → _publish/Providers}/Config/ProviderScript.d.ts +4 -4
  111. package/{Providers → _publish/Providers}/Config/ProviderScriptBlock.d.ts +2 -1
  112. package/{Providers → _publish/Providers}/Config/ProviderScriptParameter.d.ts +2 -2
  113. package/{Providers → _publish/Providers}/Configuration/ProviderConfiguration.d.ts +4 -4
  114. package/{Providers → _publish/Providers}/Configuration/ProviderConfigurationNode.d.ts +4 -3
  115. package/{Providers → _publish/Providers}/Configuration/ProviderConfigurationType.d.ts +4 -4
  116. package/{Providers → _publish/Providers}/Configuration/ProviderGeofenceBase.d.ts +6 -8
  117. package/_publish/Providers/Configuration/ProviderGeofenceBase_fromJSON.d.ts +1 -0
  118. package/_publish/Providers/Provider.d.ts +211 -0
  119. package/{Providers → _publish/Providers}/ProviderAdvanced.d.ts +4 -4
  120. package/{Providers → _publish/Providers}/ProviderCommand.d.ts +2 -2
  121. package/{Providers → _publish/Providers}/ProviderControl.d.ts +3 -3
  122. package/{Providers → _publish/Providers}/ProviderData.d.ts +2 -2
  123. package/{Providers → _publish/Providers}/ProviderGeneral.d.ts +18 -10
  124. package/_publish/Reports/ReportBreakdown.d.ts +49 -0
  125. package/_publish/Reports/ReportBreakdownJob.d.ts +37 -0
  126. package/_publish/Reports/ReportBreakdownMessage.d.ts +40 -0
  127. package/{Reports → _publish/Reports}/ReportBreakdownTask.d.ts +6 -31
  128. package/_publish/Reports/ReportBreakdown_fromJSON.d.ts +1 -0
  129. package/{Reports → _publish/Reports}/ReportNotifications.d.ts +3 -3
  130. package/{Reports → _publish/Reports}/ReportOptions.d.ts +3 -2
  131. package/{Reports → _publish/Reports}/ReportParameter.d.ts +2 -1
  132. package/{Reports → _publish/Reports}/ReportRecurrence.d.ts +2 -2
  133. package/{Reports → _publish/Reports}/ReportResult.d.ts +9 -9
  134. package/{Reports → _publish/Reports}/ReportSchedule.d.ts +3 -3
  135. package/{Reports → _publish/Reports}/ReportScorecard.d.ts +3 -3
  136. package/{Reports → _publish/Reports}/ReportScorecardParameter.d.ts +2 -2
  137. package/{Reports → _publish/Reports}/ReportScorecardRules.d.ts +2 -2
  138. package/{Reports → _publish/Reports}/ReportSummary.d.ts +5 -33
  139. package/{Reports → _publish/Reports}/ReportTemplate.d.ts +3 -3
  140. package/{Reports → _publish/Reports}/ReportTotal.d.ts +2 -2
  141. package/_publish/index.d.ts +406 -0
  142. package/_publish/objects/API/Arrays.d.ts +46 -0
  143. package/_publish/objects/API/Base.d.ts +19 -0
  144. package/_publish/objects/API/BaseComponent.d.ts +40 -0
  145. package/{API/Compound.d.ts → _publish/objects/API/BaseCompound.d.ts} +3 -3
  146. package/_publish/objects/API/Codifier.d.ts +15 -0
  147. package/_publish/objects/API/Constants.d.ts +39 -0
  148. package/_publish/objects/API/Conversion.d.ts +255 -0
  149. package/_publish/objects/API/Encoding.d.ts +9 -0
  150. package/_publish/objects/API/Files.d.ts +21 -0
  151. package/_publish/objects/API/Functions.d.ts +196 -0
  152. package/_publish/objects/API/Geography/Functions.d.ts +236 -0
  153. package/_publish/objects/API/Geography/Interfaces.d.ts +150 -0
  154. package/_publish/objects/API/Geography/LatLng.d.ts +86 -0
  155. package/_publish/objects/API/Geography/LatLngBounds.d.ts +146 -0
  156. package/_publish/objects/API/Geography/Position.d.ts +74 -0
  157. package/_publish/objects/API/Geography/StreetAddress.d.ts +59 -0
  158. package/_publish/objects/API/Geometry/Functions.d.ts +114 -0
  159. package/_publish/objects/API/Geometry/Interfaces.d.ts +111 -0
  160. package/_publish/objects/API/Geometry/Point.d.ts +81 -0
  161. package/_publish/objects/API/Geometry/Radial.d.ts +110 -0
  162. package/_publish/objects/API/Geometry/Rectangle.d.ts +159 -0
  163. package/_publish/objects/API/Geometry/Size.d.ts +58 -0
  164. package/_publish/objects/API/Guid.d.ts +4 -0
  165. package/_publish/objects/API/Interfaces/IAmCompany.d.ts +11 -0
  166. package/_publish/objects/API/Interfaces/IBelongAsset.d.ts +15 -0
  167. package/_publish/objects/API/Interfaces/IBelongBillingProfile.d.ts +15 -0
  168. package/_publish/objects/API/Interfaces/IBelongCompany.d.ts +15 -0
  169. package/_publish/objects/API/Interfaces/IDeserializable.d.ts +13 -0
  170. package/_publish/objects/API/Interfaces/IEnabled.d.ts +10 -0
  171. package/_publish/objects/API/Interfaces/IFileSize.d.ts +9 -0
  172. package/_publish/objects/API/Interfaces/IGlobal.d.ts +11 -0
  173. package/_publish/objects/API/Interfaces/IHavePermissions.d.ts +20 -0
  174. package/_publish/objects/API/Interfaces/IHavePreferences.d.ts +29 -0
  175. package/_publish/objects/API/Interfaces/IIconic.d.ts +15 -0
  176. package/_publish/objects/API/Interfaces/IIdUlong.d.ts +10 -0
  177. package/_publish/objects/API/Interfaces/ILabelled.d.ts +10 -0
  178. package/_publish/objects/API/Interfaces/INamed.d.ts +13 -0
  179. package/_publish/objects/API/Interfaces/IPictured.d.ts +15 -0
  180. package/_publish/objects/API/Interfaces/IRequestable.d.ts +22 -0
  181. package/_publish/objects/API/Interfaces/ISerializable.d.ts +10 -0
  182. package/_publish/objects/API/Interfaces/ISuspendable.d.ts +16 -0
  183. package/_publish/objects/API/Interfaces/IVisual.d.ts +18 -0
  184. package/_publish/objects/API/Maps.d.ts +28 -0
  185. package/_publish/objects/API/Objects.d.ts +5 -0
  186. package/_publish/objects/API/SearchPattern.d.ts +46 -0
  187. package/_publish/objects/API/TimeSpan.d.ts +109 -0
  188. package/_publish/objects/API/Timezone.d.ts +44 -0
  189. package/_publish/objects/API/Timezones.d.ts +7 -0
  190. package/_publish/objects/API/Types.d.ts +132 -0
  191. package/_publish/objects/Accounts/Contact.d.ts +139 -0
  192. package/_publish/objects/Accounts/Machine.d.ts +139 -0
  193. package/_publish/objects/Accounts/MultiFactorType.d.ts +17 -0
  194. package/_publish/objects/Accounts/NotificationMethod.d.ts +17 -0
  195. package/_publish/objects/Accounts/Permissions/Authorizer.d.ts +204 -0
  196. package/_publish/objects/Accounts/Permissions/Permission.d.ts +56 -0
  197. package/_publish/objects/Accounts/Permissions/PermissionEscalation.d.ts +41 -0
  198. package/_publish/objects/Accounts/Permissions/PermissionEscalationState.d.ts +19 -0
  199. package/_publish/objects/Accounts/Permissions/PermissionEscalationType.d.ts +13 -0
  200. package/_publish/objects/Accounts/Permissions/PermissionLevel.d.ts +17 -0
  201. package/_publish/objects/Accounts/Permissions/PermissionMethod.d.ts +13 -0
  202. package/_publish/objects/Accounts/Permissions/PermissionType.d.ts +280 -0
  203. package/_publish/objects/Accounts/SSOIdentityProvider.d.ts +25 -0
  204. package/_publish/objects/Accounts/Session.d.ts +89 -0
  205. package/_publish/objects/Accounts/SessionStatus.d.ts +29 -0
  206. package/_publish/objects/Accounts/SystemsOfUnits.d.ts +13 -0
  207. package/_publish/objects/Accounts/User.d.ts +167 -0
  208. package/_publish/objects/Accounts/UserAdvanced.d.ts +53 -0
  209. package/_publish/objects/Accounts/UserAuthentication.d.ts +55 -0
  210. package/_publish/objects/Accounts/UserGeneral.d.ts +98 -0
  211. package/_publish/objects/Accounts/UserGroup.d.ts +51 -0
  212. package/_publish/objects/Accounts/UserMFA.d.ts +47 -0
  213. package/_publish/objects/Accounts/UserNotifications.d.ts +76 -0
  214. package/_publish/objects/Accounts/UserSSO.d.ts +37 -0
  215. package/_publish/objects/Assets/Asset.d.ts +218 -0
  216. package/_publish/objects/Assets/AssetAdvanced.d.ts +77 -0
  217. package/_publish/objects/Assets/AssetAttribute.d.ts +71 -0
  218. package/_publish/objects/Assets/AssetDispatch.d.ts +55 -0
  219. package/_publish/objects/Assets/AssetGeneral.d.ts +127 -0
  220. package/_publish/objects/Assets/AssetPlaceStatus.d.ts +31 -0
  221. package/_publish/objects/Assets/AssetPlaceStatusType.d.ts +17 -0
  222. package/_publish/objects/Assets/AssetType.d.ts +21 -0
  223. package/_publish/objects/Behaviours/Behaviour.d.ts +78 -0
  224. package/_publish/objects/Behaviours/BehaviourLog.d.ts +95 -0
  225. package/_publish/objects/Behaviours/BehaviourLogType.d.ts +21 -0
  226. package/_publish/objects/Behaviours/BehaviourParameter.d.ts +38 -0
  227. package/_publish/objects/Behaviours/BehaviourParameterType.d.ts +21 -0
  228. package/_publish/objects/Behaviours/BehaviourScript.d.ts +83 -0
  229. package/_publish/objects/Billing/BillableBase.d.ts +83 -0
  230. package/_publish/objects/Billing/BillableSmsProfile.d.ts +26 -0
  231. package/_publish/objects/Billing/BillingCurrency.d.ts +17 -0
  232. package/_publish/objects/Billing/BillingCycle.d.ts +17 -0
  233. package/_publish/objects/Billing/BillingProfile.d.ts +104 -0
  234. package/_publish/objects/Billing/Hosting/BillableHostingBase.d.ts +41 -0
  235. package/_publish/objects/Billing/Hosting/BillableHostingLicense.d.ts +30 -0
  236. package/_publish/objects/Billing/Hosting/BillableHostingLicenseType.d.ts +20 -0
  237. package/_publish/objects/Billing/Hosting/BillableHostingRule.d.ts +30 -0
  238. package/_publish/objects/Billing/Hosting/BillableHostingType.d.ts +41 -0
  239. package/_publish/objects/Billing/Report/BillingReport.d.ts +112 -0
  240. package/_publish/objects/Billing/Report/BillingReportBreakdown.d.ts +34 -0
  241. package/_publish/objects/Billing/Report/BillingReportHostingSummary.d.ts +36 -0
  242. package/_publish/objects/Billing/Report/BillingReportLicenseBreakdown.d.ts +79 -0
  243. package/_publish/objects/Billing/Report/BillingReportServiceBreakdown.d.ts +124 -0
  244. package/_publish/objects/Billing/Report/BillingReportStatus.d.ts +25 -0
  245. package/_publish/objects/Billing/Report/BillingReportSummary.d.ts +49 -0
  246. package/_publish/objects/Companies/ColourStyle.d.ts +25 -0
  247. package/_publish/objects/Companies/Company.d.ts +167 -0
  248. package/_publish/objects/Companies/CompanyDirectory.d.ts +52 -0
  249. package/_publish/objects/Companies/CompanyGeneral.d.ts +55 -0
  250. package/_publish/objects/Companies/CompanyPolicy.d.ts +66 -0
  251. package/_publish/objects/Companies/CompanyReseller.d.ts +166 -0
  252. package/_publish/objects/Companies/CompanyStyle.d.ts +50 -0
  253. package/_publish/objects/Companies/LabelStyle.d.ts +46 -0
  254. package/_publish/objects/Companies/NotificationServerEmail.d.ts +99 -0
  255. package/_publish/objects/Companies/NotificationServerSms.d.ts +25 -0
  256. package/_publish/objects/Companies/PasswordExpiryMode.d.ts +17 -0
  257. package/_publish/objects/Companies/PasswordPolicy.d.ts +51 -0
  258. package/_publish/objects/Companies/SessionMultiUser.d.ts +17 -0
  259. package/_publish/objects/Companies/SessionPolicy.d.ts +47 -0
  260. package/_publish/objects/Dispatch/DispatchDirection.d.ts +53 -0
  261. package/_publish/objects/Dispatch/DispatchJob.d.ts +107 -0
  262. package/_publish/objects/Dispatch/DispatchJobPriority.d.ts +25 -0
  263. package/_publish/objects/Dispatch/DispatchStep.d.ts +99 -0
  264. package/_publish/objects/Dispatch/DispatchStepState.d.ts +27 -0
  265. package/_publish/objects/Dispatch/DispatchStepStatus.d.ts +21 -0
  266. package/_publish/objects/Dispatch/DispatchTask.d.ts +154 -0
  267. package/_publish/objects/Dispatch/DispatchTaskStatus.d.ts +50 -0
  268. package/_publish/objects/Hosting/Document.d.ts +70 -0
  269. package/_publish/objects/Hosting/Fields/FormFieldAttachments.d.ts +31 -0
  270. package/_publish/objects/Hosting/Fields/FormFieldBase.d.ts +56 -0
  271. package/_publish/objects/Hosting/Fields/FormFieldBase_fromJSON.d.ts +1 -0
  272. package/_publish/objects/Hosting/Fields/FormFieldBoolean.d.ts +38 -0
  273. package/_publish/objects/Hosting/Fields/FormFieldChoice.d.ts +46 -0
  274. package/_publish/objects/Hosting/Fields/FormFieldDate.d.ts +26 -0
  275. package/_publish/objects/Hosting/Fields/FormFieldNumeric.d.ts +54 -0
  276. package/_publish/objects/Hosting/Fields/FormFieldNumericSize.d.ts +32 -0
  277. package/_publish/objects/Hosting/Fields/FormFieldSignature.d.ts +17 -0
  278. package/_publish/objects/Hosting/Fields/FormFieldText.d.ts +32 -0
  279. package/_publish/objects/Hosting/Fields/FormFieldTime.d.ts +37 -0
  280. package/_publish/objects/Hosting/Fields/FormFieldTimezone.d.ts +14 -0
  281. package/_publish/objects/Hosting/FormFieldType.d.ts +127 -0
  282. package/_publish/objects/Hosting/FormResult.d.ts +95 -0
  283. package/_publish/objects/Hosting/FormTemplate.d.ts +80 -0
  284. package/_publish/objects/Images/Dashcam.d.ts +63 -0
  285. package/_publish/objects/Images/DashcamBase.d.ts +97 -0
  286. package/_publish/objects/Images/DashcamLive.d.ts +36 -0
  287. package/_publish/objects/Images/DashcamMediaType.d.ts +17 -0
  288. package/_publish/objects/Images/Icon.d.ts +66 -0
  289. package/_publish/objects/Images/IconGlyph.d.ts +47 -0
  290. package/_publish/objects/Images/IconLabel.d.ts +29 -0
  291. package/_publish/objects/Images/IconLayer.d.ts +33 -0
  292. package/_publish/objects/Images/Picture.d.ts +72 -0
  293. package/_publish/objects/Maintenance/MaintenanceInterval.d.ts +48 -0
  294. package/_publish/objects/Maintenance/MaintenanceJob.d.ts +134 -0
  295. package/_publish/objects/Maintenance/MaintenanceJobStatus.d.ts +21 -0
  296. package/_publish/objects/Maintenance/MaintenanceSchedule.d.ts +118 -0
  297. package/_publish/objects/Messaging/AlertPriority.d.ts +17 -0
  298. package/_publish/objects/Messaging/AssetAlert.d.ts +29 -0
  299. package/_publish/objects/Messaging/AssetMessage.d.ts +40 -0
  300. package/_publish/objects/Messaging/MessageBase.d.ts +99 -0
  301. package/_publish/objects/Messaging/MessageFolder.d.ts +13 -0
  302. package/_publish/objects/Messaging/MessageStatus.d.ts +29 -0
  303. package/_publish/objects/Messaging/MessageType.d.ts +33 -0
  304. package/_publish/objects/Places/Place.d.ts +114 -0
  305. package/_publish/objects/Places/PlaceType.d.ts +25 -0
  306. package/_publish/objects/Providers/Config/ProviderConfig.d.ts +70 -0
  307. package/_publish/objects/Providers/Config/ProviderRegistration.d.ts +119 -0
  308. package/_publish/objects/Providers/Config/ProviderScript.d.ts +86 -0
  309. package/_publish/objects/Providers/Config/ProviderScriptBlock.d.ts +41 -0
  310. package/_publish/objects/Providers/Config/ProviderScriptParameter.d.ts +49 -0
  311. package/_publish/objects/Providers/Config/ProviderScriptParameterType.d.ts +17 -0
  312. package/_publish/objects/Providers/Configuration/ProviderConfiguration.d.ts +66 -0
  313. package/_publish/objects/Providers/Configuration/ProviderConfigurationNode.d.ts +66 -0
  314. package/_publish/objects/Providers/Configuration/ProviderConfigurationType.d.ts +62 -0
  315. package/_publish/objects/Providers/Configuration/ProviderGeofenceBase.d.ts +29 -0
  316. package/_publish/objects/Providers/Configuration/ProviderGeofenceBase_fromJSON.d.ts +1 -0
  317. package/_publish/objects/Providers/Configuration/ProviderGeofenceCircular.d.ts +28 -0
  318. package/_publish/objects/Providers/Configuration/ProviderGeofencePoint.d.ts +12 -0
  319. package/_publish/objects/Providers/Configuration/ProviderGeofencePolygon.d.ts +23 -0
  320. package/_publish/objects/Providers/Configuration/ProviderGeofenceRectangle.d.ts +28 -0
  321. package/{Providers → _publish/objects/Providers}/Provider.d.ts +77 -17
  322. package/_publish/objects/Providers/ProviderAdvanced.d.ts +50 -0
  323. package/_publish/objects/Providers/ProviderCommand.d.ts +36 -0
  324. package/_publish/objects/Providers/ProviderCommandStatus.d.ts +29 -0
  325. package/_publish/objects/Providers/ProviderCommandType.d.ts +37 -0
  326. package/_publish/objects/Providers/ProviderControl.d.ts +41 -0
  327. package/_publish/objects/Providers/ProviderData.d.ts +30 -0
  328. package/_publish/objects/Providers/ProviderGeneral.d.ts +121 -0
  329. package/_publish/objects/Providers/ProviderType.d.ts +106 -0
  330. package/_publish/objects/Reports/ReportBreakdown.d.ts +49 -0
  331. package/_publish/objects/Reports/ReportBreakdownJob.d.ts +37 -0
  332. package/_publish/objects/Reports/ReportBreakdownMessage.d.ts +40 -0
  333. package/_publish/objects/Reports/ReportBreakdownTask.d.ts +46 -0
  334. package/_publish/objects/Reports/ReportBreakdown_fromJSON.d.ts +1 -0
  335. package/_publish/objects/Reports/ReportFilterMode.d.ts +17 -0
  336. package/_publish/objects/Reports/ReportNotifications.d.ts +31 -0
  337. package/_publish/objects/Reports/ReportOptions.d.ts +52 -0
  338. package/_publish/objects/Reports/ReportParameter.d.ts +26 -0
  339. package/_publish/objects/Reports/ReportParameterType.d.ts +59 -0
  340. package/_publish/objects/Reports/ReportRecurrence.d.ts +54 -0
  341. package/_publish/objects/Reports/ReportRecurrenceType.d.ts +34 -0
  342. package/_publish/objects/Reports/ReportResult.d.ts +169 -0
  343. package/_publish/objects/Reports/ReportResultData.d.ts +17 -0
  344. package/_publish/objects/Reports/ReportSchedule.d.ts +111 -0
  345. package/_publish/objects/Reports/ReportScorecard.d.ts +38 -0
  346. package/_publish/objects/Reports/ReportScorecardParameter.d.ts +31 -0
  347. package/_publish/objects/Reports/ReportScorecardRules.d.ts +26 -0
  348. package/_publish/objects/Reports/ReportStatus.d.ts +29 -0
  349. package/_publish/objects/Reports/ReportSummary.d.ts +90 -0
  350. package/_publish/objects/Reports/ReportSummaryReason.d.ts +27 -0
  351. package/_publish/objects/Reports/ReportTemplate.d.ts +81 -0
  352. package/{Reports/ReportDataTotal.d.ts → _publish/objects/Reports/ReportTotal.d.ts} +4 -7
  353. package/_publish/objects/Reports/ReportType.d.ts +42 -0
  354. package/{Storage.d.ts → _publish/objects/storage.d.ts} +11 -1
  355. package/_publish/storage.d.ts +176 -0
  356. package/_publish/trakit-objects.min.js +8 -0
  357. package/package.json +36 -22
  358. package/API/Codifier.d.ts +0 -5
  359. package/API/Component.d.ts +0 -42
  360. package/API/Objects.d.ts +0 -33
  361. package/Assets/Person.d.ts +0 -25
  362. package/Assets/PersonGeneral.d.ts +0 -35
  363. package/Assets/Trailer.d.ts +0 -42
  364. package/Assets/TrailerGeneral.d.ts +0 -47
  365. package/Assets/Vehicle.d.ts +0 -73
  366. package/Assets/VehicleAdvanced.d.ts +0 -25
  367. package/Assets/VehicleGeneral.d.ts +0 -33
  368. package/Hosting/Fields/FormFieldTime.d.ts +0 -34
  369. package/Reports/ReportBreakdown.d.ts +0 -72
  370. package/Reports/ReportBreakdownJob.d.ts +0 -62
  371. package/Reports/ReportBreakdownMessage.d.ts +0 -65
  372. package/objects.d.ts +0 -534
  373. package/objects.min.js +0 -7
  374. /package/{API → _publish/API}/Arrays.d.ts +0 -0
  375. /package/{API → _publish/API}/BaseCompound.d.ts +0 -0
  376. /package/{API → _publish/API}/Constants.d.ts +0 -0
  377. /package/{API → _publish/API}/Conversion.d.ts +0 -0
  378. /package/{API → _publish/API}/Geometry/Interfaces.d.ts +0 -0
  379. /package/{API → _publish/API}/Guid.d.ts +0 -0
  380. /package/{API → _publish/API}/Interfaces/IAmCompany.d.ts +0 -0
  381. /package/{API → _publish/API}/Interfaces/IBelongAsset.d.ts +0 -0
  382. /package/{API → _publish/API}/Interfaces/IBelongBillingProfile.d.ts +0 -0
  383. /package/{API → _publish/API}/Interfaces/IBelongCompany.d.ts +0 -0
  384. /package/{API → _publish/API}/Interfaces/IEnabled.d.ts +0 -0
  385. /package/{API → _publish/API}/Interfaces/IFileSize.d.ts +0 -0
  386. /package/{API → _publish/API}/Interfaces/IGlobal.d.ts +0 -0
  387. /package/{API → _publish/API}/Interfaces/IHavePermissions.d.ts +0 -0
  388. /package/{API → _publish/API}/Interfaces/IHavePreferences.d.ts +0 -0
  389. /package/{API → _publish/API}/Interfaces/IIconic.d.ts +0 -0
  390. /package/{API → _publish/API}/Interfaces/IIdUlong.d.ts +0 -0
  391. /package/{API → _publish/API}/Interfaces/INamed.d.ts +0 -0
  392. /package/{API → _publish/API}/Interfaces/IPictured.d.ts +0 -0
  393. /package/{API → _publish/API}/Interfaces/ISerializable.d.ts +0 -0
  394. /package/{API → _publish/API}/Interfaces/ISuspendable.d.ts +0 -0
  395. /package/{API → _publish/API}/Interfaces/IVisual.d.ts +0 -0
  396. /package/{API → _publish/API}/Maps.d.ts +0 -0
  397. /package/{API → _publish/API}/Timezones.d.ts +0 -0
  398. /package/{Accounts → _publish/Accounts}/NotificationMethod.d.ts +0 -0
  399. /package/{Accounts → _publish/Accounts}/Permissions/Authorizer.d.ts +0 -0
  400. /package/{Accounts → _publish/Accounts}/Permissions/PermissionEscalationType.d.ts +0 -0
  401. /package/{Accounts → _publish/Accounts}/Permissions/PermissionLevel.d.ts +0 -0
  402. /package/{Accounts → _publish/Accounts}/Permissions/PermissionMethod.d.ts +0 -0
  403. /package/{Accounts → _publish/Accounts}/Permissions/PermissionType.d.ts +0 -0
  404. /package/{Accounts → _publish/Accounts}/SessionStatus.d.ts +0 -0
  405. /package/{Accounts → _publish/Accounts}/SystemsOfUnits.d.ts +0 -0
  406. /package/{Assets → _publish/Assets}/AssetPlaceStatusType.d.ts +0 -0
  407. /package/{Assets → _publish/Assets}/AssetType.d.ts +0 -0
  408. /package/{Behaviours → _publish/Behaviours}/BehaviourLogType.d.ts +0 -0
  409. /package/{Behaviours → _publish/Behaviours}/BehaviourParameterType.d.ts +0 -0
  410. /package/{Billing → _publish/Billing}/BillingCurrency.d.ts +0 -0
  411. /package/{Billing → _publish/Billing}/BillingCycle.d.ts +0 -0
  412. /package/{Billing → _publish/Billing}/Hosting/BillableHostingLicenseType.d.ts +0 -0
  413. /package/{Billing → _publish/Billing}/Hosting/BillableHostingType.d.ts +0 -0
  414. /package/{Billing → _publish/Billing}/Report/BillingReportStatus.d.ts +0 -0
  415. /package/{Companies → _publish/Companies}/PasswordExpiryMode.d.ts +0 -0
  416. /package/{Companies → _publish/Companies}/SessionMultiUser.d.ts +0 -0
  417. /package/{Dispatch → _publish/Dispatch}/DispatchJobPriority.d.ts +0 -0
  418. /package/{Dispatch → _publish/Dispatch}/DispatchStepStatus.d.ts +0 -0
  419. /package/{Dispatch → _publish/Dispatch}/DispatchTaskStatus.d.ts +0 -0
  420. /package/{Hosting → _publish/Hosting}/Fields/FormFieldNumericSize.d.ts +0 -0
  421. /package/{Hosting → _publish/Hosting}/FormFieldType.d.ts +0 -0
  422. /package/{Images → _publish/Images}/DashcamMediaType.d.ts +0 -0
  423. /package/{Images → _publish/Images}/IconLayer.d.ts +0 -0
  424. /package/{Maintenance → _publish/Maintenance}/MaintenanceJobStatus.d.ts +0 -0
  425. /package/{Messaging → _publish/Messaging}/AlertPriority.d.ts +0 -0
  426. /package/{Messaging → _publish/Messaging}/MessageFolder.d.ts +0 -0
  427. /package/{Messaging → _publish/Messaging}/MessageStatus.d.ts +0 -0
  428. /package/{Messaging → _publish/Messaging}/MessageType.d.ts +0 -0
  429. /package/{Places → _publish/Places}/PlaceType.d.ts +0 -0
  430. /package/{Providers → _publish/Providers}/Config/ProviderScriptParameterType.d.ts +0 -0
  431. /package/{Providers → _publish/Providers}/Configuration/ProviderGeofenceCircular.d.ts +0 -0
  432. /package/{Providers → _publish/Providers}/Configuration/ProviderGeofencePoint.d.ts +0 -0
  433. /package/{Providers → _publish/Providers}/Configuration/ProviderGeofencePolygon.d.ts +0 -0
  434. /package/{Providers → _publish/Providers}/Configuration/ProviderGeofenceRectangle.d.ts +0 -0
  435. /package/{Providers → _publish/Providers}/ProviderCommandStatus.d.ts +0 -0
  436. /package/{Providers → _publish/Providers}/ProviderCommandType.d.ts +0 -0
  437. /package/{Providers → _publish/Providers}/ProviderType.d.ts +0 -0
  438. /package/{Reports → _publish/Reports}/ReportFilterMode.d.ts +0 -0
  439. /package/{Reports → _publish/Reports}/ReportParameterType.d.ts +0 -0
  440. /package/{Reports → _publish/Reports}/ReportRecurrenceType.d.ts +0 -0
  441. /package/{Reports → _publish/Reports}/ReportResultData.d.ts +0 -0
  442. /package/{Reports → _publish/Reports}/ReportStatus.d.ts +0 -0
  443. /package/{Reports → _publish/Reports}/ReportSummaryReason.d.ts +0 -0
  444. /package/{Reports → _publish/Reports}/ReportType.d.ts +0 -0
@@ -3,8 +3,11 @@ import { BaseCompound } from "../API/BaseCompound";
3
3
  import { IBelongCompany } from "../API/Interfaces/IBelongCompany";
4
4
  import { INamed } from "../API/Interfaces/INamed";
5
5
  import { ISuspendable } from "../API/Interfaces/ISuspendable";
6
- import { ipv4, phone, ulong } from "../API/Types";
6
+ import { JsonObject, ipv4, phone, ulong } from "../API/Types";
7
+ import { Asset } from "../Assets/Asset";
7
8
  import { Company } from "../Companies/Company";
9
+ import { ProviderConfig } from "./Config/ProviderConfig";
10
+ import { ProviderConfiguration } from "./Configuration/ProviderConfiguration";
8
11
  import { ProviderAdvanced } from "./ProviderAdvanced";
9
12
  import { ProviderCommand } from "./ProviderCommand";
10
13
  import { ProviderCommandType } from "./ProviderCommandType";
@@ -23,17 +26,14 @@ export declare class Provider extends BaseCompound implements INamed, IBelongCom
23
26
  get pieces(): BaseComponent[];
24
27
  /**
25
28
  * Unique identifier of this device.
26
- * {@link Asset.id}
27
29
  */
28
30
  get id(): string;
29
31
  /**
30
32
  * The company to which this device belongs.
31
- * {@link Company.id}
32
33
  */
33
34
  get companyId(): ulong;
34
35
  /**
35
36
  * The company to which this device belongs.
36
- * {@link Company.id}
37
37
  */
38
38
  get company(): Company;
39
39
  set company(value: Company);
@@ -56,15 +56,25 @@ export declare class Provider extends BaseCompound implements INamed, IBelongCom
56
56
  * The asset for which this device provides field data.
57
57
  * {@link Asset.id}
58
58
  */
59
- get asset(): ulong;
60
- set asset(value: ulong);
59
+ get assetId(): ulong;
60
+ set assetId(value: ulong);
61
+ /**
62
+ * The {@link Asset} for which this device provides field data.
63
+ */
64
+ get asset(): Asset;
65
+ set asset(value: Asset);
61
66
  /**
62
67
  * The provider's current (or pending) configuration profile.
63
68
  * {@link ProviderConfig.id}
64
69
  * {@link ProviderConfiguration.id}
65
70
  */
66
- get configuration(): ulong;
67
- set configuration(value: ulong);
71
+ get configurationId(): ulong;
72
+ set configurationId(value: ulong);
73
+ /**
74
+ * The provider's current (or pending) {@link ProviderConfig} (or {@link ProviderConfiguration}).
75
+ */
76
+ get configuration(): ProviderConfig | ProviderConfiguration;
77
+ set configuration(value: ProviderConfig | ProviderConfiguration);
68
78
  /**
69
79
  * The password programmed on the device used to ensure the system is the only client authorized to make changes.
70
80
  */
@@ -113,23 +123,73 @@ export declare class Provider extends BaseCompound implements INamed, IBelongCom
113
123
  get commands(): Map<ProviderCommandType, ProviderCommand>;
114
124
  set commands(value: Map<ProviderCommandType, ProviderCommand>);
115
125
  toJSON(): {
116
- asset?: number | null | undefined;
117
- password?: string | undefined;
118
- firmware?: string | undefined;
119
- phoneNumber?: number | null | undefined;
120
- information?: object | undefined;
121
- sim?: string | undefined;
122
- suspended?: boolean | undefined;
123
- since?: string | null | undefined;
126
+ suspended: boolean;
127
+ since: string | null;
128
+ id: string | null;
129
+ v: number[];
130
+ company: number | null;
131
+ name: string;
132
+ notes: string;
133
+ kind: ProviderType;
134
+ configuration: number | null;
135
+ } | {
136
+ asset: number | null;
137
+ password: string;
138
+ firmware: string;
139
+ phoneNumber: number | null;
140
+ information: JsonObject;
141
+ sim: string;
124
142
  id: string | null;
143
+ v: number[];
125
144
  company: number | null;
145
+ name: string;
146
+ notes: string;
126
147
  kind: ProviderType;
148
+ configuration: number | null;
149
+ } | {
150
+ control: {
151
+ id: string | null;
152
+ v: number[];
153
+ company: number | null;
154
+ commands: JsonObject;
155
+ };
156
+ v: number[];
157
+ id: string | null;
158
+ company: number;
159
+ lastIP: string;
160
+ attributes: JsonObject;
161
+ snf: JsonObject;
162
+ suspended: boolean;
163
+ since: string | null;
127
164
  name: string;
128
165
  notes: string;
166
+ kind: ProviderType;
129
167
  configuration: number | null;
168
+ } | {
169
+ control: {
170
+ id: string | null;
171
+ v: number[];
172
+ company: number | null;
173
+ commands: JsonObject;
174
+ };
130
175
  v: number[];
176
+ id: string | null;
177
+ company: number;
178
+ lastIP: string;
179
+ attributes: JsonObject;
180
+ snf: JsonObject;
181
+ asset: number | null;
182
+ password: string;
183
+ firmware: string;
184
+ phoneNumber: number | null;
185
+ information: JsonObject;
186
+ sim: string;
187
+ name: string;
188
+ notes: string;
189
+ kind: ProviderType;
190
+ configuration: number | null;
131
191
  };
132
- fromJSON(json: any, force?: boolean): boolean;
192
+ fromJSON(json: JsonObject, force?: boolean): boolean;
133
193
  /**
134
194
  * The {@link id} is the key.
135
195
  */
@@ -0,0 +1,50 @@
1
+ import { BaseComponent } from "../API/BaseComponent";
2
+ import { IBelongCompany } from "../API/Interfaces/IBelongCompany";
3
+ import { JsonObject, ipv4, ulong } from "../API/Types";
4
+ import { Company } from "../Companies/Company";
5
+ import { ProviderData } from "./ProviderData";
6
+ /**
7
+ * Device/hardware information reported from the field.
8
+ */
9
+ export declare class ProviderAdvanced extends BaseComponent implements IBelongCompany {
10
+ /**
11
+ * Unique identifier of this device.
12
+ * {@link Provider.id}
13
+ */
14
+ id: string;
15
+ /**
16
+ * The company to which this device belongs.
17
+ * {@link Company.id}
18
+ */
19
+ companyId: ulong;
20
+ /**
21
+ * The {@link Company} to which this device belongs.
22
+ */
23
+ get company(): Company;
24
+ set company(value: Company);
25
+ /**
26
+ * The last IP address of the device.
27
+ */
28
+ lastIP: ipv4;
29
+ /**
30
+ * Often changing values like latitude, longitude, speed, wiring state, VBus information, etc...
31
+ */
32
+ attributes: Map<string, Map<string, ProviderData>>;
33
+ /**
34
+ * Store-and-forward information like last sequence number of SnF window
35
+ */
36
+ snf: Map<string, string>;
37
+ toJSON(): {
38
+ id: string | null;
39
+ v: number[];
40
+ company: number;
41
+ lastIP: string;
42
+ attributes: JsonObject;
43
+ snf: JsonObject;
44
+ };
45
+ fromJSON(json: JsonObject, force?: boolean): boolean;
46
+ /**
47
+ * The {@link id} is the key.
48
+ */
49
+ getKey(): string;
50
+ }
@@ -0,0 +1,36 @@
1
+ import { ISerializable } from "../API/Interfaces/ISerializable";
2
+ import { datetime, JsonObject } from "../API/Types";
3
+ import { ProviderCommandStatus } from "./ProviderCommandStatus";
4
+ /**
5
+ * Details regarding a provider command
6
+ */
7
+ export declare class ProviderCommand implements ISerializable {
8
+ /**
9
+ *
10
+ * @param json
11
+ */
12
+ static fromJSON(json: JsonObject): ProviderCommand;
13
+ /**
14
+ * Current status of this command.
15
+ */
16
+ status: ProviderCommandStatus;
17
+ /**
18
+ * Command message body.
19
+ */
20
+ parameters: string[];
21
+ /**
22
+ * Date/time stamp of when the command was created.
23
+ */
24
+ created: Date;
25
+ /**
26
+ * Date/time stamp of when the command was processed.
27
+ */
28
+ processed: Date;
29
+ constructor(status?: ProviderCommandStatus, parameters?: string[], created?: Date | number | datetime, processed?: Date | number | datetime);
30
+ toJSON(): {
31
+ status: ProviderCommandStatus;
32
+ parameters: string[];
33
+ created: string | null;
34
+ processed: string | null;
35
+ };
36
+ }
@@ -0,0 +1,29 @@
1
+ /**
2
+ * Progress lifetime of command for the device/modem.
3
+ */
4
+ export declare enum ProviderCommandStatus {
5
+ /**
6
+ * The new command has been created, but not yet sent to the provider.
7
+ */
8
+ created = "created",
9
+ /**
10
+ * Command was processed and sent to the provider.
11
+ */
12
+ pending = "pending",
13
+ /**
14
+ * Provider is taking some action related to this command. eg. Checking in for config update or getting tasks list.
15
+ */
16
+ inProgress = "inProgress",
17
+ /**
18
+ * Command was successfully processed by the provider.
19
+ */
20
+ completed = "completed",
21
+ /**
22
+ * Something went wrong while trying to send or process the command.
23
+ */
24
+ failed = "failed",
25
+ /**
26
+ * Sending of the new command was halted by a user.
27
+ */
28
+ cancelled = "cancelled"
29
+ }
@@ -0,0 +1,37 @@
1
+ /**
2
+ * The kind of command for the device/modem.
3
+ */
4
+ export declare enum ProviderCommandType {
5
+ /**
6
+ * If the type of command has not yet been determined, or there was an error determining its type.
7
+ */
8
+ unknown = "unknown",
9
+ /**
10
+ * Configuration
11
+ */
12
+ config = "config",
13
+ /**
14
+ * Geofence
15
+ */
16
+ geofence = "geofence",
17
+ /**
18
+ * Dispatch Job
19
+ */
20
+ dispatch = "dispatch",
21
+ /**
22
+ * GPS report
23
+ */
24
+ gps = "gps",
25
+ /**
26
+ * Status report
27
+ */
28
+ status = "status",
29
+ /**
30
+ * Control output wire
31
+ */
32
+ output = "output",
33
+ /**
34
+ * Custom (modem specific) message
35
+ */
36
+ custom = "custom"
37
+ }
@@ -0,0 +1,41 @@
1
+ import { BaseComponent } from "../API/BaseComponent";
2
+ import { IBelongCompany } from "../API/Interfaces/IBelongCompany";
3
+ import { JsonObject, ulong } from "../API/Types";
4
+ import { Company } from "../Companies/Company";
5
+ import { ProviderCommand } from "./ProviderCommand";
6
+ import { ProviderCommandType } from "./ProviderCommandType";
7
+ /**
8
+ * Managing communication with Device/hardware.
9
+ */
10
+ export declare class ProviderControl extends BaseComponent implements IBelongCompany {
11
+ /**
12
+ * Unique identifier of this device.
13
+ * {@link Provider.id}
14
+ */
15
+ id: string;
16
+ /**
17
+ * The company to which this device belongs.
18
+ * {@link Company.id}
19
+ */
20
+ companyId: ulong;
21
+ /**
22
+ * The {@link Company} to which this device belongs.
23
+ */
24
+ get company(): Company;
25
+ set company(value: Company);
26
+ /**
27
+ * Collection of commands for this provider.
28
+ */
29
+ commands: Map<ProviderCommandType, ProviderCommand>;
30
+ toJSON(): {
31
+ id: string | null;
32
+ v: number[];
33
+ company: number | null;
34
+ commands: JsonObject;
35
+ };
36
+ fromJSON(json: JsonObject, force?: boolean): boolean;
37
+ /**
38
+ * The {@link id} is the key.
39
+ */
40
+ getKey(): string;
41
+ }
@@ -0,0 +1,30 @@
1
+ import { ISerializable } from "../API/Interfaces/ISerializable";
2
+ import { datetime, JsonObject } from "../API/Types";
3
+ /**
4
+ * A fragment of data given by a device.
5
+ */
6
+ export declare class ProviderData implements ISerializable {
7
+ /**
8
+ *
9
+ * @param json
10
+ */
11
+ static fromJSON(json: JsonObject): ProviderData;
12
+ /**
13
+ * The value of the data given like true, 17.3, "asdf", etc...
14
+ */
15
+ value: any;
16
+ /**
17
+ * Date/time stamp from when the device recorded (or reported) the data.
18
+ */
19
+ dts: Date;
20
+ /**
21
+ * The relevant unit for the data provided like Km/h, degrees, volts, RPM, etc...
22
+ */
23
+ unit: string;
24
+ constructor(value?: any, dts?: Date | number | datetime, unit?: string);
25
+ toJSON(): {
26
+ value: any;
27
+ dts: string | null;
28
+ unit: string;
29
+ };
30
+ }
@@ -0,0 +1,121 @@
1
+ import { BaseComponent } from "../API/BaseComponent";
2
+ import { IBelongCompany } from "../API/Interfaces/IBelongCompany";
3
+ import { INamed } from "../API/Interfaces/INamed";
4
+ import { ISuspendable } from "../API/Interfaces/ISuspendable";
5
+ import { JsonObject, phone, ulong } from "../API/Types";
6
+ import { Asset } from "../Assets/Asset";
7
+ import { Company } from "../Companies/Company";
8
+ import { ProviderConfig } from "./Config/ProviderConfig";
9
+ import { ProviderConfiguration } from "./Configuration/ProviderConfiguration";
10
+ import { ProviderType } from "./ProviderType";
11
+ /**
12
+ * Device/hardware information and configuration.
13
+ */
14
+ export declare class ProviderGeneral extends BaseComponent implements INamed, IBelongCompany, ISuspendable {
15
+ /**
16
+ * Unique identifier of this device.
17
+ * {@link Provider.id}
18
+ */
19
+ id: string;
20
+ /**
21
+ * The company to which this device belongs.
22
+ * {@link Company.id}
23
+ */
24
+ companyId: ulong;
25
+ /**
26
+ * The {@link Company} to which this device belongs.
27
+ */
28
+ get company(): Company;
29
+ set company(value: Company);
30
+ /**
31
+ * A nickname given to the device/hardware.
32
+ */
33
+ name: string;
34
+ /**
35
+ * Notes!
36
+ */
37
+ notes: string;
38
+ /**
39
+ * The kind of communication protocol this device uses.
40
+ */
41
+ kind: ProviderType;
42
+ /**
43
+ * The asset for which this device provides field data.
44
+ * {@link Asset.id}
45
+ */
46
+ assetId: ulong;
47
+ /**
48
+ * The {@link Asset} for which this device provides field data.
49
+ */
50
+ get asset(): Asset;
51
+ set asset(value: Asset);
52
+ /**
53
+ * The provider's current (or pending) configuration profile.
54
+ * {@link ProviderConfig.id}
55
+ * {@link ProviderConfiguration.id}
56
+ */
57
+ configurationId: ulong;
58
+ /**
59
+ * The provider's current (or pending) {@link ProviderConfig} (or {@link ProviderConfiguration}).
60
+ */
61
+ get configuration(): ProviderConfig | ProviderConfiguration;
62
+ set configuration(value: ProviderConfig | ProviderConfiguration);
63
+ /**
64
+ * The password programmed on the device used to ensure the system is the only client authorized to make changes.
65
+ */
66
+ password: string;
67
+ /**
68
+ * The firmware/application version number.
69
+ */
70
+ firmware: string;
71
+ /**
72
+ * The phone number of this device.
73
+ */
74
+ phoneNumber: phone;
75
+ /**
76
+ * A list of read-only values about the device like IMEI, ESN, firmware version, hardware revision, etc...
77
+ */
78
+ information: Map<string, string>;
79
+ /**
80
+ * ICCID of the SIM card installed in this provider
81
+ */
82
+ sim: string;
83
+ toJSON(): {
84
+ suspended: boolean;
85
+ since: string | null;
86
+ id: string | null;
87
+ v: number[];
88
+ company: number | null;
89
+ name: string;
90
+ notes: string;
91
+ kind: ProviderType;
92
+ configuration: number | null;
93
+ } | {
94
+ asset: number | null;
95
+ password: string;
96
+ firmware: string;
97
+ phoneNumber: number | null;
98
+ information: JsonObject;
99
+ sim: string;
100
+ id: string | null;
101
+ v: number[];
102
+ company: number | null;
103
+ name: string;
104
+ notes: string;
105
+ kind: ProviderType;
106
+ configuration: number | null;
107
+ };
108
+ fromJSON(json: JsonObject, force?: boolean): boolean;
109
+ /**
110
+ * The {@link id} is the key.
111
+ */
112
+ getKey(): string;
113
+ /**
114
+ * Indicates whether this object is suspended from event processing.
115
+ */
116
+ suspended: boolean;
117
+ /**
118
+ * Timestamp from the action that deleted or suspended this object.
119
+ */
120
+ since: Date;
121
+ }
@@ -0,0 +1,106 @@
1
+ /**
2
+ * Protocols supported by the system.
3
+ */
4
+ export declare enum ProviderType {
5
+ /**
6
+ * Your guess is as good as mine.
7
+ * It should never be this.
8
+ */
9
+ unknown = "unknown",
10
+ /**
11
+ * Sierra Wireless AirLink RAP protocol
12
+ * @deprecated No longer supported
13
+ */
14
+ airlink = "airlink",
15
+ /**
16
+ * Sixnet BlueTree BEP protocol
17
+ * @deprecated No longer supported
18
+ */
19
+ bluetree = "bluetree",
20
+ /**
21
+ * Gen-X modem protocol
22
+ */
23
+ genx = "genx",
24
+ /**
25
+ * CalAmp LMU series protocol
26
+ * @deprecated Use calamp instead
27
+ */
28
+ lmu = "lmu",
29
+ /**
30
+ * CalAmp TTU series protocol
31
+ * @deprecated Use calamp instead
32
+ */
33
+ ttu = "ttu",
34
+ /**
35
+ * Novotel Enfora SpiderAT protocol
36
+ * @deprecated Use enfora instead
37
+ */
38
+ spiderAT = "spiderAT",
39
+ /**
40
+ * Novotel Enfora SpiderMT protocol
41
+ * @deprecated Use enfora instead
42
+ */
43
+ spiderMT = "spiderMT",
44
+ /**
45
+ * Trak iT Wireless Mobile App
46
+ */
47
+ mobile = "mobile",
48
+ /**
49
+ * TachWest DataTrans protocol
50
+ */
51
+ datatrans = "datatrans",
52
+ /**
53
+ * Xirgo modem protocol
54
+ * @deprecated No longer supported
55
+ */
56
+ xirgo = "xirgo",
57
+ /**
58
+ * Bell Mobility LBS
59
+ */
60
+ lbs = "lbs",
61
+ /**
62
+ * Certified Tracking protocol
63
+ * @deprecated No longer supported
64
+ */
65
+ titan = "titan",
66
+ /**
67
+ * Concox Tracker protocol
68
+ * @deprecated No longer supported
69
+ */
70
+ concox = "concox",
71
+ /**
72
+ * Aspenta Open API format
73
+ * @deprecated No longer supported
74
+ */
75
+ aspenta = "aspenta",
76
+ /**
77
+ * Fleet Freedom JSON protocol
78
+ * @deprecated No longer supported
79
+ */
80
+ json = "json",
81
+ /**
82
+ * SmartWitness dashcam formats
83
+ */
84
+ smartwitness = "smartwitness",
85
+ /**
86
+ * CalAmp LMU/TTU modem protocols
87
+ */
88
+ calamp = "calamp",
89
+ /**
90
+ * Enfora (Novotel) modem protocols
91
+ * @deprecated No longer supported
92
+ */
93
+ enfora = "enfora",
94
+ /**
95
+ * BeWhere beacon protocols
96
+ */
97
+ bewhere = "bewhere",
98
+ /**
99
+ * ATrack device protocols
100
+ */
101
+ atrack = "atrack",
102
+ /**
103
+ * Teltonika device protocols
104
+ */
105
+ teltonika = "teltonika"
106
+ }
@@ -0,0 +1,49 @@
1
+ import { ISerializable } from "../API/Interfaces/ISerializable";
2
+ import { JsonObject, nothing, uint, ulong } from "../API/Types";
3
+ import { Asset } from "../Assets/Asset";
4
+ import { AssetAdvanced } from "../Assets/AssetAdvanced";
5
+ import { AssetGeneral } from "../Assets/AssetGeneral";
6
+ /**
7
+ * Asset information used in calculating a summary instance.
8
+ */
9
+ export declare class ReportBreakdown implements ISerializable {
10
+ /**
11
+ * Instantiates a {@link ReportBreakdown} or one of its subclasses based on the shape of the JSON.
12
+ * Implementation is in {@link ReportBreakdown_fromJSON.ts}
13
+ * @param json The JSON to parse.
14
+ * @returns An instance of a {@link ReportBreakdown} or one of its subclasses.
15
+ */
16
+ static fromJSON: (json: JsonObject) => ReportBreakdown;
17
+ /**
18
+ * The asset to which this event data belongs.
19
+ */
20
+ assetId: ulong;
21
+ /**
22
+ * The asset to which this event data belongs.
23
+ */
24
+ get asset(): Asset;
25
+ /**
26
+ * Report specific identifier of the event data.
27
+ */
28
+ instance: uint;
29
+ /**
30
+ * Identifiers of the summary instances that used this event.
31
+ */
32
+ summaryInstances: uint[];
33
+ /**
34
+ * General Asset information.
35
+ */
36
+ general: AssetGeneral | null;
37
+ /**
38
+ * Advanced/detailed information used.
39
+ */
40
+ advanced: AssetAdvanced | null;
41
+ constructor(asset: ulong, instance: uint, summaryInstances?: uint[] | nothing, general?: AssetGeneral | nothing, advanced?: AssetAdvanced | nothing);
42
+ toJSON(): {
43
+ asset: number | null;
44
+ instance: number | null;
45
+ summaryInstances: number[];
46
+ general: JsonObject | null;
47
+ advanced: JsonObject | null;
48
+ };
49
+ }
@@ -0,0 +1,37 @@
1
+ import { nothing, uint, ulong } from "../API/Types";
2
+ import { AssetAdvanced } from "../Assets/AssetAdvanced";
3
+ import { AssetGeneral } from "../Assets/AssetGeneral";
4
+ import { DispatchJob } from "../Dispatch/DispatchJob";
5
+ import { ReportBreakdown } from "./ReportBreakdown";
6
+ /**
7
+ * Dispatch Job information used in this report.
8
+ */
9
+ export declare class ReportBreakdownJob extends ReportBreakdown {
10
+ /**
11
+ * The Job used.
12
+ */
13
+ job: DispatchJob;
14
+ constructor(job: DispatchJob, asset: ulong, instance: uint, summaryInstances?: uint[] | nothing, general?: AssetGeneral | nothing, advanced?: AssetAdvanced | nothing);
15
+ toJSON(): {
16
+ job: {
17
+ id: number | null;
18
+ company: number | null;
19
+ v: number[];
20
+ driver: string;
21
+ created: string | null;
22
+ name: string;
23
+ instructions: string;
24
+ priority: import("../..").DispatchJobPriority;
25
+ references: import("../..").JsonObject;
26
+ labels: string[];
27
+ tags: string[];
28
+ forms: number[];
29
+ steps: any[];
30
+ };
31
+ asset: number | null;
32
+ instance: number | null;
33
+ summaryInstances: number[];
34
+ general: import("../..").JsonObject | null;
35
+ advanced: import("../..").JsonObject | null;
36
+ };
37
+ }