@wildix/xbees-kite-client 1.5.0 → 3.1.1

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 (128) hide show
  1. package/dist-cjs/Kite.js +3 -3
  2. package/dist-cjs/KiteClient.js +34 -28
  3. package/dist-cjs/auth/httpAuthExtensionConfiguration.js +43 -0
  4. package/dist-cjs/auth/httpAuthSchemeProvider.js +40 -0
  5. package/dist-cjs/commands/CancelCalendarEventCommand.js +10 -11
  6. package/dist-cjs/commands/CreateOrUpdateWidgetPreviewCommand.js +10 -11
  7. package/dist-cjs/commands/CreateWidgetCommand.js +10 -11
  8. package/dist-cjs/commands/DeleteWidgetCommand.js +10 -11
  9. package/dist-cjs/commands/GetCalendarSlotsCommand.js +10 -11
  10. package/dist-cjs/commands/GetConfigCommand.js +10 -11
  11. package/dist-cjs/commands/GetSmsNumberConfigurationCommand.js +10 -11
  12. package/dist-cjs/commands/GetWhatsAppNumberConfigurationCommand.js +10 -11
  13. package/dist-cjs/commands/GetWidgetCommand.js +10 -11
  14. package/dist-cjs/commands/ListAgentsCommand.js +10 -11
  15. package/dist-cjs/commands/ListServicesCommand.js +10 -11
  16. package/dist-cjs/commands/ListSmsConfigurationsCommand.js +10 -11
  17. package/dist-cjs/commands/ListSmsNumbersCommand.js +10 -11
  18. package/dist-cjs/commands/ListWhatsAppConfigurationsCommand.js +10 -11
  19. package/dist-cjs/commands/ListWhatsAppNumbersCommand.js +10 -11
  20. package/dist-cjs/commands/ListWhatsAppTemplatesCommand.js +10 -11
  21. package/dist-cjs/commands/ListWidgetsCommand.js +10 -11
  22. package/dist-cjs/commands/PutSmsNumberConfigurationCommand.js +10 -11
  23. package/dist-cjs/commands/PutWhatsAppNumberConfigurationCommand.js +10 -11
  24. package/dist-cjs/commands/RescheduleCalendarEventCommand.js +10 -11
  25. package/dist-cjs/commands/ScheduleCalendarEventCommand.js +10 -11
  26. package/dist-cjs/commands/UpdateWidgetCommand.js +10 -11
  27. package/dist-cjs/endpoint/EndpointParameters.js +16 -0
  28. package/dist-cjs/endpoint/bdd.js +28 -0
  29. package/dist-cjs/endpoint/endpointResolver.js +16 -0
  30. package/dist-cjs/index.js +7 -4
  31. package/dist-cjs/models/KiteSyntheticServiceException.js +12 -0
  32. package/dist-cjs/models/enums.js +80 -0
  33. package/dist-cjs/models/errors.js +116 -0
  34. package/dist-cjs/models/models_0.js +0 -303
  35. package/dist-cjs/runtimeConfig.browser.js +11 -11
  36. package/dist-cjs/runtimeConfig.js +22 -18
  37. package/dist-cjs/runtimeConfig.shared.js +30 -10
  38. package/dist-cjs/runtimeExtensions.js +6 -5
  39. package/dist-cjs/schemas/schemas_0.js +1160 -0
  40. package/dist-es/Kite.js +4 -4
  41. package/dist-es/KiteClient.js +30 -24
  42. package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
  43. package/dist-es/auth/httpAuthSchemeProvider.js +34 -0
  44. package/dist-es/commands/CancelCalendarEventCommand.js +9 -10
  45. package/dist-es/commands/CreateOrUpdateWidgetPreviewCommand.js +9 -10
  46. package/dist-es/commands/CreateWidgetCommand.js +9 -10
  47. package/dist-es/commands/DeleteWidgetCommand.js +9 -10
  48. package/dist-es/commands/GetCalendarSlotsCommand.js +9 -10
  49. package/dist-es/commands/GetConfigCommand.js +9 -10
  50. package/dist-es/commands/GetSmsNumberConfigurationCommand.js +9 -10
  51. package/dist-es/commands/GetWhatsAppNumberConfigurationCommand.js +9 -10
  52. package/dist-es/commands/GetWidgetCommand.js +9 -10
  53. package/dist-es/commands/ListAgentsCommand.js +9 -10
  54. package/dist-es/commands/ListServicesCommand.js +9 -10
  55. package/dist-es/commands/ListSmsConfigurationsCommand.js +9 -10
  56. package/dist-es/commands/ListSmsNumbersCommand.js +9 -10
  57. package/dist-es/commands/ListWhatsAppConfigurationsCommand.js +9 -10
  58. package/dist-es/commands/ListWhatsAppNumbersCommand.js +9 -10
  59. package/dist-es/commands/ListWhatsAppTemplatesCommand.js +9 -10
  60. package/dist-es/commands/ListWidgetsCommand.js +9 -10
  61. package/dist-es/commands/PutSmsNumberConfigurationCommand.js +9 -10
  62. package/dist-es/commands/PutWhatsAppNumberConfigurationCommand.js +9 -10
  63. package/dist-es/commands/RescheduleCalendarEventCommand.js +9 -10
  64. package/dist-es/commands/ScheduleCalendarEventCommand.js +9 -10
  65. package/dist-es/commands/UpdateWidgetCommand.js +9 -10
  66. package/dist-es/endpoint/EndpointParameters.js +12 -0
  67. package/dist-es/endpoint/bdd.js +25 -0
  68. package/dist-es/endpoint/endpointResolver.js +12 -0
  69. package/dist-es/index.js +5 -2
  70. package/dist-es/models/KiteSyntheticServiceException.js +8 -0
  71. package/dist-es/models/enums.js +77 -0
  72. package/dist-es/models/errors.js +105 -0
  73. package/dist-es/models/models_0.js +1 -294
  74. package/dist-es/runtimeConfig.browser.js +7 -7
  75. package/dist-es/runtimeConfig.js +17 -13
  76. package/dist-es/runtimeConfig.shared.js +24 -4
  77. package/dist-es/runtimeExtensions.js +6 -5
  78. package/dist-es/schemas/schemas_0.js +1155 -0
  79. package/dist-types/Kite.d.ts +23 -23
  80. package/dist-types/KiteClient.d.ts +52 -34
  81. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
  82. package/dist-types/auth/httpAuthSchemeProvider.d.ts +81 -0
  83. package/dist-types/commands/CancelCalendarEventCommand.d.ts +12 -8
  84. package/dist-types/commands/CreateOrUpdateWidgetPreviewCommand.d.ts +12 -8
  85. package/dist-types/commands/CreateWidgetCommand.d.ts +12 -8
  86. package/dist-types/commands/DeleteWidgetCommand.d.ts +12 -8
  87. package/dist-types/commands/GetCalendarSlotsCommand.d.ts +12 -8
  88. package/dist-types/commands/GetConfigCommand.d.ts +12 -8
  89. package/dist-types/commands/GetSmsNumberConfigurationCommand.d.ts +12 -8
  90. package/dist-types/commands/GetWhatsAppNumberConfigurationCommand.d.ts +12 -8
  91. package/dist-types/commands/GetWidgetCommand.d.ts +12 -8
  92. package/dist-types/commands/ListAgentsCommand.d.ts +12 -8
  93. package/dist-types/commands/ListServicesCommand.d.ts +12 -8
  94. package/dist-types/commands/ListSmsConfigurationsCommand.d.ts +12 -8
  95. package/dist-types/commands/ListSmsNumbersCommand.d.ts +12 -8
  96. package/dist-types/commands/ListWhatsAppConfigurationsCommand.d.ts +12 -8
  97. package/dist-types/commands/ListWhatsAppNumbersCommand.d.ts +12 -8
  98. package/dist-types/commands/ListWhatsAppTemplatesCommand.d.ts +12 -8
  99. package/dist-types/commands/ListWidgetsCommand.d.ts +12 -8
  100. package/dist-types/commands/PutSmsNumberConfigurationCommand.d.ts +12 -8
  101. package/dist-types/commands/PutWhatsAppNumberConfigurationCommand.d.ts +12 -8
  102. package/dist-types/commands/RescheduleCalendarEventCommand.d.ts +12 -8
  103. package/dist-types/commands/ScheduleCalendarEventCommand.d.ts +12 -8
  104. package/dist-types/commands/UpdateWidgetCommand.d.ts +12 -8
  105. package/dist-types/endpoint/EndpointParameters.d.ts +41 -0
  106. package/dist-types/endpoint/bdd.d.ts +2 -0
  107. package/dist-types/endpoint/endpointResolver.d.ts +8 -0
  108. package/dist-types/extensionConfiguration.d.ts +4 -3
  109. package/dist-types/index.d.ts +6 -2
  110. package/dist-types/models/{KiteServiceException.d.ts → KiteSyntheticServiceException.d.ts} +2 -2
  111. package/dist-types/models/enums.d.ts +197 -0
  112. package/dist-types/models/errors.d.ts +110 -0
  113. package/dist-types/models/models_0.d.ts +105 -381
  114. package/dist-types/runtimeConfig.browser.d.ts +35 -16
  115. package/dist-types/runtimeConfig.d.ts +34 -15
  116. package/dist-types/runtimeConfig.native.d.ts +36 -17
  117. package/dist-types/runtimeConfig.shared.d.ts +20 -3
  118. package/dist-types/runtimeExtensions.d.ts +1 -1
  119. package/dist-types/schemas/schemas_0.d.ts +153 -0
  120. package/package.json +14 -40
  121. package/dist-cjs/models/KiteServiceException.js +0 -12
  122. package/dist-cjs/models/index.js +0 -4
  123. package/dist-cjs/protocols/Aws_restJson1.js +0 -963
  124. package/dist-es/models/KiteServiceException.js +0 -8
  125. package/dist-es/models/index.js +0 -1
  126. package/dist-es/protocols/Aws_restJson1.js +0 -916
  127. package/dist-types/models/index.d.ts +0 -1
  128. package/dist-types/protocols/Aws_restJson1.d.ts +0 -200
