hume 0.11.0 → 0.11.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 (116) hide show
  1. package/.mock/definition/empathic-voice/__package__.yml +15 -36
  2. package/.mock/definition/empathic-voice/chat.yml +18 -3
  3. package/.mock/definition/empathic-voice/chatGroups.yml +14 -10
  4. package/.mock/definition/empathic-voice/chatWebhooks.yml +2 -0
  5. package/.mock/definition/empathic-voice/chats.yml +2 -0
  6. package/.mock/definition/empathic-voice/configs.yml +2 -0
  7. package/.mock/definition/empathic-voice/customVoices.yml +1 -0
  8. package/.mock/definition/empathic-voice/prompts.yml +2 -0
  9. package/.mock/definition/empathic-voice/tools.yml +2 -0
  10. package/.mock/definition/expression-measurement/batch/__package__.yml +10 -10
  11. package/.mock/definition/expression-measurement/stream/stream.yml +1 -1
  12. package/.mock/definition/tts/__package__.yml +70 -55
  13. package/.mock/definition/tts/voices.yml +20 -9
  14. package/.mock/fern.config.json +1 -1
  15. package/api/resources/empathicVoice/resources/chatGroups/client/Client.js +6 -6
  16. package/api/resources/empathicVoice/resources/chatGroups/client/requests/ChatGroupsGetAudioRequest.d.ts +4 -4
  17. package/api/resources/empathicVoice/resources/chats/client/Client.js +5 -5
  18. package/api/resources/empathicVoice/resources/configs/client/Client.js +11 -11
  19. package/api/resources/empathicVoice/resources/customVoices/client/Client.js +7 -7
  20. package/api/resources/empathicVoice/resources/prompts/client/Client.js +10 -10
  21. package/api/resources/empathicVoice/resources/tools/client/Client.js +11 -11
  22. package/api/resources/empathicVoice/types/AssistantInput.d.ts +1 -1
  23. package/api/resources/empathicVoice/types/AssistantMessage.d.ts +1 -1
  24. package/api/resources/empathicVoice/types/PauseAssistantMessage.d.ts +1 -1
  25. package/api/resources/empathicVoice/types/ToolCallMessage.d.ts +1 -1
  26. package/api/resources/empathicVoice/types/ToolErrorMessage.d.ts +2 -2
  27. package/api/resources/empathicVoice/types/ToolResponseMessage.d.ts +3 -3
  28. package/api/resources/empathicVoice/types/UserInput.d.ts +1 -1
  29. package/api/resources/empathicVoice/types/UserMessage.d.ts +3 -3
  30. package/api/resources/empathicVoice/types/index.d.ts +0 -4
  31. package/api/resources/empathicVoice/types/index.js +0 -4
  32. package/api/resources/expressionMeasurement/resources/batch/client/Client.js +6 -6
  33. package/api/resources/tts/client/Client.d.ts +6 -6
  34. package/api/resources/tts/client/Client.js +10 -10
  35. package/api/resources/tts/resources/voices/client/Client.d.ts +5 -3
  36. package/api/resources/tts/resources/voices/client/Client.js +9 -7
  37. package/api/resources/tts/resources/voices/client/requests/VoicesListRequest.d.ts +4 -1
  38. package/api/resources/tts/types/PostedTts.d.ts +6 -6
  39. package/api/resources/tts/types/PostedUtterance.d.ts +5 -5
  40. package/api/resources/tts/types/PostedUtteranceVoiceWithId.d.ts +6 -7
  41. package/api/resources/tts/types/PostedUtteranceVoiceWithName.d.ts +6 -7
  42. package/api/resources/tts/types/ReturnGeneration.d.ts +1 -1
  43. package/api/resources/tts/types/ReturnTts.d.ts +1 -1
  44. package/api/resources/tts/types/ReturnVoice.d.ts +2 -8
  45. package/dist/api/resources/empathicVoice/resources/chatGroups/client/Client.js +6 -6
  46. package/dist/api/resources/empathicVoice/resources/chatGroups/client/requests/ChatGroupsGetAudioRequest.d.ts +4 -4
  47. package/dist/api/resources/empathicVoice/resources/chats/client/Client.js +5 -5
  48. package/dist/api/resources/empathicVoice/resources/configs/client/Client.js +11 -11
  49. package/dist/api/resources/empathicVoice/resources/customVoices/client/Client.js +7 -7
  50. package/dist/api/resources/empathicVoice/resources/prompts/client/Client.js +10 -10
  51. package/dist/api/resources/empathicVoice/resources/tools/client/Client.js +11 -11
  52. package/dist/api/resources/empathicVoice/types/AssistantInput.d.ts +1 -1
  53. package/dist/api/resources/empathicVoice/types/AssistantMessage.d.ts +1 -1
  54. package/dist/api/resources/empathicVoice/types/PauseAssistantMessage.d.ts +1 -1
  55. package/dist/api/resources/empathicVoice/types/ToolCallMessage.d.ts +1 -1
  56. package/dist/api/resources/empathicVoice/types/ToolErrorMessage.d.ts +2 -2
  57. package/dist/api/resources/empathicVoice/types/ToolResponseMessage.d.ts +3 -3
  58. package/dist/api/resources/empathicVoice/types/UserInput.d.ts +1 -1
  59. package/dist/api/resources/empathicVoice/types/UserMessage.d.ts +3 -3
  60. package/dist/api/resources/empathicVoice/types/index.d.ts +0 -4
  61. package/dist/api/resources/empathicVoice/types/index.js +0 -4
  62. package/dist/api/resources/expressionMeasurement/resources/batch/client/Client.js +6 -6
  63. package/dist/api/resources/tts/client/Client.d.ts +6 -6
  64. package/dist/api/resources/tts/client/Client.js +10 -10
  65. package/dist/api/resources/tts/resources/voices/client/Client.d.ts +5 -3
  66. package/dist/api/resources/tts/resources/voices/client/Client.js +9 -7
  67. package/dist/api/resources/tts/resources/voices/client/requests/VoicesListRequest.d.ts +4 -1
  68. package/dist/api/resources/tts/types/PostedTts.d.ts +6 -6
  69. package/dist/api/resources/tts/types/PostedUtterance.d.ts +5 -5
  70. package/dist/api/resources/tts/types/PostedUtteranceVoiceWithId.d.ts +6 -7
  71. package/dist/api/resources/tts/types/PostedUtteranceVoiceWithName.d.ts +6 -7
  72. package/dist/api/resources/tts/types/ReturnGeneration.d.ts +1 -1
  73. package/dist/api/resources/tts/types/ReturnTts.d.ts +1 -1
  74. package/dist/api/resources/tts/types/ReturnVoice.d.ts +2 -8
  75. package/dist/serialization/resources/empathicVoice/types/index.d.ts +0 -4
  76. package/dist/serialization/resources/empathicVoice/types/index.js +0 -4
  77. package/dist/version.d.ts +1 -1
  78. package/dist/version.js +1 -1
  79. package/package.json +1 -1
  80. package/reference.md +11 -9
  81. package/serialization/resources/empathicVoice/types/index.d.ts +0 -4
  82. package/serialization/resources/empathicVoice/types/index.js +0 -4
  83. package/version.d.ts +1 -1
  84. package/version.js +1 -1
  85. package/api/resources/empathicVoice/types/FunctionCallResponseInput.d.ts +0 -6
  86. package/api/resources/empathicVoice/types/FunctionCallResponseInput.js +0 -5
  87. package/api/resources/empathicVoice/types/PostedPromptSpec.d.ts +0 -9
  88. package/api/resources/empathicVoice/types/PostedPromptSpec.js +0 -5
  89. package/api/resources/empathicVoice/types/TextInput.d.ts +0 -6
  90. package/api/resources/empathicVoice/types/TextInput.js +0 -5
  91. package/api/resources/empathicVoice/types/TtsInput.d.ts +0 -6
  92. package/api/resources/empathicVoice/types/TtsInput.js +0 -5
  93. package/dist/api/resources/empathicVoice/types/FunctionCallResponseInput.d.ts +0 -6
  94. package/dist/api/resources/empathicVoice/types/FunctionCallResponseInput.js +0 -5
  95. package/dist/api/resources/empathicVoice/types/PostedPromptSpec.d.ts +0 -9
  96. package/dist/api/resources/empathicVoice/types/PostedPromptSpec.js +0 -5
  97. package/dist/api/resources/empathicVoice/types/TextInput.d.ts +0 -6
  98. package/dist/api/resources/empathicVoice/types/TextInput.js +0 -5
  99. package/dist/api/resources/empathicVoice/types/TtsInput.d.ts +0 -6
  100. package/dist/api/resources/empathicVoice/types/TtsInput.js +0 -5
  101. package/dist/serialization/resources/empathicVoice/types/FunctionCallResponseInput.d.ts +0 -12
  102. package/dist/serialization/resources/empathicVoice/types/FunctionCallResponseInput.js +0 -43
  103. package/dist/serialization/resources/empathicVoice/types/PostedPromptSpec.d.ts +0 -12
  104. package/dist/serialization/resources/empathicVoice/types/PostedPromptSpec.js +0 -43
  105. package/dist/serialization/resources/empathicVoice/types/TextInput.d.ts +0 -12
  106. package/dist/serialization/resources/empathicVoice/types/TextInput.js +0 -43
  107. package/dist/serialization/resources/empathicVoice/types/TtsInput.d.ts +0 -12
  108. package/dist/serialization/resources/empathicVoice/types/TtsInput.js +0 -43
  109. package/serialization/resources/empathicVoice/types/FunctionCallResponseInput.d.ts +0 -12
  110. package/serialization/resources/empathicVoice/types/FunctionCallResponseInput.js +0 -43
  111. package/serialization/resources/empathicVoice/types/PostedPromptSpec.d.ts +0 -12
  112. package/serialization/resources/empathicVoice/types/PostedPromptSpec.js +0 -43
  113. package/serialization/resources/empathicVoice/types/TextInput.d.ts +0 -12
  114. package/serialization/resources/empathicVoice/types/TextInput.js +0 -43
  115. package/serialization/resources/empathicVoice/types/TtsInput.d.ts +0 -12
  116. package/serialization/resources/empathicVoice/types/TtsInput.js +0 -43
