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,7 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface Queued {
5
+ /** When this job was created (Unix timestamp in milliseconds). */
6
+ createdTimestampMs: number;
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,19 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Hume from "..";
5
+ export interface Request {
6
+ models?: Hume.Models;
7
+ transcription?: Hume.Transcription;
8
+ /**
9
+ * URLs to the media files to be processed. Each must be a valid public URL to a media file (see recommended input filetypes) or an archive (`.zip`, `.tar.gz`, `.tar.bz2`, `.tar.xz`) of media files.
10
+ *
11
+ * If you wish to supply more than 100 URLs, consider providing them as an archive (`.zip`, `.tar.gz`, `.tar.bz2`, `.tar.xz`).
12
+ */
13
+ urls?: string[];
14
+ /** If provided, a `POST` request will be made to the URL with the generated predictions on completion or the error message on failure. */
15
+ callbackUrl?: string;
16
+ /** Whether to send an email notification to the user upon job completion/failure. */
17
+ notify?: boolean;
18
+ files: Hume.File_[];
19
+ }
@@ -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 Results {
6
+ predictions: Hume.Prediction[];
7
+ errors: Hume.Error_[];
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,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Hume from "..";
5
+ /**
6
+ * 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).
7
+ *
8
+ * 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.
9
+ */
10
+ export declare type Sentiment = Hume.SentimentItem[];
@@ -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 SentimentItem {
5
+ /** Level of sentiment, ranging from 1 (negative) to 9 (positive) */
6
+ name?: string;
7
+ /** Prediction for this level of sentiment */
8
+ score?: number;
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,9 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface SentimentScore {
5
+ /** Level of sentiment, ranging from `1` (negative) to `9` (positive) */
6
+ name: string;
7
+ /** Prediction for this level of sentiment */
8
+ score: 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,9 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export declare type SortBy = "created" | "started" | "ended";
5
+ export declare const SortBy: {
6
+ readonly Created: "created";
7
+ readonly Started: "started";
8
+ readonly Ended: "ended";
9
+ };
@@ -0,0 +1,11 @@
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.SortBy = void 0;
7
+ exports.SortBy = {
8
+ Created: "created",
9
+ Started: "started",
10
+ Ended: "ended",
11
+ };
@@ -0,0 +1,13 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Hume from "..";
5
+ export declare type Source = Hume.Source.Url | Hume.Source.File_;
6
+ export declare namespace Source {
7
+ interface Url extends Hume.Url {
8
+ type: "url";
9
+ }
10
+ interface File_ extends Hume.File_ {
11
+ type: "file";
12
+ }
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,5 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Hume from "..";
5
+ export declare type SourceFile = Hume.File_;
@@ -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
+ export interface SourceResult {
6
+ source: Hume.Source;
7
+ results?: Hume.Results;
8
+ /** An error message. */
9
+ error?: string;
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,5 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Hume from "..";
5
+ export declare type SourceUrl = Hume.Url;
@@ -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,19 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Hume from "..";
5
+ export declare type State = Hume.State.Queued | Hume.State.InProgress | Hume.State.Completed | Hume.State.Failed;
6
+ export declare namespace State {
7
+ interface Queued extends Hume.Queued {
8
+ status: "QUEUED";
9
+ }
10
+ interface InProgress extends Hume.InProgress {
11
+ status: "IN_PROGRESS";
12
+ }
13
+ interface Completed extends Hume.Completed {
14
+ status: "COMPLETED";
15
+ }
16
+ interface Failed extends Hume.Failed {
17
+ status: "FAILED";
18
+ }
19
+ }
@@ -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,5 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Hume from "..";
5
+ export declare type StateCompleted = Hume.Completed;
@@ -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,5 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Hume from "..";
5
+ export declare type StateFailed = Hume.Failed;
@@ -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,5 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Hume from "..";
5
+ export declare type StateInProgress = Hume.InProgress;
@@ -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,5 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Hume from "..";
5
+ export declare type StateQueued = Hume.Queued;
@@ -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
+ export declare type Status = "QUEUED" | "IN_PROGRESS" | "COMPLETED" | "FAILED";
5
+ export declare const Status: {
6
+ readonly Queued: "QUEUED";
7
+ readonly InProgress: "IN_PROGRESS";
8
+ readonly Completed: "COMPLETED";
9
+ readonly Failed: "FAILED";
10
+ };
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.Status = void 0;
7
+ exports.Status = {
8
+ Queued: "QUEUED",
9
+ InProgress: "IN_PROGRESS",
10
+ Completed: "COMPLETED",
11
+ Failed: "FAILED",
12
+ };
@@ -0,0 +1,13 @@
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
+ */
8
+ export interface TextPosition {
9
+ /** The index of the first character in the text segment, inclusive. */
10
+ begin?: number;
11
+ /** The index of the last character in the text segment, exclusive. */
12
+ end?: number;
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,12 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * A time range with a beginning and end, measured in seconds.
6
+ */
7
+ export interface TimeInterval {
8
+ /** Beginning of time range in seconds. */
9
+ begin: number;
10
+ /** End of time range in seconds. */
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,12 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * A time range with a beginning and end, measured in seconds.
6
+ */
7
+ export interface TimeRange {
8
+ /** Beginning of time range in seconds. */
9
+ begin?: number;
10
+ /** End of time range in seconds. */
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,8 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Hume from "..";
5
+ /**
6
+ * Toxicity predictions returned as probabilities that the text can be classified into the following categories: toxic, severe_toxic, obscene, threat, insult, and identity_hate.
7
+ */
8
+ export declare type Toxicity = Hume.ToxicityItem[];
@@ -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 ToxicityItem {
5
+ /** Category of toxicity. */
6
+ name?: string;
7
+ /** Prediction for this category of toxicity */
8
+ score?: number;
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,9 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface ToxicityScore {
5
+ /** Category of toxicity. */
6
+ name: string;
7
+ /** Prediction for this category of toxicity */
8
+ score: 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
+ import * as Hume from "..";
5
+ export interface Transcription {
6
+ language?: Hume.Bcp47Tag;
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
+ /**
6
+ * Transcription metadata for your media file.
7
+ */
8
+ export interface TranscriptionMetadata {
9
+ /** Value between `0.0` and `1.0` indicating our transcription model’s relative confidence in the transcription of your media file. */
10
+ confidence: number;
11
+ detectedLanguage?: Hume.Bcp47Tag;
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,7 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface Url {
5
+ /** The URL of the source media file. */
6
+ url: string;
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,8 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export declare type When = "created_before" | "created_after";
5
+ export declare const When: {
6
+ readonly CreatedBefore: "created_before";
7
+ readonly CreatedAfter: "created_after";
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.When = void 0;
7
+ exports.When = {
8
+ CreatedBefore: "created_before",
9
+ CreatedAfter: "created_after",
10
+ };
@@ -0,0 +1,9 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface Window {
5
+ /** The length of the sliding window. */
6
+ length?: number;
7
+ /** The step size of the sliding window. */
8
+ step?: number;
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,89 @@
1
+ export * from "./Bcp47Tag";
2
+ export * from "./BoundingBox";
3
+ export * from "./BurstPrediction";
4
+ export * from "./Completed";
5
+ export * from "./DescriptionsScore";
6
+ export * from "./Direction";
7
+ export * from "./EmotionScore";
8
+ export * from "./Empty";
9
+ export * from "./Error_";
10
+ export * from "./Face";
11
+ export * from "./FacePrediction";
12
+ export * from "./FacemeshPrediction";
13
+ export * from "./FacsScore";
14
+ export * from "./Failed";
15
+ export * from "./File_";
16
+ export * from "./Granularity";
17
+ export * from "./GroupedPredictionsBurstPrediction";
18
+ export * from "./GroupedPredictionsFacePrediction";
19
+ export * from "./GroupedPredictionsFacemeshPrediction";
20
+ export * from "./GroupedPredictionsLanguagePrediction";
21
+ export * from "./GroupedPredictionsNerPrediction";
22
+ export * from "./GroupedPredictionsProsodyPrediction";
23
+ export * from "./InProgress";
24
+ export * from "./JobRequest";
25
+ export * from "./JobId";
26
+ export * from "./Language";
27
+ export * from "./LanguagePrediction";
28
+ export * from "./Models";
29
+ export * from "./ModelsPredictions";
30
+ export * from "./Ner";
31
+ export * from "./NerPrediction";
32
+ export * from "./Null";
33
+ export * from "./PositionInterval";
34
+ export * from "./Prediction";
35
+ export * from "./PredictionsOptionalNullBurstPrediction";
36
+ export * from "./PredictionsOptionalNullFacePrediction";
37
+ export * from "./PredictionsOptionalNullFacemeshPrediction";
38
+ export * from "./PredictionsOptionalTranscriptionMetadataLanguagePrediction";
39
+ export * from "./PredictionsOptionalTranscriptionMetadataNerPrediction";
40
+ export * from "./PredictionsOptionalTranscriptionMetadataProsodyPrediction";
41
+ export * from "./Prosody";
42
+ export * from "./ProsodyPrediction";
43
+ export * from "./Queued";
44
+ export * from "./Request";
45
+ export * from "./Results";
46
+ export * from "./SentimentScore";
47
+ export * from "./SortBy";
48
+ export * from "./Source";
49
+ export * from "./SourceResult";
50
+ export * from "./SourceFile";
51
+ export * from "./SourceUrl";
52
+ export * from "./State";
53
+ export * from "./StateCompleted";
54
+ export * from "./StateFailed";
55
+ export * from "./StateInProgress";
56
+ export * from "./StateQueued";
57
+ export * from "./Status";
58
+ export * from "./TimeInterval";
59
+ export * from "./ToxicityScore";
60
+ export * from "./Transcription";
61
+ export * from "./TranscriptionMetadata";
62
+ export * from "./Url";
63
+ export * from "./When";
64
+ export * from "./Window";
65
+ export * from "./ModelsInput";
66
+ export * from "./ModelConfig";
67
+ export * from "./FaceModelConfig";
68
+ export * from "./LanguageConfig";
69
+ export * from "./ModelResponse";
70
+ export * from "./BurstResponse";
71
+ export * from "./ModelsSuccessBurstPredictionsItem";
72
+ export * from "./FaceResponse";
73
+ export * from "./ModelsSuccessFacePredictionsItem";
74
+ export * from "./FacemeshResponse";
75
+ export * from "./ModelsSuccessFacemeshPredictionsItem";
76
+ export * from "./LanguageResponse";
77
+ export * from "./ModelsSuccessLanguagePredictionsItem";
78
+ export * from "./ProsodyResponse";
79
+ export * from "./ModelsSuccessProsodyPredictionsItem";
80
+ export * from "./ModelsError";
81
+ export * from "./ModelsWarning";
82
+ export * from "./EmotionEmbedding";
83
+ export * from "./EmotionEmbeddingItem";
84
+ export * from "./TimeRange";
85
+ export * from "./TextPosition";
86
+ export * from "./Sentiment";
87
+ export * from "./SentimentItem";
88
+ export * from "./Toxicity";
89
+ export * from "./ToxicityItem";