@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,109 +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 { ILabelled } from "../API/Interfaces/ILabelled";
6
- import { codified, JsonObject, ulong } from "../API/Types";
7
- import { Asset } from "../Assets/Asset";
8
- import { Company } from "../Companies/Company";
9
- import { FormResult } from "../Hosting/FormResult";
10
- import { DispatchJobPriority } from "./DispatchJobPriority";
11
- import { DispatchStep } from "./DispatchStep";
12
- /**
13
- * Some work that needs to be done by performing one or more {@link DispatchStep}s.
14
- */
15
- export declare class DispatchJob extends BaseComponent implements IIdUlong, ILabelled, IBelongCompany, IBelongAsset {
16
- /**
17
- * Unique identifier of this job.
18
- */
19
- id: ulong;
20
- /**
21
- * The company to which this job belongs.
22
- * {@link Company.id}
23
- */
24
- companyId: ulong;
25
- /**
26
- * The company to which this job belongs.
27
- * {@link Company.id}
28
- */
29
- get company(): Company;
30
- /**
31
- * The {@link Asset} to which this job belongs.
32
- * This value is null when unassigned.
33
- * {@link Asset.id}
34
- */
35
- assetId: ulong;
36
- /**
37
- * The {@link Asset} to which this job belongs.
38
- * This value is null when unassigned.
39
- * {@link Asset.id}
40
- */
41
- get asset(): Asset;
42
- set asset(value: Asset);
43
- /**
44
- * A name for the work needed to be performed.
45
- */
46
- name: string;
47
- /**
48
- * Name/value collections of custom fields used to refer to external systems.
49
- */
50
- references: Map<string, string>;
51
- /**
52
- * Instructions (filled out by dispatcher) for the field-employee to help them complete the job.
53
- */
54
- instructions: string;
55
- /**
56
- * A list of hosted {@link FormResult.id} attached to this job.
57
- */
58
- formIds: ulong[];
59
- /**
60
- * A list of hosted {@link FormResult}s attached to this job.
61
- */
62
- get forms(): FormResult[];
63
- set forms(value: FormResult[]);
64
- /**
65
- * The importance of this job when scheduling for an asset.
66
- */
67
- priority: DispatchJobPriority;
68
- /**
69
- * Codified label names used to relate (unassigned) jobs to {@link Asset}s.
70
- */
71
- labels: codified[];
72
- /**
73
- * The codified status tag names reflecting the conditions of this job.
74
- */
75
- tags: codified[];
76
- /**
77
- * A list of coordinates to visit in order to carry out the work for this job.
78
- */
79
- steps: DispatchStep[];
80
- /**
81
- * When this job was originally created.
82
- */
83
- created: Date;
84
- /**
85
- * Clocked-in driver name who made the update.
86
- * Null if not clocked-in, or no changes have been made.
87
- */
88
- driver: string;
89
- toJSON(): {
90
- id: number | null;
91
- company: number | null;
92
- v: number[];
93
- driver: string;
94
- created: string | null;
95
- name: string;
96
- instructions: string;
97
- priority: DispatchJobPriority;
98
- references: JsonObject;
99
- labels: string[];
100
- tags: string[];
101
- forms: number[];
102
- steps: any[];
103
- };
104
- fromJSON(json: JsonObject, force?: boolean): boolean;
105
- /**
106
- * The {@link id} is the key.
107
- */
108
- getKey(): number;
109
- }
@@ -1,99 +0,0 @@
1
- import { ILatLng } from "../API/Geography/Interfaces";
2
- import { LatLng } from "../API/Geography/LatLng";
3
- import { IIdUlong } from "../API/Interfaces/IIdUlong";
4
- import { INamed } from "../API/Interfaces/INamed";
5
- import { ISerializable } from "../API/Interfaces/ISerializable";
6
- import { TimeSpan } from "../API/TimeSpan";
7
- import { datetime, nothing, timespan, ulong, JsonObject } from "../API/Types";
8
- import { Place } from "../Places/Place";
9
- import { DispatchStepState } from "./DispatchStepState";
10
- import { DispatchStepStatus } from "./DispatchStepStatus";
11
- /**
12
- * A portion of work for a {@link DispatchJob}.
13
- */
14
- export declare class DispatchStep implements IIdUlong, INamed, ISerializable {
15
- /**
16
- *
17
- * @param json
18
- */
19
- static fromJSON(json: JsonObject): DispatchStep;
20
- /**
21
- * Identifier for this {@link DispatchStep}.
22
- * This value is unique per {@link DispatchJob}, but is not unique system-wide.
23
- */
24
- id: ulong;
25
- /**
26
- * A name for the work needed to be performed.
27
- */
28
- name: string;
29
- /**
30
- * The most recently updated state for this step.
31
- */
32
- get status(): DispatchStepStatus;
33
- /**
34
- *
35
- */
36
- get updated(): Date;
37
- /**
38
- * The progress of this step.
39
- */
40
- states: Map<DispatchStepStatus, DispatchStepState>;
41
- /**
42
- * The optional estimated time of arrival for the asset.
43
- */
44
- eta: Date;
45
- /**
46
- * The optional expected duration of the work for this step.
47
- */
48
- duration: TimeSpan;
49
- /**
50
- * The total number of seconds in the {@link duration}.
51
- */
52
- get timeOnSite(): number;
53
- set timeOnSite(value: number);
54
- /**
55
- * An optional place which can be used as a template instead of providing lat/long coordinates and a street address.
56
- * {@link Place.id}
57
- */
58
- placeId: ulong;
59
- /**
60
- * An optional place which can be used as a template instead of providing lat/long coordinates and a street address.
61
- * {@link Place.id}
62
- */
63
- get place(): Place;
64
- set place(value: Place);
65
- /**
66
- * The street address of where the step must be completed.
67
- */
68
- address: string;
69
- /**
70
- * The lat/long coordinates of where the step must be {@link DispatchStepStatus.completed}.
71
- */
72
- latlng: LatLng | null;
73
- /**
74
- * Notes about the status of the work filled in by field-employee.
75
- */
76
- notes: string;
77
- /**
78
- * Indicates whether this step requires a signature.
79
- */
80
- signature: boolean;
81
- /**
82
- * The name of the person who signed the step's completion.
83
- */
84
- signatory: string;
85
- constructor(id?: ulong | nothing, name?: string | nothing, states?: Map<DispatchStepStatus, DispatchStepState> | nothing, eta?: Date | number | datetime | nothing, duration?: TimeSpan | timespan | number | nothing, place?: ulong | nothing, address?: string | nothing, latlng?: ILatLng | JsonObject | nothing, notes?: string | nothing, signature?: boolean | nothing, signatory?: string | nothing);
86
- toJSON(): {
87
- id: number | null;
88
- address: string;
89
- duration: string;
90
- eta: string;
91
- latlng: ILatLng | null;
92
- name: string;
93
- notes: string;
94
- place: number | null;
95
- signature: boolean;
96
- signatory: string;
97
- states: JsonObject;
98
- };
99
- }
@@ -1,27 +0,0 @@
1
- import { ILatLng } from "../API/Geography/Interfaces";
2
- import { LatLng } from "../API/Geography/LatLng";
3
- import { ISerializable } from "../API/Interfaces/ISerializable";
4
- import { datetime, JsonObject, nothing } from "../API/Types";
5
- /**
6
- * Details about the lifetime of a {@link DispatchStep}.
7
- */
8
- export declare class DispatchStepState implements ISerializable {
9
- /**
10
- *
11
- * @param json
12
- */
13
- static fromJSON(json: JsonObject): DispatchStepState;
14
- /**
15
- * A timestamp from when the lifetime was updated.
16
- */
17
- updated: Date;
18
- /**
19
- * The coordinates from the {@link Asset} when the update happened.
20
- */
21
- latlng: LatLng | null;
22
- constructor(updated?: Date | number | datetime | nothing, latlng?: ILatLng | JsonObject | nothing);
23
- toJSON(): {
24
- updated: string | null;
25
- latlng: ILatLng | null;
26
- };
27
- }
@@ -1,156 +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 { TimeSpan } from "../API/TimeSpan";
7
- import { JsonObject, ulong } from "../API/Types";
8
- import { Asset } from "../Assets/Asset";
9
- import { Company } from "../Companies/Company";
10
- import { Document } from "../Hosting/Document";
11
- import { Place } from "../Places/Place";
12
- import { DispatchTaskStatus } from "./DispatchTaskStatus";
13
- /**
14
- * A task assigned to an asset which represents a coordinate on the map which must be visited.
15
- * @deprecated Use DispatchJob instead
16
- */
17
- export declare class DispatchTask extends BaseComponent implements IIdUlong, IBelongCompany, IBelongAsset {
18
- /**
19
- * Unique identifier of this task.
20
- */
21
- id: ulong;
22
- /**
23
- * The company to which this task belongs.
24
- * {@link Company.id}
25
- */
26
- companyId: ulong;
27
- /**
28
- * The company to which this task belongs.
29
- * {@link Company.id}
30
- */
31
- get company(): Company;
32
- /**
33
- * The asset to which this task belongs.
34
- * {@link Asset.id}
35
- */
36
- assetId: ulong;
37
- /**
38
- * The asset to which this task belongs.
39
- * {@link Asset.id}
40
- */
41
- get asset(): Asset;
42
- set asset(value: Asset);
43
- /**
44
- * The name of this task or the work needed to be performed.
45
- */
46
- name: string;
47
- /**
48
- * Name/value collections of custom fields used to refer to external systems.
49
- */
50
- references: Map<string, string>;
51
- /**
52
- * An optional place which can be used as a template instead of providing lat/long coordinates and a street address.
53
- * {@link Place.id}
54
- */
55
- placeId: ulong;
56
- /**
57
- * An optional place which can be used as a template instead of providing lat/long coordinates and a street address.
58
- * {@link Place.id}
59
- */
60
- get place(): Place;
61
- set place(value: Place);
62
- /**
63
- * The street address of where the task must be completed.
64
- */
65
- address: string;
66
- /**
67
- * The lat/long coordinates of where the task must be completed.
68
- */
69
- latlng: LatLng;
70
- /**
71
- * The progress of this task.
72
- */
73
- status: DispatchTaskStatus;
74
- /**
75
- * When this task was created.
76
- */
77
- created: Date;
78
- /**
79
- * The optional estimated time of arrival for the asset.
80
- */
81
- eta: Date;
82
- /**
83
- * The optional expected duration of the work for this task.
84
- */
85
- duration: TimeSpan;
86
- /**
87
- * The date/time stamp of when the asset arrived at this task.
88
- */
89
- arrived: Date;
90
- /**
91
- * The date/time stamp of when this task was completed.
92
- */
93
- completed: Date;
94
- /**
95
- * Instructions (filled out by dispatcher) for the field-employee to help them completed the task.
96
- */
97
- instructions: string;
98
- /**
99
- * Indicates whether the task has a signature.
100
- */
101
- signature: boolean;
102
- /**
103
- * The name of the person who signed the task's completion.
104
- */
105
- signatory: string;
106
- /**
107
- * Notes about the status of the work filled in by field-employee.
108
- */
109
- notes: string;
110
- /**
111
- * A list of hosted {@link Document} identifiers attached to this task.
112
- */
113
- attachmentIds: ulong[];
114
- /**
115
- * A list of hosted {@link Document} identifiers attached to this task.
116
- */
117
- get attachments(): Document[];
118
- set attachments(value: Document[]);
119
- /**
120
- * Either the user's login, or provider's identifier that changed this task
121
- */
122
- updatedBy: string;
123
- /**
124
- * Timestamp from the last change made to this task
125
- */
126
- updatedUtc: Date;
127
- toJSON(): {
128
- id: number | null;
129
- company: number | null;
130
- asset: number | null;
131
- v: number[];
132
- name: string;
133
- references: JsonObject;
134
- place: number | null;
135
- address: string;
136
- latlng: import("../API/Geography/Interfaces").ILatLng;
137
- status: DispatchTaskStatus;
138
- created: string | null;
139
- eta: string | null;
140
- duration: string;
141
- arrived: string | null;
142
- completed: string | null;
143
- instructions: string;
144
- signature: boolean;
145
- signatory: string;
146
- notes: string;
147
- attachments: number[];
148
- updatedBy: string;
149
- updatedUtc: string | null;
150
- };
151
- fromJSON(json: JsonObject, force?: boolean): boolean;
152
- /**
153
- * The {@link id} is the key.
154
- */
155
- getKey(): number;
156
- }
@@ -1,71 +0,0 @@
1
- import { BaseComponent } from "../API/BaseComponent";
2
- import { IBelongCompany } from "../API/Interfaces/IBelongCompany";
3
- import { IFileSize } from "../API/Interfaces/IFileSize";
4
- import { IIdUlong } from "../API/Interfaces/IIdUlong";
5
- import { INamed } from "../API/Interfaces/INamed";
6
- import { ulong, JsonObject } from "../API/Types";
7
- import { Company } from "../Companies/Company";
8
- /**
9
- * A file stored temporarily by the system.
10
- */
11
- export declare class Document extends BaseComponent implements IIdUlong, INamed, IBelongCompany, IFileSize {
12
- /**
13
- * Unique identifier of this file.
14
- */
15
- id: ulong;
16
- /**
17
- * The company to which this file belongs.
18
- * {@link Company.id}
19
- */
20
- companyId: ulong;
21
- /**
22
- * The company to which this file belongs.
23
- * {@link Company.id}
24
- */
25
- get company(): Company;
26
- /**
27
- * The file name of this file.
28
- */
29
- name: string;
30
- /**
31
- * Notes about this file.
32
- */
33
- notes: string;
34
- /**
35
- * The URL/path to find this file.
36
- */
37
- src: string;
38
- /**
39
- * The file-size on the disk.
40
- */
41
- bytes: ulong;
42
- /**
43
- * The MIME type of the file.
44
- */
45
- mime: string;
46
- /**
47
- * The date and time this fill will be automatically purged from our system.
48
- */
49
- expiry: Date;
50
- /**
51
- * Name/value collections of custom fields used to refer to external systems.
52
- */
53
- references: Map<string, string>;
54
- toJSON(): {
55
- id: number | null;
56
- v: number[];
57
- company: number;
58
- name: string;
59
- notes: string;
60
- src: string;
61
- mime: string;
62
- bytes: number;
63
- expiry: string | null;
64
- references: Map<string, any>;
65
- };
66
- fromJSON(json: JsonObject, force?: boolean): boolean;
67
- /**
68
- * The {@link id} is the key.
69
- */
70
- getKey(): number;
71
- }
@@ -1,31 +0,0 @@
1
- import { byte, nothing, ulong } from '../../API/Types';
2
- import { FormFieldType } from '../FormFieldType';
3
- import { FormFieldBase } from './FormFieldBase';
4
- /**
5
- * A control to allow the user to attach {@link Picture}s or {@link Document}s.
6
- */
7
- export declare class FormFieldAttachments extends FormFieldBase {
8
- /**
9
- * Takes a string as input and returns an array split by comma with trimmed items.
10
- * @param values
11
- */
12
- static split(values: string): string[];
13
- /**
14
- * These are the attachment types.
15
- */
16
- protected get supported(): FormFieldType[];
17
- /**
18
- * Minimum number of {@link Document}s and/or {@link Picture}s that must be attached.
19
- */
20
- minimum: byte;
21
- /**
22
- * Maximum number of {@link Document}s and/or {@link Picture}s that must be attached.
23
- */
24
- maximum: byte;
25
- constructor(id?: ulong | nothing, name?: string | nothing, kind?: FormFieldType | nothing, minimum?: byte | nothing, maximum?: byte | nothing, notes?: string | nothing, required?: boolean | nothing, value?: string | nothing, editable?: boolean | nothing);
26
- toJSON(): {
27
- minimum: number | null;
28
- maximum: number | null;
29
- };
30
- isValid(value: string): boolean;
31
- }
@@ -1,56 +0,0 @@
1
- import { IIdUlong } from '../../API/Interfaces/IIdUlong';
2
- import { INamed } from '../../API/Interfaces/INamed';
3
- import { ISerializable } from '../../API/Interfaces/ISerializable';
4
- import { JsonObject, nothing, ulong } from '../../API/Types';
5
- import { FormFieldType } from '../FormFieldType';
6
- /**
7
- * A base class for the common form field UI members.
8
- */
9
- export declare abstract class FormFieldBase implements IIdUlong, INamed, ISerializable {
10
- /**
11
- * Instantiates a form field subclass based on the `kind` property in the JSON.
12
- * Implementation is in {@link FormFieldBase_fromJSON.ts}
13
- * @param json The JSON to parse.
14
- * @returns An instance of a form field subclass, or null if the JSON is null or does not contain a recognized "kind" property.
15
- */
16
- static fromJSON: (json: JsonObject) => FormFieldBase;
17
- /**
18
- * A list of supported {@link FormFieldType}s that this class supports.
19
- */
20
- protected get supported(): FormFieldType[];
21
- /**
22
- * The type of interface control that should be presented to the user.
23
- */
24
- kind: FormFieldType;
25
- /**
26
- * Identifier for this field.
27
- * This value is unique per {@link FormTemplate}, but is not unique system-wide.
28
- */
29
- id: ulong;
30
- /**
31
- * Name of the field.
32
- */
33
- name: string;
34
- /**
35
- * Notes or special instructions for this control.
36
- */
37
- notes: string;
38
- /**
39
- * When true, a valid value must be given for this field.
40
- */
41
- required: boolean;
42
- /**
43
- * The default value for the field in the template.
44
- */
45
- value: string | null;
46
- /**
47
- * When false, this field's value is treated as read-only.
48
- */
49
- editable: boolean;
50
- constructor(id?: ulong | nothing, name?: string | nothing, kind?: FormFieldType | nothing, notes?: string | nothing, required?: boolean | nothing, value?: string | nothing, editable?: boolean | nothing);
51
- toJSON(): JsonObject;
52
- /**
53
- * Returns true if the value can be parsed by the field type.
54
- */
55
- abstract isValid(value: string): boolean;
56
- }
@@ -1 +0,0 @@
1
- export {};
@@ -1,38 +0,0 @@
1
- import { nothing, ulong } from "../../API/Types";
2
- import { FormFieldType } from "../FormFieldType";
3
- import { FormFieldBase } from "./FormFieldBase";
4
- /**
5
- * A true/false (or either-or) input control.
6
- * @tutorial
7
- * For choices, the field definition will be an array of three values.
8
- * The first value is the "true", second is the "false", and third is "indeterminate".
9
- * For example:
10
- * - "true", "false", ""
11
- * - "on", "off", "unknown"
12
- * - "yes", "no", "maybe"
13
- */
14
- export declare class FormFieldBoolean extends FormFieldBase {
15
- /**
16
- * If no choices are given, then these choices are used.
17
- **/
18
- static readonly DEFAULT_CHOICES: [string, string, string];
19
- /**
20
- * Returns an array of 3 strings representing the checked, unchecked, and indeterminate values.
21
- * @param choices
22
- */
23
- static normalize(choices?: (string | nothing)[] | nothing): [string, string, string];
24
- /**
25
- * These are the boolean control types.
26
- */
27
- protected get supported(): FormFieldType[];
28
- /**
29
- * These three values are the values of the choices presented.
30
- * The first value is the "checked" value, second is the "unchecked" value, and third is "indeterminate" value.
31
- */
32
- choices: [string, string, string];
33
- constructor(id?: ulong | nothing, name?: string | nothing, kind?: FormFieldType | nothing, choices?: (string | nothing)[] | nothing, notes?: string | nothing, required?: boolean | nothing, value?: string | nothing, editable?: boolean | nothing);
34
- toJSON(): {
35
- choices: string[];
36
- };
37
- isValid(value: string): boolean;
38
- }
@@ -1,46 +0,0 @@
1
- import { byte, nothing, ulong } from "../../API/Types";
2
- import { FormFieldType } from "../FormFieldType";
3
- import { FormFieldBase } from "./FormFieldBase";
4
- /**
5
- * A single- or multiple-choice input control.
6
- */
7
- export declare class FormFieldChoice extends FormFieldBase {
8
- /**
9
- * Splits the given value using commas (so long as the comma did not get escaped).
10
- * @param values
11
- */
12
- static split(values: string): string[];
13
- /**
14
- * Replaces all the commas in a given value with backslash-comma.
15
- * @param value
16
- */
17
- static escape(value: string): string;
18
- /**
19
- * Replaces all the commas in a given value with backslash-comma.
20
- * @param value
21
- */
22
- static unescape(value: string): string;
23
- /**
24
- * Just {@link FormFieldType.choice} control type.
25
- */
26
- protected get supported(): FormFieldType[];
27
- /**
28
- * The list of choices available and their values.
29
- */
30
- choices: Map<string, string>;
31
- /**
32
- * Minimum number of choices that must be selected.
33
- */
34
- minimum: byte;
35
- /**
36
- * Maximum number of choices that must be selected.
37
- */
38
- maximum: byte;
39
- constructor(id?: ulong | nothing, name?: string | nothing, kind?: FormFieldType | nothing, choices?: Map<string, string> | nothing, minimum?: byte | nothing, maximum?: byte | nothing, notes?: string | nothing, required?: boolean | nothing, value?: string | nothing, editable?: boolean | nothing);
40
- toJSON(): {
41
- choices: import("../..").JsonObject;
42
- minimum: number | null;
43
- maximum: number | null;
44
- };
45
- isValid(value: string): boolean;
46
- }
@@ -1,26 +0,0 @@
1
- import { datetime, nothing, ulong } from "../../API/Types";
2
- import { FormFieldType } from "../FormFieldType";
3
- import { FormFieldBase } from "./FormFieldBase";
4
- /**
5
- * A control to choose a date and (optionally) a time.
6
- */
7
- export declare class FormFieldDate extends FormFieldBase {
8
- /**
9
- * These are the calendar control types.
10
- */
11
- protected get supported(): FormFieldType[];
12
- /**
13
- * The earliest date or date/time.
14
- */
15
- minimum: Date;
16
- /**
17
- * The latest date or date/time.
18
- */
19
- maximum: Date;
20
- constructor(id?: ulong | nothing, name?: string | nothing, kind?: FormFieldType | nothing, minimum?: Date | number | datetime | nothing, maximum?: Date | number | datetime | nothing, notes?: string | nothing, required?: boolean | nothing, value?: string | nothing, editable?: boolean | nothing);
21
- toJSON(): {
22
- minimum: string | null;
23
- maximum: string | null;
24
- };
25
- isValid(value: string): boolean;
26
- }