@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
package/index.d.ts
ADDED
|
@@ -0,0 +1,407 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Trak-iT API Object Model.
|
|
3
|
+
* {@link https://github.com/trakitwireless/trakit-ts-objects|Object definition.}
|
|
4
|
+
* All of the Trak-iT APIs use the same object definitions. Use this package in your TypeScript or JavaScript project.
|
|
5
|
+
* Last updated on Friday December 19, 2025
|
|
6
|
+
* @copyright Trak-iT Wireless Inc. 2025
|
|
7
|
+
*/
|
|
8
|
+
import { Contact } from "./Accounts/Contact";
|
|
9
|
+
import { Machine } from "./Accounts/Machine";
|
|
10
|
+
import { NotificationMethod } from "./Accounts/NotificationMethod";
|
|
11
|
+
import { compute, computeAll, computeAllComplex, computeAllSimple, computeComplex, computeSimple, computeSimpleLevels, findAllEscalations, findAllLabelEscalations, findAnyComplex, findComplex, findComplexLevel, findEscalations, findLabelEscalation, findSimple, findSimpleLevel, getComplexLevel, getSimpleLevel, hasAnyComplex, hasComplex, hasSimple } from "./Accounts/Permissions/Authorizer";
|
|
12
|
+
import { Permission } from "./Accounts/Permissions/Permission";
|
|
13
|
+
import { PermissionEscalation } from "./Accounts/Permissions/PermissionEscalation";
|
|
14
|
+
import { PermissionEscalationState } from "./Accounts/Permissions/PermissionEscalationState";
|
|
15
|
+
import { PermissionEscalationType } from "./Accounts/Permissions/PermissionEscalationType";
|
|
16
|
+
import { PermissionLevel } from "./Accounts/Permissions/PermissionLevel";
|
|
17
|
+
import { PermissionMethod } from "./Accounts/Permissions/PermissionMethod";
|
|
18
|
+
import { PermissionType } from "./Accounts/Permissions/PermissionType";
|
|
19
|
+
import { Session } from "./Accounts/Session";
|
|
20
|
+
import { SessionStatus } from "./Accounts/SessionStatus";
|
|
21
|
+
import { SystemsOfUnits } from "./Accounts/SystemsOfUnits";
|
|
22
|
+
import { User } from "./Accounts/User";
|
|
23
|
+
import { UserAdvanced } from "./Accounts/UserAdvanced";
|
|
24
|
+
import { UserGeneral } from "./Accounts/UserGeneral";
|
|
25
|
+
import { UserGroup } from "./Accounts/UserGroup";
|
|
26
|
+
import { UserNotifications } from "./Accounts/UserNotifications";
|
|
27
|
+
import { Base } from "./API/Base";
|
|
28
|
+
import { BaseComponent } from "./API/BaseComponent";
|
|
29
|
+
import { BaseCompound } from "./API/BaseCompound";
|
|
30
|
+
import { CODIFY, HIGHLIGHT } from "./API/Codifier";
|
|
31
|
+
import { PASSWORD_DECODE, PASSWORD_ENCODE } from "./API/Encoding";
|
|
32
|
+
import { FILESIZE_HELPER, NUMBER_GROUPS } from "./API/Files";
|
|
33
|
+
import { CAPITALIZE, DATE, DOUGLASPEUCKER, ID, IS_AN, IS_NOTHING, JSON_TO_MAP, JSON_TO_MAP_PREDICATE, MAP_TO_JSON, MAP_TO_JSON_PREDICATE, PHONE_PARSE, PLURALIZE, PYTHAGORA, ROUND_TO, SINGULARIZE } from "./API/Functions";
|
|
34
|
+
import { GEOFENCE_AREA, GEOFENCE_CONTAINS, GEOFENCE_PEUCKER, GEOFENCE_WIDEST, LATITUDE_NORMALIZED, LATLNG_ANGLE, LATLNG_DISTANCE, LATLNG_DISTANCE_VINCENTY, LATLNG_GREAT_CIRCLE, LATLNG_MIDPOINT, LATLNG_TRANSLATE, LONGITUDE_NORMALIZED, ROUTE_DECODE, ROUTE_ENCODE, ROUTE_LENGTH, ROUTE_PEUCKER } from "./API/Geography/Functions";
|
|
35
|
+
import { LatLng } from "./API/Geography/LatLng";
|
|
36
|
+
import { LatLngBounds } from "./API/Geography/LatLngBounds";
|
|
37
|
+
import { Position } from "./API/Geography/Position";
|
|
38
|
+
import { StreetAddress } from "./API/Geography/StreetAddress";
|
|
39
|
+
import { PATH_LENGTH, PATH_ORTHOGONAL, PATH_PEUCKER, POINT_ANGLE, POINT_DISTANCE, POINT_VECTOR, POLY_AREA, POLY_CONTAINS, POLY_PEUCKER, POLY_WRAPPER, RADIAL_AREA, RADIAL_BADOIU_CLARKSON, RADIAL_CIRCUMFERENCE, RADIAL_OVERLAP_RECTANGLE } from "./API/Geometry/Functions";
|
|
40
|
+
import { Point } from "./API/Geometry/Point";
|
|
41
|
+
import { Radial } from "./API/Geometry/Radial";
|
|
42
|
+
import { Rectangle } from "./API/Geometry/Rectangle";
|
|
43
|
+
import { Size } from "./API/Geometry/Size";
|
|
44
|
+
import { GUID } from "./API/Guid";
|
|
45
|
+
import { IDeserializable } from "./API/Interfaces/IDeserializable";
|
|
46
|
+
import { IRequestable } from "./API/Interfaces/IRequestable";
|
|
47
|
+
import { ISerializable } from "./API/Interfaces/ISerializable";
|
|
48
|
+
import { SearchPattern } from "./API/SearchPattern";
|
|
49
|
+
import { TIMESPAN_PARSE, TIMESPAN_STRINGIFY, TimeSpan } from "./API/TimeSpan";
|
|
50
|
+
import { Timezone } from "./API/Timezone";
|
|
51
|
+
import { TIMEZONE_FIND } from "./API/Timezones";
|
|
52
|
+
import { byte, codified, colour, datetime, datetimetemplate, double, email, expression, guid, int, ipv4, JsonArray, JsonObject, JsonValue, long, nothing, phone, polyline, sbyte, short, single, timespan, uint, ulong, url, ushort } from "./API/Types";
|
|
53
|
+
import { Asset } from "./Assets/Asset";
|
|
54
|
+
import { AssetAdvanced } from "./Assets/AssetAdvanced";
|
|
55
|
+
import { AssetAttribute } from "./Assets/AssetAttribute";
|
|
56
|
+
import { AssetDispatch } from "./Assets/AssetDispatch";
|
|
57
|
+
import { AssetGeneral } from "./Assets/AssetGeneral";
|
|
58
|
+
import { AssetPlaceStatus } from "./Assets/AssetPlaceStatus";
|
|
59
|
+
import { AssetPlaceStatusType } from "./Assets/AssetPlaceStatusType";
|
|
60
|
+
import { AssetType } from "./Assets/AssetType";
|
|
61
|
+
import { Behaviour } from "./Behaviours/Behaviour";
|
|
62
|
+
import { BehaviourLog } from "./Behaviours/BehaviourLog";
|
|
63
|
+
import { BehaviourLogType } from "./Behaviours/BehaviourLogType";
|
|
64
|
+
import { BehaviourParameter } from "./Behaviours/BehaviourParameter";
|
|
65
|
+
import { BehaviourParameterType } from "./Behaviours/BehaviourParameterType";
|
|
66
|
+
import { BehaviourScript } from "./Behaviours/BehaviourScript";
|
|
67
|
+
import { BillingCurrency } from "./Billing/BillingCurrency";
|
|
68
|
+
import { BillingCycle } from "./Billing/BillingCycle";
|
|
69
|
+
import { BillingProfile } from "./Billing/BillingProfile";
|
|
70
|
+
import { BillableHostingLicense } from "./Billing/Hosting/BillableHostingLicense";
|
|
71
|
+
import { BillableHostingLicenseType } from "./Billing/Hosting/BillableHostingLicenseType";
|
|
72
|
+
import { BillableHostingRule } from "./Billing/Hosting/BillableHostingRule";
|
|
73
|
+
import { BillableHostingType } from "./Billing/Hosting/BillableHostingType";
|
|
74
|
+
import { BillingReport } from "./Billing/Report/BillingReport";
|
|
75
|
+
import { BillingReportBreakdown } from "./Billing/Report/BillingReportBreakdown";
|
|
76
|
+
import { BillingReportHostingSummary } from "./Billing/Report/BillingReportHostingSummary";
|
|
77
|
+
import { BillingReportLicenseBreakdown } from "./Billing/Report/BillingReportLicenseBreakdown";
|
|
78
|
+
import { BillingReportServiceBreakdown } from "./Billing/Report/BillingReportServiceBreakdown";
|
|
79
|
+
import { BillingReportStatus } from "./Billing/Report/BillingReportStatus";
|
|
80
|
+
import { BillingReportSummary } from "./Billing/Report/BillingReportSummary";
|
|
81
|
+
import { ColourStyle } from "./Companies/ColourStyle";
|
|
82
|
+
import { Company } from "./Companies/Company";
|
|
83
|
+
import { CompanyDirectory } from "./Companies/CompanyDirectory";
|
|
84
|
+
import { CompanyGeneral } from "./Companies/CompanyGeneral";
|
|
85
|
+
import { CompanyPolicy } from "./Companies/CompanyPolicy";
|
|
86
|
+
import { CompanyReseller } from "./Companies/CompanyReseller";
|
|
87
|
+
import { CompanyStyle } from "./Companies/CompanyStyle";
|
|
88
|
+
import { LabelStyle } from "./Companies/LabelStyle";
|
|
89
|
+
import { NotificationServerEmail } from "./Companies/NotificationServerEmail";
|
|
90
|
+
import { NotificationServerSms } from "./Companies/NotificationServerSms";
|
|
91
|
+
import { PasswordExpiryMode } from "./Companies/PasswordExpiryMode";
|
|
92
|
+
import { PasswordPolicy } from "./Companies/PasswordPolicy";
|
|
93
|
+
import { SessionMultiUser } from "./Companies/SessionMultiUser";
|
|
94
|
+
import { SessionPolicy } from "./Companies/SessionPolicy";
|
|
95
|
+
import { DispatchDirection } from "./Dispatch/DispatchDirection";
|
|
96
|
+
import { DispatchJob } from "./Dispatch/DispatchJob";
|
|
97
|
+
import { DispatchJobPriority } from "./Dispatch/DispatchJobPriority";
|
|
98
|
+
import { DispatchStep } from "./Dispatch/DispatchStep";
|
|
99
|
+
import { DispatchStepState } from "./Dispatch/DispatchStepState";
|
|
100
|
+
import { DispatchStepStatus } from "./Dispatch/DispatchStepStatus";
|
|
101
|
+
import { DispatchTask } from "./Dispatch/DispatchTask";
|
|
102
|
+
import { DispatchTaskStatus } from "./Dispatch/DispatchTaskStatus";
|
|
103
|
+
import { Document } from "./Hosting/Document";
|
|
104
|
+
import { FormFieldAttachments } from "./Hosting/Fields/FormFieldAttachments";
|
|
105
|
+
import { FormFieldBase } from "./Hosting/Fields/FormFieldBase";
|
|
106
|
+
import "./Hosting/Fields/FormFieldBase_fromJSON";
|
|
107
|
+
import { FormFieldBoolean } from "./Hosting/Fields/FormFieldBoolean";
|
|
108
|
+
import { FormFieldChoice } from "./Hosting/Fields/FormFieldChoice";
|
|
109
|
+
import { FormFieldDate } from "./Hosting/Fields/FormFieldDate";
|
|
110
|
+
import { FormFieldNumeric } from "./Hosting/Fields/FormFieldNumeric";
|
|
111
|
+
import { FormFieldNumericSize } from "./Hosting/Fields/FormFieldNumericSize";
|
|
112
|
+
import { FormFieldSignature } from "./Hosting/Fields/FormFieldSignature";
|
|
113
|
+
import { FormFieldText } from "./Hosting/Fields/FormFieldText";
|
|
114
|
+
import { FormFieldTime } from "./Hosting/Fields/FormFieldTime";
|
|
115
|
+
import { FormFieldTimezone } from "./Hosting/Fields/FormFieldTimezone";
|
|
116
|
+
import { FormFieldType } from "./Hosting/FormFieldType";
|
|
117
|
+
import { FormResult } from "./Hosting/FormResult";
|
|
118
|
+
import { FormTemplate } from "./Hosting/FormTemplate";
|
|
119
|
+
import { Dashcam } from "./Images/Dashcam";
|
|
120
|
+
import { DashcamBase } from "./Images/DashcamBase";
|
|
121
|
+
import { DashcamLive } from "./Images/DashcamLive";
|
|
122
|
+
import { DashcamMediaType } from "./Images/DashcamMediaType";
|
|
123
|
+
import { Icon } from "./Images/Icon";
|
|
124
|
+
import { IconGlyph } from "./Images/IconGlyph";
|
|
125
|
+
import { IconLabel } from "./Images/IconLabel";
|
|
126
|
+
import { IconLayer } from "./Images/IconLayer";
|
|
127
|
+
import { Picture } from "./Images/Picture";
|
|
128
|
+
import { MaintenanceInterval } from "./Maintenance/MaintenanceInterval";
|
|
129
|
+
import { MaintenanceJob } from "./Maintenance/MaintenanceJob";
|
|
130
|
+
import { MaintenanceJobStatus } from "./Maintenance/MaintenanceJobStatus";
|
|
131
|
+
import { MaintenanceSchedule } from "./Maintenance/MaintenanceSchedule";
|
|
132
|
+
import { AlertPriority } from "./Messaging/AlertPriority";
|
|
133
|
+
import { AssetAlert } from "./Messaging/AssetAlert";
|
|
134
|
+
import { AssetMessage } from "./Messaging/AssetMessage";
|
|
135
|
+
import { MessageFolder } from "./Messaging/MessageFolder";
|
|
136
|
+
import { MessageStatus } from "./Messaging/MessageStatus";
|
|
137
|
+
import { MessageType } from "./Messaging/MessageType";
|
|
138
|
+
import { Place } from "./Places/Place";
|
|
139
|
+
import { PlaceType } from "./Places/PlaceType";
|
|
140
|
+
import { ProviderConfig } from "./Providers/Config/ProviderConfig";
|
|
141
|
+
import { ProviderRegistration } from "./Providers/Config/ProviderRegistration";
|
|
142
|
+
import { ProviderScript } from "./Providers/Config/ProviderScript";
|
|
143
|
+
import { ProviderScriptBlock } from "./Providers/Config/ProviderScriptBlock";
|
|
144
|
+
import { ProviderScriptParameter } from "./Providers/Config/ProviderScriptParameter";
|
|
145
|
+
import { ProviderScriptParameterType } from "./Providers/Config/ProviderScriptParameterType";
|
|
146
|
+
import { ProviderConfiguration } from "./Providers/Configuration/ProviderConfiguration";
|
|
147
|
+
import { ProviderConfigurationNode } from "./Providers/Configuration/ProviderConfigurationNode";
|
|
148
|
+
import { ProviderConfigurationType } from "./Providers/Configuration/ProviderConfigurationType";
|
|
149
|
+
import { ProviderGeofenceBase } from "./Providers/Configuration/ProviderGeofenceBase";
|
|
150
|
+
import "./Providers/Configuration/ProviderGeofenceBase_fromJSON";
|
|
151
|
+
import { ProviderGeofenceCircular } from "./Providers/Configuration/ProviderGeofenceCircular";
|
|
152
|
+
import { ProviderGeofencePoint } from "./Providers/Configuration/ProviderGeofencePoint";
|
|
153
|
+
import { ProviderGeofencePolygon } from "./Providers/Configuration/ProviderGeofencePolygon";
|
|
154
|
+
import { ProviderGeofenceRectangle } from "./Providers/Configuration/ProviderGeofenceRectangle";
|
|
155
|
+
import { Provider } from "./Providers/Provider";
|
|
156
|
+
import { ProviderAdvanced } from "./Providers/ProviderAdvanced";
|
|
157
|
+
import { ProviderCommand } from "./Providers/ProviderCommand";
|
|
158
|
+
import { ProviderCommandStatus } from "./Providers/ProviderCommandStatus";
|
|
159
|
+
import { ProviderCommandType } from "./Providers/ProviderCommandType";
|
|
160
|
+
import { ProviderControl } from "./Providers/ProviderControl";
|
|
161
|
+
import { ProviderData } from "./Providers/ProviderData";
|
|
162
|
+
import { ProviderGeneral } from "./Providers/ProviderGeneral";
|
|
163
|
+
import { ProviderType } from "./Providers/ProviderType";
|
|
164
|
+
import { ReportBreakdown } from "./Reports/ReportBreakdown";
|
|
165
|
+
import "./Reports/ReportBreakdown_fromJSON";
|
|
166
|
+
import { ReportBreakdownJob } from "./Reports/ReportBreakdownJob";
|
|
167
|
+
import { ReportBreakdownMessage } from "./Reports/ReportBreakdownMessage";
|
|
168
|
+
import { ReportBreakdownTask } from "./Reports/ReportBreakdownTask";
|
|
169
|
+
import { ReportFilterMode } from "./Reports/ReportFilterMode";
|
|
170
|
+
import { ReportNotifications } from "./Reports/ReportNotifications";
|
|
171
|
+
import { ReportOptions } from "./Reports/ReportOptions";
|
|
172
|
+
import { ReportParameter } from "./Reports/ReportParameter";
|
|
173
|
+
import { ReportParameterType } from "./Reports/ReportParameterType";
|
|
174
|
+
import { ReportRecurrence } from "./Reports/ReportRecurrence";
|
|
175
|
+
import { ReportRecurrenceType } from "./Reports/ReportRecurrenceType";
|
|
176
|
+
import { ReportResult } from "./Reports/ReportResult";
|
|
177
|
+
import { ReportResultData } from "./Reports/ReportResultData";
|
|
178
|
+
import { ReportSchedule } from "./Reports/ReportSchedule";
|
|
179
|
+
import { ReportScorecard } from "./Reports/ReportScorecard";
|
|
180
|
+
import { ReportScorecardParameter } from "./Reports/ReportScorecardParameter";
|
|
181
|
+
import { ReportScorecardRules } from "./Reports/ReportScorecardRules";
|
|
182
|
+
import { ReportStatus } from "./Reports/ReportStatus";
|
|
183
|
+
import { ReportSummary } from "./Reports/ReportSummary";
|
|
184
|
+
import { ReportSummaryReason } from "./Reports/ReportSummaryReason";
|
|
185
|
+
import { ReportTemplate } from "./Reports/ReportTemplate";
|
|
186
|
+
import { ReportTotal } from "./Reports/ReportTotal";
|
|
187
|
+
import { ReportType } from "./Reports/ReportType";
|
|
188
|
+
/**
|
|
189
|
+
* Version number for this release.
|
|
190
|
+
*/
|
|
191
|
+
export declare const version = 5.06;
|
|
192
|
+
/**
|
|
193
|
+
* The names of all main object types in the Trak-iT Object Model.
|
|
194
|
+
*/
|
|
195
|
+
export type SyncName = "Company" | "CompanyGeneral" | "CompanyStyle" | "CompanyDirectory" | "CompanyPolicy" | "CompanyReseller" | "Contact" | "Machine" | "Session" | "User" | "UserGeneral" | "UserAdvanced" | "UserGroup" | "Asset" | "AssetGeneral" | "AssetAdvanced" | "AssetDispatch" | "AssetAlert" | "AssetMessage" | "Behaviour" | "BehaviourScript" | "BehaviourLog" | "BillableHostingLicense" | "BillableHostingRule" | "BillingProfile" | "BillingReport" | "DispatchJob" | "DispatchTask" | "Document" | "FormResult" | "FormTemplate" | "Dashcam" | "Icon" | "Picture" | "MaintenanceSchedule" | "MaintenanceJob" | "Place" | "Provider" | "ProviderGeneral" | "ProviderAdvanced" | "ProviderControl" | "ProviderScript" | "ProviderConfig" | "ProviderConfigurationType" | "ProviderConfiguration" | "ProviderRegistration" | "ReportTemplate" | "ReportSchedule" | "ReportResult";
|
|
196
|
+
/**
|
|
197
|
+
* A mapping of all main object types in the Trak-iT Object Model to their class constructors.
|
|
198
|
+
*/
|
|
199
|
+
export declare const classes: {
|
|
200
|
+
[key in SyncName]: {
|
|
201
|
+
new (): IRequestable;
|
|
202
|
+
};
|
|
203
|
+
};
|
|
204
|
+
/**
|
|
205
|
+
* Local Maps that store various instances of objects.
|
|
206
|
+
* The storage is used by the sync system.
|
|
207
|
+
*/
|
|
208
|
+
export declare const storage: {
|
|
209
|
+
[key in SyncName]: Map<ulong | guid | email | codified | string, IRequestable>;
|
|
210
|
+
};
|
|
211
|
+
/**
|
|
212
|
+
* Common types used throughout the application.
|
|
213
|
+
* These are simply numbers or strings of a specific format.
|
|
214
|
+
*/
|
|
215
|
+
export type { JsonArray, JsonObject, JsonValue, byte, double, int, long, phone, sbyte, short, single, uint, ulong, ushort, codified, colour, datetime, datetimetemplate, email, expression, guid, ipv4, nothing, polyline, timespan, url, IRequestable, IDeserializable, ISerializable, };
|
|
216
|
+
/**
|
|
217
|
+
* A group of utility functions for common tasks like dealing with strings.
|
|
218
|
+
*/
|
|
219
|
+
export declare const utility: {
|
|
220
|
+
capitalize: typeof CAPITALIZE;
|
|
221
|
+
codify: typeof CODIFY;
|
|
222
|
+
date: typeof DATE;
|
|
223
|
+
douglasPeucker: typeof DOUGLASPEUCKER;
|
|
224
|
+
fileSize: typeof FILESIZE_HELPER;
|
|
225
|
+
findTimeZoneById: typeof TIMEZONE_FIND;
|
|
226
|
+
guid: typeof GUID;
|
|
227
|
+
highlight: typeof HIGHLIGHT;
|
|
228
|
+
id: typeof ID;
|
|
229
|
+
isNothing: typeof IS_NOTHING;
|
|
230
|
+
isntNaN: typeof IS_AN;
|
|
231
|
+
numberGroups: typeof NUMBER_GROUPS;
|
|
232
|
+
roundTo: typeof ROUND_TO;
|
|
233
|
+
parseTime: typeof TIMESPAN_PARSE;
|
|
234
|
+
phoneNumber: typeof PHONE_PARSE;
|
|
235
|
+
pluralize: typeof PLURALIZE;
|
|
236
|
+
singularize: typeof SINGULARIZE;
|
|
237
|
+
stringifyTime: typeof TIMESPAN_STRINGIFY;
|
|
238
|
+
};
|
|
239
|
+
/**
|
|
240
|
+
* A group of functions for converting between different measurement systems.
|
|
241
|
+
*/
|
|
242
|
+
export declare const convert: {
|
|
243
|
+
fromTo: typeof import("./API/Conversion").CONVERT_FROM_TO;
|
|
244
|
+
sqmToSqft: typeof import("./API/Conversion").CONVERT_SQM_TO_SQFT;
|
|
245
|
+
sqftToSqm: typeof import("./API/Conversion").CONVERT_SQFT_TO_SQM;
|
|
246
|
+
sqmToSqy: typeof import("./API/Conversion").CONVERT_SQM_TO_YARDS;
|
|
247
|
+
yftToSqm: typeof import("./API/Conversion").CONVERT_YARDS_TO_SQM;
|
|
248
|
+
sqkmToSqmi: typeof import("./API/Conversion").CONVERT_SQKM_TO_SQMI;
|
|
249
|
+
sqmiToSqkm: typeof import("./API/Conversion").CONVERT_SQMI_TO_SQKM;
|
|
250
|
+
haToAc: typeof import("./API/Conversion").CONVERT_HECTARE_TO_ACRE;
|
|
251
|
+
acToHa: typeof import("./API/Conversion").CONVERT_ACRE_TO_HECTARE;
|
|
252
|
+
kmToMi: typeof import("./API/Conversion").CONVERT_KILOMETRES_TO_MILES;
|
|
253
|
+
miToKm: typeof import("./API/Conversion").CONVERT_MILES_TO_KILOMETRES;
|
|
254
|
+
mToYd: typeof import("./API/Conversion").CONVERT_METRES_TO_YARDS;
|
|
255
|
+
ydToM: typeof import("./API/Conversion").CONVERT_YARDS_TO_METRES;
|
|
256
|
+
mToFt: typeof import("./API/Conversion").CONVERT_METRES_TO_FEET;
|
|
257
|
+
ftToM: typeof import("./API/Conversion").CONVERT_FEET_TO_METRES;
|
|
258
|
+
cmToIn: typeof import("./API/Conversion").CONVERT_CENTIMETRES_TO_INCHES;
|
|
259
|
+
inToCm: typeof import("./API/Conversion").CONVERT_INCHES_TO_CENTIMETRES;
|
|
260
|
+
mpgToL100km: typeof import("./API/Conversion").CONVERT_BETWEEN_MPGUS_AND_L100KM;
|
|
261
|
+
mpgUKToL100km: typeof import("./API/Conversion").CONVERT_BETWEEN_MPGUK_AND_L100KM;
|
|
262
|
+
mpkwhToKwh100kim: typeof import("./API/Conversion").CONVERT_BETWEEN_MPKWH_AND_KWH100KM;
|
|
263
|
+
l100kmToMpg: typeof import("./API/Conversion").CONVERT_BETWEEN_MPGUS_AND_L100KM;
|
|
264
|
+
l100kmToMpgUK: typeof import("./API/Conversion").CONVERT_BETWEEN_MPGUK_AND_L100KM;
|
|
265
|
+
kwh100kimToMpkwh: typeof import("./API/Conversion").CONVERT_BETWEEN_MPKWH_AND_KWH100KM;
|
|
266
|
+
kpaToPsi: typeof import("./API/Conversion").CONVERT_KPA_TO_PSI;
|
|
267
|
+
psiToKpa: typeof import("./API/Conversion").CONVERT_PSI_TO_KPA;
|
|
268
|
+
kphToMph: typeof import("./API/Conversion").CONVERT_KILOMETRES_TO_MILES;
|
|
269
|
+
mphToKph: typeof import("./API/Conversion").CONVERT_MILES_TO_KILOMETRES;
|
|
270
|
+
mpsToFtps: typeof import("./API/Conversion").CONVERT_METRES_TO_FEET;
|
|
271
|
+
ftpsToMps: typeof import("./API/Conversion").CONVERT_FEET_TO_METRES;
|
|
272
|
+
cmpsToInps: typeof import("./API/Conversion").CONVERT_CENTIMETRES_TO_INCHES;
|
|
273
|
+
inpsToCmps: typeof import("./API/Conversion").CONVERT_INCHES_TO_CENTIMETRES;
|
|
274
|
+
cToF: typeof import("./API/Conversion").CONVERT_CELCIUS_TO_FAHRENHEIT;
|
|
275
|
+
fToC: typeof import("./API/Conversion").CONVERT_FAHRENHEIT_TO_CELCIUS;
|
|
276
|
+
lToGal: typeof import("./API/Conversion").CONVERT_LITRES_TO_GALLONS_US;
|
|
277
|
+
lToGalUK: typeof import("./API/Conversion").CONVERT_LITRES_TO_GALLONS_UK;
|
|
278
|
+
galToL: typeof import("./API/Conversion").CONVERT_GALLONS_US_TO_LITRES;
|
|
279
|
+
galUKToL: typeof import("./API/Conversion").CONVERT_GALLONS_UK_TO_LITRES;
|
|
280
|
+
mlToFloz: typeof import("./API/Conversion").CONVERT_MILLILITRES_TO_OUNCES_US;
|
|
281
|
+
mlToFlozUK: typeof import("./API/Conversion").CONVERT_MILLILITRES_TO_OUNCES_UK;
|
|
282
|
+
flozToMl: typeof import("./API/Conversion").CONVERT_OUNCES_US_TO_MILLILITRES;
|
|
283
|
+
flozUKToMl: typeof import("./API/Conversion").CONVERT_OUNCES_UK_TO_MILLILITRES;
|
|
284
|
+
kgToLbs: typeof import("./API/Conversion").CONVERT_KG_TO_LBS;
|
|
285
|
+
lbsToKg: typeof import("./API/Conversion").CONVERT_LBS_TO_KG;
|
|
286
|
+
gToOz: typeof import("./API/Conversion").CONVERT_GRAM_TO_OZ;
|
|
287
|
+
ozToG: typeof import("./API/Conversion").CONVERT_OZ_TO_GRAM;
|
|
288
|
+
tToTon: typeof import("./API/Conversion").CONVERT_TONNE_TO_TON_US;
|
|
289
|
+
tonToT: typeof import("./API/Conversion").CONVERT_TON_US_TO_TONNE;
|
|
290
|
+
tToTonUK: typeof import("./API/Conversion").CONVERT_TONNE_TO_TON_UK;
|
|
291
|
+
tonUKToT: typeof import("./API/Conversion").CONVERT_TON_UK_TO_TONNE;
|
|
292
|
+
};
|
|
293
|
+
/**
|
|
294
|
+
* Functions for encoding and decoding device passwords.
|
|
295
|
+
*/
|
|
296
|
+
export declare const encoding: {
|
|
297
|
+
toPassword: typeof PASSWORD_ENCODE;
|
|
298
|
+
fromPassword: typeof PASSWORD_DECODE;
|
|
299
|
+
};
|
|
300
|
+
/**
|
|
301
|
+
* Functions for converting between JSON objects using our custom serialization.
|
|
302
|
+
*/
|
|
303
|
+
export declare const serialization: {
|
|
304
|
+
fromMap: typeof MAP_TO_JSON;
|
|
305
|
+
fromMapPredicate: typeof MAP_TO_JSON_PREDICATE;
|
|
306
|
+
toMap: typeof JSON_TO_MAP;
|
|
307
|
+
toMapPredicate: typeof JSON_TO_MAP_PREDICATE;
|
|
308
|
+
};
|
|
309
|
+
/**
|
|
310
|
+
* Common classes used throughout the API, and the Base classes used for synchronizable objects.
|
|
311
|
+
*/
|
|
312
|
+
export { Base, BaseComponent, BaseCompound, SearchPattern, TimeSpan, Timezone };
|
|
313
|
+
/**
|
|
314
|
+
* Utility functions exposing algorithms for a flat plane.
|
|
315
|
+
*/
|
|
316
|
+
export declare const geometry: {
|
|
317
|
+
pathLength: typeof PATH_LENGTH;
|
|
318
|
+
pathOrthogonal: typeof PATH_ORTHOGONAL;
|
|
319
|
+
pathReduce: typeof PATH_PEUCKER;
|
|
320
|
+
pointAngle: typeof POINT_ANGLE;
|
|
321
|
+
pointDistance: typeof POINT_DISTANCE;
|
|
322
|
+
pointPythagora: typeof PYTHAGORA;
|
|
323
|
+
pointVector: typeof POINT_VECTOR;
|
|
324
|
+
polyArea: typeof POLY_AREA;
|
|
325
|
+
polyContains: typeof POLY_CONTAINS;
|
|
326
|
+
polyReduce: typeof POLY_PEUCKER;
|
|
327
|
+
polyWrapper: typeof POLY_WRAPPER;
|
|
328
|
+
radialCircumference: typeof RADIAL_CIRCUMFERENCE;
|
|
329
|
+
radialArea: typeof RADIAL_AREA;
|
|
330
|
+
radialSmallest: typeof RADIAL_BADOIU_CLARKSON;
|
|
331
|
+
radialOverlapsRectangle: typeof RADIAL_OVERLAP_RECTANGLE;
|
|
332
|
+
};
|
|
333
|
+
export { Point, Radial, Rectangle, Size };
|
|
334
|
+
/**
|
|
335
|
+
* Utility functions exposing algorithms for a WGS84/NAD83 spheroid.
|
|
336
|
+
*/
|
|
337
|
+
export declare const geography: {
|
|
338
|
+
earthRadius: number;
|
|
339
|
+
clampLat: typeof LATITUDE_NORMALIZED;
|
|
340
|
+
clampLng: typeof LONGITUDE_NORMALIZED;
|
|
341
|
+
pathLength: typeof ROUTE_LENGTH;
|
|
342
|
+
pathReduce: typeof ROUTE_PEUCKER;
|
|
343
|
+
pathEncode: typeof ROUTE_ENCODE;
|
|
344
|
+
pathDecode: typeof ROUTE_DECODE;
|
|
345
|
+
pointAngle: typeof LATLNG_ANGLE;
|
|
346
|
+
pointDistance: typeof LATLNG_DISTANCE;
|
|
347
|
+
pointMiddle: typeof LATLNG_MIDPOINT;
|
|
348
|
+
pointOrthogonal: typeof LATLNG_GREAT_CIRCLE;
|
|
349
|
+
pointTranslate: typeof LATLNG_TRANSLATE;
|
|
350
|
+
pointVincenty: typeof LATLNG_DISTANCE_VINCENTY;
|
|
351
|
+
polyArea: typeof GEOFENCE_AREA;
|
|
352
|
+
polyContains: typeof GEOFENCE_CONTAINS;
|
|
353
|
+
polyReduce: typeof GEOFENCE_PEUCKER;
|
|
354
|
+
polyWidest: typeof GEOFENCE_WIDEST;
|
|
355
|
+
};
|
|
356
|
+
export { LatLng, LatLngBounds, Position, StreetAddress };
|
|
357
|
+
export { ColourStyle, Company, CompanyDirectory, CompanyGeneral, CompanyPolicy, CompanyReseller, CompanyStyle, LabelStyle, NotificationServerEmail, NotificationServerSms, PasswordExpiryMode, PasswordPolicy, SessionMultiUser, SessionPolicy };
|
|
358
|
+
/**
|
|
359
|
+
* Functions and collections for validating account permissions.
|
|
360
|
+
*/
|
|
361
|
+
export declare const authorizer: {
|
|
362
|
+
computeAll: typeof computeAll;
|
|
363
|
+
compute: typeof compute;
|
|
364
|
+
computeAllSimple: typeof computeAllSimple;
|
|
365
|
+
computeSimple: typeof computeSimple;
|
|
366
|
+
computeSimpleLevels: typeof computeSimpleLevels;
|
|
367
|
+
getSimpleLevel: typeof getSimpleLevel;
|
|
368
|
+
hasSimple: typeof hasSimple;
|
|
369
|
+
findSimple: typeof findSimple;
|
|
370
|
+
findSimpleLevel: typeof findSimpleLevel;
|
|
371
|
+
computeAllComplex: typeof computeAllComplex;
|
|
372
|
+
computeComplex: typeof computeComplex;
|
|
373
|
+
getComplexLevel: typeof getComplexLevel;
|
|
374
|
+
findComplexLevel: typeof findComplexLevel;
|
|
375
|
+
hasComplex: typeof hasComplex;
|
|
376
|
+
findComplex: typeof findComplex;
|
|
377
|
+
hasAnyComplex: typeof hasAnyComplex;
|
|
378
|
+
findAnyComplex: typeof findAnyComplex;
|
|
379
|
+
findAllEscalations: typeof findAllEscalations;
|
|
380
|
+
findEscalations: typeof findEscalations;
|
|
381
|
+
findAllLabelEscalations: typeof findAllLabelEscalations;
|
|
382
|
+
findLabelEscalation: typeof findLabelEscalation;
|
|
383
|
+
/**
|
|
384
|
+
* A list of {@link PermissionType}s which are implied for each user's own company.
|
|
385
|
+
*/
|
|
386
|
+
implied: readonly PermissionType[];
|
|
387
|
+
/**
|
|
388
|
+
* {@link PermissionType}s which do not use labels to calculate access.
|
|
389
|
+
*/
|
|
390
|
+
simple: readonly PermissionType[];
|
|
391
|
+
/**
|
|
392
|
+
* The {@link PermissionType}s which are calculated using labels.
|
|
393
|
+
*/
|
|
394
|
+
complex: readonly PermissionType[];
|
|
395
|
+
};
|
|
396
|
+
export { Contact, Machine, NotificationMethod, Permission, PermissionEscalation, PermissionEscalationState, PermissionEscalationType, PermissionLevel, PermissionMethod, PermissionType, Session, SessionStatus, SystemsOfUnits, User, UserGeneral, UserAdvanced, UserGroup, UserNotifications, };
|
|
397
|
+
export { Asset, AssetAdvanced, AssetAttribute, AssetDispatch, AssetGeneral, AssetPlaceStatus, AssetPlaceStatusType, AssetType, AssetAlert, AssetMessage, AlertPriority, MessageFolder, MessageStatus, MessageType, };
|
|
398
|
+
export { Behaviour, BehaviourLog, BehaviourLogType, BehaviourParameter, BehaviourParameterType, BehaviourScript, };
|
|
399
|
+
export { BillableHostingLicense, BillableHostingLicenseType, BillableHostingRule, BillableHostingType, BillingCurrency, BillingCycle, BillingProfile, BillingReport, BillingReportBreakdown, BillingReportHostingSummary, BillingReportLicenseBreakdown, BillingReportServiceBreakdown, BillingReportStatus, BillingReportSummary, };
|
|
400
|
+
export { DispatchDirection, DispatchJob, DispatchJobPriority, DispatchStep, DispatchStepState, DispatchStepStatus, DispatchTask, DispatchTaskStatus, };
|
|
401
|
+
export { Document, FormResult, FormTemplate, FormFieldType, FormFieldBase, FormFieldAttachments, FormFieldBoolean, FormFieldChoice, FormFieldDate, FormFieldNumeric, FormFieldNumericSize, FormFieldSignature, FormFieldText, FormFieldTime, FormFieldTimezone, };
|
|
402
|
+
export { DashcamBase, Dashcam, DashcamLive, DashcamMediaType, Icon, IconGlyph, IconLabel, IconLayer, Picture, };
|
|
403
|
+
export { MaintenanceSchedule, MaintenanceJob, MaintenanceJobStatus, MaintenanceInterval, };
|
|
404
|
+
export { Place, PlaceType, };
|
|
405
|
+
export { Provider, ProviderGeneral, ProviderAdvanced, ProviderControl, ProviderCommand, ProviderCommandStatus, ProviderCommandType, ProviderType, ProviderRegistration, ProviderData, ProviderScript, ProviderScriptBlock, ProviderScriptParameter, ProviderScriptParameterType, ProviderConfig, ProviderConfiguration, ProviderConfigurationNode, ProviderConfigurationType, ProviderGeofenceBase, ProviderGeofenceCircular, ProviderGeofencePoint, ProviderGeofencePolygon, ProviderGeofenceRectangle, };
|
|
406
|
+
export { ReportResult, ReportResultData, ReportSchedule, ReportTemplate, ReportType, ReportBreakdown, ReportBreakdownJob, ReportBreakdownMessage, ReportBreakdownTask, ReportTotal, ReportFilterMode, ReportNotifications, ReportOptions, ReportParameter, ReportParameterType, ReportRecurrence, ReportRecurrenceType, ReportScorecard, ReportScorecardParameter, ReportScorecardRules, ReportStatus, ReportSummary, ReportSummaryReason, };
|
|
407
|
+
//# sourceMappingURL=index.d.ts.map
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@trakit/objects",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.8",
|
|
5
5
|
"main": "./_publish/trakit-objects.min.js",
|
|
6
6
|
"types": "./_publish/index.d.ts",
|
|
7
7
|
"scripts": {
|
|
@@ -17,7 +17,10 @@
|
|
|
17
17
|
"author": "Alex Lein",
|
|
18
18
|
"license": "AGPL-3.0-only",
|
|
19
19
|
"files": [
|
|
20
|
-
"
|
|
20
|
+
"*.js",
|
|
21
|
+
"*/*.js",
|
|
22
|
+
"*.d.ts",
|
|
23
|
+
"*/*.d.ts",
|
|
21
24
|
"LICENSE.md",
|
|
22
25
|
"README.md"
|
|
23
26
|
],
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import { Base } from './Base';
|
|
2
|
-
import { IRequestable } from './Interfaces/IRequestable';
|
|
3
|
-
import { ISerializable } from './Interfaces/ISerializable';
|
|
4
|
-
import { email, guid, int, ulong } from './Types';
|
|
5
|
-
/**
|
|
6
|
-
* Any derived class can/should be serialized and given to a user.
|
|
7
|
-
*/
|
|
8
|
-
export declare abstract class BaseComponent extends Base implements IRequestable, ISerializable {
|
|
9
|
-
/**
|
|
10
|
-
* Object version keys used to validate synchronization for all object properties.
|
|
11
|
-
*/
|
|
12
|
-
private _version;
|
|
13
|
-
/**
|
|
14
|
-
* Object version keys used to validate synchronization for all object properties.
|
|
15
|
-
*/
|
|
16
|
-
get v(): int[];
|
|
17
|
-
/**
|
|
18
|
-
*
|
|
19
|
-
* @param version
|
|
20
|
-
* @returns
|
|
21
|
-
*/
|
|
22
|
-
protected updateVersion(version: int | int[]): boolean;
|
|
23
|
-
/**
|
|
24
|
-
*
|
|
25
|
-
* @param version
|
|
26
|
-
* @returns
|
|
27
|
-
*/
|
|
28
|
-
protected updateVersions(versions?: int[]): boolean[];
|
|
29
|
-
/**
|
|
30
|
-
* Returns a value which can be used as a unique identifier for this object.
|
|
31
|
-
* Values are unique for each type of object, but can be identical for different object types.
|
|
32
|
-
* @returns A value unique for this type of object.
|
|
33
|
-
*/
|
|
34
|
-
abstract getKey(): ulong | email | guid | string;
|
|
35
|
-
/**
|
|
36
|
-
* Creates a literal of this {@link BaseComponent}.
|
|
37
|
-
* Used internally by {@link JSON.stringify}.
|
|
38
|
-
*/
|
|
39
|
-
abstract toJSON(): any;
|
|
40
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { BaseComponent } from './BaseComponent';
|
|
2
|
-
import { int } from './Types';
|
|
3
|
-
/**
|
|
4
|
-
* Some objects are made up of the pieces of many objects.
|
|
5
|
-
* {@link Asset}
|
|
6
|
-
* {@link Company}
|
|
7
|
-
* {@link Provider}
|
|
8
|
-
* {@link User}
|
|
9
|
-
*/
|
|
10
|
-
export declare abstract class BaseCompound extends BaseComponent {
|
|
11
|
-
/**
|
|
12
|
-
* A list of individually subscribable objects that make up the compound object.
|
|
13
|
-
*/
|
|
14
|
-
abstract get pieces(): BaseComponent[];
|
|
15
|
-
/**
|
|
16
|
-
* Compound objects have multiple {@link v} values; one for each part of the object.
|
|
17
|
-
*/
|
|
18
|
-
get v(): int[];
|
|
19
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { codified } from "./Types";
|
|
2
|
-
/**
|
|
3
|
-
* Creates a searchable/coded string based on a user inputted string. Quotation marks, apostrophes, and accents are removed.
|
|
4
|
-
* @param input
|
|
5
|
-
*/
|
|
6
|
-
export declare function CODIFY(input: string): codified;
|
|
7
|
-
/**
|
|
8
|
-
* Wraps the {@code input} using the codified {@code terms} with the {@code prefix}s and {@code suffix}s.
|
|
9
|
-
* When a term is found beside a quotation mark or apostrophe, the mark is included inside the highlight.
|
|
10
|
-
* @param input The string to add HTML highlights to.
|
|
11
|
-
* @param terms Codified search terms from {@link CODIFY}.
|
|
12
|
-
* @param prefix Added to the beginning of each of the {@code terms}.
|
|
13
|
-
* @param suffix Added to the end of each of the {@code terms}.
|
|
14
|
-
*/
|
|
15
|
-
export declare function HIGHLIGHT(input: string, terms: codified[], [prefix, suffix]?: [string, string]): string;
|