Skip to main content

API Constants

APPLICATION

NameTypeValueComment
APPLICATION_VERSIONstring"22.9.9"
APPLICATION_VERSION_MAJORint22
APPLICATION_VERSION_MINORint9
APPLICATION_VERSION_REVISIONint9

BACKUPJOBAUTORETENTION

NameTypeValueComment
BACKUPJOBAUTORETENTION_AUTOMATICint0AutoRetentionLevel: The system will automatically choose how often to run an automatic Retention Pass after each backup
BACKUPJOBAUTORETENTION_IMMEDIATEint1AutoRetentionLevel: The system will run a Retention Pass after every single backup This is more system-intensive, but is the most responsive at freeing storage
BACKUPJOBAUTORETENTION_MORE_OFTENint2AutoRetentionLevel: The system will follow the automatic ruleset for a 'High Power'
BACKUPJOBAUTORETENTION_LESS_OFTENint3AutoRetentionLevel: The system will follow the automatic ruleset for a 'Low Power'

CLIENTBRANDINGBUILD

NameTypeValueComment
CLIENTBRANDINGBUILD_CUSTOMint0ClientBrandingBuildMode: Public-Doc: The software client will be custom-built by this Comet Server, allowing custom branding, default server URL, and
CLIENTBRANDINGBUILD_PREBUILTint1ClientBrandingBuildMode: Public-Doc: A pre-built software client will be served, with Comet-branding, no server URL, and Comet

COMPRESS

NameTypeValueComment
COMPRESS_INVALIDint0CompressMode
COMPRESS_LVL_1int1CompressMode
COMPRESS_LVL_2int2CompressMode
COMPRESS_LVL_3int3CompressMode
COMPRESS_LVL_4int4CompressMode
COMPRESS_LVL_5int5CompressMode
COMPRESS_MAXintCOMPRESS_LVL_5CompressMode
COMPRESS_DEFAULTintCOMPRESS_LVL_4CompressMode

DEFAULT

NameTypeValueComment
DEFAULT_LANGUAGEstring"en_US"LanguageCode
DEFAULT_TIMEZONEstring"UTC"

DESTINATION

NameTypeValueComment
DESTINATION_SFTP_AUTHMODE_NATIVEint0SftpAuthMode
DESTINATION_SFTP_AUTHMODE_PASSWORDint1SftpAuthMode
DESTINATION_SFTP_AUTHMODE_PRIVATEKEYint2SftpAuthMode

DESTINATIONTYPE

NameTypeValueComment
DESTINATIONTYPE___INVALIDint0
DESTINATIONTYPE_S3int1000
DESTINATIONTYPE_SFTPint1001
DESTINATIONTYPE_LOCALCOPYint1002
DESTINATIONTYPE_COMETint1003
DESTINATIONTYPE_FTPint1004
DESTINATIONTYPE_AZUREBLOBint1005
DESTINATIONTYPE_SPANNEDint1006
DESTINATIONTYPE_SWIFTint1007
DESTINATIONTYPE_B2int1008
DESTINATIONTYPE_STORJint1009
DESTINATIONTYPE_LATESTint1100
DESTINATIONTYPE_ALLint1101

EMAIL

NameTypeValueComment
EMAIL_WORKER_STATE_NOT_STARTEDint0
EMAIL_WORKER_STATE_STARTEDint1
EMAIL_WORKER_STATE_CALCULATINGint2
EMAIL_WORKER_STATE_WAITINGint3
EMAIL_WORKER_STATE_SENDINGint4
EMAIL_DELIVERY_NONEstring""EmailDeliveryType
EMAIL_DELIVERY_MX_DIRECTstring"builtin"EmailDeliveryType
EMAIL_DELIVERY_SMTPstring"smtp"EmailDeliveryType
EMAIL_DELIVERY_SMTP_SSLstring"smtp-ssl"EmailDeliveryType
EMAIL_DELIVERY_BUILTINstringEMAIL_DELIVERY_MX_DIRECTEmailDeliveryType: Legacy alias

EMAILREPORTTYPE

NameTypeValueComment
EMAILREPORTTYPE_IMMEDIATEint0EmailReportType
EMAILREPORTTYPE_SUMMARYint1EmailReportType

ENCRYPTIONMETHOD

NameTypeValueComment
ENCRYPTIONMETHOD_UNCONFIGUREDint0

