/* tslint:disable */ /* eslint-disable */ /** * Bandwidth * Bandwidth\'s Communication APIs * * The version of the OpenAPI document: 1.0.0 * Contact: letstalk@bandwidth.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ // May contain unused imports in some cases // @ts-ignore import type { CallDirectionEnum } from './call-direction-enum'; // May contain unused imports in some cases // @ts-ignore import type { FileFormatEnum } from './file-format-enum'; // May contain unused imports in some cases // @ts-ignore import type { RecordingTranscriptionMetadata } from './recording-transcription-metadata'; export interface CallRecordingMetadata { /** * The id of the application associated with the call. */ 'applicationId'?: string; /** * The user account associated with the call. */ 'accountId'?: string; /** * The call id associated with the event. */ 'callId'?: string; /** * (optional) If the event is related to the B leg of a , the call id of the original call leg that executed the . Otherwise, this field will not be present. */ 'parentCallId'?: string; /** * The unique ID of this recording */ 'recordingId'?: string; /** * The phone number that received the call, in E.164 format (e.g. +15555555555). */ 'to'?: string; /** * The provided identifier of the caller. Must be a phone number in E.164 format (e.g. +15555555555). */ 'from'?: string; /** * The phone number used as the from field of the B-leg call, in E.164 format (e.g. +15555555555). */ 'transferCallerId'?: string; /** * The phone number used as the to field of the B-leg call, in E.164 format (e.g. +15555555555). */ 'transferTo'?: string; /** * The duration of the recording in ISO-8601 format */ 'duration'?: string; 'direction'?: CallDirectionEnum; /** * Always `1` for conference recordings; multi-channel recordings are not supported on conferences. */ 'channels'?: number; /** * Time the call was started, in ISO 8601 format. */ 'startTime'?: string; /** * The time that the recording ended in ISO-8601 format */ 'endTime'?: string; 'fileFormat'?: FileFormatEnum; /** * The current status of the process. For recording, current possible values are \'processing\', \'partial\', \'complete\', \'deleted\', and \'error\'. For transcriptions, current possible values are \'none\', \'processing\', \'available\', \'error\', \'timeout\', \'file-size-too-big\', and \'file-size-too-small\'. Additional states may be added in the future, so your application must be tolerant of unknown values. */ 'status'?: string; /** * The URL that can be used to download the recording. Only present if the recording is finished and may be downloaded. */ 'mediaUrl'?: string | null; 'transcription'?: RecordingTranscriptionMetadata | null; /** * A name to identify this recording. */ 'recordingName'?: string; }