@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,54 +0,0 @@
1
- import { byte, double, nothing, ulong } from "../../API/Types";
2
- import { FormFieldType } from "../FormFieldType";
3
- import { FormFieldBase } from "./FormFieldBase";
4
- import { FormFieldNumericSize } from "./FormFieldNumericSize";
5
- /**
6
- * A numeric value input control with multiple contexts available.
7
- * @tutorial
8
- * For this field, the {@link FormFieldBase.kind} is just a helper for the UI, and does not affect input validation.
9
- */
10
- export declare class FormFieldNumeric extends FormFieldBase {
11
- /**
12
- * These are the numeric control types.
13
- */
14
- protected get supported(): FormFieldType[];
15
- /**
16
- * A context hint for the kind of numeric size for this field.
17
- * Used only for {@link FormFieldType.distance}, {@link FormFieldType.weight}, {@link FormFieldType.volume},
18
- * and {@link FormFieldType.speed}.
19
- */
20
- size: FormFieldNumericSize;
21
- /**
22
- * Number of decimal places of accuracy are required.
23
- */
24
- precision: byte;
25
- /**
26
- * The numeric value increments by this amount.
27
- */
28
- step: double;
29
- /**
30
- * An optional suffix for this numeric value, like "%" or "ppm".
31
- * This value is ignored for {@link FormFieldType.distance}, {@link FormFieldType.weight},
32
- * {@link FormFieldType.volume}, {@link FormFieldType.speed}, and {@link FormFieldType.area} field types.
33
- * And for {@link FormFieldType.currency} fields it acts as a prefix, like "$" or "USD".
34
- */
35
- units: string;
36
- /**
37
- * The (optional) minimum value.
38
- */
39
- minimum: double;
40
- /**
41
- * The (optional) maximum value.
42
- */
43
- maximum: double;
44
- constructor(id?: ulong | nothing, name?: string | nothing, kind?: FormFieldType | nothing, size?: FormFieldNumericSize | nothing, precision?: byte | nothing, step?: double | nothing, units?: string | nothing, minimum?: double | nothing, maximum?: double | nothing, notes?: string | nothing, required?: boolean | nothing, value?: string | nothing, editable?: boolean | nothing);
45
- toJSON(): {
46
- size: FormFieldNumericSize;
47
- precision: number | null;
48
- step: number | null;
49
- units: string;
50
- minimum: number | null;
51
- maximum: number | null;
52
- };
53
- isValid(value: string): boolean;
54
- }
@@ -1,32 +0,0 @@
1
- /**
2
- * A context hint for the size of a measurements.
3
- */
4
- export declare enum FormFieldNumericSize {
5
- /**
6
- * A small measurement.
7
- * For {@link FormFieldType.distance}: {@link Units.CENTIMETER}/{@link Units.INCH}
8
- * For {@link FormFieldType.weight}: {@link Units.GRAM}/{@link Units.OUNCE}
9
- * For {@link FormFieldType.volume}: {@link Units.MILLILITER}/{@link Units.OUNCE}
10
- * For {@link FormFieldType.speed}: {@link Units.CENTIMETER_PER_SECOND}/{@link Units.INCH_PER_SECOND}
11
- * For {@link FormFieldType.area}: {@link Units.SQUARE_METRE}/{@link Units.SQUARE_FOOT}
12
- */
13
- small = "small",
14
- /**
15
- * A medium measurement.
16
- * For {@link FormFieldType.distance}: {@link Units.METER}/{@link Units.FOOT}
17
- * For {@link FormFieldType.weight}: {@link Units.KILOGRAM}/{@link Units.POUND}
18
- * For {@link FormFieldType.volume}: same as {@link FormFieldNumericSize.small}
19
- * For {@link FormFieldType.speed}: {@link Units.METER_PER_SECOND}/{@link Units.FOOT_PER_SECOND}
20
- * For {@link FormFieldType.area}: {@link Units.SQUARE_KILOMETRE}/{@link Units.SQUARE_MILE}
21
- */
22
- medium = "medium",
23
- /**
24
- * A large measurement.
25
- * For {@link FormFieldType.distance}: {@link Units.KILOMETER}/{@link Units.MILE}
26
- * For {@link FormFieldType.weight}: {@link Units.TONNE}/{@link Units.TON}
27
- * For {@link FormFieldType.volume}: {@link Units.LITER}/{@link Units.GALLON}
28
- * For {@link FormFieldType.speed}: {@link Units.KILOMETER_PER_HOUR}/{@link Units.MILE_PER_HOUR}
29
- * For {@link FormFieldType.area}: {@link Units.HECTARE}/{@link Units.ACRE}
30
- */
31
- large = "large"
32
- }
@@ -1,17 +0,0 @@
1
- import { nothing, ulong } from '../../API/Types';
2
- import { FormFieldType } from '../FormFieldType';
3
- import { FormFieldBase } from './FormFieldBase';
4
- /**
5
- * A control to capture a signature from the user.
6
- * @tutorial
7
- * The device making the capture must save the image to the server some other way.
8
- * When submitting the {@link FormResult}, the value must be a path to the signature file.
9
- */
10
- export declare class FormFieldSignature extends FormFieldBase {
11
- /**
12
- * Just {@link FormFieldType.signature} control type.
13
- */
14
- protected get supported(): FormFieldType[];
15
- constructor(id?: ulong | nothing, name?: string | nothing, notes?: string | nothing, required?: boolean | nothing, value?: string | nothing, editable?: boolean | nothing);
16
- isValid(value: string): boolean;
17
- }
@@ -1,32 +0,0 @@
1
- import { byte, nothing, ulong, ushort } from "../../API/Types";
2
- import { FormFieldType } from "../FormFieldType";
3
- import { FormFieldBase } from "./FormFieldBase";
4
- /**
5
- * A text input control.
6
- */
7
- export declare class FormFieldText extends FormFieldBase {
8
- /**
9
- * Just {@link FormFieldType.text} control type.
10
- */
11
- protected get supported(): FormFieldType[];
12
- /**
13
- * The number of rows of text to display.
14
- * @tutorial The control should grow to display all entered text even if the UI must add more rows.
15
- */
16
- rows: byte;
17
- /**
18
- * Minimum length of entered text to make it a valid entry.
19
- */
20
- minimum: ushort;
21
- /**
22
- * Maximum length of entered text to make it a valid entry.
23
- */
24
- maximum: ushort;
25
- constructor(id?: ulong | nothing, name?: string | nothing, rows?: byte | nothing, minimum?: ushort | nothing, maximum?: ushort | nothing, notes?: string | nothing, required?: boolean | nothing, value?: string | nothing, editable?: boolean | nothing);
26
- toJSON(): {
27
- rows: number | null;
28
- minimum: number | null;
29
- maximum: number | null;
30
- };
31
- isValid(value: string): boolean;
32
- }
@@ -1,37 +0,0 @@
1
- import { TimeSpan } from "../../API/TimeSpan";
2
- import { nothing, timespan, ulong } from "../../API/Types";
3
- import { FormFieldType } from "../FormFieldType";
4
- import { FormFieldBase } from "./FormFieldBase";
5
- /**
6
- * A control to choose a time or duration longer than 24 hours.
7
- */
8
- export declare class FormFieldTime extends FormFieldBase {
9
- /**
10
- * For a 24 hour day, anything negative span would be considered invalid.
11
- * As such, the minimum time for a {@link FormFieldType.time} is midnight (zero).
12
- */
13
- static readonly MINIMUM_TIME_OF_DAY: TimeSpan;
14
- /**
15
- * For a 24 hour day, anything over a 24 hour span would be considered invalid.
16
- * As such, the maximum time for a {@link FormFieldType.time} is midnight the next day.
17
- */
18
- static readonly MAXIMUM_TIME_OF_DAY: TimeSpan;
19
- /**
20
- * These are the clock control types.
21
- */
22
- protected get supported(): FormFieldType[];
23
- /**
24
- * The minimum duration or earliest time-of-day.
25
- */
26
- minimum: TimeSpan | null;
27
- /**
28
- * The maximum duration or latest time-of-day.
29
- */
30
- maximum: TimeSpan | null;
31
- constructor(id?: ulong | nothing, name?: string | nothing, kind?: FormFieldType | nothing, minimum?: TimeSpan | timespan | number | nothing, maximum?: TimeSpan | timespan | number | nothing, notes?: string | nothing, required?: boolean | nothing, value?: string | nothing, editable?: boolean | nothing);
32
- toJSON(): {
33
- minimum: string | null;
34
- maximum: string | null;
35
- };
36
- isValid(value: string): boolean;
37
- }
@@ -1,14 +0,0 @@
1
- import { nothing, ulong } from "../../API/Types";
2
- import { FormFieldType } from "../FormFieldType";
3
- import { FormFieldBase } from "./FormFieldBase";
4
- /**
5
- * A {@link Timezone} selection control.
6
- */
7
- export declare class FormFieldTimezone extends FormFieldBase {
8
- /**
9
- * Just {@link FormFieldType.timezone} control type.
10
- */
11
- protected get supported(): FormFieldType[];
12
- constructor(id?: ulong | nothing, name?: string | nothing, notes?: string | nothing, required?: boolean | nothing, value?: string | nothing, editable?: boolean | nothing);
13
- isValid(value: string): boolean;
14
- }
@@ -1,97 +0,0 @@
1
- import { BaseComponent } from "../API/BaseComponent";
2
- import { LatLng } from "../API/Geography/LatLng";
3
- import { IBelongAsset } from "../API/Interfaces/IBelongAsset";
4
- import { IBelongCompany } from "../API/Interfaces/IBelongCompany";
5
- import { IIdUlong } from "../API/Interfaces/IIdUlong";
6
- import { ILabelled } from "../API/Interfaces/ILabelled";
7
- import { INamed } from "../API/Interfaces/INamed";
8
- import { codified, ulong, JsonObject } from "../API/Types";
9
- import { Asset } from "../Assets/Asset";
10
- import { Company } from "../Companies/Company";
11
- import { FormTemplate } from "./FormTemplate";
12
- /**
13
- * A completed form submitted by a {@link User} or {@link Asset}.
14
- */
15
- export declare class FormResult extends BaseComponent implements IIdUlong, INamed, IBelongCompany, IBelongAsset, ILabelled {
16
- /**
17
- * Unique identifier of this form.
18
- */
19
- id: ulong;
20
- /**
21
- * The {@link Company} to which this form belongs.
22
- * {@link Company.id}
23
- */
24
- companyId: ulong;
25
- /**
26
- * The {@link Company} to which this form belongs.
27
- * {@link Company.id}
28
- */
29
- get company(): Company;
30
- /**
31
- * The {@link FormTemplate} to which this form belongs.
32
- */
33
- templateId: ulong;
34
- /**
35
- * The {@link FormTemplate} to which this form belongs.
36
- */
37
- get template(): FormTemplate;
38
- set template(value: FormTemplate);
39
- /**
40
- * The {@link Asset} to which this form belongs.
41
- * {@link Asset.id}
42
- */
43
- assetId: ulong;
44
- /**
45
- * The {@link Asset} to which this form belongs.
46
- * {@link Asset.id}
47
- */
48
- get asset(): Asset;
49
- /**
50
- * Name of this form.
51
- */
52
- name: string;
53
- /**
54
- * Notes about this form.
55
- */
56
- notes: string;
57
- /**
58
- * Codified label names used to relate forms to {@link Asset}s.
59
- */
60
- labels: codified[];
61
- /**
62
- * All the values for fillable fields by index.
63
- */
64
- fields: Map<ulong, string>;
65
- /**
66
- * A timestamp from when this form was completed by a {@link User} or {@link Asset}.
67
- */
68
- completed: Date;
69
- /**
70
- * The coordinates of the {@link User} or {@link Asset} from when the form was completed.
71
- */
72
- latlng: LatLng | null;
73
- /**
74
- * Clocked-in driver name who made the update.
75
- * Null if not clocked-in, or no changes have been made.
76
- */
77
- driver: string;
78
- /**
79
- * The {@link id} is the key.
80
- */
81
- getKey(): number;
82
- toJSON(): {
83
- id: number;
84
- company: number;
85
- v: number[];
86
- template: number | null;
87
- asset: number | null;
88
- name: string;
89
- notes: string;
90
- labels: string[];
91
- fields: JsonObject;
92
- completed: string | null;
93
- latlng: import("../API/Geography/Interfaces").ILatLng | null;
94
- driver: string | null;
95
- };
96
- fromJSON(json: JsonObject, force?: boolean): boolean;
97
- }
@@ -1,81 +0,0 @@
1
- import { BaseComponent } from "../API/BaseComponent";
2
- import { IBelongCompany } from "../API/Interfaces/IBelongCompany";
3
- import { IIdUlong } from "../API/Interfaces/IIdUlong";
4
- import { ILabelled } from "../API/Interfaces/ILabelled";
5
- import { INamed } from "../API/Interfaces/INamed";
6
- import { IVisual } from "../API/Interfaces/IVisual";
7
- import { codified, colour, ulong, JsonObject } from "../API/Types";
8
- import { Company } from "../Companies/Company";
9
- import { FormFieldAttachments } from './Fields/FormFieldAttachments';
10
- import { FormFieldBoolean } from './Fields/FormFieldBoolean';
11
- import { FormFieldChoice } from './Fields/FormFieldChoice';
12
- import { FormFieldDate } from './Fields/FormFieldDate';
13
- import { FormFieldNumeric } from './Fields/FormFieldNumeric';
14
- import { FormFieldSignature } from './Fields/FormFieldSignature';
15
- import { FormFieldText } from './Fields/FormFieldText';
16
- import { FormFieldTime } from './Fields/FormFieldTime';
17
- import { FormFieldTimezone } from './Fields/FormFieldTimezone';
18
- /**
19
- * The full definition of a form that needs to be filled out.
20
- */
21
- export declare class FormTemplate extends BaseComponent implements IIdUlong, INamed, IBelongCompany, ILabelled, IVisual {
22
- /**
23
- * Unique identifier of this form.
24
- */
25
- id: ulong;
26
- /**
27
- * The {@link Company} to which this form belongs.
28
- * {@link Company.id}
29
- */
30
- companyId: ulong;
31
- /**
32
- * The {@link Company} to which this form belongs.
33
- * {@link Company.id}
34
- */
35
- get company(): Company;
36
- /**
37
- * Name of this form.
38
- */
39
- name: string;
40
- /**
41
- * Notes about this form.
42
- */
43
- notes: string;
44
- /**
45
- * Codified label names used to relate forms to {@link Asset}s.
46
- */
47
- labels: codified[];
48
- /**
49
- * The fill/background colour of the icon.
50
- */
51
- fill: colour;
52
- /**
53
- * Outline and graphic colour.
54
- */
55
- stroke: colour;
56
- /**
57
- * The name of the symbol for this template.
58
- */
59
- graphic: codified;
60
- /**
61
- * All the user fillable fields by name.
62
- */
63
- fields: (FormFieldText | FormFieldChoice | FormFieldBoolean | FormFieldNumeric | FormFieldDate | FormFieldTime | FormFieldSignature | FormFieldAttachments | FormFieldTimezone)[];
64
- /**
65
- * The {@link id} is the key.
66
- */
67
- getKey(): number;
68
- toJSON(): {
69
- id: number | null;
70
- company: number | null;
71
- v: number[];
72
- name: string;
73
- notes: string;
74
- labels: string[];
75
- fields: any[];
76
- fill: string;
77
- stroke: string;
78
- graphic: string;
79
- };
80
- fromJSON(json: JsonObject, force?: boolean): boolean;
81
- }
@@ -1,70 +0,0 @@
1
- import { ISize } from "../API/Geometry/Interfaces";
2
- import { Size } from "../API/Geometry/Size";
3
- import { TimeSpan } from "../API/TimeSpan";
4
- import { byte, datetime, double, guid, JsonObject, single, ulong } from "../API/Types";
5
- import { DashcamBase } from "./DashcamBase";
6
- import { DashcamMediaType } from "./DashcamMediaType";
7
- /**
8
- * An image or video received from a dashcam-enabled provider or asset.
9
- */
10
- export declare class Dashcam extends DashcamBase {
11
- /**
12
- *
13
- * @param json
14
- */
15
- static fromJSON(json: JsonObject): Dashcam;
16
- /**
17
- * Unique identifier of this resource.
18
- */
19
- guid: guid;
20
- /**
21
- * The type of data being stored.
22
- */
23
- kind: DashcamMediaType;
24
- /**
25
- * For {@link DashcamMediaType.video} media files, this indicates the frames-per-second.
26
- */
27
- fps: single;
28
- /**
29
- * Timestamp of when this resource started.
30
- * For {@link DashcamMediaType.image} media files, the start and end are the same.
31
- */
32
- start: Date;
33
- /**
34
- * Timestamp of when this resource ended.
35
- * For {@link DashcamMediaType.image} media files, the start and end are the same.
36
- */
37
- end: Date;
38
- /**
39
- * For {@link DashcamMediaType.video} media files, the duration of the video clip.
40
- */
41
- get duration(): TimeSpan;
42
- /**
43
- * The reason why we're saving this image/video. Or the event name that triggered it.
44
- */
45
- eventName: string;
46
- constructor(bytes?: ulong, size?: Size | ISize | JsonObject, provider?: string, company?: ulong, asset?: ulong, camera?: byte, latitude?: double, longitude?: double, speed?: double, heading?: double, altitude?: double, guid?: guid, kind?: DashcamMediaType, fps?: single, start?: Date | number | datetime, end?: Date | number | datetime, eventName?: string);
47
- toJSON(): {
48
- guid: string;
49
- kind: DashcamMediaType;
50
- fps: number | null;
51
- start: string | null;
52
- end: string | null;
53
- eventName: string;
54
- bytes: number | null;
55
- size: ISize;
56
- provider: string;
57
- company: number | null;
58
- asset: number | null;
59
- camera: number | null;
60
- latitude: number | null;
61
- longitude: number | null;
62
- speed: number | null;
63
- heading: number | null;
64
- altitude: number | null;
65
- };
66
- /**
67
- * The {@link guid} is the key.
68
- */
69
- getKey(): string;
70
- }
@@ -1,98 +0,0 @@
1
- import { ISize } from "../API/Geometry/Interfaces";
2
- import { Size } from "../API/Geometry/Size";
3
- import { IFileSize } from "../API/Interfaces/IFileSize";
4
- import { IRequestable } from "../API/Interfaces/IRequestable";
5
- import { ISerializable } from "../API/Interfaces/ISerializable";
6
- import { byte, double, ulong, JsonObject } from "../API/Types";
7
- import { Asset } from "../Assets/Asset";
8
- import { Company } from "../Companies/Company";
9
- import { Provider } from "../Providers/Provider";
10
- /**
11
- * A base class for Dashcam meta-data.
12
- */
13
- export declare abstract class DashcamBase implements IRequestable, IFileSize, ISerializable {
14
- /**
15
- * Number bytes in the dashcam media file.
16
- */
17
- bytes: ulong;
18
- /**
19
- * Resolution defined in pixels.
20
- */
21
- size: Size;
22
- /**
23
- * Unique identifier of the provider that sent the data.
24
- * {@link Provider.id}
25
- */
26
- providerId: string;
27
- /**
28
- * Unique identifier of the provider that sent the data.
29
- * {@link Provider.id}
30
- */
31
- get provider(): Provider;
32
- /**
33
- * Unique identifier of the company of the provider.
34
- * {@link Company.id}
35
- */
36
- companyId: ulong;
37
- /**
38
- * Unique identifier of the company of the provider.
39
- * {@link Company.id}
40
- */
41
- get company(): Company;
42
- /**
43
- * Unique identifier of the asset tied to the provider at the time.
44
- * {@link Asset.id}
45
- */
46
- assetId: ulong;
47
- /**
48
- * Unique identifier of the asset tied to the provider at the time.
49
- * {@link Asset.id}
50
- */
51
- get asset(): Asset;
52
- /**
53
- * Number assigned to the camera that took the image/video.
54
- */
55
- camera: byte;
56
- /**
57
- * Latitude of the start of the resource.
58
- */
59
- latitude: double;
60
- /**
61
- * Longitude of the start of the resource.
62
- */
63
- longitude: double;
64
- /**
65
- * Speed of the start of the resource.
66
- */
67
- speed: double;
68
- /**
69
- * Heading of the start of the resource.
70
- */
71
- heading: double;
72
- /**
73
- * Altitude of the start of the resource.
74
- */
75
- altitude: double;
76
- constructor(bytes?: ulong, size?: Size | ISize | JsonObject, provider?: string, company?: ulong, asset?: ulong, camera?: byte, latitude?: double, longitude?: double, speed?: double, heading?: double, altitude?: double);
77
- /**
78
- *
79
- */
80
- toJSON(): {
81
- bytes: number | null;
82
- size: ISize;
83
- provider: string;
84
- company: number | null;
85
- asset: number | null;
86
- camera: number | null;
87
- latitude: number | null;
88
- longitude: number | null;
89
- speed: number | null;
90
- heading: number | null;
91
- altitude: number | null;
92
- };
93
- /**
94
- * For dashcams, this is either a unique identifier, or a combination of the {@link assetId}, {@link providerId}, and {@link camera} values.
95
- * @returns A string unique for this type of object.
96
- */
97
- abstract getKey(): string;
98
- }
@@ -1,43 +0,0 @@
1
- import { ISize } from "../API/Geometry/Interfaces";
2
- import { Size } from "../API/Geometry/Size";
3
- import { byte, double, JsonObject, ulong } from "../API/Types";
4
- import { DashcamBase } from "./DashcamBase";
5
- import { DashcamMediaType } from "./DashcamMediaType";
6
- /**
7
- * A live snapshot a dashcam-enabled provider or asset.
8
- */
9
- export declare class DashcamLive extends DashcamBase {
10
- /**
11
- *
12
- * @param json
13
- */
14
- static fromJSON(json: JsonObject): DashcamLive;
15
- /**
16
- * The type of data being stored.
17
- */
18
- readonly kind = DashcamMediaType.image;
19
- /**
20
- * Timestamp of this live camera image.
21
- */
22
- dts: Date;
23
- constructor(bytes?: ulong, size?: Size | ISize | JsonObject, provider?: string, company?: ulong, asset?: ulong, camera?: byte, latitude?: double, longitude?: double, speed?: double, heading?: double, altitude?: double, dts?: Date | string | number);
24
- toJSON(): {
25
- kind: DashcamMediaType;
26
- dts: string | null;
27
- bytes: number | null;
28
- size: ISize;
29
- provider: string;
30
- company: number | null;
31
- asset: number | null;
32
- camera: number | null;
33
- latitude: number | null;
34
- longitude: number | null;
35
- speed: number | null;
36
- heading: number | null;
37
- altitude: number | null;
38
- };
39
- /**
40
- * A combination of the asset, provider, and camera number.
41
- */
42
- getKey(): string;
43
- }
@@ -1,17 +0,0 @@
1
- /**
2
- * The type of dashcam data being stored.
3
- */
4
- export declare enum DashcamMediaType {
5
- /**
6
- * Unknown or other.
7
- */
8
- unknown = "unknown",
9
- /**
10
- * Image
11
- */
12
- image = "image",
13
- /**
14
- * Video
15
- */
16
- video = "video"
17
- }
@@ -1,67 +0,0 @@
1
- import { BaseComponent } from "../API/BaseComponent";
2
- import { IBelongCompany } from "../API/Interfaces/IBelongCompany";
3
- import { IGlobal } from "../API/Interfaces/IGlobal";
4
- import { IIdUlong } from "../API/Interfaces/IIdUlong";
5
- import { INamed } from "../API/Interfaces/INamed";
6
- import { JsonObject, ulong } from "../API/Types";
7
- import { Company } from "../Companies/Company";
8
- import { IconGlyph } from "./IconGlyph";
9
- import { IconLabel } from "./IconLabel";
10
- /**
11
- * A visual representation of a thing on a map or in a list.
12
- */
13
- export declare class Icon extends BaseComponent implements IIdUlong, INamed, IBelongCompany, IGlobal {
14
- /**
15
- * Unique identifier of this icon.
16
- */
17
- id: ulong;
18
- /**
19
- * The company to which this icon belongs.
20
- * {@link Company.id}
21
- */
22
- companyId: ulong;
23
- /**
24
- * The company to which this icon belongs.
25
- * {@link Company.id}
26
- */
27
- get company(): Company;
28
- /**
29
- * A noun to describe the type of thing represented. Like Truck, Car, Trailer, Hot-Air Balloon, etc...
30
- */
31
- category: string;
32
- /**
33
- * A specific adjective to describe the thing. Like Blue, Red, Empty, Full, etc...
34
- */
35
- name: string;
36
- /**
37
- * Notes.
38
- */
39
- notes: string;
40
- /**
41
- * Indicates whether this icon is available to child companies.
42
- */
43
- global: boolean;
44
- /**
45
- * A list of things that this icon can be used to represent. Like asset, place, user, etc...
46
- */
47
- usage: string[];
48
- /**
49
- * Definition for the name bubble above the icon on a map.
50
- */
51
- label: IconLabel;
52
- /**
53
- * Where the notification will appear for a mapped icon.
54
- * Such as the number of dispatches an asset is working on, or the number of dispatches at a place.
55
- */
56
- badge: IconLabel;
57
- /**
58
- * The images used to show the detail of this icon.
59
- */
60
- glyphs: IconGlyph[];
61
- toJSON(): JsonObject;
62
- fromJSON(json: JsonObject, force?: boolean): boolean;
63
- /**
64
- * The {@link id} is the key.
65
- */
66
- getKey(): number;
67
- }