ENGINE

NameTypeValueComment
ENGINE_BUILTIN_FILEstring"engine1/file"
ENGINE_BUILTIN_STDOUTstring"engine1/stdout"
ENGINE_BUILTIN_MYSQLstring"engine1/mysql"
ENGINE_BUILTIN_SYSTEMSTATEstring"engine1/systemstate"
ENGINE_BUILTIN_MSSQLstring"engine1/mssql"
ENGINE_BUILTIN_WINDOWSSYSTEMstring"engine1/windowssystem"
ENGINE_BUILTIN_EXCHANGEEDBstring"engine1/exchangeedb"
ENGINE_BUILTIN_VSSWRITERstring"engine1/vsswriter"
ENGINE_BUILTIN_HYPERVstring"engine1/hyperv"
ENGINE_BUILTIN_WINDISKstring"engine1/windisk"
ENGINE_BUILTIN_MONGODBstring"engine1/mongodb"
ENGINE_BUILTIN_MSOFFICEstring"engine1/winmsofficemail"

FTPS

NameTypeValueComment
FTPS_MODE_PLAINTEXTint0FtpsModeType
FTPS_MODE_IMPLICITint1FtpsModeType
FTPS_MODE_EXPLICITint2FtpsModeType

JOB

NameTypeValueComment
JOB_CLASSIFICATION__MINint4000JobClassification
JOB_CLASSIFICATION_UNKNOWNint4000JobClassification
JOB_CLASSIFICATION_BACKUPint4001JobClassification
JOB_CLASSIFICATION_RESTOREint4002JobClassification
JOB_CLASSIFICATION_RETENTIONint4003JobClassification: Automatic or manual retention cleaning
JOB_CLASSIFICATION_UNLOCKint4004JobClassification: Another process needed exclusive Vault access ( for retention) but the process This task cleans up exclusive
JOB_CLASSIFICATION_DELETE_CUSTOMint4005JobClassification: A specific snapshot has been deleted via the Restore
JOB_CLASSIFICATION_REMEASUREint4006JobClassification: Explicitly re-measuring the size of a Vault (right-click > Advanced menu).
JOB_CLASSIFICATION_UPDATEint4007JobClassification: Software update
JOB_CLASSIFICATION_IMPORTint4008JobClassification
JOB_CLASSIFICATION_REINDEXint4009JobClassification: Repair indexes
JOB_CLASSIFICATION_DEEPVERIFYint4010JobClassification
JOB_CLASSIFICATION_UNINSTALLint4011JobClassification: Software uninstall
JOB_CLASSIFICATION__MAXint4999JobClassification
JOB_STATUS_STOP_SUCCESS__MINint5000JobStatus
JOB_STATUS_STOP_SUCCESSint5000JobStatus
JOB_STATUS_STOP_SUCCESS__MAXint5999JobStatus
JOB_STATUS_RUNNING__MINint6000JobStatus
JOB_STATUS_RUNNING_INDETERMINATEint6000JobStatus: Unused
JOB_STATUS_RUNNING_ACTIVEint6001JobStatus
JOB_STATUS_RUNNING_REVIVEDint6002JobStatus: A backup job that was marked as stopped or abandoned, but has somehow continued to run
JOB_STATUS_RUNNING__MAXint6999JobStatus
JOB_STATUS_FAILED__MINint7000JobStatus
JOB_STATUS_FAILED_TIMEOUTint7000JobStatus
JOB_STATUS_FAILED_WARNINGint7001JobStatus
JOB_STATUS_FAILED_ERRORint7002JobStatus
JOB_STATUS_FAILED_QUOTAint7003JobStatus
JOB_STATUS_FAILED_SCHEDULEMISSEDint7004JobStatus
JOB_STATUS_FAILED_CANCELLEDint7005JobStatus
JOB_STATUS_FAILED_SKIPALREADYRUNNINGint7006JobStatus
JOB_STATUS_FAILED_ABANDONEDint7007JobStatus
JOB_STATUS_FAILED__MAXint7999JobStatus

LDAPSECURITYMETHOD

NameTypeValueComment
LDAPSECURITYMETHOD_PLAINstring"plain"LDAPSecurityMethod
LDAPSECURITYMETHOD_LDAPSstring"ldaps"LDAPSecurityMethod
LDAPSECURITYMETHOD_STARTTLSstring"starttls"LDAPSecurityMethod

