@trakit/objects 0.0.5 → 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 (221) hide show
  1. package/LICENSE +661 -0
  2. package/README.md +24 -0
  3. package/{API → _publish/API}/Arrays.d.ts +1 -0
  4. package/{API → _publish/API}/Base.d.ts +1 -0
  5. package/{API → _publish/API}/BaseComponent.d.ts +1 -0
  6. package/{API → _publish/API}/BaseCompound.d.ts +1 -0
  7. package/{API → _publish/API}/Codifier.d.ts +1 -0
  8. package/{API → _publish/API}/Constants.d.ts +1 -0
  9. package/{API → _publish/API}/Conversion.d.ts +3 -2
  10. package/{API → _publish/API}/Encoding.d.ts +1 -0
  11. package/{API → _publish/API}/Files.d.ts +1 -0
  12. package/{API → _publish/API}/Functions.d.ts +1 -0
  13. package/{API → _publish/API}/Guid.d.ts +1 -0
  14. package/{API → _publish/API}/Maps.d.ts +1 -0
  15. package/{API → _publish/API}/Objects.d.ts +1 -0
  16. package/{API → _publish/API}/SearchPattern.d.ts +1 -0
  17. package/{API → _publish/API}/TimeSpan.d.ts +1 -0
  18. package/{API → _publish/API}/Timezone.d.ts +1 -0
  19. package/{API → _publish/API}/Timezones.d.ts +1 -0
  20. package/{API → _publish/API}/Types.d.ts +24 -23
  21. package/{Accounts → _publish/Accounts}/Contact.d.ts +4 -4
  22. package/{Accounts → _publish/Accounts}/Machine.d.ts +1 -0
  23. package/_publish/Accounts/MultiFactorType.d.ts +18 -0
  24. package/{Accounts → _publish/Accounts}/NotificationMethod.d.ts +1 -0
  25. package/_publish/Accounts/SSOIdentityProvider.d.ts +26 -0
  26. package/{Accounts → _publish/Accounts}/Session.d.ts +12 -14
  27. package/{Accounts → _publish/Accounts}/SessionStatus.d.ts +1 -0
  28. package/{Accounts → _publish/Accounts}/SystemsOfUnits.d.ts +1 -0
  29. package/{Accounts → _publish/Accounts}/User.d.ts +34 -13
  30. package/{Accounts → _publish/Accounts}/UserAdvanced.d.ts +2 -2
  31. package/_publish/Accounts/UserAuthentication.d.ts +56 -0
  32. package/{Accounts → _publish/Accounts}/UserGeneral.d.ts +3 -4
  33. package/{Accounts → _publish/Accounts}/UserGroup.d.ts +2 -2
  34. package/_publish/Accounts/UserMFA.d.ts +48 -0
  35. package/{Accounts → _publish/Accounts}/UserNotifications.d.ts +1 -0
  36. package/_publish/Accounts/UserSSO.d.ts +38 -0
  37. package/{Assets → _publish/Assets}/Asset.d.ts +6 -11
  38. package/{Assets → _publish/Assets}/AssetAdvanced.d.ts +2 -2
  39. package/{Assets → _publish/Assets}/AssetAttribute.d.ts +1 -0
  40. package/{Assets → _publish/Assets}/AssetDispatch.d.ts +2 -2
  41. package/{Assets → _publish/Assets}/AssetGeneral.d.ts +3 -4
  42. package/{Assets → _publish/Assets}/AssetPlaceStatus.d.ts +1 -0
  43. package/{Assets → _publish/Assets}/AssetPlaceStatusType.d.ts +1 -0
  44. package/{Assets → _publish/Assets}/AssetType.d.ts +1 -0
  45. package/{Behaviours → _publish/Behaviours}/Behaviour.d.ts +2 -2
  46. package/{Behaviours → _publish/Behaviours}/BehaviourLog.d.ts +3 -4
  47. package/{Behaviours → _publish/Behaviours}/BehaviourLogType.d.ts +1 -0
  48. package/{Behaviours → _publish/Behaviours}/BehaviourParameter.d.ts +1 -0
  49. package/{Behaviours → _publish/Behaviours}/BehaviourParameterType.d.ts +1 -0
  50. package/{Behaviours → _publish/Behaviours}/BehaviourScript.d.ts +2 -2
  51. package/{Billing → _publish/Billing}/BillableBase.d.ts +3 -4
  52. package/{Billing → _publish/Billing}/BillableSmsProfile.d.ts +1 -0
  53. package/{Billing → _publish/Billing}/BillingCurrency.d.ts +1 -0
  54. package/{Billing → _publish/Billing}/BillingCycle.d.ts +1 -0
  55. package/{Billing → _publish/Billing}/BillingProfile.d.ts +5 -7
  56. package/{Companies → _publish/Companies}/ColourStyle.d.ts +1 -0
  57. package/{Companies → _publish/Companies}/Company.d.ts +5 -2
  58. package/{Companies → _publish/Companies}/CompanyDirectory.d.ts +3 -4
  59. package/{Companies → _publish/Companies}/CompanyGeneral.d.ts +2 -2
  60. package/{Companies → _publish/Companies}/CompanyPolicy.d.ts +2 -2
  61. package/{Companies → _publish/Companies}/CompanyReseller.d.ts +3 -4
  62. package/{Companies → _publish/Companies}/CompanyStyle.d.ts +2 -2
  63. package/{Companies → _publish/Companies}/LabelStyle.d.ts +1 -0
  64. package/{Companies → _publish/Companies}/NotificationServerEmail.d.ts +3 -2
  65. package/{Companies → _publish/Companies}/NotificationServerSms.d.ts +1 -0
  66. package/{Companies → _publish/Companies}/PasswordExpiryMode.d.ts +1 -0
  67. package/{Companies → _publish/Companies}/PasswordPolicy.d.ts +1 -0
  68. package/{Companies → _publish/Companies}/SessionMultiUser.d.ts +1 -0
  69. package/{Companies → _publish/Companies}/SessionPolicy.d.ts +1 -0
  70. package/{Dispatch → _publish/Dispatch}/DispatchDirection.d.ts +1 -0
  71. package/{Dispatch → _publish/Dispatch}/DispatchJob.d.ts +2 -3
  72. package/{Dispatch → _publish/Dispatch}/DispatchJobPriority.d.ts +1 -0
  73. package/{Dispatch → _publish/Dispatch}/DispatchStep.d.ts +1 -0
  74. package/{Dispatch → _publish/Dispatch}/DispatchStepState.d.ts +1 -0
  75. package/{Dispatch → _publish/Dispatch}/DispatchStepStatus.d.ts +1 -0
  76. package/{Dispatch → _publish/Dispatch}/DispatchTask.d.ts +3 -4
  77. package/{Dispatch → _publish/Dispatch}/DispatchTaskStatus.d.ts +1 -0
  78. package/{Hosting → _publish/Hosting}/Document.d.ts +2 -2
  79. package/{Hosting → _publish/Hosting}/FormFieldType.d.ts +1 -0
  80. package/{Hosting → _publish/Hosting}/FormResult.d.ts +1 -2
  81. package/{Hosting → _publish/Hosting}/FormTemplate.d.ts +1 -1
  82. package/{Images → _publish/Images}/Dashcam.d.ts +4 -10
  83. package/{Images → _publish/Images}/DashcamBase.d.ts +9 -9
  84. package/{Images → _publish/Images}/DashcamLive.d.ts +4 -10
  85. package/{Images → _publish/Images}/DashcamMediaType.d.ts +1 -0
  86. package/{Images → _publish/Images}/Icon.d.ts +2 -2
  87. package/{Images → _publish/Images}/IconGlyph.d.ts +1 -0
  88. package/{Images → _publish/Images}/IconLabel.d.ts +1 -0
  89. package/{Images → _publish/Images}/IconLayer.d.ts +1 -0
  90. package/{Images → _publish/Images}/Picture.d.ts +2 -2
  91. package/{Maintenance → _publish/Maintenance}/MaintenanceInterval.d.ts +1 -1
  92. package/{Maintenance → _publish/Maintenance}/MaintenanceJob.d.ts +3 -5
  93. package/{Maintenance → _publish/Maintenance}/MaintenanceJobStatus.d.ts +1 -0
  94. package/{Maintenance → _publish/Maintenance}/MaintenanceSchedule.d.ts +2 -2
  95. package/{Messaging → _publish/Messaging}/AlertPriority.d.ts +1 -0
  96. package/{Messaging → _publish/Messaging}/AssetAlert.d.ts +1 -0
  97. package/{Messaging → _publish/Messaging}/AssetMessage.d.ts +1 -0
  98. package/{Messaging → _publish/Messaging}/MessageBase.d.ts +3 -4
  99. package/{Messaging → _publish/Messaging}/MessageFolder.d.ts +1 -0
  100. package/{Messaging → _publish/Messaging}/MessageStatus.d.ts +1 -0
  101. package/{Messaging → _publish/Messaging}/MessageType.d.ts +1 -0
  102. package/{Places → _publish/Places}/Place.d.ts +3 -4
  103. package/{Places → _publish/Places}/PlaceType.d.ts +1 -0
  104. package/{Providers → _publish/Providers}/Provider.d.ts +3 -8
  105. package/{Providers → _publish/Providers}/ProviderAdvanced.d.ts +2 -2
  106. package/{Providers → _publish/Providers}/ProviderCommand.d.ts +1 -0
  107. package/{Providers → _publish/Providers}/ProviderCommandStatus.d.ts +1 -0
  108. package/{Providers → _publish/Providers}/ProviderCommandType.d.ts +1 -0
  109. package/{Providers → _publish/Providers}/ProviderControl.d.ts +2 -2
  110. package/{Providers → _publish/Providers}/ProviderData.d.ts +1 -0
  111. package/{Providers → _publish/Providers}/ProviderGeneral.d.ts +4 -7
  112. package/{Providers → _publish/Providers}/ProviderType.d.ts +1 -0
  113. package/{Reports → _publish/Reports}/ReportBreakdown.d.ts +1 -0
  114. package/{Reports → _publish/Reports}/ReportBreakdownJob.d.ts +1 -0
  115. package/{Reports → _publish/Reports}/ReportBreakdownMessage.d.ts +1 -0
  116. package/{Reports → _publish/Reports}/ReportBreakdownTask.d.ts +1 -0
  117. package/_publish/Reports/ReportBreakdown_fromJSON.d.ts +2 -0
  118. package/{Reports → _publish/Reports}/ReportFilterMode.d.ts +1 -0
  119. package/{Reports → _publish/Reports}/ReportNotifications.d.ts +1 -0
  120. package/{Reports → _publish/Reports}/ReportOptions.d.ts +1 -0
  121. package/{Reports → _publish/Reports}/ReportParameter.d.ts +1 -0
  122. package/{Reports → _publish/Reports}/ReportParameterType.d.ts +1 -0
  123. package/{Reports → _publish/Reports}/ReportRecurrence.d.ts +1 -0
  124. package/{Reports → _publish/Reports}/ReportRecurrenceType.d.ts +1 -0
  125. package/{Reports → _publish/Reports}/ReportResult.d.ts +2 -2
  126. package/{Reports → _publish/Reports}/ReportResultData.d.ts +1 -0
  127. package/{Reports → _publish/Reports}/ReportSchedule.d.ts +2 -2
  128. package/{Reports → _publish/Reports}/ReportScorecard.d.ts +2 -2
  129. package/{Reports → _publish/Reports}/ReportScorecardParameter.d.ts +1 -0
  130. package/{Reports → _publish/Reports}/ReportScorecardRules.d.ts +1 -0
  131. package/{Reports → _publish/Reports}/ReportStatus.d.ts +1 -0
  132. package/{Reports → _publish/Reports}/ReportSummary.d.ts +2 -2
  133. package/{Reports → _publish/Reports}/ReportSummaryReason.d.ts +1 -0
  134. package/{Reports → _publish/Reports}/ReportTemplate.d.ts +2 -2
  135. package/{Reports → _publish/Reports}/ReportTotal.d.ts +2 -2
  136. package/{Reports → _publish/Reports}/ReportType.d.ts +1 -0
  137. package/{index.d.ts → _publish/index.d.ts} +5 -4
  138. package/{storage.d.ts → _publish/storage.d.ts} +1 -0
  139. package/{trakit-objects.min.js → _publish/trakit-objects.min.js} +2 -2
  140. package/package.json +8 -1
  141. package/API/Geography/Functions.d.ts +0 -236
  142. package/API/Geography/Interfaces.d.ts +0 -150
  143. package/API/Geography/LatLng.d.ts +0 -86
  144. package/API/Geography/LatLngBounds.d.ts +0 -146
  145. package/API/Geography/Position.d.ts +0 -74
  146. package/API/Geography/StreetAddress.d.ts +0 -59
  147. package/API/Geometry/Functions.d.ts +0 -114
  148. package/API/Geometry/Interfaces.d.ts +0 -111
  149. package/API/Geometry/Point.d.ts +0 -81
  150. package/API/Geometry/Radial.d.ts +0 -110
  151. package/API/Geometry/Rectangle.d.ts +0 -159
  152. package/API/Geometry/Size.d.ts +0 -58
  153. package/API/Interfaces/IAmCompany.d.ts +0 -11
  154. package/API/Interfaces/IAuditable.d.ts +0 -31
  155. package/API/Interfaces/IBelongAsset.d.ts +0 -15
  156. package/API/Interfaces/IBelongBillingProfile.d.ts +0 -15
  157. package/API/Interfaces/IBelongCompany.d.ts +0 -15
  158. package/API/Interfaces/IDeserializable.d.ts +0 -13
  159. package/API/Interfaces/IEnabled.d.ts +0 -10
  160. package/API/Interfaces/IFileSize.d.ts +0 -9
  161. package/API/Interfaces/IGlobal.d.ts +0 -11
  162. package/API/Interfaces/IHavePermissions.d.ts +0 -20
  163. package/API/Interfaces/IHavePreferences.d.ts +0 -29
  164. package/API/Interfaces/IIconic.d.ts +0 -15
  165. package/API/Interfaces/IIdUlong.d.ts +0 -10
  166. package/API/Interfaces/ILabelled.d.ts +0 -10
  167. package/API/Interfaces/INamed.d.ts +0 -13
  168. package/API/Interfaces/IPictured.d.ts +0 -15
  169. package/API/Interfaces/IRequestable.d.ts +0 -22
  170. package/API/Interfaces/ISerializable.d.ts +0 -10
  171. package/API/Interfaces/ISuspendable.d.ts +0 -16
  172. package/API/Interfaces/IVisual.d.ts +0 -18
  173. package/Accounts/Permissions/Authorizer.d.ts +0 -204
  174. package/Accounts/Permissions/Permission.d.ts +0 -57
  175. package/Accounts/Permissions/PermissionEscalation.d.ts +0 -41
  176. package/Accounts/Permissions/PermissionEscalationState.d.ts +0 -19
  177. package/Accounts/Permissions/PermissionEscalationType.d.ts +0 -13
  178. package/Accounts/Permissions/PermissionLevel.d.ts +0 -17
  179. package/Accounts/Permissions/PermissionMethod.d.ts +0 -13
  180. package/Accounts/Permissions/PermissionType.d.ts +0 -280
  181. package/Billing/Hosting/BillableHostingBase.d.ts +0 -41
  182. package/Billing/Hosting/BillableHostingDiscount.d.ts +0 -36
  183. package/Billing/Hosting/BillableHostingLicense.d.ts +0 -30
  184. package/Billing/Hosting/BillableHostingLicenseType.d.ts +0 -20
  185. package/Billing/Hosting/BillableHostingRule.d.ts +0 -30
  186. package/Billing/Hosting/BillableHostingType.d.ts +0 -41
  187. package/Billing/Report/BillingReport.d.ts +0 -114
  188. package/Billing/Report/BillingReportBreakdown.d.ts +0 -35
  189. package/Billing/Report/BillingReportHostingSummary.d.ts +0 -36
  190. package/Billing/Report/BillingReportLicenseBreakdown.d.ts +0 -80
  191. package/Billing/Report/BillingReportServiceBreakdown.d.ts +0 -126
  192. package/Billing/Report/BillingReportStatus.d.ts +0 -25
  193. package/Billing/Report/BillingReportSummary.d.ts +0 -51
  194. package/Hosting/Fields/FormFieldAttachments.d.ts +0 -31
  195. package/Hosting/Fields/FormFieldBase.d.ts +0 -56
  196. package/Hosting/Fields/FormFieldBase_fromJSON.d.ts +0 -1
  197. package/Hosting/Fields/FormFieldBoolean.d.ts +0 -38
  198. package/Hosting/Fields/FormFieldChoice.d.ts +0 -46
  199. package/Hosting/Fields/FormFieldDate.d.ts +0 -26
  200. package/Hosting/Fields/FormFieldNumeric.d.ts +0 -54
  201. package/Hosting/Fields/FormFieldNumericSize.d.ts +0 -32
  202. package/Hosting/Fields/FormFieldSignature.d.ts +0 -17
  203. package/Hosting/Fields/FormFieldText.d.ts +0 -32
  204. package/Hosting/Fields/FormFieldTime.d.ts +0 -37
  205. package/Hosting/Fields/FormFieldTimezone.d.ts +0 -14
  206. package/Providers/Config/ProviderConfig.d.ts +0 -72
  207. package/Providers/Config/ProviderRegistration.d.ts +0 -123
  208. package/Providers/Config/ProviderScript.d.ts +0 -87
  209. package/Providers/Config/ProviderScriptBlock.d.ts +0 -41
  210. package/Providers/Config/ProviderScriptParameter.d.ts +0 -49
  211. package/Providers/Config/ProviderScriptParameterType.d.ts +0 -17
  212. package/Providers/Configuration/ProviderConfiguration.d.ts +0 -68
  213. package/Providers/Configuration/ProviderConfigurationNode.d.ts +0 -66
  214. package/Providers/Configuration/ProviderConfigurationType.d.ts +0 -62
  215. package/Providers/Configuration/ProviderGeofenceBase.d.ts +0 -29
  216. package/Providers/Configuration/ProviderGeofenceBase_fromJSON.d.ts +0 -1
  217. package/Providers/Configuration/ProviderGeofenceCircular.d.ts +0 -28
  218. package/Providers/Configuration/ProviderGeofencePoint.d.ts +0 -12
  219. package/Providers/Configuration/ProviderGeofencePolygon.d.ts +0 -23
  220. package/Providers/Configuration/ProviderGeofenceRectangle.d.ts +0 -28
  221. package/Reports/ReportBreakdown_fromJSON.d.ts +0 -1
