hume 0.11.4 → 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.
- package/.mock/definition/empathic-voice/__package__.yml +186 -61
- package/.mock/definition/empathic-voice/chat.yml +1 -8
- package/.mock/definition/empathic-voice/configs.yml +7 -1
- package/.mock/definition/tts/__package__.yml +17 -14
- package/Client.js +2 -2
- package/api/resources/empathicVoice/resources/chat/types/SubscribeEvent.d.ts +1 -1
- package/api/resources/empathicVoice/resources/configs/client/requests/PostedConfig.d.ts +1 -0
- package/api/resources/empathicVoice/types/AssistantProsody.d.ts +21 -0
- package/api/resources/empathicVoice/types/AssistantProsody.js +5 -0
- package/api/resources/empathicVoice/types/PostedNudgeSpec.d.ts +2 -2
- package/api/resources/empathicVoice/types/ReturnConfig.d.ts +19 -19
- package/api/resources/empathicVoice/types/ReturnPrompt.d.ts +12 -12
- package/api/resources/empathicVoice/types/ReturnSignedUri.d.ts +12 -0
- package/api/resources/empathicVoice/types/ReturnSignedUri.js +5 -0
- package/api/resources/empathicVoice/types/ReturnVoiceOctaveCustom.d.ts +31 -0
- package/api/resources/empathicVoice/types/ReturnVoiceOctaveCustom.js +5 -0
- package/api/resources/empathicVoice/types/ReturnVoiceOctaveShared.d.ts +15 -0
- package/api/resources/empathicVoice/types/ReturnVoiceOctaveShared.js +5 -0
- package/api/resources/empathicVoice/types/ReturnVoiceSpec.d.ts +8 -0
- package/api/resources/empathicVoice/types/ReturnVoiceSpec.js +5 -0
- package/api/resources/empathicVoice/types/ReturnVoiceSpecEvi2.d.ts +14 -0
- package/api/resources/empathicVoice/types/ReturnVoiceSpecEvi2.js +5 -0
- package/api/resources/empathicVoice/types/ReturnVoiceSpecOctavecustom.d.ts +14 -0
- package/api/resources/empathicVoice/types/ReturnVoiceSpecOctavecustom.js +5 -0
- package/api/resources/empathicVoice/types/ReturnVoiceSpecOctaveshared.d.ts +14 -0
- package/api/resources/empathicVoice/types/ReturnVoiceSpecOctaveshared.js +5 -0
- package/api/resources/empathicVoice/types/index.d.ts +9 -1
- package/api/resources/empathicVoice/types/index.js +9 -1
- package/api/resources/tts/types/PostedTts.d.ts +2 -3
- package/api/resources/tts/types/PostedUtterance.d.ts +5 -3
- package/dist/Client.js +2 -2
- package/dist/api/resources/empathicVoice/resources/chat/types/SubscribeEvent.d.ts +1 -1
- package/dist/api/resources/empathicVoice/resources/configs/client/requests/PostedConfig.d.ts +1 -0
- package/dist/api/resources/empathicVoice/types/AssistantProsody.d.ts +21 -0
- package/dist/api/resources/empathicVoice/types/AssistantProsody.js +5 -0
- package/dist/api/resources/empathicVoice/types/PostedNudgeSpec.d.ts +2 -2
- package/dist/api/resources/empathicVoice/types/ReturnConfig.d.ts +19 -19
- package/dist/api/resources/empathicVoice/types/ReturnPrompt.d.ts +12 -12
- package/dist/api/resources/empathicVoice/types/ReturnSignedUri.d.ts +12 -0
- package/dist/api/resources/empathicVoice/types/ReturnSignedUri.js +5 -0
- package/dist/api/resources/empathicVoice/types/ReturnVoiceOctaveCustom.d.ts +31 -0
- package/dist/api/resources/empathicVoice/types/ReturnVoiceOctaveCustom.js +5 -0
- package/dist/api/resources/empathicVoice/types/ReturnVoiceOctaveShared.d.ts +15 -0
- package/dist/api/resources/empathicVoice/types/ReturnVoiceOctaveShared.js +5 -0
- package/dist/api/resources/empathicVoice/types/ReturnVoiceSpec.d.ts +8 -0
- package/dist/api/resources/empathicVoice/types/ReturnVoiceSpec.js +5 -0
- package/dist/api/resources/empathicVoice/types/ReturnVoiceSpecEvi2.d.ts +14 -0
- package/dist/api/resources/empathicVoice/types/ReturnVoiceSpecEvi2.js +5 -0
- package/dist/api/resources/empathicVoice/types/ReturnVoiceSpecOctavecustom.d.ts +14 -0
- package/dist/api/resources/empathicVoice/types/ReturnVoiceSpecOctavecustom.js +5 -0
- package/dist/api/resources/empathicVoice/types/ReturnVoiceSpecOctaveshared.d.ts +14 -0
- package/dist/api/resources/empathicVoice/types/ReturnVoiceSpecOctaveshared.js +5 -0
- package/dist/api/resources/empathicVoice/types/index.d.ts +9 -1
- package/dist/api/resources/empathicVoice/types/index.js +9 -1
- package/dist/api/resources/tts/types/PostedTts.d.ts +2 -3
- package/dist/api/resources/tts/types/PostedUtterance.d.ts +5 -3
- package/dist/serialization/resources/empathicVoice/resources/chat/types/SubscribeEvent.d.ts +2 -1
- package/dist/serialization/resources/empathicVoice/resources/chat/types/SubscribeEvent.js +2 -0
- package/dist/serialization/resources/empathicVoice/types/AssistantProsody.d.ts +16 -0
- package/dist/serialization/resources/empathicVoice/types/AssistantProsody.js +47 -0
- package/dist/serialization/resources/empathicVoice/types/ReturnConfig.d.ts +15 -15
- package/dist/serialization/resources/empathicVoice/types/ReturnConfig.js +15 -15
- package/dist/serialization/resources/empathicVoice/types/ReturnPrompt.d.ts +3 -3
- package/dist/serialization/resources/empathicVoice/types/ReturnPrompt.js +3 -3
- package/dist/serialization/resources/empathicVoice/types/ReturnSignedUri.d.ts +15 -0
- package/dist/serialization/resources/empathicVoice/types/ReturnSignedUri.js +46 -0
- package/dist/serialization/resources/empathicVoice/types/ReturnVoiceOctaveCustom.d.ts +34 -0
- package/dist/serialization/resources/empathicVoice/types/ReturnVoiceOctaveCustom.js +65 -0
- package/dist/serialization/resources/empathicVoice/types/ReturnVoiceOctaveShared.d.ts +18 -0
- package/dist/serialization/resources/empathicVoice/types/ReturnVoiceOctaveShared.js +49 -0
- package/dist/serialization/resources/empathicVoice/types/ReturnVoiceSpec.d.ts +13 -0
- package/dist/serialization/resources/empathicVoice/types/ReturnVoiceSpec.js +48 -0
- package/dist/serialization/resources/empathicVoice/types/ReturnVoiceSpecEvi2.d.ts +15 -0
- package/dist/serialization/resources/empathicVoice/types/ReturnVoiceSpecEvi2.js +46 -0
- package/dist/serialization/resources/empathicVoice/types/ReturnVoiceSpecOctavecustom.d.ts +15 -0
- package/dist/serialization/resources/empathicVoice/types/ReturnVoiceSpecOctavecustom.js +46 -0
- package/dist/serialization/resources/empathicVoice/types/ReturnVoiceSpecOctaveshared.d.ts +15 -0
- package/dist/serialization/resources/empathicVoice/types/ReturnVoiceSpecOctaveshared.js +46 -0
- package/dist/serialization/resources/empathicVoice/types/index.d.ts +9 -1
- package/dist/serialization/resources/empathicVoice/types/index.js +9 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/serialization/resources/empathicVoice/resources/chat/types/SubscribeEvent.d.ts +2 -1
- package/serialization/resources/empathicVoice/resources/chat/types/SubscribeEvent.js +2 -0
- package/serialization/resources/empathicVoice/types/AssistantProsody.d.ts +16 -0
- package/serialization/resources/empathicVoice/types/AssistantProsody.js +47 -0
- package/serialization/resources/empathicVoice/types/ReturnConfig.d.ts +15 -15
- package/serialization/resources/empathicVoice/types/ReturnConfig.js +15 -15
- package/serialization/resources/empathicVoice/types/ReturnPrompt.d.ts +3 -3
- package/serialization/resources/empathicVoice/types/ReturnPrompt.js +3 -3
- package/serialization/resources/empathicVoice/types/ReturnSignedUri.d.ts +15 -0
- package/serialization/resources/empathicVoice/types/ReturnSignedUri.js +46 -0
- package/serialization/resources/empathicVoice/types/ReturnVoiceOctaveCustom.d.ts +34 -0
- package/serialization/resources/empathicVoice/types/ReturnVoiceOctaveCustom.js +65 -0
- package/serialization/resources/empathicVoice/types/ReturnVoiceOctaveShared.d.ts +18 -0
- package/serialization/resources/empathicVoice/types/ReturnVoiceOctaveShared.js +49 -0
- package/serialization/resources/empathicVoice/types/ReturnVoiceSpec.d.ts +13 -0
- package/serialization/resources/empathicVoice/types/ReturnVoiceSpec.js +48 -0
- package/serialization/resources/empathicVoice/types/ReturnVoiceSpecEvi2.d.ts +15 -0
- package/serialization/resources/empathicVoice/types/ReturnVoiceSpecEvi2.js +46 -0
- package/serialization/resources/empathicVoice/types/ReturnVoiceSpecOctavecustom.d.ts +15 -0
- package/serialization/resources/empathicVoice/types/ReturnVoiceSpecOctavecustom.js +46 -0
- package/serialization/resources/empathicVoice/types/ReturnVoiceSpecOctaveshared.d.ts +15 -0
- package/serialization/resources/empathicVoice/types/ReturnVoiceSpecOctaveshared.js +46 -0
- package/serialization/resources/empathicVoice/types/index.d.ts +9 -1
- package/serialization/resources/empathicVoice/types/index.js +9 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
|
@@ -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/dist/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "0.
|
|
1
|
+
export declare const SDK_VERSION = "0.0.704";
|
package/dist/version.js
CHANGED
package/package.json
CHANGED
|
@@ -6,6 +6,7 @@ import * as Hume from "../../../../../../api/index";
|
|
|
6
6
|
import * as core from "../../../../../../core";
|
|
7
7
|
import { AssistantEnd } from "../../../types/AssistantEnd";
|
|
8
8
|
import { AssistantMessage } from "../../../types/AssistantMessage";
|
|
9
|
+
import { AssistantProsody } from "../../../types/AssistantProsody";
|
|
9
10
|
import { AudioOutput } from "../../../types/AudioOutput";
|
|
10
11
|
import { ChatMetadata } from "../../../types/ChatMetadata";
|
|
11
12
|
import { WebSocketError } from "../../../types/WebSocketError";
|
|
@@ -16,5 +17,5 @@ import { ToolResponseMessage } from "../../../types/ToolResponseMessage";
|
|
|
16
17
|
import { ToolErrorMessage } from "../../../types/ToolErrorMessage";
|
|
17
18
|
export declare const SubscribeEvent: core.serialization.Schema<serializers.empathicVoice.SubscribeEvent.Raw, Hume.empathicVoice.SubscribeEvent>;
|
|
18
19
|
export declare namespace SubscribeEvent {
|
|
19
|
-
type Raw = AssistantEnd.Raw | AssistantMessage.Raw | AudioOutput.Raw | ChatMetadata.Raw | WebSocketError.Raw | UserInterruption.Raw | UserMessage.Raw | ToolCallMessage.Raw | ToolResponseMessage.Raw | ToolErrorMessage.Raw;
|
|
20
|
+
type Raw = AssistantEnd.Raw | AssistantMessage.Raw | AssistantProsody.Raw | AudioOutput.Raw | ChatMetadata.Raw | WebSocketError.Raw | UserInterruption.Raw | UserMessage.Raw | ToolCallMessage.Raw | ToolResponseMessage.Raw | ToolErrorMessage.Raw;
|
|
20
21
|
}
|
|
@@ -40,6 +40,7 @@ exports.SubscribeEvent = void 0;
|
|
|
40
40
|
const core = __importStar(require("../../../../../../core"));
|
|
41
41
|
const AssistantEnd_1 = require("../../../types/AssistantEnd");
|
|
42
42
|
const AssistantMessage_1 = require("../../../types/AssistantMessage");
|
|
43
|
+
const AssistantProsody_1 = require("../../../types/AssistantProsody");
|
|
43
44
|
const AudioOutput_1 = require("../../../types/AudioOutput");
|
|
44
45
|
const ChatMetadata_1 = require("../../../types/ChatMetadata");
|
|
45
46
|
const WebSocketError_1 = require("../../../types/WebSocketError");
|
|
@@ -51,6 +52,7 @@ const ToolErrorMessage_1 = require("../../../types/ToolErrorMessage");
|
|
|
51
52
|
exports.SubscribeEvent = core.serialization.undiscriminatedUnion([
|
|
52
53
|
AssistantEnd_1.AssistantEnd,
|
|
53
54
|
AssistantMessage_1.AssistantMessage,
|
|
55
|
+
AssistantProsody_1.AssistantProsody,
|
|
54
56
|
AudioOutput_1.AudioOutput,
|
|
55
57
|
ChatMetadata_1.ChatMetadata,
|
|
56
58
|
WebSocketError_1.WebSocketError,
|
|
@@ -0,0 +1,16 @@
|
|
|
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 { Inference } from "./Inference";
|
|
8
|
+
export declare const AssistantProsody: core.serialization.ObjectSchema<serializers.empathicVoice.AssistantProsody.Raw, Hume.empathicVoice.AssistantProsody>;
|
|
9
|
+
export declare namespace AssistantProsody {
|
|
10
|
+
interface Raw {
|
|
11
|
+
custom_session_id?: string | null;
|
|
12
|
+
id?: string | null;
|
|
13
|
+
models: Inference.Raw;
|
|
14
|
+
type: "assistant_prosody";
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
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.AssistantProsody = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../core"));
|
|
41
|
+
const Inference_1 = require("./Inference");
|
|
42
|
+
exports.AssistantProsody = core.serialization.object({
|
|
43
|
+
customSessionId: core.serialization.property("custom_session_id", core.serialization.string().optional()),
|
|
44
|
+
id: core.serialization.string().optional(),
|
|
45
|
+
models: Inference_1.Inference,
|
|
46
|
+
type: core.serialization.stringLiteral("assistant_prosody"),
|
|
47
|
+
});
|
|
@@ -4,35 +4,35 @@
|
|
|
4
4
|
import * as serializers from "../../../index";
|
|
5
5
|
import * as Hume from "../../../../api/index";
|
|
6
6
|
import * as core from "../../../../core";
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import { ReturnLanguageModel } from "./ReturnLanguageModel";
|
|
7
|
+
import { ReturnTimeoutSpecs } from "./ReturnTimeoutSpecs";
|
|
8
|
+
import { ReturnNudgeSpec } from "./ReturnNudgeSpec";
|
|
10
9
|
import { ReturnEllmModel } from "./ReturnEllmModel";
|
|
10
|
+
import { ReturnVoice } from "./ReturnVoice";
|
|
11
|
+
import { ReturnPrompt } from "./ReturnPrompt";
|
|
11
12
|
import { ReturnUserDefinedTool } from "./ReturnUserDefinedTool";
|
|
13
|
+
import { ReturnWebhookSpec } from "./ReturnWebhookSpec";
|
|
14
|
+
import { ReturnLanguageModel } from "./ReturnLanguageModel";
|
|
12
15
|
import { ReturnBuiltinTool } from "./ReturnBuiltinTool";
|
|
13
16
|
import { ReturnEventMessageSpecs } from "./ReturnEventMessageSpecs";
|
|
14
|
-
import { ReturnTimeoutSpecs } from "./ReturnTimeoutSpecs";
|
|
15
|
-
import { ReturnNudgeSpec } from "./ReturnNudgeSpec";
|
|
16
|
-
import { ReturnWebhookSpec } from "./ReturnWebhookSpec";
|
|
17
17
|
export declare const ReturnConfig: core.serialization.ObjectSchema<serializers.empathicVoice.ReturnConfig.Raw, Hume.empathicVoice.ReturnConfig>;
|
|
18
18
|
export declare namespace ReturnConfig {
|
|
19
19
|
interface Raw {
|
|
20
|
+
name?: string | null;
|
|
20
21
|
id?: string | null;
|
|
21
22
|
version?: number | null;
|
|
22
23
|
evi_version?: string | null;
|
|
23
|
-
|
|
24
|
-
|
|
24
|
+
timeouts?: ReturnTimeoutSpecs.Raw | null;
|
|
25
|
+
nudges?: ReturnNudgeSpec.Raw | null;
|
|
26
|
+
ellm_model?: ReturnEllmModel.Raw | null;
|
|
27
|
+
voice?: ReturnVoice.Raw | null;
|
|
28
|
+
prompt?: ReturnPrompt.Raw | null;
|
|
29
|
+
tools?: (ReturnUserDefinedTool.Raw | null | undefined)[] | null;
|
|
30
|
+
webhooks?: (ReturnWebhookSpec.Raw | null | undefined)[] | null;
|
|
25
31
|
created_on?: number | null;
|
|
26
32
|
modified_on?: number | null;
|
|
27
|
-
prompt?: ReturnPrompt.Raw | null;
|
|
28
|
-
voice?: ReturnVoice.Raw | null;
|
|
29
33
|
language_model?: ReturnLanguageModel.Raw | null;
|
|
30
|
-
ellm_model?: ReturnEllmModel.Raw | null;
|
|
31
|
-
tools?: (ReturnUserDefinedTool.Raw | null | undefined)[] | null;
|
|
32
34
|
builtin_tools?: (ReturnBuiltinTool.Raw | null | undefined)[] | null;
|
|
33
35
|
event_messages?: ReturnEventMessageSpecs.Raw | null;
|
|
34
|
-
|
|
35
|
-
nudges?: ReturnNudgeSpec.Raw | null;
|
|
36
|
-
webhooks?: (ReturnWebhookSpec.Raw | null | undefined)[] | null;
|
|
36
|
+
version_description?: string | null;
|
|
37
37
|
}
|
|
38
38
|
}
|
|
@@ -38,32 +38,32 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
39
|
exports.ReturnConfig = void 0;
|
|
40
40
|
const core = __importStar(require("../../../../core"));
|
|
41
|
-
const
|
|
42
|
-
const
|
|
43
|
-
const ReturnLanguageModel_1 = require("./ReturnLanguageModel");
|
|
41
|
+
const ReturnTimeoutSpecs_1 = require("./ReturnTimeoutSpecs");
|
|
42
|
+
const ReturnNudgeSpec_1 = require("./ReturnNudgeSpec");
|
|
44
43
|
const ReturnEllmModel_1 = require("./ReturnEllmModel");
|
|
44
|
+
const ReturnVoice_1 = require("./ReturnVoice");
|
|
45
|
+
const ReturnPrompt_1 = require("./ReturnPrompt");
|
|
45
46
|
const ReturnUserDefinedTool_1 = require("./ReturnUserDefinedTool");
|
|
47
|
+
const ReturnWebhookSpec_1 = require("./ReturnWebhookSpec");
|
|
48
|
+
const ReturnLanguageModel_1 = require("./ReturnLanguageModel");
|
|
46
49
|
const ReturnBuiltinTool_1 = require("./ReturnBuiltinTool");
|
|
47
50
|
const ReturnEventMessageSpecs_1 = require("./ReturnEventMessageSpecs");
|
|
48
|
-
const ReturnTimeoutSpecs_1 = require("./ReturnTimeoutSpecs");
|
|
49
|
-
const ReturnNudgeSpec_1 = require("./ReturnNudgeSpec");
|
|
50
|
-
const ReturnWebhookSpec_1 = require("./ReturnWebhookSpec");
|
|
51
51
|
exports.ReturnConfig = core.serialization.object({
|
|
52
|
+
name: core.serialization.string().optional(),
|
|
52
53
|
id: core.serialization.string().optional(),
|
|
53
54
|
version: core.serialization.number().optional(),
|
|
54
55
|
eviVersion: core.serialization.property("evi_version", core.serialization.string().optional()),
|
|
55
|
-
|
|
56
|
-
|
|
56
|
+
timeouts: ReturnTimeoutSpecs_1.ReturnTimeoutSpecs.optional(),
|
|
57
|
+
nudges: ReturnNudgeSpec_1.ReturnNudgeSpec.optional(),
|
|
58
|
+
ellmModel: core.serialization.property("ellm_model", ReturnEllmModel_1.ReturnEllmModel.optional()),
|
|
59
|
+
voice: ReturnVoice_1.ReturnVoice.optional(),
|
|
60
|
+
prompt: ReturnPrompt_1.ReturnPrompt.optional(),
|
|
61
|
+
tools: core.serialization.list(ReturnUserDefinedTool_1.ReturnUserDefinedTool.optional()).optional(),
|
|
62
|
+
webhooks: core.serialization.list(ReturnWebhookSpec_1.ReturnWebhookSpec.optional()).optional(),
|
|
57
63
|
createdOn: core.serialization.property("created_on", core.serialization.number().optional()),
|
|
58
64
|
modifiedOn: core.serialization.property("modified_on", core.serialization.number().optional()),
|
|
59
|
-
prompt: ReturnPrompt_1.ReturnPrompt.optional(),
|
|
60
|
-
voice: ReturnVoice_1.ReturnVoice.optional(),
|
|
61
65
|
languageModel: core.serialization.property("language_model", ReturnLanguageModel_1.ReturnLanguageModel.optional()),
|
|
62
|
-
ellmModel: core.serialization.property("ellm_model", ReturnEllmModel_1.ReturnEllmModel.optional()),
|
|
63
|
-
tools: core.serialization.list(ReturnUserDefinedTool_1.ReturnUserDefinedTool.optional()).optional(),
|
|
64
66
|
builtinTools: core.serialization.property("builtin_tools", core.serialization.list(ReturnBuiltinTool_1.ReturnBuiltinTool.optional()).optional()),
|
|
65
67
|
eventMessages: core.serialization.property("event_messages", ReturnEventMessageSpecs_1.ReturnEventMessageSpecs.optional()),
|
|
66
|
-
|
|
67
|
-
nudges: ReturnNudgeSpec_1.ReturnNudgeSpec.optional(),
|
|
68
|
-
webhooks: core.serialization.list(ReturnWebhookSpec_1.ReturnWebhookSpec.optional()).optional(),
|
|
68
|
+
versionDescription: core.serialization.property("version_description", core.serialization.string().optional()),
|
|
69
69
|
});
|
|
@@ -8,13 +8,13 @@ import { ReturnPromptVersionType } from "./ReturnPromptVersionType";
|
|
|
8
8
|
export declare const ReturnPrompt: core.serialization.ObjectSchema<serializers.empathicVoice.ReturnPrompt.Raw, Hume.empathicVoice.ReturnPrompt>;
|
|
9
9
|
export declare namespace ReturnPrompt {
|
|
10
10
|
interface Raw {
|
|
11
|
+
name: string;
|
|
11
12
|
id: string;
|
|
13
|
+
text: string;
|
|
12
14
|
version: number;
|
|
13
15
|
version_type: ReturnPromptVersionType.Raw;
|
|
14
|
-
version_description?: string | null;
|
|
15
|
-
name: string;
|
|
16
16
|
created_on: number;
|
|
17
17
|
modified_on: number;
|
|
18
|
-
|
|
18
|
+
version_description?: string | null;
|
|
19
19
|
}
|
|
20
20
|
}
|
|
@@ -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
|
-
|
|
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
|
+
}
|