@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,92 +0,0 @@
|
|
|
1
|
-
import { IBelongCompany } from "../API/Interfaces/IBelongCompany";
|
|
2
|
-
import { IRequestable } from "../API/Interfaces/IRequestable";
|
|
3
|
-
import { ISerializable } from "../API/Interfaces/ISerializable";
|
|
4
|
-
import { datetime, int, JsonObject, ulong } from "../API/Types";
|
|
5
|
-
import { Company } from "../Companies/Company";
|
|
6
|
-
import { SessionStatus } from "./SessionStatus";
|
|
7
|
-
/**
|
|
8
|
-
* Information about another {@link User}'s {@link Session}.
|
|
9
|
-
*/
|
|
10
|
-
export declare class Session implements IBelongCompany, IRequestable, ISerializable {
|
|
11
|
-
/**
|
|
12
|
-
*
|
|
13
|
-
* @param json
|
|
14
|
-
*/
|
|
15
|
-
static fromJSON(json: JsonObject): Session;
|
|
16
|
-
/**
|
|
17
|
-
* A "handle" identifying a resource.
|
|
18
|
-
*/
|
|
19
|
-
handle: string;
|
|
20
|
-
/**
|
|
21
|
-
* Getter shortcut for the {@link User}'s {@link Company.id}.
|
|
22
|
-
*/
|
|
23
|
-
companyId: ulong;
|
|
24
|
-
/**
|
|
25
|
-
* The company to which this contact belongs
|
|
26
|
-
* {@link Company.id}
|
|
27
|
-
*/
|
|
28
|
-
get company(): Company;
|
|
29
|
-
/**
|
|
30
|
-
* The IP address of the {@link User} last used to connect using this session.
|
|
31
|
-
*/
|
|
32
|
-
ipAddress: string;
|
|
33
|
-
/**
|
|
34
|
-
* `UserAgent` identification string
|
|
35
|
-
*/
|
|
36
|
-
userAgent: string;
|
|
37
|
-
/**
|
|
38
|
-
* The IP address the user last used to connect
|
|
39
|
-
/**
|
|
40
|
-
* The number of currently connected WebSocket clients.
|
|
41
|
-
*/
|
|
42
|
-
sockets: int;
|
|
43
|
-
/**
|
|
44
|
-
* The {@link User} to which the {@link Session} belongs.
|
|
45
|
-
* {@link User.login}
|
|
46
|
-
*/
|
|
47
|
-
login: string;
|
|
48
|
-
/**
|
|
49
|
-
* This {@link Session}'s current state.
|
|
50
|
-
*/
|
|
51
|
-
status: SessionStatus;
|
|
52
|
-
/**
|
|
53
|
-
* The timestamp from the moment this {@link Session} was created.
|
|
54
|
-
*/
|
|
55
|
-
created: Date;
|
|
56
|
-
/**
|
|
57
|
-
* A timestamp for when the {@link RespSession} will expire.
|
|
58
|
-
*/
|
|
59
|
-
expiry: Date;
|
|
60
|
-
/**
|
|
61
|
-
* The name or path of the last command executed.
|
|
62
|
-
*/
|
|
63
|
-
lastCommand: string;
|
|
64
|
-
/**
|
|
65
|
-
* A timestamp from the last command or call to the system.
|
|
66
|
-
*/
|
|
67
|
-
lastActivity: Date;
|
|
68
|
-
/**
|
|
69
|
-
* Indicator that this {@link Session} is using at least one WebSocket connection.
|
|
70
|
-
*/
|
|
71
|
-
get active(): boolean;
|
|
72
|
-
constructor(handle?: string, company?: ulong, ipAddress?: string, userAgent?: string, sockets?: int, login?: string, status?: SessionStatus, created?: Date | number | datetime, expiry?: Date | number | datetime, lastCommand?: string, lastActivity?: Date | number | datetime);
|
|
73
|
-
/**
|
|
74
|
-
*
|
|
75
|
-
*/
|
|
76
|
-
toJSON(): {
|
|
77
|
-
handle: string;
|
|
78
|
-
login: string;
|
|
79
|
-
company: number;
|
|
80
|
-
created: string;
|
|
81
|
-
lastActivity: string;
|
|
82
|
-
ipAddress: string;
|
|
83
|
-
userAgent: string;
|
|
84
|
-
lastCommand: string;
|
|
85
|
-
active: boolean;
|
|
86
|
-
sockets: number;
|
|
87
|
-
};
|
|
88
|
-
/**
|
|
89
|
-
* The {@link handle} is the key.
|
|
90
|
-
*/
|
|
91
|
-
getKey(): string;
|
|
92
|
-
}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Current state of a session
|
|
3
|
-
*/
|
|
4
|
-
export declare enum SessionStatus {
|
|
5
|
-
/**
|
|
6
|
-
* Invalid session reference.
|
|
7
|
-
*/
|
|
8
|
-
notFound = "notFound",
|
|
9
|
-
/**
|
|
10
|
-
* Session created but user hasn't logged-in yet.
|
|
11
|
-
*/
|
|
12
|
-
created = "created",
|
|
13
|
-
/**
|
|
14
|
-
* User is logged-in and one or more WebSocket connections are open.
|
|
15
|
-
*/
|
|
16
|
-
active = "active",
|
|
17
|
-
/**
|
|
18
|
-
* User is logged-in but no WebSocket connections are open.
|
|
19
|
-
*/
|
|
20
|
-
idle = "idle",
|
|
21
|
-
/**
|
|
22
|
-
* User is logged-in and password is expired and needs to be changed before any commands can be processed.
|
|
23
|
-
*/
|
|
24
|
-
passwordExpired = "passwordExpired",
|
|
25
|
-
/**
|
|
26
|
-
* Session is being killed because it has expired.
|
|
27
|
-
*/
|
|
28
|
-
expired = "expired"
|
|
29
|
-
}
|
|
@@ -1,147 +0,0 @@
|
|
|
1
|
-
import { BaseComponent } from "../API/BaseComponent";
|
|
2
|
-
import { BaseCompound } from "../API/BaseCompound";
|
|
3
|
-
import { IBelongCompany } from "../API/Interfaces/IBelongCompany";
|
|
4
|
-
import { IEnabled } from "../API/Interfaces/IEnabled";
|
|
5
|
-
import { IHavePermissions } from "../API/Interfaces/IHavePermissions";
|
|
6
|
-
import { IHavePreferences } from "../API/Interfaces/IHavePreferences";
|
|
7
|
-
import { Timezone } from "../API/Timezone";
|
|
8
|
-
import { codified, datetimetemplate, email, JsonObject, nothing, ulong } from "../API/Types";
|
|
9
|
-
import { Company } from "../Companies/Company";
|
|
10
|
-
import { Contact } from "./Contact";
|
|
11
|
-
import { Permission } from "./Permissions/Permission";
|
|
12
|
-
import { SystemsOfUnits } from "./SystemsOfUnits";
|
|
13
|
-
import { UserAdvanced } from "./UserAdvanced";
|
|
14
|
-
import { UserGeneral } from "./UserGeneral";
|
|
15
|
-
import { UserGroup } from "./UserGroup";
|
|
16
|
-
import { UserNotifications } from "./UserNotifications";
|
|
17
|
-
/**
|
|
18
|
-
* A grouping of credentials, information, preferences, and permissions for a person or machine to login to the system and access its resources.
|
|
19
|
-
*/
|
|
20
|
-
export declare class User extends BaseCompound implements IEnabled, IBelongCompany, IHavePermissions, IHavePreferences {
|
|
21
|
-
#private;
|
|
22
|
-
/**
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
|
-
get pieces(): BaseComponent[];
|
|
26
|
-
/**
|
|
27
|
-
* The unique public email address used to access the system.
|
|
28
|
-
* {@link User.login}
|
|
29
|
-
*/
|
|
30
|
-
get login(): email;
|
|
31
|
-
/**
|
|
32
|
-
* The company to which this user belongs.
|
|
33
|
-
* {@link Company.id}
|
|
34
|
-
*/
|
|
35
|
-
get companyId(): ulong;
|
|
36
|
-
/**
|
|
37
|
-
* The company to which this user belongs.
|
|
38
|
-
* {@link Company.id}
|
|
39
|
-
*/
|
|
40
|
-
get company(): Company;
|
|
41
|
-
/**
|
|
42
|
-
*
|
|
43
|
-
*/
|
|
44
|
-
get general(): UserGeneral;
|
|
45
|
-
/**
|
|
46
|
-
* Indicated whether the credentials have expired according to the company's policy.
|
|
47
|
-
*/
|
|
48
|
-
get passwordExpired(): boolean;
|
|
49
|
-
set passwordExpired(value: boolean);
|
|
50
|
-
/**
|
|
51
|
-
* Indicates whether system access is disabled.
|
|
52
|
-
*/
|
|
53
|
-
get enabled(): boolean;
|
|
54
|
-
set enabled(value: boolean);
|
|
55
|
-
/**
|
|
56
|
-
* Human friendly name for these credentials
|
|
57
|
-
*/
|
|
58
|
-
get nickname(): string;
|
|
59
|
-
set nickname(value: string);
|
|
60
|
-
/**
|
|
61
|
-
* Contact information for this user.
|
|
62
|
-
* {@link Contact.id}
|
|
63
|
-
*/
|
|
64
|
-
get contactId(): ulong;
|
|
65
|
-
set contactId(value: ulong | nothing);
|
|
66
|
-
/**
|
|
67
|
-
* Contact information for this user.
|
|
68
|
-
* {@link Contact.id}
|
|
69
|
-
*/
|
|
70
|
-
get contact(): Contact;
|
|
71
|
-
set contact(value: Contact | nothing);
|
|
72
|
-
/**
|
|
73
|
-
* The user's local timezone.
|
|
74
|
-
* {@link Timezone.code}
|
|
75
|
-
*/
|
|
76
|
-
get timezone(): Timezone;
|
|
77
|
-
set timezone(value: Timezone);
|
|
78
|
-
/**
|
|
79
|
-
* Preferred region/language for the UI and notifications.
|
|
80
|
-
* Valid formats use <ISO 639-1><dash><ISO 3166-2> such as "fr-CA" or "en-US".
|
|
81
|
-
*/
|
|
82
|
-
get language(): codified;
|
|
83
|
-
set language(value: codified);
|
|
84
|
-
/**
|
|
85
|
-
* The format strings defining the preferred way to display ambiguous values.
|
|
86
|
-
*/
|
|
87
|
-
get formats(): Map<codified, datetimetemplate>;
|
|
88
|
-
set formats(value: Map<codified, datetimetemplate>);
|
|
89
|
-
/**
|
|
90
|
-
* Preferred way of displaying ambiguous numbers in the context of measurements.
|
|
91
|
-
*/
|
|
92
|
-
get measurements(): Map<codified, SystemsOfUnits>;
|
|
93
|
-
set measurements(value: Map<codified, SystemsOfUnits>);
|
|
94
|
-
/**
|
|
95
|
-
* Additional options which do not fit in with the formats or measurements preferences.
|
|
96
|
-
*/
|
|
97
|
-
get options(): Map<codified, string>;
|
|
98
|
-
set options(value: Map<codified, string>);
|
|
99
|
-
/**
|
|
100
|
-
* Definition of how and when to send alerts to the user.
|
|
101
|
-
*/
|
|
102
|
-
get notify(): UserNotifications[];
|
|
103
|
-
set notify(value: UserNotifications[]);
|
|
104
|
-
/**
|
|
105
|
-
*
|
|
106
|
-
*/
|
|
107
|
-
get advanced(): UserAdvanced;
|
|
108
|
-
/**
|
|
109
|
-
* A list of groups to which this user belongs.
|
|
110
|
-
* {@link UserGroup.id}
|
|
111
|
-
*/
|
|
112
|
-
get groupIds(): ulong[];
|
|
113
|
-
set groupIds(value: ulong[]);
|
|
114
|
-
/**
|
|
115
|
-
* A list of groups to which this user belongs.
|
|
116
|
-
* {@link UserGroup.id}
|
|
117
|
-
*/
|
|
118
|
-
get groups(): UserGroup[];
|
|
119
|
-
set groups(value: UserGroup[]);
|
|
120
|
-
/**
|
|
121
|
-
* Individual permission rules which override the group rules.
|
|
122
|
-
*/
|
|
123
|
-
get permissions(): Permission[];
|
|
124
|
-
set permissions(value: Permission[]);
|
|
125
|
-
toJSON(): {
|
|
126
|
-
v: number[];
|
|
127
|
-
login: string;
|
|
128
|
-
company: number;
|
|
129
|
-
groups: number[];
|
|
130
|
-
permissions: any[];
|
|
131
|
-
nickname: string;
|
|
132
|
-
enabled: boolean;
|
|
133
|
-
contact: boolean;
|
|
134
|
-
passwordExpired: boolean;
|
|
135
|
-
timezone: string;
|
|
136
|
-
language: string;
|
|
137
|
-
formats: JsonObject;
|
|
138
|
-
measurements: JsonObject;
|
|
139
|
-
options: JsonObject;
|
|
140
|
-
notify: any[];
|
|
141
|
-
};
|
|
142
|
-
fromJSON(json: JsonObject, force?: boolean): boolean;
|
|
143
|
-
/**
|
|
144
|
-
* The {@link login} is the key.
|
|
145
|
-
*/
|
|
146
|
-
getKey(): string;
|
|
147
|
-
}
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
import { BaseComponent } from "../API/BaseComponent";
|
|
2
|
-
import { IBelongCompany } from "../API/Interfaces/IBelongCompany";
|
|
3
|
-
import { IHavePermissions } from "../API/Interfaces/IHavePermissions";
|
|
4
|
-
import { email, JsonObject, ulong } from "../API/Types";
|
|
5
|
-
import { Company } from "../Companies/Company";
|
|
6
|
-
import { Permission } from "./Permissions/Permission";
|
|
7
|
-
import { UserGroup } from "./UserGroup";
|
|
8
|
-
/**
|
|
9
|
-
* Permissions and group membership defined for a user.
|
|
10
|
-
*/
|
|
11
|
-
export declare class UserAdvanced extends BaseComponent implements IBelongCompany, IHavePermissions {
|
|
12
|
-
/**
|
|
13
|
-
* The unique public email address used to access the system.
|
|
14
|
-
* {@link User.login}
|
|
15
|
-
*/
|
|
16
|
-
login: email;
|
|
17
|
-
/**
|
|
18
|
-
* The company to which this user belongs.
|
|
19
|
-
* {@link Company.id}
|
|
20
|
-
*/
|
|
21
|
-
companyId: ulong;
|
|
22
|
-
/**
|
|
23
|
-
* The company to which this user belongs.
|
|
24
|
-
* {@link Company.id}
|
|
25
|
-
*/
|
|
26
|
-
get company(): Company;
|
|
27
|
-
/**
|
|
28
|
-
* A list of groups to which this user belongs.
|
|
29
|
-
* {@link UserGroup.id}
|
|
30
|
-
*/
|
|
31
|
-
groupIds: ulong[];
|
|
32
|
-
/**
|
|
33
|
-
* A list of groups to which this user belongs.
|
|
34
|
-
* {@link UserGroup.id}
|
|
35
|
-
*/
|
|
36
|
-
get groups(): UserGroup[];
|
|
37
|
-
set groups(value: UserGroup[]);
|
|
38
|
-
/**
|
|
39
|
-
* Individual permission rules which override the group rules.
|
|
40
|
-
*/
|
|
41
|
-
permissions: Permission[];
|
|
42
|
-
toJSON(): {
|
|
43
|
-
login: string;
|
|
44
|
-
v: number[];
|
|
45
|
-
company: number;
|
|
46
|
-
groups: number[];
|
|
47
|
-
permissions: any[];
|
|
48
|
-
};
|
|
49
|
-
fromJSON(json: JsonObject, force?: boolean): boolean;
|
|
50
|
-
/**
|
|
51
|
-
* The {@link login} is the key.
|
|
52
|
-
*/
|
|
53
|
-
getKey(): string;
|
|
54
|
-
}
|
|
@@ -1,100 +0,0 @@
|
|
|
1
|
-
import { BaseComponent } from "../API/BaseComponent";
|
|
2
|
-
import { IBelongCompany } from "../API/Interfaces/IBelongCompany";
|
|
3
|
-
import { IEnabled } from "../API/Interfaces/IEnabled";
|
|
4
|
-
import { IHavePreferences } from "../API/Interfaces/IHavePreferences";
|
|
5
|
-
import { Timezone } from "../API/Timezone";
|
|
6
|
-
import { JsonObject, codified, datetimetemplate, email, ulong } from "../API/Types";
|
|
7
|
-
import { Company } from "../Companies/Company";
|
|
8
|
-
import { Contact } from "./Contact";
|
|
9
|
-
import { SystemsOfUnits } from "./SystemsOfUnits";
|
|
10
|
-
import { UserNotifications } from "./UserNotifications";
|
|
11
|
-
/**
|
|
12
|
-
* Credentials, information, and preferences about a user.
|
|
13
|
-
*/
|
|
14
|
-
export declare class UserGeneral extends BaseComponent implements IEnabled, IBelongCompany, IHavePreferences {
|
|
15
|
-
/**
|
|
16
|
-
* The unique public email address used to access the system.
|
|
17
|
-
* {@link User.login}
|
|
18
|
-
*/
|
|
19
|
-
login: email;
|
|
20
|
-
/**
|
|
21
|
-
* The company to which this user belongs.
|
|
22
|
-
* {@link Company.id}
|
|
23
|
-
*/
|
|
24
|
-
companyId: ulong;
|
|
25
|
-
/**
|
|
26
|
-
* The company to which this user belongs.
|
|
27
|
-
* {@link Company}
|
|
28
|
-
*/
|
|
29
|
-
get company(): Company;
|
|
30
|
-
/**
|
|
31
|
-
* Indicated whether the credentials have expired according to the company's policy.
|
|
32
|
-
*/
|
|
33
|
-
passwordExpired: boolean;
|
|
34
|
-
/**
|
|
35
|
-
* Indicates whether system access is disabled.
|
|
36
|
-
*/
|
|
37
|
-
enabled: boolean;
|
|
38
|
-
/**
|
|
39
|
-
* Human friendly name for these credentials
|
|
40
|
-
*/
|
|
41
|
-
nickname: string;
|
|
42
|
-
/**
|
|
43
|
-
* Contact information for this user.
|
|
44
|
-
* {@link Contact.id}
|
|
45
|
-
*/
|
|
46
|
-
contactId: ulong;
|
|
47
|
-
/**
|
|
48
|
-
* Contact information for this user.
|
|
49
|
-
* {@link Contact.id}
|
|
50
|
-
*/
|
|
51
|
-
get contact(): Contact;
|
|
52
|
-
set contact(value: Contact);
|
|
53
|
-
/**
|
|
54
|
-
* The user's local timezone.
|
|
55
|
-
* {@link Timezone.code}
|
|
56
|
-
*/
|
|
57
|
-
timezone: Timezone;
|
|
58
|
-
/**
|
|
59
|
-
* Preferred region/language for the UI and notifications.
|
|
60
|
-
* Valid formats use <ISO 639-1><dash><ISO 3166-2> such as "fr-CA" or "en-US".
|
|
61
|
-
*/
|
|
62
|
-
language: codified;
|
|
63
|
-
/**
|
|
64
|
-
* The format strings defining the preferred way to display ambiguous values.
|
|
65
|
-
*/
|
|
66
|
-
formats: Map<codified, datetimetemplate>;
|
|
67
|
-
/**
|
|
68
|
-
* Preferred way of displaying ambiguous numbers in the context of measurements.
|
|
69
|
-
*/
|
|
70
|
-
measurements: Map<codified, SystemsOfUnits>;
|
|
71
|
-
/**
|
|
72
|
-
* Additional options which do not fit in with the formats or measurements preferences.
|
|
73
|
-
|
|
74
|
-
*/
|
|
75
|
-
options: Map<codified, string>;
|
|
76
|
-
/**
|
|
77
|
-
* Definition of how and when to send alerts to the user.
|
|
78
|
-
*/
|
|
79
|
-
notify: UserNotifications[];
|
|
80
|
-
toJSON(): {
|
|
81
|
-
login: string;
|
|
82
|
-
v: number[];
|
|
83
|
-
company: number;
|
|
84
|
-
nickname: string;
|
|
85
|
-
enabled: boolean;
|
|
86
|
-
contact: boolean;
|
|
87
|
-
passwordExpired: boolean;
|
|
88
|
-
timezone: string;
|
|
89
|
-
language: string;
|
|
90
|
-
formats: JsonObject;
|
|
91
|
-
measurements: JsonObject;
|
|
92
|
-
options: JsonObject;
|
|
93
|
-
notify: any[];
|
|
94
|
-
};
|
|
95
|
-
fromJSON(json: JsonObject, force?: boolean): boolean;
|
|
96
|
-
/**
|
|
97
|
-
* The {@link login} is the key.
|
|
98
|
-
*/
|
|
99
|
-
getKey(): string;
|
|
100
|
-
}
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
import { BaseComponent } from "../API/BaseComponent";
|
|
2
|
-
import { IBelongCompany } from "../API/Interfaces/IBelongCompany";
|
|
3
|
-
import { IIdUlong } from "../API/Interfaces/IIdUlong";
|
|
4
|
-
import { INamed } from "../API/Interfaces/INamed";
|
|
5
|
-
import { JsonObject, ulong } from "../API/Types";
|
|
6
|
-
import { Company } from "../Companies/Company";
|
|
7
|
-
import { Permission } from "./Permissions/Permission";
|
|
8
|
-
/**
|
|
9
|
-
* Members of a group (as set by a {@link User}'s {@link UserAdvanced.groups} or {@link Machine}'s {@link Machine.groups})
|
|
10
|
-
* allow for easy administration of permissions and levels of access.
|
|
11
|
-
*/
|
|
12
|
-
export declare class UserGroup extends BaseComponent implements IIdUlong, INamed, IBelongCompany {
|
|
13
|
-
/**
|
|
14
|
-
* Unique identifier of this group.
|
|
15
|
-
*/
|
|
16
|
-
id: ulong;
|
|
17
|
-
/**
|
|
18
|
-
* The company to which this group belongs.
|
|
19
|
-
* {@link Company.id}
|
|
20
|
-
*/
|
|
21
|
-
companyId: ulong;
|
|
22
|
-
/**
|
|
23
|
-
* The company to which this group belongs.
|
|
24
|
-
* {@link Company.id}
|
|
25
|
-
*/
|
|
26
|
-
get company(): Company;
|
|
27
|
-
/**
|
|
28
|
-
* A name given to this group.
|
|
29
|
-
*/
|
|
30
|
-
name: string;
|
|
31
|
-
/**
|
|
32
|
-
* Notes about this group, and to whom this group should be applied.
|
|
33
|
-
*/
|
|
34
|
-
notes: string;
|
|
35
|
-
/**
|
|
36
|
-
* Permissions for this group.
|
|
37
|
-
*/
|
|
38
|
-
permissions: Permission[];
|
|
39
|
-
toJSON(): {
|
|
40
|
-
id: number;
|
|
41
|
-
v: number[];
|
|
42
|
-
company: number;
|
|
43
|
-
name: string;
|
|
44
|
-
notes: string;
|
|
45
|
-
permissions: any[];
|
|
46
|
-
};
|
|
47
|
-
fromJSON(json: JsonObject, force?: boolean): boolean;
|
|
48
|
-
/**
|
|
49
|
-
* The {@link id} is the key.
|
|
50
|
-
*/
|
|
51
|
-
getKey(): number;
|
|
52
|
-
}
|