twelvelabs-js 1.2.2 → 1.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Client.d.ts +2 -0
- package/Client.js +4 -2
- package/README.md +20 -1
- package/api/client/requests/AnalyzeRequest.d.ts +1 -1
- package/api/client/requests/AnalyzeStreamRequest.d.ts +1 -1
- package/api/errors/ConflictError.d.ts +1 -2
- package/api/errors/index.d.ts +1 -1
- package/api/errors/index.js +1 -1
- package/api/resources/analyzeAsync/resources/tasks/client/Client.d.ts +39 -2
- package/api/resources/analyzeAsync/resources/tasks/client/Client.js +54 -13
- package/api/resources/analyzeAsync/resources/tasks/client/requests/CreateAsyncAnalyzeRequest.d.ts +74 -3
- package/api/resources/analyzeAsync/resources/tasks/client/requests/TasksListRequest.d.ts +26 -1
- package/api/resources/analyzeAsync/resources/tasks/types/CreateAsyncAnalyzeRequestAnalysisMode.d.ts +10 -0
- package/api/resources/analyzeAsync/resources/tasks/types/CreateAsyncAnalyzeRequestAnalysisMode.js +9 -0
- package/api/resources/analyzeAsync/resources/tasks/types/CreateAsyncAnalyzeRequestModelName.d.ts +13 -0
- package/api/resources/analyzeAsync/resources/tasks/types/CreateAsyncAnalyzeRequestModelName.js +10 -0
- package/api/resources/analyzeAsync/resources/tasks/types/TasksListRequestAnalysisMode.d.ts +7 -0
- package/api/resources/analyzeAsync/resources/tasks/types/TasksListRequestAnalysisMode.js +9 -0
- package/api/resources/analyzeAsync/resources/tasks/types/index.d.ts +3 -0
- package/api/resources/analyzeAsync/resources/tasks/types/index.js +3 -0
- package/api/resources/assets/client/Client.d.ts +17 -6
- package/api/resources/assets/client/Client.js +41 -13
- package/api/resources/assets/client/requests/AssetsCreateRequest.d.ts +13 -1
- package/api/resources/assets/client/requests/AssetsDeleteRequest.d.ts +17 -0
- package/api/resources/assets/client/requests/AssetsListRequest.d.ts +6 -1
- package/api/resources/assets/client/requests/index.d.ts +1 -0
- package/api/resources/assets/types/AssetsListResponse.d.ts +1 -1
- package/api/resources/embed/client/Client.js +1 -1
- package/api/resources/embed/resources/tasks/client/Client.d.ts +1 -1
- package/api/resources/embed/resources/tasks/client/Client.js +5 -5
- package/api/resources/embed/resources/v2/client/Client.js +1 -1
- package/api/resources/embed/resources/v2/resources/tasks/client/Client.d.ts +12 -2
- package/api/resources/embed/resources/v2/resources/tasks/client/Client.js +15 -5
- package/api/resources/entityCollections/client/Client.js +5 -5
- package/api/resources/entityCollections/resources/entities/client/Client.d.ts +16 -0
- package/api/resources/entityCollections/resources/entities/client/Client.js +100 -9
- package/api/resources/entityCollections/resources/entities/client/requests/EntitiesListByAssetRequest.d.ts +25 -0
- package/api/resources/entityCollections/resources/entities/client/requests/index.d.ts +1 -0
- package/api/resources/entityCollections/resources/entities/types/EntitiesListByAssetResponse.d.ts +9 -0
- package/api/resources/entityCollections/resources/entities/types/EntitiesListByAssetResponse.js +5 -0
- package/api/resources/entityCollections/resources/entities/types/index.d.ts +1 -0
- package/api/resources/entityCollections/resources/entities/types/index.js +1 -0
- package/api/resources/indexes/client/Client.js +5 -5
- package/api/resources/indexes/resources/indexedAssets/client/Client.d.ts +16 -5
- package/api/resources/indexes/resources/indexedAssets/client/Client.js +126 -15
- package/api/resources/indexes/resources/indexedAssets/client/requests/IndexedAssetsCreateRequest.d.ts +1 -1
- package/api/resources/indexes/resources/indexedAssets/client/requests/IndexedAssetsListByAssetRequest.d.ts +25 -0
- package/api/resources/indexes/resources/indexedAssets/client/requests/IndexedAssetsListByAssetRequest.js +5 -0
- package/api/resources/indexes/resources/indexedAssets/client/requests/IndexedAssetsListRequest.d.ts +15 -15
- package/api/resources/indexes/resources/indexedAssets/client/requests/index.d.ts +1 -0
- package/api/resources/indexes/resources/indexedAssets/types/IndexedAssetsCreateResponse.d.ts +2 -0
- package/api/resources/indexes/resources/indexedAssets/types/IndexedAssetsListByAssetResponse.d.ts +9 -0
- package/api/resources/indexes/resources/indexedAssets/types/IndexedAssetsListByAssetResponse.js +5 -0
- package/api/resources/indexes/resources/indexedAssets/types/index.d.ts +1 -0
- package/api/resources/indexes/resources/indexedAssets/types/index.js +1 -0
- package/api/resources/indexes/resources/videos/client/Client.d.ts +0 -5
- package/api/resources/indexes/resources/videos/client/Client.js +35 -15
- package/api/resources/indexes/resources/videos/client/requests/VideosListRequest.d.ts +15 -15
- package/api/resources/multipartUpload/client/Client.d.ts +2 -2
- package/api/resources/multipartUpload/client/Client.js +7 -7
- package/api/resources/multipartUpload/client/requests/CreateAssetUploadRequest.d.ts +12 -0
- package/api/resources/search/client/Client.js +2 -2
- package/api/resources/tasks/client/Client.js +4 -4
- package/api/resources/tasks/resources/transfers/client/Client.js +3 -3
- package/api/types/AnalyzeTaskResponse.d.ts +4 -0
- package/api/types/AnalyzeTaskResponseRequestParams.d.ts +21 -0
- package/api/types/AnalyzeTaskResponseRequestParams.js +5 -0
- package/api/types/AnalyzeTaskResponseRequestParamsAnalysisMode.d.ts +11 -0
- package/api/types/AnalyzeTaskResponseRequestParamsAnalysisMode.js +10 -0
- package/api/types/AnalyzeTaskResponseRequestParamsResponseFormat.d.ts +11 -0
- package/api/types/AnalyzeTaskResponseRequestParamsResponseFormat.js +5 -0
- package/api/types/AnalyzeTaskResponseRequestParamsResponseFormatSegmentDefinitionsItem.d.ts +10 -0
- package/api/types/AnalyzeTaskResponseRequestParamsResponseFormatSegmentDefinitionsItem.js +5 -0
- package/api/types/AnalyzeTaskResponseRequestParamsResponseFormatSegmentDefinitionsItemFieldsItem.d.ts +11 -0
- package/api/types/AnalyzeTaskResponseRequestParamsResponseFormatSegmentDefinitionsItemFieldsItem.js +5 -0
- package/api/types/AnalyzeTaskResponseRequestParamsResponseFormatSegmentDefinitionsItemFieldsItemItems.d.ts +6 -0
- package/api/types/AnalyzeTaskResponseRequestParamsResponseFormatSegmentDefinitionsItemFieldsItemItems.js +5 -0
- package/api/types/AnalyzeTaskResponseRequestParamsResponseFormatSegmentDefinitionsItemMediaSourcesItem.d.ts +9 -0
- package/api/types/AnalyzeTaskResponseRequestParamsResponseFormatSegmentDefinitionsItemMediaSourcesItem.js +5 -0
- package/api/types/AnalyzeTaskResponseRequestParamsResponseFormatType.d.ts +8 -0
- package/api/types/AnalyzeTaskResponseRequestParamsResponseFormatType.js +10 -0
- package/api/types/AnalyzeTaskResponseVideoSource.d.ts +19 -0
- package/api/types/AnalyzeTaskResponseVideoSource.js +5 -0
- package/api/types/AnalyzeTaskResponseVideoSourceSystemMetadata.d.ts +10 -0
- package/api/types/AnalyzeTaskResponseVideoSourceSystemMetadata.js +5 -0
- package/api/types/AnalyzeTaskResponseVideoSourceType.d.ts +13 -0
- package/api/types/AnalyzeTaskResponseVideoSourceType.js +12 -0
- package/api/types/AnalyzeTaskResult.d.ts +10 -1
- package/api/types/Asset.d.ts +5 -0
- package/api/types/AssetDetail.d.ts +11 -0
- package/api/types/AssetDetail.js +5 -0
- package/api/types/AssetHls.d.ts +21 -0
- package/api/types/AssetHls.js +5 -0
- package/api/types/AssetHlsStatus.d.ts +19 -0
- package/api/types/AssetHlsStatus.js +12 -0
- package/api/types/AssetMethod.d.ts +3 -1
- package/api/types/AssetMethod.js +1 -0
- package/api/types/AssetThumbnail.d.ts +21 -0
- package/api/types/AssetThumbnail.js +5 -0
- package/api/types/AssetThumbnailStatus.d.ts +19 -0
- package/api/types/AssetThumbnailStatus.js +12 -0
- package/api/types/AsyncResponseFormat.d.ts +89 -0
- package/api/types/AsyncResponseFormat.js +5 -0
- package/api/types/AsyncResponseFormatType.d.ts +13 -0
- package/api/types/AsyncResponseFormatType.js +10 -0
- package/api/types/ConflictErrorBody.d.ts +11 -0
- package/api/types/ConflictErrorBody.js +5 -0
- package/api/types/Entity.d.ts +2 -0
- package/api/types/IndexedAsset.d.ts +2 -0
- package/api/types/IndexedAssetSummary.d.ts +12 -0
- package/api/types/IndexedAssetSummary.js +5 -0
- package/api/types/IndexedAssetSummaryIndex.d.ts +12 -0
- package/api/types/IndexedAssetSummaryIndex.js +5 -0
- package/api/types/IndexedAssetsListRequestDuration.d.ts +7 -0
- package/api/types/IndexedAssetsListRequestDuration.js +5 -0
- package/api/types/IndexedAssetsListRequestFps.d.ts +7 -0
- package/api/types/IndexedAssetsListRequestFps.js +5 -0
- package/api/types/IndexedAssetsListRequestHeight.d.ts +7 -0
- package/api/types/IndexedAssetsListRequestHeight.js +5 -0
- package/api/types/IndexedAssetsListRequestSize.d.ts +7 -0
- package/api/types/IndexedAssetsListRequestSize.js +5 -0
- package/api/types/IndexedAssetsListRequestWidth.d.ts +7 -0
- package/api/types/IndexedAssetsListRequestWidth.js +5 -0
- package/api/types/InternalEntity.d.ts +23 -1
- package/api/types/MediaSource.d.ts +1 -1
- package/api/types/One.d.ts +1 -1
- package/api/types/SegmentDefinition.d.ts +17 -0
- package/api/types/SegmentDefinition.js +5 -0
- package/api/types/SegmentField.d.ts +19 -0
- package/api/types/SegmentField.js +5 -0
- package/api/types/SegmentFieldItems.d.ts +10 -0
- package/api/types/SegmentFieldItems.js +5 -0
- package/api/types/SegmentFieldItemsType.d.ts +10 -0
- package/api/types/SegmentFieldItemsType.js +12 -0
- package/api/types/SegmentFieldType.d.ts +14 -0
- package/api/types/SegmentFieldType.js +13 -0
- package/api/types/SmeMediaSource.d.ts +19 -0
- package/api/types/SmeMediaSource.js +5 -0
- package/api/types/SmeMediaSourceMediaType.d.ts +10 -0
- package/api/types/SmeMediaSourceMediaType.js +9 -0
- package/api/types/{ResponseFormat.d.ts → SyncResponseFormat.d.ts} +2 -2
- package/api/types/SyncResponseFormat.js +5 -0
- package/{dist/api/types/ResponseFormatType.d.ts → api/types/SyncResponseFormatType.d.ts} +2 -2
- package/{dist/api/types/ResponseFormatType.js → api/types/SyncResponseFormatType.js} +2 -2
- package/api/types/VideosListRequestDuration.d.ts +7 -0
- package/api/types/VideosListRequestDuration.js +5 -0
- package/api/types/VideosListRequestFps.d.ts +7 -0
- package/api/types/VideosListRequestFps.js +5 -0
- package/api/types/VideosListRequestHeight.d.ts +7 -0
- package/api/types/VideosListRequestHeight.js +5 -0
- package/api/types/VideosListRequestSize.d.ts +7 -0
- package/api/types/VideosListRequestSize.js +5 -0
- package/api/types/VideosListRequestWidth.d.ts +7 -0
- package/api/types/VideosListRequestWidth.js +5 -0
- package/api/types/index.d.ts +40 -2
- package/api/types/index.js +40 -2
- package/dist/Client.d.ts +2 -0
- package/dist/Client.js +4 -2
- package/dist/api/client/requests/AnalyzeRequest.d.ts +1 -1
- package/dist/api/client/requests/AnalyzeStreamRequest.d.ts +1 -1
- package/dist/api/errors/ConflictError.d.ts +1 -2
- package/dist/api/errors/index.d.ts +1 -1
- package/dist/api/errors/index.js +1 -1
- package/dist/api/resources/analyzeAsync/resources/tasks/client/Client.d.ts +39 -2
- package/dist/api/resources/analyzeAsync/resources/tasks/client/Client.js +54 -13
- package/dist/api/resources/analyzeAsync/resources/tasks/client/requests/CreateAsyncAnalyzeRequest.d.ts +74 -3
- package/dist/api/resources/analyzeAsync/resources/tasks/client/requests/TasksListRequest.d.ts +26 -1
- package/dist/api/resources/analyzeAsync/resources/tasks/types/CreateAsyncAnalyzeRequestAnalysisMode.d.ts +10 -0
- package/dist/api/resources/analyzeAsync/resources/tasks/types/CreateAsyncAnalyzeRequestAnalysisMode.js +9 -0
- package/dist/api/resources/analyzeAsync/resources/tasks/types/CreateAsyncAnalyzeRequestModelName.d.ts +13 -0
- package/dist/api/resources/analyzeAsync/resources/tasks/types/CreateAsyncAnalyzeRequestModelName.js +10 -0
- package/dist/api/resources/analyzeAsync/resources/tasks/types/TasksListRequestAnalysisMode.d.ts +7 -0
- package/dist/api/resources/analyzeAsync/resources/tasks/types/TasksListRequestAnalysisMode.js +9 -0
- package/dist/api/resources/analyzeAsync/resources/tasks/types/index.d.ts +3 -0
- package/dist/api/resources/analyzeAsync/resources/tasks/types/index.js +3 -0
- package/dist/api/resources/assets/client/Client.d.ts +17 -6
- package/dist/api/resources/assets/client/Client.js +41 -13
- package/dist/api/resources/assets/client/requests/AssetsCreateRequest.d.ts +13 -1
- package/dist/api/resources/assets/client/requests/AssetsDeleteRequest.d.ts +17 -0
- package/dist/api/resources/assets/client/requests/AssetsDeleteRequest.js +5 -0
- package/dist/api/resources/assets/client/requests/AssetsListRequest.d.ts +6 -1
- package/dist/api/resources/assets/client/requests/index.d.ts +1 -0
- package/dist/api/resources/assets/types/AssetsListResponse.d.ts +1 -1
- package/dist/api/resources/embed/client/Client.js +1 -1
- package/dist/api/resources/embed/resources/tasks/client/Client.d.ts +1 -1
- package/dist/api/resources/embed/resources/tasks/client/Client.js +5 -5
- package/dist/api/resources/embed/resources/v2/client/Client.js +1 -1
- package/dist/api/resources/embed/resources/v2/resources/tasks/client/Client.d.ts +12 -2
- package/dist/api/resources/embed/resources/v2/resources/tasks/client/Client.js +15 -5
- package/dist/api/resources/entityCollections/client/Client.js +5 -5
- package/dist/api/resources/entityCollections/resources/entities/client/Client.d.ts +16 -0
- package/dist/api/resources/entityCollections/resources/entities/client/Client.js +100 -9
- package/dist/api/resources/entityCollections/resources/entities/client/requests/EntitiesListByAssetRequest.d.ts +25 -0
- package/dist/api/resources/entityCollections/resources/entities/client/requests/EntitiesListByAssetRequest.js +5 -0
- package/dist/api/resources/entityCollections/resources/entities/client/requests/index.d.ts +1 -0
- package/dist/api/resources/entityCollections/resources/entities/types/EntitiesListByAssetResponse.d.ts +9 -0
- package/dist/api/resources/entityCollections/resources/entities/types/EntitiesListByAssetResponse.js +5 -0
- package/dist/api/resources/entityCollections/resources/entities/types/index.d.ts +1 -0
- package/dist/api/resources/entityCollections/resources/entities/types/index.js +1 -0
- package/dist/api/resources/indexes/client/Client.js +5 -5
- package/dist/api/resources/indexes/resources/indexedAssets/client/Client.d.ts +16 -5
- package/dist/api/resources/indexes/resources/indexedAssets/client/Client.js +126 -15
- package/dist/api/resources/indexes/resources/indexedAssets/client/requests/IndexedAssetsCreateRequest.d.ts +1 -1
- package/dist/api/resources/indexes/resources/indexedAssets/client/requests/IndexedAssetsListByAssetRequest.d.ts +25 -0
- package/dist/api/resources/indexes/resources/indexedAssets/client/requests/IndexedAssetsListByAssetRequest.js +5 -0
- package/dist/api/resources/indexes/resources/indexedAssets/client/requests/IndexedAssetsListRequest.d.ts +15 -15
- package/dist/api/resources/indexes/resources/indexedAssets/client/requests/index.d.ts +1 -0
- package/dist/api/resources/indexes/resources/indexedAssets/types/IndexedAssetsCreateResponse.d.ts +2 -0
- package/dist/api/resources/indexes/resources/indexedAssets/types/IndexedAssetsListByAssetResponse.d.ts +9 -0
- package/dist/api/resources/indexes/resources/indexedAssets/types/IndexedAssetsListByAssetResponse.js +5 -0
- package/dist/api/resources/indexes/resources/indexedAssets/types/index.d.ts +1 -0
- package/dist/api/resources/indexes/resources/indexedAssets/types/index.js +1 -0
- package/dist/api/resources/indexes/resources/videos/client/Client.d.ts +0 -5
- package/dist/api/resources/indexes/resources/videos/client/Client.js +35 -15
- package/dist/api/resources/indexes/resources/videos/client/requests/VideosListRequest.d.ts +15 -15
- package/dist/api/resources/multipartUpload/client/Client.d.ts +2 -2
- package/dist/api/resources/multipartUpload/client/Client.js +7 -7
- package/dist/api/resources/multipartUpload/client/requests/CreateAssetUploadRequest.d.ts +12 -0
- package/dist/api/resources/search/client/Client.js +2 -2
- package/dist/api/resources/tasks/client/Client.js +4 -4
- package/dist/api/resources/tasks/resources/transfers/client/Client.js +3 -3
- package/dist/api/types/AnalyzeTaskResponse.d.ts +4 -0
- package/dist/api/types/AnalyzeTaskResponseRequestParams.d.ts +21 -0
- package/dist/api/types/AnalyzeTaskResponseRequestParams.js +5 -0
- package/dist/api/types/AnalyzeTaskResponseRequestParamsAnalysisMode.d.ts +11 -0
- package/dist/api/types/AnalyzeTaskResponseRequestParamsAnalysisMode.js +10 -0
- package/dist/api/types/AnalyzeTaskResponseRequestParamsResponseFormat.d.ts +11 -0
- package/dist/api/types/AnalyzeTaskResponseRequestParamsResponseFormat.js +5 -0
- package/dist/api/types/AnalyzeTaskResponseRequestParamsResponseFormatSegmentDefinitionsItem.d.ts +10 -0
- package/dist/api/types/AnalyzeTaskResponseRequestParamsResponseFormatSegmentDefinitionsItem.js +5 -0
- package/dist/api/types/AnalyzeTaskResponseRequestParamsResponseFormatSegmentDefinitionsItemFieldsItem.d.ts +11 -0
- package/dist/api/types/AnalyzeTaskResponseRequestParamsResponseFormatSegmentDefinitionsItemFieldsItem.js +5 -0
- package/dist/api/types/AnalyzeTaskResponseRequestParamsResponseFormatSegmentDefinitionsItemFieldsItemItems.d.ts +6 -0
- package/dist/api/types/AnalyzeTaskResponseRequestParamsResponseFormatSegmentDefinitionsItemFieldsItemItems.js +5 -0
- package/dist/api/types/AnalyzeTaskResponseRequestParamsResponseFormatSegmentDefinitionsItemMediaSourcesItem.d.ts +9 -0
- package/dist/api/types/AnalyzeTaskResponseRequestParamsResponseFormatSegmentDefinitionsItemMediaSourcesItem.js +5 -0
- package/dist/api/types/AnalyzeTaskResponseRequestParamsResponseFormatType.d.ts +8 -0
- package/dist/api/types/AnalyzeTaskResponseRequestParamsResponseFormatType.js +10 -0
- package/dist/api/types/AnalyzeTaskResponseVideoSource.d.ts +19 -0
- package/dist/api/types/AnalyzeTaskResponseVideoSource.js +5 -0
- package/dist/api/types/AnalyzeTaskResponseVideoSourceSystemMetadata.d.ts +10 -0
- package/dist/api/types/AnalyzeTaskResponseVideoSourceSystemMetadata.js +5 -0
- package/dist/api/types/AnalyzeTaskResponseVideoSourceType.d.ts +13 -0
- package/dist/api/types/AnalyzeTaskResponseVideoSourceType.js +12 -0
- package/dist/api/types/AnalyzeTaskResult.d.ts +10 -1
- package/dist/api/types/Asset.d.ts +5 -0
- package/dist/api/types/AssetDetail.d.ts +11 -0
- package/dist/api/types/AssetDetail.js +5 -0
- package/dist/api/types/AssetHls.d.ts +21 -0
- package/dist/api/types/AssetHls.js +5 -0
- package/dist/api/types/AssetHlsStatus.d.ts +19 -0
- package/dist/api/types/AssetHlsStatus.js +12 -0
- package/dist/api/types/AssetMethod.d.ts +3 -1
- package/dist/api/types/AssetMethod.js +1 -0
- package/dist/api/types/AssetThumbnail.d.ts +21 -0
- package/dist/api/types/AssetThumbnail.js +5 -0
- package/dist/api/types/AssetThumbnailStatus.d.ts +19 -0
- package/dist/api/types/AssetThumbnailStatus.js +12 -0
- package/dist/api/types/AsyncResponseFormat.d.ts +89 -0
- package/dist/api/types/AsyncResponseFormat.js +5 -0
- package/dist/api/types/AsyncResponseFormatType.d.ts +13 -0
- package/dist/api/types/AsyncResponseFormatType.js +10 -0
- package/dist/api/types/ConflictErrorBody.d.ts +11 -0
- package/dist/api/types/ConflictErrorBody.js +5 -0
- package/dist/api/types/Entity.d.ts +2 -0
- package/dist/api/types/IndexedAsset.d.ts +2 -0
- package/dist/api/types/IndexedAssetSummary.d.ts +12 -0
- package/dist/api/types/IndexedAssetSummary.js +5 -0
- package/dist/api/types/IndexedAssetSummaryIndex.d.ts +12 -0
- package/dist/api/types/IndexedAssetSummaryIndex.js +5 -0
- package/dist/api/types/IndexedAssetsListRequestDuration.d.ts +7 -0
- package/dist/api/types/IndexedAssetsListRequestDuration.js +5 -0
- package/dist/api/types/IndexedAssetsListRequestFps.d.ts +7 -0
- package/dist/api/types/IndexedAssetsListRequestFps.js +5 -0
- package/dist/api/types/IndexedAssetsListRequestHeight.d.ts +7 -0
- package/dist/api/types/IndexedAssetsListRequestHeight.js +5 -0
- package/dist/api/types/IndexedAssetsListRequestSize.d.ts +7 -0
- package/dist/api/types/IndexedAssetsListRequestSize.js +5 -0
- package/dist/api/types/IndexedAssetsListRequestWidth.d.ts +7 -0
- package/dist/api/types/IndexedAssetsListRequestWidth.js +5 -0
- package/dist/api/types/InternalEntity.d.ts +23 -1
- package/dist/api/types/MediaSource.d.ts +1 -1
- package/dist/api/types/One.d.ts +1 -1
- package/dist/api/types/SegmentDefinition.d.ts +17 -0
- package/dist/api/types/SegmentDefinition.js +5 -0
- package/dist/api/types/SegmentField.d.ts +19 -0
- package/dist/api/types/SegmentField.js +5 -0
- package/dist/api/types/SegmentFieldItems.d.ts +10 -0
- package/dist/api/types/SegmentFieldItems.js +5 -0
- package/dist/api/types/SegmentFieldItemsType.d.ts +10 -0
- package/dist/api/types/SegmentFieldItemsType.js +12 -0
- package/dist/api/types/SegmentFieldType.d.ts +14 -0
- package/dist/api/types/SegmentFieldType.js +13 -0
- package/dist/api/types/SmeMediaSource.d.ts +19 -0
- package/dist/api/types/SmeMediaSource.js +5 -0
- package/dist/api/types/SmeMediaSourceMediaType.d.ts +10 -0
- package/dist/api/types/SmeMediaSourceMediaType.js +9 -0
- package/dist/api/types/{ResponseFormat.d.ts → SyncResponseFormat.d.ts} +2 -2
- package/dist/api/types/SyncResponseFormat.js +5 -0
- package/{api/types/ResponseFormatType.d.ts → dist/api/types/SyncResponseFormatType.d.ts} +2 -2
- package/{api/types/ResponseFormatType.js → dist/api/types/SyncResponseFormatType.js} +2 -2
- package/dist/api/types/VideosListRequestDuration.d.ts +7 -0
- package/dist/api/types/VideosListRequestDuration.js +5 -0
- package/dist/api/types/VideosListRequestFps.d.ts +7 -0
- package/dist/api/types/VideosListRequestFps.js +5 -0
- package/dist/api/types/VideosListRequestHeight.d.ts +7 -0
- package/dist/api/types/VideosListRequestHeight.js +5 -0
- package/dist/api/types/VideosListRequestSize.d.ts +7 -0
- package/dist/api/types/VideosListRequestSize.js +5 -0
- package/dist/api/types/VideosListRequestWidth.d.ts +7 -0
- package/dist/api/types/VideosListRequestWidth.js +5 -0
- package/dist/api/types/index.d.ts +40 -2
- package/dist/api/types/index.js +40 -2
- package/dist/serialization/client/requests/AnalyzeRequest.d.ts +2 -2
- package/dist/serialization/client/requests/AnalyzeRequest.js +2 -2
- package/dist/serialization/client/requests/AnalyzeStreamRequest.d.ts +2 -2
- package/dist/serialization/client/requests/AnalyzeStreamRequest.js +2 -2
- package/dist/serialization/resources/analyzeAsync/resources/tasks/client/requests/CreateAsyncAnalyzeRequest.d.ts +10 -6
- package/dist/serialization/resources/analyzeAsync/resources/tasks/client/requests/CreateAsyncAnalyzeRequest.js +10 -6
- package/dist/serialization/resources/analyzeAsync/resources/tasks/types/CreateAsyncAnalyzeRequestAnalysisMode.d.ts +10 -0
- package/dist/serialization/resources/analyzeAsync/resources/tasks/types/CreateAsyncAnalyzeRequestAnalysisMode.js +41 -0
- package/dist/serialization/resources/analyzeAsync/resources/tasks/types/CreateAsyncAnalyzeRequestModelName.d.ts +10 -0
- package/dist/serialization/resources/analyzeAsync/resources/tasks/types/CreateAsyncAnalyzeRequestModelName.js +41 -0
- package/dist/serialization/resources/analyzeAsync/resources/tasks/types/TasksListRequestAnalysisMode.d.ts +10 -0
- package/dist/serialization/resources/analyzeAsync/resources/tasks/types/TasksListRequestAnalysisMode.js +41 -0
- package/dist/serialization/resources/analyzeAsync/resources/tasks/types/index.d.ts +3 -0
- package/dist/serialization/resources/analyzeAsync/resources/tasks/types/index.js +3 -0
- package/dist/serialization/resources/assets/types/AssetsListResponse.d.ts +2 -2
- package/dist/serialization/resources/assets/types/AssetsListResponse.js +2 -2
- package/dist/serialization/resources/entityCollections/resources/entities/types/EntitiesListByAssetResponse.d.ts +15 -0
- package/dist/serialization/resources/entityCollections/resources/entities/types/EntitiesListByAssetResponse.js +46 -0
- package/dist/serialization/resources/entityCollections/resources/entities/types/index.d.ts +1 -0
- package/dist/serialization/resources/entityCollections/resources/entities/types/index.js +1 -0
- package/dist/serialization/resources/indexes/resources/indexedAssets/types/IndexedAssetsCreateResponse.d.ts +1 -0
- package/dist/serialization/resources/indexes/resources/indexedAssets/types/IndexedAssetsCreateResponse.js +1 -0
- package/dist/serialization/resources/indexes/resources/indexedAssets/types/IndexedAssetsListByAssetResponse.d.ts +15 -0
- package/dist/serialization/resources/indexes/resources/indexedAssets/types/IndexedAssetsListByAssetResponse.js +46 -0
- package/dist/serialization/resources/indexes/resources/indexedAssets/types/index.d.ts +1 -0
- package/dist/serialization/resources/indexes/resources/indexedAssets/types/index.js +1 -0
- package/dist/serialization/resources/multipartUpload/client/requests/CreateAssetUploadRequest.d.ts +2 -0
- package/dist/serialization/resources/multipartUpload/client/requests/CreateAssetUploadRequest.js +2 -0
- package/dist/serialization/types/AnalyzeTaskResponse.d.ts +4 -0
- package/dist/serialization/types/AnalyzeTaskResponse.js +4 -0
- package/dist/serialization/types/AnalyzeTaskResponseRequestParams.d.ts +19 -0
- package/dist/serialization/types/AnalyzeTaskResponseRequestParams.js +50 -0
- package/dist/serialization/types/AnalyzeTaskResponseRequestParamsAnalysisMode.d.ts +10 -0
- package/dist/serialization/types/AnalyzeTaskResponseRequestParamsAnalysisMode.js +41 -0
- package/dist/serialization/types/AnalyzeTaskResponseRequestParamsResponseFormat.d.ts +15 -0
- package/dist/serialization/types/AnalyzeTaskResponseRequestParamsResponseFormat.js +46 -0
- package/dist/serialization/types/AnalyzeTaskResponseRequestParamsResponseFormatSegmentDefinitionsItem.d.ts +17 -0
- package/dist/serialization/types/AnalyzeTaskResponseRequestParamsResponseFormatSegmentDefinitionsItem.js +52 -0
- package/dist/serialization/types/AnalyzeTaskResponseRequestParamsResponseFormatSegmentDefinitionsItemFieldsItem.d.ts +17 -0
- package/dist/serialization/types/AnalyzeTaskResponseRequestParamsResponseFormatSegmentDefinitionsItemFieldsItem.js +48 -0
- package/dist/serialization/types/AnalyzeTaskResponseRequestParamsResponseFormatSegmentDefinitionsItemFieldsItemItems.d.ts +12 -0
- package/dist/serialization/types/AnalyzeTaskResponseRequestParamsResponseFormatSegmentDefinitionsItemFieldsItemItems.js +43 -0
- package/dist/serialization/types/AnalyzeTaskResponseRequestParamsResponseFormatSegmentDefinitionsItemMediaSourcesItem.d.ts +15 -0
- package/dist/serialization/types/AnalyzeTaskResponseRequestParamsResponseFormatSegmentDefinitionsItemMediaSourcesItem.js +46 -0
- package/dist/serialization/types/AnalyzeTaskResponseRequestParamsResponseFormatType.d.ts +10 -0
- package/dist/serialization/types/AnalyzeTaskResponseRequestParamsResponseFormatType.js +41 -0
- package/dist/serialization/types/AnalyzeTaskResponseVideoSource.d.ts +18 -0
- package/dist/serialization/types/AnalyzeTaskResponseVideoSource.js +49 -0
- package/dist/serialization/types/AnalyzeTaskResponseVideoSourceSystemMetadata.d.ts +12 -0
- package/dist/serialization/types/AnalyzeTaskResponseVideoSourceSystemMetadata.js +43 -0
- package/dist/serialization/types/AnalyzeTaskResponseVideoSourceType.d.ts +10 -0
- package/dist/serialization/types/AnalyzeTaskResponseVideoSourceType.js +41 -0
- package/dist/serialization/types/AnalyzeTaskResult.d.ts +1 -2
- package/dist/serialization/types/AnalyzeTaskResult.js +1 -2
- package/dist/serialization/types/Asset.d.ts +2 -0
- package/dist/serialization/types/Asset.js +2 -0
- package/dist/serialization/types/AssetDetail.d.ts +16 -0
- package/dist/serialization/types/AssetDetail.js +49 -0
- package/dist/serialization/types/AssetHls.d.ts +14 -0
- package/dist/serialization/types/AssetHls.js +45 -0
- package/dist/serialization/types/AssetHlsStatus.d.ts +10 -0
- package/dist/serialization/types/AssetHlsStatus.js +41 -0
- package/dist/serialization/types/AssetMethod.d.ts +1 -1
- package/dist/serialization/types/AssetMethod.js +1 -1
- package/dist/serialization/types/AssetThumbnail.d.ts +14 -0
- package/dist/serialization/types/AssetThumbnail.js +45 -0
- package/dist/serialization/types/AssetThumbnailStatus.d.ts +10 -0
- package/dist/serialization/types/AssetThumbnailStatus.js +41 -0
- package/dist/serialization/types/AsyncResponseFormat.d.ts +16 -0
- package/dist/serialization/types/AsyncResponseFormat.js +47 -0
- package/dist/serialization/types/AsyncResponseFormatType.d.ts +10 -0
- package/dist/serialization/types/AsyncResponseFormatType.js +41 -0
- package/dist/serialization/types/ConflictErrorBody.d.ts +14 -0
- package/dist/serialization/types/ConflictErrorBody.js +45 -0
- package/dist/serialization/types/Entity.d.ts +1 -0
- package/dist/serialization/types/Entity.js +1 -0
- package/dist/serialization/types/IndexedAsset.d.ts +1 -0
- package/dist/serialization/types/IndexedAsset.js +1 -0
- package/dist/serialization/types/IndexedAssetSummary.d.ts +14 -0
- package/dist/serialization/types/IndexedAssetSummary.js +45 -0
- package/dist/serialization/types/IndexedAssetSummaryIndex.d.ts +13 -0
- package/dist/serialization/types/IndexedAssetSummaryIndex.js +44 -0
- package/dist/serialization/types/IndexedAssetsListRequestDuration.d.ts +13 -0
- package/dist/serialization/types/IndexedAssetsListRequestDuration.js +44 -0
- package/dist/serialization/types/IndexedAssetsListRequestFps.d.ts +13 -0
- package/dist/serialization/types/IndexedAssetsListRequestFps.js +44 -0
- package/dist/serialization/types/IndexedAssetsListRequestHeight.d.ts +13 -0
- package/dist/serialization/types/IndexedAssetsListRequestHeight.js +44 -0
- package/dist/serialization/types/IndexedAssetsListRequestSize.d.ts +13 -0
- package/dist/serialization/types/IndexedAssetsListRequestSize.js +44 -0
- package/dist/serialization/types/IndexedAssetsListRequestWidth.d.ts +13 -0
- package/dist/serialization/types/IndexedAssetsListRequestWidth.js +44 -0
- package/dist/serialization/types/InternalEntity.d.ts +10 -2
- package/dist/serialization/types/InternalEntity.js +11 -5
- package/dist/serialization/types/SegmentDefinition.d.ts +17 -0
- package/dist/serialization/types/SegmentDefinition.js +48 -0
- package/dist/serialization/types/SegmentField.d.ts +18 -0
- package/dist/serialization/types/SegmentField.js +49 -0
- package/dist/serialization/types/SegmentFieldItems.d.ts +13 -0
- package/dist/serialization/types/SegmentFieldItems.js +44 -0
- package/dist/serialization/types/SegmentFieldItemsType.d.ts +10 -0
- package/dist/serialization/types/SegmentFieldItemsType.js +41 -0
- package/dist/serialization/types/SegmentFieldType.d.ts +10 -0
- package/dist/serialization/types/SegmentFieldType.js +41 -0
- package/dist/serialization/types/SmeMediaSource.d.ts +17 -0
- package/dist/serialization/types/SmeMediaSource.js +48 -0
- package/dist/serialization/types/SmeMediaSourceMediaType.d.ts +10 -0
- package/dist/serialization/types/{ResponseFormatType.js → SmeMediaSourceMediaType.js} +2 -2
- package/dist/serialization/types/SyncResponseFormat.d.ts +14 -0
- package/{serialization/types/ResponseFormat.js → dist/serialization/types/SyncResponseFormat.js} +4 -4
- package/dist/serialization/types/{ResponseFormatType.d.ts → SyncResponseFormatType.d.ts} +2 -2
- package/dist/serialization/types/SyncResponseFormatType.js +41 -0
- package/dist/serialization/types/VideosListRequestDuration.d.ts +13 -0
- package/dist/serialization/types/VideosListRequestDuration.js +44 -0
- package/dist/serialization/types/VideosListRequestFps.d.ts +13 -0
- package/dist/serialization/types/VideosListRequestFps.js +44 -0
- package/dist/serialization/types/VideosListRequestHeight.d.ts +13 -0
- package/dist/serialization/types/VideosListRequestHeight.js +44 -0
- package/dist/serialization/types/VideosListRequestSize.d.ts +13 -0
- package/dist/serialization/types/VideosListRequestSize.js +44 -0
- package/dist/serialization/types/VideosListRequestWidth.d.ts +13 -0
- package/dist/serialization/types/VideosListRequestWidth.js +44 -0
- package/dist/serialization/types/index.d.ts +40 -2
- package/dist/serialization/types/index.js +40 -2
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/dist/wrapper/resources/IndexesVideosWrapper.js +29 -14
- package/package.json +1 -1
- package/reference.md +219 -35
- package/serialization/client/requests/AnalyzeRequest.d.ts +2 -2
- package/serialization/client/requests/AnalyzeRequest.js +2 -2
- package/serialization/client/requests/AnalyzeStreamRequest.d.ts +2 -2
- package/serialization/client/requests/AnalyzeStreamRequest.js +2 -2
- package/serialization/resources/analyzeAsync/resources/tasks/client/requests/CreateAsyncAnalyzeRequest.d.ts +10 -6
- package/serialization/resources/analyzeAsync/resources/tasks/client/requests/CreateAsyncAnalyzeRequest.js +10 -6
- package/serialization/resources/analyzeAsync/resources/tasks/types/CreateAsyncAnalyzeRequestAnalysisMode.d.ts +10 -0
- package/serialization/resources/analyzeAsync/resources/tasks/types/CreateAsyncAnalyzeRequestAnalysisMode.js +41 -0
- package/serialization/resources/analyzeAsync/resources/tasks/types/CreateAsyncAnalyzeRequestModelName.d.ts +10 -0
- package/serialization/resources/analyzeAsync/resources/tasks/types/CreateAsyncAnalyzeRequestModelName.js +41 -0
- package/serialization/resources/analyzeAsync/resources/tasks/types/TasksListRequestAnalysisMode.d.ts +10 -0
- package/serialization/resources/analyzeAsync/resources/tasks/types/TasksListRequestAnalysisMode.js +41 -0
- package/serialization/resources/analyzeAsync/resources/tasks/types/index.d.ts +3 -0
- package/serialization/resources/analyzeAsync/resources/tasks/types/index.js +3 -0
- package/serialization/resources/assets/types/AssetsListResponse.d.ts +2 -2
- package/serialization/resources/assets/types/AssetsListResponse.js +2 -2
- package/serialization/resources/entityCollections/resources/entities/types/EntitiesListByAssetResponse.d.ts +15 -0
- package/serialization/resources/entityCollections/resources/entities/types/EntitiesListByAssetResponse.js +46 -0
- package/serialization/resources/entityCollections/resources/entities/types/index.d.ts +1 -0
- package/serialization/resources/entityCollections/resources/entities/types/index.js +1 -0
- package/serialization/resources/indexes/resources/indexedAssets/types/IndexedAssetsCreateResponse.d.ts +1 -0
- package/serialization/resources/indexes/resources/indexedAssets/types/IndexedAssetsCreateResponse.js +1 -0
- package/serialization/resources/indexes/resources/indexedAssets/types/IndexedAssetsListByAssetResponse.d.ts +15 -0
- package/serialization/resources/indexes/resources/indexedAssets/types/IndexedAssetsListByAssetResponse.js +46 -0
- package/serialization/resources/indexes/resources/indexedAssets/types/index.d.ts +1 -0
- package/serialization/resources/indexes/resources/indexedAssets/types/index.js +1 -0
- package/serialization/resources/multipartUpload/client/requests/CreateAssetUploadRequest.d.ts +2 -0
- package/serialization/resources/multipartUpload/client/requests/CreateAssetUploadRequest.js +2 -0
- package/serialization/types/AnalyzeTaskResponse.d.ts +4 -0
- package/serialization/types/AnalyzeTaskResponse.js +4 -0
- package/serialization/types/AnalyzeTaskResponseRequestParams.d.ts +19 -0
- package/serialization/types/AnalyzeTaskResponseRequestParams.js +50 -0
- package/serialization/types/AnalyzeTaskResponseRequestParamsAnalysisMode.d.ts +10 -0
- package/serialization/types/AnalyzeTaskResponseRequestParamsAnalysisMode.js +41 -0
- package/serialization/types/AnalyzeTaskResponseRequestParamsResponseFormat.d.ts +15 -0
- package/serialization/types/AnalyzeTaskResponseRequestParamsResponseFormat.js +46 -0
- package/serialization/types/AnalyzeTaskResponseRequestParamsResponseFormatSegmentDefinitionsItem.d.ts +17 -0
- package/serialization/types/AnalyzeTaskResponseRequestParamsResponseFormatSegmentDefinitionsItem.js +52 -0
- package/serialization/types/AnalyzeTaskResponseRequestParamsResponseFormatSegmentDefinitionsItemFieldsItem.d.ts +17 -0
- package/serialization/types/AnalyzeTaskResponseRequestParamsResponseFormatSegmentDefinitionsItemFieldsItem.js +48 -0
- package/serialization/types/AnalyzeTaskResponseRequestParamsResponseFormatSegmentDefinitionsItemFieldsItemItems.d.ts +12 -0
- package/serialization/types/AnalyzeTaskResponseRequestParamsResponseFormatSegmentDefinitionsItemFieldsItemItems.js +43 -0
- package/serialization/types/AnalyzeTaskResponseRequestParamsResponseFormatSegmentDefinitionsItemMediaSourcesItem.d.ts +15 -0
- package/serialization/types/AnalyzeTaskResponseRequestParamsResponseFormatSegmentDefinitionsItemMediaSourcesItem.js +46 -0
- package/serialization/types/AnalyzeTaskResponseRequestParamsResponseFormatType.d.ts +10 -0
- package/serialization/types/AnalyzeTaskResponseRequestParamsResponseFormatType.js +41 -0
- package/serialization/types/AnalyzeTaskResponseVideoSource.d.ts +18 -0
- package/serialization/types/AnalyzeTaskResponseVideoSource.js +49 -0
- package/serialization/types/AnalyzeTaskResponseVideoSourceSystemMetadata.d.ts +12 -0
- package/serialization/types/AnalyzeTaskResponseVideoSourceSystemMetadata.js +43 -0
- package/serialization/types/AnalyzeTaskResponseVideoSourceType.d.ts +10 -0
- package/serialization/types/AnalyzeTaskResponseVideoSourceType.js +41 -0
- package/serialization/types/AnalyzeTaskResult.d.ts +1 -2
- package/serialization/types/AnalyzeTaskResult.js +1 -2
- package/serialization/types/Asset.d.ts +2 -0
- package/serialization/types/Asset.js +2 -0
- package/serialization/types/AssetDetail.d.ts +16 -0
- package/serialization/types/AssetDetail.js +49 -0
- package/serialization/types/AssetHls.d.ts +14 -0
- package/serialization/types/AssetHls.js +45 -0
- package/serialization/types/AssetHlsStatus.d.ts +10 -0
- package/serialization/types/AssetHlsStatus.js +41 -0
- package/serialization/types/AssetMethod.d.ts +1 -1
- package/serialization/types/AssetMethod.js +1 -1
- package/serialization/types/AssetThumbnail.d.ts +14 -0
- package/serialization/types/AssetThumbnail.js +45 -0
- package/serialization/types/AssetThumbnailStatus.d.ts +10 -0
- package/serialization/types/AssetThumbnailStatus.js +41 -0
- package/serialization/types/AsyncResponseFormat.d.ts +16 -0
- package/serialization/types/AsyncResponseFormat.js +47 -0
- package/serialization/types/AsyncResponseFormatType.d.ts +10 -0
- package/serialization/types/AsyncResponseFormatType.js +41 -0
- package/serialization/types/ConflictErrorBody.d.ts +14 -0
- package/serialization/types/ConflictErrorBody.js +45 -0
- package/serialization/types/Entity.d.ts +1 -0
- package/serialization/types/Entity.js +1 -0
- package/serialization/types/IndexedAsset.d.ts +1 -0
- package/serialization/types/IndexedAsset.js +1 -0
- package/serialization/types/IndexedAssetSummary.d.ts +14 -0
- package/serialization/types/IndexedAssetSummary.js +45 -0
- package/serialization/types/IndexedAssetSummaryIndex.d.ts +13 -0
- package/serialization/types/IndexedAssetSummaryIndex.js +44 -0
- package/serialization/types/IndexedAssetsListRequestDuration.d.ts +13 -0
- package/serialization/types/IndexedAssetsListRequestDuration.js +44 -0
- package/serialization/types/IndexedAssetsListRequestFps.d.ts +13 -0
- package/serialization/types/IndexedAssetsListRequestFps.js +44 -0
- package/serialization/types/IndexedAssetsListRequestHeight.d.ts +13 -0
- package/serialization/types/IndexedAssetsListRequestHeight.js +44 -0
- package/serialization/types/IndexedAssetsListRequestSize.d.ts +13 -0
- package/serialization/types/IndexedAssetsListRequestSize.js +44 -0
- package/serialization/types/IndexedAssetsListRequestWidth.d.ts +13 -0
- package/serialization/types/IndexedAssetsListRequestWidth.js +44 -0
- package/serialization/types/InternalEntity.d.ts +10 -2
- package/serialization/types/InternalEntity.js +11 -5
- package/serialization/types/SegmentDefinition.d.ts +17 -0
- package/serialization/types/SegmentDefinition.js +48 -0
- package/serialization/types/SegmentField.d.ts +18 -0
- package/serialization/types/SegmentField.js +49 -0
- package/serialization/types/SegmentFieldItems.d.ts +13 -0
- package/serialization/types/SegmentFieldItems.js +44 -0
- package/serialization/types/SegmentFieldItemsType.d.ts +10 -0
- package/serialization/types/SegmentFieldItemsType.js +41 -0
- package/serialization/types/SegmentFieldType.d.ts +10 -0
- package/serialization/types/SegmentFieldType.js +41 -0
- package/serialization/types/SmeMediaSource.d.ts +17 -0
- package/serialization/types/SmeMediaSource.js +48 -0
- package/serialization/types/SmeMediaSourceMediaType.d.ts +10 -0
- package/serialization/types/{ResponseFormatType.js → SmeMediaSourceMediaType.js} +2 -2
- package/serialization/types/SyncResponseFormat.d.ts +14 -0
- package/{dist/serialization/types/ResponseFormat.js → serialization/types/SyncResponseFormat.js} +4 -4
- package/serialization/types/{ResponseFormatType.d.ts → SyncResponseFormatType.d.ts} +2 -2
- package/serialization/types/SyncResponseFormatType.js +41 -0
- package/serialization/types/VideosListRequestDuration.d.ts +13 -0
- package/serialization/types/VideosListRequestDuration.js +44 -0
- package/serialization/types/VideosListRequestFps.d.ts +13 -0
- package/serialization/types/VideosListRequestFps.js +44 -0
- package/serialization/types/VideosListRequestHeight.d.ts +13 -0
- package/serialization/types/VideosListRequestHeight.js +44 -0
- package/serialization/types/VideosListRequestSize.d.ts +13 -0
- package/serialization/types/VideosListRequestSize.js +44 -0
- package/serialization/types/VideosListRequestWidth.d.ts +13 -0
- package/serialization/types/VideosListRequestWidth.js +44 -0
- package/serialization/types/index.d.ts +40 -2
- package/serialization/types/index.js +40 -2
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/wrapper/resources/IndexesVideosWrapper.js +29 -14
- package/dist/serialization/types/ResponseFormat.d.ts +0 -14
- package/serialization/types/ResponseFormat.d.ts +0 -14
- /package/api/{types/ResponseFormat.js → resources/assets/client/requests/AssetsDeleteRequest.js} +0 -0
- /package/{dist/api/types/ResponseFormat.js → api/resources/entityCollections/resources/entities/client/requests/EntitiesListByAssetRequest.js} +0 -0
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export type AnalyzeTaskResponseRequestParamsResponseFormatType = "json_schema" | "segment_definitions";
|
|
5
|
+
export declare const AnalyzeTaskResponseRequestParamsResponseFormatType: {
|
|
6
|
+
readonly JsonSchema: "json_schema";
|
|
7
|
+
readonly SegmentDefinitions: "segment_definitions";
|
|
8
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.AnalyzeTaskResponseRequestParamsResponseFormatType = void 0;
|
|
7
|
+
exports.AnalyzeTaskResponseRequestParamsResponseFormatType = {
|
|
8
|
+
JsonSchema: "json_schema",
|
|
9
|
+
SegmentDefinitions: "segment_definitions",
|
|
10
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as TwelvelabsApi from "../index";
|
|
5
|
+
/**
|
|
6
|
+
* The video source you provided. Only present for tasks that use direct video input (`url`, `base64_string`, or `asset_id`).
|
|
7
|
+
*/
|
|
8
|
+
export interface AnalyzeTaskResponseVideoSource {
|
|
9
|
+
/** The type of video source. */
|
|
10
|
+
type?: TwelvelabsApi.AnalyzeTaskResponseVideoSourceType;
|
|
11
|
+
/** The video URL. Present when `type` is `url`. */
|
|
12
|
+
url?: string;
|
|
13
|
+
/** The asset ID. Present when `type` is `asset_id`. */
|
|
14
|
+
assetId?: string;
|
|
15
|
+
/** The video ID. Present when `type` is `video_id`. Deprecated — use `asset_id` instead. */
|
|
16
|
+
videoId?: string;
|
|
17
|
+
/** System-extracted video metadata. Present on a best-effort basis once the video has been processed. */
|
|
18
|
+
systemMetadata?: TwelvelabsApi.AnalyzeTaskResponseVideoSourceSystemMetadata;
|
|
19
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* System-extracted video metadata. Present on a best-effort basis once the video has been processed.
|
|
6
|
+
*/
|
|
7
|
+
export interface AnalyzeTaskResponseVideoSourceSystemMetadata {
|
|
8
|
+
/** The video duration in seconds. */
|
|
9
|
+
duration?: number;
|
|
10
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* The type of video source.
|
|
6
|
+
*/
|
|
7
|
+
export type AnalyzeTaskResponseVideoSourceType = "url" | "base64_string" | "asset_id" | "video_id";
|
|
8
|
+
export declare const AnalyzeTaskResponseVideoSourceType: {
|
|
9
|
+
readonly Url: "url";
|
|
10
|
+
readonly Base64String: "base64_string";
|
|
11
|
+
readonly AssetId: "asset_id";
|
|
12
|
+
readonly VideoId: "video_id";
|
|
13
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.AnalyzeTaskResponseVideoSourceType = void 0;
|
|
7
|
+
exports.AnalyzeTaskResponseVideoSourceType = {
|
|
8
|
+
Url: "url",
|
|
9
|
+
Base64String: "base64_string",
|
|
10
|
+
AssetId: "asset_id",
|
|
11
|
+
VideoId: "video_id",
|
|
12
|
+
};
|
|
@@ -8,7 +8,16 @@ import * as TwelvelabsApi from "../index";
|
|
|
8
8
|
export interface AnalyzeTaskResult {
|
|
9
9
|
/** The unique identifier for the generation session. */
|
|
10
10
|
generationId: string;
|
|
11
|
-
|
|
11
|
+
/**
|
|
12
|
+
* The generated text for this analysis task. The format depends on the `analysis_mode` used when creating the task:
|
|
13
|
+
*
|
|
14
|
+
* - **When `analysis_mode` is not set**: A plain-text string containing the generated text based on the prompt you provided.
|
|
15
|
+
* - **When `analysis_mode` is `time_based_metadata`** (requires `model_name` set to `pegasus1.5`): A JSON-encoded string containing an object keyed by segment definition (the `id` field). Each key maps to an array of segment objects with the following fields:
|
|
16
|
+
* - `start_time` (number): The start time of the segment in seconds.
|
|
17
|
+
* - `end_time` (number): The end time of the segment in seconds.
|
|
18
|
+
* - `metadata` (object): The custom fields you defined in the request's `segment_definitions[].fields`.
|
|
19
|
+
*/
|
|
20
|
+
data: string;
|
|
12
21
|
finishReason: TwelvelabsApi.FinishReason;
|
|
13
22
|
/** The number of tokens used in the generation. */
|
|
14
23
|
usage: TwelvelabsApi.AnalyzeTaskResultUsage;
|
package/api/types/Asset.d.ts
CHANGED
|
@@ -14,6 +14,7 @@ export interface Asset {
|
|
|
14
14
|
* **Values**:
|
|
15
15
|
* - `direct`: Uploaded from your local file system
|
|
16
16
|
* - `url`: Uploaded from a publicly accessible URL
|
|
17
|
+
* - `multipart`: Uploaded using the multipart upload flow
|
|
17
18
|
*/
|
|
18
19
|
method?: TwelvelabsApi.AssetMethod;
|
|
19
20
|
/**
|
|
@@ -29,6 +30,10 @@ export interface Asset {
|
|
|
29
30
|
filename?: string;
|
|
30
31
|
/** The MIME type of the asset file. */
|
|
31
32
|
fileType?: string;
|
|
33
|
+
/** The file size of the asset in bytes. This field is absent while the asset is still being processed. */
|
|
34
|
+
size?: number;
|
|
35
|
+
/** The duration of the asset in seconds. Only present for video and audio assets. This field is absent for image assets or while the asset is still being processed. */
|
|
36
|
+
duration?: number;
|
|
32
37
|
/** The date and time, in RFC 3339 format ("YYYY-MM-DDTHH:mm:ssZ"), when the asset was created. */
|
|
33
38
|
createdAt?: Date;
|
|
34
39
|
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as TwelvelabsApi from "../index";
|
|
5
|
+
/**
|
|
6
|
+
* An asset with additional processing details such as HLS streaming and thumbnail information.
|
|
7
|
+
*/
|
|
8
|
+
export interface AssetDetail extends TwelvelabsApi.Asset {
|
|
9
|
+
hls?: TwelvelabsApi.AssetHls;
|
|
10
|
+
thumbnail?: TwelvelabsApi.AssetThumbnail;
|
|
11
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as TwelvelabsApi from "../index";
|
|
5
|
+
/**
|
|
6
|
+
* HLS streaming details for the asset. Present only when HLS generation has been requested. Omitted otherwise.
|
|
7
|
+
*/
|
|
8
|
+
export interface AssetHls {
|
|
9
|
+
/** The URL of the HLS manifest file for streaming. Only present when the status of the HLS stream is `ready`. */
|
|
10
|
+
manifestUrl?: string;
|
|
11
|
+
/**
|
|
12
|
+
* The status of the HLS stream.
|
|
13
|
+
*
|
|
14
|
+
* **Values**:
|
|
15
|
+
* - `pending`: The platform has not yet started HLS generation
|
|
16
|
+
* - `processing`: The platform is generating HLS segments
|
|
17
|
+
* - `ready`: The HLS stream is ready for playback
|
|
18
|
+
* - `error`: HLS generation failed
|
|
19
|
+
*/
|
|
20
|
+
status?: TwelvelabsApi.AssetHlsStatus;
|
|
21
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* The status of the HLS stream.
|
|
6
|
+
*
|
|
7
|
+
* **Values**:
|
|
8
|
+
* - `pending`: The platform has not yet started HLS generation
|
|
9
|
+
* - `processing`: The platform is generating HLS segments
|
|
10
|
+
* - `ready`: The HLS stream is ready for playback
|
|
11
|
+
* - `error`: HLS generation failed
|
|
12
|
+
*/
|
|
13
|
+
export type AssetHlsStatus = "pending" | "processing" | "ready" | "error";
|
|
14
|
+
export declare const AssetHlsStatus: {
|
|
15
|
+
readonly Pending: "pending";
|
|
16
|
+
readonly Processing: "processing";
|
|
17
|
+
readonly Ready: "ready";
|
|
18
|
+
readonly Error: "error";
|
|
19
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.AssetHlsStatus = void 0;
|
|
7
|
+
exports.AssetHlsStatus = {
|
|
8
|
+
Pending: "pending",
|
|
9
|
+
Processing: "processing",
|
|
10
|
+
Ready: "ready",
|
|
11
|
+
Error: "error",
|
|
12
|
+
};
|
|
@@ -7,9 +7,11 @@
|
|
|
7
7
|
* **Values**:
|
|
8
8
|
* - `direct`: Uploaded from your local file system
|
|
9
9
|
* - `url`: Uploaded from a publicly accessible URL
|
|
10
|
+
* - `multipart`: Uploaded using the multipart upload flow
|
|
10
11
|
*/
|
|
11
|
-
export type AssetMethod = "direct" | "url";
|
|
12
|
+
export type AssetMethod = "direct" | "url" | "multipart";
|
|
12
13
|
export declare const AssetMethod: {
|
|
13
14
|
readonly Direct: "direct";
|
|
14
15
|
readonly Url: "url";
|
|
16
|
+
readonly Multipart: "multipart";
|
|
15
17
|
};
|
package/api/types/AssetMethod.js
CHANGED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as TwelvelabsApi from "../index";
|
|
5
|
+
/**
|
|
6
|
+
* Thumbnail details for the asset. Present only when thumbnail generation has been requested. Omitted otherwise.
|
|
7
|
+
*/
|
|
8
|
+
export interface AssetThumbnail {
|
|
9
|
+
/** The URL of the representative thumbnail image. Only present when the status of the thumbnail is `ready`. */
|
|
10
|
+
representativeUrl?: string;
|
|
11
|
+
/**
|
|
12
|
+
* The status of the thumbnail.
|
|
13
|
+
*
|
|
14
|
+
* **Values**:
|
|
15
|
+
* - `pending`: The platform has not yet started thumbnail generation
|
|
16
|
+
* - `processing`: The platform is generating the thumbnail
|
|
17
|
+
* - `ready`: The thumbnail is ready
|
|
18
|
+
* - `error`: Thumbnail generation failed
|
|
19
|
+
*/
|
|
20
|
+
status?: TwelvelabsApi.AssetThumbnailStatus;
|
|
21
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* The status of the thumbnail.
|
|
6
|
+
*
|
|
7
|
+
* **Values**:
|
|
8
|
+
* - `pending`: The platform has not yet started thumbnail generation
|
|
9
|
+
* - `processing`: The platform is generating the thumbnail
|
|
10
|
+
* - `ready`: The thumbnail is ready
|
|
11
|
+
* - `error`: Thumbnail generation failed
|
|
12
|
+
*/
|
|
13
|
+
export type AssetThumbnailStatus = "pending" | "processing" | "ready" | "error";
|
|
14
|
+
export declare const AssetThumbnailStatus: {
|
|
15
|
+
readonly Pending: "pending";
|
|
16
|
+
readonly Processing: "processing";
|
|
17
|
+
readonly Ready: "ready";
|
|
18
|
+
readonly Error: "error";
|
|
19
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.AssetThumbnailStatus = void 0;
|
|
7
|
+
exports.AssetThumbnailStatus = {
|
|
8
|
+
Pending: "pending",
|
|
9
|
+
Processing: "processing",
|
|
10
|
+
Ready: "ready",
|
|
11
|
+
Error: "error",
|
|
12
|
+
};
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as TwelvelabsApi from "../index";
|
|
5
|
+
/**
|
|
6
|
+
* Controls the response format. When you omit this parameter, you receive unstructured text.
|
|
7
|
+
* - `json_schema`: Return structured JSON that conforms to your schema.
|
|
8
|
+
* - `segment_definitions`: Extract timestamped metadata with custom fields from your video. Requires `model_name` set to `pegasus1.5` and `analysis_mode` set to `time_based_metadata`.
|
|
9
|
+
*/
|
|
10
|
+
export interface AsyncResponseFormat {
|
|
11
|
+
/**
|
|
12
|
+
* The response format to use.
|
|
13
|
+
* - `json_schema`: Return structured JSON that conforms to your schema.
|
|
14
|
+
* - `segment_definitions`: Extract timestamped metadata with custom fields from your video. Requires `model_name` set to `pegasus1.5` and `analysis_mode` set to `time_based_metadata`.
|
|
15
|
+
*/
|
|
16
|
+
type: TwelvelabsApi.AsyncResponseFormatType;
|
|
17
|
+
/**
|
|
18
|
+
* Contains the JSON schema that defines the response structure. The schema must adhere to the [JSON Schema Draft 2020-12](https://json-schema.org/draft/2020-12) specification.
|
|
19
|
+
*
|
|
20
|
+
* **Supported types**
|
|
21
|
+
* - `array`
|
|
22
|
+
* - `boolean`
|
|
23
|
+
* - `integer`
|
|
24
|
+
* - `null`
|
|
25
|
+
* - `number`
|
|
26
|
+
* - `object`
|
|
27
|
+
* - `string`
|
|
28
|
+
*
|
|
29
|
+
* **Supported constraints**
|
|
30
|
+
*
|
|
31
|
+
* | Type | Supported keywords | Notes |
|
|
32
|
+
* |------|-------------------|-------|
|
|
33
|
+
* | `integer` | `maximum`, `exclusiveMaximum`, `minimum`, `exclusiveMinimum`. | - `maximum`: Sets the highest allowed value (inclusive).<br/>- `exclusiveMaximum`: Sets the highest allowed value (exclusive).<br/>-`minimum`: Sets the lowest allowed value (inclusive).<br/>- `exclusiveMinimum`: Sets the lowest allowed value (exclusive).<br/>These constraints are supported only for the `integer` type. |
|
|
34
|
+
* | `string` | `pattern`, `format` | - `pattern`: A regular expression that the string must match.<br/>- `format`: Validates predefined formats. It accepts the following values: `uuid`, `date-time`, `date`, and `time`.<br/>See string limitations below. |
|
|
35
|
+
* | `object` | `properties`, `required` | - `properties`: Defines object properties and their schemas. - `required`: Specifies mandatory properties.<br/>See object limitations below. |
|
|
36
|
+
* | `array` | `items`, `minItems` | `minItems` accepts only `0` or `1` |
|
|
37
|
+
*
|
|
38
|
+
*
|
|
39
|
+
* **String limitations**
|
|
40
|
+
*
|
|
41
|
+
* The platform validates strings using the `pattern` and `format` constraints only. When you include `minLength` or `maxLength` keywords in your schema, the platform returns an error: "String length constraints (minLength) are not supported."
|
|
42
|
+
*
|
|
43
|
+
*
|
|
44
|
+
* **Object limitations**
|
|
45
|
+
*
|
|
46
|
+
* When you use the `object` type:
|
|
47
|
+
* - The platform always ignores the `additionalProperties` setting.
|
|
48
|
+
* - The sequence of the properties is fixed.
|
|
49
|
+
* - The first property should be required. If the first property is optional, the platform moves the first required property to the first position.
|
|
50
|
+
*
|
|
51
|
+
*
|
|
52
|
+
* **Constant and enumerated values**
|
|
53
|
+
*
|
|
54
|
+
* The `const` and `enum` keywords support the following types:
|
|
55
|
+
* - `boolean`
|
|
56
|
+
* - `null`
|
|
57
|
+
* - `number`
|
|
58
|
+
* - `string`
|
|
59
|
+
*
|
|
60
|
+
*
|
|
61
|
+
* **Schema composition**
|
|
62
|
+
*
|
|
63
|
+
* The platform supports only `anyOf` for [schema composition](https://json-schema.org/understanding-json-schema/reference/combining).
|
|
64
|
+
*
|
|
65
|
+
*
|
|
66
|
+
* **Annotations**
|
|
67
|
+
*
|
|
68
|
+
* The platform accepts but ignores JSON schema annotations like `title`, `$comments`, and `description`.
|
|
69
|
+
*
|
|
70
|
+
* **Subschema references**
|
|
71
|
+
*
|
|
72
|
+
* You can reference subschemas using `$ref` with these requirements:
|
|
73
|
+
* - Define subschemas within `$defs`.
|
|
74
|
+
* - Use valid URIs that point to the internal subschema.
|
|
75
|
+
*
|
|
76
|
+
* For details, see the [JSON Schema documentation on $defs](https://json-schema.org/understanding-json-schema/structuring#defs).
|
|
77
|
+
*
|
|
78
|
+
*
|
|
79
|
+
*
|
|
80
|
+
* **Response validation**
|
|
81
|
+
*
|
|
82
|
+
* Check the `FinishReason` field to verify your JSON response is complete:
|
|
83
|
+
* - When `FinishReason` is `stop`, the generation completed normally, and the JSON is valid and complete.
|
|
84
|
+
* - When `FinishReason` is `length`, the platform truncates the response at the token limit. This may result in truncated, invalid JSON that fails to parse.
|
|
85
|
+
*/
|
|
86
|
+
jsonSchema?: Record<string, unknown>;
|
|
87
|
+
/** Define the types of segments to extract from your video. Minimum 1, maximum 10 definitions. */
|
|
88
|
+
segmentDefinitions?: TwelvelabsApi.SegmentDefinition[];
|
|
89
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* The response format to use.
|
|
6
|
+
* - `json_schema`: Return structured JSON that conforms to your schema.
|
|
7
|
+
* - `segment_definitions`: Extract timestamped metadata with custom fields from your video. Requires `model_name` set to `pegasus1.5` and `analysis_mode` set to `time_based_metadata`.
|
|
8
|
+
*/
|
|
9
|
+
export type AsyncResponseFormatType = "json_schema" | "segment_definitions";
|
|
10
|
+
export declare const AsyncResponseFormatType: {
|
|
11
|
+
readonly JsonSchema: "json_schema";
|
|
12
|
+
readonly SegmentDefinitions: "segment_definitions";
|
|
13
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.AsyncResponseFormatType = void 0;
|
|
7
|
+
exports.AsyncResponseFormatType = {
|
|
8
|
+
JsonSchema: "json_schema",
|
|
9
|
+
SegmentDefinitions: "segment_definitions",
|
|
10
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export interface ConflictErrorBody {
|
|
5
|
+
/** A string representing the code associated with the error. See the [Error codes](/v1.3/api-reference/error-codes) page for details. */
|
|
6
|
+
code?: string;
|
|
7
|
+
/** A human-readable string describing the error, intended to be suitable for display in a user interface. */
|
|
8
|
+
message?: string;
|
|
9
|
+
/** The URL of the relevant documentation page. */
|
|
10
|
+
docsUrl?: string;
|
|
11
|
+
}
|
package/api/types/Entity.d.ts
CHANGED
|
@@ -8,6 +8,8 @@ import * as TwelvelabsApi from "../index";
|
|
|
8
8
|
export interface Entity {
|
|
9
9
|
/** The unique identifier of the entity. */
|
|
10
10
|
id?: string;
|
|
11
|
+
/** The unique identifier of the entity collection this entity belongs to. */
|
|
12
|
+
entityCollectionId?: string;
|
|
11
13
|
/** The name of the entity. */
|
|
12
14
|
name?: string;
|
|
13
15
|
/** A description of the entity. */
|
|
@@ -8,6 +8,8 @@ import * as TwelvelabsApi from "../index";
|
|
|
8
8
|
export interface IndexedAsset {
|
|
9
9
|
/** A string representing the unique identifier of your indexed asset. */
|
|
10
10
|
id?: string;
|
|
11
|
+
/** The unique identifier of the associated asset. */
|
|
12
|
+
assetId?: string;
|
|
11
13
|
/** A string indicating the date and time, in the RFC 3339 format ("YYYY-MM-DDTHH:mm:ssZ"), that the indexing task was created. */
|
|
12
14
|
createdAt?: string;
|
|
13
15
|
/** A string indicating the date and time, in the RFC 3339 format ("YYYY-MM-DDTHH:mm:ssZ"), that the indexing task was last updated. The platform updates this field every time the indexing task transitions to a different state. */
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as TwelvelabsApi from "../index";
|
|
5
|
+
/**
|
|
6
|
+
* The identifier and index of an indexed asset that references the specified asset.
|
|
7
|
+
*/
|
|
8
|
+
export interface IndexedAssetSummary {
|
|
9
|
+
/** The unique identifier of the indexed asset. */
|
|
10
|
+
id?: string;
|
|
11
|
+
index?: TwelvelabsApi.IndexedAssetSummaryIndex;
|
|
12
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* The index to which the indexed asset belongs.
|
|
6
|
+
*/
|
|
7
|
+
export interface IndexedAssetSummaryIndex {
|
|
8
|
+
/** The unique identifier of the index. */
|
|
9
|
+
id?: string;
|
|
10
|
+
/** The name of the index. */
|
|
11
|
+
name?: string;
|
|
12
|
+
}
|
|
@@ -5,11 +5,33 @@ import * as TwelvelabsApi from "../index";
|
|
|
5
5
|
/**
|
|
6
6
|
* An object that extends the Entity schema with additional collection information.
|
|
7
7
|
*/
|
|
8
|
-
export interface InternalEntity
|
|
8
|
+
export interface InternalEntity {
|
|
9
9
|
/** The unique identifier of the entity collection the entity belongs to. */
|
|
10
10
|
entityCollectionId?: string;
|
|
11
11
|
/** The name of the entity collection the entity belongs to. */
|
|
12
12
|
entityCollectionName?: string;
|
|
13
13
|
/** An array of URLs for the assets associated with the entity. */
|
|
14
14
|
assetUrls?: string[];
|
|
15
|
+
/** The unique identifier of the entity. */
|
|
16
|
+
id?: string;
|
|
17
|
+
/** The name of the entity. */
|
|
18
|
+
name?: string;
|
|
19
|
+
/** A description of the entity. */
|
|
20
|
+
description?: string;
|
|
21
|
+
/** Custom metadata for the entity. */
|
|
22
|
+
metadata?: Record<string, unknown>;
|
|
23
|
+
/** An array of asset IDs associated with the entity. */
|
|
24
|
+
assetIds?: string[];
|
|
25
|
+
/**
|
|
26
|
+
* The current status of the entity creation process.
|
|
27
|
+
*
|
|
28
|
+
* **Values**:
|
|
29
|
+
* - `processing`: The entity is being processed and is not yet ready for use in searches.
|
|
30
|
+
* - `ready`: The entity is fully processed and can be used in search queries.
|
|
31
|
+
*/
|
|
32
|
+
status?: TwelvelabsApi.EntityStatus;
|
|
33
|
+
/** The date and time, in RFC 3339 format (“YYYY-MM-DDTHH:mm:ssZ”), when the entity was created. */
|
|
34
|
+
createdAt?: Date;
|
|
35
|
+
/** The date and time, in RFC 3339 format (“YYYY-MM-DDTHH:mm:ssZ”), when the entity was last updated. */
|
|
36
|
+
updatedAt?: Date;
|
|
15
37
|
}
|