@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
|
@@ -4,7 +4,7 @@ import { IGlobal } from "../../API/Interfaces/IGlobal";
|
|
|
4
4
|
import { IIdUlong } from "../../API/Interfaces/IIdUlong";
|
|
5
5
|
import { INamed } from "../../API/Interfaces/INamed";
|
|
6
6
|
import { IVisual } from "../../API/Interfaces/IVisual";
|
|
7
|
-
import { codified, colour, ulong } from "../../API/Types";
|
|
7
|
+
import { JsonObject, codified, colour, ulong } from "../../API/Types";
|
|
8
8
|
import { Company } from "../../Companies/Company";
|
|
9
9
|
import { ProviderType } from "../ProviderType";
|
|
10
10
|
import { ProviderScriptBlock } from "./ProviderScriptBlock";
|
|
@@ -77,11 +77,11 @@ export declare class ProviderScript extends BaseComponent implements IIdUlong, I
|
|
|
77
77
|
global: boolean;
|
|
78
78
|
kind: ProviderType;
|
|
79
79
|
blocks: any[];
|
|
80
|
-
parameters:
|
|
80
|
+
parameters: JsonObject;
|
|
81
81
|
};
|
|
82
|
-
fromJSON(json:
|
|
82
|
+
fromJSON(json: JsonObject, force?: boolean): boolean;
|
|
83
83
|
/**
|
|
84
84
|
* The {@link id} is the key.
|
|
85
85
|
*/
|
|
86
|
-
getKey():
|
|
86
|
+
getKey(): number;
|
|
87
87
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { ISerializable } from "../../API/Interfaces/ISerializable";
|
|
2
|
+
import { JsonObject } from "../../API/Types";
|
|
2
3
|
/**
|
|
3
4
|
* A chunk of script and variables used to assemble a working ProviderScript.
|
|
4
5
|
*/
|
|
@@ -8,7 +9,7 @@ export declare class ProviderScriptBlock implements ISerializable {
|
|
|
8
9
|
* @param json
|
|
9
10
|
* @returns
|
|
10
11
|
*/
|
|
11
|
-
static fromJSON(json:
|
|
12
|
+
static fromJSON(json: JsonObject): ProviderScriptBlock;
|
|
12
13
|
/**
|
|
13
14
|
* A chunk of the file loaded onto a provider with it's variables replaced with configurable variables.
|
|
14
15
|
* Trailing or leading whitespace should be included here, so when blocks are merged, so too is the newline characters.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ISerializable } from "../../API/Interfaces/ISerializable";
|
|
2
|
-
import { uint } from "../../API/Types";
|
|
2
|
+
import { uint, JsonObject } from "../../API/Types";
|
|
3
3
|
import { ProviderScriptParameterType } from "./ProviderScriptParameterType";
|
|
4
4
|
/**
|
|
5
5
|
* Definition of an argument passed to a ProviderScript.
|
|
@@ -10,7 +10,7 @@ export declare class ProviderScriptParameter implements ISerializable {
|
|
|
10
10
|
* @param json
|
|
11
11
|
* @returns
|
|
12
12
|
*/
|
|
13
|
-
static fromJSON(json:
|
|
13
|
+
static fromJSON(json: JsonObject): ProviderScriptParameter;
|
|
14
14
|
/**
|
|
15
15
|
* Simple type information for the gateway to process.
|
|
16
16
|
*/
|
|
@@ -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 { ulong } from "../../API/Types";
|
|
5
|
+
import { JsonObject, ulong } from "../../API/Types";
|
|
6
6
|
import { Company } from "../../Companies/Company";
|
|
7
7
|
import { ProviderConfigurationType } from "./ProviderConfigurationType";
|
|
8
8
|
/**
|
|
@@ -57,12 +57,12 @@ export declare class ProviderConfiguration extends BaseComponent implements IIdU
|
|
|
57
57
|
name: string;
|
|
58
58
|
notes: string;
|
|
59
59
|
type: number | null;
|
|
60
|
-
scriptParameters:
|
|
60
|
+
scriptParameters: JsonObject;
|
|
61
61
|
geofences: number[];
|
|
62
62
|
};
|
|
63
|
-
fromJSON(json:
|
|
63
|
+
fromJSON(json: JsonObject, force?: boolean): boolean;
|
|
64
64
|
/**
|
|
65
65
|
* The {@link id} is the key.
|
|
66
66
|
*/
|
|
67
|
-
getKey():
|
|
67
|
+
getKey(): number;
|
|
68
68
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { ISerializable } from '../../API/Interfaces/ISerializable';
|
|
2
|
+
import { JsonObject } from '../../API/Types';
|
|
2
3
|
/**
|
|
3
4
|
* This tree-like structure is given to the script processor for the device type so that the device can follow a program.
|
|
4
5
|
* @deprecated Use ProviderScriptBlock instead
|
|
@@ -8,12 +9,12 @@ export declare class ProviderConfigurationNode implements ISerializable {
|
|
|
8
9
|
*
|
|
9
10
|
* @param json
|
|
10
11
|
*/
|
|
11
|
-
static nodesFromJSON(json:
|
|
12
|
+
static nodesFromJSON(json: JsonObject): Map<string, ProviderConfigurationNode>;
|
|
12
13
|
/**
|
|
13
14
|
*
|
|
14
15
|
* @param json
|
|
15
16
|
*/
|
|
16
|
-
static fromJSON(json:
|
|
17
|
+
static fromJSON(json: JsonObject): ProviderConfigurationNode;
|
|
17
18
|
/**
|
|
18
19
|
* Indicates that this configuration is an advanced property and should only be set by someone who knows what they're doing.
|
|
19
20
|
*/
|
|
@@ -60,6 +61,6 @@ export declare class ProviderConfigurationNode implements ISerializable {
|
|
|
60
61
|
unit: string;
|
|
61
62
|
notes: string;
|
|
62
63
|
isAdvanced: boolean;
|
|
63
|
-
nodes:
|
|
64
|
+
nodes: JsonObject;
|
|
64
65
|
};
|
|
65
66
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { BaseComponent } from "../../API/BaseComponent";
|
|
2
2
|
import { IIdUlong } from "../../API/Interfaces/IIdUlong";
|
|
3
3
|
import { INamed } from "../../API/Interfaces/INamed";
|
|
4
|
-
import { uint, ulong } from "../../API/Types";
|
|
4
|
+
import { JsonObject, uint, ulong } from "../../API/Types";
|
|
5
5
|
import { PlaceType } from "../../Places/PlaceType";
|
|
6
6
|
import { ProviderType } from "../ProviderType";
|
|
7
7
|
import { ProviderConfigurationNode } from "./ProviderConfigurationNode";
|
|
@@ -51,12 +51,12 @@ export declare class ProviderConfigurationType extends BaseComponent implements
|
|
|
51
51
|
providerType: ProviderType;
|
|
52
52
|
maxGeofenceCount: number | null;
|
|
53
53
|
minGeofenceCount: number | null;
|
|
54
|
-
scriptOptions:
|
|
54
|
+
scriptOptions: JsonObject;
|
|
55
55
|
geofenceTypes: PlaceType[];
|
|
56
56
|
};
|
|
57
|
-
fromJSON(json:
|
|
57
|
+
fromJSON(json: JsonObject, force?: boolean): boolean;
|
|
58
58
|
/**
|
|
59
59
|
* The {@link id} is the key.
|
|
60
60
|
*/
|
|
61
|
-
getKey():
|
|
61
|
+
getKey(): number;
|
|
62
62
|
}
|
|
@@ -1,20 +1,18 @@
|
|
|
1
1
|
import { ISerializable } from "../../API/Interfaces/ISerializable";
|
|
2
|
-
import { uint } from "../../API/Types";
|
|
2
|
+
import { JsonObject, uint } from "../../API/Types";
|
|
3
3
|
import { PlaceType } from "../../Places/PlaceType";
|
|
4
|
-
import { ProviderGeofenceCircular } from "./ProviderGeofenceCircular";
|
|
5
|
-
import { ProviderGeofencePoint } from "./ProviderGeofencePoint";
|
|
6
|
-
import { ProviderGeofencePolygon } from "./ProviderGeofencePolygon";
|
|
7
|
-
import { ProviderGeofenceRectangle } from "./ProviderGeofenceRectangle";
|
|
8
4
|
/**
|
|
9
5
|
* An abstract class used as a base for all Geofence type classes.
|
|
10
6
|
* @deprecated
|
|
11
7
|
*/
|
|
12
8
|
export declare abstract class ProviderGeofenceBase implements ISerializable {
|
|
13
9
|
/**
|
|
14
|
-
*
|
|
15
|
-
* @
|
|
10
|
+
* Instantiates a geofence based on the `type` property in the given JSON.
|
|
11
|
+
* Implementation is in {@link ProviderGeofenceBase_fromJSON.ts}
|
|
12
|
+
* @param json The JSON to parse.
|
|
13
|
+
* @returns An instance of a {@link ProviderGeofenceBase} subclass.
|
|
16
14
|
*/
|
|
17
|
-
static fromJSON(json:
|
|
15
|
+
static fromJSON: (json: JsonObject) => ProviderGeofenceBase;
|
|
18
16
|
/**
|
|
19
17
|
* The supported shape of geofence.
|
|
20
18
|
*/
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,211 @@
|
|
|
1
|
+
import { BaseComponent } from "../API/BaseComponent";
|
|
2
|
+
import { BaseCompound } from "../API/BaseCompound";
|
|
3
|
+
import { IBelongCompany } from "../API/Interfaces/IBelongCompany";
|
|
4
|
+
import { INamed } from "../API/Interfaces/INamed";
|
|
5
|
+
import { ISuspendable } from "../API/Interfaces/ISuspendable";
|
|
6
|
+
import { JsonObject, ipv4, phone, ulong } from "../API/Types";
|
|
7
|
+
import { Asset } from "../Assets/Asset";
|
|
8
|
+
import { Company } from "../Companies/Company";
|
|
9
|
+
import { ProviderConfig } from "./Config/ProviderConfig";
|
|
10
|
+
import { ProviderConfiguration } from "./Configuration/ProviderConfiguration";
|
|
11
|
+
import { ProviderAdvanced } from "./ProviderAdvanced";
|
|
12
|
+
import { ProviderCommand } from "./ProviderCommand";
|
|
13
|
+
import { ProviderCommandType } from "./ProviderCommandType";
|
|
14
|
+
import { ProviderControl } from "./ProviderControl";
|
|
15
|
+
import { ProviderData } from "./ProviderData";
|
|
16
|
+
import { ProviderGeneral } from "./ProviderGeneral";
|
|
17
|
+
import { ProviderType } from "./ProviderType";
|
|
18
|
+
/**
|
|
19
|
+
* A device, modem, or service which provides events from the field.
|
|
20
|
+
*/
|
|
21
|
+
export declare class Provider extends BaseCompound implements INamed, IBelongCompany, ISuspendable {
|
|
22
|
+
#private;
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
get pieces(): BaseComponent[];
|
|
27
|
+
/**
|
|
28
|
+
* Unique identifier of this device.
|
|
29
|
+
* {@link Asset.id}
|
|
30
|
+
*/
|
|
31
|
+
get id(): string;
|
|
32
|
+
/**
|
|
33
|
+
* The company to which this device belongs.
|
|
34
|
+
* {@link Company.id}
|
|
35
|
+
*/
|
|
36
|
+
get companyId(): ulong;
|
|
37
|
+
/**
|
|
38
|
+
* The company to which this device belongs.
|
|
39
|
+
* {@link Company.id}
|
|
40
|
+
*/
|
|
41
|
+
get company(): Company;
|
|
42
|
+
set company(value: Company);
|
|
43
|
+
/**
|
|
44
|
+
* The kind of communication protocol this device uses.
|
|
45
|
+
*/
|
|
46
|
+
get kind(): ProviderType;
|
|
47
|
+
get general(): ProviderGeneral;
|
|
48
|
+
/**
|
|
49
|
+
* This thing's name.
|
|
50
|
+
*/
|
|
51
|
+
get name(): string;
|
|
52
|
+
set name(value: string);
|
|
53
|
+
/**
|
|
54
|
+
* Notes about it.
|
|
55
|
+
*/
|
|
56
|
+
get notes(): string;
|
|
57
|
+
set notes(value: string);
|
|
58
|
+
/**
|
|
59
|
+
* The asset for which this device provides field data.
|
|
60
|
+
* {@link Asset.id}
|
|
61
|
+
*/
|
|
62
|
+
get assetId(): ulong;
|
|
63
|
+
set assetId(value: ulong);
|
|
64
|
+
/**
|
|
65
|
+
* The asset for which this device provides field data.
|
|
66
|
+
* {@link Asset.id}
|
|
67
|
+
*/
|
|
68
|
+
get asset(): Asset;
|
|
69
|
+
set asset(value: Asset);
|
|
70
|
+
/**
|
|
71
|
+
* The provider's current (or pending) configuration profile.
|
|
72
|
+
* {@link ProviderConfig.id}
|
|
73
|
+
* {@link ProviderConfiguration.id}
|
|
74
|
+
*/
|
|
75
|
+
get configurationId(): ulong;
|
|
76
|
+
set configurationId(value: ulong);
|
|
77
|
+
/**
|
|
78
|
+
* The provider's current (or pending) configuration profile.
|
|
79
|
+
* {@link ProviderConfig.id}
|
|
80
|
+
* {@link ProviderConfiguration.id}
|
|
81
|
+
*/
|
|
82
|
+
get configuration(): ProviderConfig | ProviderConfiguration;
|
|
83
|
+
set configuration(value: ProviderConfig | ProviderConfiguration);
|
|
84
|
+
/**
|
|
85
|
+
* The password programmed on the device used to ensure the system is the only client authorized to make changes.
|
|
86
|
+
*/
|
|
87
|
+
get password(): string;
|
|
88
|
+
set password(value: string);
|
|
89
|
+
/**
|
|
90
|
+
* The firmware/application version number.
|
|
91
|
+
*/
|
|
92
|
+
get firmware(): string;
|
|
93
|
+
set firmware(value: string);
|
|
94
|
+
/**
|
|
95
|
+
* The phone number of this device.
|
|
96
|
+
*/
|
|
97
|
+
get phoneNumber(): phone;
|
|
98
|
+
set phoneNumber(value: phone);
|
|
99
|
+
/**
|
|
100
|
+
* A list of read-only values about the device like IMEI, ESN, firmware version, hardware revision, etc...
|
|
101
|
+
*/
|
|
102
|
+
get information(): Map<string, string>;
|
|
103
|
+
set information(value: Map<string, string>);
|
|
104
|
+
/**
|
|
105
|
+
* ICCID of the SIM card installed in this provider
|
|
106
|
+
*/
|
|
107
|
+
get sim(): string;
|
|
108
|
+
set sim(value: string);
|
|
109
|
+
get advanced(): ProviderAdvanced;
|
|
110
|
+
/**
|
|
111
|
+
* The last IP address of the device.
|
|
112
|
+
*/
|
|
113
|
+
get lastIP(): ipv4;
|
|
114
|
+
set lastIP(value: ipv4);
|
|
115
|
+
/**
|
|
116
|
+
* Often changing values like latitude, longitude, speed, wiring state, VBus information, etc...
|
|
117
|
+
*/
|
|
118
|
+
get attributes(): Map<string, Map<string, ProviderData>>;
|
|
119
|
+
set attributes(value: Map<string, Map<string, ProviderData>>);
|
|
120
|
+
/**
|
|
121
|
+
* Store-and-forward information like last sequence number of SnF window
|
|
122
|
+
*/
|
|
123
|
+
get snf(): Map<string, string>;
|
|
124
|
+
set snf(value: Map<string, string>);
|
|
125
|
+
get control(): ProviderControl;
|
|
126
|
+
/**
|
|
127
|
+
* Collection of commands for this provider.
|
|
128
|
+
*/
|
|
129
|
+
get commands(): Map<ProviderCommandType, ProviderCommand>;
|
|
130
|
+
set commands(value: Map<ProviderCommandType, ProviderCommand>);
|
|
131
|
+
toJSON(): {
|
|
132
|
+
suspended: boolean;
|
|
133
|
+
since: string | null;
|
|
134
|
+
id: string | null;
|
|
135
|
+
v: number[];
|
|
136
|
+
company: number | null;
|
|
137
|
+
name: string;
|
|
138
|
+
notes: string;
|
|
139
|
+
kind: ProviderType;
|
|
140
|
+
configuration: number | null;
|
|
141
|
+
} | {
|
|
142
|
+
asset: number | null;
|
|
143
|
+
password: string;
|
|
144
|
+
firmware: string;
|
|
145
|
+
phoneNumber: number | null;
|
|
146
|
+
information: JsonObject;
|
|
147
|
+
sim: string;
|
|
148
|
+
id: string | null;
|
|
149
|
+
v: number[];
|
|
150
|
+
company: number | null;
|
|
151
|
+
name: string;
|
|
152
|
+
notes: string;
|
|
153
|
+
kind: ProviderType;
|
|
154
|
+
configuration: number | null;
|
|
155
|
+
} | {
|
|
156
|
+
control: {
|
|
157
|
+
id: string | null;
|
|
158
|
+
v: number[];
|
|
159
|
+
company: number | null;
|
|
160
|
+
commands: JsonObject;
|
|
161
|
+
};
|
|
162
|
+
v: number[];
|
|
163
|
+
id: string | null;
|
|
164
|
+
company: number;
|
|
165
|
+
lastIP: string;
|
|
166
|
+
attributes: JsonObject;
|
|
167
|
+
snf: JsonObject;
|
|
168
|
+
suspended: boolean;
|
|
169
|
+
since: string | null;
|
|
170
|
+
name: string;
|
|
171
|
+
notes: string;
|
|
172
|
+
kind: ProviderType;
|
|
173
|
+
configuration: number | null;
|
|
174
|
+
} | {
|
|
175
|
+
control: {
|
|
176
|
+
id: string | null;
|
|
177
|
+
v: number[];
|
|
178
|
+
company: number | null;
|
|
179
|
+
commands: JsonObject;
|
|
180
|
+
};
|
|
181
|
+
v: number[];
|
|
182
|
+
id: string | null;
|
|
183
|
+
company: number;
|
|
184
|
+
lastIP: string;
|
|
185
|
+
attributes: JsonObject;
|
|
186
|
+
snf: JsonObject;
|
|
187
|
+
asset: number | null;
|
|
188
|
+
password: string;
|
|
189
|
+
firmware: string;
|
|
190
|
+
phoneNumber: number | null;
|
|
191
|
+
information: JsonObject;
|
|
192
|
+
sim: string;
|
|
193
|
+
name: string;
|
|
194
|
+
notes: string;
|
|
195
|
+
kind: ProviderType;
|
|
196
|
+
configuration: number | null;
|
|
197
|
+
};
|
|
198
|
+
fromJSON(json: JsonObject, force?: boolean): boolean;
|
|
199
|
+
/**
|
|
200
|
+
* The {@link id} is the key.
|
|
201
|
+
*/
|
|
202
|
+
getKey(): string;
|
|
203
|
+
/**
|
|
204
|
+
* Indicates whether this object is suspended from event processing.
|
|
205
|
+
*/
|
|
206
|
+
get suspended(): boolean;
|
|
207
|
+
/**
|
|
208
|
+
* Timestamp from the action that deleted or suspended this object.
|
|
209
|
+
*/
|
|
210
|
+
get since(): Date;
|
|
211
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { BaseComponent } from "../API/BaseComponent";
|
|
2
2
|
import { IBelongCompany } from "../API/Interfaces/IBelongCompany";
|
|
3
|
-
import { ipv4, ulong } from "../API/Types";
|
|
3
|
+
import { JsonObject, ipv4, ulong } from "../API/Types";
|
|
4
4
|
import { Company } from "../Companies/Company";
|
|
5
5
|
import { ProviderData } from "./ProviderData";
|
|
6
6
|
/**
|
|
@@ -40,10 +40,10 @@ export declare class ProviderAdvanced extends BaseComponent implements IBelongCo
|
|
|
40
40
|
v: number[];
|
|
41
41
|
company: number;
|
|
42
42
|
lastIP: string;
|
|
43
|
-
attributes:
|
|
44
|
-
snf:
|
|
43
|
+
attributes: JsonObject;
|
|
44
|
+
snf: JsonObject;
|
|
45
45
|
};
|
|
46
|
-
fromJSON(json:
|
|
46
|
+
fromJSON(json: JsonObject, force?: boolean): boolean;
|
|
47
47
|
/**
|
|
48
48
|
* The {@link id} is the key.
|
|
49
49
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ISerializable } from "../API/Interfaces/ISerializable";
|
|
2
|
-
import { datetime } from "../API/Types";
|
|
2
|
+
import { datetime, JsonObject } from "../API/Types";
|
|
3
3
|
import { ProviderCommandStatus } from "./ProviderCommandStatus";
|
|
4
4
|
/**
|
|
5
5
|
* Details regarding a provider command
|
|
@@ -9,7 +9,7 @@ export declare class ProviderCommand implements ISerializable {
|
|
|
9
9
|
*
|
|
10
10
|
* @param json
|
|
11
11
|
*/
|
|
12
|
-
static fromJSON(json:
|
|
12
|
+
static fromJSON(json: JsonObject): ProviderCommand;
|
|
13
13
|
/**
|
|
14
14
|
* Current status of this command.
|
|
15
15
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { BaseComponent } from "../API/BaseComponent";
|
|
2
2
|
import { IBelongCompany } from "../API/Interfaces/IBelongCompany";
|
|
3
|
-
import { ulong } from "../API/Types";
|
|
3
|
+
import { JsonObject, ulong } from "../API/Types";
|
|
4
4
|
import { Company } from "../Companies/Company";
|
|
5
5
|
import { ProviderCommand } from "./ProviderCommand";
|
|
6
6
|
import { ProviderCommandType } from "./ProviderCommandType";
|
|
@@ -32,9 +32,9 @@ export declare class ProviderControl extends BaseComponent implements IBelongCom
|
|
|
32
32
|
id: string | null;
|
|
33
33
|
v: number[];
|
|
34
34
|
company: number | null;
|
|
35
|
-
commands:
|
|
35
|
+
commands: JsonObject;
|
|
36
36
|
};
|
|
37
|
-
fromJSON(json:
|
|
37
|
+
fromJSON(json: JsonObject, force?: boolean): boolean;
|
|
38
38
|
/**
|
|
39
39
|
* The {@link id} is the key.
|
|
40
40
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ISerializable } from "../API/Interfaces/ISerializable";
|
|
2
|
-
import { datetime } from "../API/Types";
|
|
2
|
+
import { datetime, JsonObject } from "../API/Types";
|
|
3
3
|
/**
|
|
4
4
|
* A fragment of data given by a device.
|
|
5
5
|
*/
|
|
@@ -8,7 +8,7 @@ export declare class ProviderData implements ISerializable {
|
|
|
8
8
|
*
|
|
9
9
|
* @param json
|
|
10
10
|
*/
|
|
11
|
-
static fromJSON(json:
|
|
11
|
+
static fromJSON(json: JsonObject): ProviderData;
|
|
12
12
|
/**
|
|
13
13
|
* The value of the data given like true, 17.3, "asdf", etc...
|
|
14
14
|
*/
|
|
@@ -2,7 +2,7 @@ import { BaseComponent } from "../API/BaseComponent";
|
|
|
2
2
|
import { IBelongCompany } from "../API/Interfaces/IBelongCompany";
|
|
3
3
|
import { INamed } from "../API/Interfaces/INamed";
|
|
4
4
|
import { ISuspendable } from "../API/Interfaces/ISuspendable";
|
|
5
|
-
import { phone, ulong } from "../API/Types";
|
|
5
|
+
import { JsonObject, phone, ulong } from "../API/Types";
|
|
6
6
|
import { Asset } from "../Assets/Asset";
|
|
7
7
|
import { Company } from "../Companies/Company";
|
|
8
8
|
import { ProviderConfig } from "./Config/ProviderConfig";
|
|
@@ -85,23 +85,31 @@ export declare class ProviderGeneral extends BaseComponent implements INamed, IB
|
|
|
85
85
|
*/
|
|
86
86
|
sim: string;
|
|
87
87
|
toJSON(): {
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
firmware?: string | undefined;
|
|
91
|
-
phoneNumber?: number | null | undefined;
|
|
92
|
-
information?: object | undefined;
|
|
93
|
-
sim?: string | undefined;
|
|
94
|
-
suspended?: boolean | undefined;
|
|
95
|
-
since?: string | null | undefined;
|
|
88
|
+
suspended: boolean;
|
|
89
|
+
since: string | null;
|
|
96
90
|
id: string | null;
|
|
91
|
+
v: number[];
|
|
97
92
|
company: number | null;
|
|
98
93
|
name: string;
|
|
99
94
|
notes: string;
|
|
100
95
|
kind: ProviderType;
|
|
101
96
|
configuration: number | null;
|
|
97
|
+
} | {
|
|
98
|
+
asset: number | null;
|
|
99
|
+
password: string;
|
|
100
|
+
firmware: string;
|
|
101
|
+
phoneNumber: number | null;
|
|
102
|
+
information: JsonObject;
|
|
103
|
+
sim: string;
|
|
104
|
+
id: string | null;
|
|
102
105
|
v: number[];
|
|
106
|
+
company: number | null;
|
|
107
|
+
name: string;
|
|
108
|
+
notes: string;
|
|
109
|
+
kind: ProviderType;
|
|
110
|
+
configuration: number | null;
|
|
103
111
|
};
|
|
104
|
-
fromJSON(json:
|
|
112
|
+
fromJSON(json: JsonObject, force?: boolean): boolean;
|
|
105
113
|
/**
|
|
106
114
|
* The {@link id} is the key.
|
|
107
115
|
*/
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { ISerializable } from "../API/Interfaces/ISerializable";
|
|
2
|
+
import { JsonObject, nothing, uint, ulong } from "../API/Types";
|
|
3
|
+
import { Asset } from "../Assets/Asset";
|
|
4
|
+
import { AssetAdvanced } from "../Assets/AssetAdvanced";
|
|
5
|
+
import { AssetGeneral } from "../Assets/AssetGeneral";
|
|
6
|
+
/**
|
|
7
|
+
* Asset information used in calculating a summary instance.
|
|
8
|
+
*/
|
|
9
|
+
export declare class ReportBreakdown implements ISerializable {
|
|
10
|
+
/**
|
|
11
|
+
* Instantiates a {@link ReportBreakdown} or one of its subclasses based on the shape of the JSON.
|
|
12
|
+
* Implementation is in {@link ReportBreakdown_fromJSON.ts}
|
|
13
|
+
* @param json The JSON to parse.
|
|
14
|
+
* @returns An instance of a {@link ReportBreakdown} or one of its subclasses.
|
|
15
|
+
*/
|
|
16
|
+
static fromJSON: (json: JsonObject) => ReportBreakdown;
|
|
17
|
+
/**
|
|
18
|
+
* The asset to which this event data belongs.
|
|
19
|
+
*/
|
|
20
|
+
assetId: ulong;
|
|
21
|
+
/**
|
|
22
|
+
* The asset to which this event data belongs.
|
|
23
|
+
*/
|
|
24
|
+
get asset(): Asset;
|
|
25
|
+
/**
|
|
26
|
+
* Report specific identifier of the event data.
|
|
27
|
+
*/
|
|
28
|
+
instance: uint;
|
|
29
|
+
/**
|
|
30
|
+
* Identifiers of the summary instances that used this event.
|
|
31
|
+
*/
|
|
32
|
+
summaryInstances: uint[];
|
|
33
|
+
/**
|
|
34
|
+
* General Asset information.
|
|
35
|
+
*/
|
|
36
|
+
general: AssetGeneral | null;
|
|
37
|
+
/**
|
|
38
|
+
* Advanced/detailed information used.
|
|
39
|
+
*/
|
|
40
|
+
advanced: AssetAdvanced | null;
|
|
41
|
+
constructor(asset: ulong, instance: uint, summaryInstances?: uint[] | nothing, general?: AssetGeneral | nothing, advanced?: AssetAdvanced | nothing);
|
|
42
|
+
toJSON(): {
|
|
43
|
+
asset: number | null;
|
|
44
|
+
instance: number | null;
|
|
45
|
+
summaryInstances: number[];
|
|
46
|
+
general: JsonObject | null;
|
|
47
|
+
advanced: JsonObject | null;
|
|
48
|
+
};
|
|
49
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { nothing, uint, ulong } from "../API/Types";
|
|
2
|
+
import { AssetAdvanced } from "../Assets/AssetAdvanced";
|
|
3
|
+
import { AssetGeneral } from "../Assets/AssetGeneral";
|
|
4
|
+
import { DispatchJob } from "../Dispatch/DispatchJob";
|
|
5
|
+
import { ReportBreakdown } from "./ReportBreakdown";
|
|
6
|
+
/**
|
|
7
|
+
* Dispatch Job information used in this report.
|
|
8
|
+
*/
|
|
9
|
+
export declare class ReportBreakdownJob extends ReportBreakdown {
|
|
10
|
+
/**
|
|
11
|
+
* The Job used.
|
|
12
|
+
*/
|
|
13
|
+
job: DispatchJob;
|
|
14
|
+
constructor(job: DispatchJob, asset: ulong, instance: uint, summaryInstances?: uint[] | nothing, general?: AssetGeneral | nothing, advanced?: AssetAdvanced | nothing);
|
|
15
|
+
toJSON(): {
|
|
16
|
+
job: {
|
|
17
|
+
id: number | null;
|
|
18
|
+
company: number | null;
|
|
19
|
+
v: number[];
|
|
20
|
+
driver: string;
|
|
21
|
+
created: string | null;
|
|
22
|
+
name: string;
|
|
23
|
+
instructions: string;
|
|
24
|
+
priority: import("..").DispatchJobPriority;
|
|
25
|
+
references: import("..").JsonObject;
|
|
26
|
+
labels: string[];
|
|
27
|
+
tags: string[];
|
|
28
|
+
forms: number[];
|
|
29
|
+
steps: any[];
|
|
30
|
+
};
|
|
31
|
+
asset: number | null;
|
|
32
|
+
instance: number | null;
|
|
33
|
+
summaryInstances: number[];
|
|
34
|
+
general: import("..").JsonObject | null;
|
|
35
|
+
advanced: import("..").JsonObject | null;
|
|
36
|
+
};
|
|
37
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { nothing, uint, ulong } from "../API/Types";
|
|
2
|
+
import { AssetAdvanced } from "../Assets/AssetAdvanced";
|
|
3
|
+
import { AssetGeneral } from "../Assets/AssetGeneral";
|
|
4
|
+
import { AssetMessage } from "../Messaging/AssetMessage";
|
|
5
|
+
import { ReportBreakdown } from "./ReportBreakdown";
|
|
6
|
+
/**
|
|
7
|
+
* Message information used in this report.
|
|
8
|
+
*/
|
|
9
|
+
export declare class ReportBreakdownMessage extends ReportBreakdown {
|
|
10
|
+
/**
|
|
11
|
+
* The Message used.
|
|
12
|
+
*/
|
|
13
|
+
message: AssetMessage;
|
|
14
|
+
constructor(message: AssetMessage, asset: ulong, instance: uint, summaryInstances?: uint[] | nothing, general?: AssetGeneral | nothing, advanced?: AssetAdvanced | nothing);
|
|
15
|
+
toJSON(): {
|
|
16
|
+
message: {
|
|
17
|
+
folder: import("..").MessageFolder;
|
|
18
|
+
incoming: boolean;
|
|
19
|
+
readBy: string;
|
|
20
|
+
id: number | null;
|
|
21
|
+
v: number[];
|
|
22
|
+
company: number;
|
|
23
|
+
status: import("..").MessageStatus;
|
|
24
|
+
kind: import("..").MessageType;
|
|
25
|
+
to: string;
|
|
26
|
+
from: string;
|
|
27
|
+
body: string;
|
|
28
|
+
processed: string | null;
|
|
29
|
+
delivered: string | null;
|
|
30
|
+
subject: string;
|
|
31
|
+
asset: number;
|
|
32
|
+
user: string;
|
|
33
|
+
};
|
|
34
|
+
asset: number | null;
|
|
35
|
+
instance: number | null;
|
|
36
|
+
summaryInstances: number[];
|
|
37
|
+
general: import("..").JsonObject | null;
|
|
38
|
+
advanced: import("..").JsonObject | null;
|
|
39
|
+
};
|
|
40
|
+
}
|