@wildix/stream-client 0.0.15 → 4.0.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 (243) hide show
  1. package/dist-cjs/StreamService.js +3 -7
  2. package/dist-cjs/StreamServiceClient.js +34 -27
  3. package/dist-cjs/auth/httpAuthExtensionConfiguration.js +43 -0
  4. package/dist-cjs/auth/httpAuthSchemeProvider.js +58 -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/CreateKiteChannelCommand.js +10 -11
  10. package/dist-cjs/commands/CreateSectionCommand.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/DeleteMessageCommand.js +10 -11
  14. package/dist-cjs/commands/DeleteMessageReactionCommand.js +10 -11
  15. package/dist-cjs/commands/DeleteSectionCommand.js +10 -11
  16. package/dist-cjs/commands/GetChannelCommand.js +10 -11
  17. package/dist-cjs/commands/GetChannelMemberCommand.js +10 -11
  18. package/dist-cjs/commands/GetDirectChannelIdCommand.js +10 -11
  19. package/dist-cjs/commands/GetFilePresignedDownloadUrlCommand.js +10 -11
  20. package/dist-cjs/commands/GetInboxCommand.js +10 -11
  21. package/dist-cjs/commands/GetMessageCommand.js +10 -11
  22. package/dist-cjs/commands/GetOrCreateDirectChannelCommand.js +10 -11
  23. package/dist-cjs/commands/GetOrCreateSmsChannelCommand.js +10 -11
  24. package/dist-cjs/commands/GetOrCreateTelephonyChannelCommand.js +10 -11
  25. package/dist-cjs/commands/GetOrCreateWhatsAppChannelCommand.js +10 -11
  26. package/dist-cjs/commands/GetSmsChannelIdCommand.js +10 -11
  27. package/dist-cjs/commands/GetTelephonyChannelIdCommand.js +10 -11
  28. package/dist-cjs/commands/GetTokenCommand.js +10 -11
  29. package/dist-cjs/commands/GetUploadedFileInfoCommand.js +10 -11
  30. package/dist-cjs/commands/GetWhatsAppChannelIdCommand.js +10 -11
  31. package/dist-cjs/commands/HideChannelCommand.js +10 -11
  32. package/dist-cjs/commands/JoinChannelCommand.js +10 -11
  33. package/dist-cjs/commands/LeaveChannelCommand.js +10 -11
  34. package/dist-cjs/commands/ListChannelMembersCommand.js +10 -11
  35. package/dist-cjs/commands/ListChannelMembersReadStatusCommand.js +10 -11
  36. package/dist-cjs/commands/ListChannelsCommand.js +10 -11
  37. package/dist-cjs/commands/ListMentionsCommand.js +10 -11
  38. package/dist-cjs/commands/ListMessagesCommand.js +10 -11
  39. package/dist-cjs/commands/MarkReadCommand.js +10 -11
  40. package/dist-cjs/commands/MarkUnreadCommand.js +10 -11
  41. package/dist-cjs/commands/MoveChannelToSectionCommand.js +10 -11
  42. package/dist-cjs/commands/MuteChannelCommand.js +10 -11
  43. package/dist-cjs/commands/PartialUpdateChannelCommand.js +10 -11
  44. package/dist-cjs/commands/PartialUpdateMessageCommand.js +10 -11
  45. package/dist-cjs/commands/PinChannelCommand.js +10 -11
  46. package/dist-cjs/commands/PinMessageCommand.js +10 -11
  47. package/dist-cjs/commands/QueryChannelsCommand.js +10 -11
  48. package/dist-cjs/commands/RemoveChannelFromSectionCommand.js +10 -11
  49. package/dist-cjs/commands/RenameSectionCommand.js +10 -11
  50. package/dist-cjs/commands/SendGiphyCommand.js +10 -11
  51. package/dist-cjs/commands/SendMessageCommand.js +10 -11
  52. package/dist-cjs/commands/SendMessageReactionCommand.js +10 -11
  53. package/dist-cjs/commands/SendSystemMessageCommand.js +10 -11
  54. package/dist-cjs/commands/SendTypingStartCommand.js +10 -11
  55. package/dist-cjs/commands/SendTypingStopCommand.js +10 -11
  56. package/dist-cjs/commands/ShowChannelCommand.js +10 -11
  57. package/dist-cjs/commands/UnmuteChannelCommand.js +10 -11
  58. package/dist-cjs/commands/UnpinChannelCommand.js +10 -11
  59. package/dist-cjs/commands/UnpinMessageCommand.js +10 -11
  60. package/dist-cjs/commands/UpdateChannelCommand.js +10 -11
  61. package/dist-cjs/commands/UpdateMessageCommand.js +10 -11
  62. package/dist-cjs/commands/UploadFileCommand.js +10 -11
  63. package/dist-cjs/commands/index.js +0 -2
  64. package/dist-cjs/endpoint/EndpointParameters.js +18 -0
  65. package/dist-cjs/endpoint/bdd.js +28 -0
  66. package/dist-cjs/endpoint/endpointResolver.js +16 -0
  67. package/dist-cjs/index.js +4 -1
  68. package/dist-cjs/models/StreamServiceServiceException.js +3 -3
  69. package/dist-cjs/models/enums.js +114 -0
  70. package/dist-cjs/models/errors.js +209 -0
  71. package/dist-cjs/models/models_0.js +0 -387
  72. package/dist-cjs/runtimeConfig.browser.js +11 -11
  73. package/dist-cjs/runtimeConfig.js +22 -18
  74. package/dist-cjs/runtimeConfig.shared.js +30 -10
  75. package/dist-cjs/runtimeExtensions.js +6 -5
  76. package/dist-cjs/schemas/schemas_0.js +1584 -0
  77. package/dist-es/StreamService.js +6 -10
  78. package/dist-es/StreamServiceClient.js +30 -23
  79. package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
  80. package/dist-es/auth/httpAuthSchemeProvider.js +52 -0
  81. package/dist-es/commands/AddChannelMemberCommand.js +9 -10
  82. package/dist-es/commands/AddChannelMembersCommand.js +9 -10
  83. package/dist-es/commands/AssignChannelCommand.js +9 -10
  84. package/dist-es/commands/CreateGroupChannelCommand.js +9 -10
  85. package/dist-es/commands/CreateKiteChannelCommand.js +9 -10
  86. package/dist-es/commands/CreateSectionCommand.js +9 -10
  87. package/dist-es/commands/DeleteChannelCommand.js +9 -10
  88. package/dist-es/commands/DeleteChannelMemberCommand.js +9 -10
  89. package/dist-es/commands/DeleteMessageCommand.js +9 -10
  90. package/dist-es/commands/DeleteMessageReactionCommand.js +9 -10
  91. package/dist-es/commands/DeleteSectionCommand.js +9 -10
  92. package/dist-es/commands/GetChannelCommand.js +9 -10
  93. package/dist-es/commands/GetChannelMemberCommand.js +9 -10
  94. package/dist-es/commands/GetDirectChannelIdCommand.js +9 -10
  95. package/dist-es/commands/GetFilePresignedDownloadUrlCommand.js +9 -10
  96. package/dist-es/commands/GetInboxCommand.js +9 -10
  97. package/dist-es/commands/GetMessageCommand.js +9 -10
  98. package/dist-es/commands/GetOrCreateDirectChannelCommand.js +9 -10
  99. package/dist-es/commands/GetOrCreateSmsChannelCommand.js +9 -10
  100. package/dist-es/commands/GetOrCreateTelephonyChannelCommand.js +9 -10
  101. package/dist-es/commands/GetOrCreateWhatsAppChannelCommand.js +9 -10
  102. package/dist-es/commands/GetSmsChannelIdCommand.js +9 -10
  103. package/dist-es/commands/GetTelephonyChannelIdCommand.js +9 -10
  104. package/dist-es/commands/GetTokenCommand.js +9 -10
  105. package/dist-es/commands/GetUploadedFileInfoCommand.js +9 -10
  106. package/dist-es/commands/GetWhatsAppChannelIdCommand.js +9 -10
  107. package/dist-es/commands/HideChannelCommand.js +9 -10
  108. package/dist-es/commands/JoinChannelCommand.js +9 -10
  109. package/dist-es/commands/LeaveChannelCommand.js +9 -10
  110. package/dist-es/commands/ListChannelMembersCommand.js +9 -10
  111. package/dist-es/commands/ListChannelMembersReadStatusCommand.js +9 -10
  112. package/dist-es/commands/ListChannelsCommand.js +9 -10
  113. package/dist-es/commands/ListMentionsCommand.js +9 -10
  114. package/dist-es/commands/ListMessagesCommand.js +9 -10
  115. package/dist-es/commands/MarkReadCommand.js +9 -10
  116. package/dist-es/commands/MarkUnreadCommand.js +9 -10
  117. package/dist-es/commands/MoveChannelToSectionCommand.js +9 -10
  118. package/dist-es/commands/MuteChannelCommand.js +9 -10
  119. package/dist-es/commands/PartialUpdateChannelCommand.js +9 -10
  120. package/dist-es/commands/PartialUpdateMessageCommand.js +9 -10
  121. package/dist-es/commands/PinChannelCommand.js +9 -10
  122. package/dist-es/commands/PinMessageCommand.js +9 -10
  123. package/dist-es/commands/QueryChannelsCommand.js +9 -10
  124. package/dist-es/commands/RemoveChannelFromSectionCommand.js +9 -10
  125. package/dist-es/commands/RenameSectionCommand.js +9 -10
  126. package/dist-es/commands/SendGiphyCommand.js +9 -10
  127. package/dist-es/commands/SendMessageCommand.js +9 -10
  128. package/dist-es/commands/SendMessageReactionCommand.js +9 -10
  129. package/dist-es/commands/SendSystemMessageCommand.js +9 -10
  130. package/dist-es/commands/SendTypingStartCommand.js +9 -10
  131. package/dist-es/commands/SendTypingStopCommand.js +9 -10
  132. package/dist-es/commands/ShowChannelCommand.js +9 -10
  133. package/dist-es/commands/UnmuteChannelCommand.js +9 -10
  134. package/dist-es/commands/UnpinChannelCommand.js +9 -10
  135. package/dist-es/commands/UnpinMessageCommand.js +9 -10
  136. package/dist-es/commands/UpdateChannelCommand.js +9 -10
  137. package/dist-es/commands/UpdateMessageCommand.js +9 -10
  138. package/dist-es/commands/UploadFileCommand.js +9 -10
  139. package/dist-es/commands/index.js +0 -2
  140. package/dist-es/endpoint/EndpointParameters.js +14 -0
  141. package/dist-es/endpoint/bdd.js +25 -0
  142. package/dist-es/endpoint/endpointResolver.js +12 -0
  143. package/dist-es/index.js +4 -1
  144. package/dist-es/models/StreamServiceServiceException.js +1 -1
  145. package/dist-es/models/enums.js +111 -0
  146. package/dist-es/models/errors.js +191 -0
  147. package/dist-es/models/models_0.js +1 -371
  148. package/dist-es/runtimeConfig.browser.js +7 -7
  149. package/dist-es/runtimeConfig.js +17 -13
  150. package/dist-es/runtimeConfig.shared.js +24 -4
  151. package/dist-es/runtimeExtensions.js +6 -5
  152. package/dist-es/schemas/schemas_0.js +1577 -0
  153. package/dist-types/StreamService.d.ts +59 -75
  154. package/dist-types/StreamServiceClient.d.ts +90 -76
  155. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
  156. package/dist-types/auth/httpAuthSchemeProvider.d.ts +81 -0
  157. package/dist-types/commands/AddChannelMemberCommand.d.ts +11 -7
  158. package/dist-types/commands/AddChannelMembersCommand.d.ts +11 -7
  159. package/dist-types/commands/AssignChannelCommand.d.ts +11 -7
  160. package/dist-types/commands/CreateGroupChannelCommand.d.ts +11 -7
  161. package/dist-types/commands/CreateKiteChannelCommand.d.ts +11 -7
  162. package/dist-types/commands/CreateSectionCommand.d.ts +11 -7
  163. package/dist-types/commands/DeleteChannelCommand.d.ts +11 -7
  164. package/dist-types/commands/DeleteChannelMemberCommand.d.ts +11 -7
  165. package/dist-types/commands/DeleteMessageCommand.d.ts +11 -7
  166. package/dist-types/commands/DeleteMessageReactionCommand.d.ts +11 -7
  167. package/dist-types/commands/DeleteSectionCommand.d.ts +11 -7
  168. package/dist-types/commands/GetChannelCommand.d.ts +11 -7
  169. package/dist-types/commands/GetChannelMemberCommand.d.ts +11 -7
  170. package/dist-types/commands/GetDirectChannelIdCommand.d.ts +11 -7
  171. package/dist-types/commands/GetFilePresignedDownloadUrlCommand.d.ts +11 -7
  172. package/dist-types/commands/GetInboxCommand.d.ts +11 -7
  173. package/dist-types/commands/GetMessageCommand.d.ts +11 -7
  174. package/dist-types/commands/GetOrCreateDirectChannelCommand.d.ts +11 -7
  175. package/dist-types/commands/GetOrCreateSmsChannelCommand.d.ts +11 -7
  176. package/dist-types/commands/GetOrCreateTelephonyChannelCommand.d.ts +11 -7
  177. package/dist-types/commands/GetOrCreateWhatsAppChannelCommand.d.ts +11 -7
  178. package/dist-types/commands/GetSmsChannelIdCommand.d.ts +11 -7
  179. package/dist-types/commands/GetTelephonyChannelIdCommand.d.ts +11 -7
  180. package/dist-types/commands/GetTokenCommand.d.ts +11 -7
  181. package/dist-types/commands/GetUploadedFileInfoCommand.d.ts +11 -7
  182. package/dist-types/commands/GetWhatsAppChannelIdCommand.d.ts +11 -7
  183. package/dist-types/commands/HideChannelCommand.d.ts +11 -7
  184. package/dist-types/commands/JoinChannelCommand.d.ts +11 -7
  185. package/dist-types/commands/LeaveChannelCommand.d.ts +11 -7
  186. package/dist-types/commands/ListChannelMembersCommand.d.ts +11 -7
  187. package/dist-types/commands/ListChannelMembersReadStatusCommand.d.ts +11 -7
  188. package/dist-types/commands/ListChannelsCommand.d.ts +11 -7
  189. package/dist-types/commands/ListMentionsCommand.d.ts +11 -7
  190. package/dist-types/commands/ListMessagesCommand.d.ts +11 -7
  191. package/dist-types/commands/MarkReadCommand.d.ts +11 -7
  192. package/dist-types/commands/MarkUnreadCommand.d.ts +11 -7
  193. package/dist-types/commands/MoveChannelToSectionCommand.d.ts +11 -7
  194. package/dist-types/commands/MuteChannelCommand.d.ts +11 -7
  195. package/dist-types/commands/PartialUpdateChannelCommand.d.ts +11 -7
  196. package/dist-types/commands/PartialUpdateMessageCommand.d.ts +11 -7
  197. package/dist-types/commands/PinChannelCommand.d.ts +11 -7
  198. package/dist-types/commands/PinMessageCommand.d.ts +11 -7
  199. package/dist-types/commands/QueryChannelsCommand.d.ts +11 -7
  200. package/dist-types/commands/RemoveChannelFromSectionCommand.d.ts +11 -7
  201. package/dist-types/commands/RenameSectionCommand.d.ts +11 -7
  202. package/dist-types/commands/SendGiphyCommand.d.ts +11 -7
  203. package/dist-types/commands/SendMessageCommand.d.ts +11 -7
  204. package/dist-types/commands/SendMessageReactionCommand.d.ts +11 -7
  205. package/dist-types/commands/SendSystemMessageCommand.d.ts +11 -7
  206. package/dist-types/commands/SendTypingStartCommand.d.ts +11 -7
  207. package/dist-types/commands/SendTypingStopCommand.d.ts +11 -7
  208. package/dist-types/commands/ShowChannelCommand.d.ts +11 -7
  209. package/dist-types/commands/UnmuteChannelCommand.d.ts +11 -7
  210. package/dist-types/commands/UnpinChannelCommand.d.ts +11 -7
  211. package/dist-types/commands/UnpinMessageCommand.d.ts +11 -7
  212. package/dist-types/commands/UpdateChannelCommand.d.ts +11 -7
  213. package/dist-types/commands/UpdateMessageCommand.d.ts +11 -7
  214. package/dist-types/commands/UploadFileCommand.d.ts +11 -7
  215. package/dist-types/commands/index.d.ts +0 -2
  216. package/dist-types/endpoint/EndpointParameters.d.ts +48 -0
  217. package/dist-types/endpoint/bdd.d.ts +2 -0
  218. package/dist-types/endpoint/endpointResolver.d.ts +8 -0
  219. package/dist-types/extensionConfiguration.d.ts +4 -3
  220. package/dist-types/index.d.ts +5 -1
  221. package/dist-types/models/StreamServiceServiceException.d.ts +1 -1
  222. package/dist-types/models/enums.d.ts +286 -0
  223. package/dist-types/models/errors.d.ts +189 -0
  224. package/dist-types/models/models_0.d.ts +69 -713
  225. package/dist-types/runtimeConfig.browser.d.ts +37 -18
  226. package/dist-types/runtimeConfig.d.ts +36 -17
  227. package/dist-types/runtimeConfig.native.d.ts +38 -19
  228. package/dist-types/runtimeConfig.shared.d.ts +20 -3
  229. package/dist-types/runtimeExtensions.d.ts +1 -1
  230. package/dist-types/schemas/schemas_0.d.ts +243 -0
  231. package/package.json +14 -40
  232. package/dist-cjs/commands/SearchChannelsCommand.js +0 -21
  233. package/dist-cjs/commands/SearchMessagesCommand.js +0 -21
  234. package/dist-cjs/models/index.js +0 -4
  235. package/dist-cjs/protocols/Aws_restJson1.js +0 -2474
  236. package/dist-es/commands/SearchChannelsCommand.js +0 -17
  237. package/dist-es/commands/SearchMessagesCommand.js +0 -17
  238. package/dist-es/models/index.js +0 -1
  239. package/dist-es/protocols/Aws_restJson1.js +0 -2349
  240. package/dist-types/commands/SearchChannelsCommand.d.ts +0 -163
  241. package/dist-types/commands/SearchMessagesCommand.d.ts +0 -211
  242. package/dist-types/models/index.d.ts +0 -1
  243. package/dist-types/protocols/Aws_restJson1.d.ts +0 -542