@@ -25,3 +25,4 @@ export declare class DispatchStepState implements ISerializable {
25
25
  latlng: ILatLng | null;
26
26
  };
27
27
  }
28
+ //# sourceMappingURL=DispatchStepState.d.ts.map
@@ -19,3 +19,4 @@ export declare enum DispatchStepStatus {
19
19
  */
20
20
  completed = "completed"
21
21
  }
22
+ //# sourceMappingURL=DispatchStepStatus.d.ts.map
@@ -25,8 +25,7 @@ export declare class DispatchTask extends BaseComponent implements IIdUlong, IBe
25
25
  */
26
26
  companyId: ulong;
27
27
  /**
28
- * The company to which this task belongs.
29
- * {@link Company.id}
28
+ * The {@link Company} to which this task belongs.
30
29
  */
31
30
  get company(): Company;
32
31
  /**
@@ -35,8 +34,7 @@ export declare class DispatchTask extends BaseComponent implements IIdUlong, IBe
35
34
  */
36
35
  assetId: ulong;
37
36
  /**
38
- * The asset to which this task belongs.
39
- * {@link Asset.id}
37
+ * The {@link Asset} to which this task belongs.
40
38
  */
41
39
  get asset(): Asset;
42
40
  set asset(value: Asset);
@@ -154,3 +152,4 @@ export declare class DispatchTask extends BaseComponent implements IIdUlong, IBe
154
152
  */
