@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,255 +0,0 @@
1
- /**
2
- * A generic converter from one {@link UserMeasurementPreference} to another.
3
- * Does not convert from one size to another in the same {@link UserMeasurementPreference}.
4
- * Units must be given in equivalent sizes ie: gallons to litres, kilometers to miles.
5
- * @param number
6
- * @param fromUnit
7
- * @param toUnit
8
- **/
9
- export declare function CONVERT_FROM_TO(number: number, fromUnit: string, toUnit: string): number;
10
- /**
11
- * Value in square meters converted to square feet.
12
- * @param area
13
- */
14
- export declare function CONVERT_SQM_TO_SQFT(area: number): number;
15
- /**
16
- * Value in square meters converted to square yards.
17
- * @param area
18
- */
19
- export declare function CONVERT_SQM_TO_YARDS(area: number): number;
20
- /**
21
- * Value in square kilometres converted to square miles.
22
- * @param area
23
- */
24
- export declare function CONVERT_SQKM_TO_SQMI(area: number): number;
25
- /**
26
- * Value in hectares converted to acres.
27
- * @param area
28
- */
29
- export declare function CONVERT_HECTARE_TO_ACRE(area: number): number;
30
- /**
31
- * Value in square feet converted to square meters.
32
- * @param area
33
- */
34
- export declare function CONVERT_SQFT_TO_SQM(area: number): number;
35
- /**
36
- * Value in square feet converted to square yards.
37
- * @param area
38
- */
39
- export declare function CONVERT_YARDS_TO_SQM(area: number): number;
40
- /**
41
- * Value in square miles converted to square kilometres.
42
- * @param area
43
- */
44
- export declare function CONVERT_SQMI_TO_SQKM(area: number): number;
45
- /**
46
- * Value in acres converted to hectares.
47
- * @param area
48
- */
49
- export declare function CONVERT_ACRE_TO_HECTARE(area: number): number;
50
- /**
51
- * Value in kilometres converted to miles.
52
- * @param distance
53
- */
54
- export declare function CONVERT_KILOMETRES_TO_MILES(distance: number): number;
55
- /**
56
- * Value in metres converted to yards.
57
- * @param distance
58
- */
59
- export declare function CONVERT_METRES_TO_YARDS(distance: number): number;
60
- /**
61
- * Value in metres converted to feet.
62
- * @param distance
63
- */
64
- export declare function CONVERT_METRES_TO_FEET(distance: number): number;
65
- /**
66
- * Value in centimetres converted to inches.
67
- * @param distance
68
- */
69
- export declare function CONVERT_CENTIMETRES_TO_INCHES(distance: number): number;
70
- /**
71
- * Value in miles converted to kilometres.
72
- * @param distance
73
- */
74
- export declare function CONVERT_MILES_TO_KILOMETRES(distance: number): number;
75
- /**
76
- * Value in yards converted to metres.
77
- * @param distance
78
- */
79
- export declare function CONVERT_YARDS_TO_METRES(distance: number): number;
80
- /**
81
- * Value in feet converted to metres.
82
- * @param distance
83
- */
84
- export declare function CONVERT_FEET_TO_METRES(distance: number): number;
85
- /**
86
- * Value in inches converted to centimetres.
87
- * @param distance
88
- */
89
- export declare function CONVERT_INCHES_TO_CENTIMETRES(distance: number): number;
90
- /**
91
- * Value in kilo-pascals converted to pounds per square inch.
92
- * @param pressure
93
- */
94
- export declare function CONVERT_KPA_TO_PSI(pressure: number): number;
95
- /**
96
- * Value in pounds per square inch converted to kilo-pascals.
97
- * @param pressure
98
- */
99
- export declare function CONVERT_PSI_TO_KPA(pressure: number): number;
100
- /**
101
- * Value in Celsius converted to Fahrenheit.
102
- * @param temperature
103
- */
104
- export declare function CONVERT_CELCIUS_TO_FAHRENHEIT(temperature: number): number;
105
- /**
106
- * Value in Fahrenheit converted to Celsius.
107
- * @param temperature
108
- */
109
- export declare function CONVERT_FAHRENHEIT_TO_CELCIUS(temperature: number): number;
110
- /**
111
- * Value in litres converted to US standard gallons.
112
- * @param volume
113
- */
114
- export declare function CONVERT_LITRES_TO_GALLONS_US(volume: number): number;
115
- /**
116
- * Value in litres converted to British gallons.
117
- * @param volume
118
- */
119
- export declare function CONVERT_LITRES_TO_GALLONS_UK(volume: number): number;
120
- /**
121
- * Value in millilitres converted to US standard fluid ounces.
122
- * @param volume
123
- */
124
- export declare function CONVERT_MILLILITRES_TO_OUNCES_US(volume: number): number;
125
- /**
126
- * Value in millilitres converted to British fluid ounces.
127
- * @param volume
128
- */
129
- export declare function CONVERT_MILLILITRES_TO_OUNCES_UK(volume: number): number;
130
- /**
131
- * Value in US standard gallons converted to litres.
132
- * @param volume
133
- */
134
- export declare function CONVERT_GALLONS_US_TO_LITRES(volume: number): number;
135
- /**
136
- * Value in British gallons converted to litres.
137
- * @param volume
138
- */
139
- export declare function CONVERT_GALLONS_UK_TO_LITRES(volume: number): number;
140
- /**
141
- * Value in US standard fluid ounces converted to millilitres.
142
- * @param volume
143
- */
144
- export declare function CONVERT_OUNCES_US_TO_MILLILITRES(volume: number): number;
145
- /**
146
- * Value in British fluid ounces converted to millilitres.
147
- * @param volume
148
- */
149
- export declare function CONVERT_OUNCES_UK_TO_MILLILITRES(volume: number): number;
150
- /**
151
- * Value in kilograms converted to pounds.
152
- * @param weight
153
- */
154
- export declare function CONVERT_KG_TO_LBS(weight: number): number;
155
- /**
156
- * Value in grams converted to ounces.
157
- * @param weight
158
- */
159
- export declare function CONVERT_GRAM_TO_OZ(weight: number): number;
160
- /**
161
- * Value in metric tonnes converted to US (short) tons.
162
- * @param weight
163
- */
164
- export declare function CONVERT_TONNE_TO_TON_US(weight: number): number;
165
- /**
166
- * Value in metric tonnes converted to British (long) tons.
167
- * @param weight
168
- */
169
- export declare function CONVERT_TONNE_TO_TON_UK(weight: number): number;
170
- /**
171
- * Value in pounds converted to kilograms.
172
- * @param weight
173
- */
174
- export declare function CONVERT_LBS_TO_KG(weight: number): number;
175
- /**
176
- * Value in ounces converted to grams.
177
- * @param weight
178
- */
179
- export declare function CONVERT_OZ_TO_GRAM(weight: number): number;
180
- /**
181
- * Value in US (short) tons converted to metric tonnes.
182
- * @param weight
183
- */
184
- export declare function CONVERT_TON_US_TO_TONNE(weight: number): number;
185
- /**
186
- * Value in British (long) tons converted to metric tonnes.
187
- * @param weight
188
- */
189
- export declare function CONVERT_TON_UK_TO_TONNE(weight: number): number;
190
- /**
191
- * Returns the corollary of either miles per US standard gallon or litres per 100 kilometres.
192
- * @param fuelEconomy
193
- */
194
- export declare function CONVERT_BETWEEN_MPGUS_AND_L100KM(fuelEconomy: number): number;
195
- /**
196
- * Returns the corollary of either miles per British gallon or litres per 100 kilometres.
197
- * @param fuelEconomy
198
- */
199
- export declare function CONVERT_BETWEEN_MPGUK_AND_L100KM(fuelEconomy: number): number;
200
- /**
201
- * Returns the corollary of either miles per kilowatt hour or kilowatt hour per 100 kilometres.
202
- * @param electricEconomy
203
- **/
204
- export declare function CONVERT_BETWEEN_MPKWH_AND_KWH100KM(electricEconomy: number): number;
205
- export declare const CONVERT: {
206
- fromTo: typeof CONVERT_FROM_TO;
207
- sqmToSqft: typeof CONVERT_SQM_TO_SQFT;
208
- sqftToSqm: typeof CONVERT_SQFT_TO_SQM;
209
- sqmToSqy: typeof CONVERT_SQM_TO_YARDS;
210
- yftToSqm: typeof CONVERT_YARDS_TO_SQM;
211
- sqkmToSqmi: typeof CONVERT_SQKM_TO_SQMI;
212
- sqmiToSqkm: typeof CONVERT_SQMI_TO_SQKM;
213
- haToAc: typeof CONVERT_HECTARE_TO_ACRE;
214
- acToHa: typeof CONVERT_ACRE_TO_HECTARE;
215
- kmToMi: typeof CONVERT_KILOMETRES_TO_MILES;
216
- miToKm: typeof CONVERT_MILES_TO_KILOMETRES;
217
- mToYd: typeof CONVERT_METRES_TO_YARDS;
218
- ydToM: typeof CONVERT_YARDS_TO_METRES;
219
- mToFt: typeof CONVERT_METRES_TO_FEET;
220
- ftToM: typeof CONVERT_FEET_TO_METRES;
221
- cmToIn: typeof CONVERT_CENTIMETRES_TO_INCHES;
222
- inToCm: typeof CONVERT_INCHES_TO_CENTIMETRES;
223
- mpgToL100km: typeof CONVERT_BETWEEN_MPGUS_AND_L100KM;
224
- mpgUKToL100km: typeof CONVERT_BETWEEN_MPGUK_AND_L100KM;
225
- mpkwhToKwh100kim: typeof CONVERT_BETWEEN_MPKWH_AND_KWH100KM;
226
- l100kmToMpg: typeof CONVERT_BETWEEN_MPGUS_AND_L100KM;
227
- l100kmToMpgUK: typeof CONVERT_BETWEEN_MPGUK_AND_L100KM;
228
- kwh100kimToMpkwh: typeof CONVERT_BETWEEN_MPKWH_AND_KWH100KM;
229
- kpaToPsi: typeof CONVERT_KPA_TO_PSI;
230
- psiToKpa: typeof CONVERT_PSI_TO_KPA;
231
- kphToMph: typeof CONVERT_KILOMETRES_TO_MILES;
232
- mphToKph: typeof CONVERT_MILES_TO_KILOMETRES;
233
- mpsToFtps: typeof CONVERT_METRES_TO_FEET;
234
- ftpsToMps: typeof CONVERT_FEET_TO_METRES;
235
- cmpsToInps: typeof CONVERT_CENTIMETRES_TO_INCHES;
236
- inpsToCmps: typeof CONVERT_INCHES_TO_CENTIMETRES;
237
- cToF: typeof CONVERT_CELCIUS_TO_FAHRENHEIT;
238
- fToC: typeof CONVERT_FAHRENHEIT_TO_CELCIUS;
239
- lToGal: typeof CONVERT_LITRES_TO_GALLONS_US;
240
- lToGalUK: typeof CONVERT_LITRES_TO_GALLONS_UK;
241
- galToL: typeof CONVERT_GALLONS_US_TO_LITRES;
242
- galUKToL: typeof CONVERT_GALLONS_UK_TO_LITRES;
243
- mlToFloz: typeof CONVERT_MILLILITRES_TO_OUNCES_US;
244
- mlToFlozUK: typeof CONVERT_MILLILITRES_TO_OUNCES_UK;
245
- flozToMl: typeof CONVERT_OUNCES_US_TO_MILLILITRES;
246
- flozUKToMl: typeof CONVERT_OUNCES_UK_TO_MILLILITRES;
247
- kgToLbs: typeof CONVERT_KG_TO_LBS;
248
- lbsToKg: typeof CONVERT_LBS_TO_KG;
249
- gToOz: typeof CONVERT_GRAM_TO_OZ;
250
- ozToG: typeof CONVERT_OZ_TO_GRAM;
251
- tToTon: typeof CONVERT_TONNE_TO_TON_US;
252
- tonToT: typeof CONVERT_TON_US_TO_TONNE;
253
- tToTonUK: typeof CONVERT_TONNE_TO_TON_UK;
254
- tonUKToT: typeof CONVERT_TON_UK_TO_TONNE;
255
- };
@@ -1,21 +0,0 @@
1
- /**
2
- * Groups digits of a number together to make a more human readable version.
3
- * @param number The number to be prettified
4
- * @param size Quantity of digits per number group. The default is 3.
5
- * @param delimiter Character(s) to use to divide the integer groups. The detauls is ",".
6
- * @param decimalDelimiter Character(s) to use to divide the decimal groups. The detauls is same as delimiter.
7
- * @param point Character(s) to use to divide the integer groups from the decimal groups. The detauls is ".".
8
- * @throws {TypeError} size must be greater than zero
9
- */
10
- export declare function NUMBER_GROUPS(number: number, size?: number, delimiter?: string, decimalDelimiter?: string, point?: string): string;
11
- /**
12
- * Creates a more human readable string representation of the filesize.
13
- * @param bytes
14
- * @param places The number of decimal places. Default is 0.
15
- * @param maxScale Largest size-scale to use for representing the file-size. Default is "MB" (Megabyte), can be a value between 0 (Byte) and 6 (Exabyte).
16
- * @param groupSize Quantity of digits per number group. The default is 3.
17
- * @param groupDelimiter Character(s) to use to divide the integer groups. The detauls is ",".
18
- * @param decimalDelimiter Character(s) to use to divide the decimal groups. The detauls is same as delimiter.
19
- * @param point Character(s) to use to divide the integer groups from the decimal groups. The detauls is ".".
20
- * */
21
- export declare function FILESIZE_HELPER(bytes: number, places?: number, maxScale?: string, groupSize?: number, groupDelimiter?: string, decimalDelimiter?: string, point?: string): string;
@@ -1,236 +0,0 @@
1
- import { IPoint } from '../Geometry/Interfaces';
2
- import { int } from '../Types';
3
- import { ILatLng, ILatLngBounds } from './Interfaces';
4
- /**
5
- * The default precision used to serialize latlngs.
6
- */
7
- export declare const DEFAULT_PRECISION = 6;
8
- /**
9
- * The radius of the Earth in meters taken from the GRS-80, NAD83, and WGS-84 standards.
10
- */
11
- export declare const EARTH_RADIUS: number;
12
- /**
13
- * The ellipsoid of the Earth taken from the WGS-84 standard.
14
- * @default ~298.2572
15
- */
16
- export declare const EARTH_ELLIPSOID: number;
17
- /**
18
- * Inversion of the ellipsoid value for calculations.
19
- */
20
- export declare const EARTH_FLATENING: number;
21
- /**
22
- * The minor axis radius of an ellipsoid Earth as per WGS-84.
23
- * @default ~6356752.3142
24
- */
25
- export declare const EARTH_RADIUS_MINOR: number;
26
- /**
27
- * The surface area of the Earth in meters squared.
28
- * @default 511207893395811
29
- */
30
- export declare const EARTH_SURFACE: number;
31
- /**
32
- *
33
- */
34
- export declare const EARTH_RADIUS_RATIO: number;
35
- /**
36
- *
37
- */
38
- export declare const EARTH_RADIUS_ECCENT: number;
39
- /**
40
- *
41
- */
42
- export declare const EARTH_RADIUS_COM: number;
43
- /**
44
- *
45
- */
46
- export declare const TILE_SIZE_PX: number;
47
- /**
48
- *
49
- */
50
- export declare const MAX_TILE_LAT: number;
51
- /**
52
- *
53
- */
54
- export declare const MAX_TILE_LNG: number;
55
- /**
56
- * Determines the map width and height (in pixels) at a specified level of detail.
57
- * @param zoom Level of detail, from 1 (lowest detail) to 23 (highest detail).
58
- * @returns The map width and height in pixels.
59
- */
60
- export declare function tileMapSize(zoom: int): int;
61
- /**
62
- * Converts tile coordinates into pixel coordinates of the upper-left pixel of the specified tile.
63
- * @param tile
64
- */
65
- export declare function tileToPixel(tile: IPoint): IPoint;
66
- /**
67
- * Converts pixel coordinates into tile coordinates of the tile containing the specified pixel.
68
- * @param pixel
69
- */
70
- export declare function pixelToTile(pixel: IPoint): IPoint;
71
- /**
72
- * Converts a pixel coordinate into a LatLng at a specified level of detail.
73
- * @param pixel
74
- * @param zoom Level of detail, from 1 (lowest detail) to 23 (highest detail).
75
- */
76
- export declare function pixelToLatlng(pixel: IPoint, zoom: int): ILatLng;
77
- /**
78
- * Converts a LatLng into a pixel coordinate at a specified level of detail.
79
- * @param latlng
80
- * @param zoom Level of detail, from 1 (lowest detail) to 23 (highest detail).
81
- */
82
- export declare function latlngToPixel(latlng: ILatLng, zoom: int): IPoint;
83
- /**
84
- * Converts tile coordinates into a lat/lng boundary representing a complete tile.
85
- * @param tile
86
- * @param zoom Level of detail, from 1 (lowest detail) to 23 (highest detail).
87
- * @param grow Number of pixels to grow the tilesize (helps with detecting stroke/border overlaps).
88
- */
89
- export declare function tileToBounds(tile: IPoint, zoom: int, grow?: number): ILatLngBounds;
90
- /**
91
- * Converts pixel coordinates of a tile into a lat/lng boundary.
92
- * @param pixel
93
- * @param zoom Level of detail, from 1 (lowest detail) to 23 (highest detail).
94
- * @param grow Number of pixels to grow the tilesize (helps with detecting stroke/border overlaps).
95
- */
96
- export declare function pixelToBounds(pixel: IPoint, zoom: int, grow?: number): ILatLngBounds;
97
- /**
98
- * Returns the number of meters per pixel at the given latitude and zoom level.
99
- * @param lat
100
- * @param zoom
101
- */
102
- export declare function metresPerPixel(lat: number, zoom: int): number;
103
- /**
104
- * Checks to see if a given latitude is at one of the poles.
105
- * @param latitude
106
- */
107
- export declare function LATITUDE_IS_POLE(latitude: number): boolean;
108
- /**
109
- * Normalizes a latitude value between +/- 90.
110
- * Values of greater than 90 are returned as 90, and values less than -90 are returned as -90.
111
- * @param latitude
112
- * @param edge
113
- */
114
- export declare function LATITUDE_NORMALIZED(latitude: number, edge?: number): number;
115
- /**
116
- * Normalizes a longitude value between +/- 180.
117
- * Values of greater than 180 are returned as a negative difference of 360, and values less than -180 are returned as a positive difference of 360.
118
- * @param longitude
119
- * @param latitude When given, will check if the latitude is a pole, and converts the longitude to zero.
120
- */
121
- export declare function LONGITUDE_NORMALIZED(longitude: number, latitude?: number): number;
122
- /**
123
- * The distance in meters before considering to coordinates to have the same location.
124
- * @default 0.000000001
125
- */
126
- export declare const MAX_SAME_DISTANCE = 1e-9;
127
- /**
128
- * Bearing from coordinate A to coordinate B in degrees from North.
129
- * @param first The starting coordinate.
130
- * @param last The ending coordinate.
131
- * @return Degrees from North.
132
- */
133
- export declare function LATLNG_ANGLE(first: ILatLng, last: ILatLng): number;
134
- /**
135
- * Calculates the distance between two coordinates on a sphere.
136
- * @param first The starting coordinate.
137
- * @param last The ending coordinate.
138
- */
139
- export declare function LATLNG_DISTANCE(first: ILatLng, last: ILatLng): number;
140
- /**
141
- * Calculates the distance between two coordinates on a Bessel 1841 ellipsoid.
142
- * @param start The starting coordinate.
143
- * @param end The ending coordinate.
144
- */
145
- export declare function LATLNG_DISTANCE_VINCENTY(start: ILatLng, end: ILatLng): number;
146
- /**
147
- * Calculates the orthogonal height of a triangle. The orthogonal height is
148
- * calculated by drawing a line between the coordinate A and coordinate B,
149
- * then getting the length of a line drawn up from the line to the mid
150
- * coordinate at a 90 degree angle.
151
- * @param first Left-most coordinate on the great circle.
152
- * @param middle Top-most coordinate's latitude.
153
- * @param last Right-most coordinate's longitude on the great circle.
154
- * @return Value is negative when distance is to the right, and positive when distance to the left.
155
- */
156
- export declare function LATLNG_GREAT_CIRCLE(first: ILatLng, middle: ILatLng, last: ILatLng): number;
157
- /**
158
- * Calculates the final coordinate based on the given starting coordinate and vector.
159
- * @param pin The staring coordinate.
160
- * @param meters The distance away from this LatLng.
161
- * @param bearing The direction in which to calculate the new position in degrees from North.
162
- * @throws {Error} Either latitude or longitude is NaN.
163
- */
164
- export declare function LATLNG_TRANSLATE(pin: ILatLng, meters: number, bearing: number): ILatLng;
165
- /**
166
- * Calculates the mid-point between to given coordinate.
167
- * @param first Left-most coordinate.
168
- * @param last Right-most coordinate.
169
- * @throws {Error} Either latitude or longitude is NaN.
170
- */
171
- export declare function LATLNG_MIDPOINT(first: ILatLng, last: ILatLng): ILatLng;
172
- /**
173
- * Calculates the spherical-cap area occupied by the given radial distance.
174
- * @param pin The coordinate at which to calculate the area.
175
- * @param radius The distance from the centre of the circle to any point along the edge.
176
- */
177
- export declare function SPHERECAP_AREA(pin: ILatLng, radius: number): void;
178
- /**
179
- * Calculates the length of the given route.
180
- * @param route
181
- */
182
- export declare function ROUTE_LENGTH(route: ILatLng[]): number;
183
- /**
184
- * Performs a Douglas-Peucker path reduction based on the given tolerance.
185
- * @param route The array of coordinates representing a path.
186
- * @param tolerance Distance (in meters) threshold for candidate coordinates. Default is 0.
187
- */
188
- export declare function ROUTE_PEUCKER(route: ILatLng[], tolerance: number): ILatLng[];
189
- /**
190
- * An implementation of Google's Encoded Polyline Algorithm format.
191
- * https://developers.google.com/maps/documentation/utilities/polylinealgorithm
192
- * @param route The array of coordinates representing a path.
193
- * @param precision Optional number of decimal places to use to calculate the results. Default is 5.
194
- */
195
- export declare function ROUTE_ENCODE(route: ILatLng[], precision?: number): string;
196
- /**
197
- * An implementation of Google's Decoded Polyline Algorithm format.
198
- * https://developers.google.com/maps/documentation/utilities/polylinealgorithm
199
- * @param route The encoded string which represents the coordinates in a path.
200
- * @param precision Optional number of decimal places used to recalculate the results. Default is 5.
201
- */
202
- export declare function ROUTE_DECODE(route: string, precision?: number): ILatLng[];
203
- /**
204
- * Finds the widest section of the given route.
205
- * This is useful for path reduction and reorientation.
206
- * @param route The array of coordinates representing a path
207
- * @return An array of three items; the first is the widest distance, and the others are the start and end index within the given route.
208
- */
209
- export declare function GEOFENCE_WIDEST(route: ILatLng[]): [number, number, number];
210
- /**
211
- * Performs a Douglas-Peucker path reduction on a polygon for the given
212
- * tolerance. The start/end coordinates are variable and the end coordinate
213
- * is trimmed from the result.
214
- * @param route The array of coordinates representing a path
215
- * @param tolerance Distance (in meters) threshold for candidate coordinates. Default is 0.
216
- */
217
- export declare function GEOFENCE_PEUCKER(route: ILatLng[], tolerance?: number): ILatLng[];
218
- /**
219
- * Calculates the total area occupied by the given geofence.
220
- * @param route The array of coordinates representing a geofence.
221
- * @throws {Error} Not enough coordinates.
222
- */
223
- export declare function GEOFENCE_AREA(route: ILatLng[]): number;
224
- /**
225
- * A utility export function to determine if a given coordinate is inside the given geofence.
226
- * @param route The array of coordinates represents the path of the polygon.
227
- * @param pin The coordinate to be checked.
228
- */
229
- export declare function GEOFENCE_CONTAINS(route: ILatLng[], pin: ILatLng): boolean;
230
- /**
231
- * Wraps the given coordinates into a polygonal path.
232
- * The given coordinates do not need to be a path.
233
- * The returned path is not closed.
234
- * @param coordinates The array of coordinates on which to create the non-closed path
235
- */
236
- export declare function GEOFENCE_WRAPPER(route: ILatLng[]): ILatLng[];
@@ -1,150 +0,0 @@
1
- import { datetime, nothing } from '../Types';
2
- /**
3
- * A coordinate on the Earth.
4
- */
5
- export interface ILatLng {
6
- /**
7
- * Latitude.
8
- */
9
- lat: number;
10
- /**
11
- * Longitude.
12
- */
13
- lng: number;
14
- }
15
- /**
16
- * Returns true if the given pin conforms to the {@link ILatLng} interface.
17
- * @param pin
18
- * @returns
19
- */
20
- export declare function ILatLng_instanceOf(pin: any): pin is ILatLng;
21
- /**
22
- *
23
- * @param dot
24
- * @returns
25
- */
26
- export declare function ILatLng_clone(dot: ILatLng): ILatLng;
27
- /**
28
- * GPS position information.
29
- */
30
- export interface IPosition extends ILatLng {
31
- /**
32
- * Speed
33
- */
34
- speed: number | nothing;
35
- /**
36
- * Direction of travel
37
- */
38
- bearing: number | nothing;
39
- /**
40
- * Distance in meters from the sea level
41
- */
42
- altitude: number | nothing;
43
- /**
44
- * Threshold in meters for the accuracy of a position
45
- */
46
- accuracy: number | nothing;
47
- /**
48
- * The Date/Time of the GPS reading
49
- */
50
- dts: datetime;
51
- /**
52
- * A description of the current road-segment
53
- */
54
- address: string | nothing;
55
- /**
56
- * A better description of the current road-segment
57
- */
58
- streetAddress: IStreetAddress | nothing;
59
- /**
60
- * The posted speed limit for the road segment
61
- */
62
- speedLimit: number | nothing;
63
- }
64
- /**
65
- * Returns true if the given pin conforms to the {@link IPosition} interface.
66
- * @param pin
67
- * @returns
68
- */
69
- export declare function IPosition_instanceOf(pin: any): pin is IPosition;
70
- /**
71
- * A road segment description.
72
- */
73
- export interface IStreetAddress {
74
- /**
75
- * House number.
76
- */
77
- number: string | null;
78
- /**
79
- * Full street name.
80
- */
81
- street: string | null;
82
- /**
83
- * City name.
84
- */
85
- city: string | null;
86
- /**
87
- * Region name.
88
- */
89
- region: string | null;
90
- /**
91
- * Province or state code.
92
- * Codes should be a value from ISO 3166-2.
93
- */
94
- province: string;
95
- /**
96
- * Country code.
97
- * Codes should be a value from ISO 3166-1 alpha-2.
98
- */
99
- country: string;
100
- /**
101
- * Postal or zip code.
102
- */
103
- postal: string | null;
104
- /**
105
- * Indicates that there is a toll for the current road segment.
106
- */
107
- isToll: boolean | null;
108
- }
109
- /**
110
- * Returns true if the given pin conforms to the {@link IStreetAddress} interface.
111
- * @param address
112
- * @returns
113
- */
114
- export declare function IStreetAddress_instanceOf(address: any): address is IStreetAddress;
115
- /**
116
- * A rectangular boundary on a flat surface.
117
- */
118
- export interface ILatLngBounds {
119
- /**
120
- * Northern latitude
121
- */
122
- north: number;
123
- /**
124
- * Eastern longitude
125
- */
126
- east: number;
127
- /**
128
- * Southern latitude
129
- */
130
- south: number;
131
- /**
132
- * Western longitude
133
- */
134
- west: number;
135
- }
136
- /**
137
- * Returns true if the given box conforms to the {@link ILatLngBounds} interface.
138
- * @param box
139
- */
140
- export declare function ILatLngBounds_instanceOf(box: any): box is ILatLngBounds;
141
- /**
142
- *
143
- * @param box
144
- * @returns
145
- */
146
- export declare function ILatLngBounds_clone(box: ILatLngBounds): ILatLngBounds;
147
- /**
148
- * The types used to extend a {@link LatLngBounds}'s edges.
149
- */
150
- export type LatLngBoundsExpansion = ILatLng | ILatLngBounds | LatLngBoundsExpansion[];