hume 0.6.2 → 0.6.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 (93) hide show
  1. package/.mock/definition/empathic-voice/__package__.yml +130 -38
  2. package/.mock/definition/empathic-voice/chat.yml +1 -1
  3. package/.mock/definition/empathic-voice/chatGroups.yml +2 -2
  4. package/.mock/definition/empathic-voice/chats.yml +5 -2
  5. package/.mock/definition/empathic-voice/configs.yml +93 -77
  6. package/.mock/definition/empathic-voice/prompts.yml +9 -9
  7. package/.mock/definition/empathic-voice/tools.yml +9 -9
  8. package/.mock/definition/expression-measurement/batch.yml +0 -15
  9. package/.mock/fern.config.json +1 -1
  10. package/api/resources/customModels/resources/datasets/client/Client.js +9 -9
  11. package/api/resources/customModels/resources/files/client/Client.js +7 -7
  12. package/api/resources/customModels/resources/jobs/client/Client.js +2 -2
  13. package/api/resources/customModels/resources/models/client/Client.js +6 -6
  14. package/api/resources/empathicVoice/resources/chatGroups/client/Client.js +2 -2
  15. package/api/resources/empathicVoice/resources/chats/client/Client.js +6 -3
  16. package/api/resources/empathicVoice/resources/chats/client/requests/ChatsListChatsRequest.d.ts +4 -0
  17. package/api/resources/empathicVoice/resources/configs/client/Client.js +9 -9
  18. package/api/resources/empathicVoice/resources/configs/client/requests/PostedConfig.d.ts +2 -4
  19. package/api/resources/empathicVoice/resources/configs/client/requests/PostedConfigVersion.d.ts +2 -4
  20. package/api/resources/empathicVoice/resources/prompts/client/Client.js +9 -9
  21. package/api/resources/empathicVoice/resources/tools/client/Client.js +9 -9
  22. package/api/resources/empathicVoice/types/AssistantEnd.d.ts +1 -0
  23. package/api/resources/empathicVoice/types/AssistantInput.d.ts +1 -0
  24. package/api/resources/empathicVoice/types/AssistantMessage.d.ts +1 -0
  25. package/api/resources/empathicVoice/types/AudioInput.d.ts +1 -0
  26. package/api/resources/empathicVoice/types/AudioOutput.d.ts +1 -0
  27. package/api/resources/empathicVoice/types/ChatMessage.d.ts +2 -0
  28. package/api/resources/empathicVoice/types/ChatMetadata.d.ts +1 -0
  29. package/api/resources/empathicVoice/types/Inference.d.ts +1 -0
  30. package/api/resources/empathicVoice/types/PauseAssistantMessage.d.ts +1 -0
  31. package/api/resources/empathicVoice/types/ResumeAssistantMessage.d.ts +1 -0
  32. package/api/resources/empathicVoice/types/ReturnConfig.d.ts +2 -4
  33. package/api/resources/empathicVoice/types/ReturnPrompt.d.ts +1 -1
  34. package/api/resources/empathicVoice/types/ReturnUserDefinedTool.d.ts +1 -1
  35. package/api/resources/empathicVoice/types/SessionSettings.d.ts +6 -0
  36. package/api/resources/empathicVoice/types/Tool.d.ts +2 -0
  37. package/api/resources/empathicVoice/types/ToolCallMessage.d.ts +1 -0
  38. package/api/resources/empathicVoice/types/ToolErrorMessage.d.ts +5 -0
  39. package/api/resources/empathicVoice/types/ToolResponseMessage.d.ts +1 -0
  40. package/api/resources/empathicVoice/types/UserInput.d.ts +1 -0
  41. package/api/resources/empathicVoice/types/UserInterruption.d.ts +1 -0
  42. package/api/resources/empathicVoice/types/UserMessage.d.ts +1 -0
  43. package/api/resources/empathicVoice/types/WebSocketError.d.ts +1 -0
  44. package/api/resources/expressionMeasurement/resources/batch/client/Client.js +6 -6
  45. package/dist/api/resources/customModels/resources/datasets/client/Client.js +9 -9
  46. package/dist/api/resources/customModels/resources/files/client/Client.js +7 -7
  47. package/dist/api/resources/customModels/resources/jobs/client/Client.js +2 -2
  48. package/dist/api/resources/customModels/resources/models/client/Client.js +6 -6
  49. package/dist/api/resources/empathicVoice/resources/chatGroups/client/Client.js +2 -2
  50. package/dist/api/resources/empathicVoice/resources/chats/client/Client.js +6 -3
  51. package/dist/api/resources/empathicVoice/resources/chats/client/requests/ChatsListChatsRequest.d.ts +4 -0
  52. package/dist/api/resources/empathicVoice/resources/configs/client/Client.js +9 -9
  53. package/dist/api/resources/empathicVoice/resources/configs/client/requests/PostedConfig.d.ts +2 -4
  54. package/dist/api/resources/empathicVoice/resources/configs/client/requests/PostedConfigVersion.d.ts +2 -4
  55. package/dist/api/resources/empathicVoice/resources/prompts/client/Client.js +9 -9
  56. package/dist/api/resources/empathicVoice/resources/tools/client/Client.js +9 -9
  57. package/dist/api/resources/empathicVoice/types/AssistantEnd.d.ts +1 -0
  58. package/dist/api/resources/empathicVoice/types/AssistantInput.d.ts +1 -0
  59. package/dist/api/resources/empathicVoice/types/AssistantMessage.d.ts +1 -0
  60. package/dist/api/resources/empathicVoice/types/AudioInput.d.ts +1 -0
  61. package/dist/api/resources/empathicVoice/types/AudioOutput.d.ts +1 -0
  62. package/dist/api/resources/empathicVoice/types/ChatMessage.d.ts +2 -0
  63. package/dist/api/resources/empathicVoice/types/ChatMetadata.d.ts +1 -0
  64. package/dist/api/resources/empathicVoice/types/Inference.d.ts +1 -0
  65. package/dist/api/resources/empathicVoice/types/PauseAssistantMessage.d.ts +1 -0
  66. package/dist/api/resources/empathicVoice/types/ResumeAssistantMessage.d.ts +1 -0
  67. package/dist/api/resources/empathicVoice/types/ReturnConfig.d.ts +2 -4
  68. package/dist/api/resources/empathicVoice/types/ReturnPrompt.d.ts +1 -1
  69. package/dist/api/resources/empathicVoice/types/ReturnUserDefinedTool.d.ts +1 -1
  70. package/dist/api/resources/empathicVoice/types/SessionSettings.d.ts +6 -0
  71. package/dist/api/resources/empathicVoice/types/Tool.d.ts +2 -0
  72. package/dist/api/resources/empathicVoice/types/ToolCallMessage.d.ts +1 -0
  73. package/dist/api/resources/empathicVoice/types/ToolErrorMessage.d.ts +5 -0
  74. package/dist/api/resources/empathicVoice/types/ToolResponseMessage.d.ts +1 -0
  75. package/dist/api/resources/empathicVoice/types/UserInput.d.ts +1 -0
  76. package/dist/api/resources/empathicVoice/types/UserInterruption.d.ts +1 -0
  77. package/dist/api/resources/empathicVoice/types/UserMessage.d.ts +1 -0
  78. package/dist/api/resources/empathicVoice/types/WebSocketError.d.ts +1 -0
  79. package/dist/api/resources/expressionMeasurement/resources/batch/client/Client.js +6 -6
  80. package/dist/serialization/resources/empathicVoice/resources/configs/client/requests/PostedConfig.d.ts +2 -2
  81. package/dist/serialization/resources/empathicVoice/resources/configs/client/requests/PostedConfig.js +2 -2
  82. package/dist/serialization/resources/empathicVoice/resources/configs/client/requests/PostedConfigVersion.d.ts +2 -2
  83. package/dist/serialization/resources/empathicVoice/resources/configs/client/requests/PostedConfigVersion.js +2 -2
  84. package/dist/serialization/resources/empathicVoice/types/ReturnConfig.d.ts +2 -2
  85. package/dist/serialization/resources/empathicVoice/types/ReturnConfig.js +2 -2
  86. package/package.json +1 -1
  87. package/reference.md +4893 -0
  88. package/serialization/resources/empathicVoice/resources/configs/client/requests/PostedConfig.d.ts +2 -2
  89. package/serialization/resources/empathicVoice/resources/configs/client/requests/PostedConfig.js +2 -2
  90. package/serialization/resources/empathicVoice/resources/configs/client/requests/PostedConfigVersion.d.ts +2 -2
  91. package/serialization/resources/empathicVoice/resources/configs/client/requests/PostedConfigVersion.js +2 -2
  92. package/serialization/resources/empathicVoice/types/ReturnConfig.d.ts +2 -2
  93. package/serialization/resources/empathicVoice/types/ReturnConfig.js +2 -2