MACOSCODESIGN

NameTypeValueComment
MACOSCODESIGN_LEVEL_SIGNint0MacOSCodesignLevel
MACOSCODESIGN_LEVEL_SIGN_NOTARISEint1MacOSCodesignLevel
MACOSCODESIGN_LEVEL_SIGN_NOTARISE_STAPLEint2MacOSCodesignLevel

MIXED

NameTypeValueComment
MIXED_VIRTUAL_ACCOUNT_TYPE_USERint1
MIXED_VIRTUAL_ACCOUNT_TYPE_GROUPint2
MIXED_VIRTUAL_ACCOUNT_TYPE_TEAM_GROUPint3
MIXED_VIRTUAL_ACCOUNT_TYPE_SHAREPOINT_ONLYint4

MONGODB

NameTypeValueComment
MONGODB_DEFAULT_PORTint27017

MSSQL

NameTypeValueComment
MSSQL_AUTH_WINDOWSstring"windows"MSSQLAuthMode
MSSQL_AUTH_NATIVEstring"native"MSSQLAuthMode
MSSQL_METHOD_OLEDB_NATIVEstring"OLEDB_NATIVE"MSSQLMethod
MSSQL_METHOD_OLEDB_32string"OLEDB_32"MSSQLMethod
MSSQL_RESTORE_RECOVERYstring"RECOVERY"MSSQLRestoreOpt
MSSQL_RESTORE_NORECOVERYstring"NO_RECOVERY"MSSQLRestoreOpt

OFFICE365

NameTypeValueComment
OFFICE365_REGION_PUBLICstring"GlobalPublicCloud"
OFFICE365_REGION_CHINAstring"ChinaCloud"
OFFICE365_REGION_GERMANYstring"GermanCloud"
OFFICE365_REGION_US_GOVTstring"USGovtGccCloud"
OFFICE365_REGION_US_DODstring"USGovtGccDoDCloud"

OS

NameTypeValueComment
OS_ANYint0ExtraFileExclusionOSRestriction
OS_ONLY_WINDOWSint1ExtraFileExclusionOSRestriction
OS_ONLY_WINDOWS_X8632int2ExtraFileExclusionOSRestriction
OS_ONLY_WINDOWS_X8664int3ExtraFileExclusionOSRestriction
OS_ONLY_MACOSint4ExtraFileExclusionOSRestriction
OS_ONLY_LINUXint5ExtraFileExclusionOSRestriction

PASSWORD

NameTypeValueComment
PASSWORD_FORMAT_PLAINTEXTint0

PSA

NameTypeValueComment
PSA_TYPE_GENERICint0PSAType
PSA_TYPE_GRADIENTint1PSAType

RELEASE

NameTypeValueComment
RELEASE_CODENAMEstring"Voyager"

REMOTESERVER

NameTypeValueComment
REMOTESERVER_COMETstring"comet"RemoteServerType
REMOTESERVER_LDAPstring"ldap"RemoteServerType
REMOTESERVER_B2string"b2"RemoteServerType
REMOTESERVER_WASABIstring"wasabi"RemoteServerType
REMOTESERVER_CUSTOMstring"custom"RemoteServerType
REMOTESERVER_S3_GENERICstring"s3"RemoteServerType
REMOTESERVER_AWSstring"aws"RemoteServerType
REMOTESERVER_STORJstring"storj"RemoteServerType
REMOTESERVER_IDRIVEE2string"idrivee2"RemoteServerType

REPLICATOR

NameTypeValueComment
REPLICATOR_STATE_NONEint0ReplicatorState
REPLICATOR_STATE_FILE_LIST_WORKER_STARTEDint1ReplicatorState
REPLICATOR_STATE_FILE_LIST_SYNC_RUNNINGint2ReplicatorState
REPLICATOR_STATE_FILE_LIST_SYNC_FINISHEDint4ReplicatorState
REPLICATOR_STATE_WORKERS_STARTEDint8ReplicatorState
REPLICATOR_DISPLAYCLASS_STORAGEint100ReplicatorDisplayClass
REPLICATOR_DISPLAYCLASS_USERint101ReplicatorDisplayClass

RESTOREARCHIVEFORMAT

