Document data for Custom builds.

Implements

Constructors

Properties

classifications: Map<string, internal.parsing.custom.ClassificationField> = ...

Map of classification fields for a Custom build.

fields: Map<string, ListField> = ...

Map of fields for a Custom build.

Methods

  • Order column fields into line items.

    Parameters

    • anchorNames: string[]

      list of possible anchor fields.

    • fieldNames: string[]

      list of all column fields.

    • heightTolerance: number = 0.01

      height tolerance to apply to lines.

    Returns CustomLines

  • Sorts and sets fields between classification fields and regular fields. Note: Currently, two types of fields possible in a custom API response: fields having a list of values, and classification fields.

    Parameters

    • fieldName: string

      name of the field.

    • fieldValue: any

      value of the field.

    • OptionalpageId: number

      page the field was found on.

    Returns void