@trakit/objects 0.0.6 → 0.0.8
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 → API}/Arrays.d.ts +1 -0
- package/{_publish/API → API}/Base.d.ts +1 -0
- package/{_publish/objects/API → API}/BaseComponent.d.ts +1 -0
- package/{_publish/objects/API → API}/BaseCompound.d.ts +1 -0
- package/{_publish/objects/API → API}/Codifier.d.ts +1 -0
- package/{_publish/API → API}/Constants.d.ts +1 -0
- package/{_publish/objects/API → API}/Conversion.d.ts +1 -0
- package/{_publish/API → API}/Encoding.d.ts +1 -0
- package/{_publish/objects/API → API}/Files.d.ts +1 -0
- package/{_publish/API → API}/Functions.d.ts +1 -0
- package/{_publish/API → API}/Guid.d.ts +1 -0
- package/{_publish/API → API}/Maps.d.ts +1 -0
- package/{_publish/objects/API → API}/Objects.d.ts +1 -0
- package/{_publish/API → API}/SearchPattern.d.ts +1 -0
- package/{_publish/objects/API → API}/TimeSpan.d.ts +1 -0
- package/{_publish/objects/API → API}/Timezone.d.ts +1 -0
- package/{_publish/API → API}/Timezones.d.ts +1 -0
- package/{_publish/objects/API → API}/Types.d.ts +1 -0
- package/{_publish/objects/Accounts → Accounts}/Contact.d.ts +1 -0
- package/{_publish/objects/Accounts → Accounts}/Machine.d.ts +1 -0
- package/{_publish/objects/Accounts → Accounts}/MultiFactorType.d.ts +1 -0
- package/{_publish/Accounts → Accounts}/NotificationMethod.d.ts +1 -0
- package/{_publish/objects/Accounts → Accounts}/SSOIdentityProvider.d.ts +1 -0
- package/{_publish/objects/Accounts → Accounts}/Session.d.ts +1 -0
- package/{_publish/objects/Accounts → Accounts}/SessionStatus.d.ts +1 -0
- package/{_publish/objects/Accounts → Accounts}/SystemsOfUnits.d.ts +1 -0
- package/{_publish/objects/Accounts → Accounts}/User.d.ts +1 -0
- package/{_publish/objects/Accounts → Accounts}/UserAdvanced.d.ts +1 -0
- package/{_publish/objects/Accounts → Accounts}/UserAuthentication.d.ts +1 -0
- package/{_publish/objects/Accounts → Accounts}/UserGeneral.d.ts +1 -0
- package/{_publish/objects/Accounts → Accounts}/UserGroup.d.ts +1 -0
- package/{_publish/objects/Accounts → Accounts}/UserMFA.d.ts +1 -0
- package/{_publish/Accounts → Accounts}/UserNotifications.d.ts +1 -0
- package/{_publish/objects/Accounts → Accounts}/UserSSO.d.ts +1 -0
- package/{_publish/objects/Assets → Assets}/Asset.d.ts +1 -0
- package/{_publish/objects/Assets → Assets}/AssetAdvanced.d.ts +1 -0
- package/{_publish/objects/Assets → Assets}/AssetAttribute.d.ts +1 -0
- package/{_publish/objects/Assets → Assets}/AssetDispatch.d.ts +1 -0
- package/{_publish/objects/Assets → Assets}/AssetGeneral.d.ts +1 -0
- package/{_publish/Assets → Assets}/AssetPlaceStatus.d.ts +1 -0
- package/{_publish/Assets → Assets}/AssetPlaceStatusType.d.ts +1 -0
- package/{_publish/Assets → Assets}/AssetType.d.ts +1 -0
- package/{_publish/objects/Behaviours → Behaviours}/Behaviour.d.ts +1 -0
- package/{_publish/objects/Behaviours → Behaviours}/BehaviourLog.d.ts +1 -0
- package/{_publish/Behaviours → Behaviours}/BehaviourLogType.d.ts +1 -0
- package/{_publish/objects/Behaviours → Behaviours}/BehaviourParameter.d.ts +1 -0
- package/{_publish/Behaviours → Behaviours}/BehaviourParameterType.d.ts +1 -0
- package/{_publish/objects/Behaviours → Behaviours}/BehaviourScript.d.ts +1 -0
- package/{_publish/objects/Billing → Billing}/BillableBase.d.ts +1 -0
- package/{_publish/Billing → Billing}/BillableSmsProfile.d.ts +1 -0
- package/{_publish/objects/Billing → Billing}/BillingCurrency.d.ts +1 -0
- package/{_publish/objects/Billing → Billing}/BillingCycle.d.ts +1 -0
- package/{_publish/objects/Billing → Billing}/BillingProfile.d.ts +1 -0
- package/{_publish/objects/Companies → Companies}/ColourStyle.d.ts +1 -0
- package/{_publish/objects/Companies → Companies}/Company.d.ts +1 -0
- package/{_publish/objects/Companies → Companies}/CompanyDirectory.d.ts +1 -0
- package/{_publish/objects/Companies → Companies}/CompanyGeneral.d.ts +1 -0
- package/{_publish/objects/Companies → Companies}/CompanyPolicy.d.ts +1 -0
- package/{_publish/objects/Companies → Companies}/CompanyReseller.d.ts +1 -0
- package/{_publish/objects/Companies → Companies}/CompanyStyle.d.ts +1 -0
- package/{_publish/objects/Companies → Companies}/LabelStyle.d.ts +1 -0
- package/{_publish/objects/Companies → Companies}/NotificationServerEmail.d.ts +1 -0
- package/{_publish/Companies → Companies}/NotificationServerSms.d.ts +1 -0
- package/{_publish/Companies → Companies}/PasswordExpiryMode.d.ts +1 -0
- package/{_publish/objects/Companies → Companies}/PasswordPolicy.d.ts +1 -0
- package/{_publish/Companies → Companies}/SessionMultiUser.d.ts +1 -0
- package/{_publish/objects/Companies → Companies}/SessionPolicy.d.ts +1 -0
- package/{_publish/objects/Dispatch → Dispatch}/DispatchDirection.d.ts +1 -0
- package/{_publish/objects/Dispatch → Dispatch}/DispatchJob.d.ts +1 -0
- package/{_publish/Dispatch → Dispatch}/DispatchJobPriority.d.ts +1 -0
- package/{_publish/objects/Dispatch → Dispatch}/DispatchStep.d.ts +1 -0
- package/{_publish/objects/Dispatch → Dispatch}/DispatchStepState.d.ts +1 -0
- package/{_publish/Dispatch → Dispatch}/DispatchStepStatus.d.ts +1 -0
- package/{_publish/objects/Dispatch → Dispatch}/DispatchTask.d.ts +1 -0
- package/{_publish/Dispatch → Dispatch}/DispatchTaskStatus.d.ts +1 -0
- package/{_publish/objects/Hosting → Hosting}/Document.d.ts +1 -0
- package/{_publish/Hosting → Hosting}/FormFieldType.d.ts +1 -0
- package/{_publish/objects/Hosting → Hosting}/FormResult.d.ts +1 -0
- package/{_publish/objects/Hosting → Hosting}/FormTemplate.d.ts +1 -0
- package/{_publish/objects/Images → Images}/Dashcam.d.ts +1 -0
- package/{_publish/objects/Images → Images}/DashcamBase.d.ts +1 -0
- package/{_publish/objects/Images → Images}/DashcamLive.d.ts +1 -0
- package/{_publish/objects/Images → Images}/DashcamMediaType.d.ts +1 -0
- package/{_publish/objects/Images → Images}/Icon.d.ts +1 -0
- package/{_publish/objects/Images → Images}/IconGlyph.d.ts +1 -0
- package/{_publish/objects/Images → Images}/IconLabel.d.ts +1 -0
- package/{_publish/objects/Images → Images}/IconLayer.d.ts +1 -0
- package/{_publish/objects/Images → Images}/Picture.d.ts +1 -0
- package/{_publish/Maintenance → Maintenance}/MaintenanceInterval.d.ts +1 -1
- package/{_publish/objects/Maintenance → Maintenance}/MaintenanceJob.d.ts +1 -0
- package/{_publish/Maintenance → Maintenance}/MaintenanceJobStatus.d.ts +1 -0
- package/{_publish/objects/Maintenance → Maintenance}/MaintenanceSchedule.d.ts +1 -0
- package/{_publish/Messaging → Messaging}/AlertPriority.d.ts +1 -0
- package/{_publish/Messaging → Messaging}/AssetAlert.d.ts +1 -0
- package/{_publish/objects/Messaging → Messaging}/AssetMessage.d.ts +1 -0
- package/{_publish/objects/Messaging → Messaging}/MessageBase.d.ts +1 -0
- package/{_publish/Messaging → Messaging}/MessageFolder.d.ts +1 -0
- package/{_publish/Messaging → Messaging}/MessageStatus.d.ts +1 -0
- package/{_publish/objects/Messaging → Messaging}/MessageType.d.ts +1 -0
- package/{_publish/objects/Places → Places}/Place.d.ts +1 -0
- package/{_publish/Places → Places}/PlaceType.d.ts +1 -0
- package/{_publish/objects/Providers → Providers}/Provider.d.ts +1 -0
- package/{_publish/objects/Providers → Providers}/ProviderAdvanced.d.ts +1 -0
- package/{_publish/objects/Providers → Providers}/ProviderCommand.d.ts +1 -0
- package/{_publish/objects/Providers → Providers}/ProviderCommandStatus.d.ts +1 -0
- package/{_publish/Providers → Providers}/ProviderCommandType.d.ts +1 -0
- package/{_publish/objects/Providers → Providers}/ProviderControl.d.ts +1 -0
- package/{_publish/objects/Providers → Providers}/ProviderData.d.ts +1 -0
- package/{_publish/objects/Providers → Providers}/ProviderGeneral.d.ts +1 -0
- package/{_publish/Providers → Providers}/ProviderType.d.ts +1 -0
- package/{_publish/objects/Reports → Reports}/ReportBreakdown.d.ts +1 -0
- package/{_publish/Reports → Reports}/ReportBreakdownJob.d.ts +1 -0
- package/{_publish/Reports → Reports}/ReportBreakdownMessage.d.ts +1 -0
- package/{_publish/Reports → Reports}/ReportBreakdownTask.d.ts +1 -0
- package/Reports/ReportBreakdown_fromJSON.d.ts +2 -0
- package/{_publish/Reports → Reports}/ReportFilterMode.d.ts +1 -0
- package/{_publish/Reports → Reports}/ReportNotifications.d.ts +1 -0
- package/{_publish/Reports → Reports}/ReportOptions.d.ts +1 -0
- package/{_publish/objects/Reports → Reports}/ReportParameter.d.ts +1 -0
- package/{_publish/objects/Reports → Reports}/ReportParameterType.d.ts +1 -0
- package/{_publish/Reports → Reports}/ReportRecurrence.d.ts +1 -0
- package/{_publish/Reports → Reports}/ReportRecurrenceType.d.ts +1 -0
- package/{_publish/objects/Reports → Reports}/ReportResult.d.ts +1 -0
- package/{_publish/Reports → Reports}/ReportResultData.d.ts +1 -0
- package/{_publish/objects/Reports → Reports}/ReportSchedule.d.ts +1 -0
- package/{_publish/objects/Reports → Reports}/ReportScorecard.d.ts +1 -0
- package/{_publish/objects/Reports → Reports}/ReportScorecardParameter.d.ts +1 -0
- package/{_publish/Reports → Reports}/ReportScorecardRules.d.ts +1 -0
- package/{_publish/objects/Reports → Reports}/ReportStatus.d.ts +1 -0
- package/{_publish/objects/Reports → Reports}/ReportSummary.d.ts +1 -0
- package/{_publish/Reports → Reports}/ReportSummaryReason.d.ts +1 -0
- package/{_publish/objects/Reports → Reports}/ReportTemplate.d.ts +1 -0
- package/{_publish/objects/Reports → Reports}/ReportTotal.d.ts +1 -0
- package/{_publish/objects/Reports → Reports}/ReportType.d.ts +1 -0
- package/index.d.ts +407 -0
- package/package.json +5 -2
- package/{_publish/storage.d.ts → storage.d.ts} +1 -0
- package/_publish/API/BaseComponent.d.ts +0 -40
- package/_publish/API/BaseCompound.d.ts +0 -19
- package/_publish/API/Codifier.d.ts +0 -15
- package/_publish/API/Conversion.d.ts +0 -255
- package/_publish/API/Files.d.ts +0 -21
- 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/API/Objects.d.ts +0 -5
- package/_publish/API/TimeSpan.d.ts +0 -109
- package/_publish/API/Timezone.d.ts +0 -44
- package/_publish/API/Types.d.ts +0 -132
- package/_publish/Accounts/Contact.d.ts +0 -140
- package/_publish/Accounts/Machine.d.ts +0 -139
- 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/Accounts/Session.d.ts +0 -92
- package/_publish/Accounts/SessionStatus.d.ts +0 -29
- package/_publish/Accounts/SystemsOfUnits.d.ts +0 -13
- package/_publish/Accounts/User.d.ts +0 -147
- package/_publish/Accounts/UserAdvanced.d.ts +0 -54
- package/_publish/Accounts/UserGeneral.d.ts +0 -100
- package/_publish/Accounts/UserGroup.d.ts +0 -52
- package/_publish/Assets/Asset.d.ts +0 -224
- package/_publish/Assets/AssetAdvanced.d.ts +0 -78
- package/_publish/Assets/AssetAttribute.d.ts +0 -71
- package/_publish/Assets/AssetDispatch.d.ts +0 -56
- package/_publish/Assets/AssetGeneral.d.ts +0 -129
- package/_publish/Behaviours/Behaviour.d.ts +0 -79
- package/_publish/Behaviours/BehaviourLog.d.ts +0 -97
- package/_publish/Behaviours/BehaviourParameter.d.ts +0 -38
- package/_publish/Behaviours/BehaviourScript.d.ts +0 -84
- package/_publish/Billing/BillableBase.d.ts +0 -85
- package/_publish/Billing/BillingCurrency.d.ts +0 -17
- package/_publish/Billing/BillingCycle.d.ts +0 -17
- package/_publish/Billing/BillingProfile.d.ts +0 -107
- 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/Companies/ColourStyle.d.ts +0 -25
- package/_publish/Companies/Company.d.ts +0 -165
- package/_publish/Companies/CompanyDirectory.d.ts +0 -54
- package/_publish/Companies/CompanyGeneral.d.ts +0 -56
- package/_publish/Companies/CompanyPolicy.d.ts +0 -67
- package/_publish/Companies/CompanyReseller.d.ts +0 -168
- package/_publish/Companies/CompanyStyle.d.ts +0 -51
- package/_publish/Companies/LabelStyle.d.ts +0 -46
- package/_publish/Companies/NotificationServerEmail.d.ts +0 -99
- package/_publish/Companies/PasswordPolicy.d.ts +0 -51
- package/_publish/Companies/SessionPolicy.d.ts +0 -47
- package/_publish/Dispatch/DispatchDirection.d.ts +0 -53
- package/_publish/Dispatch/DispatchJob.d.ts +0 -109
- package/_publish/Dispatch/DispatchStep.d.ts +0 -99
- package/_publish/Dispatch/DispatchStepState.d.ts +0 -27
- package/_publish/Dispatch/DispatchTask.d.ts +0 -156
- package/_publish/Hosting/Document.d.ts +0 -71
- 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/Hosting/FormResult.d.ts +0 -97
- package/_publish/Hosting/FormTemplate.d.ts +0 -81
- package/_publish/Images/Dashcam.d.ts +0 -70
- package/_publish/Images/DashcamBase.d.ts +0 -98
- package/_publish/Images/DashcamLive.d.ts +0 -43
- package/_publish/Images/DashcamMediaType.d.ts +0 -17
- package/_publish/Images/Icon.d.ts +0 -67
- package/_publish/Images/IconGlyph.d.ts +0 -47
- package/_publish/Images/IconLabel.d.ts +0 -29
- package/_publish/Images/IconLayer.d.ts +0 -33
- package/_publish/Images/Picture.d.ts +0 -73
- package/_publish/Maintenance/MaintenanceJob.d.ts +0 -137
- package/_publish/Maintenance/MaintenanceSchedule.d.ts +0 -119
- package/_publish/Messaging/AssetMessage.d.ts +0 -40
- package/_publish/Messaging/MessageBase.d.ts +0 -101
- package/_publish/Messaging/MessageType.d.ts +0 -33
- package/_publish/Places/Place.d.ts +0 -116
- 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/Providers/Provider.d.ts +0 -211
- package/_publish/Providers/ProviderAdvanced.d.ts +0 -51
- package/_publish/Providers/ProviderCommand.d.ts +0 -36
- package/_publish/Providers/ProviderCommandStatus.d.ts +0 -29
- package/_publish/Providers/ProviderControl.d.ts +0 -42
- package/_publish/Providers/ProviderData.d.ts +0 -30
- package/_publish/Providers/ProviderGeneral.d.ts +0 -125
- package/_publish/Reports/ReportBreakdown.d.ts +0 -49
- package/_publish/Reports/ReportBreakdown_fromJSON.d.ts +0 -1
- package/_publish/Reports/ReportParameter.d.ts +0 -26
- package/_publish/Reports/ReportParameterType.d.ts +0 -59
- package/_publish/Reports/ReportResult.d.ts +0 -170
- package/_publish/Reports/ReportSchedule.d.ts +0 -112
- package/_publish/Reports/ReportScorecard.d.ts +0 -39
- package/_publish/Reports/ReportScorecardParameter.d.ts +0 -31
- package/_publish/Reports/ReportStatus.d.ts +0 -29
- package/_publish/Reports/ReportSummary.d.ts +0 -91
- package/_publish/Reports/ReportTemplate.d.ts +0 -82
- package/_publish/Reports/ReportTotal.d.ts +0 -48
- package/_publish/Reports/ReportType.d.ts +0 -42
- package/_publish/index.d.ts +0 -406
- package/_publish/objects/API/Arrays.d.ts +0 -46
- package/_publish/objects/API/Base.d.ts +0 -19
- package/_publish/objects/API/Constants.d.ts +0 -39
- package/_publish/objects/API/Encoding.d.ts +0 -9
- 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/SearchPattern.d.ts +0 -46
- package/_publish/objects/API/Timezones.d.ts +0 -7
- 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/UserNotifications.d.ts +0 -76
- 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/BehaviourLogType.d.ts +0 -21
- package/_publish/objects/Behaviours/BehaviourParameterType.d.ts +0 -21
- package/_publish/objects/Billing/BillableSmsProfile.d.ts +0 -26
- 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/NotificationServerSms.d.ts +0 -25
- package/_publish/objects/Companies/PasswordExpiryMode.d.ts +0 -17
- package/_publish/objects/Companies/SessionMultiUser.d.ts +0 -17
- package/_publish/objects/Dispatch/DispatchJobPriority.d.ts +0 -25
- package/_publish/objects/Dispatch/DispatchStepStatus.d.ts +0 -21
- package/_publish/objects/Dispatch/DispatchTaskStatus.d.ts +0 -50
- 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/Maintenance/MaintenanceInterval.d.ts +0 -48
- package/_publish/objects/Maintenance/MaintenanceJobStatus.d.ts +0 -21
- package/_publish/objects/Messaging/AlertPriority.d.ts +0 -17
- package/_publish/objects/Messaging/AssetAlert.d.ts +0 -29
- package/_publish/objects/Messaging/MessageFolder.d.ts +0 -13
- package/_publish/objects/Messaging/MessageStatus.d.ts +0 -29
- 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/ProviderCommandType.d.ts +0 -37
- package/_publish/objects/Providers/ProviderType.d.ts +0 -106
- 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/ReportRecurrence.d.ts +0 -54
- package/_publish/objects/Reports/ReportRecurrenceType.d.ts +0 -34
- package/_publish/objects/Reports/ReportResultData.d.ts +0 -17
- package/_publish/objects/Reports/ReportScorecardRules.d.ts +0 -26
- package/_publish/objects/Reports/ReportSummaryReason.d.ts +0 -27
- package/_publish/objects/storage.d.ts +0 -176
- /package/{_publish/trakit-objects.min.js → trakit-objects.min.js} +0 -0
|
@@ -1,159 +0,0 @@
|
|
|
1
|
-
import { IPoint, IRectangle, RectangleExpansion } from './Interfaces';
|
|
2
|
-
import { Point } from './Point';
|
|
3
|
-
import { Radial } from './Radial';
|
|
4
|
-
import { Size } from './Size';
|
|
5
|
-
/**
|
|
6
|
-
* A four-sided box on a flat surface.
|
|
7
|
-
*/
|
|
8
|
-
export declare class Rectangle implements IRectangle {
|
|
9
|
-
#private;
|
|
10
|
-
/**
|
|
11
|
-
* Returns a new {@link Radial} from the given object.
|
|
12
|
-
*/
|
|
13
|
-
static fromJSON(rectangle: any): Rectangle;
|
|
14
|
-
/**
|
|
15
|
-
* Left-most horizontal coordinate
|
|
16
|
-
*/
|
|
17
|
-
left: number;
|
|
18
|
-
/**
|
|
19
|
-
* Highest vertical coordinate.
|
|
20
|
-
*/
|
|
21
|
-
top: number;
|
|
22
|
-
/**
|
|
23
|
-
* Right-most horizontal coordinate
|
|
24
|
-
*/
|
|
25
|
-
right: number;
|
|
26
|
-
/**
|
|
27
|
-
* Lowest vertical coordinate
|
|
28
|
-
*/
|
|
29
|
-
bottom: number;
|
|
30
|
-
/**
|
|
31
|
-
* The absolute width of this Rectangle.
|
|
32
|
-
*/
|
|
33
|
-
get width(): number;
|
|
34
|
-
/**
|
|
35
|
-
* The absolute height of this Rectangle.
|
|
36
|
-
*/
|
|
37
|
-
get height(): number;
|
|
38
|
-
constructor(left?: number | RectangleExpansion, top?: number | RectangleExpansion, right?: number | RectangleExpansion, bottom?: number | RectangleExpansion);
|
|
39
|
-
/**
|
|
40
|
-
* Validates the boundary and returns a string representation
|
|
41
|
-
* @param delimiter The boundary is delimited by a comma (,) by default, but you can override with your own value (optional)
|
|
42
|
-
* @returns A string in the format of "left,top,right,bottom".
|
|
43
|
-
*/
|
|
44
|
-
toString(delimiter?: string): string;
|
|
45
|
-
/**
|
|
46
|
-
* Creates a literal of this {@link Rectangle}.
|
|
47
|
-
* Used internally by {@link JSON.stringify}.
|
|
48
|
-
*/
|
|
49
|
-
toJSON(): IRectangle;
|
|
50
|
-
/**
|
|
51
|
-
* Compares this Rectangle to another to see if they are equal.
|
|
52
|
-
* @param rect The other Rectangle to compare.
|
|
53
|
-
* @param precision The degree of precision to use; default is full precision.
|
|
54
|
-
*/
|
|
55
|
-
isEqual(rect: IRectangle, precision?: number): rect is IRectangle;
|
|
56
|
-
/**
|
|
57
|
-
* Checks to see if the bounds are valid (not inside-out).
|
|
58
|
-
*/
|
|
59
|
-
isValid(): boolean;
|
|
60
|
-
/**
|
|
61
|
-
* Checks to see if the bounds are valid, and that the corners are different coordinates.
|
|
62
|
-
*/
|
|
63
|
-
isEmpty(): boolean;
|
|
64
|
-
/**
|
|
65
|
-
* Determines if the given {@link IPoint} is contained by this {@link Rectangle}.
|
|
66
|
-
* @param dot
|
|
67
|
-
*/
|
|
68
|
-
contains(dot: IPoint): boolean;
|
|
69
|
-
/**
|
|
70
|
-
* Determines if the given {@link IRectangle} is overlaps this {@link Rectangle} in any way
|
|
71
|
-
* @param rect
|
|
72
|
-
*/
|
|
73
|
-
overlaps(rect: IRectangle): boolean;
|
|
74
|
-
/**
|
|
75
|
-
* Validates the boundary and creates a duplicate of this {@link Rectangle}.
|
|
76
|
-
*/
|
|
77
|
-
copy(): Rectangle;
|
|
78
|
-
/**
|
|
79
|
-
* Returns the {@link Point} at the centre.
|
|
80
|
-
*/
|
|
81
|
-
getCentre(): Point;
|
|
82
|
-
/**
|
|
83
|
-
* Validates the boundary and creates a {@link Size} representation.
|
|
84
|
-
*/
|
|
85
|
-
getSize(): Size;
|
|
86
|
-
/**
|
|
87
|
-
* Returns the {@link Point} at the top-most/left-most corner.
|
|
88
|
-
*/
|
|
89
|
-
getTopLeft(): Point;
|
|
90
|
-
/**
|
|
91
|
-
* Returns the {@link Point} at the top-most/right-most corner.
|
|
92
|
-
*/
|
|
93
|
-
getTopRight(): Point;
|
|
94
|
-
/**
|
|
95
|
-
* Returns the {@link Point} at the bottom-most/left-most corner.
|
|
96
|
-
*/
|
|
97
|
-
getBottomLeft(): Point;
|
|
98
|
-
/**
|
|
99
|
-
* Returns the {@link Point} at the bottom-most/right-most corner.
|
|
100
|
-
*/
|
|
101
|
-
getBottomRight(): Point;
|
|
102
|
-
/**
|
|
103
|
-
* Validates the boundary by ensuring the top value is less than the bottom value,
|
|
104
|
-
* and the left value is less than the right value.
|
|
105
|
-
* Also adjusts the width and height values.
|
|
106
|
-
*/
|
|
107
|
-
validate(): this;
|
|
108
|
-
/**
|
|
109
|
-
* Extends the boundary to envelop the given point(s) but does not automatically validate.
|
|
110
|
-
* This comes in efficient when doing many operations on a single {@link Rectangle}.
|
|
111
|
-
* @param object The objects used to extend the boundary
|
|
112
|
-
*/
|
|
113
|
-
expand(object: RectangleExpansion): this;
|
|
114
|
-
/**
|
|
115
|
-
* Extends the boundary to envelop the given point(s) and automatically validates
|
|
116
|
-
* @param object The objects used to extend the boundary
|
|
117
|
-
*/
|
|
118
|
-
extend(object: RectangleExpansion): this;
|
|
119
|
-
/**
|
|
120
|
-
* Increases the size of the boundary by the given width and height.
|
|
121
|
-
* If the direction contains the word "top", the {@link Rectangle#top} decreases by the given height.
|
|
122
|
-
* If the direction contains the word "bottom", the {@link Rectangle#bottom} increases by the given height.
|
|
123
|
-
* If the direction does not contain either "top" or "bottom", the {@link Rectangle#top} decreases by half the given height, and the {@link Rectangle#bottom} increases by half the given height.
|
|
124
|
-
* If the direction contains the word "left", the {@link Rectangle#left} decreases by the given width.
|
|
125
|
-
* If the direction contains the word "right", the {@link Rectangle#right} increases by the given width.
|
|
126
|
-
* If the direction does not contain either "left" or "right", the {@link Rectangle#left} decreases by half the given width, and the {@link Rectangle#right} increases by half the given height.
|
|
127
|
-
* @param width
|
|
128
|
-
* @param height
|
|
129
|
-
* @param direction
|
|
130
|
-
*/
|
|
131
|
-
grow(width?: number, height?: number, direction?: string): this;
|
|
132
|
-
/**
|
|
133
|
-
* Updates this {@link Rectangle} with the given angle and distance.
|
|
134
|
-
* @param distance
|
|
135
|
-
* @param degrees
|
|
136
|
-
*/
|
|
137
|
-
translateTo(distance: number, degrees: number): this;
|
|
138
|
-
/**
|
|
139
|
-
* Updates this {@link Rectangle} with the given offset.
|
|
140
|
-
* @param dot
|
|
141
|
-
*/
|
|
142
|
-
offsetTo(dot: IPoint): this;
|
|
143
|
-
/**
|
|
144
|
-
* Creates a new {@link Rectangle} at the given angle and distance.
|
|
145
|
-
* @param distance
|
|
146
|
-
* @param degrees
|
|
147
|
-
*/
|
|
148
|
-
toTranslated(distance: number, degrees: number): Rectangle;
|
|
149
|
-
/**
|
|
150
|
-
* Creates a new {@link Rectangle} offset by the given amounts.
|
|
151
|
-
* @param dot
|
|
152
|
-
*/
|
|
153
|
-
toOffset(dot: IPoint): Rectangle;
|
|
154
|
-
/**
|
|
155
|
-
* Validates the boundary and returns a {@link Radial}.
|
|
156
|
-
* @param clip If true, [()], if false ([]).
|
|
157
|
-
*/
|
|
158
|
-
toRadial(clip?: boolean): Radial;
|
|
159
|
-
}
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
import { JsonObject } from '../Types';
|
|
2
|
-
import { ISize } from './Interfaces';
|
|
3
|
-
/**
|
|
4
|
-
* Dimensions on a flat surface.
|
|
5
|
-
*/
|
|
6
|
-
export declare class Size implements ISize {
|
|
7
|
-
/**
|
|
8
|
-
*
|
|
9
|
-
* @param json
|
|
10
|
-
* @returns
|
|
11
|
-
*/
|
|
12
|
-
static fromJSON(json: ISize | JsonObject): Size;
|
|
13
|
-
/**
|
|
14
|
-
* Width.
|
|
15
|
-
*/
|
|
16
|
-
width: number;
|
|
17
|
-
/**
|
|
18
|
-
* Height.
|
|
19
|
-
*/
|
|
20
|
-
height: number;
|
|
21
|
-
constructor(width: number, height: number);
|
|
22
|
-
/**
|
|
23
|
-
* Returns a string representation.
|
|
24
|
-
* @param delimiter The boundary is delimited by a comma (,) by default, but you can override with your own value.
|
|
25
|
-
* @returns A string in the format of "width,height".
|
|
26
|
-
*/
|
|
27
|
-
toString(delimiter?: string): string;
|
|
28
|
-
/**
|
|
29
|
-
* Creates a literal of this {@link Size}.
|
|
30
|
-
* Used internally by {@link JSON.stringify}.
|
|
31
|
-
*/
|
|
32
|
-
toJSON(): ISize;
|
|
33
|
-
/**
|
|
34
|
-
* Compares this Size to another to see if they are equal
|
|
35
|
-
* @param size The other Size to compare
|
|
36
|
-
* @param precision The degree of precision to use; default is full precision
|
|
37
|
-
*/
|
|
38
|
-
isEqual(size: ISize, precision?: number): size is ISize;
|
|
39
|
-
/**
|
|
40
|
-
* Returns a new instance of a {@link Size} where the width and height are adjusted to the given ratios.
|
|
41
|
-
* If the second ratio is not given, then the first value is used for both.
|
|
42
|
-
* The ratios are given as a percentage between 0 and 1.
|
|
43
|
-
* To double the size of the Size, give a ratio of 2, and to shrink it to half size use 0.5.
|
|
44
|
-
* @param ratioX
|
|
45
|
-
* @param ratioY
|
|
46
|
-
*/
|
|
47
|
-
resize(ratioX?: number, ratioY?: number): Size;
|
|
48
|
-
/**
|
|
49
|
-
* Returns a new {@link Size} where the width is the same as the given value, and the height is resized to preserve aspect ratio.
|
|
50
|
-
* @param width
|
|
51
|
-
*/
|
|
52
|
-
resizeToWidth(width: number): Size;
|
|
53
|
-
/**
|
|
54
|
-
* Returns a new {@link Size} where the height is the same as the given value, and the width is resized to preserve aspect ratio.
|
|
55
|
-
* @param height
|
|
56
|
-
*/
|
|
57
|
-
resizeToHeight(height: number): Size;
|
|
58
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { ulong } from '../Types';
|
|
2
|
-
import { IIdUlong } from './IIdUlong';
|
|
3
|
-
/**
|
|
4
|
-
* An interface for all the Company___ classes.
|
|
5
|
-
*/
|
|
6
|
-
export interface IAmCompany extends IIdUlong {
|
|
7
|
-
/**
|
|
8
|
-
* The {@link Company} to which this {@link Company} belongs.
|
|
9
|
-
*/
|
|
10
|
-
parentId: ulong;
|
|
11
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { Asset } from "../../Assets/Asset";
|
|
2
|
-
import { ulong } from "../Types";
|
|
3
|
-
/**
|
|
4
|
-
* An interface for objects that belong to a single asset.
|
|
5
|
-
*/
|
|
6
|
-
export interface IBelongAsset {
|
|
7
|
-
/**
|
|
8
|
-
* The {@link Asset.id} to which this object belongs.
|
|
9
|
-
*/
|
|
10
|
-
assetId: ulong;
|
|
11
|
-
/**
|
|
12
|
-
* The {@link Asset} to which this object belongs.
|
|
13
|
-
*/
|
|
14
|
-
get asset(): Asset;
|
|
15
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { BillingProfile } from "../../Billing/BillingProfile";
|
|
2
|
-
import { ulong } from "../Types";
|
|
3
|
-
/**
|
|
4
|
-
* An interface for objects that belong to a single billing profile.
|
|
5
|
-
*/
|
|
6
|
-
export interface IBelongBillingProfile {
|
|
7
|
-
/**
|
|
8
|
-
* The {@link BillingProfile} to which this object belongs.
|
|
9
|
-
*/
|
|
10
|
-
get profileId(): ulong;
|
|
11
|
-
/**
|
|
12
|
-
* The {@link BillingProfile} to which this object belongs.
|
|
13
|
-
*/
|
|
14
|
-
readonly profile: BillingProfile;
|
|
15
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { ulong } from "../Types";
|
|
2
|
-
import { Company } from "../../Companies/Company";
|
|
3
|
-
/**
|
|
4
|
-
* An interface for objects that belong to a single company.
|
|
5
|
-
*/
|
|
6
|
-
export interface IBelongCompany {
|
|
7
|
-
/**
|
|
8
|
-
* The {@link Company} to which this object belongs.
|
|
9
|
-
*/
|
|
10
|
-
get companyId(): ulong;
|
|
11
|
-
/**
|
|
12
|
-
* The {@link Company} to which this object belongs.
|
|
13
|
-
*/
|
|
14
|
-
get company(): Company;
|
|
15
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { JsonObject } from "../../API/Types";
|
|
2
|
-
/**
|
|
3
|
-
* An interface for types that are updated using JSON values.
|
|
4
|
-
*/
|
|
5
|
-
export interface IDeserializable {
|
|
6
|
-
/**
|
|
7
|
-
* Updates this {@link IDeserializable} from the given input.
|
|
8
|
-
* @param json A JSON value used to update this class.
|
|
9
|
-
* @param forced When true, forces the update.
|
|
10
|
-
* @returns True when an update was completed.
|
|
11
|
-
*/
|
|
12
|
-
fromJSON(json: JsonObject, force?: boolean): boolean;
|
|
13
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { IBelongCompany } from './IBelongCompany';
|
|
2
|
-
/**
|
|
3
|
-
* An interface for objects that can be marked as "global".
|
|
4
|
-
* "Global" objects can be listed in child companies.
|
|
5
|
-
*/
|
|
6
|
-
export interface IGlobal extends IBelongCompany {
|
|
7
|
-
/**
|
|
8
|
-
* Indicates whether this icon is available to child companies.
|
|
9
|
-
*/
|
|
10
|
-
global: boolean;
|
|
11
|
-
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { Permission } from '../../Accounts/Permissions/Permission';
|
|
2
|
-
import { UserGroup } from '../../Accounts/UserGroup';
|
|
3
|
-
import { ulong } from '../Types';
|
|
4
|
-
/**
|
|
5
|
-
* This interface exists so that I can work with Machine and UserAdvanced objects the same way.
|
|
6
|
-
*/
|
|
7
|
-
export interface IHavePermissions {
|
|
8
|
-
/**
|
|
9
|
-
* A list of groups to which this object.
|
|
10
|
-
*/
|
|
11
|
-
get groups(): UserGroup[];
|
|
12
|
-
/**
|
|
13
|
-
* A list of groups to which this object.
|
|
14
|
-
*/
|
|
15
|
-
groupIds: ulong[];
|
|
16
|
-
/**
|
|
17
|
-
* Permission rules which override the group rules.
|
|
18
|
-
*/
|
|
19
|
-
permissions: Permission[];
|
|
20
|
-
}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { SystemsOfUnits } from '../../Accounts/SystemsOfUnits';
|
|
2
|
-
import { Timezone } from '../Timezone';
|
|
3
|
-
import { codified } from '../Types';
|
|
4
|
-
/**
|
|
5
|
-
* This interface exists so that I can work with Machine and UserGeneral objects the same way.
|
|
6
|
-
*/
|
|
7
|
-
export interface IHavePreferences {
|
|
8
|
-
/**
|
|
9
|
-
* The local timezone for this object.
|
|
10
|
-
*/
|
|
11
|
-
timezone: Timezone;
|
|
12
|
-
/**
|
|
13
|
-
* Preferred region/language for the UI and notifications.
|
|
14
|
-
* Valid formats use <ISO 639-1><dash><ISO 3166-2> such as "fr-CA" or "en-US".
|
|
15
|
-
*/
|
|
16
|
-
language: codified;
|
|
17
|
-
/**
|
|
18
|
-
* The format strings defining the preferred way to display ambiguous values.
|
|
19
|
-
*/
|
|
20
|
-
formats: Map<codified, string>;
|
|
21
|
-
/**
|
|
22
|
-
* Preferred way of displaying ambiguous numbers in the context of measurements.
|
|
23
|
-
*/
|
|
24
|
-
measurements: Map<codified, SystemsOfUnits>;
|
|
25
|
-
/**
|
|
26
|
-
* Additional options which do not fit in with the formats or measurements preferences.
|
|
27
|
-
*/
|
|
28
|
-
options: Map<codified, string>;
|
|
29
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { Icon } from '../../Images/Icon';
|
|
2
|
-
import { ulong } from '../Types';
|
|
3
|
-
/**
|
|
4
|
-
* An interface for objcts that have an "icon".
|
|
5
|
-
*/
|
|
6
|
-
export interface IIconic {
|
|
7
|
-
/**
|
|
8
|
-
* This thing's {@link Icon.id}.
|
|
9
|
-
*/
|
|
10
|
-
iconId: ulong;
|
|
11
|
-
/**
|
|
12
|
-
* This thing's {@link Icon}.
|
|
13
|
-
*/
|
|
14
|
-
get icon(): Icon;
|
|
15
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { ulong } from '../Types';
|
|
2
|
-
import { Picture } from '../../Images/Picture';
|
|
3
|
-
/**
|
|
4
|
-
* An interface for objects that have "pictures".
|
|
5
|
-
*/
|
|
6
|
-
export interface IPictured {
|
|
7
|
-
/**
|
|
8
|
-
* An array of picture identifiers of this object.
|
|
9
|
-
*/
|
|
10
|
-
pictureIds: ulong[];
|
|
11
|
-
/**
|
|
12
|
-
* An array of {@link Picture}s of this object.
|
|
13
|
-
*/
|
|
14
|
-
get pictures(): Picture[];
|
|
15
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { codified, email, guid, ulong } from "../Types";
|
|
2
|
-
/**
|
|
3
|
-
* The main interface for an object in the Trak-iT system.
|
|
4
|
-
*/
|
|
5
|
-
export interface IRequestable {
|
|
6
|
-
/**
|
|
7
|
-
* Returns a unique identifier as a string.
|
|
8
|
-
* {@link Dashcam.guid}
|
|
9
|
-
* {@link IIdUlong.id}
|
|
10
|
-
* {@link Machine.key}
|
|
11
|
-
* {@link Provider.id}
|
|
12
|
-
* {@link ProviderGeneral.id}
|
|
13
|
-
* {@link ProviderAdvanced.id}
|
|
14
|
-
* {@link ProviderControl.id}
|
|
15
|
-
* {@link ProviderRegistration.code}
|
|
16
|
-
* {@link User.login}
|
|
17
|
-
* {@link UserGeneral.login}
|
|
18
|
-
* {@link UserAdvanced.login}
|
|
19
|
-
* {@link Timezone.code}
|
|
20
|
-
*/
|
|
21
|
-
getKey(): ulong | email | guid | codified | string;
|
|
22
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* An interface for types that can be converted to JSON for transmission or storage.
|
|
3
|
-
*/
|
|
4
|
-
export interface ISerializable {
|
|
5
|
-
/**
|
|
6
|
-
* Creates a literal of this {@link ISerializable} object.
|
|
7
|
-
* Used internally by {@link JSON.stringify}.
|
|
8
|
-
*/
|
|
9
|
-
toJSON(): any;
|
|
10
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* An interface for objects that can be marked as "suspended".
|
|
3
|
-
* "Suspended" objects can be "revived", but are otherwise treated as "achived" or "inert" (events are not processed).
|
|
4
|
-
*/
|
|
5
|
-
export interface ISuspendable {
|
|
6
|
-
/**
|
|
7
|
-
* Marked as true for objects that have been suspended.
|
|
8
|
-
* This value is not present in the JSON scheme when {@link deleted} is false.
|
|
9
|
-
*/
|
|
10
|
-
suspended?: boolean;
|
|
11
|
-
/**
|
|
12
|
-
* A timestamp from when the object was most recently suspended or revived.
|
|
13
|
-
* This value is not present in the JSON scheme when {@link suspended} is false.
|
|
14
|
-
*/
|
|
15
|
-
since?: Date;
|
|
16
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { codified, colour } from "../Types";
|
|
2
|
-
/**
|
|
3
|
-
* An interface for objects that make them more easily visually identifiable.
|
|
4
|
-
*/
|
|
5
|
-
export interface IVisual {
|
|
6
|
-
/**
|
|
7
|
-
* The background colour of the graphic.
|
|
8
|
-
*/
|
|
9
|
-
fill: colour;
|
|
10
|
-
/**
|
|
11
|
-
* Outline and graphic colour.
|
|
12
|
-
*/
|
|
13
|
-
stroke: colour;
|
|
14
|
-
/**
|
|
15
|
-
* The name of the symbol for this object.
|
|
16
|
-
*/
|
|
17
|
-
graphic: codified;
|
|
18
|
-
}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { IBelongAsset } from './Interfaces/IBelongAsset';
|
|
2
|
-
import { IBelongBillingProfile } from './Interfaces/IBelongBillingProfile';
|
|
3
|
-
import { IBelongCompany } from './Interfaces/IBelongCompany';
|
|
4
|
-
import { ulong } from './Types';
|
|
5
|
-
/**
|
|
6
|
-
* Returns an array of values where the {@link Map}'s key is present in the {@link keys} array.
|
|
7
|
-
* @param map Map of objects to filter.
|
|
8
|
-
* @param keys Array of keys to select.
|
|
9
|
-
*/
|
|
10
|
-
export declare function MAP_FILTERED_BY_KEYS<K, T>(map: Map<K, T>, keys: K[]): T[];
|
|
11
|
-
/**
|
|
12
|
-
* Returns an array of values where the `value.companyId` matches the given {@link companyId}.
|
|
13
|
-
* @param map Map of objects to filter.
|
|
14
|
-
* @param companyId {@link Company.id} used to filter.
|
|
15
|
-
*/
|
|
16
|
-
export declare function MAP_FILTERED_BY_COMPANY<K, T extends IBelongCompany>(map: Map<K, T>, companyId: ulong): T[];
|
|
17
|
-
/**
|
|
18
|
-
* Returns an array of values where the `value.assetId` matches the given {@link assetId}.
|
|
19
|
-
* @param map Map of objects to filter.
|
|
20
|
-
* @param assetId {@link Asset.id} used to filter.
|
|
21
|
-
*/
|
|
22
|
-
export declare function MAP_FILTERED_BY_ASSET<K, T extends IBelongAsset>(map: Map<K, T>, assetId: ulong): T[];
|
|
23
|
-
/**
|
|
24
|
-
* Returns an array of values where the `value.profileId` matches the given {@link profileId}.
|
|
25
|
-
* @param map Map of objects to filter.
|
|
26
|
-
* @param profileId {@link BillingProfile.id} used to filter.
|
|
27
|
-
*/
|
|
28
|
-
export declare function MAP_FILTERED_BY_BILLING<K, T extends IBelongBillingProfile>(map: Map<K, T>, profileId: ulong): T[];
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import { nothing } from './Types';
|
|
2
|
-
/**
|
|
3
|
-
* A common structure used to implement searching throughout the system.
|
|
4
|
-
* The input format is described in the {@link /wss/#format-expression|WebSocket reference}.
|
|
5
|
-
*/
|
|
6
|
-
export declare class SearchPattern {
|
|
7
|
-
/**
|
|
8
|
-
* Creates an array of {@link SearchPattern}s for easier matching. Used for doing OR matching.
|
|
9
|
-
* @param expression
|
|
10
|
-
*/
|
|
11
|
-
static parse(expression?: string | nothing): SearchPattern[];
|
|
12
|
-
/**
|
|
13
|
-
* Creates a single string from the given array of {@link SearchPattern}s for easier serialization.
|
|
14
|
-
* @param patterns
|
|
15
|
-
*/
|
|
16
|
-
static stringify(patterns?: SearchPattern[] | nothing): string | null;
|
|
17
|
-
/**
|
|
18
|
-
* To help qualify matches, all operators must match for the search to be
|
|
19
|
-
* considered matched.
|
|
20
|
-
* Operators are formatted as "operator:terms".
|
|
21
|
-
*/
|
|
22
|
-
operators: Map<string, string[]>;
|
|
23
|
-
/**
|
|
24
|
-
* If any term matches, then the search should be considered matched.
|
|
25
|
-
* Terms are any string contained by single/double-quotes or not parsed as an
|
|
26
|
-
* operator.
|
|
27
|
-
*/
|
|
28
|
-
terms: string[];
|
|
29
|
-
constructor(pattern?: string);
|
|
30
|
-
/**
|
|
31
|
-
* True when this pattern will match all.
|
|
32
|
-
*/
|
|
33
|
-
get wildcard(): boolean;
|
|
34
|
-
/**
|
|
35
|
-
* Returns a re-parseable string representation of the pattern.
|
|
36
|
-
*/
|
|
37
|
-
toString(): string;
|
|
38
|
-
/**
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
toJSON: () => string;
|
|
42
|
-
/**
|
|
43
|
-
* Returns a new, identical instance of the pattern.
|
|
44
|
-
*/
|
|
45
|
-
copy(): SearchPattern;
|
|
46
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* The types of alerts used.
|
|
3
|
-
*/
|
|
4
|
-
export declare enum NotificationMethod {
|
|
5
|
-
/**
|
|
6
|
-
* A separate message sent across the WebSocket.
|
|
7
|
-
*/
|
|
8
|
-
popup = "popup",
|
|
9
|
-
/**
|
|
10
|
-
* A text message (SMS).
|
|
11
|
-
*/
|
|
12
|
-
sms = "sms",
|
|
13
|
-
/**
|
|
14
|
-
* Carrier pigeon.
|
|
15
|
-
*/
|
|
16
|
-
email = "email"
|
|
17
|
-
}
|