hume 0.9.6 → 0.9.8

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 (74) hide show
  1. package/.mock/definition/empathic-voice/__package__.yml +66 -42
  2. package/.mock/definition/empathic-voice/chatGroups.yml +10 -0
  3. package/.mock/definition/empathic-voice/chats.yml +6 -0
  4. package/.mock/definition/empathic-voice/configs.yml +18 -6
  5. package/.mock/definition/empathic-voice/customVoices.yml +12 -3
  6. package/.mock/definition/empathic-voice/prompts.yml +18 -0
  7. package/.mock/definition/empathic-voice/tools.yml +18 -0
  8. package/.mock/definition/expression-measurement/batch/__package__.yml +12 -0
  9. package/.mock/definition/expression-measurement/stream/__package__.yml +19 -0
  10. package/.mock/fern.config.json +1 -1
  11. package/api/resources/empathicVoice/resources/chat/client/Client.js +7 -5
  12. package/api/resources/empathicVoice/resources/chatGroups/client/Client.js +4 -4
  13. package/api/resources/empathicVoice/resources/chats/client/Client.js +3 -3
  14. package/api/resources/empathicVoice/resources/configs/client/Client.js +9 -9
  15. package/api/resources/empathicVoice/resources/customVoices/client/Client.js +6 -6
  16. package/api/resources/empathicVoice/resources/prompts/client/Client.js +9 -9
  17. package/api/resources/empathicVoice/resources/tools/client/Client.js +9 -9
  18. package/api/resources/empathicVoice/types/PostedCustomVoiceParameters.d.ts +10 -16
  19. package/api/resources/empathicVoice/types/ReturnCustomVoiceParameters.d.ts +10 -16
  20. package/api/resources/empathicVoice/types/SessionSettings.d.ts +8 -2
  21. package/api/resources/empathicVoice/types/SessionSettingsVariablesValue.d.ts +4 -0
  22. package/api/resources/empathicVoice/types/SessionSettingsVariablesValue.js +5 -0
  23. package/api/resources/empathicVoice/types/index.d.ts +1 -0
  24. package/api/resources/empathicVoice/types/index.js +1 -0
  25. package/api/resources/expressionMeasurement/resources/batch/client/Client.js +6 -6
  26. package/api/resources/index.d.ts +1 -1
  27. package/api/resources/index.js +2 -2
  28. package/dist/api/resources/empathicVoice/resources/chat/client/Client.js +7 -5
  29. package/dist/api/resources/empathicVoice/resources/chatGroups/client/Client.js +4 -4
  30. package/dist/api/resources/empathicVoice/resources/chats/client/Client.js +3 -3
  31. package/dist/api/resources/empathicVoice/resources/configs/client/Client.js +9 -9
  32. package/dist/api/resources/empathicVoice/resources/customVoices/client/Client.js +6 -6
  33. package/dist/api/resources/empathicVoice/resources/prompts/client/Client.js +9 -9
  34. package/dist/api/resources/empathicVoice/resources/tools/client/Client.js +9 -9
  35. package/dist/api/resources/empathicVoice/types/PostedCustomVoiceParameters.d.ts +10 -16
  36. package/dist/api/resources/empathicVoice/types/ReturnCustomVoiceParameters.d.ts +10 -16
  37. package/dist/api/resources/empathicVoice/types/SessionSettings.d.ts +8 -2
  38. package/dist/api/resources/empathicVoice/types/SessionSettingsVariablesValue.d.ts +4 -0
  39. package/dist/api/resources/empathicVoice/types/SessionSettingsVariablesValue.js +5 -0
  40. package/dist/api/resources/empathicVoice/types/index.d.ts +1 -0
  41. package/dist/api/resources/empathicVoice/types/index.js +1 -0
  42. package/dist/api/resources/expressionMeasurement/resources/batch/client/Client.js +6 -6
  43. package/dist/api/resources/index.d.ts +1 -1
  44. package/dist/api/resources/index.js +2 -2
  45. package/dist/serialization/resources/empathicVoice/types/PostedCustomVoiceParameters.d.ts +0 -1
  46. package/dist/serialization/resources/empathicVoice/types/PostedCustomVoiceParameters.js +0 -1
  47. package/dist/serialization/resources/empathicVoice/types/ReturnCustomVoiceParameters.d.ts +0 -1
  48. package/dist/serialization/resources/empathicVoice/types/ReturnCustomVoiceParameters.js +0 -1
  49. package/dist/serialization/resources/empathicVoice/types/SessionSettings.d.ts +2 -1
  50. package/dist/serialization/resources/empathicVoice/types/SessionSettings.js +2 -1
  51. package/dist/serialization/resources/empathicVoice/types/SessionSettingsVariablesValue.d.ts +10 -0
  52. package/dist/serialization/resources/empathicVoice/types/SessionSettingsVariablesValue.js +35 -0
  53. package/dist/serialization/resources/empathicVoice/types/index.d.ts +1 -0
  54. package/dist/serialization/resources/empathicVoice/types/index.js +1 -0
  55. package/dist/serialization/resources/index.d.ts +1 -1
  56. package/dist/serialization/resources/index.js +2 -2
  57. package/dist/version.d.ts +1 -1
  58. package/dist/version.js +1 -1
  59. package/package.json +1 -1
  60. package/reference.md +536 -536
  61. package/serialization/resources/empathicVoice/types/PostedCustomVoiceParameters.d.ts +0 -1
  62. package/serialization/resources/empathicVoice/types/PostedCustomVoiceParameters.js +0 -1
  63. package/serialization/resources/empathicVoice/types/ReturnCustomVoiceParameters.d.ts +0 -1
  64. package/serialization/resources/empathicVoice/types/ReturnCustomVoiceParameters.js +0 -1
  65. package/serialization/resources/empathicVoice/types/SessionSettings.d.ts +2 -1
  66. package/serialization/resources/empathicVoice/types/SessionSettings.js +2 -1
  67. package/serialization/resources/empathicVoice/types/SessionSettingsVariablesValue.d.ts +10 -0
  68. package/serialization/resources/empathicVoice/types/SessionSettingsVariablesValue.js +35 -0
  69. package/serialization/resources/empathicVoice/types/index.d.ts +1 -0
  70. package/serialization/resources/empathicVoice/types/index.js +1 -0
  71. package/serialization/resources/index.d.ts +1 -1
  72. package/serialization/resources/index.js +2 -2
  73. package/version.d.ts +1 -1
  74. package/version.js +1 -1