155
153
  getKey(): number;
156
154
  }
155
+ //# sourceMappingURL=DispatchTask.d.ts.map
@@ -48,3 +48,4 @@ export declare enum DispatchTaskStatus {
48
48
  */
49
49
  unsuccessful = "unsuccessful"
50
50
  }
51
+ //# sourceMappingURL=DispatchTaskStatus.d.ts.map
@@ -19,8 +19,7 @@ export declare class Document extends BaseComponent implements IIdUlong, INamed,
19
19
  */
20
20
  companyId: ulong;
21
21
  /**
22
- * The company to which this file belongs.
23
- * {@link Company.id}
22
+ * The {@link Company} to which this file belongs.
24
23
  */
25
24
  get company(): Company;
26
25
  /**
@@ -69,3 +68,4 @@ export declare class Document extends BaseComponent implements IIdUlong, INamed,
69
68
  */
70
69
  getKey(): number;
71
70
  }
71
+ //# sourceMappingURL=Document.d.ts.map
@@ -125,3 +125,4 @@ export declare enum FormFieldType {
125
125
  */
126
126
  timezone = "timezone"
127
127
  }
128
+ //# sourceMappingURL=FormFieldType.d.ts.map
@@ -24,7 +24,6 @@ export declare class FormResult extends BaseComponent implements IIdUlong, IName
24
24
  companyId: ulong;
