@trakit/objects 0.0.6 → 0.0.7

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 (425) hide show
  1. package/_publish/API/Arrays.d.ts +1 -0
  2. package/_publish/API/Base.d.ts +1 -0
  3. package/_publish/API/BaseComponent.d.ts +1 -0
  4. package/_publish/API/BaseCompound.d.ts +1 -0
  5. package/_publish/API/Codifier.d.ts +1 -0
  6. package/_publish/API/Constants.d.ts +1 -0
  7. package/_publish/API/Conversion.d.ts +3 -2
  8. package/_publish/API/Encoding.d.ts +1 -0
  9. package/_publish/API/Files.d.ts +1 -0
  10. package/_publish/API/Functions.d.ts +1 -0
  11. package/_publish/API/Guid.d.ts +1 -0
  12. package/_publish/API/Maps.d.ts +1 -0
  13. package/_publish/API/Objects.d.ts +1 -0
  14. package/_publish/API/SearchPattern.d.ts +1 -0
  15. package/_publish/API/TimeSpan.d.ts +1 -0
  16. package/_publish/API/Timezone.d.ts +1 -0
  17. package/_publish/API/Timezones.d.ts +1 -0
  18. package/_publish/API/Types.d.ts +24 -23
  19. package/_publish/Accounts/Contact.d.ts +4 -4
  20. package/_publish/Accounts/Machine.d.ts +1 -0
  21. package/_publish/{objects/Accounts → Accounts}/MultiFactorType.d.ts +1 -0
  22. package/_publish/Accounts/NotificationMethod.d.ts +1 -0
  23. package/_publish/{objects/Accounts → Accounts}/SSOIdentityProvider.d.ts +1 -0
  24. package/_publish/Accounts/Session.d.ts +12 -14
  25. package/_publish/Accounts/SessionStatus.d.ts +1 -0
  26. package/_publish/Accounts/SystemsOfUnits.d.ts +1 -0
  27. package/_publish/Accounts/User.d.ts +34 -13
  28. package/_publish/Accounts/UserAdvanced.d.ts +2 -2
  29. package/_publish/{objects/Accounts → Accounts}/UserAuthentication.d.ts +1 -0
  30. package/_publish/Accounts/UserGeneral.d.ts +3 -4
  31. package/_publish/Accounts/UserGroup.d.ts +2 -2
  32. package/_publish/{objects/Accounts → Accounts}/UserMFA.d.ts +1 -0
  33. package/_publish/Accounts/UserNotifications.d.ts +1 -0
  34. package/_publish/{objects/Accounts → Accounts}/UserSSO.d.ts +1 -0
  35. package/_publish/Assets/Asset.d.ts +6 -11
  36. package/_publish/Assets/AssetAdvanced.d.ts +2 -2
  37. package/_publish/Assets/AssetAttribute.d.ts +1 -0
  38. package/_publish/Assets/AssetDispatch.d.ts +2 -2
  39. package/_publish/Assets/AssetGeneral.d.ts +3 -4
  40. package/_publish/Assets/AssetPlaceStatus.d.ts +1 -0
  41. package/_publish/Assets/AssetPlaceStatusType.d.ts +1 -0
  42. package/_publish/Assets/AssetType.d.ts +1 -0
  43. package/_publish/Behaviours/Behaviour.d.ts +2 -2
  44. package/_publish/Behaviours/BehaviourLog.d.ts +3 -4
  45. package/_publish/Behaviours/BehaviourLogType.d.ts +1 -0
  46. package/_publish/Behaviours/BehaviourParameter.d.ts +1 -0
  47. package/_publish/Behaviours/BehaviourParameterType.d.ts +1 -0
  48. package/_publish/Behaviours/BehaviourScript.d.ts +2 -2
  49. package/_publish/Billing/BillableBase.d.ts +3 -4
  50. package/_publish/Billing/BillableSmsProfile.d.ts +1 -0
  51. package/_publish/Billing/BillingCurrency.d.ts +1 -0
  52. package/_publish/Billing/BillingCycle.d.ts +1 -0
  53. package/_publish/Billing/BillingProfile.d.ts +5 -7
  54. package/_publish/Companies/ColourStyle.d.ts +1 -0
  55. package/_publish/Companies/Company.d.ts +5 -2
  56. package/_publish/Companies/CompanyDirectory.d.ts +3 -4
  57. package/_publish/Companies/CompanyGeneral.d.ts +2 -2
  58. package/_publish/Companies/CompanyPolicy.d.ts +2 -2
  59. package/_publish/Companies/CompanyReseller.d.ts +3 -4
  60. package/_publish/Companies/CompanyStyle.d.ts +2 -2
  61. package/_publish/Companies/LabelStyle.d.ts +1 -0
  62. package/_publish/Companies/NotificationServerEmail.d.ts +3 -2
  63. package/_publish/Companies/NotificationServerSms.d.ts +1 -0
  64. package/_publish/Companies/PasswordExpiryMode.d.ts +1 -0
  65. package/_publish/Companies/PasswordPolicy.d.ts +1 -0
  66. package/_publish/Companies/SessionMultiUser.d.ts +1 -0
  67. package/_publish/Companies/SessionPolicy.d.ts +1 -0
  68. package/_publish/Dispatch/DispatchDirection.d.ts +1 -0
  69. package/_publish/Dispatch/DispatchJob.d.ts +2 -3
  70. package/_publish/Dispatch/DispatchJobPriority.d.ts +1 -0
  71. package/_publish/Dispatch/DispatchStep.d.ts +1 -0
  72. package/_publish/Dispatch/DispatchStepState.d.ts +1 -0
  73. package/_publish/Dispatch/DispatchStepStatus.d.ts +1 -0
  74. package/_publish/Dispatch/DispatchTask.d.ts +3 -4
  75. package/_publish/Dispatch/DispatchTaskStatus.d.ts +1 -0
  76. package/_publish/Hosting/Document.d.ts +2 -2
  77. package/_publish/Hosting/FormFieldType.d.ts +1 -0
  78. package/_publish/Hosting/FormResult.d.ts +1 -2
  79. package/_publish/Hosting/FormTemplate.d.ts +1 -1
  80. package/_publish/Images/Dashcam.d.ts +4 -10
  81. package/_publish/Images/DashcamBase.d.ts +9 -9
  82. package/_publish/Images/DashcamLive.d.ts +4 -10
  83. package/_publish/Images/DashcamMediaType.d.ts +1 -0
  84. package/_publish/Images/Icon.d.ts +2 -2
  85. package/_publish/Images/IconGlyph.d.ts +1 -0
  86. package/_publish/Images/IconLabel.d.ts +1 -0
  87. package/_publish/Images/IconLayer.d.ts +1 -0
  88. package/_publish/Images/Picture.d.ts +2 -2
  89. package/_publish/Maintenance/MaintenanceInterval.d.ts +1 -1
  90. package/_publish/Maintenance/MaintenanceJob.d.ts +3 -5
  91. package/_publish/Maintenance/MaintenanceJobStatus.d.ts +1 -0
  92. package/_publish/Maintenance/MaintenanceSchedule.d.ts +2 -2
  93. package/_publish/Messaging/AlertPriority.d.ts +1 -0
  94. package/_publish/Messaging/AssetAlert.d.ts +1 -0
  95. package/_publish/Messaging/AssetMessage.d.ts +1 -0
  96. package/_publish/Messaging/MessageBase.d.ts +3 -4
  97. package/_publish/Messaging/MessageFolder.d.ts +1 -0
  98. package/_publish/Messaging/MessageStatus.d.ts +1 -0
  99. package/_publish/Messaging/MessageType.d.ts +1 -0
  100. package/_publish/Places/Place.d.ts +3 -4
  101. package/_publish/Places/PlaceType.d.ts +1 -0
  102. package/_publish/Providers/Provider.d.ts +3 -8
  103. package/_publish/Providers/ProviderAdvanced.d.ts +2 -2
  104. package/_publish/Providers/ProviderCommand.d.ts +1 -0
  105. package/_publish/Providers/ProviderCommandStatus.d.ts +1 -0
  106. package/_publish/Providers/ProviderCommandType.d.ts +1 -0
  107. package/_publish/Providers/ProviderControl.d.ts +2 -2
  108. package/_publish/Providers/ProviderData.d.ts +1 -0
  109. package/_publish/Providers/ProviderGeneral.d.ts +4 -7
  110. package/_publish/Providers/ProviderType.d.ts +1 -0
  111. package/_publish/Reports/ReportBreakdown.d.ts +1 -0
  112. package/_publish/Reports/ReportBreakdownJob.d.ts +1 -0
  113. package/_publish/Reports/ReportBreakdownMessage.d.ts +1 -0
  114. package/_publish/Reports/ReportBreakdownTask.d.ts +1 -0
  115. package/_publish/Reports/ReportBreakdown_fromJSON.d.ts +1 -0
  116. package/_publish/Reports/ReportFilterMode.d.ts +1 -0
  117. package/_publish/Reports/ReportNotifications.d.ts +1 -0
  118. package/_publish/Reports/ReportOptions.d.ts +1 -0
  119. package/_publish/Reports/ReportParameter.d.ts +1 -0
  120. package/_publish/Reports/ReportParameterType.d.ts +1 -0
  121. package/_publish/Reports/ReportRecurrence.d.ts +1 -0
  122. package/_publish/Reports/ReportRecurrenceType.d.ts +1 -0
  123. package/_publish/Reports/ReportResult.d.ts +2 -2
  124. package/_publish/Reports/ReportResultData.d.ts +1 -0
  125. package/_publish/Reports/ReportSchedule.d.ts +2 -2
  126. package/_publish/Reports/ReportScorecard.d.ts +2 -2
  127. package/_publish/Reports/ReportScorecardParameter.d.ts +1 -0
  128. package/_publish/Reports/ReportScorecardRules.d.ts +1 -0
  129. package/_publish/Reports/ReportStatus.d.ts +1 -0
  130. package/_publish/Reports/ReportSummary.d.ts +2 -2
  131. package/_publish/Reports/ReportSummaryReason.d.ts +1 -0
  132. package/_publish/Reports/ReportTemplate.d.ts +2 -2
  133. package/_publish/Reports/ReportTotal.d.ts +2 -2
  134. package/_publish/Reports/ReportType.d.ts +1 -0
  135. package/_publish/index.d.ts +230 -229
  136. package/_publish/storage.d.ts +1 -0
  137. package/package.json +4 -2
  138. package/_publish/API/Geography/Functions.d.ts +0 -236
  139. package/_publish/API/Geography/Interfaces.d.ts +0 -150
  140. package/_publish/API/Geography/LatLng.d.ts +0 -86
  141. package/_publish/API/Geography/LatLngBounds.d.ts +0 -146
  142. package/_publish/API/Geography/Position.d.ts +0 -74
  143. package/_publish/API/Geography/StreetAddress.d.ts +0 -59
  144. package/_publish/API/Geometry/Functions.d.ts +0 -114
  145. package/_publish/API/Geometry/Interfaces.d.ts +0 -111
  146. package/_publish/API/Geometry/Point.d.ts +0 -81
  147. package/_publish/API/Geometry/Radial.d.ts +0 -110
  148. package/_publish/API/Geometry/Rectangle.d.ts +0 -159
  149. package/_publish/API/Geometry/Size.d.ts +0 -58
  150. package/_publish/API/Interfaces/IAmCompany.d.ts +0 -11
  151. package/_publish/API/Interfaces/IAuditable.d.ts +0 -31
  152. package/_publish/API/Interfaces/IBelongAsset.d.ts +0 -15
  153. package/_publish/API/Interfaces/IBelongBillingProfile.d.ts +0 -15
  154. package/_publish/API/Interfaces/IBelongCompany.d.ts +0 -15
  155. package/_publish/API/Interfaces/IDeserializable.d.ts +0 -13
  156. package/_publish/API/Interfaces/IEnabled.d.ts +0 -10
  157. package/_publish/API/Interfaces/IFileSize.d.ts +0 -9
  158. package/_publish/API/Interfaces/IGlobal.d.ts +0 -11
  159. package/_publish/API/Interfaces/IHavePermissions.d.ts +0 -20
  160. package/_publish/API/Interfaces/IHavePreferences.d.ts +0 -29
  161. package/_publish/API/Interfaces/IIconic.d.ts +0 -15
  162. package/_publish/API/Interfaces/IIdUlong.d.ts +0 -10
  163. package/_publish/API/Interfaces/ILabelled.d.ts +0 -10
  164. package/_publish/API/Interfaces/INamed.d.ts +0 -13
  165. package/_publish/API/Interfaces/IPictured.d.ts +0 -15
  166. package/_publish/API/Interfaces/IRequestable.d.ts +0 -22
  167. package/_publish/API/Interfaces/ISerializable.d.ts +0 -10
  168. package/_publish/API/Interfaces/ISuspendable.d.ts +0 -16
  169. package/_publish/API/Interfaces/IVisual.d.ts +0 -18
  170. package/_publish/Accounts/Permissions/Authorizer.d.ts +0 -204
  171. package/_publish/Accounts/Permissions/Permission.d.ts +0 -57
  172. package/_publish/Accounts/Permissions/PermissionEscalation.d.ts +0 -41
  173. package/_publish/Accounts/Permissions/PermissionEscalationState.d.ts +0 -19
  174. package/_publish/Accounts/Permissions/PermissionEscalationType.d.ts +0 -13
  175. package/_publish/Accounts/Permissions/PermissionLevel.d.ts +0 -17
  176. package/_publish/Accounts/Permissions/PermissionMethod.d.ts +0 -13
  177. package/_publish/Accounts/Permissions/PermissionType.d.ts +0 -280
  178. package/_publish/Billing/Hosting/BillableHostingBase.d.ts +0 -41
  179. package/_publish/Billing/Hosting/BillableHostingDiscount.d.ts +0 -36
  180. package/_publish/Billing/Hosting/BillableHostingLicense.d.ts +0 -30
  181. package/_publish/Billing/Hosting/BillableHostingLicenseType.d.ts +0 -20
  182. package/_publish/Billing/Hosting/BillableHostingRule.d.ts +0 -30
  183. package/_publish/Billing/Hosting/BillableHostingType.d.ts +0 -41
  184. package/_publish/Billing/Report/BillingReport.d.ts +0 -114
  185. package/_publish/Billing/Report/BillingReportBreakdown.d.ts +0 -35
  186. package/_publish/Billing/Report/BillingReportHostingSummary.d.ts +0 -36
  187. package/_publish/Billing/Report/BillingReportLicenseBreakdown.d.ts +0 -80
  188. package/_publish/Billing/Report/BillingReportServiceBreakdown.d.ts +0 -126
  189. package/_publish/Billing/Report/BillingReportStatus.d.ts +0 -25
  190. package/_publish/Billing/Report/BillingReportSummary.d.ts +0 -51
  191. package/_publish/Hosting/Fields/FormFieldAttachments.d.ts +0 -31
  192. package/_publish/Hosting/Fields/FormFieldBase.d.ts +0 -56
  193. package/_publish/Hosting/Fields/FormFieldBase_fromJSON.d.ts +0 -1
  194. package/_publish/Hosting/Fields/FormFieldBoolean.d.ts +0 -38
  195. package/_publish/Hosting/Fields/FormFieldChoice.d.ts +0 -46
  196. package/_publish/Hosting/Fields/FormFieldDate.d.ts +0 -26
  197. package/_publish/Hosting/Fields/FormFieldNumeric.d.ts +0 -54
  198. package/_publish/Hosting/Fields/FormFieldNumericSize.d.ts +0 -32
  199. package/_publish/Hosting/Fields/FormFieldSignature.d.ts +0 -17
  200. package/_publish/Hosting/Fields/FormFieldText.d.ts +0 -32
  201. package/_publish/Hosting/Fields/FormFieldTime.d.ts +0 -37
  202. package/_publish/Hosting/Fields/FormFieldTimezone.d.ts +0 -14
  203. package/_publish/Providers/Config/ProviderConfig.d.ts +0 -72
  204. package/_publish/Providers/Config/ProviderRegistration.d.ts +0 -123
  205. package/_publish/Providers/Config/ProviderScript.d.ts +0 -87
  206. package/_publish/Providers/Config/ProviderScriptBlock.d.ts +0 -41
  207. package/_publish/Providers/Config/ProviderScriptParameter.d.ts +0 -49
  208. package/_publish/Providers/Config/ProviderScriptParameterType.d.ts +0 -17
  209. package/_publish/Providers/Configuration/ProviderConfiguration.d.ts +0 -68
  210. package/_publish/Providers/Configuration/ProviderConfigurationNode.d.ts +0 -66
  211. package/_publish/Providers/Configuration/ProviderConfigurationType.d.ts +0 -62
  212. package/_publish/Providers/Configuration/ProviderGeofenceBase.d.ts +0 -29
  213. package/_publish/Providers/Configuration/ProviderGeofenceBase_fromJSON.d.ts +0 -1
  214. package/_publish/Providers/Configuration/ProviderGeofenceCircular.d.ts +0 -28
  215. package/_publish/Providers/Configuration/ProviderGeofencePoint.d.ts +0 -12
  216. package/_publish/Providers/Configuration/ProviderGeofencePolygon.d.ts +0 -23
  217. package/_publish/Providers/Configuration/ProviderGeofenceRectangle.d.ts +0 -28
  218. package/_publish/objects/API/Arrays.d.ts +0 -46
  219. package/_publish/objects/API/Base.d.ts +0 -19
  220. package/_publish/objects/API/BaseComponent.d.ts +0 -40
  221. package/_publish/objects/API/BaseCompound.d.ts +0 -19
  222. package/_publish/objects/API/Codifier.d.ts +0 -15
  223. package/_publish/objects/API/Constants.d.ts +0 -39
  224. package/_publish/objects/API/Conversion.d.ts +0 -255
  225. package/_publish/objects/API/Encoding.d.ts +0 -9
  226. package/_publish/objects/API/Files.d.ts +0 -21
  227. package/_publish/objects/API/Functions.d.ts +0 -196
  228. package/_publish/objects/API/Geography/Functions.d.ts +0 -236
  229. package/_publish/objects/API/Geography/Interfaces.d.ts +0 -150
  230. package/_publish/objects/API/Geography/LatLng.d.ts +0 -86
  231. package/_publish/objects/API/Geography/LatLngBounds.d.ts +0 -146
  232. package/_publish/objects/API/Geography/Position.d.ts +0 -74
  233. package/_publish/objects/API/Geography/StreetAddress.d.ts +0 -59
  234. package/_publish/objects/API/Geometry/Functions.d.ts +0 -114
  235. package/_publish/objects/API/Geometry/Interfaces.d.ts +0 -111
  236. package/_publish/objects/API/Geometry/Point.d.ts +0 -81
  237. package/_publish/objects/API/Geometry/Radial.d.ts +0 -110
  238. package/_publish/objects/API/Geometry/Rectangle.d.ts +0 -159
  239. package/_publish/objects/API/Geometry/Size.d.ts +0 -58
  240. package/_publish/objects/API/Guid.d.ts +0 -4
  241. package/_publish/objects/API/Interfaces/IAmCompany.d.ts +0 -11
  242. package/_publish/objects/API/Interfaces/IBelongAsset.d.ts +0 -15
  243. package/_publish/objects/API/Interfaces/IBelongBillingProfile.d.ts +0 -15
  244. package/_publish/objects/API/Interfaces/IBelongCompany.d.ts +0 -15
  245. package/_publish/objects/API/Interfaces/IDeserializable.d.ts +0 -13
  246. package/_publish/objects/API/Interfaces/IEnabled.d.ts +0 -10
  247. package/_publish/objects/API/Interfaces/IFileSize.d.ts +0 -9
  248. package/_publish/objects/API/Interfaces/IGlobal.d.ts +0 -11
  249. package/_publish/objects/API/Interfaces/IHavePermissions.d.ts +0 -20
  250. package/_publish/objects/API/Interfaces/IHavePreferences.d.ts +0 -29
  251. package/_publish/objects/API/Interfaces/IIconic.d.ts +0 -15
  252. package/_publish/objects/API/Interfaces/IIdUlong.d.ts +0 -10
  253. package/_publish/objects/API/Interfaces/ILabelled.d.ts +0 -10
  254. package/_publish/objects/API/Interfaces/INamed.d.ts +0 -13
  255. package/_publish/objects/API/Interfaces/IPictured.d.ts +0 -15
  256. package/_publish/objects/API/Interfaces/IRequestable.d.ts +0 -22
  257. package/_publish/objects/API/Interfaces/ISerializable.d.ts +0 -10
  258. package/_publish/objects/API/Interfaces/ISuspendable.d.ts +0 -16
  259. package/_publish/objects/API/Interfaces/IVisual.d.ts +0 -18
  260. package/_publish/objects/API/Maps.d.ts +0 -28
  261. package/_publish/objects/API/Objects.d.ts +0 -5
  262. package/_publish/objects/API/SearchPattern.d.ts +0 -46
  263. package/_publish/objects/API/TimeSpan.d.ts +0 -109
  264. package/_publish/objects/API/Timezone.d.ts +0 -44
  265. package/_publish/objects/API/Timezones.d.ts +0 -7
  266. package/_publish/objects/API/Types.d.ts +0 -132
  267. package/_publish/objects/Accounts/Contact.d.ts +0 -139
  268. package/_publish/objects/Accounts/Machine.d.ts +0 -139
  269. package/_publish/objects/Accounts/NotificationMethod.d.ts +0 -17
  270. package/_publish/objects/Accounts/Permissions/Authorizer.d.ts +0 -204
  271. package/_publish/objects/Accounts/Permissions/Permission.d.ts +0 -56
  272. package/_publish/objects/Accounts/Permissions/PermissionEscalation.d.ts +0 -41
  273. package/_publish/objects/Accounts/Permissions/PermissionEscalationState.d.ts +0 -19
  274. package/_publish/objects/Accounts/Permissions/PermissionEscalationType.d.ts +0 -13
  275. package/_publish/objects/Accounts/Permissions/PermissionLevel.d.ts +0 -17
  276. package/_publish/objects/Accounts/Permissions/PermissionMethod.d.ts +0 -13
  277. package/_publish/objects/Accounts/Permissions/PermissionType.d.ts +0 -280
  278. package/_publish/objects/Accounts/Session.d.ts +0 -89
  279. package/_publish/objects/Accounts/SessionStatus.d.ts +0 -29
  280. package/_publish/objects/Accounts/SystemsOfUnits.d.ts +0 -13
  281. package/_publish/objects/Accounts/User.d.ts +0 -167
  282. package/_publish/objects/Accounts/UserAdvanced.d.ts +0 -53
  283. package/_publish/objects/Accounts/UserGeneral.d.ts +0 -98
  284. package/_publish/objects/Accounts/UserGroup.d.ts +0 -51
  285. package/_publish/objects/Accounts/UserNotifications.d.ts +0 -76
  286. package/_publish/objects/Assets/Asset.d.ts +0 -218
  287. package/_publish/objects/Assets/AssetAdvanced.d.ts +0 -77
  288. package/_publish/objects/Assets/AssetAttribute.d.ts +0 -71
  289. package/_publish/objects/Assets/AssetDispatch.d.ts +0 -55
  290. package/_publish/objects/Assets/AssetGeneral.d.ts +0 -127
  291. package/_publish/objects/Assets/AssetPlaceStatus.d.ts +0 -31
  292. package/_publish/objects/Assets/AssetPlaceStatusType.d.ts +0 -17
  293. package/_publish/objects/Assets/AssetType.d.ts +0 -21
  294. package/_publish/objects/Behaviours/Behaviour.d.ts +0 -78
  295. package/_publish/objects/Behaviours/BehaviourLog.d.ts +0 -95
  296. package/_publish/objects/Behaviours/BehaviourLogType.d.ts +0 -21
  297. package/_publish/objects/Behaviours/BehaviourParameter.d.ts +0 -38
  298. package/_publish/objects/Behaviours/BehaviourParameterType.d.ts +0 -21
  299. package/_publish/objects/Behaviours/BehaviourScript.d.ts +0 -83
  300. package/_publish/objects/Billing/BillableBase.d.ts +0 -83
  301. package/_publish/objects/Billing/BillableSmsProfile.d.ts +0 -26
  302. package/_publish/objects/Billing/BillingCurrency.d.ts +0 -17
  303. package/_publish/objects/Billing/BillingCycle.d.ts +0 -17
  304. package/_publish/objects/Billing/BillingProfile.d.ts +0 -104
  305. package/_publish/objects/Billing/Hosting/BillableHostingBase.d.ts +0 -41
  306. package/_publish/objects/Billing/Hosting/BillableHostingLicense.d.ts +0 -30
  307. package/_publish/objects/Billing/Hosting/BillableHostingLicenseType.d.ts +0 -20
  308. package/_publish/objects/Billing/Hosting/BillableHostingRule.d.ts +0 -30
  309. package/_publish/objects/Billing/Hosting/BillableHostingType.d.ts +0 -41
  310. package/_publish/objects/Billing/Report/BillingReport.d.ts +0 -112
  311. package/_publish/objects/Billing/Report/BillingReportBreakdown.d.ts +0 -34
  312. package/_publish/objects/Billing/Report/BillingReportHostingSummary.d.ts +0 -36
  313. package/_publish/objects/Billing/Report/BillingReportLicenseBreakdown.d.ts +0 -79
  314. package/_publish/objects/Billing/Report/BillingReportServiceBreakdown.d.ts +0 -124
  315. package/_publish/objects/Billing/Report/BillingReportStatus.d.ts +0 -25
  316. package/_publish/objects/Billing/Report/BillingReportSummary.d.ts +0 -49
  317. package/_publish/objects/Companies/ColourStyle.d.ts +0 -25
  318. package/_publish/objects/Companies/Company.d.ts +0 -167
  319. package/_publish/objects/Companies/CompanyDirectory.d.ts +0 -52
  320. package/_publish/objects/Companies/CompanyGeneral.d.ts +0 -55
  321. package/_publish/objects/Companies/CompanyPolicy.d.ts +0 -66
  322. package/_publish/objects/Companies/CompanyReseller.d.ts +0 -166
  323. package/_publish/objects/Companies/CompanyStyle.d.ts +0 -50
  324. package/_publish/objects/Companies/LabelStyle.d.ts +0 -46
  325. package/_publish/objects/Companies/NotificationServerEmail.d.ts +0 -99
  326. package/_publish/objects/Companies/NotificationServerSms.d.ts +0 -25
  327. package/_publish/objects/Companies/PasswordExpiryMode.d.ts +0 -17
  328. package/_publish/objects/Companies/PasswordPolicy.d.ts +0 -51
  329. package/_publish/objects/Companies/SessionMultiUser.d.ts +0 -17
  330. package/_publish/objects/Companies/SessionPolicy.d.ts +0 -47
  331. package/_publish/objects/Dispatch/DispatchDirection.d.ts +0 -53
  332. package/_publish/objects/Dispatch/DispatchJob.d.ts +0 -107
  333. package/_publish/objects/Dispatch/DispatchJobPriority.d.ts +0 -25
  334. package/_publish/objects/Dispatch/DispatchStep.d.ts +0 -99
  335. package/_publish/objects/Dispatch/DispatchStepState.d.ts +0 -27
  336. package/_publish/objects/Dispatch/DispatchStepStatus.d.ts +0 -21
  337. package/_publish/objects/Dispatch/DispatchTask.d.ts +0 -154
  338. package/_publish/objects/Dispatch/DispatchTaskStatus.d.ts +0 -50
  339. package/_publish/objects/Hosting/Document.d.ts +0 -70
  340. package/_publish/objects/Hosting/Fields/FormFieldAttachments.d.ts +0 -31
  341. package/_publish/objects/Hosting/Fields/FormFieldBase.d.ts +0 -56
  342. package/_publish/objects/Hosting/Fields/FormFieldBase_fromJSON.d.ts +0 -1
  343. package/_publish/objects/Hosting/Fields/FormFieldBoolean.d.ts +0 -38
  344. package/_publish/objects/Hosting/Fields/FormFieldChoice.d.ts +0 -46
  345. package/_publish/objects/Hosting/Fields/FormFieldDate.d.ts +0 -26
  346. package/_publish/objects/Hosting/Fields/FormFieldNumeric.d.ts +0 -54
  347. package/_publish/objects/Hosting/Fields/FormFieldNumericSize.d.ts +0 -32
  348. package/_publish/objects/Hosting/Fields/FormFieldSignature.d.ts +0 -17
  349. package/_publish/objects/Hosting/Fields/FormFieldText.d.ts +0 -32
  350. package/_publish/objects/Hosting/Fields/FormFieldTime.d.ts +0 -37
  351. package/_publish/objects/Hosting/Fields/FormFieldTimezone.d.ts +0 -14
  352. package/_publish/objects/Hosting/FormFieldType.d.ts +0 -127
  353. package/_publish/objects/Hosting/FormResult.d.ts +0 -95
  354. package/_publish/objects/Hosting/FormTemplate.d.ts +0 -80
  355. package/_publish/objects/Images/Dashcam.d.ts +0 -63
  356. package/_publish/objects/Images/DashcamBase.d.ts +0 -97
  357. package/_publish/objects/Images/DashcamLive.d.ts +0 -36
  358. package/_publish/objects/Images/DashcamMediaType.d.ts +0 -17
  359. package/_publish/objects/Images/Icon.d.ts +0 -66
  360. package/_publish/objects/Images/IconGlyph.d.ts +0 -47
  361. package/_publish/objects/Images/IconLabel.d.ts +0 -29
  362. package/_publish/objects/Images/IconLayer.d.ts +0 -33
  363. package/_publish/objects/Images/Picture.d.ts +0 -72
  364. package/_publish/objects/Maintenance/MaintenanceInterval.d.ts +0 -48
  365. package/_publish/objects/Maintenance/MaintenanceJob.d.ts +0 -134
  366. package/_publish/objects/Maintenance/MaintenanceJobStatus.d.ts +0 -21
  367. package/_publish/objects/Maintenance/MaintenanceSchedule.d.ts +0 -118
  368. package/_publish/objects/Messaging/AlertPriority.d.ts +0 -17
  369. package/_publish/objects/Messaging/AssetAlert.d.ts +0 -29
  370. package/_publish/objects/Messaging/AssetMessage.d.ts +0 -40
  371. package/_publish/objects/Messaging/MessageBase.d.ts +0 -99
  372. package/_publish/objects/Messaging/MessageFolder.d.ts +0 -13
  373. package/_publish/objects/Messaging/MessageStatus.d.ts +0 -29
  374. package/_publish/objects/Messaging/MessageType.d.ts +0 -33
  375. package/_publish/objects/Places/Place.d.ts +0 -114
  376. package/_publish/objects/Places/PlaceType.d.ts +0 -25
  377. package/_publish/objects/Providers/Config/ProviderConfig.d.ts +0 -70
  378. package/_publish/objects/Providers/Config/ProviderRegistration.d.ts +0 -119
  379. package/_publish/objects/Providers/Config/ProviderScript.d.ts +0 -86
  380. package/_publish/objects/Providers/Config/ProviderScriptBlock.d.ts +0 -41
  381. package/_publish/objects/Providers/Config/ProviderScriptParameter.d.ts +0 -49
  382. package/_publish/objects/Providers/Config/ProviderScriptParameterType.d.ts +0 -17
  383. package/_publish/objects/Providers/Configuration/ProviderConfiguration.d.ts +0 -66
  384. package/_publish/objects/Providers/Configuration/ProviderConfigurationNode.d.ts +0 -66
  385. package/_publish/objects/Providers/Configuration/ProviderConfigurationType.d.ts +0 -62
  386. package/_publish/objects/Providers/Configuration/ProviderGeofenceBase.d.ts +0 -29
  387. package/_publish/objects/Providers/Configuration/ProviderGeofenceBase_fromJSON.d.ts +0 -1
  388. package/_publish/objects/Providers/Configuration/ProviderGeofenceCircular.d.ts +0 -28
  389. package/_publish/objects/Providers/Configuration/ProviderGeofencePoint.d.ts +0 -12
  390. package/_publish/objects/Providers/Configuration/ProviderGeofencePolygon.d.ts +0 -23
  391. package/_publish/objects/Providers/Configuration/ProviderGeofenceRectangle.d.ts +0 -28
  392. package/_publish/objects/Providers/Provider.d.ts +0 -205
  393. package/_publish/objects/Providers/ProviderAdvanced.d.ts +0 -50
  394. package/_publish/objects/Providers/ProviderCommand.d.ts +0 -36
  395. package/_publish/objects/Providers/ProviderCommandStatus.d.ts +0 -29
  396. package/_publish/objects/Providers/ProviderCommandType.d.ts +0 -37
  397. package/_publish/objects/Providers/ProviderControl.d.ts +0 -41
  398. package/_publish/objects/Providers/ProviderData.d.ts +0 -30
  399. package/_publish/objects/Providers/ProviderGeneral.d.ts +0 -121
  400. package/_publish/objects/Providers/ProviderType.d.ts +0 -106
  401. package/_publish/objects/Reports/ReportBreakdown.d.ts +0 -49
  402. package/_publish/objects/Reports/ReportBreakdownJob.d.ts +0 -37
  403. package/_publish/objects/Reports/ReportBreakdownMessage.d.ts +0 -40
  404. package/_publish/objects/Reports/ReportBreakdownTask.d.ts +0 -46
  405. package/_publish/objects/Reports/ReportBreakdown_fromJSON.d.ts +0 -1
  406. package/_publish/objects/Reports/ReportFilterMode.d.ts +0 -17
  407. package/_publish/objects/Reports/ReportNotifications.d.ts +0 -31
  408. package/_publish/objects/Reports/ReportOptions.d.ts +0 -52
  409. package/_publish/objects/Reports/ReportParameter.d.ts +0 -26
  410. package/_publish/objects/Reports/ReportParameterType.d.ts +0 -59
  411. package/_publish/objects/Reports/ReportRecurrence.d.ts +0 -54
  412. package/_publish/objects/Reports/ReportRecurrenceType.d.ts +0 -34
  413. package/_publish/objects/Reports/ReportResult.d.ts +0 -169
  414. package/_publish/objects/Reports/ReportResultData.d.ts +0 -17
  415. package/_publish/objects/Reports/ReportSchedule.d.ts +0 -111
  416. package/_publish/objects/Reports/ReportScorecard.d.ts +0 -38
  417. package/_publish/objects/Reports/ReportScorecardParameter.d.ts +0 -31
  418. package/_publish/objects/Reports/ReportScorecardRules.d.ts +0 -26
  419. package/_publish/objects/Reports/ReportStatus.d.ts +0 -29
  420. package/_publish/objects/Reports/ReportSummary.d.ts +0 -90
  421. package/_publish/objects/Reports/ReportSummaryReason.d.ts +0 -27
  422. package/_publish/objects/Reports/ReportTemplate.d.ts +0 -81
  423. package/_publish/objects/Reports/ReportTotal.d.ts +0 -47
  424. package/_publish/objects/Reports/ReportType.d.ts +0 -42
  425. package/_publish/objects/storage.d.ts +0 -176
