hume 0.11.3 → 0.11.5-beta.0

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 (113) hide show
  1. package/.mock/definition/empathic-voice/__package__.yml +186 -61
  2. package/.mock/definition/empathic-voice/chat.yml +1 -8
  3. package/.mock/definition/empathic-voice/configs.yml +7 -1
  4. package/.mock/definition/tts/__package__.yml +17 -14
  5. package/Client.js +2 -2
  6. package/api/resources/empathicVoice/resources/chat/client/Client.d.ts +1 -0
  7. package/api/resources/empathicVoice/resources/chat/client/Client.js +12 -4
  8. package/api/resources/empathicVoice/resources/chat/types/SubscribeEvent.d.ts +1 -1
  9. package/api/resources/empathicVoice/resources/configs/client/requests/PostedConfig.d.ts +1 -0
  10. package/api/resources/empathicVoice/types/AssistantProsody.d.ts +21 -0
  11. package/api/resources/empathicVoice/types/AssistantProsody.js +5 -0
  12. package/api/resources/empathicVoice/types/PostedNudgeSpec.d.ts +2 -2
  13. package/api/resources/empathicVoice/types/ReturnConfig.d.ts +19 -19
  14. package/api/resources/empathicVoice/types/ReturnPrompt.d.ts +12 -12
  15. package/api/resources/empathicVoice/types/ReturnSignedUri.d.ts +12 -0
  16. package/api/resources/empathicVoice/types/ReturnSignedUri.js +5 -0
  17. package/api/resources/empathicVoice/types/ReturnVoiceOctaveCustom.d.ts +31 -0
  18. package/api/resources/empathicVoice/types/ReturnVoiceOctaveCustom.js +5 -0
  19. package/api/resources/empathicVoice/types/ReturnVoiceOctaveShared.d.ts +15 -0
  20. package/api/resources/empathicVoice/types/ReturnVoiceOctaveShared.js +5 -0
  21. package/api/resources/empathicVoice/types/ReturnVoiceSpec.d.ts +8 -0
  22. package/api/resources/empathicVoice/types/ReturnVoiceSpec.js +5 -0
  23. package/api/resources/empathicVoice/types/ReturnVoiceSpecEvi2.d.ts +14 -0
  24. package/api/resources/empathicVoice/types/ReturnVoiceSpecEvi2.js +5 -0
  25. package/api/resources/empathicVoice/types/ReturnVoiceSpecOctavecustom.d.ts +14 -0
  26. package/api/resources/empathicVoice/types/ReturnVoiceSpecOctavecustom.js +5 -0
  27. package/api/resources/empathicVoice/types/ReturnVoiceSpecOctaveshared.d.ts +14 -0
  28. package/api/resources/empathicVoice/types/ReturnVoiceSpecOctaveshared.js +5 -0
  29. package/api/resources/empathicVoice/types/index.d.ts +9 -1
  30. package/api/resources/empathicVoice/types/index.js +9 -1
  31. package/api/resources/tts/types/PostedTts.d.ts +2 -3
  32. package/api/resources/tts/types/PostedUtterance.d.ts +5 -3
  33. package/dist/Client.js +2 -2
  34. package/dist/api/resources/empathicVoice/resources/chat/client/Client.d.ts +1 -0
  35. package/dist/api/resources/empathicVoice/resources/chat/client/Client.js +12 -4
  36. package/dist/api/resources/empathicVoice/resources/chat/types/SubscribeEvent.d.ts +1 -1
  37. package/dist/api/resources/empathicVoice/resources/configs/client/requests/PostedConfig.d.ts +1 -0
  38. package/dist/api/resources/empathicVoice/types/AssistantProsody.d.ts +21 -0
  39. package/dist/api/resources/empathicVoice/types/AssistantProsody.js +5 -0
  40. package/dist/api/resources/empathicVoice/types/PostedNudgeSpec.d.ts +2 -2
  41. package/dist/api/resources/empathicVoice/types/ReturnConfig.d.ts +19 -19
  42. package/dist/api/resources/empathicVoice/types/ReturnPrompt.d.ts +12 -12
  43. package/dist/api/resources/empathicVoice/types/ReturnSignedUri.d.ts +12 -0
  44. package/dist/api/resources/empathicVoice/types/ReturnSignedUri.js +5 -0
  45. package/dist/api/resources/empathicVoice/types/ReturnVoiceOctaveCustom.d.ts +31 -0
  46. package/dist/api/resources/empathicVoice/types/ReturnVoiceOctaveCustom.js +5 -0
  47. package/dist/api/resources/empathicVoice/types/ReturnVoiceOctaveShared.d.ts +15 -0
  48. package/dist/api/resources/empathicVoice/types/ReturnVoiceOctaveShared.js +5 -0
  49. package/dist/api/resources/empathicVoice/types/ReturnVoiceSpec.d.ts +8 -0
  50. package/dist/api/resources/empathicVoice/types/ReturnVoiceSpec.js +5 -0
  51. package/dist/api/resources/empathicVoice/types/ReturnVoiceSpecEvi2.d.ts +14 -0
  52. package/dist/api/resources/empathicVoice/types/ReturnVoiceSpecEvi2.js +5 -0
  53. package/dist/api/resources/empathicVoice/types/ReturnVoiceSpecOctavecustom.d.ts +14 -0
  54. package/dist/api/resources/empathicVoice/types/ReturnVoiceSpecOctavecustom.js +5 -0
  55. package/dist/api/resources/empathicVoice/types/ReturnVoiceSpecOctaveshared.d.ts +14 -0
  56. package/dist/api/resources/empathicVoice/types/ReturnVoiceSpecOctaveshared.js +5 -0
  57. package/dist/api/resources/empathicVoice/types/index.d.ts +9 -1
  58. package/dist/api/resources/empathicVoice/types/index.js +9 -1
  59. package/dist/api/resources/tts/types/PostedTts.d.ts +2 -3
  60. package/dist/api/resources/tts/types/PostedUtterance.d.ts +5 -3
  61. package/dist/serialization/resources/empathicVoice/resources/chat/types/SubscribeEvent.d.ts +2 -1
  62. package/dist/serialization/resources/empathicVoice/resources/chat/types/SubscribeEvent.js +2 -0
  63. package/dist/serialization/resources/empathicVoice/types/AssistantProsody.d.ts +16 -0
  64. package/dist/serialization/resources/empathicVoice/types/AssistantProsody.js +47 -0
  65. package/dist/serialization/resources/empathicVoice/types/ReturnConfig.d.ts +15 -15
  66. package/dist/serialization/resources/empathicVoice/types/ReturnConfig.js +15 -15
  67. package/dist/serialization/resources/empathicVoice/types/ReturnPrompt.d.ts +3 -3
  68. package/dist/serialization/resources/empathicVoice/types/ReturnPrompt.js +3 -3
  69. package/dist/serialization/resources/empathicVoice/types/ReturnSignedUri.d.ts +15 -0
  70. package/dist/serialization/resources/empathicVoice/types/ReturnSignedUri.js +46 -0
  71. package/dist/serialization/resources/empathicVoice/types/ReturnVoiceOctaveCustom.d.ts +34 -0
  72. package/dist/serialization/resources/empathicVoice/types/ReturnVoiceOctaveCustom.js +65 -0
  73. package/dist/serialization/resources/empathicVoice/types/ReturnVoiceOctaveShared.d.ts +18 -0
  74. package/dist/serialization/resources/empathicVoice/types/ReturnVoiceOctaveShared.js +49 -0
  75. package/dist/serialization/resources/empathicVoice/types/ReturnVoiceSpec.d.ts +13 -0
  76. package/dist/serialization/resources/empathicVoice/types/ReturnVoiceSpec.js +48 -0
  77. package/dist/serialization/resources/empathicVoice/types/ReturnVoiceSpecEvi2.d.ts +15 -0
  78. package/dist/serialization/resources/empathicVoice/types/ReturnVoiceSpecEvi2.js +46 -0
  79. package/dist/serialization/resources/empathicVoice/types/ReturnVoiceSpecOctavecustom.d.ts +15 -0
  80. package/dist/serialization/resources/empathicVoice/types/ReturnVoiceSpecOctavecustom.js +46 -0
  81. package/dist/serialization/resources/empathicVoice/types/ReturnVoiceSpecOctaveshared.d.ts +15 -0
  82. package/dist/serialization/resources/empathicVoice/types/ReturnVoiceSpecOctaveshared.js +46 -0
  83. package/dist/serialization/resources/empathicVoice/types/index.d.ts +9 -1
  84. package/dist/serialization/resources/empathicVoice/types/index.js +9 -1
  85. package/dist/version.d.ts +1 -1
  86. package/dist/version.js +1 -1
  87. package/package.json +1 -1
  88. package/serialization/resources/empathicVoice/resources/chat/types/SubscribeEvent.d.ts +2 -1
  89. package/serialization/resources/empathicVoice/resources/chat/types/SubscribeEvent.js +2 -0
  90. package/serialization/resources/empathicVoice/types/AssistantProsody.d.ts +16 -0
  91. package/serialization/resources/empathicVoice/types/AssistantProsody.js +47 -0
  92. package/serialization/resources/empathicVoice/types/ReturnConfig.d.ts +15 -15
  93. package/serialization/resources/empathicVoice/types/ReturnConfig.js +15 -15
  94. package/serialization/resources/empathicVoice/types/ReturnPrompt.d.ts +3 -3
  95. package/serialization/resources/empathicVoice/types/ReturnPrompt.js +3 -3
  96. package/serialization/resources/empathicVoice/types/ReturnSignedUri.d.ts +15 -0
  97. package/serialization/resources/empathicVoice/types/ReturnSignedUri.js +46 -0
  98. package/serialization/resources/empathicVoice/types/ReturnVoiceOctaveCustom.d.ts +34 -0
  99. package/serialization/resources/empathicVoice/types/ReturnVoiceOctaveCustom.js +65 -0
  100. package/serialization/resources/empathicVoice/types/ReturnVoiceOctaveShared.d.ts +18 -0
  101. package/serialization/resources/empathicVoice/types/ReturnVoiceOctaveShared.js +49 -0
  102. package/serialization/resources/empathicVoice/types/ReturnVoiceSpec.d.ts +13 -0
  103. package/serialization/resources/empathicVoice/types/ReturnVoiceSpec.js +48 -0
  104. package/serialization/resources/empathicVoice/types/ReturnVoiceSpecEvi2.d.ts +15 -0
  105. package/serialization/resources/empathicVoice/types/ReturnVoiceSpecEvi2.js +46 -0
  106. package/serialization/resources/empathicVoice/types/ReturnVoiceSpecOctavecustom.d.ts +15 -0
  107. package/serialization/resources/empathicVoice/types/ReturnVoiceSpecOctavecustom.js +46 -0
  108. package/serialization/resources/empathicVoice/types/ReturnVoiceSpecOctaveshared.d.ts +15 -0
  109. package/serialization/resources/empathicVoice/types/ReturnVoiceSpecOctaveshared.js +46 -0
  110. package/serialization/resources/empathicVoice/types/index.d.ts +9 -1
  111. package/serialization/resources/empathicVoice/types/index.js +9 -1
  112. package/version.d.ts +1 -1
  113. package/version.js +1 -1