25
25
  /**
26
26
  * The {@link Company} to which this form belongs.
27
- * {@link Company.id}
28
27
  */
29
28
  get company(): Company;
30
29
  /**
@@ -43,7 +42,6 @@ export declare class FormResult extends BaseComponent implements IIdUlong, IName
43
42
  assetId: ulong;
44
43
  /**
45
44
  * The {@link Asset} to which this form belongs.
46
- * {@link Asset.id}
47
45
  */
48
46
  get asset(): Asset;
49
47
  /**
@@ -95,3 +93,4 @@ export declare class FormResult extends BaseComponent implements IIdUlong, IName
95
93
  };
96
94
  fromJSON(json: JsonObject, force?: boolean): boolean;
97
95
  }
96
+ //# sourceMappingURL=FormResult.d.ts.map
@@ -30,7 +30,6 @@ export declare class FormTemplate extends BaseComponent implements IIdUlong, INa
30
30
  companyId: ulong;
31
31
  /**
32
32
  * The {@link Company} to which this form belongs.
33
- * {@link Company.id}
34
33
  */
35
34
  get company(): Company;
36
35
  /**
@@ -79,3 +78,4 @@ export declare class FormTemplate extends BaseComponent implements IIdUlong, INa
79
78
  };
80
79
  fromJSON(json: JsonObject, force?: boolean): boolean;
81
80
  }
81
+ //# sourceMappingURL=FormTemplate.d.ts.map
@@ -1,18 +1,11 @@
1
- import { ISize } from "../API/Geometry/Interfaces";
2
- import { Size } from "../API/Geometry/Size";
3
1
  import { TimeSpan } from "../API/TimeSpan";
4
- import { byte, datetime, double, guid, JsonObject, single, ulong } from "../API/Types";
2
+ import { guid, JsonObject, single } from "../API/Types";
5
3
  import { DashcamBase } from "./DashcamBase";
6
4
  import { DashcamMediaType } from "./DashcamMediaType";
7
5
  /**
8
6
  * An image or video received from a dashcam-enabled provider or asset.
9
7
  */
