@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
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import { BaseComponent } from "../API/BaseComponent";
|
|
2
|
+
import { Rectangle } from "../API/Geometry/Rectangle";
|
|
3
|
+
import { Size } from "../API/Geometry/Size";
|
|
4
|
+
import { IBelongCompany } from "../API/Interfaces/IBelongCompany";
|
|
5
|
+
import { IFileSize } from "../API/Interfaces/IFileSize";
|
|
6
|
+
import { IIdUlong } from "../API/Interfaces/IIdUlong";
|
|
7
|
+
import { INamed } from "../API/Interfaces/INamed";
|
|
8
|
+
import { uint, ulong, JsonObject } from "../API/Types";
|
|
9
|
+
import { Company } from "../Companies/Company";
|
|
10
|
+
/**
|
|
11
|
+
* An image stored by the system.
|
|
12
|
+
*/
|
|
13
|
+
export declare class Picture extends BaseComponent implements IIdUlong, INamed, IBelongCompany, IFileSize {
|
|
14
|
+
/**
|
|
15
|
+
* Unique identifier of this image.
|
|
16
|
+
*/
|
|
17
|
+
id: ulong;
|
|
18
|
+
/**
|
|
19
|
+
* The company to which this image belongs.
|
|
20
|
+
* {@link Company.id}
|
|
21
|
+
*/
|
|
22
|
+
companyId: ulong;
|
|
23
|
+
/**
|
|
24
|
+
* The {@link Company} to which this image belongs.
|
|
25
|
+
*/
|
|
26
|
+
get company(): Company;
|
|
27
|
+
/**
|
|
28
|
+
* The file name of this image.
|
|
29
|
+
*/
|
|
30
|
+
name: string;
|
|
31
|
+
/**
|
|
32
|
+
* Notes about this image.
|
|
33
|
+
*/
|
|
34
|
+
notes: string;
|
|
35
|
+
/**
|
|
36
|
+
* The URL/path to find this image.
|
|
37
|
+
*/
|
|
38
|
+
src: string;
|
|
39
|
+
/**
|
|
40
|
+
* Resolution defined in pixels.
|
|
41
|
+
*/
|
|
42
|
+
size: Size;
|
|
43
|
+
/**
|
|
44
|
+
* A list of focal points in the images like faces.
|
|
45
|
+
*/
|
|
46
|
+
focals: Rectangle[];
|
|
47
|
+
/**
|
|
48
|
+
* The file-size on the disk.
|
|
49
|
+
*/
|
|
50
|
+
bytes: ulong;
|
|
51
|
+
/**
|
|
52
|
+
* A count of the times this image was used for something (asset, contact, task, etc).
|
|
53
|
+
*/
|
|
54
|
+
uses: uint;
|
|
55
|
+
toJSON(): {
|
|
56
|
+
id: number | null;
|
|
57
|
+
v: number[];
|
|
58
|
+
company: number;
|
|
59
|
+
name: string;
|
|
60
|
+
notes: string;
|
|
61
|
+
src: string;
|
|
62
|
+
size: import("../API/Geometry/Interfaces").ISize;
|
|
63
|
+
focals: any[];
|
|
64
|
+
bytes: number | null;
|
|
65
|
+
uses: number | null;
|
|
66
|
+
};
|
|
67
|
+
fromJSON(json: JsonObject, force?: boolean): boolean;
|
|
68
|
+
/**
|
|
69
|
+
* The {@link id} is the key.
|
|
70
|
+
*/
|
|
71
|
+
getKey(): number;
|
|
72
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { IBelongAsset } from "../API/Interfaces/IBelongAsset";
|
|
2
|
+
import { ISerializable } from "../API/Interfaces/ISerializable";
|
|
3
|
+
import { datetime, double, JsonObject, ulong } from "../API/Types";
|
|
4
|
+
import { Asset } from "../Assets/Asset";
|
|
5
|
+
import { MaintenanceJob } from "./MaintenanceJob";
|
|
6
|
+
/**
|
|
7
|
+
* The detail for calculating Maintenance Schedule recurrence.
|
|
8
|
+
*/
|
|
9
|
+
export declare class MaintenanceInterval implements IBelongAsset, ISerializable {
|
|
10
|
+
static fromJSON(json: JsonObject): MaintenanceInterval;
|
|
11
|
+
/**
|
|
12
|
+
* The Vehicle or Trailer to which this recurrence detail belongs.
|
|
13
|
+
* {@link Asset.id}
|
|
14
|
+
*/
|
|
15
|
+
assetId: ulong;
|
|
16
|
+
/**
|
|
17
|
+
* The Vehicle or Trailer to which this recurrence detail belongs.
|
|
18
|
+
*/
|
|
19
|
+
get asset(): Asset;
|
|
20
|
+
/**
|
|
21
|
+
* The date of the last calculation.
|
|
22
|
+
*/
|
|
23
|
+
date: Date;
|
|
24
|
+
/**
|
|
25
|
+
* The odometer at the time of the last calculation.
|
|
26
|
+
*/
|
|
27
|
+
odometer: double;
|
|
28
|
+
/**
|
|
29
|
+
* The operating time at the time of the last calculation.
|
|
30
|
+
*/
|
|
31
|
+
engineHours: double;
|
|
32
|
+
/**
|
|
33
|
+
* The last "completed" job related to this schedule interval.
|
|
34
|
+
*/
|
|
35
|
+
lastJobId: ulong;
|
|
36
|
+
/**
|
|
37
|
+
* The last "completed" job related to this schedule interval.
|
|
38
|
+
*/
|
|
39
|
+
get lastJob(): MaintenanceJob;
|
|
40
|
+
constructor(asset?: ulong, date?: Date | number | datetime, odometer?: double, engineHours?: double, lastJob?: ulong);
|
|
41
|
+
toJSON(): {
|
|
42
|
+
asset: number | null;
|
|
43
|
+
date: string | null;
|
|
44
|
+
odometer: number;
|
|
45
|
+
engineHours: number;
|
|
46
|
+
lastJob: number | null;
|
|
47
|
+
};
|
|
48
|
+
}
|
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
import { BaseComponent } from "../API/BaseComponent";
|
|
2
|
+
import { IBelongAsset } from "../API/Interfaces/IBelongAsset";
|
|
3
|
+
import { IBelongCompany } from "../API/Interfaces/IBelongCompany";
|
|
4
|
+
import { IIdUlong } from "../API/Interfaces/IIdUlong";
|
|
5
|
+
import { INamed } from "../API/Interfaces/INamed";
|
|
6
|
+
import { IPictured } from "../API/Interfaces/IPictured";
|
|
7
|
+
import { TimeSpan } from "../API/TimeSpan";
|
|
8
|
+
import { double, JsonObject, ulong } from "../API/Types";
|
|
9
|
+
import { Asset } from "../Assets/Asset";
|
|
10
|
+
import { Company } from "../Companies/Company";
|
|
11
|
+
import { Picture } from "../Images/Picture";
|
|
12
|
+
import { MaintenanceJobStatus } from "./MaintenanceJobStatus";
|
|
13
|
+
import { MaintenanceSchedule } from "./MaintenanceSchedule";
|
|
14
|
+
/**
|
|
15
|
+
* Historical service work performed on a Vehicle or Trailer
|
|
16
|
+
*/
|
|
17
|
+
export declare class MaintenanceJob extends BaseComponent implements IIdUlong, INamed, IBelongCompany, IBelongAsset, IPictured {
|
|
18
|
+
/**
|
|
19
|
+
* Unique identifier
|
|
20
|
+
*/
|
|
21
|
+
id: ulong;
|
|
22
|
+
/**
|
|
23
|
+
* The Vehicle or Trailer to which this job belongs
|
|
24
|
+
* {@link Asset.id}
|
|
25
|
+
*/
|
|
26
|
+
assetId: ulong;
|
|
27
|
+
/**
|
|
28
|
+
* The Vehicle or Trailer to which this job belongs
|
|
29
|
+
*/
|
|
30
|
+
get asset(): Asset;
|
|
31
|
+
/**
|
|
32
|
+
* The company to which this Vehicle or Trailer belongs
|
|
33
|
+
* {@link Company.id}
|
|
34
|
+
*/
|
|
35
|
+
companyId: ulong;
|
|
36
|
+
/**
|
|
37
|
+
* The {@link Company} to which this Vehicle or Trailer belongs
|
|
38
|
+
*/
|
|
39
|
+
get company(): Company;
|
|
40
|
+
/**
|
|
41
|
+
* The Maintenance Schedule from which this job was created
|
|
42
|
+
* {@link MaintenanceSchedule.id}
|
|
43
|
+
*/
|
|
44
|
+
scheduleId: ulong;
|
|
45
|
+
/**
|
|
46
|
+
* The Maintenance Schedule from which this job was created
|
|
47
|
+
* {@link MaintenanceSchedule.id}
|
|
48
|
+
*/
|
|
49
|
+
get schedule(): MaintenanceSchedule;
|
|
50
|
+
set schedule(value: MaintenanceSchedule);
|
|
51
|
+
/**
|
|
52
|
+
* The work being done. Like "oil change".
|
|
53
|
+
*/
|
|
54
|
+
name: string;
|
|
55
|
+
/**
|
|
56
|
+
* Notes about the job. Like "changed the oil and filter".
|
|
57
|
+
*/
|
|
58
|
+
notes: string;
|
|
59
|
+
/**
|
|
60
|
+
* The status of this job.
|
|
61
|
+
*/
|
|
62
|
+
status: MaintenanceJobStatus;
|
|
63
|
+
/**
|
|
64
|
+
* When was this job created.
|
|
65
|
+
*/
|
|
66
|
+
created: Date;
|
|
67
|
+
/**
|
|
68
|
+
* When was this job created.
|
|
69
|
+
*/
|
|
70
|
+
completed: Date;
|
|
71
|
+
/**
|
|
72
|
+
* The odometer at the time of the service.
|
|
73
|
+
*/
|
|
74
|
+
odometer: double;
|
|
75
|
+
/**
|
|
76
|
+
* The operating time at the time of the service.
|
|
77
|
+
*/
|
|
78
|
+
engineHours: double;
|
|
79
|
+
/**
|
|
80
|
+
* The name of the garage or service facility where the work is done.
|
|
81
|
+
*/
|
|
82
|
+
garage: string;
|
|
83
|
+
/**
|
|
84
|
+
* Time it took to complete the job.
|
|
85
|
+
*/
|
|
86
|
+
duration: TimeSpan;
|
|
87
|
+
/**
|
|
88
|
+
* How much the job cost in dollars.
|
|
89
|
+
*/
|
|
90
|
+
cost: double;
|
|
91
|
+
/**
|
|
92
|
+
* A reference code used to track this job
|
|
93
|
+
*/
|
|
94
|
+
reference: string;
|
|
95
|
+
/**
|
|
96
|
+
* The mechanic who performed the work.
|
|
97
|
+
*/
|
|
98
|
+
technician: string;
|
|
99
|
+
/**
|
|
100
|
+
* Images taken while performing the work for reference.
|
|
101
|
+
* {@link Picture.id}
|
|
102
|
+
*/
|
|
103
|
+
pictureIds: ulong[];
|
|
104
|
+
/**
|
|
105
|
+
* {@link Picture}s taken while performing the work for reference.
|
|
106
|
+
*/
|
|
107
|
+
get pictures(): Picture[];
|
|
108
|
+
set pictures(values: Picture[]);
|
|
109
|
+
toJSON(): {
|
|
110
|
+
id: number | null;
|
|
111
|
+
v: number[];
|
|
112
|
+
company: number;
|
|
113
|
+
asset: number;
|
|
114
|
+
schedule: number;
|
|
115
|
+
name: string;
|
|
116
|
+
notes: string;
|
|
117
|
+
status: MaintenanceJobStatus;
|
|
118
|
+
created: string | null;
|
|
119
|
+
completed: string | null;
|
|
120
|
+
odometer: number;
|
|
121
|
+
engineHours: number;
|
|
122
|
+
garage: string;
|
|
123
|
+
cost: number;
|
|
124
|
+
duration: string;
|
|
125
|
+
reference: string;
|
|
126
|
+
technician: string;
|
|
127
|
+
pictures: number[];
|
|
128
|
+
};
|
|
129
|
+
fromJSON(json: JsonObject, force?: boolean): boolean;
|
|
130
|
+
/**
|
|
131
|
+
* The {@link id} is the key.
|
|
132
|
+
*/
|
|
133
|
+
getKey(): number;
|
|
134
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The lifetime of a Maintenance Job
|
|
3
|
+
*/
|
|
4
|
+
export declare enum MaintenanceJobStatus {
|
|
5
|
+
/**
|
|
6
|
+
* The work will need to be performed soon.
|
|
7
|
+
*/
|
|
8
|
+
pending = "pending",
|
|
9
|
+
/**
|
|
10
|
+
* The work was scheduled, but not yet done.
|
|
11
|
+
*/
|
|
12
|
+
pastdue = "pastdue",
|
|
13
|
+
/**
|
|
14
|
+
* Work is completed.
|
|
15
|
+
*/
|
|
16
|
+
completed = "completed",
|
|
17
|
+
/**
|
|
18
|
+
* The job was cancelled or was not necessary.
|
|
19
|
+
*/
|
|
20
|
+
cancelled = "cancelled"
|
|
21
|
+
}
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
import { BaseComponent } from "../API/BaseComponent";
|
|
2
|
+
import { IBelongCompany } from "../API/Interfaces/IBelongCompany";
|
|
3
|
+
import { IIdUlong } from "../API/Interfaces/IIdUlong";
|
|
4
|
+
import { INamed } from "../API/Interfaces/INamed";
|
|
5
|
+
import { IVisual } from "../API/Interfaces/IVisual";
|
|
6
|
+
import { SearchPattern } from "../API/SearchPattern";
|
|
7
|
+
import { TimeSpan } from "../API/TimeSpan";
|
|
8
|
+
import { codified, colour, double, email, JsonObject, uint, ulong } from "../API/Types";
|
|
9
|
+
import { Company } from "../Companies/Company";
|
|
10
|
+
import { MaintenanceInterval } from "./MaintenanceInterval";
|
|
11
|
+
/**
|
|
12
|
+
* Recurring service work
|
|
13
|
+
*/
|
|
14
|
+
export declare class MaintenanceSchedule extends BaseComponent implements IIdUlong, INamed, IBelongCompany, IVisual {
|
|
15
|
+
/**
|
|
16
|
+
* Unique identifier
|
|
17
|
+
*/
|
|
18
|
+
id: ulong;
|
|
19
|
+
/**
|
|
20
|
+
* The company to which this schedule belongs
|
|
21
|
+
* {@link Company.id}
|
|
22
|
+
*/
|
|
23
|
+
companyId: ulong;
|
|
24
|
+
/**
|
|
25
|
+
* The {@link Company} to which this schedule belongs
|
|
26
|
+
*/
|
|
27
|
+
get company(): Company;
|
|
28
|
+
/**
|
|
29
|
+
* The name of the work to be done. Like "oil change".
|
|
30
|
+
*/
|
|
31
|
+
name: string;
|
|
32
|
+
/**
|
|
33
|
+
* Notes about the work to be done. Like "change the oil and oil filter".
|
|
34
|
+
*/
|
|
35
|
+
notes: string;
|
|
36
|
+
/**
|
|
37
|
+
* The targeting expression to select which Vehicles and Trailers require this maintenance work.
|
|
38
|
+
*/
|
|
39
|
+
targets: SearchPattern[] | null;
|
|
40
|
+
/**
|
|
41
|
+
* List of Users to send notifications.
|
|
42
|
+
*/
|
|
43
|
+
notify: email[];
|
|
44
|
+
/**
|
|
45
|
+
* The fill/background colour of the icon.
|
|
46
|
+
*/
|
|
47
|
+
fill: colour;
|
|
48
|
+
/**
|
|
49
|
+
* Outline and graphic colour.
|
|
50
|
+
*/
|
|
51
|
+
stroke: colour;
|
|
52
|
+
/**
|
|
53
|
+
* The name of the symbol for this schedule.
|
|
54
|
+
*/
|
|
55
|
+
graphic: codified;
|
|
56
|
+
/**
|
|
57
|
+
* The number of days in advance to predict a job will become pending.
|
|
58
|
+
*/
|
|
59
|
+
predictionDays: uint;
|
|
60
|
+
/**
|
|
61
|
+
* The number of days between service visits.
|
|
62
|
+
*/
|
|
63
|
+
recurDays: uint;
|
|
64
|
+
/**
|
|
65
|
+
* The amount of mileage between service visits.
|
|
66
|
+
*/
|
|
67
|
+
recurDistance: double;
|
|
68
|
+
/**
|
|
69
|
+
* The number of operating hours between service visits.
|
|
70
|
+
*/
|
|
71
|
+
recurEngineHours: double;
|
|
72
|
+
/**
|
|
73
|
+
* The per-asset details calculated by the system to help predict the creation of Maintenance Jobs.
|
|
74
|
+
*/
|
|
75
|
+
intervals: Map<ulong, MaintenanceInterval>;
|
|
76
|
+
/**
|
|
77
|
+
* The name of the garage or service facility where the work is done.
|
|
78
|
+
*/
|
|
79
|
+
garage: string;
|
|
80
|
+
/**
|
|
81
|
+
* The estimated time for the job.
|
|
82
|
+
*/
|
|
83
|
+
duration: TimeSpan;
|
|
84
|
+
/**
|
|
85
|
+
* The estimated cost for the job cost in dollars.
|
|
86
|
+
*/
|
|
87
|
+
cost: double;
|
|
88
|
+
/**
|
|
89
|
+
* A reference code used to track this job.
|
|
90
|
+
*/
|
|
91
|
+
reference: string;
|
|
92
|
+
toJSON(): {
|
|
93
|
+
id: number | null;
|
|
94
|
+
v: number[];
|
|
95
|
+
company: number;
|
|
96
|
+
name: string;
|
|
97
|
+
notes: string;
|
|
98
|
+
notify: string[];
|
|
99
|
+
targets: string | null;
|
|
100
|
+
fill: string;
|
|
101
|
+
stroke: string;
|
|
102
|
+
graphic: string;
|
|
103
|
+
garage: string;
|
|
104
|
+
cost: number;
|
|
105
|
+
duration: string;
|
|
106
|
+
reference: string;
|
|
107
|
+
predictionDays: number;
|
|
108
|
+
recurDays: number | null;
|
|
109
|
+
recurDistance: number | null;
|
|
110
|
+
recurEngineHours: number | null;
|
|
111
|
+
intervals: JsonObject;
|
|
112
|
+
};
|
|
113
|
+
fromJSON(json: JsonObject, force?: boolean): boolean;
|
|
114
|
+
/**
|
|
115
|
+
* The {@link id} is the key.
|
|
116
|
+
*/
|
|
117
|
+
getKey(): number;
|
|
118
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The priority of the alert.
|
|
3
|
+
*/
|
|
4
|
+
export declare enum AlertPriority {
|
|
5
|
+
/**
|
|
6
|
+
* Sends when no other alerts are pending in the queue.
|
|
7
|
+
*/
|
|
8
|
+
low = "low",
|
|
9
|
+
/**
|
|
10
|
+
* Sends in when there are no high priority alerts in the queue.
|
|
11
|
+
*/
|
|
12
|
+
normal = "normal",
|
|
13
|
+
/**
|
|
14
|
+
* Sends before low and normal priority alerts.
|
|
15
|
+
*/
|
|
16
|
+
high = "high"
|
|
17
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { JsonObject } from '../API/Types';
|
|
2
|
+
import { AlertPriority } from './AlertPriority';
|
|
3
|
+
import { MessageBase } from './MessageBase';
|
|
4
|
+
/**
|
|
5
|
+
* An automatically generated notification sent to a user by the system.
|
|
6
|
+
*/
|
|
7
|
+
export declare class AssetAlert extends MessageBase {
|
|
8
|
+
/**
|
|
9
|
+
* The priority for which this message must send.
|
|
10
|
+
*/
|
|
11
|
+
priority: AlertPriority;
|
|
12
|
+
toJSON(): {
|
|
13
|
+
priority: AlertPriority;
|
|
14
|
+
id: number | null;
|
|
15
|
+
v: number[];
|
|
16
|
+
company: number;
|
|
17
|
+
status: import("./MessageStatus").MessageStatus;
|
|
18
|
+
kind: import("./MessageType").MessageType;
|
|
19
|
+
to: string;
|
|
20
|
+
from: string;
|
|
21
|
+
body: string;
|
|
22
|
+
processed: string | null;
|
|
23
|
+
delivered: string | null;
|
|
24
|
+
subject: string;
|
|
25
|
+
asset: number;
|
|
26
|
+
user: string;
|
|
27
|
+
};
|
|
28
|
+
fromJSON(json: JsonObject, force?: boolean): boolean;
|
|
29
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { email, JsonObject } from '../API/Types';
|
|
2
|
+
import { MessageBase } from './MessageBase';
|
|
3
|
+
import { MessageFolder } from './MessageFolder';
|
|
4
|
+
/**
|
|
5
|
+
* A conversational message between users and assets.
|
|
6
|
+
*/
|
|
7
|
+
export declare class AssetMessage extends MessageBase {
|
|
8
|
+
/**
|
|
9
|
+
* The folder under which this message is stored.
|
|
10
|
+
*/
|
|
11
|
+
folder: MessageFolder;
|
|
12
|
+
/**
|
|
13
|
+
* Indicates that this is a received message instead of a sent message.
|
|
14
|
+
*/
|
|
15
|
+
incoming: boolean;
|
|
16
|
+
/**
|
|
17
|
+
* The user that read this message. This field is blank/null when unread.
|
|
18
|
+
* {@link User.login}
|
|
19
|
+
*/
|
|
20
|
+
readBy: email;
|
|
21
|
+
toJSON(): {
|
|
22
|
+
folder: MessageFolder;
|
|
23
|
+
incoming: boolean;
|
|
24
|
+
readBy: string;
|
|
25
|
+
id: number | null;
|
|
26
|
+
v: number[];
|
|
27
|
+
company: number;
|
|
28
|
+
status: import("./MessageStatus").MessageStatus;
|
|
29
|
+
kind: import("./MessageType").MessageType;
|
|
30
|
+
to: string;
|
|
31
|
+
from: string;
|
|
32
|
+
body: string;
|
|
33
|
+
processed: string | null;
|
|
34
|
+
delivered: string | null;
|
|
35
|
+
subject: string;
|
|
36
|
+
asset: number;
|
|
37
|
+
user: string;
|
|
38
|
+
};
|
|
39
|
+
fromJSON(json: JsonObject, force?: boolean): boolean;
|
|
40
|
+
}
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
import { User } from "../Accounts/User";
|
|
2
|
+
import { BaseComponent } from "../API/BaseComponent";
|
|
3
|
+
import { IBelongAsset } from "../API/Interfaces/IBelongAsset";
|
|
4
|
+
import { IBelongCompany } from "../API/Interfaces/IBelongCompany";
|
|
5
|
+
import { IIdUlong } from "../API/Interfaces/IIdUlong";
|
|
6
|
+
import { email, JsonObject, ulong } from "../API/Types";
|
|
7
|
+
import { Asset } from "../Assets/Asset";
|
|
8
|
+
import { Company } from "../Companies/Company";
|
|
9
|
+
import { MessageStatus } from './MessageStatus';
|
|
10
|
+
import { MessageType } from './MessageType';
|
|
11
|
+
/**
|
|
12
|
+
* A base class for Alerts and Messages.
|
|
13
|
+
*/
|
|
14
|
+
export declare abstract class MessageBase extends BaseComponent implements IIdUlong, IBelongCompany, IBelongAsset {
|
|
15
|
+
/**
|
|
16
|
+
* Unique identifier of this memo.
|
|
17
|
+
*/
|
|
18
|
+
id: ulong;
|
|
19
|
+
/**
|
|
20
|
+
* The company to which this memo belongs.
|
|
21
|
+
* {@link Company.id}
|
|
22
|
+
*/
|
|
23
|
+
companyId: ulong;
|
|
24
|
+
/**
|
|
25
|
+
* The {@link Company} to which this memo belongs.
|
|
26
|
+
*/
|
|
27
|
+
get company(): Company;
|
|
28
|
+
/**
|
|
29
|
+
* Lifetime status
|
|
30
|
+
*/
|
|
31
|
+
status: MessageStatus;
|
|
32
|
+
/**
|
|
33
|
+
* Protocol type
|
|
34
|
+
*/
|
|
35
|
+
kind: MessageType;
|
|
36
|
+
/**
|
|
37
|
+
* Recipient address.
|
|
38
|
+
*/
|
|
39
|
+
to: email;
|
|
40
|
+
/**
|
|
41
|
+
* Sender address.
|
|
42
|
+
*/
|
|
43
|
+
from: email;
|
|
44
|
+
/**
|
|
45
|
+
* The main contents of the memo.
|
|
46
|
+
*/
|
|
47
|
+
body: string;
|
|
48
|
+
/**
|
|
49
|
+
* Date/time stamp of when the memo was processed.
|
|
50
|
+
*/
|
|
51
|
+
processed: Date;
|
|
52
|
+
/**
|
|
53
|
+
* Date/time stamp of when the memo was delivered (or sent if delivery information unavailable).
|
|
54
|
+
*/
|
|
55
|
+
delivered: Date;
|
|
56
|
+
/**
|
|
57
|
+
* The subject of this message.
|
|
58
|
+
*/
|
|
59
|
+
subject: string;
|
|
60
|
+
/**
|
|
61
|
+
* The asset to which this message relates.
|
|
62
|
+
* {@link Asset.id}
|
|
63
|
+
*/
|
|
64
|
+
assetId: ulong;
|
|
65
|
+
/**
|
|
66
|
+
* The {@link Asset} to which this message relates.
|
|
67
|
+
*/
|
|
68
|
+
get asset(): Asset;
|
|
69
|
+
/**
|
|
70
|
+
* The user who sent/received this message.
|
|
71
|
+
* {@link User.login}
|
|
72
|
+
*/
|
|
73
|
+
userLogin: email;
|
|
74
|
+
/**
|
|
75
|
+
* The user who sent/received this message.
|
|
76
|
+
* {@link User.login}
|
|
77
|
+
*/
|
|
78
|
+
get user(): User;
|
|
79
|
+
toJSON(): {
|
|
80
|
+
id: number | null;
|
|
81
|
+
v: number[];
|
|
82
|
+
company: number;
|
|
83
|
+
status: MessageStatus;
|
|
84
|
+
kind: MessageType;
|
|
85
|
+
to: string;
|
|
86
|
+
from: string;
|
|
87
|
+
body: string;
|
|
88
|
+
processed: string | null;
|
|
89
|
+
delivered: string | null;
|
|
90
|
+
subject: string;
|
|
91
|
+
asset: number;
|
|
92
|
+
user: string;
|
|
93
|
+
};
|
|
94
|
+
fromJSON(json: JsonObject, force?: boolean): boolean;
|
|
95
|
+
/**
|
|
96
|
+
* The {@link id} is the key.
|
|
97
|
+
*/
|
|
98
|
+
getKey(): number;
|
|
99
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The name of folder where the message is stored.
|
|
3
|
+
*/
|
|
4
|
+
export declare enum MessageFolder {
|
|
5
|
+
/**
|
|
6
|
+
* The inbox is loaded quickly from memory, but messages regularly move to the archive.
|
|
7
|
+
*/
|
|
8
|
+
inbox = "inbox",
|
|
9
|
+
/**
|
|
10
|
+
* The archive contains all previous messages, but must be queried from disk for retrieval.
|
|
11
|
+
*/
|
|
12
|
+
archive = "archive"
|
|
13
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Memos have a lifetime and each status represents a memos's progress through it's life.
|
|
3
|
+
*/
|
|
4
|
+
export declare enum MessageStatus {
|
|
5
|
+
/**
|
|
6
|
+
* Waiting to be sent.
|
|
7
|
+
*/
|
|
8
|
+
created = "created",
|
|
9
|
+
/**
|
|
10
|
+
* Sent or received.
|
|
11
|
+
*/
|
|
12
|
+
processed = "processed",
|
|
13
|
+
/**
|
|
14
|
+
* Failed to send.
|
|
15
|
+
*/
|
|
16
|
+
failed = "failed",
|
|
17
|
+
/**
|
|
18
|
+
* Failed to send because too many memos were sent.
|
|
19
|
+
*/
|
|
20
|
+
throttled = "throttled",
|
|
21
|
+
/**
|
|
22
|
+
* Memo sent, but returned with error from receiving server.
|
|
23
|
+
*/
|
|
24
|
+
bounceback = "bounceback",
|
|
25
|
+
/**
|
|
26
|
+
* Memo has been responded to or acknowledged by the recipient.
|
|
27
|
+
*/
|
|
28
|
+
acknowledged = "acknowledged"
|
|
29
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The kind of protocol used for this memo.
|
|
3
|
+
*/
|
|
4
|
+
export declare enum MessageType {
|
|
5
|
+
/**
|
|
6
|
+
* If the type of memo has not yet been determined, or there was an error determining its type.
|
|
7
|
+
*/
|
|
8
|
+
unknown = "unknown",
|
|
9
|
+
/**
|
|
10
|
+
* Short Message Service (text message)
|
|
11
|
+
*/
|
|
12
|
+
sms = "sms",
|
|
13
|
+
/**
|
|
14
|
+
* Email
|
|
15
|
+
*/
|
|
16
|
+
email = "email",
|
|
17
|
+
/**
|
|
18
|
+
* Garmin/Magellan/etc (Personal Navigation Device)
|
|
19
|
+
*/
|
|
20
|
+
pnd = "pnd",
|
|
21
|
+
/**
|
|
22
|
+
* Google Cloud Message
|
|
23
|
+
*/
|
|
24
|
+
gcm = "gcm",
|
|
25
|
+
/**
|
|
26
|
+
* Apple Push Notification Service
|
|
27
|
+
*/
|
|
28
|
+
apn = "apn",
|
|
29
|
+
/**
|
|
30
|
+
* WebSocket alert message
|
|
31
|
+
*/
|
|
32
|
+
socket = "socket"
|
|
33
|
+
}
|