@wildix/wim-voicebots-client 1.1.8 → 3.1.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/dist-cjs/VoiceBots.js +3 -3
- package/dist-cjs/VoiceBotsClient.js +34 -26
- package/dist-cjs/auth/httpAuthExtensionConfiguration.js +43 -0
- package/dist-cjs/auth/httpAuthSchemeProvider.js +65 -0
- package/dist-cjs/commands/CreateVoiceBotCommand.js +10 -11
- package/dist-cjs/commands/DeleteVoiceBotCommand.js +10 -11
- package/dist-cjs/commands/DescribeEventCommand.js +10 -11
- package/dist-cjs/commands/GetTraceCommand.js +10 -11
- package/dist-cjs/commands/GetVoiceBotCommand.js +10 -11
- package/dist-cjs/commands/ListTracesCommand.js +10 -11
- package/dist-cjs/commands/ListVoiceBotsCommand.js +10 -11
- package/dist-cjs/commands/ListVoiceBotsNamesCommand.js +10 -11
- package/dist-cjs/commands/SendHangupCommand.js +10 -11
- package/dist-cjs/commands/SendPlayCommand.js +10 -11
- package/dist-cjs/commands/SendSayCommand.js +10 -11
- package/dist-cjs/commands/SendStopCommand.js +10 -11
- package/dist-cjs/commands/SendTransferCommand.js +10 -11
- package/dist-cjs/commands/UpdateVoiceBotCommand.js +10 -11
- package/dist-cjs/endpoint/EndpointParameters.js +16 -0
- package/dist-cjs/endpoint/bdd.js +28 -0
- package/dist-cjs/endpoint/endpointResolver.js +16 -0
- package/dist-cjs/index.js +4 -1
- package/dist-cjs/models/VoiceBotsServiceException.js +3 -3
- package/dist-cjs/models/enums.js +64 -0
- package/dist-cjs/models/errors.js +75 -0
- package/dist-cjs/models/models_0.js +0 -314
- package/dist-cjs/runtimeConfig.browser.js +11 -11
- package/dist-cjs/runtimeConfig.js +22 -18
- package/dist-cjs/runtimeConfig.shared.js +30 -10
- package/dist-cjs/runtimeExtensions.js +6 -5
- package/dist-cjs/schemas/schemas_0.js +1247 -0
- package/dist-es/VoiceBots.js +6 -6
- package/dist-es/VoiceBotsClient.js +30 -22
- package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
- package/dist-es/auth/httpAuthSchemeProvider.js +59 -0
- package/dist-es/commands/CreateVoiceBotCommand.js +9 -10
- package/dist-es/commands/DeleteVoiceBotCommand.js +9 -10
- package/dist-es/commands/DescribeEventCommand.js +9 -10
- package/dist-es/commands/GetTraceCommand.js +9 -10
- package/dist-es/commands/GetVoiceBotCommand.js +9 -10
- package/dist-es/commands/ListTracesCommand.js +9 -10
- package/dist-es/commands/ListVoiceBotsCommand.js +9 -10
- package/dist-es/commands/ListVoiceBotsNamesCommand.js +9 -10
- package/dist-es/commands/SendHangupCommand.js +9 -10
- package/dist-es/commands/SendPlayCommand.js +9 -10
- package/dist-es/commands/SendSayCommand.js +9 -10
- package/dist-es/commands/SendStopCommand.js +9 -10
- package/dist-es/commands/SendTransferCommand.js +9 -10
- package/dist-es/commands/UpdateVoiceBotCommand.js +9 -10
- package/dist-es/endpoint/EndpointParameters.js +12 -0
- package/dist-es/endpoint/bdd.js +25 -0
- package/dist-es/endpoint/endpointResolver.js +12 -0
- package/dist-es/index.js +4 -1
- package/dist-es/models/VoiceBotsServiceException.js +1 -1
- package/dist-es/models/enums.js +61 -0
- package/dist-es/models/errors.js +67 -0
- package/dist-es/models/models_0.js +1 -308
- package/dist-es/runtimeConfig.browser.js +7 -7
- package/dist-es/runtimeConfig.js +17 -13
- package/dist-es/runtimeConfig.shared.js +24 -4
- package/dist-es/runtimeExtensions.js +6 -5
- package/dist-es/schemas/schemas_0.js +1241 -0
- package/dist-types/VoiceBots.d.ts +15 -15
- package/dist-types/VoiceBotsClient.d.ts +44 -26
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +81 -0
- package/dist-types/commands/CreateVoiceBotCommand.d.ts +143 -7
- package/dist-types/commands/DeleteVoiceBotCommand.d.ts +11 -7
- package/dist-types/commands/DescribeEventCommand.d.ts +35 -7
- package/dist-types/commands/GetTraceCommand.d.ts +33 -7
- package/dist-types/commands/GetVoiceBotCommand.d.ts +77 -7
- package/dist-types/commands/ListTracesCommand.d.ts +11 -7
- package/dist-types/commands/ListVoiceBotsCommand.d.ts +77 -7
- package/dist-types/commands/ListVoiceBotsNamesCommand.d.ts +11 -7
- package/dist-types/commands/SendHangupCommand.d.ts +11 -7
- package/dist-types/commands/SendPlayCommand.d.ts +11 -7
- package/dist-types/commands/SendSayCommand.d.ts +11 -7
- package/dist-types/commands/SendStopCommand.d.ts +11 -7
- package/dist-types/commands/SendTransferCommand.d.ts +11 -7
- package/dist-types/commands/UpdateVoiceBotCommand.d.ts +143 -7
- package/dist-types/endpoint/EndpointParameters.d.ts +41 -0
- package/dist-types/endpoint/bdd.d.ts +2 -0
- package/dist-types/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/extensionConfiguration.d.ts +4 -3
- package/dist-types/index.d.ts +5 -1
- package/dist-types/models/VoiceBotsServiceException.d.ts +1 -1
- package/dist-types/models/enums.d.ts +141 -0
- package/dist-types/models/errors.d.ts +60 -0
- package/dist-types/models/models_0.d.ts +349 -204
- package/dist-types/runtimeConfig.browser.d.ts +35 -16
- package/dist-types/runtimeConfig.d.ts +34 -15
- package/dist-types/runtimeConfig.native.d.ts +36 -17
- package/dist-types/runtimeConfig.shared.d.ts +20 -3
- package/dist-types/runtimeExtensions.d.ts +1 -1
- package/dist-types/schemas/schemas_0.d.ts +175 -0
- package/package.json +14 -40
- package/dist-cjs/models/index.js +0 -4
- package/dist-cjs/protocols/Aws_restJson1.js +0 -1030
- package/dist-es/models/index.js +0 -1
- package/dist-es/protocols/Aws_restJson1.js +0 -999
- package/dist-types/models/index.d.ts +0 -1
- package/dist-types/protocols/Aws_restJson1.d.ts +0 -128
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { GetTraceInput, GetTraceOutput } from "../models/models_0";
|
|
4
|
+
import type { ServiceInputTypes, ServiceOutputTypes, VoiceBotsClientResolvedConfig } from "../VoiceBotsClient";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -22,9 +22,11 @@ export interface GetTraceCommandInput extends GetTraceInput {
|
|
|
22
22
|
export interface GetTraceCommandOutput extends GetTraceOutput, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const GetTraceCommand_base: {
|
|
25
|
-
new (input: GetTraceCommandInput): import("@smithy/
|
|
26
|
-
new (
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: GetTraceCommandInput): import("@smithy/core/client").CommandImpl<GetTraceCommandInput, GetTraceCommandOutput, VoiceBotsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: GetTraceCommandInput): import("@smithy/core/client").CommandImpl<GetTraceCommandInput, GetTraceCommandOutput, VoiceBotsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* Retrieves detailed trace information for a specific voice bot session.
|
|
@@ -33,6 +35,8 @@ declare const GetTraceCommand_base: {
|
|
|
33
35
|
* ```javascript
|
|
34
36
|
* import { VoiceBotsClient, GetTraceCommand } from "@wildix/wim-voicebots-client"; // ES Modules import
|
|
35
37
|
* // const { VoiceBotsClient, GetTraceCommand } = require("@wildix/wim-voicebots-client"); // CommonJS import
|
|
38
|
+
* // import type { VoiceBotsClientConfig } from "@wildix/wim-voicebots-client";
|
|
39
|
+
* const config = {}; // type is VoiceBotsClientConfig
|
|
36
40
|
* const client = new VoiceBotsClient(config);
|
|
37
41
|
* const input = { // GetTraceInput
|
|
38
42
|
* company: "STRING_VALUE",
|
|
@@ -114,6 +118,7 @@ declare const GetTraceCommand_base: {
|
|
|
114
118
|
* // type: "started" || "ended" || "reply" || "audio" || "playback" || "transcription" || "interruption" || "complete", // required
|
|
115
119
|
* // id: "STRING_VALUE", // required
|
|
116
120
|
* // text: "STRING_VALUE", // required
|
|
121
|
+
* // confidence: Number("double"),
|
|
117
122
|
* // final: true || false,
|
|
118
123
|
* // time: Number("long"), // required
|
|
119
124
|
* // },
|
|
@@ -146,6 +151,27 @@ declare const GetTraceCommand_base: {
|
|
|
146
151
|
* // type: "say" || "play" || "stop" || "hangup" || "transfer", // required
|
|
147
152
|
* // },
|
|
148
153
|
* // },
|
|
154
|
+
* // annotationCommand: { // TraceAnnotationCommand
|
|
155
|
+
* // annotation: { // Annotation
|
|
156
|
+
* // id: "STRING_VALUE", // required
|
|
157
|
+
* // time: Number("long"), // required
|
|
158
|
+
* // payload: { // AnnotationPayload Union: only one key present
|
|
159
|
+
* // tag: "STRING_VALUE",
|
|
160
|
+
* // text: "STRING_VALUE",
|
|
161
|
+
* // variables: { // AnnotationVariablesValue
|
|
162
|
+
* // value: "DOCUMENT_VALUE", // required
|
|
163
|
+
* // },
|
|
164
|
+
* // result: { // AnnotationResultValue
|
|
165
|
+
* // value: "DOCUMENT_VALUE", // required
|
|
166
|
+
* // },
|
|
167
|
+
* // },
|
|
168
|
+
* // source: { // AnnotationSource
|
|
169
|
+
* // type: "chatbot" || "voicebot" || "user" || "system", // required
|
|
170
|
+
* // id: "STRING_VALUE",
|
|
171
|
+
* // name: "STRING_VALUE",
|
|
172
|
+
* // },
|
|
173
|
+
* // },
|
|
174
|
+
* // },
|
|
149
175
|
* // silenceTimeoutTask: { // TraceSilenceTimeoutTaskTrigger
|
|
150
176
|
* // parameters: "DOCUMENT_VALUE",
|
|
151
177
|
* // },
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { GetVoiceBotInput, GetVoiceBotOutput } from "../models/models_0";
|
|
4
|
+
import type { ServiceInputTypes, ServiceOutputTypes, VoiceBotsClientResolvedConfig } from "../VoiceBotsClient";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -22,9 +22,11 @@ export interface GetVoiceBotCommandInput extends GetVoiceBotInput {
|
|
|
22
22
|
export interface GetVoiceBotCommandOutput extends GetVoiceBotOutput, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const GetVoiceBotCommand_base: {
|
|
25
|
-
new (input: GetVoiceBotCommandInput): import("@smithy/
|
|
26
|
-
new (
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: GetVoiceBotCommandInput): import("@smithy/core/client").CommandImpl<GetVoiceBotCommandInput, GetVoiceBotCommandOutput, VoiceBotsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: GetVoiceBotCommandInput): import("@smithy/core/client").CommandImpl<GetVoiceBotCommandInput, GetVoiceBotCommandOutput, VoiceBotsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* Retrieves details of a specific voice bot by its unique identifier.
|
|
@@ -33,6 +35,8 @@ declare const GetVoiceBotCommand_base: {
|
|
|
33
35
|
* ```javascript
|
|
34
36
|
* import { VoiceBotsClient, GetVoiceBotCommand } from "@wildix/wim-voicebots-client"; // ES Modules import
|
|
35
37
|
* // const { VoiceBotsClient, GetVoiceBotCommand } = require("@wildix/wim-voicebots-client"); // CommonJS import
|
|
38
|
+
* // import type { VoiceBotsClientConfig } from "@wildix/wim-voicebots-client";
|
|
39
|
+
* const config = {}; // type is VoiceBotsClientConfig
|
|
36
40
|
* const client = new VoiceBotsClient(config);
|
|
37
41
|
* const input = { // GetVoiceBotInput
|
|
38
42
|
* company: "STRING_VALUE",
|
|
@@ -96,6 +100,22 @@ declare const GetVoiceBotCommand_base: {
|
|
|
96
100
|
* // type: "HANGUP" || "TRANSFER" || "DELEGATE" || "WAIT", // required
|
|
97
101
|
* // name: "STRING_VALUE", // required
|
|
98
102
|
* // parameters: "DOCUMENT_VALUE",
|
|
103
|
+
* // annotations: [ // VoiceBotToolAnnotationsList
|
|
104
|
+
* // { // VoiceBotToolAnnotation Union: only one key present
|
|
105
|
+
* // tag: { // VoiceBotToolTagAnnotation
|
|
106
|
+
* // value: "STRING_VALUE",
|
|
107
|
+
* // applyOnSuccess: true || false,
|
|
108
|
+
* // applyOnFailure: true || false,
|
|
109
|
+
* // },
|
|
110
|
+
* // comment: { // VoiceBotToolCommentAnnotation
|
|
111
|
+
* // value: "STRING_VALUE",
|
|
112
|
+
* // applyOnSuccess: true || false,
|
|
113
|
+
* // applyOnFailure: true || false,
|
|
114
|
+
* // },
|
|
115
|
+
* // variables: {},
|
|
116
|
+
* // result: {},
|
|
117
|
+
* // },
|
|
118
|
+
* // ],
|
|
99
119
|
* // },
|
|
100
120
|
* // ],
|
|
101
121
|
* // tools: [ // VoiceBotToolsList
|
|
@@ -137,6 +157,22 @@ declare const GetVoiceBotCommand_base: {
|
|
|
137
157
|
* // },
|
|
138
158
|
* // },
|
|
139
159
|
* // },
|
|
160
|
+
* // annotations: [
|
|
161
|
+
* // {// Union: only one key present
|
|
162
|
+
* // tag: {
|
|
163
|
+
* // value: "STRING_VALUE",
|
|
164
|
+
* // applyOnSuccess: true || false,
|
|
165
|
+
* // applyOnFailure: true || false,
|
|
166
|
+
* // },
|
|
167
|
+
* // comment: {
|
|
168
|
+
* // value: "STRING_VALUE",
|
|
169
|
+
* // applyOnSuccess: true || false,
|
|
170
|
+
* // applyOnFailure: true || false,
|
|
171
|
+
* // },
|
|
172
|
+
* // variables: {},
|
|
173
|
+
* // result: {},
|
|
174
|
+
* // },
|
|
175
|
+
* // ],
|
|
140
176
|
* // },
|
|
141
177
|
* // ],
|
|
142
178
|
* // capabilities: [ // VoiceBotCapabilitiesList
|
|
@@ -162,10 +198,42 @@ declare const GetVoiceBotCommand_base: {
|
|
|
162
198
|
* // type: "blocking_request" || "blocking_request_guided" || "async_request" || "async_request_guided",
|
|
163
199
|
* // instructions: "STRING_VALUE",
|
|
164
200
|
* // },
|
|
201
|
+
* // annotations: [
|
|
202
|
+
* // {// Union: only one key present
|
|
203
|
+
* // tag: {
|
|
204
|
+
* // value: "STRING_VALUE",
|
|
205
|
+
* // applyOnSuccess: true || false,
|
|
206
|
+
* // applyOnFailure: true || false,
|
|
207
|
+
* // },
|
|
208
|
+
* // comment: {
|
|
209
|
+
* // value: "STRING_VALUE",
|
|
210
|
+
* // applyOnSuccess: true || false,
|
|
211
|
+
* // applyOnFailure: true || false,
|
|
212
|
+
* // },
|
|
213
|
+
* // variables: {},
|
|
214
|
+
* // result: {},
|
|
215
|
+
* // },
|
|
216
|
+
* // ],
|
|
165
217
|
* // },
|
|
166
218
|
* // kb: { // VoiceBotKnowledgeBase
|
|
167
219
|
* // knowledgeBaseId: "STRING_VALUE",
|
|
168
220
|
* // instructions: "STRING_VALUE",
|
|
221
|
+
* // annotations: [
|
|
222
|
+
* // {// Union: only one key present
|
|
223
|
+
* // tag: {
|
|
224
|
+
* // value: "STRING_VALUE",
|
|
225
|
+
* // applyOnSuccess: true || false,
|
|
226
|
+
* // applyOnFailure: true || false,
|
|
227
|
+
* // },
|
|
228
|
+
* // comment: {
|
|
229
|
+
* // value: "STRING_VALUE",
|
|
230
|
+
* // applyOnSuccess: true || false,
|
|
231
|
+
* // applyOnFailure: true || false,
|
|
232
|
+
* // },
|
|
233
|
+
* // variables: {},
|
|
234
|
+
* // result: {},
|
|
235
|
+
* // },
|
|
236
|
+
* // ],
|
|
169
237
|
* // },
|
|
170
238
|
* // },
|
|
171
239
|
* // ],
|
|
@@ -218,10 +286,12 @@ declare const GetVoiceBotCommand_base: {
|
|
|
218
286
|
* // type: "blocking_request" || "blocking_request_guided" || "async_request" || "async_request_guided",
|
|
219
287
|
* // instructions: "STRING_VALUE",
|
|
220
288
|
* // },
|
|
289
|
+
* // annotations: "<VoiceBotToolAnnotationsList>",
|
|
221
290
|
* // },
|
|
222
291
|
* // kb: {
|
|
223
292
|
* // knowledgeBaseId: "STRING_VALUE",
|
|
224
293
|
* // instructions: "STRING_VALUE",
|
|
294
|
+
* // annotations: "<VoiceBotToolAnnotationsList>",
|
|
225
295
|
* // },
|
|
226
296
|
* // },
|
|
227
297
|
* // ],
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { ListTracesInput, ListTracesOutput } from "../models/models_0";
|
|
4
|
+
import type { ServiceInputTypes, ServiceOutputTypes, VoiceBotsClientResolvedConfig } from "../VoiceBotsClient";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -22,9 +22,11 @@ export interface ListTracesCommandInput extends ListTracesInput {
|
|
|
22
22
|
export interface ListTracesCommandOutput extends ListTracesOutput, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const ListTracesCommand_base: {
|
|
25
|
-
new (input: ListTracesCommandInput): import("@smithy/
|
|
26
|
-
new (...[input]: [] | [ListTracesCommandInput]): import("@smithy/
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: ListTracesCommandInput): import("@smithy/core/client").CommandImpl<ListTracesCommandInput, ListTracesCommandOutput, VoiceBotsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (...[input]: [] | [ListTracesCommandInput]): import("@smithy/core/client").CommandImpl<ListTracesCommandInput, ListTracesCommandOutput, VoiceBotsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* Retrieves a list of voice bot trace sessions for the specified company.
|
|
@@ -33,6 +35,8 @@ declare const ListTracesCommand_base: {
|
|
|
33
35
|
* ```javascript
|
|
34
36
|
* import { VoiceBotsClient, ListTracesCommand } from "@wildix/wim-voicebots-client"; // ES Modules import
|
|
35
37
|
* // const { VoiceBotsClient, ListTracesCommand } = require("@wildix/wim-voicebots-client"); // CommonJS import
|
|
38
|
+
* // import type { VoiceBotsClientConfig } from "@wildix/wim-voicebots-client";
|
|
39
|
+
* const config = {}; // type is VoiceBotsClientConfig
|
|
36
40
|
* const client = new VoiceBotsClient(config);
|
|
37
41
|
* const input = { // ListTracesInput
|
|
38
42
|
* company: "STRING_VALUE",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { ListVoiceBotsInput, ListVoiceBotsOutput } from "../models/models_0";
|
|
4
|
+
import type { ServiceInputTypes, ServiceOutputTypes, VoiceBotsClientResolvedConfig } from "../VoiceBotsClient";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -22,9 +22,11 @@ export interface ListVoiceBotsCommandInput extends ListVoiceBotsInput {
|
|
|
22
22
|
export interface ListVoiceBotsCommandOutput extends ListVoiceBotsOutput, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const ListVoiceBotsCommand_base: {
|
|
25
|
-
new (input: ListVoiceBotsCommandInput): import("@smithy/
|
|
26
|
-
new (...[input]: [] | [ListVoiceBotsCommandInput]): import("@smithy/
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: ListVoiceBotsCommandInput): import("@smithy/core/client").CommandImpl<ListVoiceBotsCommandInput, ListVoiceBotsCommandOutput, VoiceBotsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (...[input]: [] | [ListVoiceBotsCommandInput]): import("@smithy/core/client").CommandImpl<ListVoiceBotsCommandInput, ListVoiceBotsCommandOutput, VoiceBotsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* Retrieves a list of all voice bots for the specified company.
|
|
@@ -33,6 +35,8 @@ declare const ListVoiceBotsCommand_base: {
|
|
|
33
35
|
* ```javascript
|
|
34
36
|
* import { VoiceBotsClient, ListVoiceBotsCommand } from "@wildix/wim-voicebots-client"; // ES Modules import
|
|
35
37
|
* // const { VoiceBotsClient, ListVoiceBotsCommand } = require("@wildix/wim-voicebots-client"); // CommonJS import
|
|
38
|
+
* // import type { VoiceBotsClientConfig } from "@wildix/wim-voicebots-client";
|
|
39
|
+
* const config = {}; // type is VoiceBotsClientConfig
|
|
36
40
|
* const client = new VoiceBotsClient(config);
|
|
37
41
|
* const input = { // ListVoiceBotsInput
|
|
38
42
|
* company: "STRING_VALUE",
|
|
@@ -96,6 +100,22 @@ declare const ListVoiceBotsCommand_base: {
|
|
|
96
100
|
* // type: "HANGUP" || "TRANSFER" || "DELEGATE" || "WAIT", // required
|
|
97
101
|
* // name: "STRING_VALUE", // required
|
|
98
102
|
* // parameters: "DOCUMENT_VALUE",
|
|
103
|
+
* // annotations: [ // VoiceBotToolAnnotationsList
|
|
104
|
+
* // { // VoiceBotToolAnnotation Union: only one key present
|
|
105
|
+
* // tag: { // VoiceBotToolTagAnnotation
|
|
106
|
+
* // value: "STRING_VALUE",
|
|
107
|
+
* // applyOnSuccess: true || false,
|
|
108
|
+
* // applyOnFailure: true || false,
|
|
109
|
+
* // },
|
|
110
|
+
* // comment: { // VoiceBotToolCommentAnnotation
|
|
111
|
+
* // value: "STRING_VALUE",
|
|
112
|
+
* // applyOnSuccess: true || false,
|
|
113
|
+
* // applyOnFailure: true || false,
|
|
114
|
+
* // },
|
|
115
|
+
* // variables: {},
|
|
116
|
+
* // result: {},
|
|
117
|
+
* // },
|
|
118
|
+
* // ],
|
|
99
119
|
* // },
|
|
100
120
|
* // ],
|
|
101
121
|
* // tools: [ // VoiceBotToolsList
|
|
@@ -137,6 +157,22 @@ declare const ListVoiceBotsCommand_base: {
|
|
|
137
157
|
* // },
|
|
138
158
|
* // },
|
|
139
159
|
* // },
|
|
160
|
+
* // annotations: [
|
|
161
|
+
* // {// Union: only one key present
|
|
162
|
+
* // tag: {
|
|
163
|
+
* // value: "STRING_VALUE",
|
|
164
|
+
* // applyOnSuccess: true || false,
|
|
165
|
+
* // applyOnFailure: true || false,
|
|
166
|
+
* // },
|
|
167
|
+
* // comment: {
|
|
168
|
+
* // value: "STRING_VALUE",
|
|
169
|
+
* // applyOnSuccess: true || false,
|
|
170
|
+
* // applyOnFailure: true || false,
|
|
171
|
+
* // },
|
|
172
|
+
* // variables: {},
|
|
173
|
+
* // result: {},
|
|
174
|
+
* // },
|
|
175
|
+
* // ],
|
|
140
176
|
* // },
|
|
141
177
|
* // ],
|
|
142
178
|
* // capabilities: [ // VoiceBotCapabilitiesList
|
|
@@ -162,10 +198,42 @@ declare const ListVoiceBotsCommand_base: {
|
|
|
162
198
|
* // type: "blocking_request" || "blocking_request_guided" || "async_request" || "async_request_guided",
|
|
163
199
|
* // instructions: "STRING_VALUE",
|
|
164
200
|
* // },
|
|
201
|
+
* // annotations: [
|
|
202
|
+
* // {// Union: only one key present
|
|
203
|
+
* // tag: {
|
|
204
|
+
* // value: "STRING_VALUE",
|
|
205
|
+
* // applyOnSuccess: true || false,
|
|
206
|
+
* // applyOnFailure: true || false,
|
|
207
|
+
* // },
|
|
208
|
+
* // comment: {
|
|
209
|
+
* // value: "STRING_VALUE",
|
|
210
|
+
* // applyOnSuccess: true || false,
|
|
211
|
+
* // applyOnFailure: true || false,
|
|
212
|
+
* // },
|
|
213
|
+
* // variables: {},
|
|
214
|
+
* // result: {},
|
|
215
|
+
* // },
|
|
216
|
+
* // ],
|
|
165
217
|
* // },
|
|
166
218
|
* // kb: { // VoiceBotKnowledgeBase
|
|
167
219
|
* // knowledgeBaseId: "STRING_VALUE",
|
|
168
220
|
* // instructions: "STRING_VALUE",
|
|
221
|
+
* // annotations: [
|
|
222
|
+
* // {// Union: only one key present
|
|
223
|
+
* // tag: {
|
|
224
|
+
* // value: "STRING_VALUE",
|
|
225
|
+
* // applyOnSuccess: true || false,
|
|
226
|
+
* // applyOnFailure: true || false,
|
|
227
|
+
* // },
|
|
228
|
+
* // comment: {
|
|
229
|
+
* // value: "STRING_VALUE",
|
|
230
|
+
* // applyOnSuccess: true || false,
|
|
231
|
+
* // applyOnFailure: true || false,
|
|
232
|
+
* // },
|
|
233
|
+
* // variables: {},
|
|
234
|
+
* // result: {},
|
|
235
|
+
* // },
|
|
236
|
+
* // ],
|
|
169
237
|
* // },
|
|
170
238
|
* // },
|
|
171
239
|
* // ],
|
|
@@ -218,10 +286,12 @@ declare const ListVoiceBotsCommand_base: {
|
|
|
218
286
|
* // type: "blocking_request" || "blocking_request_guided" || "async_request" || "async_request_guided",
|
|
219
287
|
* // instructions: "STRING_VALUE",
|
|
220
288
|
* // },
|
|
289
|
+
* // annotations: "<VoiceBotToolAnnotationsList>",
|
|
221
290
|
* // },
|
|
222
291
|
* // kb: {
|
|
223
292
|
* // knowledgeBaseId: "STRING_VALUE",
|
|
224
293
|
* // instructions: "STRING_VALUE",
|
|
294
|
+
* // annotations: "<VoiceBotToolAnnotationsList>",
|
|
225
295
|
* // },
|
|
226
296
|
* // },
|
|
227
297
|
* // ],
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { ListVoiceBotsNamesInput, ListVoiceBotsNamesOutput } from "../models/models_0";
|
|
4
|
+
import type { ServiceInputTypes, ServiceOutputTypes, VoiceBotsClientResolvedConfig } from "../VoiceBotsClient";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -22,9 +22,11 @@ export interface ListVoiceBotsNamesCommandInput extends ListVoiceBotsNamesInput
|
|
|
22
22
|
export interface ListVoiceBotsNamesCommandOutput extends ListVoiceBotsNamesOutput, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const ListVoiceBotsNamesCommand_base: {
|
|
25
|
-
new (input: ListVoiceBotsNamesCommandInput): import("@smithy/
|
|
26
|
-
new (...[input]: [] | [ListVoiceBotsNamesCommandInput]): import("@smithy/
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: ListVoiceBotsNamesCommandInput): import("@smithy/core/client").CommandImpl<ListVoiceBotsNamesCommandInput, ListVoiceBotsNamesCommandOutput, VoiceBotsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (...[input]: [] | [ListVoiceBotsNamesCommandInput]): import("@smithy/core/client").CommandImpl<ListVoiceBotsNamesCommandInput, ListVoiceBotsNamesCommandOutput, VoiceBotsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* Retrieves a list of voice bot names and basic information for the specified company.
|
|
@@ -33,6 +35,8 @@ declare const ListVoiceBotsNamesCommand_base: {
|
|
|
33
35
|
* ```javascript
|
|
34
36
|
* import { VoiceBotsClient, ListVoiceBotsNamesCommand } from "@wildix/wim-voicebots-client"; // ES Modules import
|
|
35
37
|
* // const { VoiceBotsClient, ListVoiceBotsNamesCommand } = require("@wildix/wim-voicebots-client"); // CommonJS import
|
|
38
|
+
* // import type { VoiceBotsClientConfig } from "@wildix/wim-voicebots-client";
|
|
39
|
+
* const config = {}; // type is VoiceBotsClientConfig
|
|
36
40
|
* const client = new VoiceBotsClient(config);
|
|
37
41
|
* const input = { // ListVoiceBotsNamesInput
|
|
38
42
|
* company: "STRING_VALUE",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { SendHangupInput, SendHangupOutput } from "../models/models_0";
|
|
4
|
+
import type { ServiceInputTypes, ServiceOutputTypes, VoiceBotsClientResolvedConfig } from "../VoiceBotsClient";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -22,9 +22,11 @@ export interface SendHangupCommandInput extends SendHangupInput {
|
|
|
22
22
|
export interface SendHangupCommandOutput extends SendHangupOutput, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const SendHangupCommand_base: {
|
|
25
|
-
new (input: SendHangupCommandInput): import("@smithy/
|
|
26
|
-
new (
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: SendHangupCommandInput): import("@smithy/core/client").CommandImpl<SendHangupCommandInput, SendHangupCommandOutput, VoiceBotsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: SendHangupCommandInput): import("@smithy/core/client").CommandImpl<SendHangupCommandInput, SendHangupCommandOutput, VoiceBotsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* Terminates the voice session and the call.
|
|
@@ -33,6 +35,8 @@ declare const SendHangupCommand_base: {
|
|
|
33
35
|
* ```javascript
|
|
34
36
|
* import { VoiceBotsClient, SendHangupCommand } from "@wildix/wim-voicebots-client"; // ES Modules import
|
|
35
37
|
* // const { VoiceBotsClient, SendHangupCommand } = require("@wildix/wim-voicebots-client"); // CommonJS import
|
|
38
|
+
* // import type { VoiceBotsClientConfig } from "@wildix/wim-voicebots-client";
|
|
39
|
+
* const config = {}; // type is VoiceBotsClientConfig
|
|
36
40
|
* const client = new VoiceBotsClient(config);
|
|
37
41
|
* const input = { // SendHangupInput
|
|
38
42
|
* reason: "STRING_VALUE",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { SendPlayInput, SendPlayOutput } from "../models/models_0";
|
|
4
|
+
import type { ServiceInputTypes, ServiceOutputTypes, VoiceBotsClientResolvedConfig } from "../VoiceBotsClient";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -22,9 +22,11 @@ export interface SendPlayCommandInput extends SendPlayInput {
|
|
|
22
22
|
export interface SendPlayCommandOutput extends SendPlayOutput, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const SendPlayCommand_base: {
|
|
25
|
-
new (input: SendPlayCommandInput): import("@smithy/
|
|
26
|
-
new (
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: SendPlayCommandInput): import("@smithy/core/client").CommandImpl<SendPlayCommandInput, SendPlayCommandOutput, VoiceBotsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: SendPlayCommandInput): import("@smithy/core/client").CommandImpl<SendPlayCommandInput, SendPlayCommandOutput, VoiceBotsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* Plays the specified audio chunk through the audio stream of the voice session.
|
|
@@ -33,6 +35,8 @@ declare const SendPlayCommand_base: {
|
|
|
33
35
|
* ```javascript
|
|
34
36
|
* import { VoiceBotsClient, SendPlayCommand } from "@wildix/wim-voicebots-client"; // ES Modules import
|
|
35
37
|
* // const { VoiceBotsClient, SendPlayCommand } = require("@wildix/wim-voicebots-client"); // CommonJS import
|
|
38
|
+
* // import type { VoiceBotsClientConfig } from "@wildix/wim-voicebots-client";
|
|
39
|
+
* const config = {}; // type is VoiceBotsClientConfig
|
|
36
40
|
* const client = new VoiceBotsClient(config);
|
|
37
41
|
* const input = { // SendPlayInput
|
|
38
42
|
* replyId: "STRING_VALUE", // required
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { SendSayInput, SendSayOutput } from "../models/models_0";
|
|
4
|
+
import type { ServiceInputTypes, ServiceOutputTypes, VoiceBotsClientResolvedConfig } from "../VoiceBotsClient";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -22,9 +22,11 @@ export interface SendSayCommandInput extends SendSayInput {
|
|
|
22
22
|
export interface SendSayCommandOutput extends SendSayOutput, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const SendSayCommand_base: {
|
|
25
|
-
new (input: SendSayCommandInput): import("@smithy/
|
|
26
|
-
new (
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: SendSayCommandInput): import("@smithy/core/client").CommandImpl<SendSayCommandInput, SendSayCommandOutput, VoiceBotsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: SendSayCommandInput): import("@smithy/core/client").CommandImpl<SendSayCommandInput, SendSayCommandOutput, VoiceBotsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* Generates and plays the specified text through the audio stream of the voice session.
|
|
@@ -33,6 +35,8 @@ declare const SendSayCommand_base: {
|
|
|
33
35
|
* ```javascript
|
|
34
36
|
* import { VoiceBotsClient, SendSayCommand } from "@wildix/wim-voicebots-client"; // ES Modules import
|
|
35
37
|
* // const { VoiceBotsClient, SendSayCommand } = require("@wildix/wim-voicebots-client"); // CommonJS import
|
|
38
|
+
* // import type { VoiceBotsClientConfig } from "@wildix/wim-voicebots-client";
|
|
39
|
+
* const config = {}; // type is VoiceBotsClientConfig
|
|
36
40
|
* const client = new VoiceBotsClient(config);
|
|
37
41
|
* const input = { // SendSayInput
|
|
38
42
|
* text: "STRING_VALUE", // required
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { SendStopInput, SendStopOutput } from "../models/models_0";
|
|
4
|
+
import type { ServiceInputTypes, ServiceOutputTypes, VoiceBotsClientResolvedConfig } from "../VoiceBotsClient";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -22,9 +22,11 @@ export interface SendStopCommandInput extends SendStopInput {
|
|
|
22
22
|
export interface SendStopCommandOutput extends SendStopOutput, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const SendStopCommand_base: {
|
|
25
|
-
new (input: SendStopCommandInput): import("@smithy/
|
|
26
|
-
new (
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: SendStopCommandInput): import("@smithy/core/client").CommandImpl<SendStopCommandInput, SendStopCommandOutput, VoiceBotsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: SendStopCommandInput): import("@smithy/core/client").CommandImpl<SendStopCommandInput, SendStopCommandOutput, VoiceBotsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* Stop playing and ongoing audio from the voice bot.
|
|
@@ -33,6 +35,8 @@ declare const SendStopCommand_base: {
|
|
|
33
35
|
* ```javascript
|
|
34
36
|
* import { VoiceBotsClient, SendStopCommand } from "@wildix/wim-voicebots-client"; // ES Modules import
|
|
35
37
|
* // const { VoiceBotsClient, SendStopCommand } = require("@wildix/wim-voicebots-client"); // CommonJS import
|
|
38
|
+
* // import type { VoiceBotsClientConfig } from "@wildix/wim-voicebots-client";
|
|
39
|
+
* const config = {}; // type is VoiceBotsClientConfig
|
|
36
40
|
* const client = new VoiceBotsClient(config);
|
|
37
41
|
* const input = { // SendStopInput
|
|
38
42
|
* sessionId: "STRING_VALUE", // required
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { SendTransferInput, SendTransferOutput } from "../models/models_0";
|
|
4
|
+
import type { ServiceInputTypes, ServiceOutputTypes, VoiceBotsClientResolvedConfig } from "../VoiceBotsClient";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -22,9 +22,11 @@ export interface SendTransferCommandInput extends SendTransferInput {
|
|
|
22
22
|
export interface SendTransferCommandOutput extends SendTransferOutput, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const SendTransferCommand_base: {
|
|
25
|
-
new (input: SendTransferCommandInput): import("@smithy/
|
|
26
|
-
new (
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: SendTransferCommandInput): import("@smithy/core/client").CommandImpl<SendTransferCommandInput, SendTransferCommandOutput, VoiceBotsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: SendTransferCommandInput): import("@smithy/core/client").CommandImpl<SendTransferCommandInput, SendTransferCommandOutput, VoiceBotsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* Transfers the call to the specified context and extension, and terminates the voice bot session.
|
|
@@ -33,6 +35,8 @@ declare const SendTransferCommand_base: {
|
|
|
33
35
|
* ```javascript
|
|
34
36
|
* import { VoiceBotsClient, SendTransferCommand } from "@wildix/wim-voicebots-client"; // ES Modules import
|
|
35
37
|
* // const { VoiceBotsClient, SendTransferCommand } = require("@wildix/wim-voicebots-client"); // CommonJS import
|
|
38
|
+
* // import type { VoiceBotsClientConfig } from "@wildix/wim-voicebots-client";
|
|
39
|
+
* const config = {}; // type is VoiceBotsClientConfig
|
|
36
40
|
* const client = new VoiceBotsClient(config);
|
|
37
41
|
* const input = { // SendTransferInput
|
|
38
42
|
* context: "STRING_VALUE", // required
|