phonic 0.31.11 → 0.31.13
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/README.md +1 -0
- package/dist/cjs/BaseClient.js +2 -2
- package/dist/cjs/Client.d.ts +6 -0
- package/dist/cjs/Client.js +20 -10
- package/dist/cjs/api/errors/UnprocessableEntityError.d.ts +6 -0
- package/dist/cjs/api/errors/UnprocessableEntityError.js +54 -0
- package/dist/cjs/api/errors/index.d.ts +1 -0
- package/dist/cjs/api/errors/index.js +1 -0
- package/dist/cjs/api/resources/agents/client/Client.d.ts +3 -0
- package/dist/cjs/api/resources/agents/client/Client.js +3 -0
- package/dist/cjs/api/resources/agents/client/requests/AgentsCreateRequest.d.ts +3 -0
- package/dist/cjs/api/resources/agents/client/requests/UpdateAgentRequest.d.ts +3 -0
- package/dist/cjs/api/resources/agents/client/requests/UpsertAgentRequest.d.ts +1 -0
- package/dist/cjs/api/resources/conversationItems/client/Client.d.ts +39 -0
- package/dist/cjs/api/resources/conversationItems/client/Client.js +139 -0
- package/dist/cjs/api/resources/conversationItems/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/conversationItems/client/index.js +17 -0
- package/dist/cjs/api/resources/conversationItems/client/requests/ReplayConversationItemRequest.d.ts +12 -0
- package/dist/cjs/api/resources/conversationItems/client/requests/ReplayConversationItemRequest.js +3 -0
- package/dist/cjs/api/resources/conversationItems/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/conversationItems/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/conversationItems/exports.d.ts +2 -0
- package/dist/cjs/api/resources/conversationItems/exports.js +21 -0
- package/dist/cjs/api/resources/conversationItems/index.d.ts +1 -0
- package/dist/cjs/api/resources/conversationItems/index.js +17 -0
- package/dist/cjs/api/resources/conversations/client/Client.d.ts +1 -0
- package/dist/cjs/api/resources/conversations/client/Client.js +3 -0
- package/dist/cjs/api/resources/conversations/client/Socket.d.ts +3 -1
- package/dist/cjs/api/resources/conversations/client/Socket.js +8 -0
- package/dist/cjs/api/resources/conversations/client/requests/OutboundCallRequest.d.ts +1 -0
- package/dist/cjs/api/resources/conversations/types/ConversationsListResponse.d.ts +1 -9
- package/dist/cjs/api/resources/index.d.ts +4 -0
- package/dist/cjs/api/resources/index.js +5 -1
- package/dist/cjs/api/resources/projects/client/requests/UpdateProjectRequest.d.ts +2 -0
- package/dist/cjs/api/resources/workspace/client/Client.d.ts +26 -0
- package/dist/cjs/api/resources/workspace/client/Client.js +110 -0
- package/dist/cjs/api/resources/workspace/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/workspace/client/index.js +2 -0
- package/dist/cjs/api/resources/workspace/exports.d.ts +2 -0
- package/dist/cjs/api/resources/workspace/exports.js +21 -0
- package/dist/cjs/api/resources/workspace/index.d.ts +2 -0
- package/dist/cjs/api/resources/workspace/index.js +18 -0
- package/dist/cjs/api/resources/workspace/types/WorkspaceGetResponse.d.ts +6 -0
- package/dist/cjs/api/resources/workspace/types/WorkspaceGetResponse.js +3 -0
- package/dist/cjs/api/resources/workspace/types/index.d.ts +1 -0
- package/dist/cjs/api/resources/workspace/types/index.js +17 -0
- package/dist/cjs/api/types/Agent.d.ts +2 -0
- package/dist/cjs/api/types/BadRequestErrorBody.d.ts +1 -1
- package/dist/cjs/api/types/ConfigOptions.d.ts +2 -0
- package/dist/cjs/api/types/Conversation.d.ts +10 -0
- package/dist/cjs/api/types/ConversationItem.d.ts +2 -0
- package/dist/cjs/api/types/ConversationsListResponseConversation.d.ts +4 -0
- package/dist/cjs/api/types/ConversationsListResponseConversation.js +3 -0
- package/dist/cjs/api/types/ConversationsListResponseConversations.d.ts +5 -0
- package/dist/cjs/api/types/ConversationsListResponseConversations.js +3 -0
- package/dist/cjs/api/types/ConversationsListResponseConversationsPagination.d.ts +6 -0
- package/dist/cjs/api/types/ConversationsListResponseConversationsPagination.js +3 -0
- package/dist/cjs/api/types/CreateAgentRequest.d.ts +2 -0
- package/dist/cjs/api/types/MutePayload.d.ts +3 -0
- package/dist/cjs/api/types/MutePayload.js +3 -0
- package/dist/cjs/api/types/OutboundCallConfig.d.ts +2 -0
- package/dist/cjs/api/types/Project.d.ts +4 -0
- package/dist/cjs/api/types/ReplayConversationItemResponse.d.ts +16 -0
- package/dist/cjs/api/types/ReplayConversationItemResponse.js +3 -0
- package/dist/cjs/api/types/ReplayToolCall.d.ts +29 -0
- package/dist/cjs/api/types/ReplayToolCall.js +12 -0
- package/dist/cjs/api/types/SipCallError.d.ts +24 -0
- package/dist/cjs/api/types/SipCallError.js +16 -0
- package/dist/cjs/api/types/UnmutePayload.d.ts +3 -0
- package/dist/cjs/api/types/UnmutePayload.js +3 -0
- package/dist/cjs/api/types/index.d.ts +8 -0
- package/dist/cjs/api/types/index.js +8 -0
- package/dist/cjs/custom/ReconnectableConversationsSocket.d.ts +2 -0
- package/dist/cjs/custom/ReconnectableConversationsSocket.js +6 -0
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/BaseClient.mjs +2 -2
- package/dist/esm/Client.d.mts +6 -0
- package/dist/esm/Client.mjs +10 -0
- package/dist/esm/api/errors/UnprocessableEntityError.d.mts +6 -0
- package/dist/esm/api/errors/UnprocessableEntityError.mjs +17 -0
- package/dist/esm/api/errors/index.d.mts +1 -0
- package/dist/esm/api/errors/index.mjs +1 -0
- package/dist/esm/api/resources/agents/client/Client.d.mts +3 -0
- package/dist/esm/api/resources/agents/client/Client.mjs +3 -0
- package/dist/esm/api/resources/agents/client/requests/AgentsCreateRequest.d.mts +3 -0
- package/dist/esm/api/resources/agents/client/requests/UpdateAgentRequest.d.mts +3 -0
- package/dist/esm/api/resources/agents/client/requests/UpsertAgentRequest.d.mts +1 -0
- package/dist/esm/api/resources/conversationItems/client/Client.d.mts +39 -0
- package/dist/esm/api/resources/conversationItems/client/Client.mjs +102 -0
- package/dist/esm/api/resources/conversationItems/client/index.d.mts +1 -0
- package/dist/esm/api/resources/conversationItems/client/index.mjs +1 -0
- package/dist/esm/api/resources/conversationItems/client/requests/ReplayConversationItemRequest.d.mts +12 -0
- package/dist/esm/api/resources/conversationItems/client/requests/ReplayConversationItemRequest.mjs +2 -0
- package/dist/esm/api/resources/conversationItems/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/conversationItems/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/conversationItems/exports.d.mts +2 -0
- package/dist/esm/api/resources/conversationItems/exports.mjs +3 -0
- package/dist/esm/api/resources/conversationItems/index.d.mts +1 -0
- package/dist/esm/api/resources/conversationItems/index.mjs +1 -0
- package/dist/esm/api/resources/conversations/client/Client.d.mts +1 -0
- package/dist/esm/api/resources/conversations/client/Client.mjs +3 -0
- package/dist/esm/api/resources/conversations/client/Socket.d.mts +3 -1
- package/dist/esm/api/resources/conversations/client/Socket.mjs +8 -0
- package/dist/esm/api/resources/conversations/client/requests/OutboundCallRequest.d.mts +1 -0
- package/dist/esm/api/resources/conversations/types/ConversationsListResponse.d.mts +1 -9
- package/dist/esm/api/resources/index.d.mts +4 -0
- package/dist/esm/api/resources/index.mjs +4 -0
- package/dist/esm/api/resources/projects/client/requests/UpdateProjectRequest.d.mts +2 -0
- package/dist/esm/api/resources/workspace/client/Client.d.mts +26 -0
- package/dist/esm/api/resources/workspace/client/Client.mjs +73 -0
- package/dist/esm/api/resources/workspace/client/index.d.mts +1 -0
- package/dist/esm/api/resources/workspace/client/index.mjs +1 -0
- package/dist/esm/api/resources/workspace/exports.d.mts +2 -0
- package/dist/esm/api/resources/workspace/exports.mjs +3 -0
- package/dist/esm/api/resources/workspace/index.d.mts +2 -0
- package/dist/esm/api/resources/workspace/index.mjs +2 -0
- package/dist/esm/api/resources/workspace/types/WorkspaceGetResponse.d.mts +6 -0
- package/dist/esm/api/resources/workspace/types/WorkspaceGetResponse.mjs +2 -0
- package/dist/esm/api/resources/workspace/types/index.d.mts +1 -0
- package/dist/esm/api/resources/workspace/types/index.mjs +1 -0
- package/dist/esm/api/types/Agent.d.mts +2 -0
- package/dist/esm/api/types/BadRequestErrorBody.d.mts +1 -1
- package/dist/esm/api/types/ConfigOptions.d.mts +2 -0
- package/dist/esm/api/types/Conversation.d.mts +10 -0
- package/dist/esm/api/types/ConversationItem.d.mts +2 -0
- package/dist/esm/api/types/ConversationsListResponseConversation.d.mts +4 -0
- package/dist/esm/api/types/ConversationsListResponseConversation.mjs +2 -0
- package/dist/esm/api/types/ConversationsListResponseConversations.d.mts +5 -0
- package/dist/esm/api/types/ConversationsListResponseConversations.mjs +2 -0
- package/dist/esm/api/types/ConversationsListResponseConversationsPagination.d.mts +6 -0
- package/dist/esm/api/types/ConversationsListResponseConversationsPagination.mjs +2 -0
- package/dist/esm/api/types/CreateAgentRequest.d.mts +2 -0
- package/dist/esm/api/types/MutePayload.d.mts +3 -0
- package/dist/esm/api/types/MutePayload.mjs +2 -0
- package/dist/esm/api/types/OutboundCallConfig.d.mts +2 -0
- package/dist/esm/api/types/Project.d.mts +4 -0
- package/dist/esm/api/types/ReplayConversationItemResponse.d.mts +16 -0
- package/dist/esm/api/types/ReplayConversationItemResponse.mjs +2 -0
- package/dist/esm/api/types/ReplayToolCall.d.mts +29 -0
- package/dist/esm/api/types/ReplayToolCall.mjs +9 -0
- package/dist/esm/api/types/SipCallError.d.mts +24 -0
- package/dist/esm/api/types/SipCallError.mjs +13 -0
- package/dist/esm/api/types/UnmutePayload.d.mts +3 -0
- package/dist/esm/api/types/UnmutePayload.mjs +2 -0
- package/dist/esm/api/types/index.d.mts +8 -0
- package/dist/esm/api/types/index.mjs +8 -0
- package/dist/esm/custom/ReconnectableConversationsSocket.d.mts +2 -0
- package/dist/esm/custom/ReconnectableConversationsSocket.mjs +6 -0
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +23 -1
- package/reference.md +138 -0
|
@@ -1,10 +1,2 @@
|
|
|
1
1
|
import type * as Phonic from "../../../index.js";
|
|
2
|
-
export type ConversationsListResponse =
|
|
3
|
-
conversations: Phonic.Conversation[];
|
|
4
|
-
pagination: {
|
|
5
|
-
prev_cursor: string | null;
|
|
6
|
-
next_cursor: string | null;
|
|
7
|
-
};
|
|
8
|
-
} | {
|
|
9
|
-
conversation: Phonic.Conversation;
|
|
10
|
-
};
|
|
2
|
+
export type ConversationsListResponse = Phonic.ConversationsListResponseConversations | Phonic.ConversationsListResponseConversation;
|
|
@@ -4,6 +4,8 @@ export * from "./agents/types/index.js";
|
|
|
4
4
|
export * from "./auth/client/requests/index.js";
|
|
5
5
|
export * as auth from "./auth/index.js";
|
|
6
6
|
export * from "./auth/types/index.js";
|
|
7
|
+
export * from "./conversationItems/client/requests/index.js";
|
|
8
|
+
export * as conversationItems from "./conversationItems/index.js";
|
|
7
9
|
export * from "./conversations/client/requests/index.js";
|
|
8
10
|
export * as conversations from "./conversations/index.js";
|
|
9
11
|
export * from "./conversations/types/index.js";
|
|
@@ -19,3 +21,5 @@ export * from "./tools/types/index.js";
|
|
|
19
21
|
export * from "./voices/client/requests/index.js";
|
|
20
22
|
export * as voices from "./voices/index.js";
|
|
21
23
|
export * from "./voices/types/index.js";
|
|
24
|
+
export * as workspace from "./workspace/index.js";
|
|
25
|
+
export * from "./workspace/types/index.js";
|
|
@@ -36,13 +36,15 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
};
|
|
37
37
|
})();
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.voices = exports.tools = exports.projects = exports.extractionSchemas = exports.conversations = exports.auth = exports.agents = void 0;
|
|
39
|
+
exports.workspace = exports.voices = exports.tools = exports.projects = exports.extractionSchemas = exports.conversations = exports.conversationItems = exports.auth = exports.agents = void 0;
|
|
40
40
|
__exportStar(require("./agents/client/requests/index.js"), exports);
|
|
41
41
|
exports.agents = __importStar(require("./agents/index.js"));
|
|
42
42
|
__exportStar(require("./agents/types/index.js"), exports);
|
|
43
43
|
__exportStar(require("./auth/client/requests/index.js"), exports);
|
|
44
44
|
exports.auth = __importStar(require("./auth/index.js"));
|
|
45
45
|
__exportStar(require("./auth/types/index.js"), exports);
|
|
46
|
+
__exportStar(require("./conversationItems/client/requests/index.js"), exports);
|
|
47
|
+
exports.conversationItems = __importStar(require("./conversationItems/index.js"));
|
|
46
48
|
__exportStar(require("./conversations/client/requests/index.js"), exports);
|
|
47
49
|
exports.conversations = __importStar(require("./conversations/index.js"));
|
|
48
50
|
__exportStar(require("./conversations/types/index.js"), exports);
|
|
@@ -58,3 +60,5 @@ __exportStar(require("./tools/types/index.js"), exports);
|
|
|
58
60
|
__exportStar(require("./voices/client/requests/index.js"), exports);
|
|
59
61
|
exports.voices = __importStar(require("./voices/index.js"));
|
|
60
62
|
__exportStar(require("./voices/types/index.js"), exports);
|
|
63
|
+
exports.workspace = __importStar(require("./workspace/index.js"));
|
|
64
|
+
__exportStar(require("./workspace/types/index.js"), exports);
|
|
@@ -10,4 +10,6 @@ export interface UpdateProjectRequest {
|
|
|
10
10
|
name?: string;
|
|
11
11
|
/** The name of the new project's default agent. Set to `null` to remove the default agent. */
|
|
12
12
|
default_agent?: string | null;
|
|
13
|
+
/** Maximum number of concurrent conversations allowed for this project. When `null`, the workspace `max_active_conversations` limit is used. */
|
|
14
|
+
max_active_conversations?: number | null;
|
|
13
15
|
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type { BaseClientOptions, BaseRequestOptions } from "../../../../BaseClient.js";
|
|
2
|
+
import { type NormalizedClientOptionsWithAuth } from "../../../../BaseClient.js";
|
|
3
|
+
import * as core from "../../../../core/index.js";
|
|
4
|
+
import * as Phonic from "../../../index.js";
|
|
5
|
+
export declare namespace WorkspaceClient {
|
|
6
|
+
type Options = BaseClientOptions;
|
|
7
|
+
interface RequestOptions extends BaseRequestOptions {
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
export declare class WorkspaceClient {
|
|
11
|
+
protected readonly _options: NormalizedClientOptionsWithAuth<WorkspaceClient.Options>;
|
|
12
|
+
constructor(options?: WorkspaceClient.Options);
|
|
13
|
+
/**
|
|
14
|
+
* Returns information about the workspace.
|
|
15
|
+
*
|
|
16
|
+
* @param {WorkspaceClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
17
|
+
*
|
|
18
|
+
* @throws {@link Phonic.UnauthorizedError}
|
|
19
|
+
* @throws {@link Phonic.InternalServerError}
|
|
20
|
+
*
|
|
21
|
+
* @example
|
|
22
|
+
* await client.workspace.get()
|
|
23
|
+
*/
|
|
24
|
+
get(requestOptions?: WorkspaceClient.RequestOptions): core.HttpResponsePromise<Phonic.WorkspaceGetResponse>;
|
|
25
|
+
private __get;
|
|
26
|
+
}
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
+
var ownKeys = function(o) {
|
|
21
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
+
var ar = [];
|
|
23
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
+
return ar;
|
|
25
|
+
};
|
|
26
|
+
return ownKeys(o);
|
|
27
|
+
};
|
|
28
|
+
return function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
})();
|
|
36
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
37
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
38
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
39
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
40
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
41
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
42
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
43
|
+
});
|
|
44
|
+
};
|
|
45
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
46
|
+
exports.WorkspaceClient = void 0;
|
|
47
|
+
const BaseClient_js_1 = require("../../../../BaseClient.js");
|
|
48
|
+
const headers_js_1 = require("../../../../core/headers.js");
|
|
49
|
+
const core = __importStar(require("../../../../core/index.js"));
|
|
50
|
+
const environments = __importStar(require("../../../../environments.js"));
|
|
51
|
+
const handleNonStatusCodeError_js_1 = require("../../../../errors/handleNonStatusCodeError.js");
|
|
52
|
+
const errors = __importStar(require("../../../../errors/index.js"));
|
|
53
|
+
const Phonic = __importStar(require("../../../index.js"));
|
|
54
|
+
class WorkspaceClient {
|
|
55
|
+
constructor(options = {}) {
|
|
56
|
+
this._options = (0, BaseClient_js_1.normalizeClientOptionsWithAuth)(options);
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* Returns information about the workspace.
|
|
60
|
+
*
|
|
61
|
+
* @param {WorkspaceClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link Phonic.UnauthorizedError}
|
|
64
|
+
* @throws {@link Phonic.InternalServerError}
|
|
65
|
+
*
|
|
66
|
+
* @example
|
|
67
|
+
* await client.workspace.get()
|
|
68
|
+
*/
|
|
69
|
+
get(requestOptions) {
|
|
70
|
+
return core.HttpResponsePromise.fromPromise(this.__get(requestOptions));
|
|
71
|
+
}
|
|
72
|
+
__get(requestOptions) {
|
|
73
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
74
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
75
|
+
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
76
|
+
const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
77
|
+
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
78
|
+
url: core.url.join((_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : ((_d = (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.PhonicEnvironment.Default)
|
|
79
|
+
.base, "workspace"),
|
|
80
|
+
method: "GET",
|
|
81
|
+
headers: _headers,
|
|
82
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
83
|
+
timeoutMs: ((_g = (_e = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _e !== void 0 ? _e : (_f = this._options) === null || _f === void 0 ? void 0 : _f.timeoutInSeconds) !== null && _g !== void 0 ? _g : 60) * 1000,
|
|
84
|
+
maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
|
|
85
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
86
|
+
fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
|
|
87
|
+
logging: this._options.logging,
|
|
88
|
+
});
|
|
89
|
+
if (_response.ok) {
|
|
90
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
91
|
+
}
|
|
92
|
+
if (_response.error.reason === "status-code") {
|
|
93
|
+
switch (_response.error.statusCode) {
|
|
94
|
+
case 401:
|
|
95
|
+
throw new Phonic.UnauthorizedError(_response.error.body, _response.rawResponse);
|
|
96
|
+
case 500:
|
|
97
|
+
throw new Phonic.InternalServerError(_response.error.body, _response.rawResponse);
|
|
98
|
+
default:
|
|
99
|
+
throw new errors.PhonicError({
|
|
100
|
+
statusCode: _response.error.statusCode,
|
|
101
|
+
body: _response.error.body,
|
|
102
|
+
rawResponse: _response.rawResponse,
|
|
103
|
+
});
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/workspace");
|
|
107
|
+
});
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
exports.WorkspaceClient = WorkspaceClient;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
15
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
16
|
+
};
|
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
exports.WorkspaceClient = void 0;
|
|
19
|
+
var Client_js_1 = require("./client/Client.js");
|
|
20
|
+
Object.defineProperty(exports, "WorkspaceClient", { enumerable: true, get: function () { return Client_js_1.WorkspaceClient; } });
|
|
21
|
+
__exportStar(require("./client/index.js"), exports);
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./client/index.js"), exports);
|
|
18
|
+
__exportStar(require("./types/index.js"), exports);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./WorkspaceGetResponse.js";
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./WorkspaceGetResponse.js"), exports);
|
|
@@ -50,6 +50,8 @@ export interface Agent {
|
|
|
50
50
|
languages?: Phonic.LanguageCode[] | undefined;
|
|
51
51
|
/** If `"auto"`, each user audio is automatically identified for the language to respond in. If `"request"`, user must request to change language (recommended). */
|
|
52
52
|
multilingual_mode: Agent.MultilingualMode;
|
|
53
|
+
/** Push to talk mode. User must send mute/unmute messages to turn on/off listening to audio. Defaults to false. */
|
|
54
|
+
push_to_talk: boolean;
|
|
53
55
|
/** These words, or short phrases, will be more accurately recognized by the agent. */
|
|
54
56
|
boosted_keywords: string[];
|
|
55
57
|
/** Minimum number of words required to interrupt the assistant. */
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import type * as Phonic from "../index.js";
|
|
2
|
-
export type BadRequestErrorBody = Phonic.ValidationError | Phonic.BasicError;
|
|
2
|
+
export type BadRequestErrorBody = Phonic.ValidationError | Phonic.BasicError | Phonic.SipCallError;
|
|
@@ -50,6 +50,8 @@ export interface ConfigOptions {
|
|
|
50
50
|
additional_languages?: string[] | undefined;
|
|
51
51
|
/** If `"auto"`, each user audio is automatically identified for the language to respond in. If `"request"`, user must request to change language (recommended). */
|
|
52
52
|
multilingual_mode?: ConfigOptions.MultilingualMode | undefined;
|
|
53
|
+
/** Push to talk mode. User must send mute/unmute messages to turn on/off listening to audio. Defaults to false. */
|
|
54
|
+
push_to_talk?: boolean | undefined;
|
|
53
55
|
/** Keywords to boost in speech recognition */
|
|
54
56
|
boosted_keywords?: string[] | undefined;
|
|
55
57
|
/** Names of tools available to the assistant. */
|
|
@@ -54,6 +54,8 @@ export interface Conversation {
|
|
|
54
54
|
additional_languages: string[] | null;
|
|
55
55
|
/** If `"auto"`, each user audio is automatically identified for the language to respond in. If `"request"`, user must request to change language (recommended). */
|
|
56
56
|
multilingual_mode: Conversation.MultilingualMode;
|
|
57
|
+
/** Push to talk mode. User must send mute/unmute messages to turn on/off listening to audio. Defaults to false. */
|
|
58
|
+
push_to_talk: boolean;
|
|
57
59
|
/** Array of ISO 639-1 language codes recognized by the model. This field is deprecated. Use `default_language` and `additional_languages` instead. */
|
|
58
60
|
languages?: (string[] | null) | undefined;
|
|
59
61
|
/** Whether the no-input poke text was generated by AI. */
|
|
@@ -64,6 +66,14 @@ export interface Conversation {
|
|
|
64
66
|
no_input_poke_text: string | null;
|
|
65
67
|
/** Seconds of silence before the conversation is ended. */
|
|
66
68
|
no_input_end_conversation_sec: number | null;
|
|
69
|
+
/** Voice activity detection prebuffer duration in milliseconds. `null` when not applicable or unknown (e.g. push-to-talk, or legacy stored conversations). */
|
|
70
|
+
vad_prebuffer_duration_ms?: (number | null) | undefined;
|
|
71
|
+
/** Minimum speech duration for voice activity detection in milliseconds. `null` when not applicable or unknown. */
|
|
72
|
+
vad_min_speech_duration_ms?: (number | null) | undefined;
|
|
73
|
+
/** Minimum silence duration for voice activity detection in milliseconds. `null` when not applicable or unknown. */
|
|
74
|
+
vad_min_silence_duration_ms?: (number | null) | undefined;
|
|
75
|
+
/** Voice activity detection threshold. `null` when not applicable or unknown. */
|
|
76
|
+
vad_threshold?: (number | null) | undefined;
|
|
67
77
|
/** Results from conversation evaluations and extractions. */
|
|
68
78
|
task_results: Record<string, unknown>;
|
|
69
79
|
/** Array of conversation items (turns). */
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export interface ConversationsListResponseConversationsPagination {
|
|
2
|
+
/** Cursor to fetch the previous page of conversations (newer). Use this value in the `before` query parameter. `null` if there is no previous page. */
|
|
3
|
+
prev_cursor: string | null;
|
|
4
|
+
/** Cursor to fetch the next page of conversations (older). Use this value in the `after` query parameter. `null` if there is no next page. */
|
|
5
|
+
next_cursor: string | null;
|
|
6
|
+
}
|
|
@@ -48,6 +48,8 @@ export interface CreateAgentRequest {
|
|
|
48
48
|
languages?: Phonic.LanguageCode[] | undefined;
|
|
49
49
|
/** If `"auto"`, each user audio is automatically identified for the language to respond in. If `"request"`, user must request to change language (recommended). */
|
|
50
50
|
multilingual_mode?: CreateAgentRequest.MultilingualMode | undefined;
|
|
51
|
+
/** Push to talk mode. User must send mute/unmute messages to turn on/off listening to audio. Defaults to false. */
|
|
52
|
+
push_to_talk?: boolean | undefined;
|
|
51
53
|
/** These words, or short phrases, will be more accurately recognized by the agent. */
|
|
52
54
|
boosted_keywords?: string[] | undefined;
|
|
53
55
|
/** Minimum number of words required to interrupt the assistant. */
|
|
@@ -31,6 +31,8 @@ export interface OutboundCallConfig {
|
|
|
31
31
|
languages?: Phonic.LanguageCode[] | undefined;
|
|
32
32
|
/** If `"auto"`, each user audio is automatically identified for the language to respond in. If `"request"`, user must request to change language (recommended). */
|
|
33
33
|
multilingual_mode?: OutboundCallConfig.MultilingualMode | undefined;
|
|
34
|
+
/** Push to talk mode. User must send mute/unmute messages to turn on/off listening to audio. Defaults to false. */
|
|
35
|
+
push_to_talk?: boolean | undefined;
|
|
34
36
|
/** These words, or short phrases, will be more accurately recognized by the agent. */
|
|
35
37
|
boosted_keywords?: string[] | undefined;
|
|
36
38
|
/** Minimum number of words required to interrupt the assistant. */
|
|
@@ -5,6 +5,10 @@ export interface Project {
|
|
|
5
5
|
name: string;
|
|
6
6
|
/** The project's default agent. */
|
|
7
7
|
default_agent: Project.DefaultAgent | null;
|
|
8
|
+
/** Number of conversations currently in progress for this project. */
|
|
9
|
+
active_conversations: number;
|
|
10
|
+
/** Maximum number of concurrent conversations allowed for this project. When `null`, the workspace `max_active_conversations` limit is used. */
|
|
11
|
+
max_active_conversations: number | null;
|
|
8
12
|
}
|
|
9
13
|
export declare namespace Project {
|
|
10
14
|
/**
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type * as Phonic from "../index.js";
|
|
2
|
+
export interface ReplayConversationItemResponse {
|
|
3
|
+
/** Alternative responses generated for the conversation item. */
|
|
4
|
+
responses: ReplayConversationItemResponse.Responses.Item[];
|
|
5
|
+
}
|
|
6
|
+
export declare namespace ReplayConversationItemResponse {
|
|
7
|
+
type Responses = Responses.Item[];
|
|
8
|
+
namespace Responses {
|
|
9
|
+
interface Item {
|
|
10
|
+
/** The text the LLM produced for this replay response. */
|
|
11
|
+
text: string;
|
|
12
|
+
/** Tool calls the LLM would invoke for this replay response - note that the tools will not actually be called during replay. */
|
|
13
|
+
tool_calls: Phonic.ReplayToolCall[];
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
export interface ReplayToolCall {
|
|
2
|
+
tool: ReplayToolCall.Tool;
|
|
3
|
+
/** HTTP method for webhook tool calls. */
|
|
4
|
+
endpoint_method?: ReplayToolCall.EndpointMethod | undefined;
|
|
5
|
+
/** URL for webhook tool calls. */
|
|
6
|
+
endpoint_url?: string | undefined;
|
|
7
|
+
/** Headers for webhook tool calls. */
|
|
8
|
+
endpoint_headers?: (Record<string, string | null> | null) | undefined;
|
|
9
|
+
/** Query parameters the LLM produced for webhook tool calls. */
|
|
10
|
+
query_params?: (Record<string, string | null> | null) | undefined;
|
|
11
|
+
/** Context returned from custom-context tool calls. */
|
|
12
|
+
context?: string | undefined;
|
|
13
|
+
/** Request body the LLM produced for the tool call. */
|
|
14
|
+
request_body: Record<string, unknown> | null;
|
|
15
|
+
}
|
|
16
|
+
export declare namespace ReplayToolCall {
|
|
17
|
+
interface Tool {
|
|
18
|
+
/** The tool ID. */
|
|
19
|
+
id: string;
|
|
20
|
+
/** The tool name. */
|
|
21
|
+
name: string;
|
|
22
|
+
}
|
|
23
|
+
/** HTTP method for webhook tool calls. */
|
|
24
|
+
const EndpointMethod: {
|
|
25
|
+
readonly Get: "GET";
|
|
26
|
+
readonly Post: "POST";
|
|
27
|
+
};
|
|
28
|
+
type EndpointMethod = (typeof EndpointMethod)[keyof typeof EndpointMethod];
|
|
29
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.ReplayToolCall = void 0;
|
|
5
|
+
var ReplayToolCall;
|
|
6
|
+
(function (ReplayToolCall) {
|
|
7
|
+
/** HTTP method for webhook tool calls. */
|
|
8
|
+
ReplayToolCall.EndpointMethod = {
|
|
9
|
+
Get: "GET",
|
|
10
|
+
Post: "POST",
|
|
11
|
+
};
|
|
12
|
+
})(ReplayToolCall || (exports.ReplayToolCall = ReplayToolCall = {}));
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export interface SipCallError {
|
|
2
|
+
error: SipCallError.Error_;
|
|
3
|
+
}
|
|
4
|
+
export declare namespace SipCallError {
|
|
5
|
+
interface Error_ {
|
|
6
|
+
/** Human-readable error message. */
|
|
7
|
+
message: string;
|
|
8
|
+
/** Machine-readable error code. */
|
|
9
|
+
code: Error_.Code;
|
|
10
|
+
/** The SIP response status code from the carrier (e.g. 403, 486, 603). */
|
|
11
|
+
sip_status_code: number;
|
|
12
|
+
/** The SIP response reason phrase from the carrier (e.g. "Network Blocked", "Trunk CPS limit exceeded"). */
|
|
13
|
+
sip_status: string;
|
|
14
|
+
}
|
|
15
|
+
namespace Error_ {
|
|
16
|
+
/** Machine-readable error code. */
|
|
17
|
+
const Code: {
|
|
18
|
+
readonly SipCallFailed: "sip_call_failed";
|
|
19
|
+
readonly SipAuthFailed: "sip_auth_failed";
|
|
20
|
+
readonly InvalidPhoneNumber: "invalid_phone_number";
|
|
21
|
+
};
|
|
22
|
+
type Code = (typeof Code)[keyof typeof Code];
|
|
23
|
+
}
|
|
24
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.SipCallError = void 0;
|
|
5
|
+
var SipCallError;
|
|
6
|
+
(function (SipCallError) {
|
|
7
|
+
let Error_;
|
|
8
|
+
(function (Error_) {
|
|
9
|
+
/** Machine-readable error code. */
|
|
10
|
+
Error_.Code = {
|
|
11
|
+
SipCallFailed: "sip_call_failed",
|
|
12
|
+
SipAuthFailed: "sip_auth_failed",
|
|
13
|
+
InvalidPhoneNumber: "invalid_phone_number",
|
|
14
|
+
};
|
|
15
|
+
})(Error_ = SipCallError.Error_ || (SipCallError.Error_ = {}));
|
|
16
|
+
})(SipCallError || (exports.SipCallError = SipCallError = {}));
|
|
@@ -19,6 +19,9 @@ export * from "./ConversationEvaluation.js";
|
|
|
19
19
|
export * from "./ConversationEvaluationResult.js";
|
|
20
20
|
export * from "./ConversationExtraction.js";
|
|
21
21
|
export * from "./ConversationItem.js";
|
|
22
|
+
export * from "./ConversationsListResponseConversation.js";
|
|
23
|
+
export * from "./ConversationsListResponseConversations.js";
|
|
24
|
+
export * from "./ConversationsListResponseConversationsPagination.js";
|
|
22
25
|
export * from "./CreateAgentRequest.js";
|
|
23
26
|
export * from "./DtmfPayload.js";
|
|
24
27
|
export * from "./Error_.js";
|
|
@@ -29,14 +32,18 @@ export * from "./GenerateReplyPayload.js";
|
|
|
29
32
|
export * from "./InputCancelledPayload.js";
|
|
30
33
|
export * from "./InputTextPayload.js";
|
|
31
34
|
export * from "./LanguageCode.js";
|
|
35
|
+
export * from "./MutePayload.js";
|
|
32
36
|
export * from "./OutboundCallConfig.js";
|
|
33
37
|
export * from "./OutboundCallInitiatedResponse.js";
|
|
34
38
|
export * from "./OutboundDryRunResponse.js";
|
|
35
39
|
export * from "./Project.js";
|
|
36
40
|
export * from "./ReadyToStartConversationPayload.js";
|
|
41
|
+
export * from "./ReplayConversationItemResponse.js";
|
|
42
|
+
export * from "./ReplayToolCall.js";
|
|
37
43
|
export * from "./ResetPayload.js";
|
|
38
44
|
export * from "./SayPayload.js";
|
|
39
45
|
export * from "./SetExternalIdPayload.js";
|
|
46
|
+
export * from "./SipCallError.js";
|
|
40
47
|
export * from "./SipOutboundCallInitiatedResponse.js";
|
|
41
48
|
export * from "./SipOutboundDryRunResponse.js";
|
|
42
49
|
export * from "./Task.js";
|
|
@@ -46,6 +53,7 @@ export * from "./ToolCallOutputPayload.js";
|
|
|
46
53
|
export * from "./ToolCallOutputProcessedPayload.js";
|
|
47
54
|
export * from "./ToolCallPayload.js";
|
|
48
55
|
export * from "./ToolParameter.js";
|
|
56
|
+
export * from "./UnmutePayload.js";
|
|
49
57
|
export * from "./UpdateSystemPromptPayload.js";
|
|
50
58
|
export * from "./UserFinishedSpeakingPayload.js";
|
|
51
59
|
export * from "./UserStartedSpeakingPayload.js";
|
|
@@ -35,6 +35,9 @@ __exportStar(require("./ConversationEvaluation.js"), exports);
|
|
|
35
35
|
__exportStar(require("./ConversationEvaluationResult.js"), exports);
|
|
36
36
|
__exportStar(require("./ConversationExtraction.js"), exports);
|
|
37
37
|
__exportStar(require("./ConversationItem.js"), exports);
|
|
38
|
+
__exportStar(require("./ConversationsListResponseConversation.js"), exports);
|
|
39
|
+
__exportStar(require("./ConversationsListResponseConversations.js"), exports);
|
|
40
|
+
__exportStar(require("./ConversationsListResponseConversationsPagination.js"), exports);
|
|
38
41
|
__exportStar(require("./CreateAgentRequest.js"), exports);
|
|
39
42
|
__exportStar(require("./DtmfPayload.js"), exports);
|
|
40
43
|
__exportStar(require("./Error_.js"), exports);
|
|
@@ -45,14 +48,18 @@ __exportStar(require("./GenerateReplyPayload.js"), exports);
|
|
|
45
48
|
__exportStar(require("./InputCancelledPayload.js"), exports);
|
|
46
49
|
__exportStar(require("./InputTextPayload.js"), exports);
|
|
47
50
|
__exportStar(require("./LanguageCode.js"), exports);
|
|
51
|
+
__exportStar(require("./MutePayload.js"), exports);
|
|
48
52
|
__exportStar(require("./OutboundCallConfig.js"), exports);
|
|
49
53
|
__exportStar(require("./OutboundCallInitiatedResponse.js"), exports);
|
|
50
54
|
__exportStar(require("./OutboundDryRunResponse.js"), exports);
|
|
51
55
|
__exportStar(require("./Project.js"), exports);
|
|
52
56
|
__exportStar(require("./ReadyToStartConversationPayload.js"), exports);
|
|
57
|
+
__exportStar(require("./ReplayConversationItemResponse.js"), exports);
|
|
58
|
+
__exportStar(require("./ReplayToolCall.js"), exports);
|
|
53
59
|
__exportStar(require("./ResetPayload.js"), exports);
|
|
54
60
|
__exportStar(require("./SayPayload.js"), exports);
|
|
55
61
|
__exportStar(require("./SetExternalIdPayload.js"), exports);
|
|
62
|
+
__exportStar(require("./SipCallError.js"), exports);
|
|
56
63
|
__exportStar(require("./SipOutboundCallInitiatedResponse.js"), exports);
|
|
57
64
|
__exportStar(require("./SipOutboundDryRunResponse.js"), exports);
|
|
58
65
|
__exportStar(require("./Task.js"), exports);
|
|
@@ -62,6 +69,7 @@ __exportStar(require("./ToolCallOutputPayload.js"), exports);
|
|
|
62
69
|
__exportStar(require("./ToolCallOutputProcessedPayload.js"), exports);
|
|
63
70
|
__exportStar(require("./ToolCallPayload.js"), exports);
|
|
64
71
|
__exportStar(require("./ToolParameter.js"), exports);
|
|
72
|
+
__exportStar(require("./UnmutePayload.js"), exports);
|
|
65
73
|
__exportStar(require("./UpdateSystemPromptPayload.js"), exports);
|
|
66
74
|
__exportStar(require("./UserFinishedSpeakingPayload.js"), exports);
|
|
67
75
|
__exportStar(require("./UserStartedSpeakingPayload.js"), exports);
|