/** * 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. */ /** * * @export * @interface UploadGuestAttemptFileRequestBody */ export interface UploadGuestAttemptFileRequestBody { /** * * @type {string} * @memberof UploadGuestAttemptFileRequestBody */ tenantId: string; /** * Per-attempt token (same value as meta.accessToken on other guest endpoints). * @type {string} * @memberof UploadGuestAttemptFileRequestBody */ accessToken: string; /** * * @type {string} * @memberof UploadGuestAttemptFileRequestBody */ attemptId: string; /** * Candidate-supplied file name (no path traversal). Used for the audit trail and extension fallback. * @type {string} * @memberof UploadGuestAttemptFileRequestBody */ fileName: string; /** * MIME type. Server prefers a known value (mapped to canonical extension) but accepts unknown types - file:process derives extension from fileName. * @type {string} * @memberof UploadGuestAttemptFileRequestBody */ contentType: string; /** * Optional question id this upload is for. Used for S3 key partitioning + downstream join hint; not auth-relevant. * @type {string} * @memberof UploadGuestAttemptFileRequestBody */ questionId?: string; /** * Optional client-measured recording duration in milliseconds. * Set by the candidate FE for video-recording / audio-recording * questions where MediaRecorder doesn't finalize the container's * Duration element. Used as a fallback when ffprobe / re-mux * can't derive duration from the file alone. Backend persists * it to attempt.meta.pendingUploads[fileKey] and surfaces it * via attempt:show -> fileRefs so the workflow's process_attachments * step forwards it to file:process; the file row then carries * attributes.durationSeconds + meta.durationSource='client' * until ffmpeg re-mux overwrites with a more reliable value. * @type {number} * @memberof UploadGuestAttemptFileRequestBody */ durationMs?: number; } /** * Check if a given object implements the UploadGuestAttemptFileRequestBody interface. */ export declare function instanceOfUploadGuestAttemptFileRequestBody(value: object): value is UploadGuestAttemptFileRequestBody; export declare function UploadGuestAttemptFileRequestBodyFromJSON(json: any): UploadGuestAttemptFileRequestBody; export declare function UploadGuestAttemptFileRequestBodyFromJSONTyped(json: any, ignoreDiscriminator: boolean): UploadGuestAttemptFileRequestBody; export declare function UploadGuestAttemptFileRequestBodyToJSON(json: any): UploadGuestAttemptFileRequestBody; export declare function UploadGuestAttemptFileRequestBodyToJSONTyped(value?: UploadGuestAttemptFileRequestBody | null, ignoreDiscriminator?: boolean): any; //# sourceMappingURL=UploadGuestAttemptFileRequestBody.d.ts.map