@trakit/objects 0.0.14 → 0.0.16

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 (275) hide show
  1. package/API/Base.d.ts +1 -6
  2. package/Accounts/Contact.d.ts +2 -2
  3. package/Accounts/Machine.d.ts +2 -1
  4. package/Accounts/Session.d.ts +1 -16
  5. package/Accounts/User.d.ts +2 -3
  6. package/Accounts/UserAdvanced.d.ts +2 -1
  7. package/Accounts/UserAuthentication.d.ts +2 -1
  8. package/Accounts/UserGeneral.d.ts +2 -1
  9. package/Accounts/UserGroup.d.ts +2 -1
  10. package/Assets/Asset.d.ts +35 -5
  11. package/Assets/AssetAdvanced.d.ts +2 -1
  12. package/Assets/AssetDispatch.d.ts +18 -2
  13. package/Assets/AssetGeneral.d.ts +34 -2
  14. package/Behaviours/Behaviour.d.ts +1 -0
  15. package/Behaviours/BehaviourLog.d.ts +1 -0
  16. package/Behaviours/BehaviourScript.d.ts +1 -0
  17. package/Billing/BillingProfile.d.ts +1 -0
  18. package/Billing/Hosting/BillableHostingLicense.d.ts +1 -0
  19. package/Billing/Hosting/BillableHostingRule.d.ts +1 -0
  20. package/Billing/Report/BillingReport.d.ts +1 -0
  21. package/Companies/Company.d.ts +3 -24
  22. package/Companies/CompanyDirectory.d.ts +2 -9
  23. package/Companies/CompanyGeneral.d.ts +2 -1
  24. package/Companies/CompanyPolicy.d.ts +2 -1
  25. package/Companies/CompanyReseller.d.ts +2 -1
  26. package/Companies/CompanyStyle.d.ts +2 -1
  27. package/Dispatch/DispatchJob.d.ts +2 -1
  28. package/Dispatch/DispatchTask.d.ts +1 -0
  29. package/Hosting/Document.d.ts +2 -1
  30. package/Hosting/FormResult.d.ts +2 -1
  31. package/Hosting/FormTemplate.d.ts +2 -1
  32. package/Images/Dashcam.d.ts +3 -2
  33. package/Images/DashcamLive.d.ts +3 -2
  34. package/Images/Icon.d.ts +15 -2
  35. package/Images/Picture.d.ts +2 -1
  36. package/Maintenance/MaintenanceJob.d.ts +2 -1
  37. package/Maintenance/MaintenanceSchedule.d.ts +2 -1
  38. package/Messaging/AssetAlert.d.ts +2 -1
  39. package/Messaging/AssetMessage.d.ts +2 -1
  40. package/Places/Place.d.ts +2 -1
  41. package/Providers/Config/ProviderConfig.d.ts +2 -1
  42. package/Providers/Config/ProviderRegistration.d.ts +2 -1
  43. package/Providers/Config/ProviderScript.d.ts +2 -1
  44. package/Providers/Configuration/ProviderConfiguration.d.ts +2 -1
  45. package/Providers/Configuration/ProviderConfigurationType.d.ts +2 -1
  46. package/Providers/Provider.d.ts +3 -13
  47. package/Providers/ProviderAdvanced.d.ts +2 -1
  48. package/Providers/ProviderControl.d.ts +2 -1
  49. package/Providers/ProviderGeneral.d.ts +2 -1
  50. package/README.md +24 -24
  51. package/Reports/ReportBreakdown.d.ts +32 -1
  52. package/Reports/ReportBreakdownJob.d.ts +32 -1
  53. package/Reports/ReportBreakdownMessage.d.ts +32 -1
  54. package/Reports/ReportBreakdownTask.d.ts +32 -1
  55. package/Reports/ReportResult.d.ts +2 -1
  56. package/Reports/ReportSchedule.d.ts +2 -1
  57. package/Reports/ReportSummary.d.ts +64 -2
  58. package/Reports/ReportTemplate.d.ts +2 -1
  59. package/index.d.ts +1 -1
  60. package/objects/API/Arrays.d.ts +46 -0
  61. package/objects/API/Base.d.ts +19 -0
  62. package/objects/API/BaseComponent.d.ts +40 -0
  63. package/objects/API/BaseCompound.d.ts +19 -0
  64. package/objects/API/Codifier.d.ts +15 -0
  65. package/objects/API/Constants.d.ts +39 -0
  66. package/objects/API/Conversion.d.ts +255 -0
  67. package/objects/API/Encoding.d.ts +9 -0
  68. package/objects/API/Files.d.ts +21 -0
  69. package/objects/API/Functions.d.ts +196 -0
  70. package/objects/API/Geography/Functions.d.ts +236 -0
  71. package/objects/API/Geography/Interfaces.d.ts +150 -0
  72. package/objects/API/Geography/LatLng.d.ts +86 -0
  73. package/objects/API/Geography/LatLngBounds.d.ts +146 -0
  74. package/objects/API/Geography/Position.d.ts +74 -0
  75. package/objects/API/Geography/StreetAddress.d.ts +59 -0
  76. package/objects/API/Geometry/Functions.d.ts +114 -0
  77. package/objects/API/Geometry/Interfaces.d.ts +111 -0
  78. package/objects/API/Geometry/Point.d.ts +81 -0
  79. package/objects/API/Geometry/Radial.d.ts +110 -0
  80. package/objects/API/Geometry/Rectangle.d.ts +159 -0
  81. package/objects/API/Geometry/Size.d.ts +58 -0
  82. package/objects/API/Guid.d.ts +4 -0
  83. package/objects/API/Interfaces/IAmCompany.d.ts +11 -0
  84. package/objects/API/Interfaces/IBelongAsset.d.ts +15 -0
  85. package/objects/API/Interfaces/IBelongBillingProfile.d.ts +15 -0
  86. package/objects/API/Interfaces/IBelongCompany.d.ts +15 -0
  87. package/objects/API/Interfaces/IDeserializable.d.ts +13 -0
  88. package/objects/API/Interfaces/IEnabled.d.ts +10 -0
  89. package/objects/API/Interfaces/IFileSize.d.ts +9 -0
  90. package/objects/API/Interfaces/IGlobal.d.ts +11 -0
  91. package/objects/API/Interfaces/IHavePermissions.d.ts +20 -0
  92. package/objects/API/Interfaces/IHavePreferences.d.ts +29 -0
  93. package/objects/API/Interfaces/IIconic.d.ts +15 -0
  94. package/objects/API/Interfaces/IIdUlong.d.ts +10 -0
  95. package/objects/API/Interfaces/ILabelled.d.ts +10 -0
  96. package/objects/API/Interfaces/INamed.d.ts +13 -0
  97. package/objects/API/Interfaces/IPictured.d.ts +15 -0
  98. package/objects/API/Interfaces/IRequestable.d.ts +22 -0
  99. package/objects/API/Interfaces/ISerializable.d.ts +10 -0
  100. package/objects/API/Interfaces/ISuspendable.d.ts +16 -0
  101. package/objects/API/Interfaces/IVisual.d.ts +18 -0
  102. package/objects/API/Maps.d.ts +28 -0
  103. package/objects/API/Objects.d.ts +5 -0
  104. package/objects/API/SearchPattern.d.ts +46 -0
  105. package/objects/API/TimeSpan.d.ts +109 -0
  106. package/objects/API/Timezone.d.ts +44 -0
  107. package/objects/API/Timezones.d.ts +7 -0
  108. package/objects/API/Types.d.ts +132 -0
  109. package/objects/Accounts/Contact.d.ts +139 -0
  110. package/objects/Accounts/Machine.d.ts +139 -0
  111. package/objects/Accounts/MultiFactorType.d.ts +17 -0
  112. package/objects/Accounts/NotificationMethod.d.ts +17 -0
  113. package/objects/Accounts/Permissions/Authorizer.d.ts +204 -0
  114. package/objects/Accounts/Permissions/Permission.d.ts +56 -0
  115. package/objects/Accounts/Permissions/PermissionEscalation.d.ts +41 -0
  116. package/objects/Accounts/Permissions/PermissionEscalationState.d.ts +19 -0
  117. package/objects/Accounts/Permissions/PermissionEscalationType.d.ts +13 -0
  118. package/objects/Accounts/Permissions/PermissionLevel.d.ts +17 -0
  119. package/objects/Accounts/Permissions/PermissionMethod.d.ts +13 -0
  120. package/objects/Accounts/Permissions/PermissionType.d.ts +280 -0
  121. package/objects/Accounts/SSOIdentityProvider.d.ts +25 -0
  122. package/objects/Accounts/Session.d.ts +89 -0
  123. package/objects/Accounts/SessionStatus.d.ts +29 -0
  124. package/objects/Accounts/SystemsOfUnits.d.ts +13 -0
  125. package/objects/Accounts/User.d.ts +167 -0
  126. package/objects/Accounts/UserAdvanced.d.ts +53 -0
  127. package/objects/Accounts/UserAuthentication.d.ts +55 -0
  128. package/objects/Accounts/UserGeneral.d.ts +98 -0
  129. package/objects/Accounts/UserGroup.d.ts +51 -0
  130. package/objects/Accounts/UserMFA.d.ts +47 -0
  131. package/objects/Accounts/UserNotifications.d.ts +76 -0
  132. package/objects/Accounts/UserSSO.d.ts +37 -0
  133. package/objects/Assets/Asset.d.ts +218 -0
  134. package/objects/Assets/AssetAdvanced.d.ts +77 -0
  135. package/objects/Assets/AssetAttribute.d.ts +71 -0
  136. package/objects/Assets/AssetDispatch.d.ts +55 -0
  137. package/objects/Assets/AssetGeneral.d.ts +127 -0
  138. package/objects/Assets/AssetPlaceStatus.d.ts +31 -0
  139. package/objects/Assets/AssetPlaceStatusType.d.ts +17 -0
  140. package/objects/Assets/AssetType.d.ts +21 -0
  141. package/objects/Behaviours/Behaviour.d.ts +78 -0
  142. package/objects/Behaviours/BehaviourLog.d.ts +95 -0
  143. package/objects/Behaviours/BehaviourLogType.d.ts +21 -0
  144. package/objects/Behaviours/BehaviourParameter.d.ts +38 -0
  145. package/objects/Behaviours/BehaviourParameterType.d.ts +21 -0
  146. package/objects/Behaviours/BehaviourScript.d.ts +83 -0
  147. package/objects/Billing/BillableBase.d.ts +83 -0
  148. package/objects/Billing/BillableSmsProfile.d.ts +26 -0
  149. package/objects/Billing/BillingCurrency.d.ts +17 -0
  150. package/objects/Billing/BillingCycle.d.ts +17 -0
  151. package/objects/Billing/BillingProfile.d.ts +104 -0
  152. package/objects/Billing/Hosting/BillableHostingBase.d.ts +41 -0
  153. package/objects/Billing/Hosting/BillableHostingLicense.d.ts +30 -0
  154. package/objects/Billing/Hosting/BillableHostingLicenseType.d.ts +20 -0
  155. package/objects/Billing/Hosting/BillableHostingRule.d.ts +30 -0
  156. package/objects/Billing/Hosting/BillableHostingType.d.ts +41 -0
  157. package/objects/Billing/Report/BillingReport.d.ts +112 -0
  158. package/objects/Billing/Report/BillingReportBreakdown.d.ts +34 -0
  159. package/objects/Billing/Report/BillingReportHostingSummary.d.ts +36 -0
  160. package/objects/Billing/Report/BillingReportLicenseBreakdown.d.ts +79 -0
  161. package/objects/Billing/Report/BillingReportServiceBreakdown.d.ts +124 -0
  162. package/objects/Billing/Report/BillingReportStatus.d.ts +25 -0
  163. package/objects/Billing/Report/BillingReportSummary.d.ts +49 -0
  164. package/objects/Companies/ColourStyle.d.ts +25 -0
  165. package/objects/Companies/Company.d.ts +167 -0
  166. package/objects/Companies/CompanyDirectory.d.ts +52 -0
  167. package/objects/Companies/CompanyGeneral.d.ts +55 -0
  168. package/objects/Companies/CompanyPolicy.d.ts +66 -0
  169. package/objects/Companies/CompanyReseller.d.ts +166 -0
  170. package/objects/Companies/CompanyStyle.d.ts +50 -0
  171. package/objects/Companies/LabelStyle.d.ts +46 -0
  172. package/objects/Companies/NotificationServerEmail.d.ts +99 -0
  173. package/objects/Companies/NotificationServerSms.d.ts +25 -0
  174. package/objects/Companies/PasswordExpiryMode.d.ts +17 -0
  175. package/objects/Companies/PasswordPolicy.d.ts +51 -0
  176. package/objects/Companies/SessionMultiUser.d.ts +17 -0
  177. package/objects/Companies/SessionPolicy.d.ts +47 -0
  178. package/objects/Dispatch/DispatchDirection.d.ts +53 -0
  179. package/objects/Dispatch/DispatchJob.d.ts +107 -0
  180. package/objects/Dispatch/DispatchJobPriority.d.ts +25 -0
  181. package/objects/Dispatch/DispatchStep.d.ts +99 -0
  182. package/objects/Dispatch/DispatchStepState.d.ts +27 -0
  183. package/objects/Dispatch/DispatchStepStatus.d.ts +21 -0
  184. package/objects/Dispatch/DispatchTask.d.ts +154 -0
  185. package/objects/Dispatch/DispatchTaskStatus.d.ts +50 -0
  186. package/objects/Hosting/Document.d.ts +70 -0
  187. package/objects/Hosting/Fields/FormFieldAttachments.d.ts +31 -0
  188. package/objects/Hosting/Fields/FormFieldBase.d.ts +56 -0
  189. package/objects/Hosting/Fields/FormFieldBase_fromJSON.d.ts +1 -0
  190. package/objects/Hosting/Fields/FormFieldBoolean.d.ts +38 -0
  191. package/objects/Hosting/Fields/FormFieldChoice.d.ts +46 -0
  192. package/objects/Hosting/Fields/FormFieldDate.d.ts +26 -0
  193. package/objects/Hosting/Fields/FormFieldNumeric.d.ts +54 -0
  194. package/objects/Hosting/Fields/FormFieldNumericSize.d.ts +32 -0
  195. package/objects/Hosting/Fields/FormFieldSignature.d.ts +17 -0
  196. package/objects/Hosting/Fields/FormFieldText.d.ts +32 -0
  197. package/objects/Hosting/Fields/FormFieldTime.d.ts +37 -0
  198. package/objects/Hosting/Fields/FormFieldTimezone.d.ts +14 -0
  199. package/objects/Hosting/FormFieldType.d.ts +127 -0
  200. package/objects/Hosting/FormResult.d.ts +95 -0
  201. package/objects/Hosting/FormTemplate.d.ts +80 -0
  202. package/objects/Images/Dashcam.d.ts +63 -0
  203. package/objects/Images/DashcamBase.d.ts +97 -0
  204. package/objects/Images/DashcamLive.d.ts +36 -0
  205. package/objects/Images/DashcamMediaType.d.ts +17 -0
  206. package/objects/Images/Icon.d.ts +66 -0
  207. package/objects/Images/IconGlyph.d.ts +47 -0
  208. package/objects/Images/IconLabel.d.ts +29 -0
  209. package/objects/Images/IconLayer.d.ts +33 -0
  210. package/objects/Images/Picture.d.ts +72 -0
  211. package/objects/Maintenance/MaintenanceInterval.d.ts +48 -0
  212. package/objects/Maintenance/MaintenanceJob.d.ts +134 -0
  213. package/objects/Maintenance/MaintenanceJobStatus.d.ts +21 -0
  214. package/objects/Maintenance/MaintenanceSchedule.d.ts +118 -0
  215. package/objects/Messaging/AlertPriority.d.ts +17 -0
  216. package/objects/Messaging/AssetAlert.d.ts +29 -0
  217. package/objects/Messaging/AssetMessage.d.ts +40 -0
  218. package/objects/Messaging/MessageBase.d.ts +99 -0
  219. package/objects/Messaging/MessageFolder.d.ts +13 -0
  220. package/objects/Messaging/MessageStatus.d.ts +29 -0
  221. package/objects/Messaging/MessageType.d.ts +33 -0
  222. package/objects/Places/Place.d.ts +114 -0
  223. package/objects/Places/PlaceType.d.ts +25 -0
  224. package/objects/Providers/Config/ProviderConfig.d.ts +70 -0
  225. package/objects/Providers/Config/ProviderRegistration.d.ts +119 -0
  226. package/objects/Providers/Config/ProviderScript.d.ts +86 -0
  227. package/objects/Providers/Config/ProviderScriptBlock.d.ts +41 -0
  228. package/objects/Providers/Config/ProviderScriptParameter.d.ts +49 -0
  229. package/objects/Providers/Config/ProviderScriptParameterType.d.ts +17 -0
  230. package/objects/Providers/Configuration/ProviderConfiguration.d.ts +66 -0
  231. package/objects/Providers/Configuration/ProviderConfigurationNode.d.ts +66 -0
  232. package/objects/Providers/Configuration/ProviderConfigurationType.d.ts +62 -0
  233. package/objects/Providers/Configuration/ProviderGeofenceBase.d.ts +29 -0
  234. package/objects/Providers/Configuration/ProviderGeofenceBase_fromJSON.d.ts +1 -0
  235. package/objects/Providers/Configuration/ProviderGeofenceCircular.d.ts +28 -0
  236. package/objects/Providers/Configuration/ProviderGeofencePoint.d.ts +12 -0
  237. package/objects/Providers/Configuration/ProviderGeofencePolygon.d.ts +23 -0
  238. package/objects/Providers/Configuration/ProviderGeofenceRectangle.d.ts +28 -0
  239. package/objects/Providers/Provider.d.ts +205 -0
  240. package/objects/Providers/ProviderAdvanced.d.ts +50 -0
  241. package/objects/Providers/ProviderCommand.d.ts +36 -0
  242. package/objects/Providers/ProviderCommandStatus.d.ts +29 -0
  243. package/objects/Providers/ProviderCommandType.d.ts +37 -0
  244. package/objects/Providers/ProviderControl.d.ts +41 -0
  245. package/objects/Providers/ProviderData.d.ts +30 -0
  246. package/objects/Providers/ProviderGeneral.d.ts +121 -0
  247. package/objects/Providers/ProviderType.d.ts +106 -0
  248. package/objects/Reports/ReportBreakdown.d.ts +49 -0
  249. package/objects/Reports/ReportBreakdownJob.d.ts +37 -0
  250. package/objects/Reports/ReportBreakdownMessage.d.ts +40 -0
  251. package/objects/Reports/ReportBreakdownTask.d.ts +46 -0
  252. package/objects/Reports/ReportBreakdown_fromJSON.d.ts +1 -0
  253. package/objects/Reports/ReportFilterMode.d.ts +17 -0
  254. package/objects/Reports/ReportNotifications.d.ts +31 -0
  255. package/objects/Reports/ReportOptions.d.ts +52 -0
  256. package/objects/Reports/ReportParameter.d.ts +26 -0
  257. package/objects/Reports/ReportParameterType.d.ts +59 -0
  258. package/objects/Reports/ReportRecurrence.d.ts +54 -0
  259. package/objects/Reports/ReportRecurrenceType.d.ts +34 -0
  260. package/objects/Reports/ReportResult.d.ts +169 -0
  261. package/objects/Reports/ReportResultData.d.ts +17 -0
  262. package/objects/Reports/ReportSchedule.d.ts +111 -0
  263. package/objects/Reports/ReportScorecard.d.ts +38 -0
  264. package/objects/Reports/ReportScorecardParameter.d.ts +31 -0
  265. package/objects/Reports/ReportScorecardRules.d.ts +26 -0
  266. package/objects/Reports/ReportStatus.d.ts +29 -0
  267. package/objects/Reports/ReportSummary.d.ts +90 -0
  268. package/objects/Reports/ReportSummaryReason.d.ts +27 -0
  269. package/objects/Reports/ReportTemplate.d.ts +81 -0
  270. package/objects/Reports/ReportTotal.d.ts +47 -0
  271. package/objects/Reports/ReportType.d.ts +42 -0
  272. package/objects/index.d.ts +406 -0
  273. package/objects/storage.d.ts +176 -0
  274. package/package.json +36 -36
  275. package/trakit-objects.min.js +2 -2