@@ -40,12 +40,12 @@ exports.ReturnPrompt = void 0;
40
40
  const core = __importStar(require("../../../../core"));
41
41
  const ReturnPromptVersionType_1 = require("./ReturnPromptVersionType");
42
42
  exports.ReturnPrompt = core.serialization.object({
43
+ name: core.serialization.string(),
43
44
  id: core.serialization.string(),
45
+ text: core.serialization.string(),
44
46
  version: core.serialization.number(),
45
47
  versionType: core.serialization.property("version_type", ReturnPromptVersionType_1.ReturnPromptVersionType),
46
- versionDescription: core.serialization.property("version_description", core.serialization.string().optional()),
47
- name: core.serialization.string(),
48
48
  createdOn: core.serialization.property("created_on", core.serialization.number()),
49
49
  modifiedOn: core.serialization.property("modified_on", core.serialization.number()),
50
- text: core.serialization.string(),
50
+ versionDescription: core.serialization.property("version_description", core.serialization.string().optional()),
51
51
  });
@@ -0,0 +1,15 @@
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 ReturnSignedUri: core.serialization.ObjectSchema<serializers.empathicVoice.ReturnSignedUri.Raw, Hume.empathicVoice.ReturnSignedUri>;
8
+ export declare namespace ReturnSignedUri {
9
+ interface Raw {
10
+ filename?: string | null;
11
+ method?: string | null;
12
+ signed_uri?: string | null;
13
+ expiration_timestamp_millis?: number | null;
14
+ }
15
+ }
@@ -0,0 +1,46 @@
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.ReturnSignedUri = void 0;
40
+ const core = __importStar(require("../../../../core"));
41
+ exports.ReturnSignedUri = core.serialization.object({
42
+ filename: core.serialization.string().optional(),
43
+ method: core.serialization.string().optional(),
44
+ signedUri: core.serialization.property("signed_uri", core.serialization.string().optional()),
45
+ expirationTimestampMillis: core.serialization.property("expiration_timestamp_millis", core.serialization.number().optional()),
46
+ });
@@ -0,0 +1,34 @@
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
+ import { ReturnSignedUri } from "./ReturnSignedUri";
8
+ export declare const ReturnVoiceOctaveCustom: core.serialization.ObjectSchema<serializers.empathicVoice.ReturnVoiceOctaveCustom.Raw, Hume.empathicVoice.ReturnVoiceOctaveCustom>;
9
+ export declare namespace ReturnVoiceOctaveCustom {
10
+ interface Raw {
11
+ id?: string | null;
12
+ version?: number | null;
13
+ name?: string | null;
14
+ description?: string | null;
15
+ voice_type?: string | null;
16
+ created_on?: number | null;
17
+ modified_on?: number | null;
18
+ voice_prompt?: string | null;
19
+ normalization_gain_db?: number | null;
20
+ speaker_embedding?: string | null;
21
+ reference_uri?: string | null;
22
+ reference_audio_format?: string | null;
23
+ clone_reference_uri?: string | null;
24
+ clone_reference_audio_format?: string | null;
25
+ reference_tokens?: string | null;
26
+ reference_atoks?: string | null;
27
+ reference_decoder_dtoks?: string | null;
28
+ reference_text?: string | null;
29
+ signed_preview_reference_uri?: ReturnSignedUri.Raw | null;
30
+ signed_clone_reference_uri?: ReturnSignedUri.Raw | null;
31
+ image_uri?: string | null;
32
+ disabled?: boolean | null;
33
+ }
34
+ }
@@ -0,0 +1,65 @@
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.ReturnVoiceOctaveCustom = void 0;
40
+ const core = __importStar(require("../../../../core"));
41
+ const ReturnSignedUri_1 = require("./ReturnSignedUri");
42
+ exports.ReturnVoiceOctaveCustom = core.serialization.object({
43
+ id: core.serialization.string().optional(),
44
+ version: core.serialization.number().optional(),
45
+ name: core.serialization.string().optional(),
46
+ description: core.serialization.string().optional(),
47
+ voiceType: core.serialization.property("voice_type", core.serialization.string().optional()),
48
+ createdOn: core.serialization.property("created_on", core.serialization.number().optional()),
49
+ modifiedOn: core.serialization.property("modified_on", core.serialization.number().optional()),
50
+ voicePrompt: core.serialization.property("voice_prompt", core.serialization.string().optional()),
51
+ normalizationGainDb: core.serialization.property("normalization_gain_db", core.serialization.number().optional()),
52
+ speakerEmbedding: core.serialization.property("speaker_embedding", core.serialization.string().optional()),
53
+ referenceUri: core.serialization.property("reference_uri", core.serialization.string().optional()),
54
+ referenceAudioFormat: core.serialization.property("reference_audio_format", core.serialization.string().optional()),
55
+ cloneReferenceUri: core.serialization.property("clone_reference_uri", core.serialization.string().optional()),
56
+ cloneReferenceAudioFormat: core.serialization.property("clone_reference_audio_format", core.serialization.string().optional()),
57
+ referenceTokens: core.serialization.property("reference_tokens", core.serialization.string().optional()),
58
+ referenceAtoks: core.serialization.property("reference_atoks", core.serialization.string().optional()),
59
+ referenceDecoderDtoks: core.serialization.property("reference_decoder_dtoks", core.serialization.string().optional()),
60
+ referenceText: core.serialization.property("reference_text", core.serialization.string().optional()),
61
+ signedPreviewReferenceUri: core.serialization.property("signed_preview_reference_uri", ReturnSignedUri_1.ReturnSignedUri.optional()),
62
+ signedCloneReferenceUri: core.serialization.property("signed_clone_reference_uri", ReturnSignedUri_1.ReturnSignedUri.optional()),
63
+ imageUri: core.serialization.property("image_uri", core.serialization.string().optional()),
64
+ disabled: core.serialization.boolean().optional(),
65
+ });
@@ -0,0 +1,18 @@
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
+ import { ReturnSignedUri } from "./ReturnSignedUri";
8
+ export declare const ReturnVoiceOctaveShared: core.serialization.ObjectSchema<serializers.empathicVoice.ReturnVoiceOctaveShared.Raw, Hume.empathicVoice.ReturnVoiceOctaveShared>;
9
+ export declare namespace ReturnVoiceOctaveShared {
10
+ interface Raw {
11
+ id?: string | null;
12
+ version?: number | null;
13
+ name?: string | null;
14
+ description?: string | null;
15
+ reference_signed_uri?: ReturnSignedUri.Raw | null;
16
+ image_uri?: string | null;
17
+ }
18
+ }
@@ -0,0 +1,49 @@
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.ReturnVoiceOctaveShared = void 0;
40
+ const core = __importStar(require("../../../../core"));
41
+ const ReturnSignedUri_1 = require("./ReturnSignedUri");
42
+ exports.ReturnVoiceOctaveShared = core.serialization.object({
43
+ id: core.serialization.string().optional(),
44
+ version: core.serialization.number().optional(),
45
+ name: core.serialization.string().optional(),
46
+ description: core.serialization.string().optional(),
47
+ referenceSignedUri: core.serialization.property("reference_signed_uri", ReturnSignedUri_1.ReturnSignedUri.optional()),
48
+ imageUri: core.serialization.property("image_uri", core.serialization.string().optional()),
49
+ });
@@ -0,0 +1,13 @@
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
+ import { ReturnVoiceSpecEvi2 } from "./ReturnVoiceSpecEvi2";
8
+ import { ReturnVoiceSpecOctavecustom } from "./ReturnVoiceSpecOctavecustom";
9
+ import { ReturnVoiceSpecOctaveshared } from "./ReturnVoiceSpecOctaveshared";
10
+ export declare const ReturnVoiceSpec: core.serialization.Schema<serializers.empathicVoice.ReturnVoiceSpec.Raw, Hume.empathicVoice.ReturnVoiceSpec>;
11
+ export declare namespace ReturnVoiceSpec {
12
+ type Raw = ReturnVoiceSpecEvi2.Raw | ReturnVoiceSpecOctavecustom.Raw | ReturnVoiceSpecOctaveshared.Raw;
13
+ }
@@ -0,0 +1,48 @@
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.ReturnVoiceSpec = void 0;
40
+ const core = __importStar(require("../../../../core"));
41
+ const ReturnVoiceSpecEvi2_1 = require("./ReturnVoiceSpecEvi2");
42
+ const ReturnVoiceSpecOctavecustom_1 = require("./ReturnVoiceSpecOctavecustom");
43
+ const ReturnVoiceSpecOctaveshared_1 = require("./ReturnVoiceSpecOctaveshared");
44
+ exports.ReturnVoiceSpec = core.serialization.undiscriminatedUnion([
45
+ ReturnVoiceSpecEvi2_1.ReturnVoiceSpecEvi2,
46
+ ReturnVoiceSpecOctavecustom_1.ReturnVoiceSpecOctavecustom,
47
+ ReturnVoiceSpecOctaveshared_1.ReturnVoiceSpecOctaveshared,
48
+ ]);
@@ -0,0 +1,15 @@
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
+ import { ReturnCustomVoice } from "./ReturnCustomVoice";
8
+ export declare const ReturnVoiceSpecEvi2: core.serialization.ObjectSchema<serializers.empathicVoice.ReturnVoiceSpecEvi2.Raw, Hume.empathicVoice.ReturnVoiceSpecEvi2>;
9
+ export declare namespace ReturnVoiceSpecEvi2 {
10
+ interface Raw {
11
+ provider: string;
12
+ name?: string | null;
13
+ custom_voice: ReturnCustomVoice.Raw;
14
+ }
15
+ }
@@ -0,0 +1,46 @@
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.ReturnVoiceSpecEvi2 = void 0;
40
+ const core = __importStar(require("../../../../core"));
41
+ const ReturnCustomVoice_1 = require("./ReturnCustomVoice");
42
+ exports.ReturnVoiceSpecEvi2 = core.serialization.object({
43
+ provider: core.serialization.string(),
44
+ name: core.serialization.string().optional(),
45
+ customVoice: core.serialization.property("custom_voice", ReturnCustomVoice_1.ReturnCustomVoice),
46
+ });
@@ -0,0 +1,15 @@
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
+ import { ReturnVoiceOctaveCustom } from "./ReturnVoiceOctaveCustom";
8
+ export declare const ReturnVoiceSpecOctavecustom: core.serialization.ObjectSchema<serializers.empathicVoice.ReturnVoiceSpecOctavecustom.Raw, Hume.empathicVoice.ReturnVoiceSpecOctavecustom>;
9
+ export declare namespace ReturnVoiceSpecOctavecustom {
10
+ interface Raw {
11
+ provider: string;
12
+ name?: string | null;
13
+ custom_voice?: ReturnVoiceOctaveCustom.Raw | null;
14
+ }
15
+ }
@@ -0,0 +1,46 @@
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.ReturnVoiceSpecOctavecustom = void 0;
40
+ const core = __importStar(require("../../../../core"));
41
+ const ReturnVoiceOctaveCustom_1 = require("./ReturnVoiceOctaveCustom");
42
+ exports.ReturnVoiceSpecOctavecustom = core.serialization.object({
43
+ provider: core.serialization.string(),
44
+ name: core.serialization.string().optional(),
45
+ customVoice: core.serialization.property("custom_voice", ReturnVoiceOctaveCustom_1.ReturnVoiceOctaveCustom.optional()),
46
+ });
@@ -0,0 +1,15 @@
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
+ import { ReturnVoiceOctaveShared } from "./ReturnVoiceOctaveShared";
8
+ export declare const ReturnVoiceSpecOctaveshared: core.serialization.ObjectSchema<serializers.empathicVoice.ReturnVoiceSpecOctaveshared.Raw, Hume.empathicVoice.ReturnVoiceSpecOctaveshared>;
9
+ export declare namespace ReturnVoiceSpecOctaveshared {
10
+ interface Raw {
11
+ provider: string;
12
+ name?: string | null;
13
+ custom_voice?: ReturnVoiceOctaveShared.Raw | null;
14
+ }
15
+ }
@@ -0,0 +1,46 @@
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.ReturnVoiceSpecOctaveshared = void 0;
40
+ const core = __importStar(require("../../../../core"));
41
+ const ReturnVoiceOctaveShared_1 = require("./ReturnVoiceOctaveShared");
42
+ exports.ReturnVoiceSpecOctaveshared = core.serialization.object({
43
+ provider: core.serialization.string(),
44
+ name: core.serialization.string().optional(),
45
+ customVoice: core.serialization.property("custom_voice", ReturnVoiceOctaveShared_1.ReturnVoiceOctaveShared.optional()),
46
+ });
@@ -1,6 +1,7 @@
1
1
  export * from "./AssistantEnd";
