@trakit/objects 0.0.1 → 0.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +661 -0
- package/README.md +11 -0
- package/{API → _publish/API}/Base.d.ts +3 -2
- package/{API → _publish/API}/BaseComponent.d.ts +9 -6
- package/_publish/API/Codifier.d.ts +15 -0
- package/_publish/API/Encoding.d.ts +9 -0
- package/{API → _publish/API}/Files.d.ts +4 -4
- package/{API → _publish/API}/Functions.d.ts +26 -21
- package/{API → _publish/API}/Geography/Functions.d.ts +4 -0
- package/{API → _publish/API}/Geography/Interfaces.d.ts +19 -14
- package/{API → _publish/API}/Geography/LatLng.d.ts +9 -1
- package/{API → _publish/API}/Geography/LatLngBounds.d.ts +2 -1
- package/{API → _publish/API}/Geography/Position.d.ts +23 -11
- package/{API → _publish/API}/Geography/StreetAddress.d.ts +3 -2
- package/{API → _publish/API}/Geometry/Functions.d.ts +1 -1
- package/{API → _publish/API}/Geometry/Point.d.ts +4 -3
- package/{API → _publish/API}/Geometry/Radial.d.ts +5 -4
- package/{API → _publish/API}/Geometry/Rectangle.d.ts +3 -7
- package/{API → _publish/API}/Geometry/Size.d.ts +8 -2
- package/_publish/API/Interfaces/IAuditable.d.ts +31 -0
- package/{API → _publish/API}/Interfaces/IDeserializable.d.ts +2 -1
- package/{API → _publish/API}/Interfaces/ILabelled.d.ts +2 -1
- package/{API → _publish/API}/Interfaces/IRequestable.d.ts +5 -1
- package/_publish/API/Objects.d.ts +5 -0
- package/{API → _publish/API}/SearchPattern.d.ts +3 -2
- package/{API → _publish/API}/TimeSpan.d.ts +7 -38
- package/{API → _publish/API}/Timezone.d.ts +3 -3
- package/{API → _publish/API}/Types.d.ts +18 -0
- package/{Accounts → _publish/Accounts}/Contact.d.ts +10 -10
- package/{Accounts → _publish/Accounts}/Machine.d.ts +14 -6
- package/{Accounts → _publish/Accounts}/Permissions/Permission.d.ts +3 -3
- package/{Accounts → _publish/Accounts}/Permissions/PermissionEscalation.d.ts +11 -3
- package/{Accounts → _publish/Accounts}/Permissions/PermissionEscalationState.d.ts +5 -3
- package/{Accounts → _publish/Accounts}/Session.d.ts +2 -2
- package/{Accounts → _publish/Accounts}/User.d.ts +10 -10
- package/{Accounts → _publish/Accounts}/UserAdvanced.d.ts +2 -2
- package/{Accounts → _publish/Accounts}/UserGeneral.d.ts +5 -5
- package/{Accounts → _publish/Accounts}/UserGroup.d.ts +3 -3
- package/{Accounts → _publish/Accounts}/UserNotifications.d.ts +2 -2
- package/{Assets → _publish/Assets}/Asset.d.ts +56 -24
- package/{Assets → _publish/Assets}/AssetAdvanced.d.ts +8 -20
- package/{Assets → _publish/Assets}/AssetAttribute.d.ts +2 -2
- package/{Assets → _publish/Assets}/AssetDispatch.d.ts +5 -12
- package/{Assets → _publish/Assets}/AssetGeneral.d.ts +44 -24
- package/{Assets → _publish/Assets}/AssetPlaceStatus.d.ts +2 -2
- package/{Behaviours → _publish/Behaviours}/Behaviour.d.ts +4 -4
- package/{Behaviours → _publish/Behaviours}/BehaviourLog.d.ts +3 -3
- package/{Behaviours → _publish/Behaviours}/BehaviourParameter.d.ts +2 -1
- package/{Behaviours → _publish/Behaviours}/BehaviourScript.d.ts +4 -4
- package/{Billing → _publish/Billing}/BillableBase.d.ts +3 -3
- package/{Billing → _publish/Billing}/BillableSmsProfile.d.ts +2 -2
- package/{Billing → _publish/Billing}/BillingProfile.d.ts +3 -3
- package/{Billing → _publish/Billing}/Hosting/BillableHostingBase.d.ts +2 -2
- package/{Billing → _publish/Billing}/Hosting/BillableHostingDiscount.d.ts +2 -1
- package/{Billing → _publish/Billing}/Hosting/BillableHostingLicense.d.ts +2 -1
- package/{Billing → _publish/Billing}/Hosting/BillableHostingRule.d.ts +2 -1
- package/{Billing → _publish/Billing}/Report/BillingReport.d.ts +3 -3
- package/{Billing → _publish/Billing}/Report/BillingReportBreakdown.d.ts +2 -2
- package/{Billing → _publish/Billing}/Report/BillingReportHostingSummary.d.ts +2 -2
- package/{Billing → _publish/Billing}/Report/BillingReportLicenseBreakdown.d.ts +2 -2
- package/{Billing → _publish/Billing}/Report/BillingReportServiceBreakdown.d.ts +2 -2
- package/{Billing → _publish/Billing}/Report/BillingReportSummary.d.ts +2 -2
- package/{Companies → _publish/Companies}/ColourStyle.d.ts +2 -2
- package/{Companies → _publish/Companies}/Company.d.ts +48 -33
- package/{Companies → _publish/Companies}/CompanyDirectory.d.ts +10 -5
- package/{Companies → _publish/Companies}/CompanyGeneral.d.ts +10 -5
- package/{Companies/CompanyPolicies.d.ts → _publish/Companies/CompanyPolicy.d.ts} +9 -4
- package/{Companies → _publish/Companies}/CompanyReseller.d.ts +14 -9
- package/{Companies/CompanyStyles.d.ts → _publish/Companies/CompanyStyle.d.ts} +11 -6
- package/{Companies → _publish/Companies}/LabelStyle.d.ts +2 -2
- package/{Companies → _publish/Companies}/NotificationServerEmail.d.ts +2 -2
- package/{Companies → _publish/Companies}/NotificationServerSms.d.ts +3 -3
- package/{Companies → _publish/Companies}/PasswordPolicy.d.ts +2 -2
- package/{Companies → _publish/Companies}/SessionPolicy.d.ts +2 -2
- package/{Dispatch → _publish/Dispatch}/DispatchDirection.d.ts +3 -3
- package/{Dispatch → _publish/Dispatch}/DispatchJob.d.ts +4 -4
- package/{Dispatch → _publish/Dispatch}/DispatchStep.d.ts +4 -4
- package/{Dispatch → _publish/Dispatch}/DispatchStepState.d.ts +3 -3
- package/{Dispatch → _publish/Dispatch}/DispatchTask.d.ts +5 -5
- package/{Hosting → _publish/Hosting}/Document.d.ts +3 -3
- package/{Hosting → _publish/Hosting}/Fields/FormFieldAttachments.d.ts +4 -11
- package/{Hosting → _publish/Hosting}/Fields/FormFieldBase.d.ts +8 -23
- package/_publish/Hosting/Fields/FormFieldBase_fromJSON.d.ts +1 -0
- package/{Hosting → _publish/Hosting}/Fields/FormFieldBoolean.d.ts +4 -12
- package/{Hosting → _publish/Hosting}/Fields/FormFieldChoice.d.ts +10 -12
- package/{Hosting → _publish/Hosting}/Fields/FormFieldDate.d.ts +2 -9
- package/{Hosting → _publish/Hosting}/Fields/FormFieldNumeric.d.ts +2 -9
- package/{Hosting → _publish/Hosting}/Fields/FormFieldSignature.d.ts +2 -2
- package/{Hosting → _publish/Hosting}/Fields/FormFieldText.d.ts +2 -9
- package/_publish/Hosting/Fields/FormFieldTime.d.ts +37 -0
- package/{Hosting → _publish/Hosting}/Fields/FormFieldTimezone.d.ts +2 -2
- package/{Hosting → _publish/Hosting}/FormResult.d.ts +4 -4
- package/{Hosting → _publish/Hosting}/FormTemplate.d.ts +3 -3
- package/{Images → _publish/Images}/Dashcam.d.ts +3 -3
- package/{Images → _publish/Images}/DashcamBase.d.ts +2 -2
- package/{Images → _publish/Images}/DashcamLive.d.ts +3 -3
- package/{Images → _publish/Images}/Icon.d.ts +7 -27
- package/{Images → _publish/Images}/IconGlyph.d.ts +5 -12
- package/{Images → _publish/Images}/IconLabel.d.ts +5 -8
- package/{Images → _publish/Images}/Picture.d.ts +3 -3
- package/{Maintenance → _publish/Maintenance}/MaintenanceInterval.d.ts +2 -2
- package/{Maintenance → _publish/Maintenance}/MaintenanceJob.d.ts +3 -3
- package/{Maintenance → _publish/Maintenance}/MaintenanceSchedule.d.ts +4 -4
- package/{Messaging → _publish/Messaging}/AssetAlert.d.ts +2 -1
- package/{Messaging → _publish/Messaging}/AssetMessage.d.ts +2 -2
- package/{Messaging → _publish/Messaging}/MessageBase.d.ts +3 -3
- package/{Places → _publish/Places}/Place.d.ts +4 -4
- package/{Providers → _publish/Providers}/Config/ProviderConfig.d.ts +4 -4
- package/{Providers → _publish/Providers}/Config/ProviderRegistration.d.ts +2 -2
- package/{Providers → _publish/Providers}/Config/ProviderScript.d.ts +4 -4
- package/{Providers → _publish/Providers}/Config/ProviderScriptBlock.d.ts +2 -1
- package/{Providers → _publish/Providers}/Config/ProviderScriptParameter.d.ts +2 -2
- package/{Providers → _publish/Providers}/Configuration/ProviderConfiguration.d.ts +4 -4
- package/{Providers → _publish/Providers}/Configuration/ProviderConfigurationNode.d.ts +4 -3
- package/{Providers → _publish/Providers}/Configuration/ProviderConfigurationType.d.ts +4 -4
- package/{Providers → _publish/Providers}/Configuration/ProviderGeofenceBase.d.ts +6 -8
- package/_publish/Providers/Configuration/ProviderGeofenceBase_fromJSON.d.ts +1 -0
- package/_publish/Providers/Provider.d.ts +211 -0
- package/{Providers → _publish/Providers}/ProviderAdvanced.d.ts +4 -4
- package/{Providers → _publish/Providers}/ProviderCommand.d.ts +2 -2
- package/{Providers → _publish/Providers}/ProviderControl.d.ts +3 -3
- package/{Providers → _publish/Providers}/ProviderData.d.ts +2 -2
- package/{Providers → _publish/Providers}/ProviderGeneral.d.ts +18 -10
- package/_publish/Reports/ReportBreakdown.d.ts +49 -0
- package/_publish/Reports/ReportBreakdownJob.d.ts +37 -0
- package/_publish/Reports/ReportBreakdownMessage.d.ts +40 -0
- package/{Reports → _publish/Reports}/ReportBreakdownTask.d.ts +6 -31
- package/_publish/Reports/ReportBreakdown_fromJSON.d.ts +1 -0
- package/{Reports → _publish/Reports}/ReportNotifications.d.ts +3 -3
- package/{Reports → _publish/Reports}/ReportOptions.d.ts +3 -2
- package/{Reports → _publish/Reports}/ReportParameter.d.ts +2 -1
- package/{Reports → _publish/Reports}/ReportRecurrence.d.ts +2 -2
- package/{Reports → _publish/Reports}/ReportResult.d.ts +9 -9
- package/{Reports → _publish/Reports}/ReportSchedule.d.ts +3 -3
- package/{Reports → _publish/Reports}/ReportScorecard.d.ts +3 -3
- package/{Reports → _publish/Reports}/ReportScorecardParameter.d.ts +2 -2
- package/{Reports → _publish/Reports}/ReportScorecardRules.d.ts +2 -2
- package/{Reports → _publish/Reports}/ReportSummary.d.ts +5 -33
- package/{Reports → _publish/Reports}/ReportTemplate.d.ts +3 -3
- package/{Reports → _publish/Reports}/ReportTotal.d.ts +2 -2
- package/_publish/index.d.ts +406 -0
- package/_publish/objects/API/Arrays.d.ts +46 -0
- package/_publish/objects/API/Base.d.ts +19 -0
- package/_publish/objects/API/BaseComponent.d.ts +40 -0
- package/{API/Compound.d.ts → _publish/objects/API/BaseCompound.d.ts} +3 -3
- package/_publish/objects/API/Codifier.d.ts +15 -0
- package/_publish/objects/API/Constants.d.ts +39 -0
- package/_publish/objects/API/Conversion.d.ts +255 -0
- package/_publish/objects/API/Encoding.d.ts +9 -0
- package/_publish/objects/API/Files.d.ts +21 -0
- package/_publish/objects/API/Functions.d.ts +196 -0
- package/_publish/objects/API/Geography/Functions.d.ts +236 -0
- package/_publish/objects/API/Geography/Interfaces.d.ts +150 -0
- package/_publish/objects/API/Geography/LatLng.d.ts +86 -0
- package/_publish/objects/API/Geography/LatLngBounds.d.ts +146 -0
- package/_publish/objects/API/Geography/Position.d.ts +74 -0
- package/_publish/objects/API/Geography/StreetAddress.d.ts +59 -0
- package/_publish/objects/API/Geometry/Functions.d.ts +114 -0
- package/_publish/objects/API/Geometry/Interfaces.d.ts +111 -0
- package/_publish/objects/API/Geometry/Point.d.ts +81 -0
- package/_publish/objects/API/Geometry/Radial.d.ts +110 -0
- package/_publish/objects/API/Geometry/Rectangle.d.ts +159 -0
- package/_publish/objects/API/Geometry/Size.d.ts +58 -0
- package/_publish/objects/API/Guid.d.ts +4 -0
- package/_publish/objects/API/Interfaces/IAmCompany.d.ts +11 -0
- package/_publish/objects/API/Interfaces/IBelongAsset.d.ts +15 -0
- package/_publish/objects/API/Interfaces/IBelongBillingProfile.d.ts +15 -0
- package/_publish/objects/API/Interfaces/IBelongCompany.d.ts +15 -0
- package/_publish/objects/API/Interfaces/IDeserializable.d.ts +13 -0
- package/_publish/objects/API/Interfaces/IEnabled.d.ts +10 -0
- package/_publish/objects/API/Interfaces/IFileSize.d.ts +9 -0
- package/_publish/objects/API/Interfaces/IGlobal.d.ts +11 -0
- package/_publish/objects/API/Interfaces/IHavePermissions.d.ts +20 -0
- package/_publish/objects/API/Interfaces/IHavePreferences.d.ts +29 -0
- package/_publish/objects/API/Interfaces/IIconic.d.ts +15 -0
- package/_publish/objects/API/Interfaces/IIdUlong.d.ts +10 -0
- package/_publish/objects/API/Interfaces/ILabelled.d.ts +10 -0
- package/_publish/objects/API/Interfaces/INamed.d.ts +13 -0
- package/_publish/objects/API/Interfaces/IPictured.d.ts +15 -0
- package/_publish/objects/API/Interfaces/IRequestable.d.ts +22 -0
- package/_publish/objects/API/Interfaces/ISerializable.d.ts +10 -0
- package/_publish/objects/API/Interfaces/ISuspendable.d.ts +16 -0
- package/_publish/objects/API/Interfaces/IVisual.d.ts +18 -0
- package/_publish/objects/API/Maps.d.ts +28 -0
- package/_publish/objects/API/Objects.d.ts +5 -0
- package/_publish/objects/API/SearchPattern.d.ts +46 -0
- package/_publish/objects/API/TimeSpan.d.ts +109 -0
- package/_publish/objects/API/Timezone.d.ts +44 -0
- package/_publish/objects/API/Timezones.d.ts +7 -0
- package/_publish/objects/API/Types.d.ts +132 -0
- package/_publish/objects/Accounts/Contact.d.ts +139 -0
- package/_publish/objects/Accounts/Machine.d.ts +139 -0
- package/_publish/objects/Accounts/MultiFactorType.d.ts +17 -0
- package/_publish/objects/Accounts/NotificationMethod.d.ts +17 -0
- package/_publish/objects/Accounts/Permissions/Authorizer.d.ts +204 -0
- package/_publish/objects/Accounts/Permissions/Permission.d.ts +56 -0
- package/_publish/objects/Accounts/Permissions/PermissionEscalation.d.ts +41 -0
- package/_publish/objects/Accounts/Permissions/PermissionEscalationState.d.ts +19 -0
- package/_publish/objects/Accounts/Permissions/PermissionEscalationType.d.ts +13 -0
- package/_publish/objects/Accounts/Permissions/PermissionLevel.d.ts +17 -0
- package/_publish/objects/Accounts/Permissions/PermissionMethod.d.ts +13 -0
- package/_publish/objects/Accounts/Permissions/PermissionType.d.ts +280 -0
- package/_publish/objects/Accounts/SSOIdentityProvider.d.ts +25 -0
- package/_publish/objects/Accounts/Session.d.ts +89 -0
- package/_publish/objects/Accounts/SessionStatus.d.ts +29 -0
- package/_publish/objects/Accounts/SystemsOfUnits.d.ts +13 -0
- package/_publish/objects/Accounts/User.d.ts +167 -0
- package/_publish/objects/Accounts/UserAdvanced.d.ts +53 -0
- package/_publish/objects/Accounts/UserAuthentication.d.ts +55 -0
- package/_publish/objects/Accounts/UserGeneral.d.ts +98 -0
- package/_publish/objects/Accounts/UserGroup.d.ts +51 -0
- package/_publish/objects/Accounts/UserMFA.d.ts +47 -0
- package/_publish/objects/Accounts/UserNotifications.d.ts +76 -0
- package/_publish/objects/Accounts/UserSSO.d.ts +37 -0
- package/_publish/objects/Assets/Asset.d.ts +218 -0
- package/_publish/objects/Assets/AssetAdvanced.d.ts +77 -0
- package/_publish/objects/Assets/AssetAttribute.d.ts +71 -0
- package/_publish/objects/Assets/AssetDispatch.d.ts +55 -0
- package/_publish/objects/Assets/AssetGeneral.d.ts +127 -0
- package/_publish/objects/Assets/AssetPlaceStatus.d.ts +31 -0
- package/_publish/objects/Assets/AssetPlaceStatusType.d.ts +17 -0
- package/_publish/objects/Assets/AssetType.d.ts +21 -0
- package/_publish/objects/Behaviours/Behaviour.d.ts +78 -0
- package/_publish/objects/Behaviours/BehaviourLog.d.ts +95 -0
- package/_publish/objects/Behaviours/BehaviourLogType.d.ts +21 -0
- package/_publish/objects/Behaviours/BehaviourParameter.d.ts +38 -0
- package/_publish/objects/Behaviours/BehaviourParameterType.d.ts +21 -0
- package/_publish/objects/Behaviours/BehaviourScript.d.ts +83 -0
- package/_publish/objects/Billing/BillableBase.d.ts +83 -0
- package/_publish/objects/Billing/BillableSmsProfile.d.ts +26 -0
- package/_publish/objects/Billing/BillingCurrency.d.ts +17 -0
- package/_publish/objects/Billing/BillingCycle.d.ts +17 -0
- package/_publish/objects/Billing/BillingProfile.d.ts +104 -0
- package/_publish/objects/Billing/Hosting/BillableHostingBase.d.ts +41 -0
- package/_publish/objects/Billing/Hosting/BillableHostingLicense.d.ts +30 -0
- package/_publish/objects/Billing/Hosting/BillableHostingLicenseType.d.ts +20 -0
- package/_publish/objects/Billing/Hosting/BillableHostingRule.d.ts +30 -0
- package/_publish/objects/Billing/Hosting/BillableHostingType.d.ts +41 -0
- package/_publish/objects/Billing/Report/BillingReport.d.ts +112 -0
- package/_publish/objects/Billing/Report/BillingReportBreakdown.d.ts +34 -0
- package/_publish/objects/Billing/Report/BillingReportHostingSummary.d.ts +36 -0
- package/_publish/objects/Billing/Report/BillingReportLicenseBreakdown.d.ts +79 -0
- package/_publish/objects/Billing/Report/BillingReportServiceBreakdown.d.ts +124 -0
- package/_publish/objects/Billing/Report/BillingReportStatus.d.ts +25 -0
- package/_publish/objects/Billing/Report/BillingReportSummary.d.ts +49 -0
- package/_publish/objects/Companies/ColourStyle.d.ts +25 -0
- package/_publish/objects/Companies/Company.d.ts +167 -0
- package/_publish/objects/Companies/CompanyDirectory.d.ts +52 -0
- package/_publish/objects/Companies/CompanyGeneral.d.ts +55 -0
- package/_publish/objects/Companies/CompanyPolicy.d.ts +66 -0
- package/_publish/objects/Companies/CompanyReseller.d.ts +166 -0
- package/_publish/objects/Companies/CompanyStyle.d.ts +50 -0
- package/_publish/objects/Companies/LabelStyle.d.ts +46 -0
- package/_publish/objects/Companies/NotificationServerEmail.d.ts +99 -0
- package/_publish/objects/Companies/NotificationServerSms.d.ts +25 -0
- package/_publish/objects/Companies/PasswordExpiryMode.d.ts +17 -0
- package/_publish/objects/Companies/PasswordPolicy.d.ts +51 -0
- package/_publish/objects/Companies/SessionMultiUser.d.ts +17 -0
- package/_publish/objects/Companies/SessionPolicy.d.ts +47 -0
- package/_publish/objects/Dispatch/DispatchDirection.d.ts +53 -0
- package/_publish/objects/Dispatch/DispatchJob.d.ts +107 -0
- package/_publish/objects/Dispatch/DispatchJobPriority.d.ts +25 -0
- package/_publish/objects/Dispatch/DispatchStep.d.ts +99 -0
- package/_publish/objects/Dispatch/DispatchStepState.d.ts +27 -0
- package/_publish/objects/Dispatch/DispatchStepStatus.d.ts +21 -0
- package/_publish/objects/Dispatch/DispatchTask.d.ts +154 -0
- package/_publish/objects/Dispatch/DispatchTaskStatus.d.ts +50 -0
- package/_publish/objects/Hosting/Document.d.ts +70 -0
- package/_publish/objects/Hosting/Fields/FormFieldAttachments.d.ts +31 -0
- package/_publish/objects/Hosting/Fields/FormFieldBase.d.ts +56 -0
- package/_publish/objects/Hosting/Fields/FormFieldBase_fromJSON.d.ts +1 -0
- package/_publish/objects/Hosting/Fields/FormFieldBoolean.d.ts +38 -0
- package/_publish/objects/Hosting/Fields/FormFieldChoice.d.ts +46 -0
- package/_publish/objects/Hosting/Fields/FormFieldDate.d.ts +26 -0
- package/_publish/objects/Hosting/Fields/FormFieldNumeric.d.ts +54 -0
- package/_publish/objects/Hosting/Fields/FormFieldNumericSize.d.ts +32 -0
- package/_publish/objects/Hosting/Fields/FormFieldSignature.d.ts +17 -0
- package/_publish/objects/Hosting/Fields/FormFieldText.d.ts +32 -0
- package/_publish/objects/Hosting/Fields/FormFieldTime.d.ts +37 -0
- package/_publish/objects/Hosting/Fields/FormFieldTimezone.d.ts +14 -0
- package/_publish/objects/Hosting/FormFieldType.d.ts +127 -0
- package/_publish/objects/Hosting/FormResult.d.ts +95 -0
- package/_publish/objects/Hosting/FormTemplate.d.ts +80 -0
- package/_publish/objects/Images/Dashcam.d.ts +63 -0
- package/_publish/objects/Images/DashcamBase.d.ts +97 -0
- package/_publish/objects/Images/DashcamLive.d.ts +36 -0
- package/_publish/objects/Images/DashcamMediaType.d.ts +17 -0
- package/_publish/objects/Images/Icon.d.ts +66 -0
- package/_publish/objects/Images/IconGlyph.d.ts +47 -0
- package/_publish/objects/Images/IconLabel.d.ts +29 -0
- package/_publish/objects/Images/IconLayer.d.ts +33 -0
- package/_publish/objects/Images/Picture.d.ts +72 -0
- package/_publish/objects/Maintenance/MaintenanceInterval.d.ts +48 -0
- package/_publish/objects/Maintenance/MaintenanceJob.d.ts +134 -0
- package/_publish/objects/Maintenance/MaintenanceJobStatus.d.ts +21 -0
- package/_publish/objects/Maintenance/MaintenanceSchedule.d.ts +118 -0
- package/_publish/objects/Messaging/AlertPriority.d.ts +17 -0
- package/_publish/objects/Messaging/AssetAlert.d.ts +29 -0
- package/_publish/objects/Messaging/AssetMessage.d.ts +40 -0
- package/_publish/objects/Messaging/MessageBase.d.ts +99 -0
- package/_publish/objects/Messaging/MessageFolder.d.ts +13 -0
- package/_publish/objects/Messaging/MessageStatus.d.ts +29 -0
- package/_publish/objects/Messaging/MessageType.d.ts +33 -0
- package/_publish/objects/Places/Place.d.ts +114 -0
- package/_publish/objects/Places/PlaceType.d.ts +25 -0
- package/_publish/objects/Providers/Config/ProviderConfig.d.ts +70 -0
- package/_publish/objects/Providers/Config/ProviderRegistration.d.ts +119 -0
- package/_publish/objects/Providers/Config/ProviderScript.d.ts +86 -0
- package/_publish/objects/Providers/Config/ProviderScriptBlock.d.ts +41 -0
- package/_publish/objects/Providers/Config/ProviderScriptParameter.d.ts +49 -0
- package/_publish/objects/Providers/Config/ProviderScriptParameterType.d.ts +17 -0
- package/_publish/objects/Providers/Configuration/ProviderConfiguration.d.ts +66 -0
- package/_publish/objects/Providers/Configuration/ProviderConfigurationNode.d.ts +66 -0
- package/_publish/objects/Providers/Configuration/ProviderConfigurationType.d.ts +62 -0
- package/_publish/objects/Providers/Configuration/ProviderGeofenceBase.d.ts +29 -0
- package/_publish/objects/Providers/Configuration/ProviderGeofenceBase_fromJSON.d.ts +1 -0
- package/_publish/objects/Providers/Configuration/ProviderGeofenceCircular.d.ts +28 -0
- package/_publish/objects/Providers/Configuration/ProviderGeofencePoint.d.ts +12 -0
- package/_publish/objects/Providers/Configuration/ProviderGeofencePolygon.d.ts +23 -0
- package/_publish/objects/Providers/Configuration/ProviderGeofenceRectangle.d.ts +28 -0
- package/{Providers → _publish/objects/Providers}/Provider.d.ts +77 -17
- package/_publish/objects/Providers/ProviderAdvanced.d.ts +50 -0
- package/_publish/objects/Providers/ProviderCommand.d.ts +36 -0
- package/_publish/objects/Providers/ProviderCommandStatus.d.ts +29 -0
- package/_publish/objects/Providers/ProviderCommandType.d.ts +37 -0
- package/_publish/objects/Providers/ProviderControl.d.ts +41 -0
- package/_publish/objects/Providers/ProviderData.d.ts +30 -0
- package/_publish/objects/Providers/ProviderGeneral.d.ts +121 -0
- package/_publish/objects/Providers/ProviderType.d.ts +106 -0
- package/_publish/objects/Reports/ReportBreakdown.d.ts +49 -0
- package/_publish/objects/Reports/ReportBreakdownJob.d.ts +37 -0
- package/_publish/objects/Reports/ReportBreakdownMessage.d.ts +40 -0
- package/_publish/objects/Reports/ReportBreakdownTask.d.ts +46 -0
- package/_publish/objects/Reports/ReportBreakdown_fromJSON.d.ts +1 -0
- package/_publish/objects/Reports/ReportFilterMode.d.ts +17 -0
- package/_publish/objects/Reports/ReportNotifications.d.ts +31 -0
- package/_publish/objects/Reports/ReportOptions.d.ts +52 -0
- package/_publish/objects/Reports/ReportParameter.d.ts +26 -0
- package/_publish/objects/Reports/ReportParameterType.d.ts +59 -0
- package/_publish/objects/Reports/ReportRecurrence.d.ts +54 -0
- package/_publish/objects/Reports/ReportRecurrenceType.d.ts +34 -0
- package/_publish/objects/Reports/ReportResult.d.ts +169 -0
- package/_publish/objects/Reports/ReportResultData.d.ts +17 -0
- package/_publish/objects/Reports/ReportSchedule.d.ts +111 -0
- package/_publish/objects/Reports/ReportScorecard.d.ts +38 -0
- package/_publish/objects/Reports/ReportScorecardParameter.d.ts +31 -0
- package/_publish/objects/Reports/ReportScorecardRules.d.ts +26 -0
- package/_publish/objects/Reports/ReportStatus.d.ts +29 -0
- package/_publish/objects/Reports/ReportSummary.d.ts +90 -0
- package/_publish/objects/Reports/ReportSummaryReason.d.ts +27 -0
- package/_publish/objects/Reports/ReportTemplate.d.ts +81 -0
- package/{Reports/ReportDataTotal.d.ts → _publish/objects/Reports/ReportTotal.d.ts} +4 -7
- package/_publish/objects/Reports/ReportType.d.ts +42 -0
- package/{Storage.d.ts → _publish/objects/storage.d.ts} +11 -1
- package/_publish/storage.d.ts +176 -0
- package/_publish/trakit-objects.min.js +8 -0
- package/package.json +36 -22
- package/API/Codifier.d.ts +0 -5
- package/API/Component.d.ts +0 -42
- package/API/Objects.d.ts +0 -33
- package/Assets/Person.d.ts +0 -25
- package/Assets/PersonGeneral.d.ts +0 -35
- package/Assets/Trailer.d.ts +0 -42
- package/Assets/TrailerGeneral.d.ts +0 -47
- package/Assets/Vehicle.d.ts +0 -73
- package/Assets/VehicleAdvanced.d.ts +0 -25
- package/Assets/VehicleGeneral.d.ts +0 -33
- package/Hosting/Fields/FormFieldTime.d.ts +0 -34
- package/Reports/ReportBreakdown.d.ts +0 -72
- package/Reports/ReportBreakdownJob.d.ts +0 -62
- package/Reports/ReportBreakdownMessage.d.ts +0 -65
- package/objects.d.ts +0 -534
- package/objects.min.js +0 -7
- /package/{API → _publish/API}/Arrays.d.ts +0 -0
- /package/{API → _publish/API}/BaseCompound.d.ts +0 -0
- /package/{API → _publish/API}/Constants.d.ts +0 -0
- /package/{API → _publish/API}/Conversion.d.ts +0 -0
- /package/{API → _publish/API}/Geometry/Interfaces.d.ts +0 -0
- /package/{API → _publish/API}/Guid.d.ts +0 -0
- /package/{API → _publish/API}/Interfaces/IAmCompany.d.ts +0 -0
- /package/{API → _publish/API}/Interfaces/IBelongAsset.d.ts +0 -0
- /package/{API → _publish/API}/Interfaces/IBelongBillingProfile.d.ts +0 -0
- /package/{API → _publish/API}/Interfaces/IBelongCompany.d.ts +0 -0
- /package/{API → _publish/API}/Interfaces/IEnabled.d.ts +0 -0
- /package/{API → _publish/API}/Interfaces/IFileSize.d.ts +0 -0
- /package/{API → _publish/API}/Interfaces/IGlobal.d.ts +0 -0
- /package/{API → _publish/API}/Interfaces/IHavePermissions.d.ts +0 -0
- /package/{API → _publish/API}/Interfaces/IHavePreferences.d.ts +0 -0
- /package/{API → _publish/API}/Interfaces/IIconic.d.ts +0 -0
- /package/{API → _publish/API}/Interfaces/IIdUlong.d.ts +0 -0
- /package/{API → _publish/API}/Interfaces/INamed.d.ts +0 -0
- /package/{API → _publish/API}/Interfaces/IPictured.d.ts +0 -0
- /package/{API → _publish/API}/Interfaces/ISerializable.d.ts +0 -0
- /package/{API → _publish/API}/Interfaces/ISuspendable.d.ts +0 -0
- /package/{API → _publish/API}/Interfaces/IVisual.d.ts +0 -0
- /package/{API → _publish/API}/Maps.d.ts +0 -0
- /package/{API → _publish/API}/Timezones.d.ts +0 -0
- /package/{Accounts → _publish/Accounts}/NotificationMethod.d.ts +0 -0
- /package/{Accounts → _publish/Accounts}/Permissions/Authorizer.d.ts +0 -0
- /package/{Accounts → _publish/Accounts}/Permissions/PermissionEscalationType.d.ts +0 -0
- /package/{Accounts → _publish/Accounts}/Permissions/PermissionLevel.d.ts +0 -0
- /package/{Accounts → _publish/Accounts}/Permissions/PermissionMethod.d.ts +0 -0
- /package/{Accounts → _publish/Accounts}/Permissions/PermissionType.d.ts +0 -0
- /package/{Accounts → _publish/Accounts}/SessionStatus.d.ts +0 -0
- /package/{Accounts → _publish/Accounts}/SystemsOfUnits.d.ts +0 -0
- /package/{Assets → _publish/Assets}/AssetPlaceStatusType.d.ts +0 -0
- /package/{Assets → _publish/Assets}/AssetType.d.ts +0 -0
- /package/{Behaviours → _publish/Behaviours}/BehaviourLogType.d.ts +0 -0
- /package/{Behaviours → _publish/Behaviours}/BehaviourParameterType.d.ts +0 -0
- /package/{Billing → _publish/Billing}/BillingCurrency.d.ts +0 -0
- /package/{Billing → _publish/Billing}/BillingCycle.d.ts +0 -0
- /package/{Billing → _publish/Billing}/Hosting/BillableHostingLicenseType.d.ts +0 -0
- /package/{Billing → _publish/Billing}/Hosting/BillableHostingType.d.ts +0 -0
- /package/{Billing → _publish/Billing}/Report/BillingReportStatus.d.ts +0 -0
- /package/{Companies → _publish/Companies}/PasswordExpiryMode.d.ts +0 -0
- /package/{Companies → _publish/Companies}/SessionMultiUser.d.ts +0 -0
- /package/{Dispatch → _publish/Dispatch}/DispatchJobPriority.d.ts +0 -0
- /package/{Dispatch → _publish/Dispatch}/DispatchStepStatus.d.ts +0 -0
- /package/{Dispatch → _publish/Dispatch}/DispatchTaskStatus.d.ts +0 -0
- /package/{Hosting → _publish/Hosting}/Fields/FormFieldNumericSize.d.ts +0 -0
- /package/{Hosting → _publish/Hosting}/FormFieldType.d.ts +0 -0
- /package/{Images → _publish/Images}/DashcamMediaType.d.ts +0 -0
- /package/{Images → _publish/Images}/IconLayer.d.ts +0 -0
- /package/{Maintenance → _publish/Maintenance}/MaintenanceJobStatus.d.ts +0 -0
- /package/{Messaging → _publish/Messaging}/AlertPriority.d.ts +0 -0
- /package/{Messaging → _publish/Messaging}/MessageFolder.d.ts +0 -0
- /package/{Messaging → _publish/Messaging}/MessageStatus.d.ts +0 -0
- /package/{Messaging → _publish/Messaging}/MessageType.d.ts +0 -0
- /package/{Places → _publish/Places}/PlaceType.d.ts +0 -0
- /package/{Providers → _publish/Providers}/Config/ProviderScriptParameterType.d.ts +0 -0
- /package/{Providers → _publish/Providers}/Configuration/ProviderGeofenceCircular.d.ts +0 -0
- /package/{Providers → _publish/Providers}/Configuration/ProviderGeofencePoint.d.ts +0 -0
- /package/{Providers → _publish/Providers}/Configuration/ProviderGeofencePolygon.d.ts +0 -0
- /package/{Providers → _publish/Providers}/Configuration/ProviderGeofenceRectangle.d.ts +0 -0
- /package/{Providers → _publish/Providers}/ProviderCommandStatus.d.ts +0 -0
- /package/{Providers → _publish/Providers}/ProviderCommandType.d.ts +0 -0
- /package/{Providers → _publish/Providers}/ProviderType.d.ts +0 -0
- /package/{Reports → _publish/Reports}/ReportFilterMode.d.ts +0 -0
- /package/{Reports → _publish/Reports}/ReportParameterType.d.ts +0 -0
- /package/{Reports → _publish/Reports}/ReportRecurrenceType.d.ts +0 -0
- /package/{Reports → _publish/Reports}/ReportResultData.d.ts +0 -0
- /package/{Reports → _publish/Reports}/ReportStatus.d.ts +0 -0
- /package/{Reports → _publish/Reports}/ReportSummaryReason.d.ts +0 -0
- /package/{Reports → _publish/Reports}/ReportType.d.ts +0 -0
|
@@ -0,0 +1,255 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A generic converter from one {@link UserMeasurementPreference} to another.
|
|
3
|
+
* Does not convert from one size to another in the same {@link UserMeasurementPreference}.
|
|
4
|
+
* Units must be given in equivalent sizes ie: gallons to litres, kilometers to miles.
|
|
5
|
+
* @param number
|
|
6
|
+
* @param fromUnit
|
|
7
|
+
* @param toUnit
|
|
8
|
+
*/
|
|
9
|
+
export declare function CONVERT_FROM_TO(number: number, fromUnit: string, toUnit: string): number;
|
|
10
|
+
/**
|
|
11
|
+
* Value in square meters converted to square feet.
|
|
12
|
+
* @param area
|
|
13
|
+
*/
|
|
14
|
+
export declare function CONVERT_SQM_TO_SQFT(area: number): number;
|
|
15
|
+
/**
|
|
16
|
+
* Value in square meters converted to square yards.
|
|
17
|
+
* @param area
|
|
18
|
+
*/
|
|
19
|
+
export declare function CONVERT_SQM_TO_YARDS(area: number): number;
|
|
20
|
+
/**
|
|
21
|
+
* Value in square kilometres converted to square miles.
|
|
22
|
+
* @param area
|
|
23
|
+
*/
|
|
24
|
+
export declare function CONVERT_SQKM_TO_SQMI(area: number): number;
|
|
25
|
+
/**
|
|
26
|
+
* Value in hectares converted to acres.
|
|
27
|
+
* @param area
|
|
28
|
+
*/
|
|
29
|
+
export declare function CONVERT_HECTARE_TO_ACRE(area: number): number;
|
|
30
|
+
/**
|
|
31
|
+
* Value in square feet converted to square meters.
|
|
32
|
+
* @param area
|
|
33
|
+
*/
|
|
34
|
+
export declare function CONVERT_SQFT_TO_SQM(area: number): number;
|
|
35
|
+
/**
|
|
36
|
+
* Value in square feet converted to square yards.
|
|
37
|
+
* @param area
|
|
38
|
+
*/
|
|
39
|
+
export declare function CONVERT_YARDS_TO_SQM(area: number): number;
|
|
40
|
+
/**
|
|
41
|
+
* Value in square miles converted to square kilometres.
|
|
42
|
+
* @param area
|
|
43
|
+
*/
|
|
44
|
+
export declare function CONVERT_SQMI_TO_SQKM(area: number): number;
|
|
45
|
+
/**
|
|
46
|
+
* Value in acres converted to hectares.
|
|
47
|
+
* @param area
|
|
48
|
+
*/
|
|
49
|
+
export declare function CONVERT_ACRE_TO_HECTARE(area: number): number;
|
|
50
|
+
/**
|
|
51
|
+
* Value in kilometres converted to miles.
|
|
52
|
+
* @param distance
|
|
53
|
+
*/
|
|
54
|
+
export declare function CONVERT_KILOMETRES_TO_MILES(distance: number): number;
|
|
55
|
+
/**
|
|
56
|
+
* Value in metres converted to yards.
|
|
57
|
+
* @param distance
|
|
58
|
+
*/
|
|
59
|
+
export declare function CONVERT_METRES_TO_YARDS(distance: number): number;
|
|
60
|
+
/**
|
|
61
|
+
* Value in metres converted to feet.
|
|
62
|
+
* @param distance
|
|
63
|
+
*/
|
|
64
|
+
export declare function CONVERT_METRES_TO_FEET(distance: number): number;
|
|
65
|
+
/**
|
|
66
|
+
* Value in centimetres converted to inches.
|
|
67
|
+
* @param distance
|
|
68
|
+
*/
|
|
69
|
+
export declare function CONVERT_CENTIMETRES_TO_INCHES(distance: number): number;
|
|
70
|
+
/**
|
|
71
|
+
* Value in miles converted to kilometres.
|
|
72
|
+
* @param distance
|
|
73
|
+
*/
|
|
74
|
+
export declare function CONVERT_MILES_TO_KILOMETRES(distance: number): number;
|
|
75
|
+
/**
|
|
76
|
+
* Value in yards converted to metres.
|
|
77
|
+
* @param distance
|
|
78
|
+
*/
|
|
79
|
+
export declare function CONVERT_YARDS_TO_METRES(distance: number): number;
|
|
80
|
+
/**
|
|
81
|
+
* Value in feet converted to metres.
|
|
82
|
+
* @param distance
|
|
83
|
+
*/
|
|
84
|
+
export declare function CONVERT_FEET_TO_METRES(distance: number): number;
|
|
85
|
+
/**
|
|
86
|
+
* Value in inches converted to centimetres.
|
|
87
|
+
* @param distance
|
|
88
|
+
*/
|
|
89
|
+
export declare function CONVERT_INCHES_TO_CENTIMETRES(distance: number): number;
|
|
90
|
+
/**
|
|
91
|
+
* Value in kilo-pascals converted to pounds per square inch.
|
|
92
|
+
* @param pressure
|
|
93
|
+
*/
|
|
94
|
+
export declare function CONVERT_KPA_TO_PSI(pressure: number): number;
|
|
95
|
+
/**
|
|
96
|
+
* Value in pounds per square inch converted to kilo-pascals.
|
|
97
|
+
* @param pressure
|
|
98
|
+
*/
|
|
99
|
+
export declare function CONVERT_PSI_TO_KPA(pressure: number): number;
|
|
100
|
+
/**
|
|
101
|
+
* Value in Celsius converted to Fahrenheit.
|
|
102
|
+
* @param temperature
|
|
103
|
+
*/
|
|
104
|
+
export declare function CONVERT_CELCIUS_TO_FAHRENHEIT(temperature: number): number;
|
|
105
|
+
/**
|
|
106
|
+
* Value in Fahrenheit converted to Celsius.
|
|
107
|
+
* @param temperature
|
|
108
|
+
*/
|
|
109
|
+
export declare function CONVERT_FAHRENHEIT_TO_CELCIUS(temperature: number): number;
|
|
110
|
+
/**
|
|
111
|
+
* Value in litres converted to US standard gallons.
|
|
112
|
+
* @param volume
|
|
113
|
+
*/
|
|
114
|
+
export declare function CONVERT_LITRES_TO_GALLONS_US(volume: number): number;
|
|
115
|
+
/**
|
|
116
|
+
* Value in litres converted to British gallons.
|
|
117
|
+
* @param volume
|
|
118
|
+
*/
|
|
119
|
+
export declare function CONVERT_LITRES_TO_GALLONS_UK(volume: number): number;
|
|
120
|
+
/**
|
|
121
|
+
* Value in millilitres converted to US standard fluid ounces.
|
|
122
|
+
* @param volume
|
|
123
|
+
*/
|
|
124
|
+
export declare function CONVERT_MILLILITRES_TO_OUNCES_US(volume: number): number;
|
|
125
|
+
/**
|
|
126
|
+
* Value in millilitres converted to British fluid ounces.
|
|
127
|
+
* @param volume
|
|
128
|
+
*/
|
|
129
|
+
export declare function CONVERT_MILLILITRES_TO_OUNCES_UK(volume: number): number;
|
|
130
|
+
/**
|
|
131
|
+
* Value in US standard gallons converted to litres.
|
|
132
|
+
* @param volume
|
|
133
|
+
*/
|
|
134
|
+
export declare function CONVERT_GALLONS_US_TO_LITRES(volume: number): number;
|
|
135
|
+
/**
|
|
136
|
+
* Value in British gallons converted to litres.
|
|
137
|
+
* @param volume
|
|
138
|
+
*/
|
|
139
|
+
export declare function CONVERT_GALLONS_UK_TO_LITRES(volume: number): number;
|
|
140
|
+
/**
|
|
141
|
+
* Value in US standard fluid ounces converted to millilitres.
|
|
142
|
+
* @param volume
|
|
143
|
+
*/
|
|
144
|
+
export declare function CONVERT_OUNCES_US_TO_MILLILITRES(volume: number): number;
|
|
145
|
+
/**
|
|
146
|
+
* Value in British fluid ounces converted to millilitres.
|
|
147
|
+
* @param volume
|
|
148
|
+
*/
|
|
149
|
+
export declare function CONVERT_OUNCES_UK_TO_MILLILITRES(volume: number): number;
|
|
150
|
+
/**
|
|
151
|
+
* Value in kilograms converted to pounds.
|
|
152
|
+
* @param weight
|
|
153
|
+
*/
|
|
154
|
+
export declare function CONVERT_KG_TO_LBS(weight: number): number;
|
|
155
|
+
/**
|
|
156
|
+
* Value in grams converted to ounces.
|
|
157
|
+
* @param weight
|
|
158
|
+
*/
|
|
159
|
+
export declare function CONVERT_GRAM_TO_OZ(weight: number): number;
|
|
160
|
+
/**
|
|
161
|
+
* Value in metric tonnes converted to US (short) tons.
|
|
162
|
+
* @param weight
|
|
163
|
+
*/
|
|
164
|
+
export declare function CONVERT_TONNE_TO_TON_US(weight: number): number;
|
|
165
|
+
/**
|
|
166
|
+
* Value in metric tonnes converted to British (long) tons.
|
|
167
|
+
* @param weight
|
|
168
|
+
*/
|
|
169
|
+
export declare function CONVERT_TONNE_TO_TON_UK(weight: number): number;
|
|
170
|
+
/**
|
|
171
|
+
* Value in pounds converted to kilograms.
|
|
172
|
+
* @param weight
|
|
173
|
+
*/
|
|
174
|
+
export declare function CONVERT_LBS_TO_KG(weight: number): number;
|
|
175
|
+
/**
|
|
176
|
+
* Value in ounces converted to grams.
|
|
177
|
+
* @param weight
|
|
178
|
+
*/
|
|
179
|
+
export declare function CONVERT_OZ_TO_GRAM(weight: number): number;
|
|
180
|
+
/**
|
|
181
|
+
* Value in US (short) tons converted to metric tonnes.
|
|
182
|
+
* @param weight
|
|
183
|
+
*/
|
|
184
|
+
export declare function CONVERT_TON_US_TO_TONNE(weight: number): number;
|
|
185
|
+
/**
|
|
186
|
+
* Value in British (long) tons converted to metric tonnes.
|
|
187
|
+
* @param weight
|
|
188
|
+
*/
|
|
189
|
+
export declare function CONVERT_TON_UK_TO_TONNE(weight: number): number;
|
|
190
|
+
/**
|
|
191
|
+
* Returns the corollary of either miles per US standard gallon or litres per 100 kilometres.
|
|
192
|
+
* @param fuelEconomy
|
|
193
|
+
*/
|
|
194
|
+
export declare function CONVERT_BETWEEN_MPGUS_AND_L100KM(fuelEconomy: number): number;
|
|
195
|
+
/**
|
|
196
|
+
* Returns the corollary of either miles per British gallon or litres per 100 kilometres.
|
|
197
|
+
* @param fuelEconomy
|
|
198
|
+
*/
|
|
199
|
+
export declare function CONVERT_BETWEEN_MPGUK_AND_L100KM(fuelEconomy: number): number;
|
|
200
|
+
/**
|
|
201
|
+
* Returns the corollary of either miles per kilowatt hour or kilowatt hour per 100 kilometres.
|
|
202
|
+
* @param electricEconomy
|
|
203
|
+
*/
|
|
204
|
+
export declare function CONVERT_BETWEEN_MPKWH_AND_KWH100KM(electricEconomy: number): number;
|
|
205
|
+
export declare const CONVERT: {
|
|
206
|
+
fromTo: typeof CONVERT_FROM_TO;
|
|
207
|
+
sqmToSqft: typeof CONVERT_SQM_TO_SQFT;
|
|
208
|
+
sqftToSqm: typeof CONVERT_SQFT_TO_SQM;
|
|
209
|
+
sqmToSqy: typeof CONVERT_SQM_TO_YARDS;
|
|
210
|
+
yftToSqm: typeof CONVERT_YARDS_TO_SQM;
|
|
211
|
+
sqkmToSqmi: typeof CONVERT_SQKM_TO_SQMI;
|
|
212
|
+
sqmiToSqkm: typeof CONVERT_SQMI_TO_SQKM;
|
|
213
|
+
haToAc: typeof CONVERT_HECTARE_TO_ACRE;
|
|
214
|
+
acToHa: typeof CONVERT_ACRE_TO_HECTARE;
|
|
215
|
+
kmToMi: typeof CONVERT_KILOMETRES_TO_MILES;
|
|
216
|
+
miToKm: typeof CONVERT_MILES_TO_KILOMETRES;
|
|
217
|
+
mToYd: typeof CONVERT_METRES_TO_YARDS;
|
|
218
|
+
ydToM: typeof CONVERT_YARDS_TO_METRES;
|
|
219
|
+
mToFt: typeof CONVERT_METRES_TO_FEET;
|
|
220
|
+
ftToM: typeof CONVERT_FEET_TO_METRES;
|
|
221
|
+
cmToIn: typeof CONVERT_CENTIMETRES_TO_INCHES;
|
|
222
|
+
inToCm: typeof CONVERT_INCHES_TO_CENTIMETRES;
|
|
223
|
+
mpgToL100km: typeof CONVERT_BETWEEN_MPGUS_AND_L100KM;
|
|
224
|
+
mpgUKToL100km: typeof CONVERT_BETWEEN_MPGUK_AND_L100KM;
|
|
225
|
+
mpkwhToKwh100kim: typeof CONVERT_BETWEEN_MPKWH_AND_KWH100KM;
|
|
226
|
+
l100kmToMpg: typeof CONVERT_BETWEEN_MPGUS_AND_L100KM;
|
|
227
|
+
l100kmToMpgUK: typeof CONVERT_BETWEEN_MPGUK_AND_L100KM;
|
|
228
|
+
kwh100kimToMpkwh: typeof CONVERT_BETWEEN_MPKWH_AND_KWH100KM;
|
|
229
|
+
kpaToPsi: typeof CONVERT_KPA_TO_PSI;
|
|
230
|
+
psiToKpa: typeof CONVERT_PSI_TO_KPA;
|
|
231
|
+
kphToMph: typeof CONVERT_KILOMETRES_TO_MILES;
|
|
232
|
+
mphToKph: typeof CONVERT_MILES_TO_KILOMETRES;
|
|
233
|
+
mpsToFtps: typeof CONVERT_METRES_TO_FEET;
|
|
234
|
+
ftpsToMps: typeof CONVERT_FEET_TO_METRES;
|
|
235
|
+
cmpsToInps: typeof CONVERT_CENTIMETRES_TO_INCHES;
|
|
236
|
+
inpsToCmps: typeof CONVERT_INCHES_TO_CENTIMETRES;
|
|
237
|
+
cToF: typeof CONVERT_CELCIUS_TO_FAHRENHEIT;
|
|
238
|
+
fToC: typeof CONVERT_FAHRENHEIT_TO_CELCIUS;
|
|
239
|
+
lToGal: typeof CONVERT_LITRES_TO_GALLONS_US;
|
|
240
|
+
lToGalUK: typeof CONVERT_LITRES_TO_GALLONS_UK;
|
|
241
|
+
galToL: typeof CONVERT_GALLONS_US_TO_LITRES;
|
|
242
|
+
galUKToL: typeof CONVERT_GALLONS_UK_TO_LITRES;
|
|
243
|
+
mlToFloz: typeof CONVERT_MILLILITRES_TO_OUNCES_US;
|
|
244
|
+
mlToFlozUK: typeof CONVERT_MILLILITRES_TO_OUNCES_UK;
|
|
245
|
+
flozToMl: typeof CONVERT_OUNCES_US_TO_MILLILITRES;
|
|
246
|
+
flozUKToMl: typeof CONVERT_OUNCES_UK_TO_MILLILITRES;
|
|
247
|
+
kgToLbs: typeof CONVERT_KG_TO_LBS;
|
|
248
|
+
lbsToKg: typeof CONVERT_LBS_TO_KG;
|
|
249
|
+
gToOz: typeof CONVERT_GRAM_TO_OZ;
|
|
250
|
+
ozToG: typeof CONVERT_OZ_TO_GRAM;
|
|
251
|
+
tToTon: typeof CONVERT_TONNE_TO_TON_US;
|
|
252
|
+
tonToT: typeof CONVERT_TON_US_TO_TONNE;
|
|
253
|
+
tToTonUK: typeof CONVERT_TONNE_TO_TON_UK;
|
|
254
|
+
tonUKToT: typeof CONVERT_TON_UK_TO_TONNE;
|
|
255
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Encodes the given string as a {@link Provider#password}.
|
|
3
|
+
*/
|
|
4
|
+
export declare function PASSWORD_ENCODE(value: string): string;
|
|
5
|
+
/**
|
|
6
|
+
* Decodes the given {@link Provider#password} as a human readable value.
|
|
7
|
+
* @param value
|
|
8
|
+
* */
|
|
9
|
+
export declare function PASSWORD_DECODE(value: string): string;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Groups digits of a number together to make a more human readable version.
|
|
3
|
+
* @param number The number to be prettified
|
|
4
|
+
* @param size Quantity of digits per number group. The default is 3.
|
|
5
|
+
* @param delimiter Character(s) to use to divide the integer groups. The detauls is ",".
|
|
6
|
+
* @param decimalDelimiter Character(s) to use to divide the decimal groups. The detauls is same as delimiter.
|
|
7
|
+
* @param point Character(s) to use to divide the integer groups from the decimal groups. The detauls is ".".
|
|
8
|
+
* @throws {TypeError} size must be greater than zero
|
|
9
|
+
*/
|
|
10
|
+
export declare function NUMBER_GROUPS(number: number, size?: number, delimiter?: string, decimalDelimiter?: string, point?: string): string;
|
|
11
|
+
/**
|
|
12
|
+
* Creates a more human readable string representation of the filesize.
|
|
13
|
+
* @param bytes
|
|
14
|
+
* @param places The number of decimal places. Default is 0.
|
|
15
|
+
* @param maxScale Largest size-scale to use for representing the file-size. Default is "MB" (Megabyte), can be a value between 0 (Byte) and 6 (Exabyte).
|
|
16
|
+
* @param groupSize Quantity of digits per number group. The default is 3.
|
|
17
|
+
* @param groupDelimiter Character(s) to use to divide the integer groups. The detauls is ",".
|
|
18
|
+
* @param decimalDelimiter Character(s) to use to divide the decimal groups. The detauls is same as delimiter.
|
|
19
|
+
* @param point Character(s) to use to divide the integer groups from the decimal groups. The detauls is ".".
|
|
20
|
+
* */
|
|
21
|
+
export declare function FILESIZE_HELPER(bytes: number, places?: number, maxScale?: string, groupSize?: number, groupDelimiter?: string, decimalDelimiter?: string, point?: string): string;
|
|
@@ -0,0 +1,196 @@
|
|
|
1
|
+
import { datetime, JsonObject, nothing } from "./Types";
|
|
2
|
+
/**
|
|
3
|
+
* Checks for both null and undefined
|
|
4
|
+
* @param value The variable to check
|
|
5
|
+
*/
|
|
6
|
+
export declare function IS_NOTHING(value: any): value is nothing;
|
|
7
|
+
/**
|
|
8
|
+
* Checks to see if the given parameter is a number object or number literal.
|
|
9
|
+
* @param value The variable to check
|
|
10
|
+
*/
|
|
11
|
+
export declare function IS_BOOLEAN(value: any): value is boolean;
|
|
12
|
+
/**
|
|
13
|
+
* Checks to see if the given parameter is a number object or number literal.
|
|
14
|
+
* @param value The variable to check
|
|
15
|
+
*/
|
|
16
|
+
export declare function IS_NUMBER(value: any): value is number;
|
|
17
|
+
/**
|
|
18
|
+
* Checks to see if the given parameter is a number object or number literal.
|
|
19
|
+
* @param value The variable to check
|
|
20
|
+
*/
|
|
21
|
+
export declare function IS_STRING(value: any): value is string;
|
|
22
|
+
/**
|
|
23
|
+
* Checks to see if the given parameter is a function from this window or another.
|
|
24
|
+
* @param value The variable to check
|
|
25
|
+
*/
|
|
26
|
+
export declare function IS_FUNCTION(value: any): value is Function;
|
|
27
|
+
/**
|
|
28
|
+
* Returns the name of the given value's type.
|
|
29
|
+
* @param value The variable to check
|
|
30
|
+
*/
|
|
31
|
+
export declare function OBJECT_TYPE(value: any): string;
|
|
32
|
+
/**
|
|
33
|
+
* Almost the opposite of {@link isNaN}.
|
|
34
|
+
* Checks to see if the given parameter is a number object, or number literal, and that it is not {@code value|NaN|Infinity}.
|
|
35
|
+
* This method will return {@code value|false} for values: {@code value|""}, {@code value|"1234"}, {@code value|null}, {@code value|undefined}, {@code value|true}, and {@code value|false}.
|
|
36
|
+
* @param value The variable to check
|
|
37
|
+
*/
|
|
38
|
+
export declare function IS_AN(value: any): value is number;
|
|
39
|
+
/**
|
|
40
|
+
* Rounds a number to the desired number of decimal places. Using a negative places value will round to the nearest ten.
|
|
41
|
+
* @param number The number to be rounded
|
|
42
|
+
* @param places The number of decimal places. Default is 0.
|
|
43
|
+
*/
|
|
44
|
+
export declare function ROUND_TO(number: number, places?: number): number;
|
|
45
|
+
/**
|
|
46
|
+
* Clips a number to the specified minimum and maximum values.
|
|
47
|
+
* @param n The number to clip
|
|
48
|
+
* @param min Minimum allowable value
|
|
49
|
+
* @param max Maximum allowable value
|
|
50
|
+
*/
|
|
51
|
+
export declare function CLIP(n: number, min: number, max: number): number;
|
|
52
|
+
/**
|
|
53
|
+
* Calculates the Pythagorean length of a triangle given the length of the other two sides.
|
|
54
|
+
* @param width
|
|
55
|
+
* @param height
|
|
56
|
+
*/
|
|
57
|
+
export declare function PYTHAGORA(width: number, height: number): number;
|
|
58
|
+
/**
|
|
59
|
+
* Parses a base-10 integer number from the given value.
|
|
60
|
+
* @param value
|
|
61
|
+
*/
|
|
62
|
+
export declare function ID(value: any): number;
|
|
63
|
+
/**
|
|
64
|
+
* Creates a Date object out of the given value.
|
|
65
|
+
* @param value
|
|
66
|
+
*/
|
|
67
|
+
export declare function DATE(value?: Date | number | datetime | nothing): Date;
|
|
68
|
+
/**
|
|
69
|
+
* An implementation of the Douglas-Peucker path reduction algorithm.
|
|
70
|
+
* @template TCoord A type of coordinate like a pixel or lat/lng.
|
|
71
|
+
* @param source Array of coordinates.
|
|
72
|
+
* @param triangleHeight Callback which performs a triangle height calculation between first point, middle point, and last point.
|
|
73
|
+
* @param tolerance The "kink" threshold.
|
|
74
|
+
* @returns Elements in the array are true if they should be kept.
|
|
75
|
+
*/
|
|
76
|
+
export declare function DOUGLASPEUCKER_INTERNAL<TCoord>(source: TCoord[], triangleHeight: (first: TCoord, middle: TCoord, last: TCoord) => number, tolerance: number): boolean[];
|
|
77
|
+
/**
|
|
78
|
+
* An implementation of the {@link https://en.wikipedia.org/wiki/Ramer%E2%80%93Douglas%E2%80%93Peucker_algorithm|Ramer-Douglas-Peucker} path reduction algorithm.
|
|
79
|
+
* The source array should be more than two items in length, otherwise reduction is pointless.
|
|
80
|
+
* The callback function returns a number (greater than zero) as the triangle height as defiend by three points; first point, middle point, and last point.
|
|
81
|
+
* The "kink" threshold is set using the tolerance argument which must be a number greater than or equal to zero.
|
|
82
|
+
* @template TCoord
|
|
83
|
+
* @param source Array of coordinates of type "T".
|
|
84
|
+
* @param triangleHeight Callback which performs a triangle height calculation between first point, middle point, and last point.
|
|
85
|
+
* @param tolerance The "kink" threshold
|
|
86
|
+
*/
|
|
87
|
+
export declare function DOUGLASPEUCKER<TCoord>(source: TCoord[], triangleHeight: (first: TCoord, middle: TCoord, last: TCoord) => number, tolerance: number): TCoord[];
|
|
88
|
+
/**
|
|
89
|
+
* Returns a plural version of the given word.
|
|
90
|
+
* This obviously doesn't work for every word imaginable, but covers the standard object names in the Trak-iT APIs.
|
|
91
|
+
* @param word
|
|
92
|
+
* @returns
|
|
93
|
+
*/
|
|
94
|
+
export declare function PLURALIZE(word: string): string;
|
|
95
|
+
/**
|
|
96
|
+
* Returns a singular version of the given word.
|
|
97
|
+
* This obviously doesn't work for every word imaginable, but covers the standard object names in the Trak-iT APIs.
|
|
98
|
+
* @param word
|
|
99
|
+
* @returns
|
|
100
|
+
*/
|
|
101
|
+
export declare function SINGULARIZE(word: string): string;
|
|
102
|
+
/**
|
|
103
|
+
* Returns the given word with the first letter capitalized (or lower-cased).
|
|
104
|
+
* @param word
|
|
105
|
+
* @param upper
|
|
106
|
+
* @returns
|
|
107
|
+
*/
|
|
108
|
+
export declare function CAPITALIZE(word: string, upper?: boolean): string;
|
|
109
|
+
/**
|
|
110
|
+
* Parses the input and returns a valid phone number prefixed by 1, or NaN if invalid.
|
|
111
|
+
* @param phone
|
|
112
|
+
* */
|
|
113
|
+
export declare function PHONE_PARSE(phone: string | number | undefined): number;
|
|
114
|
+
/**
|
|
115
|
+
* Internal method for returning a string representation of the given number, padded with zeros.
|
|
116
|
+
* @param num
|
|
117
|
+
* @param length
|
|
118
|
+
* @param decimals
|
|
119
|
+
* @param radix
|
|
120
|
+
*/
|
|
121
|
+
export declare function ZERO_PADDED(num: number, length: number, decimals?: number, radix?: number): string;
|
|
122
|
+
/**
|
|
123
|
+
*
|
|
124
|
+
* @param source
|
|
125
|
+
* @param deep
|
|
126
|
+
* @returns
|
|
127
|
+
*/
|
|
128
|
+
export declare function MAP_TO_JSON(source: Map<any, any>, deep?: boolean): JsonObject;
|
|
129
|
+
/**
|
|
130
|
+
*
|
|
131
|
+
* @param source
|
|
132
|
+
* @param deep
|
|
133
|
+
* @returns
|
|
134
|
+
*/
|
|
135
|
+
export declare function MAP_TO_JSON_PREDICATE<K, V>(source: Map<K, V>, predicate: (key: K, value: V) => [string, any]): JsonObject;
|
|
136
|
+
/**
|
|
137
|
+
*
|
|
138
|
+
* @param map
|
|
139
|
+
* @param deep
|
|
140
|
+
* @returns
|
|
141
|
+
*/
|
|
142
|
+
export declare function JSON_TO_MAP_PREDICATE<K, V>(source: object, predicate: (key: string, value: any) => [K, V]): Map<K, V>;
|
|
143
|
+
/**
|
|
144
|
+
*
|
|
145
|
+
* @param map
|
|
146
|
+
* @param deep
|
|
147
|
+
* @returns
|
|
148
|
+
*/
|
|
149
|
+
export declare function JSON_TO_MAP(source: object, deep?: boolean): Map<string, any>;
|
|
150
|
+
/**
|
|
151
|
+
*
|
|
152
|
+
* @param map
|
|
153
|
+
* @param deep
|
|
154
|
+
* @returns
|
|
155
|
+
*/
|
|
156
|
+
export declare function JSON_TO_MAP_KEY_CODIFIED(source: object, deep?: boolean): Map<string, any>;
|
|
157
|
+
/**
|
|
158
|
+
*
|
|
159
|
+
* @param map
|
|
160
|
+
* @param deep
|
|
161
|
+
* @returns
|
|
162
|
+
*/
|
|
163
|
+
export declare function JSON_TO_MAP_KEY_ULONG(source: object, deep?: boolean): Map<number, any>;
|
|
164
|
+
/**
|
|
165
|
+
*
|
|
166
|
+
* @param this
|
|
167
|
+
* @param value
|
|
168
|
+
* @returns
|
|
169
|
+
*/
|
|
170
|
+
export declare function STRING_TO_ENUM<T extends {
|
|
171
|
+
[key: string]: T;
|
|
172
|
+
}>(this: T, value: string): T;
|
|
173
|
+
/**
|
|
174
|
+
* Serializes a {@link Date} to an ISO string, or null (for use in {@link ISerializable.toJSON}).
|
|
175
|
+
* @param date
|
|
176
|
+
*/
|
|
177
|
+
export declare function JSON_DATE(date: Date): string | null;
|
|
178
|
+
/**
|
|
179
|
+
* Serializes a {@link Number} as itself, or null instead of {@link NaN} (for use in {@link ISerializable.toJSON}).
|
|
180
|
+
* @param date
|
|
181
|
+
*/
|
|
182
|
+
export declare function JSON_NUMBER(num: number): number | null;
|
|
183
|
+
/**
|
|
184
|
+
*
|
|
185
|
+
*/
|
|
186
|
+
export declare const WEEKDAYS: boolean[];
|
|
187
|
+
/**
|
|
188
|
+
* Creates an array of 7 boolean values.
|
|
189
|
+
* Extra values from the input are ignored.
|
|
190
|
+
* @param days
|
|
191
|
+
*/
|
|
192
|
+
export declare function WEEKDAYS_PARSE(days: string | boolean[]): boolean[];
|
|
193
|
+
/**
|
|
194
|
+
* Creates as string of 7 characters (either `1` or `0`).
|
|
195
|
+
*/
|
|
196
|
+
export declare function WEEKDAYS_JSON(days: string | boolean[]): string;
|