@@ -1,27 +1,27 @@
1
+ import type { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
2
+ import { type CancelCalendarEventCommandInput, type CancelCalendarEventCommandOutput } from "./commands/CancelCalendarEventCommand";
3
+ import { type CreateOrUpdateWidgetPreviewCommandInput, type CreateOrUpdateWidgetPreviewCommandOutput } from "./commands/CreateOrUpdateWidgetPreviewCommand";
4
+ import { type CreateWidgetCommandInput, type CreateWidgetCommandOutput } from "./commands/CreateWidgetCommand";
5
+ import { type DeleteWidgetCommandInput, type DeleteWidgetCommandOutput } from "./commands/DeleteWidgetCommand";
6
+ import { type GetCalendarSlotsCommandInput, type GetCalendarSlotsCommandOutput } from "./commands/GetCalendarSlotsCommand";
7
+ import { type GetConfigCommandInput, type GetConfigCommandOutput } from "./commands/GetConfigCommand";
8
+ import { type GetSmsNumberConfigurationCommandInput, type GetSmsNumberConfigurationCommandOutput } from "./commands/GetSmsNumberConfigurationCommand";
9
+ import { type GetWhatsAppNumberConfigurationCommandInput, type GetWhatsAppNumberConfigurationCommandOutput } from "./commands/GetWhatsAppNumberConfigurationCommand";
10
+ import { type GetWidgetCommandInput, type GetWidgetCommandOutput } from "./commands/GetWidgetCommand";
11
+ import { type ListAgentsCommandInput, type ListAgentsCommandOutput } from "./commands/ListAgentsCommand";
12
+ import { type ListServicesCommandInput, type ListServicesCommandOutput } from "./commands/ListServicesCommand";
13
+ import { type ListSmsConfigurationsCommandInput, type ListSmsConfigurationsCommandOutput } from "./commands/ListSmsConfigurationsCommand";
14
+ import { type ListSmsNumbersCommandInput, type ListSmsNumbersCommandOutput } from "./commands/ListSmsNumbersCommand";
15
+ import { type ListWhatsAppConfigurationsCommandInput, type ListWhatsAppConfigurationsCommandOutput } from "./commands/ListWhatsAppConfigurationsCommand";
16
+ import { type ListWhatsAppNumbersCommandInput, type ListWhatsAppNumbersCommandOutput } from "./commands/ListWhatsAppNumbersCommand";
17
+ import { type ListWhatsAppTemplatesCommandInput, type ListWhatsAppTemplatesCommandOutput } from "./commands/ListWhatsAppTemplatesCommand";
18
+ import { type ListWidgetsCommandInput, type ListWidgetsCommandOutput } from "./commands/ListWidgetsCommand";
19
+ import { type PutSmsNumberConfigurationCommandInput, type PutSmsNumberConfigurationCommandOutput } from "./commands/PutSmsNumberConfigurationCommand";
20
+ import { type PutWhatsAppNumberConfigurationCommandInput, type PutWhatsAppNumberConfigurationCommandOutput } from "./commands/PutWhatsAppNumberConfigurationCommand";
21
+ import { type RescheduleCalendarEventCommandInput, type RescheduleCalendarEventCommandOutput } from "./commands/RescheduleCalendarEventCommand";
22
+ import { type ScheduleCalendarEventCommandInput, type ScheduleCalendarEventCommandOutput } from "./commands/ScheduleCalendarEventCommand";
23
+ import { type UpdateWidgetCommandInput, type UpdateWidgetCommandOutput } from "./commands/UpdateWidgetCommand";
1
24
  import { KiteClient } from "./KiteClient";
2
- import { CancelCalendarEventCommandInput, CancelCalendarEventCommandOutput } from "./commands/CancelCalendarEventCommand";
3
- import { CreateOrUpdateWidgetPreviewCommandInput, CreateOrUpdateWidgetPreviewCommandOutput } from "./commands/CreateOrUpdateWidgetPreviewCommand";
4
- import { CreateWidgetCommandInput, CreateWidgetCommandOutput } from "./commands/CreateWidgetCommand";
5
- import { DeleteWidgetCommandInput, DeleteWidgetCommandOutput } from "./commands/DeleteWidgetCommand";
6
- import { GetCalendarSlotsCommandInput, GetCalendarSlotsCommandOutput } from "./commands/GetCalendarSlotsCommand";
7
- import { GetConfigCommandInput, GetConfigCommandOutput } from "./commands/GetConfigCommand";
8
- import { GetSmsNumberConfigurationCommandInput, GetSmsNumberConfigurationCommandOutput } from "./commands/GetSmsNumberConfigurationCommand";
9
- import { GetWhatsAppNumberConfigurationCommandInput, GetWhatsAppNumberConfigurationCommandOutput } from "./commands/GetWhatsAppNumberConfigurationCommand";
10
- import { GetWidgetCommandInput, GetWidgetCommandOutput } from "./commands/GetWidgetCommand";
11
- import { ListAgentsCommandInput, ListAgentsCommandOutput } from "./commands/ListAgentsCommand";
12
- import { ListServicesCommandInput, ListServicesCommandOutput } from "./commands/ListServicesCommand";
13
- import { ListSmsConfigurationsCommandInput, ListSmsConfigurationsCommandOutput } from "./commands/ListSmsConfigurationsCommand";
14
- import { ListSmsNumbersCommandInput, ListSmsNumbersCommandOutput } from "./commands/ListSmsNumbersCommand";
15
- import { ListWhatsAppConfigurationsCommandInput, ListWhatsAppConfigurationsCommandOutput } from "./commands/ListWhatsAppConfigurationsCommand";
16
- import { ListWhatsAppNumbersCommandInput, ListWhatsAppNumbersCommandOutput } from "./commands/ListWhatsAppNumbersCommand";
17
- import { ListWhatsAppTemplatesCommandInput, ListWhatsAppTemplatesCommandOutput } from "./commands/ListWhatsAppTemplatesCommand";
18
- import { ListWidgetsCommandInput, ListWidgetsCommandOutput } from "./commands/ListWidgetsCommand";
19
- import { PutSmsNumberConfigurationCommandInput, PutSmsNumberConfigurationCommandOutput } from "./commands/PutSmsNumberConfigurationCommand";
20
- import { PutWhatsAppNumberConfigurationCommandInput, PutWhatsAppNumberConfigurationCommandOutput } from "./commands/PutWhatsAppNumberConfigurationCommand";
21
- import { RescheduleCalendarEventCommandInput, RescheduleCalendarEventCommandOutput } from "./commands/RescheduleCalendarEventCommand";
22
- import { ScheduleCalendarEventCommandInput, ScheduleCalendarEventCommandOutput } from "./commands/ScheduleCalendarEventCommand";
23
- import { UpdateWidgetCommandInput, UpdateWidgetCommandOutput } from "./commands/UpdateWidgetCommand";
24
- import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
25
25
  export interface Kite {
26
26
  /**
27
27
  * @see {@link CancelCalendarEventCommand}
@@ -1,32 +1,34 @@
1
- import { CancelCalendarEventCommandInput, CancelCalendarEventCommandOutput } from "./commands/CancelCalendarEventCommand";
2
- import { CreateOrUpdateWidgetPreviewCommandInput, CreateOrUpdateWidgetPreviewCommandOutput } from "./commands/CreateOrUpdateWidgetPreviewCommand";
3
- import { CreateWidgetCommandInput, CreateWidgetCommandOutput } from "./commands/CreateWidgetCommand";
4
- import { DeleteWidgetCommandInput, DeleteWidgetCommandOutput } from "./commands/DeleteWidgetCommand";
5
- import { GetCalendarSlotsCommandInput, GetCalendarSlotsCommandOutput } from "./commands/GetCalendarSlotsCommand";
6
- import { GetConfigCommandInput, GetConfigCommandOutput } from "./commands/GetConfigCommand";
7
- import { GetSmsNumberConfigurationCommandInput, GetSmsNumberConfigurationCommandOutput } from "./commands/GetSmsNumberConfigurationCommand";
8
- import { GetWhatsAppNumberConfigurationCommandInput, GetWhatsAppNumberConfigurationCommandOutput } from "./commands/GetWhatsAppNumberConfigurationCommand";
9
- import { GetWidgetCommandInput, GetWidgetCommandOutput } from "./commands/GetWidgetCommand";
10
- import { ListAgentsCommandInput, ListAgentsCommandOutput } from "./commands/ListAgentsCommand";
11
- import { ListServicesCommandInput, ListServicesCommandOutput } from "./commands/ListServicesCommand";
12
- import { ListSmsConfigurationsCommandInput, ListSmsConfigurationsCommandOutput } from "./commands/ListSmsConfigurationsCommand";
13
- import { ListSmsNumbersCommandInput, ListSmsNumbersCommandOutput } from "./commands/ListSmsNumbersCommand";
14
- import { ListWhatsAppConfigurationsCommandInput, ListWhatsAppConfigurationsCommandOutput } from "./commands/ListWhatsAppConfigurationsCommand";
15
- import { ListWhatsAppNumbersCommandInput, ListWhatsAppNumbersCommandOutput } from "./commands/ListWhatsAppNumbersCommand";
16
- import { ListWhatsAppTemplatesCommandInput, ListWhatsAppTemplatesCommandOutput } from "./commands/ListWhatsAppTemplatesCommand";
17
- import { ListWidgetsCommandInput, ListWidgetsCommandOutput } from "./commands/ListWidgetsCommand";
18
- import { PutSmsNumberConfigurationCommandInput, PutSmsNumberConfigurationCommandOutput } from "./commands/PutSmsNumberConfigurationCommand";
19
- import { PutWhatsAppNumberConfigurationCommandInput, PutWhatsAppNumberConfigurationCommandOutput } from "./commands/PutWhatsAppNumberConfigurationCommand";
20
- import { RescheduleCalendarEventCommandInput, RescheduleCalendarEventCommandOutput } from "./commands/RescheduleCalendarEventCommand";
21
- import { ScheduleCalendarEventCommandInput, ScheduleCalendarEventCommandOutput } from "./commands/ScheduleCalendarEventCommand";
22
- import { UpdateWidgetCommandInput, UpdateWidgetCommandOutput } from "./commands/UpdateWidgetCommand";
23
- import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
24
- import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
25
- import { RetryInputConfig, RetryResolvedConfig } from "@smithy/middleware-retry";
26
- import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
27
- import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@smithy/smithy-client";
28
- 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";
29
- 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 { CancelCalendarEventCommandInput, CancelCalendarEventCommandOutput } from "./commands/CancelCalendarEventCommand";
9
+ import type { CreateOrUpdateWidgetPreviewCommandInput, CreateOrUpdateWidgetPreviewCommandOutput } from "./commands/CreateOrUpdateWidgetPreviewCommand";
10
+ import type { CreateWidgetCommandInput, CreateWidgetCommandOutput } from "./commands/CreateWidgetCommand";
11
+ import type { DeleteWidgetCommandInput, DeleteWidgetCommandOutput } from "./commands/DeleteWidgetCommand";
12
+ import type { GetCalendarSlotsCommandInput, GetCalendarSlotsCommandOutput } from "./commands/GetCalendarSlotsCommand";
13
+ import type { GetConfigCommandInput, GetConfigCommandOutput } from "./commands/GetConfigCommand";
14
+ import type { GetSmsNumberConfigurationCommandInput, GetSmsNumberConfigurationCommandOutput } from "./commands/GetSmsNumberConfigurationCommand";
15
+ import type { GetWhatsAppNumberConfigurationCommandInput, GetWhatsAppNumberConfigurationCommandOutput } from "./commands/GetWhatsAppNumberConfigurationCommand";
16
+ import type { GetWidgetCommandInput, GetWidgetCommandOutput } from "./commands/GetWidgetCommand";
17
+ import type { ListAgentsCommandInput, ListAgentsCommandOutput } from "./commands/ListAgentsCommand";
18
+ import type { ListServicesCommandInput, ListServicesCommandOutput } from "./commands/ListServicesCommand";
19
+ import type { ListSmsConfigurationsCommandInput, ListSmsConfigurationsCommandOutput } from "./commands/ListSmsConfigurationsCommand";
20
+ import type { ListSmsNumbersCommandInput, ListSmsNumbersCommandOutput } from "./commands/ListSmsNumbersCommand";
21
+ import type { ListWhatsAppConfigurationsCommandInput, ListWhatsAppConfigurationsCommandOutput } from "./commands/ListWhatsAppConfigurationsCommand";
22
+ import type { ListWhatsAppNumbersCommandInput, ListWhatsAppNumbersCommandOutput } from "./commands/ListWhatsAppNumbersCommand";
23
+ import type { ListWhatsAppTemplatesCommandInput, ListWhatsAppTemplatesCommandOutput } from "./commands/ListWhatsAppTemplatesCommand";
24
+ import type { ListWidgetsCommandInput, ListWidgetsCommandOutput } from "./commands/ListWidgetsCommand";
25
+ import type { PutSmsNumberConfigurationCommandInput, PutSmsNumberConfigurationCommandOutput } from "./commands/PutSmsNumberConfigurationCommand";
26
+ import type { PutWhatsAppNumberConfigurationCommandInput, PutWhatsAppNumberConfigurationCommandOutput } from "./commands/PutWhatsAppNumberConfigurationCommand";
27
+ import type { RescheduleCalendarEventCommandInput, RescheduleCalendarEventCommandOutput } from "./commands/RescheduleCalendarEventCommand";
28
+ import type { ScheduleCalendarEventCommandInput, ScheduleCalendarEventCommandOutput } from "./commands/ScheduleCalendarEventCommand";
29
+ import type { UpdateWidgetCommandInput, UpdateWidgetCommandOutput } from "./commands/UpdateWidgetCommand";
30
+ import { type ClientInputEndpointParameters, type ClientResolvedEndpointParameters, type EndpointParameters } from "./endpoint/EndpointParameters";
31
+ import { type RuntimeExtension, type RuntimeExtensionsConfig } from "./runtimeExtensions";
30
32
  export { __Client };
31
33
  /**
32
34
  * @public
@@ -95,11 +97,29 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
95
97
  * trait of an operation.
96
98
  */
97
99
  disableHostPrefix?: boolean;
100
+ /**
101
+ * Setting a client profile is similar to setting a value for the
102
+ * AWS_PROFILE environment variable. Setting a profile on a client
103
+ * in code only affects the single client instance, unlike AWS_PROFILE.
104
+ *
105
+ * When set, and only for environments where an AWS configuration
106
+ * file exists, fields configurable by this file will be retrieved
107
+ * from the specified profile within that file.
108
+ * Conflicting code configuration and environment variables will
109
+ * still have higher priority.
110
+ *
111
+ * For client credential resolution that involves checking the AWS
112
+ * configuration file, the client's profile (this value) will be
113
+ * used unless a different profile is set in the credential
114
+ * provider options.
115
+ *
116
+ */
117
+ profile?: string;
98
118
  /**
99
119
  * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
100
120
  * @internal
101
121
  */
102
- defaultUserAgentProvider?: Provider<__UserAgent>;
122
+ defaultUserAgentProvider?: __Provider<__UserAgent>;
103
123
  /**
104
124
  * Value for how many times a request will be made at most in case of retry.
105
125
  */
@@ -126,20 +146,18 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
126
146
  /**
127
147
  * @public
128
148
  */
129
- export type KiteClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & UserAgentInputConfig & RetryInputConfig;
149
+ export type KiteClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & UserAgentInputConfig & RetryInputConfig & HostHeaderInputConfig & EndpointInputConfig<EndpointParameters> & HttpAuthSchemeInputConfig & ClientInputEndpointParameters;
130
150
  /**
131
151
  * @public
132
152
  *
133
153
  * The configuration interface of KiteClient class constructor that set the region, credentials and other options.
134
154
  */
135
155
  export interface KiteClientConfig extends KiteClientConfigType {
136
- env?: 'stage' | 'stable' | 'prod';
137
- token?: TokenProvider;
138
156
  }
139
157
  /**
140
158
  * @public
141
159
  */
142
- export type KiteClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RuntimeExtensionsConfig & UserAgentResolvedConfig & RetryResolvedConfig;
160
+ export type KiteClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RuntimeExtensionsConfig & UserAgentResolvedConfig & RetryResolvedConfig & HostHeaderResolvedConfig & EndpointResolvedConfig<EndpointParameters> & HttpAuthSchemeResolvedConfig & ClientResolvedEndpointParameters;
143
161
  /**
144
162
  * @public
145
163
  *
@@ -0,0 +1,29 @@
1
+ import { type HttpAuthScheme, TokenIdentity, TokenIdentityProvider } from "@smithy/types";
2
+ import type { KiteHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
3
+ /**
4
+ * @internal
5
+ */
6
+ export interface HttpAuthExtensionConfiguration {
7
+ setHttpAuthScheme(httpAuthScheme: HttpAuthScheme): void;
8
+ httpAuthSchemes(): HttpAuthScheme[];
9
+ setHttpAuthSchemeProvider(httpAuthSchemeProvider: KiteHttpAuthSchemeProvider): void;
10
+ httpAuthSchemeProvider(): KiteHttpAuthSchemeProvider;
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: KiteHttpAuthSchemeProvider;
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 { KiteClientResolvedConfig } from "../KiteClient";
3
+ /**
4
+ * @internal
5
+ */
6
+ export interface KiteHttpAuthSchemeParameters extends HttpAuthSchemeParameters {
7
+ }
8
+ /**
9
+ * @internal
10
+ */
11
+ export interface KiteHttpAuthSchemeParametersProvider extends HttpAuthSchemeParametersProvider<KiteClientResolvedConfig, HandlerExecutionContext, KiteHttpAuthSchemeParameters, object> {
12
+ }
13
+ /**
14
+ * @internal
15
+ */
16
+ export declare const defaultKiteHttpAuthSchemeParametersProvider: (config: KiteClientResolvedConfig, context: HandlerExecutionContext, input: object) => Promise<KiteHttpAuthSchemeParameters>;
17
+ /**
18
+ * @internal
19
+ */
20
+ export interface KiteHttpAuthSchemeProvider extends HttpAuthSchemeProvider<KiteHttpAuthSchemeParameters> {
21
+ }
22
+ /**
23
+ * @internal
24
+ */
25
+ export declare const defaultKiteHttpAuthSchemeProvider: KiteHttpAuthSchemeProvider;
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?: KiteHttpAuthSchemeProvider;
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: KiteHttpAuthSchemeProvider;
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 { KiteClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KiteClient";
2
- import { CancelCalendarEventInput, CancelCalendarEventOutput } 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 { KiteClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KiteClient";
4
+ import type { CancelCalendarEventInput, CancelCalendarEventOutput } from "../models/models_0";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -22,9 +22,11 @@ export interface CancelCalendarEventCommandInput extends CancelCalendarEventInpu
22
22
  export interface CancelCalendarEventCommandOutput extends CancelCalendarEventOutput, __MetadataBearer {
23
23
  }
24
24
  declare const CancelCalendarEventCommand_base: {
25
- new (input: CancelCalendarEventCommandInput): import("@smithy/smithy-client").CommandImpl<CancelCalendarEventCommandInput, CancelCalendarEventCommandOutput, KiteClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (__0_0: CancelCalendarEventCommandInput): import("@smithy/smithy-client").CommandImpl<CancelCalendarEventCommandInput, CancelCalendarEventCommandOutput, KiteClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: CancelCalendarEventCommandInput): import("@smithy/core/client").CommandImpl<CancelCalendarEventCommandInput, CancelCalendarEventCommandOutput, KiteClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: CancelCalendarEventCommandInput): import("@smithy/core/client").CommandImpl<CancelCalendarEventCommandInput, CancelCalendarEventCommandOutput, KiteClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * Cancels an existing calendar event, optionally providing a reason for cancellation.
@@ -33,6 +35,8 @@ declare const CancelCalendarEventCommand_base: {
33
35
  * ```javascript
34
36
  * import { KiteClient, CancelCalendarEventCommand } from "@wildix/xbees-kite-client"; // ES Modules import
35
37
  * // const { KiteClient, CancelCalendarEventCommand } = require("@wildix/xbees-kite-client"); // CommonJS import
38
+ * // import type { KiteClientConfig } from "@wildix/xbees-kite-client";
39
+ * const config = {}; // type is KiteClientConfig
36
40
  * const client = new KiteClient(config);
37
41
  * const input = { // CancelCalendarEventInput
38
42
  * channelId: "STRING_VALUE", // required
@@ -148,7 +152,7 @@ declare const CancelCalendarEventCommand_base: {
148
152
  *
149
153
  * @throws {@link RateLimitExceededException} (client fault)
150
154
  *
151
- * @throws {@link KiteServiceException}
155
+ * @throws {@link KiteSyntheticServiceException}
152
156
  * <p>Base exception class for all service exceptions from Kite service.</p>
153
157
  *
154
158
  *
@@ -1,7 +1,7 @@
1
- import { KiteClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KiteClient";
2
- import { CreateOrUpdateWidgetPreviewInput, CreateOrUpdateWidgetPreviewOutput } 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 { KiteClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KiteClient";
4
+ import type { CreateOrUpdateWidgetPreviewInput, CreateOrUpdateWidgetPreviewOutput } from "../models/models_0";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -22,9 +22,11 @@ export interface CreateOrUpdateWidgetPreviewCommandInput extends CreateOrUpdateW
22
22
  export interface CreateOrUpdateWidgetPreviewCommandOutput extends CreateOrUpdateWidgetPreviewOutput, __MetadataBearer {
23
23
  }
24
24
  declare const CreateOrUpdateWidgetPreviewCommand_base: {
25
- new (input: CreateOrUpdateWidgetPreviewCommandInput): import("@smithy/smithy-client").CommandImpl<CreateOrUpdateWidgetPreviewCommandInput, CreateOrUpdateWidgetPreviewCommandOutput, KiteClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (__0_0: CreateOrUpdateWidgetPreviewCommandInput): import("@smithy/smithy-client").CommandImpl<CreateOrUpdateWidgetPreviewCommandInput, CreateOrUpdateWidgetPreviewCommandOutput, KiteClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: CreateOrUpdateWidgetPreviewCommandInput): import("@smithy/core/client").CommandImpl<CreateOrUpdateWidgetPreviewCommandInput, CreateOrUpdateWidgetPreviewCommandOutput, KiteClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: CreateOrUpdateWidgetPreviewCommandInput): import("@smithy/core/client").CommandImpl<CreateOrUpdateWidgetPreviewCommandInput, CreateOrUpdateWidgetPreviewCommandOutput, KiteClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * Creates or updates a temporary widget to assist with configuration testing. Preview widgets mimic the behavior and appearance of regular widgets but are automatically deleted after two hours. They are primarily designed for use in the Kite configuration interface, enabling users to experiment with settings and instantly visualize how changes affect the widget's design and functionality.
@@ -33,6 +35,8 @@ declare const CreateOrUpdateWidgetPreviewCommand_base: {
33
35
  * ```javascript
34
36
  * import { KiteClient, CreateOrUpdateWidgetPreviewCommand } from "@wildix/xbees-kite-client"; // ES Modules import
35
37
  * // const { KiteClient, CreateOrUpdateWidgetPreviewCommand } = require("@wildix/xbees-kite-client"); // CommonJS import
38
+ * // import type { KiteClientConfig } from "@wildix/xbees-kite-client";
39
+ * const config = {}; // type is KiteClientConfig
36
40
  * const client = new KiteClient(config);
37
41
  * const input = { // CreateOrUpdateWidgetPreviewInput
38
42
  * appearance: { // WidgetAppearance
@@ -571,7 +575,7 @@ declare const CreateOrUpdateWidgetPreviewCommand_base: {
571
575
  *
572
576
  * @throws {@link RateLimitExceededException} (client fault)
573
577
  *
574
- * @throws {@link KiteServiceException}
578
+ * @throws {@link KiteSyntheticServiceException}
575
579
  * <p>Base exception class for all service exceptions from Kite service.</p>
576
580
  *
577
581
  *
@@ -1,7 +1,7 @@
1
- import { KiteClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KiteClient";
2
- import { CreateWidgetInput, CreateWidgetOutput } 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 { KiteClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KiteClient";
4
+ import type { CreateWidgetInput, CreateWidgetOutput } from "../models/models_0";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -22,9 +22,11 @@ export interface CreateWidgetCommandInput extends CreateWidgetInput {
22
22
  export interface CreateWidgetCommandOutput extends CreateWidgetOutput, __MetadataBearer {
23
23
  }
24
24
  declare const CreateWidgetCommand_base: {
25
- new (input: CreateWidgetCommandInput): import("@smithy/smithy-client").CommandImpl<CreateWidgetCommandInput, CreateWidgetCommandOutput, KiteClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (__0_0: CreateWidgetCommandInput): import("@smithy/smithy-client").CommandImpl<CreateWidgetCommandInput, CreateWidgetCommandOutput, KiteClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: CreateWidgetCommandInput): import("@smithy/core/client").CommandImpl<CreateWidgetCommandInput, CreateWidgetCommandOutput, KiteClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: CreateWidgetCommandInput): import("@smithy/core/client").CommandImpl<CreateWidgetCommandInput, CreateWidgetCommandOutput, KiteClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * Creates a new widget.
@@ -33,6 +35,8 @@ declare const CreateWidgetCommand_base: {
33
35
  * ```javascript
34
36
  * import { KiteClient, CreateWidgetCommand } from "@wildix/xbees-kite-client"; // ES Modules import
35
37
  * // const { KiteClient, CreateWidgetCommand } = require("@wildix/xbees-kite-client"); // CommonJS import
38
+ * // import type { KiteClientConfig } from "@wildix/xbees-kite-client";
39
+ * const config = {}; // type is KiteClientConfig
36
40
  * const client = new KiteClient(config);
37
41
  * const input = { // CreateWidgetInput
38
42
  * appearance: { // WidgetAppearance
@@ -570,7 +574,7 @@ declare const CreateWidgetCommand_base: {
570
574
  *
571
575
  * @throws {@link RateLimitExceededException} (client fault)
572
576
  *
573
- * @throws {@link KiteServiceException}
577
+ * @throws {@link KiteSyntheticServiceException}
574
578
  * <p>Base exception class for all service exceptions from Kite service.</p>
575
579
  *
576
580
  *
@@ -1,7 +1,7 @@
1
- import { KiteClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KiteClient";
2
- import { DeleteWidgetInput, DeleteWidgetOutput } 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 { KiteClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KiteClient";
4
+ import type { DeleteWidgetInput, DeleteWidgetOutput } from "../models/models_0";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -22,9 +22,11 @@ export interface DeleteWidgetCommandInput extends DeleteWidgetInput {
22
22
  export interface DeleteWidgetCommandOutput extends DeleteWidgetOutput, __MetadataBearer {
23
23
  }
24
24
  declare const DeleteWidgetCommand_base: {
25
- new (input: DeleteWidgetCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteWidgetCommandInput, DeleteWidgetCommandOutput, KiteClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (__0_0: DeleteWidgetCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteWidgetCommandInput, DeleteWidgetCommandOutput, KiteClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: DeleteWidgetCommandInput): import("@smithy/core/client").CommandImpl<DeleteWidgetCommandInput, DeleteWidgetCommandOutput, KiteClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: DeleteWidgetCommandInput): import("@smithy/core/client").CommandImpl<DeleteWidgetCommandInput, DeleteWidgetCommandOutput, KiteClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * Deletes an existing widget. This operation is idempotent, meaning that if the widget does not exist, the operation will still return a successful response.
@@ -33,6 +35,8 @@ declare const DeleteWidgetCommand_base: {
33
35
  * ```javascript
34
36
  * import { KiteClient, DeleteWidgetCommand } from "@wildix/xbees-kite-client"; // ES Modules import
35
37
  * // const { KiteClient, DeleteWidgetCommand } = require("@wildix/xbees-kite-client"); // CommonJS import
38
+ * // import type { KiteClientConfig } from "@wildix/xbees-kite-client";
39
+ * const config = {}; // type is KiteClientConfig
36
40
  * const client = new KiteClient(config);
37
41
  * const input = { // DeleteWidgetInput
38
42
  * widgetId: "STRING_VALUE", // required
@@ -57,7 +61,7 @@ declare const DeleteWidgetCommand_base: {
57
61
  *
58
62
  * @throws {@link RateLimitExceededException} (client fault)
59
63
  *
60
- * @throws {@link KiteServiceException}
64
+ * @throws {@link KiteSyntheticServiceException}
61
65
  * <p>Base exception class for all service exceptions from Kite service.</p>
62
66
  *
63
67
  *
@@ -1,7 +1,7 @@
1
- import { KiteClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KiteClient";
2
- import { GetCalendarSlotsInput, GetCalendarSlotsOutput } 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 { KiteClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KiteClient";
4
+ import type { GetCalendarSlotsInput, GetCalendarSlotsOutput } from "../models/models_0";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -22,9 +22,11 @@ export interface GetCalendarSlotsCommandInput extends GetCalendarSlotsInput {
22
22
  export interface GetCalendarSlotsCommandOutput extends GetCalendarSlotsOutput, __MetadataBearer {
23
23
  }
24
24
  declare const GetCalendarSlotsCommand_base: {
25
- new (input: GetCalendarSlotsCommandInput): import("@smithy/smithy-client").CommandImpl<GetCalendarSlotsCommandInput, GetCalendarSlotsCommandOutput, KiteClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (__0_0: GetCalendarSlotsCommandInput): import("@smithy/smithy-client").CommandImpl<GetCalendarSlotsCommandInput, GetCalendarSlotsCommandOutput, KiteClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: GetCalendarSlotsCommandInput): import("@smithy/core/client").CommandImpl<GetCalendarSlotsCommandInput, GetCalendarSlotsCommandOutput, KiteClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: GetCalendarSlotsCommandInput): import("@smithy/core/client").CommandImpl<GetCalendarSlotsCommandInput, GetCalendarSlotsCommandOutput, KiteClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * Retrieves available calendar time slots for a specific Kite widget or agent within the specified date range.
@@ -33,6 +35,8 @@ declare const GetCalendarSlotsCommand_base: {
33
35
  * ```javascript
34
36
  * import { KiteClient, GetCalendarSlotsCommand } from "@wildix/xbees-kite-client"; // ES Modules import
35
37
  * // const { KiteClient, GetCalendarSlotsCommand } = require("@wildix/xbees-kite-client"); // CommonJS import
38
+ * // import type { KiteClientConfig } from "@wildix/xbees-kite-client";
39
+ * const config = {}; // type is KiteClientConfig
36
40
  * const client = new KiteClient(config);
37
41
  * const input = { // GetCalendarSlotsInput
38
42
  * targetId: "STRING_VALUE", // required
@@ -84,7 +88,7 @@ declare const GetCalendarSlotsCommand_base: {
84
88
  *
85
89
  * @throws {@link RateLimitExceededException} (client fault)
86
90
  *
87
- * @throws {@link KiteServiceException}
91
+ * @throws {@link KiteSyntheticServiceException}
88
92
  * <p>Base exception class for all service exceptions from Kite service.</p>
89
93
  *
90
94
  *
@@ -1,7 +1,7 @@
1
- import { KiteClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KiteClient";
2
- import { GetConfigInput, GetConfigOutput } 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 { KiteClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KiteClient";
4
+ import type { GetConfigInput, GetConfigOutput } from "../models/models_0";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -22,9 +22,11 @@ export interface GetConfigCommandInput extends GetConfigInput {
22
22
  export interface GetConfigCommandOutput extends GetConfigOutput, __MetadataBearer {
23
23
  }
24
24
  declare const GetConfigCommand_base: {
25
- new (input: GetConfigCommandInput): import("@smithy/smithy-client").CommandImpl<GetConfigCommandInput, GetConfigCommandOutput, KiteClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (__0_0: GetConfigCommandInput): import("@smithy/smithy-client").CommandImpl<GetConfigCommandInput, GetConfigCommandOutput, KiteClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: GetConfigCommandInput): import("@smithy/core/client").CommandImpl<GetConfigCommandInput, GetConfigCommandOutput, KiteClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: GetConfigCommandInput): import("@smithy/core/client").CommandImpl<GetConfigCommandInput, GetConfigCommandOutput, KiteClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * Retrieves the configuration settings for a specific Kite widget or agent, optionally filtered by route.
@@ -33,6 +35,8 @@ declare const GetConfigCommand_base: {
33
35
  * ```javascript
34
36
  * import { KiteClient, GetConfigCommand } from "@wildix/xbees-kite-client"; // ES Modules import
35
37
  * // const { KiteClient, GetConfigCommand } = require("@wildix/xbees-kite-client"); // CommonJS import
38
+ * // import type { KiteClientConfig } from "@wildix/xbees-kite-client";
39
+ * const config = {}; // type is KiteClientConfig
36
40
  * const client = new KiteClient(config);
37
41
  * const input = { // GetConfigInput
38
42
  * targetId: "STRING_VALUE", // required
@@ -148,7 +152,7 @@ declare const GetConfigCommand_base: {
148
152
  *
149
153
  * @throws {@link RateLimitExceededException} (client fault)
150
154
  *
151
- * @throws {@link KiteServiceException}
155
+ * @throws {@link KiteSyntheticServiceException}
152
156
  * <p>Base exception class for all service exceptions from Kite service.</p>
153
157
  *
154
158
  *
@@ -1,7 +1,7 @@
1
- import { KiteClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KiteClient";
2
- import { GetSmsNumberConfigurationInput, GetSmsNumberConfigurationOutput } 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 { KiteClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KiteClient";
4
+ import type { GetSmsNumberConfigurationInput, GetSmsNumberConfigurationOutput } from "../models/models_0";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -22,9 +22,11 @@ export interface GetSmsNumberConfigurationCommandInput extends GetSmsNumberConfi
22
22
  export interface GetSmsNumberConfigurationCommandOutput extends GetSmsNumberConfigurationOutput, __MetadataBearer {
23
23
  }
24
24
  declare const GetSmsNumberConfigurationCommand_base: {
25
- new (input: GetSmsNumberConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl<GetSmsNumberConfigurationCommandInput, GetSmsNumberConfigurationCommandOutput, KiteClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (__0_0: GetSmsNumberConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl<GetSmsNumberConfigurationCommandInput, GetSmsNumberConfigurationCommandOutput, KiteClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: GetSmsNumberConfigurationCommandInput): import("@smithy/core/client").CommandImpl<GetSmsNumberConfigurationCommandInput, GetSmsNumberConfigurationCommandOutput, KiteClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: GetSmsNumberConfigurationCommandInput): import("@smithy/core/client").CommandImpl<GetSmsNumberConfigurationCommandInput, GetSmsNumberConfigurationCommandOutput, KiteClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * Retrieves the SMS configuration settings for a specific service number.
@@ -33,6 +35,8 @@ declare const GetSmsNumberConfigurationCommand_base: {
33
35
  * ```javascript
34
36
  * import { KiteClient, GetSmsNumberConfigurationCommand } from "@wildix/xbees-kite-client"; // ES Modules import
35
37
  * // const { KiteClient, GetSmsNumberConfigurationCommand } = require("@wildix/xbees-kite-client"); // CommonJS import
38
+ * // import type { KiteClientConfig } from "@wildix/xbees-kite-client";
39
+ * const config = {}; // type is KiteClientConfig
36
40
  * const client = new KiteClient(config);
37
41
  * const input = { // GetSmsNumberConfigurationInput
38
42
  * companyId: "STRING_VALUE",
@@ -221,7 +225,7 @@ declare const GetSmsNumberConfigurationCommand_base: {
221
225
  *
222
226
  * @throws {@link RateLimitExceededException} (client fault)
223
227
  *
224
- * @throws {@link KiteServiceException}
228
+ * @throws {@link KiteSyntheticServiceException}
225
229
  * <p>Base exception class for all service exceptions from Kite service.</p>
226
230
  *
227
231
  *