@@ -1,196 +0,0 @@
1
- import { datetime, JsonObject, nothing } from "./Types";
2
- /**
3
- * Checks for both null and undefined
4
- * @param value The variable to check
5
- */
6
- export declare function IS_NOTHING(value: any): value is nothing;
7
- /**
8
- * Checks to see if the given parameter is a number object or number literal.
9
- * @param value The variable to check
10
- */
11
- export declare function IS_BOOLEAN(value: any): value is boolean;
12
- /**
13
- * Checks to see if the given parameter is a number object or number literal.
14
- * @param value The variable to check
15
- */
16
- export declare function IS_NUMBER(value: any): value is number;
17
- /**
18
- * Checks to see if the given parameter is a number object or number literal.
19
- * @param value The variable to check
20
- */
21
- export declare function IS_STRING(value: any): value is string;
22
- /**
23
- * Checks to see if the given parameter is a function from this window or another.
24
- * @param value The variable to check
25
- */
26
- export declare function IS_FUNCTION(value: any): value is Function;
27
- /**
28
- * Returns the name of the given value's type.
29
- * @param value The variable to check
30
- */
31
- export declare function OBJECT_TYPE(value: any): string;
32
- /**
33
- * Almost the opposite of {@link isNaN}.
34
- * Checks to see if the given parameter is a number object, or number literal, and that it is not {@code value|NaN|Infinity}.
35
- * This method will return {@code value|false} for values: {@code value|""}, {@code value|"1234"}, {@code value|null}, {@code value|undefined}, {@code value|true}, and {@code value|false}.
36
- * @param value The variable to check
37
- */
38
- export declare function IS_AN(value: any): value is number;
39
- /**
40
- * Rounds a number to the desired number of decimal places. Using a negative places value will round to the nearest ten.
41
- * @param number The number to be rounded
42
- * @param places The number of decimal places. Default is 0.
43
- */
44
- export declare function ROUND_TO(number: number, places?: number): number;
45
- /**
46
- * Clips a number to the specified minimum and maximum values.
47
- * @param n The number to clip
48
- * @param min Minimum allowable value
49
- * @param max Maximum allowable value
50
- */
51
- export declare function CLIP(n: number, min: number, max: number): number;
52
- /**
53
- * Calculates the Pythagorean length of a triangle given the length of the other two sides.
54
- * @param width
55
- * @param height
56
- */
57
- export declare function PYTHAGORA(width: number, height: number): number;
58
- /**
59
- * Parses a base-10 integer number from the given value.
60
- * @param value
61
- */
62
- export declare function ID(value: any): number;
63
- /**
64
- * Creates a Date object out of the given value.
65
- * @param value
66
- */
67
- export declare function DATE(value?: Date | number | datetime | nothing): Date;
68
- /**
69
- * An implementation of the Douglas-Peucker path reduction algorithm.
70
- * @template TCoord A type of coordinate like a pixel or lat/lng.
71
- * @param source Array of coordinates.
72
- * @param triangleHeight Callback which performs a triangle height calculation between first point, middle point, and last point.
73
- * @param tolerance The "kink" threshold.
74
- * @returns Elements in the array are true if they should be kept.
75
- */
76
- export declare function DOUGLASPEUCKER_INTERNAL<TCoord>(source: TCoord[], triangleHeight: (first: TCoord, middle: TCoord, last: TCoord) => number, tolerance: number): boolean[];
77
- /**
78
- * An implementation of the {@link https://en.wikipedia.org/wiki/Ramer%E2%80%93Douglas%E2%80%93Peucker_algorithm|Ramer-Douglas-Peucker} path reduction algorithm.
79
- * The source array should be more than two items in length, otherwise reduction is pointless.
80
- * The callback function returns a number (greater than zero) as the triangle height as defiend by three points; first point, middle point, and last point.
81
- * The "kink" threshold is set using the tolerance argument which must be a number greater than or equal to zero.
82
- * @template TCoord
83
- * @param source Array of coordinates of type "T".
84
- * @param triangleHeight Callback which performs a triangle height calculation between first point, middle point, and last point.
85
- * @param tolerance The "kink" threshold
86
- */
87
- export declare function DOUGLASPEUCKER<TCoord>(source: TCoord[], triangleHeight: (first: TCoord, middle: TCoord, last: TCoord) => number, tolerance: number): TCoord[];
88
- /**
89
- * Returns a plural version of the given word.
90
- * This obviously doesn't work for every word imaginable, but covers the standard object names in the Trak-iT APIs.
91
- * @param word
92
- * @returns
93
- */
94
- export declare function PLURALIZE(word: string): string;
95
- /**
96
- * Returns a singular version of the given word.
97
- * This obviously doesn't work for every word imaginable, but covers the standard object names in the Trak-iT APIs.
98
- * @param word
99
- * @returns
100
- */
101
- export declare function SINGULARIZE(word: string): string;
102
- /**
103
- * Returns the given word with the first letter capitalized (or lower-cased).
104
- * @param word
105
- * @param upper
106
- * @returns
107
- */
108
- export declare function CAPITALIZE(word: string, upper?: boolean): string;
109
- /**
110
- * Parses the input and returns a valid phone number prefixed by 1, or NaN if invalid.
111
- * @param phone
112
- * */
113
- export declare function PHONE_PARSE(phone: string | number | undefined): number;
114
- /**
115
- * Internal method for returning a string representation of the given number, padded with zeros.
116
- * @param num
117
- * @param length
118
- * @param decimals
119
- * @param radix
120
- */
121
- export declare function ZERO_PADDED(num: number, length: number, decimals?: number, radix?: number): string;
122
- /**
123
- *
124
- * @param source
125
- * @param deep
126
- * @returns
127
- */
128
- export declare function MAP_TO_JSON(source: Map<any, any>, deep?: boolean): JsonObject;
129
- /**
130
- *
131
- * @param source
132
- * @param deep
133
- * @returns
134
- */
135
- export declare function MAP_TO_JSON_PREDICATE<K, V>(source: Map<K, V>, predicate: (key: K, value: V) => [string, any]): JsonObject;
136
- /**
137
- *
138
- * @param map
139
- * @param deep
140
- * @returns
141
- */
142
- export declare function JSON_TO_MAP_PREDICATE<K, V>(source: object, predicate: (key: string, value: any) => [K, V]): Map<K, V>;
143
- /**
144
- *
145
- * @param map
146
- * @param deep
147
- * @returns
148
- */
149
- export declare function JSON_TO_MAP(source: object, deep?: boolean): Map<string, any>;
150
- /**
151
- *
152
- * @param map
153
- * @param deep
154
- * @returns
155
- */
156
- export declare function JSON_TO_MAP_KEY_CODIFIED(source: object, deep?: boolean): Map<string, any>;
157
- /**
158
- *
159
- * @param map
160
- * @param deep
161
- * @returns
162
- */
163
- export declare function JSON_TO_MAP_KEY_ULONG(source: object, deep?: boolean): Map<number, any>;
164
- /**
165
- *
166
- * @param this
167
- * @param value
168
- * @returns
169
- */
170
- export declare function STRING_TO_ENUM<T extends {
171
- [key: string]: T;
172
- }>(this: T, value: string): T;
173
- /**
174
- * Serializes a {@link Date} to an ISO string, or null (for use in {@link ISerializable.toJSON}).
175
- * @param date
176
- */
177
- export declare function JSON_DATE(date: Date): string | null;
178
- /**
179
- * Serializes a {@link Number} as itself, or null instead of {@link NaN} (for use in {@link ISerializable.toJSON}).
180
- * @param date
181
- */
182
- export declare function JSON_NUMBER(num: number): number | null;
183
- /**
184
- *
185
- */
186
- export declare const WEEKDAYS: boolean[];
187
- /**
188
- * Creates an array of 7 boolean values.
189
- * Extra values from the input are ignored.
190
- * @param days
191
- */
192
- export declare function WEEKDAYS_PARSE(days: string | boolean[]): boolean[];
193
- /**
194
- * Creates as string of 7 characters (either `1` or `0`).
195
- */
196
- export declare function WEEKDAYS_JSON(days: string | boolean[]): 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[];
@@ -1,86 +0,0 @@
1
- import { Point } from '../Geometry/Point';
2
- import { JsonObject } from '../Types';
3
- import { ILatLng } from './Interfaces';
4
- import { LatLngBounds } from './LatLngBounds';
5
- /**
6
- * A coordinate on the Earth.
7
- */
8
- export declare class LatLng implements ILatLng {
9
- /**
10
- * Let's consider the zero-zero coordinates to be invalid.
11
- */
12
- static readonly INVALID: LatLng;
13
- /**
14
- *
15
- * @param json
16
- */
17
- static fromJSON(json: ILatLng | JsonObject): LatLng;
18
- /**
19
- *
20
- * @param latlng
21
- * @param delimiter
22
- * @returns
23
- */
24
- static fromString(latlng: string, delimiter?: string): LatLng;
25
- /**
26
- * Latitude
27
- */
28
- readonly lat: number;
29
- /**
30
- * Longitude
31
- */
32
- readonly lng: number;
33
- constructor(lat: number, lng: number);
34
- /**
35
- * Returns a string representation of this {@link LatLng}.
36
- * @param delimiter The boundary is delimited by a comma (,) by default, but you can override with your own value.
37
- * @returns A string in the format of "lat,lng".
38
- */
39
- toString(delimiter?: string): string;
40
- /**
41
- * Creates a literal of this {@link LatLng}.
42
- * Used internally by {@link JSON.stringify}.
43
- */
44
- toJSON(): ILatLng;
45
- /**
46
- * Compares this LatLng to another to see if they are equivalent.
47
- * @param other The other LatLng to compare
48
- * @param tolerance Distance tolerance before considering two nearly identical coordinates to be equal.
49
- */
50
- isEqual(other: ILatLng, tolerance?: number): boolean;
51
- /**
52
- * Returns true if this coordinate is not NaN and not zero-zero.
53
- */
54
- isValid(): boolean;
55
- /**
56
- * Calculates the distance across the surface of the globe to another coordinate
57
- * @param pin
58
- */
59
- distanceTo(pin: ILatLng): number;
60
- /**
61
- * Calculates the starting bearing across the surface of the globe from the current coordinate to the given coordinate
62
- * @param pin
63
- */
64
- bearingTo(pin: ILatLng): number;
65
- /**
66
- * Returns a new coordinate at the given distance and bearing from this coordinate
67
- * @param meters
68
- * @param bearing
69
- */
70
- toTranslated(meters: number, bearing: number): LatLng;
71
- /**
72
- * Returns a new LatLng at the half-way point between this and the given LatLng.
73
- * @param pin The other coordinate.
74
- * @throws {Error} Either latitude or longitude is NaN
75
- */
76
- toBetween(pin: ILatLng): LatLng;
77
- /**
78
- * Creates a Point based on the given magnifier.
79
- */
80
- toRadians(magnifier?: number): Point;
81
- /**
82
- * Creates a square LatLngBounds centred around this LatLng.
83
- * @param radius The closest distance (in meters) from this coordinate to the edges of the new LatLngBounds.
84
- */
85
- toBounds(radius: number): LatLngBounds;
86
- }