/** * Athena API * REST API for the Athena system * * The version of the OpenAPI document: 1.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ /** * * @export * @interface DailyQuizStatus */ export interface DailyQuizStatus { /** * True when the user has the enhanced-quizzing feature (daily quiz is offered). When false, chatId is always null. This does not mean "quiz already completed" — use chatId after checking featureEnabled. * @type {boolean} * @memberof DailyQuizStatus */ featureEnabled: boolean; /** * Id of today's daily-quiz chat in the user's timezone (see todayDate), if one exists. Null when featureEnabled is false, or when no daily-quiz chat exists yet for that calendar day. * @type {string} * @memberof DailyQuizStatus */ chatId: string | null; /** * True when today's daily-quiz chat exists and the quiz session has been completed. False when no chat exists, or when the quiz is still in progress. * @type {boolean} * @memberof DailyQuizStatus */ completed: boolean; /** * Human-readable calendar date for "today" in the user's timezone (e.g. for titling a new chat). Returned regardless of featureEnabled so clients can stay consistent with server-side date boundaries. * @type {string} * @memberof DailyQuizStatus */ todayDate: string; } /** * Check if a given object implements the DailyQuizStatus interface. */ export declare function instanceOfDailyQuizStatus(value: object): value is DailyQuizStatus; export declare function DailyQuizStatusFromJSON(json: any): DailyQuizStatus; export declare function DailyQuizStatusFromJSONTyped(json: any, ignoreDiscriminator: boolean): DailyQuizStatus; export declare function DailyQuizStatusToJSON(json: any): DailyQuizStatus; export declare function DailyQuizStatusToJSONTyped(value?: DailyQuizStatus | null, ignoreDiscriminator?: boolean): any;