Skip to content

Node Type Aliases

Type alias

AustralianAddress: z.infer<typeof australianAddressSchema>

Type alias

AustralianPiiFields: z.infer<typeof australianPiiFieldsSchema>

Type alias

QR error-correction level chosen by the damage-first degradation ladder.

BarcodeErrorCorrectionLevel: "Q" | "M" | "L"

Type alias

BarcodeImage: z.infer<typeof barcodeImageSchema>

Type alias

Badge arrangement: the header above the QR code, or the frame to its right.

BarcodeLayout: "vertical" | "horizontal"

Type alias

Per-record status. Typed as the known statuses plus string so a future API status flows through to your handling untouched while autocomplete still offers the known values.

BatchRecordStatus: KnownBatchRecordStatus | string & object

Type alias

EncryptionMetadata: z.infer<typeof encryptionMetadataSchema>

Type alias

KnownBatchRecordStatus: typeof KNOWN_BATCH_RECORD_STATUSES[number]

Type alias

Opt-in typed batch input for the payslip schemas currently known to this SDK.

KnownSchemaRegisterNonPiiBatchRequest: z.input<typeof registerNonPiiBatchRequestSchema>

Type alias

KnownVerifiablErrorCode: typeof KNOWN_VERIFIABL_ERROR_CODES[number]

Type alias

NewZealandAddress: z.infer<typeof newZealandAddressSchema>

Type alias

NewZealandPiiFields: z.infer<typeof newZealandPiiFieldsSchema>

Type alias

PayslipNonPii: z.infer<typeof payslipNonPiiSchema>

Type alias

PiiFieldName: typeof PII_FIELD_ORDER[number] | typeof AUSTRALIAN_PII_FIELD_ORDER[number] | typeof NEW_ZEALAND_PII_FIELD_ORDER[number]

Type alias

PiiFields: z.infer<typeof piiFieldsSchema>

Type alias

Why a PII field value cannot be encoded in the PII wire format.

PiiFieldViolationReason: "pipe" | "control-character" | "format-character" | "invalid-unicode"

Type alias

Which capacity limit the QR content exceeded.

  • qr-capacity: the content is longer than any QR version holds, at any error-correction level. A wider badge does not help.
  • frame-fit: the content encodes, but only into a symbol whose modules fall below the scannable floor inside the fixed frame at this width. A wider badge can carry it.
QrCapacityFailureReason: "qr-capacity" | "frame-fit"

Type alias

RegisterAndBuildBarcodeRequest: z.input<typeof registerAndBuildBarcodeRequestSchema>

Type alias

RegisterAndBuildBarcodeResponse: z.infer<typeof registerAndBuildBarcodeResponseSchema>

Type alias

Batch input accepts future schema ids and invalid payslips for per-record error reporting.

RegisterNonPiiBatchRequest: z.input<typeof registerNonPiiBatchEnvelopeSchema>

Type alias

RegisterNonPiiRequest: z.input<typeof registerNonPiiRequestSchema>

Type alias

RegisterNonPiiResponse: z.infer<typeof registerNonPiiResponseSchema>

Type alias

SupportedHorizontalPngPixelWidth: typeof SUPPORTED_HORIZONTAL_PNG_PIXEL_WIDTHS[number]

Type alias

SupportedPngPixelWidth: typeof SUPPORTED_PNG_PIXEL_WIDTHS[number]

Type alias

VerifiablEnvironment: "production" | "sandbox"

Type alias

VerifiablErrorBody: z.output<typeof verifiablErrorBodySchema>

Type alias

Stable machine-readable error code. Typed as the known codes plus string so future API codes flow through to your error handling untouched while autocomplete still offers the known values.

VerifiablErrorCode: KnownVerifiablErrorCode | string & object

Type alias

VerifiablErrorDetail: z.infer<typeof verifiablErrorDetailSchema>