10
8
  export declare class Dashcam extends DashcamBase {
11
- /**
12
- *
13
- * @param json
14
- */
15
- static fromJSON(json: JsonObject): Dashcam;
16
9
  /**
17
10
  * Unique identifier of this resource.
18
11
  */
@@ -43,7 +36,7 @@ export declare class Dashcam extends DashcamBase {
43
36
  * The reason why we're saving this image/video. Or the event name that triggered it.
44
37
  */
45
38
  eventName: string;
46
- constructor(bytes?: ulong, size?: Size | ISize | JsonObject, provider?: string, company?: ulong, asset?: ulong, camera?: byte, latitude?: double, longitude?: double, speed?: double, heading?: double, altitude?: double, guid?: guid, kind?: DashcamMediaType, fps?: single, start?: Date | number | datetime, end?: Date | number | datetime, eventName?: string);
39
+ fromJSON(json: JsonObject, force?: boolean): boolean;
47
40
  toJSON(): {
48
41
  guid: string;
49
42
  kind: DashcamMediaType;
@@ -52,7 +45,7 @@ export declare class Dashcam extends DashcamBase {
52
45
  end: string | null;
53
46
  eventName: string;
54
47
  bytes: number | null;
55
- size: ISize;
48
+ size: import("../API/Geometry/Interfaces").ISize;
56
49
  provider: string;
57
50
  company: number | null;
58
51
  asset: number | null;
@@ -68,3 +61,4 @@ export declare class Dashcam extends DashcamBase {
68
61
  */
69
62
  getKey(): string;
70
63
  }
64
+ //# sourceMappingURL=Dashcam.d.ts.map
@@ -1,16 +1,17 @@
1
1
  import { ISize } from "../API/Geometry/Interfaces";
2
2
  import { Size } from "../API/Geometry/Size";
3
+ import { IDeserializable } from "../API/Interfaces/IDeserializable";
3
4
  import { IFileSize } from "../API/Interfaces/IFileSize";
4
5
  import { IRequestable } from "../API/Interfaces/IRequestable";
5
6
  import { ISerializable } from "../API/Interfaces/ISerializable";
6
- import { byte, double, ulong, JsonObject } from "../API/Types";
7
+ import { byte, double, JsonObject, ulong } from "../API/Types";
7
8
  import { Asset } from "../Assets/Asset";
8
9
  import { Company } from "../Companies/Company";
9
10
  import { Provider } from "../Providers/Provider";
10
11
  /**
11
12
  * A base class for Dashcam meta-data.
12
13
  */
13
- export declare abstract class DashcamBase implements IRequestable, IFileSize, ISerializable {
14
+ export declare abstract class DashcamBase implements IRequestable, IFileSize, ISerializable, IDeserializable {
14
15
  /**
15
16
  * Number bytes in the dashcam media file.
16
17
  */
@@ -25,8 +26,7 @@ export declare abstract class DashcamBase implements IRequestable, IFileSize, IS
25
26
  */
26
27
  providerId: string;
27
28
  /**
28
- * Unique identifier of the provider that sent the data.
29
- * {@link Provider.id}
29
+ * The {@link Provider} that sent the data.
30
30
  */
31
31
  get provider(): Provider;
32
32
  /**
@@ -35,8 +35,7 @@ export declare abstract class DashcamBase implements IRequestable, IFileSize, IS
35
35
  */
36
36
  companyId: ulong;
37
37
  /**
38
- * Unique identifier of the company of the provider.
39
- * {@link Company.id}
38
+ * Unique identifier of the {@link Company} of the provider.
40
39
  */
41
40
  get company(): Company;
42
41
  /**
@@ -45,8 +44,7 @@ export declare abstract class DashcamBase implements IRequestable, IFileSize, IS
45
44
  */
46
45
  assetId: ulong;
47
46
  /**
48
- * Unique identifier of the asset tied to the provider at the time.
49
- * {@link Asset.id}
47
+ * Unique identifier of the {@link Asset} tied to the provider at the time.
50
48
  */
51
49
  get asset(): Asset;
52
50
  /**
@@ -73,7 +71,8 @@ export declare abstract class DashcamBase implements IRequestable, IFileSize, IS
73
71
  * Altitude of the start of the resource.
74
72
  */
75
73
  altitude: double;
76
- constructor(bytes?: ulong, size?: Size | ISize | JsonObject, provider?: string, company?: ulong, asset?: ulong, camera?: byte, latitude?: double, longitude?: double, speed?: double, heading?: double, altitude?: double);
74
+ constructor(json?: JsonObject);
75
+ fromJSON(json: JsonObject, force?: boolean): boolean;
77
76
  /**
78
77
  *
79
78
  */
@@ -96,3 +95,4 @@ export declare abstract class DashcamBase implements IRequestable, IFileSize, IS
96
95
  */
97
96
  abstract getKey(): string;
98
97
  }
98
+ //# sourceMappingURL=DashcamBase.d.ts.map
@@ -1,17 +1,10 @@
1
- import { ISize } from "../API/Geometry/Interfaces";
2
- import { Size } from "../API/Geometry/Size";
3
- import { byte, double, JsonObject, ulong } from "../API/Types";
1
+ import { JsonObject } from "../API/Types";
4
2
  import { DashcamBase } from "./DashcamBase";
5
3
  import { DashcamMediaType } from "./DashcamMediaType";
6
4
  /**
7
5
  * A live snapshot a dashcam-enabled provider or asset.
8
6
  */
9
7
  export declare class DashcamLive extends DashcamBase {
10
- /**
11
- *
12
- * @param json
13
- */
14
- static fromJSON(json: JsonObject): DashcamLive;
15
8
  /**
16
9
  * The type of data being stored.
17
10
  */
@@ -20,12 +13,12 @@ export declare class DashcamLive extends DashcamBase {
20
13
  * Timestamp of this live camera image.
21
14
  */
22
15
  dts: Date;
23
- constructor(bytes?: ulong, size?: Size | ISize | JsonObject, provider?: string, company?: ulong, asset?: ulong, camera?: byte, latitude?: double, longitude?: double, speed?: double, heading?: double, altitude?: double, dts?: Date | string | number);
16
+ fromJSON(json: JsonObject, force?: boolean): boolean;
24
17
  toJSON(): {
25
18
  kind: DashcamMediaType;
26
19
  dts: string | null;
27
20
  bytes: number | null;
28
- size: ISize;
21
+ size: import("../API/Geometry/Interfaces").ISize;
29
22
  provider: string;
30
23
  company: number | null;
31
24
  asset: number | null;
@@ -41,3 +34,4 @@ export declare class DashcamLive extends DashcamBase {
41
34
  */
42
35
  getKey(): string;
43
36
  }
37
+ //# sourceMappingURL=DashcamLive.d.ts.map
@@ -15,3 +15,4 @@ export declare enum DashcamMediaType {
15
15
  */
16
16
  video = "video"
17
17
  }
18
+ //# sourceMappingURL=DashcamMediaType.d.ts.map
@@ -21,8 +21,7 @@ export declare class Icon extends BaseComponent implements IIdUlong, INamed, IBe
21
21
  */
22
22
  companyId: ulong;
23
23
  /**
24
- * The company to which this icon belongs.
25
- * {@link Company.id}
24
+ * The {@link Company} to which this icon belongs.
26
25
  */
27
26
  get company(): Company;
28
27
  /**
@@ -65,3 +64,4 @@ export declare class Icon extends BaseComponent implements IIdUlong, INamed, IBe
65
64
  */
66
65
  getKey(): number;
67
66
  }
67
+ //# sourceMappingURL=Icon.d.ts.map
@@ -45,3 +45,4 @@ export declare class IconGlyph implements ISerializable {
45
45
  toJSON(): JsonObject;
46
46
  isEqual(other: IconGlyph): boolean;
47
47
  }
48
+ //# sourceMappingURL=IconGlyph.d.ts.map
@@ -27,3 +27,4 @@ export declare class IconLabel implements ISerializable {
27
27
  toJSON(): JsonObject;
28
28
  isEqual(other: IconLabel): boolean;
29
29
  }
30
+ //# sourceMappingURL=IconLabel.d.ts.map
@@ -31,3 +31,4 @@ export declare enum IconLayer {
31
31
  */
32
32
  edits = "edits"
33
33
  }
34
+ //# sourceMappingURL=IconLayer.d.ts.map
@@ -21,8 +21,7 @@ export declare class Picture extends BaseComponent implements IIdUlong, INamed,
21
21
  */
22
22
  companyId: ulong;
23
23
  /**
24
- * The company to which this image belongs.
25
- * {@link Company.id}
24
+ * The {@link Company} to which this image belongs.
26
25
  */
27
26
  get company(): Company;
28
27
  /**
@@ -71,3 +70,4 @@ export declare class Picture extends BaseComponent implements IIdUlong, INamed,
71
70
  */
72
71
  getKey(): number;
73
72
  }
73
+ //# sourceMappingURL=Picture.d.ts.map
@@ -15,7 +15,6 @@ export declare class MaintenanceInterval implements IBelongAsset, ISerializable
15
15
  assetId: ulong;
16
16
  /**
17
17
  * The Vehicle or Trailer to which this recurrence detail belongs.
18
- * {@link Asset.id}
19
18
  */
20
19
  get asset(): Asset;
21
20
  /**
@@ -47,3 +46,4 @@ export declare class MaintenanceInterval implements IBelongAsset, ISerializable
47
46
  lastJob: number | null;
48
47
  };
49
48
  }
49
+ //# sourceMappingURL=MaintenanceInterval.d.ts.map
@@ -26,7 +26,6 @@ export declare class MaintenanceJob extends BaseComponent implements IIdUlong, I
26
26
  assetId: ulong;
27
27
  /**
28
28
  * The Vehicle or Trailer to which this job belongs
29
- * {@link Asset.id}
30
29
  */
31
30
  get asset(): Asset;
32
31
  /**
@@ -35,8 +34,7 @@ export declare class MaintenanceJob extends BaseComponent implements IIdUlong, I
35
34
  */
36
35
  companyId: ulong;
37
36
  /**
38
- * The company to which this Vehicle or Trailer belongs
39
- * {@link Company.id}
37
+ * The {@link Company} to which this Vehicle or Trailer belongs
40
38
  */
41
39
  get company(): Company;
42
40
  /**
@@ -104,8 +102,7 @@ export declare class MaintenanceJob extends BaseComponent implements IIdUlong, I
104
102
  */
105
103
  pictureIds: ulong[];
106
104
  /**
107
- * Images taken while performing the work for reference.
108
- * {@link Picture.id}
105
+ * {@link Picture}s taken while performing the work for reference.
109
106
  */
110
107
  get pictures(): Picture[];
111
108
  set pictures(values: Picture[]);
@@ -135,3 +132,4 @@ export declare class MaintenanceJob extends BaseComponent implements IIdUlong, I
135
132
  */
136
133
  getKey(): number;
137
134
  }
135
+ //# sourceMappingURL=MaintenanceJob.d.ts.map
@@ -19,3 +19,4 @@ export declare enum MaintenanceJobStatus {
19
19
  */
20
20
  cancelled = "cancelled"
21
21
  }
22
+ //# sourceMappingURL=MaintenanceJobStatus.d.ts.map
@@ -22,8 +22,7 @@ export declare class MaintenanceSchedule extends BaseComponent implements IIdUlo
22
22
  */
23
23
  companyId: ulong;
24
24
  /**
25
- * The company to which this schedule belongs
26
- * {@link Company.id}
25
+ * The {@link Company} to which this schedule belongs
27
26
  */
28
27
  get company(): Company;
29
28
  /**
@@ -117,3 +116,4 @@ export declare class MaintenanceSchedule extends BaseComponent implements IIdUlo
117
116
  */
118
117
  getKey(): number;
119
118
  }
119
+ //# sourceMappingURL=MaintenanceSchedule.d.ts.map
@@ -15,3 +15,4 @@ export declare enum AlertPriority {
15
15
  */
16
16
  high = "high"
17
17
  }
18
+ //# sourceMappingURL=AlertPriority.d.ts.map
@@ -27,3 +27,4 @@ export declare class AssetAlert extends MessageBase {
27
27
  };
28
28
  fromJSON(json: JsonObject, force?: boolean): boolean;
29
29
  }
30
+ //# sourceMappingURL=AssetAlert.d.ts.map
@@ -38,3 +38,4 @@ export declare class AssetMessage extends MessageBase {
38
38
  };
39
39
  fromJSON(json: JsonObject, force?: boolean): boolean;
40
40
  }
41
+ //# sourceMappingURL=AssetMessage.d.ts.map
@@ -22,8 +22,7 @@ export declare abstract class MessageBase extends BaseComponent implements IIdUl
22
22
  */
23
23
  companyId: ulong;
24
24
  /**
25
- * The company to which this memo belongs.
26
- * {@link Company.id}
25
+ * The {@link Company} to which this memo belongs.
27
26
  */
28
27
  get company(): Company;
29
28
  /**
@@ -64,8 +63,7 @@ export declare abstract class MessageBase extends BaseComponent implements IIdUl
64
63
  */
65
64
  assetId: ulong;
66
65
  /**
67
- * The asset to which this message relates.
68
- * {@link Asset.id}
66
+ * The {@link Asset} to which this message relates.
69
67
  */
70
68
  get asset(): Asset;
71
69
  /**
@@ -99,3 +97,4 @@ export declare abstract class MessageBase extends BaseComponent implements IIdUl
99
97
  */
100
98
  getKey(): number;
101
99
  }
100
+ //# sourceMappingURL=MessageBase.d.ts.map
@@ -11,3 +11,4 @@ export declare enum MessageFolder {
11
11
  */
12
12
  archive = "archive"
13
13
  }
14
+ //# sourceMappingURL=MessageFolder.d.ts.map
@@ -27,3 +27,4 @@ export declare enum MessageStatus {
27
27
  */
28
28
  acknowledged = "acknowledged"
29
29
  }
30
+ //# sourceMappingURL=MessageStatus.d.ts.map
@@ -31,3 +31,4 @@ export declare enum MessageType {
31
31
  */
32
32
  socket = "socket"
33
33
  }
34
+ //# sourceMappingURL=MessageType.d.ts.map
@@ -25,8 +25,7 @@ export declare class Place extends BaseComponent implements IIdUlong, INamed, II
25
25
  */
26
26
  companyId: ulong;
27
27
  /**
28
- * The company to which this POI belongs.
29
- * {@link Company.id}
28
+ * The {@link Company} to which this POI belongs.
30
29
  */
31
30
  get company(): Company;
32
31
  /**
@@ -47,8 +46,7 @@ export declare class Place extends BaseComponent implements IIdUlong, INamed, II
47
46
  */
48
47
  iconId: ulong;
49
48
  /**
50
- * The icon used to display this POI in lists and on the map.
51
- * {@link Icon.id}
49
+ * The {@link Icon} used to display this POI in lists and on the map.
52
50
  */
53
51
  get icon(): Icon;
54
52
  set icon(value: Icon);
@@ -114,3 +112,4 @@ export declare class Place extends BaseComponent implements IIdUlong, INamed, II
114
112
  */
115
113
  getKey(): number;
116
114
  }
