@trakit/objects 0.0.6 → 0.0.8

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 (428) hide show
  1. package/{_publish/API → API}/Arrays.d.ts +1 -0
  2. package/{_publish/API → API}/Base.d.ts +1 -0
  3. package/{_publish/objects/API → API}/BaseComponent.d.ts +1 -0
  4. package/{_publish/objects/API → API}/BaseCompound.d.ts +1 -0
  5. package/{_publish/objects/API → API}/Codifier.d.ts +1 -0
  6. package/{_publish/API → API}/Constants.d.ts +1 -0
  7. package/{_publish/objects/API → API}/Conversion.d.ts +1 -0
  8. package/{_publish/API → API}/Encoding.d.ts +1 -0
  9. package/{_publish/objects/API → API}/Files.d.ts +1 -0
  10. package/{_publish/API → API}/Functions.d.ts +1 -0
  11. package/{_publish/API → API}/Guid.d.ts +1 -0
  12. package/{_publish/API → API}/Maps.d.ts +1 -0
  13. package/{_publish/objects/API → API}/Objects.d.ts +1 -0
  14. package/{_publish/API → API}/SearchPattern.d.ts +1 -0
  15. package/{_publish/objects/API → API}/TimeSpan.d.ts +1 -0
  16. package/{_publish/objects/API → API}/Timezone.d.ts +1 -0
  17. package/{_publish/API → API}/Timezones.d.ts +1 -0
  18. package/{_publish/objects/API → API}/Types.d.ts +1 -0
  19. package/{_publish/objects/Accounts → Accounts}/Contact.d.ts +1 -0
  20. package/{_publish/objects/Accounts → Accounts}/Machine.d.ts +1 -0
  21. package/{_publish/objects/Accounts → Accounts}/MultiFactorType.d.ts +1 -0
  22. package/{_publish/Accounts → Accounts}/NotificationMethod.d.ts +1 -0
  23. package/{_publish/objects/Accounts → Accounts}/SSOIdentityProvider.d.ts +1 -0
  24. package/{_publish/objects/Accounts → Accounts}/Session.d.ts +1 -0
  25. package/{_publish/objects/Accounts → Accounts}/SessionStatus.d.ts +1 -0
  26. package/{_publish/objects/Accounts → Accounts}/SystemsOfUnits.d.ts +1 -0
  27. package/{_publish/objects/Accounts → Accounts}/User.d.ts +1 -0
  28. package/{_publish/objects/Accounts → Accounts}/UserAdvanced.d.ts +1 -0
  29. package/{_publish/objects/Accounts → Accounts}/UserAuthentication.d.ts +1 -0
  30. package/{_publish/objects/Accounts → Accounts}/UserGeneral.d.ts +1 -0
  31. package/{_publish/objects/Accounts → Accounts}/UserGroup.d.ts +1 -0
  32. package/{_publish/objects/Accounts → Accounts}/UserMFA.d.ts +1 -0
  33. package/{_publish/Accounts → Accounts}/UserNotifications.d.ts +1 -0
  34. package/{_publish/objects/Accounts → Accounts}/UserSSO.d.ts +1 -0
  35. package/{_publish/objects/Assets → Assets}/Asset.d.ts +1 -0
  36. package/{_publish/objects/Assets → Assets}/AssetAdvanced.d.ts +1 -0
  37. package/{_publish/objects/Assets → Assets}/AssetAttribute.d.ts +1 -0
  38. package/{_publish/objects/Assets → Assets}/AssetDispatch.d.ts +1 -0
  39. package/{_publish/objects/Assets → Assets}/AssetGeneral.d.ts +1 -0
  40. package/{_publish/Assets → Assets}/AssetPlaceStatus.d.ts +1 -0
  41. package/{_publish/Assets → Assets}/AssetPlaceStatusType.d.ts +1 -0
  42. package/{_publish/Assets → Assets}/AssetType.d.ts +1 -0
  43. package/{_publish/objects/Behaviours → Behaviours}/Behaviour.d.ts +1 -0
  44. package/{_publish/objects/Behaviours → Behaviours}/BehaviourLog.d.ts +1 -0
  45. package/{_publish/Behaviours → Behaviours}/BehaviourLogType.d.ts +1 -0
  46. package/{_publish/objects/Behaviours → Behaviours}/BehaviourParameter.d.ts +1 -0
  47. package/{_publish/Behaviours → Behaviours}/BehaviourParameterType.d.ts +1 -0
  48. package/{_publish/objects/Behaviours → Behaviours}/BehaviourScript.d.ts +1 -0
  49. package/{_publish/objects/Billing → Billing}/BillableBase.d.ts +1 -0
  50. package/{_publish/Billing → Billing}/BillableSmsProfile.d.ts +1 -0
  51. package/{_publish/objects/Billing → Billing}/BillingCurrency.d.ts +1 -0
  52. package/{_publish/objects/Billing → Billing}/BillingCycle.d.ts +1 -0
  53. package/{_publish/objects/Billing → Billing}/BillingProfile.d.ts +1 -0
  54. package/{_publish/objects/Companies → Companies}/ColourStyle.d.ts +1 -0
  55. package/{_publish/objects/Companies → Companies}/Company.d.ts +1 -0
  56. package/{_publish/objects/Companies → Companies}/CompanyDirectory.d.ts +1 -0
  57. package/{_publish/objects/Companies → Companies}/CompanyGeneral.d.ts +1 -0
  58. package/{_publish/objects/Companies → Companies}/CompanyPolicy.d.ts +1 -0
  59. package/{_publish/objects/Companies → Companies}/CompanyReseller.d.ts +1 -0
  60. package/{_publish/objects/Companies → Companies}/CompanyStyle.d.ts +1 -0
  61. package/{_publish/objects/Companies → Companies}/LabelStyle.d.ts +1 -0
  62. package/{_publish/objects/Companies → Companies}/NotificationServerEmail.d.ts +1 -0
  63. package/{_publish/Companies → Companies}/NotificationServerSms.d.ts +1 -0
  64. package/{_publish/Companies → Companies}/PasswordExpiryMode.d.ts +1 -0
  65. package/{_publish/objects/Companies → Companies}/PasswordPolicy.d.ts +1 -0
  66. package/{_publish/Companies → Companies}/SessionMultiUser.d.ts +1 -0
  67. package/{_publish/objects/Companies → Companies}/SessionPolicy.d.ts +1 -0
  68. package/{_publish/objects/Dispatch → Dispatch}/DispatchDirection.d.ts +1 -0
  69. package/{_publish/objects/Dispatch → Dispatch}/DispatchJob.d.ts +1 -0
  70. package/{_publish/Dispatch → Dispatch}/DispatchJobPriority.d.ts +1 -0
  71. package/{_publish/objects/Dispatch → Dispatch}/DispatchStep.d.ts +1 -0
  72. package/{_publish/objects/Dispatch → Dispatch}/DispatchStepState.d.ts +1 -0
  73. package/{_publish/Dispatch → Dispatch}/DispatchStepStatus.d.ts +1 -0
  74. package/{_publish/objects/Dispatch → Dispatch}/DispatchTask.d.ts +1 -0
  75. package/{_publish/Dispatch → Dispatch}/DispatchTaskStatus.d.ts +1 -0
  76. package/{_publish/objects/Hosting → Hosting}/Document.d.ts +1 -0
  77. package/{_publish/Hosting → Hosting}/FormFieldType.d.ts +1 -0
  78. package/{_publish/objects/Hosting → Hosting}/FormResult.d.ts +1 -0
  79. package/{_publish/objects/Hosting → Hosting}/FormTemplate.d.ts +1 -0
  80. package/{_publish/objects/Images → Images}/Dashcam.d.ts +1 -0
  81. package/{_publish/objects/Images → Images}/DashcamBase.d.ts +1 -0
  82. package/{_publish/objects/Images → Images}/DashcamLive.d.ts +1 -0
  83. package/{_publish/objects/Images → Images}/DashcamMediaType.d.ts +1 -0
  84. package/{_publish/objects/Images → Images}/Icon.d.ts +1 -0
  85. package/{_publish/objects/Images → Images}/IconGlyph.d.ts +1 -0
  86. package/{_publish/objects/Images → Images}/IconLabel.d.ts +1 -0
  87. package/{_publish/objects/Images → Images}/IconLayer.d.ts +1 -0
  88. package/{_publish/objects/Images → Images}/Picture.d.ts +1 -0
  89. package/{_publish/Maintenance → Maintenance}/MaintenanceInterval.d.ts +1 -1
  90. package/{_publish/objects/Maintenance → Maintenance}/MaintenanceJob.d.ts +1 -0
  91. package/{_publish/Maintenance → Maintenance}/MaintenanceJobStatus.d.ts +1 -0
  92. package/{_publish/objects/Maintenance → Maintenance}/MaintenanceSchedule.d.ts +1 -0
  93. package/{_publish/Messaging → Messaging}/AlertPriority.d.ts +1 -0
  94. package/{_publish/Messaging → Messaging}/AssetAlert.d.ts +1 -0
  95. package/{_publish/objects/Messaging → Messaging}/AssetMessage.d.ts +1 -0
  96. package/{_publish/objects/Messaging → Messaging}/MessageBase.d.ts +1 -0
  97. package/{_publish/Messaging → Messaging}/MessageFolder.d.ts +1 -0
  98. package/{_publish/Messaging → Messaging}/MessageStatus.d.ts +1 -0
  99. package/{_publish/objects/Messaging → Messaging}/MessageType.d.ts +1 -0
  100. package/{_publish/objects/Places → Places}/Place.d.ts +1 -0
  101. package/{_publish/Places → Places}/PlaceType.d.ts +1 -0
  102. package/{_publish/objects/Providers → Providers}/Provider.d.ts +1 -0
  103. package/{_publish/objects/Providers → Providers}/ProviderAdvanced.d.ts +1 -0
  104. package/{_publish/objects/Providers → Providers}/ProviderCommand.d.ts +1 -0
  105. package/{_publish/objects/Providers → Providers}/ProviderCommandStatus.d.ts +1 -0
  106. package/{_publish/Providers → Providers}/ProviderCommandType.d.ts +1 -0
  107. package/{_publish/objects/Providers → Providers}/ProviderControl.d.ts +1 -0
  108. package/{_publish/objects/Providers → Providers}/ProviderData.d.ts +1 -0
  109. package/{_publish/objects/Providers → Providers}/ProviderGeneral.d.ts +1 -0
  110. package/{_publish/Providers → Providers}/ProviderType.d.ts +1 -0
  111. package/{_publish/objects/Reports → Reports}/ReportBreakdown.d.ts +1 -0
  112. package/{_publish/Reports → Reports}/ReportBreakdownJob.d.ts +1 -0
  113. package/{_publish/Reports → Reports}/ReportBreakdownMessage.d.ts +1 -0
  114. package/{_publish/Reports → Reports}/ReportBreakdownTask.d.ts +1 -0
  115. package/Reports/ReportBreakdown_fromJSON.d.ts +2 -0
  116. package/{_publish/Reports → Reports}/ReportFilterMode.d.ts +1 -0
  117. package/{_publish/Reports → Reports}/ReportNotifications.d.ts +1 -0
  118. package/{_publish/Reports → Reports}/ReportOptions.d.ts +1 -0
  119. package/{_publish/objects/Reports → Reports}/ReportParameter.d.ts +1 -0
  120. package/{_publish/objects/Reports → Reports}/ReportParameterType.d.ts +1 -0
  121. package/{_publish/Reports → Reports}/ReportRecurrence.d.ts +1 -0
  122. package/{_publish/Reports → Reports}/ReportRecurrenceType.d.ts +1 -0
  123. package/{_publish/objects/Reports → Reports}/ReportResult.d.ts +1 -0
  124. package/{_publish/Reports → Reports}/ReportResultData.d.ts +1 -0
  125. package/{_publish/objects/Reports → Reports}/ReportSchedule.d.ts +1 -0
  126. package/{_publish/objects/Reports → Reports}/ReportScorecard.d.ts +1 -0
  127. package/{_publish/objects/Reports → Reports}/ReportScorecardParameter.d.ts +1 -0
  128. package/{_publish/Reports → Reports}/ReportScorecardRules.d.ts +1 -0
  129. package/{_publish/objects/Reports → Reports}/ReportStatus.d.ts +1 -0
  130. package/{_publish/objects/Reports → Reports}/ReportSummary.d.ts +1 -0
  131. package/{_publish/Reports → Reports}/ReportSummaryReason.d.ts +1 -0
  132. package/{_publish/objects/Reports → Reports}/ReportTemplate.d.ts +1 -0
  133. package/{_publish/objects/Reports → Reports}/ReportTotal.d.ts +1 -0
  134. package/{_publish/objects/Reports → Reports}/ReportType.d.ts +1 -0
  135. package/index.d.ts +407 -0
  136. package/package.json +5 -2
  137. package/{_publish/storage.d.ts → storage.d.ts} +1 -0
  138. package/_publish/API/BaseComponent.d.ts +0 -40
  139. package/_publish/API/BaseCompound.d.ts +0 -19
  140. package/_publish/API/Codifier.d.ts +0 -15
  141. package/_publish/API/Conversion.d.ts +0 -255
  142. package/_publish/API/Files.d.ts +0 -21
  143. package/_publish/API/Geography/Functions.d.ts +0 -236
  144. package/_publish/API/Geography/Interfaces.d.ts +0 -150
  145. package/_publish/API/Geography/LatLng.d.ts +0 -86
  146. package/_publish/API/Geography/LatLngBounds.d.ts +0 -146
  147. package/_publish/API/Geography/Position.d.ts +0 -74
  148. package/_publish/API/Geography/StreetAddress.d.ts +0 -59
  149. package/_publish/API/Geometry/Functions.d.ts +0 -114
  150. package/_publish/API/Geometry/Interfaces.d.ts +0 -111
  151. package/_publish/API/Geometry/Point.d.ts +0 -81
  152. package/_publish/API/Geometry/Radial.d.ts +0 -110
  153. package/_publish/API/Geometry/Rectangle.d.ts +0 -159
  154. package/_publish/API/Geometry/Size.d.ts +0 -58
  155. package/_publish/API/Interfaces/IAmCompany.d.ts +0 -11
  156. package/_publish/API/Interfaces/IAuditable.d.ts +0 -31
  157. package/_publish/API/Interfaces/IBelongAsset.d.ts +0 -15
  158. package/_publish/API/Interfaces/IBelongBillingProfile.d.ts +0 -15
  159. package/_publish/API/Interfaces/IBelongCompany.d.ts +0 -15
  160. package/_publish/API/Interfaces/IDeserializable.d.ts +0 -13
  161. package/_publish/API/Interfaces/IEnabled.d.ts +0 -10
  162. package/_publish/API/Interfaces/IFileSize.d.ts +0 -9
  163. package/_publish/API/Interfaces/IGlobal.d.ts +0 -11
  164. package/_publish/API/Interfaces/IHavePermissions.d.ts +0 -20
  165. package/_publish/API/Interfaces/IHavePreferences.d.ts +0 -29
  166. package/_publish/API/Interfaces/IIconic.d.ts +0 -15
  167. package/_publish/API/Interfaces/IIdUlong.d.ts +0 -10
  168. package/_publish/API/Interfaces/ILabelled.d.ts +0 -10
  169. package/_publish/API/Interfaces/INamed.d.ts +0 -13
  170. package/_publish/API/Interfaces/IPictured.d.ts +0 -15
  171. package/_publish/API/Interfaces/IRequestable.d.ts +0 -22
  172. package/_publish/API/Interfaces/ISerializable.d.ts +0 -10
  173. package/_publish/API/Interfaces/ISuspendable.d.ts +0 -16
  174. package/_publish/API/Interfaces/IVisual.d.ts +0 -18
  175. package/_publish/API/Objects.d.ts +0 -5
  176. package/_publish/API/TimeSpan.d.ts +0 -109
  177. package/_publish/API/Timezone.d.ts +0 -44
  178. package/_publish/API/Types.d.ts +0 -132
  179. package/_publish/Accounts/Contact.d.ts +0 -140
  180. package/_publish/Accounts/Machine.d.ts +0 -139
  181. package/_publish/Accounts/Permissions/Authorizer.d.ts +0 -204
  182. package/_publish/Accounts/Permissions/Permission.d.ts +0 -57
  183. package/_publish/Accounts/Permissions/PermissionEscalation.d.ts +0 -41
  184. package/_publish/Accounts/Permissions/PermissionEscalationState.d.ts +0 -19
  185. package/_publish/Accounts/Permissions/PermissionEscalationType.d.ts +0 -13
  186. package/_publish/Accounts/Permissions/PermissionLevel.d.ts +0 -17
  187. package/_publish/Accounts/Permissions/PermissionMethod.d.ts +0 -13
  188. package/_publish/Accounts/Permissions/PermissionType.d.ts +0 -280
  189. package/_publish/Accounts/Session.d.ts +0 -92
  190. package/_publish/Accounts/SessionStatus.d.ts +0 -29
  191. package/_publish/Accounts/SystemsOfUnits.d.ts +0 -13
  192. package/_publish/Accounts/User.d.ts +0 -147
  193. package/_publish/Accounts/UserAdvanced.d.ts +0 -54
  194. package/_publish/Accounts/UserGeneral.d.ts +0 -100
  195. package/_publish/Accounts/UserGroup.d.ts +0 -52
  196. package/_publish/Assets/Asset.d.ts +0 -224
  197. package/_publish/Assets/AssetAdvanced.d.ts +0 -78
  198. package/_publish/Assets/AssetAttribute.d.ts +0 -71
  199. package/_publish/Assets/AssetDispatch.d.ts +0 -56
  200. package/_publish/Assets/AssetGeneral.d.ts +0 -129
  201. package/_publish/Behaviours/Behaviour.d.ts +0 -79
  202. package/_publish/Behaviours/BehaviourLog.d.ts +0 -97
  203. package/_publish/Behaviours/BehaviourParameter.d.ts +0 -38
  204. package/_publish/Behaviours/BehaviourScript.d.ts +0 -84
  205. package/_publish/Billing/BillableBase.d.ts +0 -85
  206. package/_publish/Billing/BillingCurrency.d.ts +0 -17
  207. package/_publish/Billing/BillingCycle.d.ts +0 -17
  208. package/_publish/Billing/BillingProfile.d.ts +0 -107
  209. package/_publish/Billing/Hosting/BillableHostingBase.d.ts +0 -41
  210. package/_publish/Billing/Hosting/BillableHostingDiscount.d.ts +0 -36
  211. package/_publish/Billing/Hosting/BillableHostingLicense.d.ts +0 -30
  212. package/_publish/Billing/Hosting/BillableHostingLicenseType.d.ts +0 -20
  213. package/_publish/Billing/Hosting/BillableHostingRule.d.ts +0 -30
  214. package/_publish/Billing/Hosting/BillableHostingType.d.ts +0 -41
  215. package/_publish/Billing/Report/BillingReport.d.ts +0 -114
  216. package/_publish/Billing/Report/BillingReportBreakdown.d.ts +0 -35
  217. package/_publish/Billing/Report/BillingReportHostingSummary.d.ts +0 -36
  218. package/_publish/Billing/Report/BillingReportLicenseBreakdown.d.ts +0 -80
  219. package/_publish/Billing/Report/BillingReportServiceBreakdown.d.ts +0 -126
  220. package/_publish/Billing/Report/BillingReportStatus.d.ts +0 -25
  221. package/_publish/Billing/Report/BillingReportSummary.d.ts +0 -51
  222. package/_publish/Companies/ColourStyle.d.ts +0 -25
  223. package/_publish/Companies/Company.d.ts +0 -165
  224. package/_publish/Companies/CompanyDirectory.d.ts +0 -54
  225. package/_publish/Companies/CompanyGeneral.d.ts +0 -56
  226. package/_publish/Companies/CompanyPolicy.d.ts +0 -67
  227. package/_publish/Companies/CompanyReseller.d.ts +0 -168
  228. package/_publish/Companies/CompanyStyle.d.ts +0 -51
  229. package/_publish/Companies/LabelStyle.d.ts +0 -46
  230. package/_publish/Companies/NotificationServerEmail.d.ts +0 -99
  231. package/_publish/Companies/PasswordPolicy.d.ts +0 -51
  232. package/_publish/Companies/SessionPolicy.d.ts +0 -47
  233. package/_publish/Dispatch/DispatchDirection.d.ts +0 -53
  234. package/_publish/Dispatch/DispatchJob.d.ts +0 -109
  235. package/_publish/Dispatch/DispatchStep.d.ts +0 -99
  236. package/_publish/Dispatch/DispatchStepState.d.ts +0 -27
  237. package/_publish/Dispatch/DispatchTask.d.ts +0 -156
  238. package/_publish/Hosting/Document.d.ts +0 -71
  239. package/_publish/Hosting/Fields/FormFieldAttachments.d.ts +0 -31
  240. package/_publish/Hosting/Fields/FormFieldBase.d.ts +0 -56
  241. package/_publish/Hosting/Fields/FormFieldBase_fromJSON.d.ts +0 -1
  242. package/_publish/Hosting/Fields/FormFieldBoolean.d.ts +0 -38
  243. package/_publish/Hosting/Fields/FormFieldChoice.d.ts +0 -46
  244. package/_publish/Hosting/Fields/FormFieldDate.d.ts +0 -26
  245. package/_publish/Hosting/Fields/FormFieldNumeric.d.ts +0 -54
  246. package/_publish/Hosting/Fields/FormFieldNumericSize.d.ts +0 -32
  247. package/_publish/Hosting/Fields/FormFieldSignature.d.ts +0 -17
  248. package/_publish/Hosting/Fields/FormFieldText.d.ts +0 -32
  249. package/_publish/Hosting/Fields/FormFieldTime.d.ts +0 -37
  250. package/_publish/Hosting/Fields/FormFieldTimezone.d.ts +0 -14
  251. package/_publish/Hosting/FormResult.d.ts +0 -97
  252. package/_publish/Hosting/FormTemplate.d.ts +0 -81
  253. package/_publish/Images/Dashcam.d.ts +0 -70
  254. package/_publish/Images/DashcamBase.d.ts +0 -98
  255. package/_publish/Images/DashcamLive.d.ts +0 -43
  256. package/_publish/Images/DashcamMediaType.d.ts +0 -17
  257. package/_publish/Images/Icon.d.ts +0 -67
  258. package/_publish/Images/IconGlyph.d.ts +0 -47
  259. package/_publish/Images/IconLabel.d.ts +0 -29
  260. package/_publish/Images/IconLayer.d.ts +0 -33
  261. package/_publish/Images/Picture.d.ts +0 -73
  262. package/_publish/Maintenance/MaintenanceJob.d.ts +0 -137
  263. package/_publish/Maintenance/MaintenanceSchedule.d.ts +0 -119
  264. package/_publish/Messaging/AssetMessage.d.ts +0 -40
  265. package/_publish/Messaging/MessageBase.d.ts +0 -101
  266. package/_publish/Messaging/MessageType.d.ts +0 -33
  267. package/_publish/Places/Place.d.ts +0 -116
  268. package/_publish/Providers/Config/ProviderConfig.d.ts +0 -72
  269. package/_publish/Providers/Config/ProviderRegistration.d.ts +0 -123
  270. package/_publish/Providers/Config/ProviderScript.d.ts +0 -87
  271. package/_publish/Providers/Config/ProviderScriptBlock.d.ts +0 -41
  272. package/_publish/Providers/Config/ProviderScriptParameter.d.ts +0 -49
  273. package/_publish/Providers/Config/ProviderScriptParameterType.d.ts +0 -17
  274. package/_publish/Providers/Configuration/ProviderConfiguration.d.ts +0 -68
  275. package/_publish/Providers/Configuration/ProviderConfigurationNode.d.ts +0 -66
  276. package/_publish/Providers/Configuration/ProviderConfigurationType.d.ts +0 -62
  277. package/_publish/Providers/Configuration/ProviderGeofenceBase.d.ts +0 -29
  278. package/_publish/Providers/Configuration/ProviderGeofenceBase_fromJSON.d.ts +0 -1
  279. package/_publish/Providers/Configuration/ProviderGeofenceCircular.d.ts +0 -28
  280. package/_publish/Providers/Configuration/ProviderGeofencePoint.d.ts +0 -12
  281. package/_publish/Providers/Configuration/ProviderGeofencePolygon.d.ts +0 -23
  282. package/_publish/Providers/Configuration/ProviderGeofenceRectangle.d.ts +0 -28
  283. package/_publish/Providers/Provider.d.ts +0 -211
  284. package/_publish/Providers/ProviderAdvanced.d.ts +0 -51
  285. package/_publish/Providers/ProviderCommand.d.ts +0 -36
  286. package/_publish/Providers/ProviderCommandStatus.d.ts +0 -29
  287. package/_publish/Providers/ProviderControl.d.ts +0 -42
  288. package/_publish/Providers/ProviderData.d.ts +0 -30
  289. package/_publish/Providers/ProviderGeneral.d.ts +0 -125
  290. package/_publish/Reports/ReportBreakdown.d.ts +0 -49
  291. package/_publish/Reports/ReportBreakdown_fromJSON.d.ts +0 -1
  292. package/_publish/Reports/ReportParameter.d.ts +0 -26
  293. package/_publish/Reports/ReportParameterType.d.ts +0 -59
  294. package/_publish/Reports/ReportResult.d.ts +0 -170
  295. package/_publish/Reports/ReportSchedule.d.ts +0 -112
  296. package/_publish/Reports/ReportScorecard.d.ts +0 -39
  297. package/_publish/Reports/ReportScorecardParameter.d.ts +0 -31
  298. package/_publish/Reports/ReportStatus.d.ts +0 -29
  299. package/_publish/Reports/ReportSummary.d.ts +0 -91
  300. package/_publish/Reports/ReportTemplate.d.ts +0 -82
  301. package/_publish/Reports/ReportTotal.d.ts +0 -48
  302. package/_publish/Reports/ReportType.d.ts +0 -42
  303. package/_publish/index.d.ts +0 -406
  304. package/_publish/objects/API/Arrays.d.ts +0 -46
  305. package/_publish/objects/API/Base.d.ts +0 -19
  306. package/_publish/objects/API/Constants.d.ts +0 -39
  307. package/_publish/objects/API/Encoding.d.ts +0 -9
  308. package/_publish/objects/API/Functions.d.ts +0 -196
  309. package/_publish/objects/API/Geography/Functions.d.ts +0 -236
  310. package/_publish/objects/API/Geography/Interfaces.d.ts +0 -150
  311. package/_publish/objects/API/Geography/LatLng.d.ts +0 -86
  312. package/_publish/objects/API/Geography/LatLngBounds.d.ts +0 -146
  313. package/_publish/objects/API/Geography/Position.d.ts +0 -74
  314. package/_publish/objects/API/Geography/StreetAddress.d.ts +0 -59
  315. package/_publish/objects/API/Geometry/Functions.d.ts +0 -114
  316. package/_publish/objects/API/Geometry/Interfaces.d.ts +0 -111
  317. package/_publish/objects/API/Geometry/Point.d.ts +0 -81
  318. package/_publish/objects/API/Geometry/Radial.d.ts +0 -110
  319. package/_publish/objects/API/Geometry/Rectangle.d.ts +0 -159
  320. package/_publish/objects/API/Geometry/Size.d.ts +0 -58
  321. package/_publish/objects/API/Guid.d.ts +0 -4
  322. package/_publish/objects/API/Interfaces/IAmCompany.d.ts +0 -11
  323. package/_publish/objects/API/Interfaces/IBelongAsset.d.ts +0 -15
  324. package/_publish/objects/API/Interfaces/IBelongBillingProfile.d.ts +0 -15
  325. package/_publish/objects/API/Interfaces/IBelongCompany.d.ts +0 -15
  326. package/_publish/objects/API/Interfaces/IDeserializable.d.ts +0 -13
  327. package/_publish/objects/API/Interfaces/IEnabled.d.ts +0 -10
  328. package/_publish/objects/API/Interfaces/IFileSize.d.ts +0 -9
  329. package/_publish/objects/API/Interfaces/IGlobal.d.ts +0 -11
  330. package/_publish/objects/API/Interfaces/IHavePermissions.d.ts +0 -20
  331. package/_publish/objects/API/Interfaces/IHavePreferences.d.ts +0 -29
  332. package/_publish/objects/API/Interfaces/IIconic.d.ts +0 -15
  333. package/_publish/objects/API/Interfaces/IIdUlong.d.ts +0 -10
  334. package/_publish/objects/API/Interfaces/ILabelled.d.ts +0 -10
  335. package/_publish/objects/API/Interfaces/INamed.d.ts +0 -13
  336. package/_publish/objects/API/Interfaces/IPictured.d.ts +0 -15
  337. package/_publish/objects/API/Interfaces/IRequestable.d.ts +0 -22
  338. package/_publish/objects/API/Interfaces/ISerializable.d.ts +0 -10
  339. package/_publish/objects/API/Interfaces/ISuspendable.d.ts +0 -16
  340. package/_publish/objects/API/Interfaces/IVisual.d.ts +0 -18
  341. package/_publish/objects/API/Maps.d.ts +0 -28
  342. package/_publish/objects/API/SearchPattern.d.ts +0 -46
  343. package/_publish/objects/API/Timezones.d.ts +0 -7
  344. package/_publish/objects/Accounts/NotificationMethod.d.ts +0 -17
  345. package/_publish/objects/Accounts/Permissions/Authorizer.d.ts +0 -204
  346. package/_publish/objects/Accounts/Permissions/Permission.d.ts +0 -56
  347. package/_publish/objects/Accounts/Permissions/PermissionEscalation.d.ts +0 -41
  348. package/_publish/objects/Accounts/Permissions/PermissionEscalationState.d.ts +0 -19
  349. package/_publish/objects/Accounts/Permissions/PermissionEscalationType.d.ts +0 -13
  350. package/_publish/objects/Accounts/Permissions/PermissionLevel.d.ts +0 -17
  351. package/_publish/objects/Accounts/Permissions/PermissionMethod.d.ts +0 -13
  352. package/_publish/objects/Accounts/Permissions/PermissionType.d.ts +0 -280
  353. package/_publish/objects/Accounts/UserNotifications.d.ts +0 -76
  354. package/_publish/objects/Assets/AssetPlaceStatus.d.ts +0 -31
  355. package/_publish/objects/Assets/AssetPlaceStatusType.d.ts +0 -17
  356. package/_publish/objects/Assets/AssetType.d.ts +0 -21
  357. package/_publish/objects/Behaviours/BehaviourLogType.d.ts +0 -21
  358. package/_publish/objects/Behaviours/BehaviourParameterType.d.ts +0 -21
  359. package/_publish/objects/Billing/BillableSmsProfile.d.ts +0 -26
  360. package/_publish/objects/Billing/Hosting/BillableHostingBase.d.ts +0 -41
  361. package/_publish/objects/Billing/Hosting/BillableHostingLicense.d.ts +0 -30
  362. package/_publish/objects/Billing/Hosting/BillableHostingLicenseType.d.ts +0 -20
  363. package/_publish/objects/Billing/Hosting/BillableHostingRule.d.ts +0 -30
  364. package/_publish/objects/Billing/Hosting/BillableHostingType.d.ts +0 -41
  365. package/_publish/objects/Billing/Report/BillingReport.d.ts +0 -112
  366. package/_publish/objects/Billing/Report/BillingReportBreakdown.d.ts +0 -34
  367. package/_publish/objects/Billing/Report/BillingReportHostingSummary.d.ts +0 -36
  368. package/_publish/objects/Billing/Report/BillingReportLicenseBreakdown.d.ts +0 -79
  369. package/_publish/objects/Billing/Report/BillingReportServiceBreakdown.d.ts +0 -124
  370. package/_publish/objects/Billing/Report/BillingReportStatus.d.ts +0 -25
  371. package/_publish/objects/Billing/Report/BillingReportSummary.d.ts +0 -49
  372. package/_publish/objects/Companies/NotificationServerSms.d.ts +0 -25
  373. package/_publish/objects/Companies/PasswordExpiryMode.d.ts +0 -17
  374. package/_publish/objects/Companies/SessionMultiUser.d.ts +0 -17
  375. package/_publish/objects/Dispatch/DispatchJobPriority.d.ts +0 -25
  376. package/_publish/objects/Dispatch/DispatchStepStatus.d.ts +0 -21
  377. package/_publish/objects/Dispatch/DispatchTaskStatus.d.ts +0 -50
  378. package/_publish/objects/Hosting/Fields/FormFieldAttachments.d.ts +0 -31
  379. package/_publish/objects/Hosting/Fields/FormFieldBase.d.ts +0 -56
  380. package/_publish/objects/Hosting/Fields/FormFieldBase_fromJSON.d.ts +0 -1
  381. package/_publish/objects/Hosting/Fields/FormFieldBoolean.d.ts +0 -38
  382. package/_publish/objects/Hosting/Fields/FormFieldChoice.d.ts +0 -46
  383. package/_publish/objects/Hosting/Fields/FormFieldDate.d.ts +0 -26
  384. package/_publish/objects/Hosting/Fields/FormFieldNumeric.d.ts +0 -54
  385. package/_publish/objects/Hosting/Fields/FormFieldNumericSize.d.ts +0 -32
  386. package/_publish/objects/Hosting/Fields/FormFieldSignature.d.ts +0 -17
  387. package/_publish/objects/Hosting/Fields/FormFieldText.d.ts +0 -32
  388. package/_publish/objects/Hosting/Fields/FormFieldTime.d.ts +0 -37
  389. package/_publish/objects/Hosting/Fields/FormFieldTimezone.d.ts +0 -14
  390. package/_publish/objects/Hosting/FormFieldType.d.ts +0 -127
  391. package/_publish/objects/Maintenance/MaintenanceInterval.d.ts +0 -48
  392. package/_publish/objects/Maintenance/MaintenanceJobStatus.d.ts +0 -21
  393. package/_publish/objects/Messaging/AlertPriority.d.ts +0 -17
  394. package/_publish/objects/Messaging/AssetAlert.d.ts +0 -29
  395. package/_publish/objects/Messaging/MessageFolder.d.ts +0 -13
  396. package/_publish/objects/Messaging/MessageStatus.d.ts +0 -29
  397. package/_publish/objects/Places/PlaceType.d.ts +0 -25
  398. package/_publish/objects/Providers/Config/ProviderConfig.d.ts +0 -70
  399. package/_publish/objects/Providers/Config/ProviderRegistration.d.ts +0 -119
  400. package/_publish/objects/Providers/Config/ProviderScript.d.ts +0 -86
  401. package/_publish/objects/Providers/Config/ProviderScriptBlock.d.ts +0 -41
  402. package/_publish/objects/Providers/Config/ProviderScriptParameter.d.ts +0 -49
  403. package/_publish/objects/Providers/Config/ProviderScriptParameterType.d.ts +0 -17
  404. package/_publish/objects/Providers/Configuration/ProviderConfiguration.d.ts +0 -66
  405. package/_publish/objects/Providers/Configuration/ProviderConfigurationNode.d.ts +0 -66
  406. package/_publish/objects/Providers/Configuration/ProviderConfigurationType.d.ts +0 -62
  407. package/_publish/objects/Providers/Configuration/ProviderGeofenceBase.d.ts +0 -29
  408. package/_publish/objects/Providers/Configuration/ProviderGeofenceBase_fromJSON.d.ts +0 -1
  409. package/_publish/objects/Providers/Configuration/ProviderGeofenceCircular.d.ts +0 -28
  410. package/_publish/objects/Providers/Configuration/ProviderGeofencePoint.d.ts +0 -12
  411. package/_publish/objects/Providers/Configuration/ProviderGeofencePolygon.d.ts +0 -23
  412. package/_publish/objects/Providers/Configuration/ProviderGeofenceRectangle.d.ts +0 -28
  413. package/_publish/objects/Providers/ProviderCommandType.d.ts +0 -37
  414. package/_publish/objects/Providers/ProviderType.d.ts +0 -106
  415. package/_publish/objects/Reports/ReportBreakdownJob.d.ts +0 -37
  416. package/_publish/objects/Reports/ReportBreakdownMessage.d.ts +0 -40
  417. package/_publish/objects/Reports/ReportBreakdownTask.d.ts +0 -46
  418. package/_publish/objects/Reports/ReportBreakdown_fromJSON.d.ts +0 -1
  419. package/_publish/objects/Reports/ReportFilterMode.d.ts +0 -17
  420. package/_publish/objects/Reports/ReportNotifications.d.ts +0 -31
  421. package/_publish/objects/Reports/ReportOptions.d.ts +0 -52
  422. package/_publish/objects/Reports/ReportRecurrence.d.ts +0 -54
  423. package/_publish/objects/Reports/ReportRecurrenceType.d.ts +0 -34
  424. package/_publish/objects/Reports/ReportResultData.d.ts +0 -17
  425. package/_publish/objects/Reports/ReportScorecardRules.d.ts +0 -26
  426. package/_publish/objects/Reports/ReportSummaryReason.d.ts +0 -27
  427. package/_publish/objects/storage.d.ts +0 -176
  428. /package/{_publish/trakit-objects.min.js → trakit-objects.min.js} +0 -0
