@trakit/objects 0.0.6 → 0.0.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (425) hide show
  1. package/_publish/API/Arrays.d.ts +1 -0
  2. package/_publish/API/Base.d.ts +1 -0
  3. package/_publish/API/BaseComponent.d.ts +1 -0
  4. package/_publish/API/BaseCompound.d.ts +1 -0
  5. package/_publish/API/Codifier.d.ts +1 -0
  6. package/_publish/API/Constants.d.ts +1 -0
  7. package/_publish/API/Conversion.d.ts +3 -2
  8. package/_publish/API/Encoding.d.ts +1 -0
  9. package/_publish/API/Files.d.ts +1 -0
  10. package/_publish/API/Functions.d.ts +1 -0
  11. package/_publish/API/Guid.d.ts +1 -0
  12. package/_publish/API/Maps.d.ts +1 -0
  13. package/_publish/API/Objects.d.ts +1 -0
  14. package/_publish/API/SearchPattern.d.ts +1 -0
  15. package/_publish/API/TimeSpan.d.ts +1 -0
  16. package/_publish/API/Timezone.d.ts +1 -0
  17. package/_publish/API/Timezones.d.ts +1 -0
  18. package/_publish/API/Types.d.ts +24 -23
  19. package/_publish/Accounts/Contact.d.ts +4 -4
  20. package/_publish/Accounts/Machine.d.ts +1 -0
  21. package/_publish/{objects/Accounts → Accounts}/MultiFactorType.d.ts +1 -0
  22. package/_publish/Accounts/NotificationMethod.d.ts +1 -0
  23. package/_publish/{objects/Accounts → Accounts}/SSOIdentityProvider.d.ts +1 -0
  24. package/_publish/Accounts/Session.d.ts +12 -14
  25. package/_publish/Accounts/SessionStatus.d.ts +1 -0
  26. package/_publish/Accounts/SystemsOfUnits.d.ts +1 -0
  27. package/_publish/Accounts/User.d.ts +34 -13
  28. package/_publish/Accounts/UserAdvanced.d.ts +2 -2
  29. package/_publish/{objects/Accounts → Accounts}/UserAuthentication.d.ts +1 -0
  30. package/_publish/Accounts/UserGeneral.d.ts +3 -4
  31. package/_publish/Accounts/UserGroup.d.ts +2 -2
  32. package/_publish/{objects/Accounts → Accounts}/UserMFA.d.ts +1 -0
  33. package/_publish/Accounts/UserNotifications.d.ts +1 -0
  34. package/_publish/{objects/Accounts → Accounts}/UserSSO.d.ts +1 -0
  35. package/_publish/Assets/Asset.d.ts +6 -11
  36. package/_publish/Assets/AssetAdvanced.d.ts +2 -2
  37. package/_publish/Assets/AssetAttribute.d.ts +1 -0
  38. package/_publish/Assets/AssetDispatch.d.ts +2 -2
  39. package/_publish/Assets/AssetGeneral.d.ts +3 -4
  40. package/_publish/Assets/AssetPlaceStatus.d.ts +1 -0
  41. package/_publish/Assets/AssetPlaceStatusType.d.ts +1 -0
  42. package/_publish/Assets/AssetType.d.ts +1 -0
  43. package/_publish/Behaviours/Behaviour.d.ts +2 -2
  44. package/_publish/Behaviours/BehaviourLog.d.ts +3 -4
  45. package/_publish/Behaviours/BehaviourLogType.d.ts +1 -0
  46. package/_publish/Behaviours/BehaviourParameter.d.ts +1 -0
  47. package/_publish/Behaviours/BehaviourParameterType.d.ts +1 -0
  48. package/_publish/Behaviours/BehaviourScript.d.ts +2 -2
  49. package/_publish/Billing/BillableBase.d.ts +3 -4
  50. package/_publish/Billing/BillableSmsProfile.d.ts +1 -0
  51. package/_publish/Billing/BillingCurrency.d.ts +1 -0
  52. package/_publish/Billing/BillingCycle.d.ts +1 -0
  53. package/_publish/Billing/BillingProfile.d.ts +5 -7
  54. package/_publish/Companies/ColourStyle.d.ts +1 -0
  55. package/_publish/Companies/Company.d.ts +5 -2
  56. package/_publish/Companies/CompanyDirectory.d.ts +3 -4
  57. package/_publish/Companies/CompanyGeneral.d.ts +2 -2
  58. package/_publish/Companies/CompanyPolicy.d.ts +2 -2
  59. package/_publish/Companies/CompanyReseller.d.ts +3 -4
  60. package/_publish/Companies/CompanyStyle.d.ts +2 -2
  61. package/_publish/Companies/LabelStyle.d.ts +1 -0
  62. package/_publish/Companies/NotificationServerEmail.d.ts +3 -2
  63. package/_publish/Companies/NotificationServerSms.d.ts +1 -0
  64. package/_publish/Companies/PasswordExpiryMode.d.ts +1 -0
  65. package/_publish/Companies/PasswordPolicy.d.ts +1 -0
  66. package/_publish/Companies/SessionMultiUser.d.ts +1 -0
  67. package/_publish/Companies/SessionPolicy.d.ts +1 -0
  68. package/_publish/Dispatch/DispatchDirection.d.ts +1 -0
  69. package/_publish/Dispatch/DispatchJob.d.ts +2 -3
  70. package/_publish/Dispatch/DispatchJobPriority.d.ts +1 -0
  71. package/_publish/Dispatch/DispatchStep.d.ts +1 -0
  72. package/_publish/Dispatch/DispatchStepState.d.ts +1 -0
  73. package/_publish/Dispatch/DispatchStepStatus.d.ts +1 -0
  74. package/_publish/Dispatch/DispatchTask.d.ts +3 -4
  75. package/_publish/Dispatch/DispatchTaskStatus.d.ts +1 -0
  76. package/_publish/Hosting/Document.d.ts +2 -2
  77. package/_publish/Hosting/FormFieldType.d.ts +1 -0
  78. package/_publish/Hosting/FormResult.d.ts +1 -2
  79. package/_publish/Hosting/FormTemplate.d.ts +1 -1
  80. package/_publish/Images/Dashcam.d.ts +4 -10
  81. package/_publish/Images/DashcamBase.d.ts +9 -9
  82. package/_publish/Images/DashcamLive.d.ts +4 -10
  83. package/_publish/Images/DashcamMediaType.d.ts +1 -0
  84. package/_publish/Images/Icon.d.ts +2 -2
  85. package/_publish/Images/IconGlyph.d.ts +1 -0
  86. package/_publish/Images/IconLabel.d.ts +1 -0
  87. package/_publish/Images/IconLayer.d.ts +1 -0
  88. package/_publish/Images/Picture.d.ts +2 -2
  89. package/_publish/Maintenance/MaintenanceInterval.d.ts +1 -1
  90. package/_publish/Maintenance/MaintenanceJob.d.ts +3 -5
  91. package/_publish/Maintenance/MaintenanceJobStatus.d.ts +1 -0
  92. package/_publish/Maintenance/MaintenanceSchedule.d.ts +2 -2
  93. package/_publish/Messaging/AlertPriority.d.ts +1 -0
  94. package/_publish/Messaging/AssetAlert.d.ts +1 -0
  95. package/_publish/Messaging/AssetMessage.d.ts +1 -0
  96. package/_publish/Messaging/MessageBase.d.ts +3 -4
  97. package/_publish/Messaging/MessageFolder.d.ts +1 -0
  98. package/_publish/Messaging/MessageStatus.d.ts +1 -0
  99. package/_publish/Messaging/MessageType.d.ts +1 -0
  100. package/_publish/Places/Place.d.ts +3 -4
  101. package/_publish/Places/PlaceType.d.ts +1 -0
  102. package/_publish/Providers/Provider.d.ts +3 -8
  103. package/_publish/Providers/ProviderAdvanced.d.ts +2 -2
  104. package/_publish/Providers/ProviderCommand.d.ts +1 -0
  105. package/_publish/Providers/ProviderCommandStatus.d.ts +1 -0
  106. package/_publish/Providers/ProviderCommandType.d.ts +1 -0
  107. package/_publish/Providers/ProviderControl.d.ts +2 -2
  108. package/_publish/Providers/ProviderData.d.ts +1 -0
  109. package/_publish/Providers/ProviderGeneral.d.ts +4 -7
  110. package/_publish/Providers/ProviderType.d.ts +1 -0
  111. package/_publish/Reports/ReportBreakdown.d.ts +1 -0
  112. package/_publish/Reports/ReportBreakdownJob.d.ts +1 -0
  113. package/_publish/Reports/ReportBreakdownMessage.d.ts +1 -0
  114. package/_publish/Reports/ReportBreakdownTask.d.ts +1 -0
  115. package/_publish/Reports/ReportBreakdown_fromJSON.d.ts +1 -0
  116. package/_publish/Reports/ReportFilterMode.d.ts +1 -0
  117. package/_publish/Reports/ReportNotifications.d.ts +1 -0
  118. package/_publish/Reports/ReportOptions.d.ts +1 -0
  119. package/_publish/Reports/ReportParameter.d.ts +1 -0
  120. package/_publish/Reports/ReportParameterType.d.ts +1 -0
  121. package/_publish/Reports/ReportRecurrence.d.ts +1 -0
  122. package/_publish/Reports/ReportRecurrenceType.d.ts +1 -0
  123. package/_publish/Reports/ReportResult.d.ts +2 -2
  124. package/_publish/Reports/ReportResultData.d.ts +1 -0
  125. package/_publish/Reports/ReportSchedule.d.ts +2 -2
  126. package/_publish/Reports/ReportScorecard.d.ts +2 -2
  127. package/_publish/Reports/ReportScorecardParameter.d.ts +1 -0
  128. package/_publish/Reports/ReportScorecardRules.d.ts +1 -0
  129. package/_publish/Reports/ReportStatus.d.ts +1 -0
  130. package/_publish/Reports/ReportSummary.d.ts +2 -2
  131. package/_publish/Reports/ReportSummaryReason.d.ts +1 -0
  132. package/_publish/Reports/ReportTemplate.d.ts +2 -2
  133. package/_publish/Reports/ReportTotal.d.ts +2 -2
  134. package/_publish/Reports/ReportType.d.ts +1 -0
  135. package/_publish/index.d.ts +230 -229
  136. package/_publish/storage.d.ts +1 -0
  137. package/package.json +4 -2
  138. package/_publish/API/Geography/Functions.d.ts +0 -236
  139. package/_publish/API/Geography/Interfaces.d.ts +0 -150
  140. package/_publish/API/Geography/LatLng.d.ts +0 -86
  141. package/_publish/API/Geography/LatLngBounds.d.ts +0 -146
  142. package/_publish/API/Geography/Position.d.ts +0 -74
  143. package/_publish/API/Geography/StreetAddress.d.ts +0 -59
  144. package/_publish/API/Geometry/Functions.d.ts +0 -114
  145. package/_publish/API/Geometry/Interfaces.d.ts +0 -111
  146. package/_publish/API/Geometry/Point.d.ts +0 -81
  147. package/_publish/API/Geometry/Radial.d.ts +0 -110
  148. package/_publish/API/Geometry/Rectangle.d.ts +0 -159
  149. package/_publish/API/Geometry/Size.d.ts +0 -58
  150. package/_publish/API/Interfaces/IAmCompany.d.ts +0 -11
  151. package/_publish/API/Interfaces/IAuditable.d.ts +0 -31
  152. package/_publish/API/Interfaces/IBelongAsset.d.ts +0 -15
  153. package/_publish/API/Interfaces/IBelongBillingProfile.d.ts +0 -15
  154. package/_publish/API/Interfaces/IBelongCompany.d.ts +0 -15
  155. package/_publish/API/Interfaces/IDeserializable.d.ts +0 -13
  156. package/_publish/API/Interfaces/IEnabled.d.ts +0 -10
  157. package/_publish/API/Interfaces/IFileSize.d.ts +0 -9
  158. package/_publish/API/Interfaces/IGlobal.d.ts +0 -11
  159. package/_publish/API/Interfaces/IHavePermissions.d.ts +0 -20
  160. package/_publish/API/Interfaces/IHavePreferences.d.ts +0 -29
  161. package/_publish/API/Interfaces/IIconic.d.ts +0 -15
  162. package/_publish/API/Interfaces/IIdUlong.d.ts +0 -10
  163. package/_publish/API/Interfaces/ILabelled.d.ts +0 -10
  164. package/_publish/API/Interfaces/INamed.d.ts +0 -13
  165. package/_publish/API/Interfaces/IPictured.d.ts +0 -15
  166. package/_publish/API/Interfaces/IRequestable.d.ts +0 -22
  167. package/_publish/API/Interfaces/ISerializable.d.ts +0 -10
  168. package/_publish/API/Interfaces/ISuspendable.d.ts +0 -16
  169. package/_publish/API/Interfaces/IVisual.d.ts +0 -18
  170. package/_publish/Accounts/Permissions/Authorizer.d.ts +0 -204
  171. package/_publish/Accounts/Permissions/Permission.d.ts +0 -57
  172. package/_publish/Accounts/Permissions/PermissionEscalation.d.ts +0 -41
  173. package/_publish/Accounts/Permissions/PermissionEscalationState.d.ts +0 -19
  174. package/_publish/Accounts/Permissions/PermissionEscalationType.d.ts +0 -13
  175. package/_publish/Accounts/Permissions/PermissionLevel.d.ts +0 -17
  176. package/_publish/Accounts/Permissions/PermissionMethod.d.ts +0 -13
  177. package/_publish/Accounts/Permissions/PermissionType.d.ts +0 -280
  178. package/_publish/Billing/Hosting/BillableHostingBase.d.ts +0 -41
  179. package/_publish/Billing/Hosting/BillableHostingDiscount.d.ts +0 -36
  180. package/_publish/Billing/Hosting/BillableHostingLicense.d.ts +0 -30
  181. package/_publish/Billing/Hosting/BillableHostingLicenseType.d.ts +0 -20
  182. package/_publish/Billing/Hosting/BillableHostingRule.d.ts +0 -30
  183. package/_publish/Billing/Hosting/BillableHostingType.d.ts +0 -41
  184. package/_publish/Billing/Report/BillingReport.d.ts +0 -114
  185. package/_publish/Billing/Report/BillingReportBreakdown.d.ts +0 -35
  186. package/_publish/Billing/Report/BillingReportHostingSummary.d.ts +0 -36
  187. package/_publish/Billing/Report/BillingReportLicenseBreakdown.d.ts +0 -80
  188. package/_publish/Billing/Report/BillingReportServiceBreakdown.d.ts +0 -126
  189. package/_publish/Billing/Report/BillingReportStatus.d.ts +0 -25
  190. package/_publish/Billing/Report/BillingReportSummary.d.ts +0 -51
  191. package/_publish/Hosting/Fields/FormFieldAttachments.d.ts +0 -31
  192. package/_publish/Hosting/Fields/FormFieldBase.d.ts +0 -56
  193. package/_publish/Hosting/Fields/FormFieldBase_fromJSON.d.ts +0 -1
  194. package/_publish/Hosting/Fields/FormFieldBoolean.d.ts +0 -38
  195. package/_publish/Hosting/Fields/FormFieldChoice.d.ts +0 -46
  196. package/_publish/Hosting/Fields/FormFieldDate.d.ts +0 -26
  197. package/_publish/Hosting/Fields/FormFieldNumeric.d.ts +0 -54
  198. package/_publish/Hosting/Fields/FormFieldNumericSize.d.ts +0 -32
  199. package/_publish/Hosting/Fields/FormFieldSignature.d.ts +0 -17
  200. package/_publish/Hosting/Fields/FormFieldText.d.ts +0 -32
  201. package/_publish/Hosting/Fields/FormFieldTime.d.ts +0 -37
  202. package/_publish/Hosting/Fields/FormFieldTimezone.d.ts +0 -14
  203. package/_publish/Providers/Config/ProviderConfig.d.ts +0 -72
  204. package/_publish/Providers/Config/ProviderRegistration.d.ts +0 -123
  205. package/_publish/Providers/Config/ProviderScript.d.ts +0 -87
  206. package/_publish/Providers/Config/ProviderScriptBlock.d.ts +0 -41
  207. package/_publish/Providers/Config/ProviderScriptParameter.d.ts +0 -49
  208. package/_publish/Providers/Config/ProviderScriptParameterType.d.ts +0 -17
  209. package/_publish/Providers/Configuration/ProviderConfiguration.d.ts +0 -68
  210. package/_publish/Providers/Configuration/ProviderConfigurationNode.d.ts +0 -66
  211. package/_publish/Providers/Configuration/ProviderConfigurationType.d.ts +0 -62
  212. package/_publish/Providers/Configuration/ProviderGeofenceBase.d.ts +0 -29
  213. package/_publish/Providers/Configuration/ProviderGeofenceBase_fromJSON.d.ts +0 -1
  214. package/_publish/Providers/Configuration/ProviderGeofenceCircular.d.ts +0 -28
  215. package/_publish/Providers/Configuration/ProviderGeofencePoint.d.ts +0 -12
  216. package/_publish/Providers/Configuration/ProviderGeofencePolygon.d.ts +0 -23
  217. package/_publish/Providers/Configuration/ProviderGeofenceRectangle.d.ts +0 -28
  218. package/_publish/objects/API/Arrays.d.ts +0 -46
  219. package/_publish/objects/API/Base.d.ts +0 -19
  220. package/_publish/objects/API/BaseComponent.d.ts +0 -40
  221. package/_publish/objects/API/BaseCompound.d.ts +0 -19
  222. package/_publish/objects/API/Codifier.d.ts +0 -15
  223. package/_publish/objects/API/Constants.d.ts +0 -39
  224. package/_publish/objects/API/Conversion.d.ts +0 -255
  225. package/_publish/objects/API/Encoding.d.ts +0 -9
  226. package/_publish/objects/API/Files.d.ts +0 -21
  227. package/_publish/objects/API/Functions.d.ts +0 -196
  228. package/_publish/objects/API/Geography/Functions.d.ts +0 -236
  229. package/_publish/objects/API/Geography/Interfaces.d.ts +0 -150
  230. package/_publish/objects/API/Geography/LatLng.d.ts +0 -86
  231. package/_publish/objects/API/Geography/LatLngBounds.d.ts +0 -146
  232. package/_publish/objects/API/Geography/Position.d.ts +0 -74
  233. package/_publish/objects/API/Geography/StreetAddress.d.ts +0 -59
  234. package/_publish/objects/API/Geometry/Functions.d.ts +0 -114
  235. package/_publish/objects/API/Geometry/Interfaces.d.ts +0 -111
  236. package/_publish/objects/API/Geometry/Point.d.ts +0 -81
  237. package/_publish/objects/API/Geometry/Radial.d.ts +0 -110
  238. package/_publish/objects/API/Geometry/Rectangle.d.ts +0 -159
  239. package/_publish/objects/API/Geometry/Size.d.ts +0 -58
  240. package/_publish/objects/API/Guid.d.ts +0 -4
  241. package/_publish/objects/API/Interfaces/IAmCompany.d.ts +0 -11
  242. package/_publish/objects/API/Interfaces/IBelongAsset.d.ts +0 -15
  243. package/_publish/objects/API/Interfaces/IBelongBillingProfile.d.ts +0 -15
  244. package/_publish/objects/API/Interfaces/IBelongCompany.d.ts +0 -15
  245. package/_publish/objects/API/Interfaces/IDeserializable.d.ts +0 -13
  246. package/_publish/objects/API/Interfaces/IEnabled.d.ts +0 -10
  247. package/_publish/objects/API/Interfaces/IFileSize.d.ts +0 -9
  248. package/_publish/objects/API/Interfaces/IGlobal.d.ts +0 -11
  249. package/_publish/objects/API/Interfaces/IHavePermissions.d.ts +0 -20
  250. package/_publish/objects/API/Interfaces/IHavePreferences.d.ts +0 -29
  251. package/_publish/objects/API/Interfaces/IIconic.d.ts +0 -15
  252. package/_publish/objects/API/Interfaces/IIdUlong.d.ts +0 -10
  253. package/_publish/objects/API/Interfaces/ILabelled.d.ts +0 -10
  254. package/_publish/objects/API/Interfaces/INamed.d.ts +0 -13
  255. package/_publish/objects/API/Interfaces/IPictured.d.ts +0 -15
  256. package/_publish/objects/API/Interfaces/IRequestable.d.ts +0 -22
  257. package/_publish/objects/API/Interfaces/ISerializable.d.ts +0 -10
  258. package/_publish/objects/API/Interfaces/ISuspendable.d.ts +0 -16
  259. package/_publish/objects/API/Interfaces/IVisual.d.ts +0 -18
  260. package/_publish/objects/API/Maps.d.ts +0 -28
  261. package/_publish/objects/API/Objects.d.ts +0 -5
  262. package/_publish/objects/API/SearchPattern.d.ts +0 -46
  263. package/_publish/objects/API/TimeSpan.d.ts +0 -109
  264. package/_publish/objects/API/Timezone.d.ts +0 -44
  265. package/_publish/objects/API/Timezones.d.ts +0 -7
  266. package/_publish/objects/API/Types.d.ts +0 -132
  267. package/_publish/objects/Accounts/Contact.d.ts +0 -139
  268. package/_publish/objects/Accounts/Machine.d.ts +0 -139
  269. package/_publish/objects/Accounts/NotificationMethod.d.ts +0 -17
  270. package/_publish/objects/Accounts/Permissions/Authorizer.d.ts +0 -204
  271. package/_publish/objects/Accounts/Permissions/Permission.d.ts +0 -56
  272. package/_publish/objects/Accounts/Permissions/PermissionEscalation.d.ts +0 -41
  273. package/_publish/objects/Accounts/Permissions/PermissionEscalationState.d.ts +0 -19
  274. package/_publish/objects/Accounts/Permissions/PermissionEscalationType.d.ts +0 -13
  275. package/_publish/objects/Accounts/Permissions/PermissionLevel.d.ts +0 -17
  276. package/_publish/objects/Accounts/Permissions/PermissionMethod.d.ts +0 -13
  277. package/_publish/objects/Accounts/Permissions/PermissionType.d.ts +0 -280
  278. package/_publish/objects/Accounts/Session.d.ts +0 -89
  279. package/_publish/objects/Accounts/SessionStatus.d.ts +0 -29
  280. package/_publish/objects/Accounts/SystemsOfUnits.d.ts +0 -13
  281. package/_publish/objects/Accounts/User.d.ts +0 -167
  282. package/_publish/objects/Accounts/UserAdvanced.d.ts +0 -53
  283. package/_publish/objects/Accounts/UserGeneral.d.ts +0 -98
  284. package/_publish/objects/Accounts/UserGroup.d.ts +0 -51
  285. package/_publish/objects/Accounts/UserNotifications.d.ts +0 -76
  286. package/_publish/objects/Assets/Asset.d.ts +0 -218
  287. package/_publish/objects/Assets/AssetAdvanced.d.ts +0 -77
  288. package/_publish/objects/Assets/AssetAttribute.d.ts +0 -71
  289. package/_publish/objects/Assets/AssetDispatch.d.ts +0 -55
  290. package/_publish/objects/Assets/AssetGeneral.d.ts +0 -127
  291. package/_publish/objects/Assets/AssetPlaceStatus.d.ts +0 -31
  292. package/_publish/objects/Assets/AssetPlaceStatusType.d.ts +0 -17
  293. package/_publish/objects/Assets/AssetType.d.ts +0 -21
  294. package/_publish/objects/Behaviours/Behaviour.d.ts +0 -78
  295. package/_publish/objects/Behaviours/BehaviourLog.d.ts +0 -95
  296. package/_publish/objects/Behaviours/BehaviourLogType.d.ts +0 -21
  297. package/_publish/objects/Behaviours/BehaviourParameter.d.ts +0 -38
  298. package/_publish/objects/Behaviours/BehaviourParameterType.d.ts +0 -21
  299. package/_publish/objects/Behaviours/BehaviourScript.d.ts +0 -83
  300. package/_publish/objects/Billing/BillableBase.d.ts +0 -83
  301. package/_publish/objects/Billing/BillableSmsProfile.d.ts +0 -26
  302. package/_publish/objects/Billing/BillingCurrency.d.ts +0 -17
  303. package/_publish/objects/Billing/BillingCycle.d.ts +0 -17
  304. package/_publish/objects/Billing/BillingProfile.d.ts +0 -104
  305. package/_publish/objects/Billing/Hosting/BillableHostingBase.d.ts +0 -41
  306. package/_publish/objects/Billing/Hosting/BillableHostingLicense.d.ts +0 -30
  307. package/_publish/objects/Billing/Hosting/BillableHostingLicenseType.d.ts +0 -20
  308. package/_publish/objects/Billing/Hosting/BillableHostingRule.d.ts +0 -30
  309. package/_publish/objects/Billing/Hosting/BillableHostingType.d.ts +0 -41
  310. package/_publish/objects/Billing/Report/BillingReport.d.ts +0 -112
  311. package/_publish/objects/Billing/Report/BillingReportBreakdown.d.ts +0 -34
  312. package/_publish/objects/Billing/Report/BillingReportHostingSummary.d.ts +0 -36
  313. package/_publish/objects/Billing/Report/BillingReportLicenseBreakdown.d.ts +0 -79
  314. package/_publish/objects/Billing/Report/BillingReportServiceBreakdown.d.ts +0 -124
  315. package/_publish/objects/Billing/Report/BillingReportStatus.d.ts +0 -25
  316. package/_publish/objects/Billing/Report/BillingReportSummary.d.ts +0 -49
  317. package/_publish/objects/Companies/ColourStyle.d.ts +0 -25
  318. package/_publish/objects/Companies/Company.d.ts +0 -167
  319. package/_publish/objects/Companies/CompanyDirectory.d.ts +0 -52
  320. package/_publish/objects/Companies/CompanyGeneral.d.ts +0 -55
  321. package/_publish/objects/Companies/CompanyPolicy.d.ts +0 -66
  322. package/_publish/objects/Companies/CompanyReseller.d.ts +0 -166
  323. package/_publish/objects/Companies/CompanyStyle.d.ts +0 -50
  324. package/_publish/objects/Companies/LabelStyle.d.ts +0 -46
  325. package/_publish/objects/Companies/NotificationServerEmail.d.ts +0 -99
  326. package/_publish/objects/Companies/NotificationServerSms.d.ts +0 -25
  327. package/_publish/objects/Companies/PasswordExpiryMode.d.ts +0 -17
  328. package/_publish/objects/Companies/PasswordPolicy.d.ts +0 -51
  329. package/_publish/objects/Companies/SessionMultiUser.d.ts +0 -17
  330. package/_publish/objects/Companies/SessionPolicy.d.ts +0 -47
  331. package/_publish/objects/Dispatch/DispatchDirection.d.ts +0 -53
  332. package/_publish/objects/Dispatch/DispatchJob.d.ts +0 -107
  333. package/_publish/objects/Dispatch/DispatchJobPriority.d.ts +0 -25
  334. package/_publish/objects/Dispatch/DispatchStep.d.ts +0 -99
  335. package/_publish/objects/Dispatch/DispatchStepState.d.ts +0 -27
  336. package/_publish/objects/Dispatch/DispatchStepStatus.d.ts +0 -21
  337. package/_publish/objects/Dispatch/DispatchTask.d.ts +0 -154
  338. package/_publish/objects/Dispatch/DispatchTaskStatus.d.ts +0 -50
  339. package/_publish/objects/Hosting/Document.d.ts +0 -70
  340. package/_publish/objects/Hosting/Fields/FormFieldAttachments.d.ts +0 -31
  341. package/_publish/objects/Hosting/Fields/FormFieldBase.d.ts +0 -56
  342. package/_publish/objects/Hosting/Fields/FormFieldBase_fromJSON.d.ts +0 -1
  343. package/_publish/objects/Hosting/Fields/FormFieldBoolean.d.ts +0 -38
  344. package/_publish/objects/Hosting/Fields/FormFieldChoice.d.ts +0 -46
  345. package/_publish/objects/Hosting/Fields/FormFieldDate.d.ts +0 -26
  346. package/_publish/objects/Hosting/Fields/FormFieldNumeric.d.ts +0 -54
  347. package/_publish/objects/Hosting/Fields/FormFieldNumericSize.d.ts +0 -32
  348. package/_publish/objects/Hosting/Fields/FormFieldSignature.d.ts +0 -17
  349. package/_publish/objects/Hosting/Fields/FormFieldText.d.ts +0 -32
  350. package/_publish/objects/Hosting/Fields/FormFieldTime.d.ts +0 -37
  351. package/_publish/objects/Hosting/Fields/FormFieldTimezone.d.ts +0 -14
  352. package/_publish/objects/Hosting/FormFieldType.d.ts +0 -127
  353. package/_publish/objects/Hosting/FormResult.d.ts +0 -95
  354. package/_publish/objects/Hosting/FormTemplate.d.ts +0 -80
  355. package/_publish/objects/Images/Dashcam.d.ts +0 -63
  356. package/_publish/objects/Images/DashcamBase.d.ts +0 -97
  357. package/_publish/objects/Images/DashcamLive.d.ts +0 -36
  358. package/_publish/objects/Images/DashcamMediaType.d.ts +0 -17
  359. package/_publish/objects/Images/Icon.d.ts +0 -66
  360. package/_publish/objects/Images/IconGlyph.d.ts +0 -47
  361. package/_publish/objects/Images/IconLabel.d.ts +0 -29
  362. package/_publish/objects/Images/IconLayer.d.ts +0 -33
  363. package/_publish/objects/Images/Picture.d.ts +0 -72
  364. package/_publish/objects/Maintenance/MaintenanceInterval.d.ts +0 -48
  365. package/_publish/objects/Maintenance/MaintenanceJob.d.ts +0 -134
  366. package/_publish/objects/Maintenance/MaintenanceJobStatus.d.ts +0 -21
  367. package/_publish/objects/Maintenance/MaintenanceSchedule.d.ts +0 -118
  368. package/_publish/objects/Messaging/AlertPriority.d.ts +0 -17
  369. package/_publish/objects/Messaging/AssetAlert.d.ts +0 -29
  370. package/_publish/objects/Messaging/AssetMessage.d.ts +0 -40
  371. package/_publish/objects/Messaging/MessageBase.d.ts +0 -99
  372. package/_publish/objects/Messaging/MessageFolder.d.ts +0 -13
  373. package/_publish/objects/Messaging/MessageStatus.d.ts +0 -29
  374. package/_publish/objects/Messaging/MessageType.d.ts +0 -33
  375. package/_publish/objects/Places/Place.d.ts +0 -114
  376. package/_publish/objects/Places/PlaceType.d.ts +0 -25
  377. package/_publish/objects/Providers/Config/ProviderConfig.d.ts +0 -70
  378. package/_publish/objects/Providers/Config/ProviderRegistration.d.ts +0 -119
  379. package/_publish/objects/Providers/Config/ProviderScript.d.ts +0 -86
  380. package/_publish/objects/Providers/Config/ProviderScriptBlock.d.ts +0 -41
  381. package/_publish/objects/Providers/Config/ProviderScriptParameter.d.ts +0 -49
  382. package/_publish/objects/Providers/Config/ProviderScriptParameterType.d.ts +0 -17
  383. package/_publish/objects/Providers/Configuration/ProviderConfiguration.d.ts +0 -66
  384. package/_publish/objects/Providers/Configuration/ProviderConfigurationNode.d.ts +0 -66
  385. package/_publish/objects/Providers/Configuration/ProviderConfigurationType.d.ts +0 -62
  386. package/_publish/objects/Providers/Configuration/ProviderGeofenceBase.d.ts +0 -29
  387. package/_publish/objects/Providers/Configuration/ProviderGeofenceBase_fromJSON.d.ts +0 -1
  388. package/_publish/objects/Providers/Configuration/ProviderGeofenceCircular.d.ts +0 -28
  389. package/_publish/objects/Providers/Configuration/ProviderGeofencePoint.d.ts +0 -12
  390. package/_publish/objects/Providers/Configuration/ProviderGeofencePolygon.d.ts +0 -23
  391. package/_publish/objects/Providers/Configuration/ProviderGeofenceRectangle.d.ts +0 -28
  392. package/_publish/objects/Providers/Provider.d.ts +0 -205
  393. package/_publish/objects/Providers/ProviderAdvanced.d.ts +0 -50
  394. package/_publish/objects/Providers/ProviderCommand.d.ts +0 -36
  395. package/_publish/objects/Providers/ProviderCommandStatus.d.ts +0 -29
  396. package/_publish/objects/Providers/ProviderCommandType.d.ts +0 -37
  397. package/_publish/objects/Providers/ProviderControl.d.ts +0 -41
  398. package/_publish/objects/Providers/ProviderData.d.ts +0 -30
  399. package/_publish/objects/Providers/ProviderGeneral.d.ts +0 -121
  400. package/_publish/objects/Providers/ProviderType.d.ts +0 -106
  401. package/_publish/objects/Reports/ReportBreakdown.d.ts +0 -49
  402. package/_publish/objects/Reports/ReportBreakdownJob.d.ts +0 -37
  403. package/_publish/objects/Reports/ReportBreakdownMessage.d.ts +0 -40
  404. package/_publish/objects/Reports/ReportBreakdownTask.d.ts +0 -46
  405. package/_publish/objects/Reports/ReportBreakdown_fromJSON.d.ts +0 -1
  406. package/_publish/objects/Reports/ReportFilterMode.d.ts +0 -17
  407. package/_publish/objects/Reports/ReportNotifications.d.ts +0 -31
  408. package/_publish/objects/Reports/ReportOptions.d.ts +0 -52
  409. package/_publish/objects/Reports/ReportParameter.d.ts +0 -26
  410. package/_publish/objects/Reports/ReportParameterType.d.ts +0 -59
  411. package/_publish/objects/Reports/ReportRecurrence.d.ts +0 -54
  412. package/_publish/objects/Reports/ReportRecurrenceType.d.ts +0 -34
  413. package/_publish/objects/Reports/ReportResult.d.ts +0 -169
  414. package/_publish/objects/Reports/ReportResultData.d.ts +0 -17
  415. package/_publish/objects/Reports/ReportSchedule.d.ts +0 -111
  416. package/_publish/objects/Reports/ReportScorecard.d.ts +0 -38
  417. package/_publish/objects/Reports/ReportScorecardParameter.d.ts +0 -31
  418. package/_publish/objects/Reports/ReportScorecardRules.d.ts +0 -26
  419. package/_publish/objects/Reports/ReportStatus.d.ts +0 -29
  420. package/_publish/objects/Reports/ReportSummary.d.ts +0 -90
  421. package/_publish/objects/Reports/ReportSummaryReason.d.ts +0 -27
  422. package/_publish/objects/Reports/ReportTemplate.d.ts +0 -81
  423. package/_publish/objects/Reports/ReportTotal.d.ts +0 -47
  424. package/_publish/objects/Reports/ReportType.d.ts +0 -42
  425. package/_publish/objects/storage.d.ts +0 -176
