/** * authentik * Making authentication simple. * * The version of the OpenAPI document: 2026.2.3-rc1 * 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 { PolicyEngineMode } from './PolicyEngineMode'; import type { UserMatchingModeEnum } from './UserMatchingModeEnum'; /** * Source Serializer * @export * @interface PatchedTelegramSourceRequest */ export interface PatchedTelegramSourceRequest { /** * Source's display Name. * @type {string} * @memberof PatchedTelegramSourceRequest */ name?: string; /** * Internal source name, used in URLs. * @type {string} * @memberof PatchedTelegramSourceRequest */ slug?: string; /** * * @type {boolean} * @memberof PatchedTelegramSourceRequest */ enabled?: boolean; /** * When enabled, this source will be displayed as a prominent button on the login page, instead of a small icon. * @type {boolean} * @memberof PatchedTelegramSourceRequest */ promoted?: boolean; /** * Flow to use when authenticating existing users. * @type {string} * @memberof PatchedTelegramSourceRequest */ authenticationFlow?: string | null; /** * Flow to use when enrolling new users. * @type {string} * @memberof PatchedTelegramSourceRequest */ enrollmentFlow?: string | null; /** * * @type {Array} * @memberof PatchedTelegramSourceRequest */ userPropertyMappings?: Array; /** * * @type {Array} * @memberof PatchedTelegramSourceRequest */ groupPropertyMappings?: Array; /** * * @type {PolicyEngineMode} * @memberof PatchedTelegramSourceRequest */ policyEngineMode?: PolicyEngineMode; /** * How the source determines if an existing user should be authenticated or a new user enrolled. * @type {UserMatchingModeEnum} * @memberof PatchedTelegramSourceRequest */ userMatchingMode?: UserMatchingModeEnum; /** * * @type {string} * @memberof PatchedTelegramSourceRequest */ userPathTemplate?: string; /** * * @type {string} * @memberof PatchedTelegramSourceRequest */ icon?: string; /** * Telegram bot username * @type {string} * @memberof PatchedTelegramSourceRequest */ botUsername?: string; /** * Telegram bot token * @type {string} * @memberof PatchedTelegramSourceRequest */ botToken?: string; /** * Request access to send messages from your bot. * @type {boolean} * @memberof PatchedTelegramSourceRequest */ requestMessageAccess?: boolean; /** * Flow used before authentication. * @type {string} * @memberof PatchedTelegramSourceRequest */ preAuthenticationFlow?: string; } /** * Check if a given object implements the PatchedTelegramSourceRequest interface. */ export declare function instanceOfPatchedTelegramSourceRequest(value: object): value is PatchedTelegramSourceRequest; export declare function PatchedTelegramSourceRequestFromJSON(json: any): PatchedTelegramSourceRequest; export declare function PatchedTelegramSourceRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PatchedTelegramSourceRequest; export declare function PatchedTelegramSourceRequestToJSON(json: any): PatchedTelegramSourceRequest; export declare function PatchedTelegramSourceRequestToJSONTyped(value?: PatchedTelegramSourceRequest | null, ignoreDiscriminator?: boolean): any; //# sourceMappingURL=PatchedTelegramSourceRequest.d.ts.map