/** * authentik * Making authentication simple. * * The version of the OpenAPI document: 2025.6.3 * Contact: hello@goauthentik.io * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import type { ModelEnum } from './ModelEnum'; import type { AppEnum } from './AppEnum'; import type { EventActions } from './EventActions'; /** * Event Matcher Policy Serializer * @export * @interface EventMatcherPolicy */ export interface EventMatcherPolicy { /** * * @type {string} * @memberof EventMatcherPolicy */ readonly pk: string; /** * * @type {string} * @memberof EventMatcherPolicy */ name: string; /** * When this option is enabled, all executions of this policy will be logged. By default, only execution errors are logged. * @type {boolean} * @memberof EventMatcherPolicy */ executionLogging?: boolean; /** * Get object component so that we know how to edit the object * @type {string} * @memberof EventMatcherPolicy */ readonly component: string; /** * Return object's verbose_name * @type {string} * @memberof EventMatcherPolicy */ readonly verboseName: string; /** * Return object's plural verbose_name * @type {string} * @memberof EventMatcherPolicy */ readonly verboseNamePlural: string; /** * Return internal model name * @type {string} * @memberof EventMatcherPolicy */ readonly metaModelName: string; /** * Return objects policy is bound to * @type {number} * @memberof EventMatcherPolicy */ readonly boundTo: number; /** * Match created events with this action type. When left empty, all action types will be matched. * @type {EventActions} * @memberof EventMatcherPolicy */ action?: EventActions | null; /** * Matches Event's Client IP (strict matching, for network matching use an Expression Policy) * @type {string} * @memberof EventMatcherPolicy */ clientIp?: string | null; /** * Match events created by selected application. When left empty, all applications are matched. * @type {AppEnum} * @memberof EventMatcherPolicy */ app?: AppEnum | null; /** * Match events created by selected model. When left empty, all models are matched. When an app is selected, all the application's models are matched. * @type {ModelEnum} * @memberof EventMatcherPolicy */ model?: ModelEnum | null; } /** * Check if a given object implements the EventMatcherPolicy interface. */ export declare function instanceOfEventMatcherPolicy(value: object): value is EventMatcherPolicy; export declare function EventMatcherPolicyFromJSON(json: any): EventMatcherPolicy; export declare function EventMatcherPolicyFromJSONTyped(json: any, ignoreDiscriminator: boolean): EventMatcherPolicy; export declare function EventMatcherPolicyToJSON(json: any): EventMatcherPolicy; export declare function EventMatcherPolicyToJSONTyped(value?: Omit | null, ignoreDiscriminator?: boolean): any; //# sourceMappingURL=EventMatcherPolicy.d.ts.map