2
2
  export * from "./AssistantInput";
3
3
  export * from "./AssistantMessage";
4
+ export * from "./AssistantProsody";
4
5
  export * from "./AudioConfiguration";
5
6
  export * from "./AudioInput";
6
7
  export * from "./AudioOutput";
@@ -49,7 +50,6 @@ export * from "./ReturnUserDefinedToolToolType";
49
50
  export * from "./ReturnUserDefinedToolVersionType";
50
51
  export * from "./ReturnUserDefinedTool";
51
52
  export * from "./ReturnPagedPrompts";
52
- export * from "./ReturnPromptVersionType";
53
53
  export * from "./ReturnPrompt";
54
54
  export * from "./ReturnPagedCustomVoices";
55
55
  export * from "./PostedCustomVoiceBaseVoice";
@@ -75,6 +75,7 @@ export * from "./ReturnChatGroupPagedEventsPaginationDirection";
75
75
  export * from "./ReturnChatGroupPagedEvents";
76
76
  export * from "./ReturnChatGroupPagedAudioReconstructionsPaginationDirection";
77
77
  export * from "./ReturnChatGroupPagedAudioReconstructions";
78
+ export * from "./ReturnPromptVersionType";
78
79
  export * from "./PostedConfigPromptSpec";
79
80
  export * from "./PostedLanguageModel";