@@ -17,7 +17,7 @@ export declare namespace PostedConfig {
17
17
  prompt?: PostedPromptSpec.Raw | null;
18
18
  voice?: PostedVoice.Raw | null;
19
19
  language_model?: PostedLanguageModel.Raw | null;
20
- tools?: (PostedUserDefinedToolSpec.Raw | null | undefined)[] | null;
21
- builtin_tools?: (PostedBuiltinTool.Raw | null | undefined)[] | null;
20
+ tools?: PostedUserDefinedToolSpec.Raw | null;
21
+ builtin_tools?: PostedBuiltinTool.Raw | null;
22
22
  }
23
23
  }
@@ -39,6 +39,6 @@ exports.PostedConfig = core.serialization.object({
39
39
  prompt: PostedPromptSpec_1.PostedPromptSpec.optional(),
40
40
  voice: PostedVoice_1.PostedVoice.optional(),
41
41
  languageModel: core.serialization.property("language_model", PostedLanguageModel_1.PostedLanguageModel.optional()),
42
- tools: core.serialization.list(PostedUserDefinedToolSpec_1.PostedUserDefinedToolSpec.optional()).optional(),
43
- builtinTools: core.serialization.property("builtin_tools", core.serialization.list(PostedBuiltinTool_1.PostedBuiltinTool.optional()).optional()),
42
+ tools: PostedUserDefinedToolSpec_1.PostedUserDefinedToolSpec.optional(),
43
+ builtinTools: core.serialization.property("builtin_tools", PostedBuiltinTool_1.PostedBuiltinTool.optional()),
44
44
  });
