/** * Fabric API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * 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. */ import type { UserProfilePublic } from './UserProfilePublic'; import type { ResourceThumbnail } from './ResourceThumbnail'; import type { ResourceLabel } from './ResourceLabel'; import type { PresignedImage } from './PresignedImage'; import type { ResourcePublishedAncestorsInner } from './ResourcePublishedAncestorsInner'; import type { ResourceParent } from './ResourceParent'; import type { CommentWithAuthor } from './CommentWithAuthor'; import type { ResourceRoot } from './ResourceRoot'; import type { ResourceTagsInner } from './ResourceTagsInner'; import type { AssistantChat } from './AssistantChat'; import type { ProcessingState } from './ProcessingState'; /** * * @export * @interface CreateFile201Response */ export interface CreateFile201Response { /** * * @type {string} * @memberof CreateFile201Response */ 'id': string; /** * * @type {string} * @memberof CreateFile201Response */ 'kind': CreateFile201ResponseKindEnum; /** * * @type {string} * @memberof CreateFile201Response */ 'mimeType': string | null; /** * * @type {string} * @memberof CreateFile201Response */ 'extension': string | null; /** * * @type {string} * @memberof CreateFile201Response */ 'name': string | null; /** * * @type {string} * @memberof CreateFile201Response */ 'description': string | null; /** * * @type {number} * @memberof CreateFile201Response */ 'size': number | null; /** * * @type {string} * @memberof CreateFile201Response */ 'url': string; /** * * @type {CommentWithAuthor} * @memberof CreateFile201Response */ 'commentPinned': CommentWithAuthor | null; /** * * @type {ResourceLabel} * @memberof CreateFile201Response */ 'label': ResourceLabel | null; /** * * @type {ResourceParent} * @memberof CreateFile201Response */ 'parent': ResourceParent | null; /** * * @type {PresignedImage} * @memberof CreateFile201Response */ 'cover': PresignedImage | null; /** * * @type {UserProfilePublic} * @memberof CreateFile201Response */ 'user': UserProfilePublic | null; /** * * @type {ResourceRoot} * @memberof CreateFile201Response */ 'root': ResourceRoot | null; /** * * @type {ProcessingState} * @memberof CreateFile201Response */ 'stateProcessing': ProcessingState; /** * * @type {string} * @memberof CreateFile201Response */ 'originUrl': string | null; /** * * @type {Array} * @memberof CreateFile201Response */ 'tags': Array; /** * * @type {Array} * @memberof CreateFile201Response */ 'chats': Array; /** * * @type {ResourceThumbnail} * @memberof CreateFile201Response */ 'thumbnail': ResourceThumbnail | null; /** * * @type {string} * @memberof CreateFile201Response */ 'fileUrl': string | null; /** * * @type {{ [key: string]: object | null; }} * @memberof CreateFile201Response */ 'preferences': { [key: string]: object | null; } | null; /** * * @type {boolean} * @memberof CreateFile201Response */ 'isPasswordProtected'?: boolean; /** * * @type {boolean} * @memberof CreateFile201Response */ 'isLocked'?: boolean; /** * * @type {Array} * @memberof CreateFile201Response */ 'publishedAncestors'?: Array; /** * * @type {string} * @memberof CreateFile201Response */ 'createdAt': string; /** * * @type {string} * @memberof CreateFile201Response */ 'modifiedAt': string; /** * * @type {{ [key: string]: any | null; }} * @memberof CreateFile201Response */ 'data': { [key: string]: any | null; }; } /** * @export */ export declare const CreateFile201ResponseKindEnum: { readonly Default: "default"; }; export type CreateFile201ResponseKindEnum = typeof CreateFile201ResponseKindEnum[keyof typeof CreateFile201ResponseKindEnum]; /** * Check if a given object implements the CreateFile201Response interface. */ export declare function instanceOfCreateFile201Response(value: object): value is CreateFile201Response; export declare function CreateFile201ResponseFromJSON(json: any): CreateFile201Response; export declare function CreateFile201ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateFile201Response; export declare function CreateFile201ResponseToJSON(json: any): CreateFile201Response; export declare function CreateFile201ResponseToJSONTyped(value?: CreateFile201Response | null, ignoreDiscriminator?: boolean): any;