@trakit/objects 0.0.14 → 0.0.15
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/API/Base.d.ts +1 -6
- package/Accounts/Contact.d.ts +2 -2
- package/Accounts/Machine.d.ts +2 -1
- package/Accounts/Session.d.ts +1 -16
- package/Accounts/User.d.ts +2 -24
- package/Accounts/UserAdvanced.d.ts +2 -1
- package/Accounts/UserAuthentication.d.ts +2 -1
- package/Accounts/UserGeneral.d.ts +2 -1
- package/Accounts/UserGroup.d.ts +2 -1
- package/Assets/Asset.d.ts +34 -2
- package/Assets/AssetAdvanced.d.ts +2 -1
- package/Assets/AssetDispatch.d.ts +18 -2
- package/Assets/AssetGeneral.d.ts +34 -2
- package/Behaviours/Behaviour.d.ts +1 -0
- package/Behaviours/BehaviourLog.d.ts +1 -0
- package/Behaviours/BehaviourScript.d.ts +1 -0
- package/Billing/BillingProfile.d.ts +1 -0
- package/Billing/Hosting/BillableHostingLicense.d.ts +1 -0
- package/Billing/Hosting/BillableHostingRule.d.ts +1 -0
- package/Billing/Report/BillingReport.d.ts +1 -0
- package/Companies/Company.d.ts +2 -4
- package/Companies/CompanyDirectory.d.ts +2 -9
- package/Companies/CompanyGeneral.d.ts +2 -1
- package/Companies/CompanyPolicy.d.ts +2 -1
- package/Companies/CompanyReseller.d.ts +2 -1
- package/Companies/CompanyStyle.d.ts +2 -1
- package/Dispatch/DispatchJob.d.ts +2 -1
- package/Dispatch/DispatchTask.d.ts +1 -0
- package/Hosting/Document.d.ts +2 -1
- package/Hosting/FormResult.d.ts +2 -1
- package/Hosting/FormTemplate.d.ts +2 -1
- package/Images/Dashcam.d.ts +3 -2
- package/Images/DashcamLive.d.ts +3 -2
- package/Images/Icon.d.ts +15 -2
- package/Images/Picture.d.ts +2 -1
- package/Maintenance/MaintenanceJob.d.ts +2 -1
- package/Maintenance/MaintenanceSchedule.d.ts +2 -1
- package/Messaging/AssetAlert.d.ts +2 -1
- package/Messaging/AssetMessage.d.ts +2 -1
- package/Places/Place.d.ts +2 -1
- package/Providers/Config/ProviderConfig.d.ts +2 -1
- package/Providers/Config/ProviderRegistration.d.ts +2 -1
- package/Providers/Config/ProviderScript.d.ts +2 -1
- package/Providers/Configuration/ProviderConfiguration.d.ts +2 -1
- package/Providers/Configuration/ProviderConfigurationType.d.ts +2 -1
- package/Providers/Provider.d.ts +2 -1
- package/Providers/ProviderAdvanced.d.ts +2 -1
- package/Providers/ProviderControl.d.ts +2 -1
- package/Providers/ProviderGeneral.d.ts +2 -1
- package/Reports/ReportBreakdown.d.ts +32 -1
- package/Reports/ReportBreakdownJob.d.ts +32 -1
- package/Reports/ReportBreakdownMessage.d.ts +32 -1
- package/Reports/ReportBreakdownTask.d.ts +32 -1
- package/Reports/ReportResult.d.ts +2 -1
- package/Reports/ReportSchedule.d.ts +2 -1
- package/Reports/ReportSummary.d.ts +64 -2
- package/Reports/ReportTemplate.d.ts +2 -1
- package/index.d.ts +1 -1
- package/package.json +1 -1
- package/trakit-objects.min.js +2 -2
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
|
-
|
|
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.
|
package/Images/Picture.d.ts
CHANGED
|
@@ -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[];
|
package/Providers/Provider.d.ts
CHANGED
|
@@ -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";
|
|
@@ -133,6 +133,7 @@ export declare class Provider extends BaseCompound implements INamed, IBelongCom
|
|
|
133
133
|
*/
|
|
134
134
|
get commands(): Map<ProviderCommandType, ProviderCommand>;
|
|
135
135
|
set commands(value: Map<ProviderCommandType, ProviderCommand>);
|
|
136
|
+
constructor(json?: JsonObject | nothing);
|
|
136
137
|
toJSON(): {
|
|
137
138
|
suspended: boolean;
|
|
138
139
|
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;
|
|
@@ -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:
|
|
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:
|
|
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:
|
|
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:
|
|
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;
|
|
@@ -84,8 +84,70 @@ export declare class ReportSummary implements ISerializable, IBelongAsset {
|
|
|
84
84
|
endingReason: ReportSummaryReason;
|
|
85
85
|
distance: number | null;
|
|
86
86
|
polyline: any[];
|
|
87
|
-
firstState:
|
|
88
|
-
|
|
87
|
+
firstState: {
|
|
88
|
+
suspended: boolean;
|
|
89
|
+
since: string | null;
|
|
90
|
+
id: number | null;
|
|
91
|
+
v: number[];
|
|
92
|
+
company: number;
|
|
93
|
+
kind: import("..").AssetType;
|
|
94
|
+
name: string;
|
|
95
|
+
notes: string;
|
|
96
|
+
icon: number;
|
|
97
|
+
labels: string[];
|
|
98
|
+
} | {
|
|
99
|
+
references: JsonObject;
|
|
100
|
+
messagingAddress: string;
|
|
101
|
+
pictures: number[];
|
|
102
|
+
contact: number;
|
|
103
|
+
vin: string;
|
|
104
|
+
plate: string;
|
|
105
|
+
make: string;
|
|
106
|
+
model: string;
|
|
107
|
+
year: number | null;
|
|
108
|
+
colour: string;
|
|
109
|
+
serial: string;
|
|
110
|
+
id: number | null;
|
|
111
|
+
v: number[];
|
|
112
|
+
company: number;
|
|
113
|
+
kind: import("..").AssetType;
|
|
114
|
+
name: string;
|
|
115
|
+
notes: string;
|
|
116
|
+
icon: number;
|
|
117
|
+
labels: string[];
|
|
118
|
+
} | null;
|
|
119
|
+
lastState: {
|
|
120
|
+
suspended: boolean;
|
|
121
|
+
since: string | null;
|
|
122
|
+
id: number | null;
|
|
123
|
+
v: number[];
|
|
124
|
+
company: number;
|
|
125
|
+
kind: import("..").AssetType;
|
|
126
|
+
name: string;
|
|
127
|
+
notes: string;
|
|
128
|
+
icon: number;
|
|
129
|
+
labels: string[];
|
|
130
|
+
} | {
|
|
131
|
+
references: JsonObject;
|
|
132
|
+
messagingAddress: string;
|
|
133
|
+
pictures: number[];
|
|
134
|
+
contact: number;
|
|
135
|
+
vin: string;
|
|
136
|
+
plate: string;
|
|
137
|
+
make: string;
|
|
138
|
+
model: string;
|
|
139
|
+
year: number | null;
|
|
140
|
+
colour: string;
|
|
141
|
+
serial: string;
|
|
142
|
+
id: number | null;
|
|
143
|
+
v: number[];
|
|
144
|
+
company: number;
|
|
145
|
+
kind: import("..").AssetType;
|
|
146
|
+
name: string;
|
|
147
|
+
notes: string;
|
|
148
|
+
icon: number;
|
|
149
|
+
labels: string[];
|
|
150
|
+
} | null;
|
|
89
151
|
};
|
|
90
152
|
}
|
|
91
153
|
//# sourceMappingURL=ReportSummary.d.ts.map
|
|
@@ -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 { IVisual } from "../API/Interfaces/IVisual";
|
|
6
|
-
import { JsonObject, codified, colour, ulong } from "../API/Types";
|
|
6
|
+
import { JsonObject, codified, colour, nothing, ulong } from "../API/Types";
|
|
7
7
|
import { Company } from "../Companies/Company";
|
|
8
8
|
import { ReportOptions } from "./ReportOptions";
|
|
9
9
|
import { ReportType } from "./ReportType";
|
|
@@ -52,6 +52,7 @@ export declare class ReportTemplate extends BaseComponent implements IIdUlong, I
|
|
|
52
52
|
* The name of the symbol for this report.
|
|
53
53
|
*/
|
|
54
54
|
graphic: codified;
|
|
55
|
+
constructor(json?: JsonObject | nothing);
|
|
55
56
|
toJSON(): {
|
|
56
57
|
id: number | null;
|
|
57
58
|
company: number | null;
|
package/index.d.ts
CHANGED
|
@@ -204,7 +204,7 @@ import { ReportType } from "./Reports/ReportType";
|
|
|
204
204
|
/**
|
|
205
205
|
* Version number for this release.
|
|
206
206
|
*/
|
|
207
|
-
export declare const version = "0.0.
|
|
207
|
+
export declare const version = "0.0.15";
|
|
208
208
|
/**
|
|
209
209
|
* The names of all main object types in the Trak-iT Object Model.
|
|
210
210
|
*/
|