@trakit/objects 0.0.6 → 0.0.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (428) hide show
  1. package/{_publish/API → API}/Arrays.d.ts +1 -0
  2. package/{_publish/API → API}/Base.d.ts +1 -0
  3. package/{_publish/objects/API → API}/BaseComponent.d.ts +1 -0
  4. package/{_publish/objects/API → API}/BaseCompound.d.ts +1 -0
  5. package/{_publish/objects/API → API}/Codifier.d.ts +1 -0
  6. package/{_publish/API → API}/Constants.d.ts +1 -0
  7. package/{_publish/objects/API → API}/Conversion.d.ts +1 -0
  8. package/{_publish/API → API}/Encoding.d.ts +1 -0
  9. package/{_publish/objects/API → API}/Files.d.ts +1 -0
  10. package/{_publish/API → API}/Functions.d.ts +1 -0
  11. package/{_publish/API → API}/Guid.d.ts +1 -0
  12. package/{_publish/API → API}/Maps.d.ts +1 -0
  13. package/{_publish/objects/API → API}/Objects.d.ts +1 -0
  14. package/{_publish/API → API}/SearchPattern.d.ts +1 -0
  15. package/{_publish/objects/API → API}/TimeSpan.d.ts +1 -0
  16. package/{_publish/objects/API → API}/Timezone.d.ts +1 -0
  17. package/{_publish/API → API}/Timezones.d.ts +1 -0
  18. package/{_publish/objects/API → API}/Types.d.ts +1 -0
  19. package/{_publish/objects/Accounts → Accounts}/Contact.d.ts +1 -0
  20. package/{_publish/objects/Accounts → Accounts}/Machine.d.ts +1 -0
  21. package/{_publish/objects/Accounts → Accounts}/MultiFactorType.d.ts +1 -0
  22. package/{_publish/Accounts → Accounts}/NotificationMethod.d.ts +1 -0
  23. package/{_publish/objects/Accounts → Accounts}/SSOIdentityProvider.d.ts +1 -0
  24. package/{_publish/objects/Accounts → Accounts}/Session.d.ts +1 -0
  25. package/{_publish/objects/Accounts → Accounts}/SessionStatus.d.ts +1 -0
  26. package/{_publish/objects/Accounts → Accounts}/SystemsOfUnits.d.ts +1 -0
  27. package/{_publish/objects/Accounts → Accounts}/User.d.ts +1 -0
  28. package/{_publish/objects/Accounts → Accounts}/UserAdvanced.d.ts +1 -0
  29. package/{_publish/objects/Accounts → Accounts}/UserAuthentication.d.ts +1 -0
  30. package/{_publish/objects/Accounts → Accounts}/UserGeneral.d.ts +1 -0
  31. package/{_publish/objects/Accounts → Accounts}/UserGroup.d.ts +1 -0
  32. package/{_publish/objects/Accounts → Accounts}/UserMFA.d.ts +1 -0
  33. package/{_publish/Accounts → Accounts}/UserNotifications.d.ts +1 -0
  34. package/{_publish/objects/Accounts → Accounts}/UserSSO.d.ts +1 -0
  35. package/{_publish/objects/Assets → Assets}/Asset.d.ts +1 -0
  36. package/{_publish/objects/Assets → Assets}/AssetAdvanced.d.ts +1 -0
  37. package/{_publish/objects/Assets → Assets}/AssetAttribute.d.ts +1 -0
  38. package/{_publish/objects/Assets → Assets}/AssetDispatch.d.ts +1 -0
  39. package/{_publish/objects/Assets → Assets}/AssetGeneral.d.ts +1 -0
  40. package/{_publish/Assets → Assets}/AssetPlaceStatus.d.ts +1 -0
  41. package/{_publish/Assets → Assets}/AssetPlaceStatusType.d.ts +1 -0
  42. package/{_publish/Assets → Assets}/AssetType.d.ts +1 -0
  43. package/{_publish/objects/Behaviours → Behaviours}/Behaviour.d.ts +1 -0
  44. package/{_publish/objects/Behaviours → Behaviours}/BehaviourLog.d.ts +1 -0
  45. package/{_publish/Behaviours → Behaviours}/BehaviourLogType.d.ts +1 -0
  46. package/{_publish/objects/Behaviours → Behaviours}/BehaviourParameter.d.ts +1 -0
  47. package/{_publish/Behaviours → Behaviours}/BehaviourParameterType.d.ts +1 -0
  48. package/{_publish/objects/Behaviours → Behaviours}/BehaviourScript.d.ts +1 -0
  49. package/{_publish/objects/Billing → Billing}/BillableBase.d.ts +1 -0
  50. package/{_publish/Billing → Billing}/BillableSmsProfile.d.ts +1 -0
  51. package/{_publish/objects/Billing → Billing}/BillingCurrency.d.ts +1 -0
  52. package/{_publish/objects/Billing → Billing}/BillingCycle.d.ts +1 -0
  53. package/{_publish/objects/Billing → Billing}/BillingProfile.d.ts +1 -0
  54. package/{_publish/objects/Companies → Companies}/ColourStyle.d.ts +1 -0
  55. package/{_publish/objects/Companies → Companies}/Company.d.ts +1 -0
  56. package/{_publish/objects/Companies → Companies}/CompanyDirectory.d.ts +1 -0
  57. package/{_publish/objects/Companies → Companies}/CompanyGeneral.d.ts +1 -0
  58. package/{_publish/objects/Companies → Companies}/CompanyPolicy.d.ts +1 -0
  59. package/{_publish/objects/Companies → Companies}/CompanyReseller.d.ts +1 -0
  60. package/{_publish/objects/Companies → Companies}/CompanyStyle.d.ts +1 -0
  61. package/{_publish/objects/Companies → Companies}/LabelStyle.d.ts +1 -0
  62. package/{_publish/objects/Companies → Companies}/NotificationServerEmail.d.ts +1 -0
  63. package/{_publish/Companies → Companies}/NotificationServerSms.d.ts +1 -0
  64. package/{_publish/Companies → Companies}/PasswordExpiryMode.d.ts +1 -0
  65. package/{_publish/objects/Companies → Companies}/PasswordPolicy.d.ts +1 -0
  66. package/{_publish/Companies → Companies}/SessionMultiUser.d.ts +1 -0
  67. package/{_publish/objects/Companies → Companies}/SessionPolicy.d.ts +1 -0
  68. package/{_publish/objects/Dispatch → Dispatch}/DispatchDirection.d.ts +1 -0
  69. package/{_publish/objects/Dispatch → Dispatch}/DispatchJob.d.ts +1 -0
  70. package/{_publish/Dispatch → Dispatch}/DispatchJobPriority.d.ts +1 -0
  71. package/{_publish/objects/Dispatch → Dispatch}/DispatchStep.d.ts +1 -0
  72. package/{_publish/objects/Dispatch → Dispatch}/DispatchStepState.d.ts +1 -0
  73. package/{_publish/Dispatch → Dispatch}/DispatchStepStatus.d.ts +1 -0
  74. package/{_publish/objects/Dispatch → Dispatch}/DispatchTask.d.ts +1 -0
  75. package/{_publish/Dispatch → Dispatch}/DispatchTaskStatus.d.ts +1 -0
  76. package/{_publish/objects/Hosting → Hosting}/Document.d.ts +1 -0
  77. package/{_publish/Hosting → Hosting}/FormFieldType.d.ts +1 -0
  78. package/{_publish/objects/Hosting → Hosting}/FormResult.d.ts +1 -0
  79. package/{_publish/objects/Hosting → Hosting}/FormTemplate.d.ts +1 -0
  80. package/{_publish/objects/Images → Images}/Dashcam.d.ts +1 -0
  81. package/{_publish/objects/Images → Images}/DashcamBase.d.ts +1 -0
  82. package/{_publish/objects/Images → Images}/DashcamLive.d.ts +1 -0
  83. package/{_publish/objects/Images → Images}/DashcamMediaType.d.ts +1 -0
  84. package/{_publish/objects/Images → Images}/Icon.d.ts +1 -0
  85. package/{_publish/objects/Images → Images}/IconGlyph.d.ts +1 -0
  86. package/{_publish/objects/Images → Images}/IconLabel.d.ts +1 -0
  87. package/{_publish/objects/Images → Images}/IconLayer.d.ts +1 -0
  88. package/{_publish/objects/Images → Images}/Picture.d.ts +1 -0
  89. package/{_publish/Maintenance → Maintenance}/MaintenanceInterval.d.ts +1 -1
  90. package/{_publish/objects/Maintenance → Maintenance}/MaintenanceJob.d.ts +1 -0
  91. package/{_publish/Maintenance → Maintenance}/MaintenanceJobStatus.d.ts +1 -0
  92. package/{_publish/objects/Maintenance → Maintenance}/MaintenanceSchedule.d.ts +1 -0
  93. package/{_publish/Messaging → Messaging}/AlertPriority.d.ts +1 -0
  94. package/{_publish/Messaging → Messaging}/AssetAlert.d.ts +1 -0
  95. package/{_publish/objects/Messaging → Messaging}/AssetMessage.d.ts +1 -0
  96. package/{_publish/objects/Messaging → Messaging}/MessageBase.d.ts +1 -0
  97. package/{_publish/Messaging → Messaging}/MessageFolder.d.ts +1 -0
  98. package/{_publish/Messaging → Messaging}/MessageStatus.d.ts +1 -0
  99. package/{_publish/objects/Messaging → Messaging}/MessageType.d.ts +1 -0
  100. package/{_publish/objects/Places → Places}/Place.d.ts +1 -0
  101. package/{_publish/Places → Places}/PlaceType.d.ts +1 -0
  102. package/{_publish/objects/Providers → Providers}/Provider.d.ts +1 -0
  103. package/{_publish/objects/Providers → Providers}/ProviderAdvanced.d.ts +1 -0
  104. package/{_publish/objects/Providers → Providers}/ProviderCommand.d.ts +1 -0
  105. package/{_publish/objects/Providers → Providers}/ProviderCommandStatus.d.ts +1 -0
  106. package/{_publish/Providers → Providers}/ProviderCommandType.d.ts +1 -0
  107. package/{_publish/objects/Providers → Providers}/ProviderControl.d.ts +1 -0
  108. package/{_publish/objects/Providers → Providers}/ProviderData.d.ts +1 -0
  109. package/{_publish/objects/Providers → Providers}/ProviderGeneral.d.ts +1 -0
  110. package/{_publish/Providers → Providers}/ProviderType.d.ts +1 -0
  111. package/{_publish/objects/Reports → Reports}/ReportBreakdown.d.ts +1 -0
  112. package/{_publish/Reports → Reports}/ReportBreakdownJob.d.ts +1 -0
  113. package/{_publish/Reports → Reports}/ReportBreakdownMessage.d.ts +1 -0
  114. package/{_publish/Reports → Reports}/ReportBreakdownTask.d.ts +1 -0
  115. package/Reports/ReportBreakdown_fromJSON.d.ts +2 -0
  116. package/{_publish/Reports → Reports}/ReportFilterMode.d.ts +1 -0
  117. package/{_publish/Reports → Reports}/ReportNotifications.d.ts +1 -0
  118. package/{_publish/Reports → Reports}/ReportOptions.d.ts +1 -0
  119. package/{_publish/objects/Reports → Reports}/ReportParameter.d.ts +1 -0
  120. package/{_publish/objects/Reports → Reports}/ReportParameterType.d.ts +1 -0
  121. package/{_publish/Reports → Reports}/ReportRecurrence.d.ts +1 -0
  122. package/{_publish/Reports → Reports}/ReportRecurrenceType.d.ts +1 -0
  123. package/{_publish/objects/Reports → Reports}/ReportResult.d.ts +1 -0
  124. package/{_publish/Reports → Reports}/ReportResultData.d.ts +1 -0
  125. package/{_publish/objects/Reports → Reports}/ReportSchedule.d.ts +1 -0
  126. package/{_publish/objects/Reports → Reports}/ReportScorecard.d.ts +1 -0
  127. package/{_publish/objects/Reports → Reports}/ReportScorecardParameter.d.ts +1 -0
  128. package/{_publish/Reports → Reports}/ReportScorecardRules.d.ts +1 -0
  129. package/{_publish/objects/Reports → Reports}/ReportStatus.d.ts +1 -0
  130. package/{_publish/objects/Reports → Reports}/ReportSummary.d.ts +1 -0
  131. package/{_publish/Reports → Reports}/ReportSummaryReason.d.ts +1 -0
  132. package/{_publish/objects/Reports → Reports}/ReportTemplate.d.ts +1 -0
  133. package/{_publish/objects/Reports → Reports}/ReportTotal.d.ts +1 -0
  134. package/{_publish/objects/Reports → Reports}/ReportType.d.ts +1 -0
  135. package/index.d.ts +407 -0
  136. package/package.json +5 -2
  137. package/{_publish/storage.d.ts → storage.d.ts} +1 -0
  138. package/_publish/API/BaseComponent.d.ts +0 -40
  139. package/_publish/API/BaseCompound.d.ts +0 -19
  140. package/_publish/API/Codifier.d.ts +0 -15
  141. package/_publish/API/Conversion.d.ts +0 -255
  142. package/_publish/API/Files.d.ts +0 -21
  143. package/_publish/API/Geography/Functions.d.ts +0 -236
  144. package/_publish/API/Geography/Interfaces.d.ts +0 -150
  145. package/_publish/API/Geography/LatLng.d.ts +0 -86
  146. package/_publish/API/Geography/LatLngBounds.d.ts +0 -146
  147. package/_publish/API/Geography/Position.d.ts +0 -74
  148. package/_publish/API/Geography/StreetAddress.d.ts +0 -59
  149. package/_publish/API/Geometry/Functions.d.ts +0 -114
  150. package/_publish/API/Geometry/Interfaces.d.ts +0 -111
  151. package/_publish/API/Geometry/Point.d.ts +0 -81
  152. package/_publish/API/Geometry/Radial.d.ts +0 -110
  153. package/_publish/API/Geometry/Rectangle.d.ts +0 -159
  154. package/_publish/API/Geometry/Size.d.ts +0 -58
  155. package/_publish/API/Interfaces/IAmCompany.d.ts +0 -11
  156. package/_publish/API/Interfaces/IAuditable.d.ts +0 -31
  157. package/_publish/API/Interfaces/IBelongAsset.d.ts +0 -15
  158. package/_publish/API/Interfaces/IBelongBillingProfile.d.ts +0 -15
  159. package/_publish/API/Interfaces/IBelongCompany.d.ts +0 -15
  160. package/_publish/API/Interfaces/IDeserializable.d.ts +0 -13
  161. package/_publish/API/Interfaces/IEnabled.d.ts +0 -10
  162. package/_publish/API/Interfaces/IFileSize.d.ts +0 -9
  163. package/_publish/API/Interfaces/IGlobal.d.ts +0 -11
  164. package/_publish/API/Interfaces/IHavePermissions.d.ts +0 -20
  165. package/_publish/API/Interfaces/IHavePreferences.d.ts +0 -29
  166. package/_publish/API/Interfaces/IIconic.d.ts +0 -15
  167. package/_publish/API/Interfaces/IIdUlong.d.ts +0 -10
  168. package/_publish/API/Interfaces/ILabelled.d.ts +0 -10
  169. package/_publish/API/Interfaces/INamed.d.ts +0 -13
  170. package/_publish/API/Interfaces/IPictured.d.ts +0 -15
  171. package/_publish/API/Interfaces/IRequestable.d.ts +0 -22
  172. package/_publish/API/Interfaces/ISerializable.d.ts +0 -10
  173. package/_publish/API/Interfaces/ISuspendable.d.ts +0 -16
  174. package/_publish/API/Interfaces/IVisual.d.ts +0 -18
  175. package/_publish/API/Objects.d.ts +0 -5
  176. package/_publish/API/TimeSpan.d.ts +0 -109
  177. package/_publish/API/Timezone.d.ts +0 -44
  178. package/_publish/API/Types.d.ts +0 -132
  179. package/_publish/Accounts/Contact.d.ts +0 -140
  180. package/_publish/Accounts/Machine.d.ts +0 -139
  181. package/_publish/Accounts/Permissions/Authorizer.d.ts +0 -204
  182. package/_publish/Accounts/Permissions/Permission.d.ts +0 -57
  183. package/_publish/Accounts/Permissions/PermissionEscalation.d.ts +0 -41
  184. package/_publish/Accounts/Permissions/PermissionEscalationState.d.ts +0 -19
  185. package/_publish/Accounts/Permissions/PermissionEscalationType.d.ts +0 -13
  186. package/_publish/Accounts/Permissions/PermissionLevel.d.ts +0 -17
  187. package/_publish/Accounts/Permissions/PermissionMethod.d.ts +0 -13
  188. package/_publish/Accounts/Permissions/PermissionType.d.ts +0 -280
  189. package/_publish/Accounts/Session.d.ts +0 -92
  190. package/_publish/Accounts/SessionStatus.d.ts +0 -29
  191. package/_publish/Accounts/SystemsOfUnits.d.ts +0 -13
  192. package/_publish/Accounts/User.d.ts +0 -147
  193. package/_publish/Accounts/UserAdvanced.d.ts +0 -54
  194. package/_publish/Accounts/UserGeneral.d.ts +0 -100
  195. package/_publish/Accounts/UserGroup.d.ts +0 -52
  196. package/_publish/Assets/Asset.d.ts +0 -224
  197. package/_publish/Assets/AssetAdvanced.d.ts +0 -78
  198. package/_publish/Assets/AssetAttribute.d.ts +0 -71
  199. package/_publish/Assets/AssetDispatch.d.ts +0 -56
  200. package/_publish/Assets/AssetGeneral.d.ts +0 -129
  201. package/_publish/Behaviours/Behaviour.d.ts +0 -79
  202. package/_publish/Behaviours/BehaviourLog.d.ts +0 -97
  203. package/_publish/Behaviours/BehaviourParameter.d.ts +0 -38
  204. package/_publish/Behaviours/BehaviourScript.d.ts +0 -84
  205. package/_publish/Billing/BillableBase.d.ts +0 -85
  206. package/_publish/Billing/BillingCurrency.d.ts +0 -17
  207. package/_publish/Billing/BillingCycle.d.ts +0 -17
  208. package/_publish/Billing/BillingProfile.d.ts +0 -107
  209. package/_publish/Billing/Hosting/BillableHostingBase.d.ts +0 -41
  210. package/_publish/Billing/Hosting/BillableHostingDiscount.d.ts +0 -36
  211. package/_publish/Billing/Hosting/BillableHostingLicense.d.ts +0 -30
  212. package/_publish/Billing/Hosting/BillableHostingLicenseType.d.ts +0 -20
  213. package/_publish/Billing/Hosting/BillableHostingRule.d.ts +0 -30
  214. package/_publish/Billing/Hosting/BillableHostingType.d.ts +0 -41
  215. package/_publish/Billing/Report/BillingReport.d.ts +0 -114
  216. package/_publish/Billing/Report/BillingReportBreakdown.d.ts +0 -35
  217. package/_publish/Billing/Report/BillingReportHostingSummary.d.ts +0 -36
  218. package/_publish/Billing/Report/BillingReportLicenseBreakdown.d.ts +0 -80
  219. package/_publish/Billing/Report/BillingReportServiceBreakdown.d.ts +0 -126
  220. package/_publish/Billing/Report/BillingReportStatus.d.ts +0 -25
  221. package/_publish/Billing/Report/BillingReportSummary.d.ts +0 -51
  222. package/_publish/Companies/ColourStyle.d.ts +0 -25
  223. package/_publish/Companies/Company.d.ts +0 -165
  224. package/_publish/Companies/CompanyDirectory.d.ts +0 -54
  225. package/_publish/Companies/CompanyGeneral.d.ts +0 -56
  226. package/_publish/Companies/CompanyPolicy.d.ts +0 -67
  227. package/_publish/Companies/CompanyReseller.d.ts +0 -168
  228. package/_publish/Companies/CompanyStyle.d.ts +0 -51
  229. package/_publish/Companies/LabelStyle.d.ts +0 -46
  230. package/_publish/Companies/NotificationServerEmail.d.ts +0 -99
  231. package/_publish/Companies/PasswordPolicy.d.ts +0 -51
  232. package/_publish/Companies/SessionPolicy.d.ts +0 -47
  233. package/_publish/Dispatch/DispatchDirection.d.ts +0 -53
  234. package/_publish/Dispatch/DispatchJob.d.ts +0 -109
  235. package/_publish/Dispatch/DispatchStep.d.ts +0 -99
  236. package/_publish/Dispatch/DispatchStepState.d.ts +0 -27
  237. package/_publish/Dispatch/DispatchTask.d.ts +0 -156
  238. package/_publish/Hosting/Document.d.ts +0 -71
  239. package/_publish/Hosting/Fields/FormFieldAttachments.d.ts +0 -31
  240. package/_publish/Hosting/Fields/FormFieldBase.d.ts +0 -56
  241. package/_publish/Hosting/Fields/FormFieldBase_fromJSON.d.ts +0 -1
  242. package/_publish/Hosting/Fields/FormFieldBoolean.d.ts +0 -38
  243. package/_publish/Hosting/Fields/FormFieldChoice.d.ts +0 -46
  244. package/_publish/Hosting/Fields/FormFieldDate.d.ts +0 -26
  245. package/_publish/Hosting/Fields/FormFieldNumeric.d.ts +0 -54
  246. package/_publish/Hosting/Fields/FormFieldNumericSize.d.ts +0 -32
  247. package/_publish/Hosting/Fields/FormFieldSignature.d.ts +0 -17
  248. package/_publish/Hosting/Fields/FormFieldText.d.ts +0 -32
  249. package/_publish/Hosting/Fields/FormFieldTime.d.ts +0 -37
  250. package/_publish/Hosting/Fields/FormFieldTimezone.d.ts +0 -14
  251. package/_publish/Hosting/FormResult.d.ts +0 -97
  252. package/_publish/Hosting/FormTemplate.d.ts +0 -81
  253. package/_publish/Images/Dashcam.d.ts +0 -70
  254. package/_publish/Images/DashcamBase.d.ts +0 -98
  255. package/_publish/Images/DashcamLive.d.ts +0 -43
  256. package/_publish/Images/DashcamMediaType.d.ts +0 -17
  257. package/_publish/Images/Icon.d.ts +0 -67
  258. package/_publish/Images/IconGlyph.d.ts +0 -47
  259. package/_publish/Images/IconLabel.d.ts +0 -29
  260. package/_publish/Images/IconLayer.d.ts +0 -33
  261. package/_publish/Images/Picture.d.ts +0 -73
  262. package/_publish/Maintenance/MaintenanceJob.d.ts +0 -137
  263. package/_publish/Maintenance/MaintenanceSchedule.d.ts +0 -119
  264. package/_publish/Messaging/AssetMessage.d.ts +0 -40
  265. package/_publish/Messaging/MessageBase.d.ts +0 -101
  266. package/_publish/Messaging/MessageType.d.ts +0 -33
  267. package/_publish/Places/Place.d.ts +0 -116
  268. package/_publish/Providers/Config/ProviderConfig.d.ts +0 -72
  269. package/_publish/Providers/Config/ProviderRegistration.d.ts +0 -123
  270. package/_publish/Providers/Config/ProviderScript.d.ts +0 -87
  271. package/_publish/Providers/Config/ProviderScriptBlock.d.ts +0 -41
  272. package/_publish/Providers/Config/ProviderScriptParameter.d.ts +0 -49
  273. package/_publish/Providers/Config/ProviderScriptParameterType.d.ts +0 -17
  274. package/_publish/Providers/Configuration/ProviderConfiguration.d.ts +0 -68
  275. package/_publish/Providers/Configuration/ProviderConfigurationNode.d.ts +0 -66
  276. package/_publish/Providers/Configuration/ProviderConfigurationType.d.ts +0 -62
  277. package/_publish/Providers/Configuration/ProviderGeofenceBase.d.ts +0 -29
  278. package/_publish/Providers/Configuration/ProviderGeofenceBase_fromJSON.d.ts +0 -1
  279. package/_publish/Providers/Configuration/ProviderGeofenceCircular.d.ts +0 -28
  280. package/_publish/Providers/Configuration/ProviderGeofencePoint.d.ts +0 -12
  281. package/_publish/Providers/Configuration/ProviderGeofencePolygon.d.ts +0 -23
  282. package/_publish/Providers/Configuration/ProviderGeofenceRectangle.d.ts +0 -28
  283. package/_publish/Providers/Provider.d.ts +0 -211
  284. package/_publish/Providers/ProviderAdvanced.d.ts +0 -51
  285. package/_publish/Providers/ProviderCommand.d.ts +0 -36
  286. package/_publish/Providers/ProviderCommandStatus.d.ts +0 -29
  287. package/_publish/Providers/ProviderControl.d.ts +0 -42
  288. package/_publish/Providers/ProviderData.d.ts +0 -30
  289. package/_publish/Providers/ProviderGeneral.d.ts +0 -125
  290. package/_publish/Reports/ReportBreakdown.d.ts +0 -49
  291. package/_publish/Reports/ReportBreakdown_fromJSON.d.ts +0 -1
  292. package/_publish/Reports/ReportParameter.d.ts +0 -26
  293. package/_publish/Reports/ReportParameterType.d.ts +0 -59
  294. package/_publish/Reports/ReportResult.d.ts +0 -170
  295. package/_publish/Reports/ReportSchedule.d.ts +0 -112
  296. package/_publish/Reports/ReportScorecard.d.ts +0 -39
  297. package/_publish/Reports/ReportScorecardParameter.d.ts +0 -31
  298. package/_publish/Reports/ReportStatus.d.ts +0 -29
  299. package/_publish/Reports/ReportSummary.d.ts +0 -91
  300. package/_publish/Reports/ReportTemplate.d.ts +0 -82
  301. package/_publish/Reports/ReportTotal.d.ts +0 -48
  302. package/_publish/Reports/ReportType.d.ts +0 -42
  303. package/_publish/index.d.ts +0 -406
  304. package/_publish/objects/API/Arrays.d.ts +0 -46
  305. package/_publish/objects/API/Base.d.ts +0 -19
  306. package/_publish/objects/API/Constants.d.ts +0 -39
  307. package/_publish/objects/API/Encoding.d.ts +0 -9
  308. package/_publish/objects/API/Functions.d.ts +0 -196
  309. package/_publish/objects/API/Geography/Functions.d.ts +0 -236
  310. package/_publish/objects/API/Geography/Interfaces.d.ts +0 -150
  311. package/_publish/objects/API/Geography/LatLng.d.ts +0 -86
  312. package/_publish/objects/API/Geography/LatLngBounds.d.ts +0 -146
  313. package/_publish/objects/API/Geography/Position.d.ts +0 -74
  314. package/_publish/objects/API/Geography/StreetAddress.d.ts +0 -59
  315. package/_publish/objects/API/Geometry/Functions.d.ts +0 -114
  316. package/_publish/objects/API/Geometry/Interfaces.d.ts +0 -111
  317. package/_publish/objects/API/Geometry/Point.d.ts +0 -81
  318. package/_publish/objects/API/Geometry/Radial.d.ts +0 -110
  319. package/_publish/objects/API/Geometry/Rectangle.d.ts +0 -159
  320. package/_publish/objects/API/Geometry/Size.d.ts +0 -58
  321. package/_publish/objects/API/Guid.d.ts +0 -4
  322. package/_publish/objects/API/Interfaces/IAmCompany.d.ts +0 -11
  323. package/_publish/objects/API/Interfaces/IBelongAsset.d.ts +0 -15
  324. package/_publish/objects/API/Interfaces/IBelongBillingProfile.d.ts +0 -15
  325. package/_publish/objects/API/Interfaces/IBelongCompany.d.ts +0 -15
  326. package/_publish/objects/API/Interfaces/IDeserializable.d.ts +0 -13
  327. package/_publish/objects/API/Interfaces/IEnabled.d.ts +0 -10
  328. package/_publish/objects/API/Interfaces/IFileSize.d.ts +0 -9
  329. package/_publish/objects/API/Interfaces/IGlobal.d.ts +0 -11
  330. package/_publish/objects/API/Interfaces/IHavePermissions.d.ts +0 -20
  331. package/_publish/objects/API/Interfaces/IHavePreferences.d.ts +0 -29
  332. package/_publish/objects/API/Interfaces/IIconic.d.ts +0 -15
  333. package/_publish/objects/API/Interfaces/IIdUlong.d.ts +0 -10
  334. package/_publish/objects/API/Interfaces/ILabelled.d.ts +0 -10
  335. package/_publish/objects/API/Interfaces/INamed.d.ts +0 -13
  336. package/_publish/objects/API/Interfaces/IPictured.d.ts +0 -15
  337. package/_publish/objects/API/Interfaces/IRequestable.d.ts +0 -22
  338. package/_publish/objects/API/Interfaces/ISerializable.d.ts +0 -10
  339. package/_publish/objects/API/Interfaces/ISuspendable.d.ts +0 -16
  340. package/_publish/objects/API/Interfaces/IVisual.d.ts +0 -18
  341. package/_publish/objects/API/Maps.d.ts +0 -28
  342. package/_publish/objects/API/SearchPattern.d.ts +0 -46
  343. package/_publish/objects/API/Timezones.d.ts +0 -7
  344. package/_publish/objects/Accounts/NotificationMethod.d.ts +0 -17
  345. package/_publish/objects/Accounts/Permissions/Authorizer.d.ts +0 -204
  346. package/_publish/objects/Accounts/Permissions/Permission.d.ts +0 -56
  347. package/_publish/objects/Accounts/Permissions/PermissionEscalation.d.ts +0 -41
  348. package/_publish/objects/Accounts/Permissions/PermissionEscalationState.d.ts +0 -19
  349. package/_publish/objects/Accounts/Permissions/PermissionEscalationType.d.ts +0 -13
  350. package/_publish/objects/Accounts/Permissions/PermissionLevel.d.ts +0 -17
  351. package/_publish/objects/Accounts/Permissions/PermissionMethod.d.ts +0 -13
  352. package/_publish/objects/Accounts/Permissions/PermissionType.d.ts +0 -280
  353. package/_publish/objects/Accounts/UserNotifications.d.ts +0 -76
  354. package/_publish/objects/Assets/AssetPlaceStatus.d.ts +0 -31
  355. package/_publish/objects/Assets/AssetPlaceStatusType.d.ts +0 -17
  356. package/_publish/objects/Assets/AssetType.d.ts +0 -21
  357. package/_publish/objects/Behaviours/BehaviourLogType.d.ts +0 -21
  358. package/_publish/objects/Behaviours/BehaviourParameterType.d.ts +0 -21
  359. package/_publish/objects/Billing/BillableSmsProfile.d.ts +0 -26
  360. package/_publish/objects/Billing/Hosting/BillableHostingBase.d.ts +0 -41
  361. package/_publish/objects/Billing/Hosting/BillableHostingLicense.d.ts +0 -30
  362. package/_publish/objects/Billing/Hosting/BillableHostingLicenseType.d.ts +0 -20
  363. package/_publish/objects/Billing/Hosting/BillableHostingRule.d.ts +0 -30
  364. package/_publish/objects/Billing/Hosting/BillableHostingType.d.ts +0 -41
  365. package/_publish/objects/Billing/Report/BillingReport.d.ts +0 -112
  366. package/_publish/objects/Billing/Report/BillingReportBreakdown.d.ts +0 -34
  367. package/_publish/objects/Billing/Report/BillingReportHostingSummary.d.ts +0 -36
  368. package/_publish/objects/Billing/Report/BillingReportLicenseBreakdown.d.ts +0 -79
  369. package/_publish/objects/Billing/Report/BillingReportServiceBreakdown.d.ts +0 -124
  370. package/_publish/objects/Billing/Report/BillingReportStatus.d.ts +0 -25
  371. package/_publish/objects/Billing/Report/BillingReportSummary.d.ts +0 -49
  372. package/_publish/objects/Companies/NotificationServerSms.d.ts +0 -25
  373. package/_publish/objects/Companies/PasswordExpiryMode.d.ts +0 -17
  374. package/_publish/objects/Companies/SessionMultiUser.d.ts +0 -17
  375. package/_publish/objects/Dispatch/DispatchJobPriority.d.ts +0 -25
  376. package/_publish/objects/Dispatch/DispatchStepStatus.d.ts +0 -21
  377. package/_publish/objects/Dispatch/DispatchTaskStatus.d.ts +0 -50
  378. package/_publish/objects/Hosting/Fields/FormFieldAttachments.d.ts +0 -31
  379. package/_publish/objects/Hosting/Fields/FormFieldBase.d.ts +0 -56
  380. package/_publish/objects/Hosting/Fields/FormFieldBase_fromJSON.d.ts +0 -1
  381. package/_publish/objects/Hosting/Fields/FormFieldBoolean.d.ts +0 -38
  382. package/_publish/objects/Hosting/Fields/FormFieldChoice.d.ts +0 -46
  383. package/_publish/objects/Hosting/Fields/FormFieldDate.d.ts +0 -26
  384. package/_publish/objects/Hosting/Fields/FormFieldNumeric.d.ts +0 -54
  385. package/_publish/objects/Hosting/Fields/FormFieldNumericSize.d.ts +0 -32
  386. package/_publish/objects/Hosting/Fields/FormFieldSignature.d.ts +0 -17
  387. package/_publish/objects/Hosting/Fields/FormFieldText.d.ts +0 -32
  388. package/_publish/objects/Hosting/Fields/FormFieldTime.d.ts +0 -37
  389. package/_publish/objects/Hosting/Fields/FormFieldTimezone.d.ts +0 -14
  390. package/_publish/objects/Hosting/FormFieldType.d.ts +0 -127
  391. package/_publish/objects/Maintenance/MaintenanceInterval.d.ts +0 -48
  392. package/_publish/objects/Maintenance/MaintenanceJobStatus.d.ts +0 -21
  393. package/_publish/objects/Messaging/AlertPriority.d.ts +0 -17
  394. package/_publish/objects/Messaging/AssetAlert.d.ts +0 -29
  395. package/_publish/objects/Messaging/MessageFolder.d.ts +0 -13
  396. package/_publish/objects/Messaging/MessageStatus.d.ts +0 -29
  397. package/_publish/objects/Places/PlaceType.d.ts +0 -25
  398. package/_publish/objects/Providers/Config/ProviderConfig.d.ts +0 -70
  399. package/_publish/objects/Providers/Config/ProviderRegistration.d.ts +0 -119
  400. package/_publish/objects/Providers/Config/ProviderScript.d.ts +0 -86
  401. package/_publish/objects/Providers/Config/ProviderScriptBlock.d.ts +0 -41
  402. package/_publish/objects/Providers/Config/ProviderScriptParameter.d.ts +0 -49
  403. package/_publish/objects/Providers/Config/ProviderScriptParameterType.d.ts +0 -17
  404. package/_publish/objects/Providers/Configuration/ProviderConfiguration.d.ts +0 -66
  405. package/_publish/objects/Providers/Configuration/ProviderConfigurationNode.d.ts +0 -66
  406. package/_publish/objects/Providers/Configuration/ProviderConfigurationType.d.ts +0 -62
  407. package/_publish/objects/Providers/Configuration/ProviderGeofenceBase.d.ts +0 -29
  408. package/_publish/objects/Providers/Configuration/ProviderGeofenceBase_fromJSON.d.ts +0 -1
  409. package/_publish/objects/Providers/Configuration/ProviderGeofenceCircular.d.ts +0 -28
  410. package/_publish/objects/Providers/Configuration/ProviderGeofencePoint.d.ts +0 -12
  411. package/_publish/objects/Providers/Configuration/ProviderGeofencePolygon.d.ts +0 -23
  412. package/_publish/objects/Providers/Configuration/ProviderGeofenceRectangle.d.ts +0 -28
  413. package/_publish/objects/Providers/ProviderCommandType.d.ts +0 -37
  414. package/_publish/objects/Providers/ProviderType.d.ts +0 -106
  415. package/_publish/objects/Reports/ReportBreakdownJob.d.ts +0 -37
  416. package/_publish/objects/Reports/ReportBreakdownMessage.d.ts +0 -40
  417. package/_publish/objects/Reports/ReportBreakdownTask.d.ts +0 -46
  418. package/_publish/objects/Reports/ReportBreakdown_fromJSON.d.ts +0 -1
  419. package/_publish/objects/Reports/ReportFilterMode.d.ts +0 -17
  420. package/_publish/objects/Reports/ReportNotifications.d.ts +0 -31
  421. package/_publish/objects/Reports/ReportOptions.d.ts +0 -52
  422. package/_publish/objects/Reports/ReportRecurrence.d.ts +0 -54
  423. package/_publish/objects/Reports/ReportRecurrenceType.d.ts +0 -34
  424. package/_publish/objects/Reports/ReportResultData.d.ts +0 -17
  425. package/_publish/objects/Reports/ReportScorecardRules.d.ts +0 -26
  426. package/_publish/objects/Reports/ReportSummaryReason.d.ts +0 -27
  427. package/_publish/objects/storage.d.ts +0 -176
  428. /package/{_publish/trakit-objects.min.js → trakit-objects.min.js} +0 -0
