twelvelabs-js 1.2.7 → 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 (274) hide show
  1. package/Client.d.ts +4 -0
  2. package/Client.js +6 -2
  3. package/api/client/requests/AnalyzeRequest.d.ts +1 -1
  4. package/api/client/requests/AnalyzeStreamRequest.d.ts +1 -1
  5. package/api/errors/GatewayTimeoutError.d.ts +9 -0
  6. package/api/errors/GatewayTimeoutError.js +52 -0
  7. package/api/errors/ServiceUnavailableError.d.ts +9 -0
  8. package/api/errors/ServiceUnavailableError.js +52 -0
  9. package/api/errors/index.d.ts +2 -0
  10. package/api/errors/index.js +2 -0
  11. package/api/resources/analyzeAsync/client/Client.d.ts +3 -0
  12. package/api/resources/analyzeAsync/client/Client.js +5 -0
  13. package/api/resources/analyzeAsync/resources/batches/client/Client.d.ts +231 -0
  14. package/api/resources/analyzeAsync/resources/batches/client/Client.js +667 -0
  15. package/api/resources/analyzeAsync/resources/batches/client/index.d.ts +1 -0
  16. package/api/resources/analyzeAsync/resources/batches/client/index.js +17 -0
  17. package/api/resources/analyzeAsync/resources/batches/client/requests/BatchesListRequest.d.ts +42 -0
  18. package/api/resources/analyzeAsync/resources/batches/client/requests/BatchesListRequest.js +5 -0
  19. package/api/resources/analyzeAsync/resources/batches/client/requests/CreateAnalyzeBatchRequest.d.ts +101 -0
  20. package/api/resources/analyzeAsync/resources/batches/client/requests/CreateAnalyzeBatchRequest.js +5 -0
  21. package/api/resources/analyzeAsync/resources/batches/client/requests/index.d.ts +2 -0
  22. package/api/resources/analyzeAsync/resources/batches/client/requests/index.js +2 -0
  23. package/api/resources/analyzeAsync/resources/batches/index.d.ts +2 -0
  24. package/api/resources/analyzeAsync/resources/batches/index.js +18 -0
  25. package/api/resources/analyzeAsync/resources/batches/types/BatchesListRequestAnalysisModeItem.d.ts +8 -0
  26. package/api/resources/analyzeAsync/resources/batches/types/BatchesListRequestAnalysisModeItem.js +10 -0
  27. package/api/resources/analyzeAsync/resources/batches/types/BatchesListResponse.d.ts +9 -0
  28. package/api/resources/analyzeAsync/resources/batches/types/BatchesListResponse.js +5 -0
  29. package/api/resources/analyzeAsync/resources/batches/types/CreateAnalyzeBatchRequestAnalysisMode.d.ts +15 -0
  30. package/api/resources/analyzeAsync/resources/batches/types/CreateAnalyzeBatchRequestAnalysisMode.js +10 -0
  31. package/api/resources/analyzeAsync/resources/batches/types/CreateAnalyzeBatchRequestModelName.d.ts +10 -0
  32. package/api/resources/analyzeAsync/resources/batches/types/CreateAnalyzeBatchRequestModelName.js +9 -0
  33. package/api/resources/analyzeAsync/resources/batches/types/index.d.ts +4 -0
  34. package/api/resources/analyzeAsync/resources/batches/types/index.js +20 -0
  35. package/api/resources/analyzeAsync/resources/index.d.ts +3 -0
  36. package/api/resources/analyzeAsync/resources/index.js +4 -1
  37. package/api/resources/analyzeAsync/resources/tasks/client/Client.d.ts +2 -0
  38. package/api/resources/analyzeAsync/resources/tasks/client/Client.js +6 -4
  39. package/api/resources/analyzeAsync/resources/tasks/client/requests/CreateAsyncAnalyzeRequest.d.ts +1 -1
  40. package/api/resources/assets/client/Client.js +7 -7
  41. package/api/resources/embed/client/Client.js +1 -1
  42. package/api/resources/embed/resources/tasks/client/Client.js +4 -4
  43. package/api/resources/embed/resources/v2/client/Client.js +1 -1
  44. package/api/resources/embed/resources/v2/resources/tasks/client/Client.js +3 -3
  45. package/api/resources/entityCollections/client/Client.js +5 -5
  46. package/api/resources/entityCollections/resources/entities/client/Client.js +9 -9
  47. package/api/resources/indexes/client/Client.js +5 -5
  48. package/api/resources/indexes/resources/indexedAssets/client/Client.d.ts +2 -0
  49. package/api/resources/indexes/resources/indexedAssets/client/Client.js +8 -6
  50. package/api/resources/indexes/resources/videos/client/Client.js +4 -4
  51. package/api/resources/multipartUpload/client/Client.js +5 -5
  52. package/api/resources/search/client/Client.js +2 -2
  53. package/api/resources/tasks/client/Client.d.ts +2 -0
  54. package/api/resources/tasks/client/Client.js +6 -4
  55. package/api/types/AnalyzeBatchStatusResponse.d.ts +21 -0
  56. package/api/types/AnalyzeBatchStatusResponse.js +5 -0
  57. package/api/types/AnalyzeBatchSummary.d.ts +28 -0
  58. package/api/types/AnalyzeBatchSummary.js +5 -0
  59. package/api/types/AnalyzeBatchSummaryAnalysisMode.d.ts +11 -0
  60. package/api/types/AnalyzeBatchSummaryAnalysisMode.js +10 -0
  61. package/api/types/BatchDefaults.d.ts +46 -0
  62. package/api/types/BatchDefaults.js +5 -0
  63. package/api/types/BatchItemError.d.ts +12 -0
  64. package/api/types/BatchItemError.js +5 -0
  65. package/api/types/BatchItemRequest.d.ts +36 -0
  66. package/api/types/BatchItemRequest.js +5 -0
  67. package/api/types/BatchItemStatus.d.ts +14 -0
  68. package/api/types/BatchItemStatus.js +13 -0
  69. package/api/types/BatchPrompt.d.ts +13 -0
  70. package/api/types/BatchPrompt.js +5 -0
  71. package/api/types/BatchResultItem.d.ts +17 -0
  72. package/api/types/BatchResultItem.js +5 -0
  73. package/api/types/BatchStatus.d.ts +15 -0
  74. package/api/types/BatchStatus.js +14 -0
  75. package/api/types/BatchVideoContext.d.ts +13 -0
  76. package/api/types/BatchVideoContext.js +5 -0
  77. package/api/types/BatchVideoContextType.d.ts +10 -0
  78. package/api/types/BatchVideoContextType.js +9 -0
  79. package/api/types/CreateAnalyzeBatchResponse.d.ts +20 -0
  80. package/api/types/CreateAnalyzeBatchResponse.js +5 -0
  81. package/api/types/CreatedBatchItem.d.ts +12 -0
  82. package/api/types/CreatedBatchItem.js +5 -0
  83. package/api/types/index.d.ts +14 -0
  84. package/api/types/index.js +14 -0
  85. package/dist/Client.d.ts +4 -0
  86. package/dist/Client.js +6 -2
  87. package/dist/api/client/requests/AnalyzeRequest.d.ts +1 -1
  88. package/dist/api/client/requests/AnalyzeStreamRequest.d.ts +1 -1
  89. package/dist/api/errors/GatewayTimeoutError.d.ts +9 -0
  90. package/dist/api/errors/GatewayTimeoutError.js +52 -0
  91. package/dist/api/errors/ServiceUnavailableError.d.ts +9 -0
  92. package/dist/api/errors/ServiceUnavailableError.js +52 -0
  93. package/dist/api/errors/index.d.ts +2 -0
  94. package/dist/api/errors/index.js +2 -0
  95. package/dist/api/resources/analyzeAsync/client/Client.d.ts +3 -0
  96. package/dist/api/resources/analyzeAsync/client/Client.js +5 -0
  97. package/dist/api/resources/analyzeAsync/resources/batches/client/Client.d.ts +231 -0
  98. package/dist/api/resources/analyzeAsync/resources/batches/client/Client.js +667 -0
  99. package/dist/api/resources/analyzeAsync/resources/batches/client/index.d.ts +1 -0
  100. package/dist/api/resources/analyzeAsync/resources/batches/client/index.js +17 -0
  101. package/dist/api/resources/analyzeAsync/resources/batches/client/requests/BatchesListRequest.d.ts +42 -0
  102. package/dist/api/resources/analyzeAsync/resources/batches/client/requests/BatchesListRequest.js +5 -0
  103. package/dist/api/resources/analyzeAsync/resources/batches/client/requests/CreateAnalyzeBatchRequest.d.ts +101 -0
  104. package/dist/api/resources/analyzeAsync/resources/batches/client/requests/CreateAnalyzeBatchRequest.js +5 -0
  105. package/dist/api/resources/analyzeAsync/resources/batches/client/requests/index.d.ts +2 -0
  106. package/dist/api/resources/analyzeAsync/resources/batches/client/requests/index.js +2 -0
  107. package/dist/api/resources/analyzeAsync/resources/batches/index.d.ts +2 -0
  108. package/dist/api/resources/analyzeAsync/resources/batches/index.js +18 -0
  109. package/dist/api/resources/analyzeAsync/resources/batches/types/BatchesListRequestAnalysisModeItem.d.ts +8 -0
  110. package/dist/api/resources/analyzeAsync/resources/batches/types/BatchesListRequestAnalysisModeItem.js +10 -0
  111. package/dist/api/resources/analyzeAsync/resources/batches/types/BatchesListResponse.d.ts +9 -0
  112. package/dist/api/resources/analyzeAsync/resources/batches/types/BatchesListResponse.js +5 -0
  113. package/dist/api/resources/analyzeAsync/resources/batches/types/CreateAnalyzeBatchRequestAnalysisMode.d.ts +15 -0
  114. package/dist/api/resources/analyzeAsync/resources/batches/types/CreateAnalyzeBatchRequestAnalysisMode.js +10 -0
  115. package/dist/api/resources/analyzeAsync/resources/batches/types/CreateAnalyzeBatchRequestModelName.d.ts +10 -0
  116. package/dist/api/resources/analyzeAsync/resources/batches/types/CreateAnalyzeBatchRequestModelName.js +9 -0
  117. package/dist/api/resources/analyzeAsync/resources/batches/types/index.d.ts +4 -0
  118. package/dist/api/resources/analyzeAsync/resources/batches/types/index.js +20 -0
  119. package/dist/api/resources/analyzeAsync/resources/index.d.ts +3 -0
  120. package/dist/api/resources/analyzeAsync/resources/index.js +4 -1
  121. package/dist/api/resources/analyzeAsync/resources/tasks/client/Client.d.ts +2 -0
  122. package/dist/api/resources/analyzeAsync/resources/tasks/client/Client.js +6 -4
  123. package/dist/api/resources/analyzeAsync/resources/tasks/client/requests/CreateAsyncAnalyzeRequest.d.ts +1 -1
  124. package/dist/api/resources/assets/client/Client.js +7 -7
  125. package/dist/api/resources/embed/client/Client.js +1 -1
  126. package/dist/api/resources/embed/resources/tasks/client/Client.js +4 -4
  127. package/dist/api/resources/embed/resources/v2/client/Client.js +1 -1
  128. package/dist/api/resources/embed/resources/v2/resources/tasks/client/Client.js +3 -3
  129. package/dist/api/resources/entityCollections/client/Client.js +5 -5
  130. package/dist/api/resources/entityCollections/resources/entities/client/Client.js +9 -9
  131. package/dist/api/resources/indexes/client/Client.js +5 -5
  132. package/dist/api/resources/indexes/resources/indexedAssets/client/Client.d.ts +2 -0
  133. package/dist/api/resources/indexes/resources/indexedAssets/client/Client.js +8 -6
  134. package/dist/api/resources/indexes/resources/videos/client/Client.js +4 -4
  135. package/dist/api/resources/multipartUpload/client/Client.js +5 -5
  136. package/dist/api/resources/search/client/Client.js +2 -2
  137. package/dist/api/resources/tasks/client/Client.d.ts +2 -0
  138. package/dist/api/resources/tasks/client/Client.js +6 -4
  139. package/dist/api/types/AnalyzeBatchStatusResponse.d.ts +21 -0
  140. package/dist/api/types/AnalyzeBatchStatusResponse.js +5 -0
  141. package/dist/api/types/AnalyzeBatchSummary.d.ts +28 -0
  142. package/dist/api/types/AnalyzeBatchSummary.js +5 -0
  143. package/dist/api/types/AnalyzeBatchSummaryAnalysisMode.d.ts +11 -0
  144. package/dist/api/types/AnalyzeBatchSummaryAnalysisMode.js +10 -0
  145. package/dist/api/types/BatchDefaults.d.ts +46 -0
  146. package/dist/api/types/BatchDefaults.js +5 -0
  147. package/dist/api/types/BatchItemError.d.ts +12 -0
  148. package/dist/api/types/BatchItemError.js +5 -0
  149. package/dist/api/types/BatchItemRequest.d.ts +36 -0
  150. package/dist/api/types/BatchItemRequest.js +5 -0
  151. package/dist/api/types/BatchItemStatus.d.ts +14 -0
  152. package/dist/api/types/BatchItemStatus.js +13 -0
  153. package/dist/api/types/BatchPrompt.d.ts +13 -0
  154. package/dist/api/types/BatchPrompt.js +5 -0
  155. package/dist/api/types/BatchResultItem.d.ts +17 -0
  156. package/dist/api/types/BatchResultItem.js +5 -0
  157. package/dist/api/types/BatchStatus.d.ts +15 -0
  158. package/dist/api/types/BatchStatus.js +14 -0
  159. package/dist/api/types/BatchVideoContext.d.ts +13 -0
  160. package/dist/api/types/BatchVideoContext.js +5 -0
  161. package/dist/api/types/BatchVideoContextType.d.ts +10 -0
  162. package/dist/api/types/BatchVideoContextType.js +9 -0
  163. package/dist/api/types/CreateAnalyzeBatchResponse.d.ts +20 -0
  164. package/dist/api/types/CreateAnalyzeBatchResponse.js +5 -0
  165. package/dist/api/types/CreatedBatchItem.d.ts +12 -0
  166. package/dist/api/types/CreatedBatchItem.js +5 -0
  167. package/dist/api/types/index.d.ts +14 -0
  168. package/dist/api/types/index.js +14 -0
  169. package/dist/serialization/resources/analyzeAsync/resources/batches/client/index.d.ts +1 -0
  170. package/dist/serialization/resources/analyzeAsync/resources/batches/client/index.js +17 -0
  171. package/dist/serialization/resources/analyzeAsync/resources/batches/client/requests/CreateAnalyzeBatchRequest.d.ts +19 -0
  172. package/dist/serialization/resources/analyzeAsync/resources/batches/client/requests/CreateAnalyzeBatchRequest.js +50 -0
  173. package/dist/serialization/resources/analyzeAsync/resources/batches/client/requests/index.d.ts +1 -0
  174. package/dist/serialization/resources/analyzeAsync/resources/batches/client/requests/index.js +5 -0
  175. package/dist/serialization/resources/analyzeAsync/resources/batches/index.d.ts +2 -0
  176. package/dist/serialization/resources/analyzeAsync/resources/batches/index.js +18 -0
  177. package/dist/serialization/resources/analyzeAsync/resources/batches/types/BatchesListRequestAnalysisModeItem.d.ts +10 -0
  178. package/dist/serialization/resources/analyzeAsync/resources/batches/types/BatchesListRequestAnalysisModeItem.js +41 -0
  179. package/dist/serialization/resources/analyzeAsync/resources/batches/types/BatchesListResponse.d.ts +15 -0
  180. package/dist/serialization/resources/analyzeAsync/resources/batches/types/BatchesListResponse.js +46 -0
  181. package/dist/serialization/resources/analyzeAsync/resources/batches/types/CreateAnalyzeBatchRequestAnalysisMode.d.ts +10 -0
  182. package/dist/serialization/resources/analyzeAsync/resources/batches/types/CreateAnalyzeBatchRequestAnalysisMode.js +41 -0
  183. package/dist/serialization/resources/analyzeAsync/resources/batches/types/CreateAnalyzeBatchRequestModelName.d.ts +10 -0
  184. package/dist/serialization/resources/analyzeAsync/resources/batches/types/CreateAnalyzeBatchRequestModelName.js +41 -0
  185. package/dist/serialization/resources/analyzeAsync/resources/batches/types/index.d.ts +4 -0
  186. package/dist/serialization/resources/analyzeAsync/resources/batches/types/index.js +20 -0
  187. package/dist/serialization/resources/analyzeAsync/resources/index.d.ts +3 -0
  188. package/dist/serialization/resources/analyzeAsync/resources/index.js +4 -1
  189. package/dist/serialization/types/AnalyzeBatchStatusResponse.d.ts +19 -0
  190. package/dist/serialization/types/AnalyzeBatchStatusResponse.js +52 -0
  191. package/dist/serialization/types/AnalyzeBatchSummary.d.ts +23 -0
  192. package/dist/serialization/types/AnalyzeBatchSummary.js +54 -0
  193. package/dist/serialization/types/AnalyzeBatchSummaryAnalysisMode.d.ts +10 -0
  194. package/dist/serialization/types/AnalyzeBatchSummaryAnalysisMode.js +41 -0
  195. package/dist/serialization/types/BatchDefaults.d.ts +22 -0
  196. package/dist/serialization/types/BatchDefaults.js +53 -0
  197. package/dist/serialization/types/BatchItemError.d.ts +13 -0
  198. package/dist/serialization/types/BatchItemError.js +44 -0
  199. package/dist/serialization/types/BatchItemRequest.d.ts +25 -0
  200. package/dist/serialization/types/BatchItemRequest.js +56 -0
  201. package/dist/serialization/types/BatchItemStatus.d.ts +10 -0
  202. package/dist/serialization/types/BatchItemStatus.js +41 -0
  203. package/dist/serialization/types/BatchPrompt.d.ts +14 -0
  204. package/dist/serialization/types/BatchPrompt.js +45 -0
  205. package/dist/serialization/types/BatchResultItem.d.ts +19 -0
  206. package/dist/serialization/types/BatchResultItem.js +50 -0
  207. package/dist/serialization/types/BatchStatus.d.ts +10 -0
  208. package/dist/serialization/types/BatchStatus.js +41 -0
  209. package/dist/serialization/types/BatchVideoContext.d.ts +14 -0
  210. package/dist/serialization/types/BatchVideoContext.js +45 -0
  211. package/dist/serialization/types/BatchVideoContextType.d.ts +10 -0
  212. package/dist/serialization/types/BatchVideoContextType.js +41 -0
  213. package/dist/serialization/types/CreateAnalyzeBatchResponse.d.ts +19 -0
  214. package/dist/serialization/types/CreateAnalyzeBatchResponse.js +50 -0
  215. package/dist/serialization/types/CreatedBatchItem.d.ts +13 -0
  216. package/dist/serialization/types/CreatedBatchItem.js +44 -0
  217. package/dist/serialization/types/index.d.ts +14 -0
  218. package/dist/serialization/types/index.js +14 -0
  219. package/dist/version.d.ts +1 -1
  220. package/dist/version.js +1 -1
  221. package/package.json +1 -1
  222. package/reference.md +489 -0
  223. package/serialization/resources/analyzeAsync/resources/batches/client/index.d.ts +1 -0
  224. package/serialization/resources/analyzeAsync/resources/batches/client/index.js +17 -0
  225. package/serialization/resources/analyzeAsync/resources/batches/client/requests/CreateAnalyzeBatchRequest.d.ts +19 -0
  226. package/serialization/resources/analyzeAsync/resources/batches/client/requests/CreateAnalyzeBatchRequest.js +50 -0
  227. package/serialization/resources/analyzeAsync/resources/batches/client/requests/index.d.ts +1 -0
  228. package/serialization/resources/analyzeAsync/resources/batches/client/requests/index.js +5 -0
  229. package/serialization/resources/analyzeAsync/resources/batches/index.d.ts +2 -0
  230. package/serialization/resources/analyzeAsync/resources/batches/index.js +18 -0
  231. package/serialization/resources/analyzeAsync/resources/batches/types/BatchesListRequestAnalysisModeItem.d.ts +10 -0
  232. package/serialization/resources/analyzeAsync/resources/batches/types/BatchesListRequestAnalysisModeItem.js +41 -0
  233. package/serialization/resources/analyzeAsync/resources/batches/types/BatchesListResponse.d.ts +15 -0
  234. package/serialization/resources/analyzeAsync/resources/batches/types/BatchesListResponse.js +46 -0
  235. package/serialization/resources/analyzeAsync/resources/batches/types/CreateAnalyzeBatchRequestAnalysisMode.d.ts +10 -0
  236. package/serialization/resources/analyzeAsync/resources/batches/types/CreateAnalyzeBatchRequestAnalysisMode.js +41 -0
  237. package/serialization/resources/analyzeAsync/resources/batches/types/CreateAnalyzeBatchRequestModelName.d.ts +10 -0
  238. package/serialization/resources/analyzeAsync/resources/batches/types/CreateAnalyzeBatchRequestModelName.js +41 -0
  239. package/serialization/resources/analyzeAsync/resources/batches/types/index.d.ts +4 -0
  240. package/serialization/resources/analyzeAsync/resources/batches/types/index.js +20 -0
  241. package/serialization/resources/analyzeAsync/resources/index.d.ts +3 -0
  242. package/serialization/resources/analyzeAsync/resources/index.js +4 -1
  243. package/serialization/types/AnalyzeBatchStatusResponse.d.ts +19 -0
  244. package/serialization/types/AnalyzeBatchStatusResponse.js +52 -0
  245. package/serialization/types/AnalyzeBatchSummary.d.ts +23 -0
  246. package/serialization/types/AnalyzeBatchSummary.js +54 -0
  247. package/serialization/types/AnalyzeBatchSummaryAnalysisMode.d.ts +10 -0
  248. package/serialization/types/AnalyzeBatchSummaryAnalysisMode.js +41 -0
  249. package/serialization/types/BatchDefaults.d.ts +22 -0
  250. package/serialization/types/BatchDefaults.js +53 -0
  251. package/serialization/types/BatchItemError.d.ts +13 -0
  252. package/serialization/types/BatchItemError.js +44 -0
  253. package/serialization/types/BatchItemRequest.d.ts +25 -0
  254. package/serialization/types/BatchItemRequest.js +56 -0
  255. package/serialization/types/BatchItemStatus.d.ts +10 -0
  256. package/serialization/types/BatchItemStatus.js +41 -0
  257. package/serialization/types/BatchPrompt.d.ts +14 -0
  258. package/serialization/types/BatchPrompt.js +45 -0
  259. package/serialization/types/BatchResultItem.d.ts +19 -0
  260. package/serialization/types/BatchResultItem.js +50 -0
  261. package/serialization/types/BatchStatus.d.ts +10 -0
  262. package/serialization/types/BatchStatus.js +41 -0
  263. package/serialization/types/BatchVideoContext.d.ts +14 -0
  264. package/serialization/types/BatchVideoContext.js +45 -0
  265. package/serialization/types/BatchVideoContextType.d.ts +10 -0
  266. package/serialization/types/BatchVideoContextType.js +41 -0
  267. package/serialization/types/CreateAnalyzeBatchResponse.d.ts +19 -0
  268. package/serialization/types/CreateAnalyzeBatchResponse.js +50 -0
  269. package/serialization/types/CreatedBatchItem.d.ts +13 -0
  270. package/serialization/types/CreatedBatchItem.js +44 -0
  271. package/serialization/types/index.d.ts +14 -0
  272. package/serialization/types/index.js +14 -0
  273. package/version.d.ts +1 -1
  274. package/version.js +1 -1
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./requests"), exports);
@@ -0,0 +1,42 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as TwelvelabsApi from "../../../../../../index";
5
+ /**
6
+ * @example
7
+ * {
8
+ * page: 1,
9
+ * pageLimit: 10
10
+ * }
11
+ */
12
+ export interface BatchesListRequest {
13
+ /**
14
+ * A number that identifies the page to retrieve.
15
+ *
16
+ * **Default**: `1`.
17
+ */
18
+ page?: number;
19
+ /**
20
+ * The number of items to return on each page.
21
+ *
22
+ * **Default**: `10`.
23
+ * **Max**: `50`.
24
+ */
25
+ pageLimit?: number;
26
+ /**
27
+ * Filter batches by status. Provide one or more values to include batches matching any of them. To send multiple values, repeat the `status` parameter:
28
+ * ```
29
+ * status=processing&status=canceling
30
+ * ```
31
+ * If you omit this parameter, the response includes batches in all statuses.
32
+ */
33
+ status?: TwelvelabsApi.BatchStatus | TwelvelabsApi.BatchStatus[];
34
+ /**
35
+ * Filter batches by analysis mode. Provide one or more values to include batches matching any of them. To send multiple values, repeat the `analysis_mode` parameter:
36
+ * ```
37
+ * analysis_mode=general&analysis_mode=time_based_metadata
38
+ * ```
39
+ * If you omit this parameter, the response includes batches in all analysis modes.
40
+ */
41
+ analysisMode?: TwelvelabsApi.analyzeAsync.BatchesListRequestAnalysisModeItem | TwelvelabsApi.analyzeAsync.BatchesListRequestAnalysisModeItem[];
42
+ }
@@ -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,101 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as TwelvelabsApi from "../../../../../../index";
5
+ /**
6
+ * @example
7
+ * {
8
+ * modelName: "pegasus1.5",
9
+ * analysisMode: "general",
10
+ * defaults: {
11
+ * prompt: {
12
+ * inputText: "Generate a 3-sentence executive summary of this video."
13
+ * },
14
+ * temperature: 0.2,
15
+ * maxTokens: 4096
16
+ * },
17
+ * requests: [{
18
+ * video: {
19
+ * type: "asset_id",
20
+ * assetId: "6298d673f1090f1100476d4c"
21
+ * },
22
+ * customId: "summary-001"
23
+ * }, {
24
+ * video: {
25
+ * type: "asset_id",
26
+ * assetId: "6298d673f1090f1100476d4d"
27
+ * },
28
+ * customId: "summary-002"
29
+ * }, {
30
+ * video: {
31
+ * type: "asset_id",
32
+ * assetId: "6298d673f1090f1100476d4e"
33
+ * },
34
+ * customId: "action-003",
35
+ * prompt: {
36
+ * inputText: "List all action items discussed."
37
+ * }
38
+ * }]
39
+ * }
40
+ *
41
+ * @example
42
+ * {
43
+ * modelName: "pegasus1.5",
44
+ * analysisMode: "time_based_metadata",
45
+ * defaults: {
46
+ * responseFormat: {
47
+ * type: "segment_definitions",
48
+ * segmentDefinitions: [{
49
+ * id: "product_moments",
50
+ * description: "Moments where a person holds <@product> while speaking to the camera.",
51
+ * fields: [{
52
+ * name: "segment_title",
53
+ * type: "string",
54
+ * description: "A short headline for this moment"
55
+ * }, {
56
+ * name: "product_visibility",
57
+ * type: "string",
58
+ * description: "How prominently the product appears in this segment",
59
+ * enum: ["FULL", "PARTIAL", "BACKGROUND"]
60
+ * }],
61
+ * mediaSources: [{
62
+ * name: "product",
63
+ * mediaType: "image",
64
+ * url: "https://example.com/product.jpg"
65
+ * }]
66
+ * }]
67
+ * },
68
+ * temperature: 0,
69
+ * maxTokens: 4096,
70
+ * minSegmentDuration: 2
71
+ * },
72
+ * requests: [{
73
+ * video: {
74
+ * type: "asset_id",
75
+ * assetId: "6298d673f1090f1100476d4c"
76
+ * },
77
+ * customId: "ep-001"
78
+ * }, {
79
+ * video: {
80
+ * type: "asset_id",
81
+ * assetId: "6298d673f1090f1100476d4d"
82
+ * },
83
+ * customId: "ep-002"
84
+ * }]
85
+ * }
86
+ */
87
+ export interface CreateAnalyzeBatchRequest {
88
+ /** The video understanding model to use for every item in this batch. Batch analysis requires Pegasus 1.5. */
89
+ modelName: TwelvelabsApi.analyzeAsync.CreateAnalyzeBatchRequestModelName;
90
+ /**
91
+ * The analysis approach for every item in this batch.
92
+ * - `general`: Generate text from each video based on the prompt (the item's `prompt` field if set, otherwise `defaults.prompt`). Supports structured JSON output by using `json_schema` in the `response_format.type` field.
93
+ * - `time_based_metadata`: Extract timestamped metadata by using `segment_definitions` in the `response_format.type` field.
94
+ *
95
+ * Batches with mixed modes are not supported.
96
+ */
97
+ analysisMode: TwelvelabsApi.analyzeAsync.CreateAnalyzeBatchRequestAnalysisMode;
98
+ defaults?: TwelvelabsApi.BatchDefaults;
99
+ /** The analysis requests in the batch. Provide 1 to 1,000 requests, with a combined video duration of up to 2,000 hours. */
100
+ requests: TwelvelabsApi.BatchItemRequest[];
101
+ }
@@ -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,2 @@
1
+ export { type BatchesListRequest } from "./BatchesListRequest";
2
+ export { type CreateAnalyzeBatchRequest } from "./CreateAnalyzeBatchRequest";
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,2 @@
1
+ export * from "./types";
2
+ export * from "./client";
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./types"), exports);
18
+ __exportStar(require("./client"), exports);
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export type BatchesListRequestAnalysisModeItem = "general" | "time_based_metadata";
5
+ export declare const BatchesListRequestAnalysisModeItem: {
6
+ readonly General: "general";
7
+ readonly TimeBasedMetadata: "time_based_metadata";
8
+ };
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.BatchesListRequestAnalysisModeItem = void 0;
7
+ exports.BatchesListRequestAnalysisModeItem = {
8
+ General: "general",
9
+ TimeBasedMetadata: "time_based_metadata",
10
+ };
@@ -0,0 +1,9 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as TwelvelabsApi from "../../../../../index";
5
+ export interface BatchesListResponse {
6
+ /** An array of batch objects. Each object includes item counts for each item status. */
7
+ data: TwelvelabsApi.AnalyzeBatchStatusResponse[];
8
+ pageInfo: TwelvelabsApi.PageInfo;
9
+ }
@@ -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,15 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * The analysis approach for every item in this batch.
6
+ * - `general`: Generate text from each video based on the prompt (the item's `prompt` field if set, otherwise `defaults.prompt`). Supports structured JSON output by using `json_schema` in the `response_format.type` field.
7
+ * - `time_based_metadata`: Extract timestamped metadata by using `segment_definitions` in the `response_format.type` field.
8
+ *
9
+ * Batches with mixed modes are not supported.
10
+ */
11
+ export type CreateAnalyzeBatchRequestAnalysisMode = "general" | "time_based_metadata";
12
+ export declare const CreateAnalyzeBatchRequestAnalysisMode: {
13
+ readonly General: "general";
14
+ readonly TimeBasedMetadata: "time_based_metadata";
15
+ };
@@ -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.CreateAnalyzeBatchRequestAnalysisMode = void 0;
7
+ exports.CreateAnalyzeBatchRequestAnalysisMode = {
8
+ General: "general",
9
+ TimeBasedMetadata: "time_based_metadata",
10
+ };
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * The video understanding model to use for every item in this batch. Batch analysis requires Pegasus 1.5.
6
+ */
7
+ export type CreateAnalyzeBatchRequestModelName = "pegasus1.5";
8
+ export declare const CreateAnalyzeBatchRequestModelName: {
9
+ readonly Pegasus15: "pegasus1.5";
10
+ };
@@ -0,0 +1,9 @@
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.CreateAnalyzeBatchRequestModelName = void 0;
7
+ exports.CreateAnalyzeBatchRequestModelName = {
8
+ Pegasus15: "pegasus1.5",
9
+ };
@@ -0,0 +1,4 @@
1
+ export * from "./BatchesListRequestAnalysisModeItem";
2
+ export * from "./BatchesListResponse";
3
+ export * from "./CreateAnalyzeBatchRequestModelName";
4
+ export * from "./CreateAnalyzeBatchRequestAnalysisMode";
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./BatchesListRequestAnalysisModeItem"), exports);
18
+ __exportStar(require("./BatchesListResponse"), exports);
19
+ __exportStar(require("./CreateAnalyzeBatchRequestModelName"), exports);
20
+ __exportStar(require("./CreateAnalyzeBatchRequestAnalysisMode"), exports);
@@ -1,3 +1,6 @@
1
1
  export * as tasks from "./tasks";
2
2
  export * from "./tasks/types";
3
+ export * as batches from "./batches";
4
+ export * from "./batches/types";
3
5
  export * from "./tasks/client/requests";
6
+ export * from "./batches/client/requests";
@@ -36,7 +36,10 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
36
36
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
37
37
  };
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.tasks = void 0;
39
+ exports.batches = exports.tasks = void 0;
40
40
  exports.tasks = __importStar(require("./tasks"));
