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.
Files changed (573) hide show
  1. package/Client.d.ts +2 -0
  2. package/Client.js +4 -2
  3. package/README.md +20 -1
  4. package/api/client/requests/AnalyzeRequest.d.ts +1 -1
  5. package/api/client/requests/AnalyzeStreamRequest.d.ts +1 -1
  6. package/api/errors/ConflictError.d.ts +1 -2
  7. package/api/errors/index.d.ts +1 -1
  8. package/api/errors/index.js +1 -1
  9. package/api/resources/analyzeAsync/resources/tasks/client/Client.d.ts +39 -2
  10. package/api/resources/analyzeAsync/resources/tasks/client/Client.js +54 -13
  11. package/api/resources/analyzeAsync/resources/tasks/client/requests/CreateAsyncAnalyzeRequest.d.ts +74 -3
  12. package/api/resources/analyzeAsync/resources/tasks/client/requests/TasksListRequest.d.ts +26 -1
  13. package/api/resources/analyzeAsync/resources/tasks/types/CreateAsyncAnalyzeRequestAnalysisMode.d.ts +10 -0
  14. package/api/resources/analyzeAsync/resources/tasks/types/CreateAsyncAnalyzeRequestAnalysisMode.js +9 -0
  15. package/api/resources/analyzeAsync/resources/tasks/types/CreateAsyncAnalyzeRequestModelName.d.ts +13 -0
  16. package/api/resources/analyzeAsync/resources/tasks/types/CreateAsyncAnalyzeRequestModelName.js +10 -0
  17. package/api/resources/analyzeAsync/resources/tasks/types/TasksListRequestAnalysisMode.d.ts +7 -0
  18. package/api/resources/analyzeAsync/resources/tasks/types/TasksListRequestAnalysisMode.js +9 -0
  19. package/api/resources/analyzeAsync/resources/tasks/types/index.d.ts +3 -0
  20. package/api/resources/analyzeAsync/resources/tasks/types/index.js +3 -0
  21. package/api/resources/assets/client/Client.d.ts +17 -6
  22. package/api/resources/assets/client/Client.js +41 -13
  23. package/api/resources/assets/client/requests/AssetsCreateRequest.d.ts +13 -1
  24. package/api/resources/assets/client/requests/AssetsDeleteRequest.d.ts +17 -0
  25. package/api/resources/assets/client/requests/AssetsListRequest.d.ts +6 -1
  26. package/api/resources/assets/client/requests/index.d.ts +1 -0
  27. package/api/resources/assets/types/AssetsListResponse.d.ts +1 -1
  28. package/api/resources/embed/client/Client.js +1 -1
  29. package/api/resources/embed/resources/tasks/client/Client.d.ts +1 -1
  30. package/api/resources/embed/resources/tasks/client/Client.js +5 -5
  31. package/api/resources/embed/resources/v2/client/Client.js +1 -1
  32. package/api/resources/embed/resources/v2/resources/tasks/client/Client.d.ts +12 -2
  33. package/api/resources/embed/resources/v2/resources/tasks/client/Client.js +15 -5
  34. package/api/resources/entityCollections/client/Client.js +5 -5
  35. package/api/resources/entityCollections/resources/entities/client/Client.d.ts +16 -0
  36. package/api/resources/entityCollections/resources/entities/client/Client.js +100 -9
  37. package/api/resources/entityCollections/resources/entities/client/requests/EntitiesListByAssetRequest.d.ts +25 -0
  38. package/api/resources/entityCollections/resources/entities/client/requests/index.d.ts +1 -0
  39. package/api/resources/entityCollections/resources/entities/types/EntitiesListByAssetResponse.d.ts +9 -0
  40. package/api/resources/entityCollections/resources/entities/types/EntitiesListByAssetResponse.js +5 -0
  41. package/api/resources/entityCollections/resources/entities/types/index.d.ts +1 -0
  42. package/api/resources/entityCollections/resources/entities/types/index.js +1 -0
  43. package/api/resources/indexes/client/Client.js +5 -5
  44. package/api/resources/indexes/resources/indexedAssets/client/Client.d.ts +16 -5
  45. package/api/resources/indexes/resources/indexedAssets/client/Client.js +126 -15
  46. package/api/resources/indexes/resources/indexedAssets/client/requests/IndexedAssetsCreateRequest.d.ts +1 -1
  47. package/api/resources/indexes/resources/indexedAssets/client/requests/IndexedAssetsListByAssetRequest.d.ts +25 -0
  48. package/api/resources/indexes/resources/indexedAssets/client/requests/IndexedAssetsListByAssetRequest.js +5 -0
  49. package/api/resources/indexes/resources/indexedAssets/client/requests/IndexedAssetsListRequest.d.ts +15 -15
  50. package/api/resources/indexes/resources/indexedAssets/client/requests/index.d.ts +1 -0
  51. package/api/resources/indexes/resources/indexedAssets/types/IndexedAssetsCreateResponse.d.ts +2 -0
  52. package/api/resources/indexes/resources/indexedAssets/types/IndexedAssetsListByAssetResponse.d.ts +9 -0
  53. package/api/resources/indexes/resources/indexedAssets/types/IndexedAssetsListByAssetResponse.js +5 -0
  54. package/api/resources/indexes/resources/indexedAssets/types/index.d.ts +1 -0
  55. package/api/resources/indexes/resources/indexedAssets/types/index.js +1 -0
  56. package/api/resources/indexes/resources/videos/client/Client.d.ts +0 -5
  57. package/api/resources/indexes/resources/videos/client/Client.js +35 -15
  58. package/api/resources/indexes/resources/videos/client/requests/VideosListRequest.d.ts +15 -15
  59. package/api/resources/multipartUpload/client/Client.d.ts +2 -2
  60. package/api/resources/multipartUpload/client/Client.js +7 -7
  61. package/api/resources/multipartUpload/client/requests/CreateAssetUploadRequest.d.ts +12 -0
  62. package/api/resources/search/client/Client.js +2 -2
  63. package/api/resources/tasks/client/Client.js +4 -4
  64. package/api/resources/tasks/resources/transfers/client/Client.js +3 -3
  65. package/api/types/AnalyzeTaskResponse.d.ts +4 -0
  66. package/api/types/AnalyzeTaskResponseRequestParams.d.ts +21 -0
  67. package/api/types/AnalyzeTaskResponseRequestParams.js +5 -0
  68. package/api/types/AnalyzeTaskResponseRequestParamsAnalysisMode.d.ts +11 -0
  69. package/api/types/AnalyzeTaskResponseRequestParamsAnalysisMode.js +10 -0
  70. package/api/types/AnalyzeTaskResponseRequestParamsResponseFormat.d.ts +11 -0
  71. package/api/types/AnalyzeTaskResponseRequestParamsResponseFormat.js +5 -0
  72. package/api/types/AnalyzeTaskResponseRequestParamsResponseFormatSegmentDefinitionsItem.d.ts +10 -0
  73. package/api/types/AnalyzeTaskResponseRequestParamsResponseFormatSegmentDefinitionsItem.js +5 -0
  74. package/api/types/AnalyzeTaskResponseRequestParamsResponseFormatSegmentDefinitionsItemFieldsItem.d.ts +11 -0
  75. package/api/types/AnalyzeTaskResponseRequestParamsResponseFormatSegmentDefinitionsItemFieldsItem.js +5 -0
  76. package/api/types/AnalyzeTaskResponseRequestParamsResponseFormatSegmentDefinitionsItemFieldsItemItems.d.ts +6 -0
  77. package/api/types/AnalyzeTaskResponseRequestParamsResponseFormatSegmentDefinitionsItemFieldsItemItems.js +5 -0
  78. package/api/types/AnalyzeTaskResponseRequestParamsResponseFormatSegmentDefinitionsItemMediaSourcesItem.d.ts +9 -0
  79. package/api/types/AnalyzeTaskResponseRequestParamsResponseFormatSegmentDefinitionsItemMediaSourcesItem.js +5 -0
  80. package/api/types/AnalyzeTaskResponseRequestParamsResponseFormatType.d.ts +8 -0
  81. package/api/types/AnalyzeTaskResponseRequestParamsResponseFormatType.js +10 -0
  82. package/api/types/AnalyzeTaskResponseVideoSource.d.ts +19 -0
  83. package/api/types/AnalyzeTaskResponseVideoSource.js +5 -0
  84. package/api/types/AnalyzeTaskResponseVideoSourceSystemMetadata.d.ts +10 -0
  85. package/api/types/AnalyzeTaskResponseVideoSourceSystemMetadata.js +5 -0
  86. package/api/types/AnalyzeTaskResponseVideoSourceType.d.ts +13 -0
  87. package/api/types/AnalyzeTaskResponseVideoSourceType.js +12 -0
  88. package/api/types/AnalyzeTaskResult.d.ts +10 -1
  89. package/api/types/Asset.d.ts +5 -0
  90. package/api/types/AssetDetail.d.ts +11 -0
  91. package/api/types/AssetDetail.js +5 -0
  92. package/api/types/AssetHls.d.ts +21 -0
  93. package/api/types/AssetHls.js +5 -0
  94. package/api/types/AssetHlsStatus.d.ts +19 -0
  95. package/api/types/AssetHlsStatus.js +12 -0
  96. package/api/types/AssetMethod.d.ts +3 -1
  97. package/api/types/AssetMethod.js +1 -0
  98. package/api/types/AssetThumbnail.d.ts +21 -0
  99. package/api/types/AssetThumbnail.js +5 -0
  100. package/api/types/AssetThumbnailStatus.d.ts +19 -0
  101. package/api/types/AssetThumbnailStatus.js +12 -0
  102. package/api/types/AsyncResponseFormat.d.ts +89 -0
  103. package/api/types/AsyncResponseFormat.js +5 -0
  104. package/api/types/AsyncResponseFormatType.d.ts +13 -0
  105. package/api/types/AsyncResponseFormatType.js +10 -0
  106. package/api/types/ConflictErrorBody.d.ts +11 -0
  107. package/api/types/ConflictErrorBody.js +5 -0
  108. package/api/types/Entity.d.ts +2 -0
  109. package/api/types/IndexedAsset.d.ts +2 -0
  110. package/api/types/IndexedAssetSummary.d.ts +12 -0
  111. package/api/types/IndexedAssetSummary.js +5 -0
  112. package/api/types/IndexedAssetSummaryIndex.d.ts +12 -0
  113. package/api/types/IndexedAssetSummaryIndex.js +5 -0
  114. package/api/types/IndexedAssetsListRequestDuration.d.ts +7 -0
  115. package/api/types/IndexedAssetsListRequestDuration.js +5 -0
  116. package/api/types/IndexedAssetsListRequestFps.d.ts +7 -0
  117. package/api/types/IndexedAssetsListRequestFps.js +5 -0
  118. package/api/types/IndexedAssetsListRequestHeight.d.ts +7 -0
  119. package/api/types/IndexedAssetsListRequestHeight.js +5 -0
  120. package/api/types/IndexedAssetsListRequestSize.d.ts +7 -0
  121. package/api/types/IndexedAssetsListRequestSize.js +5 -0
  122. package/api/types/IndexedAssetsListRequestWidth.d.ts +7 -0
  123. package/api/types/IndexedAssetsListRequestWidth.js +5 -0
  124. package/api/types/InternalEntity.d.ts +23 -1
  125. package/api/types/MediaSource.d.ts +1 -1
  126. package/api/types/One.d.ts +1 -1
  127. package/api/types/SegmentDefinition.d.ts +17 -0
  128. package/api/types/SegmentDefinition.js +5 -0
  129. package/api/types/SegmentField.d.ts +19 -0
  130. package/api/types/SegmentField.js +5 -0
  131. package/api/types/SegmentFieldItems.d.ts +10 -0
  132. package/api/types/SegmentFieldItems.js +5 -0
  133. package/api/types/SegmentFieldItemsType.d.ts +10 -0
  134. package/api/types/SegmentFieldItemsType.js +12 -0
  135. package/api/types/SegmentFieldType.d.ts +14 -0
  136. package/api/types/SegmentFieldType.js +13 -0
  137. package/api/types/SmeMediaSource.d.ts +19 -0
  138. package/api/types/SmeMediaSource.js +5 -0
  139. package/api/types/SmeMediaSourceMediaType.d.ts +10 -0
  140. package/api/types/SmeMediaSourceMediaType.js +9 -0
  141. package/api/types/{ResponseFormat.d.ts → SyncResponseFormat.d.ts} +2 -2
  142. package/api/types/SyncResponseFormat.js +5 -0
  143. package/{dist/api/types/ResponseFormatType.d.ts → api/types/SyncResponseFormatType.d.ts} +2 -2
  144. package/{dist/api/types/ResponseFormatType.js → api/types/SyncResponseFormatType.js} +2 -2
  145. package/api/types/VideosListRequestDuration.d.ts +7 -0
  146. package/api/types/VideosListRequestDuration.js +5 -0
  147. package/api/types/VideosListRequestFps.d.ts +7 -0
  148. package/api/types/VideosListRequestFps.js +5 -0
  149. package/api/types/VideosListRequestHeight.d.ts +7 -0
  150. package/api/types/VideosListRequestHeight.js +5 -0
  151. package/api/types/VideosListRequestSize.d.ts +7 -0
  152. package/api/types/VideosListRequestSize.js +5 -0
  153. package/api/types/VideosListRequestWidth.d.ts +7 -0
  154. package/api/types/VideosListRequestWidth.js +5 -0
  155. package/api/types/index.d.ts +40 -2
  156. package/api/types/index.js +40 -2
  157. package/dist/Client.d.ts +2 -0
  158. package/dist/Client.js +4 -2
  159. package/dist/api/client/requests/AnalyzeRequest.d.ts +1 -1
  160. package/dist/api/client/requests/AnalyzeStreamRequest.d.ts +1 -1
  161. package/dist/api/errors/ConflictError.d.ts +1 -2
  162. package/dist/api/errors/index.d.ts +1 -1
  163. package/dist/api/errors/index.js +1 -1
  164. package/dist/api/resources/analyzeAsync/resources/tasks/client/Client.d.ts +39 -2
  165. package/dist/api/resources/analyzeAsync/resources/tasks/client/Client.js +54 -13
  166. package/dist/api/resources/analyzeAsync/resources/tasks/client/requests/CreateAsyncAnalyzeRequest.d.ts +74 -3
  167. package/dist/api/resources/analyzeAsync/resources/tasks/client/requests/TasksListRequest.d.ts +26 -1
  168. package/dist/api/resources/analyzeAsync/resources/tasks/types/CreateAsyncAnalyzeRequestAnalysisMode.d.ts +10 -0
  169. package/dist/api/resources/analyzeAsync/resources/tasks/types/CreateAsyncAnalyzeRequestAnalysisMode.js +9 -0
  170. package/dist/api/resources/analyzeAsync/resources/tasks/types/CreateAsyncAnalyzeRequestModelName.d.ts +13 -0
  171. package/dist/api/resources/analyzeAsync/resources/tasks/types/CreateAsyncAnalyzeRequestModelName.js +10 -0
  172. package/dist/api/resources/analyzeAsync/resources/tasks/types/TasksListRequestAnalysisMode.d.ts +7 -0
  173. package/dist/api/resources/analyzeAsync/resources/tasks/types/TasksListRequestAnalysisMode.js +9 -0
  174. package/dist/api/resources/analyzeAsync/resources/tasks/types/index.d.ts +3 -0
  175. package/dist/api/resources/analyzeAsync/resources/tasks/types/index.js +3 -0
  176. package/dist/api/resources/assets/client/Client.d.ts +17 -6
  177. package/dist/api/resources/assets/client/Client.js +41 -13
  178. package/dist/api/resources/assets/client/requests/AssetsCreateRequest.d.ts +13 -1
  179. package/dist/api/resources/assets/client/requests/AssetsDeleteRequest.d.ts +17 -0
  180. package/dist/api/resources/assets/client/requests/AssetsDeleteRequest.js +5 -0
  181. package/dist/api/resources/assets/client/requests/AssetsListRequest.d.ts +6 -1
  182. package/dist/api/resources/assets/client/requests/index.d.ts +1 -0
  183. package/dist/api/resources/assets/types/AssetsListResponse.d.ts +1 -1
  184. package/dist/api/resources/embed/client/Client.js +1 -1
  185. package/dist/api/resources/embed/resources/tasks/client/Client.d.ts +1 -1
  186. package/dist/api/resources/embed/resources/tasks/client/Client.js +5 -5
  187. package/dist/api/resources/embed/resources/v2/client/Client.js +1 -1
  188. package/dist/api/resources/embed/resources/v2/resources/tasks/client/Client.d.ts +12 -2
  189. package/dist/api/resources/embed/resources/v2/resources/tasks/client/Client.js +15 -5
  190. package/dist/api/resources/entityCollections/client/Client.js +5 -5
  191. package/dist/api/resources/entityCollections/resources/entities/client/Client.d.ts +16 -0
  192. package/dist/api/resources/entityCollections/resources/entities/client/Client.js +100 -9
  193. package/dist/api/resources/entityCollections/resources/entities/client/requests/EntitiesListByAssetRequest.d.ts +25 -0
  194. package/dist/api/resources/entityCollections/resources/entities/client/requests/EntitiesListByAssetRequest.js +5 -0
  195. package/dist/api/resources/entityCollections/resources/entities/client/requests/index.d.ts +1 -0
  196. package/dist/api/resources/entityCollections/resources/entities/types/EntitiesListByAssetResponse.d.ts +9 -0
  197. package/dist/api/resources/entityCollections/resources/entities/types/EntitiesListByAssetResponse.js +5 -0
  198. package/dist/api/resources/entityCollections/resources/entities/types/index.d.ts +1 -0
  199. package/dist/api/resources/entityCollections/resources/entities/types/index.js +1 -0
  200. package/dist/api/resources/indexes/client/Client.js +5 -5
  201. package/dist/api/resources/indexes/resources/indexedAssets/client/Client.d.ts +16 -5
  202. package/dist/api/resources/indexes/resources/indexedAssets/client/Client.js +126 -15
  203. package/dist/api/resources/indexes/resources/indexedAssets/client/requests/IndexedAssetsCreateRequest.d.ts +1 -1
  204. package/dist/api/resources/indexes/resources/indexedAssets/client/requests/IndexedAssetsListByAssetRequest.d.ts +25 -0
  205. package/dist/api/resources/indexes/resources/indexedAssets/client/requests/IndexedAssetsListByAssetRequest.js +5 -0
  206. package/dist/api/resources/indexes/resources/indexedAssets/client/requests/IndexedAssetsListRequest.d.ts +15 -15
  207. package/dist/api/resources/indexes/resources/indexedAssets/client/requests/index.d.ts +1 -0
  208. package/dist/api/resources/indexes/resources/indexedAssets/types/IndexedAssetsCreateResponse.d.ts +2 -0
  209. package/dist/api/resources/indexes/resources/indexedAssets/types/IndexedAssetsListByAssetResponse.d.ts +9 -0
  210. package/dist/api/resources/indexes/resources/indexedAssets/types/IndexedAssetsListByAssetResponse.js +5 -0
  211. package/dist/api/resources/indexes/resources/indexedAssets/types/index.d.ts +1 -0
  212. package/dist/api/resources/indexes/resources/indexedAssets/types/index.js +1 -0
  213. package/dist/api/resources/indexes/resources/videos/client/Client.d.ts +0 -5
  214. package/dist/api/resources/indexes/resources/videos/client/Client.js +35 -15
  215. package/dist/api/resources/indexes/resources/videos/client/requests/VideosListRequest.d.ts +15 -15
  216. package/dist/api/resources/multipartUpload/client/Client.d.ts +2 -2
  217. package/dist/api/resources/multipartUpload/client/Client.js +7 -7
  218. package/dist/api/resources/multipartUpload/client/requests/CreateAssetUploadRequest.d.ts +12 -0
  219. package/dist/api/resources/search/client/Client.js +2 -2
  220. package/dist/api/resources/tasks/client/Client.js +4 -4
  221. package/dist/api/resources/tasks/resources/transfers/client/Client.js +3 -3
  222. package/dist/api/types/AnalyzeTaskResponse.d.ts +4 -0
  223. package/dist/api/types/AnalyzeTaskResponseRequestParams.d.ts +21 -0
  224. package/dist/api/types/AnalyzeTaskResponseRequestParams.js +5 -0
  225. package/dist/api/types/AnalyzeTaskResponseRequestParamsAnalysisMode.d.ts +11 -0
  226. package/dist/api/types/AnalyzeTaskResponseRequestParamsAnalysisMode.js +10 -0
  227. package/dist/api/types/AnalyzeTaskResponseRequestParamsResponseFormat.d.ts +11 -0
  228. package/dist/api/types/AnalyzeTaskResponseRequestParamsResponseFormat.js +5 -0
  229. package/dist/api/types/AnalyzeTaskResponseRequestParamsResponseFormatSegmentDefinitionsItem.d.ts +10 -0
  230. package/dist/api/types/AnalyzeTaskResponseRequestParamsResponseFormatSegmentDefinitionsItem.js +5 -0
  231. package/dist/api/types/AnalyzeTaskResponseRequestParamsResponseFormatSegmentDefinitionsItemFieldsItem.d.ts +11 -0
  232. package/dist/api/types/AnalyzeTaskResponseRequestParamsResponseFormatSegmentDefinitionsItemFieldsItem.js +5 -0
  233. package/dist/api/types/AnalyzeTaskResponseRequestParamsResponseFormatSegmentDefinitionsItemFieldsItemItems.d.ts +6 -0
  234. package/dist/api/types/AnalyzeTaskResponseRequestParamsResponseFormatSegmentDefinitionsItemFieldsItemItems.js +5 -0
  235. package/dist/api/types/AnalyzeTaskResponseRequestParamsResponseFormatSegmentDefinitionsItemMediaSourcesItem.d.ts +9 -0
  236. package/dist/api/types/AnalyzeTaskResponseRequestParamsResponseFormatSegmentDefinitionsItemMediaSourcesItem.js +5 -0
  237. package/dist/api/types/AnalyzeTaskResponseRequestParamsResponseFormatType.d.ts +8 -0
  238. package/dist/api/types/AnalyzeTaskResponseRequestParamsResponseFormatType.js +10 -0
  239. package/dist/api/types/AnalyzeTaskResponseVideoSource.d.ts +19 -0
  240. package/dist/api/types/AnalyzeTaskResponseVideoSource.js +5 -0
  241. package/dist/api/types/AnalyzeTaskResponseVideoSourceSystemMetadata.d.ts +10 -0
  242. package/dist/api/types/AnalyzeTaskResponseVideoSourceSystemMetadata.js +5 -0
  243. package/dist/api/types/AnalyzeTaskResponseVideoSourceType.d.ts +13 -0
  244. package/dist/api/types/AnalyzeTaskResponseVideoSourceType.js +12 -0
  245. package/dist/api/types/AnalyzeTaskResult.d.ts +10 -1
  246. package/dist/api/types/Asset.d.ts +5 -0
  247. package/dist/api/types/AssetDetail.d.ts +11 -0
  248. package/dist/api/types/AssetDetail.js +5 -0
  249. package/dist/api/types/AssetHls.d.ts +21 -0
  250. package/dist/api/types/AssetHls.js +5 -0
  251. package/dist/api/types/AssetHlsStatus.d.ts +19 -0
  252. package/dist/api/types/AssetHlsStatus.js +12 -0
  253. package/dist/api/types/AssetMethod.d.ts +3 -1
  254. package/dist/api/types/AssetMethod.js +1 -0
  255. package/dist/api/types/AssetThumbnail.d.ts +21 -0
  256. package/dist/api/types/AssetThumbnail.js +5 -0
  257. package/dist/api/types/AssetThumbnailStatus.d.ts +19 -0
  258. package/dist/api/types/AssetThumbnailStatus.js +12 -0
  259. package/dist/api/types/AsyncResponseFormat.d.ts +89 -0
  260. package/dist/api/types/AsyncResponseFormat.js +5 -0
  261. package/dist/api/types/AsyncResponseFormatType.d.ts +13 -0
  262. package/dist/api/types/AsyncResponseFormatType.js +10 -0
  263. package/dist/api/types/ConflictErrorBody.d.ts +11 -0
  264. package/dist/api/types/ConflictErrorBody.js +5 -0
  265. package/dist/api/types/Entity.d.ts +2 -0
  266. package/dist/api/types/IndexedAsset.d.ts +2 -0
  267. package/dist/api/types/IndexedAssetSummary.d.ts +12 -0
  268. package/dist/api/types/IndexedAssetSummary.js +5 -0
  269. package/dist/api/types/IndexedAssetSummaryIndex.d.ts +12 -0
  270. package/dist/api/types/IndexedAssetSummaryIndex.js +5 -0
  271. package/dist/api/types/IndexedAssetsListRequestDuration.d.ts +7 -0
  272. package/dist/api/types/IndexedAssetsListRequestDuration.js +5 -0
  273. package/dist/api/types/IndexedAssetsListRequestFps.d.ts +7 -0
  274. package/dist/api/types/IndexedAssetsListRequestFps.js +5 -0
  275. package/dist/api/types/IndexedAssetsListRequestHeight.d.ts +7 -0
  276. package/dist/api/types/IndexedAssetsListRequestHeight.js +5 -0
  277. package/dist/api/types/IndexedAssetsListRequestSize.d.ts +7 -0
  278. package/dist/api/types/IndexedAssetsListRequestSize.js +5 -0
  279. package/dist/api/types/IndexedAssetsListRequestWidth.d.ts +7 -0
  280. package/dist/api/types/IndexedAssetsListRequestWidth.js +5 -0
  281. package/dist/api/types/InternalEntity.d.ts +23 -1
  282. package/dist/api/types/MediaSource.d.ts +1 -1
  283. package/dist/api/types/One.d.ts +1 -1
  284. package/dist/api/types/SegmentDefinition.d.ts +17 -0
  285. package/dist/api/types/SegmentDefinition.js +5 -0
  286. package/dist/api/types/SegmentField.d.ts +19 -0
  287. package/dist/api/types/SegmentField.js +5 -0
  288. package/dist/api/types/SegmentFieldItems.d.ts +10 -0
  289. package/dist/api/types/SegmentFieldItems.js +5 -0
  290. package/dist/api/types/SegmentFieldItemsType.d.ts +10 -0
  291. package/dist/api/types/SegmentFieldItemsType.js +12 -0
  292. package/dist/api/types/SegmentFieldType.d.ts +14 -0
  293. package/dist/api/types/SegmentFieldType.js +13 -0
  294. package/dist/api/types/SmeMediaSource.d.ts +19 -0
  295. package/dist/api/types/SmeMediaSource.js +5 -0
  296. package/dist/api/types/SmeMediaSourceMediaType.d.ts +10 -0
  297. package/dist/api/types/SmeMediaSourceMediaType.js +9 -0
  298. package/dist/api/types/{ResponseFormat.d.ts → SyncResponseFormat.d.ts} +2 -2
  299. package/dist/api/types/SyncResponseFormat.js +5 -0
  300. package/{api/types/ResponseFormatType.d.ts → dist/api/types/SyncResponseFormatType.d.ts} +2 -2
  301. package/{api/types/ResponseFormatType.js → dist/api/types/SyncResponseFormatType.js} +2 -2
  302. package/dist/api/types/VideosListRequestDuration.d.ts +7 -0
  303. package/dist/api/types/VideosListRequestDuration.js +5 -0
  304. package/dist/api/types/VideosListRequestFps.d.ts +7 -0
  305. package/dist/api/types/VideosListRequestFps.js +5 -0
  306. package/dist/api/types/VideosListRequestHeight.d.ts +7 -0
  307. package/dist/api/types/VideosListRequestHeight.js +5 -0
  308. package/dist/api/types/VideosListRequestSize.d.ts +7 -0
  309. package/dist/api/types/VideosListRequestSize.js +5 -0
  310. package/dist/api/types/VideosListRequestWidth.d.ts +7 -0
  311. package/dist/api/types/VideosListRequestWidth.js +5 -0
  312. package/dist/api/types/index.d.ts +40 -2
  313. package/dist/api/types/index.js +40 -2
  314. package/dist/serialization/client/requests/AnalyzeRequest.d.ts +2 -2
  315. package/dist/serialization/client/requests/AnalyzeRequest.js +2 -2
  316. package/dist/serialization/client/requests/AnalyzeStreamRequest.d.ts +2 -2
  317. package/dist/serialization/client/requests/AnalyzeStreamRequest.js +2 -2
  318. package/dist/serialization/resources/analyzeAsync/resources/tasks/client/requests/CreateAsyncAnalyzeRequest.d.ts +10 -6
  319. package/dist/serialization/resources/analyzeAsync/resources/tasks/client/requests/CreateAsyncAnalyzeRequest.js +10 -6
  320. package/dist/serialization/resources/analyzeAsync/resources/tasks/types/CreateAsyncAnalyzeRequestAnalysisMode.d.ts +10 -0
  321. package/dist/serialization/resources/analyzeAsync/resources/tasks/types/CreateAsyncAnalyzeRequestAnalysisMode.js +41 -0
  322. package/dist/serialization/resources/analyzeAsync/resources/tasks/types/CreateAsyncAnalyzeRequestModelName.d.ts +10 -0
  323. package/dist/serialization/resources/analyzeAsync/resources/tasks/types/CreateAsyncAnalyzeRequestModelName.js +41 -0
  324. package/dist/serialization/resources/analyzeAsync/resources/tasks/types/TasksListRequestAnalysisMode.d.ts +10 -0
  325. package/dist/serialization/resources/analyzeAsync/resources/tasks/types/TasksListRequestAnalysisMode.js +41 -0
  326. package/dist/serialization/resources/analyzeAsync/resources/tasks/types/index.d.ts +3 -0
  327. package/dist/serialization/resources/analyzeAsync/resources/tasks/types/index.js +3 -0
  328. package/dist/serialization/resources/assets/types/AssetsListResponse.d.ts +2 -2
  329. package/dist/serialization/resources/assets/types/AssetsListResponse.js +2 -2
  330. package/dist/serialization/resources/entityCollections/resources/entities/types/EntitiesListByAssetResponse.d.ts +15 -0
  331. package/dist/serialization/resources/entityCollections/resources/entities/types/EntitiesListByAssetResponse.js +46 -0
  332. package/dist/serialization/resources/entityCollections/resources/entities/types/index.d.ts +1 -0
  333. package/dist/serialization/resources/entityCollections/resources/entities/types/index.js +1 -0
  334. package/dist/serialization/resources/indexes/resources/indexedAssets/types/IndexedAssetsCreateResponse.d.ts +1 -0
  335. package/dist/serialization/resources/indexes/resources/indexedAssets/types/IndexedAssetsCreateResponse.js +1 -0
  336. package/dist/serialization/resources/indexes/resources/indexedAssets/types/IndexedAssetsListByAssetResponse.d.ts +15 -0
  337. package/dist/serialization/resources/indexes/resources/indexedAssets/types/IndexedAssetsListByAssetResponse.js +46 -0
  338. package/dist/serialization/resources/indexes/resources/indexedAssets/types/index.d.ts +1 -0
  339. package/dist/serialization/resources/indexes/resources/indexedAssets/types/index.js +1 -0
  340. package/dist/serialization/resources/multipartUpload/client/requests/CreateAssetUploadRequest.d.ts +2 -0
  341. package/dist/serialization/resources/multipartUpload/client/requests/CreateAssetUploadRequest.js +2 -0
  342. package/dist/serialization/types/AnalyzeTaskResponse.d.ts +4 -0
  343. package/dist/serialization/types/AnalyzeTaskResponse.js +4 -0
  344. package/dist/serialization/types/AnalyzeTaskResponseRequestParams.d.ts +19 -0
  345. package/dist/serialization/types/AnalyzeTaskResponseRequestParams.js +50 -0
  346. package/dist/serialization/types/AnalyzeTaskResponseRequestParamsAnalysisMode.d.ts +10 -0
  347. package/dist/serialization/types/AnalyzeTaskResponseRequestParamsAnalysisMode.js +41 -0
  348. package/dist/serialization/types/AnalyzeTaskResponseRequestParamsResponseFormat.d.ts +15 -0
  349. package/dist/serialization/types/AnalyzeTaskResponseRequestParamsResponseFormat.js +46 -0
  350. package/dist/serialization/types/AnalyzeTaskResponseRequestParamsResponseFormatSegmentDefinitionsItem.d.ts +17 -0
  351. package/dist/serialization/types/AnalyzeTaskResponseRequestParamsResponseFormatSegmentDefinitionsItem.js +52 -0
  352. package/dist/serialization/types/AnalyzeTaskResponseRequestParamsResponseFormatSegmentDefinitionsItemFieldsItem.d.ts +17 -0
  353. package/dist/serialization/types/AnalyzeTaskResponseRequestParamsResponseFormatSegmentDefinitionsItemFieldsItem.js +48 -0
  354. package/dist/serialization/types/AnalyzeTaskResponseRequestParamsResponseFormatSegmentDefinitionsItemFieldsItemItems.d.ts +12 -0
  355. package/dist/serialization/types/AnalyzeTaskResponseRequestParamsResponseFormatSegmentDefinitionsItemFieldsItemItems.js +43 -0
  356. package/dist/serialization/types/AnalyzeTaskResponseRequestParamsResponseFormatSegmentDefinitionsItemMediaSourcesItem.d.ts +15 -0
  357. package/dist/serialization/types/AnalyzeTaskResponseRequestParamsResponseFormatSegmentDefinitionsItemMediaSourcesItem.js +46 -0
  358. package/dist/serialization/types/AnalyzeTaskResponseRequestParamsResponseFormatType.d.ts +10 -0
  359. package/dist/serialization/types/AnalyzeTaskResponseRequestParamsResponseFormatType.js +41 -0
  360. package/dist/serialization/types/AnalyzeTaskResponseVideoSource.d.ts +18 -0
  361. package/dist/serialization/types/AnalyzeTaskResponseVideoSource.js +49 -0
  362. package/dist/serialization/types/AnalyzeTaskResponseVideoSourceSystemMetadata.d.ts +12 -0
  363. package/dist/serialization/types/AnalyzeTaskResponseVideoSourceSystemMetadata.js +43 -0
  364. package/dist/serialization/types/AnalyzeTaskResponseVideoSourceType.d.ts +10 -0
  365. package/dist/serialization/types/AnalyzeTaskResponseVideoSourceType.js +41 -0
  366. package/dist/serialization/types/AnalyzeTaskResult.d.ts +1 -2
  367. package/dist/serialization/types/AnalyzeTaskResult.js +1 -2
  368. package/dist/serialization/types/Asset.d.ts +2 -0
  369. package/dist/serialization/types/Asset.js +2 -0
  370. package/dist/serialization/types/AssetDetail.d.ts +16 -0
  371. package/dist/serialization/types/AssetDetail.js +49 -0
  372. package/dist/serialization/types/AssetHls.d.ts +14 -0
  373. package/dist/serialization/types/AssetHls.js +45 -0
  374. package/dist/serialization/types/AssetHlsStatus.d.ts +10 -0
  375. package/dist/serialization/types/AssetHlsStatus.js +41 -0
  376. package/dist/serialization/types/AssetMethod.d.ts +1 -1
  377. package/dist/serialization/types/AssetMethod.js +1 -1
  378. package/dist/serialization/types/AssetThumbnail.d.ts +14 -0
  379. package/dist/serialization/types/AssetThumbnail.js +45 -0
  380. package/dist/serialization/types/AssetThumbnailStatus.d.ts +10 -0
  381. package/dist/serialization/types/AssetThumbnailStatus.js +41 -0
  382. package/dist/serialization/types/AsyncResponseFormat.d.ts +16 -0
  383. package/dist/serialization/types/AsyncResponseFormat.js +47 -0
  384. package/dist/serialization/types/AsyncResponseFormatType.d.ts +10 -0
  385. package/dist/serialization/types/AsyncResponseFormatType.js +41 -0
  386. package/dist/serialization/types/ConflictErrorBody.d.ts +14 -0
  387. package/dist/serialization/types/ConflictErrorBody.js +45 -0
  388. package/dist/serialization/types/Entity.d.ts +1 -0
  389. package/dist/serialization/types/Entity.js +1 -0
  390. package/dist/serialization/types/IndexedAsset.d.ts +1 -0
  391. package/dist/serialization/types/IndexedAsset.js +1 -0
  392. package/dist/serialization/types/IndexedAssetSummary.d.ts +14 -0
  393. package/dist/serialization/types/IndexedAssetSummary.js +45 -0
  394. package/dist/serialization/types/IndexedAssetSummaryIndex.d.ts +13 -0
  395. package/dist/serialization/types/IndexedAssetSummaryIndex.js +44 -0
  396. package/dist/serialization/types/IndexedAssetsListRequestDuration.d.ts +13 -0
  397. package/dist/serialization/types/IndexedAssetsListRequestDuration.js +44 -0
  398. package/dist/serialization/types/IndexedAssetsListRequestFps.d.ts +13 -0
  399. package/dist/serialization/types/IndexedAssetsListRequestFps.js +44 -0
  400. package/dist/serialization/types/IndexedAssetsListRequestHeight.d.ts +13 -0
  401. package/dist/serialization/types/IndexedAssetsListRequestHeight.js +44 -0
  402. package/dist/serialization/types/IndexedAssetsListRequestSize.d.ts +13 -0
  403. package/dist/serialization/types/IndexedAssetsListRequestSize.js +44 -0
  404. package/dist/serialization/types/IndexedAssetsListRequestWidth.d.ts +13 -0
  405. package/dist/serialization/types/IndexedAssetsListRequestWidth.js +44 -0
  406. package/dist/serialization/types/InternalEntity.d.ts +10 -2
  407. package/dist/serialization/types/InternalEntity.js +11 -5
  408. package/dist/serialization/types/SegmentDefinition.d.ts +17 -0
  409. package/dist/serialization/types/SegmentDefinition.js +48 -0
  410. package/dist/serialization/types/SegmentField.d.ts +18 -0
  411. package/dist/serialization/types/SegmentField.js +49 -0
  412. package/dist/serialization/types/SegmentFieldItems.d.ts +13 -0
  413. package/dist/serialization/types/SegmentFieldItems.js +44 -0
  414. package/dist/serialization/types/SegmentFieldItemsType.d.ts +10 -0
  415. package/dist/serialization/types/SegmentFieldItemsType.js +41 -0
  416. package/dist/serialization/types/SegmentFieldType.d.ts +10 -0
  417. package/dist/serialization/types/SegmentFieldType.js +41 -0
  418. package/dist/serialization/types/SmeMediaSource.d.ts +17 -0
  419. package/dist/serialization/types/SmeMediaSource.js +48 -0
  420. package/dist/serialization/types/SmeMediaSourceMediaType.d.ts +10 -0
  421. package/dist/serialization/types/{ResponseFormatType.js → SmeMediaSourceMediaType.js} +2 -2
  422. package/dist/serialization/types/SyncResponseFormat.d.ts +14 -0
  423. package/{serialization/types/ResponseFormat.js → dist/serialization/types/SyncResponseFormat.js} +4 -4
  424. package/dist/serialization/types/{ResponseFormatType.d.ts → SyncResponseFormatType.d.ts} +2 -2
  425. package/dist/serialization/types/SyncResponseFormatType.js +41 -0
  426. package/dist/serialization/types/VideosListRequestDuration.d.ts +13 -0
  427. package/dist/serialization/types/VideosListRequestDuration.js +44 -0
  428. package/dist/serialization/types/VideosListRequestFps.d.ts +13 -0
  429. package/dist/serialization/types/VideosListRequestFps.js +44 -0
  430. package/dist/serialization/types/VideosListRequestHeight.d.ts +13 -0
  431. package/dist/serialization/types/VideosListRequestHeight.js +44 -0
  432. package/dist/serialization/types/VideosListRequestSize.d.ts +13 -0
  433. package/dist/serialization/types/VideosListRequestSize.js +44 -0
  434. package/dist/serialization/types/VideosListRequestWidth.d.ts +13 -0
  435. package/dist/serialization/types/VideosListRequestWidth.js +44 -0
  436. package/dist/serialization/types/index.d.ts +40 -2
  437. package/dist/serialization/types/index.js +40 -2
  438. package/dist/version.d.ts +1 -1
  439. package/dist/version.js +1 -1
  440. package/dist/wrapper/resources/IndexesVideosWrapper.js +29 -14
  441. package/package.json +1 -1
  442. package/reference.md +219 -35
  443. package/serialization/client/requests/AnalyzeRequest.d.ts +2 -2
  444. package/serialization/client/requests/AnalyzeRequest.js +2 -2
  445. package/serialization/client/requests/AnalyzeStreamRequest.d.ts +2 -2
  446. package/serialization/client/requests/AnalyzeStreamRequest.js +2 -2
  447. package/serialization/resources/analyzeAsync/resources/tasks/client/requests/CreateAsyncAnalyzeRequest.d.ts +10 -6
  448. package/serialization/resources/analyzeAsync/resources/tasks/client/requests/CreateAsyncAnalyzeRequest.js +10 -6
  449. package/serialization/resources/analyzeAsync/resources/tasks/types/CreateAsyncAnalyzeRequestAnalysisMode.d.ts +10 -0
  450. package/serialization/resources/analyzeAsync/resources/tasks/types/CreateAsyncAnalyzeRequestAnalysisMode.js +41 -0
  451. package/serialization/resources/analyzeAsync/resources/tasks/types/CreateAsyncAnalyzeRequestModelName.d.ts +10 -0
  452. package/serialization/resources/analyzeAsync/resources/tasks/types/CreateAsyncAnalyzeRequestModelName.js +41 -0
  453. package/serialization/resources/analyzeAsync/resources/tasks/types/TasksListRequestAnalysisMode.d.ts +10 -0
  454. package/serialization/resources/analyzeAsync/resources/tasks/types/TasksListRequestAnalysisMode.js +41 -0
  455. package/serialization/resources/analyzeAsync/resources/tasks/types/index.d.ts +3 -0
  456. package/serialization/resources/analyzeAsync/resources/tasks/types/index.js +3 -0
  457. package/serialization/resources/assets/types/AssetsListResponse.d.ts +2 -2
  458. package/serialization/resources/assets/types/AssetsListResponse.js +2 -2
  459. package/serialization/resources/entityCollections/resources/entities/types/EntitiesListByAssetResponse.d.ts +15 -0
  460. package/serialization/resources/entityCollections/resources/entities/types/EntitiesListByAssetResponse.js +46 -0
  461. package/serialization/resources/entityCollections/resources/entities/types/index.d.ts +1 -0
  462. package/serialization/resources/entityCollections/resources/entities/types/index.js +1 -0
  463. package/serialization/resources/indexes/resources/indexedAssets/types/IndexedAssetsCreateResponse.d.ts +1 -0
  464. package/serialization/resources/indexes/resources/indexedAssets/types/IndexedAssetsCreateResponse.js +1 -0
  465. package/serialization/resources/indexes/resources/indexedAssets/types/IndexedAssetsListByAssetResponse.d.ts +15 -0
  466. package/serialization/resources/indexes/resources/indexedAssets/types/IndexedAssetsListByAssetResponse.js +46 -0
  467. package/serialization/resources/indexes/resources/indexedAssets/types/index.d.ts +1 -0
  468. package/serialization/resources/indexes/resources/indexedAssets/types/index.js +1 -0
  469. package/serialization/resources/multipartUpload/client/requests/CreateAssetUploadRequest.d.ts +2 -0
  470. package/serialization/resources/multipartUpload/client/requests/CreateAssetUploadRequest.js +2 -0
  471. package/serialization/types/AnalyzeTaskResponse.d.ts +4 -0
  472. package/serialization/types/AnalyzeTaskResponse.js +4 -0
  473. package/serialization/types/AnalyzeTaskResponseRequestParams.d.ts +19 -0
  474. package/serialization/types/AnalyzeTaskResponseRequestParams.js +50 -0
  475. package/serialization/types/AnalyzeTaskResponseRequestParamsAnalysisMode.d.ts +10 -0
  476. package/serialization/types/AnalyzeTaskResponseRequestParamsAnalysisMode.js +41 -0
  477. package/serialization/types/AnalyzeTaskResponseRequestParamsResponseFormat.d.ts +15 -0
  478. package/serialization/types/AnalyzeTaskResponseRequestParamsResponseFormat.js +46 -0
  479. package/serialization/types/AnalyzeTaskResponseRequestParamsResponseFormatSegmentDefinitionsItem.d.ts +17 -0
  480. package/serialization/types/AnalyzeTaskResponseRequestParamsResponseFormatSegmentDefinitionsItem.js +52 -0
  481. package/serialization/types/AnalyzeTaskResponseRequestParamsResponseFormatSegmentDefinitionsItemFieldsItem.d.ts +17 -0
  482. package/serialization/types/AnalyzeTaskResponseRequestParamsResponseFormatSegmentDefinitionsItemFieldsItem.js +48 -0
  483. package/serialization/types/AnalyzeTaskResponseRequestParamsResponseFormatSegmentDefinitionsItemFieldsItemItems.d.ts +12 -0
  484. package/serialization/types/AnalyzeTaskResponseRequestParamsResponseFormatSegmentDefinitionsItemFieldsItemItems.js +43 -0
  485. package/serialization/types/AnalyzeTaskResponseRequestParamsResponseFormatSegmentDefinitionsItemMediaSourcesItem.d.ts +15 -0
  486. package/serialization/types/AnalyzeTaskResponseRequestParamsResponseFormatSegmentDefinitionsItemMediaSourcesItem.js +46 -0
  487. package/serialization/types/AnalyzeTaskResponseRequestParamsResponseFormatType.d.ts +10 -0
  488. package/serialization/types/AnalyzeTaskResponseRequestParamsResponseFormatType.js +41 -0
  489. package/serialization/types/AnalyzeTaskResponseVideoSource.d.ts +18 -0
  490. package/serialization/types/AnalyzeTaskResponseVideoSource.js +49 -0
  491. package/serialization/types/AnalyzeTaskResponseVideoSourceSystemMetadata.d.ts +12 -0
  492. package/serialization/types/AnalyzeTaskResponseVideoSourceSystemMetadata.js +43 -0
  493. package/serialization/types/AnalyzeTaskResponseVideoSourceType.d.ts +10 -0
  494. package/serialization/types/AnalyzeTaskResponseVideoSourceType.js +41 -0
  495. package/serialization/types/AnalyzeTaskResult.d.ts +1 -2
  496. package/serialization/types/AnalyzeTaskResult.js +1 -2
  497. package/serialization/types/Asset.d.ts +2 -0
  498. package/serialization/types/Asset.js +2 -0
  499. package/serialization/types/AssetDetail.d.ts +16 -0
  500. package/serialization/types/AssetDetail.js +49 -0
  501. package/serialization/types/AssetHls.d.ts +14 -0
  502. package/serialization/types/AssetHls.js +45 -0
  503. package/serialization/types/AssetHlsStatus.d.ts +10 -0
  504. package/serialization/types/AssetHlsStatus.js +41 -0
  505. package/serialization/types/AssetMethod.d.ts +1 -1
  506. package/serialization/types/AssetMethod.js +1 -1
  507. package/serialization/types/AssetThumbnail.d.ts +14 -0
  508. package/serialization/types/AssetThumbnail.js +45 -0
  509. package/serialization/types/AssetThumbnailStatus.d.ts +10 -0
  510. package/serialization/types/AssetThumbnailStatus.js +41 -0
  511. package/serialization/types/AsyncResponseFormat.d.ts +16 -0
  512. package/serialization/types/AsyncResponseFormat.js +47 -0
  513. package/serialization/types/AsyncResponseFormatType.d.ts +10 -0
  514. package/serialization/types/AsyncResponseFormatType.js +41 -0
  515. package/serialization/types/ConflictErrorBody.d.ts +14 -0
  516. package/serialization/types/ConflictErrorBody.js +45 -0
  517. package/serialization/types/Entity.d.ts +1 -0
  518. package/serialization/types/Entity.js +1 -0
  519. package/serialization/types/IndexedAsset.d.ts +1 -0
  520. package/serialization/types/IndexedAsset.js +1 -0
  521. package/serialization/types/IndexedAssetSummary.d.ts +14 -0
  522. package/serialization/types/IndexedAssetSummary.js +45 -0
  523. package/serialization/types/IndexedAssetSummaryIndex.d.ts +13 -0
  524. package/serialization/types/IndexedAssetSummaryIndex.js +44 -0
  525. package/serialization/types/IndexedAssetsListRequestDuration.d.ts +13 -0
  526. package/serialization/types/IndexedAssetsListRequestDuration.js +44 -0
  527. package/serialization/types/IndexedAssetsListRequestFps.d.ts +13 -0
  528. package/serialization/types/IndexedAssetsListRequestFps.js +44 -0
  529. package/serialization/types/IndexedAssetsListRequestHeight.d.ts +13 -0
  530. package/serialization/types/IndexedAssetsListRequestHeight.js +44 -0
  531. package/serialization/types/IndexedAssetsListRequestSize.d.ts +13 -0
  532. package/serialization/types/IndexedAssetsListRequestSize.js +44 -0
  533. package/serialization/types/IndexedAssetsListRequestWidth.d.ts +13 -0
  534. package/serialization/types/IndexedAssetsListRequestWidth.js +44 -0
  535. package/serialization/types/InternalEntity.d.ts +10 -2
  536. package/serialization/types/InternalEntity.js +11 -5
  537. package/serialization/types/SegmentDefinition.d.ts +17 -0
  538. package/serialization/types/SegmentDefinition.js +48 -0
  539. package/serialization/types/SegmentField.d.ts +18 -0
  540. package/serialization/types/SegmentField.js +49 -0
  541. package/serialization/types/SegmentFieldItems.d.ts +13 -0
  542. package/serialization/types/SegmentFieldItems.js +44 -0
  543. package/serialization/types/SegmentFieldItemsType.d.ts +10 -0
  544. package/serialization/types/SegmentFieldItemsType.js +41 -0
  545. package/serialization/types/SegmentFieldType.d.ts +10 -0
  546. package/serialization/types/SegmentFieldType.js +41 -0
  547. package/serialization/types/SmeMediaSource.d.ts +17 -0
  548. package/serialization/types/SmeMediaSource.js +48 -0
  549. package/serialization/types/SmeMediaSourceMediaType.d.ts +10 -0
  550. package/serialization/types/{ResponseFormatType.js → SmeMediaSourceMediaType.js} +2 -2
  551. package/serialization/types/SyncResponseFormat.d.ts +14 -0
  552. package/{dist/serialization/types/ResponseFormat.js → serialization/types/SyncResponseFormat.js} +4 -4
  553. package/serialization/types/{ResponseFormatType.d.ts → SyncResponseFormatType.d.ts} +2 -2
  554. package/serialization/types/SyncResponseFormatType.js +41 -0
  555. package/serialization/types/VideosListRequestDuration.d.ts +13 -0
  556. package/serialization/types/VideosListRequestDuration.js +44 -0
  557. package/serialization/types/VideosListRequestFps.d.ts +13 -0
  558. package/serialization/types/VideosListRequestFps.js +44 -0
  559. package/serialization/types/VideosListRequestHeight.d.ts +13 -0
  560. package/serialization/types/VideosListRequestHeight.js +44 -0
  561. package/serialization/types/VideosListRequestSize.d.ts +13 -0
  562. package/serialization/types/VideosListRequestSize.js +44 -0
  563. package/serialization/types/VideosListRequestWidth.d.ts +13 -0
  564. package/serialization/types/VideosListRequestWidth.js +44 -0
  565. package/serialization/types/index.d.ts +40 -2
  566. package/serialization/types/index.js +40 -2
  567. package/version.d.ts +1 -1
  568. package/version.js +1 -1
  569. package/wrapper/resources/IndexesVideosWrapper.js +29 -14
  570. package/dist/serialization/types/ResponseFormat.d.ts +0 -14
  571. package/serialization/types/ResponseFormat.d.ts +0 -14
  572. /package/api/{types/ResponseFormat.js → resources/assets/client/requests/AssetsDeleteRequest.js} +0 -0
  573. /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 "./ResponseFormatType";
