twelvelabs-js 1.2.6 → 1.2.8

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 (296) hide show
  1. package/.fern/replay.lock +10 -0
  2. package/.gitattributes +1 -0
  3. package/Client.d.ts +4 -0
  4. package/Client.js +6 -2
  5. package/api/client/requests/AnalyzeRequest.d.ts +1 -1
  6. package/api/client/requests/AnalyzeStreamRequest.d.ts +1 -1
  7. package/api/errors/GatewayTimeoutError.d.ts +9 -0
  8. package/api/errors/GatewayTimeoutError.js +52 -0
  9. package/api/errors/ServiceUnavailableError.d.ts +9 -0
  10. package/api/errors/ServiceUnavailableError.js +52 -0
  11. package/api/errors/index.d.ts +2 -0
  12. package/api/errors/index.js +2 -0
  13. package/api/resources/analyzeAsync/client/Client.d.ts +3 -0
  14. package/api/resources/analyzeAsync/client/Client.js +5 -0
  15. package/api/resources/analyzeAsync/resources/batches/client/Client.d.ts +231 -0
  16. package/api/resources/analyzeAsync/resources/batches/client/Client.js +667 -0
  17. package/api/resources/analyzeAsync/resources/batches/client/index.d.ts +1 -0
  18. package/api/resources/analyzeAsync/resources/batches/client/index.js +17 -0
  19. package/api/resources/analyzeAsync/resources/batches/client/requests/BatchesListRequest.d.ts +42 -0
  20. package/api/resources/analyzeAsync/resources/batches/client/requests/BatchesListRequest.js +5 -0
  21. package/api/resources/analyzeAsync/resources/batches/client/requests/CreateAnalyzeBatchRequest.d.ts +101 -0
  22. package/api/resources/analyzeAsync/resources/batches/client/requests/CreateAnalyzeBatchRequest.js +5 -0
  23. package/api/resources/analyzeAsync/resources/batches/client/requests/index.d.ts +2 -0
  24. package/api/resources/analyzeAsync/resources/batches/client/requests/index.js +2 -0
  25. package/api/resources/analyzeAsync/resources/batches/index.d.ts +2 -0
  26. package/api/resources/analyzeAsync/resources/batches/index.js +18 -0
  27. package/api/resources/analyzeAsync/resources/batches/types/BatchesListRequestAnalysisModeItem.d.ts +8 -0
  28. package/api/resources/analyzeAsync/resources/batches/types/BatchesListRequestAnalysisModeItem.js +10 -0
  29. package/api/resources/analyzeAsync/resources/batches/types/BatchesListResponse.d.ts +9 -0
  30. package/api/resources/analyzeAsync/resources/batches/types/BatchesListResponse.js +5 -0
  31. package/api/resources/analyzeAsync/resources/batches/types/CreateAnalyzeBatchRequestAnalysisMode.d.ts +15 -0
  32. package/api/resources/analyzeAsync/resources/batches/types/CreateAnalyzeBatchRequestAnalysisMode.js +10 -0
  33. package/api/resources/analyzeAsync/resources/batches/types/CreateAnalyzeBatchRequestModelName.d.ts +10 -0
  34. package/api/resources/analyzeAsync/resources/batches/types/CreateAnalyzeBatchRequestModelName.js +9 -0
  35. package/api/resources/analyzeAsync/resources/batches/types/index.d.ts +4 -0
  36. package/api/resources/analyzeAsync/resources/batches/types/index.js +20 -0
  37. package/api/resources/analyzeAsync/resources/index.d.ts +3 -0
  38. package/api/resources/analyzeAsync/resources/index.js +4 -1
  39. package/api/resources/analyzeAsync/resources/tasks/client/Client.d.ts +2 -0
  40. package/api/resources/analyzeAsync/resources/tasks/client/Client.js +6 -4
  41. package/api/resources/analyzeAsync/resources/tasks/client/requests/CreateAsyncAnalyzeRequest.d.ts +1 -1
  42. package/api/resources/assets/client/Client.js +7 -7
  43. package/api/resources/embed/client/Client.js +1 -1
  44. package/api/resources/embed/resources/tasks/client/Client.js +4 -4
  45. package/api/resources/embed/resources/v2/client/Client.js +1 -1
  46. package/api/resources/embed/resources/v2/resources/tasks/client/Client.js +3 -3
  47. package/api/resources/entityCollections/client/Client.js +5 -5
  48. package/api/resources/entityCollections/resources/entities/client/Client.js +9 -9
  49. package/api/resources/indexes/client/Client.js +5 -5
  50. package/api/resources/indexes/resources/indexedAssets/client/Client.d.ts +2 -0
  51. package/api/resources/indexes/resources/indexedAssets/client/Client.js +8 -6
  52. package/api/resources/indexes/resources/videos/client/Client.js +4 -4
  53. package/api/resources/multipartUpload/client/Client.js +5 -5
  54. package/api/resources/search/client/Client.js +2 -2
  55. package/api/resources/tasks/client/Client.d.ts +2 -0
  56. package/api/resources/tasks/client/Client.js +6 -4
  57. package/api/types/AnalyzeBatchStatusResponse.d.ts +21 -0
  58. package/api/types/AnalyzeBatchStatusResponse.js +5 -0
  59. package/api/types/AnalyzeBatchSummary.d.ts +28 -0
  60. package/api/types/AnalyzeBatchSummary.js +5 -0
  61. package/api/types/AnalyzeBatchSummaryAnalysisMode.d.ts +11 -0
  62. package/api/types/AnalyzeBatchSummaryAnalysisMode.js +10 -0
  63. package/api/types/AsyncResponseFormat.d.ts +1 -1
  64. package/api/types/BatchDefaults.d.ts +46 -0
  65. package/api/types/BatchDefaults.js +5 -0
  66. package/api/types/BatchItemError.d.ts +12 -0
  67. package/api/types/BatchItemError.js +5 -0
  68. package/api/types/BatchItemRequest.d.ts +36 -0
  69. package/api/types/BatchItemRequest.js +5 -0
  70. package/api/types/BatchItemStatus.d.ts +14 -0
  71. package/api/types/BatchItemStatus.js +13 -0
  72. package/api/types/BatchPrompt.d.ts +13 -0
  73. package/api/types/BatchPrompt.js +5 -0
  74. package/api/types/BatchResultItem.d.ts +17 -0
  75. package/api/types/BatchResultItem.js +5 -0
  76. package/api/types/BatchStatus.d.ts +15 -0
  77. package/api/types/BatchStatus.js +14 -0
  78. package/api/types/BatchVideoContext.d.ts +13 -0
  79. package/api/types/BatchVideoContext.js +5 -0
  80. package/api/types/BatchVideoContextType.d.ts +10 -0
  81. package/api/types/BatchVideoContextType.js +9 -0
  82. package/api/types/CreateAnalyzeBatchResponse.d.ts +20 -0
  83. package/api/types/CreateAnalyzeBatchResponse.js +5 -0
  84. package/api/types/CreatedBatchItem.d.ts +12 -0
  85. package/api/types/CreatedBatchItem.js +5 -0
  86. package/api/types/EmbeddingTaskResponse.d.ts +2 -0
  87. package/api/types/EmbeddingTaskResponseError.d.ts +15 -0
  88. package/api/types/EmbeddingTaskResponseError.js +5 -0
  89. package/api/types/SegmentDefinition.d.ts +1 -1
  90. package/api/types/SegmentField.d.ts +1 -1
  91. package/api/types/index.d.ts +15 -0
  92. package/api/types/index.js +15 -0
  93. package/dist/Client.d.ts +4 -0
  94. package/dist/Client.js +6 -2
  95. package/dist/api/client/requests/AnalyzeRequest.d.ts +1 -1
  96. package/dist/api/client/requests/AnalyzeStreamRequest.d.ts +1 -1
  97. package/dist/api/errors/GatewayTimeoutError.d.ts +9 -0
  98. package/dist/api/errors/GatewayTimeoutError.js +52 -0
  99. package/dist/api/errors/ServiceUnavailableError.d.ts +9 -0
  100. package/dist/api/errors/ServiceUnavailableError.js +52 -0
  101. package/dist/api/errors/index.d.ts +2 -0
  102. package/dist/api/errors/index.js +2 -0
  103. package/dist/api/resources/analyzeAsync/client/Client.d.ts +3 -0
  104. package/dist/api/resources/analyzeAsync/client/Client.js +5 -0
  105. package/dist/api/resources/analyzeAsync/resources/batches/client/Client.d.ts +231 -0
  106. package/dist/api/resources/analyzeAsync/resources/batches/client/Client.js +667 -0
  107. package/dist/api/resources/analyzeAsync/resources/batches/client/index.d.ts +1 -0
  108. package/dist/api/resources/analyzeAsync/resources/batches/client/index.js +17 -0
  109. package/dist/api/resources/analyzeAsync/resources/batches/client/requests/BatchesListRequest.d.ts +42 -0
  110. package/dist/api/resources/analyzeAsync/resources/batches/client/requests/BatchesListRequest.js +5 -0
  111. package/dist/api/resources/analyzeAsync/resources/batches/client/requests/CreateAnalyzeBatchRequest.d.ts +101 -0
  112. package/dist/api/resources/analyzeAsync/resources/batches/client/requests/CreateAnalyzeBatchRequest.js +5 -0
  113. package/dist/api/resources/analyzeAsync/resources/batches/client/requests/index.d.ts +2 -0
  114. package/dist/api/resources/analyzeAsync/resources/batches/client/requests/index.js +2 -0
  115. package/dist/api/resources/analyzeAsync/resources/batches/index.d.ts +2 -0
  116. package/dist/api/resources/analyzeAsync/resources/batches/index.js +18 -0
  117. package/dist/api/resources/analyzeAsync/resources/batches/types/BatchesListRequestAnalysisModeItem.d.ts +8 -0
  118. package/dist/api/resources/analyzeAsync/resources/batches/types/BatchesListRequestAnalysisModeItem.js +10 -0
  119. package/dist/api/resources/analyzeAsync/resources/batches/types/BatchesListResponse.d.ts +9 -0
  120. package/dist/api/resources/analyzeAsync/resources/batches/types/BatchesListResponse.js +5 -0
  121. package/dist/api/resources/analyzeAsync/resources/batches/types/CreateAnalyzeBatchRequestAnalysisMode.d.ts +15 -0
  122. package/dist/api/resources/analyzeAsync/resources/batches/types/CreateAnalyzeBatchRequestAnalysisMode.js +10 -0
  123. package/dist/api/resources/analyzeAsync/resources/batches/types/CreateAnalyzeBatchRequestModelName.d.ts +10 -0
  124. package/dist/api/resources/analyzeAsync/resources/batches/types/CreateAnalyzeBatchRequestModelName.js +9 -0
  125. package/dist/api/resources/analyzeAsync/resources/batches/types/index.d.ts +4 -0
  126. package/dist/api/resources/analyzeAsync/resources/batches/types/index.js +20 -0
  127. package/dist/api/resources/analyzeAsync/resources/index.d.ts +3 -0
  128. package/dist/api/resources/analyzeAsync/resources/index.js +4 -1
  129. package/dist/api/resources/analyzeAsync/resources/tasks/client/Client.d.ts +2 -0
  130. package/dist/api/resources/analyzeAsync/resources/tasks/client/Client.js +6 -4
  131. package/dist/api/resources/analyzeAsync/resources/tasks/client/requests/CreateAsyncAnalyzeRequest.d.ts +1 -1
  132. package/dist/api/resources/assets/client/Client.js +7 -7
  133. package/dist/api/resources/embed/client/Client.js +1 -1
  134. package/dist/api/resources/embed/resources/tasks/client/Client.js +4 -4
  135. package/dist/api/resources/embed/resources/v2/client/Client.js +1 -1
  136. package/dist/api/resources/embed/resources/v2/resources/tasks/client/Client.js +3 -3
  137. package/dist/api/resources/entityCollections/client/Client.js +5 -5
  138. package/dist/api/resources/entityCollections/resources/entities/client/Client.js +9 -9
  139. package/dist/api/resources/indexes/client/Client.js +5 -5
  140. package/dist/api/resources/indexes/resources/indexedAssets/client/Client.d.ts +2 -0
  141. package/dist/api/resources/indexes/resources/indexedAssets/client/Client.js +8 -6
  142. package/dist/api/resources/indexes/resources/videos/client/Client.js +4 -4
  143. package/dist/api/resources/multipartUpload/client/Client.js +5 -5
  144. package/dist/api/resources/search/client/Client.js +2 -2
  145. package/dist/api/resources/tasks/client/Client.d.ts +2 -0
  146. package/dist/api/resources/tasks/client/Client.js +6 -4
  147. package/dist/api/types/AnalyzeBatchStatusResponse.d.ts +21 -0
  148. package/dist/api/types/AnalyzeBatchStatusResponse.js +5 -0
  149. package/dist/api/types/AnalyzeBatchSummary.d.ts +28 -0
  150. package/dist/api/types/AnalyzeBatchSummary.js +5 -0
  151. package/dist/api/types/AnalyzeBatchSummaryAnalysisMode.d.ts +11 -0
  152. package/dist/api/types/AnalyzeBatchSummaryAnalysisMode.js +10 -0
  153. package/dist/api/types/AsyncResponseFormat.d.ts +1 -1
  154. package/dist/api/types/BatchDefaults.d.ts +46 -0
  155. package/dist/api/types/BatchDefaults.js +5 -0
  156. package/dist/api/types/BatchItemError.d.ts +12 -0
  157. package/dist/api/types/BatchItemError.js +5 -0
  158. package/dist/api/types/BatchItemRequest.d.ts +36 -0
  159. package/dist/api/types/BatchItemRequest.js +5 -0
  160. package/dist/api/types/BatchItemStatus.d.ts +14 -0
  161. package/dist/api/types/BatchItemStatus.js +13 -0
  162. package/dist/api/types/BatchPrompt.d.ts +13 -0
  163. package/dist/api/types/BatchPrompt.js +5 -0
  164. package/dist/api/types/BatchResultItem.d.ts +17 -0
  165. package/dist/api/types/BatchResultItem.js +5 -0
  166. package/dist/api/types/BatchStatus.d.ts +15 -0
  167. package/dist/api/types/BatchStatus.js +14 -0
  168. package/dist/api/types/BatchVideoContext.d.ts +13 -0
  169. package/dist/api/types/BatchVideoContext.js +5 -0
  170. package/dist/api/types/BatchVideoContextType.d.ts +10 -0
  171. package/dist/api/types/BatchVideoContextType.js +9 -0
  172. package/dist/api/types/CreateAnalyzeBatchResponse.d.ts +20 -0
  173. package/dist/api/types/CreateAnalyzeBatchResponse.js +5 -0
  174. package/dist/api/types/CreatedBatchItem.d.ts +12 -0
  175. package/dist/api/types/CreatedBatchItem.js +5 -0
  176. package/dist/api/types/EmbeddingTaskResponse.d.ts +2 -0
  177. package/dist/api/types/EmbeddingTaskResponseError.d.ts +15 -0
  178. package/dist/api/types/EmbeddingTaskResponseError.js +5 -0
  179. package/dist/api/types/SegmentDefinition.d.ts +1 -1
  180. package/dist/api/types/SegmentField.d.ts +1 -1
  181. package/dist/api/types/index.d.ts +15 -0
  182. package/dist/api/types/index.js +15 -0
  183. package/dist/serialization/resources/analyzeAsync/resources/batches/client/index.d.ts +1 -0
  184. package/dist/serialization/resources/analyzeAsync/resources/batches/client/index.js +17 -0
  185. package/dist/serialization/resources/analyzeAsync/resources/batches/client/requests/CreateAnalyzeBatchRequest.d.ts +19 -0
  186. package/dist/serialization/resources/analyzeAsync/resources/batches/client/requests/CreateAnalyzeBatchRequest.js +50 -0
  187. package/dist/serialization/resources/analyzeAsync/resources/batches/client/requests/index.d.ts +1 -0
  188. package/dist/serialization/resources/analyzeAsync/resources/batches/client/requests/index.js +5 -0
  189. package/dist/serialization/resources/analyzeAsync/resources/batches/index.d.ts +2 -0
  190. package/dist/serialization/resources/analyzeAsync/resources/batches/index.js +18 -0
  191. package/dist/serialization/resources/analyzeAsync/resources/batches/types/BatchesListRequestAnalysisModeItem.d.ts +10 -0
  192. package/dist/serialization/resources/analyzeAsync/resources/batches/types/BatchesListRequestAnalysisModeItem.js +41 -0
  193. package/dist/serialization/resources/analyzeAsync/resources/batches/types/BatchesListResponse.d.ts +15 -0
  194. package/dist/serialization/resources/analyzeAsync/resources/batches/types/BatchesListResponse.js +46 -0
  195. package/dist/serialization/resources/analyzeAsync/resources/batches/types/CreateAnalyzeBatchRequestAnalysisMode.d.ts +10 -0
  196. package/dist/serialization/resources/analyzeAsync/resources/batches/types/CreateAnalyzeBatchRequestAnalysisMode.js +41 -0
  197. package/dist/serialization/resources/analyzeAsync/resources/batches/types/CreateAnalyzeBatchRequestModelName.d.ts +10 -0
  198. package/dist/serialization/resources/analyzeAsync/resources/batches/types/CreateAnalyzeBatchRequestModelName.js +41 -0
  199. package/dist/serialization/resources/analyzeAsync/resources/batches/types/index.d.ts +4 -0
  200. package/dist/serialization/resources/analyzeAsync/resources/batches/types/index.js +20 -0
  201. package/dist/serialization/resources/analyzeAsync/resources/index.d.ts +3 -0
  202. package/dist/serialization/resources/analyzeAsync/resources/index.js +4 -1
  203. package/dist/serialization/types/AnalyzeBatchStatusResponse.d.ts +19 -0
  204. package/dist/serialization/types/AnalyzeBatchStatusResponse.js +52 -0
  205. package/dist/serialization/types/AnalyzeBatchSummary.d.ts +23 -0
  206. package/dist/serialization/types/AnalyzeBatchSummary.js +54 -0
  207. package/dist/serialization/types/AnalyzeBatchSummaryAnalysisMode.d.ts +10 -0
  208. package/dist/serialization/types/AnalyzeBatchSummaryAnalysisMode.js +41 -0
  209. package/dist/serialization/types/BatchDefaults.d.ts +22 -0
  210. package/dist/serialization/types/BatchDefaults.js +53 -0
  211. package/dist/serialization/types/BatchItemError.d.ts +13 -0
  212. package/dist/serialization/types/BatchItemError.js +44 -0
  213. package/dist/serialization/types/BatchItemRequest.d.ts +25 -0
  214. package/dist/serialization/types/BatchItemRequest.js +56 -0
  215. package/dist/serialization/types/BatchItemStatus.d.ts +10 -0
  216. package/dist/serialization/types/BatchItemStatus.js +41 -0
  217. package/dist/serialization/types/BatchPrompt.d.ts +14 -0
  218. package/dist/serialization/types/BatchPrompt.js +45 -0
  219. package/dist/serialization/types/BatchResultItem.d.ts +19 -0
  220. package/dist/serialization/types/BatchResultItem.js +50 -0
  221. package/dist/serialization/types/BatchStatus.d.ts +10 -0
  222. package/dist/serialization/types/BatchStatus.js +41 -0
  223. package/dist/serialization/types/BatchVideoContext.d.ts +14 -0
  224. package/dist/serialization/types/BatchVideoContext.js +45 -0
  225. package/dist/serialization/types/BatchVideoContextType.d.ts +10 -0
  226. package/dist/serialization/types/BatchVideoContextType.js +41 -0
  227. package/dist/serialization/types/CreateAnalyzeBatchResponse.d.ts +19 -0
  228. package/dist/serialization/types/CreateAnalyzeBatchResponse.js +50 -0
  229. package/dist/serialization/types/CreatedBatchItem.d.ts +13 -0
  230. package/dist/serialization/types/CreatedBatchItem.js +44 -0
  231. package/dist/serialization/types/EmbeddingTaskResponse.d.ts +2 -0
  232. package/dist/serialization/types/EmbeddingTaskResponse.js +2 -0
  233. package/dist/serialization/types/EmbeddingTaskResponseError.d.ts +12 -0
  234. package/dist/serialization/types/EmbeddingTaskResponseError.js +43 -0
  235. package/dist/serialization/types/index.d.ts +15 -0
  236. package/dist/serialization/types/index.js +15 -0
  237. package/dist/version.d.ts +1 -1
  238. package/dist/version.js +1 -1
  239. package/package.json +1 -1
  240. package/reference.md +489 -0
  241. package/serialization/resources/analyzeAsync/resources/batches/client/index.d.ts +1 -0
  242. package/serialization/resources/analyzeAsync/resources/batches/client/index.js +17 -0
  243. package/serialization/resources/analyzeAsync/resources/batches/client/requests/CreateAnalyzeBatchRequest.d.ts +19 -0
  244. package/serialization/resources/analyzeAsync/resources/batches/client/requests/CreateAnalyzeBatchRequest.js +50 -0
  245. package/serialization/resources/analyzeAsync/resources/batches/client/requests/index.d.ts +1 -0
  246. package/serialization/resources/analyzeAsync/resources/batches/client/requests/index.js +5 -0
  247. package/serialization/resources/analyzeAsync/resources/batches/index.d.ts +2 -0
  248. package/serialization/resources/analyzeAsync/resources/batches/index.js +18 -0
  249. package/serialization/resources/analyzeAsync/resources/batches/types/BatchesListRequestAnalysisModeItem.d.ts +10 -0
  250. package/serialization/resources/analyzeAsync/resources/batches/types/BatchesListRequestAnalysisModeItem.js +41 -0
  251. package/serialization/resources/analyzeAsync/resources/batches/types/BatchesListResponse.d.ts +15 -0
  252. package/serialization/resources/analyzeAsync/resources/batches/types/BatchesListResponse.js +46 -0
  253. package/serialization/resources/analyzeAsync/resources/batches/types/CreateAnalyzeBatchRequestAnalysisMode.d.ts +10 -0
  254. package/serialization/resources/analyzeAsync/resources/batches/types/CreateAnalyzeBatchRequestAnalysisMode.js +41 -0
  255. package/serialization/resources/analyzeAsync/resources/batches/types/CreateAnalyzeBatchRequestModelName.d.ts +10 -0
  256. package/serialization/resources/analyzeAsync/resources/batches/types/CreateAnalyzeBatchRequestModelName.js +41 -0
  257. package/serialization/resources/analyzeAsync/resources/batches/types/index.d.ts +4 -0
  258. package/serialization/resources/analyzeAsync/resources/batches/types/index.js +20 -0
  259. package/serialization/resources/analyzeAsync/resources/index.d.ts +3 -0
  260. package/serialization/resources/analyzeAsync/resources/index.js +4 -1
  261. package/serialization/types/AnalyzeBatchStatusResponse.d.ts +19 -0
  262. package/serialization/types/AnalyzeBatchStatusResponse.js +52 -0
  263. package/serialization/types/AnalyzeBatchSummary.d.ts +23 -0
  264. package/serialization/types/AnalyzeBatchSummary.js +54 -0
  265. package/serialization/types/AnalyzeBatchSummaryAnalysisMode.d.ts +10 -0
  266. package/serialization/types/AnalyzeBatchSummaryAnalysisMode.js +41 -0
  267. package/serialization/types/BatchDefaults.d.ts +22 -0
  268. package/serialization/types/BatchDefaults.js +53 -0
  269. package/serialization/types/BatchItemError.d.ts +13 -0
  270. package/serialization/types/BatchItemError.js +44 -0
  271. package/serialization/types/BatchItemRequest.d.ts +25 -0
  272. package/serialization/types/BatchItemRequest.js +56 -0
  273. package/serialization/types/BatchItemStatus.d.ts +10 -0
  274. package/serialization/types/BatchItemStatus.js +41 -0
  275. package/serialization/types/BatchPrompt.d.ts +14 -0
  276. package/serialization/types/BatchPrompt.js +45 -0
  277. package/serialization/types/BatchResultItem.d.ts +19 -0
  278. package/serialization/types/BatchResultItem.js +50 -0
  279. package/serialization/types/BatchStatus.d.ts +10 -0
  280. package/serialization/types/BatchStatus.js +41 -0
  281. package/serialization/types/BatchVideoContext.d.ts +14 -0
  282. package/serialization/types/BatchVideoContext.js +45 -0
  283. package/serialization/types/BatchVideoContextType.d.ts +10 -0
  284. package/serialization/types/BatchVideoContextType.js +41 -0
  285. package/serialization/types/CreateAnalyzeBatchResponse.d.ts +19 -0
  286. package/serialization/types/CreateAnalyzeBatchResponse.js +50 -0
  287. package/serialization/types/CreatedBatchItem.d.ts +13 -0
  288. package/serialization/types/CreatedBatchItem.js +44 -0
  289. package/serialization/types/EmbeddingTaskResponse.d.ts +2 -0
  290. package/serialization/types/EmbeddingTaskResponse.js +2 -0
  291. package/serialization/types/EmbeddingTaskResponseError.d.ts +12 -0
  292. package/serialization/types/EmbeddingTaskResponseError.js +43 -0
  293. package/serialization/types/index.d.ts +15 -0
  294. package/serialization/types/index.js +15 -0
  295. package/version.d.ts +1 -1
  296. package/version.js +1 -1