@@ -5,7 +5,7 @@ import { IBelongCompany } from "../API/Interfaces/IBelongCompany";
5
5
  import { IIdUlong } from "../API/Interfaces/IIdUlong";
6
6
  import { ILabelled } from "../API/Interfaces/ILabelled";
7
7
  import { INamed } from "../API/Interfaces/INamed";
8
- import { codified, ulong, JsonObject } from "../API/Types";
8
+ import { codified, ulong, JsonObject, nothing } from "../API/Types";
9
9
  import { Asset } from "../Assets/Asset";
10
10
  import { Company } from "../Companies/Company";
11
11
  import { FormTemplate } from "./FormTemplate";
@@ -77,6 +77,7 @@ export declare class FormResult extends BaseComponent implements IIdUlong, IName
77
77
  * The {@link id} is the key.
78
78
  */
79
79
  getKey(): number;
80
+ constructor(json?: JsonObject | nothing);
80
81
  toJSON(): {
81
82
  id: number;
82
83
  company: number;
@@ -4,7 +4,7 @@ import { IIdUlong } from "../API/Interfaces/IIdUlong";
4
4
  import { ILabelled } from "../API/Interfaces/ILabelled";
5
5
  import { INamed } from "../API/Interfaces/INamed";
6
6
  import { IVisual } from "../API/Interfaces/IVisual";
7
- import { codified, colour, ulong, JsonObject } from "../API/Types";
7
+ import { codified, colour, ulong, JsonObject, nothing } from "../API/Types";
8
8
  import { Company } from "../Companies/Company";
9
9
  import { FormFieldAttachments } from './Fields/FormFieldAttachments';
10
10
  import { FormFieldBoolean } from './Fields/FormFieldBoolean';
@@ -64,6 +64,7 @@ export declare class FormTemplate extends BaseComponent implements IIdUlong, INa
64
64
  * The {@link id} is the key.
65
65
  */
66
66
  getKey(): number;
67
+ constructor(json?: JsonObject | nothing);
67
68
  toJSON(): {
68
69
  id: number | null;
69
70
  company: number | null;
@@ -1,5 +1,5 @@
1
1
  import { TimeSpan } from "../API/TimeSpan";
2
- import { guid, JsonObject, single } from "../API/Types";
2
+ import { guid, JsonObject, nothing, single } from "../API/Types";
3
3
  import { DashcamBase } from "./DashcamBase";
4
4
  import { DashcamMediaType } from "./DashcamMediaType";
5
5
  /**
@@ -36,7 +36,7 @@ export declare class Dashcam extends DashcamBase {
36
36
  * The reason why we're saving this image/video. Or the event name that triggered it.
37
37
  */
38
38
  eventName: string;
39
- fromJSON(json: JsonObject, force?: boolean): boolean;
39
+ constructor(json?: JsonObject | nothing);
40
40
  toJSON(): {
41
41
  guid: string;
42
42
  kind: DashcamMediaType;
@@ -56,6 +56,7 @@ export declare class Dashcam extends DashcamBase {
56
56
  heading: number | null;
57
57
  altitude: number | null;
58
58
  };
59
+ fromJSON(json: JsonObject, force?: boolean): boolean;
59
60
  /**
60
61
  * The {@link guid} is the key.
61
62
  */
@@ -1,4 +1,4 @@
1
- import { JsonObject } from "../API/Types";
1
+ import { JsonObject, nothing } from "../API/Types";
2
2
  import { DashcamBase } from "./DashcamBase";
3
3
  import { DashcamMediaType } from "./DashcamMediaType";
4
4
  /**
@@ -13,7 +13,7 @@ export declare class DashcamLive extends DashcamBase {
13
13
  * Timestamp of this live camera image.
14
14
  */
15
15
  dts: Date;
16
- fromJSON(json: JsonObject, force?: boolean): boolean;
16
+ constructor(json?: JsonObject | nothing);
17
17
  toJSON(): {
18
18
  kind: DashcamMediaType;
19
19
  dts: string | null;
@@ -29,6 +29,7 @@ export declare class DashcamLive extends DashcamBase {
29
29
  heading: number | null;
30
30
  altitude: number | null;
31
31
  };
32
+ fromJSON(json: JsonObject, force?: boolean): boolean;
32
33
  /**
33
34
  * A combination of the asset, provider, and camera number.
34
35
  */
package/Images/Icon.d.ts CHANGED
@@ -3,7 +3,7 @@ import { IBelongCompany } from "../API/Interfaces/IBelongCompany";
3
3
  import { IGlobal } from "../API/Interfaces/IGlobal";
4
4
  import { IIdUlong } from "../API/Interfaces/IIdUlong";
5
5
  import { INamed } from "../API/Interfaces/INamed";
6
- import { JsonObject, ulong } from "../API/Types";
6
+ import { JsonObject, nothing, ulong } from "../API/Types";
7
7
  import { Company } from "../Companies/Company";
8
8
  import { IconGlyph } from "./IconGlyph";
9
9
  import { IconLabel } from "./IconLabel";
@@ -57,7 +57,20 @@ export declare class Icon extends BaseComponent implements IIdUlong, INamed, IBe
57
57
  * The images used to show the detail of this icon.
58
58
  */
59
59
  glyphs: IconGlyph[];
60
- toJSON(): JsonObject;
60
+ constructor(json?: JsonObject | nothing);
61
+ toJSON(): {
62
+ id: number | null;
63
+ v: number[];
64
+ company: number;
65
+ category: string;
66
+ name: string;
67
+ notes: string;
68
+ global: boolean;
69
+ usage: string[];
70
+ label: JsonObject;
71
+ badge: JsonObject;
72
+ glyphs: JsonObject[];
73
+ };
61
74
  fromJSON(json: JsonObject, force?: boolean): boolean;
62
75
  /**
63
76
  * The {@link id} is the key.
@@ -5,7 +5,7 @@ import { IBelongCompany } from "../API/Interfaces/IBelongCompany";
5
5
  import { IFileSize } from "../API/Interfaces/IFileSize";
6
6
  import { IIdUlong } from "../API/Interfaces/IIdUlong";
7
7
  import { INamed } from "../API/Interfaces/INamed";
8
- import { uint, ulong, JsonObject } from "../API/Types";
8
+ import { uint, ulong, JsonObject, nothing } from "../API/Types";
9
9
  import { Company } from "../Companies/Company";
10
10
  /**
11
11
  * An image stored by the system.
@@ -52,6 +52,7 @@ export declare class Picture extends BaseComponent implements IIdUlong, INamed,
52
52
  * A count of the times this image was used for something (asset, contact, task, etc).
53
53
  */
54
54
  uses: uint;
55
+ constructor(json?: JsonObject | nothing);
55
56
  toJSON(): {
56
57
  id: number | null;
57
58
  v: number[];
@@ -5,7 +5,7 @@ import { IIdUlong } from "../API/Interfaces/IIdUlong";
5
5
  import { INamed } from "../API/Interfaces/INamed";
6
6
  import { IPictured } from "../API/Interfaces/IPictured";
7
7
  import { TimeSpan } from "../API/TimeSpan";
8
- import { double, JsonObject, ulong } from "../API/Types";
8
+ import { double, JsonObject, nothing, ulong } from "../API/Types";
9
9
  import { Asset } from "../Assets/Asset";
10
10
  import { Company } from "../Companies/Company";
11
11
  import { Picture } from "../Images/Picture";
@@ -106,6 +106,7 @@ export declare class MaintenanceJob extends BaseComponent implements IIdUlong, I
106
106
  */
107
107
  get pictures(): Picture[];
108
108
  set pictures(values: Picture[]);
109
+ constructor(json?: JsonObject | nothing);
109
110
  toJSON(): {
110
111
  id: number | null;
111
112
  v: number[];
@@ -5,7 +5,7 @@ import { INamed } from "../API/Interfaces/INamed";
5
5
  import { IVisual } from "../API/Interfaces/IVisual";
6
6
  import { SearchPattern } from "../API/SearchPattern";
7
7
  import { TimeSpan } from "../API/TimeSpan";
8
- import { codified, colour, double, email, JsonObject, uint, ulong } from "../API/Types";
8
+ import { codified, colour, double, email, JsonObject, nothing, uint, ulong } from "../API/Types";
9
9
  import { Company } from "../Companies/Company";
10
10
  import { MaintenanceInterval } from "./MaintenanceInterval";
11
11
  /**
@@ -89,6 +89,7 @@ export declare class MaintenanceSchedule extends BaseComponent implements IIdUlo
89
89
  * A reference code used to track this job.
90
90
  */
91
91
  reference: string;
92
+ constructor(json?: JsonObject | nothing);
92
93
  toJSON(): {
93
94
  id: number | null;
94
95
  v: number[];
@@ -1,4 +1,4 @@
1
- import { JsonObject } from '../API/Types';
1
+ import { JsonObject, nothing } from '../API/Types';
2
2
  import { AlertPriority } from './AlertPriority';
3
3
  import { MessageBase } from './MessageBase';
4
4
  /**
@@ -9,6 +9,7 @@ export declare class AssetAlert extends MessageBase {
9
9
  * The priority for which this message must send.
10
10
  */
11
11
  priority: AlertPriority;
12
+ constructor(json?: JsonObject | nothing);
12
13
  toJSON(): {
13
14
  priority: AlertPriority;
14
15
  id: number | null;
@@ -1,4 +1,4 @@
1
- import { email, JsonObject } from '../API/Types';
1
+ import { email, JsonObject, nothing } from '../API/Types';
2
2
  import { MessageBase } from './MessageBase';
3
3
  import { MessageFolder } from './MessageFolder';
4
4
  /**
@@ -18,6 +18,7 @@ export declare class AssetMessage extends MessageBase {
18
18
  * {@link User.login}
19
19
  */
20
20
  readBy: email;
21
+ constructor(json?: JsonObject | nothing);
21
22
  toJSON(): {
22
23
  folder: MessageFolder;
23
24
  incoming: boolean;
package/Places/Place.d.ts CHANGED
@@ -6,7 +6,7 @@ import { IIdUlong } from "../API/Interfaces/IIdUlong";
6
6
  import { ILabelled } from "../API/Interfaces/ILabelled";
7
7
  import { INamed } from "../API/Interfaces/INamed";
8
8
  import { IPictured } from "../API/Interfaces/IPictured";
9
- import { JsonObject, codified, colour, double, ulong } from "../API/Types";
9
+ import { JsonObject, codified, colour, double, nothing, ulong } from "../API/Types";
10
10
  import { Company } from "../Companies/Company";
11
11
  import { Icon } from "../Images/Icon";
12
12
  import { Picture } from "../Images/Picture";
@@ -89,6 +89,7 @@ export declare class Place extends BaseComponent implements IIdUlong, INamed, II
89
89
  * A list of points forming a non-self-intersecting polygon.
90
90
  */
91
91
  points: LatLng[] | null;
92
+ constructor(json?: JsonObject | nothing);
92
93
  toJSON(): {
93
94
  id: number | null;
94
95
  v: number[];
@@ -3,7 +3,7 @@ import { IBelongCompany } from "../../API/Interfaces/IBelongCompany";
3
3
  import { IIdUlong } from "../../API/Interfaces/IIdUlong";
4
4
  import { INamed } from "../../API/Interfaces/INamed";
5
5
  import { SearchPattern } from "../../API/SearchPattern";
6
- import { JsonObject, ulong } from "../../API/Types";
6
+ import { JsonObject, nothing, ulong } from "../../API/Types";
7
7
  import { Company } from "../../Companies/Company";
8
8
  import { ProviderScript } from "./ProviderScript";
9
9
  /**
@@ -52,6 +52,7 @@ export declare class ProviderConfig extends BaseComponent implements IIdUlong, I
52
52
  * Or use "#123456" or "label:term" like other Place search patterns.
53
53
  */
54
54
  geofences: SearchPattern[] | null;
55
+ constructor(json?: JsonObject | nothing);
55
56
  toJSON(): {
56
57
  id: number | null;
57
58
  v: number[];
@@ -4,7 +4,7 @@ import { IBelongCompany } from "../../API/Interfaces/IBelongCompany";
4
4
  import { INamed } from "../../API/Interfaces/INamed";
5
5
  import { IRequestable } from "../../API/Interfaces/IRequestable";
6
6
  import { ISerializable } from "../../API/Interfaces/ISerializable";
7
- import { email, phone, ulong, JsonObject } from "../../API/Types";
7
+ import { email, phone, ulong, JsonObject, nothing } from "../../API/Types";
8
8
  import { User } from "../../Accounts/User";
9
9
  import { Asset } from "../../Assets/Asset";
10
10
  import { Company } from "../../Companies/Company";
@@ -95,6 +95,7 @@ export declare class ProviderRegistration extends Base implements IRequestable,
95
95
  * This is set by the user for long-term registrations, or by the client during serial port setup.
96
96
  */
97
97
  phoneNumber: phone;
98
+ constructor(json?: JsonObject | nothing);
98
99
  toJSON(): {
99
100
  code: string | null;
100
101
  company: number | null;
@@ -4,7 +4,7 @@ import { IGlobal } from "../../API/Interfaces/IGlobal";
4
4
  import { IIdUlong } from "../../API/Interfaces/IIdUlong";
5
5
  import { INamed } from "../../API/Interfaces/INamed";
6
6
  import { IVisual } from "../../API/Interfaces/IVisual";
7
- import { JsonObject, codified, colour, ulong } from "../../API/Types";
7
+ import { JsonObject, codified, colour, nothing, ulong } from "../../API/Types";
8
8
  import { Company } from "../../Companies/Company";
9
9
  import { ProviderType } from "../ProviderType";
10
10
  import { ProviderScriptBlock } from "./ProviderScriptBlock";
@@ -64,6 +64,7 @@ export declare class ProviderScript extends BaseComponent implements IIdUlong, I
64
64
  * Parameter definitions for this script, including type-hints and default values.
65
65
  */
66
66
  parameters: Map<string, ProviderScriptParameter>;
67
+ constructor(json?: JsonObject | nothing);
67
68
  toJSON(): {
68
69
  id: number | null;
69
70
  v: number[];
@@ -2,7 +2,7 @@ import { BaseComponent } from "../../API/BaseComponent";
2
2
  import { IBelongCompany } from "../../API/Interfaces/IBelongCompany";
3
3
  import { IIdUlong } from "../../API/Interfaces/IIdUlong";
4
4
  import { INamed } from "../../API/Interfaces/INamed";
5
- import { JsonObject, ulong } from "../../API/Types";
5
+ import { JsonObject, nothing, ulong } from "../../API/Types";
6
6
  import { Company } from "../../Companies/Company";
7
7
  import { ProviderConfigurationType } from "./ProviderConfigurationType";
8
8
  /**
@@ -48,6 +48,7 @@ export declare class ProviderConfiguration extends BaseComponent implements IIdU
48
48
  * List of Places loaded directly onto the provider.
49
49
  */
50
50
  geofences: ulong[];
51
+ constructor(json?: JsonObject | nothing);
51
52
  toJSON(): {
52
53
  id: number;
53
54
  company: number;
@@ -1,7 +1,7 @@
1
1
  import { BaseComponent } from "../../API/BaseComponent";
2
2
  import { IIdUlong } from "../../API/Interfaces/IIdUlong";
3
3
  import { INamed } from "../../API/Interfaces/INamed";
4
- import { JsonObject, uint, ulong } from "../../API/Types";
4
+ import { JsonObject, nothing, uint, ulong } from "../../API/Types";
5
5
  import { PlaceType } from "../../Places/PlaceType";
6
6
  import { ProviderType } from "../ProviderType";
7
7
  import { ProviderConfigurationNode } from "./ProviderConfigurationNode";
@@ -43,6 +43,7 @@ export declare class ProviderConfigurationType extends BaseComponent implements
43
43
  * A list of supported types of geofences which can be programmed directly onto the device.
44
44
  */
45
45
  geofenceTypes: PlaceType[];
46
+ constructor(json?: JsonObject | nothing);
46
47
  toJSON(): {
47
48
  id: number;
48
49
  v: number[];
@@ -3,7 +3,7 @@ import { BaseCompound } from "../API/BaseCompound";
3
3
  import { IBelongCompany } from "../API/Interfaces/IBelongCompany";
4
4
  import { INamed } from "../API/Interfaces/INamed";
5
5
  import { ISuspendable } from "../API/Interfaces/ISuspendable";
6
- import { JsonObject, ipv4, phone, ulong } from "../API/Types";
6
+ import { JsonObject, ipv4, nothing, phone, ulong } from "../API/Types";
7
7
  import { Asset } from "../Assets/Asset";
8
8
  import { Company } from "../Companies/Company";
9
9
  import { ProviderConfig } from "./Config/ProviderConfig";
@@ -19,6 +19,7 @@ import { ProviderType } from "./ProviderType";
19
19
  * A device, modem, or service which provides events from the field.
20
20
  */
21
21
  export declare class Provider extends BaseCompound implements INamed, IBelongCompany, ISuspendable {
22
+ #private;
22
23
  /**
23
24
  *
24
25
  */
@@ -40,10 +41,6 @@ export declare class Provider extends BaseCompound implements INamed, IBelongCom
40
41
  * The kind of communication protocol this device uses.
41
42
  */
42
43
  get kind(): ProviderType;
43
- /**
44
- *
45
- */
46
- protected _general: ProviderGeneral;
47
44
  get general(): ProviderGeneral;
48
45
  /**
49
46
  * This thing's name.
@@ -103,10 +100,6 @@ export declare class Provider extends BaseCompound implements INamed, IBelongCom
103
100
  */
104
101
  get sim(): string;
105
102
  set sim(value: string);
106
- /**
107
- *
108
- */
109
- protected _advanced: ProviderAdvanced;
110
103
  get advanced(): ProviderAdvanced;
111
104
  /**
112
105
  * The last IP address of the device.
@@ -123,16 +116,13 @@ export declare class Provider extends BaseCompound implements INamed, IBelongCom
123
116
  */
124
117
  get snf(): Map<string, string>;
125
118
  set snf(value: Map<string, string>);
126
- /**
127
- *
128
- */
129
- protected _control: ProviderControl;
130
119
  get control(): ProviderControl;
131
120
  /**
132
121
  * Collection of commands for this provider.
133
122
  */
134
123
  get commands(): Map<ProviderCommandType, ProviderCommand>;
135
124
  set commands(value: Map<ProviderCommandType, ProviderCommand>);
125
+ constructor(json?: JsonObject | nothing);
136
126
  toJSON(): {
137
127
  suspended: boolean;
138
128
  since: string | null;
@@ -1,6 +1,6 @@
1
1
  import { BaseComponent } from "../API/BaseComponent";
2
2
  import { IBelongCompany } from "../API/Interfaces/IBelongCompany";
3
- import { JsonObject, ipv4, ulong } from "../API/Types";
3
+ import { JsonObject, ipv4, nothing, ulong } from "../API/Types";
4
4
  import { Company } from "../Companies/Company";
5
5
  import { ProviderData } from "./ProviderData";
6
6
  /**
@@ -34,6 +34,7 @@ export declare class ProviderAdvanced extends BaseComponent implements IBelongCo
34
34
  * Store-and-forward information like last sequence number of SnF window
35
35
  */
36
36
  snf: Map<string, string>;
37
+ constructor(json?: JsonObject | nothing);
37
38
  toJSON(): {
38
39
  id: string | null;
39
40
  v: number[];
@@ -1,6 +1,6 @@
1
1
  import { BaseComponent } from "../API/BaseComponent";
2
2
  import { IBelongCompany } from "../API/Interfaces/IBelongCompany";
3
- import { JsonObject, ulong } from "../API/Types";
3
+ import { JsonObject, nothing, ulong } from "../API/Types";
4
4
  import { Company } from "../Companies/Company";
5
5
  import { ProviderCommand } from "./ProviderCommand";
6
6
  import { ProviderCommandType } from "./ProviderCommandType";
@@ -27,6 +27,7 @@ export declare class ProviderControl extends BaseComponent implements IBelongCom
27
27
  * Collection of commands for this provider.
28
28
  */
29
29
  commands: Map<ProviderCommandType, ProviderCommand>;
30
+ constructor(json?: JsonObject | nothing);
30
31
  toJSON(): {
31
32
  id: string | null;
32
33
  v: number[];
@@ -2,7 +2,7 @@ import { BaseComponent } from "../API/BaseComponent";
2
2
  import { IBelongCompany } from "../API/Interfaces/IBelongCompany";
3
3
  import { INamed } from "../API/Interfaces/INamed";
4
4
  import { ISuspendable } from "../API/Interfaces/ISuspendable";
5
- import { JsonObject, phone, ulong } from "../API/Types";
5
+ import { JsonObject, nothing, phone, ulong } from "../API/Types";
6
6
  import { Asset } from "../Assets/Asset";
7
7
  import { Company } from "../Companies/Company";
8
8
  import { ProviderConfig } from "./Config/ProviderConfig";
@@ -80,6 +80,7 @@ export declare class ProviderGeneral extends BaseComponent implements INamed, IB
80
80
  * ICCID of the SIM card installed in this provider
81
81
  */
82
82
  sim: string;
83
+ constructor(json?: JsonObject | nothing);
83
84
  toJSON(): {
84
85
  suspended: boolean;
85
86
  since: string | null;
package/README.md CHANGED
@@ -1,24 +1,24 @@
1
- # Trak-iT API Object Model
2
-
3
- All of the Trak-iT APIs use the same object definitions.
4
- Other Trak-iT API libraries are available on [GitHub](https://github.com/trakitwireless) and [npm](https://www.npmjs.com/org/trakit).
5
-
6
- ### Prerequisites
7
-
8
- We do not require any other packages, however, we are targetting `ESNext`, so if your project uses CommonJS or another module manager, you will need to account for that yourself.
9
-
10
- ### Building
11
-
12
- In order to build this project, you need to install the RollupJS, and plugins for TypeScript and Minifying.
13
- ```
14
- npm i rollup rollup-plugin-typescript2 @rollup/plugin-terser
15
- ```
16
- After those have been installed, build the project normally.
17
- ```
18
- rollup --config rollup.config.js
19
- ```
20
-
21
- ## Questions and Feedback
22
-
23
- If you have any questions, please start for the project on GitHub
24
- https://github.com/trakitwireless/trakit-ts-objects/issues
1
+ # Trak-iT API Object Model
2
+
3
+ All of the Trak-iT APIs use the same object definitions.
4
+ Other Trak-iT API libraries are available on [GitHub](https://github.com/trakitwireless) and [npm](https://www.npmjs.com/org/trakit).
5
+
6
+ ### Prerequisites
7
+
8
+ We do not require any other packages, however, we are targetting `ESNext`, so if your project uses CommonJS or another module manager, you will need to account for that yourself.
9
+
10
+ ### Building
11
+
12
+ In order to build this project, you need to install the RollupJS, and plugins for TypeScript and Minifying.
13
+ ```
14
+ npm i rollup rollup-plugin-typescript2 @rollup/plugin-terser
15
+ ```
16
+ After those have been installed, build the project normally.
17
+ ```
18
+ rollup --config rollup.config.js
19
+ ```
20
+
21
+ ## Questions and Feedback
22
+
23
+ If you have any questions, please start for the project on GitHub
24
+ https://github.com/trakitwireless/trakit-ts-objects/issues
@@ -43,7 +43,38 @@ export declare class ReportBreakdown implements ISerializable {
43
43
  asset: number | null;
44
44
  instance: number | null;
45
45
  summaryInstances: number[];
46
- general: JsonObject | null;
46
+ general: {
47
+ suspended: boolean;
48
+ since: string | null;
49
+ id: number | null;
50
+ v: number[];
51
+ company: number;
52
+ kind: import("..").AssetType;
53
+ name: string;
54
+ notes: string;
55
+ icon: number;
56
+ labels: string[];
57
+ } | {
58
+ references: JsonObject;
59
+ messagingAddress: string;
60
+ pictures: number[];
61
+ contact: number;
62
+ vin: string;
63
+ plate: string;
64
+ make: string;
65
+ model: string;
66
+ year: number | null;
67
+ colour: string;
68
+ serial: string;
69
+ id: number | null;
70
+ v: number[];
71
+ company: number;
72
+ kind: import("..").AssetType;
73
+ name: string;
74
+ notes: string;
75
+ icon: number;
76
+ labels: string[];
77
+ } | null;
47
78
  advanced: JsonObject | null;
48
79
  };
49
80
  }
@@ -31,7 +31,38 @@ export declare class ReportBreakdownJob extends ReportBreakdown {
31
31
  asset: number | null;
32
32
  instance: number | null;
33
33
  summaryInstances: number[];
34
- general: import("..").JsonObject | null;
34
+ general: {
35
+ suspended: boolean;
36
+ since: string | null;
37
+ id: number | null;
38
+ v: number[];
39
+ company: number;
40
+ kind: import("..").AssetType;
41
+ name: string;
42
+ notes: string;
43
+ icon: number;
44
+ labels: string[];
45
+ } | {
46
+ references: import("..").JsonObject;
47
+ messagingAddress: string;
48
+ pictures: number[];
49
+ contact: number;
50
+ vin: string;
51
+ plate: string;
52
+ make: string;
53
+ model: string;
54
+ year: number | null;
55
+ colour: string;
56
+ serial: string;
57
+ id: number | null;
58
+ v: number[];
59
+ company: number;
60
+ kind: import("..").AssetType;
61
+ name: string;
62
+ notes: string;
63
+ icon: number;
64
+ labels: string[];
65
+ } | null;
35
66
  advanced: import("..").JsonObject | null;
36
67
  };
37
68
  }
@@ -34,7 +34,38 @@ export declare class ReportBreakdownMessage extends ReportBreakdown {
34
34
  asset: number | null;
35
35
  instance: number | null;
36
36
  summaryInstances: number[];
37
- general: import("..").JsonObject | null;
37
+ general: {
38
+ suspended: boolean;
39
+ since: string | null;
40
+ id: number | null;
41
+ v: number[];
42
+ company: number;
43
+ kind: import("..").AssetType;
44
+ name: string;
45
+ notes: string;
46
+ icon: number;
47
+ labels: string[];
48
+ } | {
49
+ references: import("..").JsonObject;
50
+ messagingAddress: string;
51
+ pictures: number[];
52
+ contact: number;
53
+ vin: string;
54
+ plate: string;
55
+ make: string;
56
+ model: string;
57
+ year: number | null;
58
+ colour: string;
59
+ serial: string;
60
+ id: number | null;
61
+ v: number[];
62
+ company: number;
63
+ kind: import("..").AssetType;
64
+ name: string;
65
+ notes: string;
66
+ icon: number;
67
+ labels: string[];
68
+ } | null;
38
69
  advanced: import("..").JsonObject | null;
39
70
  };
40
71
  }
@@ -40,7 +40,38 @@ export declare class ReportBreakdownTask extends ReportBreakdown {
40
40
  asset: number | null;
41
41
  instance: number | null;
42
42
  summaryInstances: number[];
43
- general: import("..").JsonObject | null;
43
+ general: {
44
+ suspended: boolean;
45
+ since: string | null;
46
+ id: number | null;
47
+ v: number[];
48
+ company: number;
49
+ kind: import("..").AssetType;
50
+ name: string;
51
+ notes: string;
52
+ icon: number;
53
+ labels: string[];
54
+ } | {
55
+ references: import("..").JsonObject;
56
+ messagingAddress: string;
57
+ pictures: number[];
58
+ contact: number;
59
+ vin: string;
60
+ plate: string;
61
+ make: string;
62
+ model: string;
63
+ year: number | null;
64
+ colour: string;
65
+ serial: string;
66
+ id: number | null;
67
+ v: number[];
68
+ company: number;
69
+ kind: import("..").AssetType;
70
+ name: string;
71
+ notes: string;
72
+ icon: number;
73
+ labels: string[];
74
+ } | null;
44
75
  advanced: import("..").JsonObject | null;
45
76
  };
46
77
  }
@@ -4,7 +4,7 @@ import { IBelongCompany } from "../API/Interfaces/IBelongCompany";
4
4
  import { IIdUlong } from "../API/Interfaces/IIdUlong";
5
5
  import { INamed } from "../API/Interfaces/INamed";
6
6
  import { Timezone } from "../API/Timezone";
7
- import { JsonObject, byte, email, ulong } from "../API/Types";
7
+ import { JsonObject, byte, email, nothing, ulong } from "../API/Types";
8
8
  import { Company } from "../Companies/Company";
9
9
  import { ReportOptions } from './ReportOptions';
10
10
  import { ReportSchedule } from "./ReportSchedule";
@@ -123,6 +123,7 @@ export declare class ReportResult extends BaseComponent implements IIdUlong, INa
123
123
  * {@link ReportStatus}
124
124
  */
125
125
  error: string;
126
+ constructor(json?: JsonObject | nothing);
126
127
  toJSON(): {
127
128
  id: number | null;
128
129
  company: number | null;
@@ -3,7 +3,7 @@ import { IBelongCompany } from "../API/Interfaces/IBelongCompany";
3
3
  import { IEnabled } from "../API/Interfaces/IEnabled";
4
4
  import { IIdUlong } from "../API/Interfaces/IIdUlong";
5
5
  import { INamed } from "../API/Interfaces/INamed";
6
- import { email, ulong, JsonObject } from "../API/Types";
6
+ import { email, ulong, JsonObject, nothing } from "../API/Types";
7
7
  import { Company } from "../Companies/Company";
8
8
  import { ReportNotifications } from "./ReportNotifications";
9
9
  import { ReportOptions } from "./ReportOptions";
@@ -65,6 +65,7 @@ export declare class ReportSchedule extends BaseComponent implements IIdUlong, I
65
65
  * A list of users and a targeting expression for assets which receive report results notifications.
66
66
  */
67
67
  notify: ReportNotifications | null;
68
+ constructor(json?: JsonObject | nothing);
68
69
  toJSON(): {
69
70
  id: number | null;
70
71
  company: number | null;