@@ -1291,176 +1291,169 @@ types:
12911291 source :
12921292 openapi : batch-openapi.json
12931293 Source :
1294- discriminated : false
1294+ discriminant : type
1295+ base-properties : {}
12951296 union :
1296- - SourceUrl
1297- - SourceFile
1298- - SourceTextSource
1297+ url : SourceUrl
1298+ file : SourceFile
1299+ text : SourceTextSource
12991300 source :
13001301 openapi : batch-openapi.json
13011302 SourceFile :
1302- properties :
1303- type : literal<"file">
1303+ properties : {}
13041304 extends :
13051305 - File
13061306 source :
13071307 openapi : batch-openapi.json
13081308 SourceTextSource :
1309- properties :
1310- type : literal<"text">
1309+ properties : {}
13111310 source :
13121311 openapi : batch-openapi.json
13131312 SourceUrl :
1314- properties :
1315- type : literal<"url">
1313+ properties : {}
13161314 extends :
13171315 - Url
13181316 source :
13191317 openapi : batch-openapi.json
1318+ Url :
1319+ properties :
1320+ url :
1321+ type : string
1322+ docs : The URL of the source media file.
1323+ source :
1324+ openapi : batch-openapi.json
13201325 StateEmbeddingGeneration :
1321- discriminated : false
1326+ discriminant : status
1327+ base-properties : {}
13221328 union :
1323- - StateEmbeddingGenerationQueued
1324- - StateEmbeddingGenerationInProgress
1325- - StateEmbeddingGenerationCompletedEmbeddingGeneration
1326- - StateEmbeddingGenerationFailed
1329+ QUEUED : StateEmbeddingGenerationQueued
1330+ IN_PROGRESS : StateEmbeddingGenerationInProgress
1331+ COMPLETED : StateEmbeddingGenerationCompletedEmbeddingGeneration
1332+ FAILED : StateEmbeddingGenerationFailed
13271333 source :
13281334 openapi : batch-openapi.json
13291335 StateEmbeddingGenerationCompletedEmbeddingGeneration :
1330- properties :
1331- status : literal<"COMPLETED">
1336+ properties : {}
13321337 extends :
13331338 - CompletedEmbeddingGeneration
13341339 source :
13351340 openapi : batch-openapi.json
13361341 StateEmbeddingGenerationFailed :
1337- properties :
1338- status : literal<"FAILED">
1342+ properties : {}
13391343 extends :
13401344 - Failed
13411345 source :
13421346 openapi : batch-openapi.json
13431347 StateEmbeddingGenerationInProgress :
1344- properties :
1345- status : literal<"IN_PROGRESS">
1348+ properties : {}
13461349 extends :
13471350 - InProgress
13481351 source :
13491352 openapi : batch-openapi.json
13501353 StateEmbeddingGenerationQueued :
1351- properties :
1352- status : literal<"QUEUED">
1354+ properties : {}
13531355 extends :
13541356 - Queued
13551357 source :
13561358 openapi : batch-openapi.json
13571359 StateInference :
1358- discriminated : false
1360+ discriminant : status
1361+ base-properties : {}
13591362 union :
1360- - QueuedState
1361- - InProgressState
1362- - CompletedState
1363- - FailedState
1363+ QUEUED : QueuedState
1364+ IN_PROGRESS : InProgressState
1365+ COMPLETED : CompletedState
1366+ FAILED : FailedState
13641367 source :
13651368 openapi : batch-openapi.json
13661369 CompletedState :
1367- properties :
1368- status : literal<"COMPLETED">
1370+ properties : {}
13691371 extends :
13701372 - CompletedInference
13711373 source :
13721374 openapi : batch-openapi.json
13731375 FailedState :
1374- properties :
1375- status : literal<"FAILED">
1376+ properties : {}
13761377 extends :
13771378 - Failed
13781379 source :
13791380 openapi : batch-openapi.json
13801381 InProgressState :
1381- properties :
1382- status : literal<"IN_PROGRESS">
1382+ properties : {}
13831383 extends :
13841384 - InProgress
13851385 source :
13861386 openapi : batch-openapi.json
13871387 QueuedState :
1388- properties :
1389- status : literal<"QUEUED">
1388+ properties : {}
13901389 extends :
13911390 - Queued
13921391 source :
13931392 openapi : batch-openapi.json
13941393 StateTlInference :
1395- discriminated : false
1394+ discriminant : status
1395+ base-properties : {}
13961396 union :
1397- - StateTlInferenceQueued
1398- - StateTlInferenceInProgress
1399- - StateTlInferenceCompletedTlInference
1400- - StateTlInferenceFailed
1397+ QUEUED : StateTlInferenceQueued
1398+ IN_PROGRESS : StateTlInferenceInProgress
1399+ COMPLETED : StateTlInferenceCompletedTlInference
1400+ FAILED : StateTlInferenceFailed
14011401 source :
14021402 openapi : batch-openapi.json
14031403 StateTlInferenceCompletedTlInference :
1404- properties :
1405- status : literal<"COMPLETED">
1404+ properties : {}
14061405 extends :
14071406 - CompletedTlInference
14081407 source :
14091408 openapi : batch-openapi.json
14101409 StateTlInferenceFailed :
1411- properties :
1412- status : literal<"FAILED">
1410+ properties : {}
14131411 extends :
14141412 - Failed
14151413 source :
14161414 openapi : batch-openapi.json
14171415 StateTlInferenceInProgress :
1418- properties :
1419- status : literal<"IN_PROGRESS">
1416+ properties : {}
14201417 extends :
14211418 - InProgress
14221419 source :
14231420 openapi : batch-openapi.json
14241421 StateTlInferenceQueued :
1425- properties :
1426- status : literal<"QUEUED">
1422+ properties : {}
14271423 extends :
14281424 - Queued
14291425 source :
14301426 openapi : batch-openapi.json
14311427 StateTraining :
1432- discriminated : false
1428+ discriminant : status
1429+ base-properties : {}
14331430 union :
1434- - StateTrainingQueued
1435- - StateTrainingInProgress
1436- - StateTrainingCompletedTraining
1437- - StateTrainingFailed
1431+ QUEUED : StateTrainingQueued
1432+ IN_PROGRESS : StateTrainingInProgress
1433+ COMPLETED : StateTrainingCompletedTraining
1434+ FAILED : StateTrainingFailed
14381435 source :
14391436 openapi : batch-openapi.json
14401437 StateTrainingCompletedTraining :
1441- properties :
1442- status : literal<"COMPLETED">
1438+ properties : {}
14431439 extends :
14441440 - CompletedTraining
14451441 source :
14461442 openapi : batch-openapi.json
14471443 StateTrainingFailed :
1448- properties :
1449- status : literal<"FAILED">
1444+ properties : {}
14501445 extends :
14511446 - Failed
14521447 source :
14531448 openapi : batch-openapi.json
14541449 StateTrainingInProgress :
1455- properties :
1456- status : literal<"IN_PROGRESS">
1450+ properties : {}
14571451 extends :
14581452 - InProgress
14591453 source :
14601454 openapi : batch-openapi.json
14611455 StateTrainingQueued :
1462- properties :
1463- status : literal<"QUEUED">
1456+ properties : {}
14641457 extends :
14651458 - Queued
14661459 source :
@@ -1512,20 +1505,19 @@ types:
15121505 source :
15131506 openapi : batch-openapi.json
15141507 Task :
1515- discriminated : false
1508+ discriminant : type
1509+ base-properties : {}
15161510 union :
1517- - TaskClassification
1518- - TaskRegression
1511+ classification : TaskClassification
1512+ regression : TaskRegression
15191513 source :
15201514 openapi : batch-openapi.json
15211515 TaskClassification :
1522- properties :
1523- type : literal<"classification">
1516+ properties : {}
15241517 source :
15251518 openapi : batch-openapi.json
15261519 TaskRegression :
1527- properties :
1528- type : literal<"regression">
1520+ properties : {}
15291521 source :
15301522 openapi : batch-openapi.json
15311523 TextSource : map<string, unknown>
@@ -1770,13 +1762,6 @@ types:
17701762 source :
17711763 openapi : batch-openapi.json
17721764 UnionPredictResult : InferenceSourcePredictResult
1773- Url :
1774- properties :
1775- url :
1776- type : string
1777- docs : The URL of the source media file.
1778- source :
1779- openapi : batch-openapi.json
17801765 ValidationArgs :
17811766 properties :
17821767 positive_label : optional<Target>
0 commit comments