@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,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
- }
@@ -1,146 +0,0 @@
1
- import { ISerializable } from '../Interfaces/ISerializable';
2
- import { JsonObject } from '../Types';
3
- import { ILatLng, ILatLngBounds, LatLngBoundsExpansion } from './Interfaces';
4
- import { LatLng } from './LatLng';
5
- /**
6
- * A boundary on the globe
7
- */
8
- export declare class LatLngBounds implements ILatLngBounds, ISerializable {
9
- /**
10
- *
11
- * @param json
12
- */
13
- static fromJSON(json: ILatLngBounds | JsonObject): LatLngBounds;
14
- /**
15
- * Northern latitude
16
- */
17
- north: number;
18
- /**
19
- * Eastern longitude
20
- */
21
- east: number;
22
- /**
23
- * Southern latitude
24
- */
25
- south: number;
26
- /**
27
- * Western longitude
28
- */
29
- west: number;
30
- constructor(...args: LatLngBoundsExpansion[]);
31
- /**
32
- * Returns a string representation of this {@link LatLng}.
33
- * @param delimiter The boundary is delimited by a comma (,) by default, but you can override with your own value.
34
- * @returns A string in the format of "lat,lng".
35
- */
36
- toString(delimiter?: string): string;
37
- /**
38
- * Creates a literal of this {@link LatLngBounds}.
39
- * Used internally by {@link JSON.stringify}.
40
- */
41
- toJSON(): {
42
- north: number;
43
- east: number;
44
- south: number;
45
- west: number;
46
- };
47
- /**
48
- * Compares this LatLng to another to see if they are equivalent.
49
- * @param other The other LatLng to compare
50
- * @param tolerance Distance tolerance before considering two nearly identical coordinates to be equal.
51
- */
52
- isEqual(other: ILatLngBounds, tolerance?: number): boolean;
53
- /**
54
- *
55
- */
56
- isValid(): boolean;
57
- /**
58
- *
59
- */
60
- isEmpty(): boolean;
61
- /**
62
- * Checks if a {@link LatLng} is contained within this boundary.
63
- * @param pin The point to check
64
- */
65
- contains(pin: ILatLng): boolean;
66
- /**
67
- * Checks if a {@link LatLngBounds} is contained within this boundary.
68
- * @expose
69
- * @this {LatLngBounds}
70
- * @param bounds The other boundary to check
71
- */
72
- encloses(bounds: ILatLngBounds): boolean;
73
- /**
74
- * Checks if a {@link LatLngBounds} overlaps this boundary.
75
- * Also returns true if either boundary's {@link LatLngBounds#encloses} returns true.
76
- * @param other The other boundary to check
77
- */
78
- overlaps(other: ILatLngBounds): boolean;
79
- /**
80
- *
81
- * @param object
82
- */
83
- private __expander;
84
- /**
85
- * Extends the boundary to envelop the given point(s) but does not automatically
86
- * validate. This comes in efficient when doing many operations on a single
87
- * PointBounds
88
- */
89
- expand(latlngs: LatLngBoundsExpansion): this;
90
- /**
91
- * Extends the boundary to envelop the given point(s) and automatically validates
92
- */
93
- extend(latlngs: LatLngBoundsExpansion): this;
94
- /**
95
- *
96
- */
97
- getCentre(): LatLng;
98
- /**
99
- *
100
- */
101
- getNorthEast(): LatLng;
102
- /**
103
- *
104
- */
105
- getNorthWest(): LatLng;
106
- /**
107
- *
108
- */
109
- getSouthEast(): LatLng;
110
- /**
111
- *
112
- */
113
- getSouthWest(): LatLng;
114
- /**
115
- * The mid-point coordinate between the north east and north west corners.
116
- */
117
- getNorthMiddle(): LatLng;
118
- /**
119
- * The mid-point coordinate between the south east and south west corners.
120
- */
121
- getSouthMiddle(): LatLng;
122
- /**
123
- * The mid-point coordinate between the north east and north west corners.
124
- */
125
- getEastMiddle(): LatLng;
126
- /**
127
- * The mid-point coordinate between the south east and south west corners.
128
- */
129
- getWestMiddle(): LatLng;
130
- /**
131
- * The distance in meters between the north-east corner and the south-west corner.
132
- */
133
- getDiagonalDistance(): number;
134
- /**
135
- * The distance in meters between the north-most border and the south-most border.
136
- */
137
- getLatitudinalDistance(): number;
138
- /**
139
- * The distance in meters between the east-most and the west-most points along the border closest to the equator.
140
- */
141
- getLongitudinalDistance(): number;
142
- /**
143
- *
144
- */
145
- validate(): this;
146
- }
@@ -1,74 +0,0 @@
1
- import { datetime, JsonObject, nothing } from '../Types';
2
- import { IPosition, IStreetAddress } from './Interfaces';
3
- import { LatLng } from './LatLng';
4
- import { StreetAddress } from './StreetAddress';
5
- /**
6
- * GPS position information
7
- */
8
- export declare class Position extends LatLng implements IPosition {
9
- /**
10
- *
11
- * @param json
12
- * @returns
13
- */
14
- static fromJSON(json: IPosition | JsonObject): Position;
15
- /**
16
- * Speed
17
- */
18
- readonly speed: number;
19
- /**
20
- * Direction of travel
21
- */
22
- readonly bearing: number;
23
- /**
24
- * Distance in meters from the sea level
25
- */
26
- readonly altitude: number;
27
- /**
28
- * Threshold in meters for the accuracy of a position
29
- */
30
- readonly accuracy: number;
31
- /**
32
- * The Date/Time of the GPS reading
33
- */
34
- readonly date: Date;
35
- /**
36
- * The Date/Time of the GPS reading
37
- */
38
- get dts(): string;
39
- /**
40
- * A better description of the current road-segment
41
- */
42
- readonly streetAddress: StreetAddress | null;
43
- /**
44
- * The posted speed limit for the road segment
45
- */
46
- readonly speedLimit: number | nothing;
47
- /**
48
- * Provider Identifier
49
- */
50
- readonly origin: string;
51
- /**
52
- * The road segment description
53
- */
54
- readonly address: string;
55
- constructor(lat?: number | nothing, lng?: number | nothing, speed?: number | nothing, bearing?: number | nothing, accuracy?: number | nothing, dts?: Date | number | datetime | nothing, address?: string | nothing, limit?: number | nothing, altitude?: number | nothing, street?: IStreetAddress | JsonObject | nothing);
56
- /**
57
- * Returns a text representation of this position.
58
- * Returned strings cannot be converted back into {@link Position}
59
- * objects, so don't use this for deserialization.
60
- * @param delimiter
61
- */
62
- toString(delimiter?: string): string;
63
- /**
64
- * Creates a literal of this {@link Position}.
65
- * Used internally by {@link JSON.stringify}.
66
- */
67
- toJSON(): IPosition;
68
- /**
69
- *
70
- * @param position
71
- * @returns
72
- */
73
- isEqual(position: Position | IPosition): boolean;
74
- }
@@ -1,59 +0,0 @@
1
- import { ISerializable } from "../Interfaces/ISerializable";
2
- import { JsonObject, nothing } from "../Types";
3
- import { IStreetAddress } from "./Interfaces";
4
- /**
5
- * A road segment description
6
- */
7
- export declare class StreetAddress implements IStreetAddress, ISerializable {
8
- /**
9
- *
10
- * @param street
11
- */
12
- static fromJSON(json: IStreetAddress | JsonObject): StreetAddress;
13
- /**
14
- * House number.
15
- */
16
- number: string;
17
- /**
18
- * Full street name.
19
- */
20
- street: string;
21
- /**
22
- * City name.
23
- */
24
- city: string;
25
- /**
26
- * Region name.
27
- */
28
- region: string;
29
- /**
30
- * Province or state code.
31
- * Codes should be a value from ISO 3166-2.
32
- */
33
- province: string;
34
- /**
35
- * Country code.
36
- * Codes should be a value from ISO 3166-1 alpha-2.
37
- */
38
- country: string;
39
- /**
40
- * Postal or zip code.
41
- */
42
- postal: string;
43
- /**
44
- * Indicates that there is a toll for the current road segment.
45
- */
46
- isToll: boolean;
47
- constructor(number?: string | nothing, street?: string | nothing, city?: string | nothing, region?: string | nothing, province?: string | nothing, country?: string | nothing, postal?: string | nothing, isToll?: boolean | nothing);
48
- /**
49
- * Returns a text representation of this address.
50
- * Returned strings cannot be converted back into {@link StreetAddress}
51
- * objects, so don't use this for deserialization.
52
- */
53
- toString(): string;
54
- /**
55
- * Creates a literal of this {@link StreetAddress}.
56
- * Used internally by {@link JSON.stringify}.
57
- */
58
- toJSON(): IStreetAddress;
59
- }
@@ -1,114 +0,0 @@
1
- import { IPoint, IRadial, IRectangle } from './Interfaces';
2
- /**
3
- * Calculates the starting angle (in degrees) between two Points using the top as zero. Does not return negative values.
4
- * @param starting Starting coordinate
5
- * @param ending Other coordinate
6
- * @returns A number between 0 and 360.
7
- */
8
- export declare function POINT_ANGLE(starting: IPoint, ending: IPoint): number;
9
- /**
10
- * Calculates the distance between two points using Pythagorean theorem.
11
- * @param starting Starting coordinate
12
- * @param ending Other coordinate
13
- */
14
- export declare function POINT_DISTANCE(starting: IPoint, ending: IPoint): number;
15
- /**
16
- * Sorts points by left-most, then by top-most.
17
- */
18
- export declare function POINT_SORT(a: IPoint, b: IPoint): number;
19
- /**
20
- * Calculates the vector which can be used to find the point based on the given direction and distance
21
- * @param distance
22
- * @param degrees
23
- */
24
- export declare function POINT_VECTOR(distance: number, degrees: number): IPoint;
25
- /**
26
- * Calculates the total length of the given path
27
- * @param path The array of points representing a path
28
- * */
29
- export declare function PATH_LENGTH(path: IPoint[]): number;
30
- /**
31
- * Calculates the orthogonal height of a triangle. The orthogonal height is
32
- * calculated by drawing a line between the firstPoint and lastPoint, then
33
- * getting the length of a line drawn up from the line to the midPoint at a 90
34
- * degree angle.
35
- * @param first Left-most coordinate of the triangle
36
- * @param mid Top-most coordinate of the triangle
37
- * @param last Right-most coordinate of the triangle
38
- */
39
- export declare function PATH_ORTHOGONAL(first: IPoint, mid: IPoint, last: IPoint): number;
40
- /**
41
- * Performs a Douglas-Peucker path reduction based on the given tolerance.
42
- * @param path The array of points representing a path
43
- * @param tolerance Orthogonal height threshold for candidate points. Default is 0.
44
- * */
45
- export declare function PATH_PEUCKER(path: IPoint[], tolerance?: number): IPoint[];
46
- /**
47
- * Calculates the total area occupied by the given path. Treats non-closed paths as closed paths.
48
- * @param path The array of points representing a path
49
- * */
50
- export declare function POLY_AREA(path: IPoint[]): number;
51
- /**
52
- * A utility export function to determine if a given point is inside the given polygon path.
53
- * @param poly The array of points represents the path of the polygon.
54
- * @param dot The coordinate of the point to be checked.
55
- * */
56
- export declare function POLY_CONTAINS(poly: IPoint[], dot: IPoint): boolean;
57
- /**
58
- * Performs a Douglas-Peucker path reduction on a polygon for the given tolerance.
59
- * The start/end points are variable and the end point is trimmed from the result.
60
- * @param path The array of points representing a path
61
- * @param tolerance Orthogonal height threshold for candidate points. Default is 0.
62
- * */
63
- export declare function POLY_PEUCKER(path: IPoint[], tolerance?: number): IPoint[];
64
- /**
65
- * Wraps the given points into a polygonal path. The given points do not need to be a path. The returned path is not closed.
66
- * @param points The array of points on which to create the non-closed path
67
- * @returns Non-closed path.
68
- */
69
- export declare function POLY_WRAPPER(points: IPoint[]): IPoint[];
70
- /**
71
- * Calculates the area of a circle based on the given radius.
72
- * @param radius
73
- * */
74
- export declare function RADIAL_AREA(radius: number): number;
75
- /**
76
- * Solves the Minimum Enclosing Circle problem using Badoiu Clarkson's algorithm.
77
- * @param points The array of points on which to create the Radial
78
- * @param iterations The higher the iterations the slower and more accurate the Radial. Default is 10,000.
79
- * */
80
- export declare function RADIAL_BADOIU_CLARKSON(points: IPoint[], iterations?: number): IRadial;
81
- /**
82
- * Calculates the circumference of a circle based on the given radius.
83
- * @param radius
84
- * */
85
- export declare function RADIAL_CIRCUMFERENCE(radius: number): number;
86
- /**
87
- * Creates an {@link IRectangle} which contains the given list of {@link IPoint}s.
88
- * @param dots
89
- */
90
- export declare function RECTANGLE_FROM_POINTS(dots: IPoint[]): IRectangle;
91
- /**
92
- * Returns true if the given {@link Radial} overlaps the given {@link Rectangle}.
93
- * @param circle
94
- * @param rect
95
- * */
96
- export declare function RADIAL_OVERLAP_RECTANGLE(circle: IRadial, rect: IRectangle): boolean;
97
- /**
98
- *
99
- * @param rect
100
- */
101
- export declare function RECTANGLE_CENTRE(rect: IRectangle): IPoint;
102
- /**
103
- * Determines if the given {@link IPoint} is contained by the given {@link Rectangle}.
104
- * @param rect
105
- * @param dot
106
- * @returns
107
- */
108
- export declare function RECTANGLE_CONTAINS_POINT(rect: IRectangle, dot: IPoint): boolean;
109
- /**
110
- *
111
- * @param rect
112
- * @param clip
113
- */
114
- export declare function RECTANGLE_TO_RADIAL(rect: IRectangle, clip: boolean): IRadial;
@@ -1,111 +0,0 @@
1
- /**
2
- * A coordinate on a flat surface.
3
- */
4
- export interface IPoint {
5
- /**
6
- * Horizontal coordinate.
7
- */
8
- x: number;
9
- /**
10
- * Vertical coordinate.
11
- */
12
- y: number;
13
- }
14
- /**
15
- * Returns true if the given point conforms to the {@link IPoint} interface.
16
- * @param dot
17
- * @returns
18
- */
19
- export declare function IPoint_instanceOf(dot: any): dot is IPoint;
20
- /**
21
- *
22
- * @param dot
23
- * @returns
24
- */
25
- export declare function IPoint_clone(dot: IPoint): IPoint;
26
- /**
27
- * A boundary on a flat surface based on a centre point and a radius.
28
- */
29
- export interface IRadial extends IPoint {
30
- /**
31
- * Radius.
32
- */
33
- r: number;
34
- }
35
- /**
36
- * The types used to extend a {@link Radial}'s radius.
37
- */
38
- export type RadialExpansion = IPoint | IRadial | RadialExpansion[];
39
- /**
40
- * Returns true if the given radial conforms to the {@link IRadial} interface.
41
- * @param radial
42
- * @returns
43
- */
44
- export declare function IRadial_instanceOf(radial: any): radial is IRadial;
45
- /**
46
- *
47
- * @param circle
48
- * @returns
49
- */
50
- export declare function IRadial_clone(circle: IRadial): IRadial;
51
- /**
52
- * A rectangular boundary on a flat surface.
53
- */
54
- export interface IRectangle {
55
- /**
56
- * Left-most horizontal coordinate
57
- */
58
- left: number;
59
- /**
60
- * Highest vertical coordinate.
61
- */
62
- top: number;
63
- /**
64
- * Right-most horizontal coordinate
65
- */
66
- right: number;
67
- /**
68
- * Lowest vertical coordinate
69
- */
70
- bottom: number;
71
- }
72
- /**
73
- * Returns true if the given rect conforms to the {@link Rectangle} interface.
74
- * @param rect
75
- */
76
- export declare function IRectangle_instanceOf(rect: any): rect is IRectangle;
77
- /**
78
- *
79
- * @param rect
80
- * @returns
81
- */
82
- export declare function IRectangle_clone(rect: IRectangle): IRectangle;
83
- /**
84
- * The types used to extend a {@link Rectangle}'s edges.
85
- */
86
- export type RectangleExpansion = IPoint | IRectangle | IRadial | RectangleExpansion[];
87
- /**
88
- * Dimensions on a flat surface.
89
- */
90
- export interface ISize {
91
- /**
92
- * Width.
93
- */
94
- width: number;
95
- /**
96
- * Height.
97
- */
98
- height: number;
99
- }
100
- /**
101
- * Returns true if the given size conforms to the {@link Size} interface.
102
- * @param size
103
- * @returns
104
- */
105
- export declare function ISize_instanceOf(size: any): size is ISize;
106
- /**
107
- *
108
- * @param size
109
- * @returns
110
- */
111
- export declare function ISize_clone(size: ISize): ISize;
@@ -1,81 +0,0 @@
1
- import { ISerializable } from '../Interfaces/ISerializable';
2
- import { JsonObject } from '../Types';
3
- import { IPoint } from './Interfaces';
4
- import { Radial } from './Radial';
5
- /**
6
- * A coordinate on a flat surface.
7
- */
8
- export declare class Point implements IPoint, ISerializable {
9
- /**
10
- * Returns a new {@link Radial} from the given object.
11
- * @param json
12
- */
13
- static fromJSON(json: IPoint | JsonObject): Point;
14
- /**
15
- * Horizontal coordinate.
16
- */
17
- x: number;
18
- /**
19
- * Vertical coordinate.
20
- */
21
- y: number;
22
- constructor(x: number, y: number);
23
- /**
24
- * Returns a string representation of this {@link Point}.
25
- * @param delimiter The boundary is delimited by a comma (,) by default, but you can override with your own value.
26
- * @returns A string in the format of "x,y".
27
- */
28
- toString(delimiter?: string): string;
29
- /**
30
- * Creates a literal of this {@link Point}.
31
- * Used internally by {@link JSON.stringify}.
32
- */
33
- toJSON(): IPoint;
34
- /**
35
- * Creates a duplicate of this {@link Point}.
36
- */
37
- copy(): Point;
38
- /**
39
- * Compares this {@link Point} to another to see if they are equal.
40
- * @param point The other {@link Point} to compare.
41
- * @param precision The degree of precision to use; default is full precision.
42
- */
43
- isEqual(point: IPoint, precision?: number): point is IPoint;
44
- /**
45
- * Calculates the distance between two {@link Point}s.
46
- * @param point The other {@link Point} to compare
47
- */
48
- distanceTo(point: IPoint): number;
49
- /**
50
- * Calculates the angle (in degrees) to the given {@link Point}.
51
- * @param point
52
- */
53
- angleTo(point: IPoint): number;
54
- /**
55
- * Updates this {@link Point} with the given angle and distance.
56
- * @param distance
57
- * @param degrees
58
- */
59
- translateTo(distance: number, degrees: number): this;
60
- /**
61
- * Updates this {@link Point} with the given offset.
62
- * @param dot
63
- */
64
- offsetTo(dot: IPoint): this;
65
- /**
66
- * Creates a new {@link Point} at the given angle and distance.
67
- * @param distance
68
- * @param degrees
69
- */
70
- toTranslated(distance: number, degrees: number): Point;
71
- /**
72
- * Creates a new {@link Point} based on the given offset.
73
- * @param offset
74
- */
75
- toOffset(offset: IPoint): Point;
76
- /**
77
- * Creates a new {@link Radial} based on the given radius.
78
- * @param radius
79
- */
80
- toRadial(radius: number): Radial;
81
- }