hume 0.6.0 → 0.6.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/api.yml +12 -0
- package/.mock/definition/custom-models/__package__.yml +1392 -0
- package/.mock/definition/custom-models/datasets.yml +406 -0
- package/.mock/definition/custom-models/files.yml +263 -0
- package/.mock/definition/custom-models/jobs.yml +44 -0
- package/.mock/definition/custom-models/models.yml +303 -0
- package/.mock/definition/empathic-voice/__package__.yml +896 -0
- package/.mock/definition/empathic-voice/chat.yml +59 -0
- package/.mock/definition/empathic-voice/chatGroups.yml +80 -0
- package/.mock/definition/empathic-voice/chats.yml +86 -0
- package/.mock/definition/empathic-voice/configs.yml +413 -0
- package/.mock/definition/empathic-voice/prompts.yml +265 -0
- package/.mock/definition/empathic-voice/tools.yml +398 -0
- package/.mock/definition/expression-measurement/__package__.yml +1122 -0
- package/.mock/definition/expression-measurement/batch.yml +352 -0
- package/.mock/definition/expression-measurement/stream.yml +362 -0
- package/.mock/fern.config.json +4 -0
- package/Client.d.ts +3 -3
- package/Client.js +6 -6
- package/api/resources/customModels/resources/datasets/client/Client.js +9 -9
- package/api/resources/customModels/resources/files/client/Client.js +7 -7
- package/api/resources/customModels/resources/jobs/client/Client.js +2 -2
- package/api/resources/customModels/resources/models/client/Client.js +6 -6
- package/api/resources/empathicVoice/client/Client.d.ts +3 -0
- package/api/resources/empathicVoice/client/Client.js +5 -0
- package/api/resources/empathicVoice/resources/chat/types/SubscribeEvent.d.ts +1 -1
- package/api/resources/empathicVoice/resources/chatGroups/client/Client.d.ts +42 -0
- package/api/resources/empathicVoice/resources/chatGroups/client/Client.js +178 -0
- package/api/resources/empathicVoice/resources/chatGroups/client/index.d.ts +1 -0
- package/api/resources/empathicVoice/resources/chatGroups/client/index.js +17 -0
- package/api/resources/empathicVoice/resources/chatGroups/client/requests/ChatGroupsListChatGroupEventsRequest.d.ts +21 -0
- package/api/resources/empathicVoice/resources/chatGroups/client/requests/ChatGroupsListChatGroupEventsRequest.js +5 -0
- package/api/resources/empathicVoice/resources/chatGroups/client/requests/ChatGroupsListChatGroupsRequest.d.ts +17 -0
- package/api/resources/empathicVoice/resources/chatGroups/client/requests/ChatGroupsListChatGroupsRequest.js +5 -0
- package/api/resources/empathicVoice/resources/chatGroups/client/requests/index.d.ts +2 -0
- package/api/resources/empathicVoice/resources/chatGroups/client/requests/index.js +2 -0
- package/api/resources/empathicVoice/resources/chatGroups/index.d.ts +1 -0
- package/api/resources/empathicVoice/resources/chatGroups/index.js +17 -0
- package/api/resources/empathicVoice/resources/chats/client/Client.js +2 -2
- package/api/resources/empathicVoice/resources/configs/client/Client.js +9 -9
- package/api/resources/empathicVoice/resources/index.d.ts +2 -0
- package/api/resources/empathicVoice/resources/index.js +3 -1
- 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/AssistantMessage.d.ts +1 -1
- package/api/resources/empathicVoice/types/ChatMetadata.d.ts +15 -0
- package/api/resources/empathicVoice/types/ChatMetadata.js +5 -0
- package/api/resources/empathicVoice/types/ReturnChat.d.ts +2 -0
- package/api/resources/empathicVoice/types/ReturnChatEvent.d.ts +2 -0
- package/api/resources/empathicVoice/types/ReturnChatGroup.d.ts +19 -0
- package/api/resources/empathicVoice/types/ReturnChatGroup.js +5 -0
- package/api/resources/empathicVoice/types/ReturnChatGroupPagedChats.d.ts +24 -0
- package/api/resources/empathicVoice/types/ReturnChatGroupPagedChats.js +5 -0
- package/api/resources/empathicVoice/types/ReturnChatGroupPagedEvents.d.ts +19 -0
- package/api/resources/empathicVoice/types/ReturnChatGroupPagedEvents.js +5 -0
- package/api/resources/empathicVoice/types/ReturnChatPagedEvents.d.ts +2 -0
- package/api/resources/empathicVoice/types/ReturnPagedChatGroups.d.ts +15 -0
- package/api/resources/empathicVoice/types/ReturnPagedChatGroups.js +5 -0
- package/api/resources/empathicVoice/types/index.d.ts +5 -0
- package/api/resources/empathicVoice/types/index.js +5 -0
- 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/form-data-utils/FormDataWrapper.js +2 -1
- package/dist/Client.d.ts +3 -3
- package/dist/Client.js +6 -6
- package/dist/api/resources/customModels/resources/datasets/client/Client.js +9 -9
- package/dist/api/resources/customModels/resources/files/client/Client.js +7 -7
- package/dist/api/resources/customModels/resources/jobs/client/Client.js +2 -2
- package/dist/api/resources/customModels/resources/models/client/Client.js +6 -6
- package/dist/api/resources/empathicVoice/client/Client.d.ts +3 -0
- package/dist/api/resources/empathicVoice/client/Client.js +5 -0
- package/dist/api/resources/empathicVoice/resources/chat/types/SubscribeEvent.d.ts +1 -1
- package/dist/api/resources/empathicVoice/resources/chatGroups/client/Client.d.ts +42 -0
- package/dist/api/resources/empathicVoice/resources/chatGroups/client/Client.js +178 -0
- package/dist/api/resources/empathicVoice/resources/chatGroups/client/index.d.ts +1 -0
- package/dist/api/resources/empathicVoice/resources/chatGroups/client/index.js +17 -0
- package/dist/api/resources/empathicVoice/resources/chatGroups/client/requests/ChatGroupsListChatGroupEventsRequest.d.ts +21 -0
- package/dist/api/resources/empathicVoice/resources/chatGroups/client/requests/ChatGroupsListChatGroupEventsRequest.js +5 -0
- package/dist/api/resources/empathicVoice/resources/chatGroups/client/requests/ChatGroupsListChatGroupsRequest.d.ts +17 -0
- package/dist/api/resources/empathicVoice/resources/chatGroups/client/requests/ChatGroupsListChatGroupsRequest.js +5 -0
- package/dist/api/resources/empathicVoice/resources/chatGroups/client/requests/index.d.ts +2 -0
- package/dist/api/resources/empathicVoice/resources/chatGroups/client/requests/index.js +2 -0
- package/dist/api/resources/empathicVoice/resources/chatGroups/index.d.ts +1 -0
- package/dist/api/resources/empathicVoice/resources/chatGroups/index.js +17 -0
- package/dist/api/resources/empathicVoice/resources/chats/client/Client.js +2 -2
- package/dist/api/resources/empathicVoice/resources/configs/client/Client.js +9 -9
- package/dist/api/resources/empathicVoice/resources/index.d.ts +2 -0
- package/dist/api/resources/empathicVoice/resources/index.js +3 -1
- 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/AssistantMessage.d.ts +1 -1
- package/dist/api/resources/empathicVoice/types/ChatMetadata.d.ts +15 -0
- package/dist/api/resources/empathicVoice/types/ChatMetadata.js +5 -0
- package/dist/api/resources/empathicVoice/types/ReturnChat.d.ts +2 -0
- package/dist/api/resources/empathicVoice/types/ReturnChatEvent.d.ts +2 -0
- package/dist/api/resources/empathicVoice/types/ReturnChatGroup.d.ts +19 -0
- package/dist/api/resources/empathicVoice/types/ReturnChatGroup.js +5 -0
- package/dist/api/resources/empathicVoice/types/ReturnChatGroupPagedChats.d.ts +24 -0
- package/dist/api/resources/empathicVoice/types/ReturnChatGroupPagedChats.js +5 -0
- package/dist/api/resources/empathicVoice/types/ReturnChatGroupPagedEvents.d.ts +19 -0
- package/dist/api/resources/empathicVoice/types/ReturnChatGroupPagedEvents.js +5 -0
- package/dist/api/resources/empathicVoice/types/ReturnChatPagedEvents.d.ts +2 -0
- package/dist/api/resources/empathicVoice/types/ReturnPagedChatGroups.d.ts +15 -0
- package/dist/api/resources/empathicVoice/types/ReturnPagedChatGroups.js +5 -0
- package/dist/api/resources/empathicVoice/types/index.d.ts +5 -0
- package/dist/api/resources/empathicVoice/types/index.js +5 -0
- 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/form-data-utils/FormDataWrapper.js +2 -1
- 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/ChatMetadata.d.ts +15 -0
- package/dist/serialization/resources/empathicVoice/types/ChatMetadata.js +36 -0
- package/dist/serialization/resources/empathicVoice/types/ReturnChat.d.ts +1 -0
- package/dist/serialization/resources/empathicVoice/types/ReturnChat.js +1 -0
- package/dist/serialization/resources/empathicVoice/types/ReturnChatEvent.d.ts +1 -0
- package/dist/serialization/resources/empathicVoice/types/ReturnChatEvent.js +1 -0
- package/dist/serialization/resources/empathicVoice/types/ReturnChatGroup.d.ts +17 -0
- package/dist/serialization/resources/empathicVoice/types/ReturnChatGroup.js +38 -0
- package/dist/serialization/resources/empathicVoice/types/ReturnChatGroupPagedChats.d.ts +20 -0
- package/dist/serialization/resources/empathicVoice/types/ReturnChatGroupPagedChats.js +41 -0
- package/dist/serialization/resources/empathicVoice/types/ReturnChatGroupPagedEvents.d.ts +17 -0
- package/dist/serialization/resources/empathicVoice/types/ReturnChatGroupPagedEvents.js +38 -0
- package/dist/serialization/resources/empathicVoice/types/ReturnChatPagedEvents.d.ts +1 -0
- package/dist/serialization/resources/empathicVoice/types/ReturnChatPagedEvents.js +1 -0
- package/dist/serialization/resources/empathicVoice/types/ReturnPagedChatGroups.d.ts +15 -0
- package/dist/serialization/resources/empathicVoice/types/ReturnPagedChatGroups.js +36 -0
- package/dist/serialization/resources/empathicVoice/types/index.d.ts +5 -0
- package/dist/serialization/resources/empathicVoice/types/index.js +5 -0
- package/dist/serialization/resources/index.d.ts +1 -1
- package/dist/serialization/resources/index.js +2 -2
- 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/ChatMetadata.d.ts +15 -0
- package/serialization/resources/empathicVoice/types/ChatMetadata.js +36 -0
- package/serialization/resources/empathicVoice/types/ReturnChat.d.ts +1 -0
- package/serialization/resources/empathicVoice/types/ReturnChat.js +1 -0
- package/serialization/resources/empathicVoice/types/ReturnChatEvent.d.ts +1 -0
- package/serialization/resources/empathicVoice/types/ReturnChatEvent.js +1 -0
- package/serialization/resources/empathicVoice/types/ReturnChatGroup.d.ts +17 -0
- package/serialization/resources/empathicVoice/types/ReturnChatGroup.js +38 -0
- package/serialization/resources/empathicVoice/types/ReturnChatGroupPagedChats.d.ts +20 -0
- package/serialization/resources/empathicVoice/types/ReturnChatGroupPagedChats.js +41 -0
- package/serialization/resources/empathicVoice/types/ReturnChatGroupPagedEvents.d.ts +17 -0
- package/serialization/resources/empathicVoice/types/ReturnChatGroupPagedEvents.js +38 -0
- package/serialization/resources/empathicVoice/types/ReturnChatPagedEvents.d.ts +1 -0
- package/serialization/resources/empathicVoice/types/ReturnChatPagedEvents.js +1 -0
- package/serialization/resources/empathicVoice/types/ReturnPagedChatGroups.d.ts +15 -0
- package/serialization/resources/empathicVoice/types/ReturnPagedChatGroups.js +36 -0
- package/serialization/resources/empathicVoice/types/index.d.ts +5 -0
- package/serialization/resources/empathicVoice/types/index.js +5 -0
- package/serialization/resources/index.d.ts +1 -1
- package/serialization/resources/index.js +2 -2
|
@@ -0,0 +1,38 @@
|
|
|
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.ReturnChatGroup = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../core"));
|
|
31
|
+
exports.ReturnChatGroup = core.serialization.object({
|
|
32
|
+
id: core.serialization.string(),
|
|
33
|
+
firstStartTimestamp: core.serialization.property("first_start_timestamp", core.serialization.number()),
|
|
34
|
+
mostRecentStartTimestamp: core.serialization.property("most_recent_start_timestamp", core.serialization.number()),
|
|
35
|
+
mostRecentChatId: core.serialization.property("most_recent_chat_id", core.serialization.string().optional()),
|
|
36
|
+
numChats: core.serialization.property("num_chats", core.serialization.number()),
|
|
37
|
+
active: core.serialization.boolean().optional(),
|
|
38
|
+
});
|
|
@@ -0,0 +1,20 @@
|
|
|
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 { ReturnChat } from "./ReturnChat";
|
|
8
|
+
export declare const ReturnChatGroupPagedChats: core.serialization.ObjectSchema<serializers.empathicVoice.ReturnChatGroupPagedChats.Raw, Hume.empathicVoice.ReturnChatGroupPagedChats>;
|
|
9
|
+
export declare namespace ReturnChatGroupPagedChats {
|
|
10
|
+
interface Raw {
|
|
11
|
+
id: string;
|
|
12
|
+
first_start_timestamp: number;
|
|
13
|
+
most_recent_start_timestamp: number;
|
|
14
|
+
num_chats: number;
|
|
15
|
+
page_number: number;
|
|
16
|
+
page_size: number;
|
|
17
|
+
chats_page: ReturnChat.Raw[];
|
|
18
|
+
active?: boolean | null;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
@@ -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 (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.ReturnChatGroupPagedChats = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../core"));
|
|
31
|
+
const ReturnChat_1 = require("./ReturnChat");
|
|
32
|
+
exports.ReturnChatGroupPagedChats = core.serialization.object({
|
|
33
|
+
id: core.serialization.string(),
|
|
34
|
+
firstStartTimestamp: core.serialization.property("first_start_timestamp", core.serialization.number()),
|
|
35
|
+
mostRecentStartTimestamp: core.serialization.property("most_recent_start_timestamp", core.serialization.number()),
|
|
36
|
+
numChats: core.serialization.property("num_chats", core.serialization.number()),
|
|
37
|
+
pageNumber: core.serialization.property("page_number", core.serialization.number()),
|
|
38
|
+
pageSize: core.serialization.property("page_size", core.serialization.number()),
|
|
39
|
+
chatsPage: core.serialization.property("chats_page", core.serialization.list(ReturnChat_1.ReturnChat)),
|
|
40
|
+
active: core.serialization.boolean().optional(),
|
|
41
|
+
});
|
|
@@ -0,0 +1,17 @@
|
|
|
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 { ReturnChatEvent } from "./ReturnChatEvent";
|
|
8
|
+
export declare const ReturnChatGroupPagedEvents: core.serialization.ObjectSchema<serializers.empathicVoice.ReturnChatGroupPagedEvents.Raw, Hume.empathicVoice.ReturnChatGroupPagedEvents>;
|
|
9
|
+
export declare namespace ReturnChatGroupPagedEvents {
|
|
10
|
+
interface Raw {
|
|
11
|
+
id: string;
|
|
12
|
+
page_number: number;
|
|
13
|
+
page_size: number;
|
|
14
|
+
pagination_direction: string;
|
|
15
|
+
events_page: ReturnChatEvent.Raw[];
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
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.ReturnChatGroupPagedEvents = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../core"));
|
|
31
|
+
const ReturnChatEvent_1 = require("./ReturnChatEvent");
|
|
32
|
+
exports.ReturnChatGroupPagedEvents = core.serialization.object({
|
|
33
|
+
id: core.serialization.string(),
|
|
34
|
+
pageNumber: core.serialization.property("page_number", core.serialization.number()),
|
|
35
|
+
pageSize: core.serialization.property("page_size", core.serialization.number()),
|
|
36
|
+
paginationDirection: core.serialization.property("pagination_direction", core.serialization.string()),
|
|
37
|
+
eventsPage: core.serialization.property("events_page", core.serialization.list(ReturnChatEvent_1.ReturnChatEvent)),
|
|
38
|
+
});
|
|
@@ -10,6 +10,7 @@ export declare const ReturnChatPagedEvents: core.serialization.ObjectSchema<seri
|
|
|
10
10
|
export declare namespace ReturnChatPagedEvents {
|
|
11
11
|
interface Raw {
|
|
12
12
|
id: string;
|
|
13
|
+
chat_group_id: string;
|
|
13
14
|
tag?: string | null;
|
|
14
15
|
status: string;
|
|
15
16
|
start_timestamp: number;
|
|
@@ -32,6 +32,7 @@ const ReturnChatEvent_1 = require("./ReturnChatEvent");
|
|
|
32
32
|
const ReturnConfigSpec_1 = require("./ReturnConfigSpec");
|
|
33
33
|
exports.ReturnChatPagedEvents = core.serialization.object({
|
|
34
34
|
id: core.serialization.string(),
|
|
35
|
+
chatGroupId: core.serialization.property("chat_group_id", core.serialization.string()),
|
|
35
36
|
tag: core.serialization.string().optional(),
|
|
36
37
|
status: core.serialization.string(),
|
|
37
38
|
startTimestamp: core.serialization.property("start_timestamp", core.serialization.number()),
|
|
@@ -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 { ReturnChatGroup } from "./ReturnChatGroup";
|
|
8
|
+
export declare const ReturnPagedChatGroups: core.serialization.ObjectSchema<serializers.empathicVoice.ReturnPagedChatGroups.Raw, Hume.empathicVoice.ReturnPagedChatGroups>;
|
|
9
|
+
export declare namespace ReturnPagedChatGroups {
|
|
10
|
+
interface Raw {
|
|
11
|
+
page_number: number;
|
|
12
|
+
page_size: number;
|
|
13
|
+
chat_groups_page: ReturnChatGroup.Raw[];
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
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.ReturnPagedChatGroups = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../core"));
|
|
31
|
+
const ReturnChatGroup_1 = require("./ReturnChatGroup");
|
|
32
|
+
exports.ReturnPagedChatGroups = core.serialization.object({
|
|
33
|
+
pageNumber: core.serialization.property("page_number", core.serialization.number()),
|
|
34
|
+
pageSize: core.serialization.property("page_size", core.serialization.number()),
|
|
35
|
+
chatGroupsPage: core.serialization.property("chat_groups_page", core.serialization.list(ReturnChatGroup_1.ReturnChatGroup)),
|
|
36
|
+
});
|
|
@@ -21,6 +21,10 @@ export * from "./ReturnChatEvent";
|
|
|
21
21
|
export * from "./ReturnChatPagedEvents";
|
|
22
22
|
export * from "./ReturnActiveChatCount";
|
|
23
23
|
export * from "./ReturnActiveChatCountPerTag";
|
|
24
|
+
export * from "./ReturnChatGroupPagedEvents";
|
|
25
|
+
export * from "./ReturnChatGroupPagedChats";
|
|
26
|
+
export * from "./ReturnChatGroup";
|
|
27
|
+
export * from "./ReturnPagedChatGroups";
|
|
24
28
|
export * from "./AssistantEnd";
|
|
25
29
|
export * from "./AssistantInput";
|
|
26
30
|
export * from "./AssistantMessage";
|
|
@@ -31,6 +35,7 @@ export * from "./BuiltInTool";
|
|
|
31
35
|
export * from "./BuiltinToolConfig";
|
|
32
36
|
export * from "./ChatMessageToolResult";
|
|
33
37
|
export * from "./ChatMessage";
|
|
38
|
+
export * from "./ChatMetadata";
|
|
34
39
|
export * from "./Context";
|
|
35
40
|
export * from "./ContextType";
|
|
36
41
|
export * from "./EmotionScores";
|
|
@@ -37,6 +37,10 @@ __exportStar(require("./ReturnChatEvent"), exports);
|
|
|
37
37
|
__exportStar(require("./ReturnChatPagedEvents"), exports);
|
|
38
38
|
__exportStar(require("./ReturnActiveChatCount"), exports);
|
|
39
39
|
__exportStar(require("./ReturnActiveChatCountPerTag"), exports);
|
|
40
|
+
__exportStar(require("./ReturnChatGroupPagedEvents"), exports);
|
|
41
|
+
__exportStar(require("./ReturnChatGroupPagedChats"), exports);
|
|
42
|
+
__exportStar(require("./ReturnChatGroup"), exports);
|
|
43
|
+
__exportStar(require("./ReturnPagedChatGroups"), exports);
|
|
40
44
|
__exportStar(require("./AssistantEnd"), exports);
|
|
41
45
|
__exportStar(require("./AssistantInput"), exports);
|
|
42
46
|
__exportStar(require("./AssistantMessage"), exports);
|
|
@@ -47,6 +51,7 @@ __exportStar(require("./BuiltInTool"), exports);
|
|
|
47
51
|
__exportStar(require("./BuiltinToolConfig"), exports);
|
|
48
52
|
__exportStar(require("./ChatMessageToolResult"), exports);
|
|
49
53
|
__exportStar(require("./ChatMessage"), exports);
|
|
54
|
+
__exportStar(require("./ChatMetadata"), exports);
|
|
50
55
|
__exportStar(require("./Context"), exports);
|
|
51
56
|
__exportStar(require("./ContextType"), exports);
|
|
52
57
|
__exportStar(require("./EmotionScores"), exports);
|
|
@@ -23,7 +23,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
23
23
|
return result;
|
|
24
24
|
};
|
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
-
exports.expressionMeasurement = exports.
|
|
27
|
-
exports.empathicVoice = __importStar(require("./empathicVoice"));
|
|
26
|
+
exports.expressionMeasurement = exports.empathicVoice = exports.customModels = void 0;
|
|
28
27
|
exports.customModels = __importStar(require("./customModels"));
|
|
28
|
+
exports.empathicVoice = __importStar(require("./empathicVoice"));
|
|
29
29
|
exports.expressionMeasurement = __importStar(require("./expressionMeasurement"));
|