41
41
  __exportStar(require("./tasks/types"), exports);
42
+ exports.batches = __importStar(require("./batches"));
43
+ __exportStar(require("./batches/types"), exports);
42
44
  __exportStar(require("./tasks/client/requests"), exports);
45
+ __exportStar(require("./batches/client/requests"), exports);
@@ -72,6 +72,8 @@ export declare class Tasks {
72
72
  * 2. Poll the status of the task using the [`GET`](/v1.3/api-reference/analyze-videos/retrieve-analysis-task-status-results) method of the `/analyze/tasks/{task_id}` endpoint. Wait until the status is `ready`.
73
73
  * 3. Retrieve the results from the response when the status is `ready` using the [`GET`](/v1.3/api-reference/analyze-videos/retrieve-analysis-task-status-results) method of the `/analyze/tasks/{task_id}` endpoint.
74
74
  *
75
+ * On the Free plan, you have a total of 600 minutes (10 hours) shared across indexing, analysis, and segmentation. For details, see the [Video hours and video count limits](/v1.3/docs/concepts/indexes#video-hours-and-video-count-limits) section.
76
+ *
75
77
  * <Note title="Note">
76
78
  * This endpoint is rate-limited. For details, see the [Rate limits](/v1.3/docs/get-started/rate-limits) page.
77
79
  * </Note>
@@ -112,7 +112,7 @@ class Tasks {
112
112
  const _response = yield core.fetcher({
113
113
  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, "analyze/tasks"),
114
114
  method: "GET",
115
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "twelvelabs-js", "X-Fern-SDK-Version": "1.2.7", "User-Agent": "twelvelabs-js/1.2.7", "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),
115
+ 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),
116
116
  contentType: "application/json",
117
117
  queryParameters: _queryParams,
118
118
  requestType: "json",
@@ -186,6 +186,8 @@ class Tasks {
186
186
  * 2. Poll the status of the task using the [`GET`](/v1.3/api-reference/analyze-videos/retrieve-analysis-task-status-results) method of the `/analyze/tasks/{task_id}` endpoint. Wait until the status is `ready`.
187
187
  * 3. Retrieve the results from the response when the status is `ready` using the [`GET`](/v1.3/api-reference/analyze-videos/retrieve-analysis-task-status-results) method of the `/analyze/tasks/{task_id}` endpoint.
188
188
  *
189
+ * On the Free plan, you have a total of 600 minutes (10 hours) shared across indexing, analysis, and segmentation. For details, see the [Video hours and video count limits](/v1.3/docs/concepts/indexes#video-hours-and-video-count-limits) section.
190
+ *
189
191
  * <Note title="Note">
190
192
  * This endpoint is rate-limited. For details, see the [Rate limits](/v1.3/docs/get-started/rate-limits) page.
191
193
  * </Note>
@@ -373,7 +375,7 @@ class Tasks {
373
375
  const _response = yield core.fetcher({
374
376
  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, "analyze/tasks"),
375
377
  method: "POST",
376
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "twelvelabs-js", "X-Fern-SDK-Version": "1.2.7", "User-Agent": "twelvelabs-js/1.2.7", "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),
378
+ 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),
377
379
  contentType: "application/json",
378
380
  requestType: "json",
379
381
  body: serializers.analyzeAsync.CreateAsyncAnalyzeRequest.jsonOrThrow(request, {
@@ -454,7 +456,7 @@ class Tasks {
454
456
  const _response = yield core.fetcher({
455
457
  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, `analyze/tasks/${encodeURIComponent(taskId)}`),
456
458
  method: "GET",
457
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "twelvelabs-js", "X-Fern-SDK-Version": "1.2.7", "User-Agent": "twelvelabs-js/1.2.7", "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),
459
+ 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),
458
460
  contentType: "application/json",
459
461
  requestType: "json",
460
462
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 600000,
@@ -522,7 +524,7 @@ class Tasks {
522
524
  const _response = yield core.fetcher({
523
525
  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, `analyze/tasks/${encodeURIComponent(taskId)}`),
524
526
  method: "DELETE",
525
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "twelvelabs-js", "X-Fern-SDK-Version": "1.2.7", "User-Agent": "twelvelabs-js/1.2.7", "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),
527
+ 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),
526
528
  contentType: "application/json",
527
529
  requestType: "json",
528
530
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 600000,
@@ -225,7 +225,7 @@ export interface CreateAsyncAnalyzeRequest {
225
225
  *
226
226
  * | Model | Mode | Min | Max | Default |
227
227
  * |-------|------|-----|-----|---------|
228
- * | Pegasus 1.2 | — | 1 | 4,096 | 4096 |
228
+ * | Pegasus 1.2 | — | 2 | 4,096 | 4096 |
229
229
  * | Pegasus 1.5 | `general` | 512 | 98,304 | 4,096 |
230
230
  * | Pegasus 1.5 | `time_based_metadata` | 2,048 | 98,304 | 32,768 |
231
231
  */
@@ -112,7 +112,7 @@ class Assets {
112
112
  const _response = yield core.fetcher({
113
113
  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"),
114
114
  method: "GET",
115
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "twelvelabs-js", "X-Fern-SDK-Version": "1.2.7", "User-Agent": "twelvelabs-js/1.2.7", "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),
115
+ 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),
116
116
  contentType: "application/json",
117
117
  queryParameters: _queryParams,
118
118
  requestType: "json",
@@ -237,7 +237,7 @@ class Assets {
237
237
  const _response = yield core.fetcher({
238
238
  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"),
239
239
  method: "POST",
240
- headers: Object.assign(Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "twelvelabs-js", "X-Fern-SDK-Version": "1.2.7", "User-Agent": "twelvelabs-js/1.2.7", "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),
240
+ 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),
241
241
  requestType: "file",
242
242
  duplex: _maybeEncodedRequest.duplex,
243
243
  body: _maybeEncodedRequest.body,
@@ -305,7 +305,7 @@ class Assets {
305
305
  const _response = yield core.fetcher({
306
306
  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)}`),
307
307
  method: "GET",
308
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "twelvelabs-js", "X-Fern-SDK-Version": "1.2.7", "User-Agent": "twelvelabs-js/1.2.7", "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),
308
+ 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),
309
309
  contentType: "application/json",
310
310
  requestType: "json",
311
311
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 600000,
@@ -387,7 +387,7 @@ class Assets {
387
387
  const _response = yield core.fetcher({
388
388
  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)}`),
389
389
  method: "DELETE",
390
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "twelvelabs-js", "X-Fern-SDK-Version": "1.2.7", "User-Agent": "twelvelabs-js/1.2.7", "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),
390
+ 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),
391
391
  contentType: "application/json",
392
392
  queryParameters: _queryParams,
393
393
  requestType: "json",
@@ -463,7 +463,7 @@ class Assets {
463
463
  const _response = yield core.fetcher({
464
464
  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)}/user-metadata`),
465
465
  method: "PUT",
466
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "twelvelabs-js", "X-Fern-SDK-Version": "1.2.7", "User-Agent": "twelvelabs-js/1.2.7", "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),
466
+ 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),
467
467
  contentType: "application/json",
468
468
  requestType: "json",
469
469
  body: serializers.AssetsReplaceUserMetadataRequest.jsonOrThrow(request, {
@@ -530,7 +530,7 @@ class Assets {
530
530
  const _response = yield core.fetcher({
531
531
  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)}/user-metadata`),
532
532
  method: "DELETE",
533
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "twelvelabs-js", "X-Fern-SDK-Version": "1.2.7", "User-Agent": "twelvelabs-js/1.2.7", "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),
533
+ 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),
534
534
  contentType: "application/json",
535
535
  requestType: "json",
536
536
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 600000,
@@ -606,7 +606,7 @@ class Assets {
606
606
  const _response = yield core.fetcher({
607
607
  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)}/user-metadata`),
608
608
  method: "PATCH",
609
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "twelvelabs-js", "X-Fern-SDK-Version": "1.2.7", "User-Agent": "twelvelabs-js/1.2.7", "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),
609
+ 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),
610
610
  contentType: "application/json",
611
611
  requestType: "json",
612
612
  body: serializers.AssetsUpdateUserMetadataRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -141,7 +141,7 @@ class Embed {
141
141
  const _response = yield core.fetcher({
142
142
  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, "embed"),
143
143
  method: "POST",
144
- headers: Object.assign(Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "twelvelabs-js", "X-Fern-SDK-Version": "1.2.7", "User-Agent": "twelvelabs-js/1.2.7", "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),
144
+ 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),
145
145
  requestType: "file",
146
146
  duplex: _maybeEncodedRequest.duplex,
147
147
  body: _maybeEncodedRequest.body,
@@ -108,7 +108,7 @@ class Tasks {
108
108
  const _response = yield core.fetcher({
109
109
  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, "embed/tasks"),
110
110
  method: "GET",
111
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "twelvelabs-js", "X-Fern-SDK-Version": "1.2.7", "User-Agent": "twelvelabs-js/1.2.7", "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
+ 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),
112
112
  contentType: "application/json",
113
113
  queryParameters: _queryParams,
114
114
  requestType: "json",
@@ -239,7 +239,7 @@ class Tasks {
239
239
  const _response = yield core.fetcher({
240
240
  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, "embed/tasks"),
241
241
  method: "POST",
242
- headers: Object.assign(Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "twelvelabs-js", "X-Fern-SDK-Version": "1.2.7", "User-Agent": "twelvelabs-js/1.2.7", "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),
242
+ 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),
243
243
  requestType: "file",
244
244
  duplex: _maybeEncodedRequest.duplex,
245
245
  body: _maybeEncodedRequest.body,
@@ -315,7 +315,7 @@ class Tasks {
315
315
  const _response = yield core.fetcher({
316
316
  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, `embed/tasks/${encodeURIComponent(taskId)}/status`),
317
317
  method: "GET",
318
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "twelvelabs-js", "X-Fern-SDK-Version": "1.2.7", "User-Agent": "twelvelabs-js/1.2.7", "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),
318
+ 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),
319
319
  contentType: "application/json",
320
320
  requestType: "json",
321
321
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 600000,
@@ -398,7 +398,7 @@ class Tasks {
398
398
  const _response = yield core.fetcher({
399
399
  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, `embed/tasks/${encodeURIComponent(taskId)}`),
400
400
  method: "GET",
401
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "twelvelabs-js", "X-Fern-SDK-Version": "1.2.7", "User-Agent": "twelvelabs-js/1.2.7", "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),
401
+ 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),
402
402
  contentType: "application/json",
403
403
  queryParameters: _queryParams,
404
404
  requestType: "json",
@@ -285,7 +285,7 @@ class V2 {
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, "embed-v2"),
287
287
  method: "POST",
288
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "twelvelabs-js", "X-Fern-SDK-Version": "1.2.7", "User-Agent": "twelvelabs-js/1.2.7", "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
  body: serializers.embed.CreateEmbeddingsRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -105,7 +105,7 @@ class Tasks {
105
105
  const _response = yield core.fetcher({
106
106
  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, "embed-v2/tasks"),
107
107
  method: "GET",
108
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "twelvelabs-js", "X-Fern-SDK-Version": "1.2.7", "User-Agent": "twelvelabs-js/1.2.7", "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),
108
+ 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),
109
109
  contentType: "application/json",
110
110
  queryParameters: _queryParams,
111
111
  requestType: "json",
@@ -271,7 +271,7 @@ class Tasks {
271
271
  const _response = yield core.fetcher({
272
272
  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, "embed-v2/tasks"),
273
273
  method: "POST",
274
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "twelvelabs-js", "X-Fern-SDK-Version": "1.2.7", "User-Agent": "twelvelabs-js/1.2.7", "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),
274
+ 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),
275
275
  contentType: "application/json",
276
276
  requestType: "json",
277
277
  body: serializers.embed.v2.CreateAsyncEmbeddingRequest.jsonOrThrow(request, {
@@ -354,7 +354,7 @@ class Tasks {
354
354
  const _response = yield core.fetcher({
355
355
  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, `embed-v2/tasks/${encodeURIComponent(taskId)}`),
356
356
  method: "GET",
357
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "twelvelabs-js", "X-Fern-SDK-Version": "1.2.7", "User-Agent": "twelvelabs-js/1.2.7", "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),
357
+ 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),
358
358
  contentType: "application/json",
359
359
  requestType: "json",
360
360
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 600000,