hume 0.6.0 → 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 (156) 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 +3 -3
  19. package/Client.js +6 -6
  20. package/api/resources/customModels/resources/datasets/client/Client.js +9 -9
  21. package/api/resources/customModels/resources/files/client/Client.js +7 -7
  22. package/api/resources/customModels/resources/jobs/client/Client.js +2 -2
  23. package/api/resources/customModels/resources/models/client/Client.js +6 -6
  24. package/api/resources/empathicVoice/client/Client.d.ts +3 -0
  25. package/api/resources/empathicVoice/client/Client.js +5 -0
  26. package/api/resources/empathicVoice/resources/chat/types/SubscribeEvent.d.ts +1 -1
  27. package/api/resources/empathicVoice/resources/chatGroups/client/Client.d.ts +42 -0
  28. package/api/resources/empathicVoice/resources/chatGroups/client/Client.js +178 -0
  29. package/api/resources/empathicVoice/resources/chatGroups/client/index.d.ts +1 -0
  30. package/api/resources/empathicVoice/resources/chatGroups/client/index.js +17 -0
  31. package/api/resources/empathicVoice/resources/chatGroups/client/requests/ChatGroupsListChatGroupEventsRequest.d.ts +21 -0
  32. package/api/resources/empathicVoice/resources/chatGroups/client/requests/ChatGroupsListChatGroupEventsRequest.js +5 -0
  33. package/api/resources/empathicVoice/resources/chatGroups/client/requests/ChatGroupsListChatGroupsRequest.d.ts +17 -0
  34. package/api/resources/empathicVoice/resources/chatGroups/client/requests/ChatGroupsListChatGroupsRequest.js +5 -0
  35. package/api/resources/empathicVoice/resources/chatGroups/client/requests/index.d.ts +2 -0
  36. package/api/resources/empathicVoice/resources/chatGroups/client/requests/index.js +2 -0
  37. package/api/resources/empathicVoice/resources/chatGroups/index.d.ts +1 -0
  38. package/api/resources/empathicVoice/resources/chatGroups/index.js +17 -0
  39. package/api/resources/empathicVoice/resources/chats/client/Client.js +2 -2
  40. package/api/resources/empathicVoice/resources/configs/client/Client.js +9 -9
  41. package/api/resources/empathicVoice/resources/index.d.ts +2 -0
  42. package/api/resources/empathicVoice/resources/index.js +3 -1
  43. package/api/resources/empathicVoice/resources/prompts/client/Client.js +9 -9
  44. package/api/resources/empathicVoice/resources/tools/client/Client.js +9 -9
  45. package/api/resources/empathicVoice/types/AssistantMessage.d.ts +1 -1
  46. package/api/resources/empathicVoice/types/ChatMetadata.d.ts +15 -0
  47. package/api/resources/empathicVoice/types/ChatMetadata.js +5 -0
  48. package/api/resources/empathicVoice/types/ReturnChat.d.ts +2 -0
  49. package/api/resources/empathicVoice/types/ReturnChatEvent.d.ts +2 -0
  50. package/api/resources/empathicVoice/types/ReturnChatGroup.d.ts +19 -0
  51. package/api/resources/empathicVoice/types/ReturnChatGroup.js +5 -0
  52. package/api/resources/empathicVoice/types/ReturnChatGroupPagedChats.d.ts +24 -0
  53. package/api/resources/empathicVoice/types/ReturnChatGroupPagedChats.js +5 -0
  54. package/api/resources/empathicVoice/types/ReturnChatGroupPagedEvents.d.ts +19 -0
  55. package/api/resources/empathicVoice/types/ReturnChatGroupPagedEvents.js +5 -0
  56. package/api/resources/empathicVoice/types/ReturnChatPagedEvents.d.ts +2 -0
  57. package/api/resources/empathicVoice/types/ReturnPagedChatGroups.d.ts +15 -0
  58. package/api/resources/empathicVoice/types/ReturnPagedChatGroups.js +5 -0
  59. package/api/resources/empathicVoice/types/index.d.ts +5 -0
  60. package/api/resources/empathicVoice/types/index.js +5 -0
  61. package/api/resources/expressionMeasurement/resources/batch/client/Client.js +6 -6
  62. package/api/resources/index.d.ts +1 -1
  63. package/api/resources/index.js +2 -2
  64. package/core/form-data-utils/FormDataWrapper.js +2 -1
  65. package/dist/Client.d.ts +3 -3
  66. package/dist/Client.js +6 -6
  67. package/dist/api/resources/customModels/resources/datasets/client/Client.js +9 -9
  68. package/dist/api/resources/customModels/resources/files/client/Client.js +7 -7
  69. package/dist/api/resources/customModels/resources/jobs/client/Client.js +2 -2
  70. package/dist/api/resources/customModels/resources/models/client/Client.js +6 -6
  71. package/dist/api/resources/empathicVoice/client/Client.d.ts +3 -0
  72. package/dist/api/resources/empathicVoice/client/Client.js +5 -0
  73. package/dist/api/resources/empathicVoice/resources/chat/types/SubscribeEvent.d.ts +1 -1
  74. package/dist/api/resources/empathicVoice/resources/chatGroups/client/Client.d.ts +42 -0
  75. package/dist/api/resources/empathicVoice/resources/chatGroups/client/Client.js +178 -0
  76. package/dist/api/resources/empathicVoice/resources/chatGroups/client/index.d.ts +1 -0
  77. package/dist/api/resources/empathicVoice/resources/chatGroups/client/index.js +17 -0
  78. package/dist/api/resources/empathicVoice/resources/chatGroups/client/requests/ChatGroupsListChatGroupEventsRequest.d.ts +21 -0
  79. package/dist/api/resources/empathicVoice/resources/chatGroups/client/requests/ChatGroupsListChatGroupEventsRequest.js +5 -0
  80. package/dist/api/resources/empathicVoice/resources/chatGroups/client/requests/ChatGroupsListChatGroupsRequest.d.ts +17 -0
  81. package/dist/api/resources/empathicVoice/resources/chatGroups/client/requests/ChatGroupsListChatGroupsRequest.js +5 -0
  82. package/dist/api/resources/empathicVoice/resources/chatGroups/client/requests/index.d.ts +2 -0
  83. package/dist/api/resources/empathicVoice/resources/chatGroups/client/requests/index.js +2 -0
  84. package/dist/api/resources/empathicVoice/resources/chatGroups/index.d.ts +1 -0
  85. package/dist/api/resources/empathicVoice/resources/chatGroups/index.js +17 -0
  86. package/dist/api/resources/empathicVoice/resources/chats/client/Client.js +2 -2
  87. package/dist/api/resources/empathicVoice/resources/configs/client/Client.js +9 -9
  88. package/dist/api/resources/empathicVoice/resources/index.d.ts +2 -0
  89. package/dist/api/resources/empathicVoice/resources/index.js +3 -1
  90. package/dist/api/resources/empathicVoice/resources/prompts/client/Client.js +9 -9
  91. package/dist/api/resources/empathicVoice/resources/tools/client/Client.js +9 -9
  92. package/dist/api/resources/empathicVoice/types/AssistantMessage.d.ts +1 -1
  93. package/dist/api/resources/empathicVoice/types/ChatMetadata.d.ts +15 -0
  94. package/dist/api/resources/empathicVoice/types/ChatMetadata.js +5 -0
  95. package/dist/api/resources/empathicVoice/types/ReturnChat.d.ts +2 -0
  96. package/dist/api/resources/empathicVoice/types/ReturnChatEvent.d.ts +2 -0
  97. package/dist/api/resources/empathicVoice/types/ReturnChatGroup.d.ts +19 -0
  98. package/dist/api/resources/empathicVoice/types/ReturnChatGroup.js +5 -0
  99. package/dist/api/resources/empathicVoice/types/ReturnChatGroupPagedChats.d.ts +24 -0
  100. package/dist/api/resources/empathicVoice/types/ReturnChatGroupPagedChats.js +5 -0
  101. package/dist/api/resources/empathicVoice/types/ReturnChatGroupPagedEvents.d.ts +19 -0
  102. package/dist/api/resources/empathicVoice/types/ReturnChatGroupPagedEvents.js +5 -0
  103. package/dist/api/resources/empathicVoice/types/ReturnChatPagedEvents.d.ts +2 -0
  104. package/dist/api/resources/empathicVoice/types/ReturnPagedChatGroups.d.ts +15 -0
  105. package/dist/api/resources/empathicVoice/types/ReturnPagedChatGroups.js +5 -0
  106. package/dist/api/resources/empathicVoice/types/index.d.ts +5 -0
  107. package/dist/api/resources/empathicVoice/types/index.js +5 -0
  108. package/dist/api/resources/expressionMeasurement/resources/batch/client/Client.js +6 -6
  109. package/dist/api/resources/index.d.ts +1 -1
  110. package/dist/api/resources/index.js +2 -2
  111. package/dist/core/form-data-utils/FormDataWrapper.js +2 -1
  112. package/dist/serialization/resources/empathicVoice/resources/chat/types/SubscribeEvent.d.ts +2 -1
  113. package/dist/serialization/resources/empathicVoice/resources/chat/types/SubscribeEvent.js +2 -0
  114. package/dist/serialization/resources/empathicVoice/types/ChatMetadata.d.ts +15 -0
  115. package/dist/serialization/resources/empathicVoice/types/ChatMetadata.js +36 -0
  116. package/dist/serialization/resources/empathicVoice/types/ReturnChat.d.ts +1 -0
  117. package/dist/serialization/resources/empathicVoice/types/ReturnChat.js +1 -0
  118. package/dist/serialization/resources/empathicVoice/types/ReturnChatEvent.d.ts +1 -0
  119. package/dist/serialization/resources/empathicVoice/types/ReturnChatEvent.js +1 -0
  120. package/dist/serialization/resources/empathicVoice/types/ReturnChatGroup.d.ts +17 -0
  121. package/dist/serialization/resources/empathicVoice/types/ReturnChatGroup.js +38 -0
  122. package/dist/serialization/resources/empathicVoice/types/ReturnChatGroupPagedChats.d.ts +20 -0
  123. package/dist/serialization/resources/empathicVoice/types/ReturnChatGroupPagedChats.js +41 -0
  124. package/dist/serialization/resources/empathicVoice/types/ReturnChatGroupPagedEvents.d.ts +17 -0
  125. package/dist/serialization/resources/empathicVoice/types/ReturnChatGroupPagedEvents.js +38 -0
  126. package/dist/serialization/resources/empathicVoice/types/ReturnChatPagedEvents.d.ts +1 -0
  127. package/dist/serialization/resources/empathicVoice/types/ReturnChatPagedEvents.js +1 -0
  128. package/dist/serialization/resources/empathicVoice/types/ReturnPagedChatGroups.d.ts +15 -0
  129. package/dist/serialization/resources/empathicVoice/types/ReturnPagedChatGroups.js +36 -0
  130. package/dist/serialization/resources/empathicVoice/types/index.d.ts +5 -0
  131. package/dist/serialization/resources/empathicVoice/types/index.js +5 -0
  132. package/dist/serialization/resources/index.d.ts +1 -1
  133. package/dist/serialization/resources/index.js +2 -2
  134. package/package.json +1 -1
  135. package/serialization/resources/empathicVoice/resources/chat/types/SubscribeEvent.d.ts +2 -1
  136. package/serialization/resources/empathicVoice/resources/chat/types/SubscribeEvent.js +2 -0
  137. package/serialization/resources/empathicVoice/types/ChatMetadata.d.ts +15 -0
  138. package/serialization/resources/empathicVoice/types/ChatMetadata.js +36 -0
  139. package/serialization/resources/empathicVoice/types/ReturnChat.d.ts +1 -0
  140. package/serialization/resources/empathicVoice/types/ReturnChat.js +1 -0
  141. package/serialization/resources/empathicVoice/types/ReturnChatEvent.d.ts +1 -0
  142. package/serialization/resources/empathicVoice/types/ReturnChatEvent.js +1 -0
  143. package/serialization/resources/empathicVoice/types/ReturnChatGroup.d.ts +17 -0
  144. package/serialization/resources/empathicVoice/types/ReturnChatGroup.js +38 -0
  145. package/serialization/resources/empathicVoice/types/ReturnChatGroupPagedChats.d.ts +20 -0
  146. package/serialization/resources/empathicVoice/types/ReturnChatGroupPagedChats.js +41 -0
  147. package/serialization/resources/empathicVoice/types/ReturnChatGroupPagedEvents.d.ts +17 -0
  148. package/serialization/resources/empathicVoice/types/ReturnChatGroupPagedEvents.js +38 -0
  149. package/serialization/resources/empathicVoice/types/ReturnChatPagedEvents.d.ts +1 -0
  150. package/serialization/resources/empathicVoice/types/ReturnChatPagedEvents.js +1 -0
  151. package/serialization/resources/empathicVoice/types/ReturnPagedChatGroups.d.ts +15 -0
  152. package/serialization/resources/empathicVoice/types/ReturnPagedChatGroups.js +36 -0
  153. package/serialization/resources/empathicVoice/types/index.d.ts +5 -0
  154. package/serialization/resources/empathicVoice/types/index.js +5 -0
  155. package/serialization/resources/index.d.ts +1 -1
  156. package/serialization/resources/index.js +2 -2
@@ -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