NameTypeValueComment
RESTOREARCHIVEFORMAT_TARint0RestoreArchiveFormat
RESTOREARCHIVEFORMAT_TARGZint1RestoreArchiveFormat
RESTOREARCHIVEFORMAT_ZIPint2RestoreArchiveFormat
RESTOREARCHIVEFORMAT_SQFSint3RestoreArchiveFormat: SquashFS container
RESTOREARCHIVEFORMAT_TARZSTDint4RestoreArchiveFormat

RESTORETYPE

NameTypeValueComment
RESTORETYPE_INVALIDint-1RestoreType
RESTORETYPE_FILEint0RestoreType
RESTORETYPE_NULLint1RestoreType
RESTORETYPE_PROCESS_PERFILEint2RestoreType
RESTORETYPE_PROCESS_ARCHIVEint3RestoreType
RESTORETYPE_WINDISKint4RestoreType
RESTORETYPE_FILE_ARCHIVEint5RestoreType
RESTORETYPE_OFFICE365_CLOUDint6RestoreType
RESTORETYPE_VMDK_FILEint7RestoreType
RESTORETYPE_VMDK_FILE_NULLint8RestoreType
RESTORETYPE_VMDK_FILE_ARCHIVEint9RestoreType
RESTORETYPE_MYSQLint10RestoreType
RESTORETYPE_MSSQLint11RestoreType
RESTORETYPE_PROCESS_TARBALLint3RestoreType: RESTORETYPE_PROCESS_ARCHIVE

RETENTIONMODE

NameTypeValueComment
RETENTIONMODE_KEEP_EVERYTHINGint801RetentionMode: If this mode is set in a RetentionPolicy, then Ranges should be
RETENTIONMODE_DELETE_EXCEPTint802RetentionMode: Delete everything except for jobs matching the ranges in

RETENTIONRANGE

NameTypeValueComment
RETENTIONRANGE__LOWESTint900RetentionRangeType
RETENTIONRANGE_MOST_RECENT_X_JOBSint900RetentionRangeType: Uses Jobs
RETENTIONRANGE_NEWER_THAN_Xint901RetentionRangeType: Uses Timestamp
RETENTIONRANGE_JOBS_SINCEint902RetentionRangeType: Uses Days, Weeks, Months
RETENTIONRANGE_FIRST_JOB_FOR_EACH_LAST_X_DAYSint903RetentionRangeType: Uses Days
RETENTIONRANGE__RESERVED904int904RetentionRangeType: Removed
RETENTIONRANGE_FIRST_JOB_FOR_LAST_X_MONTHSint905RetentionRangeType: Uses Months, MonthOffset
RETENTIONRANGE_FIRST_JOB_FOR_LAST_X_WEEKSint906RetentionRangeType: Uses Weeks, WeekOffset
RETENTIONRANGE_LAST_X_BACKUPS_ONE_FOR_EACH_DAYint907RetentionRangeType: Uses Jobs
RETENTIONRANGE_LAST_X_BACKUPS_ONE_FOR_EACH_WEEKint908RetentionRangeType: Uses Jobs
RETENTIONRANGE_LAST_X_BACKUPS_ONE_FOR_EACH_MONTHint909RetentionRangeType: Uses Jobs
RETENTIONRANGE__HIGHESTint909RetentionRangeType
RETENTIONRANGE_MAXINTint1125899906842624

SCHEDULE

NameTypeValueComment
SCHEDULE_FREQUENCY_LOWESTint8010
SCHEDULE_FREQUENCY_ONCEONLYint8010epoch time
SCHEDULE_FREQUENCY_DAILYint8011seconds past 00:00 local time
SCHEDULE_FREQUENCY_HOURLYint8012seconds past *:00 local time
SCHEDULE_FREQUENCY_WEEKLYint8013seconds past 00:00 Sunday, local time
SCHEDULE_FREQUENCY_MONTHLYint8014seconds past 00:00 1st, local time
SCHEDULE_FREQUENCY_PERIODICint8015SecondsPast: number of seconds per Offset: Shunt seconds after unix epoch
SCHEDULE_FREQUENCY_HIGHESTint8015
SCHEDULE_MAX_RANDOM_DELAY_SECSint18000Maximum random delay (5 hours)
SCHEDULE_MAXINTint11258999068426242^50 (1 << 50)

SEARCHCLAUSE

