/** * Linkbreakers API * This is a documentation of all the APIs of Linkbreakers * * The version of the OpenAPI document: 1.118.3 * * * 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 { MediaType } from './MediaType'; import type { MediaVisibility } from './MediaVisibility'; /** * Stores workspace-managed assets such as QR center logos or downloadable files that Linkbreakers signs and serves * alongside link experiences. * @export * @interface Media */ export interface Media { /** * * @type {Date} * @memberof Media */ readonly createdAt?: Date; /** * * @type {string} * @memberof Media */ fileName?: string; /** * * @type {string} * @memberof Media */ id?: string; /** * Supports CENTRAL_QRCODE_IMAGE (center logo for QR codes), BACKGROUND_COVER (background cover for page themes), and BADGE (badge image for page themes) * @type {MediaType} * @memberof Media */ mediaType?: MediaType; /** * * @type {string} * @memberof Media */ readonly mimeType?: string; /** * * @type {string} * @memberof Media */ signedUrl?: string; /** * * @type {string} * @memberof Media */ readonly size?: string; /** * * @type {Date} * @memberof Media */ readonly updatedAt?: Date; /** * The member who uploaded the file * If it was uploaded through the public API, or if the member was removed from the workspace, the uploaded_by will be null. * @type {string} * @memberof Media */ readonly uploadedBy?: string; /** * If not provided, the media file will be private to the workspace. * @type {MediaVisibility} * @memberof Media */ visibility?: MediaVisibility; /** * * @type {string} * @memberof Media */ workspaceId?: string; } /** * Check if a given object implements the Media interface. */ export declare function instanceOfMedia(value: object): value is Media; export declare function MediaFromJSON(json: any): Media; export declare function MediaFromJSONTyped(json: any, ignoreDiscriminator: boolean): Media; export declare function MediaToJSON(json: any): Media; export declare function MediaToJSONTyped(value?: Omit | null, ignoreDiscriminator?: boolean): any;