@@ -1,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
- }
@@ -1,31 +0,0 @@
1
- import { ISerializable } from "../API/Interfaces/ISerializable";
2
- import { datetime, JsonObject } from "../API/Types";
3
- import { AssetPlaceStatusType } from "./AssetPlaceStatusType";
4
- /**
5
- * A simple status for each place an Asset visits.
6
- */
7
- export declare class AssetPlaceStatus implements ISerializable {
8
- /**
9
- *
10
- * @param json
11
- */
12
- static fromJSON(json: JsonObject): AssetPlaceStatus;
13
- /**
14
- * The kind of interaction.
15
- */
16
- kind: AssetPlaceStatusType;
17
- /**
18
- * The date/time stamp for when the Asset first began interacting with the Place.
19
- */
20
- enter: Date;
21
- /**
22
- * The most recent date/time stamp for the interaction.
23
- */
24
- latest: Date;
25
- constructor(kind?: AssetPlaceStatusType, enter?: Date | number | datetime, latest?: Date | number | datetime);
26
- toJSON(): {
27
- kind: AssetPlaceStatusType;
28
- enter: string | null;
29
- latest: string | null;
30
- };
31
- }
@@ -1,17 +0,0 @@
1
- /**
2
- * The kinds of interactions had with a Place.
3
- */
4
- export declare enum AssetPlaceStatusType {
5
- /**
6
- * Occurs when an asset is outside a Place, then goes inside the boundary.
7
- */
8
- enter = "enter",
9
- /**
10
- * Occurs when the asset was inside the boundary before, and is still inside the boundary now.
11
- */
12
- inside = "inside",
13
- /**
14
- * Occurs when an asset was inside the boundary of a Place, but then moves outside the boundary.
15
- */
16
- exit = "exit"
17
- }
@@ -1,21 +0,0 @@
1
- /**
2
- * The four supported types of trackable things.
3
- */
4
- export declare enum AssetType {
5
- /**
6
- * Generic thing.
7
- */
8
- asset = "asset",
9
- /**
10
- * Human (or alien) Person.
11
- */
12
- person = "person",
13
- /**
14
- * A towed vehicle without an engine.
15
- */
16
- trailer = "trailer",
17
- /**
18
- * A vehicle that moves with its own power.
19
- */
20
- vehicle = "vehicle"
21
- }
@@ -1,21 +0,0 @@
1
- /**
2
- * The type of logged message.
3
- */
4
- export declare enum BehaviourLogType {
5
- /**
6
- * Used for general information messages.
7
- */
8
- log = "log",
9
- /**
10
- * Used for more important messages.
11
- */
12
- info = "info",
13
- /**
14
- * Used for warnings.
15
- */
16
- warn = "warn",
17
- /**
18
- * Used for errors.
19
- */
20
- err = "err"
21
- }
@@ -1,21 +0,0 @@
1
- /**
2
- * Possible data-types given to BehaviourParameters.
3
- */
4
- export declare enum BehaviourParameterType {
5
- /**
6
- * True or false.
7
- */
8
- boolean = "boolean",
9
- /**
10
- * Numeric value (signed double-precision floating point number).
11
- */
12
- number = "number",
13
- /**
14
- * Text.
15
- */
16
- text = "text",
17
- /**
18
- * Object or array literal.
19
- */
20
- json = "json"
21
- }
@@ -1,26 +0,0 @@
1
- import { ISerializable } from "../API/Interfaces/ISerializable";
2
- import { double, uint, JsonObject } from "../API/Types";
3
- /**
4
- * Description of a tiered SMS messaging limit
5
- */
6
- export declare class BillableSmsProfile implements ISerializable {
7
- /**
8
- *
9
- * @param json
10
- */
11
- static fromJSON(json: JsonObject): BillableSmsProfile;
12
- /**
13
- * The maximum number of messages sent per cycle
14
- */
15
- limit: uint;
16
- /**
17
- * Cost per SMS message sent.
18
- * Received messages are free.
19
- */
20
- amount: double;
21
- constructor(limit?: uint, amount?: double);
22
- toJSON(): {
23
- limit: number | null;
24
- amount: number | null;
25
- };
26
- }
@@ -1,41 +0,0 @@
1
- import { IBelongBillingProfile } from '../../API/Interfaces/IBelongBillingProfile';
2
- import { IBelongCompany } from '../../API/Interfaces/IBelongCompany';
3
- import { IIdUlong } from '../../API/Interfaces/IIdUlong';
4
- import { SearchPattern } from '../../API/SearchPattern';
5
- import { JsonObject, uint } from '../../API/Types';
6
- import { BillableBase } from '../BillableBase';
7
- /**
8
- * Hosted things share a lot of common attributes.
9
- */
10
- export declare abstract class BillableHostingBase extends BillableBase implements IIdUlong, IBelongBillingProfile, IBelongCompany {
11
- /**
12
- * The number of units to which this billing rule applies.
13
- * Should be a non-zero value; NaN means unlimited.
14
- */
15
- limit: uint;
16
- /**
17
- * Which assets are targeted by this hosting rule.
18
- */
19
- targets: SearchPattern[] | null;
20
- /**
21
- * Does this hosting rule apply to suspended resources.
22
- */
23
- suspended: boolean;
24
- toJSON(): {
25
- limit: number | null;
26
- targets: string | null;
27
- suspended: boolean;
28
- id: number | null;
29
- v: number[];
30
- company: number;
31
- profile: number;
32
- name: string;
33
- notes: string;
34
- reference: string;
35
- sku: string;
36
- start: string | null;
37
- end: string | null;
38
- amount: number | null;
39
- };
40
- fromJSON(json: JsonObject, force?: boolean): boolean;
41
- }
@@ -1,30 +0,0 @@
1
- import { JsonObject } from '../../API/Types';
2
- import { BillableHostingBase } from './BillableHostingBase';
3
- import { BillableHostingLicenseType } from './BillableHostingLicenseType';
4
- /**
5
- * A hardware license for providers
6
- */
7
- export declare class BillableHostingLicense extends BillableHostingBase {
8
- /**
9
- * The type of hardware license
10
- */
11
- kind: BillableHostingLicenseType;
12
- toJSON(): {
13
- kind: BillableHostingLicenseType;
14
- limit: number | null;
15
- targets: string | null;
16
- suspended: boolean;
17
- id: number | null;
18
- v: number[];
19
- company: number;
20
- profile: number;
21
- name: string;
22
- notes: string;
23
- reference: string;
24
- sku: string;
25
- start: string | null;
26
- end: string | null;
27
- amount: number | null;
28
- };
29
- fromJSON(json: JsonObject, force?: boolean): boolean;
30
- }
@@ -1,20 +0,0 @@
1
- /**
2
- * The kind of license being billed.
3
- */
4
- export declare enum BillableHostingLicenseType {
5
- /**
6
- * SmartWitness data hosting fee
7
- * {@link ProviderType.smartwitness}
8
- */
9
- smartwitness = "smartwitness",
10
- /**
11
- * BeWhere license fee
12
- * {@link ProviderType.bewhere}
13
- */
14
- bewhere = "bewhere",
15
- /**
16
- * CalAmp PULS fee
17
- * {@link ProviderType.calamp}
18
- */
19
- calamp = "calamp"
20
- }
@@ -1,30 +0,0 @@
1
- import { JsonObject } from '../../API/Types';
2
- import { BillableHostingBase } from './BillableHostingBase';
3
- import { BillableHostingType } from './BillableHostingType';
4
- /**
5
- * A billing rule for assets
6
- */
7
- export declare class BillableHostingRule extends BillableHostingBase {
8
- /**
9
- * The type of service being billed.
10
- */
11
- service: BillableHostingType;
12
- toJSON(): {
13
- service: BillableHostingType;
14
- limit: number | null;
15
- targets: string | null;
16
- suspended: boolean;
17
- id: number | null;
18
- v: number[];
19
- company: number;
20
- profile: number;
21
- name: string;
22
- notes: string;
23
- reference: string;
24
- sku: string;
25
- start: string | null;
26
- end: string | null;
27
- amount: number | null;
28
- };
29
- fromJSON(json: JsonObject, force?: boolean): boolean;
30
- }
@@ -1,41 +0,0 @@
1
- /**
2
- * The kind of service being billed.
3
- */
4
- export declare enum BillableHostingType {
5
- /**
6
- * Employee/driver tracking.
7
- */
8
- mobile = "mobile",
9
- /**
10
- * Vehicle tracking (includes VBus data, and engine hours).
11
- */
12
- vehicle = "vehicle",
13
- /**
14
- * Generic dot-on-a-map tracking.
15
- */
16
- asset = "asset",
17
- /**
18
- * Tasks assignable to vehicles or persons.
19
- */
20
- dispatch = "dispatch",
21
- /**
22
- * FMCSA compliant E-Logs and Hours of Service.
23
- */
24
- elogs = "elogs",
25
- /**
26
- * Inventory management.
27
- */
28
- inventory = "inventory",
29
- /**
30
- * Cargo and delivery audit.
31
- */
32
- cargo = "cargo",
33
- /**
34
- * Mobile forms.
35
- */
36
- forms = "forms",
37
- /**
38
- * Dashcam and live images hosting.
39
- */
40
- streetview = "streetview"
41
- }
@@ -1,112 +0,0 @@
1
- import { BaseComponent } from '../../API/BaseComponent';
2
- import { IBelongBillingProfile } from '../../API/Interfaces/IBelongBillingProfile';
3
- import { IBelongCompany } from '../../API/Interfaces/IBelongCompany';
4
- import { IIdUlong } from '../../API/Interfaces/IIdUlong';
5
- import { INamed } from '../../API/Interfaces/INamed';
6
- import { double, JsonObject, ulong } from '../../API/Types';
7
- import { Company } from '../../Companies/Company';
8
- import { BillingCurrency } from '../BillingCurrency';
9
- import { BillingProfile } from '../BillingProfile';
10
- import { BillingReportBreakdown } from "./BillingReportBreakdown";
11
- import { BillingReportStatus } from "./BillingReportStatus";
12
- import { BillingReportSummary } from "./BillingReportSummary";
13
- /**
14
- * Report generated per billee company.
15
- */
16
- export declare class BillingReport extends BaseComponent implements IIdUlong, INamed, IBelongCompany, IBelongBillingProfile {
17
- /**
18
- * Unique identifier
19
- */
20
- id: ulong;
21
- /**
22
- * The company to which this report belongs and is sending the bill.
23
- * {@link Company.id}
24
- */
25
- companyId: ulong;
26
- /**
27
- * The {@link Company} to which this report belongs and is sending the bill.
28
- */
29
- get company(): Company;
30
- /**
31
- * Unique identifier of the Company receiving the bill.
32
- * {@link Company.id}
33
- */
34
- billeeId: ulong;
35
- /**
36
- * Unique identifier of the {@link Company} receiving the bill.
37
- */
38
- get billee(): Company;
39
- /**
40
- * The profile to which this report belongs
41
- * {@link BillingProfile.id}
42
- */
43
- profileId: ulong;
44
- /**
45
- * The profile to which this report belongs
46
- * {@link BillingProfile.id}
47
- */
48
- get profile(): BillingProfile;
49
- /**
50
- * Name of this report.
51
- */
52
- name: string;
53
- /**
54
- * Notes about this report.
55
- */
56
- notes: string;
57
- /**
58
- * First day of the billing cycle
59
- */
60
- startDate: Date;
61
- /**
62
- * Last day of the billing cycle
63
- */
64
- endDate: Date;
65
- /**
66
- * Total amount being billed.
67
- */
68
- total: double;
69
- /**
70
- * Currency being billed in
71
- */
72
- currency: BillingCurrency;
73
- /**
74
- * The processing status of this report.
75
- */
76
- status: BillingReportStatus;
77
- /**
78
- * A field which contains report error details if the {@link status} is {@link BillingReportStatus.failed}.
79
- * {@link BillingReportStatus}
80
- */
81
- error: string;
82
- /**
83
- * Summary contains totals per target for this billee
84
- */
85
- summary: BillingReportSummary[];
86
- /**
87
- * Individual amounts per company, used to calculate the results of the report.
88
- */
89
- breakdown: BillingReportBreakdown[];
90
- toJSON(): {
91
- id: number | null;
92
- v: number[];
93
- company: number;
94
- billee: number;
95
- profile: number;
96
- name: string;
97
- notes: string;
98
- startDate: string | null;
99
- endDate: string | null;
100
- total: number;
101
- currency: BillingCurrency;
102
- status: BillingReportStatus;
103
- error: string;
104
- summary: any[];
105
- breakdown: any[];
106
- };
107
- fromJSON(json: JsonObject, force?: boolean): boolean;
108
- /**
109
- * The {@link id} is the key.
110
- */
111
- getKey(): number;
112
- }
@@ -1,34 +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 {@link Company} to which this breakdown instance belongs.
18
- */
19
- get target(): Company;
20
- /**
21
- * Individual amounts billed per targeted assets.
22
- */
23
- services: BillingReportServiceBreakdown[];
24
- /**
25
- * Individual amounts for licensing per targeted providers.
26
- */
27
- licenses: BillingReportLicenseBreakdown[];
28
- constructor(target?: ulong, services?: BillingReportServiceBreakdown[], licenses?: BillingReportLicenseBreakdown[]);
29
- toJSON(): {
30
- target: number | null;
31
- services: BillingReportServiceBreakdown[];
32
- licenses: BillingReportLicenseBreakdown[];
33
- };
34
- }
@@ -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,79 +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 {@link Provider} to which this breakdown instance belongs.
22
- */
23
- get provider(): Provider;
24
- set provider(value: Provider);
25
- /**
26
- * Type of provider.
27
- */
28
- kind: ProviderType;
29
- /**
30
- * Provider name.
31
- */
32
- name: string;
33
- /**
34
- * Notes about the provider.
35
- */
36
- notes: string;
37
- /**
38
- * Indicates when this Provider was created.
39
- */
40
- created: Date;
41
- /**
42
- * Indicates when this Provider was deleted.
43
- */
44
- deleted: Date;
45
- /**
46
- * The phone number for this provider.
47
- */
48
- phoneNumber: ulong;
49
- /**
50
- * The firmware/application version number.
51
- */
52
- firmware: string;
53
- /**
54
- * Number of days this Provider is being billed for.
55
- */
56
- billableDays: double;
57
- /**
58
- * Licensing cost per billing cycle for this provider.
59
- */
60
- cost: double;
61
- /**
62
- * Total amount being billed for this provider.
63
- */
64
- total: double;
65
- 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);
66
- toJSON(): {
67
- provider: string;
68
- kind: ProviderType;
69
- name: string;
70
- notes: string;
71
- created: string | null;
72
- deleted: string | null;
73
- phoneNumber: number | null;
74
- firmware: string;
75
- billableDays: number | null;
76
- cost: number | null;
77
- total: number | null;
78
- };
79
- }