hume 0.1.0 → 0.2.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1071) hide show
  1. package/Client.d.ts +42 -0
  2. package/Client.js +291 -0
  3. package/README.md +135 -1
  4. package/api/client/index.d.ts +1 -0
  5. package/api/client/index.js +17 -0
  6. package/api/client/requests/BaseRequest.d.ts +18 -0
  7. package/api/client/requests/BaseRequest.js +5 -0
  8. package/api/client/requests/ListJobsRequest.d.ts +30 -0
  9. package/api/client/requests/ListJobsRequest.js +5 -0
  10. package/api/client/requests/index.d.ts +2 -0
  11. package/api/client/requests/index.js +2 -0
  12. package/api/index.d.ts +2 -0
  13. package/api/index.js +18 -0
  14. package/api/types/Bcp47Tag.d.ts +35 -0
  15. package/api/types/Bcp47Tag.js +37 -0
  16. package/api/types/BoundingBox.d.ts +16 -0
  17. package/api/types/BoundingBox.js +5 -0
  18. package/api/types/BurstPrediction.d.ts +11 -0
  19. package/api/types/BurstPrediction.js +5 -0
  20. package/api/types/BurstResponse.d.ts +10 -0
  21. package/api/types/BurstResponse.js +5 -0
  22. package/api/types/Completed.d.ts +15 -0
  23. package/api/types/Completed.js +5 -0
  24. package/api/types/DescriptionsScore.d.ts +9 -0
  25. package/api/types/DescriptionsScore.js +5 -0
  26. package/api/types/Direction.d.ts +8 -0
  27. package/api/types/Direction.js +10 -0
  28. package/api/types/EmotionEmbedding.d.ts +8 -0
  29. package/api/types/EmotionEmbedding.js +5 -0
  30. package/api/types/EmotionEmbeddingItem.d.ts +9 -0
  31. package/api/types/EmotionEmbeddingItem.js +5 -0
  32. package/api/types/EmotionScore.d.ts +9 -0
  33. package/api/types/EmotionScore.js +5 -0
  34. package/api/types/Empty.d.ts +7 -0
  35. package/api/types/Empty.js +5 -0
  36. package/api/types/Error_.d.ts +9 -0
  37. package/api/types/Error_.js +5 -0
  38. package/api/types/Face.d.ts +18 -0
  39. package/api/types/Face.js +5 -0
  40. package/api/types/FaceModelConfig.d.ts +35 -0
  41. package/api/types/FaceModelConfig.js +5 -0
  42. package/api/types/FacePrediction.d.ts +19 -0
  43. package/api/types/FacePrediction.js +5 -0
  44. package/api/types/FaceResponse.d.ts +10 -0
  45. package/api/types/FaceResponse.js +5 -0
  46. package/api/types/FacemeshPrediction.d.ts +8 -0
  47. package/api/types/FacemeshPrediction.js +5 -0
  48. package/api/types/FacemeshResponse.d.ts +10 -0
  49. package/api/types/FacemeshResponse.js +5 -0
  50. package/api/types/FacsScore.d.ts +9 -0
  51. package/api/types/FacsScore.js +5 -0
  52. package/api/types/Failed.d.ts +13 -0
  53. package/api/types/Failed.js +5 -0
  54. package/api/types/File_.d.ts +11 -0
  55. package/api/types/File_.js +5 -0
  56. package/api/types/Granularity.d.ts +13 -0
  57. package/api/types/Granularity.js +12 -0
  58. package/api/types/GroupedPredictionsBurstPrediction.d.ts +9 -0
  59. package/api/types/GroupedPredictionsBurstPrediction.js +5 -0
  60. package/api/types/GroupedPredictionsFacePrediction.d.ts +9 -0
  61. package/api/types/GroupedPredictionsFacePrediction.js +5 -0
  62. package/api/types/GroupedPredictionsFacemeshPrediction.d.ts +9 -0
  63. package/api/types/GroupedPredictionsFacemeshPrediction.js +5 -0
  64. package/api/types/GroupedPredictionsLanguagePrediction.d.ts +9 -0
  65. package/api/types/GroupedPredictionsLanguagePrediction.js +5 -0
  66. package/api/types/GroupedPredictionsNerPrediction.d.ts +9 -0
  67. package/api/types/GroupedPredictionsNerPrediction.js +5 -0
  68. package/api/types/GroupedPredictionsProsodyPrediction.d.ts +9 -0
  69. package/api/types/GroupedPredictionsProsodyPrediction.js +5 -0
  70. package/api/types/InProgress.d.ts +9 -0
  71. package/api/types/InProgress.js +5 -0
  72. package/api/types/JobId.d.ts +7 -0
  73. package/api/types/JobId.js +5 -0
  74. package/api/types/JobRequest.d.ts +10 -0
  75. package/api/types/JobRequest.js +5 -0
  76. package/api/types/Language.d.ts +11 -0
  77. package/api/types/Language.js +5 -0
  78. package/api/types/LanguageConfig.d.ts +14 -0
  79. package/api/types/LanguageConfig.js +5 -0
  80. package/api/types/LanguagePrediction.d.ts +24 -0
  81. package/api/types/LanguagePrediction.js +5 -0
  82. package/api/types/LanguageResponse.d.ts +10 -0
  83. package/api/types/LanguageResponse.js +5 -0
  84. package/api/types/ModelConfig.d.ts +46 -0
  85. package/api/types/ModelConfig.js +5 -0
  86. package/api/types/ModelResponse.d.ts +16 -0
  87. package/api/types/ModelResponse.js +5 -0
  88. package/api/types/Models.d.ts +12 -0
  89. package/api/types/Models.js +5 -0
  90. package/api/types/ModelsError.d.ts +9 -0
  91. package/api/types/ModelsError.js +5 -0
  92. package/api/types/ModelsInput.d.ts +56 -0
  93. package/api/types/ModelsInput.js +5 -0
  94. package/api/types/ModelsPredictions.d.ts +12 -0
  95. package/api/types/ModelsPredictions.js +5 -0
  96. package/api/types/ModelsSuccessBurstPredictionsItem.d.ts +8 -0
  97. package/api/types/ModelsSuccessBurstPredictionsItem.js +5 -0
  98. package/api/types/ModelsSuccessFacePredictionsItem.d.ts +18 -0
  99. package/api/types/ModelsSuccessFacePredictionsItem.js +5 -0
  100. package/api/types/ModelsSuccessFacemeshPredictionsItem.d.ts +7 -0
  101. package/api/types/ModelsSuccessFacemeshPredictionsItem.js +5 -0
  102. package/api/types/ModelsSuccessLanguagePredictionsItem.d.ts +12 -0
  103. package/api/types/ModelsSuccessLanguagePredictionsItem.js +5 -0
  104. package/api/types/ModelsSuccessProsodyPredictionsItem.d.ts +8 -0
  105. package/api/types/ModelsSuccessProsodyPredictionsItem.js +5 -0
  106. package/api/types/ModelsWarning.d.ts +9 -0
  107. package/api/types/ModelsWarning.js +5 -0
  108. package/api/types/Ner.d.ts +7 -0
  109. package/api/types/Ner.js +5 -0
  110. package/api/types/NerPrediction.d.ts +24 -0
  111. package/api/types/NerPrediction.js +5 -0
  112. package/api/types/Null.d.ts +7 -0
  113. package/api/types/Null.js +5 -0
  114. package/api/types/PositionInterval.d.ts +12 -0
  115. package/api/types/PositionInterval.js +5 -0
  116. package/api/types/Prediction.d.ts +9 -0
  117. package/api/types/Prediction.js +5 -0
  118. package/api/types/PredictionsOptionalNullBurstPrediction.d.ts +8 -0
  119. package/api/types/PredictionsOptionalNullBurstPrediction.js +5 -0
  120. package/api/types/PredictionsOptionalNullFacePrediction.d.ts +8 -0
  121. package/api/types/PredictionsOptionalNullFacePrediction.js +5 -0
  122. package/api/types/PredictionsOptionalNullFacemeshPrediction.d.ts +8 -0
  123. package/api/types/PredictionsOptionalNullFacemeshPrediction.js +5 -0
  124. package/api/types/PredictionsOptionalTranscriptionMetadataLanguagePrediction.d.ts +8 -0
  125. package/api/types/PredictionsOptionalTranscriptionMetadataLanguagePrediction.js +5 -0
  126. package/api/types/PredictionsOptionalTranscriptionMetadataNerPrediction.d.ts +8 -0
  127. package/api/types/PredictionsOptionalTranscriptionMetadataNerPrediction.js +5 -0
  128. package/api/types/PredictionsOptionalTranscriptionMetadataProsodyPrediction.d.ts +8 -0
  129. package/api/types/PredictionsOptionalTranscriptionMetadataProsodyPrediction.js +5 -0
  130. package/api/types/Prosody.d.ts +13 -0
  131. package/api/types/Prosody.js +5 -0
  132. package/api/types/ProsodyPrediction.d.ts +15 -0
  133. package/api/types/ProsodyPrediction.js +5 -0
  134. package/api/types/ProsodyResponse.d.ts +10 -0
  135. package/api/types/ProsodyResponse.js +5 -0
  136. package/api/types/Queued.d.ts +7 -0
  137. package/api/types/Queued.js +5 -0
  138. package/api/types/Request.d.ts +19 -0
  139. package/api/types/Request.js +5 -0
  140. package/api/types/Results.d.ts +8 -0
  141. package/api/types/Results.js +5 -0
  142. package/api/types/Sentiment.d.ts +10 -0
  143. package/api/types/Sentiment.js +5 -0
  144. package/api/types/SentimentItem.d.ts +9 -0
  145. package/api/types/SentimentItem.js +5 -0
  146. package/api/types/SentimentScore.d.ts +9 -0
  147. package/api/types/SentimentScore.js +5 -0
  148. package/api/types/SortBy.d.ts +9 -0
  149. package/api/types/SortBy.js +11 -0
  150. package/api/types/Source.d.ts +13 -0
  151. package/api/types/Source.js +5 -0
  152. package/api/types/SourceFile.d.ts +5 -0
  153. package/api/types/SourceFile.js +5 -0
  154. package/api/types/SourceResult.d.ts +10 -0
  155. package/api/types/SourceResult.js +5 -0
  156. package/api/types/SourceUrl.d.ts +5 -0
  157. package/api/types/SourceUrl.js +5 -0
  158. package/api/types/State.d.ts +19 -0
  159. package/api/types/State.js +5 -0
  160. package/api/types/StateCompleted.d.ts +5 -0
  161. package/api/types/StateCompleted.js +5 -0
  162. package/api/types/StateFailed.d.ts +5 -0
  163. package/api/types/StateFailed.js +5 -0
  164. package/api/types/StateInProgress.d.ts +5 -0
  165. package/api/types/StateInProgress.js +5 -0
  166. package/api/types/StateQueued.d.ts +5 -0
  167. package/api/types/StateQueued.js +5 -0
  168. package/api/types/Status.d.ts +10 -0
  169. package/api/types/Status.js +12 -0
  170. package/api/types/TextPosition.d.ts +13 -0
  171. package/api/types/TextPosition.js +5 -0
  172. package/api/types/TimeInterval.d.ts +12 -0
  173. package/api/types/TimeInterval.js +5 -0
  174. package/api/types/TimeRange.d.ts +12 -0
  175. package/api/types/TimeRange.js +5 -0
  176. package/api/types/Toxicity.d.ts +8 -0
  177. package/api/types/Toxicity.js +5 -0
  178. package/api/types/ToxicityItem.d.ts +9 -0
  179. package/api/types/ToxicityItem.js +5 -0
  180. package/api/types/ToxicityScore.d.ts +9 -0
  181. package/api/types/ToxicityScore.js +5 -0
  182. package/api/types/Transcription.d.ts +7 -0
  183. package/api/types/Transcription.js +5 -0
  184. package/api/types/TranscriptionMetadata.d.ts +12 -0
  185. package/api/types/TranscriptionMetadata.js +5 -0
  186. package/api/types/Url.d.ts +7 -0
  187. package/api/types/Url.js +5 -0
  188. package/api/types/When.d.ts +8 -0
  189. package/api/types/When.js +10 -0
  190. package/api/types/Window.d.ts +9 -0
  191. package/api/types/Window.js +5 -0
  192. package/api/types/index.d.ts +89 -0
  193. package/api/types/index.js +105 -0
  194. package/core/fetcher/APIResponse.d.ts +9 -0
  195. package/core/fetcher/APIResponse.js +2 -0
  196. package/core/fetcher/Fetcher.d.ts +38 -0
  197. package/core/fetcher/Fetcher.js +129 -0
  198. package/core/fetcher/Supplier.d.ts +4 -0
  199. package/core/fetcher/Supplier.js +22 -0
  200. package/core/fetcher/index.d.ts +4 -0
  201. package/core/fetcher/index.js +7 -0
  202. package/core/index.d.ts +3 -0
  203. package/core/index.js +32 -0
  204. package/core/schemas/Schema.d.ts +81 -0
  205. package/core/schemas/Schema.js +21 -0
  206. package/core/schemas/builders/date/date.d.ts +2 -0
  207. package/core/schemas/builders/date/date.js +63 -0
  208. package/core/schemas/builders/date/index.d.ts +1 -0
  209. package/core/schemas/builders/date/index.js +5 -0
  210. package/core/schemas/builders/enum/enum.d.ts +2 -0
  211. package/core/schemas/builders/enum/enum.js +39 -0
  212. package/core/schemas/builders/enum/index.d.ts +1 -0
  213. package/core/schemas/builders/enum/index.js +5 -0
  214. package/core/schemas/builders/index.d.ts +13 -0
  215. package/core/schemas/builders/index.js +29 -0
  216. package/core/schemas/builders/lazy/index.d.ts +3 -0
  217. package/core/schemas/builders/lazy/index.js +7 -0
  218. package/core/schemas/builders/lazy/lazy.d.ts +5 -0
  219. package/core/schemas/builders/lazy/lazy.js +36 -0
  220. package/core/schemas/builders/lazy/lazyObject.d.ts +3 -0
  221. package/core/schemas/builders/lazy/lazyObject.js +21 -0
  222. package/core/schemas/builders/list/index.d.ts +1 -0
  223. package/core/schemas/builders/list/index.js +5 -0
  224. package/core/schemas/builders/list/list.d.ts +2 -0
  225. package/core/schemas/builders/list/list.js +68 -0
  226. package/core/schemas/builders/literals/booleanLiteral.d.ts +2 -0
  227. package/core/schemas/builders/literals/booleanLiteral.js +29 -0
  228. package/core/schemas/builders/literals/index.d.ts +2 -0
  229. package/core/schemas/builders/literals/index.js +7 -0
  230. package/core/schemas/builders/literals/stringLiteral.d.ts +2 -0
  231. package/core/schemas/builders/literals/stringLiteral.js +29 -0
  232. package/core/schemas/builders/object/index.d.ts +6 -0
  233. package/core/schemas/builders/object/index.js +11 -0
  234. package/core/schemas/builders/object/object.d.ts +3 -0
  235. package/core/schemas/builders/object/object.js +258 -0
  236. package/core/schemas/builders/object/objectWithoutOptionalProperties.d.ts +6 -0
  237. package/core/schemas/builders/object/objectWithoutOptionalProperties.js +8 -0
  238. package/core/schemas/builders/object/property.d.ts +8 -0
  239. package/core/schemas/builders/object/property.js +16 -0
  240. package/core/schemas/builders/object/types.d.ts +26 -0
  241. package/core/schemas/builders/object/types.js +2 -0
  242. package/core/schemas/builders/object-like/getObjectLikeUtils.d.ts +9 -0
  243. package/core/schemas/builders/object-like/getObjectLikeUtils.js +63 -0
  244. package/core/schemas/builders/object-like/index.d.ts +2 -0
  245. package/core/schemas/builders/object-like/index.js +6 -0
  246. package/core/schemas/builders/object-like/types.d.ts +7 -0
  247. package/core/schemas/builders/object-like/types.js +2 -0
  248. package/core/schemas/builders/primitives/any.d.ts +1 -0
  249. package/core/schemas/builders/primitives/any.js +6 -0
  250. package/core/schemas/builders/primitives/boolean.d.ts +1 -0
  251. package/core/schemas/builders/primitives/boolean.js +25 -0
  252. package/core/schemas/builders/primitives/index.d.ts +5 -0
  253. package/core/schemas/builders/primitives/index.js +13 -0
  254. package/core/schemas/builders/primitives/number.d.ts +1 -0
  255. package/core/schemas/builders/primitives/number.js +25 -0
  256. package/core/schemas/builders/primitives/string.d.ts +1 -0
  257. package/core/schemas/builders/primitives/string.js +25 -0
  258. package/core/schemas/builders/primitives/unknown.d.ts +1 -0
  259. package/core/schemas/builders/primitives/unknown.js +6 -0
  260. package/core/schemas/builders/record/index.d.ts +2 -0
  261. package/core/schemas/builders/record/index.js +5 -0
  262. package/core/schemas/builders/record/record.d.ts +3 -0
  263. package/core/schemas/builders/record/record.js +106 -0
  264. package/core/schemas/builders/record/types.d.ts +4 -0
  265. package/core/schemas/builders/record/types.js +2 -0
  266. package/core/schemas/builders/schema-utils/JsonError.d.ts +5 -0
  267. package/core/schemas/builders/schema-utils/JsonError.js +12 -0
  268. package/core/schemas/builders/schema-utils/ParseError.d.ts +5 -0
  269. package/core/schemas/builders/schema-utils/ParseError.js +12 -0
  270. package/core/schemas/builders/schema-utils/getSchemaUtils.d.ts +17 -0
  271. package/core/schemas/builders/schema-utils/getSchemaUtils.js +85 -0
  272. package/core/schemas/builders/schema-utils/index.d.ts +4 -0
  273. package/core/schemas/builders/schema-utils/index.js +11 -0
  274. package/core/schemas/builders/schema-utils/stringifyValidationErrors.d.ts +2 -0
  275. package/core/schemas/builders/schema-utils/stringifyValidationErrors.js +10 -0
  276. package/core/schemas/builders/set/index.d.ts +1 -0
  277. package/core/schemas/builders/set/index.js +5 -0
  278. package/core/schemas/builders/set/set.d.ts +2 -0
  279. package/core/schemas/builders/set/set.js +53 -0
  280. package/core/schemas/builders/undiscriminated-union/index.d.ts +2 -0
  281. package/core/schemas/builders/undiscriminated-union/index.js +5 -0
  282. package/core/schemas/builders/undiscriminated-union/types.d.ts +4 -0
  283. package/core/schemas/builders/undiscriminated-union/types.js +2 -0
  284. package/core/schemas/builders/undiscriminated-union/undiscriminatedUnion.d.ts +3 -0
  285. package/core/schemas/builders/undiscriminated-union/undiscriminatedUnion.js +51 -0
  286. package/core/schemas/builders/union/discriminant.d.ts +5 -0
  287. package/core/schemas/builders/union/discriminant.js +10 -0
  288. package/core/schemas/builders/union/index.d.ts +4 -0
  289. package/core/schemas/builders/union/index.js +7 -0
  290. package/core/schemas/builders/union/types.d.ts +13 -0
  291. package/core/schemas/builders/union/types.js +2 -0
  292. package/core/schemas/builders/union/union.d.ts +4 -0
  293. package/core/schemas/builders/union/union.js +141 -0
  294. package/core/schemas/index.d.ts +2 -0
  295. package/core/schemas/index.js +17 -0
  296. package/core/schemas/utils/MaybePromise.d.ts +1 -0
  297. package/core/schemas/utils/MaybePromise.js +2 -0
  298. package/core/schemas/utils/addQuestionMarksToNullableProperties.d.ts +7 -0
  299. package/core/schemas/utils/addQuestionMarksToNullableProperties.js +2 -0
  300. package/core/schemas/utils/createIdentitySchemaCreator.d.ts +2 -0
  301. package/core/schemas/utils/createIdentitySchemaCreator.js +16 -0
  302. package/core/schemas/utils/entries.d.ts +1 -0
  303. package/core/schemas/utils/entries.js +7 -0
  304. package/core/schemas/utils/filterObject.d.ts +1 -0
  305. package/core/schemas/utils/filterObject.js +14 -0
  306. package/core/schemas/utils/getErrorMessageForIncorrectType.d.ts +1 -0
  307. package/core/schemas/utils/getErrorMessageForIncorrectType.js +24 -0
  308. package/core/schemas/utils/isPlainObject.d.ts +1 -0
  309. package/core/schemas/utils/isPlainObject.js +18 -0
  310. package/core/schemas/utils/keys.d.ts +1 -0
  311. package/core/schemas/utils/keys.js +7 -0
  312. package/core/schemas/utils/maybeSkipValidation.d.ts +2 -0
  313. package/core/schemas/utils/maybeSkipValidation.js +37 -0
  314. package/core/schemas/utils/partition.d.ts +1 -0
  315. package/core/schemas/utils/partition.js +16 -0
  316. package/core/streaming-fetcher/Stream.d.ts +14 -0
  317. package/core/streaming-fetcher/Stream.js +75 -0
  318. package/core/streaming-fetcher/StreamingFetcher.d.ts +24 -0
  319. package/core/streaming-fetcher/StreamingFetcher.js +58 -0
  320. package/core/streaming-fetcher/getHeader.d.ts +2 -0
  321. package/core/streaming-fetcher/getHeader.js +12 -0
  322. package/core/streaming-fetcher/index.d.ts +4 -0
  323. package/core/streaming-fetcher/index.js +9 -0
  324. package/dist/Client.d.ts +42 -0
  325. package/dist/Client.js +291 -0
  326. package/dist/api/client/index.d.ts +1 -0
  327. package/dist/api/client/index.js +17 -0
  328. package/dist/api/client/requests/BaseRequest.d.ts +18 -0
  329. package/dist/api/client/requests/BaseRequest.js +5 -0
  330. package/dist/api/client/requests/ListJobsRequest.d.ts +30 -0
  331. package/dist/api/client/requests/ListJobsRequest.js +5 -0
  332. package/dist/api/client/requests/index.d.ts +2 -0
  333. package/dist/api/client/requests/index.js +2 -0
  334. package/dist/api/index.d.ts +2 -0
  335. package/dist/api/index.js +18 -0
  336. package/dist/api/types/Bcp47Tag.d.ts +35 -0
  337. package/dist/api/types/Bcp47Tag.js +37 -0
  338. package/dist/api/types/BoundingBox.d.ts +16 -0
  339. package/dist/api/types/BoundingBox.js +5 -0
  340. package/dist/api/types/BurstPrediction.d.ts +11 -0
  341. package/dist/api/types/BurstPrediction.js +5 -0
  342. package/dist/api/types/BurstResponse.d.ts +10 -0
  343. package/dist/api/types/BurstResponse.js +5 -0
  344. package/dist/api/types/Completed.d.ts +15 -0
  345. package/dist/api/types/Completed.js +5 -0
  346. package/dist/api/types/DescriptionsScore.d.ts +9 -0
  347. package/dist/api/types/DescriptionsScore.js +5 -0
  348. package/dist/api/types/Direction.d.ts +8 -0
  349. package/dist/api/types/Direction.js +10 -0
  350. package/dist/api/types/EmotionEmbedding.d.ts +8 -0
  351. package/dist/api/types/EmotionEmbedding.js +5 -0
  352. package/dist/api/types/EmotionEmbeddingItem.d.ts +9 -0
  353. package/dist/api/types/EmotionEmbeddingItem.js +5 -0
  354. package/dist/api/types/EmotionScore.d.ts +9 -0
  355. package/dist/api/types/EmotionScore.js +5 -0
  356. package/dist/api/types/Empty.d.ts +7 -0
  357. package/dist/api/types/Empty.js +5 -0
  358. package/dist/api/types/Error_.d.ts +9 -0
  359. package/dist/api/types/Error_.js +5 -0
  360. package/dist/api/types/Face.d.ts +18 -0
  361. package/dist/api/types/Face.js +5 -0
  362. package/dist/api/types/FaceModelConfig.d.ts +35 -0
  363. package/dist/api/types/FaceModelConfig.js +5 -0
  364. package/dist/api/types/FacePrediction.d.ts +19 -0
  365. package/dist/api/types/FacePrediction.js +5 -0
  366. package/dist/api/types/FaceResponse.d.ts +10 -0
  367. package/dist/api/types/FaceResponse.js +5 -0
  368. package/dist/api/types/FacemeshPrediction.d.ts +8 -0
  369. package/dist/api/types/FacemeshPrediction.js +5 -0
  370. package/dist/api/types/FacemeshResponse.d.ts +10 -0
  371. package/dist/api/types/FacemeshResponse.js +5 -0
  372. package/dist/api/types/FacsScore.d.ts +9 -0
  373. package/dist/api/types/FacsScore.js +5 -0
  374. package/dist/api/types/Failed.d.ts +13 -0
  375. package/dist/api/types/Failed.js +5 -0
  376. package/dist/api/types/File_.d.ts +11 -0
  377. package/dist/api/types/File_.js +5 -0
  378. package/dist/api/types/Granularity.d.ts +13 -0
  379. package/dist/api/types/Granularity.js +12 -0
  380. package/dist/api/types/GroupedPredictionsBurstPrediction.d.ts +9 -0
  381. package/dist/api/types/GroupedPredictionsBurstPrediction.js +5 -0
  382. package/dist/api/types/GroupedPredictionsFacePrediction.d.ts +9 -0
  383. package/dist/api/types/GroupedPredictionsFacePrediction.js +5 -0
  384. package/dist/api/types/GroupedPredictionsFacemeshPrediction.d.ts +9 -0
  385. package/dist/api/types/GroupedPredictionsFacemeshPrediction.js +5 -0
  386. package/dist/api/types/GroupedPredictionsLanguagePrediction.d.ts +9 -0
  387. package/dist/api/types/GroupedPredictionsLanguagePrediction.js +5 -0
  388. package/dist/api/types/GroupedPredictionsNerPrediction.d.ts +9 -0
  389. package/dist/api/types/GroupedPredictionsNerPrediction.js +5 -0
  390. package/dist/api/types/GroupedPredictionsProsodyPrediction.d.ts +9 -0
  391. package/dist/api/types/GroupedPredictionsProsodyPrediction.js +5 -0
  392. package/dist/api/types/InProgress.d.ts +9 -0
  393. package/dist/api/types/InProgress.js +5 -0
  394. package/dist/api/types/JobId.d.ts +7 -0
  395. package/dist/api/types/JobId.js +5 -0
  396. package/dist/api/types/JobRequest.d.ts +10 -0
  397. package/dist/api/types/JobRequest.js +5 -0
  398. package/dist/api/types/Language.d.ts +11 -0
  399. package/dist/api/types/Language.js +5 -0
  400. package/dist/api/types/LanguageConfig.d.ts +14 -0
  401. package/dist/api/types/LanguageConfig.js +5 -0
  402. package/dist/api/types/LanguagePrediction.d.ts +24 -0
  403. package/dist/api/types/LanguagePrediction.js +5 -0
  404. package/dist/api/types/LanguageResponse.d.ts +10 -0
  405. package/dist/api/types/LanguageResponse.js +5 -0
  406. package/dist/api/types/ModelConfig.d.ts +46 -0
  407. package/dist/api/types/ModelConfig.js +5 -0
  408. package/dist/api/types/ModelResponse.d.ts +16 -0
  409. package/dist/api/types/ModelResponse.js +5 -0
  410. package/dist/api/types/Models.d.ts +12 -0
  411. package/dist/api/types/Models.js +5 -0
  412. package/dist/api/types/ModelsError.d.ts +9 -0
  413. package/dist/api/types/ModelsError.js +5 -0
  414. package/dist/api/types/ModelsInput.d.ts +56 -0
  415. package/dist/api/types/ModelsInput.js +5 -0
  416. package/dist/api/types/ModelsPredictions.d.ts +12 -0
  417. package/dist/api/types/ModelsPredictions.js +5 -0
  418. package/dist/api/types/ModelsSuccessBurstPredictionsItem.d.ts +8 -0
  419. package/dist/api/types/ModelsSuccessBurstPredictionsItem.js +5 -0
  420. package/dist/api/types/ModelsSuccessFacePredictionsItem.d.ts +18 -0
  421. package/dist/api/types/ModelsSuccessFacePredictionsItem.js +5 -0
  422. package/dist/api/types/ModelsSuccessFacemeshPredictionsItem.d.ts +7 -0
  423. package/dist/api/types/ModelsSuccessFacemeshPredictionsItem.js +5 -0
  424. package/dist/api/types/ModelsSuccessLanguagePredictionsItem.d.ts +12 -0
  425. package/dist/api/types/ModelsSuccessLanguagePredictionsItem.js +5 -0
  426. package/dist/api/types/ModelsSuccessProsodyPredictionsItem.d.ts +8 -0
  427. package/dist/api/types/ModelsSuccessProsodyPredictionsItem.js +5 -0
  428. package/dist/api/types/ModelsWarning.d.ts +9 -0
  429. package/dist/api/types/ModelsWarning.js +5 -0
  430. package/dist/api/types/Ner.d.ts +7 -0
  431. package/dist/api/types/Ner.js +5 -0
  432. package/dist/api/types/NerPrediction.d.ts +24 -0
  433. package/dist/api/types/NerPrediction.js +5 -0
  434. package/dist/api/types/Null.d.ts +7 -0
  435. package/dist/api/types/Null.js +5 -0
  436. package/dist/api/types/PositionInterval.d.ts +12 -0
  437. package/dist/api/types/PositionInterval.js +5 -0
  438. package/dist/api/types/Prediction.d.ts +9 -0
  439. package/dist/api/types/Prediction.js +5 -0
  440. package/dist/api/types/PredictionsOptionalNullBurstPrediction.d.ts +8 -0
  441. package/dist/api/types/PredictionsOptionalNullBurstPrediction.js +5 -0
  442. package/dist/api/types/PredictionsOptionalNullFacePrediction.d.ts +8 -0
  443. package/dist/api/types/PredictionsOptionalNullFacePrediction.js +5 -0
  444. package/dist/api/types/PredictionsOptionalNullFacemeshPrediction.d.ts +8 -0
  445. package/dist/api/types/PredictionsOptionalNullFacemeshPrediction.js +5 -0
  446. package/dist/api/types/PredictionsOptionalTranscriptionMetadataLanguagePrediction.d.ts +8 -0
  447. package/dist/api/types/PredictionsOptionalTranscriptionMetadataLanguagePrediction.js +5 -0
  448. package/dist/api/types/PredictionsOptionalTranscriptionMetadataNerPrediction.d.ts +8 -0
  449. package/dist/api/types/PredictionsOptionalTranscriptionMetadataNerPrediction.js +5 -0
  450. package/dist/api/types/PredictionsOptionalTranscriptionMetadataProsodyPrediction.d.ts +8 -0
  451. package/dist/api/types/PredictionsOptionalTranscriptionMetadataProsodyPrediction.js +5 -0
  452. package/dist/api/types/Prosody.d.ts +13 -0
  453. package/dist/api/types/Prosody.js +5 -0
  454. package/dist/api/types/ProsodyPrediction.d.ts +15 -0
  455. package/dist/api/types/ProsodyPrediction.js +5 -0
  456. package/dist/api/types/ProsodyResponse.d.ts +10 -0
  457. package/dist/api/types/ProsodyResponse.js +5 -0
  458. package/dist/api/types/Queued.d.ts +7 -0
  459. package/dist/api/types/Queued.js +5 -0
  460. package/dist/api/types/Request.d.ts +19 -0
  461. package/dist/api/types/Request.js +5 -0
  462. package/dist/api/types/Results.d.ts +8 -0
  463. package/dist/api/types/Results.js +5 -0
  464. package/dist/api/types/Sentiment.d.ts +10 -0
  465. package/dist/api/types/Sentiment.js +5 -0
  466. package/dist/api/types/SentimentItem.d.ts +9 -0
  467. package/dist/api/types/SentimentItem.js +5 -0
  468. package/dist/api/types/SentimentScore.d.ts +9 -0
  469. package/dist/api/types/SentimentScore.js +5 -0
  470. package/dist/api/types/SortBy.d.ts +9 -0
  471. package/dist/api/types/SortBy.js +11 -0
  472. package/dist/api/types/Source.d.ts +13 -0
  473. package/dist/api/types/Source.js +5 -0
  474. package/dist/api/types/SourceFile.d.ts +5 -0
  475. package/dist/api/types/SourceFile.js +5 -0
  476. package/dist/api/types/SourceResult.d.ts +10 -0
  477. package/dist/api/types/SourceResult.js +5 -0
  478. package/dist/api/types/SourceUrl.d.ts +5 -0
  479. package/dist/api/types/SourceUrl.js +5 -0
  480. package/dist/api/types/State.d.ts +19 -0
  481. package/dist/api/types/State.js +5 -0
  482. package/dist/api/types/StateCompleted.d.ts +5 -0
  483. package/dist/api/types/StateCompleted.js +5 -0
  484. package/dist/api/types/StateFailed.d.ts +5 -0
  485. package/dist/api/types/StateFailed.js +5 -0
  486. package/dist/api/types/StateInProgress.d.ts +5 -0
  487. package/dist/api/types/StateInProgress.js +5 -0
  488. package/dist/api/types/StateQueued.d.ts +5 -0
  489. package/dist/api/types/StateQueued.js +5 -0
  490. package/dist/api/types/Status.d.ts +10 -0
  491. package/dist/api/types/Status.js +12 -0
  492. package/dist/api/types/TextPosition.d.ts +13 -0
  493. package/dist/api/types/TextPosition.js +5 -0
  494. package/dist/api/types/TimeInterval.d.ts +12 -0
  495. package/dist/api/types/TimeInterval.js +5 -0
  496. package/dist/api/types/TimeRange.d.ts +12 -0
  497. package/dist/api/types/TimeRange.js +5 -0
  498. package/dist/api/types/Toxicity.d.ts +8 -0
  499. package/dist/api/types/Toxicity.js +5 -0
  500. package/dist/api/types/ToxicityItem.d.ts +9 -0
  501. package/dist/api/types/ToxicityItem.js +5 -0
  502. package/dist/api/types/ToxicityScore.d.ts +9 -0
  503. package/dist/api/types/ToxicityScore.js +5 -0
  504. package/dist/api/types/Transcription.d.ts +7 -0
  505. package/dist/api/types/Transcription.js +5 -0
  506. package/dist/api/types/TranscriptionMetadata.d.ts +12 -0
  507. package/dist/api/types/TranscriptionMetadata.js +5 -0
  508. package/dist/api/types/Url.d.ts +7 -0
  509. package/dist/api/types/Url.js +5 -0
  510. package/dist/api/types/When.d.ts +8 -0
  511. package/dist/api/types/When.js +10 -0
  512. package/dist/api/types/Window.d.ts +9 -0
  513. package/dist/api/types/Window.js +5 -0
  514. package/dist/api/types/index.d.ts +89 -0
  515. package/dist/api/types/index.js +105 -0
  516. package/dist/core/fetcher/APIResponse.d.ts +9 -0
  517. package/dist/core/fetcher/APIResponse.js +2 -0
  518. package/dist/core/fetcher/Fetcher.d.ts +38 -0
  519. package/dist/core/fetcher/Fetcher.js +129 -0
  520. package/dist/core/fetcher/Supplier.d.ts +4 -0
  521. package/dist/core/fetcher/Supplier.js +22 -0
  522. package/dist/core/fetcher/index.d.ts +4 -0
  523. package/dist/core/fetcher/index.js +7 -0
  524. package/dist/core/index.d.ts +3 -0
  525. package/dist/core/index.js +32 -0
  526. package/dist/core/schemas/Schema.d.ts +81 -0
  527. package/dist/core/schemas/Schema.js +21 -0
  528. package/dist/core/schemas/builders/date/date.d.ts +2 -0
  529. package/dist/core/schemas/builders/date/date.js +63 -0
  530. package/dist/core/schemas/builders/date/index.d.ts +1 -0
  531. package/dist/core/schemas/builders/date/index.js +5 -0
  532. package/dist/core/schemas/builders/enum/enum.d.ts +2 -0
  533. package/dist/core/schemas/builders/enum/enum.js +39 -0
  534. package/dist/core/schemas/builders/enum/index.d.ts +1 -0
  535. package/dist/core/schemas/builders/enum/index.js +5 -0
  536. package/dist/core/schemas/builders/index.d.ts +13 -0
  537. package/dist/core/schemas/builders/index.js +29 -0
  538. package/dist/core/schemas/builders/lazy/index.d.ts +3 -0
  539. package/dist/core/schemas/builders/lazy/index.js +7 -0
  540. package/dist/core/schemas/builders/lazy/lazy.d.ts +5 -0
  541. package/dist/core/schemas/builders/lazy/lazy.js +36 -0
  542. package/dist/core/schemas/builders/lazy/lazyObject.d.ts +3 -0
  543. package/dist/core/schemas/builders/lazy/lazyObject.js +21 -0
  544. package/dist/core/schemas/builders/list/index.d.ts +1 -0
  545. package/dist/core/schemas/builders/list/index.js +5 -0
  546. package/dist/core/schemas/builders/list/list.d.ts +2 -0
  547. package/dist/core/schemas/builders/list/list.js +68 -0
  548. package/dist/core/schemas/builders/literals/booleanLiteral.d.ts +2 -0
  549. package/dist/core/schemas/builders/literals/booleanLiteral.js +29 -0
  550. package/dist/core/schemas/builders/literals/index.d.ts +2 -0
  551. package/dist/core/schemas/builders/literals/index.js +7 -0
  552. package/dist/core/schemas/builders/literals/stringLiteral.d.ts +2 -0
  553. package/dist/core/schemas/builders/literals/stringLiteral.js +29 -0
  554. package/dist/core/schemas/builders/object/index.d.ts +6 -0
  555. package/dist/core/schemas/builders/object/index.js +11 -0
  556. package/dist/core/schemas/builders/object/object.d.ts +3 -0
  557. package/dist/core/schemas/builders/object/object.js +258 -0
  558. package/dist/core/schemas/builders/object/objectWithoutOptionalProperties.d.ts +6 -0
  559. package/dist/core/schemas/builders/object/objectWithoutOptionalProperties.js +8 -0
  560. package/dist/core/schemas/builders/object/property.d.ts +8 -0
  561. package/dist/core/schemas/builders/object/property.js +16 -0
  562. package/dist/core/schemas/builders/object/types.d.ts +26 -0
  563. package/dist/core/schemas/builders/object/types.js +2 -0
  564. package/dist/core/schemas/builders/object-like/getObjectLikeUtils.d.ts +9 -0
  565. package/dist/core/schemas/builders/object-like/getObjectLikeUtils.js +63 -0
  566. package/dist/core/schemas/builders/object-like/index.d.ts +2 -0
  567. package/dist/core/schemas/builders/object-like/index.js +6 -0
  568. package/dist/core/schemas/builders/object-like/types.d.ts +7 -0
  569. package/dist/core/schemas/builders/object-like/types.js +2 -0
  570. package/dist/core/schemas/builders/primitives/any.d.ts +1 -0
  571. package/dist/core/schemas/builders/primitives/any.js +6 -0
  572. package/dist/core/schemas/builders/primitives/boolean.d.ts +1 -0
  573. package/dist/core/schemas/builders/primitives/boolean.js +25 -0
  574. package/dist/core/schemas/builders/primitives/index.d.ts +5 -0
  575. package/dist/core/schemas/builders/primitives/index.js +13 -0
  576. package/dist/core/schemas/builders/primitives/number.d.ts +1 -0
  577. package/dist/core/schemas/builders/primitives/number.js +25 -0
  578. package/dist/core/schemas/builders/primitives/string.d.ts +1 -0
  579. package/dist/core/schemas/builders/primitives/string.js +25 -0
  580. package/dist/core/schemas/builders/primitives/unknown.d.ts +1 -0
  581. package/dist/core/schemas/builders/primitives/unknown.js +6 -0
  582. package/dist/core/schemas/builders/record/index.d.ts +2 -0
  583. package/dist/core/schemas/builders/record/index.js +5 -0
  584. package/dist/core/schemas/builders/record/record.d.ts +3 -0
  585. package/dist/core/schemas/builders/record/record.js +106 -0
  586. package/dist/core/schemas/builders/record/types.d.ts +4 -0
  587. package/dist/core/schemas/builders/record/types.js +2 -0
  588. package/dist/core/schemas/builders/schema-utils/JsonError.d.ts +5 -0
  589. package/dist/core/schemas/builders/schema-utils/JsonError.js +12 -0
  590. package/dist/core/schemas/builders/schema-utils/ParseError.d.ts +5 -0
  591. package/dist/core/schemas/builders/schema-utils/ParseError.js +12 -0
  592. package/dist/core/schemas/builders/schema-utils/getSchemaUtils.d.ts +17 -0
  593. package/dist/core/schemas/builders/schema-utils/getSchemaUtils.js +85 -0
  594. package/dist/core/schemas/builders/schema-utils/index.d.ts +4 -0
  595. package/dist/core/schemas/builders/schema-utils/index.js +11 -0
  596. package/dist/core/schemas/builders/schema-utils/stringifyValidationErrors.d.ts +2 -0
  597. package/dist/core/schemas/builders/schema-utils/stringifyValidationErrors.js +10 -0
  598. package/dist/core/schemas/builders/set/index.d.ts +1 -0
  599. package/dist/core/schemas/builders/set/index.js +5 -0
  600. package/dist/core/schemas/builders/set/set.d.ts +2 -0
  601. package/dist/core/schemas/builders/set/set.js +53 -0
  602. package/dist/core/schemas/builders/undiscriminated-union/index.d.ts +2 -0
  603. package/dist/core/schemas/builders/undiscriminated-union/index.js +5 -0
  604. package/dist/core/schemas/builders/undiscriminated-union/types.d.ts +4 -0
  605. package/dist/core/schemas/builders/undiscriminated-union/types.js +2 -0
  606. package/dist/core/schemas/builders/undiscriminated-union/undiscriminatedUnion.d.ts +3 -0
  607. package/dist/core/schemas/builders/undiscriminated-union/undiscriminatedUnion.js +51 -0
  608. package/dist/core/schemas/builders/union/discriminant.d.ts +5 -0
  609. package/dist/core/schemas/builders/union/discriminant.js +10 -0
  610. package/dist/core/schemas/builders/union/index.d.ts +4 -0
  611. package/dist/core/schemas/builders/union/index.js +7 -0
  612. package/dist/core/schemas/builders/union/types.d.ts +13 -0
  613. package/dist/core/schemas/builders/union/types.js +2 -0
  614. package/dist/core/schemas/builders/union/union.d.ts +4 -0
  615. package/dist/core/schemas/builders/union/union.js +141 -0
  616. package/dist/core/schemas/index.d.ts +2 -0
  617. package/dist/core/schemas/index.js +17 -0
  618. package/dist/core/schemas/utils/MaybePromise.d.ts +1 -0
  619. package/dist/core/schemas/utils/MaybePromise.js +2 -0
  620. package/dist/core/schemas/utils/addQuestionMarksToNullableProperties.d.ts +7 -0
  621. package/dist/core/schemas/utils/addQuestionMarksToNullableProperties.js +2 -0
  622. package/dist/core/schemas/utils/createIdentitySchemaCreator.d.ts +2 -0
  623. package/dist/core/schemas/utils/createIdentitySchemaCreator.js +16 -0
  624. package/dist/core/schemas/utils/entries.d.ts +1 -0
  625. package/dist/core/schemas/utils/entries.js +7 -0
  626. package/dist/core/schemas/utils/filterObject.d.ts +1 -0
  627. package/dist/core/schemas/utils/filterObject.js +14 -0
  628. package/dist/core/schemas/utils/getErrorMessageForIncorrectType.d.ts +1 -0
  629. package/dist/core/schemas/utils/getErrorMessageForIncorrectType.js +24 -0
  630. package/dist/core/schemas/utils/isPlainObject.d.ts +1 -0
  631. package/dist/core/schemas/utils/isPlainObject.js +18 -0
  632. package/dist/core/schemas/utils/keys.d.ts +1 -0
  633. package/dist/core/schemas/utils/keys.js +7 -0
  634. package/dist/core/schemas/utils/maybeSkipValidation.d.ts +2 -0
  635. package/dist/core/schemas/utils/maybeSkipValidation.js +37 -0
  636. package/dist/core/schemas/utils/partition.d.ts +1 -0
  637. package/dist/core/schemas/utils/partition.js +16 -0
  638. package/dist/core/streaming-fetcher/Stream.d.ts +14 -0
  639. package/dist/core/streaming-fetcher/Stream.js +75 -0
  640. package/dist/core/streaming-fetcher/StreamingFetcher.d.ts +24 -0
  641. package/dist/core/streaming-fetcher/StreamingFetcher.js +58 -0
  642. package/dist/core/streaming-fetcher/getHeader.d.ts +2 -0
  643. package/dist/core/streaming-fetcher/getHeader.js +12 -0
  644. package/dist/core/streaming-fetcher/index.d.ts +4 -0
  645. package/dist/core/streaming-fetcher/index.js +9 -0
  646. package/dist/environments.d.ts +7 -0
  647. package/dist/environments.js +9 -0
  648. package/dist/errors/HumeError.d.ts +12 -0
  649. package/dist/errors/HumeError.js +32 -0
  650. package/dist/errors/HumeTimeoutError.d.ts +6 -0
  651. package/dist/errors/HumeTimeoutError.js +13 -0
  652. package/dist/errors/index.d.ts +2 -0
  653. package/dist/errors/index.js +7 -0
  654. package/dist/index.d.ts +6 -0
  655. package/dist/index.js +38 -0
  656. package/dist/serialization/client/getJobPredictions.d.ts +10 -0
  657. package/dist/serialization/client/getJobPredictions.js +40 -0
  658. package/dist/serialization/client/index.d.ts +3 -0
  659. package/dist/serialization/client/index.js +32 -0
  660. package/dist/serialization/client/listJobs.d.ts +10 -0
  661. package/dist/serialization/client/listJobs.js +40 -0
  662. package/dist/serialization/client/requests/BaseRequest.d.ts +16 -0
  663. package/dist/serialization/client/requests/BaseRequest.js +46 -0
  664. package/dist/serialization/client/requests/index.d.ts +1 -0
  665. package/dist/serialization/client/requests/index.js +5 -0
  666. package/dist/serialization/index.d.ts +2 -0
  667. package/dist/serialization/index.js +18 -0
  668. package/dist/serialization/types/Bcp47Tag.d.ts +10 -0
  669. package/dist/serialization/types/Bcp47Tag.js +61 -0
  670. package/dist/serialization/types/BoundingBox.d.ts +15 -0
  671. package/dist/serialization/types/BoundingBox.js +36 -0
  672. package/dist/serialization/types/BurstPrediction.d.ts +14 -0
  673. package/dist/serialization/types/BurstPrediction.js +44 -0
  674. package/dist/serialization/types/BurstResponse.d.ts +12 -0
  675. package/dist/serialization/types/BurstResponse.js +44 -0
  676. package/dist/serialization/types/Completed.d.ts +16 -0
  677. package/dist/serialization/types/Completed.js +37 -0
  678. package/dist/serialization/types/DescriptionsScore.d.ts +13 -0
  679. package/dist/serialization/types/DescriptionsScore.js +34 -0
  680. package/dist/serialization/types/Direction.d.ts +10 -0
  681. package/dist/serialization/types/Direction.js +31 -0
  682. package/dist/serialization/types/EmotionEmbedding.d.ts +10 -0
  683. package/dist/serialization/types/EmotionEmbedding.js +40 -0
  684. package/dist/serialization/types/EmotionEmbeddingItem.d.ts +13 -0
  685. package/dist/serialization/types/EmotionEmbeddingItem.js +34 -0
  686. package/dist/serialization/types/EmotionScore.d.ts +13 -0
  687. package/dist/serialization/types/EmotionScore.js +34 -0
  688. package/dist/serialization/types/Empty.d.ts +10 -0
  689. package/dist/serialization/types/Empty.js +31 -0
  690. package/dist/serialization/types/Error_.d.ts +13 -0
  691. package/dist/serialization/types/Error_.js +34 -0
  692. package/dist/serialization/types/Face.d.ts +18 -0
  693. package/dist/serialization/types/Face.js +48 -0
  694. package/dist/serialization/types/FaceModelConfig.d.ts +17 -0
  695. package/dist/serialization/types/FaceModelConfig.js +38 -0
  696. package/dist/serialization/types/FacePrediction.d.ts +18 -0
  697. package/dist/serialization/types/FacePrediction.js +52 -0
  698. package/dist/serialization/types/FaceResponse.d.ts +12 -0
  699. package/dist/serialization/types/FaceResponse.js +44 -0
  700. package/dist/serialization/types/FacemeshPrediction.d.ts +12 -0
  701. package/dist/serialization/types/FacemeshPrediction.js +42 -0
  702. package/dist/serialization/types/FacemeshResponse.d.ts +12 -0
  703. package/dist/serialization/types/FacemeshResponse.js +44 -0
  704. package/dist/serialization/types/FacsScore.d.ts +13 -0
  705. package/dist/serialization/types/FacsScore.js +34 -0
  706. package/dist/serialization/types/Failed.d.ts +15 -0
  707. package/dist/serialization/types/Failed.js +36 -0
  708. package/dist/serialization/types/File_.d.ts +14 -0
  709. package/dist/serialization/types/File_.js +35 -0
  710. package/dist/serialization/types/Granularity.d.ts +10 -0
  711. package/dist/serialization/types/Granularity.js +31 -0
  712. package/dist/serialization/types/GroupedPredictionsBurstPrediction.d.ts +13 -0
  713. package/dist/serialization/types/GroupedPredictionsBurstPrediction.js +43 -0
  714. package/dist/serialization/types/GroupedPredictionsFacePrediction.d.ts +13 -0
  715. package/dist/serialization/types/GroupedPredictionsFacePrediction.js +43 -0
  716. package/dist/serialization/types/GroupedPredictionsFacemeshPrediction.d.ts +13 -0
  717. package/dist/serialization/types/GroupedPredictionsFacemeshPrediction.js +43 -0
  718. package/dist/serialization/types/GroupedPredictionsLanguagePrediction.d.ts +13 -0
  719. package/dist/serialization/types/GroupedPredictionsLanguagePrediction.js +43 -0
  720. package/dist/serialization/types/GroupedPredictionsNerPrediction.d.ts +13 -0
  721. package/dist/serialization/types/GroupedPredictionsNerPrediction.js +43 -0
  722. package/dist/serialization/types/GroupedPredictionsProsodyPrediction.d.ts +13 -0
  723. package/dist/serialization/types/GroupedPredictionsProsodyPrediction.js +43 -0
  724. package/dist/serialization/types/InProgress.d.ts +13 -0
  725. package/dist/serialization/types/InProgress.js +34 -0
  726. package/dist/serialization/types/JobId.d.ts +12 -0
  727. package/dist/serialization/types/JobId.js +33 -0
  728. package/dist/serialization/types/JobRequest.d.ts +15 -0
  729. package/dist/serialization/types/JobRequest.js +45 -0
  730. package/dist/serialization/types/Language.d.ts +15 -0
  731. package/dist/serialization/types/Language.js +45 -0
  732. package/dist/serialization/types/LanguageConfig.d.ts +14 -0
  733. package/dist/serialization/types/LanguageConfig.js +35 -0
  734. package/dist/serialization/types/LanguagePrediction.d.ts +19 -0
  735. package/dist/serialization/types/LanguagePrediction.js +53 -0
  736. package/dist/serialization/types/LanguageResponse.d.ts +12 -0
  737. package/dist/serialization/types/LanguageResponse.js +44 -0
  738. package/dist/serialization/types/ModelConfig.d.ts +16 -0
  739. package/dist/serialization/types/ModelConfig.js +46 -0
  740. package/dist/serialization/types/ModelResponse.d.ts +16 -0
  741. package/dist/serialization/types/ModelResponse.js +46 -0
  742. package/dist/serialization/types/Models.d.ts +17 -0
  743. package/dist/serialization/types/Models.js +47 -0
  744. package/dist/serialization/types/ModelsError.d.ts +13 -0
  745. package/dist/serialization/types/ModelsError.js +34 -0
  746. package/dist/serialization/types/ModelsInput.d.ts +18 -0
  747. package/dist/serialization/types/ModelsInput.js +48 -0
  748. package/dist/serialization/types/ModelsPredictions.d.ts +17 -0
  749. package/dist/serialization/types/ModelsPredictions.js +59 -0
  750. package/dist/serialization/types/ModelsSuccessBurstPredictionsItem.d.ts +13 -0
  751. package/dist/serialization/types/ModelsSuccessBurstPredictionsItem.js +43 -0
  752. package/dist/serialization/types/ModelsSuccessFacePredictionsItem.d.ts +19 -0
  753. package/dist/serialization/types/ModelsSuccessFacePredictionsItem.js +49 -0
  754. package/dist/serialization/types/ModelsSuccessFacemeshPredictionsItem.d.ts +12 -0
  755. package/dist/serialization/types/ModelsSuccessFacemeshPredictionsItem.js +42 -0
  756. package/dist/serialization/types/ModelsSuccessLanguagePredictionsItem.d.ts +16 -0
  757. package/dist/serialization/types/ModelsSuccessLanguagePredictionsItem.js +46 -0
  758. package/dist/serialization/types/ModelsSuccessProsodyPredictionsItem.d.ts +13 -0
  759. package/dist/serialization/types/ModelsSuccessProsodyPredictionsItem.js +43 -0
  760. package/dist/serialization/types/ModelsWarning.d.ts +13 -0
  761. package/dist/serialization/types/ModelsWarning.js +34 -0
  762. package/dist/serialization/types/Ner.d.ts +12 -0
  763. package/dist/serialization/types/Ner.js +33 -0
  764. package/dist/serialization/types/NerPrediction.d.ts +21 -0
  765. package/dist/serialization/types/NerPrediction.js +51 -0
  766. package/dist/serialization/types/Null.d.ts +10 -0
  767. package/dist/serialization/types/Null.js +31 -0
  768. package/dist/serialization/types/PositionInterval.d.ts +13 -0
  769. package/dist/serialization/types/PositionInterval.js +34 -0
  770. package/dist/serialization/types/Prediction.d.ts +13 -0
  771. package/dist/serialization/types/Prediction.js +43 -0
  772. package/dist/serialization/types/PredictionsOptionalNullBurstPrediction.d.ts +13 -0
  773. package/dist/serialization/types/PredictionsOptionalNullBurstPrediction.js +43 -0
  774. package/dist/serialization/types/PredictionsOptionalNullFacePrediction.d.ts +13 -0
  775. package/dist/serialization/types/PredictionsOptionalNullFacePrediction.js +43 -0
  776. package/dist/serialization/types/PredictionsOptionalNullFacemeshPrediction.d.ts +13 -0
  777. package/dist/serialization/types/PredictionsOptionalNullFacemeshPrediction.js +43 -0
  778. package/dist/serialization/types/PredictionsOptionalTranscriptionMetadataLanguagePrediction.d.ts +13 -0
  779. package/dist/serialization/types/PredictionsOptionalTranscriptionMetadataLanguagePrediction.js +43 -0
  780. package/dist/serialization/types/PredictionsOptionalTranscriptionMetadataNerPrediction.d.ts +13 -0
  781. package/dist/serialization/types/PredictionsOptionalTranscriptionMetadataNerPrediction.js +43 -0
  782. package/dist/serialization/types/PredictionsOptionalTranscriptionMetadataProsodyPrediction.d.ts +13 -0
  783. package/dist/serialization/types/PredictionsOptionalTranscriptionMetadataProsodyPrediction.js +43 -0
  784. package/dist/serialization/types/Prosody.d.ts +14 -0
  785. package/dist/serialization/types/Prosody.js +44 -0
  786. package/dist/serialization/types/ProsodyPrediction.d.ts +16 -0
  787. package/dist/serialization/types/ProsodyPrediction.js +46 -0
  788. package/dist/serialization/types/ProsodyResponse.d.ts +12 -0
  789. package/dist/serialization/types/ProsodyResponse.js +44 -0
  790. package/dist/serialization/types/Queued.d.ts +12 -0
  791. package/dist/serialization/types/Queued.js +33 -0
  792. package/dist/serialization/types/Request.d.ts +17 -0
  793. package/dist/serialization/types/Request.js +47 -0
  794. package/dist/serialization/types/Results.d.ts +13 -0
  795. package/dist/serialization/types/Results.js +43 -0
  796. package/dist/serialization/types/Sentiment.d.ts +10 -0
  797. package/dist/serialization/types/Sentiment.js +40 -0
  798. package/dist/serialization/types/SentimentItem.d.ts +13 -0
  799. package/dist/serialization/types/SentimentItem.js +34 -0
  800. package/dist/serialization/types/SentimentScore.d.ts +13 -0
  801. package/dist/serialization/types/SentimentScore.js +34 -0
  802. package/dist/serialization/types/SortBy.d.ts +10 -0
  803. package/dist/serialization/types/SortBy.js +35 -0
  804. package/dist/serialization/types/Source.d.ts +16 -0
  805. package/dist/serialization/types/Source.js +48 -0
  806. package/dist/serialization/types/SourceFile.d.ts +10 -0
  807. package/dist/serialization/types/SourceFile.js +40 -0
  808. package/dist/serialization/types/SourceResult.d.ts +14 -0
  809. package/dist/serialization/types/SourceResult.js +44 -0
  810. package/dist/serialization/types/SourceUrl.d.ts +10 -0
  811. package/dist/serialization/types/SourceUrl.js +40 -0
  812. package/dist/serialization/types/State.d.ts +22 -0
  813. package/dist/serialization/types/State.js +50 -0
  814. package/dist/serialization/types/StateCompleted.d.ts +10 -0
  815. package/dist/serialization/types/StateCompleted.js +40 -0
  816. package/dist/serialization/types/StateFailed.d.ts +10 -0
  817. package/dist/serialization/types/StateFailed.js +40 -0
  818. package/dist/serialization/types/StateInProgress.d.ts +10 -0
  819. package/dist/serialization/types/StateInProgress.js +40 -0
  820. package/dist/serialization/types/StateQueued.d.ts +10 -0
  821. package/dist/serialization/types/StateQueued.js +40 -0
  822. package/dist/serialization/types/Status.d.ts +10 -0
  823. package/dist/serialization/types/Status.js +36 -0
  824. package/dist/serialization/types/TextPosition.d.ts +13 -0
  825. package/dist/serialization/types/TextPosition.js +34 -0
  826. package/dist/serialization/types/TimeInterval.d.ts +13 -0
  827. package/dist/serialization/types/TimeInterval.js +34 -0
  828. package/dist/serialization/types/TimeRange.d.ts +13 -0
  829. package/dist/serialization/types/TimeRange.js +34 -0
  830. package/dist/serialization/types/Toxicity.d.ts +10 -0
  831. package/dist/serialization/types/Toxicity.js +40 -0
  832. package/dist/serialization/types/ToxicityItem.d.ts +13 -0
  833. package/dist/serialization/types/ToxicityItem.js +34 -0
  834. package/dist/serialization/types/ToxicityScore.d.ts +13 -0
  835. package/dist/serialization/types/ToxicityScore.js +34 -0
  836. package/dist/serialization/types/Transcription.d.ts +12 -0
  837. package/dist/serialization/types/Transcription.js +42 -0
  838. package/dist/serialization/types/TranscriptionMetadata.d.ts +13 -0
  839. package/dist/serialization/types/TranscriptionMetadata.js +43 -0
  840. package/dist/serialization/types/Url.d.ts +12 -0
  841. package/dist/serialization/types/Url.js +33 -0
  842. package/dist/serialization/types/When.d.ts +10 -0
  843. package/dist/serialization/types/When.js +34 -0
  844. package/dist/serialization/types/Window.d.ts +13 -0
  845. package/dist/serialization/types/Window.js +34 -0
  846. package/dist/serialization/types/index.d.ts +89 -0
  847. package/dist/serialization/types/index.js +105 -0
  848. package/dist/wrapper/HumeBatchClient.d.ts +6 -0
  849. package/dist/wrapper/HumeBatchClient.js +26 -0
  850. package/dist/wrapper/HumeStreamingClient.d.ts +23 -0
  851. package/dist/wrapper/HumeStreamingClient.js +125 -0
  852. package/dist/wrapper/Job.d.ts +8 -0
  853. package/dist/wrapper/Job.js +87 -0
  854. package/dist/wrapper/StreamSocket.d.ts +83 -0
  855. package/dist/wrapper/StreamSocket.js +114 -0
  856. package/environments.d.ts +7 -0
  857. package/environments.js +9 -0
  858. package/errors/HumeError.d.ts +12 -0
  859. package/errors/HumeError.js +32 -0
  860. package/errors/HumeTimeoutError.d.ts +6 -0
  861. package/errors/HumeTimeoutError.js +13 -0
  862. package/errors/index.d.ts +2 -0
  863. package/errors/index.js +7 -0
  864. package/index.d.ts +6 -0
  865. package/index.js +38 -0
  866. package/package.json +26 -41
  867. package/serialization/client/getJobPredictions.d.ts +10 -0
  868. package/serialization/client/getJobPredictions.js +40 -0
  869. package/serialization/client/index.d.ts +3 -0
  870. package/serialization/client/index.js +32 -0
  871. package/serialization/client/listJobs.d.ts +10 -0
  872. package/serialization/client/listJobs.js +40 -0
  873. package/serialization/client/requests/BaseRequest.d.ts +16 -0
  874. package/serialization/client/requests/BaseRequest.js +46 -0
  875. package/serialization/client/requests/index.d.ts +1 -0
  876. package/serialization/client/requests/index.js +5 -0
  877. package/serialization/index.d.ts +2 -0
  878. package/serialization/index.js +18 -0
  879. package/serialization/types/Bcp47Tag.d.ts +10 -0
  880. package/serialization/types/Bcp47Tag.js +61 -0
  881. package/serialization/types/BoundingBox.d.ts +15 -0
  882. package/serialization/types/BoundingBox.js +36 -0
  883. package/serialization/types/BurstPrediction.d.ts +14 -0
  884. package/serialization/types/BurstPrediction.js +44 -0
  885. package/serialization/types/BurstResponse.d.ts +12 -0
  886. package/serialization/types/BurstResponse.js +44 -0
  887. package/serialization/types/Completed.d.ts +16 -0
  888. package/serialization/types/Completed.js +37 -0
  889. package/serialization/types/DescriptionsScore.d.ts +13 -0
  890. package/serialization/types/DescriptionsScore.js +34 -0
  891. package/serialization/types/Direction.d.ts +10 -0
  892. package/serialization/types/Direction.js +31 -0
  893. package/serialization/types/EmotionEmbedding.d.ts +10 -0
  894. package/serialization/types/EmotionEmbedding.js +40 -0
  895. package/serialization/types/EmotionEmbeddingItem.d.ts +13 -0
  896. package/serialization/types/EmotionEmbeddingItem.js +34 -0
  897. package/serialization/types/EmotionScore.d.ts +13 -0
  898. package/serialization/types/EmotionScore.js +34 -0
  899. package/serialization/types/Empty.d.ts +10 -0
  900. package/serialization/types/Empty.js +31 -0
  901. package/serialization/types/Error_.d.ts +13 -0
  902. package/serialization/types/Error_.js +34 -0
  903. package/serialization/types/Face.d.ts +18 -0
  904. package/serialization/types/Face.js +48 -0
  905. package/serialization/types/FaceModelConfig.d.ts +17 -0
  906. package/serialization/types/FaceModelConfig.js +38 -0
  907. package/serialization/types/FacePrediction.d.ts +18 -0
  908. package/serialization/types/FacePrediction.js +52 -0
  909. package/serialization/types/FaceResponse.d.ts +12 -0
  910. package/serialization/types/FaceResponse.js +44 -0
  911. package/serialization/types/FacemeshPrediction.d.ts +12 -0
  912. package/serialization/types/FacemeshPrediction.js +42 -0
  913. package/serialization/types/FacemeshResponse.d.ts +12 -0
  914. package/serialization/types/FacemeshResponse.js +44 -0
  915. package/serialization/types/FacsScore.d.ts +13 -0
  916. package/serialization/types/FacsScore.js +34 -0
  917. package/serialization/types/Failed.d.ts +15 -0
  918. package/serialization/types/Failed.js +36 -0
  919. package/serialization/types/File_.d.ts +14 -0
  920. package/serialization/types/File_.js +35 -0
  921. package/serialization/types/Granularity.d.ts +10 -0
  922. package/serialization/types/Granularity.js +31 -0
  923. package/serialization/types/GroupedPredictionsBurstPrediction.d.ts +13 -0
  924. package/serialization/types/GroupedPredictionsBurstPrediction.js +43 -0
  925. package/serialization/types/GroupedPredictionsFacePrediction.d.ts +13 -0
  926. package/serialization/types/GroupedPredictionsFacePrediction.js +43 -0
  927. package/serialization/types/GroupedPredictionsFacemeshPrediction.d.ts +13 -0
  928. package/serialization/types/GroupedPredictionsFacemeshPrediction.js +43 -0
  929. package/serialization/types/GroupedPredictionsLanguagePrediction.d.ts +13 -0
  930. package/serialization/types/GroupedPredictionsLanguagePrediction.js +43 -0
  931. package/serialization/types/GroupedPredictionsNerPrediction.d.ts +13 -0
  932. package/serialization/types/GroupedPredictionsNerPrediction.js +43 -0
  933. package/serialization/types/GroupedPredictionsProsodyPrediction.d.ts +13 -0
  934. package/serialization/types/GroupedPredictionsProsodyPrediction.js +43 -0
  935. package/serialization/types/InProgress.d.ts +13 -0
  936. package/serialization/types/InProgress.js +34 -0
  937. package/serialization/types/JobId.d.ts +12 -0
  938. package/serialization/types/JobId.js +33 -0
  939. package/serialization/types/JobRequest.d.ts +15 -0
  940. package/serialization/types/JobRequest.js +45 -0
  941. package/serialization/types/Language.d.ts +15 -0
  942. package/serialization/types/Language.js +45 -0
  943. package/serialization/types/LanguageConfig.d.ts +14 -0
  944. package/serialization/types/LanguageConfig.js +35 -0
  945. package/serialization/types/LanguagePrediction.d.ts +19 -0
  946. package/serialization/types/LanguagePrediction.js +53 -0
  947. package/serialization/types/LanguageResponse.d.ts +12 -0
  948. package/serialization/types/LanguageResponse.js +44 -0
  949. package/serialization/types/ModelConfig.d.ts +16 -0
  950. package/serialization/types/ModelConfig.js +46 -0
  951. package/serialization/types/ModelResponse.d.ts +16 -0
  952. package/serialization/types/ModelResponse.js +46 -0
  953. package/serialization/types/Models.d.ts +17 -0
  954. package/serialization/types/Models.js +47 -0
  955. package/serialization/types/ModelsError.d.ts +13 -0
  956. package/serialization/types/ModelsError.js +34 -0
  957. package/serialization/types/ModelsInput.d.ts +18 -0
  958. package/serialization/types/ModelsInput.js +48 -0
  959. package/serialization/types/ModelsPredictions.d.ts +17 -0
  960. package/serialization/types/ModelsPredictions.js +59 -0
  961. package/serialization/types/ModelsSuccessBurstPredictionsItem.d.ts +13 -0
  962. package/serialization/types/ModelsSuccessBurstPredictionsItem.js +43 -0
  963. package/serialization/types/ModelsSuccessFacePredictionsItem.d.ts +19 -0
  964. package/serialization/types/ModelsSuccessFacePredictionsItem.js +49 -0
  965. package/serialization/types/ModelsSuccessFacemeshPredictionsItem.d.ts +12 -0
  966. package/serialization/types/ModelsSuccessFacemeshPredictionsItem.js +42 -0
  967. package/serialization/types/ModelsSuccessLanguagePredictionsItem.d.ts +16 -0
  968. package/serialization/types/ModelsSuccessLanguagePredictionsItem.js +46 -0
  969. package/serialization/types/ModelsSuccessProsodyPredictionsItem.d.ts +13 -0
  970. package/serialization/types/ModelsSuccessProsodyPredictionsItem.js +43 -0
  971. package/serialization/types/ModelsWarning.d.ts +13 -0
  972. package/serialization/types/ModelsWarning.js +34 -0
  973. package/serialization/types/Ner.d.ts +12 -0
  974. package/serialization/types/Ner.js +33 -0
  975. package/serialization/types/NerPrediction.d.ts +21 -0
  976. package/serialization/types/NerPrediction.js +51 -0
  977. package/serialization/types/Null.d.ts +10 -0
  978. package/serialization/types/Null.js +31 -0
  979. package/serialization/types/PositionInterval.d.ts +13 -0
  980. package/serialization/types/PositionInterval.js +34 -0
  981. package/serialization/types/Prediction.d.ts +13 -0
  982. package/serialization/types/Prediction.js +43 -0
  983. package/serialization/types/PredictionsOptionalNullBurstPrediction.d.ts +13 -0
  984. package/serialization/types/PredictionsOptionalNullBurstPrediction.js +43 -0
  985. package/serialization/types/PredictionsOptionalNullFacePrediction.d.ts +13 -0
  986. package/serialization/types/PredictionsOptionalNullFacePrediction.js +43 -0
  987. package/serialization/types/PredictionsOptionalNullFacemeshPrediction.d.ts +13 -0
  988. package/serialization/types/PredictionsOptionalNullFacemeshPrediction.js +43 -0
  989. package/serialization/types/PredictionsOptionalTranscriptionMetadataLanguagePrediction.d.ts +13 -0
  990. package/serialization/types/PredictionsOptionalTranscriptionMetadataLanguagePrediction.js +43 -0
  991. package/serialization/types/PredictionsOptionalTranscriptionMetadataNerPrediction.d.ts +13 -0
  992. package/serialization/types/PredictionsOptionalTranscriptionMetadataNerPrediction.js +43 -0
  993. package/serialization/types/PredictionsOptionalTranscriptionMetadataProsodyPrediction.d.ts +13 -0
  994. package/serialization/types/PredictionsOptionalTranscriptionMetadataProsodyPrediction.js +43 -0
  995. package/serialization/types/Prosody.d.ts +14 -0
  996. package/serialization/types/Prosody.js +44 -0
  997. package/serialization/types/ProsodyPrediction.d.ts +16 -0
  998. package/serialization/types/ProsodyPrediction.js +46 -0
  999. package/serialization/types/ProsodyResponse.d.ts +12 -0
  1000. package/serialization/types/ProsodyResponse.js +44 -0
  1001. package/serialization/types/Queued.d.ts +12 -0
  1002. package/serialization/types/Queued.js +33 -0
  1003. package/serialization/types/Request.d.ts +17 -0
  1004. package/serialization/types/Request.js +47 -0
  1005. package/serialization/types/Results.d.ts +13 -0
  1006. package/serialization/types/Results.js +43 -0
  1007. package/serialization/types/Sentiment.d.ts +10 -0
  1008. package/serialization/types/Sentiment.js +40 -0
  1009. package/serialization/types/SentimentItem.d.ts +13 -0
  1010. package/serialization/types/SentimentItem.js +34 -0
  1011. package/serialization/types/SentimentScore.d.ts +13 -0
  1012. package/serialization/types/SentimentScore.js +34 -0
  1013. package/serialization/types/SortBy.d.ts +10 -0
  1014. package/serialization/types/SortBy.js +35 -0
  1015. package/serialization/types/Source.d.ts +16 -0
  1016. package/serialization/types/Source.js +48 -0
  1017. package/serialization/types/SourceFile.d.ts +10 -0
  1018. package/serialization/types/SourceFile.js +40 -0
  1019. package/serialization/types/SourceResult.d.ts +14 -0
  1020. package/serialization/types/SourceResult.js +44 -0
  1021. package/serialization/types/SourceUrl.d.ts +10 -0
  1022. package/serialization/types/SourceUrl.js +40 -0
  1023. package/serialization/types/State.d.ts +22 -0
  1024. package/serialization/types/State.js +50 -0
  1025. package/serialization/types/StateCompleted.d.ts +10 -0
  1026. package/serialization/types/StateCompleted.js +40 -0
  1027. package/serialization/types/StateFailed.d.ts +10 -0
  1028. package/serialization/types/StateFailed.js +40 -0
  1029. package/serialization/types/StateInProgress.d.ts +10 -0
  1030. package/serialization/types/StateInProgress.js +40 -0
  1031. package/serialization/types/StateQueued.d.ts +10 -0
  1032. package/serialization/types/StateQueued.js +40 -0
  1033. package/serialization/types/Status.d.ts +10 -0
  1034. package/serialization/types/Status.js +36 -0
  1035. package/serialization/types/TextPosition.d.ts +13 -0
  1036. package/serialization/types/TextPosition.js +34 -0
  1037. package/serialization/types/TimeInterval.d.ts +13 -0
  1038. package/serialization/types/TimeInterval.js +34 -0
  1039. package/serialization/types/TimeRange.d.ts +13 -0
  1040. package/serialization/types/TimeRange.js +34 -0
  1041. package/serialization/types/Toxicity.d.ts +10 -0
  1042. package/serialization/types/Toxicity.js +40 -0
  1043. package/serialization/types/ToxicityItem.d.ts +13 -0
  1044. package/serialization/types/ToxicityItem.js +34 -0
  1045. package/serialization/types/ToxicityScore.d.ts +13 -0
  1046. package/serialization/types/ToxicityScore.js +34 -0
  1047. package/serialization/types/Transcription.d.ts +12 -0
  1048. package/serialization/types/Transcription.js +42 -0
  1049. package/serialization/types/TranscriptionMetadata.d.ts +13 -0
  1050. package/serialization/types/TranscriptionMetadata.js +43 -0
  1051. package/serialization/types/Url.d.ts +12 -0
  1052. package/serialization/types/Url.js +33 -0
  1053. package/serialization/types/When.d.ts +10 -0
  1054. package/serialization/types/When.js +34 -0
  1055. package/serialization/types/Window.d.ts +13 -0
  1056. package/serialization/types/Window.js +34 -0
  1057. package/serialization/types/index.d.ts +89 -0
  1058. package/serialization/types/index.js +105 -0
  1059. package/wrapper/HumeBatchClient.d.ts +6 -0
  1060. package/wrapper/HumeBatchClient.js +26 -0
  1061. package/wrapper/HumeStreamingClient.d.ts +23 -0
  1062. package/wrapper/HumeStreamingClient.js +125 -0
  1063. package/wrapper/Job.d.ts +8 -0
  1064. package/wrapper/Job.js +87 -0
  1065. package/wrapper/StreamSocket.d.ts +83 -0
  1066. package/wrapper/StreamSocket.js +114 -0
  1067. package/postcss.config.js +0 -7
  1068. package/src/components/HumeWidget.tsx +0 -37
  1069. package/src/index.ts +0 -3
  1070. package/tailwind.config.js +0 -8
  1071. package/tsconfig.json +0 -23
