@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.
Files changed (102) hide show
  1. package/dist-cjs/VoiceBots.js +3 -3
  2. package/dist-cjs/VoiceBotsClient.js +34 -26
  3. package/dist-cjs/auth/httpAuthExtensionConfiguration.js +43 -0
  4. package/dist-cjs/auth/httpAuthSchemeProvider.js +65 -0
  5. package/dist-cjs/commands/CreateVoiceBotCommand.js +10 -11
  6. package/dist-cjs/commands/DeleteVoiceBotCommand.js +10 -11
  7. package/dist-cjs/commands/DescribeEventCommand.js +10 -11
  8. package/dist-cjs/commands/GetTraceCommand.js +10 -11
  9. package/dist-cjs/commands/GetVoiceBotCommand.js +10 -11
  10. package/dist-cjs/commands/ListTracesCommand.js +10 -11
  11. package/dist-cjs/commands/ListVoiceBotsCommand.js +10 -11
  12. package/dist-cjs/commands/ListVoiceBotsNamesCommand.js +10 -11
  13. package/dist-cjs/commands/SendHangupCommand.js +10 -11
  14. package/dist-cjs/commands/SendPlayCommand.js +10 -11
  15. package/dist-cjs/commands/SendSayCommand.js +10 -11
  16. package/dist-cjs/commands/SendStopCommand.js +10 -11
  17. package/dist-cjs/commands/SendTransferCommand.js +10 -11
  18. package/dist-cjs/commands/UpdateVoiceBotCommand.js +10 -11
  19. package/dist-cjs/endpoint/EndpointParameters.js +16 -0
  20. package/dist-cjs/endpoint/bdd.js +28 -0
  21. package/dist-cjs/endpoint/endpointResolver.js +16 -0
  22. package/dist-cjs/index.js +4 -1
  23. package/dist-cjs/models/VoiceBotsServiceException.js +3 -3
  24. package/dist-cjs/models/enums.js +64 -0
  25. package/dist-cjs/models/errors.js +75 -0
  26. package/dist-cjs/models/models_0.js +0 -314
  27. package/dist-cjs/runtimeConfig.browser.js +11 -11
  28. package/dist-cjs/runtimeConfig.js +22 -18
  29. package/dist-cjs/runtimeConfig.shared.js +30 -10
  30. package/dist-cjs/runtimeExtensions.js +6 -5
  31. package/dist-cjs/schemas/schemas_0.js +1247 -0
  32. package/dist-es/VoiceBots.js +6 -6
  33. package/dist-es/VoiceBotsClient.js +30 -22
  34. package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
  35. package/dist-es/auth/httpAuthSchemeProvider.js +59 -0
  36. package/dist-es/commands/CreateVoiceBotCommand.js +9 -10
  37. package/dist-es/commands/DeleteVoiceBotCommand.js +9 -10
  38. package/dist-es/commands/DescribeEventCommand.js +9 -10
  39. package/dist-es/commands/GetTraceCommand.js +9 -10
  40. package/dist-es/commands/GetVoiceBotCommand.js +9 -10
  41. package/dist-es/commands/ListTracesCommand.js +9 -10
  42. package/dist-es/commands/ListVoiceBotsCommand.js +9 -10
  43. package/dist-es/commands/ListVoiceBotsNamesCommand.js +9 -10
  44. package/dist-es/commands/SendHangupCommand.js +9 -10
  45. package/dist-es/commands/SendPlayCommand.js +9 -10
  46. package/dist-es/commands/SendSayCommand.js +9 -10
  47. package/dist-es/commands/SendStopCommand.js +9 -10
  48. package/dist-es/commands/SendTransferCommand.js +9 -10
  49. package/dist-es/commands/UpdateVoiceBotCommand.js +9 -10
  50. package/dist-es/endpoint/EndpointParameters.js +12 -0
  51. package/dist-es/endpoint/bdd.js +25 -0
  52. package/dist-es/endpoint/endpointResolver.js +12 -0
  53. package/dist-es/index.js +4 -1
  54. package/dist-es/models/VoiceBotsServiceException.js +1 -1
  55. package/dist-es/models/enums.js +61 -0
  56. package/dist-es/models/errors.js +67 -0
  57. package/dist-es/models/models_0.js +1 -308
  58. package/dist-es/runtimeConfig.browser.js +7 -7
  59. package/dist-es/runtimeConfig.js +17 -13
  60. package/dist-es/runtimeConfig.shared.js +24 -4
  61. package/dist-es/runtimeExtensions.js +6 -5
  62. package/dist-es/schemas/schemas_0.js +1241 -0
  63. package/dist-types/VoiceBots.d.ts +15 -15
  64. package/dist-types/VoiceBotsClient.d.ts +44 -26
  65. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
  66. package/dist-types/auth/httpAuthSchemeProvider.d.ts +81 -0
  67. package/dist-types/commands/CreateVoiceBotCommand.d.ts +143 -7
  68. package/dist-types/commands/DeleteVoiceBotCommand.d.ts +11 -7
  69. package/dist-types/commands/DescribeEventCommand.d.ts +35 -7
  70. package/dist-types/commands/GetTraceCommand.d.ts +33 -7
  71. package/dist-types/commands/GetVoiceBotCommand.d.ts +77 -7
  72. package/dist-types/commands/ListTracesCommand.d.ts +11 -7
  73. package/dist-types/commands/ListVoiceBotsCommand.d.ts +77 -7
  74. package/dist-types/commands/ListVoiceBotsNamesCommand.d.ts +11 -7
  75. package/dist-types/commands/SendHangupCommand.d.ts +11 -7
  76. package/dist-types/commands/SendPlayCommand.d.ts +11 -7
  77. package/dist-types/commands/SendSayCommand.d.ts +11 -7
  78. package/dist-types/commands/SendStopCommand.d.ts +11 -7
  79. package/dist-types/commands/SendTransferCommand.d.ts +11 -7
  80. package/dist-types/commands/UpdateVoiceBotCommand.d.ts +143 -7
  81. package/dist-types/endpoint/EndpointParameters.d.ts +41 -0
  82. package/dist-types/endpoint/bdd.d.ts +2 -0
  83. package/dist-types/endpoint/endpointResolver.d.ts +8 -0
  84. package/dist-types/extensionConfiguration.d.ts +4 -3
  85. package/dist-types/index.d.ts +5 -1
  86. package/dist-types/models/VoiceBotsServiceException.d.ts +1 -1
  87. package/dist-types/models/enums.d.ts +141 -0
  88. package/dist-types/models/errors.d.ts +60 -0
  89. package/dist-types/models/models_0.d.ts +349 -204
  90. package/dist-types/runtimeConfig.browser.d.ts +35 -16
  91. package/dist-types/runtimeConfig.d.ts +34 -15
  92. package/dist-types/runtimeConfig.native.d.ts +36 -17
  93. package/dist-types/runtimeConfig.shared.d.ts +20 -3
  94. package/dist-types/runtimeExtensions.d.ts +1 -1
  95. package/dist-types/schemas/schemas_0.d.ts +175 -0
  96. package/package.json +14 -40
  97. package/dist-cjs/models/index.js +0 -4
  98. package/dist-cjs/protocols/Aws_restJson1.js +0 -1030
  99. package/dist-es/models/index.js +0 -1
  100. package/dist-es/protocols/Aws_restJson1.js +0 -999
  101. package/dist-types/models/index.d.ts +0 -1
  102. package/dist-types/protocols/Aws_restJson1.d.ts +0 -128
