@wildix/xbees-conversations-client 1.4.1 → 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 (257) hide show
  1. package/dist-cjs/Conversations.js +3 -3
  2. package/dist-cjs/ConversationsClient.js +34 -26
  3. package/dist-cjs/auth/httpAuthExtensionConfiguration.js +43 -0
  4. package/dist-cjs/auth/httpAuthSchemeProvider.js +183 -0
  5. package/dist-cjs/commands/AddChannelMemberCommand.js +10 -11
  6. package/dist-cjs/commands/AddChannelMembersCommand.js +10 -11
  7. package/dist-cjs/commands/AssignChannelCommand.js +10 -11
  8. package/dist-cjs/commands/CreateGroupChannelCommand.js +10 -11
  9. package/dist-cjs/commands/CreateInboxTagCommand.js +10 -11
  10. package/dist-cjs/commands/CreateKiteChannelCommand.js +10 -11
  11. package/dist-cjs/commands/DeleteChannelCommand.js +10 -11
  12. package/dist-cjs/commands/DeleteChannelMemberCommand.js +10 -11
  13. package/dist-cjs/commands/DeleteInboxTagCommand.js +10 -11
  14. package/dist-cjs/commands/DeleteMessageCommand.js +10 -11
  15. package/dist-cjs/commands/DeleteMessageReactionCommand.js +10 -11
  16. package/dist-cjs/commands/DescribeEventCommand.js +10 -11
  17. package/dist-cjs/commands/GetActionTriggerResultCommand.js +10 -11
  18. package/dist-cjs/commands/GetChannelCommand.js +10 -11
  19. package/dist-cjs/commands/GetChannelMemberCommand.js +10 -11
  20. package/dist-cjs/commands/GetDirectChannelIdCommand.js +10 -11
  21. package/dist-cjs/commands/GetFilePresignedDownloadUrlCommand.js +10 -11
  22. package/dist-cjs/commands/GetInboxStateCommand.js +10 -11
  23. package/dist-cjs/commands/GetMessageCommand.js +10 -11
  24. package/dist-cjs/commands/GetOrCreateDirectChannelCommand.js +10 -11
  25. package/dist-cjs/commands/GetOrCreateSmsChannelCommand.js +10 -11
  26. package/dist-cjs/commands/GetOrCreateTelephonyChannelCommand.js +10 -11
  27. package/dist-cjs/commands/GetOrCreateWhatsAppChannelCommand.js +10 -11
  28. package/dist-cjs/commands/GetSmsChannelIdCommand.js +10 -11
  29. package/dist-cjs/commands/GetTelephonyChannelIdCommand.js +10 -11
  30. package/dist-cjs/commands/GetTokenCommand.js +10 -11
  31. package/dist-cjs/commands/GetUploadedFileInfoCommand.js +10 -11
  32. package/dist-cjs/commands/GetWhatsAppChannelIdCommand.js +10 -11
  33. package/dist-cjs/commands/HideChannelCommand.js +10 -11
  34. package/dist-cjs/commands/InviteCommand.js +10 -11
  35. package/dist-cjs/commands/JoinChannelCommand.js +10 -11
  36. package/dist-cjs/commands/LeaveChannelCommand.js +10 -11
  37. package/dist-cjs/commands/ListChannelMembersCommand.js +10 -11
  38. package/dist-cjs/commands/ListChannelMembersReadStatusCommand.js +10 -11
  39. package/dist-cjs/commands/ListChannelsCommand.js +10 -11
  40. package/dist-cjs/commands/ListInboxTaggedChannelsCommand.js +10 -11
  41. package/dist-cjs/commands/ListInboxTagsCommand.js +10 -11
  42. package/dist-cjs/commands/ListMessageReactionsCommand.js +10 -11
  43. package/dist-cjs/commands/ListMessagesCommand.js +10 -11
  44. package/dist-cjs/commands/ListPinnedMessagesCommand.js +10 -11
  45. package/dist-cjs/commands/MarkReadCommand.js +10 -11
  46. package/dist-cjs/commands/MarkUnreadCommand.js +10 -11
  47. package/dist-cjs/commands/PartialUpdateChannelCommand.js +10 -11
  48. package/dist-cjs/commands/PartialUpdateMessageCommand.js +10 -11
  49. package/dist-cjs/commands/PinChannelCommand.js +10 -11
  50. package/dist-cjs/commands/PinMessageCommand.js +10 -11
  51. package/dist-cjs/commands/QueryChannelsCommand.js +10 -11
  52. package/dist-cjs/commands/ScheduleExternalFlagAdjustmentJobCommand.js +10 -11
  53. package/dist-cjs/commands/SendActionTriggerResultCommand.js +10 -11
  54. package/dist-cjs/commands/SendGiphyCommand.js +10 -11
  55. package/dist-cjs/commands/SendMessageCommand.js +10 -11
  56. package/dist-cjs/commands/SendMessageReactionCommand.js +10 -11
  57. package/dist-cjs/commands/SendSystemMessageCommand.js +10 -11
  58. package/dist-cjs/commands/SendTypingStartCommand.js +10 -11
  59. package/dist-cjs/commands/SendTypingStopCommand.js +10 -11
  60. package/dist-cjs/commands/ShowChannelCommand.js +10 -11
  61. package/dist-cjs/commands/TagChannelCommand.js +10 -11
  62. package/dist-cjs/commands/TriggerMessageActionCommand.js +10 -11
  63. package/dist-cjs/commands/UnpinChannelCommand.js +10 -11
  64. package/dist-cjs/commands/UnpinMessageCommand.js +10 -11
  65. package/dist-cjs/commands/UntagChannelCommand.js +10 -11
  66. package/dist-cjs/commands/UpdateChannelCommand.js +10 -11
  67. package/dist-cjs/commands/UpdateInboxTagCommand.js +10 -11
  68. package/dist-cjs/commands/UpdateMessageCommand.js +10 -11
  69. package/dist-cjs/commands/UploadFileCommand.js +10 -11
  70. package/dist-cjs/endpoint/EndpointParameters.js +16 -0
  71. package/dist-cjs/endpoint/bdd.js +28 -0
  72. package/dist-cjs/endpoint/endpointResolver.js +16 -0
  73. package/dist-cjs/index.js +7 -4
  74. package/dist-cjs/models/ConversationsSyntheticServiceException.js +12 -0
  75. package/dist-cjs/models/enums.js +124 -0
  76. package/dist-cjs/models/errors.js +274 -0
  77. package/dist-cjs/models/models_0.js +0 -438
  78. package/dist-cjs/runtimeConfig.browser.js +11 -11
  79. package/dist-cjs/runtimeConfig.js +22 -18
  80. package/dist-cjs/runtimeConfig.shared.js +30 -10
  81. package/dist-cjs/runtimeExtensions.js +6 -5
  82. package/dist-cjs/schemas/schemas_0.js +1854 -0
  83. package/dist-es/Conversations.js +6 -6
  84. package/dist-es/ConversationsClient.js +30 -22
  85. package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
  86. package/dist-es/auth/httpAuthSchemeProvider.js +177 -0
  87. package/dist-es/commands/AddChannelMemberCommand.js +9 -10
  88. package/dist-es/commands/AddChannelMembersCommand.js +9 -10
  89. package/dist-es/commands/AssignChannelCommand.js +9 -10
  90. package/dist-es/commands/CreateGroupChannelCommand.js +9 -10
  91. package/dist-es/commands/CreateInboxTagCommand.js +9 -10
  92. package/dist-es/commands/CreateKiteChannelCommand.js +9 -10
  93. package/dist-es/commands/DeleteChannelCommand.js +9 -10
  94. package/dist-es/commands/DeleteChannelMemberCommand.js +9 -10
  95. package/dist-es/commands/DeleteInboxTagCommand.js +9 -10
  96. package/dist-es/commands/DeleteMessageCommand.js +9 -10
  97. package/dist-es/commands/DeleteMessageReactionCommand.js +9 -10
  98. package/dist-es/commands/DescribeEventCommand.js +9 -10
  99. package/dist-es/commands/GetActionTriggerResultCommand.js +9 -10
  100. package/dist-es/commands/GetChannelCommand.js +9 -10
  101. package/dist-es/commands/GetChannelMemberCommand.js +9 -10
  102. package/dist-es/commands/GetDirectChannelIdCommand.js +9 -10
  103. package/dist-es/commands/GetFilePresignedDownloadUrlCommand.js +9 -10
  104. package/dist-es/commands/GetInboxStateCommand.js +9 -10
  105. package/dist-es/commands/GetMessageCommand.js +9 -10
  106. package/dist-es/commands/GetOrCreateDirectChannelCommand.js +9 -10
  107. package/dist-es/commands/GetOrCreateSmsChannelCommand.js +9 -10
  108. package/dist-es/commands/GetOrCreateTelephonyChannelCommand.js +9 -10
  109. package/dist-es/commands/GetOrCreateWhatsAppChannelCommand.js +9 -10
  110. package/dist-es/commands/GetSmsChannelIdCommand.js +9 -10
  111. package/dist-es/commands/GetTelephonyChannelIdCommand.js +9 -10
  112. package/dist-es/commands/GetTokenCommand.js +9 -10
  113. package/dist-es/commands/GetUploadedFileInfoCommand.js +9 -10
  114. package/dist-es/commands/GetWhatsAppChannelIdCommand.js +9 -10
  115. package/dist-es/commands/HideChannelCommand.js +9 -10
  116. package/dist-es/commands/InviteCommand.js +9 -10
  117. package/dist-es/commands/JoinChannelCommand.js +9 -10
  118. package/dist-es/commands/LeaveChannelCommand.js +9 -10
  119. package/dist-es/commands/ListChannelMembersCommand.js +9 -10
  120. package/dist-es/commands/ListChannelMembersReadStatusCommand.js +9 -10
  121. package/dist-es/commands/ListChannelsCommand.js +9 -10
  122. package/dist-es/commands/ListInboxTaggedChannelsCommand.js +9 -10
  123. package/dist-es/commands/ListInboxTagsCommand.js +9 -10
  124. package/dist-es/commands/ListMessageReactionsCommand.js +9 -10
  125. package/dist-es/commands/ListMessagesCommand.js +9 -10
  126. package/dist-es/commands/ListPinnedMessagesCommand.js +9 -10
  127. package/dist-es/commands/MarkReadCommand.js +9 -10
  128. package/dist-es/commands/MarkUnreadCommand.js +9 -10
  129. package/dist-es/commands/PartialUpdateChannelCommand.js +9 -10
  130. package/dist-es/commands/PartialUpdateMessageCommand.js +9 -10
  131. package/dist-es/commands/PinChannelCommand.js +9 -10
  132. package/dist-es/commands/PinMessageCommand.js +9 -10
  133. package/dist-es/commands/QueryChannelsCommand.js +9 -10
  134. package/dist-es/commands/ScheduleExternalFlagAdjustmentJobCommand.js +9 -10
  135. package/dist-es/commands/SendActionTriggerResultCommand.js +9 -10
  136. package/dist-es/commands/SendGiphyCommand.js +9 -10
  137. package/dist-es/commands/SendMessageCommand.js +9 -10
  138. package/dist-es/commands/SendMessageReactionCommand.js +9 -10
  139. package/dist-es/commands/SendSystemMessageCommand.js +9 -10
  140. package/dist-es/commands/SendTypingStartCommand.js +9 -10
  141. package/dist-es/commands/SendTypingStopCommand.js +9 -10
  142. package/dist-es/commands/ShowChannelCommand.js +9 -10
  143. package/dist-es/commands/TagChannelCommand.js +9 -10
  144. package/dist-es/commands/TriggerMessageActionCommand.js +9 -10
  145. package/dist-es/commands/UnpinChannelCommand.js +9 -10
  146. package/dist-es/commands/UnpinMessageCommand.js +9 -10
  147. package/dist-es/commands/UntagChannelCommand.js +9 -10
  148. package/dist-es/commands/UpdateChannelCommand.js +9 -10
  149. package/dist-es/commands/UpdateInboxTagCommand.js +9 -10
  150. package/dist-es/commands/UpdateMessageCommand.js +9 -10
  151. package/dist-es/commands/UploadFileCommand.js +9 -10
  152. package/dist-es/endpoint/EndpointParameters.js +12 -0
  153. package/dist-es/endpoint/bdd.js +25 -0
  154. package/dist-es/endpoint/endpointResolver.js +12 -0
  155. package/dist-es/index.js +5 -2
  156. package/dist-es/models/ConversationsSyntheticServiceException.js +8 -0
  157. package/dist-es/models/enums.js +121 -0
  158. package/dist-es/models/errors.js +251 -0
  159. package/dist-es/models/models_0.js +1 -418
  160. package/dist-es/runtimeConfig.browser.js +7 -7
  161. package/dist-es/runtimeConfig.js +17 -13
  162. package/dist-es/runtimeConfig.shared.js +24 -4
  163. package/dist-es/runtimeExtensions.js +6 -5
  164. package/dist-es/schemas/schemas_0.js +1846 -0
  165. package/dist-types/Conversations.d.ts +66 -66
  166. package/dist-types/ConversationsClient.d.ts +95 -77
  167. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
  168. package/dist-types/auth/httpAuthSchemeProvider.d.ts +81 -0
  169. package/dist-types/commands/AddChannelMemberCommand.d.ts +15 -14
  170. package/dist-types/commands/AddChannelMembersCommand.d.ts +12 -8
  171. package/dist-types/commands/AssignChannelCommand.d.ts +12 -8
  172. package/dist-types/commands/CreateGroupChannelCommand.d.ts +12 -8
  173. package/dist-types/commands/CreateInboxTagCommand.d.ts +12 -8
  174. package/dist-types/commands/CreateKiteChannelCommand.d.ts +12 -8
  175. package/dist-types/commands/DeleteChannelCommand.d.ts +12 -8
  176. package/dist-types/commands/DeleteChannelMemberCommand.d.ts +12 -8
  177. package/dist-types/commands/DeleteInboxTagCommand.d.ts +12 -8
  178. package/dist-types/commands/DeleteMessageCommand.d.ts +12 -8
  179. package/dist-types/commands/DeleteMessageReactionCommand.d.ts +12 -8
  180. package/dist-types/commands/DescribeEventCommand.d.ts +12 -8
  181. package/dist-types/commands/GetActionTriggerResultCommand.d.ts +12 -8
  182. package/dist-types/commands/GetChannelCommand.d.ts +12 -8
  183. package/dist-types/commands/GetChannelMemberCommand.d.ts +12 -8
  184. package/dist-types/commands/GetDirectChannelIdCommand.d.ts +12 -8
  185. package/dist-types/commands/GetFilePresignedDownloadUrlCommand.d.ts +12 -8
  186. package/dist-types/commands/GetInboxStateCommand.d.ts +12 -8
  187. package/dist-types/commands/GetMessageCommand.d.ts +12 -8
  188. package/dist-types/commands/GetOrCreateDirectChannelCommand.d.ts +12 -8
  189. package/dist-types/commands/GetOrCreateSmsChannelCommand.d.ts +12 -8
  190. package/dist-types/commands/GetOrCreateTelephonyChannelCommand.d.ts +12 -8
  191. package/dist-types/commands/GetOrCreateWhatsAppChannelCommand.d.ts +12 -8
  192. package/dist-types/commands/GetSmsChannelIdCommand.d.ts +12 -8
  193. package/dist-types/commands/GetTelephonyChannelIdCommand.d.ts +12 -8
  194. package/dist-types/commands/GetTokenCommand.d.ts +12 -8
  195. package/dist-types/commands/GetUploadedFileInfoCommand.d.ts +12 -8
  196. package/dist-types/commands/GetWhatsAppChannelIdCommand.d.ts +12 -8
  197. package/dist-types/commands/HideChannelCommand.d.ts +12 -8
  198. package/dist-types/commands/InviteCommand.d.ts +12 -8
  199. package/dist-types/commands/JoinChannelCommand.d.ts +12 -8
  200. package/dist-types/commands/LeaveChannelCommand.d.ts +12 -8
  201. package/dist-types/commands/ListChannelMembersCommand.d.ts +12 -8
  202. package/dist-types/commands/ListChannelMembersReadStatusCommand.d.ts +12 -8
  203. package/dist-types/commands/ListChannelsCommand.d.ts +12 -8
  204. package/dist-types/commands/ListInboxTaggedChannelsCommand.d.ts +12 -8
  205. package/dist-types/commands/ListInboxTagsCommand.d.ts +12 -8
  206. package/dist-types/commands/ListMessageReactionsCommand.d.ts +12 -8
  207. package/dist-types/commands/ListMessagesCommand.d.ts +12 -8
  208. package/dist-types/commands/ListPinnedMessagesCommand.d.ts +12 -8
  209. package/dist-types/commands/MarkReadCommand.d.ts +12 -8
  210. package/dist-types/commands/MarkUnreadCommand.d.ts +12 -8
  211. package/dist-types/commands/PartialUpdateChannelCommand.d.ts +12 -8
  212. package/dist-types/commands/PartialUpdateMessageCommand.d.ts +12 -8
  213. package/dist-types/commands/PinChannelCommand.d.ts +12 -8
  214. package/dist-types/commands/PinMessageCommand.d.ts +12 -8
  215. package/dist-types/commands/QueryChannelsCommand.d.ts +12 -8
  216. package/dist-types/commands/ScheduleExternalFlagAdjustmentJobCommand.d.ts +12 -8
  217. package/dist-types/commands/SendActionTriggerResultCommand.d.ts +12 -8
  218. package/dist-types/commands/SendGiphyCommand.d.ts +12 -8
  219. package/dist-types/commands/SendMessageCommand.d.ts +12 -8
  220. package/dist-types/commands/SendMessageReactionCommand.d.ts +12 -8
  221. package/dist-types/commands/SendSystemMessageCommand.d.ts +12 -8
  222. package/dist-types/commands/SendTypingStartCommand.d.ts +12 -8
  223. package/dist-types/commands/SendTypingStopCommand.d.ts +12 -8
  224. package/dist-types/commands/ShowChannelCommand.d.ts +12 -8
  225. package/dist-types/commands/TagChannelCommand.d.ts +12 -8
  226. package/dist-types/commands/TriggerMessageActionCommand.d.ts +12 -8
  227. package/dist-types/commands/UnpinChannelCommand.d.ts +12 -8
  228. package/dist-types/commands/UnpinMessageCommand.d.ts +12 -8
  229. package/dist-types/commands/UntagChannelCommand.d.ts +12 -8
  230. package/dist-types/commands/UpdateChannelCommand.d.ts +12 -8
  231. package/dist-types/commands/UpdateInboxTagCommand.d.ts +12 -8
  232. package/dist-types/commands/UpdateMessageCommand.d.ts +12 -8
  233. package/dist-types/commands/UploadFileCommand.d.ts +12 -8
  234. package/dist-types/endpoint/EndpointParameters.d.ts +41 -0
  235. package/dist-types/endpoint/bdd.d.ts +2 -0
  236. package/dist-types/endpoint/endpointResolver.d.ts +8 -0
  237. package/dist-types/extensionConfiguration.d.ts +4 -3
  238. package/dist-types/index.d.ts +6 -2
  239. package/dist-types/models/{ConversationsServiceException.d.ts → ConversationsSyntheticServiceException.d.ts} +2 -2
  240. package/dist-types/models/enums.d.ts +285 -0
  241. package/dist-types/models/errors.d.ts +244 -0
  242. package/dist-types/models/models_0.d.ts +107 -610
  243. package/dist-types/runtimeConfig.browser.d.ts +35 -16
  244. package/dist-types/runtimeConfig.d.ts +34 -15
  245. package/dist-types/runtimeConfig.native.d.ts +36 -17
  246. package/dist-types/runtimeConfig.shared.d.ts +20 -3
  247. package/dist-types/runtimeExtensions.d.ts +1 -1
  248. package/dist-types/schemas/schemas_0.d.ts +286 -0
  249. package/package.json +14 -40
  250. package/dist-cjs/models/ConversationsServiceException.js +0 -12
  251. package/dist-cjs/models/index.js +0 -4
  252. package/dist-cjs/protocols/Aws_restJson1.js +0 -2559
  253. package/dist-es/models/ConversationsServiceException.js +0 -8
  254. package/dist-es/models/index.js +0 -1
  255. package/dist-es/protocols/Aws_restJson1.js +0 -2424
  256. package/dist-types/models/index.d.ts +0 -1
  257. package/dist-types/protocols/Aws_restJson1.d.ts +0 -587