@@ -107,7 +107,7 @@ class EntityCollections {
107
107
  const _response = yield core.fetcher({
108
108
  url: (0, url_join_1.default)((_b = (_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.TwelvelabsApiEnvironment.Default, "entity-collections"),
109
109
  method: "GET",
110
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "twelvelabs-js", "X-Fern-SDK-Version": "1.2.6", "User-Agent": "twelvelabs-js/1.2.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
110
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "twelvelabs-js", "X-Fern-SDK-Version": "1.2.8", "User-Agent": "twelvelabs-js/1.2.8", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
111
111
  contentType: "application/json",
112
112
  queryParameters: _queryParams,
113
113
  requestType: "json",
@@ -190,7 +190,7 @@ class EntityCollections {
190
190
  const _response = yield core.fetcher({
191
191
  url: (0, url_join_1.default)((_b = (_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.TwelvelabsApiEnvironment.Default, "entity-collections"),
192
192
  method: "POST",
193
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "twelvelabs-js", "X-Fern-SDK-Version": "1.2.6", "User-Agent": "twelvelabs-js/1.2.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
193
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "twelvelabs-js", "X-Fern-SDK-Version": "1.2.8", "User-Agent": "twelvelabs-js/1.2.8", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
194
194
  contentType: "application/json",
195
195
  requestType: "json",
196
196
  body: serializers.EntityCollectionsCreateRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -258,7 +258,7 @@ class EntityCollections {
258
258
  const _response = yield core.fetcher({
259
259
  url: (0, url_join_1.default)((_b = (_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.TwelvelabsApiEnvironment.Default, `entity-collections/${encodeURIComponent(entityCollectionId)}`),
260
260
  method: "GET",
261
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "twelvelabs-js", "X-Fern-SDK-Version": "1.2.6", "User-Agent": "twelvelabs-js/1.2.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
261
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "twelvelabs-js", "X-Fern-SDK-Version": "1.2.8", "User-Agent": "twelvelabs-js/1.2.8", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
262
262
  contentType: "application/json",
263
263
  requestType: "json",
264
264
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 600000,
@@ -325,7 +325,7 @@ class EntityCollections {
325
325
  const _response = yield core.fetcher({
326
326
  url: (0, url_join_1.default)((_b = (_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.TwelvelabsApiEnvironment.Default, `entity-collections/${encodeURIComponent(entityCollectionId)}`),
327
327
  method: "DELETE",
328
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "twelvelabs-js", "X-Fern-SDK-Version": "1.2.6", "User-Agent": "twelvelabs-js/1.2.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
328
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "twelvelabs-js", "X-Fern-SDK-Version": "1.2.8", "User-Agent": "twelvelabs-js/1.2.8", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
329
329
  contentType: "application/json",
330
330
  requestType: "json",
331
331
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 600000,
@@ -385,7 +385,7 @@ class EntityCollections {
385
385
  const _response = yield core.fetcher({
386
386
  url: (0, url_join_1.default)((_b = (_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.TwelvelabsApiEnvironment.Default, `entity-collections/${encodeURIComponent(entityCollectionId)}`),
387
387
  method: "PATCH",
388
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "twelvelabs-js", "X-Fern-SDK-Version": "1.2.6", "User-Agent": "twelvelabs-js/1.2.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
388
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "twelvelabs-js", "X-Fern-SDK-Version": "1.2.8", "User-Agent": "twelvelabs-js/1.2.8", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
389
389
  contentType: "application/json",
390
390
  requestType: "json",
391
391
  body: serializers.EntityCollectionsUpdateRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -89,7 +89,7 @@ class Entities {
89
89
  const _response = yield core.fetcher({
90
90
  url: (0, url_join_1.default)((_b = (_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.TwelvelabsApiEnvironment.Default, `assets/${encodeURIComponent(assetId)}/entities`),
91
91
  method: "GET",
92
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "twelvelabs-js", "X-Fern-SDK-Version": "1.2.6", "User-Agent": "twelvelabs-js/1.2.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
92
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "twelvelabs-js", "X-Fern-SDK-Version": "1.2.8", "User-Agent": "twelvelabs-js/1.2.8", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
93
93
  contentType: "application/json",
94
94
  queryParameters: _queryParams,
95
95
  requestType: "json",
@@ -196,7 +196,7 @@ class Entities {
196
196
  const _response = yield core.fetcher({
197
197
  url: (0, url_join_1.default)((_b = (_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.TwelvelabsApiEnvironment.Default, `entity-collections/${encodeURIComponent(entityCollectionId)}/entities`),
198
198
  method: "GET",
199
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "twelvelabs-js", "X-Fern-SDK-Version": "1.2.6", "User-Agent": "twelvelabs-js/1.2.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
199
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "twelvelabs-js", "X-Fern-SDK-Version": "1.2.8", "User-Agent": "twelvelabs-js/1.2.8", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
200
200
  contentType: "application/json",
201
201
  queryParameters: _queryParams,
202
202
  requestType: "json",
@@ -281,7 +281,7 @@ class Entities {
281
281
  const _response = yield core.fetcher({
282
282
  url: (0, url_join_1.default)((_b = (_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.TwelvelabsApiEnvironment.Default, `entity-collections/${encodeURIComponent(entityCollectionId)}/entities`),
283
283
  method: "POST",
284
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "twelvelabs-js", "X-Fern-SDK-Version": "1.2.6", "User-Agent": "twelvelabs-js/1.2.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
284
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "twelvelabs-js", "X-Fern-SDK-Version": "1.2.8", "User-Agent": "twelvelabs-js/1.2.8", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
285
285
  contentType: "application/json",
286
286
  requestType: "json",
287
287
  body: serializers.entityCollections.EntitiesCreateRequest.jsonOrThrow(request, {
@@ -357,7 +357,7 @@ class Entities {
357
357
  const _response = yield core.fetcher({
358
358
  url: (0, url_join_1.default)((_b = (_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.TwelvelabsApiEnvironment.Default, `entity-collections/${encodeURIComponent(entityCollectionId)}/entities/bulk`),
359
359
  method: "POST",
360
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "twelvelabs-js", "X-Fern-SDK-Version": "1.2.6", "User-Agent": "twelvelabs-js/1.2.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
360
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "twelvelabs-js", "X-Fern-SDK-Version": "1.2.8", "User-Agent": "twelvelabs-js/1.2.8", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
361
361
  contentType: "application/json",
362
362
  requestType: "json",
363
363
  body: serializers.entityCollections.EntitiesCreateBulkRequest.jsonOrThrow(request, {
@@ -428,7 +428,7 @@ class Entities {
428
428
  const _response = yield core.fetcher({
429
429
  url: (0, url_join_1.default)((_b = (_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.TwelvelabsApiEnvironment.Default, `entity-collections/${encodeURIComponent(entityCollectionId)}/entities/${encodeURIComponent(entityId)}`),
430
430
  method: "GET",
431
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "twelvelabs-js", "X-Fern-SDK-Version": "1.2.6", "User-Agent": "twelvelabs-js/1.2.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
431
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "twelvelabs-js", "X-Fern-SDK-Version": "1.2.8", "User-Agent": "twelvelabs-js/1.2.8", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
432
432
  contentType: "application/json",
433
433
  requestType: "json",
434
434
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 600000,
@@ -496,7 +496,7 @@ class Entities {
496
496
  const _response = yield core.fetcher({
497
497
  url: (0, url_join_1.default)((_b = (_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.TwelvelabsApiEnvironment.Default, `entity-collections/${encodeURIComponent(entityCollectionId)}/entities/${encodeURIComponent(entityId)}`),
498
498
  method: "DELETE",
499
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "twelvelabs-js", "X-Fern-SDK-Version": "1.2.6", "User-Agent": "twelvelabs-js/1.2.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
499
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "twelvelabs-js", "X-Fern-SDK-Version": "1.2.8", "User-Agent": "twelvelabs-js/1.2.8", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
500
500
  contentType: "application/json",
501
501
  requestType: "json",
502
502
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 600000,
@@ -557,7 +557,7 @@ class Entities {
557
557
  const _response = yield core.fetcher({
558
558
  url: (0, url_join_1.default)((_b = (_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.TwelvelabsApiEnvironment.Default, `entity-collections/${encodeURIComponent(entityCollectionId)}/entities/${encodeURIComponent(entityId)}`),
559
559
  method: "PATCH",
560
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "twelvelabs-js", "X-Fern-SDK-Version": "1.2.6", "User-Agent": "twelvelabs-js/1.2.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
560
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "twelvelabs-js", "X-Fern-SDK-Version": "1.2.8", "User-Agent": "twelvelabs-js/1.2.8", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
561
561
  contentType: "application/json",
562
562
  requestType: "json",
563
563
  body: serializers.entityCollections.EntitiesUpdateRequest.jsonOrThrow(request, {
@@ -633,7 +633,7 @@ class Entities {
633
633
  const _response = yield core.fetcher({
634
634
  url: (0, url_join_1.default)((_b = (_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.TwelvelabsApiEnvironment.Default, `entity-collections/${encodeURIComponent(entityCollectionId)}/entities/${encodeURIComponent(entityId)}/assets`),
635
635
  method: "POST",
636
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "twelvelabs-js", "X-Fern-SDK-Version": "1.2.6", "User-Agent": "twelvelabs-js/1.2.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
636
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "twelvelabs-js", "X-Fern-SDK-Version": "1.2.8", "User-Agent": "twelvelabs-js/1.2.8", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
637
637
  contentType: "application/json",
638
638
  requestType: "json",
639
639
  body: serializers.entityCollections.EntitiesCreateAssetsRequest.jsonOrThrow(request, {
@@ -714,7 +714,7 @@ class Entities {
714
714
  const _response = yield core.fetcher({
715
715
  url: (0, url_join_1.default)((_b = (_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.TwelvelabsApiEnvironment.Default, `entity-collections/${encodeURIComponent(entityCollectionId)}/entities/${encodeURIComponent(entityId)}/assets`),
716
716
  method: "DELETE",
717
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "twelvelabs-js", "X-Fern-SDK-Version": "1.2.6", "User-Agent": "twelvelabs-js/1.2.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
717
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "twelvelabs-js", "X-Fern-SDK-Version": "1.2.8", "User-Agent": "twelvelabs-js/1.2.8", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
718
718
  contentType: "application/json",
719
719
  requestType: "json",
720
720
  body: serializers.entityCollections.EntitiesDeleteAssetsRequest.jsonOrThrow(request, {
@@ -126,7 +126,7 @@ class Indexes {
126
126
  const _response = yield core.fetcher({
127
127
  url: (0, url_join_1.default)((_b = (_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.TwelvelabsApiEnvironment.Default, "indexes"),
128
128
  method: "GET",
129
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "twelvelabs-js", "X-Fern-SDK-Version": "1.2.6", "User-Agent": "twelvelabs-js/1.2.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
129
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "twelvelabs-js", "X-Fern-SDK-Version": "1.2.8", "User-Agent": "twelvelabs-js/1.2.8", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
130
130
  contentType: "application/json",
131
131
  queryParameters: _queryParams,
132
132
  requestType: "json",
@@ -217,7 +217,7 @@ class Indexes {
217
217
  const _response = yield core.fetcher({
218
218
  url: (0, url_join_1.default)((_b = (_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.TwelvelabsApiEnvironment.Default, "indexes"),
219
219
  method: "POST",
220
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "twelvelabs-js", "X-Fern-SDK-Version": "1.2.6", "User-Agent": "twelvelabs-js/1.2.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
220
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "twelvelabs-js", "X-Fern-SDK-Version": "1.2.8", "User-Agent": "twelvelabs-js/1.2.8", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
221
221
  contentType: "application/json",
222
222
  requestType: "json",
223
223
  body: serializers.IndexesCreateRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -285,7 +285,7 @@ class Indexes {
285
285
  const _response = yield core.fetcher({
286
286
  url: (0, url_join_1.default)((_b = (_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.TwelvelabsApiEnvironment.Default, `indexes/${encodeURIComponent(indexId)}`),
287
287
  method: "GET",
288
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "twelvelabs-js", "X-Fern-SDK-Version": "1.2.6", "User-Agent": "twelvelabs-js/1.2.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
288
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "twelvelabs-js", "X-Fern-SDK-Version": "1.2.8", "User-Agent": "twelvelabs-js/1.2.8", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
289
289
  contentType: "application/json",
290
290
  requestType: "json",
291
291
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 600000,
@@ -355,7 +355,7 @@ class Indexes {
355
355
  const _response = yield core.fetcher({
356
356
  url: (0, url_join_1.default)((_b = (_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.TwelvelabsApiEnvironment.Default, `indexes/${encodeURIComponent(indexId)}`),
357
357
  method: "PUT",
358
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "twelvelabs-js", "X-Fern-SDK-Version": "1.2.6", "User-Agent": "twelvelabs-js/1.2.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
358
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "twelvelabs-js", "X-Fern-SDK-Version": "1.2.8", "User-Agent": "twelvelabs-js/1.2.8", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
359
359
  contentType: "application/json",
360
360
  requestType: "json",
361
361
  body: serializers.IndexesUpdateRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -415,7 +415,7 @@ class Indexes {
415
415
  const _response = yield core.fetcher({
416
416
  url: (0, url_join_1.default)((_b = (_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.TwelvelabsApiEnvironment.Default, `indexes/${encodeURIComponent(indexId)}`),
417
417
  method: "DELETE",
418
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "twelvelabs-js", "X-Fern-SDK-Version": "1.2.6", "User-Agent": "twelvelabs-js/1.2.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
418
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "twelvelabs-js", "X-Fern-SDK-Version": "1.2.8", "User-Agent": "twelvelabs-js/1.2.8", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
419
419
  contentType: "application/json",
420
420
  requestType: "json",
421
421
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 600000,
@@ -57,6 +57,8 @@ export declare class IndexedAssets {
57
57
  *
58
58
  * If you want to both search and analyze your videos, the most restrictive requirements apply.
59
59
  *
60
+ * Indexes have limits on video hours and video count. For details, see the [Video hours and video count limits](/v1.3/docs/concepts/indexes#video-hours-and-video-count-limits) section.
61
+ *
60
62
  * <Note title="Note">
61
63
  * This endpoint is rate-limited. For details, see the [Rate limits](/v1.3/docs/get-started/rate-limits) page.
62
64
  * </Note>
@@ -163,7 +163,7 @@ class IndexedAssets {
163
163
  const _response = yield core.fetcher({
164
164
  url: (0, url_join_1.default)((_b = (_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.TwelvelabsApiEnvironment.Default, `indexes/${encodeURIComponent(indexId)}/indexed-assets`),
165
165
  method: "GET",
166
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "twelvelabs-js", "X-Fern-SDK-Version": "1.2.6", "User-Agent": "twelvelabs-js/1.2.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
166
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "twelvelabs-js", "X-Fern-SDK-Version": "1.2.8", "User-Agent": "twelvelabs-js/1.2.8", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
167
167
  contentType: "application/json",
168
168
  queryParameters: _queryParams,
169
169
  requestType: "json",
@@ -235,6 +235,8 @@ class IndexedAssets {
235
235
  *
236
236
  * If you want to both search and analyze your videos, the most restrictive requirements apply.
237
237
  *
238
+ * Indexes have limits on video hours and video count. For details, see the [Video hours and video count limits](/v1.3/docs/concepts/indexes#video-hours-and-video-count-limits) section.
239
+ *
238
240
  * <Note title="Note">
239
241
  * This endpoint is rate-limited. For details, see the [Rate limits](/v1.3/docs/get-started/rate-limits) page.
240
242
  * </Note>
@@ -261,7 +263,7 @@ class IndexedAssets {
261
263
  const _response = yield core.fetcher({
262
264
  url: (0, url_join_1.default)((_b = (_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.TwelvelabsApiEnvironment.Default, `indexes/${encodeURIComponent(indexId)}/indexed-assets`),
263
265
  method: "POST",
264
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "twelvelabs-js", "X-Fern-SDK-Version": "1.2.6", "User-Agent": "twelvelabs-js/1.2.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
266
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "twelvelabs-js", "X-Fern-SDK-Version": "1.2.8", "User-Agent": "twelvelabs-js/1.2.8", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
265
267
  contentType: "application/json",
266
268
  requestType: "json",
267
269
  body: serializers.indexes.IndexedAssetsCreateRequest.jsonOrThrow(request, {
@@ -376,7 +378,7 @@ class IndexedAssets {
376
378
  const _response = yield core.fetcher({
377
379
  url: (0, url_join_1.default)((_b = (_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.TwelvelabsApiEnvironment.Default, `indexes/${encodeURIComponent(indexId)}/indexed-assets/${encodeURIComponent(indexedAssetId)}`),
378
380
  method: "GET",
379
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "twelvelabs-js", "X-Fern-SDK-Version": "1.2.6", "User-Agent": "twelvelabs-js/1.2.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
381
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "twelvelabs-js", "X-Fern-SDK-Version": "1.2.8", "User-Agent": "twelvelabs-js/1.2.8", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
380
382
  contentType: "application/json",
381
383
  queryParameters: _queryParams,
382
384
  requestType: "json",
@@ -447,7 +449,7 @@ class IndexedAssets {
447
449
  const _response = yield core.fetcher({
448
450
  url: (0, url_join_1.default)((_b = (_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.TwelvelabsApiEnvironment.Default, `indexes/${encodeURIComponent(indexId)}/indexed-assets/${encodeURIComponent(indexedAssetId)}`),
449
451
  method: "DELETE",
450
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "twelvelabs-js", "X-Fern-SDK-Version": "1.2.6", "User-Agent": "twelvelabs-js/1.2.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
452
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "twelvelabs-js", "X-Fern-SDK-Version": "1.2.8", "User-Agent": "twelvelabs-js/1.2.8", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
451
453
  contentType: "application/json",
452
454
  requestType: "json",
453
455
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 600000,
@@ -515,7 +517,7 @@ class IndexedAssets {
515
517
  const _response = yield core.fetcher({
516
518
  url: (0, url_join_1.default)((_b = (_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.TwelvelabsApiEnvironment.Default, `indexes/${encodeURIComponent(indexId)}/indexed-assets/${encodeURIComponent(indexedAssetId)}`),
517
519
  method: "PATCH",
518
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "twelvelabs-js", "X-Fern-SDK-Version": "1.2.6", "User-Agent": "twelvelabs-js/1.2.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
520
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "twelvelabs-js", "X-Fern-SDK-Version": "1.2.8", "User-Agent": "twelvelabs-js/1.2.8", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
519
521
  contentType: "application/json",
520
522
  requestType: "json",
521
523
  body: serializers.indexes.IndexedAssetsUpdateRequest.jsonOrThrow(request, {
@@ -587,7 +589,7 @@ class IndexedAssets {
587
589
  const _response = yield core.fetcher({
588
590
  url: (0, url_join_1.default)((_b = (_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.TwelvelabsApiEnvironment.Default, `assets/${encodeURIComponent(assetId)}/indexed-assets`),
589
591
  method: "GET",
590
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "twelvelabs-js", "X-Fern-SDK-Version": "1.2.6", "User-Agent": "twelvelabs-js/1.2.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
592
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "twelvelabs-js", "X-Fern-SDK-Version": "1.2.8", "User-Agent": "twelvelabs-js/1.2.8", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
591
593
  contentType: "application/json",
592
594
  queryParameters: _queryParams,
593
595
  requestType: "json",
@@ -155,7 +155,7 @@ class Videos {
155
155
  const _response = yield core.fetcher({
156
156
  url: (0, url_join_1.default)((_b = (_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.TwelvelabsApiEnvironment.Default, `indexes/${encodeURIComponent(indexId)}/videos`),
157
157
  method: "GET",
158
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "twelvelabs-js", "X-Fern-SDK-Version": "1.2.6", "User-Agent": "twelvelabs-js/1.2.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
158
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "twelvelabs-js", "X-Fern-SDK-Version": "1.2.8", "User-Agent": "twelvelabs-js/1.2.8", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
159
159
  contentType: "application/json",
160
160
  queryParameters: _queryParams,
161
161
  requestType: "json",
@@ -261,7 +261,7 @@ class Videos {
261
261
  const _response = yield core.fetcher({
262
262
  url: (0, url_join_1.default)((_b = (_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.TwelvelabsApiEnvironment.Default, `indexes/${encodeURIComponent(indexId)}/videos/${encodeURIComponent(videoId)}`),
263
263
  method: "GET",
264
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "twelvelabs-js", "X-Fern-SDK-Version": "1.2.6", "User-Agent": "twelvelabs-js/1.2.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
264
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "twelvelabs-js", "X-Fern-SDK-Version": "1.2.8", "User-Agent": "twelvelabs-js/1.2.8", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
265
265
  contentType: "application/json",
266
266
  queryParameters: _queryParams,
267
267
  requestType: "json",
@@ -334,7 +334,7 @@ class Videos {
334
334
  const _response = yield core.fetcher({
335
335
  url: (0, url_join_1.default)((_b = (_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.TwelvelabsApiEnvironment.Default, `indexes/${encodeURIComponent(indexId)}/videos/${encodeURIComponent(videoId)}`),
336
336
  method: "DELETE",
337
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "twelvelabs-js", "X-Fern-SDK-Version": "1.2.6", "User-Agent": "twelvelabs-js/1.2.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
337
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "twelvelabs-js", "X-Fern-SDK-Version": "1.2.8", "User-Agent": "twelvelabs-js/1.2.8", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
338
338
  contentType: "application/json",
339
339
  requestType: "json",
340
340
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 600000,
@@ -404,7 +404,7 @@ class Videos {
404
404
  const _response = yield core.fetcher({
405
405
  url: (0, url_join_1.default)((_b = (_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.TwelvelabsApiEnvironment.Default, `indexes/${encodeURIComponent(indexId)}/videos/${encodeURIComponent(videoId)}`),
406
406
  method: "PATCH",
407
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "twelvelabs-js", "X-Fern-SDK-Version": "1.2.6", "User-Agent": "twelvelabs-js/1.2.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
407
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "twelvelabs-js", "X-Fern-SDK-Version": "1.2.8", "User-Agent": "twelvelabs-js/1.2.8", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
408
408
  contentType: "application/json",
409
409
  requestType: "json",
410
410
  body: serializers.indexes.VideosUpdateRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -90,7 +90,7 @@ class MultipartUpload {
90
90
  const _response = yield core.fetcher({
91
91
  url: (0, url_join_1.default)((_b = (_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.TwelvelabsApiEnvironment.Default, "assets/multipart-uploads"),
92
92
  method: "GET",
93
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "twelvelabs-js", "X-Fern-SDK-Version": "1.2.6", "User-Agent": "twelvelabs-js/1.2.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
93
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "twelvelabs-js", "X-Fern-SDK-Version": "1.2.8", "User-Agent": "twelvelabs-js/1.2.8", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
94
94
  contentType: "application/json",
95
95
  queryParameters: _queryParams,
96
96
  requestType: "json",
@@ -190,7 +190,7 @@ class MultipartUpload {
190
190
  const _response = yield core.fetcher({
191
191
  url: (0, url_join_1.default)((_b = (_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.TwelvelabsApiEnvironment.Default, "assets/multipart-uploads"),
192
192
  method: "POST",
193
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "twelvelabs-js", "X-Fern-SDK-Version": "1.2.6", "User-Agent": "twelvelabs-js/1.2.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
193
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "twelvelabs-js", "X-Fern-SDK-Version": "1.2.8", "User-Agent": "twelvelabs-js/1.2.8", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
194
194
  contentType: "application/json",
195
195
  requestType: "json",
196
196
  body: serializers.CreateAssetUploadRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -284,7 +284,7 @@ class MultipartUpload {
284
284
  const _response = yield core.fetcher({
285
285
  url: (0, url_join_1.default)((_b = (_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.TwelvelabsApiEnvironment.Default, `assets/multipart-uploads/${encodeURIComponent(uploadId)}`),
286
286
  method: "GET",
287
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "twelvelabs-js", "X-Fern-SDK-Version": "1.2.6", "User-Agent": "twelvelabs-js/1.2.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
287
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "twelvelabs-js", "X-Fern-SDK-Version": "1.2.8", "User-Agent": "twelvelabs-js/1.2.8", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
288
288
  contentType: "application/json",
289
289
  queryParameters: _queryParams,
290
290
  requestType: "json",
@@ -384,7 +384,7 @@ class MultipartUpload {
384
384
  const _response = yield core.fetcher({
385
385
  url: (0, url_join_1.default)((_b = (_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.TwelvelabsApiEnvironment.Default, `assets/multipart-uploads/${encodeURIComponent(uploadId)}`),
386
386
  method: "POST",
387
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "twelvelabs-js", "X-Fern-SDK-Version": "1.2.6", "User-Agent": "twelvelabs-js/1.2.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
387
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "twelvelabs-js", "X-Fern-SDK-Version": "1.2.8", "User-Agent": "twelvelabs-js/1.2.8", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
388
388
  contentType: "application/json",
389
389
  requestType: "json",
390
390
  body: serializers.ReportChunkBatchRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -468,7 +468,7 @@ class MultipartUpload {
468
468
  const _response = yield core.fetcher({
469
469
  url: (0, url_join_1.default)((_b = (_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.TwelvelabsApiEnvironment.Default, `assets/multipart-uploads/${encodeURIComponent(uploadId)}/presigned-urls`),
470
470
  method: "POST",
471
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "twelvelabs-js", "X-Fern-SDK-Version": "1.2.6", "User-Agent": "twelvelabs-js/1.2.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
471
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "twelvelabs-js", "X-Fern-SDK-Version": "1.2.8", "User-Agent": "twelvelabs-js/1.2.8", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
472
472
  contentType: "application/json",
473
473
  requestType: "json",
474
474
  body: serializers.RequestAdditionalPresignedUrLsRequest.jsonOrThrow(request, {
@@ -152,7 +152,7 @@ class Search {
152
152
  const _response = yield core.fetcher({
153
153
  url: (0, url_join_1.default)((_b = (_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.TwelvelabsApiEnvironment.Default, "search"),
154
154
  method: "POST",
155
- headers: Object.assign(Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "twelvelabs-js", "X-Fern-SDK-Version": "1.2.6", "User-Agent": "twelvelabs-js/1.2.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), _maybeEncodedRequest.headers), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
155
+ headers: Object.assign(Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "twelvelabs-js", "X-Fern-SDK-Version": "1.2.8", "User-Agent": "twelvelabs-js/1.2.8", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), _maybeEncodedRequest.headers), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
156
156
  requestType: "file",
157
157
  duplex: _maybeEncodedRequest.duplex,
158
158
  body: _maybeEncodedRequest.body,
@@ -234,7 +234,7 @@ class Search {
234
234
  const _response = yield core.fetcher({
235
235
  url: (0, url_join_1.default)((_b = (_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.TwelvelabsApiEnvironment.Default, `search/${encodeURIComponent(pageToken)}`),
236
236
  method: "GET",
237
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "twelvelabs-js", "X-Fern-SDK-Version": "1.2.6", "User-Agent": "twelvelabs-js/1.2.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
237
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "twelvelabs-js", "X-Fern-SDK-Version": "1.2.8", "User-Agent": "twelvelabs-js/1.2.8", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
238
238
  contentType: "application/json",
239
239
  queryParameters: _queryParams,
240
240
  requestType: "json",
@@ -71,6 +71,8 @@ export declare class Tasks {
71
71
  * - If you want to both search and analyze your videos, the most restrictive requirements apply.
72
72
  * - This method allows you to upload files up to 2 GB in size. To upload larger files, use the [Multipart Upload API](/v1.3/api-reference/upload-content/multipart-uploads)
73
73
  *
74
+ * Indexes have limits on video hours and video count. For details, see the [Video hours and video count limits](/v1.3/docs/concepts/indexes#video-hours-and-video-count-limits) section.
75
+ *
74
76
  * <Note title="Note">
75
77
  * This endpoint is rate-limited. For details, see the [Rate limits](/v1.3/docs/get-started/rate-limits) page.
76
78
  * </Note>
@@ -136,7 +136,7 @@ class Tasks {
136
136
  const _response = yield core.fetcher({
137
137
  url: (0, url_join_1.default)((_b = (_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.TwelvelabsApiEnvironment.Default, "tasks"),
138
138
  method: "GET",
139
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "twelvelabs-js", "X-Fern-SDK-Version": "1.2.6", "User-Agent": "twelvelabs-js/1.2.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
139
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "twelvelabs-js", "X-Fern-SDK-Version": "1.2.8", "User-Agent": "twelvelabs-js/1.2.8", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
140
140
  contentType: "application/json",
141
141
  queryParameters: _queryParams,
142
142
  requestType: "json",
@@ -219,6 +219,8 @@ class Tasks {
219
219
  * - If you want to both search and analyze your videos, the most restrictive requirements apply.
220
220
  * - This method allows you to upload files up to 2 GB in size. To upload larger files, use the [Multipart Upload API](/v1.3/api-reference/upload-content/multipart-uploads)
221
221
  *
222
+ * Indexes have limits on video hours and video count. For details, see the [Video hours and video count limits](/v1.3/docs/concepts/indexes#video-hours-and-video-count-limits) section.
223
+ *
222
224
  * <Note title="Note">
223
225
  * This endpoint is rate-limited. For details, see the [Rate limits](/v1.3/docs/get-started/rate-limits) page.
224
226
  * </Note>
@@ -257,7 +259,7 @@ class Tasks {
257
259
  const _response = yield core.fetcher({
258
260
  url: (0, url_join_1.default)((_b = (_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.TwelvelabsApiEnvironment.Default, "tasks"),
259
261
  method: "POST",
260
- headers: Object.assign(Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "twelvelabs-js", "X-Fern-SDK-Version": "1.2.6", "User-Agent": "twelvelabs-js/1.2.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), _maybeEncodedRequest.headers), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
262
+ headers: Object.assign(Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "twelvelabs-js", "X-Fern-SDK-Version": "1.2.8", "User-Agent": "twelvelabs-js/1.2.8", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), _maybeEncodedRequest.headers), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
261
263
  requestType: "file",
262
264
  duplex: _maybeEncodedRequest.duplex,
263
265
  body: _maybeEncodedRequest.body,
@@ -325,7 +327,7 @@ class Tasks {
325
327
  const _response = yield core.fetcher({
326
328
  url: (0, url_join_1.default)((_b = (_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.TwelvelabsApiEnvironment.Default, `tasks/${encodeURIComponent(taskId)}`),
327
329
  method: "GET",
328
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "twelvelabs-js", "X-Fern-SDK-Version": "1.2.6", "User-Agent": "twelvelabs-js/1.2.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
330
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "twelvelabs-js", "X-Fern-SDK-Version": "1.2.8", "User-Agent": "twelvelabs-js/1.2.8", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
329
331
  contentType: "application/json",
330
332
  requestType: "json",
331
333
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 600000,
@@ -395,7 +397,7 @@ class Tasks {
395
397
  const _response = yield core.fetcher({
396
398
  url: (0, url_join_1.default)((_b = (_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.TwelvelabsApiEnvironment.Default, `tasks/${encodeURIComponent(taskId)}`),
397
399
  method: "DELETE",
398
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "twelvelabs-js", "X-Fern-SDK-Version": "1.2.6", "User-Agent": "twelvelabs-js/1.2.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
400
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "twelvelabs-js", "X-Fern-SDK-Version": "1.2.8", "User-Agent": "twelvelabs-js/1.2.8", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
399
401
  contentType: "application/json",
400
402
  requestType: "json",
401
403
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 600000,
@@ -0,0 +1,21 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as TwelvelabsApi from "../index";
5
+ /**
6
+ * A batch object that includes item counts for each item status.
7
+ */
8
+ export interface AnalyzeBatchStatusResponse extends TwelvelabsApi.AnalyzeBatchSummary {
9
+ /** The number of items in the `queued` status. */
10
+ queuedItems: number;
11
+ /** The number of items in the `processing` status. */
12
+ processingItems: number;
13
+ /** The number of items that completed successfully. */
14
+ readyItems: number;
15
+ /** The number of items that failed. */
16
+ failedItems: number;
17
+ /** The number of items that were canceled, either because the batch was canceled while the item was in the `queued` status, or because the batch expired before the item finished processing. */
18
+ canceledItems: number;
19
+ /** The delivery status of each webhook endpoint for the batch completion notification. Present only after the platform sends the webhook notifications. To register webhooks, see the [Webhooks](/v1.3/docs/advanced/webhooks) page. */
20
+ webhooks?: TwelvelabsApi.AnalyzeTaskWebhookInfo[];
21
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -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
+ * A batch object that summarizes the batch.
7
+ */
8
+ export interface AnalyzeBatchSummary {
9
+ /** The unique identifier of the batch. Use this value to retrieve the batch status or results. */
10
+ batchId: string;
11
+ /** The analysis mode applied to every item in this batch. */
12
+ analysisMode: TwelvelabsApi.AnalyzeBatchSummaryAnalysisMode;
13
+ /** The model used for every item in this batch. */
14
+ modelName: string;
15
+ status: TwelvelabsApi.BatchStatus;
16
+ /** The number of items submitted in the batch. */
17
+ totalItems: number;
18
+ /** The date and time, in the RFC 3339 format, when the batch was created. */
19
+ createdAt: Date;
20
+ /** The date and time, in the RFC 3339 format, when the batch expires (the `created_at` field value plus 24 hours). Unfinished items at expiration are canceled. Items that finished before then remain retrievable for 30 days after creation, when the batch and its results are deleted. */
21
+ expiresAt: Date;
22
+ /** The date and time, in the RFC 3339 format, when the batch status became `completed`. Present only when the status is `completed`. */
23
+ completedAt?: Date;
24
+ /** The date and time, in the RFC 3339 format, when the batch status became `canceled`. Present only when the status is `canceled`. */
25
+ canceledAt?: Date;
26
+ /** The date and time, in the RFC 3339 format, when the batch status became `expired`. Present only when the status is `expired`. */
27
+ expiredAt?: Date;
28
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,11 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * The analysis mode applied to every item in this batch.
6
+ */
7
+ export type AnalyzeBatchSummaryAnalysisMode = "general" | "time_based_metadata";
8
+ export declare const AnalyzeBatchSummaryAnalysisMode: {
9
+ readonly General: "general";
10
+ readonly TimeBasedMetadata: "time_based_metadata";
11
+ };
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.AnalyzeBatchSummaryAnalysisMode = void 0;
7
+ exports.AnalyzeBatchSummaryAnalysisMode = {
8
+ General: "general",
9
+ TimeBasedMetadata: "time_based_metadata",
10
+ };
@@ -147,7 +147,7 @@ export interface AsyncResponseFormat {
147
147
  * - When `FinishReason` is `length`, the platform truncates the response at the maximum response length or the context window. This may result in truncated, invalid JSON that fails to parse.
148
148
  */
149
149
  jsonSchema?: Record<string, unknown>;
150
- /** Define the types of segments to extract from your video. Minimum 1, maximum 10 definitions. The number of segment definitions affects billing. For details, see the [Frequently asked questions](/v1.3/docs/resources/frequently-asked-questions#how-is-video-segmentation-priced) page. */
150
+ /** Define the types of segments to extract from your video. Minimum 1, maximum 20 definitions. The number of segment definitions affects billing. For details, see the [Frequently asked questions](/v1.3/docs/resources/frequently-asked-questions#how-is-video-segmentation-priced) page. */
151
151
  segmentDefinitions?: TwelvelabsApi.SegmentDefinition[];
152
152
  /**
153
153
  * Set the output format for the automatic `start_time` and `end_time` keys returned on each segment. Requires the `type` parameter set to `segment_definitions` and the `model_name` parameter set to `pegasus1.5`. Omitting this parameter is equivalent to setting it to `seconds` — both return JSON numbers in seconds.