/** * SmartyMeet Dev03 API REST * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: 1.0.1 * Contact: developer@smartymeet.com * * 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 { FileAttributesSchemaPagesInner } from './FileAttributesSchemaPagesInner'; import type { ResourceTimestampsSchema } from './ResourceTimestampsSchema'; /** * * @export * @interface FileAttributesSchema */ export interface FileAttributesSchema { /** * * @type {string} * @memberof FileAttributesSchema */ name: string; /** * * @type {string} * @memberof FileAttributesSchema */ status?: string; /** * * @type {string} * @memberof FileAttributesSchema */ extension?: string; /** * * @type {string} * @memberof FileAttributesSchema */ shortCode?: string; /** * * @type {string} * @memberof FileAttributesSchema */ source?: string; /** * * @type {string} * @memberof FileAttributesSchema */ action?: string; /** * * @type {string} * @memberof FileAttributesSchema */ type?: string; /** * Renderer hint derived from contentType + conversion outputs. * Set by the file service after conversion. `unknown` for * content types with no preview pipeline. * @type {FileAttributesSchemaKindEnum} * @memberof FileAttributesSchema */ kind?: FileAttributesSchemaKindEnum; /** * BCP-47 code for the source content's primary language, * detected during AI extraction. Transcript language for * video/audio, document body language for PDF/image. * Stable per-file. Drives the translation pipeline: * AI extraction outputs canonical en-US, then the file AI * Lambda translates `summary` (and any future fields in * File.TRANSLATION_FIELDS) into the tenant's target locale. * Source content (transcript / rawText) stays verbatim in * this language - we only translate AI-derived synthesis text. * @type {string} * @memberof FileAttributesSchema */ detectedLanguage?: string; /** * File size in bytes. Stable post-upload. * @type {number} * @memberof FileAttributesSchema */ sizeBytes?: number; /** * Duration of media files (video/audio) in seconds. Set by ffmpeg conversion. Null for non-media. * @type {number} * @memberof FileAttributesSchema */ durationSeconds?: number; /** * Per-page metadata for paginated content (PDFs converted to * PNGs by Poppler, multi-page images). Stable structure ONLY - * dimensions, no content. The presigned URL for each page * render lives at `meta.previewUrls.pages[i]`, indexed by the * same position. Per-page text content lives in the result * JSON pointed at by `meta.resultRef`. Null for non-paginated * content. * @type {Array} * @memberof FileAttributesSchema */ pages?: Array | null; /** * Multilingual AI-generated summary, locale-keyed (e.g. * {"en-US": "...", "pl-PL": "..."}). Bounded by design (~1-2 * paragraphs, ~500 bytes per locale) so it fits cleanly on * the row and works in scan UIs / list views without an * extra fetch. Full transcript / raw OCR / per-page text are * NOT here - they live in the result JSON pointed at by * `meta.resultRef`. * @type {{ [key: string]: any; }} * @memberof FileAttributesSchema */ summary?: { [key: string]: any; } | null; /** * * @type {ResourceTimestampsSchema} * @memberof FileAttributesSchema */ timestamps?: ResourceTimestampsSchema; } /** * @export */ export declare const FileAttributesSchemaKindEnum: { readonly Image: "image"; readonly Pdf: "pdf"; readonly Video: "video"; readonly Audio: "audio"; readonly Text: "text"; readonly Unknown: "unknown"; }; export type FileAttributesSchemaKindEnum = typeof FileAttributesSchemaKindEnum[keyof typeof FileAttributesSchemaKindEnum]; /** * Check if a given object implements the FileAttributesSchema interface. */ export declare function instanceOfFileAttributesSchema(value: object): value is FileAttributesSchema; export declare function FileAttributesSchemaFromJSON(json: any): FileAttributesSchema; export declare function FileAttributesSchemaFromJSONTyped(json: any, ignoreDiscriminator: boolean): FileAttributesSchema; export declare function FileAttributesSchemaToJSON(json: any): FileAttributesSchema; export declare function FileAttributesSchemaToJSONTyped(value?: FileAttributesSchema | null, ignoreDiscriminator?: boolean): any; //# sourceMappingURL=FileAttributesSchema.d.ts.map