@@ -1,7 +1,7 @@
1
- import { ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConversationsClient";
2
- import { GetDirectChannelIdInput, GetDirectChannelIdOutput } 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 { ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConversationsClient";
4
+ import type { GetDirectChannelIdInput, GetDirectChannelIdOutput } from "../models/models_0";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -22,9 +22,11 @@ export interface GetDirectChannelIdCommandInput extends GetDirectChannelIdInput
22
22
  export interface GetDirectChannelIdCommandOutput extends GetDirectChannelIdOutput, __MetadataBearer {
23
23
  }
24
24
  declare const GetDirectChannelIdCommand_base: {
25
- new (input: GetDirectChannelIdCommandInput): import("@smithy/smithy-client").CommandImpl<GetDirectChannelIdCommandInput, GetDirectChannelIdCommandOutput, ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (...[input]: [] | [GetDirectChannelIdCommandInput]): import("@smithy/smithy-client").CommandImpl<GetDirectChannelIdCommandInput, GetDirectChannelIdCommandOutput, ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: GetDirectChannelIdCommandInput): import("@smithy/core/client").CommandImpl<GetDirectChannelIdCommandInput, GetDirectChannelIdCommandOutput, ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (...[input]: [] | [GetDirectChannelIdCommandInput]): import("@smithy/core/client").CommandImpl<GetDirectChannelIdCommandInput, GetDirectChannelIdCommandOutput, ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * Gets the channel ID of an existing or non-existing direct channel between the specified user and another member.
@@ -33,6 +35,8 @@ declare const GetDirectChannelIdCommand_base: {
33
35
  * ```javascript
34
36
  * import { ConversationsClient, GetDirectChannelIdCommand } from "@wildix/xbees-conversations-client"; // ES Modules import
35
37
  * // const { ConversationsClient, GetDirectChannelIdCommand } = require("@wildix/xbees-conversations-client"); // CommonJS import
38
+ * // import type { ConversationsClientConfig } from "@wildix/xbees-conversations-client";
39
+ * const config = {}; // type is ConversationsClientConfig
36
40
  * const client = new ConversationsClient(config);
37
41
  * const input = { // GetDirectChannelIdInput
38
42
  * userId: "STRING_VALUE",
@@ -64,7 +68,7 @@ declare const GetDirectChannelIdCommand_base: {
64
68
  *
65
69
  * @throws {@link RateLimitExceededException} (client fault)
66
70
  *
67
- * @throws {@link ConversationsServiceException}
71
+ * @throws {@link ConversationsSyntheticServiceException}
68
72
  * <p>Base exception class for all service exceptions from Conversations service.</p>
69
73
  *
70
74
  *
@@ -1,7 +1,7 @@
1
- import { ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConversationsClient";
2
- import { GetFilePresignedDownloadUrlInput, GetFilePresignedDownloadUrlOutput } 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 { ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConversationsClient";
4
+ import type { GetFilePresignedDownloadUrlInput, GetFilePresignedDownloadUrlOutput } from "../models/models_0";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -22,9 +22,11 @@ export interface GetFilePresignedDownloadUrlCommandInput extends GetFilePresigne
22
22
  export interface GetFilePresignedDownloadUrlCommandOutput extends GetFilePresignedDownloadUrlOutput, __MetadataBearer {
23
23
  }
24
24
  declare const GetFilePresignedDownloadUrlCommand_base: {
25
- new (input: GetFilePresignedDownloadUrlCommandInput): import("@smithy/smithy-client").CommandImpl<GetFilePresignedDownloadUrlCommandInput, GetFilePresignedDownloadUrlCommandOutput, ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (__0_0: GetFilePresignedDownloadUrlCommandInput): import("@smithy/smithy-client").CommandImpl<GetFilePresignedDownloadUrlCommandInput, GetFilePresignedDownloadUrlCommandOutput, ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: GetFilePresignedDownloadUrlCommandInput): import("@smithy/core/client").CommandImpl<GetFilePresignedDownloadUrlCommandInput, GetFilePresignedDownloadUrlCommandOutput, ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: GetFilePresignedDownloadUrlCommandInput): import("@smithy/core/client").CommandImpl<GetFilePresignedDownloadUrlCommandInput, GetFilePresignedDownloadUrlCommandOutput, ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * Retrieves a presigned URL for downloading a specific file from a message in a specified channel.
@@ -33,6 +35,8 @@ declare const GetFilePresignedDownloadUrlCommand_base: {
33
35
  * ```javascript
34
36
  * import { ConversationsClient, GetFilePresignedDownloadUrlCommand } from "@wildix/xbees-conversations-client"; // ES Modules import
35
37
  * // const { ConversationsClient, GetFilePresignedDownloadUrlCommand } = require("@wildix/xbees-conversations-client"); // CommonJS import
38
+ * // import type { ConversationsClientConfig } from "@wildix/xbees-conversations-client";
39
+ * const config = {}; // type is ConversationsClientConfig
36
40
  * const client = new ConversationsClient(config);
37
41
  * const input = { // GetFilePresignedDownloadUrlInput
38
42
  * channelId: "STRING_VALUE", // required
@@ -67,7 +71,7 @@ declare const GetFilePresignedDownloadUrlCommand_base: {
67
71
  *
68
72
  * @throws {@link RateLimitExceededException} (client fault)
69
73
  *
70
- * @throws {@link ConversationsServiceException}
74
+ * @throws {@link ConversationsSyntheticServiceException}
71
75
  * <p>Base exception class for all service exceptions from Conversations service.</p>
72
76
  *
73
77
  *
@@ -1,7 +1,7 @@
1
- import { ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConversationsClient";
2
- import { GetInboxStateInput, GetInboxStateOutput } 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 { ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConversationsClient";
4
+ import type { GetInboxStateInput, GetInboxStateOutput } from "../models/models_0";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -22,9 +22,11 @@ export interface GetInboxStateCommandInput extends GetInboxStateInput {
22
22
  export interface GetInboxStateCommandOutput extends GetInboxStateOutput, __MetadataBearer {
23
23
  }
24
24
  declare const GetInboxStateCommand_base: {
25
- new (input: GetInboxStateCommandInput): import("@smithy/smithy-client").CommandImpl<GetInboxStateCommandInput, GetInboxStateCommandOutput, ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (...[input]: [] | [GetInboxStateCommandInput]): import("@smithy/smithy-client").CommandImpl<GetInboxStateCommandInput, GetInboxStateCommandOutput, ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: GetInboxStateCommandInput): import("@smithy/core/client").CommandImpl<GetInboxStateCommandInput, GetInboxStateCommandOutput, ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (...[input]: [] | [GetInboxStateCommandInput]): import("@smithy/core/client").CommandImpl<GetInboxStateCommandInput, GetInboxStateCommandOutput, ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * Retrieves the user's inbox state to track pinned, tagged, and unread markers.
@@ -33,6 +35,8 @@ declare const GetInboxStateCommand_base: {
33
35
  * ```javascript
34
36
  * import { ConversationsClient, GetInboxStateCommand } from "@wildix/xbees-conversations-client"; // ES Modules import
35
37
  * // const { ConversationsClient, GetInboxStateCommand } = require("@wildix/xbees-conversations-client"); // CommonJS import
38
+ * // import type { ConversationsClientConfig } from "@wildix/xbees-conversations-client";
39
+ * const config = {}; // type is ConversationsClientConfig
36
40
  * const client = new ConversationsClient(config);
37
41
  * const input = { // GetInboxStateInput
38
42
  * userId: "STRING_VALUE",
@@ -83,7 +87,7 @@ declare const GetInboxStateCommand_base: {
83
87
  *
84
88
  * @throws {@link RateLimitExceededException} (client fault)
85
89
  *
86
- * @throws {@link ConversationsServiceException}
90
+ * @throws {@link ConversationsSyntheticServiceException}
87
91
  * <p>Base exception class for all service exceptions from Conversations service.</p>
88
92
  *
89
93
  *
@@ -1,7 +1,7 @@
1
- import { ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConversationsClient";
2
- import { GetMessageInput, GetMessageOutput } 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 { ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConversationsClient";
4
+ import type { GetMessageInput, GetMessageOutput } from "../models/models_0";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -22,9 +22,11 @@ export interface GetMessageCommandInput extends GetMessageInput {
22
22
  export interface GetMessageCommandOutput extends GetMessageOutput, __MetadataBearer {
23
23
  }
24
24
  declare const GetMessageCommand_base: {
25
- new (input: GetMessageCommandInput): import("@smithy/smithy-client").CommandImpl<GetMessageCommandInput, GetMessageCommandOutput, ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (__0_0: GetMessageCommandInput): import("@smithy/smithy-client").CommandImpl<GetMessageCommandInput, GetMessageCommandOutput, ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: GetMessageCommandInput): import("@smithy/core/client").CommandImpl<GetMessageCommandInput, GetMessageCommandOutput, ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: GetMessageCommandInput): import("@smithy/core/client").CommandImpl<GetMessageCommandInput, GetMessageCommandOutput, ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * Retrieves a specific message from a specified channel.
@@ -33,6 +35,8 @@ declare const GetMessageCommand_base: {
33
35
  * ```javascript
34
36
  * import { ConversationsClient, GetMessageCommand } from "@wildix/xbees-conversations-client"; // ES Modules import
35
37
  * // const { ConversationsClient, GetMessageCommand } = require("@wildix/xbees-conversations-client"); // CommonJS import
38
+ * // import type { ConversationsClientConfig } from "@wildix/xbees-conversations-client";
39
+ * const config = {}; // type is ConversationsClientConfig
36
40
  * const client = new ConversationsClient(config);
37
41
  * const input = { // GetMessageInput
38
42
  * channelId: "STRING_VALUE", // required
@@ -228,7 +232,7 @@ declare const GetMessageCommand_base: {
228
232
  *
229
233
  * @throws {@link RateLimitExceededException} (client fault)
230
234
  *
231
- * @throws {@link ConversationsServiceException}
235
+ * @throws {@link ConversationsSyntheticServiceException}
232
236
  * <p>Base exception class for all service exceptions from Conversations service.</p>
233
237
  *
234
238
  *
@@ -1,7 +1,7 @@
1
- import { ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConversationsClient";
2
- import { GetOrCreateDirectChannelInput, GetOrCreateDirectChannelOutput } 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 { ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConversationsClient";
4
+ import type { GetOrCreateDirectChannelInput, GetOrCreateDirectChannelOutput } from "../models/models_0";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -22,9 +22,11 @@ export interface GetOrCreateDirectChannelCommandInput extends GetOrCreateDirectC
22
22
  export interface GetOrCreateDirectChannelCommandOutput extends GetOrCreateDirectChannelOutput, __MetadataBearer {
23
23
  }
24
24
  declare const GetOrCreateDirectChannelCommand_base: {
25
- new (input: GetOrCreateDirectChannelCommandInput): import("@smithy/smithy-client").CommandImpl<GetOrCreateDirectChannelCommandInput, GetOrCreateDirectChannelCommandOutput, ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (...[input]: [] | [GetOrCreateDirectChannelCommandInput]): import("@smithy/smithy-client").CommandImpl<GetOrCreateDirectChannelCommandInput, GetOrCreateDirectChannelCommandOutput, ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: GetOrCreateDirectChannelCommandInput): import("@smithy/core/client").CommandImpl<GetOrCreateDirectChannelCommandInput, GetOrCreateDirectChannelCommandOutput, ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (...[input]: [] | [GetOrCreateDirectChannelCommandInput]): import("@smithy/core/client").CommandImpl<GetOrCreateDirectChannelCommandInput, GetOrCreateDirectChannelCommandOutput, ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * Gets or creates a direct channel between the specified user and another member.
@@ -33,6 +35,8 @@ declare const GetOrCreateDirectChannelCommand_base: {
33
35
  * ```javascript
34
36
  * import { ConversationsClient, GetOrCreateDirectChannelCommand } from "@wildix/xbees-conversations-client"; // ES Modules import
35
37
  * // const { ConversationsClient, GetOrCreateDirectChannelCommand } = require("@wildix/xbees-conversations-client"); // CommonJS import
38
+ * // import type { ConversationsClientConfig } from "@wildix/xbees-conversations-client";
39
+ * const config = {}; // type is ConversationsClientConfig
36
40
  * const client = new ConversationsClient(config);
37
41
  * const input = { // GetOrCreateDirectChannelInput
38
42
  * userId: "STRING_VALUE",
@@ -138,7 +142,7 @@ declare const GetOrCreateDirectChannelCommand_base: {
138
142
  *
139
143
  * @throws {@link RateLimitExceededException} (client fault)
140
144
  *
141
- * @throws {@link ConversationsServiceException}
145
+ * @throws {@link ConversationsSyntheticServiceException}
142
146
  * <p>Base exception class for all service exceptions from Conversations service.</p>
143
147
  *
144
148
  *
@@ -1,7 +1,7 @@
1
- import { ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConversationsClient";
2
- import { GetOrCreateSmsChannelInput, GetOrCreateSmsChannelOutput } 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 { ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConversationsClient";
4
+ import type { GetOrCreateSmsChannelInput, GetOrCreateSmsChannelOutput } from "../models/models_0";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -22,9 +22,11 @@ export interface GetOrCreateSmsChannelCommandInput extends GetOrCreateSmsChannel
22
22
  export interface GetOrCreateSmsChannelCommandOutput extends GetOrCreateSmsChannelOutput, __MetadataBearer {
23
23
  }
24
24
  declare const GetOrCreateSmsChannelCommand_base: {
25
- new (input: GetOrCreateSmsChannelCommandInput): import("@smithy/smithy-client").CommandImpl<GetOrCreateSmsChannelCommandInput, GetOrCreateSmsChannelCommandOutput, ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (__0_0: GetOrCreateSmsChannelCommandInput): import("@smithy/smithy-client").CommandImpl<GetOrCreateSmsChannelCommandInput, GetOrCreateSmsChannelCommandOutput, ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: GetOrCreateSmsChannelCommandInput): import("@smithy/core/client").CommandImpl<GetOrCreateSmsChannelCommandInput, GetOrCreateSmsChannelCommandOutput, ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: GetOrCreateSmsChannelCommandInput): import("@smithy/core/client").CommandImpl<GetOrCreateSmsChannelCommandInput, GetOrCreateSmsChannelCommandOutput, ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * Gets or creates a SMS channel
@@ -33,6 +35,8 @@ declare const GetOrCreateSmsChannelCommand_base: {
33
35
  * ```javascript
34
36
  * import { ConversationsClient, GetOrCreateSmsChannelCommand } from "@wildix/xbees-conversations-client"; // ES Modules import
35
37
  * // const { ConversationsClient, GetOrCreateSmsChannelCommand } = require("@wildix/xbees-conversations-client"); // CommonJS import
38
+ * // import type { ConversationsClientConfig } from "@wildix/xbees-conversations-client";
39
+ * const config = {}; // type is ConversationsClientConfig
36
40
  * const client = new ConversationsClient(config);
37
41
  * const input = { // GetOrCreateSmsChannelInput
38
42
  * userId: "STRING_VALUE",
@@ -135,7 +139,7 @@ declare const GetOrCreateSmsChannelCommand_base: {
135
139
  *
136
140
  * @throws {@link RateLimitExceededException} (client fault)
137
141
  *
138
- * @throws {@link ConversationsServiceException}
142
+ * @throws {@link ConversationsSyntheticServiceException}
139
143
  * <p>Base exception class for all service exceptions from Conversations service.</p>
140
144
  *
141
145
  *
@@ -1,7 +1,7 @@
1
- import { ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConversationsClient";
2
- import { GetOrCreateTelephonyChannelInput, GetOrCreateTelephonyChannelOutput } 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 { ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConversationsClient";
4
+ import type { GetOrCreateTelephonyChannelInput, GetOrCreateTelephonyChannelOutput } from "../models/models_0";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -22,9 +22,11 @@ export interface GetOrCreateTelephonyChannelCommandInput extends GetOrCreateTele
22
22
  export interface GetOrCreateTelephonyChannelCommandOutput extends GetOrCreateTelephonyChannelOutput, __MetadataBearer {
23
23
  }
24
24
  declare const GetOrCreateTelephonyChannelCommand_base: {
25
- new (input: GetOrCreateTelephonyChannelCommandInput): import("@smithy/smithy-client").CommandImpl<GetOrCreateTelephonyChannelCommandInput, GetOrCreateTelephonyChannelCommandOutput, ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (__0_0: GetOrCreateTelephonyChannelCommandInput): import("@smithy/smithy-client").CommandImpl<GetOrCreateTelephonyChannelCommandInput, GetOrCreateTelephonyChannelCommandOutput, ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: GetOrCreateTelephonyChannelCommandInput): import("@smithy/core/client").CommandImpl<GetOrCreateTelephonyChannelCommandInput, GetOrCreateTelephonyChannelCommandOutput, ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: GetOrCreateTelephonyChannelCommandInput): import("@smithy/core/client").CommandImpl<GetOrCreateTelephonyChannelCommandInput, GetOrCreateTelephonyChannelCommandOutput, ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * Gets or creates a telephony channel
@@ -33,6 +35,8 @@ declare const GetOrCreateTelephonyChannelCommand_base: {
33
35
  * ```javascript
34
36
  * import { ConversationsClient, GetOrCreateTelephonyChannelCommand } from "@wildix/xbees-conversations-client"; // ES Modules import
35
37
  * // const { ConversationsClient, GetOrCreateTelephonyChannelCommand } = require("@wildix/xbees-conversations-client"); // CommonJS import
38
+ * // import type { ConversationsClientConfig } from "@wildix/xbees-conversations-client";
39
+ * const config = {}; // type is ConversationsClientConfig
36
40
  * const client = new ConversationsClient(config);
37
41
  * const input = { // GetOrCreateTelephonyChannelInput
38
42
  * userId: "STRING_VALUE",
@@ -134,7 +138,7 @@ declare const GetOrCreateTelephonyChannelCommand_base: {
134
138
  *
135
139
  * @throws {@link RateLimitExceededException} (client fault)
136
140
  *
137
- * @throws {@link ConversationsServiceException}
141
+ * @throws {@link ConversationsSyntheticServiceException}
138
142
  * <p>Base exception class for all service exceptions from Conversations service.</p>
139
143
  *
140
144
  *
@@ -1,7 +1,7 @@
1
- import { ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConversationsClient";
2
- import { GetOrCreateWhatsAppChannelInput, GetOrCreateWhatsAppChannelOutput } 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 { ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConversationsClient";
4
+ import type { GetOrCreateWhatsAppChannelInput, GetOrCreateWhatsAppChannelOutput } from "../models/models_0";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -22,9 +22,11 @@ export interface GetOrCreateWhatsAppChannelCommandInput extends GetOrCreateWhats
22
22
  export interface GetOrCreateWhatsAppChannelCommandOutput extends GetOrCreateWhatsAppChannelOutput, __MetadataBearer {
23
23
  }
24
24
  declare const GetOrCreateWhatsAppChannelCommand_base: {
25
- new (input: GetOrCreateWhatsAppChannelCommandInput): import("@smithy/smithy-client").CommandImpl<GetOrCreateWhatsAppChannelCommandInput, GetOrCreateWhatsAppChannelCommandOutput, ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (__0_0: GetOrCreateWhatsAppChannelCommandInput): import("@smithy/smithy-client").CommandImpl<GetOrCreateWhatsAppChannelCommandInput, GetOrCreateWhatsAppChannelCommandOutput, ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: GetOrCreateWhatsAppChannelCommandInput): import("@smithy/core/client").CommandImpl<GetOrCreateWhatsAppChannelCommandInput, GetOrCreateWhatsAppChannelCommandOutput, ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: GetOrCreateWhatsAppChannelCommandInput): import("@smithy/core/client").CommandImpl<GetOrCreateWhatsAppChannelCommandInput, GetOrCreateWhatsAppChannelCommandOutput, ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * Gets or creates a WhatsApp channel
@@ -33,6 +35,8 @@ declare const GetOrCreateWhatsAppChannelCommand_base: {
33
35
  * ```javascript
34
36
  * import { ConversationsClient, GetOrCreateWhatsAppChannelCommand } from "@wildix/xbees-conversations-client"; // ES Modules import
35
37
  * // const { ConversationsClient, GetOrCreateWhatsAppChannelCommand } = require("@wildix/xbees-conversations-client"); // CommonJS import
38
+ * // import type { ConversationsClientConfig } from "@wildix/xbees-conversations-client";
39
+ * const config = {}; // type is ConversationsClientConfig
36
40
  * const client = new ConversationsClient(config);
37
41
  * const input = { // GetOrCreateWhatsAppChannelInput
38
42
  * userId: "STRING_VALUE",
@@ -135,7 +139,7 @@ declare const GetOrCreateWhatsAppChannelCommand_base: {
135
139
  *
136
140
  * @throws {@link RateLimitExceededException} (client fault)
137
141
  *
138
- * @throws {@link ConversationsServiceException}
142
+ * @throws {@link ConversationsSyntheticServiceException}
139
143
  * <p>Base exception class for all service exceptions from Conversations service.</p>
140
144
  *
141
145
  *
@@ -1,7 +1,7 @@
1
- import { ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConversationsClient";
2
- import { GetSmsChannelIdInput, GetSmsChannelIdOutput } 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 { ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConversationsClient";
4
+ import type { GetSmsChannelIdInput, GetSmsChannelIdOutput } from "../models/models_0";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -22,9 +22,11 @@ export interface GetSmsChannelIdCommandInput extends GetSmsChannelIdInput {
22
22
  export interface GetSmsChannelIdCommandOutput extends GetSmsChannelIdOutput, __MetadataBearer {
23
23
  }
24
24
  declare const GetSmsChannelIdCommand_base: {
25
- new (input: GetSmsChannelIdCommandInput): import("@smithy/smithy-client").CommandImpl<GetSmsChannelIdCommandInput, GetSmsChannelIdCommandOutput, ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (__0_0: GetSmsChannelIdCommandInput): import("@smithy/smithy-client").CommandImpl<GetSmsChannelIdCommandInput, GetSmsChannelIdCommandOutput, ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: GetSmsChannelIdCommandInput): import("@smithy/core/client").CommandImpl<GetSmsChannelIdCommandInput, GetSmsChannelIdCommandOutput, ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: GetSmsChannelIdCommandInput): import("@smithy/core/client").CommandImpl<GetSmsChannelIdCommandInput, GetSmsChannelIdCommandOutput, ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * Gets the channel ID of an existing or non-existing SMS channel
@@ -33,6 +35,8 @@ declare const GetSmsChannelIdCommand_base: {
33
35
  * ```javascript
34
36
  * import { ConversationsClient, GetSmsChannelIdCommand } from "@wildix/xbees-conversations-client"; // ES Modules import
35
37
  * // const { ConversationsClient, GetSmsChannelIdCommand } = require("@wildix/xbees-conversations-client"); // CommonJS import
38
+ * // import type { ConversationsClientConfig } from "@wildix/xbees-conversations-client";
39
+ * const config = {}; // type is ConversationsClientConfig
36
40
  * const client = new ConversationsClient(config);
37
41
  * const input = { // GetSmsChannelIdInput
38
42
  * userId: "STRING_VALUE",
@@ -60,7 +64,7 @@ declare const GetSmsChannelIdCommand_base: {
60
64
  *
61
65
  * @throws {@link RateLimitExceededException} (client fault)
62
66
  *
63
- * @throws {@link ConversationsServiceException}
67
+ * @throws {@link ConversationsSyntheticServiceException}
64
68
  * <p>Base exception class for all service exceptions from Conversations service.</p>
65
69
  *
66
70
  *
@@ -1,7 +1,7 @@
1
- import { ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConversationsClient";
2
- import { GetTelephonyChannelIdInput, GetTelephonyChannelIdOutput } 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 { ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConversationsClient";
4
+ import type { GetTelephonyChannelIdInput, GetTelephonyChannelIdOutput } from "../models/models_0";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -22,9 +22,11 @@ export interface GetTelephonyChannelIdCommandInput extends GetTelephonyChannelId
22
22
  export interface GetTelephonyChannelIdCommandOutput extends GetTelephonyChannelIdOutput, __MetadataBearer {
23
23
  }
24
24
  declare const GetTelephonyChannelIdCommand_base: {
25
- new (input: GetTelephonyChannelIdCommandInput): import("@smithy/smithy-client").CommandImpl<GetTelephonyChannelIdCommandInput, GetTelephonyChannelIdCommandOutput, ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (__0_0: GetTelephonyChannelIdCommandInput): import("@smithy/smithy-client").CommandImpl<GetTelephonyChannelIdCommandInput, GetTelephonyChannelIdCommandOutput, ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: GetTelephonyChannelIdCommandInput): import("@smithy/core/client").CommandImpl<GetTelephonyChannelIdCommandInput, GetTelephonyChannelIdCommandOutput, ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: GetTelephonyChannelIdCommandInput): import("@smithy/core/client").CommandImpl<GetTelephonyChannelIdCommandInput, GetTelephonyChannelIdCommandOutput, ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * Gets the channel ID of an existing or non-existing telephony channel
@@ -33,6 +35,8 @@ declare const GetTelephonyChannelIdCommand_base: {
33
35
  * ```javascript
34
36
  * import { ConversationsClient, GetTelephonyChannelIdCommand } from "@wildix/xbees-conversations-client"; // ES Modules import
35
37
  * // const { ConversationsClient, GetTelephonyChannelIdCommand } = require("@wildix/xbees-conversations-client"); // CommonJS import
38
+ * // import type { ConversationsClientConfig } from "@wildix/xbees-conversations-client";
39
+ * const config = {}; // type is ConversationsClientConfig
36
40
  * const client = new ConversationsClient(config);
37
41
  * const input = { // GetTelephonyChannelIdInput
38
42
  * userId: "STRING_VALUE",
@@ -60,7 +64,7 @@ declare const GetTelephonyChannelIdCommand_base: {
60
64
  *
61
65
  * @throws {@link RateLimitExceededException} (client fault)
62
66
  *
63
- * @throws {@link ConversationsServiceException}
67
+ * @throws {@link ConversationsSyntheticServiceException}
64
68
  * <p>Base exception class for all service exceptions from Conversations service.</p>
65
69
  *
66
70
  *
@@ -1,7 +1,7 @@
1
- import { ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConversationsClient";
2
- import { GetTokenInput, GetTokenOutput } 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 { ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConversationsClient";
4
+ import type { GetTokenInput, GetTokenOutput } from "../models/models_0";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -22,9 +22,11 @@ export interface GetTokenCommandInput extends GetTokenInput {
22
22
  export interface GetTokenCommandOutput extends GetTokenOutput, __MetadataBearer {
23
23
  }
24
24
  declare const GetTokenCommand_base: {
25
- new (input: GetTokenCommandInput): import("@smithy/smithy-client").CommandImpl<GetTokenCommandInput, GetTokenCommandOutput, ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (...[input]: [] | [GetTokenCommandInput]): import("@smithy/smithy-client").CommandImpl<GetTokenCommandInput, GetTokenCommandOutput, ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: GetTokenCommandInput): import("@smithy/core/client").CommandImpl<GetTokenCommandInput, GetTokenCommandOutput, ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (...[input]: [] | [GetTokenCommandInput]): import("@smithy/core/client").CommandImpl<GetTokenCommandInput, GetTokenCommandOutput, ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * Retrieve an authorization token for chat.wildix-chat.com
@@ -33,6 +35,8 @@ declare const GetTokenCommand_base: {
33
35
  * ```javascript
34
36
  * import { ConversationsClient, GetTokenCommand } from "@wildix/xbees-conversations-client"; // ES Modules import
35
37
  * // const { ConversationsClient, GetTokenCommand } = require("@wildix/xbees-conversations-client"); // CommonJS import
38
+ * // import type { ConversationsClientConfig } from "@wildix/xbees-conversations-client";
39
+ * const config = {}; // type is ConversationsClientConfig
36
40
  * const client = new ConversationsClient(config);
37
41
  * const input = { // GetTokenInput
38
42
  * clientId: "STRING_VALUE",
@@ -58,7 +62,7 @@ declare const GetTokenCommand_base: {
58
62
  *
59
63
  * @throws {@link RateLimitExceededException} (client fault)
60
64
  *
61
- * @throws {@link ConversationsServiceException}
65
+ * @throws {@link ConversationsSyntheticServiceException}
62
66
  * <p>Base exception class for all service exceptions from Conversations service.</p>
63
67
  *
64
68
  *
@@ -1,7 +1,7 @@
1
- import { ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConversationsClient";
2
- import { GetUploadedFileInfoInput, GetUploadedFileInfoOutput } 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 { ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConversationsClient";
4
+ import type { GetUploadedFileInfoInput, GetUploadedFileInfoOutput } from "../models/models_0";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -22,9 +22,11 @@ export interface GetUploadedFileInfoCommandInput extends GetUploadedFileInfoInpu
22
22
  export interface GetUploadedFileInfoCommandOutput extends GetUploadedFileInfoOutput, __MetadataBearer {
23
23
  }
24
24
  declare const GetUploadedFileInfoCommand_base: {
25
- new (input: GetUploadedFileInfoCommandInput): import("@smithy/smithy-client").CommandImpl<GetUploadedFileInfoCommandInput, GetUploadedFileInfoCommandOutput, ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (__0_0: GetUploadedFileInfoCommandInput): import("@smithy/smithy-client").CommandImpl<GetUploadedFileInfoCommandInput, GetUploadedFileInfoCommandOutput, ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: GetUploadedFileInfoCommandInput): import("@smithy/core/client").CommandImpl<GetUploadedFileInfoCommandInput, GetUploadedFileInfoCommandOutput, ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: GetUploadedFileInfoCommandInput): import("@smithy/core/client").CommandImpl<GetUploadedFileInfoCommandInput, GetUploadedFileInfoCommandOutput, ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * Retrieves information about an uploaded file in a specified channel.
@@ -33,6 +35,8 @@ declare const GetUploadedFileInfoCommand_base: {
33
35
  * ```javascript
34
36
  * import { ConversationsClient, GetUploadedFileInfoCommand } from "@wildix/xbees-conversations-client"; // ES Modules import
35
37
  * // const { ConversationsClient, GetUploadedFileInfoCommand } = require("@wildix/xbees-conversations-client"); // CommonJS import
38
+ * // import type { ConversationsClientConfig } from "@wildix/xbees-conversations-client";
39
+ * const config = {}; // type is ConversationsClientConfig
36
40
  * const client = new ConversationsClient(config);
37
41
  * const input = { // GetUploadedFileInfoInput
38
42
  * channelId: "STRING_VALUE", // required
@@ -72,7 +76,7 @@ declare const GetUploadedFileInfoCommand_base: {
72
76
  *
73
77
  * @throws {@link RateLimitExceededException} (client fault)
74
78
  *
75
- * @throws {@link ConversationsServiceException}
79
+ * @throws {@link ConversationsSyntheticServiceException}
76
80
  * <p>Base exception class for all service exceptions from Conversations service.</p>
77
81
  *
78
82
  *
@@ -1,7 +1,7 @@
1
- import { ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConversationsClient";
2
- import { GetWhatsAppChannelIdInput, GetWhatsAppChannelIdOutput } 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 { ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConversationsClient";
4
+ import type { GetWhatsAppChannelIdInput, GetWhatsAppChannelIdOutput } from "../models/models_0";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -22,9 +22,11 @@ export interface GetWhatsAppChannelIdCommandInput extends GetWhatsAppChannelIdIn
22
22
  export interface GetWhatsAppChannelIdCommandOutput extends GetWhatsAppChannelIdOutput, __MetadataBearer {
23
23
  }
24
24
  declare const GetWhatsAppChannelIdCommand_base: {
25
- new (input: GetWhatsAppChannelIdCommandInput): import("@smithy/smithy-client").CommandImpl<GetWhatsAppChannelIdCommandInput, GetWhatsAppChannelIdCommandOutput, ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (__0_0: GetWhatsAppChannelIdCommandInput): import("@smithy/smithy-client").CommandImpl<GetWhatsAppChannelIdCommandInput, GetWhatsAppChannelIdCommandOutput, ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: GetWhatsAppChannelIdCommandInput): import("@smithy/core/client").CommandImpl<GetWhatsAppChannelIdCommandInput, GetWhatsAppChannelIdCommandOutput, ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: GetWhatsAppChannelIdCommandInput): import("@smithy/core/client").CommandImpl<GetWhatsAppChannelIdCommandInput, GetWhatsAppChannelIdCommandOutput, ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * Gets the channel ID of an existing or non-existing WhatsApp
@@ -33,6 +35,8 @@ declare const GetWhatsAppChannelIdCommand_base: {
33
35
  * ```javascript
34
36
  * import { ConversationsClient, GetWhatsAppChannelIdCommand } from "@wildix/xbees-conversations-client"; // ES Modules import
35
37
  * // const { ConversationsClient, GetWhatsAppChannelIdCommand } = require("@wildix/xbees-conversations-client"); // CommonJS import
38
+ * // import type { ConversationsClientConfig } from "@wildix/xbees-conversations-client";
39
+ * const config = {}; // type is ConversationsClientConfig
36
40
  * const client = new ConversationsClient(config);
37
41
  * const input = { // GetWhatsAppChannelIdInput
38
42
  * userId: "STRING_VALUE",
@@ -60,7 +64,7 @@ declare const GetWhatsAppChannelIdCommand_base: {
60
64
  *
61
65
  * @throws {@link RateLimitExceededException} (client fault)
62
66
  *
63
- * @throws {@link ConversationsServiceException}
67
+ * @throws {@link ConversationsSyntheticServiceException}
64
68
  * <p>Base exception class for all service exceptions from Conversations service.</p>
65
69
  *
66
70
  *