hume 0.5.17 → 0.6.1

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 (182) hide show
  1. package/.mock/definition/api.yml +12 -0
  2. package/.mock/definition/custom-models/__package__.yml +1392 -0
  3. package/.mock/definition/custom-models/datasets.yml +406 -0
  4. package/.mock/definition/custom-models/files.yml +263 -0
  5. package/.mock/definition/custom-models/jobs.yml +44 -0
  6. package/.mock/definition/custom-models/models.yml +303 -0
  7. package/.mock/definition/empathic-voice/__package__.yml +896 -0
  8. package/.mock/definition/empathic-voice/chat.yml +59 -0
  9. package/.mock/definition/empathic-voice/chatGroups.yml +80 -0
  10. package/.mock/definition/empathic-voice/chats.yml +86 -0
  11. package/.mock/definition/empathic-voice/configs.yml +413 -0
  12. package/.mock/definition/empathic-voice/prompts.yml +265 -0
  13. package/.mock/definition/empathic-voice/tools.yml +398 -0
  14. package/.mock/definition/expression-measurement/__package__.yml +1122 -0
  15. package/.mock/definition/expression-measurement/batch.yml +352 -0
  16. package/.mock/definition/expression-measurement/stream.yml +362 -0
  17. package/.mock/fern.config.json +4 -0
  18. package/Client.d.ts +1 -0
  19. package/api/resources/customModels/client/Client.d.ts +1 -0
  20. package/api/resources/customModels/resources/datasets/client/Client.d.ts +1 -0
  21. package/api/resources/customModels/resources/datasets/client/Client.js +38 -30
  22. package/api/resources/customModels/resources/files/client/Client.d.ts +1 -0
  23. package/api/resources/customModels/resources/files/client/Client.js +26 -20
  24. package/api/resources/customModels/resources/jobs/client/Client.d.ts +1 -0
  25. package/api/resources/customModels/resources/jobs/client/Client.js +6 -4
  26. package/api/resources/customModels/resources/models/client/Client.d.ts +1 -0
  27. package/api/resources/customModels/resources/models/client/Client.js +18 -12
  28. package/api/resources/empathicVoice/client/Client.d.ts +4 -0
  29. package/api/resources/empathicVoice/client/Client.js +5 -0
  30. package/api/resources/empathicVoice/resources/chat/types/SubscribeEvent.d.ts +1 -1
  31. package/api/resources/empathicVoice/resources/chatGroups/client/Client.d.ts +42 -0
  32. package/api/resources/empathicVoice/resources/chatGroups/client/Client.js +178 -0
  33. package/api/resources/empathicVoice/resources/chatGroups/client/index.d.ts +1 -0
  34. package/api/resources/empathicVoice/resources/chatGroups/client/index.js +17 -0
  35. package/api/resources/empathicVoice/resources/chatGroups/client/requests/ChatGroupsListChatGroupEventsRequest.d.ts +21 -0
  36. package/api/resources/empathicVoice/resources/chatGroups/client/requests/ChatGroupsListChatGroupEventsRequest.js +5 -0
  37. package/api/resources/empathicVoice/resources/chatGroups/client/requests/ChatGroupsListChatGroupsRequest.d.ts +17 -0
  38. package/api/resources/empathicVoice/resources/chatGroups/client/requests/ChatGroupsListChatGroupsRequest.js +5 -0
  39. package/api/resources/empathicVoice/resources/chatGroups/client/requests/index.d.ts +2 -0
  40. package/api/resources/empathicVoice/resources/chatGroups/client/requests/index.js +2 -0
  41. package/api/resources/empathicVoice/resources/chatGroups/index.d.ts +1 -0
  42. package/api/resources/empathicVoice/resources/chatGroups/index.js +17 -0
  43. package/api/resources/empathicVoice/resources/chats/client/Client.d.ts +1 -0
  44. package/api/resources/empathicVoice/resources/chats/client/Client.js +6 -4
  45. package/api/resources/empathicVoice/resources/configs/client/Client.d.ts +1 -0
  46. package/api/resources/empathicVoice/resources/configs/client/Client.js +27 -18
  47. package/api/resources/empathicVoice/resources/index.d.ts +2 -0
  48. package/api/resources/empathicVoice/resources/index.js +3 -1
  49. package/api/resources/empathicVoice/resources/prompts/client/Client.d.ts +1 -0
  50. package/api/resources/empathicVoice/resources/prompts/client/Client.js +27 -18
  51. package/api/resources/empathicVoice/resources/tools/client/Client.d.ts +1 -0
  52. package/api/resources/empathicVoice/resources/tools/client/Client.js +27 -18
  53. package/api/resources/empathicVoice/types/AssistantMessage.d.ts +1 -1
  54. package/api/resources/empathicVoice/types/ChatMetadata.d.ts +15 -0
  55. package/api/resources/empathicVoice/types/ChatMetadata.js +5 -0
  56. package/api/resources/empathicVoice/types/ReturnChat.d.ts +2 -0
  57. package/api/resources/empathicVoice/types/ReturnChatEvent.d.ts +2 -0
  58. package/api/resources/empathicVoice/types/ReturnChatGroup.d.ts +19 -0
  59. package/api/resources/empathicVoice/types/ReturnChatGroup.js +5 -0
  60. package/api/resources/empathicVoice/types/ReturnChatGroupPagedChats.d.ts +24 -0
  61. package/api/resources/empathicVoice/types/ReturnChatGroupPagedChats.js +5 -0
  62. package/api/resources/empathicVoice/types/ReturnChatGroupPagedEvents.d.ts +19 -0
  63. package/api/resources/empathicVoice/types/ReturnChatGroupPagedEvents.js +5 -0
  64. package/api/resources/empathicVoice/types/ReturnChatPagedEvents.d.ts +2 -0
  65. package/api/resources/empathicVoice/types/ReturnPagedChatGroups.d.ts +15 -0
  66. package/api/resources/empathicVoice/types/ReturnPagedChatGroups.js +5 -0
  67. package/api/resources/empathicVoice/types/index.d.ts +5 -0
  68. package/api/resources/empathicVoice/types/index.js +5 -0
  69. package/api/resources/expressionMeasurement/client/Client.d.ts +1 -0
  70. package/api/resources/expressionMeasurement/resources/batch/client/Client.d.ts +1 -0
  71. package/api/resources/expressionMeasurement/resources/batch/client/Client.js +17 -12
  72. package/core/fetcher/Fetcher.d.ts +1 -0
  73. package/core/fetcher/Fetcher.js +106 -20
  74. package/core/form-data-utils/FormDataWrapper.d.ts +24 -0
  75. package/core/form-data-utils/FormDataWrapper.js +106 -0
  76. package/core/form-data-utils/index.d.ts +1 -0
  77. package/core/form-data-utils/index.js +17 -0
  78. package/core/index.d.ts +1 -0
  79. package/core/index.js +1 -0
  80. package/dist/Client.d.ts +1 -0
  81. package/dist/api/resources/customModels/client/Client.d.ts +1 -0
  82. package/dist/api/resources/customModels/resources/datasets/client/Client.d.ts +1 -0
  83. package/dist/api/resources/customModels/resources/datasets/client/Client.js +38 -30
  84. package/dist/api/resources/customModels/resources/files/client/Client.d.ts +1 -0
  85. package/dist/api/resources/customModels/resources/files/client/Client.js +26 -20
  86. package/dist/api/resources/customModels/resources/jobs/client/Client.d.ts +1 -0
  87. package/dist/api/resources/customModels/resources/jobs/client/Client.js +6 -4
  88. package/dist/api/resources/customModels/resources/models/client/Client.d.ts +1 -0
  89. package/dist/api/resources/customModels/resources/models/client/Client.js +18 -12
  90. package/dist/api/resources/empathicVoice/client/Client.d.ts +4 -0
  91. package/dist/api/resources/empathicVoice/client/Client.js +5 -0
  92. package/dist/api/resources/empathicVoice/resources/chat/types/SubscribeEvent.d.ts +1 -1
  93. package/dist/api/resources/empathicVoice/resources/chatGroups/client/Client.d.ts +42 -0
  94. package/dist/api/resources/empathicVoice/resources/chatGroups/client/Client.js +178 -0
  95. package/dist/api/resources/empathicVoice/resources/chatGroups/client/index.d.ts +1 -0
  96. package/dist/api/resources/empathicVoice/resources/chatGroups/client/index.js +17 -0
  97. package/dist/api/resources/empathicVoice/resources/chatGroups/client/requests/ChatGroupsListChatGroupEventsRequest.d.ts +21 -0
  98. package/dist/api/resources/empathicVoice/resources/chatGroups/client/requests/ChatGroupsListChatGroupEventsRequest.js +5 -0
  99. package/dist/api/resources/empathicVoice/resources/chatGroups/client/requests/ChatGroupsListChatGroupsRequest.d.ts +17 -0
  100. package/dist/api/resources/empathicVoice/resources/chatGroups/client/requests/ChatGroupsListChatGroupsRequest.js +5 -0
  101. package/dist/api/resources/empathicVoice/resources/chatGroups/client/requests/index.d.ts +2 -0
  102. package/dist/api/resources/empathicVoice/resources/chatGroups/client/requests/index.js +2 -0
  103. package/dist/api/resources/empathicVoice/resources/chatGroups/index.d.ts +1 -0
  104. package/dist/api/resources/empathicVoice/resources/chatGroups/index.js +17 -0
  105. package/dist/api/resources/empathicVoice/resources/chats/client/Client.d.ts +1 -0
  106. package/dist/api/resources/empathicVoice/resources/chats/client/Client.js +6 -4
  107. package/dist/api/resources/empathicVoice/resources/configs/client/Client.d.ts +1 -0
  108. package/dist/api/resources/empathicVoice/resources/configs/client/Client.js +27 -18
  109. package/dist/api/resources/empathicVoice/resources/index.d.ts +2 -0
  110. package/dist/api/resources/empathicVoice/resources/index.js +3 -1
  111. package/dist/api/resources/empathicVoice/resources/prompts/client/Client.d.ts +1 -0
  112. package/dist/api/resources/empathicVoice/resources/prompts/client/Client.js +27 -18
  113. package/dist/api/resources/empathicVoice/resources/tools/client/Client.d.ts +1 -0
  114. package/dist/api/resources/empathicVoice/resources/tools/client/Client.js +27 -18
  115. package/dist/api/resources/empathicVoice/types/AssistantMessage.d.ts +1 -1
  116. package/dist/api/resources/empathicVoice/types/ChatMetadata.d.ts +15 -0
  117. package/dist/api/resources/empathicVoice/types/ChatMetadata.js +5 -0
  118. package/dist/api/resources/empathicVoice/types/ReturnChat.d.ts +2 -0
  119. package/dist/api/resources/empathicVoice/types/ReturnChatEvent.d.ts +2 -0
  120. package/dist/api/resources/empathicVoice/types/ReturnChatGroup.d.ts +19 -0
  121. package/dist/api/resources/empathicVoice/types/ReturnChatGroup.js +5 -0
  122. package/dist/api/resources/empathicVoice/types/ReturnChatGroupPagedChats.d.ts +24 -0
  123. package/dist/api/resources/empathicVoice/types/ReturnChatGroupPagedChats.js +5 -0
  124. package/dist/api/resources/empathicVoice/types/ReturnChatGroupPagedEvents.d.ts +19 -0
  125. package/dist/api/resources/empathicVoice/types/ReturnChatGroupPagedEvents.js +5 -0
  126. package/dist/api/resources/empathicVoice/types/ReturnChatPagedEvents.d.ts +2 -0
  127. package/dist/api/resources/empathicVoice/types/ReturnPagedChatGroups.d.ts +15 -0
  128. package/dist/api/resources/empathicVoice/types/ReturnPagedChatGroups.js +5 -0
  129. package/dist/api/resources/empathicVoice/types/index.d.ts +5 -0
  130. package/dist/api/resources/empathicVoice/types/index.js +5 -0
  131. package/dist/api/resources/expressionMeasurement/client/Client.d.ts +1 -0
  132. package/dist/api/resources/expressionMeasurement/resources/batch/client/Client.d.ts +1 -0
  133. package/dist/api/resources/expressionMeasurement/resources/batch/client/Client.js +17 -12
  134. package/dist/core/fetcher/Fetcher.d.ts +1 -0
  135. package/dist/core/fetcher/Fetcher.js +106 -20
  136. package/dist/core/form-data-utils/FormDataWrapper.d.ts +24 -0
  137. package/dist/core/form-data-utils/FormDataWrapper.js +106 -0
  138. package/dist/core/form-data-utils/index.d.ts +1 -0
  139. package/dist/core/form-data-utils/index.js +17 -0
  140. package/dist/core/index.d.ts +1 -0
  141. package/dist/core/index.js +1 -0
  142. package/dist/serialization/resources/empathicVoice/resources/chat/types/SubscribeEvent.d.ts +2 -1
  143. package/dist/serialization/resources/empathicVoice/resources/chat/types/SubscribeEvent.js +2 -0
  144. package/dist/serialization/resources/empathicVoice/types/ChatMetadata.d.ts +15 -0
  145. package/dist/serialization/resources/empathicVoice/types/ChatMetadata.js +36 -0
  146. package/dist/serialization/resources/empathicVoice/types/ReturnChat.d.ts +1 -0
  147. package/dist/serialization/resources/empathicVoice/types/ReturnChat.js +1 -0
  148. package/dist/serialization/resources/empathicVoice/types/ReturnChatEvent.d.ts +1 -0
  149. package/dist/serialization/resources/empathicVoice/types/ReturnChatEvent.js +1 -0
  150. package/dist/serialization/resources/empathicVoice/types/ReturnChatGroup.d.ts +17 -0
  151. package/dist/serialization/resources/empathicVoice/types/ReturnChatGroup.js +38 -0
  152. package/dist/serialization/resources/empathicVoice/types/ReturnChatGroupPagedChats.d.ts +20 -0
  153. package/dist/serialization/resources/empathicVoice/types/ReturnChatGroupPagedChats.js +41 -0
  154. package/dist/serialization/resources/empathicVoice/types/ReturnChatGroupPagedEvents.d.ts +17 -0
  155. package/dist/serialization/resources/empathicVoice/types/ReturnChatGroupPagedEvents.js +38 -0
  156. package/dist/serialization/resources/empathicVoice/types/ReturnChatPagedEvents.d.ts +1 -0
  157. package/dist/serialization/resources/empathicVoice/types/ReturnChatPagedEvents.js +1 -0
  158. package/dist/serialization/resources/empathicVoice/types/ReturnPagedChatGroups.d.ts +15 -0
  159. package/dist/serialization/resources/empathicVoice/types/ReturnPagedChatGroups.js +36 -0
  160. package/dist/serialization/resources/empathicVoice/types/index.d.ts +5 -0
  161. package/dist/serialization/resources/empathicVoice/types/index.js +5 -0
  162. package/package.json +3 -1
  163. package/serialization/resources/empathicVoice/resources/chat/types/SubscribeEvent.d.ts +2 -1
  164. package/serialization/resources/empathicVoice/resources/chat/types/SubscribeEvent.js +2 -0
  165. package/serialization/resources/empathicVoice/types/ChatMetadata.d.ts +15 -0
  166. package/serialization/resources/empathicVoice/types/ChatMetadata.js +36 -0
  167. package/serialization/resources/empathicVoice/types/ReturnChat.d.ts +1 -0
  168. package/serialization/resources/empathicVoice/types/ReturnChat.js +1 -0
  169. package/serialization/resources/empathicVoice/types/ReturnChatEvent.d.ts +1 -0
  170. package/serialization/resources/empathicVoice/types/ReturnChatEvent.js +1 -0
  171. package/serialization/resources/empathicVoice/types/ReturnChatGroup.d.ts +17 -0
  172. package/serialization/resources/empathicVoice/types/ReturnChatGroup.js +38 -0
  173. package/serialization/resources/empathicVoice/types/ReturnChatGroupPagedChats.d.ts +20 -0
  174. package/serialization/resources/empathicVoice/types/ReturnChatGroupPagedChats.js +41 -0
  175. package/serialization/resources/empathicVoice/types/ReturnChatGroupPagedEvents.d.ts +17 -0
  176. package/serialization/resources/empathicVoice/types/ReturnChatGroupPagedEvents.js +38 -0
  177. package/serialization/resources/empathicVoice/types/ReturnChatPagedEvents.d.ts +1 -0
  178. package/serialization/resources/empathicVoice/types/ReturnChatPagedEvents.js +1 -0
  179. package/serialization/resources/empathicVoice/types/ReturnPagedChatGroups.d.ts +15 -0
  180. package/serialization/resources/empathicVoice/types/ReturnPagedChatGroups.js +36 -0
  181. package/serialization/resources/empathicVoice/types/index.d.ts +5 -0
  182. package/serialization/resources/empathicVoice/types/index.js +5 -0
@@ -0,0 +1,12 @@
1
+ name: api
2
+ auth: HeaderAuthScheme
3
+ auth-schemes:
4
+ HeaderAuthScheme:
5
+ name: apiKey
6
+ header: X-Hume-Api-Key
7
+ type: optional<string>
8
+ default-environment: Production
9
+ environments:
10
+ Production: https://api.hume.ai
11
+ error-discrimination:
12
+ strategy: status-code