@@ -0,0 +1,24 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Hume from "..";
5
+ export interface LanguagePrediction {
6
+ /** A segment of text (like a word or a sentence). */
7
+ text: string;
8
+ position: Hume.PositionInterval;
9
+ time?: Hume.TimeInterval;
10
+ /** Value between `0.0` and `1.0` that indicates our transcription model’s relative confidence in this text. */
11
+ confidence?: number;
12
+ /** Value between `0.0` and `1.0` that indicates our transcription model’s relative confidence that this text was spoken by this speaker. */
13
+ speakerConfidence?: number;
14
+ /** A high-dimensional embedding in emotion space. */
15
+ emotions: Hume.EmotionScore[];
16
+ /**
17
+ * Sentiment predictions returned as a distribution. This model predicts the probability that a given text could be interpreted as having each sentiment level from `1` (negative) to `9` (positive).
18
+ *
19
+ * Compared to returning one estimate of sentiment, this enables a more nuanced analysis of a text's meaning. For example, a text with very neutral sentiment would have an average rating of `5`. But also a text that could be interpreted as having very positive sentiment or very negative sentiment would also have an average rating of `5`. The average sentiment is less informative than the distribution over sentiment, so this API returns a value for each sentiment level.
20
+ */
21
+ sentiment?: Hume.SentimentScore[];
22
+ /** Toxicity predictions returned as probabilities that the text can be classified into the following categories: `toxic`, `severe_toxic`, `obscene`, `threat`, `insult`, and `identity_hate`. */
23
+ toxicity?: Hume.ToxicityScore[];
24
+ }
@@ -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,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Hume from "..";
5
+ /**
6
+ * Response for the language emotion model.
7
+ */
8
+ export interface LanguageResponse {
9
+ predictions?: Hume.ModelsSuccessLanguagePredictionsItem[];
10
+ }
@@ -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,46 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Hume from "..";
5
+ /**
6
+ * Configuration used to specify which models should be used and with what settings.
7
+ *
8
+ */
9
+ export interface ModelConfig {
10
+ /**
11
+ * Configuration for the vocal burst emotion model.
12
+ *
13
+ * Note: Model configuration is not currently available in streaming.
14
+ *
15
+ * Please use the default configuration by passing an empty object `{}`.
16
+ *
17
+ */
18
+ burst?: Record<string, unknown>;
19
+ /**
20
+ * Configuration for the facial expression emotion model.
21
+ *
22
+ * Note: Using the `reset_stream` parameter does not have any effect on face identification. A single face identifier cache is maintained over a full session whether `reset_stream` is used or not.
23
+ *
24
+ */
25
+ face?: Hume.FaceModelConfig;
26
+ /**
27
+ * Configuration for the facemesh emotion model.
28
+ *
29
+ * Note: Model configuration is not currently available in streaming.
30
+ *
31
+ * Please use the default configuration by passing an empty object `{}`.
32
+ *
33
+ */
34
+ facemesh?: Record<string, unknown>;
35
+ /** Configuration for the language emotion model. */
36
+ language?: Hume.LanguageConfig;
37
+ /**
38
+ * Configuration for the speech prosody emotion model.
39
+ *
40
+ * Note: Model configuration is not currently available in streaming.
41
+ *
42
+ * Please use the default configuration by passing an empty object `{}`.
43
+ *
44
+ */
45
+ prosody?: Record<string, unknown>;
46
+ }
@@ -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,16 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Hume from "..";
5
+ export interface ModelResponse {
6
+ /** Response for the vocal burst emotion model. */
7
+ burst?: Hume.BurstResponse;
8
+ /** Response for the facial expression emotion model. */
9
+ face?: Hume.FaceResponse;
10
+ /** Response for the facemesh emotion model. */
11
+ facemesh?: Hume.FacemeshResponse;
12
+ /** Response for the language emotion model. */
13
+ language?: Hume.LanguageResponse;
14
+ /** Response for the speech prosody emotion model. */
15
+ prosody?: Hume.ProsodyResponse;
16
+ }
@@ -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,12 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Hume from "..";
5
+ export interface Models {
6
+ face?: Hume.Face;
7
+ burst?: Hume.Empty;
8
+ prosody?: Hume.Prosody;
9
+ language?: Hume.Language;
10
+ ner?: Hume.Ner;
11
+ facemesh?: Hume.Empty;
12
+ }
@@ -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,9 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface ModelsError {
5
+ /** Error message text. */
6
+ error?: string;
7
+ /** Unique identifier for the error. */
8
+ code?: string;
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,56 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Hume from "..";
5
+ export interface ModelsInput {
6
+ data?: string;
7
+ /**
8
+ * Configuration used to specify which models should be used and with what settings.
9
+ *
10
+ */
11
+ models?: Hume.ModelConfig;
12
+ /**
13
+ * Length in milliseconds of streaming sliding window.
14
+ *
15
+ * Extending the length of this window will prepend media context from past payloads into the current payload.
16
+ *
17
+ * For example, if on the first payload you send 500ms of data and on the second payload you send an additional 500ms of data, a window of at least 1000ms will allow the model to process all 1000ms of stream data.
18
+ *
19
+ * A window of 600ms would append the full 500ms of the second payload to the last 100ms of the first payload.
20
+ *
21
+ * Note: This feature is currently only supported for audio data and audio models. For other file types and models this parameter will be ignored.
22
+ *
23
+ */
24
+ streamWindowMs?: number;
25
+ /**
26
+ * Whether to reset the streaming sliding window before processing the current payload.
27
+ *
28
+ * If this parameter is set to `true` then past context will be deleted before processing the current payload.
29
+ *
30
+ * Use reset_stream when one audio file is done being processed and you do not want context to leak across files.
31
+ *
32
+ */
33
+ resetStream?: boolean;
34
+ /**
35
+ * Set to `true` to enable the data parameter to be parsed as raw text rather than base64 encoded bytes.
36
+ * This parameter is useful if you want to send text to be processed by the language model, but it cannot be used with other file types like audio, image, or video.
37
+ *
38
+ */
39
+ rawText?: boolean;
40
+ /**
41
+ * Set to `true` to get details about the job.
42
+ *
43
+ * This parameter can be set in the same payload as data or it can be set without data and models configuration to get the job details between payloads.
44
+ *
45
+ * This parameter is useful to get the unique job ID.
46
+ *
47
+ */
48
+ jobDetails?: boolean;
49
+ /**
50
+ * Pass an arbitrary string as the payload ID and get it back at the top level of the socket response.
51
+ *
52
+ * This can be useful if you have multiple requests running asynchronously and want to disambiguate responses as they are received.
53
+ *
54
+ */
55
+ payloadId?: string;
56
+ }
@@ -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,12 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Hume from "..";
5
+ export interface ModelsPredictions {
6
+ face?: Hume.PredictionsOptionalNullFacePrediction;
7
+ burst?: Hume.PredictionsOptionalNullBurstPrediction;
8
+ prosody?: Hume.PredictionsOptionalTranscriptionMetadataProsodyPrediction;
9
+ language?: Hume.PredictionsOptionalTranscriptionMetadataLanguagePrediction;
10
+ ner?: Hume.PredictionsOptionalTranscriptionMetadataNerPrediction;
11
+ facemesh?: Hume.PredictionsOptionalNullFacemeshPrediction;
12
+ }
@@ -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,8 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Hume from "..";
5
+ export interface ModelsSuccessBurstPredictionsItem {
6
+ time?: Hume.TimeRange;
7
+ emotions?: Hume.EmotionEmbedding;
8
+ }
@@ -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,18 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Hume from "..";
5
+ export interface ModelsSuccessFacePredictionsItem {
6
+ /** Frame number */
7
+ frame?: number;
8
+ /** Time in seconds when face detection occurred. */
9
+ time?: number;
10
+ bbox?: Hume.BoundingBox;
11
+ /** The predicted probability that a detected face was actually a face. */
12
+ prob?: number;
13
+ /** Identifier for a face. Not that this defaults to `unknown` unless face identification is enabled in the face model configuration. */
14
+ faceId?: string;
15
+ emotions?: Hume.EmotionEmbedding;
16
+ facs?: Hume.EmotionEmbedding;
17
+ descriptions?: Hume.EmotionEmbedding;
18
+ }
@@ -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,7 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Hume from "..";
5
+ export interface ModelsSuccessFacemeshPredictionsItem {
6
+ emotions?: Hume.EmotionEmbedding;
7
+ }
@@ -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,12 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Hume from "..";
5
+ export interface ModelsSuccessLanguagePredictionsItem {
6
+ /** A segment of text (like a word or a sentence). */
7
+ text?: string;
8
+ position?: Hume.TextPosition;
9
+ emotions?: Hume.EmotionEmbedding;
10
+ sentiment?: Hume.Sentiment;
11
+ toxicity?: Hume.Toxicity;
12
+ }
@@ -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,8 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Hume from "..";
5
+ export interface ModelsSuccessProsodyPredictionsItem {
6
+ time?: Hume.TimeRange;
7
+ emotions?: Hume.EmotionEmbedding;
8
+ }
@@ -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,9 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface ModelsWarning {
5
+ /** Warning message text. */
6
+ warning?: string;
7
+ /** Unique identifier for the error. */
8
+ code?: string;
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,7 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface Ner {
5
+ /** Whether to return identifiers for speakers over time. If `true`, unique identifiers will be assigned to spoken words to differentiate different speakers. If `false`, all speakers will be tagged with an `unknown` ID. */
6
+ identifySpeakers?: boolean;
7
+ }
@@ -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,24 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Hume from "..";
5
+ export interface NerPrediction {
6
+ /** The recognized topic or entity. */
7
+ entity: string;
8
+ position: Hume.PositionInterval;
9
+ /** Our NER model's relative confidence in the recognized topic or entity. */
10
+ entityConfidence: number;
11
+ /** A measure of how often the entity is linked to by other entities. */
12
+ support: number;
13
+ /** A URL which provides more information about the recognized topic or entity. */
14
+ uri: string;
15
+ /** The specific word to which the emotion predictions are linked. */
16
+ linkWord: string;
17
+ time?: Hume.TimeInterval;
18
+ /** Value between `0.0` and `1.0` that indicates our transcription model’s relative confidence in this text. */
19
+ confidence?: number;
20
+ /** Value between `0.0` and `1.0` that indicates our transcription model’s relative confidence that this text was spoken by this speaker. */
21
+ speakerConfidence?: number;
22
+ /** A high-dimensional embedding in emotion space. */
23
+ emotions: Hume.EmotionScore[];
24
+ }
@@ -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,7 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * No associated metadata for this model. Value will be `null`.
6
+ */
7
+ export declare type Null = Record<string, unknown>;
@@ -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,12 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * Position of a segment of text within a larger document, measured in characters. Uses zero-based indexing. The beginning index is inclusive and the end index is exclusive.
6
+ */
7
+ export interface PositionInterval {
8
+ /** The index of the first character in the text segment, inclusive. */
9
+ begin: number;
10
+ /** The index of the last character in the text segment, exclusive. */
11
+ end: number;
12
+ }
@@ -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,9 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Hume from "..";
5
+ export interface Prediction {
6
+ /** A file path relative to the top level source URL or file. */
7
+ file: string;
8
+ models: Hume.ModelsPredictions;
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,8 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Hume from "..";
5
+ export interface PredictionsOptionalNullBurstPrediction {
6
+ metadata?: Hume.Null;
7
+ groupedPredictions: Hume.GroupedPredictionsBurstPrediction[];
8
+ }
@@ -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,8 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Hume from "..";
5
+ export interface PredictionsOptionalNullFacePrediction {
6
+ metadata?: Hume.Null;
7
+ groupedPredictions: Hume.GroupedPredictionsFacePrediction[];
8
+ }
@@ -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,8 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Hume from "..";
5
+ export interface PredictionsOptionalNullFacemeshPrediction {
6
+ metadata?: Hume.Null;
7
+ groupedPredictions: Hume.GroupedPredictionsFacemeshPrediction[];
8
+ }
@@ -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,8 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Hume from "..";
5
+ export interface PredictionsOptionalTranscriptionMetadataLanguagePrediction {
6
+ metadata?: Hume.TranscriptionMetadata;
7
+ groupedPredictions: Hume.GroupedPredictionsLanguagePrediction[];
8
+ }
@@ -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,8 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Hume from "..";
5
+ export interface PredictionsOptionalTranscriptionMetadataNerPrediction {
6
+ metadata?: Hume.TranscriptionMetadata;
7
+ groupedPredictions: Hume.GroupedPredictionsNerPrediction[];
8
+ }
@@ -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,8 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Hume from "..";
5
+ export interface PredictionsOptionalTranscriptionMetadataProsodyPrediction {
6
+ metadata?: Hume.TranscriptionMetadata;
7
+ groupedPredictions: Hume.GroupedPredictionsProsodyPrediction[];
8
+ }
@@ -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,13 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Hume from "..";
5
+ /**
6
+ * NOTE: the `granularity` field is ignored if transcription is not enabled or if the `window` field has been set.
7
+ */
8
+ export interface Prosody {
9
+ granularity?: Hume.Granularity;
10
+ /** Whether to return identifiers for speakers over time. If `true`, unique identifiers will be assigned to spoken words to differentiate different speakers. If `false`, all speakers will be tagged with an `unknown` ID. */
11
+ identifySpeakers?: boolean;
12
+ window?: Hume.Window;
13
+ }
@@ -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
+ import * as Hume from "..";
5
+ export interface ProsodyPrediction {
6
+ /** A segment of text (like a word or a sentence). */
7
+ text?: string;
8
+ time: Hume.TimeInterval;
9
+ /** Value between `0.0` and `1.0` that indicates our transcription model’s relative confidence in this text. */
10
+ confidence?: number;
11
+ /** Value between `0.0` and `1.0` that indicates our transcription model’s relative confidence that this text was spoken by this speaker. */
12
+ speakerConfidence?: number;
13
+ /** A high-dimensional embedding in emotion space. */
14
+ emotions: Hume.EmotionScore[];
15
+ }
@@ -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,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Hume from "..";
5
+ /**
6
+ * Response for the speech prosody emotion model.
7
+ */
8
+ export interface ProsodyResponse {
9
+ predictions?: Hume.ModelsSuccessProsodyPredictionsItem[];
10
+ }
@@ -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 });