@wildix/wim-voicebots-client 1.1.9 → 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 -350
  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 -344
  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 +11 -7
  68. package/dist-types/commands/DeleteVoiceBotCommand.d.ts +11 -7
  69. package/dist-types/commands/DescribeEventCommand.d.ts +11 -7
  70. package/dist-types/commands/GetTraceCommand.d.ts +11 -7
  71. package/dist-types/commands/GetVoiceBotCommand.d.ts +11 -7
  72. package/dist-types/commands/ListTracesCommand.d.ts +11 -7
  73. package/dist-types/commands/ListVoiceBotsCommand.d.ts +11 -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 +11 -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 +92 -244
  90. package/dist-types/runtimeConfig.browser.d.ts +34 -15
  91. package/dist-types/runtimeConfig.d.ts +33 -14
  92. package/dist-types/runtimeConfig.native.d.ts +35 -16
  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 -1106
  99. package/dist-es/models/index.js +0 -1
  100. package/dist-es/protocols/Aws_restJson1.js +0 -1075
  101. package/dist-types/models/index.d.ts +0 -1
  102. package/dist-types/protocols/Aws_restJson1.d.ts +0 -128
@@ -1,19 +1,19 @@
1
+ import type { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
2
+ import { type CreateVoiceBotCommandInput, type CreateVoiceBotCommandOutput } from "./commands/CreateVoiceBotCommand";
3
+ import { type DeleteVoiceBotCommandInput, type DeleteVoiceBotCommandOutput } from "./commands/DeleteVoiceBotCommand";
4
+ import { type DescribeEventCommandInput, type DescribeEventCommandOutput } from "./commands/DescribeEventCommand";
5
+ import { type GetTraceCommandInput, type GetTraceCommandOutput } from "./commands/GetTraceCommand";
6
+ import { type GetVoiceBotCommandInput, type GetVoiceBotCommandOutput } from "./commands/GetVoiceBotCommand";
7
+ import { type ListTracesCommandInput, type ListTracesCommandOutput } from "./commands/ListTracesCommand";
8
+ import { type ListVoiceBotsCommandInput, type ListVoiceBotsCommandOutput } from "./commands/ListVoiceBotsCommand";
9
+ import { type ListVoiceBotsNamesCommandInput, type ListVoiceBotsNamesCommandOutput } from "./commands/ListVoiceBotsNamesCommand";
10
+ import { type SendHangupCommandInput, type SendHangupCommandOutput } from "./commands/SendHangupCommand";
11
+ import { type SendPlayCommandInput, type SendPlayCommandOutput } from "./commands/SendPlayCommand";
12
+ import { type SendSayCommandInput, type SendSayCommandOutput } from "./commands/SendSayCommand";
13
+ import { type SendStopCommandInput, type SendStopCommandOutput } from "./commands/SendStopCommand";
14
+ import { type SendTransferCommandInput, type SendTransferCommandOutput } from "./commands/SendTransferCommand";
15
+ import { type UpdateVoiceBotCommandInput, type UpdateVoiceBotCommandOutput } from "./commands/UpdateVoiceBotCommand";
1
16
  import { VoiceBotsClient } from "./VoiceBotsClient";
2
- import { CreateVoiceBotCommandInput, CreateVoiceBotCommandOutput } from "./commands/CreateVoiceBotCommand";
3
- import { DeleteVoiceBotCommandInput, DeleteVoiceBotCommandOutput } from "./commands/DeleteVoiceBotCommand";
4
- import { DescribeEventCommandInput, DescribeEventCommandOutput } from "./commands/DescribeEventCommand";
5
- import { GetTraceCommandInput, GetTraceCommandOutput } from "./commands/GetTraceCommand";
6
- import { GetVoiceBotCommandInput, GetVoiceBotCommandOutput } from "./commands/GetVoiceBotCommand";
7
- import { ListTracesCommandInput, ListTracesCommandOutput } from "./commands/ListTracesCommand";
8
- import { ListVoiceBotsCommandInput, ListVoiceBotsCommandOutput } from "./commands/ListVoiceBotsCommand";
9
- import { ListVoiceBotsNamesCommandInput, ListVoiceBotsNamesCommandOutput } from "./commands/ListVoiceBotsNamesCommand";
10
- import { SendHangupCommandInput, SendHangupCommandOutput } from "./commands/SendHangupCommand";
11
- import { SendPlayCommandInput, SendPlayCommandOutput } from "./commands/SendPlayCommand";
12
- import { SendSayCommandInput, SendSayCommandOutput } from "./commands/SendSayCommand";
13
- import { SendStopCommandInput, SendStopCommandOutput } from "./commands/SendStopCommand";
14
- import { SendTransferCommandInput, SendTransferCommandOutput } from "./commands/SendTransferCommand";
15
- import { UpdateVoiceBotCommandInput, UpdateVoiceBotCommandOutput } from "./commands/UpdateVoiceBotCommand";
16
- import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
17
17
  export interface VoiceBots {
18
18
  /**
19
19
  * @see {@link CreateVoiceBotCommand}
@@ -1,24 +1,26 @@
1
- import { CreateVoiceBotCommandInput, CreateVoiceBotCommandOutput } from "./commands/CreateVoiceBotCommand";
2
- import { DeleteVoiceBotCommandInput, DeleteVoiceBotCommandOutput } from "./commands/DeleteVoiceBotCommand";
3
- import { DescribeEventCommandInput, DescribeEventCommandOutput } from "./commands/DescribeEventCommand";
4
- import { GetTraceCommandInput, GetTraceCommandOutput } from "./commands/GetTraceCommand";
5
- import { GetVoiceBotCommandInput, GetVoiceBotCommandOutput } from "./commands/GetVoiceBotCommand";
6
- import { ListTracesCommandInput, ListTracesCommandOutput } from "./commands/ListTracesCommand";
7
- import { ListVoiceBotsCommandInput, ListVoiceBotsCommandOutput } from "./commands/ListVoiceBotsCommand";
8
- import { ListVoiceBotsNamesCommandInput, ListVoiceBotsNamesCommandOutput } from "./commands/ListVoiceBotsNamesCommand";
9
- import { SendHangupCommandInput, SendHangupCommandOutput } from "./commands/SendHangupCommand";
10
- import { SendPlayCommandInput, SendPlayCommandOutput } from "./commands/SendPlayCommand";
11
- import { SendSayCommandInput, SendSayCommandOutput } from "./commands/SendSayCommand";
12
- import { SendStopCommandInput, SendStopCommandOutput } from "./commands/SendStopCommand";
13
- import { SendTransferCommandInput, SendTransferCommandOutput } from "./commands/SendTransferCommand";
14
- import { UpdateVoiceBotCommandInput, UpdateVoiceBotCommandOutput } from "./commands/UpdateVoiceBotCommand";
15
- import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
16
- import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
17
- import { RetryInputConfig, RetryResolvedConfig } from "@smithy/middleware-retry";
18
- import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
19
- import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@smithy/smithy-client";
20
- import { Provider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
21
- import { TokenProvider } from '@wildix/smithy-utils';
1
+ import { type HostHeaderInputConfig, type HostHeaderResolvedConfig, type UserAgentInputConfig, type UserAgentResolvedConfig } from "@aws-sdk/core/client";
2
+ import { type DefaultsMode as __DefaultsMode, type SmithyConfiguration as __SmithyConfiguration, type SmithyResolvedConfiguration as __SmithyResolvedConfiguration, Client as __Client } from "@smithy/core/client";
3
+ import { type EndpointInputConfig, type EndpointResolvedConfig } from "@smithy/core/endpoints";
4
+ import { type HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/core/protocols";
5
+ import { type RetryInputConfig, type RetryResolvedConfig } from "@smithy/core/retry";
6
+ import type { BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
7
+ import { type HttpAuthSchemeInputConfig, type HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
8
+ import type { CreateVoiceBotCommandInput, CreateVoiceBotCommandOutput } from "./commands/CreateVoiceBotCommand";
9
+ import type { DeleteVoiceBotCommandInput, DeleteVoiceBotCommandOutput } from "./commands/DeleteVoiceBotCommand";
10
+ import type { DescribeEventCommandInput, DescribeEventCommandOutput } from "./commands/DescribeEventCommand";
11
+ import type { GetTraceCommandInput, GetTraceCommandOutput } from "./commands/GetTraceCommand";
12
+ import type { GetVoiceBotCommandInput, GetVoiceBotCommandOutput } from "./commands/GetVoiceBotCommand";
13
+ import type { ListTracesCommandInput, ListTracesCommandOutput } from "./commands/ListTracesCommand";
14
+ import type { ListVoiceBotsCommandInput, ListVoiceBotsCommandOutput } from "./commands/ListVoiceBotsCommand";
15
+ import type { ListVoiceBotsNamesCommandInput, ListVoiceBotsNamesCommandOutput } from "./commands/ListVoiceBotsNamesCommand";
16
+ import type { SendHangupCommandInput, SendHangupCommandOutput } from "./commands/SendHangupCommand";
17
+ import type { SendPlayCommandInput, SendPlayCommandOutput } from "./commands/SendPlayCommand";
18
+ import type { SendSayCommandInput, SendSayCommandOutput } from "./commands/SendSayCommand";
19
+ import type { SendStopCommandInput, SendStopCommandOutput } from "./commands/SendStopCommand";
20
+ import type { SendTransferCommandInput, SendTransferCommandOutput } from "./commands/SendTransferCommand";
21
+ import type { UpdateVoiceBotCommandInput, UpdateVoiceBotCommandOutput } from "./commands/UpdateVoiceBotCommand";
22
+ import { type ClientInputEndpointParameters, type ClientResolvedEndpointParameters, type EndpointParameters } from "./endpoint/EndpointParameters";
23
+ import { type RuntimeExtension, type RuntimeExtensionsConfig } from "./runtimeExtensions";
22
24
  export { __Client };
23
25
  /**
24
26
  * @public
@@ -87,11 +89,29 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
87
89
  * trait of an operation.
88
90
  */
89
91
  disableHostPrefix?: boolean;
92
+ /**
93
+ * Setting a client profile is similar to setting a value for the
94
+ * AWS_PROFILE environment variable. Setting a profile on a client
95
+ * in code only affects the single client instance, unlike AWS_PROFILE.
96
+ *
97
+ * When set, and only for environments where an AWS configuration
98
+ * file exists, fields configurable by this file will be retrieved
99
+ * from the specified profile within that file.
100
+ * Conflicting code configuration and environment variables will
101
+ * still have higher priority.
102
+ *
103
+ * For client credential resolution that involves checking the AWS
104
+ * configuration file, the client's profile (this value) will be
105
+ * used unless a different profile is set in the credential
106
+ * provider options.
107
+ *
108
+ */
109
+ profile?: string;
90
110
  /**
91
111
  * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
92
112
  * @internal
93
113
  */
94
- defaultUserAgentProvider?: Provider<__UserAgent>;
114
+ defaultUserAgentProvider?: __Provider<__UserAgent>;
95
115
  /**
96
116
  * Value for how many times a request will be made at most in case of retry.
97
117
  */
@@ -118,20 +138,18 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
118
138
  /**
119
139
  * @public
120
140
  */
121
- export type VoiceBotsClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & UserAgentInputConfig & RetryInputConfig;
141
+ export type VoiceBotsClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & UserAgentInputConfig & RetryInputConfig & HostHeaderInputConfig & EndpointInputConfig<EndpointParameters> & HttpAuthSchemeInputConfig & ClientInputEndpointParameters;
122
142
  /**
123
143
  * @public
124
144
  *
125
145
  * The configuration interface of VoiceBotsClient class constructor that set the region, credentials and other options.
126
146
  */
127
147
  export interface VoiceBotsClientConfig extends VoiceBotsClientConfigType {
128
- env?: 'stage' | 'stable' | 'prod';
129
- token: TokenProvider;
130
148
  }
131
149
  /**
132
150
  * @public
133
151
  */
134
- export type VoiceBotsClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RuntimeExtensionsConfig & UserAgentResolvedConfig & RetryResolvedConfig;
152
+ export type VoiceBotsClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RuntimeExtensionsConfig & UserAgentResolvedConfig & RetryResolvedConfig & HostHeaderResolvedConfig & EndpointResolvedConfig<EndpointParameters> & HttpAuthSchemeResolvedConfig & ClientResolvedEndpointParameters;
135
153
  /**
136
154
  * @public
137
155
  *
@@ -0,0 +1,29 @@
1
+ import { type HttpAuthScheme, TokenIdentity, TokenIdentityProvider } from "@smithy/types";
2
+ import type { VoiceBotsHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
3
+ /**
4
+ * @internal
5
+ */
6
+ export interface HttpAuthExtensionConfiguration {
7
+ setHttpAuthScheme(httpAuthScheme: HttpAuthScheme): void;
8
+ httpAuthSchemes(): HttpAuthScheme[];
9
+ setHttpAuthSchemeProvider(httpAuthSchemeProvider: VoiceBotsHttpAuthSchemeProvider): void;
10
+ httpAuthSchemeProvider(): VoiceBotsHttpAuthSchemeProvider;
11
+ setToken(token: TokenIdentity | TokenIdentityProvider): void;
12
+ token(): TokenIdentity | TokenIdentityProvider | undefined;
13
+ }
14
+ /**
15
+ * @internal
16
+ */
17
+ export type HttpAuthRuntimeConfig = Partial<{
18
+ httpAuthSchemes: HttpAuthScheme[];
19
+ httpAuthSchemeProvider: VoiceBotsHttpAuthSchemeProvider;
20
+ token: TokenIdentity | TokenIdentityProvider;
21
+ }>;
22
+ /**
23
+ * @internal
24
+ */
25
+ export declare const getHttpAuthExtensionConfiguration: (runtimeConfig: HttpAuthRuntimeConfig) => HttpAuthExtensionConfiguration;
26
+ /**
27
+ * @internal
28
+ */
29
+ export declare const resolveHttpAuthRuntimeConfig: (config: HttpAuthExtensionConfiguration) => HttpAuthRuntimeConfig;
@@ -0,0 +1,81 @@
1
+ import { type HandlerExecutionContext, type HttpAuthScheme, type HttpAuthSchemeParameters, type HttpAuthSchemeParametersProvider, type HttpAuthSchemeProvider, type Provider, TokenIdentity, TokenIdentityProvider } from "@smithy/types";
2
+ import type { VoiceBotsClientResolvedConfig } from "../VoiceBotsClient";
3
+ /**
4
+ * @internal
5
+ */
6
+ export interface VoiceBotsHttpAuthSchemeParameters extends HttpAuthSchemeParameters {
7
+ }
8
+ /**
9
+ * @internal
10
+ */
11
+ export interface VoiceBotsHttpAuthSchemeParametersProvider extends HttpAuthSchemeParametersProvider<VoiceBotsClientResolvedConfig, HandlerExecutionContext, VoiceBotsHttpAuthSchemeParameters, object> {
12
+ }
13
+ /**
14
+ * @internal
15
+ */
16
+ export declare const defaultVoiceBotsHttpAuthSchemeParametersProvider: (config: VoiceBotsClientResolvedConfig, context: HandlerExecutionContext, input: object) => Promise<VoiceBotsHttpAuthSchemeParameters>;
17
+ /**
18
+ * @internal
19
+ */
20
+ export interface VoiceBotsHttpAuthSchemeProvider extends HttpAuthSchemeProvider<VoiceBotsHttpAuthSchemeParameters> {
21
+ }
22
+ /**
23
+ * @internal
24
+ */
25
+ export declare const defaultVoiceBotsHttpAuthSchemeProvider: VoiceBotsHttpAuthSchemeProvider;
26
+ /**
27
+ * @public
28
+ */
29
+ export interface HttpAuthSchemeInputConfig {
30
+ /**
31
+ * A comma-separated list of case-sensitive auth scheme names.
32
+ * An auth scheme name is a fully qualified auth scheme ID with the namespace prefix trimmed.
33
+ * For example, the auth scheme with ID aws.auth#sigv4 is named sigv4.
34
+ * @public
35
+ */
36
+ authSchemePreference?: string[] | Provider<string[]>;
37
+ /**
38
+ * Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme.
39
+ * @internal
40
+ */
41
+ httpAuthSchemes?: HttpAuthScheme[];
42
+ /**
43
+ * Configuration of an HttpAuthSchemeProvider for a client which resolves which HttpAuthScheme to use.
44
+ * @internal
45
+ */
46
+ httpAuthSchemeProvider?: VoiceBotsHttpAuthSchemeProvider;
47
+ /**
48
+ * The token used to authenticate requests.
49
+ */
50
+ token?: TokenIdentity | TokenIdentityProvider;
51
+ }
52
+ /**
53
+ * @internal
54
+ */
55
+ export interface HttpAuthSchemeResolvedConfig {
56
+ /**
57
+ * A comma-separated list of case-sensitive auth scheme names.
58
+ * An auth scheme name is a fully qualified auth scheme ID with the namespace prefix trimmed.
59
+ * For example, the auth scheme with ID aws.auth#sigv4 is named sigv4.
60
+ * @public
61
+ */
62
+ readonly authSchemePreference: Provider<string[]>;
63
+ /**
64
+ * Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme.
65
+ * @internal
66
+ */
67
+ readonly httpAuthSchemes: HttpAuthScheme[];
68
+ /**
69
+ * Configuration of an HttpAuthSchemeProvider for a client which resolves which HttpAuthScheme to use.
70
+ * @internal
71
+ */
72
+ readonly httpAuthSchemeProvider: VoiceBotsHttpAuthSchemeProvider;
73
+ /**
74
+ * The token used to authenticate requests.
75
+ */
76
+ readonly token?: TokenIdentityProvider;
77
+ }
78
+ /**
79
+ * @internal
80
+ */
81
+ export declare const resolveHttpAuthSchemeConfig: <T>(config: T & HttpAuthSchemeInputConfig) => T & HttpAuthSchemeResolvedConfig;
@@ -1,7 +1,7 @@
1
- import { ServiceInputTypes, ServiceOutputTypes, VoiceBotsClientResolvedConfig } from "../VoiceBotsClient";
2
- import { CreateVoiceBotInput, CreateVoiceBotOutput } 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 { CreateVoiceBotInput, CreateVoiceBotOutput } 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 CreateVoiceBotCommandInput extends CreateVoiceBotInput {
22
22
  export interface CreateVoiceBotCommandOutput extends CreateVoiceBotOutput, __MetadataBearer {
23
23
  }
24
24
  declare const CreateVoiceBotCommand_base: {
25
- new (input: CreateVoiceBotCommandInput): import("@smithy/smithy-client").CommandImpl<CreateVoiceBotCommandInput, CreateVoiceBotCommandOutput, VoiceBotsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (__0_0: CreateVoiceBotCommandInput): import("@smithy/smithy-client").CommandImpl<CreateVoiceBotCommandInput, CreateVoiceBotCommandOutput, VoiceBotsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: CreateVoiceBotCommandInput): import("@smithy/core/client").CommandImpl<CreateVoiceBotCommandInput, CreateVoiceBotCommandOutput, VoiceBotsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: CreateVoiceBotCommandInput): import("@smithy/core/client").CommandImpl<CreateVoiceBotCommandInput, CreateVoiceBotCommandOutput, VoiceBotsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * Creates a new voice bot with the specified configuration for the company.
@@ -33,6 +35,8 @@ declare const CreateVoiceBotCommand_base: {
33
35
  * ```javascript
34
36
  * import { VoiceBotsClient, CreateVoiceBotCommand } from "@wildix/wim-voicebots-client"; // ES Modules import
35
37
  * // const { VoiceBotsClient, CreateVoiceBotCommand } = 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 = { // CreateVoiceBotInput
38
42
  * name: "STRING_VALUE", // required
@@ -1,7 +1,7 @@
1
- import { ServiceInputTypes, ServiceOutputTypes, VoiceBotsClientResolvedConfig } from "../VoiceBotsClient";
2
- import { DeleteVoiceBotInput, DeleteVoiceBotOutput } 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 { DeleteVoiceBotInput, DeleteVoiceBotOutput } 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 DeleteVoiceBotCommandInput extends DeleteVoiceBotInput {
22
22
  export interface DeleteVoiceBotCommandOutput extends DeleteVoiceBotOutput, __MetadataBearer {
23
23
  }
24
24
  declare const DeleteVoiceBotCommand_base: {
25
- new (input: DeleteVoiceBotCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteVoiceBotCommandInput, DeleteVoiceBotCommandOutput, VoiceBotsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (__0_0: DeleteVoiceBotCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteVoiceBotCommandInput, DeleteVoiceBotCommandOutput, VoiceBotsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: DeleteVoiceBotCommandInput): import("@smithy/core/client").CommandImpl<DeleteVoiceBotCommandInput, DeleteVoiceBotCommandOutput, VoiceBotsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: DeleteVoiceBotCommandInput): import("@smithy/core/client").CommandImpl<DeleteVoiceBotCommandInput, DeleteVoiceBotCommandOutput, VoiceBotsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * Deletes an existing voice bot and all its associated data.
@@ -33,6 +35,8 @@ declare const DeleteVoiceBotCommand_base: {
33
35
  * ```javascript
34
36
  * import { VoiceBotsClient, DeleteVoiceBotCommand } from "@wildix/wim-voicebots-client"; // ES Modules import
35
37
  * // const { VoiceBotsClient, DeleteVoiceBotCommand } = 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 = { // DeleteVoiceBotInput
38
42
  * company: "STRING_VALUE",
@@ -1,7 +1,7 @@
1
- import { ServiceInputTypes, ServiceOutputTypes, VoiceBotsClientResolvedConfig } from "../VoiceBotsClient";
2
- import { DescribeEventInput, DescribeEventOutput } 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 { DescribeEventInput, DescribeEventOutput } 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 DescribeEventCommandInput extends DescribeEventInput {
22
22
  export interface DescribeEventCommandOutput extends DescribeEventOutput, __MetadataBearer {
23
23
  }
24
24
  declare const DescribeEventCommand_base: {
25
- new (input: DescribeEventCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeEventCommandInput, DescribeEventCommandOutput, VoiceBotsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (...[input]: [] | [DescribeEventCommandInput]): import("@smithy/smithy-client").CommandImpl<DescribeEventCommandInput, DescribeEventCommandOutput, VoiceBotsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: DescribeEventCommandInput): import("@smithy/core/client").CommandImpl<DescribeEventCommandInput, DescribeEventCommandOutput, VoiceBotsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (...[input]: [] | [DescribeEventCommandInput]): import("@smithy/core/client").CommandImpl<DescribeEventCommandInput, DescribeEventCommandOutput, VoiceBotsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * Utility method to describe available events for websocket and webhook events.
@@ -33,6 +35,8 @@ declare const DescribeEventCommand_base: {
33
35
  * ```javascript
34
36
  * import { VoiceBotsClient, DescribeEventCommand } from "@wildix/wim-voicebots-client"; // ES Modules import
35
37
  * // const { VoiceBotsClient, DescribeEventCommand } = 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 = {};
38
42
  * const command = new DescribeEventCommand(input);
@@ -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",
@@ -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",
@@ -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",
@@ -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",