@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.
- package/LICENSE +661 -0
- package/README.md +24 -0
- package/{API → _publish/API}/Arrays.d.ts +1 -0
- package/{API → _publish/API}/Base.d.ts +1 -0
- package/{API → _publish/API}/BaseComponent.d.ts +1 -0
- package/{API → _publish/API}/BaseCompound.d.ts +1 -0
- package/{API → _publish/API}/Codifier.d.ts +1 -0
- package/{API → _publish/API}/Constants.d.ts +1 -0
- package/{API → _publish/API}/Conversion.d.ts +3 -2
- package/{API → _publish/API}/Encoding.d.ts +1 -0
- package/{API → _publish/API}/Files.d.ts +1 -0
- package/{API → _publish/API}/Functions.d.ts +1 -0
- package/{API → _publish/API}/Guid.d.ts +1 -0
- package/{API → _publish/API}/Maps.d.ts +1 -0
- package/{API → _publish/API}/Objects.d.ts +1 -0
- package/{API → _publish/API}/SearchPattern.d.ts +1 -0
- package/{API → _publish/API}/TimeSpan.d.ts +1 -0
- package/{API → _publish/API}/Timezone.d.ts +1 -0
- package/{API → _publish/API}/Timezones.d.ts +1 -0
- package/{API → _publish/API}/Types.d.ts +24 -23
- package/{Accounts → _publish/Accounts}/Contact.d.ts +4 -4
- package/{Accounts → _publish/Accounts}/Machine.d.ts +1 -0
- package/_publish/Accounts/MultiFactorType.d.ts +18 -0
- package/{Accounts → _publish/Accounts}/NotificationMethod.d.ts +1 -0
- package/_publish/Accounts/SSOIdentityProvider.d.ts +26 -0
- package/{Accounts → _publish/Accounts}/Session.d.ts +12 -14
- package/{Accounts → _publish/Accounts}/SessionStatus.d.ts +1 -0
- package/{Accounts → _publish/Accounts}/SystemsOfUnits.d.ts +1 -0
- package/{Accounts → _publish/Accounts}/User.d.ts +34 -13
- package/{Accounts → _publish/Accounts}/UserAdvanced.d.ts +2 -2
- package/_publish/Accounts/UserAuthentication.d.ts +56 -0
- package/{Accounts → _publish/Accounts}/UserGeneral.d.ts +3 -4
- package/{Accounts → _publish/Accounts}/UserGroup.d.ts +2 -2
- package/_publish/Accounts/UserMFA.d.ts +48 -0
- package/{Accounts → _publish/Accounts}/UserNotifications.d.ts +1 -0
- package/_publish/Accounts/UserSSO.d.ts +38 -0
- package/{Assets → _publish/Assets}/Asset.d.ts +6 -11
- package/{Assets → _publish/Assets}/AssetAdvanced.d.ts +2 -2
- package/{Assets → _publish/Assets}/AssetAttribute.d.ts +1 -0
- package/{Assets → _publish/Assets}/AssetDispatch.d.ts +2 -2
- package/{Assets → _publish/Assets}/AssetGeneral.d.ts +3 -4
- package/{Assets → _publish/Assets}/AssetPlaceStatus.d.ts +1 -0
- package/{Assets → _publish/Assets}/AssetPlaceStatusType.d.ts +1 -0
- package/{Assets → _publish/Assets}/AssetType.d.ts +1 -0
- package/{Behaviours → _publish/Behaviours}/Behaviour.d.ts +2 -2
- package/{Behaviours → _publish/Behaviours}/BehaviourLog.d.ts +3 -4
- package/{Behaviours → _publish/Behaviours}/BehaviourLogType.d.ts +1 -0
- package/{Behaviours → _publish/Behaviours}/BehaviourParameter.d.ts +1 -0
- package/{Behaviours → _publish/Behaviours}/BehaviourParameterType.d.ts +1 -0
- package/{Behaviours → _publish/Behaviours}/BehaviourScript.d.ts +2 -2
- package/{Billing → _publish/Billing}/BillableBase.d.ts +3 -4
- package/{Billing → _publish/Billing}/BillableSmsProfile.d.ts +1 -0
- package/{Billing → _publish/Billing}/BillingCurrency.d.ts +1 -0
- package/{Billing → _publish/Billing}/BillingCycle.d.ts +1 -0
- package/{Billing → _publish/Billing}/BillingProfile.d.ts +5 -7
- package/{Companies → _publish/Companies}/ColourStyle.d.ts +1 -0
- package/{Companies → _publish/Companies}/Company.d.ts +5 -2
- package/{Companies → _publish/Companies}/CompanyDirectory.d.ts +3 -4
- package/{Companies → _publish/Companies}/CompanyGeneral.d.ts +2 -2
- package/{Companies → _publish/Companies}/CompanyPolicy.d.ts +2 -2
- package/{Companies → _publish/Companies}/CompanyReseller.d.ts +3 -4
- package/{Companies → _publish/Companies}/CompanyStyle.d.ts +2 -2
- package/{Companies → _publish/Companies}/LabelStyle.d.ts +1 -0
- package/{Companies → _publish/Companies}/NotificationServerEmail.d.ts +3 -2
- package/{Companies → _publish/Companies}/NotificationServerSms.d.ts +1 -0
- package/{Companies → _publish/Companies}/PasswordExpiryMode.d.ts +1 -0
- package/{Companies → _publish/Companies}/PasswordPolicy.d.ts +1 -0
- package/{Companies → _publish/Companies}/SessionMultiUser.d.ts +1 -0
- package/{Companies → _publish/Companies}/SessionPolicy.d.ts +1 -0
- package/{Dispatch → _publish/Dispatch}/DispatchDirection.d.ts +1 -0
- package/{Dispatch → _publish/Dispatch}/DispatchJob.d.ts +2 -3
- package/{Dispatch → _publish/Dispatch}/DispatchJobPriority.d.ts +1 -0
- package/{Dispatch → _publish/Dispatch}/DispatchStep.d.ts +1 -0
- package/{Dispatch → _publish/Dispatch}/DispatchStepState.d.ts +1 -0
- package/{Dispatch → _publish/Dispatch}/DispatchStepStatus.d.ts +1 -0
- package/{Dispatch → _publish/Dispatch}/DispatchTask.d.ts +3 -4
- package/{Dispatch → _publish/Dispatch}/DispatchTaskStatus.d.ts +1 -0
- package/{Hosting → _publish/Hosting}/Document.d.ts +2 -2
- package/{Hosting → _publish/Hosting}/FormFieldType.d.ts +1 -0
- package/{Hosting → _publish/Hosting}/FormResult.d.ts +1 -2
- package/{Hosting → _publish/Hosting}/FormTemplate.d.ts +1 -1
- package/{Images → _publish/Images}/Dashcam.d.ts +4 -10
- package/{Images → _publish/Images}/DashcamBase.d.ts +9 -9
- package/{Images → _publish/Images}/DashcamLive.d.ts +4 -10
- package/{Images → _publish/Images}/DashcamMediaType.d.ts +1 -0
- package/{Images → _publish/Images}/Icon.d.ts +2 -2
- package/{Images → _publish/Images}/IconGlyph.d.ts +1 -0
- package/{Images → _publish/Images}/IconLabel.d.ts +1 -0
- package/{Images → _publish/Images}/IconLayer.d.ts +1 -0
- package/{Images → _publish/Images}/Picture.d.ts +2 -2
- package/{Maintenance → _publish/Maintenance}/MaintenanceInterval.d.ts +1 -1
- package/{Maintenance → _publish/Maintenance}/MaintenanceJob.d.ts +3 -5
- package/{Maintenance → _publish/Maintenance}/MaintenanceJobStatus.d.ts +1 -0
- package/{Maintenance → _publish/Maintenance}/MaintenanceSchedule.d.ts +2 -2
- package/{Messaging → _publish/Messaging}/AlertPriority.d.ts +1 -0
- package/{Messaging → _publish/Messaging}/AssetAlert.d.ts +1 -0
- package/{Messaging → _publish/Messaging}/AssetMessage.d.ts +1 -0
- package/{Messaging → _publish/Messaging}/MessageBase.d.ts +3 -4
- package/{Messaging → _publish/Messaging}/MessageFolder.d.ts +1 -0
- package/{Messaging → _publish/Messaging}/MessageStatus.d.ts +1 -0
- package/{Messaging → _publish/Messaging}/MessageType.d.ts +1 -0
- package/{Places → _publish/Places}/Place.d.ts +3 -4
- package/{Places → _publish/Places}/PlaceType.d.ts +1 -0
- package/{Providers → _publish/Providers}/Provider.d.ts +3 -8
- package/{Providers → _publish/Providers}/ProviderAdvanced.d.ts +2 -2
- package/{Providers → _publish/Providers}/ProviderCommand.d.ts +1 -0
- package/{Providers → _publish/Providers}/ProviderCommandStatus.d.ts +1 -0
- package/{Providers → _publish/Providers}/ProviderCommandType.d.ts +1 -0
- package/{Providers → _publish/Providers}/ProviderControl.d.ts +2 -2
- package/{Providers → _publish/Providers}/ProviderData.d.ts +1 -0
- package/{Providers → _publish/Providers}/ProviderGeneral.d.ts +4 -7
- package/{Providers → _publish/Providers}/ProviderType.d.ts +1 -0
- package/{Reports → _publish/Reports}/ReportBreakdown.d.ts +1 -0
- package/{Reports → _publish/Reports}/ReportBreakdownJob.d.ts +1 -0
- package/{Reports → _publish/Reports}/ReportBreakdownMessage.d.ts +1 -0
- package/{Reports → _publish/Reports}/ReportBreakdownTask.d.ts +1 -0
- package/_publish/Reports/ReportBreakdown_fromJSON.d.ts +2 -0
- package/{Reports → _publish/Reports}/ReportFilterMode.d.ts +1 -0
- package/{Reports → _publish/Reports}/ReportNotifications.d.ts +1 -0
- package/{Reports → _publish/Reports}/ReportOptions.d.ts +1 -0
- package/{Reports → _publish/Reports}/ReportParameter.d.ts +1 -0
- package/{Reports → _publish/Reports}/ReportParameterType.d.ts +1 -0
- package/{Reports → _publish/Reports}/ReportRecurrence.d.ts +1 -0
- package/{Reports → _publish/Reports}/ReportRecurrenceType.d.ts +1 -0
- package/{Reports → _publish/Reports}/ReportResult.d.ts +2 -2
- package/{Reports → _publish/Reports}/ReportResultData.d.ts +1 -0
- package/{Reports → _publish/Reports}/ReportSchedule.d.ts +2 -2
- package/{Reports → _publish/Reports}/ReportScorecard.d.ts +2 -2
- package/{Reports → _publish/Reports}/ReportScorecardParameter.d.ts +1 -0
- package/{Reports → _publish/Reports}/ReportScorecardRules.d.ts +1 -0
- package/{Reports → _publish/Reports}/ReportStatus.d.ts +1 -0
- package/{Reports → _publish/Reports}/ReportSummary.d.ts +2 -2
- package/{Reports → _publish/Reports}/ReportSummaryReason.d.ts +1 -0
- package/{Reports → _publish/Reports}/ReportTemplate.d.ts +2 -2
- package/{Reports → _publish/Reports}/ReportTotal.d.ts +2 -2
- package/{Reports → _publish/Reports}/ReportType.d.ts +1 -0
- package/{index.d.ts → _publish/index.d.ts} +5 -4
- package/{storage.d.ts → _publish/storage.d.ts} +1 -0
- package/{trakit-objects.min.js → _publish/trakit-objects.min.js} +2 -2
- package/package.json +8 -1
- package/API/Geography/Functions.d.ts +0 -236
- package/API/Geography/Interfaces.d.ts +0 -150
- package/API/Geography/LatLng.d.ts +0 -86
- package/API/Geography/LatLngBounds.d.ts +0 -146
- package/API/Geography/Position.d.ts +0 -74
- package/API/Geography/StreetAddress.d.ts +0 -59
- package/API/Geometry/Functions.d.ts +0 -114
- package/API/Geometry/Interfaces.d.ts +0 -111
- package/API/Geometry/Point.d.ts +0 -81
- package/API/Geometry/Radial.d.ts +0 -110
- package/API/Geometry/Rectangle.d.ts +0 -159
- package/API/Geometry/Size.d.ts +0 -58
- package/API/Interfaces/IAmCompany.d.ts +0 -11
- package/API/Interfaces/IAuditable.d.ts +0 -31
- package/API/Interfaces/IBelongAsset.d.ts +0 -15
- package/API/Interfaces/IBelongBillingProfile.d.ts +0 -15
- package/API/Interfaces/IBelongCompany.d.ts +0 -15
- package/API/Interfaces/IDeserializable.d.ts +0 -13
- package/API/Interfaces/IEnabled.d.ts +0 -10
- package/API/Interfaces/IFileSize.d.ts +0 -9
- package/API/Interfaces/IGlobal.d.ts +0 -11
- package/API/Interfaces/IHavePermissions.d.ts +0 -20
- package/API/Interfaces/IHavePreferences.d.ts +0 -29
- package/API/Interfaces/IIconic.d.ts +0 -15
- package/API/Interfaces/IIdUlong.d.ts +0 -10
- package/API/Interfaces/ILabelled.d.ts +0 -10
- package/API/Interfaces/INamed.d.ts +0 -13
- package/API/Interfaces/IPictured.d.ts +0 -15
- package/API/Interfaces/IRequestable.d.ts +0 -22
- package/API/Interfaces/ISerializable.d.ts +0 -10
- package/API/Interfaces/ISuspendable.d.ts +0 -16
- package/API/Interfaces/IVisual.d.ts +0 -18
- package/Accounts/Permissions/Authorizer.d.ts +0 -204
- package/Accounts/Permissions/Permission.d.ts +0 -57
- package/Accounts/Permissions/PermissionEscalation.d.ts +0 -41
- package/Accounts/Permissions/PermissionEscalationState.d.ts +0 -19
- package/Accounts/Permissions/PermissionEscalationType.d.ts +0 -13
- package/Accounts/Permissions/PermissionLevel.d.ts +0 -17
- package/Accounts/Permissions/PermissionMethod.d.ts +0 -13
- package/Accounts/Permissions/PermissionType.d.ts +0 -280
- package/Billing/Hosting/BillableHostingBase.d.ts +0 -41
- package/Billing/Hosting/BillableHostingDiscount.d.ts +0 -36
- package/Billing/Hosting/BillableHostingLicense.d.ts +0 -30
- package/Billing/Hosting/BillableHostingLicenseType.d.ts +0 -20
- package/Billing/Hosting/BillableHostingRule.d.ts +0 -30
- package/Billing/Hosting/BillableHostingType.d.ts +0 -41
- package/Billing/Report/BillingReport.d.ts +0 -114
- package/Billing/Report/BillingReportBreakdown.d.ts +0 -35
- package/Billing/Report/BillingReportHostingSummary.d.ts +0 -36
- package/Billing/Report/BillingReportLicenseBreakdown.d.ts +0 -80
- package/Billing/Report/BillingReportServiceBreakdown.d.ts +0 -126
- package/Billing/Report/BillingReportStatus.d.ts +0 -25
- package/Billing/Report/BillingReportSummary.d.ts +0 -51
- package/Hosting/Fields/FormFieldAttachments.d.ts +0 -31
- package/Hosting/Fields/FormFieldBase.d.ts +0 -56
- package/Hosting/Fields/FormFieldBase_fromJSON.d.ts +0 -1
- package/Hosting/Fields/FormFieldBoolean.d.ts +0 -38
- package/Hosting/Fields/FormFieldChoice.d.ts +0 -46
- package/Hosting/Fields/FormFieldDate.d.ts +0 -26
- package/Hosting/Fields/FormFieldNumeric.d.ts +0 -54
- package/Hosting/Fields/FormFieldNumericSize.d.ts +0 -32
- package/Hosting/Fields/FormFieldSignature.d.ts +0 -17
- package/Hosting/Fields/FormFieldText.d.ts +0 -32
- package/Hosting/Fields/FormFieldTime.d.ts +0 -37
- package/Hosting/Fields/FormFieldTimezone.d.ts +0 -14
- package/Providers/Config/ProviderConfig.d.ts +0 -72
- package/Providers/Config/ProviderRegistration.d.ts +0 -123
- package/Providers/Config/ProviderScript.d.ts +0 -87
- package/Providers/Config/ProviderScriptBlock.d.ts +0 -41
- package/Providers/Config/ProviderScriptParameter.d.ts +0 -49
- package/Providers/Config/ProviderScriptParameterType.d.ts +0 -17
- package/Providers/Configuration/ProviderConfiguration.d.ts +0 -68
- package/Providers/Configuration/ProviderConfigurationNode.d.ts +0 -66
- package/Providers/Configuration/ProviderConfigurationType.d.ts +0 -62
- package/Providers/Configuration/ProviderGeofenceBase.d.ts +0 -29
- package/Providers/Configuration/ProviderGeofenceBase_fromJSON.d.ts +0 -1
- package/Providers/Configuration/ProviderGeofenceCircular.d.ts +0 -28
- package/Providers/Configuration/ProviderGeofencePoint.d.ts +0 -12
- package/Providers/Configuration/ProviderGeofencePolygon.d.ts +0 -23
- package/Providers/Configuration/ProviderGeofenceRectangle.d.ts +0 -28
- package/Reports/ReportBreakdown_fromJSON.d.ts +0 -1
|
@@ -25,8 +25,7 @@ export declare class DispatchTask extends BaseComponent implements IIdUlong, IBe
|
|
|
25
25
|
*/
|
|
26
26
|
companyId: ulong;
|
|
27
27
|
/**
|
|
28
|
-
* The
|
|
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
|
|
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
|
|
@@ -19,8 +19,7 @@ export declare class Document extends BaseComponent implements IIdUlong, INamed,
|
|
|
19
19
|
*/
|
|
20
20
|
companyId: ulong;
|
|
21
21
|
/**
|
|
22
|
-
* The
|
|
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
|
|
@@ -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 {
|
|
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
|
-
|
|
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,
|
|
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
|
-
*
|
|
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
|
|
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
|
|
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(
|
|
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 {
|
|
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
|
-
|
|
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
|
|
@@ -21,8 +21,7 @@ export declare class Icon extends BaseComponent implements IIdUlong, INamed, IBe
|
|
|
21
21
|
*/
|
|
22
22
|
companyId: ulong;
|
|
23
23
|
/**
|
|
24
|
-
* The
|
|
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
|
|
@@ -21,8 +21,7 @@ export declare class Picture extends BaseComponent implements IIdUlong, INamed,
|
|
|
21
21
|
*/
|
|
22
22
|
companyId: ulong;
|
|
23
23
|
/**
|
|
24
|
-
* The
|
|
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
|
|
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
|
-
*
|
|
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
|
|
@@ -22,8 +22,7 @@ export declare class MaintenanceSchedule extends BaseComponent implements IIdUlo
|
|
|
22
22
|
*/
|
|
23
23
|
companyId: ulong;
|
|
24
24
|
/**
|
|
25
|
-
* The
|
|
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
|
|
@@ -22,8 +22,7 @@ export declare abstract class MessageBase extends BaseComponent implements IIdUl
|
|
|
22
22
|
*/
|
|
23
23
|
companyId: ulong;
|
|
24
24
|
/**
|
|
25
|
-
* The
|
|
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
|
|
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
|
|
@@ -25,8 +25,7 @@ export declare class Place extends BaseComponent implements IIdUlong, INamed, II
|
|
|
25
25
|
*/
|
|
26
26
|
companyId: ulong;
|
|
27
27
|
/**
|
|
28
|
-
* The
|
|
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
|
|
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
|
|
@@ -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
|
|
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)
|
|
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
|
|
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
|
|
@@ -19,8 +19,7 @@ export declare class ProviderControl extends BaseComponent implements IBelongCom
|
|
|
19
19
|
*/
|
|
20
20
|
companyId: ulong;
|
|
21
21
|
/**
|
|
22
|
-
* The
|
|
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
|
|
@@ -23,8 +23,7 @@ export declare class ProviderGeneral extends BaseComponent implements INamed, IB
|
|
|
23
23
|
*/
|
|
24
24
|
companyId: ulong;
|
|
25
25
|
/**
|
|
26
|
-
* The
|
|
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
|
|
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)
|
|
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
|