hume 0.9.8 → 0.9.10
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 +121 -48
- package/.mock/definition/empathic-voice/chatGroups.yml +16 -14
- package/.mock/definition/empathic-voice/chatWebhooks.yml +21 -0
- 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 +1 -0
- 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/WebhookEvent.d.ts +5 -0
- package/api/resources/empathicVoice/types/WebhookEventBase.d.ts +14 -0
- package/api/resources/empathicVoice/types/WebhookEventChatEnded.d.ts +13 -0
- package/api/resources/empathicVoice/types/WebhookEventChatEnded.js +5 -0
- package/api/resources/empathicVoice/types/WebhookEventChatStartType.d.ts +8 -0
- package/api/resources/empathicVoice/types/WebhookEventChatStartType.js +10 -0
- package/api/resources/empathicVoice/types/WebhookEventChatStarted.d.ts +16 -0
- package/api/resources/empathicVoice/types/WebhookEventChatStarted.js +5 -0
- package/api/resources/empathicVoice/types/WebhookEventChatStatus.d.ts +12 -0
- package/api/resources/empathicVoice/types/WebhookEventChatStatus.js +14 -0
- package/api/resources/empathicVoice/types/index.d.ts +10 -3
- package/api/resources/empathicVoice/types/index.js +10 -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 +1 -0
- 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/PostedWebhookSpec.js +5 -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/ReturnWebhookSpec.js +5 -0
- package/dist/api/resources/empathicVoice/types/WebhookEvent.d.ts +5 -0
- package/dist/api/resources/empathicVoice/types/WebhookEvent.js +5 -0
- package/dist/api/resources/empathicVoice/types/WebhookEventBase.d.ts +14 -0
- package/dist/api/resources/empathicVoice/types/WebhookEventBase.js +5 -0
- package/dist/api/resources/empathicVoice/types/WebhookEventChatEnded.d.ts +13 -0
- package/dist/api/resources/empathicVoice/types/WebhookEventChatEnded.js +5 -0
- package/dist/api/resources/empathicVoice/types/WebhookEventChatStartType.d.ts +8 -0
- package/dist/api/resources/empathicVoice/types/WebhookEventChatStartType.js +10 -0
- package/dist/api/resources/empathicVoice/types/WebhookEventChatStarted.d.ts +16 -0
- package/dist/api/resources/empathicVoice/types/WebhookEventChatStarted.js +5 -0
- package/dist/api/resources/empathicVoice/types/WebhookEventChatStatus.d.ts +12 -0
- package/dist/api/resources/empathicVoice/types/WebhookEventChatStatus.js +14 -0
- package/dist/api/resources/empathicVoice/types/index.d.ts +10 -3
- package/dist/api/resources/empathicVoice/types/index.js +10 -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/WebhookEvent.d.ts +12 -0
- package/dist/serialization/resources/empathicVoice/types/WebhookEvent.js +33 -0
- package/dist/serialization/resources/empathicVoice/types/WebhookEventBase.d.ts +14 -0
- package/dist/serialization/resources/empathicVoice/types/WebhookEventBase.js +35 -0
- package/dist/serialization/resources/empathicVoice/types/WebhookEventChatEnded.d.ts +19 -0
- package/dist/serialization/resources/empathicVoice/types/WebhookEventChatEnded.js +42 -0
- package/dist/serialization/resources/empathicVoice/types/{VoiceNameEnum.d.ts → WebhookEventChatStartType.d.ts} +3 -3
- package/dist/serialization/resources/empathicVoice/types/WebhookEventChatStartType.js +31 -0
- package/dist/serialization/resources/empathicVoice/types/WebhookEventChatStarted.d.ts +18 -0
- package/dist/serialization/resources/empathicVoice/types/{ReturnActiveChatCount.js → WebhookEventChatStarted.js} +12 -9
- package/dist/serialization/resources/empathicVoice/types/WebhookEventChatStatus.d.ts +10 -0
- package/dist/serialization/resources/empathicVoice/types/{VoiceNameEnum.js → WebhookEventChatStatus.js} +8 -16
- package/dist/serialization/resources/empathicVoice/types/index.d.ts +10 -3
- package/dist/serialization/resources/empathicVoice/types/index.js +10 -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/PostedWebhookEventType.js +31 -0
- 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/serialization/resources/empathicVoice/types/ReturnWebhookEventType.js +31 -0
- package/serialization/resources/empathicVoice/types/ReturnWebhookSpec.d.ts +14 -0
- package/serialization/resources/empathicVoice/types/ReturnWebhookSpec.js +35 -0
- package/serialization/resources/empathicVoice/types/WebhookEvent.d.ts +12 -0
- package/serialization/resources/empathicVoice/types/WebhookEvent.js +33 -0
- package/serialization/resources/empathicVoice/types/WebhookEventBase.d.ts +14 -0
- package/serialization/resources/empathicVoice/types/WebhookEventBase.js +35 -0
- package/serialization/resources/empathicVoice/types/WebhookEventChatEnded.d.ts +19 -0
- package/serialization/resources/empathicVoice/types/WebhookEventChatEnded.js +42 -0
- package/serialization/resources/empathicVoice/types/{VoiceNameEnum.d.ts → WebhookEventChatStartType.d.ts} +3 -3
- package/serialization/resources/empathicVoice/types/WebhookEventChatStartType.js +31 -0
- package/serialization/resources/empathicVoice/types/WebhookEventChatStarted.d.ts +18 -0
- package/serialization/resources/empathicVoice/types/{ReturnActiveChatCount.js → WebhookEventChatStarted.js} +12 -9
- package/serialization/resources/empathicVoice/types/WebhookEventChatStatus.d.ts +10 -0
- package/serialization/resources/empathicVoice/types/{VoiceNameEnum.js → WebhookEventChatStatus.js} +8 -16
- package/serialization/resources/empathicVoice/types/index.d.ts +10 -3
- package/serialization/resources/empathicVoice/types/index.js +10 -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/ReturnActiveChatCountPerTag.d.ts +0 -13
- package/serialization/resources/empathicVoice/types/ReturnActiveChatCount.d.ts +0 -17
- package/serialization/resources/empathicVoice/types/ReturnActiveChatCountPerTag.d.ts +0 -13
- /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 → api/resources/empathicVoice/types/WebhookEvent.js} +0 -0
- /package/{dist/api/resources/empathicVoice/types/ReturnActiveChatCountPerTag.js → api/resources/empathicVoice/types/WebhookEventBase.js} +0 -0
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
import * as serializers from "../../../index";
|
|
5
5
|
import * as Hume from "../../../../api/index";
|
|
6
6
|
import * as core from "../../../../core";
|
|
7
|
-
export declare const
|
|
8
|
-
export declare namespace
|
|
9
|
-
type Raw = "
|
|
7
|
+
export declare const WebhookEventChatStartType: core.serialization.Schema<serializers.empathicVoice.WebhookEventChatStartType.Raw, Hume.empathicVoice.WebhookEventChatStartType>;
|
|
8
|
+
export declare namespace WebhookEventChatStartType {
|
|
9
|
+
type Raw = "new_chat_group" | "resumed_chat_group";
|
|
10
10
|
}
|
|
@@ -0,0 +1,31 @@
|
|
|
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.WebhookEventChatStartType = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../core"));
|
|
31
|
+
exports.WebhookEventChatStartType = core.serialization.enum_(["new_chat_group", "resumed_chat_group"]);
|
|
@@ -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 { WebhookEventChatStartType } from "./WebhookEventChatStartType";
|
|
8
|
+
import { WebhookEventBase } from "./WebhookEventBase";
|
|
9
|
+
export declare const WebhookEventChatStarted: core.serialization.ObjectSchema<serializers.empathicVoice.WebhookEventChatStarted.Raw, Hume.empathicVoice.WebhookEventChatStarted>;
|
|
10
|
+
export declare namespace WebhookEventChatStarted {
|
|
11
|
+
interface Raw extends WebhookEventBase.Raw {
|
|
12
|
+
event_name?: "chat_started" | null;
|
|
13
|
+
start_time: number;
|
|
14
|
+
chat_start_type: WebhookEventChatStartType.Raw;
|
|
15
|
+
caller_number?: string | null;
|
|
16
|
+
custom_session_id?: string | null;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
@@ -26,13 +26,16 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
26
26
|
return result;
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.
|
|
29
|
+
exports.WebhookEventChatStarted = void 0;
|
|
30
30
|
const core = __importStar(require("../../../../core"));
|
|
31
|
-
const
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
31
|
+
const WebhookEventChatStartType_1 = require("./WebhookEventChatStartType");
|
|
32
|
+
const WebhookEventBase_1 = require("./WebhookEventBase");
|
|
33
|
+
exports.WebhookEventChatStarted = core.serialization
|
|
34
|
+
.object({
|
|
35
|
+
eventName: core.serialization.property("event_name", core.serialization.stringLiteral("chat_started").optional()),
|
|
36
|
+
startTime: core.serialization.property("start_time", core.serialization.number()),
|
|
37
|
+
chatStartType: core.serialization.property("chat_start_type", WebhookEventChatStartType_1.WebhookEventChatStartType),
|
|
38
|
+
callerNumber: core.serialization.property("caller_number", core.serialization.string().optional()),
|
|
39
|
+
customSessionId: core.serialization.property("custom_session_id", core.serialization.string().optional()),
|
|
40
|
+
})
|
|
41
|
+
.extend(WebhookEventBase_1.WebhookEventBase);
|
|
@@ -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 WebhookEventChatStatus: core.serialization.Schema<serializers.empathicVoice.WebhookEventChatStatus.Raw, Hume.empathicVoice.WebhookEventChatStatus>;
|
|
8
|
+
export declare namespace WebhookEventChatStatus {
|
|
9
|
+
type Raw = "ACTIVE" | "USER_ENDED" | "USER_TIMEOUT" | "INACTIVITY_TIMEOUT" | "MAX_DURATION_TIMEOUT" | "ERROR";
|
|
10
|
+
}
|
|
@@ -26,21 +26,13 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
26
26
|
return result;
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.
|
|
29
|
+
exports.WebhookEventChatStatus = void 0;
|
|
30
30
|
const core = __importStar(require("../../../../core"));
|
|
31
|
-
exports.
|
|
32
|
-
"
|
|
33
|
-
"
|
|
34
|
-
"
|
|
35
|
-
"
|
|
36
|
-
"
|
|
37
|
-
"
|
|
38
|
-
"WILLOW",
|
|
39
|
-
"SCOUT",
|
|
40
|
-
"WHIMSY",
|
|
41
|
-
"ACE",
|
|
42
|
-
"JUNO",
|
|
43
|
-
"STELLA",
|
|
44
|
-
"HIRO",
|
|
45
|
-
"SUNNY",
|
|
31
|
+
exports.WebhookEventChatStatus = core.serialization.enum_([
|
|
32
|
+
"ACTIVE",
|
|
33
|
+
"USER_ENDED",
|
|
34
|
+
"USER_TIMEOUT",
|
|
35
|
+
"INACTIVITY_TIMEOUT",
|
|
36
|
+
"MAX_DURATION_TIMEOUT",
|
|
37
|
+
"ERROR",
|
|
46
38
|
]);
|
|
@@ -26,6 +26,8 @@ export * from "./PostedTimeoutSpecs";
|
|
|
26
26
|
export * from "./PostedUserDefinedToolSpec";
|
|
27
27
|
export * from "./PostedVoiceProvider";
|
|
28
28
|
export * from "./PostedVoice";
|
|
29
|
+
export * from "./PostedWebhookEventType";
|
|
30
|
+
export * from "./PostedWebhookSpec";
|
|
29
31
|
export * from "./ReturnBuiltinToolToolType";
|
|
30
32
|
export * from "./ReturnBuiltinTool";
|
|
31
33
|
export * from "./ReturnConfig";
|
|
@@ -39,6 +41,8 @@ export * from "./ReturnTimeoutSpec";
|
|
|
39
41
|
export * from "./ReturnTimeoutSpecs";
|
|
40
42
|
export * from "./ReturnVoiceProvider";
|
|
41
43
|
export * from "./ReturnVoice";
|
|
44
|
+
export * from "./ReturnWebhookEventType";
|
|
45
|
+
export * from "./ReturnWebhookSpec";
|
|
42
46
|
export * from "./ReturnPagedUserDefinedTools";
|
|
43
47
|
export * from "./ReturnPagedPrompts";
|
|
44
48
|
export * from "./ReturnPagedCustomVoices";
|
|
@@ -56,8 +60,6 @@ export * from "./ReturnChatPagedEventsPaginationDirection";
|
|
|
56
60
|
export * from "./ReturnChatPagedEvents";
|
|
57
61
|
export * from "./ReturnChatAudioReconstructionStatus";
|
|
58
62
|
export * from "./ReturnChatAudioReconstruction";
|
|
59
|
-
export * from "./ReturnActiveChatCount";
|
|
60
|
-
export * from "./ReturnActiveChatCountPerTag";
|
|
61
63
|
export * from "./ReturnChatGroup";
|
|
62
64
|
export * from "./ReturnPagedChatGroupsPaginationDirection";
|
|
63
65
|
export * from "./ReturnPagedChatGroups";
|
|
@@ -108,4 +110,9 @@ export * from "./FunctionCallResponseInput";
|
|
|
108
110
|
export * from "./HttpValidationError";
|
|
109
111
|
export * from "./ValidationErrorLocItem";
|
|
110
112
|
export * from "./ValidationError";
|
|
111
|
-
export * from "./
|
|
113
|
+
export * from "./WebhookEventChatEnded";
|
|
114
|
+
export * from "./WebhookEventChatStartType";
|
|
115
|
+
export * from "./WebhookEventChatStarted";
|
|
116
|
+
export * from "./WebhookEventChatStatus";
|
|
117
|
+
export * from "./WebhookEvent";
|
|
118
|
+
export * from "./WebhookEventBase";
|
|
@@ -42,6 +42,8 @@ __exportStar(require("./PostedTimeoutSpecs"), exports);
|
|
|
42
42
|
__exportStar(require("./PostedUserDefinedToolSpec"), exports);
|
|
43
43
|
__exportStar(require("./PostedVoiceProvider"), exports);
|
|
44
44
|
__exportStar(require("./PostedVoice"), exports);
|
|
45
|
+
__exportStar(require("./PostedWebhookEventType"), exports);
|
|
46
|
+
__exportStar(require("./PostedWebhookSpec"), exports);
|
|
45
47
|
__exportStar(require("./ReturnBuiltinToolToolType"), exports);
|
|
46
48
|
__exportStar(require("./ReturnBuiltinTool"), exports);
|
|
47
49
|
__exportStar(require("./ReturnConfig"), exports);
|
|
@@ -55,6 +57,8 @@ __exportStar(require("./ReturnTimeoutSpec"), exports);
|
|
|
55
57
|
__exportStar(require("./ReturnTimeoutSpecs"), exports);
|
|
56
58
|
__exportStar(require("./ReturnVoiceProvider"), exports);
|
|
57
59
|
__exportStar(require("./ReturnVoice"), exports);
|
|
60
|
+
__exportStar(require("./ReturnWebhookEventType"), exports);
|
|
61
|
+
__exportStar(require("./ReturnWebhookSpec"), exports);
|
|
58
62
|
__exportStar(require("./ReturnPagedUserDefinedTools"), exports);
|
|
59
63
|
__exportStar(require("./ReturnPagedPrompts"), exports);
|
|
60
64
|
__exportStar(require("./ReturnPagedCustomVoices"), exports);
|
|
@@ -72,8 +76,6 @@ __exportStar(require("./ReturnChatPagedEventsPaginationDirection"), exports);
|
|
|
72
76
|
__exportStar(require("./ReturnChatPagedEvents"), exports);
|
|
73
77
|
__exportStar(require("./ReturnChatAudioReconstructionStatus"), exports);
|
|
74
78
|
__exportStar(require("./ReturnChatAudioReconstruction"), exports);
|
|
75
|
-
__exportStar(require("./ReturnActiveChatCount"), exports);
|
|
76
|
-
__exportStar(require("./ReturnActiveChatCountPerTag"), exports);
|
|
77
79
|
__exportStar(require("./ReturnChatGroup"), exports);
|
|
78
80
|
__exportStar(require("./ReturnPagedChatGroupsPaginationDirection"), exports);
|
|
79
81
|
__exportStar(require("./ReturnPagedChatGroups"), exports);
|
|
@@ -124,4 +126,9 @@ __exportStar(require("./FunctionCallResponseInput"), exports);
|
|
|
124
126
|
__exportStar(require("./HttpValidationError"), exports);
|
|
125
127
|
__exportStar(require("./ValidationErrorLocItem"), exports);
|
|
126
128
|
__exportStar(require("./ValidationError"), exports);
|
|
127
|
-
__exportStar(require("./
|
|
129
|
+
__exportStar(require("./WebhookEventChatEnded"), exports);
|
|
130
|
+
__exportStar(require("./WebhookEventChatStartType"), exports);
|
|
131
|
+
__exportStar(require("./WebhookEventChatStarted"), exports);
|
|
132
|
+
__exportStar(require("./WebhookEventChatStatus"), exports);
|
|
133
|
+
__exportStar(require("./WebhookEvent"), exports);
|
|
134
|
+
__exportStar(require("./WebhookEventBase"), exports);
|
|
@@ -23,6 +23,6 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
23
23
|
return result;
|
|
24
24
|
};
|
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
-
exports.
|
|
27
|
-
exports.empathicVoice = __importStar(require("./empathicVoice"));
|
|
26
|
+
exports.empathicVoice = exports.expressionMeasurement = void 0;
|
|
28
27
|
exports.expressionMeasurement = __importStar(require("./expressionMeasurement"));
|
|
28
|
+
exports.empathicVoice = __importStar(require("./empathicVoice"));
|
package/dist/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "0.9.
|
|
1
|
+
export declare const SDK_VERSION = "0.9.10";
|
package/dist/version.js
CHANGED
|
@@ -5,4 +5,4 @@
|
|
|
5
5
|
* @param {string} contentType - The MIME type to assign to the resulting `Blob`.
|
|
6
6
|
* @returns {Blob} A `Blob` object containing the binary data from the base64 string.
|
|
7
7
|
*/
|
|
8
|
-
export declare function convertBase64ToBlob(base64: string, contentType
|
|
8
|
+
export declare function convertBase64ToBlob(base64: string, contentType?: string): Blob;
|
package/errors/HumeError.d.ts
CHANGED
package/errors/HumeError.js
CHANGED
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
/**
|
|
3
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
-
*/
|
|
5
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
3
|
exports.HumeError = void 0;
|
|
4
|
+
/** THIS FILE IS MANUALLY MAINAINED: see .fernignore */
|
|
7
5
|
class HumeError extends Error {
|
|
8
6
|
constructor({ message, statusCode, body }) {
|
|
9
7
|
super(buildMessage({ message, statusCode, body }));
|
package/index.d.ts
CHANGED
package/index.js
CHANGED
|
@@ -27,6 +27,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
29
|
exports.HumeTimeoutError = exports.HumeError = exports.HumeEnvironment = exports.Hume = void 0;
|
|
30
|
+
/** THIS FILE IS MANUALLY MAINAINED: see .fernignore */
|
|
30
31
|
exports.Hume = __importStar(require("./api"));
|
|
31
32
|
__exportStar(require("./wrapper"), exports);
|
|
32
33
|
var environments_1 = require("./environments");
|