115
+ //# sourceMappingURL=Place.d.ts.map
@@ -23,3 +23,4 @@ export declare enum PlaceType {
23
23
  */
24
24
  rectangle = "rectangle"
25
25
  }
26
+ //# sourceMappingURL=PlaceType.d.ts.map
@@ -26,17 +26,14 @@ export declare class Provider extends BaseCompound implements INamed, IBelongCom
26
26
  get pieces(): BaseComponent[];
27
27
  /**
28
28
  * Unique identifier of this device.
29
- * {@link Asset.id}
30
29
  */
31
30
  get id(): string;
32
31
  /**
33
32
  * The company to which this device belongs.
34
- * {@link Company.id}
35
33
  */
36
34
  get companyId(): ulong;
37
35
  /**
38
36
  * The company to which this device belongs.
39
- * {@link Company.id}
40
37
  */
41
38
  get company(): Company;
42
39
  set company(value: Company);
@@ -62,8 +59,7 @@ export declare class Provider extends BaseCompound implements INamed, IBelongCom
62
59
  get assetId(): ulong;
63
60
  set assetId(value: ulong);
64
61
  /**
65
- * The asset for which this device provides field data.
66
- * {@link Asset.id}
62
+ * The {@link Asset} for which this device provides field data.
67
63
  */
