UNPKG

@microblink/blinkid-in-browser-sdk

Version:

A simple ID scanning library for WebAssembly-enabled browsers.

37 lines (36 loc) 1.27 kB
/** * Copyright (c) Microblink Ltd. All rights reserved. * */ import { DocumentType } from "./ClassInfo"; import { Country, Region } from "./ClassInfo"; import { DocumentNumberAnonymizationSettings } from "./DocumentNumberAnonymizationSettings"; import { FieldType } from "./FieldType"; export declare class ClassAnonymizationSettings { /** * If set, specified fields will be anonymized on documents issued by * specified country only. Otherwise, issuing country will not be taken into * account during anonymization. */ country: Country | null; /** * If set, specified fields will be anonymized on documents issued by * specified region only. Otherwise, issuing region will not be taken into * account during anonymization. */ region: Region | null; /** * If set, specified fields will be anonymized on documents of specified * type only. Otherwise, document type will not be taken into account during * anonymization. */ type: DocumentType | null; /** * Fields to be anonymized. */ fields: Array<FieldType>; /** * Anonymization settings for a document number. */ documentNumberAnonymizationSettings: DocumentNumberAnonymizationSettings | null; }