@trakit/objects 0.0.1 → 0.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +661 -0
- package/README.md +11 -0
- package/{API → _publish/API}/Base.d.ts +3 -2
- package/{API → _publish/API}/BaseComponent.d.ts +9 -6
- package/_publish/API/Codifier.d.ts +15 -0
- package/_publish/API/Encoding.d.ts +9 -0
- package/{API → _publish/API}/Files.d.ts +4 -4
- package/{API → _publish/API}/Functions.d.ts +26 -21
- package/{API → _publish/API}/Geography/Functions.d.ts +4 -0
- package/{API → _publish/API}/Geography/Interfaces.d.ts +19 -14
- package/{API → _publish/API}/Geography/LatLng.d.ts +9 -1
- package/{API → _publish/API}/Geography/LatLngBounds.d.ts +2 -1
- package/{API → _publish/API}/Geography/Position.d.ts +23 -11
- package/{API → _publish/API}/Geography/StreetAddress.d.ts +3 -2
- package/{API → _publish/API}/Geometry/Functions.d.ts +1 -1
- package/{API → _publish/API}/Geometry/Point.d.ts +4 -3
- package/{API → _publish/API}/Geometry/Radial.d.ts +5 -4
- package/{API → _publish/API}/Geometry/Rectangle.d.ts +3 -7
- package/{API → _publish/API}/Geometry/Size.d.ts +8 -2
- package/_publish/API/Interfaces/IAuditable.d.ts +31 -0
- package/{API → _publish/API}/Interfaces/IDeserializable.d.ts +2 -1
- package/{API → _publish/API}/Interfaces/ILabelled.d.ts +2 -1
- package/{API → _publish/API}/Interfaces/IRequestable.d.ts +5 -1
- package/_publish/API/Objects.d.ts +5 -0
- package/{API → _publish/API}/SearchPattern.d.ts +3 -2
- package/{API → _publish/API}/TimeSpan.d.ts +7 -38
- package/{API → _publish/API}/Timezone.d.ts +3 -3
- package/{API → _publish/API}/Types.d.ts +18 -0
- package/{Accounts → _publish/Accounts}/Contact.d.ts +10 -10
- package/{Accounts → _publish/Accounts}/Machine.d.ts +14 -6
- package/{Accounts → _publish/Accounts}/Permissions/Permission.d.ts +3 -3
- package/{Accounts → _publish/Accounts}/Permissions/PermissionEscalation.d.ts +11 -3
- package/{Accounts → _publish/Accounts}/Permissions/PermissionEscalationState.d.ts +5 -3
- package/{Accounts → _publish/Accounts}/Session.d.ts +2 -2
- package/{Accounts → _publish/Accounts}/User.d.ts +10 -10
- package/{Accounts → _publish/Accounts}/UserAdvanced.d.ts +2 -2
- package/{Accounts → _publish/Accounts}/UserGeneral.d.ts +5 -5
- package/{Accounts → _publish/Accounts}/UserGroup.d.ts +3 -3
- package/{Accounts → _publish/Accounts}/UserNotifications.d.ts +2 -2
- package/{Assets → _publish/Assets}/Asset.d.ts +56 -24
- package/{Assets → _publish/Assets}/AssetAdvanced.d.ts +8 -20
- package/{Assets → _publish/Assets}/AssetAttribute.d.ts +2 -2
- package/{Assets → _publish/Assets}/AssetDispatch.d.ts +5 -12
- package/{Assets → _publish/Assets}/AssetGeneral.d.ts +44 -24
- package/{Assets → _publish/Assets}/AssetPlaceStatus.d.ts +2 -2
- package/{Behaviours → _publish/Behaviours}/Behaviour.d.ts +4 -4
- package/{Behaviours → _publish/Behaviours}/BehaviourLog.d.ts +3 -3
- package/{Behaviours → _publish/Behaviours}/BehaviourParameter.d.ts +2 -1
- package/{Behaviours → _publish/Behaviours}/BehaviourScript.d.ts +4 -4
- package/{Billing → _publish/Billing}/BillableBase.d.ts +3 -3
- package/{Billing → _publish/Billing}/BillableSmsProfile.d.ts +2 -2
- package/{Billing → _publish/Billing}/BillingProfile.d.ts +3 -3
- package/{Billing → _publish/Billing}/Hosting/BillableHostingBase.d.ts +2 -2
- package/{Billing → _publish/Billing}/Hosting/BillableHostingDiscount.d.ts +2 -1
- package/{Billing → _publish/Billing}/Hosting/BillableHostingLicense.d.ts +2 -1
- package/{Billing → _publish/Billing}/Hosting/BillableHostingRule.d.ts +2 -1
- package/{Billing → _publish/Billing}/Report/BillingReport.d.ts +3 -3
- package/{Billing → _publish/Billing}/Report/BillingReportBreakdown.d.ts +2 -2
- package/{Billing → _publish/Billing}/Report/BillingReportHostingSummary.d.ts +2 -2
- package/{Billing → _publish/Billing}/Report/BillingReportLicenseBreakdown.d.ts +2 -2
- package/{Billing → _publish/Billing}/Report/BillingReportServiceBreakdown.d.ts +2 -2
- package/{Billing → _publish/Billing}/Report/BillingReportSummary.d.ts +2 -2
- package/{Companies → _publish/Companies}/ColourStyle.d.ts +2 -2
- package/{Companies → _publish/Companies}/Company.d.ts +48 -33
- package/{Companies → _publish/Companies}/CompanyDirectory.d.ts +10 -5
- package/{Companies → _publish/Companies}/CompanyGeneral.d.ts +10 -5
- package/{Companies/CompanyPolicies.d.ts → _publish/Companies/CompanyPolicy.d.ts} +9 -4
- package/{Companies → _publish/Companies}/CompanyReseller.d.ts +14 -9
- package/{Companies/CompanyStyles.d.ts → _publish/Companies/CompanyStyle.d.ts} +11 -6
- package/{Companies → _publish/Companies}/LabelStyle.d.ts +2 -2
- package/{Companies → _publish/Companies}/NotificationServerEmail.d.ts +2 -2
- package/{Companies → _publish/Companies}/NotificationServerSms.d.ts +3 -3
- package/{Companies → _publish/Companies}/PasswordPolicy.d.ts +2 -2
- package/{Companies → _publish/Companies}/SessionPolicy.d.ts +2 -2
- package/{Dispatch → _publish/Dispatch}/DispatchDirection.d.ts +3 -3
- package/{Dispatch → _publish/Dispatch}/DispatchJob.d.ts +4 -4
- package/{Dispatch → _publish/Dispatch}/DispatchStep.d.ts +4 -4
- package/{Dispatch → _publish/Dispatch}/DispatchStepState.d.ts +3 -3
- package/{Dispatch → _publish/Dispatch}/DispatchTask.d.ts +5 -5
- package/{Hosting → _publish/Hosting}/Document.d.ts +3 -3
- package/{Hosting → _publish/Hosting}/Fields/FormFieldAttachments.d.ts +4 -11
- package/{Hosting → _publish/Hosting}/Fields/FormFieldBase.d.ts +8 -23
- package/_publish/Hosting/Fields/FormFieldBase_fromJSON.d.ts +1 -0
- package/{Hosting → _publish/Hosting}/Fields/FormFieldBoolean.d.ts +4 -12
- package/{Hosting → _publish/Hosting}/Fields/FormFieldChoice.d.ts +10 -12
- package/{Hosting → _publish/Hosting}/Fields/FormFieldDate.d.ts +2 -9
- package/{Hosting → _publish/Hosting}/Fields/FormFieldNumeric.d.ts +2 -9
- package/{Hosting → _publish/Hosting}/Fields/FormFieldSignature.d.ts +2 -2
- package/{Hosting → _publish/Hosting}/Fields/FormFieldText.d.ts +2 -9
- package/_publish/Hosting/Fields/FormFieldTime.d.ts +37 -0
- package/{Hosting → _publish/Hosting}/Fields/FormFieldTimezone.d.ts +2 -2
- package/{Hosting → _publish/Hosting}/FormResult.d.ts +4 -4
- package/{Hosting → _publish/Hosting}/FormTemplate.d.ts +3 -3
- package/{Images → _publish/Images}/Dashcam.d.ts +3 -3
- package/{Images → _publish/Images}/DashcamBase.d.ts +2 -2
- package/{Images → _publish/Images}/DashcamLive.d.ts +3 -3
- package/{Images → _publish/Images}/Icon.d.ts +7 -27
- package/{Images → _publish/Images}/IconGlyph.d.ts +5 -12
- package/{Images → _publish/Images}/IconLabel.d.ts +5 -8
- package/{Images → _publish/Images}/Picture.d.ts +3 -3
- package/{Maintenance → _publish/Maintenance}/MaintenanceInterval.d.ts +2 -2
- package/{Maintenance → _publish/Maintenance}/MaintenanceJob.d.ts +3 -3
- package/{Maintenance → _publish/Maintenance}/MaintenanceSchedule.d.ts +4 -4
- package/{Messaging → _publish/Messaging}/AssetAlert.d.ts +2 -1
- package/{Messaging → _publish/Messaging}/AssetMessage.d.ts +2 -2
- package/{Messaging → _publish/Messaging}/MessageBase.d.ts +3 -3
- package/{Places → _publish/Places}/Place.d.ts +4 -4
- package/{Providers → _publish/Providers}/Config/ProviderConfig.d.ts +4 -4
- package/{Providers → _publish/Providers}/Config/ProviderRegistration.d.ts +2 -2
- package/{Providers → _publish/Providers}/Config/ProviderScript.d.ts +4 -4
- package/{Providers → _publish/Providers}/Config/ProviderScriptBlock.d.ts +2 -1
- package/{Providers → _publish/Providers}/Config/ProviderScriptParameter.d.ts +2 -2
- package/{Providers → _publish/Providers}/Configuration/ProviderConfiguration.d.ts +4 -4
- package/{Providers → _publish/Providers}/Configuration/ProviderConfigurationNode.d.ts +4 -3
- package/{Providers → _publish/Providers}/Configuration/ProviderConfigurationType.d.ts +4 -4
- package/{Providers → _publish/Providers}/Configuration/ProviderGeofenceBase.d.ts +6 -8
- package/_publish/Providers/Configuration/ProviderGeofenceBase_fromJSON.d.ts +1 -0
- package/_publish/Providers/Provider.d.ts +211 -0
- package/{Providers → _publish/Providers}/ProviderAdvanced.d.ts +4 -4
- package/{Providers → _publish/Providers}/ProviderCommand.d.ts +2 -2
- package/{Providers → _publish/Providers}/ProviderControl.d.ts +3 -3
- package/{Providers → _publish/Providers}/ProviderData.d.ts +2 -2
- package/{Providers → _publish/Providers}/ProviderGeneral.d.ts +18 -10
- package/_publish/Reports/ReportBreakdown.d.ts +49 -0
- package/_publish/Reports/ReportBreakdownJob.d.ts +37 -0
- package/_publish/Reports/ReportBreakdownMessage.d.ts +40 -0
- package/{Reports → _publish/Reports}/ReportBreakdownTask.d.ts +6 -31
- package/_publish/Reports/ReportBreakdown_fromJSON.d.ts +1 -0
- package/{Reports → _publish/Reports}/ReportNotifications.d.ts +3 -3
- package/{Reports → _publish/Reports}/ReportOptions.d.ts +3 -2
- package/{Reports → _publish/Reports}/ReportParameter.d.ts +2 -1
- package/{Reports → _publish/Reports}/ReportRecurrence.d.ts +2 -2
- package/{Reports → _publish/Reports}/ReportResult.d.ts +9 -9
- package/{Reports → _publish/Reports}/ReportSchedule.d.ts +3 -3
- package/{Reports → _publish/Reports}/ReportScorecard.d.ts +3 -3
- package/{Reports → _publish/Reports}/ReportScorecardParameter.d.ts +2 -2
- package/{Reports → _publish/Reports}/ReportScorecardRules.d.ts +2 -2
- package/{Reports → _publish/Reports}/ReportSummary.d.ts +5 -33
- package/{Reports → _publish/Reports}/ReportTemplate.d.ts +3 -3
- package/{Reports → _publish/Reports}/ReportTotal.d.ts +2 -2
- package/_publish/index.d.ts +406 -0
- package/_publish/objects/API/Arrays.d.ts +46 -0
- package/_publish/objects/API/Base.d.ts +19 -0
- package/_publish/objects/API/BaseComponent.d.ts +40 -0
- package/{API/Compound.d.ts → _publish/objects/API/BaseCompound.d.ts} +3 -3
- package/_publish/objects/API/Codifier.d.ts +15 -0
- package/_publish/objects/API/Constants.d.ts +39 -0
- package/_publish/objects/API/Conversion.d.ts +255 -0
- package/_publish/objects/API/Encoding.d.ts +9 -0
- package/_publish/objects/API/Files.d.ts +21 -0
- package/_publish/objects/API/Functions.d.ts +196 -0
- package/_publish/objects/API/Geography/Functions.d.ts +236 -0
- package/_publish/objects/API/Geography/Interfaces.d.ts +150 -0
- package/_publish/objects/API/Geography/LatLng.d.ts +86 -0
- package/_publish/objects/API/Geography/LatLngBounds.d.ts +146 -0
- package/_publish/objects/API/Geography/Position.d.ts +74 -0
- package/_publish/objects/API/Geography/StreetAddress.d.ts +59 -0
- package/_publish/objects/API/Geometry/Functions.d.ts +114 -0
- package/_publish/objects/API/Geometry/Interfaces.d.ts +111 -0
- package/_publish/objects/API/Geometry/Point.d.ts +81 -0
- package/_publish/objects/API/Geometry/Radial.d.ts +110 -0
- package/_publish/objects/API/Geometry/Rectangle.d.ts +159 -0
- package/_publish/objects/API/Geometry/Size.d.ts +58 -0
- package/_publish/objects/API/Guid.d.ts +4 -0
- package/_publish/objects/API/Interfaces/IAmCompany.d.ts +11 -0
- package/_publish/objects/API/Interfaces/IBelongAsset.d.ts +15 -0
- package/_publish/objects/API/Interfaces/IBelongBillingProfile.d.ts +15 -0
- package/_publish/objects/API/Interfaces/IBelongCompany.d.ts +15 -0
- package/_publish/objects/API/Interfaces/IDeserializable.d.ts +13 -0
- package/_publish/objects/API/Interfaces/IEnabled.d.ts +10 -0
- package/_publish/objects/API/Interfaces/IFileSize.d.ts +9 -0
- package/_publish/objects/API/Interfaces/IGlobal.d.ts +11 -0
- package/_publish/objects/API/Interfaces/IHavePermissions.d.ts +20 -0
- package/_publish/objects/API/Interfaces/IHavePreferences.d.ts +29 -0
- package/_publish/objects/API/Interfaces/IIconic.d.ts +15 -0
- package/_publish/objects/API/Interfaces/IIdUlong.d.ts +10 -0
- package/_publish/objects/API/Interfaces/ILabelled.d.ts +10 -0
- package/_publish/objects/API/Interfaces/INamed.d.ts +13 -0
- package/_publish/objects/API/Interfaces/IPictured.d.ts +15 -0
- package/_publish/objects/API/Interfaces/IRequestable.d.ts +22 -0
- package/_publish/objects/API/Interfaces/ISerializable.d.ts +10 -0
- package/_publish/objects/API/Interfaces/ISuspendable.d.ts +16 -0
- package/_publish/objects/API/Interfaces/IVisual.d.ts +18 -0
- package/_publish/objects/API/Maps.d.ts +28 -0
- package/_publish/objects/API/Objects.d.ts +5 -0
- package/_publish/objects/API/SearchPattern.d.ts +46 -0
- package/_publish/objects/API/TimeSpan.d.ts +109 -0
- package/_publish/objects/API/Timezone.d.ts +44 -0
- package/_publish/objects/API/Timezones.d.ts +7 -0
- package/_publish/objects/API/Types.d.ts +132 -0
- package/_publish/objects/Accounts/Contact.d.ts +139 -0
- package/_publish/objects/Accounts/Machine.d.ts +139 -0
- package/_publish/objects/Accounts/MultiFactorType.d.ts +17 -0
- package/_publish/objects/Accounts/NotificationMethod.d.ts +17 -0
- package/_publish/objects/Accounts/Permissions/Authorizer.d.ts +204 -0
- package/_publish/objects/Accounts/Permissions/Permission.d.ts +56 -0
- package/_publish/objects/Accounts/Permissions/PermissionEscalation.d.ts +41 -0
- package/_publish/objects/Accounts/Permissions/PermissionEscalationState.d.ts +19 -0
- package/_publish/objects/Accounts/Permissions/PermissionEscalationType.d.ts +13 -0
- package/_publish/objects/Accounts/Permissions/PermissionLevel.d.ts +17 -0
- package/_publish/objects/Accounts/Permissions/PermissionMethod.d.ts +13 -0
- package/_publish/objects/Accounts/Permissions/PermissionType.d.ts +280 -0
- package/_publish/objects/Accounts/SSOIdentityProvider.d.ts +25 -0
- package/_publish/objects/Accounts/Session.d.ts +89 -0
- package/_publish/objects/Accounts/SessionStatus.d.ts +29 -0
- package/_publish/objects/Accounts/SystemsOfUnits.d.ts +13 -0
- package/_publish/objects/Accounts/User.d.ts +167 -0
- package/_publish/objects/Accounts/UserAdvanced.d.ts +53 -0
- package/_publish/objects/Accounts/UserAuthentication.d.ts +55 -0
- package/_publish/objects/Accounts/UserGeneral.d.ts +98 -0
- package/_publish/objects/Accounts/UserGroup.d.ts +51 -0
- package/_publish/objects/Accounts/UserMFA.d.ts +47 -0
- package/_publish/objects/Accounts/UserNotifications.d.ts +76 -0
- package/_publish/objects/Accounts/UserSSO.d.ts +37 -0
- package/_publish/objects/Assets/Asset.d.ts +218 -0
- package/_publish/objects/Assets/AssetAdvanced.d.ts +77 -0
- package/_publish/objects/Assets/AssetAttribute.d.ts +71 -0
- package/_publish/objects/Assets/AssetDispatch.d.ts +55 -0
- package/_publish/objects/Assets/AssetGeneral.d.ts +127 -0
- package/_publish/objects/Assets/AssetPlaceStatus.d.ts +31 -0
- package/_publish/objects/Assets/AssetPlaceStatusType.d.ts +17 -0
- package/_publish/objects/Assets/AssetType.d.ts +21 -0
- package/_publish/objects/Behaviours/Behaviour.d.ts +78 -0
- package/_publish/objects/Behaviours/BehaviourLog.d.ts +95 -0
- package/_publish/objects/Behaviours/BehaviourLogType.d.ts +21 -0
- package/_publish/objects/Behaviours/BehaviourParameter.d.ts +38 -0
- package/_publish/objects/Behaviours/BehaviourParameterType.d.ts +21 -0
- package/_publish/objects/Behaviours/BehaviourScript.d.ts +83 -0
- package/_publish/objects/Billing/BillableBase.d.ts +83 -0
- package/_publish/objects/Billing/BillableSmsProfile.d.ts +26 -0
- package/_publish/objects/Billing/BillingCurrency.d.ts +17 -0
- package/_publish/objects/Billing/BillingCycle.d.ts +17 -0
- package/_publish/objects/Billing/BillingProfile.d.ts +104 -0
- package/_publish/objects/Billing/Hosting/BillableHostingBase.d.ts +41 -0
- package/_publish/objects/Billing/Hosting/BillableHostingLicense.d.ts +30 -0
- package/_publish/objects/Billing/Hosting/BillableHostingLicenseType.d.ts +20 -0
- package/_publish/objects/Billing/Hosting/BillableHostingRule.d.ts +30 -0
- package/_publish/objects/Billing/Hosting/BillableHostingType.d.ts +41 -0
- package/_publish/objects/Billing/Report/BillingReport.d.ts +112 -0
- package/_publish/objects/Billing/Report/BillingReportBreakdown.d.ts +34 -0
- package/_publish/objects/Billing/Report/BillingReportHostingSummary.d.ts +36 -0
- package/_publish/objects/Billing/Report/BillingReportLicenseBreakdown.d.ts +79 -0
- package/_publish/objects/Billing/Report/BillingReportServiceBreakdown.d.ts +124 -0
- package/_publish/objects/Billing/Report/BillingReportStatus.d.ts +25 -0
- package/_publish/objects/Billing/Report/BillingReportSummary.d.ts +49 -0
- package/_publish/objects/Companies/ColourStyle.d.ts +25 -0
- package/_publish/objects/Companies/Company.d.ts +167 -0
- package/_publish/objects/Companies/CompanyDirectory.d.ts +52 -0
- package/_publish/objects/Companies/CompanyGeneral.d.ts +55 -0
- package/_publish/objects/Companies/CompanyPolicy.d.ts +66 -0
- package/_publish/objects/Companies/CompanyReseller.d.ts +166 -0
- package/_publish/objects/Companies/CompanyStyle.d.ts +50 -0
- package/_publish/objects/Companies/LabelStyle.d.ts +46 -0
- package/_publish/objects/Companies/NotificationServerEmail.d.ts +99 -0
- package/_publish/objects/Companies/NotificationServerSms.d.ts +25 -0
- package/_publish/objects/Companies/PasswordExpiryMode.d.ts +17 -0
- package/_publish/objects/Companies/PasswordPolicy.d.ts +51 -0
- package/_publish/objects/Companies/SessionMultiUser.d.ts +17 -0
- package/_publish/objects/Companies/SessionPolicy.d.ts +47 -0
- package/_publish/objects/Dispatch/DispatchDirection.d.ts +53 -0
- package/_publish/objects/Dispatch/DispatchJob.d.ts +107 -0
- package/_publish/objects/Dispatch/DispatchJobPriority.d.ts +25 -0
- package/_publish/objects/Dispatch/DispatchStep.d.ts +99 -0
- package/_publish/objects/Dispatch/DispatchStepState.d.ts +27 -0
- package/_publish/objects/Dispatch/DispatchStepStatus.d.ts +21 -0
- package/_publish/objects/Dispatch/DispatchTask.d.ts +154 -0
- package/_publish/objects/Dispatch/DispatchTaskStatus.d.ts +50 -0
- package/_publish/objects/Hosting/Document.d.ts +70 -0
- package/_publish/objects/Hosting/Fields/FormFieldAttachments.d.ts +31 -0
- package/_publish/objects/Hosting/Fields/FormFieldBase.d.ts +56 -0
- package/_publish/objects/Hosting/Fields/FormFieldBase_fromJSON.d.ts +1 -0
- package/_publish/objects/Hosting/Fields/FormFieldBoolean.d.ts +38 -0
- package/_publish/objects/Hosting/Fields/FormFieldChoice.d.ts +46 -0
- package/_publish/objects/Hosting/Fields/FormFieldDate.d.ts +26 -0
- package/_publish/objects/Hosting/Fields/FormFieldNumeric.d.ts +54 -0
- package/_publish/objects/Hosting/Fields/FormFieldNumericSize.d.ts +32 -0
- package/_publish/objects/Hosting/Fields/FormFieldSignature.d.ts +17 -0
- package/_publish/objects/Hosting/Fields/FormFieldText.d.ts +32 -0
- package/_publish/objects/Hosting/Fields/FormFieldTime.d.ts +37 -0
- package/_publish/objects/Hosting/Fields/FormFieldTimezone.d.ts +14 -0
- package/_publish/objects/Hosting/FormFieldType.d.ts +127 -0
- package/_publish/objects/Hosting/FormResult.d.ts +95 -0
- package/_publish/objects/Hosting/FormTemplate.d.ts +80 -0
- package/_publish/objects/Images/Dashcam.d.ts +63 -0
- package/_publish/objects/Images/DashcamBase.d.ts +97 -0
- package/_publish/objects/Images/DashcamLive.d.ts +36 -0
- package/_publish/objects/Images/DashcamMediaType.d.ts +17 -0
- package/_publish/objects/Images/Icon.d.ts +66 -0
- package/_publish/objects/Images/IconGlyph.d.ts +47 -0
- package/_publish/objects/Images/IconLabel.d.ts +29 -0
- package/_publish/objects/Images/IconLayer.d.ts +33 -0
- package/_publish/objects/Images/Picture.d.ts +72 -0
- package/_publish/objects/Maintenance/MaintenanceInterval.d.ts +48 -0
- package/_publish/objects/Maintenance/MaintenanceJob.d.ts +134 -0
- package/_publish/objects/Maintenance/MaintenanceJobStatus.d.ts +21 -0
- package/_publish/objects/Maintenance/MaintenanceSchedule.d.ts +118 -0
- package/_publish/objects/Messaging/AlertPriority.d.ts +17 -0
- package/_publish/objects/Messaging/AssetAlert.d.ts +29 -0
- package/_publish/objects/Messaging/AssetMessage.d.ts +40 -0
- package/_publish/objects/Messaging/MessageBase.d.ts +99 -0
- package/_publish/objects/Messaging/MessageFolder.d.ts +13 -0
- package/_publish/objects/Messaging/MessageStatus.d.ts +29 -0
- package/_publish/objects/Messaging/MessageType.d.ts +33 -0
- package/_publish/objects/Places/Place.d.ts +114 -0
- package/_publish/objects/Places/PlaceType.d.ts +25 -0
- package/_publish/objects/Providers/Config/ProviderConfig.d.ts +70 -0
- package/_publish/objects/Providers/Config/ProviderRegistration.d.ts +119 -0
- package/_publish/objects/Providers/Config/ProviderScript.d.ts +86 -0
- package/_publish/objects/Providers/Config/ProviderScriptBlock.d.ts +41 -0
- package/_publish/objects/Providers/Config/ProviderScriptParameter.d.ts +49 -0
- package/_publish/objects/Providers/Config/ProviderScriptParameterType.d.ts +17 -0
- package/_publish/objects/Providers/Configuration/ProviderConfiguration.d.ts +66 -0
- package/_publish/objects/Providers/Configuration/ProviderConfigurationNode.d.ts +66 -0
- package/_publish/objects/Providers/Configuration/ProviderConfigurationType.d.ts +62 -0
- package/_publish/objects/Providers/Configuration/ProviderGeofenceBase.d.ts +29 -0
- package/_publish/objects/Providers/Configuration/ProviderGeofenceBase_fromJSON.d.ts +1 -0
- package/_publish/objects/Providers/Configuration/ProviderGeofenceCircular.d.ts +28 -0
- package/_publish/objects/Providers/Configuration/ProviderGeofencePoint.d.ts +12 -0
- package/_publish/objects/Providers/Configuration/ProviderGeofencePolygon.d.ts +23 -0
- package/_publish/objects/Providers/Configuration/ProviderGeofenceRectangle.d.ts +28 -0
- package/{Providers → _publish/objects/Providers}/Provider.d.ts +77 -17
- package/_publish/objects/Providers/ProviderAdvanced.d.ts +50 -0
- package/_publish/objects/Providers/ProviderCommand.d.ts +36 -0
- package/_publish/objects/Providers/ProviderCommandStatus.d.ts +29 -0
- package/_publish/objects/Providers/ProviderCommandType.d.ts +37 -0
- package/_publish/objects/Providers/ProviderControl.d.ts +41 -0
- package/_publish/objects/Providers/ProviderData.d.ts +30 -0
- package/_publish/objects/Providers/ProviderGeneral.d.ts +121 -0
- package/_publish/objects/Providers/ProviderType.d.ts +106 -0
- package/_publish/objects/Reports/ReportBreakdown.d.ts +49 -0
- package/_publish/objects/Reports/ReportBreakdownJob.d.ts +37 -0
- package/_publish/objects/Reports/ReportBreakdownMessage.d.ts +40 -0
- package/_publish/objects/Reports/ReportBreakdownTask.d.ts +46 -0
- package/_publish/objects/Reports/ReportBreakdown_fromJSON.d.ts +1 -0
- package/_publish/objects/Reports/ReportFilterMode.d.ts +17 -0
- package/_publish/objects/Reports/ReportNotifications.d.ts +31 -0
- package/_publish/objects/Reports/ReportOptions.d.ts +52 -0
- package/_publish/objects/Reports/ReportParameter.d.ts +26 -0
- package/_publish/objects/Reports/ReportParameterType.d.ts +59 -0
- package/_publish/objects/Reports/ReportRecurrence.d.ts +54 -0
- package/_publish/objects/Reports/ReportRecurrenceType.d.ts +34 -0
- package/_publish/objects/Reports/ReportResult.d.ts +169 -0
- package/_publish/objects/Reports/ReportResultData.d.ts +17 -0
- package/_publish/objects/Reports/ReportSchedule.d.ts +111 -0
- package/_publish/objects/Reports/ReportScorecard.d.ts +38 -0
- package/_publish/objects/Reports/ReportScorecardParameter.d.ts +31 -0
- package/_publish/objects/Reports/ReportScorecardRules.d.ts +26 -0
- package/_publish/objects/Reports/ReportStatus.d.ts +29 -0
- package/_publish/objects/Reports/ReportSummary.d.ts +90 -0
- package/_publish/objects/Reports/ReportSummaryReason.d.ts +27 -0
- package/_publish/objects/Reports/ReportTemplate.d.ts +81 -0
- package/{Reports/ReportDataTotal.d.ts → _publish/objects/Reports/ReportTotal.d.ts} +4 -7
- package/_publish/objects/Reports/ReportType.d.ts +42 -0
- package/{Storage.d.ts → _publish/objects/storage.d.ts} +11 -1
- package/_publish/storage.d.ts +176 -0
- package/_publish/trakit-objects.min.js +8 -0
- package/package.json +36 -22
- package/API/Codifier.d.ts +0 -5
- package/API/Component.d.ts +0 -42
- package/API/Objects.d.ts +0 -33
- package/Assets/Person.d.ts +0 -25
- package/Assets/PersonGeneral.d.ts +0 -35
- package/Assets/Trailer.d.ts +0 -42
- package/Assets/TrailerGeneral.d.ts +0 -47
- package/Assets/Vehicle.d.ts +0 -73
- package/Assets/VehicleAdvanced.d.ts +0 -25
- package/Assets/VehicleGeneral.d.ts +0 -33
- package/Hosting/Fields/FormFieldTime.d.ts +0 -34
- package/Reports/ReportBreakdown.d.ts +0 -72
- package/Reports/ReportBreakdownJob.d.ts +0 -62
- package/Reports/ReportBreakdownMessage.d.ts +0 -65
- package/objects.d.ts +0 -534
- package/objects.min.js +0 -7
- /package/{API → _publish/API}/Arrays.d.ts +0 -0
- /package/{API → _publish/API}/BaseCompound.d.ts +0 -0
- /package/{API → _publish/API}/Constants.d.ts +0 -0
- /package/{API → _publish/API}/Conversion.d.ts +0 -0
- /package/{API → _publish/API}/Geometry/Interfaces.d.ts +0 -0
- /package/{API → _publish/API}/Guid.d.ts +0 -0
- /package/{API → _publish/API}/Interfaces/IAmCompany.d.ts +0 -0
- /package/{API → _publish/API}/Interfaces/IBelongAsset.d.ts +0 -0
- /package/{API → _publish/API}/Interfaces/IBelongBillingProfile.d.ts +0 -0
- /package/{API → _publish/API}/Interfaces/IBelongCompany.d.ts +0 -0
- /package/{API → _publish/API}/Interfaces/IEnabled.d.ts +0 -0
- /package/{API → _publish/API}/Interfaces/IFileSize.d.ts +0 -0
- /package/{API → _publish/API}/Interfaces/IGlobal.d.ts +0 -0
- /package/{API → _publish/API}/Interfaces/IHavePermissions.d.ts +0 -0
- /package/{API → _publish/API}/Interfaces/IHavePreferences.d.ts +0 -0
- /package/{API → _publish/API}/Interfaces/IIconic.d.ts +0 -0
- /package/{API → _publish/API}/Interfaces/IIdUlong.d.ts +0 -0
- /package/{API → _publish/API}/Interfaces/INamed.d.ts +0 -0
- /package/{API → _publish/API}/Interfaces/IPictured.d.ts +0 -0
- /package/{API → _publish/API}/Interfaces/ISerializable.d.ts +0 -0
- /package/{API → _publish/API}/Interfaces/ISuspendable.d.ts +0 -0
- /package/{API → _publish/API}/Interfaces/IVisual.d.ts +0 -0
- /package/{API → _publish/API}/Maps.d.ts +0 -0
- /package/{API → _publish/API}/Timezones.d.ts +0 -0
- /package/{Accounts → _publish/Accounts}/NotificationMethod.d.ts +0 -0
- /package/{Accounts → _publish/Accounts}/Permissions/Authorizer.d.ts +0 -0
- /package/{Accounts → _publish/Accounts}/Permissions/PermissionEscalationType.d.ts +0 -0
- /package/{Accounts → _publish/Accounts}/Permissions/PermissionLevel.d.ts +0 -0
- /package/{Accounts → _publish/Accounts}/Permissions/PermissionMethod.d.ts +0 -0
- /package/{Accounts → _publish/Accounts}/Permissions/PermissionType.d.ts +0 -0
- /package/{Accounts → _publish/Accounts}/SessionStatus.d.ts +0 -0
- /package/{Accounts → _publish/Accounts}/SystemsOfUnits.d.ts +0 -0
- /package/{Assets → _publish/Assets}/AssetPlaceStatusType.d.ts +0 -0
- /package/{Assets → _publish/Assets}/AssetType.d.ts +0 -0
- /package/{Behaviours → _publish/Behaviours}/BehaviourLogType.d.ts +0 -0
- /package/{Behaviours → _publish/Behaviours}/BehaviourParameterType.d.ts +0 -0
- /package/{Billing → _publish/Billing}/BillingCurrency.d.ts +0 -0
- /package/{Billing → _publish/Billing}/BillingCycle.d.ts +0 -0
- /package/{Billing → _publish/Billing}/Hosting/BillableHostingLicenseType.d.ts +0 -0
- /package/{Billing → _publish/Billing}/Hosting/BillableHostingType.d.ts +0 -0
- /package/{Billing → _publish/Billing}/Report/BillingReportStatus.d.ts +0 -0
- /package/{Companies → _publish/Companies}/PasswordExpiryMode.d.ts +0 -0
- /package/{Companies → _publish/Companies}/SessionMultiUser.d.ts +0 -0
- /package/{Dispatch → _publish/Dispatch}/DispatchJobPriority.d.ts +0 -0
- /package/{Dispatch → _publish/Dispatch}/DispatchStepStatus.d.ts +0 -0
- /package/{Dispatch → _publish/Dispatch}/DispatchTaskStatus.d.ts +0 -0
- /package/{Hosting → _publish/Hosting}/Fields/FormFieldNumericSize.d.ts +0 -0
- /package/{Hosting → _publish/Hosting}/FormFieldType.d.ts +0 -0
- /package/{Images → _publish/Images}/DashcamMediaType.d.ts +0 -0
- /package/{Images → _publish/Images}/IconLayer.d.ts +0 -0
- /package/{Maintenance → _publish/Maintenance}/MaintenanceJobStatus.d.ts +0 -0
- /package/{Messaging → _publish/Messaging}/AlertPriority.d.ts +0 -0
- /package/{Messaging → _publish/Messaging}/MessageFolder.d.ts +0 -0
- /package/{Messaging → _publish/Messaging}/MessageStatus.d.ts +0 -0
- /package/{Messaging → _publish/Messaging}/MessageType.d.ts +0 -0
- /package/{Places → _publish/Places}/PlaceType.d.ts +0 -0
- /package/{Providers → _publish/Providers}/Config/ProviderScriptParameterType.d.ts +0 -0
- /package/{Providers → _publish/Providers}/Configuration/ProviderGeofenceCircular.d.ts +0 -0
- /package/{Providers → _publish/Providers}/Configuration/ProviderGeofencePoint.d.ts +0 -0
- /package/{Providers → _publish/Providers}/Configuration/ProviderGeofencePolygon.d.ts +0 -0
- /package/{Providers → _publish/Providers}/Configuration/ProviderGeofenceRectangle.d.ts +0 -0
- /package/{Providers → _publish/Providers}/ProviderCommandStatus.d.ts +0 -0
- /package/{Providers → _publish/Providers}/ProviderCommandType.d.ts +0 -0
- /package/{Providers → _publish/Providers}/ProviderType.d.ts +0 -0
- /package/{Reports → _publish/Reports}/ReportFilterMode.d.ts +0 -0
- /package/{Reports → _publish/Reports}/ReportParameterType.d.ts +0 -0
- /package/{Reports → _publish/Reports}/ReportRecurrenceType.d.ts +0 -0
- /package/{Reports → _publish/Reports}/ReportResultData.d.ts +0 -0
- /package/{Reports → _publish/Reports}/ReportStatus.d.ts +0 -0
- /package/{Reports → _publish/Reports}/ReportSummaryReason.d.ts +0 -0
- /package/{Reports → _publish/Reports}/ReportType.d.ts +0 -0
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { IBelongAsset } from "../API/Interfaces/IBelongAsset";
|
|
2
|
+
import { ISerializable } from "../API/Interfaces/ISerializable";
|
|
3
|
+
import { double, JsonObject, ulong } from "../API/Types";
|
|
4
|
+
import { Asset } from "../Assets/Asset";
|
|
5
|
+
/**
|
|
6
|
+
* Scorecard generated from the results of this report.
|
|
7
|
+
*/
|
|
8
|
+
export declare class ReportScorecard implements ISerializable, IBelongAsset {
|
|
9
|
+
/**
|
|
10
|
+
*
|
|
11
|
+
* @param json
|
|
12
|
+
* @returns
|
|
13
|
+
*/
|
|
14
|
+
static fromJSON(json: JsonObject): ReportScorecard;
|
|
15
|
+
/**
|
|
16
|
+
* The asset to which this scorecard belongs.
|
|
17
|
+
* {@link Asset.id}
|
|
18
|
+
*/
|
|
19
|
+
assetId: ulong;
|
|
20
|
+
/**
|
|
21
|
+
* The {@link Asset} to which this scorecard belongs.
|
|
22
|
+
*/
|
|
23
|
+
get asset(): Asset;
|
|
24
|
+
/**
|
|
25
|
+
* Final score calculated based on scorecard rules.
|
|
26
|
+
*/
|
|
27
|
+
score: double;
|
|
28
|
+
/**
|
|
29
|
+
* Points per rule
|
|
30
|
+
*/
|
|
31
|
+
rulePoints: Map<string, double>;
|
|
32
|
+
constructor(asset?: ulong, score?: double, rulePoints?: Map<string, double>);
|
|
33
|
+
toJSON(): {
|
|
34
|
+
asset: number | null;
|
|
35
|
+
score: number;
|
|
36
|
+
rulePoints: JsonObject;
|
|
37
|
+
};
|
|
38
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { ISerializable } from "../API/Interfaces/ISerializable";
|
|
2
|
+
import { TimeSpan } from "../API/TimeSpan";
|
|
3
|
+
import { double, timespan, JsonObject } from "../API/Types";
|
|
4
|
+
/**
|
|
5
|
+
* Infraction parameter used to generate scorecard
|
|
6
|
+
*/
|
|
7
|
+
export declare class ReportScorecardParameter implements ISerializable {
|
|
8
|
+
/**
|
|
9
|
+
*
|
|
10
|
+
* @param json
|
|
11
|
+
*/
|
|
12
|
+
static fromJSON(json: JsonObject): ReportScorecardParameter;
|
|
13
|
+
/**
|
|
14
|
+
* Type of exception, example speeding, idling, etc.
|
|
15
|
+
*/
|
|
16
|
+
condition: string;
|
|
17
|
+
/**
|
|
18
|
+
* Threshold per instance. If the threshold is 0, each instance is used in the calculation
|
|
19
|
+
*/
|
|
20
|
+
duration: TimeSpan;
|
|
21
|
+
/**
|
|
22
|
+
* Points applied against the base score per instance
|
|
23
|
+
*/
|
|
24
|
+
points: double;
|
|
25
|
+
constructor(condition?: string, duration?: TimeSpan | timespan | number, points?: double);
|
|
26
|
+
toJSON(): {
|
|
27
|
+
condition: string;
|
|
28
|
+
duration: string;
|
|
29
|
+
points: number | null;
|
|
30
|
+
};
|
|
31
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { ISerializable } from "../API/Interfaces/ISerializable";
|
|
2
|
+
import { double, JsonObject } from "../API/Types";
|
|
3
|
+
import { ReportScorecardParameter } from "./ReportScorecardParameter";
|
|
4
|
+
/**
|
|
5
|
+
* Rules used for generating a scorecard.
|
|
6
|
+
*/
|
|
7
|
+
export declare class ReportScorecardRules implements ISerializable {
|
|
8
|
+
/**
|
|
9
|
+
*
|
|
10
|
+
* @param json
|
|
11
|
+
*/
|
|
12
|
+
static fromJSON(json: JsonObject): ReportScorecardRules;
|
|
13
|
+
/**
|
|
14
|
+
* Base score for the scorecard.
|
|
15
|
+
*/
|
|
16
|
+
baseScore: double;
|
|
17
|
+
/**
|
|
18
|
+
* Infraction parameters used to generate the final score
|
|
19
|
+
*/
|
|
20
|
+
parameters: ReportScorecardParameter[];
|
|
21
|
+
constructor(baseScore?: double, parameters?: ReportScorecardParameter[]);
|
|
22
|
+
toJSON(): {
|
|
23
|
+
baseScore: number | null;
|
|
24
|
+
parameters: any[];
|
|
25
|
+
};
|
|
26
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The lifetime of building a {@link ReportResult}.
|
|
3
|
+
*/
|
|
4
|
+
export declare enum ReportStatus {
|
|
5
|
+
/**
|
|
6
|
+
* The {@link ReportResult} has been requested, but not yet begun processing.
|
|
7
|
+
*/
|
|
8
|
+
created = "created",
|
|
9
|
+
/**
|
|
10
|
+
* The {@link ReportResult} is waiting for required resources to begin processing.
|
|
11
|
+
*/
|
|
12
|
+
queued = "queued",
|
|
13
|
+
/**
|
|
14
|
+
* The {@link ReportResult} is currently being processed.
|
|
15
|
+
*/
|
|
16
|
+
running = "running",
|
|
17
|
+
/**
|
|
18
|
+
* The {@link ReportResult} results have been calculated, and are being saved for review.
|
|
19
|
+
*/
|
|
20
|
+
saving = "saving",
|
|
21
|
+
/**
|
|
22
|
+
* The {@link ReportResult} is available for retrieval.
|
|
23
|
+
*/
|
|
24
|
+
completed = "completed",
|
|
25
|
+
/**
|
|
26
|
+
* There was an error processing the {@link ReportResult}; see the {@link ReportResult.error} for a description.
|
|
27
|
+
*/
|
|
28
|
+
failed = "failed"
|
|
29
|
+
}
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
import { ILatLng } from "../API/Geography/Interfaces";
|
|
2
|
+
import { LatLng } from "../API/Geography/LatLng";
|
|
3
|
+
import { IBelongAsset } from "../API/Interfaces/IBelongAsset";
|
|
4
|
+
import { ISerializable } from "../API/Interfaces/ISerializable";
|
|
5
|
+
import { TimeSpan } from "../API/TimeSpan";
|
|
6
|
+
import { datetime, double, nothing, uint, ulong, JsonObject } from "../API/Types";
|
|
7
|
+
import { Asset } from "../Assets/Asset";
|
|
8
|
+
import { ReportSummaryReason } from './ReportSummaryReason';
|
|
9
|
+
/**
|
|
10
|
+
* Summarized asset details.
|
|
11
|
+
*/
|
|
12
|
+
export declare class ReportSummary implements ISerializable, IBelongAsset {
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @param json
|
|
16
|
+
*/
|
|
17
|
+
static fromJSON(json: JsonObject): ReportSummary;
|
|
18
|
+
/**
|
|
19
|
+
* The asset to which this summary instance belongs.
|
|
20
|
+
* {@link Asset.id}
|
|
21
|
+
*/
|
|
22
|
+
assetId: ulong;
|
|
23
|
+
/**
|
|
24
|
+
* The {@link Asset} to which this summary instance belongs.
|
|
25
|
+
*/
|
|
26
|
+
get asset(): Asset;
|
|
27
|
+
/**
|
|
28
|
+
* Code given to this summary instance for an asset.
|
|
29
|
+
*/
|
|
30
|
+
stateDetail: string;
|
|
31
|
+
/**
|
|
32
|
+
* Identifier of the summary instance in the report.
|
|
33
|
+
*/
|
|
34
|
+
instance: uint;
|
|
35
|
+
/**
|
|
36
|
+
* The number of events included in calculating this summary instance.
|
|
37
|
+
*/
|
|
38
|
+
instancesCount: uint;
|
|
39
|
+
/**
|
|
40
|
+
* Date/time stamp of the first event in this summary's sequence.
|
|
41
|
+
*/
|
|
42
|
+
startingUtc: Date;
|
|
43
|
+
/**
|
|
44
|
+
* The reason code that this summary instance began.
|
|
45
|
+
*/
|
|
46
|
+
startingReason: ReportSummaryReason;
|
|
47
|
+
/**
|
|
48
|
+
* Date/time stamp of the last event in this summary's sequence.
|
|
49
|
+
*/
|
|
50
|
+
endingUtc: Date;
|
|
51
|
+
/**
|
|
52
|
+
* The reason code that this summary instance ended.
|
|
53
|
+
*/
|
|
54
|
+
endingReason: ReportSummaryReason;
|
|
55
|
+
/**
|
|
56
|
+
* The distance travelled in kilometres by the asset during this summary instance.
|
|
57
|
+
*/
|
|
58
|
+
distance: double;
|
|
59
|
+
/**
|
|
60
|
+
* The amount of time that passed.
|
|
61
|
+
*/
|
|
62
|
+
get duration(): TimeSpan;
|
|
63
|
+
/**
|
|
64
|
+
* A simplified polyline of all the asset's positions in sequence.
|
|
65
|
+
*/
|
|
66
|
+
polyline: LatLng[];
|
|
67
|
+
/**
|
|
68
|
+
* The first asset state which begins this summary instance.
|
|
69
|
+
*/
|
|
70
|
+
firstState: Asset | null;
|
|
71
|
+
/**
|
|
72
|
+
* The asset state that ended this summary instance.
|
|
73
|
+
*/
|
|
74
|
+
lastState: Asset | null;
|
|
75
|
+
constructor(asset: ulong, stateDetail: string, instance: uint, instancesCount: uint, startingUtc: Date | number | datetime, startingReason: ReportSummaryReason, endingUtc: Date | number | datetime, endingReason: ReportSummaryReason, distance?: double | nothing, polyline?: (ILatLng | JsonObject)[] | nothing, firstState?: Asset | nothing, lastState?: Asset | nothing);
|
|
76
|
+
toJSON(): {
|
|
77
|
+
asset: number | null;
|
|
78
|
+
stateDetail: string;
|
|
79
|
+
instance: number | null;
|
|
80
|
+
instancesCount: number | null;
|
|
81
|
+
startingUtc: string | null;
|
|
82
|
+
startingReason: ReportSummaryReason;
|
|
83
|
+
endingUtc: string | null;
|
|
84
|
+
endingReason: ReportSummaryReason;
|
|
85
|
+
distance: number | null;
|
|
86
|
+
polyline: any[];
|
|
87
|
+
firstState: JsonObject | null;
|
|
88
|
+
lastState: JsonObject | null;
|
|
89
|
+
};
|
|
90
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The kind of reason associated with the range caps for a summary instance.
|
|
3
|
+
*/
|
|
4
|
+
export declare enum ReportSummaryReason {
|
|
5
|
+
/**
|
|
6
|
+
* If the report starting/ending date range overlaps the actual start of the state.
|
|
7
|
+
*/
|
|
8
|
+
outsideRange = "outsideRange",
|
|
9
|
+
/**
|
|
10
|
+
* The targeting query starts or stops matching. For example, the Asset's labels were changed.
|
|
11
|
+
*/
|
|
12
|
+
targeted = "targeted",
|
|
13
|
+
/**
|
|
14
|
+
* The asset started/stopped matching the required state. For example, a status tag was added or removed.
|
|
15
|
+
*/
|
|
16
|
+
stateMatch = "stateMatch",
|
|
17
|
+
/**
|
|
18
|
+
* The summary instance elapsed a Rubicon or prolonged parameter, and was split into two summary instances.
|
|
19
|
+
* {@link ReportParameterType}
|
|
20
|
+
*/
|
|
21
|
+
split = "split",
|
|
22
|
+
/**
|
|
23
|
+
* The asset started/stopped matching the report filter settings. For example, they left a province or entered a Place.
|
|
24
|
+
* {@link ReportFilterMode}
|
|
25
|
+
*/
|
|
26
|
+
filterMatch = "filterMatch"
|
|
27
|
+
}
|
|
@@ -0,0 +1,81 @@
|
|
|
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 { JsonObject, codified, colour, ulong } from "../API/Types";
|
|
7
|
+
import { Company } from "../Companies/Company";
|
|
8
|
+
import { ReportOptions } from "./ReportOptions";
|
|
9
|
+
import { ReportType } from "./ReportType";
|
|
10
|
+
/**
|
|
11
|
+
* A partially created report used to quickly build results.
|
|
12
|
+
*/
|
|
13
|
+
export declare class ReportTemplate extends BaseComponent implements IIdUlong, INamed, IBelongCompany, IVisual {
|
|
14
|
+
/**
|
|
15
|
+
* Unique identifier
|
|
16
|
+
*/
|
|
17
|
+
id: ulong;
|
|
18
|
+
/**
|
|
19
|
+
* The company to which this template belongs.
|
|
20
|
+
* {@link Company.id}
|
|
21
|
+
*/
|
|
22
|
+
companyId: ulong;
|
|
23
|
+
/**
|
|
24
|
+
* The {@link Company} to which this template belongs.
|
|
25
|
+
*/
|
|
26
|
+
get company(): Company;
|
|
27
|
+
/**
|
|
28
|
+
* Refers to the type of logic used by this report.
|
|
29
|
+
*/
|
|
30
|
+
kind: ReportType;
|
|
31
|
+
/**
|
|
32
|
+
* Name of this report.
|
|
33
|
+
*/
|
|
34
|
+
name: string;
|
|
35
|
+
/**
|
|
36
|
+
* Notes about this report.
|
|
37
|
+
*/
|
|
38
|
+
notes: string;
|
|
39
|
+
/**
|
|
40
|
+
* Specified parameters for the report logic, targeted Assets, and filtering Places.
|
|
41
|
+
*/
|
|
42
|
+
options: ReportOptions | null;
|
|
43
|
+
/**
|
|
44
|
+
* The fill/background colour of the icon.
|
|
45
|
+
*/
|
|
46
|
+
fill: colour;
|
|
47
|
+
/**
|
|
48
|
+
* Outline and graphic colour.
|
|
49
|
+
*/
|
|
50
|
+
stroke: colour;
|
|
51
|
+
/**
|
|
52
|
+
* The name of the symbol for this report.
|
|
53
|
+
*/
|
|
54
|
+
graphic: codified;
|
|
55
|
+
toJSON(): {
|
|
56
|
+
id: number | null;
|
|
57
|
+
company: number | null;
|
|
58
|
+
v: number[];
|
|
59
|
+
name: string;
|
|
60
|
+
notes: string;
|
|
61
|
+
options: {
|
|
62
|
+
parameters: any[];
|
|
63
|
+
targets: string | null;
|
|
64
|
+
filtering: import("./ReportFilterMode").ReportFilterMode;
|
|
65
|
+
places: string | null;
|
|
66
|
+
regions: string[];
|
|
67
|
+
scorecardRules: {
|
|
68
|
+
baseScore: number | null;
|
|
69
|
+
parameters: any[];
|
|
70
|
+
} | null;
|
|
71
|
+
} | null;
|
|
72
|
+
fill: string;
|
|
73
|
+
stroke: string;
|
|
74
|
+
graphic: string;
|
|
75
|
+
};
|
|
76
|
+
fromJSON(json: JsonObject, force?: boolean): boolean;
|
|
77
|
+
/**
|
|
78
|
+
* The {@link id} is the key.
|
|
79
|
+
*/
|
|
80
|
+
getKey(): number;
|
|
81
|
+
}
|
|
@@ -1,30 +1,27 @@
|
|
|
1
1
|
import { ISerializable } from "../API/Interfaces/ISerializable";
|
|
2
2
|
import { TimeSpan } from "../API/TimeSpan";
|
|
3
|
-
import { double, timespan, uint, ulong } from "../API/Types";
|
|
3
|
+
import { double, timespan, uint, ulong, JsonObject } from "../API/Types";
|
|
4
4
|
import { Asset } from "../Assets/Asset";
|
|
5
5
|
/**
|
|
6
6
|
* Totalled information from all the results of the report.
|
|
7
|
-
* <override name="ReportTotal" />
|
|
8
7
|
*/
|
|
9
|
-
export declare class
|
|
8
|
+
export declare class ReportTotal implements ISerializable {
|
|
10
9
|
/**
|
|
11
10
|
*
|
|
12
11
|
* @param json
|
|
13
12
|
*/
|
|
14
|
-
static fromJSON(json:
|
|
13
|
+
static fromJSON(json: JsonObject): ReportTotal;
|
|
15
14
|
/**
|
|
16
15
|
* The asset to which this report total belongs.
|
|
17
16
|
* {@link Asset.id}
|
|
18
17
|
*/
|
|
19
18
|
assetId: ulong;
|
|
20
19
|
/**
|
|
21
|
-
* The
|
|
22
|
-
* {@link Asset.id}
|
|
20
|
+
* The {@link Asset} to which this report total belongs.
|
|
23
21
|
*/
|
|
24
22
|
get asset(): Asset;
|
|
25
23
|
/**
|
|
26
24
|
* Unique code given to the report total.
|
|
27
|
-
* <override max-length="100" />
|
|
28
25
|
*/
|
|
29
26
|
stateDetail: string;
|
|
30
27
|
/**
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The type of logic used by the report runner.
|
|
3
|
+
*/
|
|
4
|
+
export declare enum ReportType {
|
|
5
|
+
/**
|
|
6
|
+
* Processes all history for the assets.
|
|
7
|
+
*/
|
|
8
|
+
full = "full",
|
|
9
|
+
/**
|
|
10
|
+
* Summarizes the timeline based on the given tags.
|
|
11
|
+
*/
|
|
12
|
+
tags = "tags",
|
|
13
|
+
/**
|
|
14
|
+
* Summarizes the timeline based on places visited.
|
|
15
|
+
*/
|
|
16
|
+
places = "places",
|
|
17
|
+
/**
|
|
18
|
+
* Processes the log of messages sent to and from the assets.
|
|
19
|
+
*/
|
|
20
|
+
messages = "messages",
|
|
21
|
+
/**
|
|
22
|
+
* Summarizes the timeline based on the asset's task's lifetimes.
|
|
23
|
+
* @deprecated Use `ReportType.jobs` instead
|
|
24
|
+
*/
|
|
25
|
+
tasks = "tasks",
|
|
26
|
+
/**
|
|
27
|
+
* Summarizes the timeline based on the given attributes and thresholds.
|
|
28
|
+
*/
|
|
29
|
+
attributes = "attributes",
|
|
30
|
+
/**
|
|
31
|
+
* Summarizes the timeline based on the regions (cities, provinces/states, countries) through which the assets travelled.
|
|
32
|
+
*/
|
|
33
|
+
regions = "regions",
|
|
34
|
+
/**
|
|
35
|
+
* Summarizes the timeline based on the asset's jobs's lifetimes.
|
|
36
|
+
*/
|
|
37
|
+
jobs = "jobs",
|
|
38
|
+
/**
|
|
39
|
+
* Summarizes the timeline by day, week, and month based on the asset's positions.
|
|
40
|
+
*/
|
|
41
|
+
positions = "positions"
|
|
42
|
+
}
|
|
@@ -3,7 +3,7 @@ import { Machine } from './Accounts/Machine';
|
|
|
3
3
|
import { Session } from './Accounts/Session';
|
|
4
4
|
import { User } from './Accounts/User';
|
|
5
5
|
import { UserGroup } from './Accounts/UserGroup';
|
|
6
|
-
import { email, ulong } from './API/Types';
|
|
6
|
+
import { email, guid, ulong } from './API/Types';
|
|
7
7
|
import { Asset } from './Assets/Asset';
|
|
8
8
|
import { Behaviour } from './Behaviours/Behaviour';
|
|
9
9
|
import { BehaviourLog } from './Behaviours/BehaviourLog';
|
|
@@ -18,6 +18,7 @@ import { DispatchTask } from './Dispatch/DispatchTask';
|
|
|
18
18
|
import { Document } from './Hosting/Document';
|
|
19
19
|
import { FormResult } from './Hosting/FormResult';
|
|
20
20
|
import { FormTemplate } from './Hosting/FormTemplate';
|
|
21
|
+
import { Dashcam } from './Images/Dashcam';
|
|
21
22
|
import { Icon } from './Images/Icon';
|
|
22
23
|
import { Picture } from './Images/Picture';
|
|
23
24
|
import { MaintenanceJob } from './Maintenance/MaintenanceJob';
|
|
@@ -25,6 +26,7 @@ import { MaintenanceSchedule } from './Maintenance/MaintenanceSchedule';
|
|
|
25
26
|
import { AssetMessage } from './Messaging/AssetMessage';
|
|
26
27
|
import { Place } from './Places/Place';
|
|
27
28
|
import { ProviderConfig } from './Providers/Config/ProviderConfig';
|
|
29
|
+
import { ProviderRegistration } from './Providers/Config/ProviderRegistration';
|
|
28
30
|
import { ProviderScript } from './Providers/Config/ProviderScript';
|
|
29
31
|
import { ProviderConfiguration } from './Providers/Configuration/ProviderConfiguration';
|
|
30
32
|
import { ProviderConfigurationType } from './Providers/Configuration/ProviderConfigurationType';
|
|
@@ -120,6 +122,10 @@ export declare const PICTURES: Map<ulong, Picture>;
|
|
|
120
122
|
*
|
|
121
123
|
*/
|
|
122
124
|
export declare const ICONS: Map<ulong, Icon>;
|
|
125
|
+
/**
|
|
126
|
+
*
|
|
127
|
+
*/
|
|
128
|
+
export declare const DASHCAMS: Map<guid, Dashcam>;
|
|
123
129
|
/**
|
|
124
130
|
*
|
|
125
131
|
*/
|
|
@@ -152,6 +158,10 @@ export declare const PROVIDER_CONFIGURATION_TYPES: Map<ulong, ProviderConfigurat
|
|
|
152
158
|
*
|
|
153
159
|
*/
|
|
154
160
|
export declare const PROVIDER_CONFIGURATIONS: Map<ulong, ProviderConfiguration>;
|
|
161
|
+
/**
|
|
162
|
+
*
|
|
163
|
+
*/
|
|
164
|
+
export declare const PROVIDER_REGISTRATIONS: Map<string, ProviderRegistration>;
|
|
155
165
|
/**
|
|
156
166
|
*
|
|
157
167
|
*/
|
|
@@ -0,0 +1,176 @@
|
|
|
1
|
+
import { Contact } from './Accounts/Contact';
|
|
2
|
+
import { Machine } from './Accounts/Machine';
|
|
3
|
+
import { Session } from './Accounts/Session';
|
|
4
|
+
import { User } from './Accounts/User';
|
|
5
|
+
import { UserGroup } from './Accounts/UserGroup';
|
|
6
|
+
import { email, guid, ulong } from './API/Types';
|
|
7
|
+
import { Asset } from './Assets/Asset';
|
|
8
|
+
import { Behaviour } from './Behaviours/Behaviour';
|
|
9
|
+
import { BehaviourLog } from './Behaviours/BehaviourLog';
|
|
10
|
+
import { BehaviourScript } from './Behaviours/BehaviourScript';
|
|
11
|
+
import { BillingProfile } from './Billing/BillingProfile';
|
|
12
|
+
import { BillableHostingLicense } from './Billing/Hosting/BillableHostingLicense';
|
|
13
|
+
import { BillableHostingRule } from './Billing/Hosting/BillableHostingRule';
|
|
14
|
+
import { BillingReport } from './Billing/Report/BillingReport';
|
|
15
|
+
import { Company } from './Companies/Company';
|
|
16
|
+
import { DispatchJob } from './Dispatch/DispatchJob';
|
|
17
|
+
import { DispatchTask } from './Dispatch/DispatchTask';
|
|
18
|
+
import { Document } from './Hosting/Document';
|
|
19
|
+
import { FormResult } from './Hosting/FormResult';
|
|
20
|
+
import { FormTemplate } from './Hosting/FormTemplate';
|
|
21
|
+
import { Dashcam } from './Images/Dashcam';
|
|
22
|
+
import { Icon } from './Images/Icon';
|
|
23
|
+
import { Picture } from './Images/Picture';
|
|
24
|
+
import { MaintenanceJob } from './Maintenance/MaintenanceJob';
|
|
25
|
+
import { MaintenanceSchedule } from './Maintenance/MaintenanceSchedule';
|
|
26
|
+
import { AssetMessage } from './Messaging/AssetMessage';
|
|
27
|
+
import { Place } from './Places/Place';
|
|
28
|
+
import { ProviderConfig } from './Providers/Config/ProviderConfig';
|
|
29
|
+
import { ProviderRegistration } from './Providers/Config/ProviderRegistration';
|
|
30
|
+
import { ProviderScript } from './Providers/Config/ProviderScript';
|
|
31
|
+
import { ProviderConfiguration } from './Providers/Configuration/ProviderConfiguration';
|
|
32
|
+
import { ProviderConfigurationType } from './Providers/Configuration/ProviderConfigurationType';
|
|
33
|
+
import { Provider } from './Providers/Provider';
|
|
34
|
+
import { ReportResult } from './Reports/ReportResult';
|
|
35
|
+
import { ReportSchedule } from './Reports/ReportSchedule';
|
|
36
|
+
import { ReportTemplate } from './Reports/ReportTemplate';
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
*/
|
|
40
|
+
export declare const COMPANIES: Map<ulong, Company>;
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
*/
|
|
44
|
+
export declare const CONTACTS: Map<ulong, Contact>;
|
|
45
|
+
/**
|
|
46
|
+
*
|
|
47
|
+
*/
|
|
48
|
+
export declare const MACHINES: Map<string, Machine>;
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
*/
|
|
52
|
+
export declare const USERS: Map<email, User>;
|
|
53
|
+
/**
|
|
54
|
+
*
|
|
55
|
+
*/
|
|
56
|
+
export declare const GROUPS: Map<ulong, UserGroup>;
|
|
57
|
+
/**
|
|
58
|
+
*
|
|
59
|
+
*/
|
|
60
|
+
export declare const SESSIONS: Map<string, Session>;
|
|
61
|
+
/**
|
|
62
|
+
*
|
|
63
|
+
*/
|
|
64
|
+
export declare const ASSETS: Map<ulong, Asset>;
|
|
65
|
+
/**
|
|
66
|
+
*
|
|
67
|
+
*/
|
|
68
|
+
export declare const MESSAGES: Map<ulong, AssetMessage>;
|
|
69
|
+
/**
|
|
70
|
+
*
|
|
71
|
+
*/
|
|
72
|
+
export declare const BEHAVIOURS: Map<ulong, Behaviour>;
|
|
73
|
+
/**
|
|
74
|
+
*
|
|
75
|
+
*/
|
|
76
|
+
export declare const BEHAVIOUR_SCRIPTS: Map<ulong, BehaviourScript>;
|
|
77
|
+
/**
|
|
78
|
+
*
|
|
79
|
+
*/
|
|
80
|
+
export declare const BEHAVIOUR_LOGS: Map<ulong, BehaviourLog>;
|
|
81
|
+
/**
|
|
82
|
+
*
|
|
83
|
+
*/
|
|
84
|
+
export declare const BILLING_PROFILES: Map<ulong, BillingProfile>;
|
|
85
|
+
/**
|
|
86
|
+
*
|
|
87
|
+
*/
|
|
88
|
+
export declare const BILLING_REPORTS: Map<ulong, BillingReport>;
|
|
89
|
+
/**
|
|
90
|
+
*
|
|
91
|
+
*/
|
|
92
|
+
export declare const BILLING_RULES: Map<ulong, BillableHostingRule>;
|
|
93
|
+
/**
|
|
94
|
+
*
|
|
95
|
+
*/
|
|
96
|
+
export declare const BILLING_LICENSES: Map<ulong, BillableHostingLicense>;
|
|
97
|
+
/**
|
|
98
|
+
*
|
|
99
|
+
*/
|
|
100
|
+
export declare const DISPATCH_TASKS: Map<ulong, DispatchTask>;
|
|
101
|
+
/**
|
|
102
|
+
*
|
|
103
|
+
*/
|
|
104
|
+
export declare const DISPATCH_JOBS: Map<ulong, DispatchJob>;
|
|
105
|
+
/**
|
|
106
|
+
*
|
|
107
|
+
*/
|
|
108
|
+
export declare const DOCUMENTS: Map<ulong, Document>;
|
|
109
|
+
/**
|
|
110
|
+
*
|
|
111
|
+
*/
|
|
112
|
+
export declare const FORM_TEMPLATES: Map<ulong, FormTemplate>;
|
|
113
|
+
/**
|
|
114
|
+
*
|
|
115
|
+
*/
|
|
116
|
+
export declare const FORM_RESULTS: Map<ulong, FormResult>;
|
|
117
|
+
/**
|
|
118
|
+
*
|
|
119
|
+
*/
|
|
120
|
+
export declare const PICTURES: Map<ulong, Picture>;
|
|
121
|
+
/**
|
|
122
|
+
*
|
|
123
|
+
*/
|
|
124
|
+
export declare const ICONS: Map<ulong, Icon>;
|
|
125
|
+
/**
|
|
126
|
+
*
|
|
127
|
+
*/
|
|
128
|
+
export declare const DASHCAMS: Map<guid, Dashcam>;
|
|
129
|
+
/**
|
|
130
|
+
*
|
|
131
|
+
*/
|
|
132
|
+
export declare const MAINTENANCE_SCHEDULES: Map<ulong, MaintenanceSchedule>;
|
|
133
|
+
/**
|
|
134
|
+
*
|
|
135
|
+
*/
|
|
136
|
+
export declare const MAINTENANCE_JOBS: Map<ulong, MaintenanceJob>;
|
|
137
|
+
/**
|
|
138
|
+
*
|
|
139
|
+
*/
|
|
140
|
+
export declare const PLACES: Map<ulong, Place>;
|
|
141
|
+
/**
|
|
142
|
+
*
|
|
143
|
+
*/
|
|
144
|
+
export declare const PROVIDERS: Map<string, Provider>;
|
|
145
|
+
/**
|
|
146
|
+
*
|
|
147
|
+
*/
|
|
148
|
+
export declare const PROVIDER_SCRIPTS: Map<ulong, ProviderScript>;
|
|
149
|
+
/**
|
|
150
|
+
*
|
|
151
|
+
*/
|
|
152
|
+
export declare const PROVIDER_CONFIGS: Map<ulong, ProviderConfig>;
|
|
153
|
+
/**
|
|
154
|
+
*
|
|
155
|
+
*/
|
|
156
|
+
export declare const PROVIDER_CONFIGURATION_TYPES: Map<ulong, ProviderConfigurationType>;
|
|
157
|
+
/**
|
|
158
|
+
*
|
|
159
|
+
*/
|
|
160
|
+
export declare const PROVIDER_CONFIGURATIONS: Map<ulong, ProviderConfiguration>;
|
|
161
|
+
/**
|
|
162
|
+
*
|
|
163
|
+
*/
|
|
164
|
+
export declare const PROVIDER_REGISTRATIONS: Map<string, ProviderRegistration>;
|
|
165
|
+
/**
|
|
166
|
+
*
|
|
167
|
+
*/
|
|
168
|
+
export declare const REPORT_TEMPLATES: Map<ulong, ReportTemplate>;
|
|
169
|
+
/**
|
|
170
|
+
*
|
|
171
|
+
*/
|
|
172
|
+
export declare const REPORT_SCHEDULES: Map<ulong, ReportSchedule>;
|
|
173
|
+
/**
|
|
174
|
+
*
|
|
175
|
+
*/
|
|
176
|
+
export declare const REPORT_RESULTS: Map<ulong, ReportResult>;
|