NameTypeValueComment
SEARCHCLAUSE_RULEstring""SearchClauseType
SEARCHCLAUSE_ANDstring"and"SearchClauseType
SEARCHCLAUSE_ORstring"or"SearchClauseType
SEARCHCLAUSE_NOT_ANDstring"not_and"SearchClauseType
SEARCHCLAUSE_NOT_ORstring"not_or"SearchClauseType

SEARCHOPERATOR

NameTypeValueComment
SEARCHOPERATOR_STRING_EQstring"str_eq"
SEARCHOPERATOR_STRING_NEQstring"str_neq"
SEARCHOPERATOR_STRING_CONTAINSstring"str_contains"
SEARCHOPERATOR_STRING_NCONTAINSstring"str_ncontains"
SEARCHOPERATOR_STRING_STARTSWITHstring"str_startswith"
SEARCHOPERATOR_STRING_NSTARTSWITHstring"str_nstartswith"
SEARCHOPERATOR_STRING_ENDSWITHstring"str_endswith"
SEARCHOPERATOR_STRING_NENDSWITHstring"str_nendswith"
SEARCHOPERATOR_STRING_EQ_CIstring"str_eq_ci"
SEARCHOPERATOR_STRING_NEQ_CIstring"str_neq_ci"
SEARCHOPERATOR_STRING_CONTAINS_CIstring"str_contains_ci"
SEARCHOPERATOR_STRING_NCONTAINS_CIstring"str_ncontains_ci"
SEARCHOPERATOR_STRING_STARTSWITH_CIstring"str_startswith_ci"
SEARCHOPERATOR_STRING_NSTARTSWITH_CIstring"str_nstartswith_ci"
SEARCHOPERATOR_STRING_ENDSWITH_CIstring"str_endswith_ci"
SEARCHOPERATOR_STRING_NENDSWITH_CIstring"str_nendswith_ci"
SEARCHOPERATOR_STRING_REGEXMATCHstring"str_regexmatch"
SEARCHOPERATOR_STRING_NREGEXMATCHstring"str_nregexmatch"
SEARCHOPERATOR_INT_EQstring"int_eq"
SEARCHOPERATOR_INT_NEQstring"int_neq"
SEARCHOPERATOR_INT_GTstring"int_gt"
SEARCHOPERATOR_INT_GTEstring"int_gte"
SEARCHOPERATOR_INT_LTstring"int_lt"
SEARCHOPERATOR_INT_LTEstring"int_lte"
SEARCHOPERATOR_BOOL_ISstring"bool_is"
SEARCHOPERATOR_BOOL_NISstring"bool_nis"

SERVICE

NameTypeValueComment
SERVICE_CALENDARint1
SERVICE_CONTACTint2
SERVICE_MAILint4
SERVICE_SHAREPOINTint8
SERVICE_ONEDRIVEint16

SETTING

NameTypeValueComment
SETTING_SYSTEM_DEFAULTint0DefaultSettingMode
SETTING_OPTIONAL_DEFAULT_ONint1DefaultSettingMode
SETTING_OPTIONAL_DEFAULT_OFFint2DefaultSettingMode
SETTING_ENFORCED_ONint3DefaultSettingMode
SETTING_ENFORCED_OFFint4DefaultSettingMode

SEVERITY

NameTypeValueComment
SEVERITY_INFOstring"I"Severity
SEVERITY_WARNINGstring"W"Severity
SEVERITY_ERRORstring"E"Severity

SEVT

NameTypeValueComment
SEVT__MINint4000StreamableEventType
SEVT_META_HELLOint4000StreamableEventType: Event is emitted when the webhook is registered, or when the server starts The Data associated is ServerMetaVersionInfo
SEVT_ACCOUNT_NEWint4100StreamableEventType: Data is the profile object
SEVT_ACCOUNT_REMOVEDint4101StreamableEventType: Data is the username
SEVT_ACCOUNT_UPDATEDint4102StreamableEventType: Data is the profile object
SEVT_JOB_NEWint4200StreamableEventType
SEVT_JOB_COMPLETEDint4201StreamableEventType
SEVT_BUCKET_NEWint4300StreamableEventType: Data is the string bucket ref
SEVT__MAXint4999StreamableEventType

SSHCONNECTION

NameTypeValueComment
SSHCONNECTION_AUTHMODE__INVALIDint0SSHAuthMode
SSHCONNECTION_AUTHMODE_PASSWORDint1SSHAuthMode
SSHCONNECTION_AUTHMODE_PRIVATEKEYint2SSHAuthMode: change values

