RustAutofill.sys.mjs

class RustAutofill.sys.Address()

What you get back as an address.

RustAutofill.sys.Address.addressLevel1

type: string

RustAutofill.sys.Address.addressLevel2

type: string

RustAutofill.sys.Address.addressLevel3

type: string

RustAutofill.sys.Address.country

type: string

RustAutofill.sys.Address.email

type: string

RustAutofill.sys.Address.guid

type: string

RustAutofill.sys.Address.name

type: string

RustAutofill.sys.Address.organization

type: string

RustAutofill.sys.Address.postalCode

type: string

RustAutofill.sys.Address.streetAddress

type: string

RustAutofill.sys.Address.tel

type: string

RustAutofill.sys.Address.timeCreated

type: number

RustAutofill.sys.Address.timeLastModified

type: number

RustAutofill.sys.Address.timeLastUsed

type: number

RustAutofill.sys.Address.timesUsed

type: number

class RustAutofill.sys.CreditCard()

What you get back as a credit-card.

RustAutofill.sys.CreditCard.ccExpMonth

type: number

RustAutofill.sys.CreditCard.ccExpYear

type: number

RustAutofill.sys.CreditCard.ccName

type: string

RustAutofill.sys.CreditCard.ccNumberEnc

type: string

RustAutofill.sys.CreditCard.ccNumberLast4

type: string

RustAutofill.sys.CreditCard.ccType

type: string

RustAutofill.sys.CreditCard.guid

type: string

RustAutofill.sys.CreditCard.timeCreated

type: number

RustAutofill.sys.CreditCard.timeLastModified

type: number

RustAutofill.sys.CreditCard.timeLastUsed

type: number

RustAutofill.sys.CreditCard.timesUsed

type: number

class RustAutofill.sys.CreditCardsDeletionMetrics()

Metrics tracking scrubbing of credit cards that cannot be decrypted, see

RustAutofill.sys.CreditCardsDeletionMetrics.totalScrubbedRecords

type: number

class RustAutofill.sys.CryptoError()

CryptoError

class RustAutofill.sys.InterruptedError()

InterruptedError

class RustAutofill.sys.NoSuchRecord()

NoSuchRecord

class RustAutofill.sys.Passport()

What you get back as a passport.

RustAutofill.sys.Passport.country

type: string

RustAutofill.sys.Passport.expiryDateDay

type: number

RustAutofill.sys.Passport.expiryDateMonth

type: number

RustAutofill.sys.Passport.expiryDateYear

type: number

RustAutofill.sys.Passport.guid

type: string

RustAutofill.sys.Passport.issueDateDay

type: number

RustAutofill.sys.Passport.issueDateMonth

type: number

RustAutofill.sys.Passport.issueDateYear

type: number

RustAutofill.sys.Passport.name

type: string

RustAutofill.sys.Passport.passportNumber

type: string

RustAutofill.sys.Passport.timeCreated

type: number

RustAutofill.sys.Passport.timeLastModified

type: number

RustAutofill.sys.Passport.timeLastUsed

type: number

RustAutofill.sys.Passport.timesUsed

type: number

class RustAutofill.sys.SqlError()

SqlError

class RustAutofill.sys.UnexpectedAutofillApiError()

UnexpectedAutofillApiError

class RustAutofill.sys.UpdatableAddressFields()

What you pass to create or update an address.

RustAutofill.sys.UpdatableAddressFields.addressLevel1

type: string

RustAutofill.sys.UpdatableAddressFields.addressLevel2

type: string

RustAutofill.sys.UpdatableAddressFields.addressLevel3

type: string

RustAutofill.sys.UpdatableAddressFields.country

type: string

RustAutofill.sys.UpdatableAddressFields.email

type: string

RustAutofill.sys.UpdatableAddressFields.name

type: string

RustAutofill.sys.UpdatableAddressFields.organization

type: string

RustAutofill.sys.UpdatableAddressFields.postalCode

type: string

RustAutofill.sys.UpdatableAddressFields.streetAddress

type: string

RustAutofill.sys.UpdatableAddressFields.tel

type: string

class RustAutofill.sys.UpdatableCreditCardFields()

What you pass to create or update a credit-card.

RustAutofill.sys.UpdatableCreditCardFields.ccExpMonth

type: number

RustAutofill.sys.UpdatableCreditCardFields.ccExpYear

type: number

RustAutofill.sys.UpdatableCreditCardFields.ccName

type: string

RustAutofill.sys.UpdatableCreditCardFields.ccNumberEnc

type: string

RustAutofill.sys.UpdatableCreditCardFields.ccNumberLast4

type: string

RustAutofill.sys.UpdatableCreditCardFields.ccType

type: string

class RustAutofill.sys.UpdatablePassportFields()

What you pass to create or update a passport.

RustAutofill.sys.UpdatablePassportFields.country

type: string

RustAutofill.sys.UpdatablePassportFields.expiryDateDay

type: number

RustAutofill.sys.UpdatablePassportFields.expiryDateMonth

type: number

RustAutofill.sys.UpdatablePassportFields.expiryDateYear

type: number

RustAutofill.sys.UpdatablePassportFields.issueDateDay

type: number

RustAutofill.sys.UpdatablePassportFields.issueDateMonth

type: number

RustAutofill.sys.UpdatablePassportFields.issueDateYear

type: number

RustAutofill.sys.UpdatablePassportFields.name

type: string

RustAutofill.sys.UpdatablePassportFields.passportNumber

type: string

RustAutofill.sys.createAutofillKey()

Create a new, random, encryption key.

Returns:

string

RustAutofill.sys.decryptString(key, ciphertext)

Decrypt an arbitrary string - key must have come from create_key() and ciphertext must have come from encrypt_string()

Arguments:
  • key (string)

  • ciphertext (string)

Returns:

string

RustAutofill.sys.encryptString(key, cleartext)

Encrypt an arbitrary string - key must have come from create_key()

Arguments:
  • key (string)

  • cleartext (string)

Returns:

string