UNPKG

connect-sdk-nodejs

Version:

SDK to communicate with the Worldline Global Collect platform using the Worldline Connect Server API

19 lines (18 loc) 893 B
import { ObfuscationRule, SdkContext } from "../model"; /** * @returns An obfuscation rule that will keep a fixed number of characters at the end, then replaces all other characters with *. */ export declare function allButLast(count: number): ObfuscationRule; /** * @returns An obfuscation rule that will replace all characters with *. */ export declare function all(): ObfuscationRule; /** * @returns An obfuscation rule that will keep a fixed number of characters at the start, then replaces all other characters with *. */ export declare function allButFirst(count: number): ObfuscationRule; /** * @returns An obfuscation rule that will replace values with a fixed length string containing only *. */ export declare function withFixedLength(count: number): ObfuscationRule; export declare function getObfuscated(input: any, context: SdkContext, caseInsensitive?: boolean): string;