@@ -1,62 +0,0 @@
1
- import { BaseComponent } from "../../API/BaseComponent";
2
- import { IIdUlong } from "../../API/Interfaces/IIdUlong";
3
- import { INamed } from "../../API/Interfaces/INamed";
4
- import { JsonObject, uint, ulong } from "../../API/Types";
5
- import { PlaceType } from "../../Places/PlaceType";
6
- import { ProviderType } from "../ProviderType";
7
- import { ProviderConfigurationNode } from "./ProviderConfigurationNode";
8
- /**
9
- * This read-only class describes a type of logic applied to a provider.
10
- * ProviderConfigurationTypes are used to help define a ProviderConfiguration.
11
- * @deprecated Use ProviderScript instead
12
- */
13
- export declare class ProviderConfigurationType extends BaseComponent implements IIdUlong, INamed {
14
- /**
15
- * Unique identifier.
16
- */
17
- id: ulong;
18
- /**
19
- * Name of the configuration type.
20
- */
21
- name: string;
22
- /**
23
- * Notes regarding the use of this configuration.
24
- */
25
- notes: string;
26
- /**
27
- * The applicable type of provider for which this configuration type can be created.
28
- */
29
- providerType: ProviderType;
30
- /**
31
- * The maximum number of geofences that can be programmed onto a device. This number changes based on device make and model, and can also change based on the supported geofence types.
32
- */
33
- maxGeofenceCount: uint;
34
- /**
35
- * The minimum number of geofences that need to be programmed onto the device. This value is almost always zero.
36
- */
37
- minGeofenceCount: uint;
38
- /**
39
- * A tree-structure of configurations required (or optionally available) for programming a device.
40
- */
41
- scriptOptions: Map<string, ProviderConfigurationNode>;
42
- /**
43
- * A list of supported types of geofences which can be programmed directly onto the device.
44
- */
45
- geofenceTypes: PlaceType[];
46
- toJSON(): {
47
- id: number;
48
- v: number[];
49
- name: string;
50
- notes: string;
51
- providerType: ProviderType;
52
- maxGeofenceCount: number | null;
53
- minGeofenceCount: number | null;
54
- scriptOptions: JsonObject;
55
- geofenceTypes: PlaceType[];
56
- };
57
- fromJSON(json: JsonObject, force?: boolean): boolean;
58
- /**
59
- * The {@link id} is the key.
60
- */
61
- getKey(): number;
62
- }
@@ -1,29 +0,0 @@
1
- import { ISerializable } from "../../API/Interfaces/ISerializable";
2
- import { JsonObject, uint } from "../../API/Types";
3
- import { PlaceType } from "../../Places/PlaceType";
4
- /**
5
- * An abstract class used as a base for all Geofence type classes.
6
- * @deprecated
7
- */
8
- export declare abstract class ProviderGeofenceBase implements ISerializable {
9
- /**
10
- * Instantiates a geofence based on the `type` property in the given JSON.
11
- * Implementation is in {@link ProviderGeofenceBase_fromJSON.ts}
12
- * @param json The JSON to parse.
13
- * @returns An instance of a {@link ProviderGeofenceBase} subclass.
14
- */
15
- static fromJSON: (json: JsonObject) => ProviderGeofenceBase;
16
- /**
17
- * The supported shape of geofence.
18
- */
19
- abstract get type(): PlaceType;
20
- /**
21
- * The maximum number of unique geofences supported by the device.
22
- */
23
- maxGeofenceCount: uint;
24
- constructor(maxGeofenceCount?: uint);
25
- toJSON(): {
26
- type: PlaceType;
27
- maxGeofenceCount: number;
28
- };
29
- }
@@ -1,28 +0,0 @@
1
- import { uint } from "../../API/Types";
2
- import { PlaceType } from "../../Places/PlaceType";
3
- import { ProviderGeofenceBase } from "./ProviderGeofenceBase";
4
- /**
5
- * A geofence defined by a centre coordinate and a threshold value to indicate the boundary around that point.
6
- * @deprecated
7
- */
8
- export declare class ProviderGeofenceCircular extends ProviderGeofenceBase {
9
- /**
10
- * Distance from a central point.
11
- */
12
- get type(): PlaceType;
13
- /**
14
- * The smallest possible radius for this geofence.
15
- */
16
- minRadius: uint;
17
- /**
18
- * The largest possible radius for this geofence.
19
- */
20
- maxRadius: uint;
21
- constructor(maxGeofenceCount?: uint, minRadius?: uint, maxRadius?: uint);
22
- toJSON(): {
23
- minRadius: number | null;
24
- maxRadius: number | null;
25
- type: PlaceType;
26
- maxGeofenceCount: number;
27
- };
28
- }
@@ -1,12 +0,0 @@
1
- import { PlaceType } from "../../Places/PlaceType";
2
- import { ProviderGeofenceBase } from "./ProviderGeofenceBase";
3
- /**
4
- * This is a point and not a geofence, so I don't know why this is defined.
5
- * @deprecated
6
- */
7
- export declare class ProviderGeofencePoint extends ProviderGeofenceBase {
8
- /**
9
- * Not a boundary, so the modem must use its own internal threshold.
10
- */
11
- get type(): PlaceType;
12
- }
@@ -1,23 +0,0 @@
1
- import { uint } from "../../API/Types";
2
- import { PlaceType } from "../../Places/PlaceType";
3
- import { ProviderGeofenceBase } from "./ProviderGeofenceBase";
4
- /**
5
- * A geofence whose boundary is defined by a non-overlapping series of coordinates.
6
- * @deprecated
7
- */
8
- export declare class ProviderGeofencePolygon extends ProviderGeofenceBase {
9
- /**
10
- * Complex geofence.
11
- */
12
- get type(): PlaceType;
13
- /**
14
- * The maximum number of vertices supported by the device.
15
- */
16
- maxVertices: uint;
17
- constructor(maxGeofenceCount?: uint, maxVertices?: uint);
18
- toJSON(): {
19
- maxVertices: number | null;
20
- type: PlaceType;
21
- maxGeofenceCount: number;
22
- };
23
- }
@@ -1,28 +0,0 @@
1
- import { int, uint } from "../../API/Types";
2
- import { PlaceType } from "../../Places/PlaceType";
3
- import { ProviderGeofenceBase } from "./ProviderGeofenceBase";
4
- /**
5
- * A geofence whose boundary is a "rectangle" defined by corner coordinates.
6
- * @deprecated
7
- */
8
- export declare class ProviderGeofenceRectangle extends ProviderGeofenceBase {
9
- /**
10
- * Boundaries defined with only two coordinates.
11
- */
12
- get type(): PlaceType;
13
- /**
14
- * The smallest possible diameter for this geofence.
15
- */
16
- maxLength: uint;
17
- /**
18
- * The smallest possible diameter for this geofence.
19
- */
20
- maxWidth: uint;
21
- constructor(maxGeofenceCount?: uint, maxLength?: int, maxWidth?: int);
22
- toJSON(): {
23
- maxLength: number | null;
24
- maxWidth: number | null;
25
- type: PlaceType;
26
- maxGeofenceCount: number;
27
- };
28
- }
@@ -1,211 +0,0 @@
1
- import { BaseComponent } from "../API/BaseComponent";
2
- import { BaseCompound } from "../API/BaseCompound";
3
- import { IBelongCompany } from "../API/Interfaces/IBelongCompany";
4
- import { INamed } from "../API/Interfaces/INamed";
5
- import { ISuspendable } from "../API/Interfaces/ISuspendable";
6
- import { JsonObject, ipv4, phone, ulong } from "../API/Types";
7
- import { Asset } from "../Assets/Asset";
8
- import { Company } from "../Companies/Company";
9
- import { ProviderConfig } from "./Config/ProviderConfig";
10
- import { ProviderConfiguration } from "./Configuration/ProviderConfiguration";
11
- import { ProviderAdvanced } from "./ProviderAdvanced";
12
- import { ProviderCommand } from "./ProviderCommand";
13
- import { ProviderCommandType } from "./ProviderCommandType";
14
- import { ProviderControl } from "./ProviderControl";
15
- import { ProviderData } from "./ProviderData";
16
- import { ProviderGeneral } from "./ProviderGeneral";
17
- import { ProviderType } from "./ProviderType";
18
- /**
19
- * A device, modem, or service which provides events from the field.
20
- */
21
- export declare class Provider extends BaseCompound implements INamed, IBelongCompany, ISuspendable {
22
- #private;
23
- /**
24
- *
25
- */
26
- get pieces(): BaseComponent[];
27
- /**
28
- * Unique identifier of this device.
29
- * {@link Asset.id}
30
- */
31
- get id(): string;
32
- /**
33
- * The company to which this device belongs.
34
- * {@link Company.id}
35
- */
36
- get companyId(): ulong;
37
- /**
38
- * The company to which this device belongs.
39
- * {@link Company.id}
40
- */
41
- get company(): Company;
42
- set company(value: Company);
43
- /**
44
- * The kind of communication protocol this device uses.
45
- */
46
- get kind(): ProviderType;
47
- get general(): ProviderGeneral;
48
- /**
49
- * This thing's name.
50
- */
51
- get name(): string;
52
- set name(value: string);
53
- /**
54
- * Notes about it.
55
- */
56
- get notes(): string;
57
- set notes(value: string);
58
- /**
59
- * The asset for which this device provides field data.
60
- * {@link Asset.id}
61
- */
62
- get assetId(): ulong;
63
- set assetId(value: ulong);
64
- /**
65
- * The asset for which this device provides field data.
66
- * {@link Asset.id}
67
- */
68
- get asset(): Asset;
69
- set asset(value: Asset);
70
- /**
71
- * The provider's current (or pending) configuration profile.
72
- * {@link ProviderConfig.id}
73
- * {@link ProviderConfiguration.id}
74
- */
75
- get configurationId(): ulong;
76
- set configurationId(value: ulong);
77
- /**
78
- * The provider's current (or pending) configuration profile.
79
- * {@link ProviderConfig.id}
80
- * {@link ProviderConfiguration.id}
81
- */
82
- get configuration(): ProviderConfig | ProviderConfiguration;
83
- set configuration(value: ProviderConfig | ProviderConfiguration);
84
- /**
85
- * The password programmed on the device used to ensure the system is the only client authorized to make changes.
86
- */
87
- get password(): string;
88
- set password(value: string);
89
- /**
90
- * The firmware/application version number.
91
- */
92
- get firmware(): string;
93
- set firmware(value: string);
94
- /**
95
- * The phone number of this device.
96
- */
97
- get phoneNumber(): phone;
98
- set phoneNumber(value: phone);
99
- /**
100
- * A list of read-only values about the device like IMEI, ESN, firmware version, hardware revision, etc...
101
- */
102
- get information(): Map<string, string>;
103
- set information(value: Map<string, string>);
104
- /**
105
- * ICCID of the SIM card installed in this provider
106
- */
107
- get sim(): string;
108
- set sim(value: string);
109
- get advanced(): ProviderAdvanced;
110
- /**
111
- * The last IP address of the device.
112
- */
113
- get lastIP(): ipv4;
114
- set lastIP(value: ipv4);
115
- /**
116
- * Often changing values like latitude, longitude, speed, wiring state, VBus information, etc...
117
- */
118
- get attributes(): Map<string, Map<string, ProviderData>>;
119
- set attributes(value: Map<string, Map<string, ProviderData>>);
120
- /**
121
- * Store-and-forward information like last sequence number of SnF window
122
- */
123
- get snf(): Map<string, string>;
124
- set snf(value: Map<string, string>);
125
- get control(): ProviderControl;
126
- /**
127
- * Collection of commands for this provider.
128
- */
129
- get commands(): Map<ProviderCommandType, ProviderCommand>;
130
- set commands(value: Map<ProviderCommandType, ProviderCommand>);
131
- toJSON(): {
132
- suspended: boolean;
133
- since: string | null;
134
- id: string | null;
135
- v: number[];
136
- company: number | null;
137
- name: string;
138
- notes: string;
139
- kind: ProviderType;
140
- configuration: number | null;
141
- } | {
142
- asset: number | null;
143
- password: string;
144
- firmware: string;
145
- phoneNumber: number | null;
146
- information: JsonObject;
147
- sim: string;
148
- id: string | null;
149
- v: number[];
150
- company: number | null;
151
- name: string;
152
- notes: string;
153
- kind: ProviderType;
154
- configuration: number | null;
155
- } | {
156
- control: {
157
- id: string | null;
158
- v: number[];
159
- company: number | null;
160
- commands: JsonObject;
161
- };
162
- v: number[];
163
- id: string | null;
164
- company: number;
165
- lastIP: string;
166
- attributes: JsonObject;
167
- snf: JsonObject;
168
- suspended: boolean;
169
- since: string | null;
170
- name: string;
171
- notes: string;
172
- kind: ProviderType;
173
- configuration: number | null;
174
- } | {
175
- control: {
176
- id: string | null;
177
- v: number[];
178
- company: number | null;
179
- commands: JsonObject;
180
- };
181
- v: number[];
182
- id: string | null;
183
- company: number;
184
- lastIP: string;
185
- attributes: JsonObject;
186
- snf: JsonObject;
187
- asset: number | null;
188
- password: string;
189
- firmware: string;
190
- phoneNumber: number | null;
191
- information: JsonObject;
192
- sim: string;
193
- name: string;
194
- notes: string;
195
- kind: ProviderType;
196
- configuration: number | null;
197
- };
198
- fromJSON(json: JsonObject, force?: boolean): boolean;
199
- /**
200
- * The {@link id} is the key.
201
- */
202
- getKey(): string;
203
- /**
204
- * Indicates whether this object is suspended from event processing.
205
- */
206
- get suspended(): boolean;
207
- /**
208
- * Timestamp from the action that deleted or suspended this object.
209
- */
210
- get since(): Date;
211
- }
@@ -1,51 +0,0 @@
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 company to which this device belongs.
22
- * {@link Company.id}
23
- */
24
- get company(): Company;
25
- set company(value: Company);
26
- /**
27
- * The last IP address of the device.
28
- */
29
- lastIP: ipv4;
30
- /**
31
- * Often changing values like latitude, longitude, speed, wiring state, VBus information, etc...
32
- */
33
- attributes: Map<string, Map<string, ProviderData>>;
34
- /**
35
- * Store-and-forward information like last sequence number of SnF window
36
- */
37
- snf: Map<string, string>;
38
- toJSON(): {
39
- id: string | null;
40
- v: number[];
41
- company: number;
42
- lastIP: string;
43
- attributes: JsonObject;
44
- snf: JsonObject;
45
- };
46
- fromJSON(json: JsonObject, force?: boolean): boolean;
47
- /**
48
- * The {@link id} is the key.
49
- */
50
- getKey(): string;
51
- }
@@ -1,36 +0,0 @@
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
- }
@@ -1,29 +0,0 @@
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
- }
@@ -1,42 +0,0 @@
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 company to which this device belongs.
23
- * {@link Company.id}
24
- */
25
- get company(): Company;
26
- set company(value: Company);
27
- /**
28
- * Collection of commands for this provider.
29
- */
30
- commands: Map<ProviderCommandType, ProviderCommand>;
31
- toJSON(): {
32
- id: string | null;
33
- v: number[];
34
- company: number | null;
35
- commands: JsonObject;
36
- };
37
- fromJSON(json: JsonObject, force?: boolean): boolean;
38
- /**
39
- * The {@link id} is the key.
40
- */
41
- getKey(): string;
42
- }
@@ -1,30 +0,0 @@
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
- }