68
64
  get asset(): Asset;
69
65
  set asset(value: Asset);
@@ -75,9 +71,7 @@ export declare class Provider extends BaseCompound implements INamed, IBelongCom
75
71
  get configurationId(): ulong;
76
72
  set configurationId(value: ulong);
77
73
  /**
78
- * The provider's current (or pending) configuration profile.
79
- * {@link ProviderConfig.id}
80
- * {@link ProviderConfiguration.id}
74
+ * The provider's current (or pending) {@link ProviderConfig} (or {@link ProviderConfiguration}).
81
75
  */
82
76
  get configuration(): ProviderConfig | ProviderConfiguration;
83
77
  set configuration(value: ProviderConfig | ProviderConfiguration);
@@ -209,3 +203,4 @@ export declare class Provider extends BaseCompound implements INamed, IBelongCom
209
203
  */
210
204
  get since(): Date;
211
205
  }
206
+ //# sourceMappingURL=Provider.d.ts.map
@@ -18,8 +18,7 @@ export declare class ProviderAdvanced extends BaseComponent implements IBelongCo
18
18
  */
19
19
  companyId: ulong;
20
20
  /**
21
- * The company to which this device belongs.
22
- * {@link Company.id}
21
+ * The {@link Company} to which this device belongs.
23
22
  */