STOREDOBJECTTYPE

NameTypeValueComment
STOREDOBJECTTYPE_FILEstring"file"StoredObjectType
STOREDOBJECTTYPE_DIRECTORYstring"dir"StoredObjectType
STOREDOBJECTTYPE_SYMLINKstring"symlink"StoredObjectType
STOREDOBJECTTYPE_UNIXBLOCKDEVICEstring"dev"StoredObjectType
STOREDOBJECTTYPE_UNIXCHARDEVICEstring"chardev"StoredObjectType
STOREDOBJECTTYPE_UNIXFIFOstring"fifo"StoredObjectType
STOREDOBJECTTYPE_UNIXSOCKETstring"socket"StoredObjectType
STOREDOBJECTTYPE_WINEFSstring"winefs"StoredObjectType
STOREDOBJECTTYPE_EMAILMESSAGEstring"emailmessage"StoredObjectType: "file"
STOREDOBJECTTYPE_EMAILFOLDERstring"mailfolder"StoredObjectType: "dir"
STOREDOBJECTTYPE_OFFICECONTACTstring"contact"StoredObjectType: "file"
STOREDOBJECTTYPE_OFFICECONTACTFOLDERstring"contactfolder"StoredObjectType: "dir"
STOREDOBJECTTYPE_OFFICECALENDAREVENTstring"calendarevent"StoredObjectType: "file"
STOREDOBJECTTYPE_OFFICECALENDARstring"calendar"StoredObjectType: "dir"
STOREDOBJECTTYPE_MSSITEstring"mssite"StoredObjectType
STOREDOBJECTTYPE_MSSITE_TEAMstring"mssiteteam"StoredObjectType
STOREDOBJECTTYPE_MSSITELISTENTITYstring"mssitelistentity"StoredObjectType
STOREDOBJECTTYPE_MSSITEITEMENTITYstring"mssiteitementity"StoredObjectType
STOREDOBJECTTYPE_MSSITELISTDRIVEENTITYstring"mssitelistdriveentity"StoredObjectType
STOREDOBJECTTYPE_VMDK_FILEstring"vmdkfile"StoredObjectType
STOREDOBJECTTYPE_VMDK_DIRECTORYstring"vmdkdir"StoredObjectType
STOREDOBJECTTYPE_VMDK_WINEFSstring"vmdkwinefs"StoredObjectType
STOREDOBJECTTYPE_VMDK_SYMLINKstring"vmdksymlink"StoredObjectType

TOTPRequiredError

NameTypeValueComment
TOTPRequiredErrorstring"ERR_TOTP_REQUIRED"

UPDATESTATUS

NameTypeValueComment
UPDATESTATUS_NOT_SEENint0UpdateStatus
UPDATESTATUS_INELIGIBLEint1UpdateStatus
UPDATESTATUS_PENDINGint2UpdateStatus
UPDATESTATUS_REQUEST_MADEint3UpdateStatus
UPDATESTATUS_UPDATE_FAILEDint4UpdateStatus: Device reconnected with bad version
UPDATESTATUS_UPDATE_CONFIRMEDint5UpdateStatus

UnknownDeviceError

NameTypeValueComment
UnknownDeviceErrorstring"ERR_UNKNOWN_DEVICE"

UnsupportVmdkFileSystem

NameTypeValueComment
UnsupportVmdkFileSystemstring"ERR_UNSUPPORT_VMDK_FILE_SYSTEM"

WEBAUTHN

NameTypeValueComment
WEBAUTHN_DEVICE_TYPE__UNKNOWNint0WebAuthnDeviceType
WEBAUTHN_DEVICE_TYPE__HARDWARE_TOKENint1WebAuthnDeviceType
WEBAUTHN_DEVICE_TYPE__ANDROIDint2WebAuthnDeviceType
WEBAUTHN_DEVICE_TYPE__APPLEint3WebAuthnDeviceType
WEBAUTHN_DEVICE_TYPE__TPM_GENERICint4WebAuthnDeviceType
WEBAUTHN_DEVICE_TYPE__TPM_WINDOWSint5WebAuthnDeviceType
WEBAUTHN_DEVICE_TYPE__TPM_LINUXint6WebAuthnDeviceType