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,44 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.VideosListRequestWidth = void 0;
|
|
40
|
+
const core = __importStar(require("../../core"));
|
|
41
|
+
exports.VideosListRequestWidth = core.serialization.object({
|
|
42
|
+
gte: core.serialization.number().optional(),
|
|
43
|
+
lte: core.serialization.number().optional(),
|
|
44
|
+
});
|
|
@@ -1,6 +1,17 @@
|
|
|
1
1
|
export * from "./BadRequestErrorBody";
|
|
2
|
+
export * from "./IndexedAssetsListRequestDuration";
|
|
3
|
+
export * from "./IndexedAssetsListRequestFps";
|
|
4
|
+
export * from "./IndexedAssetsListRequestWidth";
|
|
5
|
+
export * from "./IndexedAssetsListRequestHeight";
|
|
6
|
+
export * from "./IndexedAssetsListRequestSize";
|
|
2
7
|
export * from "./NotFoundErrorBody";
|
|
3
8
|
export * from "./InternalServerErrorBody";
|
|
9
|
+
export * from "./VideosListRequestDuration";
|
|
10
|
+
export * from "./VideosListRequestFps";
|
|
11
|
+
export * from "./VideosListRequestWidth";
|
|
12
|
+
export * from "./VideosListRequestHeight";
|
|
13
|
+
export * from "./VideosListRequestSize";
|
|
14
|
+
export * from "./ConflictErrorBody";
|
|
4
15
|
export * from "./ForbiddenErrorBody";
|
|
5
16
|
export * from "./Url";
|
|
6
17
|
export * from "./One";
|
|
@@ -115,12 +126,32 @@ export * from "./StreamEndResponseMetadata";
|
|
|
115
126
|
export * from "./StreamEndResponse";
|
|
116
127
|
export * from "./NonStreamAnalyzeResponse";
|
|
117
128
|
export * from "./TokenUsage";
|
|
118
|
-
export * from "./
|
|
119
|
-
export * from "./
|
|
129
|
+
export * from "./AsyncResponseFormatType";
|
|
130
|
+
export * from "./AsyncResponseFormat";
|
|
131
|
+
export * from "./SyncResponseFormatType";
|
|
132
|
+
export * from "./SyncResponseFormat";
|
|
133
|
+
export * from "./SegmentDefinition";
|
|
134
|
+
export * from "./SegmentFieldType";
|
|
135
|
+
export * from "./SegmentFieldItemsType";
|
|
136
|
+
export * from "./SegmentFieldItems";
|
|
137
|
+
export * from "./SegmentField";
|
|
138
|
+
export * from "./SmeMediaSourceMediaType";
|
|
139
|
+
export * from "./SmeMediaSource";
|
|
120
140
|
export * from "./FinishReason";
|
|
121
141
|
export * from "./VideoContext";
|
|
122
142
|
export * from "./AnalyzeTaskStatus";
|
|
123
143
|
export * from "./CreateAnalyzeTaskResponse";
|
|
144
|
+
export * from "./AnalyzeTaskResponseVideoSourceType";
|
|
145
|
+
export * from "./AnalyzeTaskResponseVideoSourceSystemMetadata";
|
|
146
|
+
export * from "./AnalyzeTaskResponseVideoSource";
|
|
147
|
+
export * from "./AnalyzeTaskResponseRequestParamsAnalysisMode";
|
|
148
|
+
export * from "./AnalyzeTaskResponseRequestParamsResponseFormatType";
|
|
149
|
+
export * from "./AnalyzeTaskResponseRequestParamsResponseFormatSegmentDefinitionsItemFieldsItemItems";
|
|
150
|
+
export * from "./AnalyzeTaskResponseRequestParamsResponseFormatSegmentDefinitionsItemFieldsItem";
|
|
151
|
+
export * from "./AnalyzeTaskResponseRequestParamsResponseFormatSegmentDefinitionsItemMediaSourcesItem";
|
|
152
|
+
export * from "./AnalyzeTaskResponseRequestParamsResponseFormatSegmentDefinitionsItem";
|
|
153
|
+
export * from "./AnalyzeTaskResponseRequestParamsResponseFormat";
|
|
154
|
+
export * from "./AnalyzeTaskResponseRequestParams";
|
|
124
155
|
export * from "./AnalyzeTaskResponse";
|
|
125
156
|
export * from "./AnalyzeTaskResultUsage";
|
|
126
157
|
export * from "./AnalyzeTaskResult";
|
|
@@ -129,6 +160,13 @@ export * from "./AnalyzeTaskWebhookInfo";
|
|
|
129
160
|
export * from "./AssetMethod";
|
|
130
161
|
export * from "./AssetStatus";
|
|
131
162
|
export * from "./Asset";
|
|
163
|
+
export * from "./AssetDetail";
|
|
164
|
+
export * from "./AssetHlsStatus";
|
|
165
|
+
export * from "./AssetHls";
|
|
166
|
+
export * from "./AssetThumbnailStatus";
|
|
167
|
+
export * from "./AssetThumbnail";
|
|
168
|
+
export * from "./IndexedAssetSummaryIndex";
|
|
169
|
+
export * from "./IndexedAssetSummary";
|
|
132
170
|
export * from "./CreateAssetUploadResponse";
|
|
133
171
|
export * from "./CompletedChunkProofType";
|
|
134
172
|
export * from "./CompletedChunk";
|
|
@@ -15,8 +15,19 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./BadRequestErrorBody"), exports);
|
|
18
|
+
__exportStar(require("./IndexedAssetsListRequestDuration"), exports);
|
|
19
|
+
__exportStar(require("./IndexedAssetsListRequestFps"), exports);
|
|
20
|
+
__exportStar(require("./IndexedAssetsListRequestWidth"), exports);
|
|
21
|
+
__exportStar(require("./IndexedAssetsListRequestHeight"), exports);
|
|
22
|
+
__exportStar(require("./IndexedAssetsListRequestSize"), exports);
|
|
18
23
|
__exportStar(require("./NotFoundErrorBody"), exports);
|
|
19
24
|
__exportStar(require("./InternalServerErrorBody"), exports);
|
|
25
|
+
__exportStar(require("./VideosListRequestDuration"), exports);
|
|
26
|
+
__exportStar(require("./VideosListRequestFps"), exports);
|
|
27
|
+
__exportStar(require("./VideosListRequestWidth"), exports);
|
|
28
|
+
__exportStar(require("./VideosListRequestHeight"), exports);
|
|
29
|
+
__exportStar(require("./VideosListRequestSize"), exports);
|
|
30
|
+
__exportStar(require("./ConflictErrorBody"), exports);
|
|
20
31
|
__exportStar(require("./ForbiddenErrorBody"), exports);
|
|
21
32
|
__exportStar(require("./Url"), exports);
|
|
22
33
|
__exportStar(require("./One"), exports);
|
|
@@ -131,12 +142,32 @@ __exportStar(require("./StreamEndResponseMetadata"), exports);
|
|
|
131
142
|
__exportStar(require("./StreamEndResponse"), exports);
|
|
132
143
|
__exportStar(require("./NonStreamAnalyzeResponse"), exports);
|
|
133
144
|
__exportStar(require("./TokenUsage"), exports);
|
|
134
|
-
__exportStar(require("./
|
|
135
|
-
__exportStar(require("./
|
|
145
|
+
__exportStar(require("./AsyncResponseFormatType"), exports);
|
|
146
|
+
__exportStar(require("./AsyncResponseFormat"), exports);
|
|
147
|
+
__exportStar(require("./SyncResponseFormatType"), exports);
|
|
148
|
+
__exportStar(require("./SyncResponseFormat"), exports);
|
|
149
|
+
__exportStar(require("./SegmentDefinition"), exports);
|
|
150
|
+
__exportStar(require("./SegmentFieldType"), exports);
|
|
151
|
+
__exportStar(require("./SegmentFieldItemsType"), exports);
|
|
152
|
+
__exportStar(require("./SegmentFieldItems"), exports);
|
|
153
|
+
__exportStar(require("./SegmentField"), exports);
|
|
154
|
+
__exportStar(require("./SmeMediaSourceMediaType"), exports);
|
|
155
|
+
__exportStar(require("./SmeMediaSource"), exports);
|
|
136
156
|
__exportStar(require("./FinishReason"), exports);
|
|
137
157
|
__exportStar(require("./VideoContext"), exports);
|
|
138
158
|
__exportStar(require("./AnalyzeTaskStatus"), exports);
|
|
139
159
|
__exportStar(require("./CreateAnalyzeTaskResponse"), exports);
|
|
160
|
+
__exportStar(require("./AnalyzeTaskResponseVideoSourceType"), exports);
|
|
161
|
+
__exportStar(require("./AnalyzeTaskResponseVideoSourceSystemMetadata"), exports);
|
|
162
|
+
__exportStar(require("./AnalyzeTaskResponseVideoSource"), exports);
|
|
163
|
+
__exportStar(require("./AnalyzeTaskResponseRequestParamsAnalysisMode"), exports);
|
|
164
|
+
__exportStar(require("./AnalyzeTaskResponseRequestParamsResponseFormatType"), exports);
|
|
165
|
+
__exportStar(require("./AnalyzeTaskResponseRequestParamsResponseFormatSegmentDefinitionsItemFieldsItemItems"), exports);
|
|
166
|
+
__exportStar(require("./AnalyzeTaskResponseRequestParamsResponseFormatSegmentDefinitionsItemFieldsItem"), exports);
|
|
167
|
+
__exportStar(require("./AnalyzeTaskResponseRequestParamsResponseFormatSegmentDefinitionsItemMediaSourcesItem"), exports);
|
|
168
|
+
__exportStar(require("./AnalyzeTaskResponseRequestParamsResponseFormatSegmentDefinitionsItem"), exports);
|
|
169
|
+
__exportStar(require("./AnalyzeTaskResponseRequestParamsResponseFormat"), exports);
|
|
170
|
+
__exportStar(require("./AnalyzeTaskResponseRequestParams"), exports);
|
|
140
171
|
__exportStar(require("./AnalyzeTaskResponse"), exports);
|
|
141
172
|
__exportStar(require("./AnalyzeTaskResultUsage"), exports);
|
|
142
173
|
__exportStar(require("./AnalyzeTaskResult"), exports);
|
|
@@ -145,6 +176,13 @@ __exportStar(require("./AnalyzeTaskWebhookInfo"), exports);
|
|
|
145
176
|
__exportStar(require("./AssetMethod"), exports);
|
|
146
177
|
__exportStar(require("./AssetStatus"), exports);
|
|
147
178
|
__exportStar(require("./Asset"), exports);
|
|
179
|
+
__exportStar(require("./AssetDetail"), exports);
|
|
180
|
+
__exportStar(require("./AssetHlsStatus"), exports);
|
|
181
|
+
__exportStar(require("./AssetHls"), exports);
|
|
182
|
+
__exportStar(require("./AssetThumbnailStatus"), exports);
|
|
183
|
+
__exportStar(require("./AssetThumbnail"), exports);
|
|
184
|
+
__exportStar(require("./IndexedAssetSummaryIndex"), exports);
|
|
185
|
+
__exportStar(require("./IndexedAssetSummary"), exports);
|
|
148
186
|
__exportStar(require("./CreateAssetUploadResponse"), exports);
|
|
149
187
|
__exportStar(require("./CompletedChunkProofType"), exports);
|
|
150
188
|
__exportStar(require("./CompletedChunk"), exports);
|
package/dist/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "1.2.
|
|
1
|
+
export declare const SDK_VERSION = "1.2.3";
|
package/dist/version.js
CHANGED
|
@@ -102,20 +102,35 @@ class IndexesVideosWrapper extends Client_1.Videos {
|
|
|
102
102
|
if (filename != null) {
|
|
103
103
|
_queryParams["filename"] = filename;
|
|
104
104
|
}
|
|
105
|
-
if (duration != null) {
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
}
|
|
111
|
-
if (
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
}
|
|
117
|
-
if (
|
|
118
|
-
|
|
105
|
+
if (duration != null && typeof duration === "object") {
|
|
106
|
+
if (duration.gte != null)
|
|
107
|
+
_queryParams["duration[gte]"] = duration.gte.toString();
|
|
108
|
+
if (duration.lte != null)
|
|
109
|
+
_queryParams["duration[lte]"] = duration.lte.toString();
|
|
110
|
+
}
|
|
111
|
+
if (fps != null && typeof fps === "object") {
|
|
112
|
+
if (fps.gte != null)
|
|
113
|
+
_queryParams["fps[gte]"] = fps.gte.toString();
|
|
114
|
+
if (fps.lte != null)
|
|
115
|
+
_queryParams["fps[lte]"] = fps.lte.toString();
|
|
116
|
+
}
|
|
117
|
+
if (width != null && typeof width === "object") {
|
|
118
|
+
if (width.gte != null)
|
|
119
|
+
_queryParams["width[gte]"] = width.gte.toString();
|
|
120
|
+
if (width.lte != null)
|
|
121
|
+
_queryParams["width[lte]"] = width.lte.toString();
|
|
122
|
+
}
|
|
123
|
+
if (height != null && typeof height === "object") {
|
|
124
|
+
if (height.gte != null)
|
|
125
|
+
_queryParams["height[gte]"] = height.gte.toString();
|
|
126
|
+
if (height.lte != null)
|
|
127
|
+
_queryParams["height[lte]"] = height.lte.toString();
|
|
128
|
+
}
|
|
129
|
+
if (size != null && typeof size === "object") {
|
|
130
|
+
if (size.gte != null)
|
|
131
|
+
_queryParams["size[gte]"] = size.gte.toString();
|
|
132
|
+
if (size.lte != null)
|
|
133
|
+
_queryParams["size[lte]"] = size.lte.toString();
|
|
119
134
|
}
|
|
120
135
|
if (createdAt != null) {
|
|
121
136
|
_queryParams["created_at"] = createdAt;
|
package/package.json
CHANGED
package/reference.md
CHANGED
|
@@ -31,6 +31,7 @@ This method synchronously analyzes your videos and generates fully customizable
|
|
|
31
31
|
**Do not use this method for**:
|
|
32
32
|
|
|
33
33
|
- Videos longer than 1 hour. Use the [`POST`](/v1.3/api-reference/analyze-videos/create-async-analysis-task) method of the `/analyze/tasks` endpoint instead.
|
|
34
|
+
- Video segmentation. Use the [`POST`](/v1.3/api-reference/analyze-videos/create-async-analysis-task) method of the `/analyze/tasks` endpoint with `model_name` set to `pegasus1.5` instead.
|
|
34
35
|
|
|
35
36
|
<Note title="Notes">
|
|
36
37
|
- This endpoint is rate-limited. For details, see the [Rate limits](/v1.3/docs/get-started/rate-limits) page.
|
|
@@ -797,7 +798,7 @@ await client.indexes.delete("6298d673f1090f1100476d4c");
|
|
|
797
798
|
|
|
798
799
|
## Assets
|
|
799
800
|
|
|
800
|
-
<details><summary><code>client.assets.<a href="/src/api/resources/assets/client/Client.ts">list</a>({ ...params }) -> core.Page<TwelvelabsApi.
|
|
801
|
+
<details><summary><code>client.assets.<a href="/src/api/resources/assets/client/Client.ts">list</a>({ ...params }) -> core.Page<TwelvelabsApi.AssetDetail></code></summary>
|
|
801
802
|
<dl>
|
|
802
803
|
<dd>
|
|
803
804
|
|
|
@@ -830,6 +831,7 @@ The platform returns your assets sorted by creation date, with the newest at the
|
|
|
830
831
|
const response = await client.assets.list({
|
|
831
832
|
page: 1,
|
|
832
833
|
pageLimit: 10,
|
|
834
|
+
filename: "meeting",
|
|
833
835
|
});
|
|
834
836
|
for await (const item of response) {
|
|
835
837
|
console.log(item);
|
|
@@ -839,6 +841,7 @@ for await (const item of response) {
|
|
|
839
841
|
const page = await client.assets.list({
|
|
840
842
|
page: 1,
|
|
841
843
|
pageLimit: 10,
|
|
844
|
+
filename: "meeting",
|
|
842
845
|
});
|
|
843
846
|
while (page.hasNextPage()) {
|
|
844
847
|
page = page.getNextPage();
|
|
@@ -898,7 +901,7 @@ This method creates an asset by uploading a file to the platform. Assets are med
|
|
|
898
901
|
- **Local file**: Set the `method` parameter to `direct` and use the `file` parameter to specify the file.
|
|
899
902
|
- **Publicly accessible URL**: Set the `method` parameter to `url` and use the `url` parameter to specify the URL of your file.
|
|
900
903
|
|
|
901
|
-
**File size**:
|
|
904
|
+
**File size**: Up to 4 GB.
|
|
902
905
|
|
|
903
906
|
**Additional requirements** depend on your workflow:
|
|
904
907
|
|
|
@@ -961,7 +964,7 @@ await client.assets.create({
|
|
|
961
964
|
</dl>
|
|
962
965
|
</details>
|
|
963
966
|
|
|
964
|
-
<details><summary><code>client.assets.<a href="/src/api/resources/assets/client/Client.ts">retrieve</a>(assetId) -> TwelvelabsApi.
|
|
967
|
+
<details><summary><code>client.assets.<a href="/src/api/resources/assets/client/Client.ts">retrieve</a>(assetId) -> TwelvelabsApi.AssetDetail</code></summary>
|
|
965
968
|
<dl>
|
|
966
969
|
<dd>
|
|
967
970
|
|
|
@@ -1024,7 +1027,7 @@ await client.assets.retrieve("6298d673f1090f1100476d4c");
|
|
|
1024
1027
|
</dl>
|
|
1025
1028
|
</details>
|
|
1026
1029
|
|
|
1027
|
-
<details><summary><code>client.assets.<a href="/src/api/resources/assets/client/Client.ts">delete</a>(assetId) -> void</code></summary>
|
|
1030
|
+
<details><summary><code>client.assets.<a href="/src/api/resources/assets/client/Client.ts">delete</a>(assetId, { ...params }) -> void</code></summary>
|
|
1028
1031
|
<dl>
|
|
1029
1032
|
<dd>
|
|
1030
1033
|
|
|
@@ -1038,10 +1041,16 @@ await client.assets.retrieve("6298d673f1090f1100476d4c");
|
|
|
1038
1041
|
|
|
1039
1042
|
This method deletes the specified asset. This action cannot be undone.
|
|
1040
1043
|
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1044
|
+
By default, the platform checks whether any indexed assets reference the asset. If references exist, the platform rejects the request with a `409 Conflict` error. To skip this check and delete the asset anyway, set the `force` query parameter to `true`. The platform unlinks any entity associations.
|
|
1045
|
+
|
|
1046
|
+
Before deleting, you can inspect existing references:
|
|
1047
|
+
|
|
1048
|
+
- [`GET`](/v1.3/api-reference/index-content/list-indexed-assets-by-asset) `/assets/{asset_id}/indexed-assets` returns a list of the indexed assets that will block deletion unless the `force` query parameter is set to `true`.
|
|
1049
|
+
- [`GET`](/v1.3/api-reference/entities/list-entities-by-asset) `/assets/{asset_id}/entities` returns a list of the entities whose associations the platform will unlink.
|
|
1050
|
+
</dd>
|
|
1051
|
+
</dl>
|
|
1052
|
+
</dd>
|
|
1053
|
+
</dl>
|
|
1045
1054
|
|
|
1046
1055
|
#### 🔌 Usage
|
|
1047
1056
|
|
|
@@ -1052,7 +1061,9 @@ This method deletes the specified asset. This action cannot be undone.
|
|
|
1052
1061
|
<dd>
|
|
1053
1062
|
|
|
1054
1063
|
```typescript
|
|
1055
|
-
await client.assets.delete("6298d673f1090f1100476d4c"
|
|
1064
|
+
await client.assets.delete("6298d673f1090f1100476d4c", {
|
|
1065
|
+
force: true,
|
|
1066
|
+
});
|
|
1056
1067
|
```
|
|
1057
1068
|
|
|
1058
1069
|
</dd>
|
|
@@ -1076,6 +1087,14 @@ await client.assets.delete("6298d673f1090f1100476d4c");
|
|
|
1076
1087
|
<dl>
|
|
1077
1088
|
<dd>
|
|
1078
1089
|
|
|
1090
|
+
**request:** `TwelvelabsApi.AssetsDeleteRequest`
|
|
1091
|
+
|
|
1092
|
+
</dd>
|
|
1093
|
+
</dl>
|
|
1094
|
+
|
|
1095
|
+
<dl>
|
|
1096
|
+
<dd>
|
|
1097
|
+
|
|
1079
1098
|
**requestOptions:** `Assets.RequestOptions`
|
|
1080
1099
|
|
|
1081
1100
|
</dd>
|
|
@@ -1181,9 +1200,9 @@ while (page.hasNextPage()) {
|
|
|
1181
1200
|
|
|
1182
1201
|
This method creates a multipart upload session.
|
|
1183
1202
|
|
|
1184
|
-
**Supported content**: Video
|
|
1203
|
+
**Supported content**: Video
|
|
1185
1204
|
|
|
1186
|
-
**File size**:
|
|
1205
|
+
**File size**: 4 GB maximum.
|
|
1187
1206
|
|
|
1188
1207
|
**Additional requirements** depend on your workflow:
|
|
1189
1208
|
|
|
@@ -2146,6 +2165,9 @@ await client.analyzeAsync.tasks.list({
|
|
|
2146
2165
|
page: 1,
|
|
2147
2166
|
pageLimit: 10,
|
|
2148
2167
|
status: "queued",
|
|
2168
|
+
videoUrl: "https://example.com/video.mp4",
|
|
2169
|
+
assetId: "69abc123def456789012abcd",
|
|
2170
|
+
analysisMode: "time_based_metadata",
|
|
2149
2171
|
});
|
|
2150
2172
|
```
|
|
2151
2173
|
|
|
@@ -2193,7 +2215,7 @@ await client.analyzeAsync.tasks.list({
|
|
|
2193
2215
|
<dl>
|
|
2194
2216
|
<dd>
|
|
2195
2217
|
|
|
2196
|
-
This method asynchronously analyzes your videos
|
|
2218
|
+
This method asynchronously analyzes your videos. It supports two modes: general analysis (prompt-based text generation) with Pegasus 1.2 and video segmentation with Pegasus 1.5.
|
|
2197
2219
|
|
|
2198
2220
|
<Accordion title="Input requirements">
|
|
2199
2221
|
- Minimum duration: 4 seconds
|
|
@@ -2205,6 +2227,8 @@ This method asynchronously analyzes your videos and generates fully customizable
|
|
|
2205
2227
|
|
|
2206
2228
|
**When to use this method**:
|
|
2207
2229
|
|
|
2230
|
+
- Generate custom text from your video using a prompt (Pegasus 1.2 only)
|
|
2231
|
+
- Extract timestamped metadata with custom fields from your video (Pegasus 1.5 only)
|
|
2208
2232
|
- Analyze videos longer than 1 hour
|
|
2209
2233
|
- Process videos asynchronously without blocking your application
|
|
2210
2234
|
|
|
@@ -2434,7 +2458,7 @@ await client.analyzeAsync.tasks.delete("64f8d2c7e4a1b37f8a9c5d12");
|
|
|
2434
2458
|
This method returns a list of the video embedding tasks in your account. The platform returns your video embedding tasks sorted by creation date, with the newest at the top of the list.
|
|
2435
2459
|
|
|
2436
2460
|
<Note title="Notes">
|
|
2437
|
-
- Video embeddings are stored for seven days
|
|
2461
|
+
- Video embeddings are stored for seven days.
|
|
2438
2462
|
- When you invoke this method without specifying the `started_at` and `ended_at` parameters, the platform returns all the video embedding tasks created within the last seven days.
|
|
2439
2463
|
</Note>
|
|
2440
2464
|
</dd>
|
|
@@ -2856,6 +2880,10 @@ await client.embed.v2.create({
|
|
|
2856
2880
|
|
|
2857
2881
|
This method returns a list of the async embedding tasks in your account. The platform returns your async embedding tasks sorted by creation date, with the newest at the top of the list.
|
|
2858
2882
|
|
|
2883
|
+
<Note title="Notes">
|
|
2884
|
+
- Embeddings are stored for seven days.
|
|
2885
|
+
- When you invoke this method without specifying the `started_at` and `ended_at` parameters, the platform returns all the async embedding tasks created within the last seven days.
|
|
2886
|
+
</Note>
|
|
2859
2887
|
</dd>
|
|
2860
2888
|
</dl>
|
|
2861
2889
|
</dd>
|
|
@@ -2968,8 +2996,9 @@ Creating embeddings asynchronously requires three steps:
|
|
|
2968
2996
|
2. Poll for the status of the task using the [`GET`](/v1.3/api-reference/create-embeddings-v2/retrieve-embeddings) method of the `/embed-v2/tasks/{task_id}` endpoint. Wait until the status is `ready`.
|
|
2969
2997
|
3. Retrieve the embeddings from the response when the status is `ready` using the [`GET`](/v1.3/api-reference/create-embeddings-v2/retrieve-embeddings) method of the `/embed-v2/tasks/{task_id}` endpoint.
|
|
2970
2998
|
|
|
2971
|
-
<Note title="
|
|
2972
|
-
This endpoint is rate-limited. For details, see the [Rate limits](/v1.3/docs/get-started/rate-limits) page.
|
|
2999
|
+
<Note title="Notes">
|
|
3000
|
+
- This endpoint is rate-limited. For details, see the [Rate limits](/v1.3/docs/get-started/rate-limits) page.
|
|
3001
|
+
- Embeddings are stored for seven days.
|
|
2973
3002
|
</Note>
|
|
2974
3003
|
</dd>
|
|
2975
3004
|
</dl>
|
|
@@ -3060,6 +3089,9 @@ This method retrieves the status and the results of an async embedding task.
|
|
|
3060
3089
|
|
|
3061
3090
|
Invoke this method repeatedly until the `status` field is `ready`. When `status` is `ready`, use the embeddings from the response.
|
|
3062
3091
|
|
|
3092
|
+
<Note title="Note">
|
|
3093
|
+
Embeddings are stored for seven days.
|
|
3094
|
+
</Note>
|
|
3063
3095
|
</dd>
|
|
3064
3096
|
</dl>
|
|
3065
3097
|
</dd>
|
|
@@ -3111,6 +3143,92 @@ await client.embed.v2.tasks.retrieve("64f8d2c7e4a1b37f8a9c5d12");
|
|
|
3111
3143
|
|
|
3112
3144
|
## EntityCollections Entities
|
|
3113
3145
|
|
|
3146
|
+
<details><summary><code>client.entityCollections.entities.<a href="/src/api/resources/entityCollections/resources/entities/client/Client.ts">listByAsset</a>(assetId, { ...params }) -> core.Page<TwelvelabsApi.Entity></code></summary>
|
|
3147
|
+
<dl>
|
|
3148
|
+
<dd>
|
|
3149
|
+
|
|
3150
|
+
#### 📝 Description
|
|
3151
|
+
|
|
3152
|
+
<dl>
|
|
3153
|
+
<dd>
|
|
3154
|
+
|
|
3155
|
+
<dl>
|
|
3156
|
+
<dd>
|
|
3157
|
+
|
|
3158
|
+
This method returns a list of entities whose [`asset_ids`](/v1.3/api-reference/entities/entity-collections/entities/retrieve#response.body.asset_ids) array contains the specified asset.
|
|
3159
|
+
|
|
3160
|
+
</dd>
|
|
3161
|
+
</dl>
|
|
3162
|
+
</dd>
|
|
3163
|
+
</dl>
|
|
3164
|
+
|
|
3165
|
+
#### 🔌 Usage
|
|
3166
|
+
|
|
3167
|
+
<dl>
|
|
3168
|
+
<dd>
|
|
3169
|
+
|
|
3170
|
+
<dl>
|
|
3171
|
+
<dd>
|
|
3172
|
+
|
|
3173
|
+
```typescript
|
|
3174
|
+
const response = await client.entityCollections.entities.listByAsset("6298d673f1090f1100476d4c", {
|
|
3175
|
+
page: 1,
|
|
3176
|
+
pageLimit: 10,
|
|
3177
|
+
});
|
|
3178
|
+
for await (const item of response) {
|
|
3179
|
+
console.log(item);
|
|
3180
|
+
}
|
|
3181
|
+
|
|
3182
|
+
// Or you can manually iterate page-by-page
|
|
3183
|
+
const page = await client.entityCollections.entities.listByAsset("6298d673f1090f1100476d4c", {
|
|
3184
|
+
page: 1,
|
|
3185
|
+
pageLimit: 10,
|
|
3186
|
+
});
|
|
3187
|
+
while (page.hasNextPage()) {
|
|
3188
|
+
page = page.getNextPage();
|
|
3189
|
+
}
|
|
3190
|
+
```
|
|
3191
|
+
|
|
3192
|
+
</dd>
|
|
3193
|
+
</dl>
|
|
3194
|
+
</dd>
|
|
3195
|
+
</dl>
|
|
3196
|
+
|
|
3197
|
+
#### ⚙️ Parameters
|
|
3198
|
+
|
|
3199
|
+
<dl>
|
|
3200
|
+
<dd>
|
|
3201
|
+
|
|
3202
|
+
<dl>
|
|
3203
|
+
<dd>
|
|
3204
|
+
|
|
3205
|
+
**assetId:** `string` — The unique identifier of the asset.
|
|
3206
|
+
|
|
3207
|
+
</dd>
|
|
3208
|
+
</dl>
|
|
3209
|
+
|
|
3210
|
+
<dl>
|
|
3211
|
+
<dd>
|
|
3212
|
+
|
|
3213
|
+
**request:** `TwelvelabsApi.entityCollections.EntitiesListByAssetRequest`
|
|
3214
|
+
|
|
3215
|
+
</dd>
|
|
3216
|
+
</dl>
|
|
3217
|
+
|
|
3218
|
+
<dl>
|
|
3219
|
+
<dd>
|
|
3220
|
+
|
|
3221
|
+
**requestOptions:** `Entities.RequestOptions`
|
|
3222
|
+
|
|
3223
|
+
</dd>
|
|
3224
|
+
</dl>
|
|
3225
|
+
</dd>
|
|
3226
|
+
</dl>
|
|
3227
|
+
|
|
3228
|
+
</dd>
|
|
3229
|
+
</dl>
|
|
3230
|
+
</details>
|
|
3231
|
+
|
|
3114
3232
|
<details><summary><code>client.entityCollections.entities.<a href="/src/api/resources/entityCollections/resources/entities/client/Client.ts">list</a>(entityCollectionId, { ...params }) -> core.Page<TwelvelabsApi.Entity></code></summary>
|
|
3115
3233
|
<dl>
|
|
3116
3234
|
<dd>
|
|
@@ -3784,11 +3902,6 @@ const response = await client.indexes.indexedAssets.list("6298d673f1090f1100476d
|
|
|
3784
3902
|
sortBy: "created_at",
|
|
3785
3903
|
sortOption: "desc",
|
|
3786
3904
|
filename: "01.mp4",
|
|
3787
|
-
duration: 1.1,
|
|
3788
|
-
fps: 1.1,
|
|
3789
|
-
width: 1.1,
|
|
3790
|
-
height: 1,
|
|
3791
|
-
size: 1.1,
|
|
3792
3905
|
createdAt: "2024-08-16T16:53:59Z",
|
|
3793
3906
|
updatedAt: "2024-08-16T16:53:59Z",
|
|
3794
3907
|
});
|
|
@@ -3803,11 +3916,6 @@ const page = await client.indexes.indexedAssets.list("6298d673f1090f1100476d4c",
|
|
|
3803
3916
|
sortBy: "created_at",
|
|
3804
3917
|
sortOption: "desc",
|
|
3805
3918
|
filename: "01.mp4",
|
|
3806
|
-
duration: 1.1,
|
|
3807
|
-
fps: 1.1,
|
|
3808
|
-
width: 1.1,
|
|
3809
|
-
height: 1,
|
|
3810
|
-
size: 1.1,
|
|
3811
3919
|
createdAt: "2024-08-16T16:53:59Z",
|
|
3812
3920
|
updatedAt: "2024-08-16T16:53:59Z",
|
|
3813
3921
|
});
|
|
@@ -4196,6 +4304,92 @@ await client.indexes.indexedAssets.update("6298d673f1090f1100476d4c", "6298d673f
|
|
|
4196
4304
|
</dl>
|
|
4197
4305
|
</details>
|
|
4198
4306
|
|
|
4307
|
+
<details><summary><code>client.indexes.indexedAssets.<a href="/src/api/resources/indexes/resources/indexedAssets/client/Client.ts">listByAsset</a>(assetId, { ...params }) -> core.Page<TwelvelabsApi.IndexedAssetSummary></code></summary>
|
|
4308
|
+
<dl>
|
|
4309
|
+
<dd>
|
|
4310
|
+
|
|
4311
|
+
#### 📝 Description
|
|
4312
|
+
|
|
4313
|
+
<dl>
|
|
4314
|
+
<dd>
|
|
4315
|
+
|
|
4316
|
+
<dl>
|
|
4317
|
+
<dd>
|
|
4318
|
+
|
|
4319
|
+
This method returns a list of indexed assets that reference the specified asset. Each entry includes the indexed asset ID and the index it belongs to.
|
|
4320
|
+
|
|
4321
|
+
</dd>
|
|
4322
|
+
</dl>
|
|
4323
|
+
</dd>
|
|
4324
|
+
</dl>
|
|
4325
|
+
|
|
4326
|
+
#### 🔌 Usage
|
|
4327
|
+
|
|
4328
|
+
<dl>
|
|
4329
|
+
<dd>
|
|
4330
|
+
|
|
4331
|
+
<dl>
|
|
4332
|
+
<dd>
|
|
4333
|
+
|
|
4334
|
+
```typescript
|
|
4335
|
+
const response = await client.indexes.indexedAssets.listByAsset("6298d673f1090f1100476d4c", {
|
|
4336
|
+
page: 1,
|
|
4337
|
+
pageLimit: 10,
|
|
4338
|
+
});
|
|
4339
|
+
for await (const item of response) {
|
|
4340
|
+
console.log(item);
|
|
4341
|
+
}
|
|
4342
|
+
|
|
4343
|
+
// Or you can manually iterate page-by-page
|
|
4344
|
+
const page = await client.indexes.indexedAssets.listByAsset("6298d673f1090f1100476d4c", {
|
|
4345
|
+
page: 1,
|
|
4346
|
+
pageLimit: 10,
|
|
4347
|
+
});
|
|
4348
|
+
while (page.hasNextPage()) {
|
|
4349
|
+
page = page.getNextPage();
|
|
4350
|
+
}
|
|
4351
|
+
```
|
|
4352
|
+
|
|
4353
|
+
</dd>
|
|
4354
|
+
</dl>
|
|
4355
|
+
</dd>
|
|
4356
|
+
</dl>
|
|
4357
|
+
|
|
4358
|
+
#### ⚙️ Parameters
|
|
4359
|
+
|
|
4360
|
+
<dl>
|
|
4361
|
+
<dd>
|
|
4362
|
+
|
|
4363
|
+
<dl>
|
|
4364
|
+
<dd>
|
|
4365
|
+
|
|
4366
|
+
**assetId:** `string` — The unique identifier of the asset.
|
|
4367
|
+
|
|
4368
|
+
</dd>
|
|
4369
|
+
</dl>
|
|
4370
|
+
|
|
4371
|
+
<dl>
|
|
4372
|
+
<dd>
|
|
4373
|
+
|
|
4374
|
+
**request:** `TwelvelabsApi.indexes.IndexedAssetsListByAssetRequest`
|
|
4375
|
+
|
|
4376
|
+
</dd>
|
|
4377
|
+
</dl>
|
|
4378
|
+
|
|
4379
|
+
<dl>
|
|
4380
|
+
<dd>
|
|
4381
|
+
|
|
4382
|
+
**requestOptions:** `IndexedAssets.RequestOptions`
|
|
4383
|
+
|
|
4384
|
+
</dd>
|
|
4385
|
+
</dl>
|
|
4386
|
+
</dd>
|
|
4387
|
+
</dl>
|
|
4388
|
+
|
|
4389
|
+
</dd>
|
|
4390
|
+
</dl>
|
|
4391
|
+
</details>
|
|
4392
|
+
|
|
4199
4393
|
## Indexes Videos
|
|
4200
4394
|
|
|
4201
4395
|
<details><summary><code>client.indexes.videos.<a href="/src/api/resources/indexes/resources/videos/client/Client.ts">list</a>(indexId, { ...params }) -> core.Page<TwelvelabsApi.VideoVector></code></summary>
|
|
@@ -4234,11 +4428,6 @@ const response = await client.indexes.videos.list("6298d673f1090f1100476d4c", {
|
|
|
4234
4428
|
sortBy: "created_at",
|
|
4235
4429
|
sortOption: "desc",
|
|
4236
4430
|
filename: "01.mp4",
|
|
4237
|
-
duration: 1.1,
|
|
4238
|
-
fps: 1.1,
|
|
4239
|
-
width: 1.1,
|
|
4240
|
-
height: 1,
|
|
4241
|
-
size: 1.1,
|
|
4242
4431
|
createdAt: "2024-08-16T16:53:59Z",
|
|
4243
4432
|
updatedAt: "2024-08-16T16:53:59Z",
|
|
4244
4433
|
});
|
|
@@ -4253,11 +4442,6 @@ const page = await client.indexes.videos.list("6298d673f1090f1100476d4c", {
|
|
|
4253
4442
|
sortBy: "created_at",
|
|
4254
4443
|
sortOption: "desc",
|
|
4255
4444
|
filename: "01.mp4",
|
|
4256
|
-
duration: 1.1,
|
|
4257
|
-
fps: 1.1,
|
|
4258
|
-
width: 1.1,
|
|
4259
|
-
height: 1,
|
|
4260
|
-
size: 1.1,
|
|
4261
4445
|
createdAt: "2024-08-16T16:53:59Z",
|
|
4262
4446
|
updatedAt: "2024-08-16T16:53:59Z",
|
|
4263
4447
|
});
|