{"version":3,"file":"types-Dy6QNBU2.js","sources":["../../../packs/frontend/services/fobizzToolsApi/models/GradeLevelEnum.ts","../../../packs/frontend/services/fobizzToolsApi/models/LanguageEnum.ts","../../../packs/frontend/services/fobizzToolsApi/models/LanguageLevelEnum.ts","../../../packs/frontend/services/fobizzToolsApi/models/SchoolTypeEnum.ts","../../../packs/frontend/services/fobizzToolsApi/models/SubjectTypeEnum.ts","../../../packs/frontend/services/fobizzToolsApi/models/WorksheetLanguageEnum.ts","../../../packs/frontend/types.ts"],"sourcesContent":["/* generated using openapi-typescript-codegen -- do not edit */\n/* istanbul ignore file */\n/* tslint:disable */\n/* eslint-disable */\nexport enum GradeLevelEnum {\n grade_level_1_2 = 1,\n grade_level_3_4 = 2,\n grade_level_lower = 3,\n grade_level_middle = 4,\n grade_level_high = 5,\n}\n","/* generated using openapi-typescript-codegen -- do not edit */\n/* istanbul ignore file */\n/* tslint:disable */\n/* eslint-disable */\nexport enum LanguageEnum {\n DE = 'de',\n EN = 'en',\n IT = 'it',\n ES = 'es',\n FR = 'fr',\n RU = 'ru',\n UA = 'ua',\n}\n","/* generated using openapi-typescript-codegen -- do not edit */\n/* istanbul ignore file */\n/* tslint:disable */\n/* eslint-disable */\nexport enum LanguageLevelEnum {\n A1 = 'A1',\n A2 = 'A2',\n B1 = 'B1',\n B2 = 'B2',\n C1 = 'C1',\n C2 = 'C2',\n}\n","/* generated using openapi-typescript-codegen -- do not edit */\n/* istanbul ignore file */\n/* tslint:disable */\n/* eslint-disable */\nexport enum SchoolTypeEnum {\n school_type_elementary_school = 1,\n school_type_special_school = 3,\n school_type_secondary_school = 2,\n school_type_academic_high_school = 4,\n school_type_vocational_school = 5,\n school_type_custom = 0,\n}\n","/* generated using openapi-typescript-codegen -- do not edit */\n/* istanbul ignore file */\n/* tslint:disable */\n/* eslint-disable */\nexport enum SubjectTypeEnum {\n subject_type_unspecific = 0,\n subject_type_math = 1,\n subject_type_german = 2,\n subject_type_chemistry = 4,\n subject_type_physics = 5,\n subject_type_biology = 6,\n subject_type_economy = 7,\n subject_type_history = 8,\n subject_type_politics = 9,\n subject_type_geographie = 10,\n subject_type_religion = 11,\n subject_type_ethics = 12,\n subject_type_philosophie = 13,\n subject_type_music = 14,\n subject_type_english = 15,\n subject_type_foreign_languages = 16,\n subject_type_personal_education = 17,\n subject_type_technology = 18,\n subject_type_natural_sciences = 19,\n subject_type_art = 20,\n subject_type_sport = 21,\n subject_type_computer_science = 22,\n subject_type_media = 23,\n subject_type_other = 24,\n subject_type_esl = 25,\n}\n","/* generated using openapi-typescript-codegen -- do not edit */\n/* istanbul ignore file */\n/* tslint:disable */\n/* eslint-disable */\nexport enum WorksheetLanguageEnum {\n DE = 'de',\n EN = 'en',\n IT = 'it',\n ES = 'es',\n FR = 'fr',\n RU = 'ru',\n UA = 'ua',\n}\n","import type { File } from \"@/services/fobizzToolsApi\";\nimport {\n GradeLevelEnum,\n SubjectTypeEnum,\n SchoolTypeEnum,\n WorksheetLanguageEnum,\n LanguageLevelEnum,\n AppEnum,\n AppNamespaceEnum,\n ConversationStyleEnum,\n LanguageEnum,\n StatusEnum,\n} from \"@/services/fobizzToolsApi\";\n\nexport interface UserInput {\n pseudonym?: string;\n llModel?: string;\n systemPrompt?: string;\n conversationStyle?: ConversationStyleEnum;\n}\n\nexport interface Subscriber {\n id: string;\n email: string;\n firstname: string;\n lastname: string;\n displayName: string;\n publicDisplayName: string;\n pseudonym: string;\n imageUrl: string;\n initials: string;\n visitor: boolean;\n}\n\nexport type StockImageProvider = \"pixabay\" | \"pexels\";\nexport type StockImageType = \"photo\" | \"illustration\" | \"vector\";\n\nexport interface StockImage {\n results: StockImageResult[];\n total: number;\n}\n\nexport interface StockImageResult {\n id: string;\n filename: string;\n width: number;\n height: number;\n urls: StockImageResultUrls;\n user: StockImageResultUser;\n pageUrl: string;\n}\n\nexport interface StockImageResultUrls {\n regular: string;\n thumb: string;\n}\n\nexport interface StockImageResultUser {\n id: string;\n username: string;\n url: string;\n}\n\nexport interface LinkPreview {\n title: string;\n description: string;\n url: string;\n error: string;\n images: string[];\n videos: string[];\n}\n\nexport interface RailsBlob {\n id: string;\n key: string;\n filename: string;\n content_type: string;\n byte_size: number;\n signed_id: string;\n}\n\nexport interface RouteRecord {\n name?: string;\n path: string;\n component?: Component;\n redirect?: string;\n}\n\nexport type ActionCableCallback = (\n action: string,\n userId: string,\n payload: string\n) => void;\n\nexport interface ActionCableData {\n payload: string;\n}\n\nexport interface ActionCableUserActionData extends ActionCableData {\n action: string;\n user_id: string;\n}\n\nexport interface ActionCableJobStatusData extends ActionCableUserActionData {\n status: StatusEnum;\n message?: string;\n exception?: string;\n progress?: number;\n stage?: string;\n name?: string;\n path?: string;\n}\n\nexport type ActionCableChannelPayload = {\n [key: string]: string | number | boolean;\n};\nexport type ActionCableSubscription = { unsubscribe: () => void };\n\nexport type DraggableEvent = {\n newIndex: number;\n item: {\n dataset: {\n id: string;\n };\n };\n added: {\n newIndex: number;\n element: HTMLElement;\n };\n moved: {\n newIndex: number;\n element: HTMLElement;\n };\n};\n\nexport const subjectTypeKeys = Object.values(SubjectTypeEnum).filter(\n Number.isInteger\n) as number[];\nexport const schoolTypeKeys = Object.values(SchoolTypeEnum).filter(\n Number.isInteger\n) as number[];\nexport const gradeLevelKeys = Object.values(GradeLevelEnum).filter(\n Number.isInteger\n) as number[];\nexport const languageLevelKeys = Object.values(LanguageLevelEnum) as string[];\nexport const worksheetLanguageKeys = Object.values(\n WorksheetLanguageEnum\n) as string[];\n\nexport type PaginatedItems = {\n collection: Array;\n totalPages: number;\n totalCount: number;\n currentPage: number;\n nextPage: number | null;\n prevPage: number | null;\n offsetValue: number;\n previousPagePath: string | null;\n nextPagePath: string | null;\n};\n\nexport interface TItemQueryKeys {\n all: () => readonly string[];\n lists: () => readonly string[];\n list: (page: Ref) => readonly (string | Ref)[];\n detail: (id: string) => readonly string[];\n}\n\nexport interface TItemRoutes {\n index: string;\n show: string;\n share: string;\n settings: string;\n}\n\nexport const LANGUAGES = [\"de\", \"en\", \"fr\", \"es\"] as const;\nexport type LanguageType = (typeof LANGUAGES)[number];\n\nexport const APP_NAMESPACES = [\n \"ai_image\",\n \"ai_speech_recognition\",\n \"worksheet\",\n \"classroom_screen\",\n \"pinboard\",\n \"surveys\",\n \"text_editor\",\n \"website\",\n \"video_recorder\",\n \"audio_recorder\",\n \"screen_recorder\",\n \"word_clouds\",\n \"link_shortener\",\n \"file_sharing\",\n \"qrcodes\",\n];\nexport type AppNamespace = (typeof APP_NAMESPACES)[number];\n\nexport interface Limits {\n maxItemsCount: number;\n maxRecordingLength?: number;\n}\n\nexport enum AccordionItems {\n Name = \"name\",\n RecommendedFor = \"recommended_for\",\n PrivacyLevel = \"privacy-level\",\n AutoCleanup = \"auto-cleanup\",\n}\n\nexport interface RailsInvalidRecordError {\n base: string[];\n [key: string]: string[];\n}\n\nexport interface AiCategory {\n filterType: string;\n value: string;\n icon: string;\n color: string;\n}\n\nexport interface FederatedSearch {\n myResults: FederatedSearchResult[];\n galleryResults: FederatedSearchResult[];\n}\n\nexport interface FederatedSearchResult {\n id: string;\n name: string;\n url: string;\n clientPath: string;\n shareUrl: string;\n icon: string;\n color: string;\n}\n\nexport enum ChartType {\n BAR = \"bar\",\n PIE = \"pie\",\n}\n\nexport interface UserPdf {\n id: string;\n title: string;\n url: string;\n file?: File;\n createdAt: string;\n updatedAt: string;\n}\n\nexport type TDeleteActionJobResponse = {\n kind: AppEnum;\n namespace: AppNamespaceEnum;\n id: string;\n tabId: string;\n};\n\nexport type TDuplicateActionJobResponse = {\n kind: AppEnum;\n namespace: AppNamespaceEnum;\n id: string;\n name: string;\n duplicateParentId: string;\n tabId: string;\n};\n\nexport type TClearDiscardedActionJobResponse = {\n tabId: string;\n};\n\nexport type TUppyUploadError = {\n name: string;\n message: string;\n details?: string;\n};\n\nexport const languageKeys = Object.values(LanguageEnum) as string[];\n\nexport const VoiceEnum = {\n openai_alloy: \"openai_alloy\",\n openai_echo: \"openai_echo\",\n openai_fable: \"openai_fable\",\n openai_onyx: \"openai_onyx\",\n openai_nova: \"openai_nova\",\n openai_shimmer: \"openai_shimmer\",\n elevenlabs_otto: \"elevenlabs_otto\",\n elevenlabs_petra: \"elevenlabs_petra\",\n} as const;\n\nexport type VoiceEnum = (typeof VoiceEnum)[keyof typeof VoiceEnum];\nexport const voices = Object.values(VoiceEnum) as string[];\n"],"names":["GradeLevelEnum","LanguageEnum","LanguageLevelEnum","SchoolTypeEnum","SubjectTypeEnum","WorksheetLanguageEnum","subjectTypeKeys","schoolTypeKeys","gradeLevelKeys","languageLevelKeys","worksheetLanguageKeys","LANGUAGES","AccordionItems","ChartType","VoiceEnum","voices"],"mappings":"0BAIY,IAAAA,GAAAA,IACRA,EAAAA,EAAA,gBAAkB,CAAlB,EAAA,kBACAA,EAAAA,EAAA,gBAAkB,CAAlB,EAAA,kBACAA,EAAAA,EAAA,kBAAoB,CAApB,EAAA,oBACAA,EAAAA,EAAA,mBAAqB,CAArB,EAAA,qBACAA,EAAAA,EAAA,iBAAmB,CAAnB,EAAA,mBALQA,IAAAA,GAAA,CAAA,CAAA,ECAAC,GAAAA,IACRA,EAAA,GAAK,KACLA,EAAA,GAAK,KACLA,EAAA,GAAK,KACLA,EAAA,GAAK,KACLA,EAAA,GAAK,KACLA,EAAA,GAAK,KACLA,EAAA,GAAK,KAPGA,IAAAA,GAAA,CAAA,CAAA,ECAAC,GAAAA,IACRA,EAAA,GAAK,KACLA,EAAA,GAAK,KACLA,EAAA,GAAK,KACLA,EAAA,GAAK,KACLA,EAAA,GAAK,KACLA,EAAA,GAAK,KANGA,IAAAA,GAAA,CAAA,CAAA,ECAAC,GAAAA,IACRA,EAAAA,EAAA,8BAAgC,CAAhC,EAAA,gCACAA,EAAAA,EAAA,2BAA6B,CAA7B,EAAA,6BACAA,EAAAA,EAAA,6BAA+B,CAA/B,EAAA,+BACAA,EAAAA,EAAA,iCAAmC,CAAnC,EAAA,mCACAA,EAAAA,EAAA,8BAAgC,CAAhC,EAAA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