80
81
  export * from "./PostedEllmModel";
@@ -88,6 +89,7 @@ export * from "./PostedTimeoutSpecsMaxDuration";
88
89
  export * from "./PostedTimeoutSpecs";
89
90
  export * from "./PostedWebhookEventType";
90
91
  export * from "./PostedWebhookSpec";
92
+ export * from "./ReturnVoiceSpec";
91
93
  export * from "./ReturnLanguageModel";
92
94
  export * from "./ReturnEllmModel";
93
95
  export * from "./ReturnBuiltinToolToolType";
@@ -106,8 +108,14 @@ export * from "./ReturnConfigSpec";
106
108
  export * from "./ReturnChatGroup";
107
109
  export * from "./PostedEventMessageSpec";
108
110
  export * from "./PostedTimeoutSpec";
111
+ export * from "./ReturnVoiceSpecEvi2";
112
+ export * from "./ReturnVoiceSpecOctavecustom";
113
+ export * from "./ReturnVoiceSpecOctaveshared";
109
114
  export * from "./ReturnEventMessageSpec";
110
115
  export * from "./ReturnTimeoutSpec";
116
+ export * from "./ReturnVoiceOctaveCustom";
117
+ export * from "./ReturnVoiceOctaveShared";
118
+ export * from "./ReturnSignedUri";
111
119
  export * from "./PostedVoiceProvider";
