@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,35 +0,0 @@
1
- import { ISerializable } from "../../API/Interfaces/ISerializable";
2
- import { JsonObject, ulong } from "../../API/Types";
3
- import { Company } from "../../Companies/Company";
4
- import { BillingReportLicenseBreakdown } from "./BillingReportLicenseBreakdown";
5
- import { BillingReportServiceBreakdown } from "./BillingReportServiceBreakdown";
6
- /**
7
- * Billing breakdown per target company.
8
- */
9
- export declare class BillingReportBreakdown implements ISerializable {
10
- static fromJSON(json: JsonObject): BillingReportBreakdown;
11
- /**
12
- * The target company to which this breakdown instance belongs.
13
- * {@link Company.id}
14
- */
15
- targetId: ulong;
16
- /**
17
- * The target company to which this breakdown instance belongs.
18
- * {@link Company.id}
19
- */
20
- get target(): Company;
21
- /**
22
- * Individual amounts billed per targeted assets.
23
- */
24
- services: BillingReportServiceBreakdown[];
25
- /**
26
- * Individual amounts for licensing per targeted providers.
27
- */
28
- licenses: BillingReportLicenseBreakdown[];
29
- constructor(target?: ulong, services?: BillingReportServiceBreakdown[], licenses?: BillingReportLicenseBreakdown[]);
30
- toJSON(): {
31
- target: number | null;
32
- services: BillingReportServiceBreakdown[];
33
- licenses: BillingReportLicenseBreakdown[];
34
- };
35
- }
@@ -1,36 +0,0 @@
1
- import { ISerializable } from "../../API/Interfaces/ISerializable";
2
- import { double, JsonObject } from "../../API/Types";
3
- /**
4
- * Amount billed for a type of hosting (service or license) per target company.
5
- */
6
- export declare class BillingReportHostingSummary implements ISerializable {
7
- /**
8
- *
9
- * @param json
10
- * @returns
11
- */
12
- static fromJSON(json: JsonObject): BillingReportHostingSummary;
13
- /**
14
- * SKU being billed
15
- */
16
- sku: string;
17
- /**
18
- * Cost per billing cycle for this SKU.
19
- */
20
- cost: double;
21
- /**
22
- * Number of items for this SKU.
23
- */
24
- count: double;
25
- /**
26
- * Total amount being billed for this SKU.
27
- */
28
- total: double;
29
- constructor(sku?: string, cost?: double, count?: double, total?: double);
30
- toJSON(): {
31
- sku: string;
32
- cost: number | null;
33
- count: number | null;
34
- total: number | null;
35
- };
36
- }
@@ -1,80 +0,0 @@
1
- import { INamed } from "../../API/Interfaces/INamed";
2
- import { ISerializable } from "../../API/Interfaces/ISerializable";
3
- import { datetime, double, JsonObject, ulong } from "../../API/Types";
4
- import { Provider } from "../../Providers/Provider";
5
- import { ProviderType } from "../../Providers/ProviderType";
6
- /**
7
- * Full breakdown of licensing details per targeted provider.
8
- */
9
- export declare class BillingReportLicenseBreakdown implements INamed, ISerializable {
10
- /**
11
- *
12
- * @param json
13
- */
14
- static fromJSON(json: JsonObject): BillingReportLicenseBreakdown;
15
- /**
16
- * The provider to which this breakdown instance belongs.
17
- * {@link Provider.id}
18
- */
19
- providerId: string;
20
- /**
21
- * The provider to which this breakdown instance belongs.
22
- * {@link Provider.id}
23
- */
24
- get provider(): Provider;
25
- set provider(value: Provider);
26
- /**
27
- * Type of provider.
28
- */
29
- kind: ProviderType;
30
- /**
31
- * Provider name.
32
- */
33
- name: string;
34
- /**
35
- * Notes about the provider.
36
- */
37
- notes: string;
38
- /**
39
- * Indicates when this Provider was created.
40
- */
41
- created: Date;
42
- /**
43
- * Indicates when this Provider was deleted.
44
- */
45
- deleted: Date;
46
- /**
47
- * The phone number for this provider.
48
- */
49
- phoneNumber: ulong;
50
- /**
51
- * The firmware/application version number.
52
- */
53
- firmware: string;
54
- /**
55
- * Number of days this Provider is being billed for.
56
- */
57
- billableDays: double;
58
- /**
59
- * Licensing cost per billing cycle for this provider.
60
- */
61
- cost: double;
62
- /**
63
- * Total amount being billed for this provider.
64
- */
65
- total: double;
66
- constructor(provider?: string, kind?: ProviderType, name?: string, notes?: string, created?: Date | number | datetime, deleted?: Date | number | datetime, phoneNumber?: ulong, firmware?: string, billableDays?: double, cost?: double, total?: double);
67
- toJSON(): {
68
- provider: string;
69
- kind: ProviderType;
70
- name: string;
71
- notes: string;
72
- created: string | null;
73
- deleted: string | null;
74
- phoneNumber: number | null;
75
- firmware: string;
76
- billableDays: number | null;
77
- cost: number | null;
78
- total: number | null;
79
- };
80
- }
@@ -1,126 +0,0 @@
1
- import { IBelongAsset } from "../../API/Interfaces/IBelongAsset";
2
- import { INamed } from "../../API/Interfaces/INamed";
3
- import { ISerializable } from "../../API/Interfaces/ISerializable";
4
- import { codified, datetime, double, JsonObject, phone, ulong } from "../../API/Types";
5
- import { Asset } from "../../Assets/Asset";
6
- import { AssetType } from "../../Assets/AssetType";
7
- import { Provider } from "../../Providers/Provider";
8
- /**
9
- * Full breakdown of billable details per targeted asset.
10
- */
11
- export declare class BillingReportServiceBreakdown implements INamed, IBelongAsset, ISerializable {
12
- /**
13
- *
14
- * @param json
15
- * @returns
16
- */
17
- static fromJSON(json: JsonObject): BillingReportServiceBreakdown;
18
- /**
19
- * The asset to which this breakdown instance belongs.
20
- * {@link Asset.id}
21
- */
22
- assetId: ulong;
23
- /**
24
- * The asset to which this breakdown instance belongs.
25
- * {@link Asset.id}
26
- */
27
- get asset(): Asset;
28
- set asset(value: Asset);
29
- /**
30
- * Type of asset.
31
- */
32
- kind: AssetType;
33
- /**
34
- * Asset's name.
35
- */
36
- name: string;
37
- /**
38
- * Notes about the asset.
39
- */
40
- notes: string;
41
- /**
42
- * Indicates when this Asset was created.
43
- */
44
- created: Date;
45
- /**
46
- * Indicates when this Asset was deleted.
47
- */
48
- deleted: Date;
49
- /**
50
- * Indicates when this Asset wass suspended from event processing.
51
- */
52
- suspended: Date;
53
- /**
54
- * Indicates when this Asset was restored after being deleted.
55
- */
56
- restored: Date;
57
- /**
58
- * Indicates when this Asset was revived after being suspended.
59
- */
60
- revived: Date;
61
- /**
62
- * Codified label names.
63
- * {@link LabelStyle.code}
64
- */
65
- labels: codified[];
66
- /**
67
- * The list of devices providing events for this asset.
68
- * {@link Provider.id}
69
- */
70
- providerIds: string[];
71
- /**
72
- * The list of devices providing events for this asset.
73
- * {@link Provider.id}
74
- */
75
- get providers(): Provider[];
76
- set providers(value: Provider[]);
77
- /**
78
- * The list of phone numbers for this asset.
79
- */
80
- phoneNumbers: phone[];
81
- /**
82
- * Indicates when this Asset was last updated.
83
- */
84
- updatedDts: Date;
85
- /**
86
- * Number of days this Asset is being billed for.
87
- */
88
- billableDays: double;
89
- /**
90
- * Cost per billing cycle for this asset.
91
- */
92
- cost: double;
93
- /**
94
- * Number of days this Asset was suspended.
95
- */
96
- suspendedDays: double;
97
- /**
98
- * Cost per billing cycle for suspended asset.
99
- */
100
- suspendedCost: double;
101
- /**
102
- * Total amount being billed for this asset.
103
- */
104
- total: double;
105
- constructor(asset?: ulong, kind?: AssetType, name?: string, notes?: string, created?: Date | number | datetime, deleted?: Date | number | datetime, suspended?: Date | number | datetime, restored?: Date | number | datetime, revived?: Date | number | datetime, labels?: codified[], providers?: string[], phoneNumbers?: phone[], updatedDts?: Date | number | datetime, billableDays?: double, cost?: double, suspendedDays?: double, suspendedCost?: double, total?: double);
106
- toJSON(): {
107
- asset: number | null;
108
- kind: AssetType;
109
- name: string;
110
- notes: string;
111
- created: string | null;
112
- deleted: string | null;
113
- suspended: string | null;
114
- restored: string | null;
115
- revived: string | null;
116
- labels: string[];
117
- providers: string[];
118
- phoneNumbers: number[];
119
- revupdatedDtsived: string | null;
120
- billableDays: number;
121
- cost: number;
122
- suspendedDays: number;
123
- suspendedCost: number;
124
- total: number;
125
- };
126
- }
@@ -1,25 +0,0 @@
1
- /**
2
- * The lifetime of building a {@link BillingReport}.
3
- */
4
- export declare enum BillingReportStatus {
5
- /**
6
- * The {@link BillingReport} has been requested, but not yet begun processing.
7
- */
8
- created = "created",
9
- /**
10
- * The {@link BillingReport} is waiting for required resources to begin processing.
11
- */
12
- queued = "queued",
13
- /**
14
- * The {@link BillingReport} is currently being processed.
15
- */
16
- running = "running",
17
- /**
18
- * The {@link BillingReport} is available for retrieval.
19
- */
20
- completed = "completed",
21
- /**
22
- * There was an error processing the {@link BillingReport}; see the {@link BillingReport.error} for a description.
23
- */
24
- failed = "failed"
25
- }
@@ -1,51 +0,0 @@
1
- import { INamed } from "../../API/Interfaces/INamed";
2
- import { ISerializable } from "../../API/Interfaces/ISerializable";
3
- import { JsonObject, ulong } from "../../API/Types";
4
- import { Company } from "../../Companies/Company";
5
- import { BillingReportHostingSummary } from "./BillingReportHostingSummary";
6
- /**
7
- * Summarized bill per target.
8
- */
9
- export declare class BillingReportSummary implements INamed, ISerializable {
10
- static fromJSON(json: JsonObject): BillingReportSummary;
11
- /**
12
- * The target company to which this summary instance belongs.
13
- * {@link Company.id}
14
- */
15
- targetId: ulong;
16
- /**
17
- * The target company to which this summary instance belongs.
18
- * {@link Company.id}
19
- */
20
- get target(): Company;
21
- /**
22
- * The target company's parent.
23
- * {@link Company.id}
24
- */
25
- parentId: ulong;
26
- /**
27
- * The target company's parent.
28
- * {@link Company.id}
29
- */
30
- get parent(): Company;
31
- /**
32
- * Target's name.
33
- */
34
- name: string;
35
- /**
36
- * Notes about the target.
37
- */
38
- notes: string;
39
- /**
40
- * Summary contains totals per type of hosting (services and licenses) for this target
41
- */
42
- hosting: BillingReportHostingSummary[];
43
- constructor(target?: ulong, parent?: ulong, name?: string, notes?: string, hosting?: BillingReportHostingSummary[]);
44
- toJSON(): {
45
- target: number | null;
46
- parent: number | null;
47
- name: string;
48
- notes: string;
49
- hosting: any[];
50
- };
51
- }
@@ -1,31 +0,0 @@
1
- import { byte, nothing, ulong } from '../../API/Types';
2
- import { FormFieldType } from '../FormFieldType';
3
- import { FormFieldBase } from './FormFieldBase';
4
- /**
5
- * A control to allow the user to attach {@link Picture}s or {@link Document}s.
6
- */
7
- export declare class FormFieldAttachments extends FormFieldBase {
8
- /**
9
- * Takes a string as input and returns an array split by comma with trimmed items.
10
- * @param values
11
- */
12
- static split(values: string): string[];
13
- /**
14
- * These are the attachment types.
15
- */
16
- protected get supported(): FormFieldType[];
17
- /**
18
- * Minimum number of {@link Document}s and/or {@link Picture}s that must be attached.
19
- */
20
- minimum: byte;
21
- /**
22
- * Maximum number of {@link Document}s and/or {@link Picture}s that must be attached.
23
- */
24
- maximum: byte;
25
- constructor(id?: ulong | nothing, name?: string | nothing, kind?: FormFieldType | nothing, minimum?: byte | nothing, maximum?: byte | nothing, notes?: string | nothing, required?: boolean | nothing, value?: string | nothing, editable?: boolean | nothing);
26
- toJSON(): {
27
- minimum: number | null;
28
- maximum: number | null;
29
- };
30
- isValid(value: string): boolean;
31
- }
@@ -1,56 +0,0 @@
1
- import { IIdUlong } from '../../API/Interfaces/IIdUlong';
2
- import { INamed } from '../../API/Interfaces/INamed';
3
- import { ISerializable } from '../../API/Interfaces/ISerializable';
4
- import { JsonObject, nothing, ulong } from '../../API/Types';
5
- import { FormFieldType } from '../FormFieldType';
6
- /**
7
- * A base class for the common form field UI members.
8
- */
9
- export declare abstract class FormFieldBase implements IIdUlong, INamed, ISerializable {
10
- /**
11
- * Instantiates a form field subclass based on the `kind` property in the JSON.
12
- * Implementation is in {@link FormFieldBase_fromJSON.ts}
13
- * @param json The JSON to parse.
14
- * @returns An instance of a form field subclass, or null if the JSON is null or does not contain a recognized "kind" property.
15
- */
16
- static fromJSON: (json: JsonObject) => FormFieldBase;
17
- /**
18
- * A list of supported {@link FormFieldType}s that this class supports.
19
- */
20
- protected get supported(): FormFieldType[];
21
- /**
22
- * The type of interface control that should be presented to the user.
23
- */
24
- kind: FormFieldType;
25
- /**
26
- * Identifier for this field.
27
- * This value is unique per {@link FormTemplate}, but is not unique system-wide.
28
- */
29
- id: ulong;
30
- /**
31
- * Name of the field.
32
- */
33
- name: string;
34
- /**
35
- * Notes or special instructions for this control.
36
- */
37
- notes: string;
38
- /**
39
- * When true, a valid value must be given for this field.
40
- */
41
- required: boolean;
42
- /**
43
- * The default value for the field in the template.
44
- */
45
- value: string | null;
46
- /**
47
- * When false, this field's value is treated as read-only.
48
- */
49
- editable: boolean;
50
- constructor(id?: ulong | nothing, name?: string | nothing, kind?: FormFieldType | nothing, notes?: string | nothing, required?: boolean | nothing, value?: string | nothing, editable?: boolean | nothing);
51
- toJSON(): JsonObject;
52
- /**
53
- * Returns true if the value can be parsed by the field type.
54
- */
55
- abstract isValid(value: string): boolean;
56
- }
@@ -1 +0,0 @@
1
- export {};
@@ -1,38 +0,0 @@
1
- import { nothing, ulong } from "../../API/Types";
2
- import { FormFieldType } from "../FormFieldType";
3
- import { FormFieldBase } from "./FormFieldBase";
4
- /**
5
- * A true/false (or either-or) input control.
6
- * @tutorial
7
- * For choices, the field definition will be an array of three values.
8
- * The first value is the "true", second is the "false", and third is "indeterminate".
9
- * For example:
10
- * - "true", "false", ""
11
- * - "on", "off", "unknown"
12
- * - "yes", "no", "maybe"
13
- */
14
- export declare class FormFieldBoolean extends FormFieldBase {
15
- /**
16
- * If no choices are given, then these choices are used.
17
- **/
18
- static readonly DEFAULT_CHOICES: [string, string, string];
19
- /**
20
- * Returns an array of 3 strings representing the checked, unchecked, and indeterminate values.
21
- * @param choices
22
- */
23
- static normalize(choices?: (string | nothing)[] | nothing): [string, string, string];
24
- /**
25
- * These are the boolean control types.
26
- */
27
- protected get supported(): FormFieldType[];
28
- /**
29
- * These three values are the values of the choices presented.
30
- * The first value is the "checked" value, second is the "unchecked" value, and third is "indeterminate" value.
31
- */
32
- choices: [string, string, string];
33
- constructor(id?: ulong | nothing, name?: string | nothing, kind?: FormFieldType | nothing, choices?: (string | nothing)[] | nothing, notes?: string | nothing, required?: boolean | nothing, value?: string | nothing, editable?: boolean | nothing);
34
- toJSON(): {
35
- choices: string[];
36
- };
37
- isValid(value: string): boolean;
38
- }
@@ -1,46 +0,0 @@
1
- import { byte, nothing, ulong } from "../../API/Types";
2
- import { FormFieldType } from "../FormFieldType";
3
- import { FormFieldBase } from "./FormFieldBase";
4
- /**
5
- * A single- or multiple-choice input control.
6
- */
7
- export declare class FormFieldChoice extends FormFieldBase {
8
- /**
9
- * Splits the given value using commas (so long as the comma did not get escaped).
10
- * @param values
11
- */
12
- static split(values: string): string[];
13
- /**
14
- * Replaces all the commas in a given value with backslash-comma.
15
- * @param value
16
- */
17
- static escape(value: string): string;
18
- /**
19
- * Replaces all the commas in a given value with backslash-comma.
20
- * @param value
21
- */
22
- static unescape(value: string): string;
23
- /**
24
- * Just {@link FormFieldType.choice} control type.
25
- */
26
- protected get supported(): FormFieldType[];
27
- /**
28
- * The list of choices available and their values.
29
- */
30
- choices: Map<string, string>;
31
- /**
32
- * Minimum number of choices that must be selected.
33
- */
34
- minimum: byte;
35
- /**
36
- * Maximum number of choices that must be selected.
37
- */
38
- maximum: byte;
39
- constructor(id?: ulong | nothing, name?: string | nothing, kind?: FormFieldType | nothing, choices?: Map<string, string> | nothing, minimum?: byte | nothing, maximum?: byte | nothing, notes?: string | nothing, required?: boolean | nothing, value?: string | nothing, editable?: boolean | nothing);
40
- toJSON(): {
41
- choices: import("../..").JsonObject;
42
- minimum: number | null;
43
- maximum: number | null;
44
- };
45
- isValid(value: string): boolean;
46
- }
@@ -1,26 +0,0 @@
1
- import { datetime, nothing, ulong } from "../../API/Types";
2
- import { FormFieldType } from "../FormFieldType";
3
- import { FormFieldBase } from "./FormFieldBase";
4
- /**
5
- * A control to choose a date and (optionally) a time.
6
- */
7
- export declare class FormFieldDate extends FormFieldBase {
8
- /**
9
- * These are the calendar control types.
10
- */
11
- protected get supported(): FormFieldType[];
12
- /**
13
- * The earliest date or date/time.
14
- */
15
- minimum: Date;
16
- /**
17
- * The latest date or date/time.
18
- */
19
- maximum: Date;
20
- constructor(id?: ulong | nothing, name?: string | nothing, kind?: FormFieldType | nothing, minimum?: Date | number | datetime | nothing, maximum?: Date | number | datetime | nothing, notes?: string | nothing, required?: boolean | nothing, value?: string | nothing, editable?: boolean | nothing);
21
- toJSON(): {
22
- minimum: string | null;
23
- maximum: string | null;
24
- };
25
- isValid(value: string): boolean;
26
- }
@@ -1,54 +0,0 @@
1
- import { byte, double, nothing, ulong } from "../../API/Types";
2
- import { FormFieldType } from "../FormFieldType";
3
- import { FormFieldBase } from "./FormFieldBase";
4
- import { FormFieldNumericSize } from "./FormFieldNumericSize";
5
- /**
6
- * A numeric value input control with multiple contexts available.
7
- * @tutorial
8
- * For this field, the {@link FormFieldBase.kind} is just a helper for the UI, and does not affect input validation.
9
- */
10
- export declare class FormFieldNumeric extends FormFieldBase {
11
- /**
12
- * These are the numeric control types.
13
- */
14
- protected get supported(): FormFieldType[];
15
- /**
16
- * A context hint for the kind of numeric size for this field.
17
- * Used only for {@link FormFieldType.distance}, {@link FormFieldType.weight}, {@link FormFieldType.volume},
18
- * and {@link FormFieldType.speed}.
19
- */
20
- size: FormFieldNumericSize;
21
- /**
22
- * Number of decimal places of accuracy are required.
23
- */
24
- precision: byte;
25
- /**
26
- * The numeric value increments by this amount.
27
- */
28
- step: double;
29
- /**
30
- * An optional suffix for this numeric value, like "%" or "ppm".
31
- * This value is ignored for {@link FormFieldType.distance}, {@link FormFieldType.weight},
32
- * {@link FormFieldType.volume}, {@link FormFieldType.speed}, and {@link FormFieldType.area} field types.
33
- * And for {@link FormFieldType.currency} fields it acts as a prefix, like "$" or "USD".
34
- */
35
- units: string;
36
- /**
37
- * The (optional) minimum value.
38
- */
39
- minimum: double;
40
- /**
41
- * The (optional) maximum value.
42
- */
43
- maximum: double;
44
- constructor(id?: ulong | nothing, name?: string | nothing, kind?: FormFieldType | nothing, size?: FormFieldNumericSize | nothing, precision?: byte | nothing, step?: double | nothing, units?: string | nothing, minimum?: double | nothing, maximum?: double | nothing, notes?: string | nothing, required?: boolean | nothing, value?: string | nothing, editable?: boolean | nothing);
45
- toJSON(): {
46
- size: FormFieldNumericSize;
47
- precision: number | null;
48
- step: number | null;
49
- units: string;
50
- minimum: number | null;
51
- maximum: number | null;
52
- };
53
- isValid(value: string): boolean;
54
- }
@@ -1,32 +0,0 @@
1
- /**
2
- * A context hint for the size of a measurements.
3
- */
4
- export declare enum FormFieldNumericSize {
5
- /**
6
- * A small measurement.
7
- * For {@link FormFieldType.distance}: {@link Units.CENTIMETER}/{@link Units.INCH}
8
- * For {@link FormFieldType.weight}: {@link Units.GRAM}/{@link Units.OUNCE}
9
- * For {@link FormFieldType.volume}: {@link Units.MILLILITER}/{@link Units.OUNCE}
10
- * For {@link FormFieldType.speed}: {@link Units.CENTIMETER_PER_SECOND}/{@link Units.INCH_PER_SECOND}
11
- * For {@link FormFieldType.area}: {@link Units.SQUARE_METRE}/{@link Units.SQUARE_FOOT}
12
- */
13
- small = "small",
14
- /**
15
- * A medium measurement.
16
- * For {@link FormFieldType.distance}: {@link Units.METER}/{@link Units.FOOT}
17
- * For {@link FormFieldType.weight}: {@link Units.KILOGRAM}/{@link Units.POUND}
18
- * For {@link FormFieldType.volume}: same as {@link FormFieldNumericSize.small}
19
- * For {@link FormFieldType.speed}: {@link Units.METER_PER_SECOND}/{@link Units.FOOT_PER_SECOND}
20
- * For {@link FormFieldType.area}: {@link Units.SQUARE_KILOMETRE}/{@link Units.SQUARE_MILE}
21
- */
22
- medium = "medium",
23
- /**
24
- * A large measurement.
25
- * For {@link FormFieldType.distance}: {@link Units.KILOMETER}/{@link Units.MILE}
26
- * For {@link FormFieldType.weight}: {@link Units.TONNE}/{@link Units.TON}
27
- * For {@link FormFieldType.volume}: {@link Units.LITER}/{@link Units.GALLON}
28
- * For {@link FormFieldType.speed}: {@link Units.KILOMETER_PER_HOUR}/{@link Units.MILE_PER_HOUR}
29
- * For {@link FormFieldType.area}: {@link Units.HECTARE}/{@link Units.ACRE}
30
- */
31
- large = "large"
32
- }
@@ -1,17 +0,0 @@
1
- import { nothing, ulong } from '../../API/Types';
2
- import { FormFieldType } from '../FormFieldType';
3
- import { FormFieldBase } from './FormFieldBase';
4
- /**
5
- * A control to capture a signature from the user.
6
- * @tutorial
7
- * The device making the capture must save the image to the server some other way.
8
- * When submitting the {@link FormResult}, the value must be a path to the signature file.
9
- */
10
- export declare class FormFieldSignature extends FormFieldBase {
11
- /**
12
- * Just {@link FormFieldType.signature} control type.
13
- */
14
- protected get supported(): FormFieldType[];
15
- constructor(id?: ulong | nothing, name?: string | nothing, notes?: string | nothing, required?: boolean | nothing, value?: string | nothing, editable?: boolean | nothing);
16
- isValid(value: string): boolean;
17
- }