@@ -0,0 +1,35 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.SessionSettingsVariablesValue = void 0;
30
+ const core = __importStar(require("../../../../core"));
31
+ exports.SessionSettingsVariablesValue = core.serialization.undiscriminatedUnion([
32
+ core.serialization.string(),
33
+ core.serialization.number(),
34
+ core.serialization.boolean(),
35
+ ]);
@@ -79,6 +79,7 @@ export * from "./Encoding";
79
79
  export * from "./ErrorLevel";
80
80
  export * from "./PauseAssistantMessage";
81
81
  export * from "./ResumeAssistantMessage";
82
+ export * from "./SessionSettingsVariablesValue";
82
83
  export * from "./SessionSettings";
83
84
  export * from "./Tool";
84
85
  export * from "./ToolErrorMessage";
@@ -95,6 +95,7 @@ __exportStar(require("./Encoding"), exports);
95
95
  __exportStar(require("./ErrorLevel"), exports);
96
96
  __exportStar(require("./PauseAssistantMessage"), exports);
97
97
  __exportStar(require("./ResumeAssistantMessage"), exports);
98
+ __exportStar(require("./SessionSettingsVariablesValue"), exports);
98
99
  __exportStar(require("./SessionSettings"), exports);
99
100
  __exportStar(require("./Tool"), exports);
100
101
  __exportStar(require("./ToolErrorMessage"), exports);
@@ -1,2 +1,2 @@
1
- export * as expressionMeasurement from "./expressionMeasurement";
2
1
  export * as empathicVoice from "./empathicVoice";
2
+ export * as expressionMeasurement from "./expressionMeasurement";
@@ -23,6 +23,6 @@ var __importStar = (this && this.__importStar) || function (mod) {
23
23
  return result;
24
24
  };
25
25
  Object.defineProperty(exports, "__esModule", { value: true });
26
- exports.empathicVoice = exports.expressionMeasurement = void 0;
27
- exports.expressionMeasurement = __importStar(require("./expressionMeasurement"));
26
+ exports.expressionMeasurement = exports.empathicVoice = void 0;
28
27
  exports.empathicVoice = __importStar(require("./empathicVoice"));
28
+ exports.expressionMeasurement = __importStar(require("./expressionMeasurement"));
package/dist/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "0.9.6";
1
+ export declare const SDK_VERSION = "0.9.8";
package/dist/version.js CHANGED
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SDK_VERSION = void 0;
4
- exports.SDK_VERSION = "0.9.6";
4
+ exports.SDK_VERSION = "0.9.8";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hume",
3
- "version": "0.9.6",
3
+ "version": "0.9.8",
4
4
  "private": false,
5
5
  "repository": "https://github.com/HumeAI/hume-typescript-sdk",
6
6
  "main": "./index.js",