twelvelabs-js 1.2.2 → 1.2.4
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 +14 -36
- package/Client.js +22 -40
- package/README.md +20 -1
- package/api/client/requests/AnalyzeRequest.d.ts +43 -30
- package/api/client/requests/AnalyzeStreamRequest.d.ts +43 -30
- 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 +96 -2
- package/api/resources/analyzeAsync/resources/tasks/client/Client.js +118 -17
- package/api/resources/analyzeAsync/resources/tasks/client/requests/CreateAsyncAnalyzeRequest.d.ts +176 -3
- package/api/resources/analyzeAsync/resources/tasks/client/requests/TasksListRequest.d.ts +32 -1
- package/api/resources/analyzeAsync/resources/tasks/types/CreateAsyncAnalyzeRequestAnalysisMode.d.ts +15 -0
- package/api/resources/analyzeAsync/resources/tasks/types/CreateAsyncAnalyzeRequestAnalysisMode.js +10 -0
- package/api/resources/analyzeAsync/resources/tasks/types/CreateAsyncAnalyzeRequestModelName.d.ts +15 -0
- package/api/resources/analyzeAsync/resources/tasks/types/CreateAsyncAnalyzeRequestModelName.js +10 -0
- package/api/resources/analyzeAsync/resources/tasks/types/TasksListRequestAnalysisMode.d.ts +8 -0
- package/api/resources/analyzeAsync/resources/tasks/types/TasksListRequestAnalysisMode.js +10 -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 +20 -6
- package/api/resources/assets/client/Client.js +48 -17
- 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 +2 -2
- package/api/resources/embed/resources/tasks/client/Client.d.ts +1 -1
- package/api/resources/embed/resources/tasks/client/Client.js +9 -9
- package/api/resources/embed/resources/v2/client/Client.js +2 -2
- package/api/resources/embed/resources/v2/resources/tasks/client/Client.d.ts +13 -3
- package/api/resources/embed/resources/v2/resources/tasks/client/Client.js +19 -9
- package/api/resources/entityCollections/client/Client.js +10 -10
- package/api/resources/entityCollections/resources/entities/client/Client.d.ts +16 -0
- package/api/resources/entityCollections/resources/entities/client/Client.js +108 -17
- 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 +10 -10
- package/api/resources/indexes/resources/indexedAssets/client/Client.d.ts +16 -5
- package/api/resources/indexes/resources/indexedAssets/client/Client.js +131 -20
- 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 +39 -19
- package/api/resources/indexes/resources/videos/client/requests/VideosListRequest.d.ts +15 -15
- package/api/resources/multipartUpload/client/Client.d.ts +3 -3
- package/api/resources/multipartUpload/client/Client.js +13 -13
- package/api/resources/multipartUpload/client/requests/CreateAssetUploadRequest.d.ts +12 -0
- package/api/resources/search/client/Client.js +4 -4
- package/api/resources/tasks/client/Client.js +8 -8
- package/api/resources/tasks/resources/transfers/client/Client.js +6 -6
- package/api/types/AnalyzePromptV2.d.ts +13 -0
- package/api/types/AnalyzePromptV2.js +5 -0
- package/api/types/AnalyzeRequestModelName.d.ts +15 -0
- package/api/types/AnalyzeRequestModelName.js +10 -0
- package/api/types/AnalyzeStreamRequestModelName.d.ts +15 -0
- package/api/types/AnalyzeStreamRequestModelName.js +10 -0
- package/api/types/AnalyzeTaskResponse.d.ts +6 -0
- package/api/types/AnalyzeTaskResponseRequestParams.d.ts +39 -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/AnalyzeTaskResponseRequestParamsPromptV2.d.ts +16 -0
- package/api/types/AnalyzeTaskResponseRequestParamsPromptV2.js +5 -0
- package/api/types/AnalyzeTaskResponseRequestParamsPromptV2MediaSourcesItem.d.ts +11 -0
- package/api/types/AnalyzeTaskResponseRequestParamsPromptV2MediaSourcesItem.js +5 -0
- package/api/types/AnalyzeTaskResponseRequestParamsResponseFormat.d.ts +24 -0
- package/api/types/AnalyzeTaskResponseRequestParamsResponseFormat.js +5 -0
- package/api/types/AnalyzeTaskResponseRequestParamsResponseFormatSegmentDefinitionsItem.d.ts +12 -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 +21 -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/AnalyzeTaskResultUsage.d.ts +1 -1
- package/api/types/AnalyzeTimeRange.d.ts +12 -0
- package/api/types/AnalyzeTimeRange.js +5 -0
- 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 +117 -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 +28 -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} +27 -8
- 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/TokenUsage.d.ts +3 -1
- 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 +46 -2
- package/api/types/index.js +46 -2
- package/dist/Client.d.ts +14 -36
- package/dist/Client.js +22 -40
- package/dist/api/client/requests/AnalyzeRequest.d.ts +43 -30
- package/dist/api/client/requests/AnalyzeStreamRequest.d.ts +43 -30
- 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 +96 -2
- package/dist/api/resources/analyzeAsync/resources/tasks/client/Client.js +118 -17
- package/dist/api/resources/analyzeAsync/resources/tasks/client/requests/CreateAsyncAnalyzeRequest.d.ts +176 -3
- package/dist/api/resources/analyzeAsync/resources/tasks/client/requests/TasksListRequest.d.ts +32 -1
- package/dist/api/resources/analyzeAsync/resources/tasks/types/CreateAsyncAnalyzeRequestAnalysisMode.d.ts +15 -0
- package/dist/api/resources/analyzeAsync/resources/tasks/types/CreateAsyncAnalyzeRequestAnalysisMode.js +10 -0
- package/dist/api/resources/analyzeAsync/resources/tasks/types/CreateAsyncAnalyzeRequestModelName.d.ts +15 -0
- package/dist/api/resources/analyzeAsync/resources/tasks/types/CreateAsyncAnalyzeRequestModelName.js +10 -0
- package/dist/api/resources/analyzeAsync/resources/tasks/types/TasksListRequestAnalysisMode.d.ts +8 -0
- package/dist/api/resources/analyzeAsync/resources/tasks/types/TasksListRequestAnalysisMode.js +10 -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 +20 -6
- package/dist/api/resources/assets/client/Client.js +48 -17
- 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 +2 -2
- package/dist/api/resources/embed/resources/tasks/client/Client.d.ts +1 -1
- package/dist/api/resources/embed/resources/tasks/client/Client.js +9 -9
- package/dist/api/resources/embed/resources/v2/client/Client.js +2 -2
- package/dist/api/resources/embed/resources/v2/resources/tasks/client/Client.d.ts +13 -3
- package/dist/api/resources/embed/resources/v2/resources/tasks/client/Client.js +19 -9
- package/dist/api/resources/entityCollections/client/Client.js +10 -10
- package/dist/api/resources/entityCollections/resources/entities/client/Client.d.ts +16 -0
- package/dist/api/resources/entityCollections/resources/entities/client/Client.js +108 -17
- 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 +10 -10
- package/dist/api/resources/indexes/resources/indexedAssets/client/Client.d.ts +16 -5
- package/dist/api/resources/indexes/resources/indexedAssets/client/Client.js +131 -20
- 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 +39 -19
- package/dist/api/resources/indexes/resources/videos/client/requests/VideosListRequest.d.ts +15 -15
- package/dist/api/resources/multipartUpload/client/Client.d.ts +3 -3
- package/dist/api/resources/multipartUpload/client/Client.js +13 -13
- package/dist/api/resources/multipartUpload/client/requests/CreateAssetUploadRequest.d.ts +12 -0
- package/dist/api/resources/search/client/Client.js +4 -4
- package/dist/api/resources/tasks/client/Client.js +8 -8
- package/dist/api/resources/tasks/resources/transfers/client/Client.js +6 -6
- package/dist/api/types/AnalyzePromptV2.d.ts +13 -0
- package/dist/api/types/AnalyzePromptV2.js +5 -0
- package/dist/api/types/AnalyzeRequestModelName.d.ts +15 -0
- package/dist/api/types/AnalyzeRequestModelName.js +10 -0
- package/dist/api/types/AnalyzeStreamRequestModelName.d.ts +15 -0
- package/dist/api/types/AnalyzeStreamRequestModelName.js +10 -0
- package/dist/api/types/AnalyzeTaskResponse.d.ts +6 -0
- package/dist/api/types/AnalyzeTaskResponseRequestParams.d.ts +39 -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/AnalyzeTaskResponseRequestParamsPromptV2.d.ts +16 -0
- package/dist/api/types/AnalyzeTaskResponseRequestParamsPromptV2.js +5 -0
- package/dist/api/types/AnalyzeTaskResponseRequestParamsPromptV2MediaSourcesItem.d.ts +11 -0
- package/dist/api/types/AnalyzeTaskResponseRequestParamsPromptV2MediaSourcesItem.js +5 -0
- package/dist/api/types/AnalyzeTaskResponseRequestParamsResponseFormat.d.ts +24 -0
- package/dist/api/types/AnalyzeTaskResponseRequestParamsResponseFormat.js +5 -0
- package/dist/api/types/AnalyzeTaskResponseRequestParamsResponseFormatSegmentDefinitionsItem.d.ts +12 -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 +21 -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/AnalyzeTaskResultUsage.d.ts +1 -1
- package/dist/api/types/AnalyzeTimeRange.d.ts +12 -0
- package/dist/api/types/AnalyzeTimeRange.js +5 -0
- 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 +117 -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 +28 -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} +27 -8
- 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/TokenUsage.d.ts +3 -1
- 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 +46 -2
- package/dist/api/types/index.js +46 -2
- package/dist/serialization/client/requests/AnalyzeRequest.d.ts +10 -5
- package/dist/serialization/client/requests/AnalyzeRequest.js +10 -5
- package/dist/serialization/client/requests/AnalyzeStreamRequest.d.ts +10 -5
- package/dist/serialization/client/requests/AnalyzeStreamRequest.js +10 -5
- package/dist/serialization/resources/analyzeAsync/resources/tasks/client/requests/CreateAsyncAnalyzeRequest.d.ts +15 -6
- package/dist/serialization/resources/analyzeAsync/resources/tasks/client/requests/CreateAsyncAnalyzeRequest.js +15 -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/AnalyzePromptV2.d.ts +14 -0
- package/dist/serialization/types/AnalyzePromptV2.js +45 -0
- package/dist/serialization/types/AnalyzeRequestModelName.d.ts +10 -0
- package/dist/serialization/types/AnalyzeRequestModelName.js +41 -0
- package/dist/serialization/types/AnalyzeStreamRequestModelName.d.ts +10 -0
- package/dist/serialization/types/AnalyzeStreamRequestModelName.js +41 -0
- package/dist/serialization/types/AnalyzeTaskResponse.d.ts +5 -0
- package/dist/serialization/types/AnalyzeTaskResponse.js +5 -0
- package/dist/serialization/types/AnalyzeTaskResponseRequestParams.d.ts +24 -0
- package/dist/serialization/types/AnalyzeTaskResponseRequestParams.js +55 -0
- package/dist/serialization/types/AnalyzeTaskResponseRequestParamsAnalysisMode.d.ts +10 -0
- package/dist/serialization/types/AnalyzeTaskResponseRequestParamsAnalysisMode.js +41 -0
- package/dist/serialization/types/AnalyzeTaskResponseRequestParamsPromptV2.d.ts +14 -0
- package/dist/serialization/types/AnalyzeTaskResponseRequestParamsPromptV2.js +45 -0
- package/dist/serialization/types/AnalyzeTaskResponseRequestParamsPromptV2MediaSourcesItem.d.ts +15 -0
- package/dist/serialization/types/AnalyzeTaskResponseRequestParamsPromptV2MediaSourcesItem.js +46 -0
- package/dist/serialization/types/AnalyzeTaskResponseRequestParamsResponseFormat.d.ts +16 -0
- package/dist/serialization/types/AnalyzeTaskResponseRequestParamsResponseFormat.js +47 -0
- package/dist/serialization/types/AnalyzeTaskResponseRequestParamsResponseFormatSegmentDefinitionsItem.d.ts +19 -0
- package/dist/serialization/types/AnalyzeTaskResponseRequestParamsResponseFormatSegmentDefinitionsItem.js +54 -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 +19 -0
- package/dist/serialization/types/AnalyzeTaskResponseVideoSource.js +50 -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/AnalyzeTimeRange.d.ts +13 -0
- package/dist/serialization/types/AnalyzeTimeRange.js +44 -0
- 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 +19 -0
- package/dist/serialization/types/SegmentDefinition.js +50 -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/TokenUsage.d.ts +2 -1
- package/dist/serialization/types/TokenUsage.js +2 -1
- 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 +46 -2
- package/dist/serialization/types/index.js +46 -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 +233 -68
- package/serialization/client/requests/AnalyzeRequest.d.ts +10 -5
- package/serialization/client/requests/AnalyzeRequest.js +10 -5
- package/serialization/client/requests/AnalyzeStreamRequest.d.ts +10 -5
- package/serialization/client/requests/AnalyzeStreamRequest.js +10 -5
- package/serialization/resources/analyzeAsync/resources/tasks/client/requests/CreateAsyncAnalyzeRequest.d.ts +15 -6
- package/serialization/resources/analyzeAsync/resources/tasks/client/requests/CreateAsyncAnalyzeRequest.js +15 -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/AnalyzePromptV2.d.ts +14 -0
- package/serialization/types/AnalyzePromptV2.js +45 -0
- package/serialization/types/AnalyzeRequestModelName.d.ts +10 -0
- package/serialization/types/AnalyzeRequestModelName.js +41 -0
- package/serialization/types/AnalyzeStreamRequestModelName.d.ts +10 -0
- package/serialization/types/AnalyzeStreamRequestModelName.js +41 -0
- package/serialization/types/AnalyzeTaskResponse.d.ts +5 -0
- package/serialization/types/AnalyzeTaskResponse.js +5 -0
- package/serialization/types/AnalyzeTaskResponseRequestParams.d.ts +24 -0
- package/serialization/types/AnalyzeTaskResponseRequestParams.js +55 -0
- package/serialization/types/AnalyzeTaskResponseRequestParamsAnalysisMode.d.ts +10 -0
- package/serialization/types/AnalyzeTaskResponseRequestParamsAnalysisMode.js +41 -0
- package/serialization/types/AnalyzeTaskResponseRequestParamsPromptV2.d.ts +14 -0
- package/serialization/types/AnalyzeTaskResponseRequestParamsPromptV2.js +45 -0
- package/serialization/types/AnalyzeTaskResponseRequestParamsPromptV2MediaSourcesItem.d.ts +15 -0
- package/serialization/types/AnalyzeTaskResponseRequestParamsPromptV2MediaSourcesItem.js +46 -0
- package/serialization/types/AnalyzeTaskResponseRequestParamsResponseFormat.d.ts +16 -0
- package/serialization/types/AnalyzeTaskResponseRequestParamsResponseFormat.js +47 -0
- package/serialization/types/AnalyzeTaskResponseRequestParamsResponseFormatSegmentDefinitionsItem.d.ts +19 -0
- package/serialization/types/AnalyzeTaskResponseRequestParamsResponseFormatSegmentDefinitionsItem.js +54 -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 +19 -0
- package/serialization/types/AnalyzeTaskResponseVideoSource.js +50 -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/AnalyzeTimeRange.d.ts +13 -0
- package/serialization/types/AnalyzeTimeRange.js +44 -0
- 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 +19 -0
- package/serialization/types/SegmentDefinition.js +50 -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/TokenUsage.d.ts +2 -1
- package/serialization/types/TokenUsage.js +2 -1
- 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 +46 -2
- package/serialization/types/index.js +46 -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
package/api/types/One.d.ts
CHANGED
|
@@ -5,6 +5,6 @@
|
|
|
5
5
|
* Provide the video via a unique identifier of an asset.
|
|
6
6
|
*/
|
|
7
7
|
export interface One {
|
|
8
|
-
/** The unique identifier of an asset from a [direct](/v1.3/api-reference/upload-content/direct-uploads) or [multipart](/v1.3/api-reference/upload-content/multipart-uploads) upload. */
|
|
8
|
+
/** The unique identifier of an asset from a [direct](/v1.3/api-reference/upload-content/direct-uploads) or [multipart](/v1.3/api-reference/upload-content/multipart-uploads) upload. The asset status must be `ready`. Use the [Retrieve an asset](/v1.3/api-reference/upload-content/direct-uploads/retrieve) method to check the status. */
|
|
9
9
|
assetId: string;
|
|
10
10
|
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as TwelvelabsApi from "../index";
|
|
5
|
+
/**
|
|
6
|
+
* Defines a type of segment to extract from the video.
|
|
7
|
+
*/
|
|
8
|
+
export interface SegmentDefinition {
|
|
9
|
+
/** A unique identifier for this segment definition. */
|
|
10
|
+
id: string;
|
|
11
|
+
/** Describe what this type of segment looks like in the video. The model uses this text to identify matching segments. */
|
|
12
|
+
description: string;
|
|
13
|
+
/** Custom fields to extract for each segment instance. Maximum 20 fields. */
|
|
14
|
+
fields?: TwelvelabsApi.SegmentField[];
|
|
15
|
+
/** Reference images that help the model identify segments. Maximum 4 sources. */
|
|
16
|
+
mediaSources?: TwelvelabsApi.SmeMediaSource[];
|
|
17
|
+
/**
|
|
18
|
+
* Time windows that limit segment extraction to specific parts of the video. Only supported for Pegasus 1.5 with `analysis_mode` set to `time_based_metadata`.
|
|
19
|
+
*
|
|
20
|
+
* <Note title="Notes">
|
|
21
|
+
* - Each range must satisfy `end_time > start_time` with a minimum duration of `2` seconds. Both values must fall within the video duration.
|
|
22
|
+
* - Ranges within a single definition must not overlap. Touching boundaries are allowed (Example: `[0, 5]` and `[5, 10]`).
|
|
23
|
+
* - Mutually exclusive with the top-level `start_time` / `end_time` fields.
|
|
24
|
+
* - Mutually exclusive with `min_segment_duration` and `max_segment_duration`.
|
|
25
|
+
* </Note>
|
|
26
|
+
*/
|
|
27
|
+
timeRanges?: TwelvelabsApi.AnalyzeTimeRange[];
|
|
28
|
+
}
|
|
@@ -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
|
+
* A custom field to extract for each segment.
|
|
7
|
+
*/
|
|
8
|
+
export interface SegmentField {
|
|
9
|
+
/** The name of the field. */
|
|
10
|
+
name: string;
|
|
11
|
+
/** The data type of the field. */
|
|
12
|
+
type: TwelvelabsApi.SegmentFieldType;
|
|
13
|
+
/** Instructions that guide the model on what this field should contain and how to extract it from the video. */
|
|
14
|
+
description: string;
|
|
15
|
+
/** Allowed values for this field. Maximum 50 values. */
|
|
16
|
+
enum?: string[];
|
|
17
|
+
/** Required when `type` is `array`. Specifies the type of array elements. */
|
|
18
|
+
items?: TwelvelabsApi.SegmentFieldItems;
|
|
19
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as TwelvelabsApi from "../index";
|
|
5
|
+
/**
|
|
6
|
+
* Required when `type` is `array`. Specifies the type of array elements.
|
|
7
|
+
*/
|
|
8
|
+
export interface SegmentFieldItems {
|
|
9
|
+
type: TwelvelabsApi.SegmentFieldItemsType;
|
|
10
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export type SegmentFieldItemsType = "string" | "number" | "boolean" | "integer";
|
|
5
|
+
export declare const SegmentFieldItemsType: {
|
|
6
|
+
readonly String: "string";
|
|
7
|
+
readonly Number: "number";
|
|
8
|
+
readonly Boolean: "boolean";
|
|
9
|
+
readonly Integer: "integer";
|
|
10
|
+
};
|
|
@@ -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.SegmentFieldItemsType = void 0;
|
|
7
|
+
exports.SegmentFieldItemsType = {
|
|
8
|
+
String: "string",
|
|
9
|
+
Number: "number",
|
|
10
|
+
Boolean: "boolean",
|
|
11
|
+
Integer: "integer",
|
|
12
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* The data type of the field.
|
|
6
|
+
*/
|
|
7
|
+
export type SegmentFieldType = "string" | "boolean" | "number" | "integer" | "array";
|
|
8
|
+
export declare const SegmentFieldType: {
|
|
9
|
+
readonly String: "string";
|
|
10
|
+
readonly Boolean: "boolean";
|
|
11
|
+
readonly Number: "number";
|
|
12
|
+
readonly Integer: "integer";
|
|
13
|
+
readonly Array: "array";
|
|
14
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
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.SegmentFieldType = void 0;
|
|
7
|
+
exports.SegmentFieldType = {
|
|
8
|
+
String: "string",
|
|
9
|
+
Boolean: "boolean",
|
|
10
|
+
Number: "number",
|
|
11
|
+
Integer: "integer",
|
|
12
|
+
Array: "array",
|
|
13
|
+
};
|
|
@@ -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
|
+
* A reference image that provides visual context for segment identification. Provide exactly one of `url`, `asset_id`, or `base64_string`.
|
|
7
|
+
*/
|
|
8
|
+
export interface SmeMediaSource {
|
|
9
|
+
/** A descriptive name for this media source. */
|
|
10
|
+
name: string;
|
|
11
|
+
/** The media type. Only `image` is available. */
|
|
12
|
+
mediaType: TwelvelabsApi.SmeMediaSourceMediaType;
|
|
13
|
+
/** A publicly accessible HTTPS URL of the image. */
|
|
14
|
+
url?: string;
|
|
15
|
+
/** The unique identifier of an uploaded asset. */
|
|
16
|
+
assetId?: string;
|
|
17
|
+
/** Base64-encoded image data. The maximum size is 30MB. */
|
|
18
|
+
base64String?: string;
|
|
19
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* The media type. Only `image` is available.
|
|
6
|
+
*/
|
|
7
|
+
export type SmeMediaSourceMediaType = "image";
|
|
8
|
+
export declare const SmeMediaSourceMediaType: {
|
|
9
|
+
readonly Image: "image";
|
|
10
|
+
};
|
|
@@ -5,9 +5,9 @@ import * as TwelvelabsApi from "../index";
|
|
|
5
5
|
/**
|
|
6
6
|
* Specifies the format of the response. When you omit this parameter, the platform returns unstructured text.
|
|
7
7
|
*/
|
|
8
|
-
export interface
|
|
8
|
+
export interface SyncResponseFormat {
|
|
9
9
|
/** Set this parameter to "json_schema" to receive structured JSON responses. */
|
|
10
|
-
type: TwelvelabsApi.
|
|
10
|
+
type: TwelvelabsApi.SyncResponseFormatType;
|
|
11
11
|
/**
|
|
12
12
|
* 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.
|
|
13
13
|
*
|
|
@@ -24,23 +24,30 @@ export interface ResponseFormat {
|
|
|
24
24
|
*
|
|
25
25
|
* | Type | Supported keywords | Notes |
|
|
26
26
|
* |------|-------------------|-------|
|
|
27
|
-
* | `integer` | `maximum`, `exclusiveMaximum`, `minimum`, `exclusiveMinimum`. | - `maximum`: Sets the highest allowed value (inclusive).<br/>- `exclusiveMaximum`: Sets the highest allowed value (exclusive).<br
|
|
27
|
+
* | `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. |
|
|
28
28
|
* | `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. |
|
|
29
29
|
* | `object` | `properties`, `required` | - `properties`: Defines object properties and their schemas. - `required`: Specifies mandatory properties.<br/>See object limitations below. |
|
|
30
|
-
* | `array` | `items`, `minItems` | `minItems` accepts only `0` or `1
|
|
30
|
+
* | `array` | `items`, `minItems` | `minItems` accepts only `0` or `1`.<br/>See array limitations below. |
|
|
31
31
|
*
|
|
32
32
|
*
|
|
33
33
|
* **String limitations**
|
|
34
34
|
*
|
|
35
|
-
*
|
|
35
|
+
* When you use the `string` type:
|
|
36
|
+
* - The platform validates strings using only `pattern` and `format`. Including `minLength` or `maxLength` causes a 422 error: "String length constraints (minLength) are not supported." Remove these keywords from your schema.
|
|
36
37
|
*
|
|
37
38
|
*
|
|
38
39
|
* **Object limitations**
|
|
39
40
|
*
|
|
40
41
|
* When you use the `object` type:
|
|
41
|
-
* - The platform
|
|
42
|
-
* - The
|
|
43
|
-
* -
|
|
42
|
+
* - The platform does not support the `additionalProperties` keyword. Including it causes a 422 error. Remove it from your schema.
|
|
43
|
+
* - The platform returns properties in declaration order.
|
|
44
|
+
* - Make the first property required. If the first property is optional, the platform moves the first required property to the beginning.
|
|
45
|
+
*
|
|
46
|
+
*
|
|
47
|
+
* **Array limitations**
|
|
48
|
+
*
|
|
49
|
+
* When you use the `array` type:
|
|
50
|
+
* - The platform does not support `uniqueItems` or `maxItems`. Including either keyword causes a 422 error. Remove them from your schema.
|
|
44
51
|
*
|
|
45
52
|
*
|
|
46
53
|
* **Constant and enumerated values**
|
|
@@ -70,6 +77,18 @@ export interface ResponseFormat {
|
|
|
70
77
|
* For details, see the [JSON Schema documentation on $defs](https://json-schema.org/understanding-json-schema/structuring#defs).
|
|
71
78
|
*
|
|
72
79
|
*
|
|
80
|
+
* **Reserved property names (`start_time` / `end_time`)**
|
|
81
|
+
*
|
|
82
|
+
* For `pegasus1.5`, properties named `start_time` or `end_time` in your response schema receive special type handling. These are unrelated to the top-level `start_time` / `end_time` request parameters. The model outputs these values as floating-point seconds, and the platform converts them based on the declared type at any nesting depth (including inside array `items`):
|
|
83
|
+
*
|
|
84
|
+
* | Declared type | Platform behavior |
|
|
85
|
+
* |---------------|-------------------|
|
|
86
|
+
* | `number` | Passes the value through without conversion. |
|
|
87
|
+
* | `integer` | Rounds the value to the nearest integer before returning it. |
|
|
88
|
+
* | `string` (no `format`) | Converts the value to the `hh:mm:ss.fff` format. |
|
|
89
|
+
*
|
|
90
|
+
* All other property names in your schema remain unconstrained by these rules.
|
|
91
|
+
*
|
|
73
92
|
*
|
|
74
93
|
* **Response validation**
|
|
75
94
|
*
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
/**
|
|
5
5
|
* Set this parameter to "json_schema" to receive structured JSON responses.
|
|
6
6
|
*/
|
|
7
|
-
export type
|
|
8
|
-
export declare const
|
|
7
|
+
export type SyncResponseFormatType = "json_schema";
|
|
8
|
+
export declare const SyncResponseFormatType: {
|
|
9
9
|
readonly JsonSchema: "json_schema";
|
|
10
10
|
};
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* This file was auto-generated by Fern from our API Definition.
|
|
4
4
|
*/
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.
|
|
7
|
-
exports.
|
|
6
|
+
exports.SyncResponseFormatType = void 0;
|
|
7
|
+
exports.SyncResponseFormatType = {
|
|
8
8
|
JsonSchema: "json_schema",
|
|
9
9
|
};
|
package/api/types/index.d.ts
CHANGED
|
@@ -1,7 +1,20 @@
|
|
|
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";
|
|
16
|
+
export * from "./AnalyzeStreamRequestModelName";
|
|
17
|
+
export * from "./AnalyzeRequestModelName";
|
|
5
18
|
export * from "./Url";
|
|
6
19
|
export * from "./One";
|
|
7
20
|
export * from "./Two";
|
|
@@ -115,12 +128,36 @@ export * from "./StreamEndResponseMetadata";
|
|
|
115
128
|
export * from "./StreamEndResponse";
|
|
116
129
|
export * from "./NonStreamAnalyzeResponse";
|
|
117
130
|
export * from "./TokenUsage";
|
|
118
|
-
export * from "./
|
|
119
|
-
export * from "./
|
|
131
|
+
export * from "./AsyncResponseFormatType";
|
|
132
|
+
export * from "./AsyncResponseFormat";
|
|
133
|
+
export * from "./SyncResponseFormatType";
|
|
134
|
+
export * from "./SyncResponseFormat";
|
|
135
|
+
export * from "./SegmentDefinition";
|
|
136
|
+
export * from "./AnalyzePromptV2";
|
|
137
|
+
export * from "./AnalyzeTimeRange";
|
|
138
|
+
export * from "./SegmentFieldType";
|
|
139
|
+
export * from "./SegmentFieldItemsType";
|
|
140
|
+
export * from "./SegmentFieldItems";
|
|
141
|
+
export * from "./SegmentField";
|
|
142
|
+
export * from "./SmeMediaSourceMediaType";
|
|
143
|
+
export * from "./SmeMediaSource";
|
|
120
144
|
export * from "./FinishReason";
|
|
121
145
|
export * from "./VideoContext";
|
|
122
146
|
export * from "./AnalyzeTaskStatus";
|
|
123
147
|
export * from "./CreateAnalyzeTaskResponse";
|
|
148
|
+
export * from "./AnalyzeTaskResponseVideoSourceType";
|
|
149
|
+
export * from "./AnalyzeTaskResponseVideoSourceSystemMetadata";
|
|
150
|
+
export * from "./AnalyzeTaskResponseVideoSource";
|
|
151
|
+
export * from "./AnalyzeTaskResponseRequestParamsAnalysisMode";
|
|
152
|
+
export * from "./AnalyzeTaskResponseRequestParamsPromptV2MediaSourcesItem";
|
|
153
|
+
export * from "./AnalyzeTaskResponseRequestParamsPromptV2";
|
|
154
|
+
export * from "./AnalyzeTaskResponseRequestParamsResponseFormatType";
|
|
155
|
+
export * from "./AnalyzeTaskResponseRequestParamsResponseFormatSegmentDefinitionsItemFieldsItemItems";
|
|
156
|
+
export * from "./AnalyzeTaskResponseRequestParamsResponseFormatSegmentDefinitionsItemFieldsItem";
|
|
157
|
+
export * from "./AnalyzeTaskResponseRequestParamsResponseFormatSegmentDefinitionsItemMediaSourcesItem";
|
|
158
|
+
export * from "./AnalyzeTaskResponseRequestParamsResponseFormatSegmentDefinitionsItem";
|
|
159
|
+
export * from "./AnalyzeTaskResponseRequestParamsResponseFormat";
|
|
160
|
+
export * from "./AnalyzeTaskResponseRequestParams";
|
|
124
161
|
export * from "./AnalyzeTaskResponse";
|
|
125
162
|
export * from "./AnalyzeTaskResultUsage";
|
|
126
163
|
export * from "./AnalyzeTaskResult";
|
|
@@ -129,6 +166,13 @@ export * from "./AnalyzeTaskWebhookInfo";
|
|
|
129
166
|
export * from "./AssetMethod";
|
|
130
167
|
export * from "./AssetStatus";
|
|
131
168
|
export * from "./Asset";
|
|
169
|
+
export * from "./AssetDetail";
|
|
170
|
+
export * from "./AssetHlsStatus";
|
|
171
|
+
export * from "./AssetHls";
|
|
172
|
+
export * from "./AssetThumbnailStatus";
|
|
173
|
+
export * from "./AssetThumbnail";
|
|
174
|
+
export * from "./IndexedAssetSummaryIndex";
|
|
175
|
+
export * from "./IndexedAssetSummary";
|
|
132
176
|
export * from "./CreateAssetUploadResponse";
|
|
133
177
|
export * from "./CompletedChunkProofType";
|
|
134
178
|
export * from "./CompletedChunk";
|
package/api/types/index.js
CHANGED
|
@@ -15,9 +15,22 @@ 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);
|
|
32
|
+
__exportStar(require("./AnalyzeStreamRequestModelName"), exports);
|
|
33
|
+
__exportStar(require("./AnalyzeRequestModelName"), exports);
|
|
21
34
|
__exportStar(require("./Url"), exports);
|
|
22
35
|
__exportStar(require("./One"), exports);
|
|
23
36
|
__exportStar(require("./Two"), exports);
|
|
@@ -131,12 +144,36 @@ __exportStar(require("./StreamEndResponseMetadata"), exports);
|
|
|
131
144
|
__exportStar(require("./StreamEndResponse"), exports);
|
|
132
145
|
__exportStar(require("./NonStreamAnalyzeResponse"), exports);
|
|
133
146
|
__exportStar(require("./TokenUsage"), exports);
|
|
134
|
-
__exportStar(require("./
|
|
135
|
-
__exportStar(require("./
|
|
147
|
+
__exportStar(require("./AsyncResponseFormatType"), exports);
|
|
148
|
+
__exportStar(require("./AsyncResponseFormat"), exports);
|
|
149
|
+
__exportStar(require("./SyncResponseFormatType"), exports);
|
|
150
|
+
__exportStar(require("./SyncResponseFormat"), exports);
|
|
151
|
+
__exportStar(require("./SegmentDefinition"), exports);
|
|
152
|
+
__exportStar(require("./AnalyzePromptV2"), exports);
|
|
153
|
+
__exportStar(require("./AnalyzeTimeRange"), exports);
|
|
154
|
+
__exportStar(require("./SegmentFieldType"), exports);
|
|
155
|
+
__exportStar(require("./SegmentFieldItemsType"), exports);
|
|
156
|
+
__exportStar(require("./SegmentFieldItems"), exports);
|
|
157
|
+
__exportStar(require("./SegmentField"), exports);
|
|
158
|
+
__exportStar(require("./SmeMediaSourceMediaType"), exports);
|
|
159
|
+
__exportStar(require("./SmeMediaSource"), exports);
|
|
136
160
|
__exportStar(require("./FinishReason"), exports);
|
|
137
161
|
__exportStar(require("./VideoContext"), exports);
|
|
138
162
|
__exportStar(require("./AnalyzeTaskStatus"), exports);
|
|
139
163
|
__exportStar(require("./CreateAnalyzeTaskResponse"), exports);
|
|
164
|
+
__exportStar(require("./AnalyzeTaskResponseVideoSourceType"), exports);
|
|
165
|
+
__exportStar(require("./AnalyzeTaskResponseVideoSourceSystemMetadata"), exports);
|
|
166
|
+
__exportStar(require("./AnalyzeTaskResponseVideoSource"), exports);
|
|
167
|
+
__exportStar(require("./AnalyzeTaskResponseRequestParamsAnalysisMode"), exports);
|
|
168
|
+
__exportStar(require("./AnalyzeTaskResponseRequestParamsPromptV2MediaSourcesItem"), exports);
|
|
169
|
+
__exportStar(require("./AnalyzeTaskResponseRequestParamsPromptV2"), exports);
|
|
170
|
+
__exportStar(require("./AnalyzeTaskResponseRequestParamsResponseFormatType"), exports);
|
|
171
|
+
__exportStar(require("./AnalyzeTaskResponseRequestParamsResponseFormatSegmentDefinitionsItemFieldsItemItems"), exports);
|
|
172
|
+
__exportStar(require("./AnalyzeTaskResponseRequestParamsResponseFormatSegmentDefinitionsItemFieldsItem"), exports);
|
|
173
|
+
__exportStar(require("./AnalyzeTaskResponseRequestParamsResponseFormatSegmentDefinitionsItemMediaSourcesItem"), exports);
|
|
174
|
+
__exportStar(require("./AnalyzeTaskResponseRequestParamsResponseFormatSegmentDefinitionsItem"), exports);
|
|
175
|
+
__exportStar(require("./AnalyzeTaskResponseRequestParamsResponseFormat"), exports);
|
|
176
|
+
__exportStar(require("./AnalyzeTaskResponseRequestParams"), exports);
|
|
140
177
|
__exportStar(require("./AnalyzeTaskResponse"), exports);
|
|
141
178
|
__exportStar(require("./AnalyzeTaskResultUsage"), exports);
|
|
142
179
|
__exportStar(require("./AnalyzeTaskResult"), exports);
|
|
@@ -145,6 +182,13 @@ __exportStar(require("./AnalyzeTaskWebhookInfo"), exports);
|
|
|
145
182
|
__exportStar(require("./AssetMethod"), exports);
|
|
146
183
|
__exportStar(require("./AssetStatus"), exports);
|
|
147
184
|
__exportStar(require("./Asset"), exports);
|
|
185
|
+
__exportStar(require("./AssetDetail"), exports);
|
|
186
|
+
__exportStar(require("./AssetHlsStatus"), exports);
|
|
187
|
+
__exportStar(require("./AssetHls"), exports);
|
|
188
|
+
__exportStar(require("./AssetThumbnailStatus"), exports);
|
|
189
|
+
__exportStar(require("./AssetThumbnail"), exports);
|
|
190
|
+
__exportStar(require("./IndexedAssetSummaryIndex"), exports);
|
|
191
|
+
__exportStar(require("./IndexedAssetSummary"), exports);
|
|
148
192
|
__exportStar(require("./CreateAssetUploadResponse"), exports);
|
|
149
193
|
__exportStar(require("./CompletedChunkProofType"), exports);
|
|
150
194
|
__exportStar(require("./CompletedChunk"), exports);
|
package/dist/Client.d.ts
CHANGED
|
@@ -50,7 +50,7 @@ export declare class TwelvelabsApiClient {
|
|
|
50
50
|
get search(): Search;
|
|
51
51
|
get analyzeAsync(): AnalyzeAsync;
|
|
52
52
|
/**
|
|
53
|
-
* This method
|
|
53
|
+
* This method analyzes your videos and returns the results directly in the response. It generates text based on your prompts and supports both Pegasus 1.2 and Pegasus 1.5 for general analysis (prompt-based text generation).
|
|
54
54
|
*
|
|
55
55
|
* <Accordion title="Input requirements">
|
|
56
56
|
* - Minimum duration: 4 seconds
|
|
@@ -62,20 +62,21 @@ export declare class TwelvelabsApiClient {
|
|
|
62
62
|
*
|
|
63
63
|
* **When to use this method**:
|
|
64
64
|
* - Analyze videos up to 1 hour
|
|
65
|
-
* - Retrieve immediate results without
|
|
66
|
-
* - Stream text fragments in real
|
|
65
|
+
* - Retrieve immediate results without polling for task completion
|
|
66
|
+
* - Stream text fragments in real time for immediate processing and feedback
|
|
67
67
|
*
|
|
68
68
|
* **Do not use this method for**:
|
|
69
69
|
* - 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.
|
|
70
|
+
* - Video segmentation with custom segment definitions. Use the [`POST`](/v1.3/api-reference/analyze-videos/create-async-analysis-task) method of the `/analyze/tasks` endpoint with the `model_name` parameter set to `pegasus1.5` instead.
|
|
70
71
|
*
|
|
71
|
-
* <Note title="
|
|
72
|
-
*
|
|
72
|
+
* <Note title="Note">
|
|
73
|
+
* This endpoint is rate-limited. For details, see the [Rate limits](/v1.3/docs/get-started/rate-limits) page.
|
|
73
74
|
* </Note>
|
|
74
75
|
*/
|
|
75
76
|
analyzeStream(request: TwelvelabsApi.AnalyzeStreamRequest, requestOptions?: TwelvelabsApiClient.RequestOptions): core.HttpResponsePromise<core.Stream<TwelvelabsApi.StreamAnalyzeResponse>>;
|
|
76
77
|
private __analyzeStream;
|
|
77
78
|
/**
|
|
78
|
-
* This method
|
|
79
|
+
* This method analyzes your videos and returns the results directly in the response. It generates text based on your prompts and supports both Pegasus 1.2 and Pegasus 1.5 for general analysis (prompt-based text generation).
|
|
79
80
|
*
|
|
80
81
|
* <Accordion title="Input requirements">
|
|
81
82
|
* - Minimum duration: 4 seconds
|
|
@@ -87,49 +88,26 @@ export declare class TwelvelabsApiClient {
|
|
|
87
88
|
*
|
|
88
89
|
* **When to use this method**:
|
|
89
90
|
* - Analyze videos up to 1 hour
|
|
90
|
-
* - Retrieve immediate results without
|
|
91
|
-
* - Stream text fragments in real
|
|
91
|
+
* - Retrieve immediate results without polling for task completion
|
|
92
|
+
* - Stream text fragments in real time for immediate processing and feedback
|
|
92
93
|
*
|
|
93
94
|
* **Do not use this method for**:
|
|
94
95
|
* - 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.
|
|
96
|
+
* - Video segmentation with custom segment definitions. Use the [`POST`](/v1.3/api-reference/analyze-videos/create-async-analysis-task) method of the `/analyze/tasks` endpoint with the `model_name` parameter set to `pegasus1.5` instead.
|
|
95
97
|
*
|
|
96
|
-
* <Note title="
|
|
97
|
-
*
|
|
98
|
+
* <Note title="Note">
|
|
99
|
+
* This endpoint is rate-limited. For details, see the [Rate limits](/v1.3/docs/get-started/rate-limits) page.
|
|
98
100
|
* </Note>
|
|
99
101
|
*
|
|
100
102
|
* @param {TwelvelabsApi.AnalyzeRequest} request
|
|
101
103
|
* @param {TwelvelabsApiClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
102
104
|
*
|
|
103
105
|
* @throws {@link TwelvelabsApi.BadRequestError}
|
|
106
|
+
* @throws {@link TwelvelabsApi.NotFoundError}
|
|
104
107
|
* @throws {@link TwelvelabsApi.TooManyRequestsError}
|
|
105
108
|
*
|
|
106
109
|
* @example
|
|
107
|
-
* await client.analyze({
|
|
108
|
-
* videoId: "6298d673f1090f1100476d4c",
|
|
109
|
-
* prompt: "I want to generate a description for my video with the following format - Title of the video, followed by a summary in 2-3 sentences, highlighting the main topic, key events, and concluding remarks.",
|
|
110
|
-
* temperature: 0.2,
|
|
111
|
-
* responseFormat: {
|
|
112
|
-
* type: "json_schema",
|
|
113
|
-
* jsonSchema: {
|
|
114
|
-
* "type": "object",
|
|
115
|
-
* "properties": {
|
|
116
|
-
* "title": {
|
|
117
|
-
* "type": "string"
|
|
118
|
-
* },
|
|
119
|
-
* "summary": {
|
|
120
|
-
* "type": "string"
|
|
121
|
-
* },
|
|
122
|
-
* "keywords": {
|
|
123
|
-
* "type": "array",
|
|
124
|
-
* "items": {
|
|
125
|
-
* "type": "string"
|
|
126
|
-
* }
|
|
127
|
-
* }
|
|
128
|
-
* }
|
|
129
|
-
* }
|
|
130
|
-
* },
|
|
131
|
-
* maxTokens: 2000
|
|
132
|
-
* })
|
|
110
|
+
* await client.analyze({})
|
|
133
111
|
*/
|
|
134
112
|
analyze(request: TwelvelabsApi.AnalyzeRequest, requestOptions?: TwelvelabsApiClient.RequestOptions): core.HttpResponsePromise<TwelvelabsApi.NonStreamAnalyzeResponse>;
|
|
135
113
|
private __analyze;
|