@trakit/objects 0.0.6 → 0.0.7
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/_publish/API/Arrays.d.ts +1 -0
- package/_publish/API/Base.d.ts +1 -0
- package/_publish/API/BaseComponent.d.ts +1 -0
- package/_publish/API/BaseCompound.d.ts +1 -0
- package/_publish/API/Codifier.d.ts +1 -0
- package/_publish/API/Constants.d.ts +1 -0
- package/_publish/API/Conversion.d.ts +3 -2
- package/_publish/API/Encoding.d.ts +1 -0
- package/_publish/API/Files.d.ts +1 -0
- package/_publish/API/Functions.d.ts +1 -0
- package/_publish/API/Guid.d.ts +1 -0
- package/_publish/API/Maps.d.ts +1 -0
- package/_publish/API/Objects.d.ts +1 -0
- package/_publish/API/SearchPattern.d.ts +1 -0
- package/_publish/API/TimeSpan.d.ts +1 -0
- package/_publish/API/Timezone.d.ts +1 -0
- package/_publish/API/Timezones.d.ts +1 -0
- package/_publish/API/Types.d.ts +24 -23
- package/_publish/Accounts/Contact.d.ts +4 -4
- package/_publish/Accounts/Machine.d.ts +1 -0
- package/_publish/{objects/Accounts → Accounts}/MultiFactorType.d.ts +1 -0
- package/_publish/Accounts/NotificationMethod.d.ts +1 -0
- package/_publish/{objects/Accounts → Accounts}/SSOIdentityProvider.d.ts +1 -0
- package/_publish/Accounts/Session.d.ts +12 -14
- package/_publish/Accounts/SessionStatus.d.ts +1 -0
- package/_publish/Accounts/SystemsOfUnits.d.ts +1 -0
- package/_publish/Accounts/User.d.ts +34 -13
- package/_publish/Accounts/UserAdvanced.d.ts +2 -2
- package/_publish/{objects/Accounts → Accounts}/UserAuthentication.d.ts +1 -0
- package/_publish/Accounts/UserGeneral.d.ts +3 -4
- package/_publish/Accounts/UserGroup.d.ts +2 -2
- package/_publish/{objects/Accounts → Accounts}/UserMFA.d.ts +1 -0
- package/_publish/Accounts/UserNotifications.d.ts +1 -0
- package/_publish/{objects/Accounts → Accounts}/UserSSO.d.ts +1 -0
- package/_publish/Assets/Asset.d.ts +6 -11
- package/_publish/Assets/AssetAdvanced.d.ts +2 -2
- package/_publish/Assets/AssetAttribute.d.ts +1 -0
- package/_publish/Assets/AssetDispatch.d.ts +2 -2
- package/_publish/Assets/AssetGeneral.d.ts +3 -4
- package/_publish/Assets/AssetPlaceStatus.d.ts +1 -0
- package/_publish/Assets/AssetPlaceStatusType.d.ts +1 -0
- package/_publish/Assets/AssetType.d.ts +1 -0
- package/_publish/Behaviours/Behaviour.d.ts +2 -2
- package/_publish/Behaviours/BehaviourLog.d.ts +3 -4
- package/_publish/Behaviours/BehaviourLogType.d.ts +1 -0
- package/_publish/Behaviours/BehaviourParameter.d.ts +1 -0
- package/_publish/Behaviours/BehaviourParameterType.d.ts +1 -0
- package/_publish/Behaviours/BehaviourScript.d.ts +2 -2
- package/_publish/Billing/BillableBase.d.ts +3 -4
- package/_publish/Billing/BillableSmsProfile.d.ts +1 -0
- package/_publish/Billing/BillingCurrency.d.ts +1 -0
- package/_publish/Billing/BillingCycle.d.ts +1 -0
- package/_publish/Billing/BillingProfile.d.ts +5 -7
- package/_publish/Companies/ColourStyle.d.ts +1 -0
- package/_publish/Companies/Company.d.ts +5 -2
- package/_publish/Companies/CompanyDirectory.d.ts +3 -4
- package/_publish/Companies/CompanyGeneral.d.ts +2 -2
- package/_publish/Companies/CompanyPolicy.d.ts +2 -2
- package/_publish/Companies/CompanyReseller.d.ts +3 -4
- package/_publish/Companies/CompanyStyle.d.ts +2 -2
- package/_publish/Companies/LabelStyle.d.ts +1 -0
- package/_publish/Companies/NotificationServerEmail.d.ts +3 -2
- package/_publish/Companies/NotificationServerSms.d.ts +1 -0
- package/_publish/Companies/PasswordExpiryMode.d.ts +1 -0
- package/_publish/Companies/PasswordPolicy.d.ts +1 -0
- package/_publish/Companies/SessionMultiUser.d.ts +1 -0
- package/_publish/Companies/SessionPolicy.d.ts +1 -0
- package/_publish/Dispatch/DispatchDirection.d.ts +1 -0
- package/_publish/Dispatch/DispatchJob.d.ts +2 -3
- package/_publish/Dispatch/DispatchJobPriority.d.ts +1 -0
- package/_publish/Dispatch/DispatchStep.d.ts +1 -0
- package/_publish/Dispatch/DispatchStepState.d.ts +1 -0
- package/_publish/Dispatch/DispatchStepStatus.d.ts +1 -0
- package/_publish/Dispatch/DispatchTask.d.ts +3 -4
- package/_publish/Dispatch/DispatchTaskStatus.d.ts +1 -0
- package/_publish/Hosting/Document.d.ts +2 -2
- package/_publish/Hosting/FormFieldType.d.ts +1 -0
- package/_publish/Hosting/FormResult.d.ts +1 -2
- package/_publish/Hosting/FormTemplate.d.ts +1 -1
- package/_publish/Images/Dashcam.d.ts +4 -10
- package/_publish/Images/DashcamBase.d.ts +9 -9
- package/_publish/Images/DashcamLive.d.ts +4 -10
- package/_publish/Images/DashcamMediaType.d.ts +1 -0
- package/_publish/Images/Icon.d.ts +2 -2
- package/_publish/Images/IconGlyph.d.ts +1 -0
- package/_publish/Images/IconLabel.d.ts +1 -0
- package/_publish/Images/IconLayer.d.ts +1 -0
- package/_publish/Images/Picture.d.ts +2 -2
- package/_publish/Maintenance/MaintenanceInterval.d.ts +1 -1
- package/_publish/Maintenance/MaintenanceJob.d.ts +3 -5
- package/_publish/Maintenance/MaintenanceJobStatus.d.ts +1 -0
- package/_publish/Maintenance/MaintenanceSchedule.d.ts +2 -2
- package/_publish/Messaging/AlertPriority.d.ts +1 -0
- package/_publish/Messaging/AssetAlert.d.ts +1 -0
- package/_publish/Messaging/AssetMessage.d.ts +1 -0
- package/_publish/Messaging/MessageBase.d.ts +3 -4
- package/_publish/Messaging/MessageFolder.d.ts +1 -0
- package/_publish/Messaging/MessageStatus.d.ts +1 -0
- package/_publish/Messaging/MessageType.d.ts +1 -0
- package/_publish/Places/Place.d.ts +3 -4
- package/_publish/Places/PlaceType.d.ts +1 -0
- package/_publish/Providers/Provider.d.ts +3 -8
- package/_publish/Providers/ProviderAdvanced.d.ts +2 -2
- package/_publish/Providers/ProviderCommand.d.ts +1 -0
- package/_publish/Providers/ProviderCommandStatus.d.ts +1 -0
- package/_publish/Providers/ProviderCommandType.d.ts +1 -0
- package/_publish/Providers/ProviderControl.d.ts +2 -2
- package/_publish/Providers/ProviderData.d.ts +1 -0
- package/_publish/Providers/ProviderGeneral.d.ts +4 -7
- package/_publish/Providers/ProviderType.d.ts +1 -0
- package/_publish/Reports/ReportBreakdown.d.ts +1 -0
- package/_publish/Reports/ReportBreakdownJob.d.ts +1 -0
- package/_publish/Reports/ReportBreakdownMessage.d.ts +1 -0
- package/_publish/Reports/ReportBreakdownTask.d.ts +1 -0
- package/_publish/Reports/ReportBreakdown_fromJSON.d.ts +1 -0
- package/_publish/Reports/ReportFilterMode.d.ts +1 -0
- package/_publish/Reports/ReportNotifications.d.ts +1 -0
- package/_publish/Reports/ReportOptions.d.ts +1 -0
- package/_publish/Reports/ReportParameter.d.ts +1 -0
- package/_publish/Reports/ReportParameterType.d.ts +1 -0
- package/_publish/Reports/ReportRecurrence.d.ts +1 -0
- package/_publish/Reports/ReportRecurrenceType.d.ts +1 -0
- package/_publish/Reports/ReportResult.d.ts +2 -2
- package/_publish/Reports/ReportResultData.d.ts +1 -0
- package/_publish/Reports/ReportSchedule.d.ts +2 -2
- package/_publish/Reports/ReportScorecard.d.ts +2 -2
- package/_publish/Reports/ReportScorecardParameter.d.ts +1 -0
- package/_publish/Reports/ReportScorecardRules.d.ts +1 -0
- package/_publish/Reports/ReportStatus.d.ts +1 -0
- package/_publish/Reports/ReportSummary.d.ts +2 -2
- package/_publish/Reports/ReportSummaryReason.d.ts +1 -0
- package/_publish/Reports/ReportTemplate.d.ts +2 -2
- package/_publish/Reports/ReportTotal.d.ts +2 -2
- package/_publish/Reports/ReportType.d.ts +1 -0
- package/_publish/index.d.ts +230 -229
- package/_publish/storage.d.ts +1 -0
- package/package.json +4 -2
- package/_publish/API/Geography/Functions.d.ts +0 -236
- package/_publish/API/Geography/Interfaces.d.ts +0 -150
- package/_publish/API/Geography/LatLng.d.ts +0 -86
- package/_publish/API/Geography/LatLngBounds.d.ts +0 -146
- package/_publish/API/Geography/Position.d.ts +0 -74
- package/_publish/API/Geography/StreetAddress.d.ts +0 -59
- package/_publish/API/Geometry/Functions.d.ts +0 -114
- package/_publish/API/Geometry/Interfaces.d.ts +0 -111
- package/_publish/API/Geometry/Point.d.ts +0 -81
- package/_publish/API/Geometry/Radial.d.ts +0 -110
- package/_publish/API/Geometry/Rectangle.d.ts +0 -159
- package/_publish/API/Geometry/Size.d.ts +0 -58
- package/_publish/API/Interfaces/IAmCompany.d.ts +0 -11
- package/_publish/API/Interfaces/IAuditable.d.ts +0 -31
- package/_publish/API/Interfaces/IBelongAsset.d.ts +0 -15
- package/_publish/API/Interfaces/IBelongBillingProfile.d.ts +0 -15
- package/_publish/API/Interfaces/IBelongCompany.d.ts +0 -15
- package/_publish/API/Interfaces/IDeserializable.d.ts +0 -13
- package/_publish/API/Interfaces/IEnabled.d.ts +0 -10
- package/_publish/API/Interfaces/IFileSize.d.ts +0 -9
- package/_publish/API/Interfaces/IGlobal.d.ts +0 -11
- package/_publish/API/Interfaces/IHavePermissions.d.ts +0 -20
- package/_publish/API/Interfaces/IHavePreferences.d.ts +0 -29
- package/_publish/API/Interfaces/IIconic.d.ts +0 -15
- package/_publish/API/Interfaces/IIdUlong.d.ts +0 -10
- package/_publish/API/Interfaces/ILabelled.d.ts +0 -10
- package/_publish/API/Interfaces/INamed.d.ts +0 -13
- package/_publish/API/Interfaces/IPictured.d.ts +0 -15
- package/_publish/API/Interfaces/IRequestable.d.ts +0 -22
- package/_publish/API/Interfaces/ISerializable.d.ts +0 -10
- package/_publish/API/Interfaces/ISuspendable.d.ts +0 -16
- package/_publish/API/Interfaces/IVisual.d.ts +0 -18
- package/_publish/Accounts/Permissions/Authorizer.d.ts +0 -204
- package/_publish/Accounts/Permissions/Permission.d.ts +0 -57
- package/_publish/Accounts/Permissions/PermissionEscalation.d.ts +0 -41
- package/_publish/Accounts/Permissions/PermissionEscalationState.d.ts +0 -19
- package/_publish/Accounts/Permissions/PermissionEscalationType.d.ts +0 -13
- package/_publish/Accounts/Permissions/PermissionLevel.d.ts +0 -17
- package/_publish/Accounts/Permissions/PermissionMethod.d.ts +0 -13
- package/_publish/Accounts/Permissions/PermissionType.d.ts +0 -280
- package/_publish/Billing/Hosting/BillableHostingBase.d.ts +0 -41
- package/_publish/Billing/Hosting/BillableHostingDiscount.d.ts +0 -36
- package/_publish/Billing/Hosting/BillableHostingLicense.d.ts +0 -30
- package/_publish/Billing/Hosting/BillableHostingLicenseType.d.ts +0 -20
- package/_publish/Billing/Hosting/BillableHostingRule.d.ts +0 -30
- package/_publish/Billing/Hosting/BillableHostingType.d.ts +0 -41
- package/_publish/Billing/Report/BillingReport.d.ts +0 -114
- package/_publish/Billing/Report/BillingReportBreakdown.d.ts +0 -35
- package/_publish/Billing/Report/BillingReportHostingSummary.d.ts +0 -36
- package/_publish/Billing/Report/BillingReportLicenseBreakdown.d.ts +0 -80
- package/_publish/Billing/Report/BillingReportServiceBreakdown.d.ts +0 -126
- package/_publish/Billing/Report/BillingReportStatus.d.ts +0 -25
- package/_publish/Billing/Report/BillingReportSummary.d.ts +0 -51
- package/_publish/Hosting/Fields/FormFieldAttachments.d.ts +0 -31
- package/_publish/Hosting/Fields/FormFieldBase.d.ts +0 -56
- package/_publish/Hosting/Fields/FormFieldBase_fromJSON.d.ts +0 -1
- package/_publish/Hosting/Fields/FormFieldBoolean.d.ts +0 -38
- package/_publish/Hosting/Fields/FormFieldChoice.d.ts +0 -46
- package/_publish/Hosting/Fields/FormFieldDate.d.ts +0 -26
- package/_publish/Hosting/Fields/FormFieldNumeric.d.ts +0 -54
- package/_publish/Hosting/Fields/FormFieldNumericSize.d.ts +0 -32
- package/_publish/Hosting/Fields/FormFieldSignature.d.ts +0 -17
- package/_publish/Hosting/Fields/FormFieldText.d.ts +0 -32
- package/_publish/Hosting/Fields/FormFieldTime.d.ts +0 -37
- package/_publish/Hosting/Fields/FormFieldTimezone.d.ts +0 -14
- package/_publish/Providers/Config/ProviderConfig.d.ts +0 -72
- package/_publish/Providers/Config/ProviderRegistration.d.ts +0 -123
- package/_publish/Providers/Config/ProviderScript.d.ts +0 -87
- package/_publish/Providers/Config/ProviderScriptBlock.d.ts +0 -41
- package/_publish/Providers/Config/ProviderScriptParameter.d.ts +0 -49
- package/_publish/Providers/Config/ProviderScriptParameterType.d.ts +0 -17
- package/_publish/Providers/Configuration/ProviderConfiguration.d.ts +0 -68
- package/_publish/Providers/Configuration/ProviderConfigurationNode.d.ts +0 -66
- package/_publish/Providers/Configuration/ProviderConfigurationType.d.ts +0 -62
- package/_publish/Providers/Configuration/ProviderGeofenceBase.d.ts +0 -29
- package/_publish/Providers/Configuration/ProviderGeofenceBase_fromJSON.d.ts +0 -1
- package/_publish/Providers/Configuration/ProviderGeofenceCircular.d.ts +0 -28
- package/_publish/Providers/Configuration/ProviderGeofencePoint.d.ts +0 -12
- package/_publish/Providers/Configuration/ProviderGeofencePolygon.d.ts +0 -23
- package/_publish/Providers/Configuration/ProviderGeofenceRectangle.d.ts +0 -28
- package/_publish/objects/API/Arrays.d.ts +0 -46
- package/_publish/objects/API/Base.d.ts +0 -19
- package/_publish/objects/API/BaseComponent.d.ts +0 -40
- package/_publish/objects/API/BaseCompound.d.ts +0 -19
- package/_publish/objects/API/Codifier.d.ts +0 -15
- package/_publish/objects/API/Constants.d.ts +0 -39
- package/_publish/objects/API/Conversion.d.ts +0 -255
- package/_publish/objects/API/Encoding.d.ts +0 -9
- package/_publish/objects/API/Files.d.ts +0 -21
- package/_publish/objects/API/Functions.d.ts +0 -196
- package/_publish/objects/API/Geography/Functions.d.ts +0 -236
- package/_publish/objects/API/Geography/Interfaces.d.ts +0 -150
- package/_publish/objects/API/Geography/LatLng.d.ts +0 -86
- package/_publish/objects/API/Geography/LatLngBounds.d.ts +0 -146
- package/_publish/objects/API/Geography/Position.d.ts +0 -74
- package/_publish/objects/API/Geography/StreetAddress.d.ts +0 -59
- package/_publish/objects/API/Geometry/Functions.d.ts +0 -114
- package/_publish/objects/API/Geometry/Interfaces.d.ts +0 -111
- package/_publish/objects/API/Geometry/Point.d.ts +0 -81
- package/_publish/objects/API/Geometry/Radial.d.ts +0 -110
- package/_publish/objects/API/Geometry/Rectangle.d.ts +0 -159
- package/_publish/objects/API/Geometry/Size.d.ts +0 -58
- package/_publish/objects/API/Guid.d.ts +0 -4
- package/_publish/objects/API/Interfaces/IAmCompany.d.ts +0 -11
- package/_publish/objects/API/Interfaces/IBelongAsset.d.ts +0 -15
- package/_publish/objects/API/Interfaces/IBelongBillingProfile.d.ts +0 -15
- package/_publish/objects/API/Interfaces/IBelongCompany.d.ts +0 -15
- package/_publish/objects/API/Interfaces/IDeserializable.d.ts +0 -13
- package/_publish/objects/API/Interfaces/IEnabled.d.ts +0 -10
- package/_publish/objects/API/Interfaces/IFileSize.d.ts +0 -9
- package/_publish/objects/API/Interfaces/IGlobal.d.ts +0 -11
- package/_publish/objects/API/Interfaces/IHavePermissions.d.ts +0 -20
- package/_publish/objects/API/Interfaces/IHavePreferences.d.ts +0 -29
- package/_publish/objects/API/Interfaces/IIconic.d.ts +0 -15
- package/_publish/objects/API/Interfaces/IIdUlong.d.ts +0 -10
- package/_publish/objects/API/Interfaces/ILabelled.d.ts +0 -10
- package/_publish/objects/API/Interfaces/INamed.d.ts +0 -13
- package/_publish/objects/API/Interfaces/IPictured.d.ts +0 -15
- package/_publish/objects/API/Interfaces/IRequestable.d.ts +0 -22
- package/_publish/objects/API/Interfaces/ISerializable.d.ts +0 -10
- package/_publish/objects/API/Interfaces/ISuspendable.d.ts +0 -16
- package/_publish/objects/API/Interfaces/IVisual.d.ts +0 -18
- package/_publish/objects/API/Maps.d.ts +0 -28
- package/_publish/objects/API/Objects.d.ts +0 -5
- package/_publish/objects/API/SearchPattern.d.ts +0 -46
- package/_publish/objects/API/TimeSpan.d.ts +0 -109
- package/_publish/objects/API/Timezone.d.ts +0 -44
- package/_publish/objects/API/Timezones.d.ts +0 -7
- package/_publish/objects/API/Types.d.ts +0 -132
- package/_publish/objects/Accounts/Contact.d.ts +0 -139
- package/_publish/objects/Accounts/Machine.d.ts +0 -139
- package/_publish/objects/Accounts/NotificationMethod.d.ts +0 -17
- package/_publish/objects/Accounts/Permissions/Authorizer.d.ts +0 -204
- package/_publish/objects/Accounts/Permissions/Permission.d.ts +0 -56
- package/_publish/objects/Accounts/Permissions/PermissionEscalation.d.ts +0 -41
- package/_publish/objects/Accounts/Permissions/PermissionEscalationState.d.ts +0 -19
- package/_publish/objects/Accounts/Permissions/PermissionEscalationType.d.ts +0 -13
- package/_publish/objects/Accounts/Permissions/PermissionLevel.d.ts +0 -17
- package/_publish/objects/Accounts/Permissions/PermissionMethod.d.ts +0 -13
- package/_publish/objects/Accounts/Permissions/PermissionType.d.ts +0 -280
- package/_publish/objects/Accounts/Session.d.ts +0 -89
- package/_publish/objects/Accounts/SessionStatus.d.ts +0 -29
- package/_publish/objects/Accounts/SystemsOfUnits.d.ts +0 -13
- package/_publish/objects/Accounts/User.d.ts +0 -167
- package/_publish/objects/Accounts/UserAdvanced.d.ts +0 -53
- package/_publish/objects/Accounts/UserGeneral.d.ts +0 -98
- package/_publish/objects/Accounts/UserGroup.d.ts +0 -51
- package/_publish/objects/Accounts/UserNotifications.d.ts +0 -76
- package/_publish/objects/Assets/Asset.d.ts +0 -218
- package/_publish/objects/Assets/AssetAdvanced.d.ts +0 -77
- package/_publish/objects/Assets/AssetAttribute.d.ts +0 -71
- package/_publish/objects/Assets/AssetDispatch.d.ts +0 -55
- package/_publish/objects/Assets/AssetGeneral.d.ts +0 -127
- package/_publish/objects/Assets/AssetPlaceStatus.d.ts +0 -31
- package/_publish/objects/Assets/AssetPlaceStatusType.d.ts +0 -17
- package/_publish/objects/Assets/AssetType.d.ts +0 -21
- package/_publish/objects/Behaviours/Behaviour.d.ts +0 -78
- package/_publish/objects/Behaviours/BehaviourLog.d.ts +0 -95
- package/_publish/objects/Behaviours/BehaviourLogType.d.ts +0 -21
- package/_publish/objects/Behaviours/BehaviourParameter.d.ts +0 -38
- package/_publish/objects/Behaviours/BehaviourParameterType.d.ts +0 -21
- package/_publish/objects/Behaviours/BehaviourScript.d.ts +0 -83
- package/_publish/objects/Billing/BillableBase.d.ts +0 -83
- package/_publish/objects/Billing/BillableSmsProfile.d.ts +0 -26
- package/_publish/objects/Billing/BillingCurrency.d.ts +0 -17
- package/_publish/objects/Billing/BillingCycle.d.ts +0 -17
- package/_publish/objects/Billing/BillingProfile.d.ts +0 -104
- package/_publish/objects/Billing/Hosting/BillableHostingBase.d.ts +0 -41
- package/_publish/objects/Billing/Hosting/BillableHostingLicense.d.ts +0 -30
- package/_publish/objects/Billing/Hosting/BillableHostingLicenseType.d.ts +0 -20
- package/_publish/objects/Billing/Hosting/BillableHostingRule.d.ts +0 -30
- package/_publish/objects/Billing/Hosting/BillableHostingType.d.ts +0 -41
- package/_publish/objects/Billing/Report/BillingReport.d.ts +0 -112
- package/_publish/objects/Billing/Report/BillingReportBreakdown.d.ts +0 -34
- package/_publish/objects/Billing/Report/BillingReportHostingSummary.d.ts +0 -36
- package/_publish/objects/Billing/Report/BillingReportLicenseBreakdown.d.ts +0 -79
- package/_publish/objects/Billing/Report/BillingReportServiceBreakdown.d.ts +0 -124
- package/_publish/objects/Billing/Report/BillingReportStatus.d.ts +0 -25
- package/_publish/objects/Billing/Report/BillingReportSummary.d.ts +0 -49
- package/_publish/objects/Companies/ColourStyle.d.ts +0 -25
- package/_publish/objects/Companies/Company.d.ts +0 -167
- package/_publish/objects/Companies/CompanyDirectory.d.ts +0 -52
- package/_publish/objects/Companies/CompanyGeneral.d.ts +0 -55
- package/_publish/objects/Companies/CompanyPolicy.d.ts +0 -66
- package/_publish/objects/Companies/CompanyReseller.d.ts +0 -166
- package/_publish/objects/Companies/CompanyStyle.d.ts +0 -50
- package/_publish/objects/Companies/LabelStyle.d.ts +0 -46
- package/_publish/objects/Companies/NotificationServerEmail.d.ts +0 -99
- package/_publish/objects/Companies/NotificationServerSms.d.ts +0 -25
- package/_publish/objects/Companies/PasswordExpiryMode.d.ts +0 -17
- package/_publish/objects/Companies/PasswordPolicy.d.ts +0 -51
- package/_publish/objects/Companies/SessionMultiUser.d.ts +0 -17
- package/_publish/objects/Companies/SessionPolicy.d.ts +0 -47
- package/_publish/objects/Dispatch/DispatchDirection.d.ts +0 -53
- package/_publish/objects/Dispatch/DispatchJob.d.ts +0 -107
- package/_publish/objects/Dispatch/DispatchJobPriority.d.ts +0 -25
- package/_publish/objects/Dispatch/DispatchStep.d.ts +0 -99
- package/_publish/objects/Dispatch/DispatchStepState.d.ts +0 -27
- package/_publish/objects/Dispatch/DispatchStepStatus.d.ts +0 -21
- package/_publish/objects/Dispatch/DispatchTask.d.ts +0 -154
- package/_publish/objects/Dispatch/DispatchTaskStatus.d.ts +0 -50
- package/_publish/objects/Hosting/Document.d.ts +0 -70
- package/_publish/objects/Hosting/Fields/FormFieldAttachments.d.ts +0 -31
- package/_publish/objects/Hosting/Fields/FormFieldBase.d.ts +0 -56
- package/_publish/objects/Hosting/Fields/FormFieldBase_fromJSON.d.ts +0 -1
- package/_publish/objects/Hosting/Fields/FormFieldBoolean.d.ts +0 -38
- package/_publish/objects/Hosting/Fields/FormFieldChoice.d.ts +0 -46
- package/_publish/objects/Hosting/Fields/FormFieldDate.d.ts +0 -26
- package/_publish/objects/Hosting/Fields/FormFieldNumeric.d.ts +0 -54
- package/_publish/objects/Hosting/Fields/FormFieldNumericSize.d.ts +0 -32
- package/_publish/objects/Hosting/Fields/FormFieldSignature.d.ts +0 -17
- package/_publish/objects/Hosting/Fields/FormFieldText.d.ts +0 -32
- package/_publish/objects/Hosting/Fields/FormFieldTime.d.ts +0 -37
- package/_publish/objects/Hosting/Fields/FormFieldTimezone.d.ts +0 -14
- package/_publish/objects/Hosting/FormFieldType.d.ts +0 -127
- package/_publish/objects/Hosting/FormResult.d.ts +0 -95
- package/_publish/objects/Hosting/FormTemplate.d.ts +0 -80
- package/_publish/objects/Images/Dashcam.d.ts +0 -63
- package/_publish/objects/Images/DashcamBase.d.ts +0 -97
- package/_publish/objects/Images/DashcamLive.d.ts +0 -36
- package/_publish/objects/Images/DashcamMediaType.d.ts +0 -17
- package/_publish/objects/Images/Icon.d.ts +0 -66
- package/_publish/objects/Images/IconGlyph.d.ts +0 -47
- package/_publish/objects/Images/IconLabel.d.ts +0 -29
- package/_publish/objects/Images/IconLayer.d.ts +0 -33
- package/_publish/objects/Images/Picture.d.ts +0 -72
- package/_publish/objects/Maintenance/MaintenanceInterval.d.ts +0 -48
- package/_publish/objects/Maintenance/MaintenanceJob.d.ts +0 -134
- package/_publish/objects/Maintenance/MaintenanceJobStatus.d.ts +0 -21
- package/_publish/objects/Maintenance/MaintenanceSchedule.d.ts +0 -118
- package/_publish/objects/Messaging/AlertPriority.d.ts +0 -17
- package/_publish/objects/Messaging/AssetAlert.d.ts +0 -29
- package/_publish/objects/Messaging/AssetMessage.d.ts +0 -40
- package/_publish/objects/Messaging/MessageBase.d.ts +0 -99
- package/_publish/objects/Messaging/MessageFolder.d.ts +0 -13
- package/_publish/objects/Messaging/MessageStatus.d.ts +0 -29
- package/_publish/objects/Messaging/MessageType.d.ts +0 -33
- package/_publish/objects/Places/Place.d.ts +0 -114
- package/_publish/objects/Places/PlaceType.d.ts +0 -25
- package/_publish/objects/Providers/Config/ProviderConfig.d.ts +0 -70
- package/_publish/objects/Providers/Config/ProviderRegistration.d.ts +0 -119
- package/_publish/objects/Providers/Config/ProviderScript.d.ts +0 -86
- package/_publish/objects/Providers/Config/ProviderScriptBlock.d.ts +0 -41
- package/_publish/objects/Providers/Config/ProviderScriptParameter.d.ts +0 -49
- package/_publish/objects/Providers/Config/ProviderScriptParameterType.d.ts +0 -17
- package/_publish/objects/Providers/Configuration/ProviderConfiguration.d.ts +0 -66
- package/_publish/objects/Providers/Configuration/ProviderConfigurationNode.d.ts +0 -66
- package/_publish/objects/Providers/Configuration/ProviderConfigurationType.d.ts +0 -62
- package/_publish/objects/Providers/Configuration/ProviderGeofenceBase.d.ts +0 -29
- package/_publish/objects/Providers/Configuration/ProviderGeofenceBase_fromJSON.d.ts +0 -1
- package/_publish/objects/Providers/Configuration/ProviderGeofenceCircular.d.ts +0 -28
- package/_publish/objects/Providers/Configuration/ProviderGeofencePoint.d.ts +0 -12
- package/_publish/objects/Providers/Configuration/ProviderGeofencePolygon.d.ts +0 -23
- package/_publish/objects/Providers/Configuration/ProviderGeofenceRectangle.d.ts +0 -28
- package/_publish/objects/Providers/Provider.d.ts +0 -205
- package/_publish/objects/Providers/ProviderAdvanced.d.ts +0 -50
- package/_publish/objects/Providers/ProviderCommand.d.ts +0 -36
- package/_publish/objects/Providers/ProviderCommandStatus.d.ts +0 -29
- package/_publish/objects/Providers/ProviderCommandType.d.ts +0 -37
- package/_publish/objects/Providers/ProviderControl.d.ts +0 -41
- package/_publish/objects/Providers/ProviderData.d.ts +0 -30
- package/_publish/objects/Providers/ProviderGeneral.d.ts +0 -121
- package/_publish/objects/Providers/ProviderType.d.ts +0 -106
- package/_publish/objects/Reports/ReportBreakdown.d.ts +0 -49
- package/_publish/objects/Reports/ReportBreakdownJob.d.ts +0 -37
- package/_publish/objects/Reports/ReportBreakdownMessage.d.ts +0 -40
- package/_publish/objects/Reports/ReportBreakdownTask.d.ts +0 -46
- package/_publish/objects/Reports/ReportBreakdown_fromJSON.d.ts +0 -1
- package/_publish/objects/Reports/ReportFilterMode.d.ts +0 -17
- package/_publish/objects/Reports/ReportNotifications.d.ts +0 -31
- package/_publish/objects/Reports/ReportOptions.d.ts +0 -52
- package/_publish/objects/Reports/ReportParameter.d.ts +0 -26
- package/_publish/objects/Reports/ReportParameterType.d.ts +0 -59
- package/_publish/objects/Reports/ReportRecurrence.d.ts +0 -54
- package/_publish/objects/Reports/ReportRecurrenceType.d.ts +0 -34
- package/_publish/objects/Reports/ReportResult.d.ts +0 -169
- package/_publish/objects/Reports/ReportResultData.d.ts +0 -17
- package/_publish/objects/Reports/ReportSchedule.d.ts +0 -111
- package/_publish/objects/Reports/ReportScorecard.d.ts +0 -38
- package/_publish/objects/Reports/ReportScorecardParameter.d.ts +0 -31
- package/_publish/objects/Reports/ReportScorecardRules.d.ts +0 -26
- package/_publish/objects/Reports/ReportStatus.d.ts +0 -29
- package/_publish/objects/Reports/ReportSummary.d.ts +0 -90
- package/_publish/objects/Reports/ReportSummaryReason.d.ts +0 -27
- package/_publish/objects/Reports/ReportTemplate.d.ts +0 -81
- package/_publish/objects/Reports/ReportTotal.d.ts +0 -47
- package/_publish/objects/Reports/ReportType.d.ts +0 -42
- package/_publish/objects/storage.d.ts +0 -176
|
@@ -1,146 +0,0 @@
|
|
|
1
|
-
import { ISerializable } from '../Interfaces/ISerializable';
|
|
2
|
-
import { JsonObject } from '../Types';
|
|
3
|
-
import { ILatLng, ILatLngBounds, LatLngBoundsExpansion } from './Interfaces';
|
|
4
|
-
import { LatLng } from './LatLng';
|
|
5
|
-
/**
|
|
6
|
-
* A boundary on the globe
|
|
7
|
-
*/
|
|
8
|
-
export declare class LatLngBounds implements ILatLngBounds, ISerializable {
|
|
9
|
-
/**
|
|
10
|
-
*
|
|
11
|
-
* @param json
|
|
12
|
-
*/
|
|
13
|
-
static fromJSON(json: ILatLngBounds | JsonObject): LatLngBounds;
|
|
14
|
-
/**
|
|
15
|
-
* Northern latitude
|
|
16
|
-
*/
|
|
17
|
-
north: number;
|
|
18
|
-
/**
|
|
19
|
-
* Eastern longitude
|
|
20
|
-
*/
|
|
21
|
-
east: number;
|
|
22
|
-
/**
|
|
23
|
-
* Southern latitude
|
|
24
|
-
*/
|
|
25
|
-
south: number;
|
|
26
|
-
/**
|
|
27
|
-
* Western longitude
|
|
28
|
-
*/
|
|
29
|
-
west: number;
|
|
30
|
-
constructor(...args: LatLngBoundsExpansion[]);
|
|
31
|
-
/**
|
|
32
|
-
* Returns a string representation of this {@link LatLng}.
|
|
33
|
-
* @param delimiter The boundary is delimited by a comma (,) by default, but you can override with your own value.
|
|
34
|
-
* @returns A string in the format of "lat,lng".
|
|
35
|
-
*/
|
|
36
|
-
toString(delimiter?: string): string;
|
|
37
|
-
/**
|
|
38
|
-
* Creates a literal of this {@link LatLngBounds}.
|
|
39
|
-
* Used internally by {@link JSON.stringify}.
|
|
40
|
-
*/
|
|
41
|
-
toJSON(): {
|
|
42
|
-
north: number;
|
|
43
|
-
east: number;
|
|
44
|
-
south: number;
|
|
45
|
-
west: number;
|
|
46
|
-
};
|
|
47
|
-
/**
|
|
48
|
-
* Compares this LatLng to another to see if they are equivalent.
|
|
49
|
-
* @param other The other LatLng to compare
|
|
50
|
-
* @param tolerance Distance tolerance before considering two nearly identical coordinates to be equal.
|
|
51
|
-
*/
|
|
52
|
-
isEqual(other: ILatLngBounds, tolerance?: number): boolean;
|
|
53
|
-
/**
|
|
54
|
-
*
|
|
55
|
-
*/
|
|
56
|
-
isValid(): boolean;
|
|
57
|
-
/**
|
|
58
|
-
*
|
|
59
|
-
*/
|
|
60
|
-
isEmpty(): boolean;
|
|
61
|
-
/**
|
|
62
|
-
* Checks if a {@link LatLng} is contained within this boundary.
|
|
63
|
-
* @param pin The point to check
|
|
64
|
-
*/
|
|
65
|
-
contains(pin: ILatLng): boolean;
|
|
66
|
-
/**
|
|
67
|
-
* Checks if a {@link LatLngBounds} is contained within this boundary.
|
|
68
|
-
* @expose
|
|
69
|
-
* @this {LatLngBounds}
|
|
70
|
-
* @param bounds The other boundary to check
|
|
71
|
-
*/
|
|
72
|
-
encloses(bounds: ILatLngBounds): boolean;
|
|
73
|
-
/**
|
|
74
|
-
* Checks if a {@link LatLngBounds} overlaps this boundary.
|
|
75
|
-
* Also returns true if either boundary's {@link LatLngBounds#encloses} returns true.
|
|
76
|
-
* @param other The other boundary to check
|
|
77
|
-
*/
|
|
78
|
-
overlaps(other: ILatLngBounds): boolean;
|
|
79
|
-
/**
|
|
80
|
-
*
|
|
81
|
-
* @param object
|
|
82
|
-
*/
|
|
83
|
-
private __expander;
|
|
84
|
-
/**
|
|
85
|
-
* Extends the boundary to envelop the given point(s) but does not automatically
|
|
86
|
-
* validate. This comes in efficient when doing many operations on a single
|
|
87
|
-
* PointBounds
|
|
88
|
-
*/
|
|
89
|
-
expand(latlngs: LatLngBoundsExpansion): this;
|
|
90
|
-
/**
|
|
91
|
-
* Extends the boundary to envelop the given point(s) and automatically validates
|
|
92
|
-
*/
|
|
93
|
-
extend(latlngs: LatLngBoundsExpansion): this;
|
|
94
|
-
/**
|
|
95
|
-
*
|
|
96
|
-
*/
|
|
97
|
-
getCentre(): LatLng;
|
|
98
|
-
/**
|
|
99
|
-
*
|
|
100
|
-
*/
|
|
101
|
-
getNorthEast(): LatLng;
|
|
102
|
-
/**
|
|
103
|
-
*
|
|
104
|
-
*/
|
|
105
|
-
getNorthWest(): LatLng;
|
|
106
|
-
/**
|
|
107
|
-
*
|
|
108
|
-
*/
|
|
109
|
-
getSouthEast(): LatLng;
|
|
110
|
-
/**
|
|
111
|
-
*
|
|
112
|
-
*/
|
|
113
|
-
getSouthWest(): LatLng;
|
|
114
|
-
/**
|
|
115
|
-
* The mid-point coordinate between the north east and north west corners.
|
|
116
|
-
*/
|
|
117
|
-
getNorthMiddle(): LatLng;
|
|
118
|
-
/**
|
|
119
|
-
* The mid-point coordinate between the south east and south west corners.
|
|
120
|
-
*/
|
|
121
|
-
getSouthMiddle(): LatLng;
|
|
122
|
-
/**
|
|
123
|
-
* The mid-point coordinate between the north east and north west corners.
|
|
124
|
-
*/
|
|
125
|
-
getEastMiddle(): LatLng;
|
|
126
|
-
/**
|
|
127
|
-
* The mid-point coordinate between the south east and south west corners.
|
|
128
|
-
*/
|
|
129
|
-
getWestMiddle(): LatLng;
|
|
130
|
-
/**
|
|
131
|
-
* The distance in meters between the north-east corner and the south-west corner.
|
|
132
|
-
*/
|
|
133
|
-
getDiagonalDistance(): number;
|
|
134
|
-
/**
|
|
135
|
-
* The distance in meters between the north-most border and the south-most border.
|
|
136
|
-
*/
|
|
137
|
-
getLatitudinalDistance(): number;
|
|
138
|
-
/**
|
|
139
|
-
* The distance in meters between the east-most and the west-most points along the border closest to the equator.
|
|
140
|
-
*/
|
|
141
|
-
getLongitudinalDistance(): number;
|
|
142
|
-
/**
|
|
143
|
-
*
|
|
144
|
-
*/
|
|
145
|
-
validate(): this;
|
|
146
|
-
}
|
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
import { datetime, JsonObject, nothing } from '../Types';
|
|
2
|
-
import { IPosition, IStreetAddress } from './Interfaces';
|
|
3
|
-
import { LatLng } from './LatLng';
|
|
4
|
-
import { StreetAddress } from './StreetAddress';
|
|
5
|
-
/**
|
|
6
|
-
* GPS position information
|
|
7
|
-
*/
|
|
8
|
-
export declare class Position extends LatLng implements IPosition {
|
|
9
|
-
/**
|
|
10
|
-
*
|
|
11
|
-
* @param json
|
|
12
|
-
* @returns
|
|
13
|
-
*/
|
|
14
|
-
static fromJSON(json: IPosition | JsonObject): Position;
|
|
15
|
-
/**
|
|
16
|
-
* Speed
|
|
17
|
-
*/
|
|
18
|
-
readonly speed: number;
|
|
19
|
-
/**
|
|
20
|
-
* Direction of travel
|
|
21
|
-
*/
|
|
22
|
-
readonly bearing: number;
|
|
23
|
-
/**
|
|
24
|
-
* Distance in meters from the sea level
|
|
25
|
-
*/
|
|
26
|
-
readonly altitude: number;
|
|
27
|
-
/**
|
|
28
|
-
* Threshold in meters for the accuracy of a position
|
|
29
|
-
*/
|
|
30
|
-
readonly accuracy: number;
|
|
31
|
-
/**
|
|
32
|
-
* The Date/Time of the GPS reading
|
|
33
|
-
*/
|
|
34
|
-
readonly date: Date;
|
|
35
|
-
/**
|
|
36
|
-
* The Date/Time of the GPS reading
|
|
37
|
-
*/
|
|
38
|
-
get dts(): string;
|
|
39
|
-
/**
|
|
40
|
-
* A better description of the current road-segment
|
|
41
|
-
*/
|
|
42
|
-
readonly streetAddress: StreetAddress | null;
|
|
43
|
-
/**
|
|
44
|
-
* The posted speed limit for the road segment
|
|
45
|
-
*/
|
|
46
|
-
readonly speedLimit: number | nothing;
|
|
47
|
-
/**
|
|
48
|
-
* Provider Identifier
|
|
49
|
-
*/
|
|
50
|
-
readonly origin: string;
|
|
51
|
-
/**
|
|
52
|
-
* The road segment description
|
|
53
|
-
*/
|
|
54
|
-
readonly address: string;
|
|
55
|
-
constructor(lat?: number | nothing, lng?: number | nothing, speed?: number | nothing, bearing?: number | nothing, accuracy?: number | nothing, dts?: Date | number | datetime | nothing, address?: string | nothing, limit?: number | nothing, altitude?: number | nothing, street?: IStreetAddress | JsonObject | nothing);
|
|
56
|
-
/**
|
|
57
|
-
* Returns a text representation of this position.
|
|
58
|
-
* Returned strings cannot be converted back into {@link Position}
|
|
59
|
-
* objects, so don't use this for deserialization.
|
|
60
|
-
* @param delimiter
|
|
61
|
-
*/
|
|
62
|
-
toString(delimiter?: string): string;
|
|
63
|
-
/**
|
|
64
|
-
* Creates a literal of this {@link Position}.
|
|
65
|
-
* Used internally by {@link JSON.stringify}.
|
|
66
|
-
*/
|
|
67
|
-
toJSON(): IPosition;
|
|
68
|
-
/**
|
|
69
|
-
*
|
|
70
|
-
* @param position
|
|
71
|
-
* @returns
|
|
72
|
-
*/
|
|
73
|
-
isEqual(position: Position | IPosition): boolean;
|
|
74
|
-
}
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import { ISerializable } from "../Interfaces/ISerializable";
|
|
2
|
-
import { JsonObject, nothing } from "../Types";
|
|
3
|
-
import { IStreetAddress } from "./Interfaces";
|
|
4
|
-
/**
|
|
5
|
-
* A road segment description
|
|
6
|
-
*/
|
|
7
|
-
export declare class StreetAddress implements IStreetAddress, ISerializable {
|
|
8
|
-
/**
|
|
9
|
-
*
|
|
10
|
-
* @param street
|
|
11
|
-
*/
|
|
12
|
-
static fromJSON(json: IStreetAddress | JsonObject): StreetAddress;
|
|
13
|
-
/**
|
|
14
|
-
* House number.
|
|
15
|
-
*/
|
|
16
|
-
number: string;
|
|
17
|
-
/**
|
|
18
|
-
* Full street name.
|
|
19
|
-
*/
|
|
20
|
-
street: string;
|
|
21
|
-
/**
|
|
22
|
-
* City name.
|
|
23
|
-
*/
|
|
24
|
-
city: string;
|
|
25
|
-
/**
|
|
26
|
-
* Region name.
|
|
27
|
-
*/
|
|
28
|
-
region: string;
|
|
29
|
-
/**
|
|
30
|
-
* Province or state code.
|
|
31
|
-
* Codes should be a value from ISO 3166-2.
|
|
32
|
-
*/
|
|
33
|
-
province: string;
|
|
34
|
-
/**
|
|
35
|
-
* Country code.
|
|
36
|
-
* Codes should be a value from ISO 3166-1 alpha-2.
|
|
37
|
-
*/
|
|
38
|
-
country: string;
|
|
39
|
-
/**
|
|
40
|
-
* Postal or zip code.
|
|
41
|
-
*/
|
|
42
|
-
postal: string;
|
|
43
|
-
/**
|
|
44
|
-
* Indicates that there is a toll for the current road segment.
|
|
45
|
-
*/
|
|
46
|
-
isToll: boolean;
|
|
47
|
-
constructor(number?: string | nothing, street?: string | nothing, city?: string | nothing, region?: string | nothing, province?: string | nothing, country?: string | nothing, postal?: string | nothing, isToll?: boolean | nothing);
|
|
48
|
-
/**
|
|
49
|
-
* Returns a text representation of this address.
|
|
50
|
-
* Returned strings cannot be converted back into {@link StreetAddress}
|
|
51
|
-
* objects, so don't use this for deserialization.
|
|
52
|
-
*/
|
|
53
|
-
toString(): string;
|
|
54
|
-
/**
|
|
55
|
-
* Creates a literal of this {@link StreetAddress}.
|
|
56
|
-
* Used internally by {@link JSON.stringify}.
|
|
57
|
-
*/
|
|
58
|
-
toJSON(): IStreetAddress;
|
|
59
|
-
}
|
|
@@ -1,114 +0,0 @@
|
|
|
1
|
-
import { IPoint, IRadial, IRectangle } from './Interfaces';
|
|
2
|
-
/**
|
|
3
|
-
* Calculates the starting angle (in degrees) between two Points using the top as zero. Does not return negative values.
|
|
4
|
-
* @param starting Starting coordinate
|
|
5
|
-
* @param ending Other coordinate
|
|
6
|
-
* @returns A number between 0 and 360.
|
|
7
|
-
*/
|
|
8
|
-
export declare function POINT_ANGLE(starting: IPoint, ending: IPoint): number;
|
|
9
|
-
/**
|
|
10
|
-
* Calculates the distance between two points using Pythagorean theorem.
|
|
11
|
-
* @param starting Starting coordinate
|
|
12
|
-
* @param ending Other coordinate
|
|
13
|
-
*/
|
|
14
|
-
export declare function POINT_DISTANCE(starting: IPoint, ending: IPoint): number;
|
|
15
|
-
/**
|
|
16
|
-
* Sorts points by left-most, then by top-most.
|
|
17
|
-
*/
|
|
18
|
-
export declare function POINT_SORT(a: IPoint, b: IPoint): number;
|
|
19
|
-
/**
|
|
20
|
-
* Calculates the vector which can be used to find the point based on the given direction and distance
|
|
21
|
-
* @param distance
|
|
22
|
-
* @param degrees
|
|
23
|
-
*/
|
|
24
|
-
export declare function POINT_VECTOR(distance: number, degrees: number): IPoint;
|
|
25
|
-
/**
|
|
26
|
-
* Calculates the total length of the given path
|
|
27
|
-
* @param path The array of points representing a path
|
|
28
|
-
* */
|
|
29
|
-
export declare function PATH_LENGTH(path: IPoint[]): number;
|
|
30
|
-
/**
|
|
31
|
-
* Calculates the orthogonal height of a triangle. The orthogonal height is
|
|
32
|
-
* calculated by drawing a line between the firstPoint and lastPoint, then
|
|
33
|
-
* getting the length of a line drawn up from the line to the midPoint at a 90
|
|
34
|
-
* degree angle.
|
|
35
|
-
* @param first Left-most coordinate of the triangle
|
|
36
|
-
* @param mid Top-most coordinate of the triangle
|
|
37
|
-
* @param last Right-most coordinate of the triangle
|
|
38
|
-
*/
|
|
39
|
-
export declare function PATH_ORTHOGONAL(first: IPoint, mid: IPoint, last: IPoint): number;
|
|
40
|
-
/**
|
|
41
|
-
* Performs a Douglas-Peucker path reduction based on the given tolerance.
|
|
42
|
-
* @param path The array of points representing a path
|
|
43
|
-
* @param tolerance Orthogonal height threshold for candidate points. Default is 0.
|
|
44
|
-
* */
|
|
45
|
-
export declare function PATH_PEUCKER(path: IPoint[], tolerance?: number): IPoint[];
|
|
46
|
-
/**
|
|
47
|
-
* Calculates the total area occupied by the given path. Treats non-closed paths as closed paths.
|
|
48
|
-
* @param path The array of points representing a path
|
|
49
|
-
* */
|
|
50
|
-
export declare function POLY_AREA(path: IPoint[]): number;
|
|
51
|
-
/**
|
|
52
|
-
* A utility export function to determine if a given point is inside the given polygon path.
|
|
53
|
-
* @param poly The array of points represents the path of the polygon.
|
|
54
|
-
* @param dot The coordinate of the point to be checked.
|
|
55
|
-
* */
|
|
56
|
-
export declare function POLY_CONTAINS(poly: IPoint[], dot: IPoint): boolean;
|
|
57
|
-
/**
|
|
58
|
-
* Performs a Douglas-Peucker path reduction on a polygon for the given tolerance.
|
|
59
|
-
* The start/end points are variable and the end point is trimmed from the result.
|
|
60
|
-
* @param path The array of points representing a path
|
|
61
|
-
* @param tolerance Orthogonal height threshold for candidate points. Default is 0.
|
|
62
|
-
* */
|
|
63
|
-
export declare function POLY_PEUCKER(path: IPoint[], tolerance?: number): IPoint[];
|
|
64
|
-
/**
|
|
65
|
-
* Wraps the given points into a polygonal path. The given points do not need to be a path. The returned path is not closed.
|
|
66
|
-
* @param points The array of points on which to create the non-closed path
|
|
67
|
-
* @returns Non-closed path.
|
|
68
|
-
*/
|
|
69
|
-
export declare function POLY_WRAPPER(points: IPoint[]): IPoint[];
|
|
70
|
-
/**
|
|
71
|
-
* Calculates the area of a circle based on the given radius.
|
|
72
|
-
* @param radius
|
|
73
|
-
* */
|
|
74
|
-
export declare function RADIAL_AREA(radius: number): number;
|
|
75
|
-
/**
|
|
76
|
-
* Solves the Minimum Enclosing Circle problem using Badoiu Clarkson's algorithm.
|
|
77
|
-
* @param points The array of points on which to create the Radial
|
|
78
|
-
* @param iterations The higher the iterations the slower and more accurate the Radial. Default is 10,000.
|
|
79
|
-
* */
|
|
80
|
-
export declare function RADIAL_BADOIU_CLARKSON(points: IPoint[], iterations?: number): IRadial;
|
|
81
|
-
/**
|
|
82
|
-
* Calculates the circumference of a circle based on the given radius.
|
|
83
|
-
* @param radius
|
|
84
|
-
* */
|
|
85
|
-
export declare function RADIAL_CIRCUMFERENCE(radius: number): number;
|
|
86
|
-
/**
|
|
87
|
-
* Creates an {@link IRectangle} which contains the given list of {@link IPoint}s.
|
|
88
|
-
* @param dots
|
|
89
|
-
*/
|
|
90
|
-
export declare function RECTANGLE_FROM_POINTS(dots: IPoint[]): IRectangle;
|
|
91
|
-
/**
|
|
92
|
-
* Returns true if the given {@link Radial} overlaps the given {@link Rectangle}.
|
|
93
|
-
* @param circle
|
|
94
|
-
* @param rect
|
|
95
|
-
* */
|
|
96
|
-
export declare function RADIAL_OVERLAP_RECTANGLE(circle: IRadial, rect: IRectangle): boolean;
|
|
97
|
-
/**
|
|
98
|
-
*
|
|
99
|
-
* @param rect
|
|
100
|
-
*/
|
|
101
|
-
export declare function RECTANGLE_CENTRE(rect: IRectangle): IPoint;
|
|
102
|
-
/**
|
|
103
|
-
* Determines if the given {@link IPoint} is contained by the given {@link Rectangle}.
|
|
104
|
-
* @param rect
|
|
105
|
-
* @param dot
|
|
106
|
-
* @returns
|
|
107
|
-
*/
|
|
108
|
-
export declare function RECTANGLE_CONTAINS_POINT(rect: IRectangle, dot: IPoint): boolean;
|
|
109
|
-
/**
|
|
110
|
-
*
|
|
111
|
-
* @param rect
|
|
112
|
-
* @param clip
|
|
113
|
-
*/
|
|
114
|
-
export declare function RECTANGLE_TO_RADIAL(rect: IRectangle, clip: boolean): IRadial;
|
|
@@ -1,111 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* A coordinate on a flat surface.
|
|
3
|
-
*/
|
|
4
|
-
export interface IPoint {
|
|
5
|
-
/**
|
|
6
|
-
* Horizontal coordinate.
|
|
7
|
-
*/
|
|
8
|
-
x: number;
|
|
9
|
-
/**
|
|
10
|
-
* Vertical coordinate.
|
|
11
|
-
*/
|
|
12
|
-
y: number;
|
|
13
|
-
}
|
|
14
|
-
/**
|
|
15
|
-
* Returns true if the given point conforms to the {@link IPoint} interface.
|
|
16
|
-
* @param dot
|
|
17
|
-
* @returns
|
|
18
|
-
*/
|
|
19
|
-
export declare function IPoint_instanceOf(dot: any): dot is IPoint;
|
|
20
|
-
/**
|
|
21
|
-
*
|
|
22
|
-
* @param dot
|
|
23
|
-
* @returns
|
|
24
|
-
*/
|
|
25
|
-
export declare function IPoint_clone(dot: IPoint): IPoint;
|
|
26
|
-
/**
|
|
27
|
-
* A boundary on a flat surface based on a centre point and a radius.
|
|
28
|
-
*/
|
|
29
|
-
export interface IRadial extends IPoint {
|
|
30
|
-
/**
|
|
31
|
-
* Radius.
|
|
32
|
-
*/
|
|
33
|
-
r: number;
|
|
34
|
-
}
|
|
35
|
-
/**
|
|
36
|
-
* The types used to extend a {@link Radial}'s radius.
|
|
37
|
-
*/
|
|
38
|
-
export type RadialExpansion = IPoint | IRadial | RadialExpansion[];
|
|
39
|
-
/**
|
|
40
|
-
* Returns true if the given radial conforms to the {@link IRadial} interface.
|
|
41
|
-
* @param radial
|
|
42
|
-
* @returns
|
|
43
|
-
*/
|
|
44
|
-
export declare function IRadial_instanceOf(radial: any): radial is IRadial;
|
|
45
|
-
/**
|
|
46
|
-
*
|
|
47
|
-
* @param circle
|
|
48
|
-
* @returns
|
|
49
|
-
*/
|
|
50
|
-
export declare function IRadial_clone(circle: IRadial): IRadial;
|
|
51
|
-
/**
|
|
52
|
-
* A rectangular boundary on a flat surface.
|
|
53
|
-
*/
|
|
54
|
-
export interface IRectangle {
|
|
55
|
-
/**
|
|
56
|
-
* Left-most horizontal coordinate
|
|
57
|
-
*/
|
|
58
|
-
left: number;
|
|
59
|
-
/**
|
|
60
|
-
* Highest vertical coordinate.
|
|
61
|
-
*/
|
|
62
|
-
top: number;
|
|
63
|
-
/**
|
|
64
|
-
* Right-most horizontal coordinate
|
|
65
|
-
*/
|
|
66
|
-
right: number;
|
|
67
|
-
/**
|
|
68
|
-
* Lowest vertical coordinate
|
|
69
|
-
*/
|
|
70
|
-
bottom: number;
|
|
71
|
-
}
|
|
72
|
-
/**
|
|
73
|
-
* Returns true if the given rect conforms to the {@link Rectangle} interface.
|
|
74
|
-
* @param rect
|
|
75
|
-
*/
|
|
76
|
-
export declare function IRectangle_instanceOf(rect: any): rect is IRectangle;
|
|
77
|
-
/**
|
|
78
|
-
*
|
|
79
|
-
* @param rect
|
|
80
|
-
* @returns
|
|
81
|
-
*/
|
|
82
|
-
export declare function IRectangle_clone(rect: IRectangle): IRectangle;
|
|
83
|
-
/**
|
|
84
|
-
* The types used to extend a {@link Rectangle}'s edges.
|
|
85
|
-
*/
|
|
86
|
-
export type RectangleExpansion = IPoint | IRectangle | IRadial | RectangleExpansion[];
|
|
87
|
-
/**
|
|
88
|
-
* Dimensions on a flat surface.
|
|
89
|
-
*/
|
|
90
|
-
export interface ISize {
|
|
91
|
-
/**
|
|
92
|
-
* Width.
|
|
93
|
-
*/
|
|
94
|
-
width: number;
|
|
95
|
-
/**
|
|
96
|
-
* Height.
|
|
97
|
-
*/
|
|
98
|
-
height: number;
|
|
99
|
-
}
|
|
100
|
-
/**
|
|
101
|
-
* Returns true if the given size conforms to the {@link Size} interface.
|
|
102
|
-
* @param size
|
|
103
|
-
* @returns
|
|
104
|
-
*/
|
|
105
|
-
export declare function ISize_instanceOf(size: any): size is ISize;
|
|
106
|
-
/**
|
|
107
|
-
*
|
|
108
|
-
* @param size
|
|
109
|
-
* @returns
|
|
110
|
-
*/
|
|
111
|
-
export declare function ISize_clone(size: ISize): ISize;
|
|
@@ -1,81 +0,0 @@
|
|
|
1
|
-
import { ISerializable } from '../Interfaces/ISerializable';
|
|
2
|
-
import { JsonObject } from '../Types';
|
|
3
|
-
import { IPoint } from './Interfaces';
|
|
4
|
-
import { Radial } from './Radial';
|
|
5
|
-
/**
|
|
6
|
-
* A coordinate on a flat surface.
|
|
7
|
-
*/
|
|
8
|
-
export declare class Point implements IPoint, ISerializable {
|
|
9
|
-
/**
|
|
10
|
-
* Returns a new {@link Radial} from the given object.
|
|
11
|
-
* @param json
|
|
12
|
-
*/
|
|
13
|
-
static fromJSON(json: IPoint | JsonObject): Point;
|
|
14
|
-
/**
|
|
15
|
-
* Horizontal coordinate.
|
|
16
|
-
*/
|
|
17
|
-
x: number;
|
|
18
|
-
/**
|
|
19
|
-
* Vertical coordinate.
|
|
20
|
-
*/
|
|
21
|
-
y: number;
|
|
22
|
-
constructor(x: number, y: number);
|
|
23
|
-
/**
|
|
24
|
-
* Returns a string representation of this {@link Point}.
|
|
25
|
-
* @param delimiter The boundary is delimited by a comma (,) by default, but you can override with your own value.
|
|
26
|
-
* @returns A string in the format of "x,y".
|
|
27
|
-
*/
|
|
28
|
-
toString(delimiter?: string): string;
|
|
29
|
-
/**
|
|
30
|
-
* Creates a literal of this {@link Point}.
|
|
31
|
-
* Used internally by {@link JSON.stringify}.
|
|
32
|
-
*/
|
|
33
|
-
toJSON(): IPoint;
|
|
34
|
-
/**
|
|
35
|
-
* Creates a duplicate of this {@link Point}.
|
|
36
|
-
*/
|
|
37
|
-
copy(): Point;
|
|
38
|
-
/**
|
|
39
|
-
* Compares this {@link Point} to another to see if they are equal.
|
|
40
|
-
* @param point The other {@link Point} to compare.
|
|
41
|
-
* @param precision The degree of precision to use; default is full precision.
|
|
42
|
-
*/
|
|
43
|
-
isEqual(point: IPoint, precision?: number): point is IPoint;
|
|
44
|
-
/**
|
|
45
|
-
* Calculates the distance between two {@link Point}s.
|
|
46
|
-
* @param point The other {@link Point} to compare
|
|
47
|
-
*/
|
|
48
|
-
distanceTo(point: IPoint): number;
|
|
49
|
-
/**
|
|
50
|
-
* Calculates the angle (in degrees) to the given {@link Point}.
|
|
51
|
-
* @param point
|
|
52
|
-
*/
|
|
53
|
-
angleTo(point: IPoint): number;
|
|
54
|
-
/**
|
|
55
|
-
* Updates this {@link Point} with the given angle and distance.
|
|
56
|
-
* @param distance
|
|
57
|
-
* @param degrees
|
|
58
|
-
*/
|
|
59
|
-
translateTo(distance: number, degrees: number): this;
|
|
60
|
-
/**
|
|
61
|
-
* Updates this {@link Point} with the given offset.
|
|
62
|
-
* @param dot
|
|
63
|
-
*/
|
|
64
|
-
offsetTo(dot: IPoint): this;
|
|
65
|
-
/**
|
|
66
|
-
* Creates a new {@link Point} at the given angle and distance.
|
|
67
|
-
* @param distance
|
|
68
|
-
* @param degrees
|
|
69
|
-
*/
|
|
70
|
-
toTranslated(distance: number, degrees: number): Point;
|
|
71
|
-
/**
|
|
72
|
-
* Creates a new {@link Point} based on the given offset.
|
|
73
|
-
* @param offset
|
|
74
|
-
*/
|
|
75
|
-
toOffset(offset: IPoint): Point;
|
|
76
|
-
/**
|
|
77
|
-
* Creates a new {@link Radial} based on the given radius.
|
|
78
|
-
* @param radius
|
|
79
|
-
*/
|
|
80
|
-
toRadial(radius: number): Radial;
|
|
81
|
-
}
|
|
@@ -1,110 +0,0 @@
|
|
|
1
|
-
import { ISerializable } from '../Interfaces/ISerializable';
|
|
2
|
-
import { JsonObject } from '../Types';
|
|
3
|
-
import { IPoint, IRadial, RadialExpansion } from './Interfaces';
|
|
4
|
-
import { Point } from './Point';
|
|
5
|
-
import { Rectangle } from './Rectangle';
|
|
6
|
-
import { Size } from './Size';
|
|
7
|
-
/**
|
|
8
|
-
* A boundary on a flat surface based on a centre point and a radius.
|
|
9
|
-
*/
|
|
10
|
-
export declare class Radial implements IRadial, IPoint, ISerializable {
|
|
11
|
-
/**
|
|
12
|
-
* Returns a new {@link Radial} from the given object.
|
|
13
|
-
* @param object
|
|
14
|
-
*/
|
|
15
|
-
static fromJSON(json: IRadial | JsonObject): Radial;
|
|
16
|
-
/**
|
|
17
|
-
* Left coordinate.
|
|
18
|
-
*/
|
|
19
|
-
x: number;
|
|
20
|
-
/**
|
|
21
|
-
* Top coordinate.
|
|
22
|
-
*/
|
|
23
|
-
y: number;
|
|
24
|
-
/**
|
|
25
|
-
* Radial distance.
|
|
26
|
-
*/
|
|
27
|
-
r: number;
|
|
28
|
-
constructor(x?: number, y?: number, r?: number);
|
|
29
|
-
/**
|
|
30
|
-
* Returns a string representation of this {@link Radial}.
|
|
31
|
-
* @param delimiter The boundary is delimited by a comma (,) by default, but you can override with your own value.
|
|
32
|
-
* @returns A string in the format of "x,y,r".
|
|
33
|
-
*/
|
|
34
|
-
toString(delimiter?: string): string;
|
|
35
|
-
/**
|
|
36
|
-
* Creates a literal of this {@link Radial}.
|
|
37
|
-
* Used internally by {@link JSON.stringify}.
|
|
38
|
-
*/
|
|
39
|
-
toJSON(): IRadial;
|
|
40
|
-
/**
|
|
41
|
-
* Creates a duplicate of this {@link Radial}.
|
|
42
|
-
*/
|
|
43
|
-
copy(): Radial;
|
|
44
|
-
/**
|
|
45
|
-
* Compares this Point to another to see if they are equal.
|
|
46
|
-
* @param circle The other {@link IRadial} to compare
|
|
47
|
-
* @param precision The degree of precision to use; default is full precision.
|
|
48
|
-
*/
|
|
49
|
-
isEqual(circle: IRadial, precision?: number): boolean;
|
|
50
|
-
/**
|
|
51
|
-
* Determines if the given {@link IPoint} is contained by this Radial
|
|
52
|
-
* @param point
|
|
53
|
-
*/
|
|
54
|
-
contains(point: IPoint): boolean;
|
|
55
|
-
/**
|
|
56
|
-
* Determines if the given {@link IRadial} is overlaps this {@link Radial} in any way
|
|
57
|
-
* @param circle
|
|
58
|
-
*/
|
|
59
|
-
overlaps(circle: IRadial): boolean;
|
|
60
|
-
/**
|
|
61
|
-
* Returns the centre point representation.
|
|
62
|
-
*/
|
|
63
|
-
getCentre(): Point;
|
|
64
|
-
/**
|
|
65
|
-
* Returns the {@link Size} of the diameter.
|
|
66
|
-
*/
|
|
67
|
-
getSize(): Size;
|
|
68
|
-
/**
|
|
69
|
-
* Worker function that actually extends the boundary to envelop the given point(s)/boundary(s).
|
|
70
|
-
* @param object
|
|
71
|
-
*/
|
|
72
|
-
__expander(object: RadialExpansion): void;
|
|
73
|
-
/**
|
|
74
|
-
* Extends the boundary to envelop the given point(s).
|
|
75
|
-
* @param object The objects used to extend the radius.
|
|
76
|
-
*/
|
|
77
|
-
extend(object: RadialExpansion): this;
|
|
78
|
-
/**
|
|
79
|
-
* Increases the boundary radius.
|
|
80
|
-
* @param length
|
|
81
|
-
*/
|
|
82
|
-
grow(length: number): this;
|
|
83
|
-
/**
|
|
84
|
-
* Updates this {@link Radial} with the given angle and distance.
|
|
85
|
-
* @param distance
|
|
86
|
-
* @param degrees
|
|
87
|
-
*/
|
|
88
|
-
translateTo(distance: number, degrees: number): this;
|
|
89
|
-
/**
|
|
90
|
-
* Updates this {@link Radial} with the given offset.
|
|
91
|
-
* @param dot
|
|
92
|
-
*/
|
|
93
|
-
offsetTo(dot: IPoint): this;
|
|
94
|
-
/**
|
|
95
|
-
* Creates a new {@link Radial} at the given distance and direction.
|
|
96
|
-
* @param distance
|
|
97
|
-
* @param degrees
|
|
98
|
-
*/
|
|
99
|
-
toTranslated(distance: number, degrees: number): Radial;
|
|
100
|
-
/**
|
|
101
|
-
* Creates a new {@link Radial} offset by the given amounts.
|
|
102
|
-
* @param point
|
|
103
|
-
*/
|
|
104
|
-
toOffset(point: IPoint): Radial;
|
|
105
|
-
/**
|
|
106
|
-
* Converts this radial boundary into a {@link Rectangle}.
|
|
107
|
-
* @param clip If true, [()], if false ([]).
|
|
108
|
-
*/
|
|
109
|
-
toRectangle(clip?: boolean): Rectangle;
|
|
110
|
-
}
|