Represents the position of the redaction

interface RedactionPosition {
    adfPointer?: string;
    expectedText: string;
    from: number;
    to: number;
}

Properties

adfPointer?: string

The ADF pointer indicating the position of the text to be redacted. This is only required when redacting from rich text(ADF) fields. For plain text fields, this field can be omitted.

/content/0/content/0/text
expectedText: string

The text which will be redacted, encoded using SHA256 hash and Base64 digest

ODFiNjM3ZDhmY2QyYzZkYTYzNTllNjk2MzExM2ExMTcwZGU3OTVlNGI3MjViODRkMWUwYjRjZmQ5ZWM1OGNlOQ==
from: number

The start index(inclusive) for the redaction in specified content

14
to: number

The ending index(exclusive) for the redaction in specified content

20