hume 0.9.7 → 0.9.9
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 +40 -51
- package/.mock/definition/empathic-voice/chatGroups.yml +16 -14
- package/.mock/definition/empathic-voice/chats.yml +5 -0
- package/.mock/definition/empathic-voice/configs.yml +6 -0
- package/Client.d.ts +1 -3
- package/Client.js +1 -3
- package/api/resources/empathicVoice/client/Client.d.ts +4 -3
- package/api/resources/empathicVoice/client/Client.js +14 -11
- package/api/resources/empathicVoice/resources/chat/client/Client.d.ts +1 -0
- package/api/resources/empathicVoice/resources/chat/client/Client.js +8 -5
- package/api/resources/empathicVoice/resources/chat/client/Socket.d.ts +1 -0
- package/api/resources/empathicVoice/resources/chat/client/Socket.js +1 -0
- package/api/resources/empathicVoice/resources/chat/client/index.d.ts +1 -0
- package/api/resources/empathicVoice/resources/chat/client/index.js +1 -0
- package/api/resources/empathicVoice/resources/chat/index.d.ts +1 -0
- package/api/resources/empathicVoice/resources/chat/index.js +1 -0
- package/api/resources/empathicVoice/resources/chatGroups/client/Client.d.ts +1 -1
- package/api/resources/empathicVoice/resources/chatGroups/client/Client.js +5 -5
- package/api/resources/empathicVoice/resources/chatGroups/client/requests/ChatGroupsGetAudioRequest.d.ts +5 -5
- package/api/resources/empathicVoice/resources/chats/client/Client.js +7 -4
- package/api/resources/empathicVoice/resources/chats/client/requests/ChatsListChatsRequest.d.ts +4 -0
- package/api/resources/empathicVoice/resources/configs/client/Client.js +9 -9
- package/api/resources/empathicVoice/resources/configs/client/requests/PostedConfig.d.ts +2 -0
- package/api/resources/empathicVoice/resources/configs/client/requests/PostedConfigVersion.d.ts +2 -0
- package/api/resources/empathicVoice/resources/customVoices/client/Client.js +6 -6
- package/api/resources/empathicVoice/resources/prompts/client/Client.js +9 -9
- package/api/resources/empathicVoice/resources/tools/client/Client.js +9 -9
- package/api/resources/empathicVoice/types/PostedWebhookEventType.d.ts +11 -0
- package/api/resources/empathicVoice/types/PostedWebhookEventType.js +10 -0
- package/api/resources/empathicVoice/types/PostedWebhookSpec.d.ts +13 -0
- package/api/resources/empathicVoice/types/ReturnChatGroup.d.ts +2 -0
- package/api/resources/empathicVoice/types/ReturnConfig.d.ts +2 -0
- package/api/resources/empathicVoice/types/ReturnWebhookEventType.d.ts +11 -0
- package/api/resources/empathicVoice/types/ReturnWebhookEventType.js +10 -0
- package/api/resources/empathicVoice/types/ReturnWebhookSpec.d.ts +13 -0
- package/api/resources/empathicVoice/types/index.d.ts +4 -3
- package/api/resources/empathicVoice/types/index.js +4 -3
- package/api/resources/expressionMeasurement/resources/batch/client/Client.js +6 -6
- package/api/resources/index.d.ts +1 -1
- package/api/resources/index.js +2 -2
- package/core/fetcher/Supplier.d.ts +1 -0
- package/core/index.d.ts +1 -0
- package/core/index.js +1 -0
- package/core/websocket/events.d.ts +1 -0
- package/core/websocket/events.js +1 -0
- package/core/websocket/index.d.ts +1 -0
- package/core/websocket/index.js +1 -0
- package/core/websocket/ws.js +1 -0
- package/dist/Client.d.ts +1 -3
- package/dist/Client.js +1 -3
- package/dist/api/resources/empathicVoice/client/Client.d.ts +4 -3
- package/dist/api/resources/empathicVoice/client/Client.js +14 -11
- package/dist/api/resources/empathicVoice/resources/chat/client/Client.d.ts +1 -0
- package/dist/api/resources/empathicVoice/resources/chat/client/Client.js +8 -5
- package/dist/api/resources/empathicVoice/resources/chat/client/Socket.d.ts +1 -0
- package/dist/api/resources/empathicVoice/resources/chat/client/Socket.js +1 -0
- package/dist/api/resources/empathicVoice/resources/chat/client/index.d.ts +1 -0
- package/dist/api/resources/empathicVoice/resources/chat/client/index.js +1 -0
- package/dist/api/resources/empathicVoice/resources/chat/index.d.ts +1 -0
- package/dist/api/resources/empathicVoice/resources/chat/index.js +1 -0
- package/dist/api/resources/empathicVoice/resources/chatGroups/client/Client.d.ts +1 -1
- package/dist/api/resources/empathicVoice/resources/chatGroups/client/Client.js +5 -5
- package/dist/api/resources/empathicVoice/resources/chatGroups/client/requests/ChatGroupsGetAudioRequest.d.ts +5 -5
- package/dist/api/resources/empathicVoice/resources/chats/client/Client.js +7 -4
- package/dist/api/resources/empathicVoice/resources/chats/client/requests/ChatsListChatsRequest.d.ts +4 -0
- package/dist/api/resources/empathicVoice/resources/configs/client/Client.js +9 -9
- package/dist/api/resources/empathicVoice/resources/configs/client/requests/PostedConfig.d.ts +2 -0
- package/dist/api/resources/empathicVoice/resources/configs/client/requests/PostedConfigVersion.d.ts +2 -0
- package/dist/api/resources/empathicVoice/resources/customVoices/client/Client.js +6 -6
- package/dist/api/resources/empathicVoice/resources/prompts/client/Client.js +9 -9
- package/dist/api/resources/empathicVoice/resources/tools/client/Client.js +9 -9
- package/dist/api/resources/empathicVoice/types/PostedWebhookEventType.d.ts +11 -0
- package/dist/api/resources/empathicVoice/types/PostedWebhookEventType.js +10 -0
- package/dist/api/resources/empathicVoice/types/PostedWebhookSpec.d.ts +13 -0
- package/dist/api/resources/empathicVoice/types/ReturnChatGroup.d.ts +2 -0
- package/dist/api/resources/empathicVoice/types/ReturnConfig.d.ts +2 -0
- package/dist/api/resources/empathicVoice/types/ReturnWebhookEventType.d.ts +11 -0
- package/dist/api/resources/empathicVoice/types/ReturnWebhookEventType.js +10 -0
- package/dist/api/resources/empathicVoice/types/ReturnWebhookSpec.d.ts +13 -0
- package/dist/api/resources/empathicVoice/types/index.d.ts +4 -3
- package/dist/api/resources/empathicVoice/types/index.js +4 -3
- package/dist/api/resources/expressionMeasurement/resources/batch/client/Client.js +6 -6
- package/dist/api/resources/index.d.ts +1 -1
- package/dist/api/resources/index.js +2 -2
- package/dist/core/fetcher/Supplier.d.ts +1 -0
- package/dist/core/index.d.ts +1 -0
- package/dist/core/index.js +1 -0
- package/dist/core/websocket/events.d.ts +1 -0
- package/dist/core/websocket/events.js +1 -0
- package/dist/core/websocket/index.d.ts +1 -0
- package/dist/core/websocket/index.js +1 -0
- package/dist/core/websocket/ws.js +1 -0
- package/dist/errors/HumeError.d.ts +1 -3
- package/dist/errors/HumeError.js +1 -3
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/dist/serialization/resources/empathicVoice/resources/configs/client/requests/PostedConfig.d.ts +2 -0
- package/dist/serialization/resources/empathicVoice/resources/configs/client/requests/PostedConfig.js +2 -0
- package/dist/serialization/resources/empathicVoice/resources/configs/client/requests/PostedConfigVersion.d.ts +2 -0
- package/dist/serialization/resources/empathicVoice/resources/configs/client/requests/PostedConfigVersion.js +2 -0
- package/dist/serialization/resources/empathicVoice/types/PostedWebhookEventType.d.ts +10 -0
- package/{serialization/resources/empathicVoice/types/ReturnActiveChatCountPerTag.js → dist/serialization/resources/empathicVoice/types/PostedWebhookEventType.js} +2 -5
- package/dist/serialization/resources/empathicVoice/types/PostedWebhookSpec.d.ts +14 -0
- package/dist/serialization/resources/empathicVoice/types/PostedWebhookSpec.js +35 -0
- package/dist/serialization/resources/empathicVoice/types/ReturnChatGroup.d.ts +2 -0
- package/dist/serialization/resources/empathicVoice/types/ReturnChatGroup.js +2 -0
- package/dist/serialization/resources/empathicVoice/types/ReturnConfig.d.ts +2 -0
- package/dist/serialization/resources/empathicVoice/types/ReturnConfig.js +2 -0
- package/dist/serialization/resources/empathicVoice/types/ReturnWebhookEventType.d.ts +10 -0
- package/dist/serialization/resources/empathicVoice/types/{ReturnActiveChatCountPerTag.js → ReturnWebhookEventType.js} +2 -5
- package/dist/serialization/resources/empathicVoice/types/ReturnWebhookSpec.d.ts +14 -0
- package/dist/serialization/resources/empathicVoice/types/ReturnWebhookSpec.js +35 -0
- package/dist/serialization/resources/empathicVoice/types/index.d.ts +4 -3
- package/dist/serialization/resources/empathicVoice/types/index.js +4 -3
- package/dist/serialization/resources/index.d.ts +1 -1
- package/dist/serialization/resources/index.js +2 -2
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/dist/wrapper/convertBase64ToBlob.d.ts +1 -1
- package/errors/HumeError.d.ts +1 -3
- package/errors/HumeError.js +1 -3
- package/index.d.ts +1 -0
- package/index.js +1 -0
- package/package.json +1 -1
- package/reference.md +538 -538
- package/serialization/resources/empathicVoice/resources/configs/client/requests/PostedConfig.d.ts +2 -0
- package/serialization/resources/empathicVoice/resources/configs/client/requests/PostedConfig.js +2 -0
- package/serialization/resources/empathicVoice/resources/configs/client/requests/PostedConfigVersion.d.ts +2 -0
- package/serialization/resources/empathicVoice/resources/configs/client/requests/PostedConfigVersion.js +2 -0
- package/serialization/resources/empathicVoice/types/PostedWebhookEventType.d.ts +10 -0
- package/serialization/resources/empathicVoice/types/{VoiceNameEnum.js → PostedWebhookEventType.js} +2 -17
- package/serialization/resources/empathicVoice/types/PostedWebhookSpec.d.ts +14 -0
- package/serialization/resources/empathicVoice/types/PostedWebhookSpec.js +35 -0
- package/serialization/resources/empathicVoice/types/ReturnChatGroup.d.ts +2 -0
- package/serialization/resources/empathicVoice/types/ReturnChatGroup.js +2 -0
- package/serialization/resources/empathicVoice/types/ReturnConfig.d.ts +2 -0
- package/serialization/resources/empathicVoice/types/ReturnConfig.js +2 -0
- package/serialization/resources/empathicVoice/types/ReturnWebhookEventType.d.ts +10 -0
- package/{dist/serialization/resources/empathicVoice/types/VoiceNameEnum.js → serialization/resources/empathicVoice/types/ReturnWebhookEventType.js} +2 -17
- package/serialization/resources/empathicVoice/types/ReturnWebhookSpec.d.ts +14 -0
- package/serialization/resources/empathicVoice/types/ReturnWebhookSpec.js +35 -0
- package/serialization/resources/empathicVoice/types/index.d.ts +4 -3
- package/serialization/resources/empathicVoice/types/index.js +4 -3
- package/serialization/resources/index.d.ts +1 -1
- package/serialization/resources/index.js +2 -2
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/wrapper/convertBase64ToBlob.d.ts +1 -1
- package/api/resources/empathicVoice/types/ReturnActiveChatCount.d.ts +0 -19
- package/api/resources/empathicVoice/types/ReturnActiveChatCountPerTag.d.ts +0 -12
- package/api/resources/empathicVoice/types/VoiceNameEnum.d.ts +0 -20
- package/api/resources/empathicVoice/types/VoiceNameEnum.js +0 -22
- package/dist/api/resources/empathicVoice/types/ReturnActiveChatCount.d.ts +0 -19
- package/dist/api/resources/empathicVoice/types/ReturnActiveChatCountPerTag.d.ts +0 -12
- package/dist/api/resources/empathicVoice/types/VoiceNameEnum.d.ts +0 -20
- package/dist/api/resources/empathicVoice/types/VoiceNameEnum.js +0 -22
- package/dist/serialization/resources/empathicVoice/types/ReturnActiveChatCount.d.ts +0 -17
- package/dist/serialization/resources/empathicVoice/types/ReturnActiveChatCount.js +0 -38
- package/dist/serialization/resources/empathicVoice/types/ReturnActiveChatCountPerTag.d.ts +0 -13
- package/dist/serialization/resources/empathicVoice/types/VoiceNameEnum.d.ts +0 -10
- package/serialization/resources/empathicVoice/types/ReturnActiveChatCount.d.ts +0 -17
- package/serialization/resources/empathicVoice/types/ReturnActiveChatCount.js +0 -38
- package/serialization/resources/empathicVoice/types/ReturnActiveChatCountPerTag.d.ts +0 -13
- package/serialization/resources/empathicVoice/types/VoiceNameEnum.d.ts +0 -10
- /package/api/resources/empathicVoice/types/{ReturnActiveChatCount.js → PostedWebhookSpec.js} +0 -0
- /package/api/resources/empathicVoice/types/{ReturnActiveChatCountPerTag.js → ReturnWebhookSpec.js} +0 -0
- /package/dist/api/resources/empathicVoice/types/{ReturnActiveChatCount.js → PostedWebhookSpec.js} +0 -0
- /package/dist/api/resources/empathicVoice/types/{ReturnActiveChatCountPerTag.js → ReturnWebhookSpec.js} +0 -0
|
@@ -1,10 +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 VoiceNameEnum: core.serialization.Schema<serializers.empathicVoice.VoiceNameEnum.Raw, Hume.empathicVoice.VoiceNameEnum>;
|
|
8
|
-
export declare namespace VoiceNameEnum {
|
|
9
|
-
type Raw = "ITO" | "KORA" | "DACHER" | "AURA" | "FINN" | "SIENNA" | "WILLOW" | "SCOUT" | "WHIMSY" | "ACE" | "JUNO" | "STELLA" | "HIRO" | "SUNNY";
|
|
10
|
-
}
|
|
@@ -1,17 +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
|
-
import { ReturnActiveChatCountPerTag } from "./ReturnActiveChatCountPerTag";
|
|
8
|
-
export declare const ReturnActiveChatCount: core.serialization.ObjectSchema<serializers.empathicVoice.ReturnActiveChatCount.Raw, Hume.empathicVoice.ReturnActiveChatCount>;
|
|
9
|
-
export declare namespace ReturnActiveChatCount {
|
|
10
|
-
interface Raw {
|
|
11
|
-
timestamp: number;
|
|
12
|
-
total_user_active_chats: number;
|
|
13
|
-
max_allowed_active_chats?: number | null;
|
|
14
|
-
more_active_chats_allowed: boolean;
|
|
15
|
-
per_tag?: (ReturnActiveChatCountPerTag.Raw | null | undefined)[] | null;
|
|
16
|
-
}
|
|
17
|
-
}
|
|
@@ -1,38 +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.ReturnActiveChatCount = void 0;
|
|
30
|
-
const core = __importStar(require("../../../../core"));
|
|
31
|
-
const ReturnActiveChatCountPerTag_1 = require("./ReturnActiveChatCountPerTag");
|
|
32
|
-
exports.ReturnActiveChatCount = core.serialization.object({
|
|
33
|
-
timestamp: core.serialization.number(),
|
|
34
|
-
totalUserActiveChats: core.serialization.property("total_user_active_chats", core.serialization.number()),
|
|
35
|
-
maxAllowedActiveChats: core.serialization.property("max_allowed_active_chats", core.serialization.number().optional()),
|
|
36
|
-
moreActiveChatsAllowed: core.serialization.property("more_active_chats_allowed", core.serialization.boolean()),
|
|
37
|
-
perTag: core.serialization.property("per_tag", core.serialization.list(ReturnActiveChatCountPerTag_1.ReturnActiveChatCountPerTag.optional()).optional()),
|
|
38
|
-
});
|
|
@@ -1,13 +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 ReturnActiveChatCountPerTag: core.serialization.ObjectSchema<serializers.empathicVoice.ReturnActiveChatCountPerTag.Raw, Hume.empathicVoice.ReturnActiveChatCountPerTag>;
|
|
8
|
-
export declare namespace ReturnActiveChatCountPerTag {
|
|
9
|
-
interface Raw {
|
|
10
|
-
tag: string;
|
|
11
|
-
total_tag_active_chats: number;
|
|
12
|
-
}
|
|
13
|
-
}
|
|
@@ -1,10 +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 VoiceNameEnum: core.serialization.Schema<serializers.empathicVoice.VoiceNameEnum.Raw, Hume.empathicVoice.VoiceNameEnum>;
|
|
8
|
-
export declare namespace VoiceNameEnum {
|
|
9
|
-
type Raw = "ITO" | "KORA" | "DACHER" | "AURA" | "FINN" | "SIENNA" | "WILLOW" | "SCOUT" | "WHIMSY" | "ACE" | "JUNO" | "STELLA" | "HIRO" | "SUNNY";
|
|
10
|
-
}
|
/package/api/resources/empathicVoice/types/{ReturnActiveChatCount.js → PostedWebhookSpec.js}
RENAMED
|
File without changes
|
/package/api/resources/empathicVoice/types/{ReturnActiveChatCountPerTag.js → ReturnWebhookSpec.js}
RENAMED
|
File without changes
|
/package/dist/api/resources/empathicVoice/types/{ReturnActiveChatCount.js → PostedWebhookSpec.js}
RENAMED
|
File without changes
|
|
File without changes
|