/** * 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 { DeniedActionEnum } from './DeniedActionEnum'; import type { FlowLayoutEnum } from './FlowLayoutEnum'; import type { PolicyEngineMode } from './PolicyEngineMode'; import type { FlowDesignationEnum } from './FlowDesignationEnum'; import type { AuthenticationEnum } from './AuthenticationEnum'; /** * Flow Serializer * @export * @interface Flow */ export interface Flow { /** * * @type {string} * @memberof Flow */ readonly pk: string; /** * * @type {string} * @memberof Flow */ readonly policybindingmodelPtrId: string; /** * * @type {string} * @memberof Flow */ name: string; /** * Visible in the URL. * @type {string} * @memberof Flow */ slug: string; /** * Shown as the Title in Flow pages. * @type {string} * @memberof Flow */ title: string; /** * Decides what this Flow is used for. For example, the Authentication flow is redirect to when an un-authenticated user visits authentik. * @type {FlowDesignationEnum} * @memberof Flow */ designation: FlowDesignationEnum; /** * Get the URL to the background image. If the name is /static or starts with http * it is returned as-is * @type {string} * @memberof Flow */ readonly background: string; /** * * @type {Array} * @memberof Flow */ readonly stages: Array; /** * * @type {Array} * @memberof Flow */ readonly policies: Array; /** * Get count of cached flows * @type {number} * @memberof Flow */ readonly cacheCount: number; /** * * @type {PolicyEngineMode} * @memberof Flow */ policyEngineMode?: PolicyEngineMode; /** * Enable compatibility mode, increases compatibility with password managers on mobile devices. * @type {boolean} * @memberof Flow */ compatibilityMode?: boolean; /** * Get export URL for flow * @type {string} * @memberof Flow */ readonly exportUrl: string; /** * * @type {FlowLayoutEnum} * @memberof Flow */ layout?: FlowLayoutEnum; /** * Configure what should happen when a flow denies access to a user. * @type {DeniedActionEnum} * @memberof Flow */ deniedAction?: DeniedActionEnum; /** * Required level of authentication and authorization to access a flow. * @type {AuthenticationEnum} * @memberof Flow */ authentication?: AuthenticationEnum; } /** * Check if a given object implements the Flow interface. */ export declare function instanceOfFlow(value: object): value is Flow; export declare function FlowFromJSON(json: any): Flow; export declare function FlowFromJSONTyped(json: any, ignoreDiscriminator: boolean): Flow; export declare function FlowToJSON(json: any): Flow; export declare function FlowToJSONTyped(value?: Omit | null, ignoreDiscriminator?: boolean): any; //# sourceMappingURL=Flow.d.ts.map