Module: Types

Defined in:
lib/schemas.rb

Constant Summary collapse

Integer =
Strict::Integer
Nil =
Strict::Nil
Bool =
Strict::Bool
Hash =
Strict::Hash
String =
Strict::String
DeviceType =
Strict::String.enum("Android", "AndroidAmazon", "ChromeBrowser", "ChromeExtension", "EdgeBrowser", "EdgeExtension", "FirefoxBrowser", "FirefoxExtension", "IEBrowser", "iOS", "LinuxDesktop", "MacOsDesktop", "OperaBrowser", "OperaExtension", "SDK", "SafariBrowser", "SafariExtension", "UWP", "UnknownBrowser", "VivaldiBrowser", "VivaldiExtension", "WindowsDesktop")
TwoFactorProvider =
Strict::String.enum("Authenticator", "Duo", "Email", "OrganizationDuo", "Remember", "U2f", "WebAuthn", "Yubikey")
CipherType =
Strict::String.enum("Card", "Identity", "Login", "SecureNote")
FieldType =
Strict::String.enum("Boolean", "Hidden", "Linked", "Text")
LinkedIDType =
Strict::String.enum("Address1", "Address2", "Address3", "Brand", "CardholderName", "City", "Code", "Company", "Country", "Email", "ExpMonth", "ExpYear", "FirstName", "FullName", "LastName", "LicenseNumber", "MiddleName", "Number", "PassportNumber", "Password", "Phone", "PostalCode", "Ssn", "State", "Title", "Username")
URIMatchType =
Strict::String.enum("domain", "exact", "host", "never", "regularExpression", "startsWith")
CipherRepromptType =
Strict::String.enum("None", "Password")
SecureNoteType =
Strict::String.enum("Generic")
PolicyType =
Strict::String.enum("ActivateAutofill", "DisablePersonalVaultExport", "DisableSend", "MasterPassword", "MaximumVaultTimeout", "PasswordGenerator", "PersonalOwnership", "RequireSso", "ResetPassword", "SendOptions", "SingleOrg", "TwoFactorAuthentication")
SendType =
Strict::String.enum("File", "Text")
LoginLinkedIDType =
Strict::String.enum("Password", "Username")
CardLinkedIDType =
Strict::String.enum("Brand", "CardholderName", "Code", "ExpMonth", "ExpYear", "Number")
IdentityLinkedIDType =
Strict::String.enum("Address1", "Address2", "Address3", "City", "Company", "Country", "Email", "FirstName", "FullName", "LastName", "LicenseNumber", "MiddleName", "PassportNumber", "Phone", "PostalCode", "Ssn", "State", "Title", "Username")