hume 0.13.8 → 0.14.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.
- package/.mock/definition/empathic-voice/__package__.yml +13 -9
- package/.mock/definition/empathic-voice/chat.yml +105 -0
- package/.mock/definition/empathic-voice/configs.yml +3 -1
- package/.mock/definition/tts/__package__.yml +147 -78
- package/.mock/definition/tts/streamInput.yml +27 -36
- package/api/resources/empathicVoice/resources/chat/client/Client.d.ts +4 -0
- package/api/resources/empathicVoice/resources/chat/client/Client.js +47 -4
- package/api/resources/empathicVoice/resources/configs/client/requests/PostedConfig.d.ts +1 -1
- package/api/resources/empathicVoice/types/LanguageModelType.d.ts +3 -1
- package/api/resources/empathicVoice/types/LanguageModelType.js +2 -0
- package/api/resources/empathicVoice/types/ReturnConfig.d.ts +4 -4
- package/api/resources/empathicVoice/types/ReturnPrompt.d.ts +2 -2
- package/api/resources/tts/client/Client.d.ts +1 -1
- package/api/resources/tts/client/Client.js +1 -1
- package/api/resources/tts/types/MillisecondInterval.d.ts +9 -0
- package/api/resources/tts/types/MillisecondInterval.js +5 -0
- package/api/resources/tts/types/OctaveVersion.d.ts +5 -1
- package/api/resources/tts/types/OctaveVersion.js +5 -0
- package/api/resources/tts/types/PostedTts.d.ts +3 -0
- package/api/resources/tts/types/PublishTts.d.ts +8 -8
- package/api/resources/tts/types/Snippet.d.ts +3 -0
- package/api/resources/tts/types/SnippetAudioChunk.d.ts +0 -1
- package/api/resources/tts/types/Timestamp.d.ts +9 -0
- package/api/resources/tts/types/Timestamp.js +5 -0
- package/api/resources/tts/types/TimestampMessage.d.ts +17 -0
- package/api/resources/tts/types/TimestampMessage.js +5 -0
- package/api/resources/tts/types/TimestampType.d.ts +8 -0
- package/api/resources/tts/types/TimestampType.js +10 -0
- package/api/resources/tts/types/TtsOutput.d.ts +13 -0
- package/api/resources/tts/types/TtsOutput.js +5 -0
- package/api/resources/tts/types/index.d.ts +8 -3
- package/api/resources/tts/types/index.js +8 -3
- package/dist/api/resources/empathicVoice/resources/chat/client/Client.d.ts +4 -0
- package/dist/api/resources/empathicVoice/resources/chat/client/Client.js +47 -4
- package/dist/api/resources/empathicVoice/resources/configs/client/requests/PostedConfig.d.ts +1 -1
- package/dist/api/resources/empathicVoice/types/LanguageModelType.d.ts +3 -1
- package/dist/api/resources/empathicVoice/types/LanguageModelType.js +2 -0
- package/dist/api/resources/empathicVoice/types/ReturnConfig.d.ts +4 -4
- package/dist/api/resources/empathicVoice/types/ReturnPrompt.d.ts +2 -2
- package/dist/api/resources/tts/client/Client.d.ts +1 -1
- package/dist/api/resources/tts/client/Client.js +1 -1
- package/dist/api/resources/tts/types/MillisecondInterval.d.ts +9 -0
- package/dist/api/resources/tts/types/MillisecondInterval.js +5 -0
- package/dist/api/resources/tts/types/OctaveVersion.d.ts +5 -1
- package/dist/api/resources/tts/types/OctaveVersion.js +5 -0
- package/dist/api/resources/tts/types/PostedTts.d.ts +3 -0
- package/dist/api/resources/tts/types/PublishTts.d.ts +8 -8
- package/dist/api/resources/tts/types/Snippet.d.ts +3 -0
- package/dist/api/resources/tts/types/SnippetAudioChunk.d.ts +0 -1
- package/dist/api/resources/tts/types/Timestamp.d.ts +9 -0
- package/dist/api/resources/tts/types/Timestamp.js +5 -0
- package/dist/api/resources/tts/types/TimestampMessage.d.ts +17 -0
- package/dist/api/resources/tts/types/TimestampMessage.js +5 -0
- package/dist/api/resources/tts/types/TimestampType.d.ts +8 -0
- package/dist/api/resources/tts/types/TimestampType.js +10 -0
- package/dist/api/resources/tts/types/TtsOutput.d.ts +13 -0
- package/dist/api/resources/tts/types/TtsOutput.js +5 -0
- package/dist/api/resources/tts/types/index.d.ts +8 -3
- package/dist/api/resources/tts/types/index.js +8 -3
- package/dist/serialization/resources/empathicVoice/types/LanguageModelType.d.ts +1 -1
- package/dist/serialization/resources/empathicVoice/types/LanguageModelType.js +2 -0
- package/dist/serialization/resources/empathicVoice/types/ReturnConfig.d.ts +3 -3
- package/dist/serialization/resources/empathicVoice/types/ReturnConfig.js +3 -3
- package/dist/serialization/resources/empathicVoice/types/ReturnPrompt.d.ts +1 -1
- package/dist/serialization/resources/empathicVoice/types/ReturnPrompt.js +1 -1
- package/dist/serialization/resources/tts/types/MillisecondInterval.d.ts +13 -0
- package/dist/serialization/resources/tts/types/MillisecondInterval.js +44 -0
- package/dist/serialization/resources/tts/types/OctaveVersion.d.ts +1 -1
- package/dist/serialization/resources/tts/types/OctaveVersion.js +1 -1
- package/dist/serialization/resources/tts/types/PostedTts.d.ts +2 -0
- package/dist/serialization/resources/tts/types/PostedTts.js +2 -0
- package/dist/serialization/resources/tts/types/PublishTts.d.ts +4 -4
- package/dist/serialization/resources/tts/types/PublishTts.js +4 -4
- package/dist/serialization/resources/tts/types/Snippet.d.ts +2 -0
- package/dist/serialization/resources/tts/types/Snippet.js +2 -0
- package/dist/serialization/resources/tts/types/SnippetAudioChunk.d.ts +0 -1
- package/dist/serialization/resources/tts/types/SnippetAudioChunk.js +0 -1
- package/dist/serialization/resources/tts/types/Timestamp.d.ts +16 -0
- package/dist/serialization/resources/tts/types/Timestamp.js +47 -0
- package/dist/serialization/resources/tts/types/TimestampMessage.d.ts +16 -0
- package/dist/serialization/resources/tts/types/TimestampMessage.js +47 -0
- package/dist/serialization/resources/tts/types/TimestampType.d.ts +10 -0
- package/dist/serialization/resources/tts/types/TimestampType.js +41 -0
- package/dist/serialization/resources/tts/types/TtsOutput.d.ts +18 -0
- package/dist/serialization/resources/tts/types/TtsOutput.js +51 -0
- package/dist/serialization/resources/tts/types/index.d.ts +8 -3
- package/dist/serialization/resources/tts/types/index.js +8 -3
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +1 -1
- package/serialization/resources/empathicVoice/types/LanguageModelType.d.ts +1 -1
- package/serialization/resources/empathicVoice/types/LanguageModelType.js +2 -0
- package/serialization/resources/empathicVoice/types/ReturnConfig.d.ts +3 -3
- package/serialization/resources/empathicVoice/types/ReturnConfig.js +3 -3
- package/serialization/resources/empathicVoice/types/ReturnPrompt.d.ts +1 -1
- package/serialization/resources/empathicVoice/types/ReturnPrompt.js +1 -1
- package/serialization/resources/tts/types/MillisecondInterval.d.ts +13 -0
- package/serialization/resources/tts/types/MillisecondInterval.js +44 -0
- package/serialization/resources/tts/types/OctaveVersion.d.ts +1 -1
- package/serialization/resources/tts/types/OctaveVersion.js +1 -1
- package/serialization/resources/tts/types/PostedTts.d.ts +2 -0
- package/serialization/resources/tts/types/PostedTts.js +2 -0
- package/serialization/resources/tts/types/PublishTts.d.ts +4 -4
- package/serialization/resources/tts/types/PublishTts.js +4 -4
- package/serialization/resources/tts/types/Snippet.d.ts +2 -0
- package/serialization/resources/tts/types/Snippet.js +2 -0
- package/serialization/resources/tts/types/SnippetAudioChunk.d.ts +0 -1
- package/serialization/resources/tts/types/SnippetAudioChunk.js +0 -1
- package/serialization/resources/tts/types/Timestamp.d.ts +16 -0
- package/serialization/resources/tts/types/Timestamp.js +47 -0
- package/serialization/resources/tts/types/TimestampMessage.d.ts +16 -0
- package/serialization/resources/tts/types/TimestampMessage.js +47 -0
- package/serialization/resources/tts/types/TimestampType.d.ts +10 -0
- package/serialization/resources/tts/types/TimestampType.js +41 -0
- package/serialization/resources/tts/types/TtsOutput.d.ts +18 -0
- package/serialization/resources/tts/types/TtsOutput.js +51 -0
- package/serialization/resources/tts/types/index.d.ts +8 -3
- package/serialization/resources/tts/types/index.js +8 -3
- package/version.d.ts +1 -1
- package/version.js +1 -1
|
@@ -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 { MillisecondInterval } from "./MillisecondInterval";
|
|
8
|
+
import { TimestampType } from "./TimestampType";
|
|
9
|
+
export declare const Timestamp: core.serialization.ObjectSchema<serializers.tts.Timestamp.Raw, Hume.tts.Timestamp>;
|
|
10
|
+
export declare namespace Timestamp {
|
|
11
|
+
interface Raw {
|
|
12
|
+
text: string;
|
|
13
|
+
time: MillisecondInterval.Raw;
|
|
14
|
+
type: TimestampType.Raw;
|
|
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.Timestamp = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../core"));
|
|
41
|
+
const MillisecondInterval_1 = require("./MillisecondInterval");
|
|
42
|
+
const TimestampType_1 = require("./TimestampType");
|
|
43
|
+
exports.Timestamp = core.serialization.object({
|
|
44
|
+
text: core.serialization.string(),
|
|
45
|
+
time: MillisecondInterval_1.MillisecondInterval,
|
|
46
|
+
type: TimestampType_1.TimestampType,
|
|
47
|
+
});
|
|
@@ -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 { Timestamp } from "./Timestamp";
|
|
8
|
+
export declare const TimestampMessage: core.serialization.ObjectSchema<serializers.tts.TimestampMessage.Raw, Hume.tts.TimestampMessage>;
|
|
9
|
+
export declare namespace TimestampMessage {
|
|
10
|
+
interface Raw {
|
|
11
|
+
generation_id: string;
|
|
12
|
+
request_id: string;
|
|
13
|
+
snippet_id: string;
|
|
14
|
+
timestamp: Timestamp.Raw;
|
|
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.TimestampMessage = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../core"));
|
|
41
|
+
const Timestamp_1 = require("./Timestamp");
|
|
42
|
+
exports.TimestampMessage = core.serialization.object({
|
|
43
|
+
generationId: core.serialization.property("generation_id", core.serialization.string()),
|
|
44
|
+
requestId: core.serialization.property("request_id", core.serialization.string()),
|
|
45
|
+
snippetId: core.serialization.property("snippet_id", core.serialization.string()),
|
|
46
|
+
timestamp: Timestamp_1.Timestamp,
|
|
47
|
+
});
|
|
@@ -0,0 +1,10 @@
|
|
|
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 TimestampType: core.serialization.Schema<serializers.tts.TimestampType.Raw, Hume.tts.TimestampType>;
|
|
8
|
+
export declare namespace TimestampType {
|
|
9
|
+
type Raw = "word" | "phoneme";
|
|
10
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
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.TimestampType = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../core"));
|
|
41
|
+
exports.TimestampType = core.serialization.enum_(["word", "phoneme"]);
|
|
@@ -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 { TimestampMessage } from "./TimestampMessage";
|
|
8
|
+
import { SnippetAudioChunk } from "./SnippetAudioChunk";
|
|
9
|
+
export declare const TtsOutput: core.serialization.Schema<serializers.tts.TtsOutput.Raw, Hume.tts.TtsOutput>;
|
|
10
|
+
export declare namespace TtsOutput {
|
|
11
|
+
type Raw = TtsOutput.Timestamp | TtsOutput.Audio;
|
|
12
|
+
interface Timestamp extends TimestampMessage.Raw {
|
|
13
|
+
type: "timestamp";
|
|
14
|
+
}
|
|
15
|
+
interface Audio extends SnippetAudioChunk.Raw {
|
|
16
|
+
type: "audio";
|
|
17
|
+
}
|
|
18
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
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.TtsOutput = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../core"));
|
|
41
|
+
const TimestampMessage_1 = require("./TimestampMessage");
|
|
42
|
+
const SnippetAudioChunk_1 = require("./SnippetAudioChunk");
|
|
43
|
+
exports.TtsOutput = core.serialization
|
|
44
|
+
.union("type", {
|
|
45
|
+
timestamp: TimestampMessage_1.TimestampMessage,
|
|
46
|
+
audio: SnippetAudioChunk_1.SnippetAudioChunk,
|
|
47
|
+
})
|
|
48
|
+
.transform({
|
|
49
|
+
transform: (value) => value,
|
|
50
|
+
untransform: (value) => value,
|
|
51
|
+
});
|
|
@@ -1,10 +1,16 @@
|
|
|
1
|
+
export * from "./TtsOutput";
|
|
2
|
+
export * from "./AudioFormatType";
|
|
1
3
|
export * from "./PublishTts";
|
|
4
|
+
export * from "./MillisecondInterval";
|
|
5
|
+
export * from "./TimestampMessage";
|
|
6
|
+
export * from "./SnippetAudioChunk";
|
|
7
|
+
export * from "./Timestamp";
|
|
8
|
+
export * from "./TimestampType";
|
|
2
9
|
export * from "./PostedUtteranceVoiceWithId";
|
|
3
10
|
export * from "./PostedUtteranceVoiceWithName";
|
|
4
11
|
export * from "./VoiceProvider";
|
|
5
12
|
export * from "./PostedUtteranceVoice";
|
|
6
|
-
export * from "./
|
|
7
|
-
export * from "./SnippetAudioChunk";
|
|
13
|
+
export * from "./OctaveVersion";
|
|
8
14
|
export * from "./PostedContextWithGenerationId";
|
|
9
15
|
export * from "./PostedContextWithUtterances";
|
|
10
16
|
export * from "./AudioEncoding";
|
|
@@ -15,7 +21,6 @@ export * from "./PostedContext";
|
|
|
15
21
|
export * from "./Format";
|
|
16
22
|
export * from "./PostedTts";
|
|
17
23
|
export * from "./ReturnTts";
|
|
18
|
-
export * from "./OctaveVersion";
|
|
19
24
|
export * from "./ReturnVoice";
|
|
20
25
|
export * from "./FormatPcm";
|
|
21
26
|
export * from "./Snippet";
|
|
@@ -14,13 +14,19 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./TtsOutput"), exports);
|
|
18
|
+
__exportStar(require("./AudioFormatType"), exports);
|
|
17
19
|
__exportStar(require("./PublishTts"), exports);
|
|
20
|
+
__exportStar(require("./MillisecondInterval"), exports);
|
|
21
|
+
__exportStar(require("./TimestampMessage"), exports);
|
|
22
|
+
__exportStar(require("./SnippetAudioChunk"), exports);
|
|
23
|
+
__exportStar(require("./Timestamp"), exports);
|
|
24
|
+
__exportStar(require("./TimestampType"), exports);
|
|
18
25
|
__exportStar(require("./PostedUtteranceVoiceWithId"), exports);
|
|
19
26
|
__exportStar(require("./PostedUtteranceVoiceWithName"), exports);
|
|
20
27
|
__exportStar(require("./VoiceProvider"), exports);
|
|
21
28
|
__exportStar(require("./PostedUtteranceVoice"), exports);
|
|
22
|
-
__exportStar(require("./
|
|
23
|
-
__exportStar(require("./SnippetAudioChunk"), exports);
|
|
29
|
+
__exportStar(require("./OctaveVersion"), exports);
|
|
24
30
|
__exportStar(require("./PostedContextWithGenerationId"), exports);
|
|
25
31
|
__exportStar(require("./PostedContextWithUtterances"), exports);
|
|
26
32
|
__exportStar(require("./AudioEncoding"), exports);
|
|
@@ -31,7 +37,6 @@ __exportStar(require("./PostedContext"), exports);
|
|
|
31
37
|
__exportStar(require("./Format"), exports);
|
|
32
38
|
__exportStar(require("./PostedTts"), exports);
|
|
33
39
|
__exportStar(require("./ReturnTts"), exports);
|
|
34
|
-
__exportStar(require("./OctaveVersion"), exports);
|
|
35
40
|
__exportStar(require("./ReturnVoice"), exports);
|
|
36
41
|
__exportStar(require("./FormatPcm"), exports);
|
|
37
42
|
__exportStar(require("./Snippet"), exports);
|
package/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "0.
|
|
1
|
+
export declare const SDK_VERSION = "0.14.1";
|
package/version.js
CHANGED