hume 0.8.0 → 0.8.1-beta0
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 +3 -65
- package/Client.d.ts +3 -0
- package/api/resources/empathicVoice/client/Client.d.ts +3 -0
- package/api/resources/empathicVoice/resources/chat/client/Socket.d.ts +8 -8
- package/api/resources/empathicVoice/resources/chat/client/Socket.js +13 -40
- package/api/resources/empathicVoice/resources/chatGroups/client/Client.d.ts +3 -0
- package/api/resources/empathicVoice/resources/chatGroups/client/Client.js +4 -4
- package/api/resources/empathicVoice/resources/chats/client/Client.d.ts +3 -0
- package/api/resources/empathicVoice/resources/chats/client/Client.js +4 -4
- package/api/resources/empathicVoice/resources/configs/client/Client.d.ts +3 -0
- package/api/resources/empathicVoice/resources/configs/client/Client.js +19 -23
- package/api/resources/empathicVoice/resources/prompts/client/Client.d.ts +3 -0
- package/api/resources/empathicVoice/resources/prompts/client/Client.js +19 -23
- package/api/resources/empathicVoice/resources/tools/client/Client.d.ts +3 -0
- package/api/resources/empathicVoice/resources/tools/client/Client.js +19 -19
- package/api/resources/empathicVoice/types/SessionSettings.d.ts +2 -0
- package/api/resources/empathicVoice/types/VoiceArgs.d.ts +0 -2
- package/api/resources/empathicVoice/types/index.d.ts +0 -1
- package/api/resources/empathicVoice/types/index.js +0 -1
- package/api/resources/expressionMeasurement/client/Client.d.ts +3 -0
- package/api/resources/expressionMeasurement/resources/batch/client/Client.d.ts +3 -0
- package/api/resources/expressionMeasurement/resources/batch/client/Client.js +12 -12
- package/core/form-data-utils/FormDataWrapper.js +1 -3
- package/core/schemas/Schema.d.ts +3 -4
- package/core/schemas/builders/lazy/lazy.d.ts +2 -2
- package/core/schemas/builders/lazy/lazy.js +8 -19
- package/core/schemas/builders/lazy/lazyObject.js +1 -10
- package/core/schemas/builders/list/list.js +31 -44
- package/core/schemas/builders/object/object.js +88 -111
- package/core/schemas/builders/object/types.d.ts +2 -2
- package/core/schemas/builders/object-like/getObjectLikeUtils.js +3 -12
- package/core/schemas/builders/record/record.js +49 -60
- package/core/schemas/builders/schema-utils/getSchemaUtils.d.ts +2 -2
- package/core/schemas/builders/schema-utils/getSchemaUtils.js +12 -21
- package/core/schemas/builders/set/set.js +6 -15
- package/core/schemas/builders/undiscriminated-union/undiscriminatedUnion.js +21 -32
- package/core/schemas/builders/union/union.js +51 -62
- package/core/schemas/utils/maybeSkipValidation.js +3 -12
- package/dist/Client.d.ts +3 -0
- package/dist/api/resources/empathicVoice/client/Client.d.ts +3 -0
- package/dist/api/resources/empathicVoice/resources/chat/client/Socket.d.ts +8 -8
- package/dist/api/resources/empathicVoice/resources/chat/client/Socket.js +13 -40
- package/dist/api/resources/empathicVoice/resources/chatGroups/client/Client.d.ts +3 -0
- package/dist/api/resources/empathicVoice/resources/chatGroups/client/Client.js +4 -4
- package/dist/api/resources/empathicVoice/resources/chats/client/Client.d.ts +3 -0
- package/dist/api/resources/empathicVoice/resources/chats/client/Client.js +4 -4
- package/dist/api/resources/empathicVoice/resources/configs/client/Client.d.ts +3 -0
- package/dist/api/resources/empathicVoice/resources/configs/client/Client.js +19 -23
- package/dist/api/resources/empathicVoice/resources/prompts/client/Client.d.ts +3 -0
- package/dist/api/resources/empathicVoice/resources/prompts/client/Client.js +19 -23
- package/dist/api/resources/empathicVoice/resources/tools/client/Client.d.ts +3 -0
- package/dist/api/resources/empathicVoice/resources/tools/client/Client.js +19 -19
- package/dist/api/resources/empathicVoice/types/SessionSettings.d.ts +2 -0
- package/dist/api/resources/empathicVoice/types/VoiceArgs.d.ts +0 -2
- package/dist/api/resources/empathicVoice/types/index.d.ts +0 -1
- package/dist/api/resources/empathicVoice/types/index.js +0 -1
- package/dist/api/resources/expressionMeasurement/client/Client.d.ts +3 -0
- package/dist/api/resources/expressionMeasurement/resources/batch/client/Client.d.ts +3 -0
- package/dist/api/resources/expressionMeasurement/resources/batch/client/Client.js +12 -12
- package/dist/core/form-data-utils/FormDataWrapper.js +1 -3
- package/dist/core/schemas/Schema.d.ts +3 -4
- package/dist/core/schemas/builders/lazy/lazy.d.ts +2 -2
- package/dist/core/schemas/builders/lazy/lazy.js +8 -19
- package/dist/core/schemas/builders/lazy/lazyObject.js +1 -10
- package/dist/core/schemas/builders/list/list.js +31 -44
- package/dist/core/schemas/builders/object/object.js +88 -111
- package/dist/core/schemas/builders/object/types.d.ts +2 -2
- package/dist/core/schemas/builders/object-like/getObjectLikeUtils.js +3 -12
- package/dist/core/schemas/builders/record/record.js +49 -60
- package/dist/core/schemas/builders/schema-utils/getSchemaUtils.d.ts +2 -2
- package/dist/core/schemas/builders/schema-utils/getSchemaUtils.js +12 -21
- package/dist/core/schemas/builders/set/set.js +6 -15
- package/dist/core/schemas/builders/undiscriminated-union/undiscriminatedUnion.js +21 -32
- package/dist/core/schemas/builders/union/union.js +51 -62
- package/dist/core/schemas/utils/maybeSkipValidation.js +3 -12
- package/dist/serialization/resources/empathicVoice/types/SessionSettings.d.ts +1 -0
- package/dist/serialization/resources/empathicVoice/types/SessionSettings.js +1 -0
- package/dist/serialization/resources/empathicVoice/types/VoiceArgs.d.ts +0 -3
- package/dist/serialization/resources/empathicVoice/types/VoiceArgs.js +0 -3
- package/dist/serialization/resources/empathicVoice/types/index.d.ts +0 -1
- package/dist/serialization/resources/empathicVoice/types/index.js +0 -1
- package/package.json +1 -1
- package/serialization/resources/empathicVoice/types/SessionSettings.d.ts +1 -0
- package/serialization/resources/empathicVoice/types/SessionSettings.js +1 -0
- package/serialization/resources/empathicVoice/types/VoiceArgs.d.ts +0 -3
- package/serialization/resources/empathicVoice/types/VoiceArgs.js +0 -3
- package/serialization/resources/empathicVoice/types/index.d.ts +0 -1
- package/serialization/resources/empathicVoice/types/index.js +0 -1
- package/api/resources/empathicVoice/types/Features.d.ts +0 -21
- package/api/resources/empathicVoice/types/Features.js +0 -5
- package/dist/api/resources/empathicVoice/types/Features.d.ts +0 -21
- package/dist/api/resources/empathicVoice/types/Features.js +0 -5
- package/dist/serialization/resources/empathicVoice/types/Features.d.ts +0 -19
- package/dist/serialization/resources/empathicVoice/types/Features.js +0 -40
- package/serialization/resources/empathicVoice/types/Features.d.ts +0 -19
- package/serialization/resources/empathicVoice/types/Features.js +0 -40
|
@@ -77,7 +77,6 @@ export * from "./TtsInput";
|
|
|
77
77
|
export * from "./TextInput";
|
|
78
78
|
export * from "./FunctionCallResponseInput";
|
|
79
79
|
export * from "./ExtendedVoiceArgs";
|
|
80
|
-
export * from "./Features";
|
|
81
80
|
export * from "./HttpValidationError";
|
|
82
81
|
export * from "./ValidationErrorLocItem";
|
|
83
82
|
export * from "./ValidationError";
|
|
@@ -93,7 +93,6 @@ __exportStar(require("./TtsInput"), exports);
|
|
|
93
93
|
__exportStar(require("./TextInput"), exports);
|
|
94
94
|
__exportStar(require("./FunctionCallResponseInput"), exports);
|
|
95
95
|
__exportStar(require("./ExtendedVoiceArgs"), exports);
|
|
96
|
-
__exportStar(require("./Features"), exports);
|
|
97
96
|
__exportStar(require("./HttpValidationError"), exports);
|
|
98
97
|
__exportStar(require("./ValidationErrorLocItem"), exports);
|
|
99
98
|
__exportStar(require("./ValidationError"), exports);
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
export interface Features {
|
|
5
|
-
/** Confidence (F->M) */
|
|
6
|
-
confidence?: number;
|
|
7
|
-
/** Enthusiasm (M->A) */
|
|
8
|
-
enthusiasm?: number;
|
|
9
|
-
/** Affirmative (F->A/M) */
|
|
10
|
-
affirmative?: number;
|
|
11
|
-
/** Articulate (A->M) */
|
|
12
|
-
articulate?: number;
|
|
13
|
-
/** Maturity (M->F) */
|
|
14
|
-
maturity?: number;
|
|
15
|
-
/** Defeated (N->M) */
|
|
16
|
-
defeated?: number;
|
|
17
|
-
/** Feminine (M->F) */
|
|
18
|
-
feminine?: number;
|
|
19
|
-
/** Nerdy (A->A) */
|
|
20
|
-
nerdy?: number;
|
|
21
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
export interface Features {
|
|
5
|
-
/** Confidence (F->M) */
|
|
6
|
-
confidence?: number;
|
|
7
|
-
/** Enthusiasm (M->A) */
|
|
8
|
-
enthusiasm?: number;
|
|
9
|
-
/** Affirmative (F->A/M) */
|
|
10
|
-
affirmative?: number;
|
|
11
|
-
/** Articulate (A->M) */
|
|
12
|
-
articulate?: number;
|
|
13
|
-
/** Maturity (M->F) */
|
|
14
|
-
maturity?: number;
|
|
15
|
-
/** Defeated (N->M) */
|
|
16
|
-
defeated?: number;
|
|
17
|
-
/** Feminine (M->F) */
|
|
18
|
-
feminine?: number;
|
|
19
|
-
/** Nerdy (A->A) */
|
|
20
|
-
nerdy?: number;
|
|
21
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as serializers from "../../../index";
|
|
5
|
-
import * as Hume from "../../../../api/index";
|
|
6
|
-
import * as core from "../../../../core";
|
|
7
|
-
export declare const Features: core.serialization.ObjectSchema<serializers.empathicVoice.Features.Raw, Hume.empathicVoice.Features>;
|
|
8
|
-
export declare namespace Features {
|
|
9
|
-
interface Raw {
|
|
10
|
-
confidence?: number | null;
|
|
11
|
-
enthusiasm?: number | null;
|
|
12
|
-
affirmative?: number | null;
|
|
13
|
-
articulate?: number | null;
|
|
14
|
-
maturity?: number | null;
|
|
15
|
-
defeated?: number | null;
|
|
16
|
-
feminine?: number | null;
|
|
17
|
-
nerdy?: number | null;
|
|
18
|
-
}
|
|
19
|
-
}
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/**
|
|
3
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
-
*/
|
|
5
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
-
if (k2 === undefined) k2 = k;
|
|
7
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
-
}
|
|
11
|
-
Object.defineProperty(o, k2, desc);
|
|
12
|
-
}) : (function(o, m, k, k2) {
|
|
13
|
-
if (k2 === undefined) k2 = k;
|
|
14
|
-
o[k2] = m[k];
|
|
15
|
-
}));
|
|
16
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
-
}) : function(o, v) {
|
|
19
|
-
o["default"] = v;
|
|
20
|
-
});
|
|
21
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
-
if (mod && mod.__esModule) return mod;
|
|
23
|
-
var result = {};
|
|
24
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
-
__setModuleDefault(result, mod);
|
|
26
|
-
return result;
|
|
27
|
-
};
|
|
28
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.Features = void 0;
|
|
30
|
-
const core = __importStar(require("../../../../core"));
|
|
31
|
-
exports.Features = core.serialization.object({
|
|
32
|
-
confidence: core.serialization.number().optional(),
|
|
33
|
-
enthusiasm: core.serialization.number().optional(),
|
|
34
|
-
affirmative: core.serialization.number().optional(),
|
|
35
|
-
articulate: core.serialization.number().optional(),
|
|
36
|
-
maturity: core.serialization.number().optional(),
|
|
37
|
-
defeated: core.serialization.number().optional(),
|
|
38
|
-
feminine: core.serialization.number().optional(),
|
|
39
|
-
nerdy: core.serialization.number().optional(),
|
|
40
|
-
});
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as serializers from "../../../index";
|
|
5
|
-
import * as Hume from "../../../../api/index";
|
|
6
|
-
import * as core from "../../../../core";
|
|
7
|
-
export declare const Features: core.serialization.ObjectSchema<serializers.empathicVoice.Features.Raw, Hume.empathicVoice.Features>;
|
|
8
|
-
export declare namespace Features {
|
|
9
|
-
interface Raw {
|
|
10
|
-
confidence?: number | null;
|
|
11
|
-
enthusiasm?: number | null;
|
|
12
|
-
affirmative?: number | null;
|
|
13
|
-
articulate?: number | null;
|
|
14
|
-
maturity?: number | null;
|
|
15
|
-
defeated?: number | null;
|
|
16
|
-
feminine?: number | null;
|
|
17
|
-
nerdy?: number | null;
|
|
18
|
-
}
|
|
19
|
-
}
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/**
|
|
3
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
-
*/
|
|
5
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
-
if (k2 === undefined) k2 = k;
|
|
7
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
-
}
|
|
11
|
-
Object.defineProperty(o, k2, desc);
|
|
12
|
-
}) : (function(o, m, k, k2) {
|
|
13
|
-
if (k2 === undefined) k2 = k;
|
|
14
|
-
o[k2] = m[k];
|
|
15
|
-
}));
|
|
16
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
-
}) : function(o, v) {
|
|
19
|
-
o["default"] = v;
|
|
20
|
-
});
|
|
21
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
-
if (mod && mod.__esModule) return mod;
|
|
23
|
-
var result = {};
|
|
24
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
-
__setModuleDefault(result, mod);
|
|
26
|
-
return result;
|
|
27
|
-
};
|
|
28
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.Features = void 0;
|
|
30
|
-
const core = __importStar(require("../../../../core"));
|
|
31
|
-
exports.Features = core.serialization.object({
|
|
32
|
-
confidence: core.serialization.number().optional(),
|
|
33
|
-
enthusiasm: core.serialization.number().optional(),
|
|
34
|
-
affirmative: core.serialization.number().optional(),
|
|
35
|
-
articulate: core.serialization.number().optional(),
|
|
36
|
-
maturity: core.serialization.number().optional(),
|
|
37
|
-
defeated: core.serialization.number().optional(),
|
|
38
|
-
feminine: core.serialization.number().optional(),
|
|
39
|
-
nerdy: core.serialization.number().optional(),
|
|
40
|
-
});
|