@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,109 +0,0 @@
|
|
|
1
|
-
import { nothing, timespan } from "./Types";
|
|
2
|
-
/**
|
|
3
|
-
* An object which represents an interval of time.
|
|
4
|
-
*/
|
|
5
|
-
export declare class TimeSpan {
|
|
6
|
-
#private;
|
|
7
|
-
/**
|
|
8
|
-
* Constructs a new TimeSpan with the value specified in days.
|
|
9
|
-
*/
|
|
10
|
-
static fromDays(value: number): TimeSpan;
|
|
11
|
-
/**
|
|
12
|
-
* Constructs a new TimeSpan with the value specified in hours.
|
|
13
|
-
*/
|
|
14
|
-
static fromHours(value: number): TimeSpan;
|
|
15
|
-
/**
|
|
16
|
-
* Constructs a new TimeSpan with the value specified in minutes.
|
|
17
|
-
*/
|
|
18
|
-
static fromMinutes(value: number): TimeSpan;
|
|
19
|
-
/**
|
|
20
|
-
* Constructs a new TimeSpan with the value specified in seconds.
|
|
21
|
-
*/
|
|
22
|
-
static fromSeconds(value: number): TimeSpan;
|
|
23
|
-
/**
|
|
24
|
-
* Constructs a new TimeSpan with the value specified in milliseconds.
|
|
25
|
-
*/
|
|
26
|
-
static fromMilliseconds(value: number): TimeSpan;
|
|
27
|
-
/**
|
|
28
|
-
* @param duration A time-span formatted string, or a number representing milliseconds
|
|
29
|
-
*/
|
|
30
|
-
constructor(duration?: TimeSpan | timespan | number | nothing);
|
|
31
|
-
/**
|
|
32
|
-
* Days component of the time-span.
|
|
33
|
-
*/
|
|
34
|
-
get days(): number;
|
|
35
|
-
/**
|
|
36
|
-
* Hours component of the time-span.
|
|
37
|
-
*/
|
|
38
|
-
get hours(): number;
|
|
39
|
-
/**
|
|
40
|
-
* Minutes component of the time-span.
|
|
41
|
-
*/
|
|
42
|
-
get minutes(): number;
|
|
43
|
-
/**
|
|
44
|
-
* Seconds component of the time-span.
|
|
45
|
-
*/
|
|
46
|
-
get seconds(): number;
|
|
47
|
-
/**
|
|
48
|
-
* Millisecond component of the time-span.
|
|
49
|
-
*/
|
|
50
|
-
get milliseconds(): number;
|
|
51
|
-
/**
|
|
52
|
-
* Total time-span value in decimal days.
|
|
53
|
-
*/
|
|
54
|
-
get totalDays(): number;
|
|
55
|
-
/**
|
|
56
|
-
* Total time-span value in decimal hours.
|
|
57
|
-
*/
|
|
58
|
-
get totalHours(): number;
|
|
59
|
-
/**
|
|
60
|
-
* Total time-span value in decimal minutes.
|
|
61
|
-
*/
|
|
62
|
-
get totalMinutes(): number;
|
|
63
|
-
/**
|
|
64
|
-
* Total time-span value in decimal seconds.
|
|
65
|
-
*/
|
|
66
|
-
get totalSeconds(): number;
|
|
67
|
-
/**
|
|
68
|
-
* Total time-span value in milliseconds.
|
|
69
|
-
*/
|
|
70
|
-
get totalMilliseconds(): number;
|
|
71
|
-
/**
|
|
72
|
-
* Parses the time-span into a serialized TimeSpan string.
|
|
73
|
-
* The format follows the {@link timespan} definition.
|
|
74
|
-
* @param format Use format strings like "HH:mm" for just hours and minutes. Valid flags are d, h, H, m, s, and f. If you use
|
|
75
|
-
*/
|
|
76
|
-
toString(format?: timespan): timespan;
|
|
77
|
-
/**
|
|
78
|
-
* Same as {@link TimeSpan#toString}.
|
|
79
|
-
*/
|
|
80
|
-
toJSON: (format?: timespan) => timespan;
|
|
81
|
-
/**
|
|
82
|
-
* Gets the comparable value of this time-span as total milliseconds.
|
|
83
|
-
*/
|
|
84
|
-
valueOf(): number;
|
|
85
|
-
/**
|
|
86
|
-
* Adds the given value to the current time-span.
|
|
87
|
-
* @param duration A time-span formatted string, or a number representing milliseconds
|
|
88
|
-
* @param subtract When true, the value is subtracted from the time-span instead of added.
|
|
89
|
-
*/
|
|
90
|
-
add(duration: TimeSpan | timespan | number, subtract?: boolean): number;
|
|
91
|
-
/**
|
|
92
|
-
* Subtracts the given value from the time-span.
|
|
93
|
-
* @param duration A time-span formatted string, or a number representing milliseconds
|
|
94
|
-
* @param add When true, the value is added from the time-span instead of subtracted.
|
|
95
|
-
*/
|
|
96
|
-
subtract(duration: TimeSpan | timespan | number, add?: boolean): number;
|
|
97
|
-
}
|
|
98
|
-
/**
|
|
99
|
-
* Parses a serialized TimeSpan into a number representing the total seconds.
|
|
100
|
-
* For example the string "1.07:42:03.467" equals 114123.467, which is 1 day, 7 hours, 42 minutes, 3 seconds, and 467 milliseconds.
|
|
101
|
-
* @param duration A valid timespan string. The format is [-]( d | [d.]hh:mm[:ss[.fff]] )
|
|
102
|
-
*/
|
|
103
|
-
export declare function TIMESPAN_PARSE(duration: TimeSpan | timespan | number): number;
|
|
104
|
-
/**
|
|
105
|
-
* Parses a number representing the total seconds into a serialized TimeSpan string.
|
|
106
|
-
* For example the number 114123.467 would be serialized as "1.07:42:03.467".
|
|
107
|
-
* @param value Use a decimal to show milliseconds.
|
|
108
|
-
*/
|
|
109
|
-
export declare function TIMESPAN_STRINGIFY(value: number): timespan;
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import { IRequestable } from "./Interfaces/IRequestable";
|
|
2
|
-
import { ISerializable } from "./Interfaces/ISerializable";
|
|
3
|
-
import { short, JsonObject } from "./Types";
|
|
4
|
-
/**
|
|
5
|
-
* Timezone definition
|
|
6
|
-
*/
|
|
7
|
-
export declare class Timezone implements IRequestable, ISerializable {
|
|
8
|
-
/**
|
|
9
|
-
*
|
|
10
|
-
* @param json
|
|
11
|
-
*/
|
|
12
|
-
static fromJSON(json: JsonObject): Timezone;
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
*/
|
|
16
|
-
static utc: Timezone;
|
|
17
|
-
/**
|
|
18
|
-
* Unique timezone code
|
|
19
|
-
*/
|
|
20
|
-
code: string;
|
|
21
|
-
/**
|
|
22
|
-
* Common timezone name
|
|
23
|
-
*/
|
|
24
|
-
name: string;
|
|
25
|
-
/**
|
|
26
|
-
* Minutes offset from GMT
|
|
27
|
-
*/
|
|
28
|
-
offset: short;
|
|
29
|
-
/**
|
|
30
|
-
* Indicates whether this timezone abides by daylight savings
|
|
31
|
-
*/
|
|
32
|
-
dst: boolean;
|
|
33
|
-
constructor(code: string, name?: string, offset?: short, dst?: boolean);
|
|
34
|
-
toJSON(): {
|
|
35
|
-
code: string;
|
|
36
|
-
name: string;
|
|
37
|
-
offset: number;
|
|
38
|
-
dst: boolean;
|
|
39
|
-
};
|
|
40
|
-
/**
|
|
41
|
-
* The {@link code} is the key.
|
|
42
|
-
*/
|
|
43
|
-
getKey(): string;
|
|
44
|
-
}
|
package/_publish/API/Types.d.ts
DELETED
|
@@ -1,132 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Represents the absence of a value.
|
|
3
|
-
**/
|
|
4
|
-
export type nothing = undefined | null;
|
|
5
|
-
/**
|
|
6
|
-
* 8bit integer
|
|
7
|
-
* @example minimum value (-128) to maximum value (127)
|
|
8
|
-
**/
|
|
9
|
-
export type sbyte = number;
|
|
10
|
-
/**
|
|
11
|
-
* 16bit integer
|
|
12
|
-
* @example minimum value (-32768) to maximum value (32767)
|
|
13
|
-
**/
|
|
14
|
-
export type short = number;
|
|
15
|
-
/**
|
|
16
|
-
* 32bit integer
|
|
17
|
-
* @example minimum value (-2147483648) to maximum value (2147483647)
|
|
18
|
-
**/
|
|
19
|
-
export type int = number;
|
|
20
|
-
/**
|
|
21
|
-
* 64bit integer
|
|
22
|
-
* @example minimum value (-9223372036854775808) to maximum value (9223372036854775807)
|
|
23
|
-
**/
|
|
24
|
-
export type long = number;
|
|
25
|
-
/**
|
|
26
|
-
* 8bit unsigned integer
|
|
27
|
-
* @example minimum value (0) to maximum value (255)
|
|
28
|
-
**/
|
|
29
|
-
export type byte = number;
|
|
30
|
-
/**
|
|
31
|
-
* 16bit unsigned integer
|
|
32
|
-
* @example minimum value (0) to maximum value (65535)
|
|
33
|
-
**/
|
|
34
|
-
export type ushort = number;
|
|
35
|
-
/**
|
|
36
|
-
* 32bit unsigned integer
|
|
37
|
-
* @example minimum value (0) to maximum value (4294967295)
|
|
38
|
-
**/
|
|
39
|
-
export type uint = number;
|
|
40
|
-
/**
|
|
41
|
-
* 64bit unsigned integer
|
|
42
|
-
* @example minimum value (0) to maximum value (18446744073709551615)
|
|
43
|
-
**/
|
|
44
|
-
export type ulong = number;
|
|
45
|
-
/**
|
|
46
|
-
* Single-precision floating point number
|
|
47
|
-
* @example minimum value (-3.40282347E+38F) to maximum value (3.40282347E+38F)
|
|
48
|
-
**/
|
|
49
|
-
export type single = number;
|
|
50
|
-
/**
|
|
51
|
-
* Double-precision floating point number
|
|
52
|
-
* @example minimum value (-1.7976931348623157e+308) to maximum value (1.7976931348623157e+308)
|
|
53
|
-
**/
|
|
54
|
-
export type double = number;
|
|
55
|
-
/**
|
|
56
|
-
* A phone number for a phone in Canada or the United States of America. All phone numbers start with a 1 and are eleven digits long.
|
|
57
|
-
* @example "[1]AAALLLSSSS"
|
|
58
|
-
**/
|
|
59
|
-
export type phone = number;
|
|
60
|
-
/**
|
|
61
|
-
* A lower-case string with all the apostrophes and quotation marks [`"`, `'`, ```, `“`, and `”`] removed, and all non-alphanumeric character sequences replaced with a single minus sign. Diacritics such as `®`, `é`, and `ç` are also replaced with their alhpabetic equivalents (`r`, `e`, and `c`).
|
|
62
|
-
**/
|
|
63
|
-
export type codified = string;
|
|
64
|
-
/**
|
|
65
|
-
* A string that contains only a valid CSS colour.
|
|
66
|
-
* More: {@link https://developer.mozilla.org/en-US/docs/Web/CSS/color_value}
|
|
67
|
-
**/
|
|
68
|
-
export type colour = string;
|
|
69
|
-
/**
|
|
70
|
-
* A serialized-string representation of a date and time in ISO-8601 format. Square brackets `[]` are used to show optional format information. All other non-alphabetic characters are required.
|
|
71
|
-
* @example "yyyy-MM-ddTHH:mm:ss[.fff]Z"
|
|
72
|
-
**/
|
|
73
|
-
export type datetime = string;
|
|
74
|
-
/**
|
|
75
|
-
* These formats define the text representation of dates and times.
|
|
76
|
-
**/
|
|
77
|
-
export type datetimetemplate = string;
|
|
78
|
-
/**
|
|
79
|
-
* An email address identifies a mailbox to which messages are delivered. We follow the `RFC 2822` pattern for addresses.
|
|
80
|
-
* More: {@link https://tools.ietf.org/html/rfc2822}
|
|
81
|
-
* @example "user@domain.tld"
|
|
82
|
-
**/
|
|
83
|
-
export type email = string;
|
|
84
|
-
/**
|
|
85
|
-
* A targeting pattern is a string that represents an in-the-moment search for objects. The operators used depend entirely on the context of the search, and compatibility with the sub-system.
|
|
86
|
-
* More: {@link https://fleetfreedom.freshdesk.com/en/support/solutions/articles/3000061325-advanced-search-options}
|
|
87
|
-
* @example "operator:terms terms"
|
|
88
|
-
**/
|
|
89
|
-
export type expression = string;
|
|
90
|
-
/**
|
|
91
|
-
* Globally/Universally Unique Identifier. It is a 36 character long string made up of letters, numbers, and dashes. The letters can be transmitted as upper-case, lower-case, or a combination.
|
|
92
|
-
* More: {@link https://docs.microsoft.com/en-us/dotnet/api/system.guid?view=net-5.0}
|
|
93
|
-
* @example "xxxxxxxx-xxxx-4xxx-xxxx-xxxxxxxxxxxx"
|
|
94
|
-
**/
|
|
95
|
-
export type guid = string;
|
|
96
|
-
/**
|
|
97
|
-
* A serialized-string representation of an IPv4 Address. Square brackets `[]` are used to show optional format information. All other non-alphabetic characters are required.
|
|
98
|
-
* @example "n.n.n.n[/r]"
|
|
99
|
-
**/
|
|
100
|
-
export type ipv4 = string;
|
|
101
|
-
/**
|
|
102
|
-
* The algorithm is a lossy compression that stores a series of coordinates as a single string. All coordinates are rounded to six decimal places before encoding, but this should be accurate to within roughly one and a half meters.
|
|
103
|
-
* More: {@link https://developers.google.com/maps/documentation/utilities/polylinealgorithm}
|
|
104
|
-
**/
|
|
105
|
-
export type polyline = string;
|
|
106
|
-
/**
|
|
107
|
-
* A serialized-string representation of a duration of time. There are two possible formats when using a duration string. Square brackets `[]` are used to show optional format information. All other non-alphabetic characters are required.
|
|
108
|
-
* @example "[-][d.]H:mm[:ss[.fff]]"
|
|
109
|
-
* @example "[-]d"
|
|
110
|
-
**/
|
|
111
|
-
export type timespan = string;
|
|
112
|
-
/**
|
|
113
|
-
* Most commonly a website address, but can also be any other type of locator like `ssh:`. We follow the `RFC 1738` pattern for addresses.
|
|
114
|
-
* More: {@link https://tools.ietf.org/html/rfc1738}
|
|
115
|
-
* @example "http[s]://domain.tld/path?query#fragment"
|
|
116
|
-
* @example "protocol:path?query"
|
|
117
|
-
**/
|
|
118
|
-
export type url = string;
|
|
119
|
-
/**
|
|
120
|
-
* A JSON object is an unordered collection of key/value pairs.
|
|
121
|
-
*/
|
|
122
|
-
export type JsonObject = {
|
|
123
|
-
[key: string]: JsonValue;
|
|
124
|
-
};
|
|
125
|
-
/**
|
|
126
|
-
* An array of any valid JSON value.
|
|
127
|
-
*/
|
|
128
|
-
export type JsonArray = JsonValue[];
|
|
129
|
-
/**
|
|
130
|
-
* Any valid JSON value.
|
|
131
|
-
*/
|
|
132
|
-
export type JsonValue = null | boolean | number | string | JsonArray | JsonObject;
|
|
@@ -1,140 +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 { IPictured } from "../API/Interfaces/IPictured";
|
|
6
|
-
import { codified, email, JsonObject, phone, ulong, url } from "../API/Types";
|
|
7
|
-
import { Company } from "../Companies/Company";
|
|
8
|
-
import { Picture } from "../Images/Picture";
|
|
9
|
-
/**
|
|
10
|
-
* Contact information.
|
|
11
|
-
*/
|
|
12
|
-
export declare class Contact extends BaseComponent implements IIdUlong, INamed, IBelongCompany, IPictured {
|
|
13
|
-
/**
|
|
14
|
-
* Unique identifier of this contact.
|
|
15
|
-
*/
|
|
16
|
-
id: ulong;
|
|
17
|
-
/**
|
|
18
|
-
* The company to which this contact belongs
|
|
19
|
-
* {@link Company.id}
|
|
20
|
-
*/
|
|
21
|
-
companyId: ulong;
|
|
22
|
-
/**
|
|
23
|
-
* The company to which this contact belongs
|
|
24
|
-
* {@link Company.id}
|
|
25
|
-
*/
|
|
26
|
-
get company(): Company;
|
|
27
|
-
/**
|
|
28
|
-
* The person's name
|
|
29
|
-
*/
|
|
30
|
-
name: string;
|
|
31
|
-
/**
|
|
32
|
-
* Notes about this person.
|
|
33
|
-
*/
|
|
34
|
-
notes: string;
|
|
35
|
-
/**
|
|
36
|
-
* A collection of other names this person might go by.
|
|
37
|
-
* Use the object key like a name identifier.
|
|
38
|
-
* Example keys: Initials, Nickname, Maiden Name, etc.
|
|
39
|
-
*/
|
|
40
|
-
otherNames: Map<string, string>;
|
|
41
|
-
/**
|
|
42
|
-
* Email addresses.
|
|
43
|
-
* Use the object key like a name of the address.
|
|
44
|
-
* Example keys: Home, Work, Support, Old, etc.
|
|
45
|
-
*/
|
|
46
|
-
emails: Map<string, email>;
|
|
47
|
-
/**
|
|
48
|
-
* Phone numbers.
|
|
49
|
-
* Use the object key like a name of the phone number.
|
|
50
|
-
* Example keys: Mobile, Fax, Home, Office, etc.
|
|
51
|
-
*/
|
|
52
|
-
phones: Map<string, phone>;
|
|
53
|
-
/**
|
|
54
|
-
* Mailing addresses.
|
|
55
|
-
* Use the object key like a name of the address.
|
|
56
|
-
* Example keys: Home, Work, Park, etc.
|
|
57
|
-
*/
|
|
58
|
-
addresses: Map<string, string>;
|
|
59
|
-
/**
|
|
60
|
-
* Websites and other online resources.
|
|
61
|
-
* Use the object key like a name of the address.
|
|
62
|
-
* Example keys: Downloads, Support, FTP, etc.
|
|
63
|
-
*/
|
|
64
|
-
urls: Map<string, url>;
|
|
65
|
-
/**
|
|
66
|
-
* Date information.
|
|
67
|
-
* Use the object key like a name of the date.
|
|
68
|
-
* Example keys: Birthday, Started Date, Retired On, etc.
|
|
69
|
-
*/
|
|
70
|
-
dates: Map<string, Date>;
|
|
71
|
-
/**
|
|
72
|
-
* Uncategorized information.
|
|
73
|
-
* Use the object keys and values however you'd like.
|
|
74
|
-
*/
|
|
75
|
-
options: Map<string, string>;
|
|
76
|
-
/**
|
|
77
|
-
* A list of roles they play in the Company.
|
|
78
|
-
*/
|
|
79
|
-
roles: codified[];
|
|
80
|
-
/**
|
|
81
|
-
* {@link Picture.id}s of this Contact.
|
|
82
|
-
*/
|
|
83
|
-
pictureIds: ulong[];
|
|
84
|
-
/**
|
|
85
|
-
* {@link Picture}s of this Contact.
|
|
86
|
-
*/
|
|
87
|
-
get pictures(): Picture[];
|
|
88
|
-
set pictures(values: Picture[]);
|
|
89
|
-
/**
|
|
90
|
-
* Primary email address.
|
|
91
|
-
*/
|
|
92
|
-
get email(): email;
|
|
93
|
-
set email(value: email);
|
|
94
|
-
/**
|
|
95
|
-
* A cellular phone number.
|
|
96
|
-
*/
|
|
97
|
-
get mobile(): phone;
|
|
98
|
-
set mobile(value: phone);
|
|
99
|
-
/**
|
|
100
|
-
* A workplace landline phone number.
|
|
101
|
-
*/
|
|
102
|
-
get office(): phone;
|
|
103
|
-
set office(value: phone);
|
|
104
|
-
/**
|
|
105
|
-
* Why can't we get rid of these damn machines?
|
|
106
|
-
*/
|
|
107
|
-
get fax(): phone;
|
|
108
|
-
set fax(value: phone);
|
|
109
|
-
/**
|
|
110
|
-
* Primary email address.
|
|
111
|
-
*/
|
|
112
|
-
get address(): string;
|
|
113
|
-
set address(value: string);
|
|
114
|
-
/**
|
|
115
|
-
* Website.
|
|
116
|
-
*/
|
|
117
|
-
get url(): url;
|
|
118
|
-
set url(value: url);
|
|
119
|
-
toJSON(): {
|
|
120
|
-
id: number | null;
|
|
121
|
-
v: number[];
|
|
122
|
-
company: number;
|
|
123
|
-
name: string;
|
|
124
|
-
notes: string;
|
|
125
|
-
otherNames: JsonObject;
|
|
126
|
-
emails: JsonObject;
|
|
127
|
-
phones: JsonObject;
|
|
128
|
-
addresses: JsonObject;
|
|
129
|
-
urls: JsonObject;
|
|
130
|
-
dates: JsonObject;
|
|
131
|
-
options: JsonObject;
|
|
132
|
-
roles: string[];
|
|
133
|
-
pictures: number[];
|
|
134
|
-
};
|
|
135
|
-
fromJSON(json: JsonObject, force?: boolean): boolean;
|
|
136
|
-
/**
|
|
137
|
-
* The {@link id} is the key.
|
|
138
|
-
*/
|
|
139
|
-
getKey(): number;
|
|
140
|
-
}
|
|
@@ -1,139 +0,0 @@
|
|
|
1
|
-
import { BaseComponent } from '../API/BaseComponent';
|
|
2
|
-
import { IBelongCompany } from '../API/Interfaces/IBelongCompany';
|
|
3
|
-
import { IEnabled } from '../API/Interfaces/IEnabled';
|
|
4
|
-
import { IHavePermissions } from '../API/Interfaces/IHavePermissions';
|
|
5
|
-
import { IHavePreferences } from '../API/Interfaces/IHavePreferences';
|
|
6
|
-
import { Timezone } from '../API/Timezone';
|
|
7
|
-
import { codified, ipv4, JsonObject, ulong, url } from '../API/Types';
|
|
8
|
-
import { Company } from '../Companies/Company';
|
|
9
|
-
import { Permission } from './Permissions/Permission';
|
|
10
|
-
import { SystemsOfUnits } from './SystemsOfUnits';
|
|
11
|
-
import { UserGroup } from './UserGroup';
|
|
12
|
-
/**
|
|
13
|
-
* A service account that allowes for API access of system services.
|
|
14
|
-
*/
|
|
15
|
-
export declare class Machine extends BaseComponent implements IEnabled, IBelongCompany, IHavePreferences, IHavePermissions {
|
|
16
|
-
/**
|
|
17
|
-
* The unique idenifier used to access the system.
|
|
18
|
-
*/
|
|
19
|
-
key: string;
|
|
20
|
-
/**
|
|
21
|
-
* The company to which this user belongs.
|
|
22
|
-
*/
|
|
23
|
-
companyId: ulong;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
*/
|
|
27
|
-
get company(): Company;
|
|
28
|
-
/**
|
|
29
|
-
* Indicates whether system access is disable.
|
|
30
|
-
*/
|
|
31
|
-
enabled: boolean;
|
|
32
|
-
/**
|
|
33
|
-
* A token used to encode or validate requests.
|
|
34
|
-
*/
|
|
35
|
-
secret: string;
|
|
36
|
-
/**
|
|
37
|
-
* Human friendly name for these credentials
|
|
38
|
-
*/
|
|
39
|
-
nickname: string;
|
|
40
|
-
/**
|
|
41
|
-
* Notes about this machine.
|
|
42
|
-
*/
|
|
43
|
-
notes: string;
|
|
44
|
-
/**
|
|
45
|
-
* An optional timestamp that restricts this machine account from being used before the given date.
|
|
46
|
-
*/
|
|
47
|
-
notBefore: Date;
|
|
48
|
-
/**
|
|
49
|
-
* An optional timestamp that restricts this machine account from being used after the given date.
|
|
50
|
-
*/
|
|
51
|
-
notAfter: Date;
|
|
52
|
-
/**
|
|
53
|
-
* The service account's local timezone.
|
|
54
|
-
*/
|
|
55
|
-
timezone: Timezone;
|
|
56
|
-
/**
|
|
57
|
-
* Preferred region/language for the UI and notifications.
|
|
58
|
-
* Valid formats use <ISO 639-1><dash><ISO 3166-2> such as "fr-CA" or "en-US".
|
|
59
|
-
*/
|
|
60
|
-
language: string;
|
|
61
|
-
/**
|
|
62
|
-
* The format strings defining the preferred way to display ambiguous values.
|
|
63
|
-
*/
|
|
64
|
-
formats: Map<codified, string>;
|
|
65
|
-
/**
|
|
66
|
-
* Preferred way of displaying ambiguous numbers in the context of measurements.
|
|
67
|
-
*/
|
|
68
|
-
measurements: Map<string, SystemsOfUnits>;
|
|
69
|
-
/**
|
|
70
|
-
* Additional options which do not fit in with the formats or measurements preferences.
|
|
71
|
-
*/
|
|
72
|
-
options: Map<string, string>;
|
|
73
|
-
/**
|
|
74
|
-
* A list of groups to which this machine account belongs.
|
|
75
|
-
*/
|
|
76
|
-
groupIds: ulong[];
|
|
77
|
-
/**
|
|
78
|
-
* A list of groups to which this machine account belongs.
|
|
79
|
-
*/
|
|
80
|
-
get groups(): UserGroup[];
|
|
81
|
-
set groups(value: UserGroup[]);
|
|
82
|
-
/**
|
|
83
|
-
* Permission rules which override the group rules.
|
|
84
|
-
*/
|
|
85
|
-
permissions: Permission[];
|
|
86
|
-
/**
|
|
87
|
-
* List of system service URIs that this machine account is permitted to access.
|
|
88
|
-
*/
|
|
89
|
-
services: url[];
|
|
90
|
-
/**
|
|
91
|
-
* Optional list of your managed domains from which this machine account can be used.
|
|
92
|
-
*/
|
|
93
|
-
referrers: url[];
|
|
94
|
-
/**
|
|
95
|
-
* Restrict service access to only the provided IP ranges.
|
|
96
|
-
* Currently we only support IPv4 ranges using CIDR slash-notation.
|
|
97
|
-
*/
|
|
98
|
-
ipRanges: ipv4[];
|
|
99
|
-
/**
|
|
100
|
-
* Restrict service access to only the provided IP ranges.
|
|
101
|
-
* Currently we only support IPv4 ranges
|
|
102
|
-
* When true, no access restrictions ({@link secret}, {@link referrers}, or {@link ipRanges}) are enforced.
|
|
103
|
-
*/
|
|
104
|
-
insecure: boolean;
|
|
105
|
-
toJSON(): {
|
|
106
|
-
key: string;
|
|
107
|
-
v: number[];
|
|
108
|
-
company: number;
|
|
109
|
-
nickname: string;
|
|
110
|
-
notes: string;
|
|
111
|
-
enabled: boolean;
|
|
112
|
-
notBefore: string | null;
|
|
113
|
-
notAfter: string | null;
|
|
114
|
-
timezone: string;
|
|
115
|
-
language: string;
|
|
116
|
-
formats: JsonObject;
|
|
117
|
-
measurements: JsonObject;
|
|
118
|
-
options: JsonObject;
|
|
119
|
-
groups: number[];
|
|
120
|
-
permissions: any[];
|
|
121
|
-
services: string[];
|
|
122
|
-
referrers: string[];
|
|
123
|
-
ipRanges: string[];
|
|
124
|
-
insecure: boolean;
|
|
125
|
-
};
|
|
126
|
-
fromJSON(json: JsonObject, force?: boolean): boolean;
|
|
127
|
-
/**
|
|
128
|
-
* The {@link key} is the key (how about that).
|
|
129
|
-
*/
|
|
130
|
-
getKey(): string;
|
|
131
|
-
/**
|
|
132
|
-
* Creates an HMAC256 signed input for use in requests.
|
|
133
|
-
* @param absoluteUri URL of the request.
|
|
134
|
-
* @param method HTTP verb of the request.
|
|
135
|
-
* @param contentLength Content length of the request.
|
|
136
|
-
* @param date Timestamp for when the request is created.
|
|
137
|
-
*/
|
|
138
|
-
createHmacSignature(absoluteUri: URL | string, method?: string, contentLength?: number, date?: Date): Promise<string>;
|
|
139
|
-
}
|