UNPKG

@cognigy/rest-api-client

Version:

Cognigy REST-Client

107 lines 3.58 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.EPiiBehaviorType = void 0; /** * @openapi * * components: * schemas: * EPiiBehaviorType: * type: string * description: PII redaction behavior types * enum: * - predefined-alias * - custom-alias * * IRedactionBehavior: * oneOf: * - type: object * properties: * type: * type: string * enum: [predefined-alias] * customAlias: * type: string * nullable: true * required: [type, customAlias] * - type: object * properties: * type: * type: string * enum: [custom-alias] * customAlias: * type: string * description: Custom alias to replace PII data with * required: [type, customAlias] * * IRedactionScope: * type: object * properties: * logs: * type: boolean * description: Whether to redact PII in logs * analytics: * type: boolean * description: Whether to redact PII in analytics * required: [logs, analytics] * * IPiiFieldSettings: * type: object * properties: * enabled: * type: boolean * description: Whether PII redaction is enabled for this field type * behavior: * $ref: '#/components/schemas/IRedactionBehavior' * scope: * $ref: '#/components/schemas/IRedactionScope' * name: * type: string * description: Display name for the PII field type * required: [enabled, behavior, scope, name] * * ICustomPatternSettings: * type: object * properties: * behavior: * $ref: '#/components/schemas/IRedactionBehavior' * scope: * $ref: '#/components/schemas/IRedactionScope' * name: * type: string * description: Display name for the custom PII field type * regex: * type: string * description: Regular expression pattern to match custom PII data (RE2 syntax) * minLength: 1 * maxLength: 2000 * required: [behavior, scope, name, regex] * * IPiiDataRedactionSettings_2_0: * type: object * properties: * emailAddress: * $ref: '#/components/schemas/IPiiFieldSettings' * phoneNumber: * $ref: '#/components/schemas/IPiiFieldSettings' * creditCard: * $ref: '#/components/schemas/IPiiFieldSettings' * ssn: * $ref: '#/components/schemas/IPiiFieldSettings' * ipAddressV4: * $ref: '#/components/schemas/IPiiFieldSettings' * ipAddressV6: * $ref: '#/components/schemas/IPiiFieldSettings' * customTypes: * type: object * additionalProperties: * $ref: '#/components/schemas/ICustomPatternSettings' * description: User-defined custom PII patterns with regex matching * required: [emailAddress, phoneNumber, creditCard, ssn, ipAddressV4, ipAddressV6] */ var EPiiBehaviorType; (function (EPiiBehaviorType) { EPiiBehaviorType["PREDEFINED_ALIAS"] = "predefined-alias"; EPiiBehaviorType["CUSTOM_ALIAS"] = "custom-alias"; })(EPiiBehaviorType = exports.EPiiBehaviorType || (exports.EPiiBehaviorType = {})); //# sourceMappingURL=IAgentSettings_2_0.js.map