@wildix/wim-voicebots-client 1.0.25 → 1.0.26
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/dist-cjs/models/models_0.js +1 -9
- package/dist-es/models/models_0.js +0 -8
- package/dist-types/commands/CreateVoiceBotCommand.d.ts +2 -2
- package/dist-types/commands/GetVoiceBotCommand.d.ts +1 -1
- package/dist-types/commands/ListVoiceBotsCommand.d.ts +1 -1
- package/dist-types/commands/UpdateVoiceBotCommand.d.ts +2 -2
- package/dist-types/models/models_0.d.ts +1 -17
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.VoiceSessionNotFoundException = exports.VoiceBotNotFoundException = exports.TraceSessionStatus = exports.TraceSegmentStatus = exports.TraceSegmentResult = exports.TraceSegmentInput = exports.TraceGenericInputBlockContent = exports.TraceSegmentCompletionMessageItem = exports.TraceSegmentCompletionMessage = exports.TraceToolCall = exports.TraceActivityTrigger = exports.TraceActivityStatus = exports.TraceActivityResult = exports.VoiceBotCommandType = exports.VoiceBotNonUniqueNameException = exports.VoiceBotPipelineTerminateAction = exports.VoiceBotEndpoint = exports.VoiceBotToolType = exports.VoiceBotFunctionIntegration = exports.VoiceBotFunctionIntegrationMethod = exports.VoiceBotFunctionIntegrationWebhookAuthorization = exports.
|
|
3
|
+
exports.VoiceSessionNotFoundException = exports.VoiceBotNotFoundException = exports.TraceSessionStatus = exports.TraceSegmentStatus = exports.TraceSegmentResult = exports.TraceSegmentInput = exports.TraceGenericInputBlockContent = exports.TraceSegmentCompletionMessageItem = exports.TraceSegmentCompletionMessage = exports.TraceToolCall = exports.TraceActivityTrigger = exports.TraceActivityStatus = exports.TraceActivityResult = exports.VoiceBotCommandType = exports.VoiceBotNonUniqueNameException = exports.VoiceBotPipelineTerminateAction = exports.VoiceBotEndpoint = exports.VoiceBotToolType = exports.VoiceBotFunctionIntegration = exports.VoiceBotFunctionIntegrationMethod = exports.VoiceBotFunctionIntegrationWebhookAuthorization = exports.VoiceBotEmbeddedToolType = exports.VoiceBotEventType = exports.ForbiddenException = exports.ValidationException = void 0;
|
|
4
4
|
const VoiceBotsServiceException_1 = require("./VoiceBotsServiceException");
|
|
5
5
|
class ValidationException extends VoiceBotsServiceException_1.VoiceBotsServiceException {
|
|
6
6
|
name = "ValidationException";
|
|
@@ -44,14 +44,6 @@ exports.VoiceBotEmbeddedToolType = {
|
|
|
44
44
|
TRANSFER: "TRANSFER",
|
|
45
45
|
WAIT: "WAIT",
|
|
46
46
|
};
|
|
47
|
-
exports.VoiceBotModel = {
|
|
48
|
-
DEFAULT: "default",
|
|
49
|
-
OPENAI_GPT_4O: "openai:gpt-4o",
|
|
50
|
-
OPENAI_GPT_4_1: "openai:gpt-4.1",
|
|
51
|
-
OPENAI_GPT_4_1_MINI: "openai:gpt-4.1-mini",
|
|
52
|
-
OPENAI_GPT_5: "openai:gpt-5",
|
|
53
|
-
OPENAI_GPT_5_MINI: "openai:gpt-5-mini",
|
|
54
|
-
};
|
|
55
47
|
var VoiceBotFunctionIntegrationWebhookAuthorization;
|
|
56
48
|
(function (VoiceBotFunctionIntegrationWebhookAuthorization) {
|
|
57
49
|
VoiceBotFunctionIntegrationWebhookAuthorization.visit = (value, visitor) => {
|
|
@@ -39,14 +39,6 @@ export const VoiceBotEmbeddedToolType = {
|
|
|
39
39
|
TRANSFER: "TRANSFER",
|
|
40
40
|
WAIT: "WAIT",
|
|
41
41
|
};
|
|
42
|
-
export const VoiceBotModel = {
|
|
43
|
-
DEFAULT: "default",
|
|
44
|
-
OPENAI_GPT_4O: "openai:gpt-4o",
|
|
45
|
-
OPENAI_GPT_4_1: "openai:gpt-4.1",
|
|
46
|
-
OPENAI_GPT_4_1_MINI: "openai:gpt-4.1-mini",
|
|
47
|
-
OPENAI_GPT_5: "openai:gpt-5",
|
|
48
|
-
OPENAI_GPT_5_MINI: "openai:gpt-5-mini",
|
|
49
|
-
};
|
|
50
42
|
export var VoiceBotFunctionIntegrationWebhookAuthorization;
|
|
51
43
|
(function (VoiceBotFunctionIntegrationWebhookAuthorization) {
|
|
52
44
|
VoiceBotFunctionIntegrationWebhookAuthorization.visit = (value, visitor) => {
|
|
@@ -62,7 +62,7 @@ declare const CreateVoiceBotCommand_base: {
|
|
|
62
62
|
* endpoint: { // VoiceBotEndpoint Union: only one key present
|
|
63
63
|
* llm: { // VoiceBotLlmEndpoint
|
|
64
64
|
* prompt: "STRING_VALUE", // required
|
|
65
|
-
* model: "
|
|
65
|
+
* model: "STRING_VALUE",
|
|
66
66
|
* embeddedTools: [ // VoiceBotEmbeddedToolsList
|
|
67
67
|
* { // VoiceBotEmbeddedTool
|
|
68
68
|
* type: "HANGUP" || "TRANSFER" || "DELEGATE" || "WAIT", // required
|
|
@@ -164,7 +164,7 @@ declare const CreateVoiceBotCommand_base: {
|
|
|
164
164
|
* // endpoint: { // VoiceBotEndpoint Union: only one key present
|
|
165
165
|
* // llm: { // VoiceBotLlmEndpoint
|
|
166
166
|
* // prompt: "STRING_VALUE", // required
|
|
167
|
-
* // model: "
|
|
167
|
+
* // model: "STRING_VALUE",
|
|
168
168
|
* // embeddedTools: [ // VoiceBotEmbeddedToolsList
|
|
169
169
|
* // { // VoiceBotEmbeddedTool
|
|
170
170
|
* // type: "HANGUP" || "TRANSFER" || "DELEGATE" || "WAIT", // required
|
|
@@ -69,7 +69,7 @@ declare const GetVoiceBotCommand_base: {
|
|
|
69
69
|
* // endpoint: { // VoiceBotEndpoint Union: only one key present
|
|
70
70
|
* // llm: { // VoiceBotLlmEndpoint
|
|
71
71
|
* // prompt: "STRING_VALUE", // required
|
|
72
|
-
* // model: "
|
|
72
|
+
* // model: "STRING_VALUE",
|
|
73
73
|
* // embeddedTools: [ // VoiceBotEmbeddedToolsList
|
|
74
74
|
* // { // VoiceBotEmbeddedTool
|
|
75
75
|
* // type: "HANGUP" || "TRANSFER" || "DELEGATE" || "WAIT", // required
|
|
@@ -69,7 +69,7 @@ declare const ListVoiceBotsCommand_base: {
|
|
|
69
69
|
* // endpoint: { // VoiceBotEndpoint Union: only one key present
|
|
70
70
|
* // llm: { // VoiceBotLlmEndpoint
|
|
71
71
|
* // prompt: "STRING_VALUE", // required
|
|
72
|
-
* // model: "
|
|
72
|
+
* // model: "STRING_VALUE",
|
|
73
73
|
* // embeddedTools: [ // VoiceBotEmbeddedToolsList
|
|
74
74
|
* // { // VoiceBotEmbeddedTool
|
|
75
75
|
* // type: "HANGUP" || "TRANSFER" || "DELEGATE" || "WAIT", // required
|
|
@@ -62,7 +62,7 @@ declare const UpdateVoiceBotCommand_base: {
|
|
|
62
62
|
* endpoint: { // VoiceBotEndpoint Union: only one key present
|
|
63
63
|
* llm: { // VoiceBotLlmEndpoint
|
|
64
64
|
* prompt: "STRING_VALUE", // required
|
|
65
|
-
* model: "
|
|
65
|
+
* model: "STRING_VALUE",
|
|
66
66
|
* embeddedTools: [ // VoiceBotEmbeddedToolsList
|
|
67
67
|
* { // VoiceBotEmbeddedTool
|
|
68
68
|
* type: "HANGUP" || "TRANSFER" || "DELEGATE" || "WAIT", // required
|
|
@@ -165,7 +165,7 @@ declare const UpdateVoiceBotCommand_base: {
|
|
|
165
165
|
* // endpoint: { // VoiceBotEndpoint Union: only one key present
|
|
166
166
|
* // llm: { // VoiceBotLlmEndpoint
|
|
167
167
|
* // prompt: "STRING_VALUE", // required
|
|
168
|
-
* // model: "
|
|
168
|
+
* // model: "STRING_VALUE",
|
|
169
169
|
* // embeddedTools: [ // VoiceBotEmbeddedToolsList
|
|
170
170
|
* // { // VoiceBotEmbeddedTool
|
|
171
171
|
* // type: "HANGUP" || "TRANSFER" || "DELEGATE" || "WAIT", // required
|
|
@@ -138,22 +138,6 @@ export interface VoiceBotEmbeddedTool {
|
|
|
138
138
|
*/
|
|
139
139
|
parameters?: __DocumentType | undefined;
|
|
140
140
|
}
|
|
141
|
-
/**
|
|
142
|
-
* @public
|
|
143
|
-
* @enum
|
|
144
|
-
*/
|
|
145
|
-
export declare const VoiceBotModel: {
|
|
146
|
-
readonly DEFAULT: "default";
|
|
147
|
-
readonly OPENAI_GPT_4O: "openai:gpt-4o";
|
|
148
|
-
readonly OPENAI_GPT_4_1: "openai:gpt-4.1";
|
|
149
|
-
readonly OPENAI_GPT_4_1_MINI: "openai:gpt-4.1-mini";
|
|
150
|
-
readonly OPENAI_GPT_5: "openai:gpt-5";
|
|
151
|
-
readonly OPENAI_GPT_5_MINI: "openai:gpt-5-mini";
|
|
152
|
-
};
|
|
153
|
-
/**
|
|
154
|
-
* @public
|
|
155
|
-
*/
|
|
156
|
-
export type VoiceBotModel = typeof VoiceBotModel[keyof typeof VoiceBotModel];
|
|
157
141
|
/**
|
|
158
142
|
* @public
|
|
159
143
|
*/
|
|
@@ -335,7 +319,7 @@ export interface VoiceBotLlmEndpoint {
|
|
|
335
319
|
* The AI model to use for generating responses. If not specified, uses the default model.
|
|
336
320
|
* @public
|
|
337
321
|
*/
|
|
338
|
-
model?:
|
|
322
|
+
model?: string | undefined;
|
|
339
323
|
/**
|
|
340
324
|
* Embedded functions to use within voice session.
|
|
341
325
|
* @public
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wildix/wim-voicebots-client",
|
|
3
3
|
"description": "@wildix/wim-voicebots-client client",
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.26",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|