@@ -1,89 +0,0 @@
1
- import { IBelongCompany } from "../API/Interfaces/IBelongCompany";
2
- import { IDeserializable } from "../API/Interfaces/IDeserializable";
3
- import { IRequestable } from "../API/Interfaces/IRequestable";
4
- import { ISerializable } from "../API/Interfaces/ISerializable";
5
- import { int, JsonObject, nothing, ulong } from "../API/Types";
6
- import { Company } from "../Companies/Company";
7
- import { SessionStatus } from "./SessionStatus";
8
- /**
9
- * Information about another {@link User}'s {@link Session}.
10
- */
11
- export declare class Session implements IBelongCompany, IRequestable, ISerializable, IDeserializable {
12
- /**
13
- * A "handle" identifying a resource.
14
- */
15
- handle: string;
16
- /**
17
- * Getter shortcut for the {@link User}'s {@link Company.id}.
18
- */
19
- companyId: ulong;
20
- /**
21
- * The {@link Company} to which this contact belongs
22
- */
23
- get company(): Company;
24
- /**
25
- * The IP address of the {@link User} last used to connect using this session.
26
- */
27
- ipAddress: string;
28
- /**
29
- * `UserAgent` identification string
30
- */
31
- userAgent: string;
32
- /**
33
- * The IP address the user last used to connect
34
- /**
35
- * The number of currently connected WebSocket clients.
36
- */
37
- sockets: int;
38
- /**
39
- * The {@link User} to which the {@link Session} belongs.
40
- * {@link User.login}
41
- */
42
- login: string;
43
- /**
44
- * This {@link Session}'s current state.
45
- */
46
- status: SessionStatus;
47
- /**
48
- * The timestamp from the moment this {@link Session} was created.
49
- */
50
- created: Date;
51
- /**
52
- * A timestamp for when the {@link RespSession} will expire.
53
- */
54
- expiry: Date;
55
- /**
56
- * The name or path of the last command executed.
57
- */
58
- lastCommand: string;
59
- /**
60
- * A timestamp from the last command or call to the system.
61
- */
62
- lastActivity: Date;
63
- /**
64
- * Indicator that this {@link Session} is using at least one WebSocket connection.
65
- */
66
- get active(): boolean;
67
- constructor(json?: JsonObject | nothing);
68
- fromJSON(json: JsonObject, force?: boolean): boolean;
69
- /**
70
- *
71
- */
72
- toJSON(): {
73
- handle: string;
74
- company: number | null;
75
- login: string;
76
- status: SessionStatus;
77
- userAgent: string;
78
- ipAddress: string;
79
- created: string;
80
- expires: string;
81
- lastActivity: string;
82
- lastCommand: string;
83
- sockets: number;
84
- };
85
- /**
86
- * The {@link handle} is the key.
87
- */
88
- getKey(): string;
89
- }
@@ -1,29 +0,0 @@
1
- /**
2
- * Current state of a session
3
- */
4
- export declare enum SessionStatus {
5
- /**
6
- * Invalid session reference.
7
- */
8
- notFound = "notFound",
9
- /**
10
- * Session created but user hasn't logged-in yet.
11
- */
12
- created = "created",
13
- /**
14
- * User is logged-in and one or more WebSocket connections are open.
15
- */
16
- active = "active",
17
- /**
18
- * User is logged-in but no WebSocket connections are open.
19
- */
20
- idle = "idle",
21
- /**
22
- * User is logged-in and password is expired and needs to be changed before any commands can be processed.
23
- */
24
- passwordExpired = "passwordExpired",
25
- /**
26
- * Session is being killed because it has expired.
27
- */
28
- expired = "expired"
29
- }
@@ -1,13 +0,0 @@
1
- /**
2
- * A type of measurement system
3
- */
4
- export declare enum SystemsOfUnits {
5
- /**
6
- * Metric
7
- */
8
- metric = "metric",
9
- /**
10
- * US Standard.
11
- */
12
- standard = "standard"
13
- }
@@ -1,167 +0,0 @@
1
- import { BaseComponent } from "../API/BaseComponent";
2
- import { BaseCompound } from "../API/BaseCompound";
3
- import { IBelongCompany } from "../API/Interfaces/IBelongCompany";
4
- import { IEnabled } from "../API/Interfaces/IEnabled";
5
- import { IHavePermissions } from "../API/Interfaces/IHavePermissions";
6
- import { IHavePreferences } from "../API/Interfaces/IHavePreferences";
7
- import { Timezone } from "../API/Timezone";
8
- import { codified, datetimetemplate, email, JsonObject, nothing, ulong } from "../API/Types";
9
- import { Company } from "../Companies/Company";
10
- import { Contact } from "./Contact";
11
- import { Permission } from "./Permissions/Permission";
12
- import { SystemsOfUnits } from "./SystemsOfUnits";
13
- import { UserAdvanced } from "./UserAdvanced";
14
- import { UserAuthentication } from "./UserAuthentication";
15
- import { UserGeneral } from "./UserGeneral";
16
- import { UserGroup } from "./UserGroup";
17
- import { UserMFA } from "./UserMFA";
18
- import { UserNotifications } from "./UserNotifications";
19
- import { UserSSO } from "./UserSSO";
20
- /**
21
- * A grouping of credentials, information, preferences, and permissions for a person or machine to login to the system and access its resources.
22
- */
23
- export declare class User extends BaseCompound implements IEnabled, IBelongCompany, IHavePermissions, IHavePreferences {
24
- #private;
25
- /**
26
- *
27
- */
28
- get pieces(): BaseComponent[];
29
- /**
30
- * The unique public email address used to access the system.
31
- * {@link User.login}
32
- */
33
- get login(): email;
34
- /**
35
- * The company to which this user belongs.
36
- * {@link Company.id}
37
- */
38
- get companyId(): ulong;
39
- /**
40
- * The {@link Company} to which this user belongs.
41
- */
42
- get company(): Company;
43
- /**
44
- *
45
- */
46
- get general(): UserGeneral;
47
- /**
48
- * Indicates whether system access is disabled.
49
- */
50
- get enabled(): boolean;
51
- set enabled(value: boolean);
52
- /**
53
- * Human friendly name for these credentials
54
- */
55
- get nickname(): string;
56
- set nickname(value: string);
57
- /**
58
- * Contact information for this user.
59
- * {@link Contact.id}
60
- */
61
- get contactId(): ulong;
62
- set contactId(value: ulong | nothing);
63
- /**
64
- * {@link Contact} information for this user.
65
- */
66
- get contact(): Contact;
67
- set contact(value: Contact | nothing);
68
- /**
69
- * The user's local timezone.
70
- */
71
- get timezone(): Timezone;
72
- set timezone(value: Timezone);
73
- /**
74
- * Preferred region/language for the UI and notifications.
75
- * Valid formats use <ISO 639-1><dash><ISO 3166-2> such as "fr-CA" or "en-US".
76
- */
77
- get language(): codified;
78
- set language(value: codified);
79
- /**
80
- * The format strings defining the preferred way to display ambiguous values.
81
- */
82
- get formats(): Map<codified, datetimetemplate>;
83
- set formats(value: Map<codified, datetimetemplate>);
84
- /**
85
- * Preferred way of displaying ambiguous numbers in the context of measurements.
86
- */
87
- get measurements(): Map<codified, SystemsOfUnits>;
88
- set measurements(value: Map<codified, SystemsOfUnits>);
89
- /**
90
- * Additional options which do not fit in with the formats or measurements preferences.
91
- */
92
- get options(): Map<codified, string>;
93
- set options(value: Map<codified, string>);
94
- /**
95
- * Definition of how and when to send alerts to the user.
96
- */
97
- get notify(): UserNotifications[];
98
- set notify(value: UserNotifications[]);
99
- /**
100
- *
101
- */
102
- get advanced(): UserAdvanced;
103
- /**
104
- * A list of {@link UserGroup}s to which this user belongs.
105
- * {@link UserGroup.id}
106
- */
107
- get groupIds(): ulong[];
108
- set groupIds(value: ulong[]);
109
- /**
110
- * A list of groups to which this user belongs.
111
- */
112
- get groups(): UserGroup[];
113
- set groups(value: UserGroup[]);
114
- /**
115
- * Individual permission rules which override the group rules.
116
- */
117
- get permissions(): Permission[];
118
- set permissions(value: Permission[]);
119
- /**
120
- *
121
- */
122
- get authentication(): UserAuthentication;
123
- /**
124
- * Indicated whether the credentials have expired according to the company's policy.
125
- */
126
- get passwordExpired(): boolean;
127
- set passwordExpired(value: boolean);
128
- /**
129
- * Multi-factor authentication details for the user.
130
- */
131
- get mfa(): UserMFA[];
132
- set mfa(value: UserMFA[]);
133
- /**
134
- * Single Sign-On details for the user.
135
- */
136
- get sso(): UserSSO;
137
- set sso(value: UserSSO);
138
- toJSON(): {
139
- v: number[];
140
- login: string;
141
- company: number;
142
- passwordExpired: boolean;
143
- mfa: any[];
144
- sso: {
145
- enabled: boolean;
146
- provider: import("./SSOIdentityProvider").SSOIdentityProvider;
147
- lastAuthentication: string | null;
148
- externalId: string | null;
149
- };
150
- groups: number[];
151
- permissions: any[];
152
- nickname: string;
153
- enabled: boolean;
154
- contact: boolean;
155
- timezone: string;
156
- language: string;
157
- formats: JsonObject;
158
- measurements: JsonObject;
159
- options: JsonObject;
160
- notify: any[];
161
- };
162
- fromJSON(json: JsonObject, force?: boolean): boolean;
163
- /**
164
- * The {@link login} is the key.
165
- */
166
- getKey(): string;
167
- }
@@ -1,53 +0,0 @@
1
- import { BaseComponent } from "../API/BaseComponent";
2
- import { IBelongCompany } from "../API/Interfaces/IBelongCompany";
3
- import { IHavePermissions } from "../API/Interfaces/IHavePermissions";
4
- import { email, JsonObject, ulong } from "../API/Types";
5
- import { Company } from "../Companies/Company";
6
- import { Permission } from "./Permissions/Permission";
7
- import { UserGroup } from "./UserGroup";
8
- /**
9
- * Permissions and group membership defined for a user.
10
- */
11
- export declare class UserAdvanced extends BaseComponent implements IBelongCompany, IHavePermissions {
12
- /**
13
- * The unique public email address used to access the system.
14
- * {@link User.login}
15
- */
16
- login: email;
17
- /**
18
- * The company to which this user belongs.
19
- * {@link Company.id}
20
- */
21
- companyId: ulong;
22
- /**
23
- * The {@link Company} to which this user belongs.
24
- */
25
- get company(): Company;
26
- /**
27
- * A list of groups to which this user belongs.
28
- * {@link UserGroup.id}
29
- */
30
- groupIds: ulong[];
31
- /**
32
- * A list of groups to which this user belongs.
33
- * {@link UserGroup.id}
34
- */
35
- get groups(): UserGroup[];
36
- set groups(value: UserGroup[]);
37
- /**
38
- * Individual permission rules which override the group rules.
39
- */
40
- permissions: Permission[];
41
- toJSON(): {
42
- login: string;
43
- v: number[];
44
- company: number;
45
- groups: number[];
46
- permissions: any[];
47
- };
48
- fromJSON(json: JsonObject, force?: boolean): boolean;
49
- /**
50
- * The {@link login} is the key.
51
- */
52
- getKey(): string;
53
- }
@@ -1,98 +0,0 @@
1
- import { BaseComponent } from "../API/BaseComponent";
2
- import { IBelongCompany } from "../API/Interfaces/IBelongCompany";
3
- import { IEnabled } from "../API/Interfaces/IEnabled";
4
- import { IHavePreferences } from "../API/Interfaces/IHavePreferences";
5
- import { Timezone } from "../API/Timezone";
6
- import { JsonObject, codified, datetimetemplate, email, ulong } from "../API/Types";
7
- import { Company } from "../Companies/Company";
8
- import { Contact } from "./Contact";
9
- import { SystemsOfUnits } from "./SystemsOfUnits";
10
- import { UserNotifications } from "./UserNotifications";
11
- /**
12
- * Credentials, information, and preferences about a user.
13
- */
14
- export declare class UserGeneral extends BaseComponent implements IEnabled, IBelongCompany, IHavePreferences {
15
- /**
16
- * The unique public email address used to access the system.
17
- * {@link User.login}
18
- */
19
- login: email;
20
- /**
21
- * The company to which this user belongs.
22
- * {@link Company.id}
23
- */
24
- companyId: ulong;
25
- /**
26
- * The {@link Company} to which this user belongs.
27
- */
28
- get company(): Company;
29
- /**
30
- * Indicated whether the credentials have expired according to the company's policy.
31
- */
32
- passwordExpired: boolean;
33
- /**
34
- * Indicates whether system access is disabled.
35
- */
36
- enabled: boolean;
37
- /**
38
- * Human friendly name for these credentials
39
- */
40
- nickname: string;
41
- /**
42
- * Contact information for this user.
43
- * {@link Contact.id}
44
- */
45
- contactId: ulong;
46
- /**
47
- * {@link Contact} information for this user.
48
- */
49
- get contact(): Contact;
50
- set contact(value: Contact);
51
- /**
52
- * The user's local timezone.
53
- * {@link Timezone.code}
54
- */
55
- timezone: Timezone;
56
- /**
57
- * Preferred region/language for the UI and notifications.
58
- * Valid formats use &lt;ISO 639-1&gt;&lt;dash&gt;&lt;ISO 3166-2&gt; such as "fr-CA" or "en-US".
59
- */
60
- language: codified;
61
- /**
62
- * The format strings defining the preferred way to display ambiguous values.
63
- */
64
- formats: Map<codified, datetimetemplate>;
65
- /**
66
- * Preferred way of displaying ambiguous numbers in the context of measurements.
67
- */
68
- measurements: Map<codified, SystemsOfUnits>;
69
- /**
70
- * Additional options which do not fit in with the formats or measurements preferences.
71
-
72
- */
73
- options: Map<codified, string>;
74
- /**
75
- * Definition of how and when to send alerts to the user.
76
- */
77
- notify: UserNotifications[];
78
- toJSON(): {
79
- login: string;
80
- v: number[];
81
- company: number;
82
- nickname: string;
83
- enabled: boolean;
84
- contact: boolean;
85
- passwordExpired: boolean;
86
- timezone: string;
87
- language: string;
88
- formats: JsonObject;
89
- measurements: JsonObject;
90
- options: JsonObject;
91
- notify: any[];
92
- };
93
- fromJSON(json: JsonObject, force?: boolean): boolean;
94
- /**
95
- * The {@link login} is the key.
96
- */
97
- getKey(): string;
98
- }
@@ -1,51 +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 { Permission } from "./Permissions/Permission";
8
- /**
9
- * Members of a group (as set by a {@link User}'s {@link UserAdvanced.groups} or {@link Machine}'s {@link Machine.groups})
10
- * allow for easy administration of permissions and levels of access.
11
- */
12
- export declare class UserGroup extends BaseComponent implements IIdUlong, INamed, IBelongCompany {
13
- /**
14
- * Unique identifier of this group.
15
- */
16
- id: ulong;
17
- /**
18
- * The company to which this group belongs.
19
- * {@link Company.id}
20
- */
21
- companyId: ulong;
22
- /**
23
- * The {@link Company} to which this group belongs.
24
- */
25
- get company(): Company;
26
- /**
27
- * A name given to this group.
28
- */
29
- name: string;
30
- /**
31
- * Notes about this group, and to whom this group should be applied.
32
- */
33
- notes: string;
34
- /**
35
- * Permissions for this group.
36
- */
37
- permissions: Permission[];
38
- toJSON(): {
39
- id: number;
40
- v: number[];
41
- company: number;
42
- name: string;
43
- notes: string;
44
- permissions: any[];
45
- };
46
- fromJSON(json: JsonObject, force?: boolean): boolean;
47
- /**
48
- * The {@link id} is the key.
49
- */
50
- getKey(): number;
51
- }
@@ -1,76 +0,0 @@
1
- import { IEnabled } from "../API/Interfaces/IEnabled";
2
- import { ISerializable } from "../API/Interfaces/ISerializable";
3
- import { TimeSpan } from "../API/TimeSpan";
4
- import { email, JsonObject, timespan, ulong } from "../API/Types";
5
- import { NotificationMethod } from "./NotificationMethod";
6
- /**
7
- * Definition of how and when to send alerts to the user.
8
- */
9
- export declare class UserNotifications implements IEnabled, ISerializable {
10
- /**
11
- *
12
- * @param json
13
- */
14
- static fromJSON(json: JsonObject): UserNotifications;
15
- /**
16
- * A common name like "Weekdays" or "Off Hours".
17
- */
18
- name: string;
19
- /**
20
- * A flag for whether or not this schedule is in use.
21
- */
22
- enabled: boolean;
23
- /**
24
- * A 7 item, boolean array, determines if the user should be notified on that day of the week.
25
- * The days of the week are defined in local time, not UTC.
26
- * {@link UserGeneral.timezone}
27
- */
28
- weekdays: boolean[];
29
- /**
30
- * Start time portion of the schedule that defines a period of the day when the user wants to receive alerts.
31
- * The time value is defined in local time, not UTC.
32
- * {@link UserGeneral.timezone}
33
- */
34
- start: TimeSpan;
35
- /**
36
- * End time portion of the schedule that defines a period of the day when the user wants to receive alerts.
37
- * The time value is defined in local time, not UTC.
38
- * {@link UserGeneral.timezone}
39
- */
40
- end: TimeSpan;
41
- /**
42
- * Email address where the sent is sent.
43
- * If not specified, the email address from the User's {@link Contact} is taken.
44
- * If the contact has no email address, the alert is sent to the user's login.
45
- */
46
- email: email;
47
- /**
48
- * SMS address where the alert is sent.
49
- * If not specified, the mobile phone number from the User's {@link Contact} is taken.
50
- * If the contact has no mobile phone number, the alert is not sent.
51
- */
52
- sms: ulong;
53
- /**
54
- * A list of the types of methods to use to notify the user when they have an active WebSocket connection.
55
- */
56
- online: NotificationMethod[];
57
- /**
58
- * A list of the types of methods to use to notify the user when they are not connected.
59
- */
60
- offline: NotificationMethod[];
61
- constructor(name?: string, enabled?: boolean, weekdays?: string | boolean[], start?: TimeSpan | timespan | number, end?: TimeSpan | timespan | number, email?: email, sms?: ulong, online?: NotificationMethod[], offline?: NotificationMethod[]);
62
- /**
63
- *
64
- */
65
- toJSON(): {
66
- name: string;
67
- enabled: boolean;
68
- weekdays: string;
69
- start: string;
70
- end: string;
71
- email: string;
72
- sms: number | null;
73
- online: NotificationMethod[];
74
- offline: NotificationMethod[];
75
- };
76
- }