@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,47 +0,0 @@
1
- import { IPoint, ISize } from "../API/Geometry/Interfaces";
2
- import { Point } from "../API/Geometry/Point";
3
- import { Size } from "../API/Geometry/Size";
4
- import { ISerializable } from "../API/Interfaces/ISerializable";
5
- import { codified, ushort, JsonObject } from "../API/Types";
6
- import { IconLayer } from "./IconLayer";
7
- /**
8
- * The image source and defined status tags which need to be applied to an asset in order to show the image.
9
- */
10
- export declare class IconGlyph implements ISerializable {
11
- /**
12
- *
13
- * @param json
14
- */
15
- static fromJSON(json: JsonObject): IconGlyph;
16
- /**
17
- * A list of codified status tag names. Any of the tags must be applied to the asset for the image to appear.
18
- */
19
- tags: codified[];
20
- /**
21
- * Path to the image.
22
- */
23
- src: string;
24
- /**
25
- * Size of the glyph in pixels.
26
- */
27
- size: Size;
28
- /**
29
- * The offset from the lat/long in pixels.
30
- */
31
- anchor: Point;
32
- /**
33
- * The layer on which this glyph is displayed.
34
- */
35
- layer: IconLayer;
36
- /**
37
- * The z-order of this glyph compared to other glyphs on the same layer.
38
- */
39
- zIndex: ushort;
40
- /**
41
- * Indicates that this glyph rotate based on GPS bearing.
42
- */
43
- rotates: boolean;
44
- constructor(tags?: codified[], src?: string, size?: ISize | JsonObject, anchor?: IPoint | JsonObject, layer?: IconLayer, zIndex?: ushort, rotates?: boolean);
45
- toJSON(): JsonObject;
46
- isEqual(other: IconGlyph): boolean;
47
- }
@@ -1,29 +0,0 @@
1
- import { IPoint } from "../API/Geometry/Interfaces";
2
- import { Point } from "../API/Geometry/Point";
3
- import { ISerializable } from "../API/Interfaces/ISerializable";
4
- import { colour, JsonObject } from "../API/Types";
5
- /**
6
- * Definition for the name bubble above the icon on a map.
7
- */
8
- export declare class IconLabel implements ISerializable {
9
- /**
10
- *
11
- * @param json
12
- */
13
- static fromJSON(json: JsonObject): IconLabel;
14
- /**
15
- * The offset from the lat/long in pixels.
16
- */
17
- anchor: Point;
18
- /**
19
- * Determines which corner of the label is attached to the anchor.
20
- */
21
- align: string;
22
- /**
23
- * Background colour of the label.
24
- */
25
- colour: colour;
26
- constructor(anchor?: IPoint | JsonObject, align?: string, colour?: colour);
27
- toJSON(): JsonObject;
28
- isEqual(other: IconLabel): boolean;
29
- }
@@ -1,33 +0,0 @@
1
- /**
2
- * The layers of the map used to visualize the icon.
3
- */
4
- export declare enum IconLayer {
5
- /**
6
- * An SVG only layer just above the roads used for solid Places and accuracy radius fill.
7
- */
8
- fills = "fills",
9
- /**
10
- * An HTML only layer intended for use by an icon's drop-shadow.
11
- */
12
- shadows = "shadows",
13
- /**
14
- * An SVG only layer intended for use by shape and accuracy radius outlines.
15
- */
16
- outlines = "outlines",
17
- /**
18
- * An HTML only layer intended for use by an icon's main images.
19
- */
20
- markers = "markers",
21
- /**
22
- * An HTML only layer intended for use by an icon's label.
23
- */
24
- labels = "labels",
25
- /**
26
- * An SVG only layer for special drawing controls. Icons should not use this layer.
27
- */
28
- drawings = "drawings",
29
- /**
30
- * An HTML only layer for special drawing controls. Icons should not use this layer.
31
- */
32
- edits = "edits"
33
- }
@@ -1,73 +0,0 @@
1
- import { BaseComponent } from "../API/BaseComponent";
2
- import { Rectangle } from "../API/Geometry/Rectangle";
3
- import { Size } from "../API/Geometry/Size";
4
- import { IBelongCompany } from "../API/Interfaces/IBelongCompany";
5
- import { IFileSize } from "../API/Interfaces/IFileSize";
6
- import { IIdUlong } from "../API/Interfaces/IIdUlong";
7
- import { INamed } from "../API/Interfaces/INamed";
8
- import { uint, ulong, JsonObject } from "../API/Types";
9
- import { Company } from "../Companies/Company";
10
- /**
11
- * An image stored by the system.
12
- */
13
- export declare class Picture extends BaseComponent implements IIdUlong, INamed, IBelongCompany, IFileSize {
14
- /**
15
- * Unique identifier of this image.
16
- */
17
- id: ulong;
18
- /**
19
- * The company to which this image belongs.
20
- * {@link Company.id}
21
- */
22
- companyId: ulong;
23
- /**
24
- * The company to which this image belongs.
25
- * {@link Company.id}
26
- */
27
- get company(): Company;
28
- /**
29
- * The file name of this image.
30
- */
31
- name: string;
32
- /**
33
- * Notes about this image.
34
- */
35
- notes: string;
36
- /**
37
- * The URL/path to find this image.
38
- */
39
- src: string;
40
- /**
41
- * Resolution defined in pixels.
42
- */
43
- size: Size;
44
- /**
45
- * A list of focal points in the images like faces.
46
- */
47
- focals: Rectangle[];
48
- /**
49
- * The file-size on the disk.
50
- */
51
- bytes: ulong;
52
- /**
53
- * A count of the times this image was used for something (asset, contact, task, etc).
54
- */
55
- uses: uint;
56
- toJSON(): {
57
- id: number | null;
58
- v: number[];
59
- company: number;
60
- name: string;
61
- notes: string;
62
- src: string;
63
- size: import("../API/Geometry/Interfaces").ISize;
64
- focals: any[];
65
- bytes: number | null;
66
- uses: number | null;
67
- };
68
- fromJSON(json: JsonObject, force?: boolean): boolean;
69
- /**
70
- * The {@link id} is the key.
71
- */
72
- getKey(): number;
73
- }
@@ -1,137 +0,0 @@
1
- import { BaseComponent } from "../API/BaseComponent";
2
- import { IBelongAsset } from "../API/Interfaces/IBelongAsset";
3
- import { IBelongCompany } from "../API/Interfaces/IBelongCompany";
4
- import { IIdUlong } from "../API/Interfaces/IIdUlong";
5
- import { INamed } from "../API/Interfaces/INamed";
6
- import { IPictured } from "../API/Interfaces/IPictured";
7
- import { TimeSpan } from "../API/TimeSpan";
8
- import { double, JsonObject, ulong } from "../API/Types";
9
- import { Asset } from "../Assets/Asset";
10
- import { Company } from "../Companies/Company";
11
- import { Picture } from "../Images/Picture";
12
- import { MaintenanceJobStatus } from "./MaintenanceJobStatus";
13
- import { MaintenanceSchedule } from "./MaintenanceSchedule";
14
- /**
15
- * Historical service work performed on a Vehicle or Trailer
16
- */
17
- export declare class MaintenanceJob extends BaseComponent implements IIdUlong, INamed, IBelongCompany, IBelongAsset, IPictured {
18
- /**
19
- * Unique identifier
20
- */
21
- id: ulong;
22
- /**
23
- * The Vehicle or Trailer to which this job belongs
24
- * {@link Asset.id}
25
- */
26
- assetId: ulong;
27
- /**
28
- * The Vehicle or Trailer to which this job belongs
29
- * {@link Asset.id}
30
- */
31
- get asset(): Asset;
32
- /**
33
- * The company to which this Vehicle or Trailer belongs
34
- * {@link Company.id}
35
- */
36
- companyId: ulong;
37
- /**
38
- * The company to which this Vehicle or Trailer belongs
39
- * {@link Company.id}
40
- */
41
- get company(): Company;
42
- /**
43
- * The Maintenance Schedule from which this job was created
44
- * {@link MaintenanceSchedule.id}
45
- */
46
- scheduleId: ulong;
47
- /**
48
- * The Maintenance Schedule from which this job was created
49
- * {@link MaintenanceSchedule.id}
50
- */
51
- get schedule(): MaintenanceSchedule;
52
- set schedule(value: MaintenanceSchedule);
53
- /**
54
- * The work being done. Like "oil change".
55
- */
56
- name: string;
57
- /**
58
- * Notes about the job. Like "changed the oil and filter".
59
- */
60
- notes: string;
61
- /**
62
- * The status of this job.
63
- */
64
- status: MaintenanceJobStatus;
65
- /**
66
- * When was this job created.
67
- */
68
- created: Date;
69
- /**
70
- * When was this job created.
71
- */
72
- completed: Date;
73
- /**
74
- * The odometer at the time of the service.
75
- */
76
- odometer: double;
77
- /**
78
- * The operating time at the time of the service.
79
- */
80
- engineHours: double;
81
- /**
82
- * The name of the garage or service facility where the work is done.
83
- */
84
- garage: string;
85
- /**
86
- * Time it took to complete the job.
87
- */
88
- duration: TimeSpan;
89
- /**
90
- * How much the job cost in dollars.
91
- */
92
- cost: double;
93
- /**
94
- * A reference code used to track this job
95
- */
96
- reference: string;
97
- /**
98
- * The mechanic who performed the work.
99
- */
100
- technician: string;
101
- /**
102
- * Images taken while performing the work for reference.
103
- * {@link Picture.id}
104
- */
105
- pictureIds: ulong[];
106
- /**
107
- * Images taken while performing the work for reference.
108
- * {@link Picture.id}
109
- */
110
- get pictures(): Picture[];
111
- set pictures(values: Picture[]);
112
- toJSON(): {
113
- id: number | null;
114
- v: number[];
115
- company: number;
116
- asset: number;
117
- schedule: number;
118
- name: string;
119
- notes: string;
120
- status: MaintenanceJobStatus;
121
- created: string | null;
122
- completed: string | null;
123
- odometer: number;
124
- engineHours: number;
125
- garage: string;
126
- cost: number;
127
- duration: string;
128
- reference: string;
129
- technician: string;
130
- pictures: number[];
131
- };
132
- fromJSON(json: JsonObject, force?: boolean): boolean;
133
- /**
134
- * The {@link id} is the key.
135
- */
136
- getKey(): number;
137
- }
@@ -1,119 +0,0 @@
1
- import { BaseComponent } from "../API/BaseComponent";
2
- import { IBelongCompany } from "../API/Interfaces/IBelongCompany";
3
- import { IIdUlong } from "../API/Interfaces/IIdUlong";
4
- import { INamed } from "../API/Interfaces/INamed";
5
- import { IVisual } from "../API/Interfaces/IVisual";
6
- import { SearchPattern } from "../API/SearchPattern";
7
- import { TimeSpan } from "../API/TimeSpan";
8
- import { codified, colour, double, email, JsonObject, uint, ulong } from "../API/Types";
9
- import { Company } from "../Companies/Company";
10
- import { MaintenanceInterval } from "./MaintenanceInterval";
11
- /**
12
- * Recurring service work
13
- */
14
- export declare class MaintenanceSchedule extends BaseComponent implements IIdUlong, INamed, IBelongCompany, IVisual {
15
- /**
16
- * Unique identifier
17
- */
18
- id: ulong;
19
- /**
20
- * The company to which this schedule belongs
21
- * {@link Company.id}
22
- */
23
- companyId: ulong;
24
- /**
25
- * The company to which this schedule belongs
26
- * {@link Company.id}
27
- */
28
- get company(): Company;
29
- /**
30
- * The name of the work to be done. Like "oil change".
31
- */
32
- name: string;
33
- /**
34
- * Notes about the work to be done. Like "change the oil and oil filter".
35
- */
36
- notes: string;
37
- /**
38
- * The targeting expression to select which Vehicles and Trailers require this maintenance work.
39
- */
40
- targets: SearchPattern[] | null;
41
- /**
42
- * List of Users to send notifications.
43
- */
44
- notify: email[];
45
- /**
46
- * The fill/background colour of the icon.
47
- */
48
- fill: colour;
49
- /**
50
- * Outline and graphic colour.
51
- */
52
- stroke: colour;
53
- /**
54
- * The name of the symbol for this schedule.
55
- */
56
- graphic: codified;
57
- /**
58
- * The number of days in advance to predict a job will become pending.
59
- */
60
- predictionDays: uint;
61
- /**
62
- * The number of days between service visits.
63
- */
64
- recurDays: uint;
65
- /**
66
- * The amount of mileage between service visits.
67
- */
68
- recurDistance: double;
69
- /**
70
- * The number of operating hours between service visits.
71
- */
72
- recurEngineHours: double;
73
- /**
74
- * The per-asset details calculated by the system to help predict the creation of Maintenance Jobs.
75
- */
76
- intervals: Map<ulong, MaintenanceInterval>;
77
- /**
78
- * The name of the garage or service facility where the work is done.
79
- */
80
- garage: string;
81
- /**
82
- * The estimated time for the job.
83
- */
84
- duration: TimeSpan;
85
- /**
86
- * The estimated cost for the job cost in dollars.
87
- */
88
- cost: double;
89
- /**
90
- * A reference code used to track this job.
91
- */
92
- reference: string;
93
- toJSON(): {
94
- id: number | null;
95
- v: number[];
96
- company: number;
97
- name: string;
98
- notes: string;
99
- notify: string[];
100
- targets: string | null;
101
- fill: string;
102
- stroke: string;
103
- graphic: string;
104
- garage: string;
105
- cost: number;
106
- duration: string;
107
- reference: string;
108
- predictionDays: number;
109
- recurDays: number | null;
110
- recurDistance: number | null;
111
- recurEngineHours: number | null;
112
- intervals: JsonObject;
113
- };
114
- fromJSON(json: JsonObject, force?: boolean): boolean;
115
- /**
116
- * The {@link id} is the key.
117
- */
118
- getKey(): number;
119
- }
@@ -1,40 +0,0 @@
1
- import { email, JsonObject } from '../API/Types';
2
- import { MessageBase } from './MessageBase';
3
- import { MessageFolder } from './MessageFolder';
4
- /**
5
- * A conversational message between users and assets.
6
- */
7
- export declare class AssetMessage extends MessageBase {
8
- /**
9
- * The folder under which this message is stored.
10
- */
11
- folder: MessageFolder;
12
- /**
13
- * Indicates that this is a received message instead of a sent message.
14
- */
15
- incoming: boolean;
16
- /**
17
- * The user that read this message. This field is blank/null when unread.
18
- * {@link User.login}
19
- */
20
- readBy: email;
21
- toJSON(): {
22
- folder: MessageFolder;
23
- incoming: boolean;
24
- readBy: string;
25
- id: number | null;
26
- v: number[];
27
- company: number;
28
- status: import("./MessageStatus").MessageStatus;
29
- kind: import("./MessageType").MessageType;
30
- to: string;
31
- from: string;
32
- body: string;
33
- processed: string | null;
34
- delivered: string | null;
35
- subject: string;
36
- asset: number;
37
- user: string;
38
- };
39
- fromJSON(json: JsonObject, force?: boolean): boolean;
40
- }
@@ -1,101 +0,0 @@
1
- import { User } from "../Accounts/User";
2
- import { BaseComponent } from "../API/BaseComponent";
3
- import { IBelongAsset } from "../API/Interfaces/IBelongAsset";
4
- import { IBelongCompany } from "../API/Interfaces/IBelongCompany";
5
- import { IIdUlong } from "../API/Interfaces/IIdUlong";
6
- import { email, JsonObject, ulong } from "../API/Types";
7
- import { Asset } from "../Assets/Asset";
8
- import { Company } from "../Companies/Company";
9
- import { MessageStatus } from './MessageStatus';
10
- import { MessageType } from './MessageType';
11
- /**
12
- * A base class for Alerts and Messages.
13
- */
14
- export declare abstract class MessageBase extends BaseComponent implements IIdUlong, IBelongCompany, IBelongAsset {
15
- /**
16
- * Unique identifier of this memo.
17
- */
18
- id: ulong;
19
- /**
20
- * The company to which this memo belongs.
21
- * {@link Company.id}
22
- */
23
- companyId: ulong;
24
- /**
25
- * The company to which this memo belongs.
26
- * {@link Company.id}
27
- */
28
- get company(): Company;
29
- /**
30
- * Lifetime status
31
- */
32
- status: MessageStatus;
33
- /**
34
- * Protocol type
35
- */
36
- kind: MessageType;
37
- /**
38
- * Recipient address.
39
- */
40
- to: email;
41
- /**
42
- * Sender address.
43
- */
44
- from: email;
45
- /**
46
- * The main contents of the memo.
47
- */
48
- body: string;
49
- /**
50
- * Date/time stamp of when the memo was processed.
51
- */
52
- processed: Date;
53
- /**
54
- * Date/time stamp of when the memo was delivered (or sent if delivery information unavailable).
55
- */
56
- delivered: Date;
57
- /**
58
- * The subject of this message.
59
- */
60
- subject: string;
61
- /**
62
- * The asset to which this message relates.
63
- * {@link Asset.id}
64
- */
65
- assetId: ulong;
66
- /**
67
- * The asset to which this message relates.
68
- * {@link Asset.id}
69
- */
70
- get asset(): Asset;
71
- /**
72
- * The user who sent/received this message.
73
- * {@link User.login}
74
- */
75
- userLogin: email;
76
- /**
77
- * The user who sent/received this message.
78
- * {@link User.login}
79
- */
80
- get user(): User;
81
- toJSON(): {
82
- id: number | null;
83
- v: number[];
84
- company: number;
85
- status: MessageStatus;
86
- kind: MessageType;
87
- to: string;
88
- from: string;
89
- body: string;
90
- processed: string | null;
91
- delivered: string | null;
92
- subject: string;
93
- asset: number;
94
- user: string;
95
- };
96
- fromJSON(json: JsonObject, force?: boolean): boolean;
97
- /**
98
- * The {@link id} is the key.
99
- */
100
- getKey(): number;
101
- }
@@ -1,33 +0,0 @@
1
- /**
2
- * The kind of protocol used for this memo.
3
- */
4
- export declare enum MessageType {
5
- /**
6
- * If the type of memo has not yet been determined, or there was an error determining its type.
7
- */
8
- unknown = "unknown",
9
- /**
10
- * Short Message Service (text message)
11
- */
12
- sms = "sms",
13
- /**
14
- * Email
15
- */
16
- email = "email",
17
- /**
18
- * Garmin/Magellan/etc (Personal Navigation Device)
19
- */
20
- pnd = "pnd",
21
- /**
22
- * Google Cloud Message
23
- */
24
- gcm = "gcm",
25
- /**
26
- * Apple Push Notification Service
27
- */
28
- apn = "apn",
29
- /**
30
- * WebSocket alert message
31
- */
32
- socket = "socket"
33
- }