@@ -16,7 +16,7 @@ export declare namespace PostedConfigVersion {
16
16
  prompt?: PostedPromptSpec.Raw | null;
17
17
  voice?: PostedVoice.Raw | null;
18
18
  language_model?: PostedLanguageModel.Raw | null;
19
- tools?: (PostedUserDefinedToolSpec.Raw | null | undefined)[] | null;
20
- builtin_tools?: (PostedBuiltinTool.Raw | null | undefined)[] | null;
19
+ tools?: PostedUserDefinedToolSpec.Raw | null;
20
+ builtin_tools?: PostedBuiltinTool.Raw | null;
21
21
  }
22
22
  }
@@ -38,6 +38,6 @@ exports.PostedConfigVersion = core.serialization.object({
38
38
  prompt: PostedPromptSpec_1.PostedPromptSpec.optional(),
39
39
  voice: PostedVoice_1.PostedVoice.optional(),
40
40
  languageModel: core.serialization.property("language_model", PostedLanguageModel_1.PostedLanguageModel.optional()),
41
- tools: core.serialization.list(PostedUserDefinedToolSpec_1.PostedUserDefinedToolSpec.optional()).optional(),
42
- builtinTools: core.serialization.property("builtin_tools", core.serialization.list(PostedBuiltinTool_1.PostedBuiltinTool.optional()).optional()),
41
+ tools: PostedUserDefinedToolSpec_1.PostedUserDefinedToolSpec.optional(),
42
+ builtinTools: core.serialization.property("builtin_tools", PostedBuiltinTool_1.PostedBuiltinTool.optional()),
43
43
  });
@@ -21,7 +21,7 @@ export declare namespace ReturnConfig {
21
21
  prompt?: ReturnPrompt.Raw | null;
22
22
  voice?: ReturnVoice.Raw | null;
23
23
  language_model?: ReturnLanguageModel.Raw | null;
24
- tools?: (ReturnUserDefinedTool.Raw | null | undefined)[] | null;
25
- builtin_tools?: (ReturnBuiltinTool.Raw | null | undefined)[] | null;
24
+ tools?: ReturnUserDefinedTool.Raw | null;
25
+ builtin_tools?: ReturnBuiltinTool.Raw | null;
26
26
  }
27
27
  }
@@ -43,6 +43,6 @@ exports.ReturnConfig = core.serialization.object({
43
43
  prompt: ReturnPrompt_1.ReturnPrompt.optional(),
44
44
  voice: ReturnVoice_1.ReturnVoice.optional(),
45
45
  languageModel: core.serialization.property("language_model", ReturnLanguageModel_1.ReturnLanguageModel.optional()),
46
- tools: core.serialization.list(ReturnUserDefinedTool_1.ReturnUserDefinedTool.optional()).optional(),
47
- builtinTools: core.serialization.property("builtin_tools", core.serialization.list(ReturnBuiltinTool_1.ReturnBuiltinTool.optional()).optional()),
46
+ tools: ReturnUserDefinedTool_1.ReturnUserDefinedTool.optional(),
47
+ builtinTools: core.serialization.property("builtin_tools", ReturnBuiltinTool_1.ReturnBuiltinTool.optional()),
48
48
  });