@trakit/objects 0.0.14 → 0.0.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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 -3
- 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 +35 -5
- 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 +3 -24
- 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 +3 -13
- package/Providers/ProviderAdvanced.d.ts +2 -1
- package/Providers/ProviderControl.d.ts +2 -1
- package/Providers/ProviderGeneral.d.ts +2 -1
- package/README.md +24 -24
- 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/objects/API/Arrays.d.ts +46 -0
- package/objects/API/Base.d.ts +19 -0
- package/objects/API/BaseComponent.d.ts +40 -0
- package/objects/API/BaseCompound.d.ts +19 -0
- package/objects/API/Codifier.d.ts +15 -0
- package/objects/API/Constants.d.ts +39 -0
- package/objects/API/Conversion.d.ts +255 -0
- package/objects/API/Encoding.d.ts +9 -0
- package/objects/API/Files.d.ts +21 -0
- package/objects/API/Functions.d.ts +196 -0
- package/objects/API/Geography/Functions.d.ts +236 -0
- package/objects/API/Geography/Interfaces.d.ts +150 -0
- package/objects/API/Geography/LatLng.d.ts +86 -0
- package/objects/API/Geography/LatLngBounds.d.ts +146 -0
- package/objects/API/Geography/Position.d.ts +74 -0
- package/objects/API/Geography/StreetAddress.d.ts +59 -0
- package/objects/API/Geometry/Functions.d.ts +114 -0
- package/objects/API/Geometry/Interfaces.d.ts +111 -0
- package/objects/API/Geometry/Point.d.ts +81 -0
- package/objects/API/Geometry/Radial.d.ts +110 -0
- package/objects/API/Geometry/Rectangle.d.ts +159 -0
- package/objects/API/Geometry/Size.d.ts +58 -0
- package/objects/API/Guid.d.ts +4 -0
- package/objects/API/Interfaces/IAmCompany.d.ts +11 -0
- package/objects/API/Interfaces/IBelongAsset.d.ts +15 -0
- package/objects/API/Interfaces/IBelongBillingProfile.d.ts +15 -0
- package/objects/API/Interfaces/IBelongCompany.d.ts +15 -0
- package/objects/API/Interfaces/IDeserializable.d.ts +13 -0
- package/objects/API/Interfaces/IEnabled.d.ts +10 -0
- package/objects/API/Interfaces/IFileSize.d.ts +9 -0
- package/objects/API/Interfaces/IGlobal.d.ts +11 -0
- package/objects/API/Interfaces/IHavePermissions.d.ts +20 -0
- package/objects/API/Interfaces/IHavePreferences.d.ts +29 -0
- package/objects/API/Interfaces/IIconic.d.ts +15 -0
- package/objects/API/Interfaces/IIdUlong.d.ts +10 -0
- package/objects/API/Interfaces/ILabelled.d.ts +10 -0
- package/objects/API/Interfaces/INamed.d.ts +13 -0
- package/objects/API/Interfaces/IPictured.d.ts +15 -0
- package/objects/API/Interfaces/IRequestable.d.ts +22 -0
- package/objects/API/Interfaces/ISerializable.d.ts +10 -0
- package/objects/API/Interfaces/ISuspendable.d.ts +16 -0
- package/objects/API/Interfaces/IVisual.d.ts +18 -0
- package/objects/API/Maps.d.ts +28 -0
- package/objects/API/Objects.d.ts +5 -0
- package/objects/API/SearchPattern.d.ts +46 -0
- package/objects/API/TimeSpan.d.ts +109 -0
- package/objects/API/Timezone.d.ts +44 -0
- package/objects/API/Timezones.d.ts +7 -0
- package/objects/API/Types.d.ts +132 -0
- package/objects/Accounts/Contact.d.ts +139 -0
- package/objects/Accounts/Machine.d.ts +139 -0
- package/objects/Accounts/MultiFactorType.d.ts +17 -0
- package/objects/Accounts/NotificationMethod.d.ts +17 -0
- package/objects/Accounts/Permissions/Authorizer.d.ts +204 -0
- package/objects/Accounts/Permissions/Permission.d.ts +56 -0
- package/objects/Accounts/Permissions/PermissionEscalation.d.ts +41 -0
- package/objects/Accounts/Permissions/PermissionEscalationState.d.ts +19 -0
- package/objects/Accounts/Permissions/PermissionEscalationType.d.ts +13 -0
- package/objects/Accounts/Permissions/PermissionLevel.d.ts +17 -0
- package/objects/Accounts/Permissions/PermissionMethod.d.ts +13 -0
- package/objects/Accounts/Permissions/PermissionType.d.ts +280 -0
- package/objects/Accounts/SSOIdentityProvider.d.ts +25 -0
- package/objects/Accounts/Session.d.ts +89 -0
- package/objects/Accounts/SessionStatus.d.ts +29 -0
- package/objects/Accounts/SystemsOfUnits.d.ts +13 -0
- package/objects/Accounts/User.d.ts +167 -0
- package/objects/Accounts/UserAdvanced.d.ts +53 -0
- package/objects/Accounts/UserAuthentication.d.ts +55 -0
- package/objects/Accounts/UserGeneral.d.ts +98 -0
- package/objects/Accounts/UserGroup.d.ts +51 -0
- package/objects/Accounts/UserMFA.d.ts +47 -0
- package/objects/Accounts/UserNotifications.d.ts +76 -0
- package/objects/Accounts/UserSSO.d.ts +37 -0
- package/objects/Assets/Asset.d.ts +218 -0
- package/objects/Assets/AssetAdvanced.d.ts +77 -0
- package/objects/Assets/AssetAttribute.d.ts +71 -0
- package/objects/Assets/AssetDispatch.d.ts +55 -0
- package/objects/Assets/AssetGeneral.d.ts +127 -0
- package/objects/Assets/AssetPlaceStatus.d.ts +31 -0
- package/objects/Assets/AssetPlaceStatusType.d.ts +17 -0
- package/objects/Assets/AssetType.d.ts +21 -0
- package/objects/Behaviours/Behaviour.d.ts +78 -0
- package/objects/Behaviours/BehaviourLog.d.ts +95 -0
- package/objects/Behaviours/BehaviourLogType.d.ts +21 -0
- package/objects/Behaviours/BehaviourParameter.d.ts +38 -0
- package/objects/Behaviours/BehaviourParameterType.d.ts +21 -0
- package/objects/Behaviours/BehaviourScript.d.ts +83 -0
- package/objects/Billing/BillableBase.d.ts +83 -0
- package/objects/Billing/BillableSmsProfile.d.ts +26 -0
- package/objects/Billing/BillingCurrency.d.ts +17 -0
- package/objects/Billing/BillingCycle.d.ts +17 -0
- package/objects/Billing/BillingProfile.d.ts +104 -0
- package/objects/Billing/Hosting/BillableHostingBase.d.ts +41 -0
- package/objects/Billing/Hosting/BillableHostingLicense.d.ts +30 -0
- package/objects/Billing/Hosting/BillableHostingLicenseType.d.ts +20 -0
- package/objects/Billing/Hosting/BillableHostingRule.d.ts +30 -0
- package/objects/Billing/Hosting/BillableHostingType.d.ts +41 -0
- package/objects/Billing/Report/BillingReport.d.ts +112 -0
- package/objects/Billing/Report/BillingReportBreakdown.d.ts +34 -0
- package/objects/Billing/Report/BillingReportHostingSummary.d.ts +36 -0
- package/objects/Billing/Report/BillingReportLicenseBreakdown.d.ts +79 -0
- package/objects/Billing/Report/BillingReportServiceBreakdown.d.ts +124 -0
- package/objects/Billing/Report/BillingReportStatus.d.ts +25 -0
- package/objects/Billing/Report/BillingReportSummary.d.ts +49 -0
- package/objects/Companies/ColourStyle.d.ts +25 -0
- package/objects/Companies/Company.d.ts +167 -0
- package/objects/Companies/CompanyDirectory.d.ts +52 -0
- package/objects/Companies/CompanyGeneral.d.ts +55 -0
- package/objects/Companies/CompanyPolicy.d.ts +66 -0
- package/objects/Companies/CompanyReseller.d.ts +166 -0
- package/objects/Companies/CompanyStyle.d.ts +50 -0
- package/objects/Companies/LabelStyle.d.ts +46 -0
- package/objects/Companies/NotificationServerEmail.d.ts +99 -0
- package/objects/Companies/NotificationServerSms.d.ts +25 -0
- package/objects/Companies/PasswordExpiryMode.d.ts +17 -0
- package/objects/Companies/PasswordPolicy.d.ts +51 -0
- package/objects/Companies/SessionMultiUser.d.ts +17 -0
- package/objects/Companies/SessionPolicy.d.ts +47 -0
- package/objects/Dispatch/DispatchDirection.d.ts +53 -0
- package/objects/Dispatch/DispatchJob.d.ts +107 -0
- package/objects/Dispatch/DispatchJobPriority.d.ts +25 -0
- package/objects/Dispatch/DispatchStep.d.ts +99 -0
- package/objects/Dispatch/DispatchStepState.d.ts +27 -0
- package/objects/Dispatch/DispatchStepStatus.d.ts +21 -0
- package/objects/Dispatch/DispatchTask.d.ts +154 -0
- package/objects/Dispatch/DispatchTaskStatus.d.ts +50 -0
- package/objects/Hosting/Document.d.ts +70 -0
- package/objects/Hosting/Fields/FormFieldAttachments.d.ts +31 -0
- package/objects/Hosting/Fields/FormFieldBase.d.ts +56 -0
- package/objects/Hosting/Fields/FormFieldBase_fromJSON.d.ts +1 -0
- package/objects/Hosting/Fields/FormFieldBoolean.d.ts +38 -0
- package/objects/Hosting/Fields/FormFieldChoice.d.ts +46 -0
- package/objects/Hosting/Fields/FormFieldDate.d.ts +26 -0
- package/objects/Hosting/Fields/FormFieldNumeric.d.ts +54 -0
- package/objects/Hosting/Fields/FormFieldNumericSize.d.ts +32 -0
- package/objects/Hosting/Fields/FormFieldSignature.d.ts +17 -0
- package/objects/Hosting/Fields/FormFieldText.d.ts +32 -0
- package/objects/Hosting/Fields/FormFieldTime.d.ts +37 -0
- package/objects/Hosting/Fields/FormFieldTimezone.d.ts +14 -0
- package/objects/Hosting/FormFieldType.d.ts +127 -0
- package/objects/Hosting/FormResult.d.ts +95 -0
- package/objects/Hosting/FormTemplate.d.ts +80 -0
- package/objects/Images/Dashcam.d.ts +63 -0
- package/objects/Images/DashcamBase.d.ts +97 -0
- package/objects/Images/DashcamLive.d.ts +36 -0
- package/objects/Images/DashcamMediaType.d.ts +17 -0
- package/objects/Images/Icon.d.ts +66 -0
- package/objects/Images/IconGlyph.d.ts +47 -0
- package/objects/Images/IconLabel.d.ts +29 -0
- package/objects/Images/IconLayer.d.ts +33 -0
- package/objects/Images/Picture.d.ts +72 -0
- package/objects/Maintenance/MaintenanceInterval.d.ts +48 -0
- package/objects/Maintenance/MaintenanceJob.d.ts +134 -0
- package/objects/Maintenance/MaintenanceJobStatus.d.ts +21 -0
- package/objects/Maintenance/MaintenanceSchedule.d.ts +118 -0
- package/objects/Messaging/AlertPriority.d.ts +17 -0
- package/objects/Messaging/AssetAlert.d.ts +29 -0
- package/objects/Messaging/AssetMessage.d.ts +40 -0
- package/objects/Messaging/MessageBase.d.ts +99 -0
- package/objects/Messaging/MessageFolder.d.ts +13 -0
- package/objects/Messaging/MessageStatus.d.ts +29 -0
- package/objects/Messaging/MessageType.d.ts +33 -0
- package/objects/Places/Place.d.ts +114 -0
- package/objects/Places/PlaceType.d.ts +25 -0
- package/objects/Providers/Config/ProviderConfig.d.ts +70 -0
- package/objects/Providers/Config/ProviderRegistration.d.ts +119 -0
- package/objects/Providers/Config/ProviderScript.d.ts +86 -0
- package/objects/Providers/Config/ProviderScriptBlock.d.ts +41 -0
- package/objects/Providers/Config/ProviderScriptParameter.d.ts +49 -0
- package/objects/Providers/Config/ProviderScriptParameterType.d.ts +17 -0
- package/objects/Providers/Configuration/ProviderConfiguration.d.ts +66 -0
- package/objects/Providers/Configuration/ProviderConfigurationNode.d.ts +66 -0
- package/objects/Providers/Configuration/ProviderConfigurationType.d.ts +62 -0
- package/objects/Providers/Configuration/ProviderGeofenceBase.d.ts +29 -0
- package/objects/Providers/Configuration/ProviderGeofenceBase_fromJSON.d.ts +1 -0
- package/objects/Providers/Configuration/ProviderGeofenceCircular.d.ts +28 -0
- package/objects/Providers/Configuration/ProviderGeofencePoint.d.ts +12 -0
- package/objects/Providers/Configuration/ProviderGeofencePolygon.d.ts +23 -0
- package/objects/Providers/Configuration/ProviderGeofenceRectangle.d.ts +28 -0
- package/objects/Providers/Provider.d.ts +205 -0
- package/objects/Providers/ProviderAdvanced.d.ts +50 -0
- package/objects/Providers/ProviderCommand.d.ts +36 -0
- package/objects/Providers/ProviderCommandStatus.d.ts +29 -0
- package/objects/Providers/ProviderCommandType.d.ts +37 -0
- package/objects/Providers/ProviderControl.d.ts +41 -0
- package/objects/Providers/ProviderData.d.ts +30 -0
- package/objects/Providers/ProviderGeneral.d.ts +121 -0
- package/objects/Providers/ProviderType.d.ts +106 -0
- package/objects/Reports/ReportBreakdown.d.ts +49 -0
- package/objects/Reports/ReportBreakdownJob.d.ts +37 -0
- package/objects/Reports/ReportBreakdownMessage.d.ts +40 -0
- package/objects/Reports/ReportBreakdownTask.d.ts +46 -0
- package/objects/Reports/ReportBreakdown_fromJSON.d.ts +1 -0
- package/objects/Reports/ReportFilterMode.d.ts +17 -0
- package/objects/Reports/ReportNotifications.d.ts +31 -0
- package/objects/Reports/ReportOptions.d.ts +52 -0
- package/objects/Reports/ReportParameter.d.ts +26 -0
- package/objects/Reports/ReportParameterType.d.ts +59 -0
- package/objects/Reports/ReportRecurrence.d.ts +54 -0
- package/objects/Reports/ReportRecurrenceType.d.ts +34 -0
- package/objects/Reports/ReportResult.d.ts +169 -0
- package/objects/Reports/ReportResultData.d.ts +17 -0
- package/objects/Reports/ReportSchedule.d.ts +111 -0
- package/objects/Reports/ReportScorecard.d.ts +38 -0
- package/objects/Reports/ReportScorecardParameter.d.ts +31 -0
- package/objects/Reports/ReportScorecardRules.d.ts +26 -0
- package/objects/Reports/ReportStatus.d.ts +29 -0
- package/objects/Reports/ReportSummary.d.ts +90 -0
- package/objects/Reports/ReportSummaryReason.d.ts +27 -0
- package/objects/Reports/ReportTemplate.d.ts +81 -0
- package/objects/Reports/ReportTotal.d.ts +47 -0
- package/objects/Reports/ReportType.d.ts +42 -0
- package/objects/index.d.ts +406 -0
- package/objects/storage.d.ts +176 -0
- package/package.json +36 -36
- package/trakit-objects.min.js +2 -2
package/API/Base.d.ts
CHANGED
|
@@ -1,14 +1,9 @@
|
|
|
1
1
|
import { IDeserializable } from './Interfaces/IDeserializable';
|
|
2
|
-
import { JsonObject
|
|
2
|
+
import { JsonObject } from './Types';
|
|
3
3
|
/**
|
|
4
4
|
* A base class used to construct objects from the sync system.
|
|
5
5
|
*/
|
|
6
6
|
export declare abstract class Base implements IDeserializable {
|
|
7
|
-
/**
|
|
8
|
-
* Almost all objects can be constructed using a simple JSON object.
|
|
9
|
-
* @param json
|
|
10
|
-
*/
|
|
11
|
-
constructor(json?: JsonObject | nothing);
|
|
12
7
|
/**
|
|
13
8
|
* Updates this class from the given input.
|
|
14
9
|
* @param json A JSON value used to update this class.
|
package/Accounts/Contact.d.ts
CHANGED
|
@@ -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 { IPictured } from "../API/Interfaces/IPictured";
|
|
6
|
-
import { codified, email, JsonObject, phone, ulong, url } from "../API/Types";
|
|
6
|
+
import { codified, email, JsonObject, nothing, phone, ulong, url } from "../API/Types";
|
|
7
7
|
import { Company } from "../Companies/Company";
|
|
8
8
|
import { Picture } from "../Images/Picture";
|
|
9
9
|
/**
|
|
@@ -115,7 +115,7 @@ export declare class Contact extends BaseComponent implements IIdUlong, INamed,
|
|
|
115
115
|
*/
|
|
116
116
|
get url(): url;
|
|
117
117
|
set url(value: url);
|
|
118
|
-
constructor(json?: JsonObject);
|
|
118
|
+
constructor(json?: JsonObject | nothing);
|
|
119
119
|
toJSON(): {
|
|
120
120
|
id: number | null;
|
|
121
121
|
v: number[];
|
package/Accounts/Machine.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import { IEnabled } from '../API/Interfaces/IEnabled';
|
|
|
4
4
|
import { IHavePermissions } from '../API/Interfaces/IHavePermissions';
|
|
5
5
|
import { IHavePreferences } from '../API/Interfaces/IHavePreferences';
|
|
6
6
|
import { Timezone } from '../API/Timezone';
|
|
7
|
-
import { codified, ipv4, JsonObject, ulong, url } from '../API/Types';
|
|
7
|
+
import { codified, ipv4, JsonObject, nothing, ulong, url } from '../API/Types';
|
|
8
8
|
import { Company } from '../Companies/Company';
|
|
9
9
|
import { Permission } from './Permissions/Permission';
|
|
10
10
|
import { SystemsOfUnits } from './SystemsOfUnits';
|
|
@@ -102,6 +102,7 @@ export declare class Machine extends BaseComponent implements IEnabled, IBelongC
|
|
|
102
102
|
* When true, no access restrictions ({@link secret}, {@link referrers}, or {@link ipRanges}) are enforced.
|
|
103
103
|
*/
|
|
104
104
|
insecure: boolean;
|
|
105
|
+
constructor(json?: JsonObject | nothing);
|
|
105
106
|
toJSON(): {
|
|
106
107
|
key: string;
|
|
107
108
|
v: number[];
|
package/Accounts/Session.d.ts
CHANGED
|
@@ -65,23 +65,8 @@ export declare class Session implements IBelongCompany, IRequestable, ISerializa
|
|
|
65
65
|
*/
|
|
66
66
|
get active(): boolean;
|
|
67
67
|
constructor(json?: JsonObject | nothing);
|
|
68
|
+
toJSON(): JsonObject;
|
|
68
69
|
fromJSON(json: JsonObject, force?: boolean): boolean;
|
|
69
|
-
/**
|
|
70
|
-
*
|
|
71
|
-
*/
|
|
72
|
-
toJSON(): {
|
|
73
|
-
handle: string;
|
|
74
|
-
company: number | null;
|
|
75
|
-
login: string;
|
|
76
|
-
status: SessionStatus;
|
|
77
|
-
userAgent: string;
|
|
78
|
-
ipAddress: string;
|
|
79
|
-
created: string;
|
|
80
|
-
expires: string;
|
|
81
|
-
lastActivity: string;
|
|
82
|
-
lastCommand: string;
|
|
83
|
-
sockets: number;
|
|
84
|
-
};
|
|
85
70
|
/**
|
|
86
71
|
* The {@link handle} is the key.
|
|
87
72
|
*/
|
package/Accounts/User.d.ts
CHANGED
|
@@ -21,6 +21,7 @@ import { UserSSO } from "./UserSSO";
|
|
|
21
21
|
* A grouping of credentials, information, preferences, and permissions for a person or machine to login to the system and access its resources.
|
|
22
22
|
*/
|
|
23
23
|
export declare class User extends BaseCompound implements IEnabled, IBelongCompany, IHavePermissions, IHavePreferences {
|
|
24
|
+
#private;
|
|
24
25
|
/**
|
|
25
26
|
*
|
|
26
27
|
*/
|
|
@@ -39,7 +40,6 @@ export declare class User extends BaseCompound implements IEnabled, IBelongCompa
|
|
|
39
40
|
* The {@link Company} to which this user belongs.
|
|
40
41
|
*/
|
|
41
42
|
get company(): Company;
|
|
42
|
-
protected _general: UserGeneral;
|
|
43
43
|
/**
|
|
44
44
|
*
|
|
45
45
|
*/
|
|
@@ -96,7 +96,6 @@ export declare class User extends BaseCompound implements IEnabled, IBelongCompa
|
|
|
96
96
|
*/
|
|
97
97
|
get notify(): UserNotifications[];
|
|
98
98
|
set notify(value: UserNotifications[]);
|
|
99
|
-
protected _advanced: UserAdvanced;
|
|
100
99
|
/**
|
|
101
100
|
*
|
|
102
101
|
*/
|
|
@@ -117,7 +116,6 @@ export declare class User extends BaseCompound implements IEnabled, IBelongCompa
|
|
|
117
116
|
*/
|
|
118
117
|
get permissions(): Permission[];
|
|
119
118
|
set permissions(value: Permission[]);
|
|
120
|
-
protected _authentication: UserAuthentication;
|
|
121
119
|
/**
|
|
122
120
|
*
|
|
123
121
|
*/
|
|
@@ -137,6 +135,7 @@ export declare class User extends BaseCompound implements IEnabled, IBelongCompa
|
|
|
137
135
|
*/
|
|
138
136
|
get sso(): UserSSO;
|
|
139
137
|
set sso(value: UserSSO);
|
|
138
|
+
constructor(json?: JsonObject | nothing);
|
|
140
139
|
toJSON(): {
|
|
141
140
|
v: number[];
|
|
142
141
|
login: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { BaseComponent } from "../API/BaseComponent";
|
|
2
2
|
import { IBelongCompany } from "../API/Interfaces/IBelongCompany";
|
|
3
3
|
import { IHavePermissions } from "../API/Interfaces/IHavePermissions";
|
|
4
|
-
import { email, JsonObject, ulong } from "../API/Types";
|
|
4
|
+
import { email, JsonObject, nothing, ulong } from "../API/Types";
|
|
5
5
|
import { Company } from "../Companies/Company";
|
|
6
6
|
import { Permission } from "./Permissions/Permission";
|
|
7
7
|
import { UserGroup } from "./UserGroup";
|
|
@@ -38,6 +38,7 @@ export declare class UserAdvanced extends BaseComponent implements IBelongCompan
|
|
|
38
38
|
* Individual permission rules which override the group rules.
|
|
39
39
|
*/
|
|
40
40
|
permissions: Permission[];
|
|
41
|
+
constructor(json?: JsonObject | nothing);
|
|
41
42
|
toJSON(): {
|
|
42
43
|
login: string;
|
|
43
44
|
v: number[];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { BaseComponent } from "../API/BaseComponent";
|
|
2
2
|
import { IBelongCompany } from "../API/Interfaces/IBelongCompany";
|
|
3
|
-
import { JsonObject, email, ulong } from "../API/Types";
|
|
3
|
+
import { JsonObject, email, nothing, ulong } from "../API/Types";
|
|
4
4
|
import { Company } from "../Companies/Company";
|
|
5
5
|
import { UserMFA } from "./UserMFA";
|
|
6
6
|
import { UserSSO } from "./UserSSO";
|
|
@@ -34,6 +34,7 @@ export declare class UserAuthentication extends BaseComponent implements IBelong
|
|
|
34
34
|
* Single Sign-On details for the user.
|
|
35
35
|
*/
|
|
36
36
|
sso: UserSSO;
|
|
37
|
+
constructor(json?: JsonObject | nothing);
|
|
37
38
|
toJSON(): {
|
|
38
39
|
login: string;
|
|
39
40
|
v: number[];
|
|
@@ -3,7 +3,7 @@ import { IBelongCompany } from "../API/Interfaces/IBelongCompany";
|
|
|
3
3
|
import { IEnabled } from "../API/Interfaces/IEnabled";
|
|
4
4
|
import { IHavePreferences } from "../API/Interfaces/IHavePreferences";
|
|
5
5
|
import { Timezone } from "../API/Timezone";
|
|
6
|
-
import { JsonObject, codified, datetimetemplate, email, ulong } from "../API/Types";
|
|
6
|
+
import { JsonObject, codified, datetimetemplate, email, nothing, ulong } from "../API/Types";
|
|
7
7
|
import { Company } from "../Companies/Company";
|
|
8
8
|
import { Contact } from "./Contact";
|
|
9
9
|
import { SystemsOfUnits } from "./SystemsOfUnits";
|
|
@@ -75,6 +75,7 @@ export declare class UserGeneral extends BaseComponent implements IEnabled, IBel
|
|
|
75
75
|
* Definition of how and when to send alerts to the user.
|
|
76
76
|
*/
|
|
77
77
|
notify: UserNotifications[];
|
|
78
|
+
constructor(json?: JsonObject | nothing);
|
|
78
79
|
toJSON(): {
|
|
79
80
|
login: string;
|
|
80
81
|
v: number[];
|
package/Accounts/UserGroup.d.ts
CHANGED
|
@@ -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 { Permission } from "./Permissions/Permission";
|
|
8
8
|
/**
|
|
@@ -35,6 +35,7 @@ export declare class UserGroup extends BaseComponent implements IIdUlong, INamed
|
|
|
35
35
|
* Permissions for this group.
|
|
36
36
|
*/
|
|
37
37
|
permissions: Permission[];
|
|
38
|
+
constructor(json?: JsonObject | nothing);
|
|
38
39
|
toJSON(): {
|
|
39
40
|
id: number;
|
|
40
41
|
v: number[];
|
package/Assets/Asset.d.ts
CHANGED
|
@@ -9,7 +9,7 @@ import { ILabelled } from "../API/Interfaces/ILabelled";
|
|
|
9
9
|
import { INamed } from "../API/Interfaces/INamed";
|
|
10
10
|
import { IPictured } from "../API/Interfaces/IPictured";
|
|
11
11
|
import { ISuspendable } from "../API/Interfaces/ISuspendable";
|
|
12
|
-
import { JsonObject, codified, colour, double, ulong, ushort } from "../API/Types";
|
|
12
|
+
import { JsonObject, codified, colour, double, nothing, ulong, ushort } from "../API/Types";
|
|
13
13
|
import { Company } from "../Companies/Company";
|
|
14
14
|
import { Icon } from "../Images/Icon";
|
|
15
15
|
import { Picture } from "../Images/Picture";
|
|
@@ -24,6 +24,7 @@ import { AssetType } from "./AssetType";
|
|
|
24
24
|
* The full details of an Asset, containing all the properties from the {@link AssetGeneral} and {@link AssetAdvanced} objects.
|
|
25
25
|
*/
|
|
26
26
|
export declare class Asset extends BaseCompound implements IIdUlong, INamed, IIconic, IBelongCompany, ILabelled, IPictured, ISuspendable {
|
|
27
|
+
#private;
|
|
27
28
|
/**
|
|
28
29
|
*
|
|
29
30
|
*/
|
|
@@ -45,7 +46,6 @@ export declare class Asset extends BaseCompound implements IIdUlong, INamed, IIc
|
|
|
45
46
|
* Type of asset.
|
|
46
47
|
*/
|
|
47
48
|
get kind(): AssetType;
|
|
48
|
-
protected _general: AssetGeneral;
|
|
49
49
|
/**
|
|
50
50
|
*
|
|
51
51
|
*/
|
|
@@ -143,7 +143,6 @@ export declare class Asset extends BaseCompound implements IIdUlong, INamed, IIc
|
|
|
143
143
|
*/
|
|
144
144
|
get serial(): string;
|
|
145
145
|
set serial(value: string);
|
|
146
|
-
protected _advanced: AssetAdvanced;
|
|
147
146
|
/**
|
|
148
147
|
*
|
|
149
148
|
*/
|
|
@@ -198,12 +197,43 @@ export declare class Asset extends BaseCompound implements IIdUlong, INamed, IIc
|
|
|
198
197
|
*/
|
|
199
198
|
get engineHours(): double;
|
|
200
199
|
set engineHours(value: double);
|
|
201
|
-
protected _dispatch: AssetDispatch;
|
|
202
200
|
/**
|
|
203
201
|
*
|
|
204
202
|
*/
|
|
205
203
|
get dispatch(): AssetDispatch;
|
|
206
|
-
|
|
204
|
+
constructor(json?: JsonObject | nothing);
|
|
205
|
+
toJSON(): {
|
|
206
|
+
suspended: boolean;
|
|
207
|
+
since: string | null;
|
|
208
|
+
id: number | null;
|
|
209
|
+
v: number[];
|
|
210
|
+
company: number;
|
|
211
|
+
kind: AssetType;
|
|
212
|
+
name: string;
|
|
213
|
+
notes: string;
|
|
214
|
+
icon: number;
|
|
215
|
+
labels: string[];
|
|
216
|
+
} | {
|
|
217
|
+
references: JsonObject;
|
|
218
|
+
messagingAddress: string;
|
|
219
|
+
pictures: number[];
|
|
220
|
+
contact: number;
|
|
221
|
+
vin: string;
|
|
222
|
+
plate: string;
|
|
223
|
+
make: string;
|
|
224
|
+
model: string;
|
|
225
|
+
year: number | null;
|
|
226
|
+
colour: string;
|
|
227
|
+
serial: string;
|
|
228
|
+
id: number | null;
|
|
229
|
+
v: number[];
|
|
230
|
+
company: number;
|
|
231
|
+
kind: AssetType;
|
|
232
|
+
name: string;
|
|
233
|
+
notes: string;
|
|
234
|
+
icon: number;
|
|
235
|
+
labels: string[];
|
|
236
|
+
};
|
|
207
237
|
fromJSON(json: JsonObject, force?: boolean): boolean;
|
|
208
238
|
/**
|
|
209
239
|
* The {@link id} is the key.
|
|
@@ -2,7 +2,7 @@ import { BaseComponent } from "../API/BaseComponent";
|
|
|
2
2
|
import { Position } from "../API/Geography/Position";
|
|
3
3
|
import { IBelongCompany } from "../API/Interfaces/IBelongCompany";
|
|
4
4
|
import { IIdUlong } from "../API/Interfaces/IIdUlong";
|
|
5
|
-
import { JsonObject, codified, double, ulong } from "../API/Types";
|
|
5
|
+
import { JsonObject, codified, double, nothing, ulong } from "../API/Types";
|
|
6
6
|
import { Company } from "../Companies/Company";
|
|
7
7
|
import { Provider } from "../Providers/Provider";
|
|
8
8
|
import { Asset } from "./Asset";
|
|
@@ -68,6 +68,7 @@ export declare class AssetAdvanced extends BaseComponent implements IIdUlong, IB
|
|
|
68
68
|
* The cumulative duration that the vehicle's engine has been running (in decimal hours).
|
|
69
69
|
*/
|
|
70
70
|
engineHours: double;
|
|
71
|
+
constructor(json?: JsonObject | nothing);
|
|
71
72
|
toJSON(): JsonObject;
|
|
72
73
|
fromJSON(json: JsonObject, force?: boolean): boolean;
|
|
73
74
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { BaseComponent } from "../API/BaseComponent";
|
|
2
2
|
import { IBelongCompany } from "../API/Interfaces/IBelongCompany";
|
|
3
3
|
import { IIdUlong } from "../API/Interfaces/IIdUlong";
|
|
4
|
-
import { JsonObject, ulong } from "../API/Types";
|
|
4
|
+
import { JsonObject, nothing, ulong } from "../API/Types";
|
|
5
5
|
import { Company } from "../Companies/Company";
|
|
6
6
|
import { DispatchDirection } from "../Dispatch/DispatchDirection";
|
|
7
7
|
import { DispatchJob } from "../Dispatch/DispatchJob";
|
|
@@ -46,7 +46,23 @@ export declare class AssetDispatch extends BaseComponent implements IIdUlong, IB
|
|
|
46
46
|
* Timestamp from the last update to this {@link AssetDispatch} by a {@link User}, {@link Machine}, {@link Asset}, or an assigned {@link DispatchJob}.
|
|
47
47
|
*/
|
|
48
48
|
lastDispatched: Date;
|
|
49
|
-
|
|
49
|
+
constructor(json?: JsonObject | nothing);
|
|
50
|
+
toJSON(): {
|
|
51
|
+
id: number | null;
|
|
52
|
+
v: number[];
|
|
53
|
+
companyId: number | null;
|
|
54
|
+
jobs: number[];
|
|
55
|
+
directions: {
|
|
56
|
+
distance: number;
|
|
57
|
+
duration: string | null;
|
|
58
|
+
instructions: string;
|
|
59
|
+
path: any[];
|
|
60
|
+
directions: any[];
|
|
61
|
+
job: number | null;
|
|
62
|
+
step: number | null;
|
|
63
|
+
}[];
|
|
64
|
+
lastDispatched: string;
|
|
65
|
+
};
|
|
50
66
|
fromJSON(json: JsonObject, force?: boolean): boolean;
|
|
51
67
|
/**
|
|
52
68
|
* The {@link id} is the key.
|
package/Assets/AssetGeneral.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ import { ILabelled } from "../API/Interfaces/ILabelled";
|
|
|
7
7
|
import { INamed } from "../API/Interfaces/INamed";
|
|
8
8
|
import { IPictured } from "../API/Interfaces/IPictured";
|
|
9
9
|
import { ISuspendable } from "../API/Interfaces/ISuspendable";
|
|
10
|
-
import { JsonObject, codified, colour, ulong, ushort } from "../API/Types";
|
|
10
|
+
import { JsonObject, codified, colour, nothing, ulong, ushort } from "../API/Types";
|
|
11
11
|
import { Company } from "../Companies/Company";
|
|
12
12
|
import { Icon } from "../Images/Icon";
|
|
13
13
|
import { Picture } from "../Images/Picture";
|
|
@@ -110,7 +110,39 @@ export declare class AssetGeneral extends BaseComponent implements IIdUlong, INa
|
|
|
110
110
|
* Manufacturer's unique identification number for this trailer.
|
|
111
111
|
*/
|
|
112
112
|
serial: string;
|
|
113
|
-
|
|
113
|
+
constructor(json?: JsonObject | nothing);
|
|
114
|
+
toJSON(): {
|
|
115
|
+
suspended: boolean;
|
|
116
|
+
since: string | null;
|
|
117
|
+
id: number | null;
|
|
118
|
+
v: number[];
|
|
119
|
+
company: number;
|
|
120
|
+
kind: AssetType;
|
|
121
|
+
name: string;
|
|
122
|
+
notes: string;
|
|
123
|
+
icon: number;
|
|
124
|
+
labels: string[];
|
|
125
|
+
} | {
|
|
126
|
+
references: JsonObject;
|
|
127
|
+
messagingAddress: string;
|
|
128
|
+
pictures: number[];
|
|
129
|
+
contact: number;
|
|
130
|
+
vin: string;
|
|
131
|
+
plate: string;
|
|
132
|
+
make: string;
|
|
133
|
+
model: string;
|
|
134
|
+
year: number | null;
|
|
135
|
+
colour: string;
|
|
136
|
+
serial: string;
|
|
137
|
+
id: number | null;
|
|
138
|
+
v: number[];
|
|
139
|
+
company: number;
|
|
140
|
+
kind: AssetType;
|
|
141
|
+
name: string;
|
|
142
|
+
notes: string;
|
|
143
|
+
icon: number;
|
|
144
|
+
labels: string[];
|
|
145
|
+
};
|
|
114
146
|
fromJSON(json: JsonObject, force?: boolean): boolean;
|
|
115
147
|
/**
|
|
116
148
|
* The {@link id} is the key.
|
|
@@ -58,6 +58,7 @@ export declare class Behaviour extends BaseComponent implements IIdUlong, INamed
|
|
|
58
58
|
* The list of defined variable name/value pairs for the script requires.
|
|
59
59
|
*/
|
|
60
60
|
parameters: Map<string, BehaviourParameter>;
|
|
61
|
+
constructor(json?: JsonObject);
|
|
61
62
|
toJSON(): {
|
|
62
63
|
id: number | null;
|
|
63
64
|
v: number[];
|
|
@@ -61,6 +61,7 @@ export declare class BehaviourScript extends BaseComponent implements IIdUlong,
|
|
|
61
61
|
* The codified graphic name given to this script for easy visual identification.
|
|
62
62
|
*/
|
|
63
63
|
graphic: codified;
|
|
64
|
+
constructor(json?: JsonObject);
|
|
64
65
|
toJSON(): {
|
|
65
66
|
id: number | null;
|
|
66
67
|
v: number[];
|
|
@@ -80,6 +80,7 @@ export declare class BillingProfile extends BaseComponent implements IIdUlong, I
|
|
|
80
80
|
* Are the Google services available to be proxied by the service?
|
|
81
81
|
*/
|
|
82
82
|
googleServicesEnabled: boolean;
|
|
83
|
+
constructor(json?: JsonObject);
|
|
83
84
|
toJSON(): {
|
|
84
85
|
id: number | null;
|
|
85
86
|
v: number[];
|
|
@@ -87,6 +87,7 @@ export declare class BillingReport extends BaseComponent implements IIdUlong, IN
|
|
|
87
87
|
* Individual amounts per company, used to calculate the results of the report.
|
|
88
88
|
*/
|
|
89
89
|
breakdown: BillingReportBreakdown[];
|
|
90
|
+
constructor(json?: JsonObject);
|
|
90
91
|
toJSON(): {
|
|
91
92
|
id: number | null;
|
|
92
93
|
v: number[];
|
package/Companies/Company.d.ts
CHANGED
|
@@ -5,13 +5,9 @@ import { IAmCompany } from '../API/Interfaces/IAmCompany';
|
|
|
5
5
|
import { IBelongCompany } from '../API/Interfaces/IBelongCompany';
|
|
6
6
|
import { IIdUlong } from '../API/Interfaces/IIdUlong';
|
|
7
7
|
import { INamed } from '../API/Interfaces/INamed';
|
|
8
|
-
import { JsonObject, codified, ulong } from '../API/Types';
|
|
8
|
+
import { JsonObject, codified, nothing, ulong } from '../API/Types';
|
|
9
9
|
import { Picture } from '../Images/Picture';
|
|
10
|
-
import { CompanyDirectory } from './CompanyDirectory';
|
|
11
|
-
import { CompanyGeneral } from './CompanyGeneral';
|
|
12
|
-
import { CompanyPolicy } from './CompanyPolicy';
|
|
13
10
|
import { CompanyReseller } from './CompanyReseller';
|
|
14
|
-
import { CompanyStyle } from './CompanyStyle';
|
|
15
11
|
import { LabelStyle } from './LabelStyle';
|
|
16
12
|
import { PasswordPolicy } from './PasswordPolicy';
|
|
17
13
|
import { SessionPolicy } from './SessionPolicy';
|
|
@@ -19,6 +15,7 @@ import { SessionPolicy } from './SessionPolicy';
|
|
|
19
15
|
* The full company object which contains all fields.
|
|
20
16
|
*/
|
|
21
17
|
export declare class Company extends BaseCompound implements IIdUlong, INamed, IAmCompany, IBelongCompany {
|
|
18
|
+
#private;
|
|
22
19
|
/**
|
|
23
20
|
*
|
|
24
21
|
*/
|
|
@@ -38,10 +35,6 @@ export declare class Company extends BaseCompound implements IIdUlong, INamed, I
|
|
|
38
35
|
*/
|
|
39
36
|
get parentId(): number;
|
|
40
37
|
set parentId(value: number);
|
|
41
|
-
/**
|
|
42
|
-
*
|
|
43
|
-
*/
|
|
44
|
-
protected _general: CompanyGeneral;
|
|
45
38
|
/**
|
|
46
39
|
* The organizational name.
|
|
47
40
|
*/
|
|
@@ -57,19 +50,11 @@ export declare class Company extends BaseCompound implements IIdUlong, INamed, I
|
|
|
57
50
|
*/
|
|
58
51
|
get references(): Map<string, string>;
|
|
59
52
|
set references(value: Map<string, string>);
|
|
60
|
-
/**
|
|
61
|
-
*
|
|
62
|
-
*/
|
|
63
|
-
protected _directory: CompanyDirectory;
|
|
64
53
|
/**
|
|
65
54
|
* The list of Contacts from this and other companies broken down by contact role.
|
|
66
55
|
*/
|
|
67
56
|
get employees(): Map<string, ulong[]>;
|
|
68
57
|
set employees(value: Map<string, ulong[]>);
|
|
69
|
-
/**
|
|
70
|
-
*
|
|
71
|
-
*/
|
|
72
|
-
protected _policy: CompanyPolicy;
|
|
73
58
|
/**
|
|
74
59
|
* The session lifetime policy.
|
|
75
60
|
*/
|
|
@@ -80,10 +65,6 @@ export declare class Company extends BaseCompound implements IIdUlong, INamed, I
|
|
|
80
65
|
*/
|
|
81
66
|
get passwordPolicy(): PasswordPolicy;
|
|
82
67
|
set passwordPolicy(value: PasswordPolicy);
|
|
83
|
-
/**
|
|
84
|
-
*
|
|
85
|
-
*/
|
|
86
|
-
protected _style: CompanyStyle;
|
|
87
68
|
/**
|
|
88
69
|
* The styles for labels added to Assets, Places, and other things.
|
|
89
70
|
*/
|
|
@@ -98,9 +79,7 @@ export declare class Company extends BaseCompound implements IIdUlong, INamed, I
|
|
|
98
79
|
* If this company is a reseller, then they have their own theme, support and billing information.
|
|
99
80
|
*/
|
|
100
81
|
reseller: CompanyReseller | null;
|
|
101
|
-
|
|
102
|
-
*
|
|
103
|
-
*/
|
|
82
|
+
constructor(json?: JsonObject | nothing);
|
|
104
83
|
toJSON(): {
|
|
105
84
|
v: number[];
|
|
106
85
|
id: number | null;
|
|
@@ -2,7 +2,7 @@ import { BaseComponent } from "../API/BaseComponent";
|
|
|
2
2
|
import { IAmCompany } from "../API/Interfaces/IAmCompany";
|
|
3
3
|
import { IBelongCompany } from "../API/Interfaces/IBelongCompany";
|
|
4
4
|
import { IIdUlong } from "../API/Interfaces/IIdUlong";
|
|
5
|
-
import { JsonObject, codified, ulong } from "../API/Types";
|
|
5
|
+
import { JsonObject, codified, nothing, ulong } from "../API/Types";
|
|
6
6
|
import { Company } from "./Company";
|
|
7
7
|
/**
|
|
8
8
|
* The list of Contacts from this and other companies broken down by contact role.
|
|
@@ -26,20 +26,13 @@ export declare class CompanyDirectory extends BaseComponent implements IIdUlong,
|
|
|
26
26
|
* The list of {@link Contact}s from this and other companies broken down by contact role.
|
|
27
27
|
*/
|
|
28
28
|
employees: Map<codified, ulong[]>;
|
|
29
|
-
|
|
30
|
-
*
|
|
31
|
-
* @returns
|
|
32
|
-
*/
|
|
29
|
+
constructor(json?: JsonObject | nothing);
|
|
33
30
|
toJSON(): {
|
|
34
31
|
id: number | null;
|
|
35
32
|
v: number[];
|
|
36
33
|
parent: number;
|
|
37
34
|
directory: JsonObject;
|
|
38
35
|
};
|
|
39
|
-
/**
|
|
40
|
-
*
|
|
41
|
-
* @param json
|
|
42
|
-
*/
|
|
43
36
|
fromJSON(json: JsonObject, force?: boolean): boolean;
|
|
44
37
|
/**
|
|
45
38
|
* The {@link id} is the key.
|
|
@@ -3,7 +3,7 @@ import { IAmCompany } from "../API/Interfaces/IAmCompany";
|
|
|
3
3
|
import { IBelongCompany } from "../API/Interfaces/IBelongCompany";
|
|
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 "./Company";
|
|
8
8
|
/**
|
|
9
9
|
* General details about a company.
|
|
@@ -35,6 +35,7 @@ export declare class CompanyGeneral extends BaseComponent implements IIdUlong, I
|
|
|
35
35
|
* Name/value collections of custom fields used to refer to external systems.
|
|
36
36
|
*/
|
|
37
37
|
references: Map<string, string>;
|
|
38
|
+
constructor(json?: JsonObject | nothing);
|
|
38
39
|
toJSON(): {
|
|
39
40
|
id: number | null;
|
|
40
41
|
v: number[];
|
|
@@ -2,7 +2,7 @@ import { BaseComponent } from "../API/BaseComponent";
|
|
|
2
2
|
import { IAmCompany } from "../API/Interfaces/IAmCompany";
|
|
3
3
|
import { IBelongCompany } from "../API/Interfaces/IBelongCompany";
|
|
4
4
|
import { IIdUlong } from "../API/Interfaces/IIdUlong";
|
|
5
|
-
import { JsonObject, ulong } from "../API/Types";
|
|
5
|
+
import { JsonObject, nothing, ulong } from "../API/Types";
|
|
6
6
|
import { Company } from "./Company";
|
|
7
7
|
import { PasswordPolicy } from "./PasswordPolicy";
|
|
8
8
|
import { SessionPolicy } from "./SessionPolicy";
|
|
@@ -32,6 +32,7 @@ export declare class CompanyPolicy extends BaseComponent implements IIdUlong, IA
|
|
|
32
32
|
* The password complexity and expiry policy.
|
|
33
33
|
*/
|
|
34
34
|
passwordPolicy: PasswordPolicy;
|
|
35
|
+
constructor(json?: JsonObject | nothing);
|
|
35
36
|
toJSON(): {
|
|
36
37
|
id: number | null;
|
|
37
38
|
v: number[];
|
|
@@ -2,7 +2,7 @@ import { BaseComponent } from "../API/BaseComponent";
|
|
|
2
2
|
import { IAmCompany } from "../API/Interfaces/IAmCompany";
|
|
3
3
|
import { IBelongCompany } from "../API/Interfaces/IBelongCompany";
|
|
4
4
|
import { IIdUlong } from "../API/Interfaces/IIdUlong";
|
|
5
|
-
import { JsonObject, codified, colour, ulong } from "../API/Types";
|
|
5
|
+
import { JsonObject, codified, colour, nothing, ulong } from "../API/Types";
|
|
6
6
|
import { ColourStyle } from "./ColourStyle";
|
|
7
7
|
import { Company } from "./Company";
|
|
8
8
|
import { NotificationServerEmail } from "./NotificationServerEmail";
|
|
@@ -116,6 +116,7 @@ export declare class CompanyReseller extends BaseComponent implements IIdUlong,
|
|
|
116
116
|
* - & with "&"
|
|
117
117
|
*/
|
|
118
118
|
recoverIsHtml: boolean;
|
|
119
|
+
constructor(json?: JsonObject | nothing);
|
|
119
120
|
toJSON(): {
|
|
120
121
|
id: number | null;
|
|
121
122
|
v: number[];
|
|
@@ -2,7 +2,7 @@ import { BaseComponent } from "../API/BaseComponent";
|
|
|
2
2
|
import { IAmCompany } from "../API/Interfaces/IAmCompany";
|
|
3
3
|
import { IBelongCompany } from "../API/Interfaces/IBelongCompany";
|
|
4
4
|
import { IIdUlong } from "../API/Interfaces/IIdUlong";
|
|
5
|
-
import { JsonObject, codified, ulong } from "../API/Types";
|
|
5
|
+
import { JsonObject, codified, nothing, ulong } from "../API/Types";
|
|
6
6
|
import { Company } from "./Company";
|
|
7
7
|
import { LabelStyle } from "./LabelStyle";
|
|
8
8
|
/**
|
|
@@ -31,6 +31,7 @@ export declare class CompanyStyle extends BaseComponent implements IIdUlong, IAm
|
|
|
31
31
|
* The styles for status tags added to Assets.
|
|
32
32
|
*/
|
|
33
33
|
tags: Map<codified, LabelStyle>;
|
|
34
|
+
constructor(json?: JsonObject | nothing);
|
|
34
35
|
toJSON(): {
|
|
35
36
|
id: number | null;
|
|
36
37
|
v: number[];
|
|
@@ -3,7 +3,7 @@ import { IBelongAsset } from "../API/Interfaces/IBelongAsset";
|
|
|
3
3
|
import { IBelongCompany } from "../API/Interfaces/IBelongCompany";
|
|
4
4
|
import { IIdUlong } from "../API/Interfaces/IIdUlong";
|
|
5
5
|
import { ILabelled } from "../API/Interfaces/ILabelled";
|
|
6
|
-
import { codified, JsonObject, ulong } from "../API/Types";
|
|
6
|
+
import { codified, JsonObject, nothing, ulong } from "../API/Types";
|
|
7
7
|
import { Asset } from "../Assets/Asset";
|
|
8
8
|
import { Company } from "../Companies/Company";
|
|
9
9
|
import { FormResult } from "../Hosting/FormResult";
|
|
@@ -84,6 +84,7 @@ export declare class DispatchJob extends BaseComponent implements IIdUlong, ILab
|
|
|
84
84
|
* Null if not clocked-in, or no changes have been made.
|
|
85
85
|
*/
|
|
86
86
|
driver: string;
|
|
87
|
+
constructor(json?: JsonObject | nothing);
|
|
87
88
|
toJSON(): {
|
|
88
89
|
id: number | null;
|
|
89
90
|
company: number | null;
|
|
@@ -122,6 +122,7 @@ export declare class DispatchTask extends BaseComponent implements IIdUlong, IBe
|
|
|
122
122
|
* Timestamp from the last change made to this task
|
|
123
123
|
*/
|
|
124
124
|
updatedUtc: Date;
|
|
125
|
+
constructor(json?: JsonObject);
|
|
125
126
|
toJSON(): {
|
|
126
127
|
id: number | null;
|
|
127
128
|
company: number | null;
|
package/Hosting/Document.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import { IBelongCompany } from "../API/Interfaces/IBelongCompany";
|
|
|
3
3
|
import { IFileSize } from "../API/Interfaces/IFileSize";
|
|
4
4
|
import { IIdUlong } from "../API/Interfaces/IIdUlong";
|
|
5
5
|
import { INamed } from "../API/Interfaces/INamed";
|
|
6
|
-
import { ulong, JsonObject } from "../API/Types";
|
|
6
|
+
import { ulong, JsonObject, nothing } from "../API/Types";
|
|
7
7
|
import { Company } from "../Companies/Company";
|
|
8
8
|
/**
|
|
9
9
|
* A file stored temporarily by the system.
|
|
@@ -50,6 +50,7 @@ export declare class Document extends BaseComponent implements IIdUlong, INamed,
|
|
|
50
50
|
* Name/value collections of custom fields used to refer to external systems.
|
|
51
51
|
*/
|
|
52
52
|
references: Map<string, string>;
|
|
53
|
+
constructor(json?: JsonObject | nothing);
|
|
53
54
|
toJSON(): {
|
|
54
55
|
id: number | null;
|
|
55
56
|
v: number[];
|