@@ -1,7 +1,7 @@
1
- import { ServiceInputTypes, ServiceOutputTypes, StreamServiceClientResolvedConfig } from "../StreamServiceClient";
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 { GetOrCreateSmsChannelInput, GetOrCreateSmsChannelOutput } from "../models/models_0";
4
+ import type { ServiceInputTypes, ServiceOutputTypes, StreamServiceClientResolvedConfig } from "../StreamServiceClient";
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, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (__0_0: GetOrCreateSmsChannelCommandInput): import("@smithy/smithy-client").CommandImpl<GetOrCreateSmsChannelCommandInput, GetOrCreateSmsChannelCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: GetOrCreateSmsChannelCommandInput): import("@smithy/core/client").CommandImpl<GetOrCreateSmsChannelCommandInput, GetOrCreateSmsChannelCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: GetOrCreateSmsChannelCommandInput): import("@smithy/core/client").CommandImpl<GetOrCreateSmsChannelCommandInput, GetOrCreateSmsChannelCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * Gets or creates an SMS channel.
@@ -33,6 +35,8 @@ declare const GetOrCreateSmsChannelCommand_base: {
33
35
  * ```javascript
34
36
  * import { StreamServiceClient, GetOrCreateSmsChannelCommand } from "@wildix/stream-client"; // ES Modules import
35
37
  * // const { StreamServiceClient, GetOrCreateSmsChannelCommand } = require("@wildix/stream-client"); // CommonJS import
38
+ * // import type { StreamServiceClientConfig } from "@wildix/stream-client";
39
+ * const config = {}; // type is StreamServiceClientConfig
36
40
  * const client = new StreamServiceClient(config);
37
41
  * const input = { // GetOrCreateSmsChannelInput
38
42
  * companyId: "STRING_VALUE",
@@ -1,7 +1,7 @@
1
- import { ServiceInputTypes, ServiceOutputTypes, StreamServiceClientResolvedConfig } from "../StreamServiceClient";
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 { GetOrCreateTelephonyChannelInput, GetOrCreateTelephonyChannelOutput } from "../models/models_0";
4
+ import type { ServiceInputTypes, ServiceOutputTypes, StreamServiceClientResolvedConfig } from "../StreamServiceClient";
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, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (__0_0: GetOrCreateTelephonyChannelCommandInput): import("@smithy/smithy-client").CommandImpl<GetOrCreateTelephonyChannelCommandInput, GetOrCreateTelephonyChannelCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: GetOrCreateTelephonyChannelCommandInput): import("@smithy/core/client").CommandImpl<GetOrCreateTelephonyChannelCommandInput, GetOrCreateTelephonyChannelCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: GetOrCreateTelephonyChannelCommandInput): import("@smithy/core/client").CommandImpl<GetOrCreateTelephonyChannelCommandInput, GetOrCreateTelephonyChannelCommandOutput, StreamServiceClientResolvedConfig, 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 { StreamServiceClient, GetOrCreateTelephonyChannelCommand } from "@wildix/stream-client"; // ES Modules import
35
37
  * // const { StreamServiceClient, GetOrCreateTelephonyChannelCommand } = require("@wildix/stream-client"); // CommonJS import
38
+ * // import type { StreamServiceClientConfig } from "@wildix/stream-client";
39
+ * const config = {}; // type is StreamServiceClientConfig
36
40
  * const client = new StreamServiceClient(config);
37
41
  * const input = { // GetOrCreateTelephonyChannelInput
38
42
  * companyId: "STRING_VALUE",
@@ -1,7 +1,7 @@
1
- import { ServiceInputTypes, ServiceOutputTypes, StreamServiceClientResolvedConfig } from "../StreamServiceClient";
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 { GetOrCreateWhatsAppChannelInput, GetOrCreateWhatsAppChannelOutput } from "../models/models_0";
4
+ import type { ServiceInputTypes, ServiceOutputTypes, StreamServiceClientResolvedConfig } from "../StreamServiceClient";
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, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (__0_0: GetOrCreateWhatsAppChannelCommandInput): import("@smithy/smithy-client").CommandImpl<GetOrCreateWhatsAppChannelCommandInput, GetOrCreateWhatsAppChannelCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: GetOrCreateWhatsAppChannelCommandInput): import("@smithy/core/client").CommandImpl<GetOrCreateWhatsAppChannelCommandInput, GetOrCreateWhatsAppChannelCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: GetOrCreateWhatsAppChannelCommandInput): import("@smithy/core/client").CommandImpl<GetOrCreateWhatsAppChannelCommandInput, GetOrCreateWhatsAppChannelCommandOutput, StreamServiceClientResolvedConfig, 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 { StreamServiceClient, GetOrCreateWhatsAppChannelCommand } from "@wildix/stream-client"; // ES Modules import
35
37
  * // const { StreamServiceClient, GetOrCreateWhatsAppChannelCommand } = require("@wildix/stream-client"); // CommonJS import
38
+ * // import type { StreamServiceClientConfig } from "@wildix/stream-client";
39
+ * const config = {}; // type is StreamServiceClientConfig
36
40
  * const client = new StreamServiceClient(config);
37
41
  * const input = { // GetOrCreateWhatsAppChannelInput
38
42
  * companyId: "STRING_VALUE",
@@ -1,7 +1,7 @@
1
- import { ServiceInputTypes, ServiceOutputTypes, StreamServiceClientResolvedConfig } from "../StreamServiceClient";
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 { GetSmsChannelIdInput, GetSmsChannelIdOutput } from "../models/models_0";
4
+ import type { ServiceInputTypes, ServiceOutputTypes, StreamServiceClientResolvedConfig } from "../StreamServiceClient";
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, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (__0_0: GetSmsChannelIdCommandInput): import("@smithy/smithy-client").CommandImpl<GetSmsChannelIdCommandInput, GetSmsChannelIdCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: GetSmsChannelIdCommandInput): import("@smithy/core/client").CommandImpl<GetSmsChannelIdCommandInput, GetSmsChannelIdCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: GetSmsChannelIdCommandInput): import("@smithy/core/client").CommandImpl<GetSmsChannelIdCommandInput, GetSmsChannelIdCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * Resolves the channel id of an SMS channel without creating it.
@@ -33,6 +35,8 @@ declare const GetSmsChannelIdCommand_base: {
33
35
  * ```javascript
34
36
  * import { StreamServiceClient, GetSmsChannelIdCommand } from "@wildix/stream-client"; // ES Modules import
35
37
  * // const { StreamServiceClient, GetSmsChannelIdCommand } = require("@wildix/stream-client"); // CommonJS import
38
+ * // import type { StreamServiceClientConfig } from "@wildix/stream-client";
39
+ * const config = {}; // type is StreamServiceClientConfig
36
40
  * const client = new StreamServiceClient(config);
37
41
  * const input = { // GetSmsChannelIdInput
38
42
  * companyId: "STRING_VALUE",
@@ -1,7 +1,7 @@
1
- import { ServiceInputTypes, ServiceOutputTypes, StreamServiceClientResolvedConfig } from "../StreamServiceClient";
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 { GetTelephonyChannelIdInput, GetTelephonyChannelIdOutput } from "../models/models_0";
4
+ import type { ServiceInputTypes, ServiceOutputTypes, StreamServiceClientResolvedConfig } from "../StreamServiceClient";
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, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (__0_0: GetTelephonyChannelIdCommandInput): import("@smithy/smithy-client").CommandImpl<GetTelephonyChannelIdCommandInput, GetTelephonyChannelIdCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: GetTelephonyChannelIdCommandInput): import("@smithy/core/client").CommandImpl<GetTelephonyChannelIdCommandInput, GetTelephonyChannelIdCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: GetTelephonyChannelIdCommandInput): import("@smithy/core/client").CommandImpl<GetTelephonyChannelIdCommandInput, GetTelephonyChannelIdCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * Resolves the channel id of a telephony channel without creating it.
@@ -33,6 +35,8 @@ declare const GetTelephonyChannelIdCommand_base: {
33
35
  * ```javascript
34
36
  * import { StreamServiceClient, GetTelephonyChannelIdCommand } from "@wildix/stream-client"; // ES Modules import
35
37
  * // const { StreamServiceClient, GetTelephonyChannelIdCommand } = require("@wildix/stream-client"); // CommonJS import
38
+ * // import type { StreamServiceClientConfig } from "@wildix/stream-client";
39
+ * const config = {}; // type is StreamServiceClientConfig
36
40
  * const client = new StreamServiceClient(config);
37
41
  * const input = { // GetTelephonyChannelIdInput
38
42
  * companyId: "STRING_VALUE",
@@ -1,7 +1,7 @@
1
- import { ServiceInputTypes, ServiceOutputTypes, StreamServiceClientResolvedConfig } from "../StreamServiceClient";
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 { GetTokenInput, GetTokenOutput } from "../models/models_0";
4
+ import type { ServiceInputTypes, ServiceOutputTypes, StreamServiceClientResolvedConfig } from "../StreamServiceClient";
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, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (...[input]: [] | [GetTokenCommandInput]): import("@smithy/smithy-client").CommandImpl<GetTokenCommandInput, GetTokenCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: GetTokenCommandInput): import("@smithy/core/client").CommandImpl<GetTokenCommandInput, GetTokenCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (...[input]: [] | [GetTokenCommandInput]): import("@smithy/core/client").CommandImpl<GetTokenCommandInput, GetTokenCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * Returns a short-lived authorization token for the stream chat client.
@@ -33,6 +35,8 @@ declare const GetTokenCommand_base: {
33
35
  * ```javascript
34
36
  * import { StreamServiceClient, GetTokenCommand } from "@wildix/stream-client"; // ES Modules import
35
37
  * // const { StreamServiceClient, GetTokenCommand } = require("@wildix/stream-client"); // CommonJS import
38
+ * // import type { StreamServiceClientConfig } from "@wildix/stream-client";
39
+ * const config = {}; // type is StreamServiceClientConfig
36
40
  * const client = new StreamServiceClient(config);
37
41
  * const input = { // GetTokenInput
38
42
  * companyId: "STRING_VALUE",
@@ -1,7 +1,7 @@
1
- import { ServiceInputTypes, ServiceOutputTypes, StreamServiceClientResolvedConfig } from "../StreamServiceClient";
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 { GetUploadedFileInfoInput, GetUploadedFileInfoOutput } from "../models/models_0";
4
+ import type { ServiceInputTypes, ServiceOutputTypes, StreamServiceClientResolvedConfig } from "../StreamServiceClient";
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, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (__0_0: GetUploadedFileInfoCommandInput): import("@smithy/smithy-client").CommandImpl<GetUploadedFileInfoCommandInput, GetUploadedFileInfoCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: GetUploadedFileInfoCommandInput): import("@smithy/core/client").CommandImpl<GetUploadedFileInfoCommandInput, GetUploadedFileInfoCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: GetUploadedFileInfoCommandInput): import("@smithy/core/client").CommandImpl<GetUploadedFileInfoCommandInput, GetUploadedFileInfoCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * Returns metadata for an uploaded file in a channel.
@@ -33,6 +35,8 @@ declare const GetUploadedFileInfoCommand_base: {
33
35
  * ```javascript
34
36
  * import { StreamServiceClient, GetUploadedFileInfoCommand } from "@wildix/stream-client"; // ES Modules import
35
37
  * // const { StreamServiceClient, GetUploadedFileInfoCommand } = require("@wildix/stream-client"); // CommonJS import
38
+ * // import type { StreamServiceClientConfig } from "@wildix/stream-client";
39
+ * const config = {}; // type is StreamServiceClientConfig
36
40
  * const client = new StreamServiceClient(config);
37
41
  * const input = { // GetUploadedFileInfoInput
38
42
  * companyId: "STRING_VALUE",
@@ -1,7 +1,7 @@
1
- import { ServiceInputTypes, ServiceOutputTypes, StreamServiceClientResolvedConfig } from "../StreamServiceClient";
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 { GetWhatsAppChannelIdInput, GetWhatsAppChannelIdOutput } from "../models/models_0";
4
+ import type { ServiceInputTypes, ServiceOutputTypes, StreamServiceClientResolvedConfig } from "../StreamServiceClient";
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, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (__0_0: GetWhatsAppChannelIdCommandInput): import("@smithy/smithy-client").CommandImpl<GetWhatsAppChannelIdCommandInput, GetWhatsAppChannelIdCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: GetWhatsAppChannelIdCommandInput): import("@smithy/core/client").CommandImpl<GetWhatsAppChannelIdCommandInput, GetWhatsAppChannelIdCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: GetWhatsAppChannelIdCommandInput): import("@smithy/core/client").CommandImpl<GetWhatsAppChannelIdCommandInput, GetWhatsAppChannelIdCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * Resolves the channel id of a WhatsApp channel without creating it.
@@ -33,6 +35,8 @@ declare const GetWhatsAppChannelIdCommand_base: {
33
35
  * ```javascript
34
36
  * import { StreamServiceClient, GetWhatsAppChannelIdCommand } from "@wildix/stream-client"; // ES Modules import
35
37
  * // const { StreamServiceClient, GetWhatsAppChannelIdCommand } = require("@wildix/stream-client"); // CommonJS import
38
+ * // import type { StreamServiceClientConfig } from "@wildix/stream-client";
39
+ * const config = {}; // type is StreamServiceClientConfig
36
40
  * const client = new StreamServiceClient(config);
37
41
  * const input = { // GetWhatsAppChannelIdInput
38
42
  * companyId: "STRING_VALUE",
@@ -1,7 +1,7 @@
1
- import { ServiceInputTypes, ServiceOutputTypes, StreamServiceClientResolvedConfig } from "../StreamServiceClient";
2
- import { HideChannelInput, HideChannelOutput } 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 { HideChannelInput, HideChannelOutput } from "../models/models_0";
4
+ import type { ServiceInputTypes, ServiceOutputTypes, StreamServiceClientResolvedConfig } from "../StreamServiceClient";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -22,9 +22,11 @@ export interface HideChannelCommandInput extends HideChannelInput {
22
22
  export interface HideChannelCommandOutput extends HideChannelOutput, __MetadataBearer {
23
23
  }
24
24
  declare const HideChannelCommand_base: {
25
- new (input: HideChannelCommandInput): import("@smithy/smithy-client").CommandImpl<HideChannelCommandInput, HideChannelCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (__0_0: HideChannelCommandInput): import("@smithy/smithy-client").CommandImpl<HideChannelCommandInput, HideChannelCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: HideChannelCommandInput): import("@smithy/core/client").CommandImpl<HideChannelCommandInput, HideChannelCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: HideChannelCommandInput): import("@smithy/core/client").CommandImpl<HideChannelCommandInput, HideChannelCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * Archives a channel for the current user (`inbox.hidden = true`).
@@ -33,6 +35,8 @@ declare const HideChannelCommand_base: {
33
35
  * ```javascript
34
36
  * import { StreamServiceClient, HideChannelCommand } from "@wildix/stream-client"; // ES Modules import
35
37
  * // const { StreamServiceClient, HideChannelCommand } = require("@wildix/stream-client"); // CommonJS import
38
+ * // import type { StreamServiceClientConfig } from "@wildix/stream-client";
39
+ * const config = {}; // type is StreamServiceClientConfig
36
40
  * const client = new StreamServiceClient(config);
37
41
  * const input = { // HideChannelInput
38
42
  * companyId: "STRING_VALUE",
@@ -1,7 +1,7 @@
1
- import { ServiceInputTypes, ServiceOutputTypes, StreamServiceClientResolvedConfig } from "../StreamServiceClient";
2
- import { JoinChannelInput, JoinChannelOutput } 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 { JoinChannelInput, JoinChannelOutput } from "../models/models_0";
4
+ import type { ServiceInputTypes, ServiceOutputTypes, StreamServiceClientResolvedConfig } from "../StreamServiceClient";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -22,9 +22,11 @@ export interface JoinChannelCommandInput extends JoinChannelInput {
22
22
  export interface JoinChannelCommandOutput extends JoinChannelOutput, __MetadataBearer {
23
23
  }
24
24
  declare const JoinChannelCommand_base: {
25
- new (input: JoinChannelCommandInput): import("@smithy/smithy-client").CommandImpl<JoinChannelCommandInput, JoinChannelCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (__0_0: JoinChannelCommandInput): import("@smithy/smithy-client").CommandImpl<JoinChannelCommandInput, JoinChannelCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: JoinChannelCommandInput): import("@smithy/core/client").CommandImpl<JoinChannelCommandInput, JoinChannelCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: JoinChannelCommandInput): import("@smithy/core/client").CommandImpl<JoinChannelCommandInput, JoinChannelCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * Joins a public channel.
@@ -33,6 +35,8 @@ declare const JoinChannelCommand_base: {
33
35
  * ```javascript
34
36
  * import { StreamServiceClient, JoinChannelCommand } from "@wildix/stream-client"; // ES Modules import
35
37
  * // const { StreamServiceClient, JoinChannelCommand } = require("@wildix/stream-client"); // CommonJS import
38
+ * // import type { StreamServiceClientConfig } from "@wildix/stream-client";
39
+ * const config = {}; // type is StreamServiceClientConfig
36
40
  * const client = new StreamServiceClient(config);
37
41
  * const input = { // JoinChannelInput
38
42
  * companyId: "STRING_VALUE",
@@ -1,7 +1,7 @@
1
- import { ServiceInputTypes, ServiceOutputTypes, StreamServiceClientResolvedConfig } from "../StreamServiceClient";
2
- import { LeaveChannelInput, LeaveChannelOutput } 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 { LeaveChannelInput, LeaveChannelOutput } from "../models/models_0";
4
+ import type { ServiceInputTypes, ServiceOutputTypes, StreamServiceClientResolvedConfig } from "../StreamServiceClient";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -22,9 +22,11 @@ export interface LeaveChannelCommandInput extends LeaveChannelInput {
22
22
  export interface LeaveChannelCommandOutput extends LeaveChannelOutput, __MetadataBearer {
23
23
  }
24
24
  declare const LeaveChannelCommand_base: {
25
- new (input: LeaveChannelCommandInput): import("@smithy/smithy-client").CommandImpl<LeaveChannelCommandInput, LeaveChannelCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (__0_0: LeaveChannelCommandInput): import("@smithy/smithy-client").CommandImpl<LeaveChannelCommandInput, LeaveChannelCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: LeaveChannelCommandInput): import("@smithy/core/client").CommandImpl<LeaveChannelCommandInput, LeaveChannelCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: LeaveChannelCommandInput): import("@smithy/core/client").CommandImpl<LeaveChannelCommandInput, LeaveChannelCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * Removes the current user from a channel.
@@ -33,6 +35,8 @@ declare const LeaveChannelCommand_base: {
33
35
  * ```javascript
34
36
  * import { StreamServiceClient, LeaveChannelCommand } from "@wildix/stream-client"; // ES Modules import
35
37
  * // const { StreamServiceClient, LeaveChannelCommand } = require("@wildix/stream-client"); // CommonJS import
38
+ * // import type { StreamServiceClientConfig } from "@wildix/stream-client";
39
+ * const config = {}; // type is StreamServiceClientConfig
36
40
  * const client = new StreamServiceClient(config);
37
41
  * const input = { // LeaveChannelInput
38
42
  * companyId: "STRING_VALUE",
@@ -1,7 +1,7 @@
1
- import { ServiceInputTypes, ServiceOutputTypes, StreamServiceClientResolvedConfig } from "../StreamServiceClient";
2
- import { ListChannelMembersInput, ListChannelMembersOutput } 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 { ListChannelMembersInput, ListChannelMembersOutput } from "../models/models_0";
4
+ import type { ServiceInputTypes, ServiceOutputTypes, StreamServiceClientResolvedConfig } from "../StreamServiceClient";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -22,9 +22,11 @@ export interface ListChannelMembersCommandInput extends ListChannelMembersInput
22
22
  export interface ListChannelMembersCommandOutput extends ListChannelMembersOutput, __MetadataBearer {
23
23
  }
24
24
  declare const ListChannelMembersCommand_base: {
25
- new (input: ListChannelMembersCommandInput): import("@smithy/smithy-client").CommandImpl<ListChannelMembersCommandInput, ListChannelMembersCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (__0_0: ListChannelMembersCommandInput): import("@smithy/smithy-client").CommandImpl<ListChannelMembersCommandInput, ListChannelMembersCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: ListChannelMembersCommandInput): import("@smithy/core/client").CommandImpl<ListChannelMembersCommandInput, ListChannelMembersCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: ListChannelMembersCommandInput): import("@smithy/core/client").CommandImpl<ListChannelMembersCommandInput, ListChannelMembersCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * Lists channel members.
@@ -33,6 +35,8 @@ declare const ListChannelMembersCommand_base: {
33
35
  * ```javascript
34
36
  * import { StreamServiceClient, ListChannelMembersCommand } from "@wildix/stream-client"; // ES Modules import
35
37
  * // const { StreamServiceClient, ListChannelMembersCommand } = require("@wildix/stream-client"); // CommonJS import
38
+ * // import type { StreamServiceClientConfig } from "@wildix/stream-client";
39
+ * const config = {}; // type is StreamServiceClientConfig
36
40
  * const client = new StreamServiceClient(config);
37
41
  * const input = { // ListChannelMembersInput
38
42
  * companyId: "STRING_VALUE",
@@ -1,7 +1,7 @@
1
- import { ServiceInputTypes, ServiceOutputTypes, StreamServiceClientResolvedConfig } from "../StreamServiceClient";
2
- import { ListChannelMembersReadStatusInput, ListChannelMembersReadStatusOutput } 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 { ListChannelMembersReadStatusInput, ListChannelMembersReadStatusOutput } from "../models/models_0";
4
+ import type { ServiceInputTypes, ServiceOutputTypes, StreamServiceClientResolvedConfig } from "../StreamServiceClient";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -22,9 +22,11 @@ export interface ListChannelMembersReadStatusCommandInput extends ListChannelMem
22
22
  export interface ListChannelMembersReadStatusCommandOutput extends ListChannelMembersReadStatusOutput, __MetadataBearer {
23
23
  }
24
24
  declare const ListChannelMembersReadStatusCommand_base: {
25
- new (input: ListChannelMembersReadStatusCommandInput): import("@smithy/smithy-client").CommandImpl<ListChannelMembersReadStatusCommandInput, ListChannelMembersReadStatusCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (__0_0: ListChannelMembersReadStatusCommandInput): import("@smithy/smithy-client").CommandImpl<ListChannelMembersReadStatusCommandInput, ListChannelMembersReadStatusCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: ListChannelMembersReadStatusCommandInput): import("@smithy/core/client").CommandImpl<ListChannelMembersReadStatusCommandInput, ListChannelMembersReadStatusCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: ListChannelMembersReadStatusCommandInput): import("@smithy/core/client").CommandImpl<ListChannelMembersReadStatusCommandInput, ListChannelMembersReadStatusCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * Lists member read pointers for channels with at most 100 members.
@@ -33,6 +35,8 @@ declare const ListChannelMembersReadStatusCommand_base: {
33
35
  * ```javascript
34
36
  * import { StreamServiceClient, ListChannelMembersReadStatusCommand } from "@wildix/stream-client"; // ES Modules import
35
37
  * // const { StreamServiceClient, ListChannelMembersReadStatusCommand } = require("@wildix/stream-client"); // CommonJS import
38
+ * // import type { StreamServiceClientConfig } from "@wildix/stream-client";
39
+ * const config = {}; // type is StreamServiceClientConfig
36
40
  * const client = new StreamServiceClient(config);
37
41
  * const input = { // ListChannelMembersReadStatusInput
38
42
  * companyId: "STRING_VALUE",
@@ -1,7 +1,7 @@
1
- import { ServiceInputTypes, ServiceOutputTypes, StreamServiceClientResolvedConfig } from "../StreamServiceClient";
2
- import { ListChannelsInput, ListChannelsOutput } 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 { ListChannelsInput, ListChannelsOutput } from "../models/models_0";
4
+ import type { ServiceInputTypes, ServiceOutputTypes, StreamServiceClientResolvedConfig } from "../StreamServiceClient";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -22,9 +22,11 @@ export interface ListChannelsCommandInput extends ListChannelsInput {
22
22
  export interface ListChannelsCommandOutput extends ListChannelsOutput, __MetadataBearer {
23
23
  }
24
24
  declare const ListChannelsCommand_base: {
25
- new (input: ListChannelsCommandInput): import("@smithy/smithy-client").CommandImpl<ListChannelsCommandInput, ListChannelsCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (...[input]: [] | [ListChannelsCommandInput]): import("@smithy/smithy-client").CommandImpl<ListChannelsCommandInput, ListChannelsCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: ListChannelsCommandInput): import("@smithy/core/client").CommandImpl<ListChannelsCommandInput, ListChannelsCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (...[input]: [] | [ListChannelsCommandInput]): import("@smithy/core/client").CommandImpl<ListChannelsCommandInput, ListChannelsCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * Returns one ordered page of channels for the requested section, with per-channel inbox state and last-message preview. Default page size is 30 channels, but a page may return more when the scanned window contains extra rows after filtering. Use `nextCursor` to keep paging; section counters live on `GetInbox`.
@@ -33,6 +35,8 @@ declare const ListChannelsCommand_base: {
33
35
  * ```javascript
34
36
  * import { StreamServiceClient, ListChannelsCommand } from "@wildix/stream-client"; // ES Modules import
35
37
  * // const { StreamServiceClient, ListChannelsCommand } = require("@wildix/stream-client"); // CommonJS import
38
+ * // import type { StreamServiceClientConfig } from "@wildix/stream-client";
39
+ * const config = {}; // type is StreamServiceClientConfig
36
40
  * const client = new StreamServiceClient(config);
37
41
  * const input = { // ListChannelsInput
38
42
  * companyId: "STRING_VALUE",
@@ -1,7 +1,7 @@
1
- import { ServiceInputTypes, ServiceOutputTypes, StreamServiceClientResolvedConfig } from "../StreamServiceClient";
2
- import { ListMentionsInput, ListMentionsOutput } 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 { ListMentionsInput, ListMentionsOutput } from "../models/models_0";
4
+ import type { ServiceInputTypes, ServiceOutputTypes, StreamServiceClientResolvedConfig } from "../StreamServiceClient";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -22,9 +22,11 @@ export interface ListMentionsCommandInput extends ListMentionsInput {
22
22
  export interface ListMentionsCommandOutput extends ListMentionsOutput, __MetadataBearer {
23
23
  }
24
24
  declare const ListMentionsCommand_base: {
25
- new (input: ListMentionsCommandInput): import("@smithy/smithy-client").CommandImpl<ListMentionsCommandInput, ListMentionsCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (...[input]: [] | [ListMentionsCommandInput]): import("@smithy/smithy-client").CommandImpl<ListMentionsCommandInput, ListMentionsCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: ListMentionsCommandInput): import("@smithy/core/client").CommandImpl<ListMentionsCommandInput, ListMentionsCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (...[input]: [] | [ListMentionsCommandInput]): import("@smithy/core/client").CommandImpl<ListMentionsCommandInput, ListMentionsCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * Returns messages where the current user was directly mentioned, ordered by most recent mention. Default page size is 30 mentions, but a page may return more when the scanned window contains extra rows after filtering. Use `filter=unread` for unread-only.
@@ -33,6 +35,8 @@ declare const ListMentionsCommand_base: {
33
35
  * ```javascript
34
36
  * import { StreamServiceClient, ListMentionsCommand } from "@wildix/stream-client"; // ES Modules import
35
37
  * // const { StreamServiceClient, ListMentionsCommand } = require("@wildix/stream-client"); // CommonJS import
38
+ * // import type { StreamServiceClientConfig } from "@wildix/stream-client";
39
+ * const config = {}; // type is StreamServiceClientConfig
36
40
  * const client = new StreamServiceClient(config);
37
41
  * const input = { // ListMentionsInput
38
42
  * companyId: "STRING_VALUE",
@@ -1,7 +1,7 @@
1
- import { ServiceInputTypes, ServiceOutputTypes, StreamServiceClientResolvedConfig } from "../StreamServiceClient";
2
- import { ListMessagesInput, ListMessagesOutput } 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 { ListMessagesInput, ListMessagesOutput } from "../models/models_0";
4
+ import type { ServiceInputTypes, ServiceOutputTypes, StreamServiceClientResolvedConfig } from "../StreamServiceClient";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -22,9 +22,11 @@ export interface ListMessagesCommandInput extends ListMessagesInput {
22
22
  export interface ListMessagesCommandOutput extends ListMessagesOutput, __MetadataBearer {
23
23
  }
24
24
  declare const ListMessagesCommand_base: {
25
- new (input: ListMessagesCommandInput): import("@smithy/smithy-client").CommandImpl<ListMessagesCommandInput, ListMessagesCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (__0_0: ListMessagesCommandInput): import("@smithy/smithy-client").CommandImpl<ListMessagesCommandInput, ListMessagesCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: ListMessagesCommandInput): import("@smithy/core/client").CommandImpl<ListMessagesCommandInput, ListMessagesCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: ListMessagesCommandInput): import("@smithy/core/client").CommandImpl<ListMessagesCommandInput, ListMessagesCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * Returns one page of messages, newest-first by `timelineSeq`. `from` and `to` are optional bounds and can be set independently; when both are omitted, returns the most recent page. Maximum page size is 30 messages.
@@ -33,6 +35,8 @@ declare const ListMessagesCommand_base: {
33
35
  * ```javascript
34
36
  * import { StreamServiceClient, ListMessagesCommand } from "@wildix/stream-client"; // ES Modules import
35
37
  * // const { StreamServiceClient, ListMessagesCommand } = require("@wildix/stream-client"); // CommonJS import
38
+ * // import type { StreamServiceClientConfig } from "@wildix/stream-client";
39
+ * const config = {}; // type is StreamServiceClientConfig
36
40
  * const client = new StreamServiceClient(config);
37
41
  * const input = { // ListMessagesInput
38
42
  * companyId: "STRING_VALUE",