119
- export * from "./ResponseFormat";
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("./ResponseFormatType"), exports);
135
- __exportStar(require("./ResponseFormat"), exports);
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.2";
1
+ export declare const SDK_VERSION = "1.2.3";
package/dist/version.js CHANGED
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SDK_VERSION = void 0;
4
- exports.SDK_VERSION = "1.2.2";
4
+ exports.SDK_VERSION = "1.2.3";
@@ -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
- _queryParams["duration"] = duration.toString();
107
- }
108
- if (fps != null) {
109
- _queryParams["fps"] = fps.toString();
110
- }
111
- if (width != null) {
112
- _queryParams["width"] = width.toString();
113
- }
114
- if (height != null) {
115
- _queryParams["height"] = height.toString();
116
- }
117
- if (size != null) {
118
- _queryParams["size"] = size.toString();
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "twelvelabs-js",
3
- "version": "1.2.2",
3
+ "version": "1.2.3",
4
4
  "private": false,
5
5
  "repository": "https://github.com/twelvelabs-io/twelvelabs-js",
6
6
  "main": "./index.js",
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&lt;TwelvelabsApi.Asset&gt;</code></summary>
801
+ <details><summary><code>client.assets.<a href="/src/api/resources/assets/client/Client.ts">list</a>({ ...params }) -> core.Page&lt;TwelvelabsApi.AssetDetail&gt;</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**: 200MB maximum for local file uploads, 4GB maximum for URL uploads.
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.Asset</code></summary>
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
- </dd>
1042
- </dl>
1043
- </dd>
1044
- </dl>
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 and audio
1203
+ **Supported content**: Video
1185
1204
 
1186
- **File size**: 4GB maximum.
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 and generates fully customizable text based on your prompts.
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="Note">
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&lt;TwelvelabsApi.Entity&gt;</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&lt;TwelvelabsApi.Entity&gt;</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&lt;TwelvelabsApi.IndexedAssetSummary&gt;</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&lt;TwelvelabsApi.VideoVector&gt;</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
  });