package/reference.md CHANGED
@@ -37,7 +37,7 @@ await client.tts.synthesizeJson({
37
37
  {
38
38
  text: "Beauty is no quality in things themselves: It exists merely in the mind which contemplates them.",
39
39
  description:
40
- "Middle-aged masculine voice with a clear, rhythmic Scots lilt, rounded vowels, and a warm, steady tone with an articulate, academic quality.",
40
+ "Middle-aged masculine voice with a clear, rhythmic Scots lilt, rounded vowels, and a warm, steady tone with an articulate, academic quality.",
41
41
  },
42
42
  ],
43
43
  context: {
@@ -45,7 +45,7 @@ await client.tts.synthesizeJson({
45
45
  {
46
46
  text: "How can people see beauty so differently?",
47
47
  description:
48
- "A curious student with a clear and respectful tone, seeking clarification on Hume's ideas with a straightforward question.",
48
+ "A curious student with a clear and respectful tone, seeking clarification on Hume's ideas with a straightforward question.",
49
49
  },
50
50
  ],
51
51
  },
@@ -123,7 +123,7 @@ await client.tts.synthesizeFile({
123
123
  {
124
124
  text: "Beauty is no quality in things themselves: It exists merely in the mind which contemplates them.",
125
125
  description:
126
- "Middle-aged masculine voice with a clear, rhythmic Scots lilt, rounded vowels, and a warm, steady tone with an articulate, academic quality.",
126
+ "Middle-aged masculine voice with a clear, rhythmic Scots lilt, rounded vowels, and a warm, steady tone with an articulate, academic quality.",
127
127
  },
128
128
  ],
129
129
  context: {
@@ -201,7 +201,7 @@ await client.tts.synthesizeFileStreaming({
201
201
  {
202
202
  text: "Beauty is no quality in things themselves: It exists merely in the mind which contemplates them.",
203
203
  description:
204
- "Middle-aged masculine voice with a clear, rhythmic Scots lilt, rounded vowels, and a warm, steady tone with an articulate, academic quality.",
204
+ "Middle-aged masculine voice with a clear, rhythmic Scots lilt, rounded vowels, and a warm, steady tone with an articulate, academic quality.",
205
205
  },
206
206
  ],
207
207
  context: {
@@ -281,7 +281,7 @@ const response = await client.tts.synthesizeJsonStreaming({
281
281
  {
282
282
  text: "Beauty is no quality in things themselves: It exists merely in the mind which contemplates them.",
283
283
  description:
284
- "Middle-aged masculine voice with a clear, rhythmic Scots lilt, rounded vowels, and a warm, steady tone with an articulate, academic quality.",
284
+ "Middle-aged masculine voice with a clear, rhythmic Scots lilt, rounded vowels, and a warm, steady tone with an articulate, academic quality.",
285
285
  },
286
286
  ],
287
287
  context: {
@@ -289,7 +289,7 @@ const response = await client.tts.synthesizeJsonStreaming({
289
289
  {
290
290
  text: "How can people see beauty so differently?",
291
291
  description:
292
- "A curious student with a clear and respectful tone, seeking clarification on Hume's ideas with a straightforward question.",
292
+ "A curious student with a clear and respectful tone, seeking clarification on Hume's ideas with a straightforward question.",
293
293
  },
294
294
  ],
295
295
  },
@@ -348,7 +348,7 @@ for await (const item of response) {
348
348
  <dl>
349
349
  <dd>
350
350
 
351
- Lists voices in your **Voice Library**. Set provider to `HUME_AI` to list Hume's preset voices, or to `CUSTOM_VOICE` to a custom voice created in your account.
351
+ Lists voices you have saved in your account, or voices from the [Voice Library](https://platform.hume.ai/tts/voice-library).
352
352
 
353
353
  </dd>
354
354
  </dl>
@@ -424,7 +424,9 @@ while (page.hasNextPage()) {
424
424
  <dl>
425
425
  <dd>
426
426
 
427
- Creates a new voice from a specified TTS generation ID and saves it to your **Voice Library**. This allows for consistent speech style and prosody across multiple requests.
427
+ Saves a new custom voice to your account using the specified TTS generation ID.
428
+
429
+ Once saved, this voice can be reused in subsequent TTS requests, ensuring consistent speech style and prosody. For more details on voice creation, see the [Voices Guide](/docs/text-to-speech-tts/voices).
428
430
 
429
431
  </dd>
430
432
  </dl>
@@ -490,7 +492,7 @@ await client.tts.voices.create({
490
492
  <dl>
491
493
  <dd>
492
494
 
493
- Removes a custom voice from your **Voice Library**.
495
+ Deletes a previously generated custom voice.
494
496
 
495
497
  </dd>
496
498
  </dl>
@@ -32,9 +32,6 @@ export * from "./UserInput";
32
32
  export * from "./UserInterruption";
33
33
  export * from "./UserMessage";
34
34
  export * from "./JsonMessage";
35
- export * from "./TtsInput";
36
- export * from "./TextInput";
37
- export * from "./FunctionCallResponseInput";
38
35
  export * from "./HttpValidationError";
39
36
  export * from "./LanguageModelType";
40
37
  export * from "./ModelProviderEnum";
@@ -109,7 +106,6 @@ export * from "./PostedEventMessageSpec";
109
106
  export * from "./PostedTimeoutSpec";
110
107
  export * from "./ReturnEventMessageSpec";
111
108
  export * from "./ReturnTimeoutSpec";
112
- export * from "./PostedPromptSpec";
113
109
  export * from "./PostedVoiceProvider";
114
110
  export * from "./PostedVoice";
115
111
  export * from "./ReturnVoiceProvider";
@@ -48,9 +48,6 @@ __exportStar(require("./UserInput"), exports);
48
48
  __exportStar(require("./UserInterruption"), exports);
49
49
  __exportStar(require("./UserMessage"), exports);
50
50
  __exportStar(require("./JsonMessage"), exports);
51
- __exportStar(require("./TtsInput"), exports);
52
- __exportStar(require("./TextInput"), exports);
53
- __exportStar(require("./FunctionCallResponseInput"), exports);
54
51
  __exportStar(require("./HttpValidationError"), exports);
55
52
  __exportStar(require("./LanguageModelType"), exports);
56
53
  __exportStar(require("./ModelProviderEnum"), exports);
@@ -125,7 +122,6 @@ __exportStar(require("./PostedEventMessageSpec"), exports);
125
122
  __exportStar(require("./PostedTimeoutSpec"), exports);
126
123
  __exportStar(require("./ReturnEventMessageSpec"), exports);
127
124
  __exportStar(require("./ReturnTimeoutSpec"), exports);
128
- __exportStar(require("./PostedPromptSpec"), exports);
129
125
  __exportStar(require("./PostedVoiceProvider"), exports);
130
126
  __exportStar(require("./PostedVoice"), exports);
131
127
  __exportStar(require("./ReturnVoiceProvider"), exports);
package/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "0.10.3";
1
+ export declare const SDK_VERSION = "0.11.1";
package/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.10.3";
4
+ exports.SDK_VERSION = "0.11.1";
@@ -1,6 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- export interface FunctionCallResponseInput {
5
- type?: "function_call_response";
6
- }
@@ -1,5 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,9 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- /**
5
- * A Prompt associated with this Config.
6
- */
7
- export interface PostedPromptSpec {
8
- version?: unknown;
9
- }
@@ -1,5 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,6 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- export interface TextInput {
5
- type?: "text_input";
6
- }
@@ -1,5 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,6 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- export interface TtsInput {
5
- type?: "tts";
6
- }
@@ -1,5 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,6 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- export interface FunctionCallResponseInput {
5
- type?: "function_call_response";
6
- }
@@ -1,5 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,9 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- /**
5
- * A Prompt associated with this Config.
6
- */
7
- export interface PostedPromptSpec {
8
- version?: unknown;
9
- }
@@ -1,5 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,6 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- export interface TextInput {
5
- type?: "text_input";
6
- }
@@ -1,5 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,6 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- export interface TtsInput {
5
- type?: "tts";
6
- }
@@ -1,5 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,12 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as serializers from "../../../index";
5
- import * as Hume from "../../../../api/index";
6
- import * as core from "../../../../core";
7
- export declare const FunctionCallResponseInput: core.serialization.ObjectSchema<serializers.empathicVoice.FunctionCallResponseInput.Raw, Hume.empathicVoice.FunctionCallResponseInput>;
8
- export declare namespace FunctionCallResponseInput {
9
- interface Raw {
10
- type?: "function_call_response" | null;
11
- }
12
- }
@@ -1,43 +0,0 @@
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 () {
22
- var ownKeys = function(o) {
23
- ownKeys = Object.getOwnPropertyNames || function (o) {
24
- var ar = [];
25
- for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
- return ar;
27
- };
28
- return ownKeys(o);
29
- };
30
- return function (mod) {
31
- if (mod && mod.__esModule) return mod;
32
- var result = {};
33
- if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
- __setModuleDefault(result, mod);
35
- return result;
36
- };
37
- })();
38
- Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.FunctionCallResponseInput = void 0;
40
- const core = __importStar(require("../../../../core"));
41
- exports.FunctionCallResponseInput = core.serialization.object({
42
- type: core.serialization.stringLiteral("function_call_response").optional(),
43
- });
@@ -1,12 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as serializers from "../../../index";
5
- import * as Hume from "../../../../api/index";
6
- import * as core from "../../../../core";
7
- export declare const PostedPromptSpec: core.serialization.ObjectSchema<serializers.empathicVoice.PostedPromptSpec.Raw, Hume.empathicVoice.PostedPromptSpec>;
8
- export declare namespace PostedPromptSpec {
9
- interface Raw {
10
- version?: unknown | null;
11
- }
12
- }
@@ -1,43 +0,0 @@
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 () {
22
- var ownKeys = function(o) {
23
- ownKeys = Object.getOwnPropertyNames || function (o) {
24
- var ar = [];
25
- for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
- return ar;
27
- };
28
- return ownKeys(o);
29
- };
30
- return function (mod) {
31
- if (mod && mod.__esModule) return mod;
32
- var result = {};
33
- if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
- __setModuleDefault(result, mod);
35
- return result;
36
- };
37
- })();
38
- Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.PostedPromptSpec = void 0;
40
- const core = __importStar(require("../../../../core"));
41
- exports.PostedPromptSpec = core.serialization.object({
42
- version: core.serialization.unknown().optional(),
43
- });
@@ -1,12 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as serializers from "../../../index";
5
- import * as Hume from "../../../../api/index";
6
- import * as core from "../../../../core";
7
- export declare const TextInput: core.serialization.ObjectSchema<serializers.empathicVoice.TextInput.Raw, Hume.empathicVoice.TextInput>;
8
- export declare namespace TextInput {
9
- interface Raw {
10
- type?: "text_input" | null;
11
- }
12
- }
@@ -1,43 +0,0 @@
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 () {
22
- var ownKeys = function(o) {
23
- ownKeys = Object.getOwnPropertyNames || function (o) {
24
- var ar = [];
25
- for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
- return ar;
27
- };
28
- return ownKeys(o);
29
- };
30
- return function (mod) {
31
- if (mod && mod.__esModule) return mod;
32
- var result = {};
33
- if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
- __setModuleDefault(result, mod);
35
- return result;
36
- };
37
- })();
38
- Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.TextInput = void 0;
40
- const core = __importStar(require("../../../../core"));
41
- exports.TextInput = core.serialization.object({
42
- type: core.serialization.stringLiteral("text_input").optional(),
43
- });
@@ -1,12 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as serializers from "../../../index";
5
- import * as Hume from "../../../../api/index";
6
- import * as core from "../../../../core";
7
- export declare const TtsInput: core.serialization.ObjectSchema<serializers.empathicVoice.TtsInput.Raw, Hume.empathicVoice.TtsInput>;
8
- export declare namespace TtsInput {
9
- interface Raw {
10
- type?: "tts" | null;
11
- }
12
- }
@@ -1,43 +0,0 @@
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 () {
22
- var ownKeys = function(o) {
23
- ownKeys = Object.getOwnPropertyNames || function (o) {
24
- var ar = [];
25
- for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
- return ar;
27
- };
28
- return ownKeys(o);
29
- };
30
- return function (mod) {
31
- if (mod && mod.__esModule) return mod;
32
- var result = {};
33
- if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
- __setModuleDefault(result, mod);
35
- return result;
36
- };
37
- })();
38
- Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.TtsInput = void 0;
40
- const core = __importStar(require("../../../../core"));
41
- exports.TtsInput = core.serialization.object({
42
- type: core.serialization.stringLiteral("tts").optional(),
43
- });
@@ -1,12 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as serializers from "../../../index";
5
- import * as Hume from "../../../../api/index";
6
- import * as core from "../../../../core";
7
- export declare const FunctionCallResponseInput: core.serialization.ObjectSchema<serializers.empathicVoice.FunctionCallResponseInput.Raw, Hume.empathicVoice.FunctionCallResponseInput>;
8
- export declare namespace FunctionCallResponseInput {
9
- interface Raw {
10
- type?: "function_call_response" | null;
11
- }
12
- }
@@ -1,43 +0,0 @@
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 () {
22
- var ownKeys = function(o) {
23
- ownKeys = Object.getOwnPropertyNames || function (o) {
24
- var ar = [];
25
- for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
- return ar;
27
- };
28
- return ownKeys(o);
29
- };
30
- return function (mod) {
31
- if (mod && mod.__esModule) return mod;
32
- var result = {};
33
- if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
- __setModuleDefault(result, mod);
35
- return result;
36
- };
37
- })();
38
- Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.FunctionCallResponseInput = void 0;
40
- const core = __importStar(require("../../../../core"));
41
- exports.FunctionCallResponseInput = core.serialization.object({
42
- type: core.serialization.stringLiteral("function_call_response").optional(),
43
- });
@@ -1,12 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as serializers from "../../../index";
5
- import * as Hume from "../../../../api/index";
6
- import * as core from "../../../../core";
7
- export declare const PostedPromptSpec: core.serialization.ObjectSchema<serializers.empathicVoice.PostedPromptSpec.Raw, Hume.empathicVoice.PostedPromptSpec>;
8
- export declare namespace PostedPromptSpec {
9
- interface Raw {
10
- version?: unknown | null;
11
- }
12
- }
@@ -1,43 +0,0 @@
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 () {
22
- var ownKeys = function(o) {
23
- ownKeys = Object.getOwnPropertyNames || function (o) {
24
- var ar = [];
25
- for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
- return ar;
27
- };
28
- return ownKeys(o);
29
- };
30
- return function (mod) {
31
- if (mod && mod.__esModule) return mod;
32
- var result = {};
33
- if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
- __setModuleDefault(result, mod);
35
- return result;
36
- };
37
- })();
38
- Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.PostedPromptSpec = void 0;
40
- const core = __importStar(require("../../../../core"));
41
- exports.PostedPromptSpec = core.serialization.object({
42
- version: core.serialization.unknown().optional(),
43
- });
@@ -1,12 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as serializers from "../../../index";
5
- import * as Hume from "../../../../api/index";
6
- import * as core from "../../../../core";
7
- export declare const TextInput: core.serialization.ObjectSchema<serializers.empathicVoice.TextInput.Raw, Hume.empathicVoice.TextInput>;
8
- export declare namespace TextInput {
9
- interface Raw {
10
- type?: "text_input" | null;
11
- }
12
- }