24
23
  get company(): Company;
25
24
  set company(value: Company);
@@ -49,3 +48,4 @@ export declare class ProviderAdvanced extends BaseComponent implements IBelongCo
49
48
  */
50
49
  getKey(): string;
51
50
  }
51
+ //# sourceMappingURL=ProviderAdvanced.d.ts.map
@@ -34,3 +34,4 @@ export declare class ProviderCommand implements ISerializable {
34
34
  processed: string | null;
35
35
  };
36
36
  }
37
+ //# sourceMappingURL=ProviderCommand.d.ts.map
@@ -27,3 +27,4 @@ export declare enum ProviderCommandStatus {
27
27
  */
28
28
  cancelled = "cancelled"
29
29
  }
30
+ //# sourceMappingURL=ProviderCommandStatus.d.ts.map
@@ -35,3 +35,4 @@ export declare enum ProviderCommandType {
35
35
  */
36
36
  custom = "custom"
37
37
  }
38
+ //# sourceMappingURL=ProviderCommandType.d.ts.map
@@ -19,8 +19,7 @@ export declare class ProviderControl extends BaseComponent implements IBelongCom
19
19
  */
20
20
  companyId: ulong;
21
21
  /**
22
- * The company to which this device belongs.
23
- * {@link Company.id}
22
+ * The {@link Company} to which this device belongs.
24
23
  */
25
24
  get company(): Company;
26
25
  set company(value: Company);
@@ -40,3 +39,4 @@ export declare class ProviderControl extends BaseComponent implements IBelongCom
40
39
  */
41
40
  getKey(): string;
42
41
  }
42
+ //# sourceMappingURL=ProviderControl.d.ts.map
@@ -28,3 +28,4 @@ export declare class ProviderData implements ISerializable {
28
28
  unit: string;
29
29
  };
30
30
  }
31
+ //# sourceMappingURL=ProviderData.d.ts.map
@@ -23,8 +23,7 @@ export declare class ProviderGeneral extends BaseComponent implements INamed, IB
23
23
  */
24
24
  companyId: ulong;
25
25
  /**
26
- * The company to which this device belongs.
27
- * {@link Company.id}
26
+ * The {@link Company} to which this device belongs.
28
27
  */
29
28
  get company(): Company;
30
29
  set company(value: Company);
@@ -46,8 +45,7 @@ export declare class ProviderGeneral extends BaseComponent implements INamed, IB
46
45
  */
47
46
  assetId: ulong;
48
47
  /**
49
- * The asset for which this device provides field data.
50
- * {@link Asset.id}
48
+ * The {@link Asset} for which this device provides field data.
51
49
  */
52
50
  get asset(): Asset;
53
51
  set asset(value: Asset);
@@ -58,9 +56,7 @@ export declare class ProviderGeneral extends BaseComponent implements INamed, IB
58
56
  */
59
57
  configurationId: ulong;
60
58
  /**
61
- * The provider's current (or pending) configuration profile.
62
- * {@link ProviderConfig.id}
63
- * {@link ProviderConfiguration.id}
59
+ * The provider's current (or pending) {@link ProviderConfig} (or {@link ProviderConfiguration}).
64
60
  */
65
61
  get configuration(): ProviderConfig | ProviderConfiguration;
66
62
  set configuration(value: ProviderConfig | ProviderConfiguration);
@@ -123,3 +119,4 @@ export declare class ProviderGeneral extends BaseComponent implements INamed, IB
123
119
  */
124
120
  since: Date;
125
121
  }
122
+ //# sourceMappingURL=ProviderGeneral.d.ts.map
@@ -104,3 +104,4 @@ export declare enum ProviderType {
104
104
  */
105
105
  teltonika = "teltonika"
106
106
  }
107
+ //# sourceMappingURL=ProviderType.d.ts.map
@@ -47,3 +47,4 @@ export declare class ReportBreakdown implements ISerializable {
47
47
  advanced: JsonObject | null;
48
48
  };
49
49
  }
50
+ //# sourceMappingURL=ReportBreakdown.d.ts.map
@@ -35,3 +35,4 @@ export declare class ReportBreakdownJob extends ReportBreakdown {
35
35
  advanced: import("..").JsonObject | null;
36
36
  };
37
37
  }
38
+ //# sourceMappingURL=ReportBreakdownJob.d.ts.map
@@ -38,3 +38,4 @@ export declare class ReportBreakdownMessage extends ReportBreakdown {
38
38
  advanced: import("..").JsonObject | null;
39
39
  };
40
40
  }
41
+ //# sourceMappingURL=ReportBreakdownMessage.d.ts.map
@@ -44,3 +44,4 @@ export declare class ReportBreakdownTask extends ReportBreakdown {
44
44
  advanced: import("..").JsonObject | null;
45
45
  };
46
46
  }
47
+ //# sourceMappingURL=ReportBreakdownTask.d.ts.map
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=ReportBreakdown_fromJSON.d.ts.map
@@ -15,3 +15,4 @@ export declare enum ReportFilterMode {
15
15
  */
16
16
  exclusive = "exclusive"
17
17
  }
18
+ //# sourceMappingURL=ReportFilterMode.d.ts.map
@@ -29,3 +29,4 @@ export declare class ReportNotifications implements ISerializable {
29
29
  assets: string | null;
30
30
  };
31
31
  }
32
+ //# sourceMappingURL=ReportNotifications.d.ts.map