@@ -12,6 +12,8 @@ export enum VerificationJobStatusV1 {
1212 Created = 'Created' ,
1313 //The audio file is being downloaded and converted
1414 Downloading = 'Downloading' ,
15+ //The audio file is being checked for sections with any music in
16+ DetectingMusic = 'DetectingMusic' ,
1517 //The audio file currently being put through automatic song detection
1618 Matching = 'Matching' ,
1719 //The automatic matching has been completed, the license data will start downloading
@@ -24,6 +26,16 @@ export enum VerificationJobStatusV1 {
2426 Errored = 'Errored'
2527}
2628
29+ /**
30+ * Currently only audio will be returned, this may change in the future
31+ */
32+ export enum VerificationJobOutputFileTypeV1 {
33+ /**
34+ * Mp3 returned, Default and recommended
35+ */
36+ Audio = 'Audio'
37+ }
38+
2739export type VerificationJobLicenseDetailsV1 = z . infer < typeof verificationJobLicenseDetailsV1 >
2840export const verificationJobLicenseDetailsV1 = z . object ( {
2941 //The type of license that is being uploaded.
@@ -76,7 +88,11 @@ export const verificationJobCreateSchemaV1 = z.object({
7688 licenseDetails : verificationJobLicenseDetailsV1 . array ( ) ,
7789 //The type of verification job this is, this type will change how this job is displayed and which rights are required
7890 type : z . nativeEnum ( VerificationJobTypeV1 )
79- . default ( VerificationJobTypeV1 . Routine )
91+ . default ( VerificationJobTypeV1 . Routine ) ,
92+ //The desired output file from the created verification job.
93+ //If the input is an audio only file then the output will always be an mp3.
94+ outputFileType : z . nativeEnum ( VerificationJobOutputFileTypeV1 )
95+ . default ( VerificationJobOutputFileTypeV1 . Audio )
8096} ) ;
8197
8298export interface IVerificationJobV1 {
@@ -143,6 +159,11 @@ export interface IVerificationJobV1 {
143159 * The type of verification job this is, this type will change how this job is displayed and which rights are required
144160 */
145161 type : VerificationJobTypeV1
162+ /**
163+ * The type of file that is generated as an output from this job
164+ * Currently only audio is supported
165+ */
166+ outputFileType : VerificationJobOutputFileTypeV1
146167}
147168
148169/**
0 commit comments