112
120
  export * from "./PostedVoice";
113
121
  export * from "./ReturnVoiceProvider";
@@ -17,6 +17,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./AssistantEnd"), exports);
18
18
  __exportStar(require("./AssistantInput"), exports);
19
19
  __exportStar(require("./AssistantMessage"), exports);
20
+ __exportStar(require("./AssistantProsody"), exports);
20
21
  __exportStar(require("./AudioConfiguration"), exports);
21
22
  __exportStar(require("./AudioInput"), exports);
22
23
  __exportStar(require("./AudioOutput"), exports);
@@ -65,7 +66,6 @@ __exportStar(require("./ReturnUserDefinedToolToolType"), exports);
65
66
  __exportStar(require("./ReturnUserDefinedToolVersionType"), exports);
66
67
  __exportStar(require("./ReturnUserDefinedTool"), exports);
67
68
  __exportStar(require("./ReturnPagedPrompts"), exports);
68
- __exportStar(require("./ReturnPromptVersionType"), exports);
69
69
  __exportStar(require("./ReturnPrompt"), exports);
70
70
  __exportStar(require("./ReturnPagedCustomVoices"), exports);
71
71
  __exportStar(require("./PostedCustomVoiceBaseVoice"), exports);
@@ -91,6 +91,7 @@ __exportStar(require("./ReturnChatGroupPagedEventsPaginationDirection"), exports
91
91
  __exportStar(require("./ReturnChatGroupPagedEvents"), exports);
92
92
  __exportStar(require("./ReturnChatGroupPagedAudioReconstructionsPaginationDirection"), exports);
93
93
  __exportStar(require("./ReturnChatGroupPagedAudioReconstructions"), exports);
94
+ __exportStar(require("./ReturnPromptVersionType"), exports);
94
95
  __exportStar(require("./PostedConfigPromptSpec"), exports);
95
96
  __exportStar(require("./PostedLanguageModel"), exports);
96
97
  __exportStar(require("./PostedEllmModel"), exports);
@@ -104,6 +105,7 @@ __exportStar(require("./PostedTimeoutSpecsMaxDuration"), exports);
104
105
  __exportStar(require("./PostedTimeoutSpecs"), exports);
105
106
  __exportStar(require("./PostedWebhookEventType"), exports);
106
107
  __exportStar(require("./PostedWebhookSpec"), exports);
108
+ __exportStar(require("./ReturnVoiceSpec"), exports);
107
109
  __exportStar(require("./ReturnLanguageModel"), exports);
108
110
  __exportStar(require("./ReturnEllmModel"), exports);
109
111
  __exportStar(require("./ReturnBuiltinToolToolType"), exports);
@@ -122,8 +124,14 @@ __exportStar(require("./ReturnConfigSpec"), exports);
122
124
  __exportStar(require("./ReturnChatGroup"), exports);
123
125
  __exportStar(require("./PostedEventMessageSpec"), exports);
124
126
  __exportStar(require("./PostedTimeoutSpec"), exports);
127
+ __exportStar(require("./ReturnVoiceSpecEvi2"), exports);
128
+ __exportStar(require("./ReturnVoiceSpecOctavecustom"), exports);
129
+ __exportStar(require("./ReturnVoiceSpecOctaveshared"), exports);
125
130
  __exportStar(require("./ReturnEventMessageSpec"), exports);
126
131
  __exportStar(require("./ReturnTimeoutSpec"), exports);
132
+ __exportStar(require("./ReturnVoiceOctaveCustom"), exports);
133
+ __exportStar(require("./ReturnVoiceOctaveShared"), exports);
134
+ __exportStar(require("./ReturnSignedUri"), exports);
127
135
  __exportStar(require("./PostedVoiceProvider"), exports);
128
136
  __exportStar(require("./PostedVoice"), exports);
129
137
  __exportStar(require("./ReturnVoiceProvider"), exports);
package/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "0.11.3";
1
+ export declare const SDK_VERSION = "0.0.704";
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.11.3";
4
+ exports.SDK_VERSION = "0.0.704";