@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,116 +0,0 @@
1
- import { BaseComponent } from "../API/BaseComponent";
2
- import { LatLng } from "../API/Geography/LatLng";
3
- import { IBelongCompany } from "../API/Interfaces/IBelongCompany";
4
- import { IIconic } from "../API/Interfaces/IIconic";
5
- import { IIdUlong } from "../API/Interfaces/IIdUlong";
6
- import { ILabelled } from "../API/Interfaces/ILabelled";
7
- import { INamed } from "../API/Interfaces/INamed";
8
- import { IPictured } from "../API/Interfaces/IPictured";
9
- import { JsonObject, codified, colour, double, ulong } from "../API/Types";
10
- import { Company } from "../Companies/Company";
11
- import { Icon } from "../Images/Icon";
12
- import { Picture } from "../Images/Picture";
13
- import { PlaceType } from "./PlaceType";
14
- /**
15
- * A POI (point-of-interest) saved to the system to help determine an asset's real-world position.
16
- */
17
- export declare class Place extends BaseComponent implements IIdUlong, INamed, IIconic, IBelongCompany, ILabelled, IPictured {
18
- /**
19
- * Unique identifier of this POI.
20
- */
21
- id: ulong;
22
- /**
23
- * The company to which this POI belongs.
24
- * {@link Company.id}
25
- */
26
- companyId: ulong;
27
- /**
28
- * The company to which this POI belongs.
29
- * {@link Company.id}
30
- */
31
- get company(): Company;
32
- /**
33
- * The kind of geography represented by this POI.
34
- */
35
- kind: PlaceType;
36
- /**
37
- * POI's common name instead of street address.
38
- */
39
- name: string;
40
- /**
41
- * Full street address including province/state, country, and postal/zip code.
42
- */
43
- address: string;
44
- /**
45
- * The icon used to display this POI in lists and on the map.
46
- * {@link Icon.id}
47
- */
48
- iconId: ulong;
49
- /**
50
- * The icon used to display this POI in lists and on the map.
51
- * {@link Icon.id}
52
- */
53
- get icon(): Icon;
54
- set icon(value: Icon);
55
- /**
56
- * Notes!
57
- */
58
- notes: string;
59
- /**
60
- * The codified names of labels
61
- */
62
- labels: codified[];
63
- /**
64
- * The fill colour given to this place for easy visual identification on the map (given in 24bit hex; #RRGGBB)
65
- */
66
- colour: colour;
67
- /**
68
- * {@link Picture.id}s of this POI.
69
- */
70
- pictureIds: ulong[];
71
- /**
72
- * {@link Picture}s of this POI.
73
- */
74
- get pictures(): Picture[];
75
- set pictures(values: Picture[]);
76
- /**
77
- * A custom field used to refer to an external system.
78
- */
79
- reference: string;
80
- /**
81
- * A central point of the shape.
82
- * This is the exact centre of a {@link PlaceType.radial} and {@link PlaceType.point} shaped places, and the location of the pin on the map for all types.
83
- * When routing, {@link PlaceType.polygon} and {@link PlaceType.rectangle} shapes use the anchor as the location within the place for deliveries.
84
- */
85
- anchor: LatLng | null;
86
- /**
87
- * This member is only present for {@link PlaceType.radial} shapes, and is the radius in meters from the centre anchor.
88
- */
89
- radius: double;
90
- /**
91
- * A list of points forming a non-self-intersecting polygon.
92
- */
93
- points: LatLng[] | null;
94
- toJSON(): {
95
- id: number | null;
96
- v: number[];
97
- company: number;
98
- icon: number;
99
- name: string;
100
- notes: string;
101
- address: string;
102
- kind: PlaceType;
103
- labels: string[];
104
- colour: string;
105
- pictures: number[];
106
- reference: string;
107
- anchor: import("../API/Geography/Interfaces").ILatLng | null;
108
- radius: number | null;
109
- shape: string | null;
110
- };
111
- fromJSON(json: JsonObject, force?: boolean): boolean;
112
- /**
113
- * The {@link id} is the key.
114
- */
115
- getKey(): number;
116
- }
@@ -1,72 +0,0 @@
1
- import { BaseComponent } from "../../API/BaseComponent";
2
- import { IBelongCompany } from "../../API/Interfaces/IBelongCompany";
3
- import { IIdUlong } from "../../API/Interfaces/IIdUlong";
4
- import { INamed } from "../../API/Interfaces/INamed";
5
- import { SearchPattern } from "../../API/SearchPattern";
6
- import { JsonObject, ulong } from "../../API/Types";
7
- import { Company } from "../../Companies/Company";
8
- import { ProviderScript } from "./ProviderScript";
9
- /**
10
- * The configured script loaded onto the provider over-the-air to control it's reporting schedule and behaviour.
11
- */
12
- export declare class ProviderConfig extends BaseComponent implements IIdUlong, INamed, IBelongCompany {
13
- /**
14
- * Unique identifier of this configuration.
15
- */
16
- id: ulong;
17
- /**
18
- * The company to which this configuration belongs.
19
- * {@link Company.id}
20
- */
21
- companyId: ulong;
22
- /**
23
- * The company to which this configuration belongs.
24
- * {@link Company.id}
25
- */
26
- get company(): Company;
27
- /**
28
- * The script which this configuration implements.
29
- * {@link ProviderScript.id}
30
- */
31
- scriptId: ulong;
32
- /**
33
- * The script which this configuration implements.
34
- * {@link ProviderScript.id}
35
- */
36
- get script(): ProviderScript;
37
- set script(value: ProviderScript);
38
- /**
39
- * The nickname given to this configuration
40
- */
41
- name: string;
42
- /**
43
- * Simple details about how the providers are expected to behave.
44
- */
45
- notes: string;
46
- /**
47
- * The list of defined variable name/value pairs that the script requires.
48
- */
49
- parameters: Map<string, string>;
50
- /**
51
- * A search pattern used to filter which Places' geometry are used as geofences.
52
- * Use null to disable.
53
- * Use "*" to match all the Places the Provider's Asset can match.
54
- * Or use "#123456" or "label:term" like other Place search patterns.
55
- */
56
- geofences: SearchPattern[] | null;
57
- toJSON(): {
58
- id: number | null;
59
- v: number[];
60
- company: number | null;
61
- script: number | null;
62
- name: string;
63
- notes: string;
64
- parameters: JsonObject;
65
- geofences: string | null;
66
- };
67
- fromJSON(json: JsonObject, force?: boolean): boolean;
68
- /**
69
- * The {@link id} is the key.
70
- */
71
- getKey(): number;
72
- }
@@ -1,123 +0,0 @@
1
- import { Base } from "../../API/Base";
2
- import { IBelongAsset } from "../../API/Interfaces/IBelongAsset";
3
- import { IBelongCompany } from "../../API/Interfaces/IBelongCompany";
4
- import { INamed } from "../../API/Interfaces/INamed";
5
- import { IRequestable } from "../../API/Interfaces/IRequestable";
6
- import { ISerializable } from "../../API/Interfaces/ISerializable";
7
- import { email, phone, ulong, JsonObject } from "../../API/Types";
8
- import { User } from "../../Accounts/User";
9
- import { Asset } from "../../Assets/Asset";
10
- import { Company } from "../../Companies/Company";
11
- import { ProviderConfiguration } from "../Configuration/ProviderConfiguration";
12
- import { ProviderType } from "../ProviderType";
13
- import { ProviderConfig } from "./ProviderConfig";
14
- /**
15
- * The temporary reference to a device whose ownership is pending.
16
- */
17
- export declare class ProviderRegistration extends Base implements IRequestable, INamed, IBelongCompany, IBelongAsset, ISerializable {
18
- /**
19
- * A unique six digit code.
20
- */
21
- code: string;
22
- /**
23
- * The company to which the device will belong.
24
- * {@link Company.id}
25
- */
26
- companyId: ulong;
27
- /**
28
- * The company to which the device will belong.
29
- * {@link Company.id}
30
- */
31
- get company(): Company;
32
- /**
33
- * A nickname given to the device once it has been provisioned.
34
- */
35
- name: string;
36
- /**
37
- * Notes!
38
- */
39
- notes: string;
40
- /**
41
- * The password programmed on the device used to ensure the system is the only client authorized to make changes.
42
- */
43
- password: string;
44
- /**
45
- * The unique identifier the user who generated this registration.
46
- * {@link User.login}
47
- */
48
- userLogin: email;
49
- /**
50
- * The unique identifier the user who generated this registration.
51
- * {@link User.login}
52
- */
53
- get user(): User;
54
- /**
55
- * The predefined configuration this device will use.
56
- * {@link ProviderConfig.id}
57
- * {@link ProviderConfiguration.id}
58
- */
59
- configId: ulong;
60
- /**
61
- * The predefined configuration this device will use.
62
- * {@link ProviderConfig.id}
63
- * {@link ProviderConfiguration.id}
64
- */
65
- get config(): ProviderConfig | ProviderConfiguration;
66
- /**
67
- * The kind of protocol this device supports.
68
- */
69
- kind: ProviderType;
70
- /**
71
- * Date/time stamp of when this registration began.
72
- */
73
- since: Date;
74
- /**
75
- * Date/time stamp of when this registration ended successfully.
76
- */
77
- completed: Date;
78
- /**
79
- * The expiry date for this registration.
80
- */
81
- expires: Date;
82
- /**
83
- * The unique identifier of the device that completed this registration.
84
- * {@link Provider.id}
85
- */
86
- identifier: string;
87
- /**
88
- * The Asset for which this device will provide data.
89
- * {@link Asset.id}
90
- */
91
- assetId: ulong;
92
- /**
93
- * The Asset for which this device will provide data.
94
- * {@link Asset.id}
95
- */
96
- get asset(): Asset;
97
- /**
98
- * The phone number of the device being provisioned.
99
- * This is set by the user for long-term registrations, or by the client during serial port setup.
100
- */
101
- phoneNumber: phone;
102
- toJSON(): {
103
- code: string | null;
104
- company: number | null;
105
- name: string;
106
- notes: string;
107
- password: string;
108
- user: string;
109
- config: number | null;
110
- kind: ProviderType;
111
- since: string | null;
112
- completed: string | null;
113
- expires: string | null;
114
- identifier: string;
115
- asset: number | null;
116
- phoneNumber: number | null;
117
- };
118
- fromJSON(json: JsonObject, force?: boolean): boolean;
119
- /**
120
- * The {@link code} is the key.
121
- */
122
- getKey(): string;
123
- }
@@ -1,87 +0,0 @@
1
- import { BaseComponent } from "../../API/BaseComponent";
2
- import { IBelongCompany } from "../../API/Interfaces/IBelongCompany";
3
- import { IGlobal } from "../../API/Interfaces/IGlobal";
4
- import { IIdUlong } from "../../API/Interfaces/IIdUlong";
5
- import { INamed } from "../../API/Interfaces/INamed";
6
- import { IVisual } from "../../API/Interfaces/IVisual";
7
- import { JsonObject, codified, colour, ulong } from "../../API/Types";
8
- import { Company } from "../../Companies/Company";
9
- import { ProviderType } from "../ProviderType";
10
- import { ProviderScriptBlock } from "./ProviderScriptBlock";
11
- import { ProviderScriptParameter } from "./ProviderScriptParameter";
12
- /**
13
- * This class describes a type of logic applied to a provider.
14
- * A script will generate a file which is loaded onto a provider in the field.
15
- */
16
- export declare class ProviderScript extends BaseComponent implements IIdUlong, INamed, IBelongCompany, IGlobal, IVisual {
17
- /**
18
- * Unique identifier of this configuration.
19
- */
20
- id: ulong;
21
- /**
22
- * The company to which this configuration belongs.
23
- * {@link Company.id}
24
- */
25
- companyId: ulong;
26
- /**
27
- * The company to which this configuration belongs.
28
- * {@link Company.id}
29
- */
30
- get company(): Company;
31
- /**
32
- * The nickname given to this configuration
33
- */
34
- name: string;
35
- /**
36
- * Simple details about how the providers are expected to behave.
37
- */
38
- notes: string;
39
- /**
40
- * The fill/background colour of the icon.
41
- */
42
- fill: colour;
43
- /**
44
- * Outline and graphic colour.
45
- */
46
- stroke: colour;
47
- /**
48
- * The name of the symbol for this script.
49
- */
50
- graphic: codified;
51
- /**
52
- * Indicates whether this script is available to child companies.
53
- */
54
- global: boolean;
55
- /**
56
- * The type of provider for which this script can be used.
57
- * Limiting to a specific model from a manufacturer is accomplished through the block conditions.
58
- */
59
- kind: ProviderType;
60
- /**
61
- * Blocks of file data which are (optionally) included in the script data file.
62
- */
63
- blocks: ProviderScriptBlock[];
64
- /**
65
- * Parameter definitions for this script, including type-hints and default values.
66
- */
67
- parameters: Map<string, ProviderScriptParameter>;
68
- toJSON(): {
69
- id: number | null;
70
- v: number[];
71
- company: number;
72
- name: string;
73
- notes: string;
74
- fill: string;
75
- stroke: string;
76
- graphic: string;
77
- global: boolean;
78
- kind: ProviderType;
79
- blocks: any[];
80
- parameters: JsonObject;
81
- };
82
- fromJSON(json: JsonObject, force?: boolean): boolean;
83
- /**
84
- * The {@link id} is the key.
85
- */
86
- getKey(): number;
87
- }
@@ -1,41 +0,0 @@
1
- import { ISerializable } from "../../API/Interfaces/ISerializable";
2
- import { JsonObject } from "../../API/Types";
3
- /**
4
- * A chunk of script and variables used to assemble a working ProviderScript.
5
- */
6
- export declare class ProviderScriptBlock implements ISerializable {
7
- /**
8
- *
9
- * @param json
10
- * @returns
11
- */
12
- static fromJSON(json: JsonObject): ProviderScriptBlock;
13
- /**
14
- * A chunk of the file loaded onto a provider with it's variables replaced with configurable variables.
15
- * Trailing or leading whitespace should be included here, so when blocks are merged, so too is the newline characters.
16
- */
17
- content: string;
18
- /**
19
- * A regular expression used to match variables in the content.
20
- * The regex must contain at least one match-group.
21
- * The value fom the last group is what's used as a parameter name.
22
- * @example {{([a-z]+)}}
23
- * @example &lt;(var[a-z]+)&gt;
24
- */
25
- replace: string;
26
- /**
27
- * When defined, this condition matches a {@link ProviderScriptParameter} defined in the {@link ProviderConfig} to include or exclude this chunk from the script.
28
- */
29
- condition: string;
30
- /**
31
- * Used in conjunction with condition, this value must match the given ProviderScriptParameter value to have the chunk included.
32
- */
33
- validate: string;
34
- constructor(content?: string, replace?: string, condition?: string, validate?: string);
35
- toJSON(): {
36
- content: string;
37
- replace: string;
38
- condition: string;
39
- validate: string;
40
- };
41
- }
@@ -1,49 +0,0 @@
1
- import { ISerializable } from "../../API/Interfaces/ISerializable";
2
- import { uint, JsonObject } from "../../API/Types";
3
- import { ProviderScriptParameterType } from "./ProviderScriptParameterType";
4
- /**
5
- * Definition of an argument passed to a ProviderScript.
6
- */
7
- export declare class ProviderScriptParameter implements ISerializable {
8
- /**
9
- *
10
- * @param json
11
- * @returns
12
- */
13
- static fromJSON(json: JsonObject): ProviderScriptParameter;
14
- /**
15
- * Simple type information for the gateway to process.
16
- */
17
- kind: ProviderScriptParameterType;
18
- /**
19
- * The value is given as a string, but parsed into native type when used by the gateway.
20
- */
21
- value: string;
22
- /**
23
- * Usage notes.
24
- */
25
- notes: string;
26
- /**
27
- * Gives a hint to the client on the best UI to use for editing.
28
- * For example, "checkbox" is a good UI hint for boolean parameter types.
29
- */
30
- context: string;
31
- /**
32
- * The order in which this parameter is displayed compared to other parameters.
33
- * The value has no effect on how this parameter is inserted into the ProviderScriptBlocks.
34
- */
35
- order: uint;
36
- /**
37
- * Used as a hint that this parameter controls an advanced script option and should only be set if you really know what you're doing.
38
- */
39
- advanced: boolean;
40
- constructor(kind?: ProviderScriptParameterType, value?: string, notes?: string, context?: string, order?: uint, advanced?: boolean);
41
- toJSON(): {
42
- kind: ProviderScriptParameterType;
43
- value: string;
44
- notes: string;
45
- context: string;
46
- order: number;
47
- advanced: boolean;
48
- };
49
- }
@@ -1,17 +0,0 @@
1
- /**
2
- * Possible data-types given to ProviderScriptParameter.
3
- */
4
- export declare enum ProviderScriptParameterType {
5
- /**
6
- * True or false.
7
- */
8
- boolean = "boolean",
9
- /**
10
- * Numeric value (double-precision floating point number).
11
- */
12
- number = "number",
13
- /**
14
- * Text.
15
- */
16
- text = "text"
17
- }
@@ -1,68 +0,0 @@
1
- import { BaseComponent } from "../../API/BaseComponent";
2
- import { IBelongCompany } from "../../API/Interfaces/IBelongCompany";
3
- import { IIdUlong } from "../../API/Interfaces/IIdUlong";
4
- import { INamed } from "../../API/Interfaces/INamed";
5
- import { JsonObject, ulong } from "../../API/Types";
6
- import { Company } from "../../Companies/Company";
7
- import { ProviderConfigurationType } from "./ProviderConfigurationType";
8
- /**
9
- * The configured logic loaded onto the provider over-the-air to control it's reporting schedule and behaviour.
10
- * @deprecated Use {@link ProviderConfig} instead.
11
- */
12
- export declare class ProviderConfiguration extends BaseComponent implements IIdUlong, INamed, IBelongCompany {
13
- /**
14
- * Unique identifier of this configuration.
15
- */
16
- id: ulong;
17
- /**
18
- * The company to which this configuration belongs.
19
- * {@link Company.id}
20
- */
21
- companyId: ulong;
22
- /**
23
- * The company to which this configuration belongs.
24
- * {@link Company.id}
25
- */
26
- get company(): Company;
27
- /**
28
- * The nickname given to this configuration
29
- */
30
- name: string;
31
- /**
32
- * Simple details about how the providers are expected to behave.
33
- */
34
- notes: string;
35
- /**
36
- * The logic type which this configuration implements.
37
- * {@link ProviderConfigurationType.id}
38
- */
39
- typeId: ulong;
40
- /**
41
- * The logic type which this configuration implements.
42
- * {@link ProviderConfigurationType.id}
43
- */
44
- get type(): ProviderConfigurationType;
45
- /**
46
- * The list of defined variables given to the {@link ProviderConfigurationType.scriptOptions|logic type's options} pairs for the logic type requires.
47
- */
48
- scriptParameters: Map<string, any>;
49
- /**
50
- * List of Places loaded directly onto the provider.
51
- */
52
- geofences: ulong[];
53
- toJSON(): {
54
- id: number;
55
- company: number;
56
- v: number[];
57
- name: string;
58
- notes: string;
59
- type: number | null;
60
- scriptParameters: JsonObject;
61
- geofences: number[];
62
- };
63
- fromJSON(json: JsonObject, force?: boolean): boolean;
64
- /**
65
- * The {@link id} is the key.
66
- */
67
- getKey(): number;
68
- }
@@ -1,66 +0,0 @@
1
- import { ISerializable } from '../../API/Interfaces/ISerializable';
2
- import { JsonObject } from '../../API/Types';
3
- /**
4
- * This tree-like structure is given to the script processor for the device type so that the device can follow a program.
5
- * @deprecated Use ProviderScriptBlock instead
6
- */
7
- export declare class ProviderConfigurationNode implements ISerializable {
8
- /**
9
- *
10
- * @param json
11
- */
12
- static nodesFromJSON(json: JsonObject): Map<string, ProviderConfigurationNode>;
13
- /**
14
- *
15
- * @param json
16
- */
17
- static fromJSON(json: JsonObject): ProviderConfigurationNode;
18
- /**
19
- * Indicates that this configuration is an advanced property and should only be set by someone who knows what they're doing.
20
- */
21
- isAdvanced: boolean;
22
- /**
23
- * Unique identifier of the value being mapped.
24
- */
25
- id: string;
26
- /**
27
- * The value being set.
28
- */
29
- value: any;
30
- /**
31
- * The minimum possible value for this confugration node.
32
- */
33
- min: any;
34
- /**
35
- * The maximum possible value for this confugration node.
36
- */
37
- max: any;
38
- /**
39
- * Type hint used by the script processor to help format the value.
40
- */
41
- type: string;
42
- /**
43
- * Unit hint used to help the script processor format the value.
44
- */
45
- unit: string;
46
- /**
47
- * Description of what this configuration does when mapped to a device.
48
- */
49
- notes: string;
50
- /**
51
- * Child configuration nodes.
52
- */
53
- nodes: Map<string, ProviderConfigurationNode>;
54
- constructor(id?: string, notes?: string, isAdvanced?: boolean, type?: string, min?: any, max?: any, value?: any, unit?: string, nodes?: Map<string, ProviderConfigurationNode>);
55
- toJSON(): {
56
- id: string;
57
- value: any;
58
- min: any;
59
- max: any;
60
- type: string;
61
- unit: string;
62
- notes: string;
63
- isAdvanced: boolean;
64
- nodes: JsonObject;
65
- };
66
- }