@@ -1,7 +1,7 @@
1
- import { ServiceInputTypes, ServiceOutputTypes, VoiceBotsClientResolvedConfig } from "../VoiceBotsClient";
2
- import { GetTraceInput, GetTraceOutput } from "../models/models_0";
3
- import { Command as $Command } from "@smithy/smithy-client";
4
- import { MetadataBearer as __MetadataBearer } from "@smithy/types";
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/smithy-client").CommandImpl<GetTraceCommandInput, GetTraceCommandOutput, VoiceBotsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (__0_0: GetTraceCommandInput): import("@smithy/smithy-client").CommandImpl<GetTraceCommandInput, GetTraceCommandOutput, VoiceBotsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
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 { ServiceInputTypes, ServiceOutputTypes, VoiceBotsClientResolvedConfig } from "../VoiceBotsClient";
2
- import { GetVoiceBotInput, GetVoiceBotOutput } from "../models/models_0";
3
- import { Command as $Command } from "@smithy/smithy-client";
4
- import { MetadataBearer as __MetadataBearer } from "@smithy/types";
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/smithy-client").CommandImpl<GetVoiceBotCommandInput, GetVoiceBotCommandOutput, VoiceBotsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (__0_0: GetVoiceBotCommandInput): import("@smithy/smithy-client").CommandImpl<GetVoiceBotCommandInput, GetVoiceBotCommandOutput, VoiceBotsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
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 { ServiceInputTypes, ServiceOutputTypes, VoiceBotsClientResolvedConfig } from "../VoiceBotsClient";
2
- import { ListTracesInput, ListTracesOutput } from "../models/models_0";
3
- import { Command as $Command } from "@smithy/smithy-client";
4
- import { MetadataBearer as __MetadataBearer } from "@smithy/types";
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/smithy-client").CommandImpl<ListTracesCommandInput, ListTracesCommandOutput, VoiceBotsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (...[input]: [] | [ListTracesCommandInput]): import("@smithy/smithy-client").CommandImpl<ListTracesCommandInput, ListTracesCommandOutput, VoiceBotsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
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 { ServiceInputTypes, ServiceOutputTypes, VoiceBotsClientResolvedConfig } from "../VoiceBotsClient";
2
- import { ListVoiceBotsInput, ListVoiceBotsOutput } from "../models/models_0";
3
- import { Command as $Command } from "@smithy/smithy-client";
4
- import { MetadataBearer as __MetadataBearer } from "@smithy/types";
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/smithy-client").CommandImpl<ListVoiceBotsCommandInput, ListVoiceBotsCommandOutput, VoiceBotsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (...[input]: [] | [ListVoiceBotsCommandInput]): import("@smithy/smithy-client").CommandImpl<ListVoiceBotsCommandInput, ListVoiceBotsCommandOutput, VoiceBotsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
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 { ServiceInputTypes, ServiceOutputTypes, VoiceBotsClientResolvedConfig } from "../VoiceBotsClient";
2
- import { ListVoiceBotsNamesInput, ListVoiceBotsNamesOutput } from "../models/models_0";
3
- import { Command as $Command } from "@smithy/smithy-client";
4
- import { MetadataBearer as __MetadataBearer } from "@smithy/types";
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/smithy-client").CommandImpl<ListVoiceBotsNamesCommandInput, ListVoiceBotsNamesCommandOutput, VoiceBotsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (...[input]: [] | [ListVoiceBotsNamesCommandInput]): import("@smithy/smithy-client").CommandImpl<ListVoiceBotsNamesCommandInput, ListVoiceBotsNamesCommandOutput, VoiceBotsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
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 { ServiceInputTypes, ServiceOutputTypes, VoiceBotsClientResolvedConfig } from "../VoiceBotsClient";
2
- import { SendHangupInput, SendHangupOutput } from "../models/models_0";
3
- import { Command as $Command } from "@smithy/smithy-client";
4
- import { MetadataBearer as __MetadataBearer } from "@smithy/types";
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/smithy-client").CommandImpl<SendHangupCommandInput, SendHangupCommandOutput, VoiceBotsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (__0_0: SendHangupCommandInput): import("@smithy/smithy-client").CommandImpl<SendHangupCommandInput, SendHangupCommandOutput, VoiceBotsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
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 { ServiceInputTypes, ServiceOutputTypes, VoiceBotsClientResolvedConfig } from "../VoiceBotsClient";
2
- import { SendPlayInput, SendPlayOutput } from "../models/models_0";
3
- import { Command as $Command } from "@smithy/smithy-client";
4
- import { MetadataBearer as __MetadataBearer } from "@smithy/types";
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/smithy-client").CommandImpl<SendPlayCommandInput, SendPlayCommandOutput, VoiceBotsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (__0_0: SendPlayCommandInput): import("@smithy/smithy-client").CommandImpl<SendPlayCommandInput, SendPlayCommandOutput, VoiceBotsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
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 { ServiceInputTypes, ServiceOutputTypes, VoiceBotsClientResolvedConfig } from "../VoiceBotsClient";
2
- import { SendSayInput, SendSayOutput } from "../models/models_0";
3
- import { Command as $Command } from "@smithy/smithy-client";
4
- import { MetadataBearer as __MetadataBearer } from "@smithy/types";
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/smithy-client").CommandImpl<SendSayCommandInput, SendSayCommandOutput, VoiceBotsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (__0_0: SendSayCommandInput): import("@smithy/smithy-client").CommandImpl<SendSayCommandInput, SendSayCommandOutput, VoiceBotsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
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 { ServiceInputTypes, ServiceOutputTypes, VoiceBotsClientResolvedConfig } from "../VoiceBotsClient";
2
- import { SendStopInput, SendStopOutput } from "../models/models_0";
3
- import { Command as $Command } from "@smithy/smithy-client";
4
- import { MetadataBearer as __MetadataBearer } from "@smithy/types";
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/smithy-client").CommandImpl<SendStopCommandInput, SendStopCommandOutput, VoiceBotsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (__0_0: SendStopCommandInput): import("@smithy/smithy-client").CommandImpl<SendStopCommandInput, SendStopCommandOutput, VoiceBotsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
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 { ServiceInputTypes, ServiceOutputTypes, VoiceBotsClientResolvedConfig } from "../VoiceBotsClient";
2
- import { SendTransferInput, SendTransferOutput } from "../models/models_0";
3
- import { Command as $Command } from "@smithy/smithy-client";
4
- import { MetadataBearer as __MetadataBearer } from "@smithy/types";
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/smithy-client").CommandImpl<SendTransferCommandInput, SendTransferCommandOutput, VoiceBotsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (__0_0: SendTransferCommandInput): import("@smithy/smithy-client").CommandImpl<SendTransferCommandInput, SendTransferCommandOutput, VoiceBotsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
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