@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
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import { BaseComponent } from "../API/BaseComponent";
|
|
2
2
|
import { IAmCompany } from "../API/Interfaces/IAmCompany";
|
|
3
|
+
import { IBelongCompany } from "../API/Interfaces/IBelongCompany";
|
|
3
4
|
import { IIdUlong } from "../API/Interfaces/IIdUlong";
|
|
4
|
-
import { codified, ulong } from "../API/Types";
|
|
5
|
+
import { JsonObject, codified, ulong } from "../API/Types";
|
|
5
6
|
import { Company } from "./Company";
|
|
6
7
|
/**
|
|
7
8
|
* The list of Contacts from this and other companies broken down by contact role.
|
|
8
9
|
*/
|
|
9
|
-
export declare class CompanyDirectory extends BaseComponent implements IIdUlong, IAmCompany {
|
|
10
|
+
export declare class CompanyDirectory extends BaseComponent implements IIdUlong, IAmCompany, IBelongCompany {
|
|
10
11
|
/**
|
|
11
12
|
* Unique identifier of the Company.
|
|
12
13
|
* {@link Company.id}
|
|
@@ -35,15 +36,19 @@ export declare class CompanyDirectory extends BaseComponent implements IIdUlong,
|
|
|
35
36
|
id: number | null;
|
|
36
37
|
v: number[];
|
|
37
38
|
parent: number;
|
|
38
|
-
directory:
|
|
39
|
+
directory: JsonObject;
|
|
39
40
|
};
|
|
40
41
|
/**
|
|
41
42
|
*
|
|
42
43
|
* @param json
|
|
43
44
|
*/
|
|
44
|
-
fromJSON(json:
|
|
45
|
+
fromJSON(json: JsonObject, force?: boolean): boolean;
|
|
45
46
|
/**
|
|
46
47
|
* The {@link id} is the key.
|
|
47
48
|
*/
|
|
48
|
-
getKey():
|
|
49
|
+
getKey(): number;
|
|
50
|
+
set companyId(value: number);
|
|
51
|
+
get companyId(): number;
|
|
52
|
+
set company(value: Company);
|
|
53
|
+
get company(): Company;
|
|
49
54
|
}
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import { BaseComponent } from "../API/BaseComponent";
|
|
2
2
|
import { IAmCompany } from "../API/Interfaces/IAmCompany";
|
|
3
|
+
import { IBelongCompany } from "../API/Interfaces/IBelongCompany";
|
|
3
4
|
import { IIdUlong } from "../API/Interfaces/IIdUlong";
|
|
4
5
|
import { INamed } from "../API/Interfaces/INamed";
|
|
5
|
-
import { ulong } from "../API/Types";
|
|
6
|
+
import { JsonObject, ulong } from "../API/Types";
|
|
6
7
|
import { Company } from "./Company";
|
|
7
8
|
/**
|
|
8
9
|
* General details about a company.
|
|
9
10
|
*/
|
|
10
|
-
export declare class CompanyGeneral extends BaseComponent implements IIdUlong, INamed, IAmCompany {
|
|
11
|
+
export declare class CompanyGeneral extends BaseComponent implements IIdUlong, INamed, IAmCompany, IBelongCompany {
|
|
11
12
|
/**
|
|
12
13
|
* Unique identifier of the Company.
|
|
13
14
|
* {@link Company.id}
|
|
@@ -41,11 +42,15 @@ export declare class CompanyGeneral extends BaseComponent implements IIdUlong, I
|
|
|
41
42
|
parent: number;
|
|
42
43
|
name: string;
|
|
43
44
|
notes: string;
|
|
44
|
-
references:
|
|
45
|
+
references: JsonObject;
|
|
45
46
|
};
|
|
46
|
-
fromJSON(json:
|
|
47
|
+
fromJSON(json: JsonObject, force?: boolean): boolean;
|
|
47
48
|
/**
|
|
48
49
|
* The {@link id} is the key.
|
|
49
50
|
*/
|
|
50
|
-
getKey():
|
|
51
|
+
getKey(): number;
|
|
52
|
+
set companyId(value: number);
|
|
53
|
+
get companyId(): number;
|
|
54
|
+
set company(value: Company);
|
|
55
|
+
get company(): Company;
|
|
51
56
|
}
|
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
import { BaseComponent } from "../API/BaseComponent";
|
|
2
2
|
import { IAmCompany } from "../API/Interfaces/IAmCompany";
|
|
3
|
+
import { IBelongCompany } from "../API/Interfaces/IBelongCompany";
|
|
3
4
|
import { IIdUlong } from "../API/Interfaces/IIdUlong";
|
|
4
|
-
import { ulong } from "../API/Types";
|
|
5
|
+
import { JsonObject, ulong } from "../API/Types";
|
|
5
6
|
import { Company } from "./Company";
|
|
6
7
|
import { PasswordPolicy } from "./PasswordPolicy";
|
|
7
8
|
import { SessionPolicy } from "./SessionPolicy";
|
|
8
9
|
/**
|
|
9
10
|
* The password and session lifetime policies for this Company.
|
|
10
11
|
*/
|
|
11
|
-
export declare class
|
|
12
|
+
export declare class CompanyPolicy extends BaseComponent implements IIdUlong, IAmCompany, IBelongCompany {
|
|
12
13
|
/**
|
|
13
14
|
* Unique identifier of the Company.
|
|
14
15
|
* {@link Company.id}
|
|
@@ -54,9 +55,13 @@ export declare class CompanyPolicies extends BaseComponent implements IIdUlong,
|
|
|
54
55
|
expireThreshold: number | null;
|
|
55
56
|
};
|
|
56
57
|
};
|
|
57
|
-
fromJSON(json:
|
|
58
|
+
fromJSON(json: JsonObject, force?: boolean): boolean;
|
|
58
59
|
/**
|
|
59
60
|
* The {@link id} is the key.
|
|
60
61
|
*/
|
|
61
|
-
getKey():
|
|
62
|
+
getKey(): number;
|
|
63
|
+
set companyId(value: number);
|
|
64
|
+
get companyId(): number;
|
|
65
|
+
set company(value: Company);
|
|
66
|
+
get company(): Company;
|
|
62
67
|
}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { BaseComponent } from "../API/BaseComponent";
|
|
2
2
|
import { IAmCompany } from "../API/Interfaces/IAmCompany";
|
|
3
|
+
import { IBelongCompany } from "../API/Interfaces/IBelongCompany";
|
|
3
4
|
import { IIdUlong } from "../API/Interfaces/IIdUlong";
|
|
4
|
-
import { codified, colour, ulong } from "../API/Types";
|
|
5
|
+
import { JsonObject, codified, colour, ulong } from "../API/Types";
|
|
5
6
|
import { ColourStyle } from "./ColourStyle";
|
|
6
7
|
import { Company } from "./Company";
|
|
7
8
|
import { NotificationServerEmail } from "./NotificationServerEmail";
|
|
@@ -9,7 +10,7 @@ import { NotificationServerSms } from "./NotificationServerSms";
|
|
|
9
10
|
/**
|
|
10
11
|
* Defines the seller company's details for white-labelling.
|
|
11
12
|
*/
|
|
12
|
-
export declare class CompanyReseller extends BaseComponent implements IIdUlong, IAmCompany {
|
|
13
|
+
export declare class CompanyReseller extends BaseComponent implements IIdUlong, IAmCompany, IBelongCompany {
|
|
13
14
|
/**
|
|
14
15
|
* Unique identifier of the Company.
|
|
15
16
|
* {@link Company.id}
|
|
@@ -121,16 +122,16 @@ export declare class CompanyReseller extends BaseComponent implements IIdUlong,
|
|
|
121
122
|
id: number | null;
|
|
122
123
|
v: number[];
|
|
123
124
|
parent: number;
|
|
124
|
-
contactInfo:
|
|
125
|
+
contactInfo: JsonObject;
|
|
125
126
|
serviceName: string;
|
|
126
127
|
logo: string;
|
|
127
128
|
icon: string;
|
|
128
129
|
favourite: string;
|
|
129
130
|
domain: string;
|
|
130
|
-
website:
|
|
131
|
-
graphics:
|
|
131
|
+
website: JsonObject;
|
|
132
|
+
graphics: JsonObject;
|
|
132
133
|
languages: string[];
|
|
133
|
-
gamut:
|
|
134
|
+
gamut: JsonObject;
|
|
134
135
|
notifyEmail: {
|
|
135
136
|
incomingType: import("./NotificationServerEmail").IncomingEmailServerType;
|
|
136
137
|
incomingAddress: string;
|
|
@@ -147,7 +148,7 @@ export declare class CompanyReseller extends BaseComponent implements IIdUlong,
|
|
|
147
148
|
};
|
|
148
149
|
notifySms: {
|
|
149
150
|
notifyLimit: number | null;
|
|
150
|
-
phoneNumbers:
|
|
151
|
+
phoneNumbers: JsonObject;
|
|
151
152
|
};
|
|
152
153
|
termsPreamble: string;
|
|
153
154
|
termsUpdated: string | null;
|
|
@@ -155,9 +156,13 @@ export declare class CompanyReseller extends BaseComponent implements IIdUlong,
|
|
|
155
156
|
recoverBody: string;
|
|
156
157
|
recoverIsHtml: boolean;
|
|
157
158
|
};
|
|
158
|
-
fromJSON(json:
|
|
159
|
+
fromJSON(json: JsonObject, force?: boolean): boolean;
|
|
159
160
|
/**
|
|
160
161
|
* The {@link id} is the key.
|
|
161
162
|
*/
|
|
162
|
-
getKey():
|
|
163
|
+
getKey(): number;
|
|
164
|
+
set companyId(value: number);
|
|
165
|
+
get companyId(): number;
|
|
166
|
+
set company(value: Company);
|
|
167
|
+
get company(): Company;
|
|
163
168
|
}
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import { BaseComponent } from "../API/BaseComponent";
|
|
2
2
|
import { IAmCompany } from "../API/Interfaces/IAmCompany";
|
|
3
|
+
import { IBelongCompany } from "../API/Interfaces/IBelongCompany";
|
|
3
4
|
import { IIdUlong } from "../API/Interfaces/IIdUlong";
|
|
4
|
-
import { codified, ulong } from "../API/Types";
|
|
5
|
+
import { JsonObject, codified, ulong } from "../API/Types";
|
|
5
6
|
import { Company } from "./Company";
|
|
6
7
|
import { LabelStyle } from "./LabelStyle";
|
|
7
8
|
/**
|
|
8
9
|
* The colours and styles used by this company to tag and label Assets, Places, and other things.
|
|
9
10
|
*/
|
|
10
|
-
export declare class
|
|
11
|
+
export declare class CompanyStyle extends BaseComponent implements IIdUlong, IAmCompany, IBelongCompany {
|
|
11
12
|
/**
|
|
12
13
|
* Unique identifier of the Company.
|
|
13
14
|
* {@link Company.id}
|
|
@@ -35,12 +36,16 @@ export declare class CompanyStyles extends BaseComponent implements IIdUlong, IA
|
|
|
35
36
|
id: number | null;
|
|
36
37
|
v: number[];
|
|
37
38
|
parent: number;
|
|
38
|
-
labels:
|
|
39
|
-
tags:
|
|
39
|
+
labels: JsonObject;
|
|
40
|
+
tags: JsonObject;
|
|
40
41
|
};
|
|
41
|
-
fromJSON(json:
|
|
42
|
+
fromJSON(json: JsonObject, force?: boolean): boolean;
|
|
42
43
|
/**
|
|
43
44
|
* The {@link id} is the key.
|
|
44
45
|
*/
|
|
45
|
-
getKey():
|
|
46
|
+
getKey(): number;
|
|
47
|
+
set companyId(value: number);
|
|
48
|
+
get companyId(): number;
|
|
49
|
+
set company(value: Company);
|
|
50
|
+
get company(): Company;
|
|
46
51
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { INamed } from "../API/Interfaces/INamed";
|
|
2
2
|
import { ISerializable } from "../API/Interfaces/ISerializable";
|
|
3
3
|
import { IVisual } from "../API/Interfaces/IVisual";
|
|
4
|
-
import { codified, colour } from "../API/Types";
|
|
4
|
+
import { codified, colour, JsonObject } from "../API/Types";
|
|
5
5
|
/**
|
|
6
6
|
* Visual style identification helper.
|
|
7
7
|
*/
|
|
@@ -10,7 +10,7 @@ export declare class LabelStyle implements INamed, IVisual, ISerializable {
|
|
|
10
10
|
*
|
|
11
11
|
* @param json
|
|
12
12
|
*/
|
|
13
|
-
static fromJSON(json:
|
|
13
|
+
static fromJSON(json: JsonObject): LabelStyle;
|
|
14
14
|
/**
|
|
15
15
|
* The name of this visual style.
|
|
16
16
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ISerializable } from "../API/Interfaces/ISerializable";
|
|
2
|
-
import { email, uint, ushort } from "../API/Types";
|
|
2
|
+
import { email, JsonObject, uint, ushort } from "../API/Types";
|
|
3
3
|
/**
|
|
4
4
|
* The types of email protocols supported for incoming mail servers.
|
|
5
5
|
**/
|
|
@@ -30,7 +30,7 @@ export declare class NotificationServerEmail implements ISerializable {
|
|
|
30
30
|
*
|
|
31
31
|
* @param json
|
|
32
32
|
*/
|
|
33
|
-
static fromJSON(json:
|
|
33
|
+
static fromJSON(json: JsonObject): NotificationServerEmail;
|
|
34
34
|
/**
|
|
35
35
|
* The type of incoming protocol to use (IMAP or POP3).
|
|
36
36
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ISerializable } from "../API/Interfaces/ISerializable";
|
|
2
|
-
import { ulong, ushort } from "../API/Types";
|
|
2
|
+
import { JsonObject, ulong, ushort } from "../API/Types";
|
|
3
3
|
/**
|
|
4
4
|
* Definition for load-balanced outbound SMS numbers for the White-labelling profile.
|
|
5
5
|
*/
|
|
@@ -8,7 +8,7 @@ export declare class NotificationServerSms implements ISerializable {
|
|
|
8
8
|
*
|
|
9
9
|
* @param json
|
|
10
10
|
*/
|
|
11
|
-
static fromJSON(json:
|
|
11
|
+
static fromJSON(json: JsonObject): NotificationServerSms;
|
|
12
12
|
/**
|
|
13
13
|
* A per-number/per-day limit on the amount of Notifications sent.
|
|
14
14
|
*/
|
|
@@ -20,6 +20,6 @@ export declare class NotificationServerSms implements ISerializable {
|
|
|
20
20
|
constructor(notifyLimit?: ushort, phoneNumbers?: Map<string, ulong[]>);
|
|
21
21
|
toJSON(): {
|
|
22
22
|
notifyLimit: number | null;
|
|
23
|
-
phoneNumbers:
|
|
23
|
+
phoneNumbers: JsonObject;
|
|
24
24
|
};
|
|
25
25
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ISerializable } from "../API/Interfaces/ISerializable";
|
|
2
|
-
import { byte } from "../API/Types";
|
|
2
|
+
import { byte, JsonObject } from "../API/Types";
|
|
3
3
|
import { PasswordExpiryMode } from "./PasswordExpiryMode";
|
|
4
4
|
/**
|
|
5
5
|
* The password complexity and expiry policy.
|
|
@@ -9,7 +9,7 @@ export declare class PasswordPolicy implements ISerializable {
|
|
|
9
9
|
*
|
|
10
10
|
* @param json
|
|
11
11
|
*/
|
|
12
|
-
static fromJSON(json:
|
|
12
|
+
static fromJSON(json: JsonObject): PasswordPolicy;
|
|
13
13
|
/**
|
|
14
14
|
* The minimum number of characters required.
|
|
15
15
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ISerializable } from "../API/Interfaces/ISerializable";
|
|
2
|
-
import { byte, ipv4, ushort } from "../API/Types";
|
|
2
|
+
import { byte, ipv4, JsonObject, ushort } from "../API/Types";
|
|
3
3
|
import { SessionMultiUser } from "./SessionMultiUser";
|
|
4
4
|
/**
|
|
5
5
|
* The session lifetime policy.
|
|
@@ -9,7 +9,7 @@ export declare class SessionPolicy implements ISerializable {
|
|
|
9
9
|
*
|
|
10
10
|
* @param json
|
|
11
11
|
*/
|
|
12
|
-
static fromJSON(json:
|
|
12
|
+
static fromJSON(json: JsonObject): SessionPolicy;
|
|
13
13
|
/**
|
|
14
14
|
* The list of applications users are allowed to use to create sessions.
|
|
15
15
|
*/
|
|
@@ -2,7 +2,7 @@ import { ILatLng } from "../API/Geography/Interfaces";
|
|
|
2
2
|
import { LatLng } from "../API/Geography/LatLng";
|
|
3
3
|
import { ISerializable } from "../API/Interfaces/ISerializable";
|
|
4
4
|
import { TimeSpan } from "../API/TimeSpan";
|
|
5
|
-
import { double, timespan, ulong } from "../API/Types";
|
|
5
|
+
import { double, timespan, ulong, JsonObject } from "../API/Types";
|
|
6
6
|
/**
|
|
7
7
|
* Driving directions and details like duration and distance.
|
|
8
8
|
*/
|
|
@@ -11,7 +11,7 @@ export declare class DispatchDirection implements ISerializable {
|
|
|
11
11
|
*
|
|
12
12
|
* @param json
|
|
13
13
|
*/
|
|
14
|
-
static fromJSON(json:
|
|
14
|
+
static fromJSON(json: JsonObject): DispatchDirection;
|
|
15
15
|
/**
|
|
16
16
|
* The total distance of these directions (including sub-directions if applicable).
|
|
17
17
|
*/
|
|
@@ -40,7 +40,7 @@ export declare class DispatchDirection implements ISerializable {
|
|
|
40
40
|
* The {@link DispatchStep.id}, if this direction is for {@link DispatchJob}s.
|
|
41
41
|
*/
|
|
42
42
|
step: ulong;
|
|
43
|
-
constructor(distance?: double, duration?: TimeSpan | timespan | number, instructions?: string, path?: ILatLng[], directions?: DispatchDirection[], job?: ulong, step?: ulong);
|
|
43
|
+
constructor(distance?: double, duration?: TimeSpan | timespan | number, instructions?: string, path?: (ILatLng | JsonObject)[], directions?: DispatchDirection[], job?: ulong, step?: ulong);
|
|
44
44
|
toJSON(): {
|
|
45
45
|
distance: number;
|
|
46
46
|
duration: string | null;
|
|
@@ -3,7 +3,7 @@ import { IBelongAsset } from "../API/Interfaces/IBelongAsset";
|
|
|
3
3
|
import { IBelongCompany } from "../API/Interfaces/IBelongCompany";
|
|
4
4
|
import { IIdUlong } from "../API/Interfaces/IIdUlong";
|
|
5
5
|
import { ILabelled } from "../API/Interfaces/ILabelled";
|
|
6
|
-
import { codified, ulong } from "../API/Types";
|
|
6
|
+
import { codified, JsonObject, ulong } from "../API/Types";
|
|
7
7
|
import { Asset } from "../Assets/Asset";
|
|
8
8
|
import { Company } from "../Companies/Company";
|
|
9
9
|
import { FormResult } from "../Hosting/FormResult";
|
|
@@ -95,15 +95,15 @@ export declare class DispatchJob extends BaseComponent implements IIdUlong, ILab
|
|
|
95
95
|
name: string;
|
|
96
96
|
instructions: string;
|
|
97
97
|
priority: DispatchJobPriority;
|
|
98
|
-
references:
|
|
98
|
+
references: JsonObject;
|
|
99
99
|
labels: string[];
|
|
100
100
|
tags: string[];
|
|
101
101
|
forms: number[];
|
|
102
102
|
steps: any[];
|
|
103
103
|
};
|
|
104
|
-
fromJSON(json:
|
|
104
|
+
fromJSON(json: JsonObject, force?: boolean): boolean;
|
|
105
105
|
/**
|
|
106
106
|
* The {@link id} is the key.
|
|
107
107
|
*/
|
|
108
|
-
getKey():
|
|
108
|
+
getKey(): number;
|
|
109
109
|
}
|
|
@@ -4,7 +4,7 @@ import { IIdUlong } from "../API/Interfaces/IIdUlong";
|
|
|
4
4
|
import { INamed } from "../API/Interfaces/INamed";
|
|
5
5
|
import { ISerializable } from "../API/Interfaces/ISerializable";
|
|
6
6
|
import { TimeSpan } from "../API/TimeSpan";
|
|
7
|
-
import { datetime, timespan, ulong } from "../API/Types";
|
|
7
|
+
import { datetime, nothing, timespan, ulong, JsonObject } from "../API/Types";
|
|
8
8
|
import { Place } from "../Places/Place";
|
|
9
9
|
import { DispatchStepState } from "./DispatchStepState";
|
|
10
10
|
import { DispatchStepStatus } from "./DispatchStepStatus";
|
|
@@ -16,7 +16,7 @@ export declare class DispatchStep implements IIdUlong, INamed, ISerializable {
|
|
|
16
16
|
*
|
|
17
17
|
* @param json
|
|
18
18
|
*/
|
|
19
|
-
static fromJSON(json:
|
|
19
|
+
static fromJSON(json: JsonObject): DispatchStep;
|
|
20
20
|
/**
|
|
21
21
|
* Identifier for this {@link DispatchStep}.
|
|
22
22
|
* This value is unique per {@link DispatchJob}, but is not unique system-wide.
|
|
@@ -82,7 +82,7 @@ export declare class DispatchStep implements IIdUlong, INamed, ISerializable {
|
|
|
82
82
|
* The name of the person who signed the step's completion.
|
|
83
83
|
*/
|
|
84
84
|
signatory: string;
|
|
85
|
-
constructor(id?: ulong, name?: string, states?: Map<DispatchStepStatus, DispatchStepState
|
|
85
|
+
constructor(id?: ulong | nothing, name?: string | nothing, states?: Map<DispatchStepStatus, DispatchStepState> | nothing, eta?: Date | number | datetime | nothing, duration?: TimeSpan | timespan | number | nothing, place?: ulong | nothing, address?: string | nothing, latlng?: ILatLng | JsonObject | nothing, notes?: string | nothing, signature?: boolean | nothing, signatory?: string | nothing);
|
|
86
86
|
toJSON(): {
|
|
87
87
|
id: number | null;
|
|
88
88
|
address: string;
|
|
@@ -94,6 +94,6 @@ export declare class DispatchStep implements IIdUlong, INamed, ISerializable {
|
|
|
94
94
|
place: number | null;
|
|
95
95
|
signature: boolean;
|
|
96
96
|
signatory: string;
|
|
97
|
-
states:
|
|
97
|
+
states: JsonObject;
|
|
98
98
|
};
|
|
99
99
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ILatLng } from "../API/Geography/Interfaces";
|
|
2
2
|
import { LatLng } from "../API/Geography/LatLng";
|
|
3
3
|
import { ISerializable } from "../API/Interfaces/ISerializable";
|
|
4
|
-
import { datetime } from "../API/Types";
|
|
4
|
+
import { datetime, JsonObject, nothing } from "../API/Types";
|
|
5
5
|
/**
|
|
6
6
|
* Details about the lifetime of a {@link DispatchStep}.
|
|
7
7
|
*/
|
|
@@ -10,7 +10,7 @@ export declare class DispatchStepState implements ISerializable {
|
|
|
10
10
|
*
|
|
11
11
|
* @param json
|
|
12
12
|
*/
|
|
13
|
-
static fromJSON(json:
|
|
13
|
+
static fromJSON(json: JsonObject): DispatchStepState;
|
|
14
14
|
/**
|
|
15
15
|
* A timestamp from when the lifetime was updated.
|
|
16
16
|
*/
|
|
@@ -19,7 +19,7 @@ export declare class DispatchStepState implements ISerializable {
|
|
|
19
19
|
* The coordinates from the {@link Asset} when the update happened.
|
|
20
20
|
*/
|
|
21
21
|
latlng: LatLng | null;
|
|
22
|
-
constructor(updated?: Date | number | datetime, latlng?: ILatLng |
|
|
22
|
+
constructor(updated?: Date | number | datetime | nothing, latlng?: ILatLng | JsonObject | nothing);
|
|
23
23
|
toJSON(): {
|
|
24
24
|
updated: string | null;
|
|
25
25
|
latlng: ILatLng | null;
|
|
@@ -4,12 +4,12 @@ import { IBelongAsset } from "../API/Interfaces/IBelongAsset";
|
|
|
4
4
|
import { IBelongCompany } from "../API/Interfaces/IBelongCompany";
|
|
5
5
|
import { IIdUlong } from "../API/Interfaces/IIdUlong";
|
|
6
6
|
import { TimeSpan } from "../API/TimeSpan";
|
|
7
|
-
import { ulong } from "../API/Types";
|
|
7
|
+
import { JsonObject, ulong } from "../API/Types";
|
|
8
8
|
import { Asset } from "../Assets/Asset";
|
|
9
9
|
import { Company } from "../Companies/Company";
|
|
10
|
+
import { Document } from "../Hosting/Document";
|
|
10
11
|
import { Place } from "../Places/Place";
|
|
11
12
|
import { DispatchTaskStatus } from "./DispatchTaskStatus";
|
|
12
|
-
import { Document } from "../Hosting/Document";
|
|
13
13
|
/**
|
|
14
14
|
* A task assigned to an asset which represents a coordinate on the map which must be visited.
|
|
15
15
|
* @deprecated Use DispatchJob instead
|
|
@@ -130,7 +130,7 @@ export declare class DispatchTask extends BaseComponent implements IIdUlong, IBe
|
|
|
130
130
|
asset: number | null;
|
|
131
131
|
v: number[];
|
|
132
132
|
name: string;
|
|
133
|
-
references:
|
|
133
|
+
references: JsonObject;
|
|
134
134
|
place: number | null;
|
|
135
135
|
address: string;
|
|
136
136
|
latlng: import("../API/Geography/Interfaces").ILatLng;
|
|
@@ -148,9 +148,9 @@ export declare class DispatchTask extends BaseComponent implements IIdUlong, IBe
|
|
|
148
148
|
updatedBy: string;
|
|
149
149
|
updatedUtc: string | null;
|
|
150
150
|
};
|
|
151
|
-
fromJSON(json:
|
|
151
|
+
fromJSON(json: JsonObject, force?: boolean): boolean;
|
|
152
152
|
/**
|
|
153
153
|
* The {@link id} is the key.
|
|
154
154
|
*/
|
|
155
|
-
getKey():
|
|
155
|
+
getKey(): number;
|
|
156
156
|
}
|
|
@@ -3,7 +3,7 @@ import { IBelongCompany } from "../API/Interfaces/IBelongCompany";
|
|
|
3
3
|
import { IFileSize } from "../API/Interfaces/IFileSize";
|
|
4
4
|
import { IIdUlong } from "../API/Interfaces/IIdUlong";
|
|
5
5
|
import { INamed } from "../API/Interfaces/INamed";
|
|
6
|
-
import { ulong } from "../API/Types";
|
|
6
|
+
import { ulong, JsonObject } from "../API/Types";
|
|
7
7
|
import { Company } from "../Companies/Company";
|
|
8
8
|
/**
|
|
9
9
|
* A file stored temporarily by the system.
|
|
@@ -63,9 +63,9 @@ export declare class Document extends BaseComponent implements IIdUlong, INamed,
|
|
|
63
63
|
expiry: string | null;
|
|
64
64
|
references: Map<string, any>;
|
|
65
65
|
};
|
|
66
|
-
fromJSON(json:
|
|
66
|
+
fromJSON(json: JsonObject, force?: boolean): boolean;
|
|
67
67
|
/**
|
|
68
68
|
* The {@link id} is the key.
|
|
69
69
|
*/
|
|
70
|
-
getKey():
|
|
70
|
+
getKey(): number;
|
|
71
71
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { byte, ulong } from '../../API/Types';
|
|
2
|
-
import { FormFieldBase } from './FormFieldBase';
|
|
1
|
+
import { byte, nothing, ulong } from '../../API/Types';
|
|
3
2
|
import { FormFieldType } from '../FormFieldType';
|
|
3
|
+
import { FormFieldBase } from './FormFieldBase';
|
|
4
4
|
/**
|
|
5
5
|
* A control to allow the user to attach {@link Picture}s or {@link Document}s.
|
|
6
6
|
*/
|
|
@@ -9,7 +9,7 @@ export declare class FormFieldAttachments extends FormFieldBase {
|
|
|
9
9
|
* Takes a string as input and returns an array split by comma with trimmed items.
|
|
10
10
|
* @param values
|
|
11
11
|
*/
|
|
12
|
-
static
|
|
12
|
+
static split(values: string): string[];
|
|
13
13
|
/**
|
|
14
14
|
* These are the attachment types.
|
|
15
15
|
*/
|
|
@@ -22,17 +22,10 @@ export declare class FormFieldAttachments extends FormFieldBase {
|
|
|
22
22
|
* Maximum number of {@link Document}s and/or {@link Picture}s that must be attached.
|
|
23
23
|
*/
|
|
24
24
|
maximum: byte;
|
|
25
|
-
constructor(id?: ulong, name?: string, kind?: FormFieldType, minimum?: byte, maximum?: byte, notes?: string, required?: boolean, value?: string |
|
|
25
|
+
constructor(id?: ulong | nothing, name?: string | nothing, kind?: FormFieldType | nothing, minimum?: byte | nothing, maximum?: byte | nothing, notes?: string | nothing, required?: boolean | nothing, value?: string | nothing, editable?: boolean | nothing);
|
|
26
26
|
toJSON(): {
|
|
27
27
|
minimum: number | null;
|
|
28
28
|
maximum: number | null;
|
|
29
|
-
id: number | null;
|
|
30
|
-
kind: FormFieldType;
|
|
31
|
-
name: string;
|
|
32
|
-
notes: string;
|
|
33
|
-
required: boolean;
|
|
34
|
-
value: string | null;
|
|
35
|
-
editable: boolean;
|
|
36
29
|
};
|
|
37
30
|
isValid(value: string): boolean;
|
|
38
31
|
}
|
|
@@ -1,26 +1,19 @@
|
|
|
1
1
|
import { IIdUlong } from '../../API/Interfaces/IIdUlong';
|
|
2
2
|
import { INamed } from '../../API/Interfaces/INamed';
|
|
3
3
|
import { ISerializable } from '../../API/Interfaces/ISerializable';
|
|
4
|
-
import { ulong } from '../../API/Types';
|
|
4
|
+
import { JsonObject, nothing, ulong } from '../../API/Types';
|
|
5
5
|
import { FormFieldType } from '../FormFieldType';
|
|
6
|
-
import { FormFieldAttachments } from './FormFieldAttachments';
|
|
7
|
-
import { FormFieldBoolean } from './FormFieldBoolean';
|
|
8
|
-
import { FormFieldChoice } from './FormFieldChoice';
|
|
9
|
-
import { FormFieldDate } from './FormFieldDate';
|
|
10
|
-
import { FormFieldNumeric } from './FormFieldNumeric';
|
|
11
|
-
import { FormFieldSignature } from './FormFieldSignature';
|
|
12
|
-
import { FormFieldText } from './FormFieldText';
|
|
13
|
-
import { FormFieldTime } from './FormFieldTime';
|
|
14
|
-
import { FormFieldTimezone } from './FormFieldTimezone';
|
|
15
6
|
/**
|
|
16
7
|
* A base class for the common form field UI members.
|
|
17
8
|
*/
|
|
18
9
|
export declare abstract class FormFieldBase implements IIdUlong, INamed, ISerializable {
|
|
19
10
|
/**
|
|
20
|
-
* Instantiates a form field based on the kind property in the
|
|
21
|
-
* @
|
|
11
|
+
* Instantiates a form field subclass based on the `kind` property in the JSON.
|
|
12
|
+
* Implementation is in {@link FormFieldBase_fromJSON.ts}
|
|
13
|
+
* @param json The JSON to parse.
|
|
14
|
+
* @returns An instance of a form field subclass, or null if the JSON is null or does not contain a recognized "kind" property.
|
|
22
15
|
*/
|
|
23
|
-
static fromJSON(json:
|
|
16
|
+
static fromJSON: (json: JsonObject) => FormFieldBase;
|
|
24
17
|
/**
|
|
25
18
|
* A list of supported {@link FormFieldType}s that this class supports.
|
|
26
19
|
*/
|
|
@@ -54,16 +47,8 @@ export declare abstract class FormFieldBase implements IIdUlong, INamed, ISerial
|
|
|
54
47
|
* When false, this field's value is treated as read-only.
|
|
55
48
|
*/
|
|
56
49
|
editable: boolean;
|
|
57
|
-
constructor(id?: ulong, name?: string, kind?: FormFieldType, notes?: string, required?: boolean, value?: string |
|
|
58
|
-
toJSON():
|
|
59
|
-
id: number | null;
|
|
60
|
-
kind: FormFieldType;
|
|
61
|
-
name: string;
|
|
62
|
-
notes: string;
|
|
63
|
-
required: boolean;
|
|
64
|
-
value: string | null;
|
|
65
|
-
editable: boolean;
|
|
66
|
-
};
|
|
50
|
+
constructor(id?: ulong | nothing, name?: string | nothing, kind?: FormFieldType | nothing, notes?: string | nothing, required?: boolean | nothing, value?: string | nothing, editable?: boolean | nothing);
|
|
51
|
+
toJSON(): JsonObject;
|
|
67
52
|
/**
|
|
68
53
|
* Returns true if the value can be parsed by the field type.
|
|
69
54
|
*/
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ulong } from "../../API/Types";
|
|
1
|
+
import { nothing, ulong } from "../../API/Types";
|
|
2
2
|
import { FormFieldType } from "../FormFieldType";
|
|
3
3
|
import { FormFieldBase } from "./FormFieldBase";
|
|
4
4
|
/**
|
|
@@ -15,13 +15,12 @@ export declare class FormFieldBoolean extends FormFieldBase {
|
|
|
15
15
|
/**
|
|
16
16
|
* If no choices are given, then these choices are used.
|
|
17
17
|
**/
|
|
18
|
-
static DEFAULT_CHOICES: [string, string, string];
|
|
18
|
+
static readonly DEFAULT_CHOICES: [string, string, string];
|
|
19
19
|
/**
|
|
20
20
|
* Returns an array of 3 strings representing the checked, unchecked, and indeterminate values.
|
|
21
21
|
* @param choices
|
|
22
|
-
* @returns
|
|
23
22
|
*/
|
|
24
|
-
static
|
|
23
|
+
static normalize(choices?: (string | nothing)[] | nothing): [string, string, string];
|
|
25
24
|
/**
|
|
26
25
|
* These are the boolean control types.
|
|
27
26
|
*/
|
|
@@ -31,16 +30,9 @@ export declare class FormFieldBoolean extends FormFieldBase {
|
|
|
31
30
|
* The first value is the "checked" value, second is the "unchecked" value, and third is "indeterminate" value.
|
|
32
31
|
*/
|
|
33
32
|
choices: [string, string, string];
|
|
34
|
-
constructor(id?: ulong, name?: string, kind?: FormFieldType, choices?: string[], notes?: string, required?: boolean, value?: string |
|
|
33
|
+
constructor(id?: ulong | nothing, name?: string | nothing, kind?: FormFieldType | nothing, choices?: (string | nothing)[] | nothing, notes?: string | nothing, required?: boolean | nothing, value?: string | nothing, editable?: boolean | nothing);
|
|
35
34
|
toJSON(): {
|
|
36
35
|
choices: string[];
|
|
37
|
-
id: number | null;
|
|
38
|
-
kind: FormFieldType;
|
|
39
|
-
name: string;
|
|
40
|
-
notes: string;
|
|
41
|
-
required: boolean;
|
|
42
|
-
value: string | null;
|
|
43
|
-
editable: boolean;
|
|
44
36
|
};
|
|
45
37
|
isValid(value: string): boolean;
|
|
46
38
|
}
|