@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
@@ -0,0 +1,286 @@
1
+ /**
2
+ * @public
3
+ * @enum
4
+ */
5
+ export declare const ButtonVariant: {
6
+ readonly CONTAINED: "contained";
7
+ readonly OUTLINED: "outlined";
8
+ };
9
+ /**
10
+ * @public
11
+ */
12
+ export type ButtonVariant = (typeof ButtonVariant)[keyof typeof ButtonVariant];
13
+ /**
14
+ * @public
15
+ * @enum
16
+ */
17
+ export declare const ChannelMemberRole: {
18
+ readonly MEMBER: "member";
19
+ readonly SUPERVISOR: "supervisor";
20
+ };
21
+ /**
22
+ * @public
23
+ */
24
+ export type ChannelMemberRole = (typeof ChannelMemberRole)[keyof typeof ChannelMemberRole];
25
+ /**
26
+ * @public
27
+ * @enum
28
+ */
29
+ export declare const AssignChannelVariant: {
30
+ readonly ADAPTIVE: "ADAPTIVE";
31
+ readonly EVERYBODY: "EVERYBODY";
32
+ readonly SELECTED: "SELECTED";
33
+ readonly SKIP: "SKIP";
34
+ };
35
+ /**
36
+ * @public
37
+ */
38
+ export type AssignChannelVariant = (typeof AssignChannelVariant)[keyof typeof AssignChannelVariant];
39
+ /**
40
+ * @public
41
+ * @enum
42
+ */
43
+ export declare const ChannelAccess: {
44
+ readonly PRIVATE: "private";
45
+ readonly PUBLIC: "public";
46
+ };
47
+ /**
48
+ * @public
49
+ */
50
+ export type ChannelAccess = (typeof ChannelAccess)[keyof typeof ChannelAccess];
51
+ /**
52
+ * @public
53
+ * @enum
54
+ */
55
+ export declare const ChannelType: {
56
+ readonly DIRECT: "direct";
57
+ readonly GROUP: "group";
58
+ };
59
+ /**
60
+ * @public
61
+ */
62
+ export type ChannelType = (typeof ChannelType)[keyof typeof ChannelType];
63
+ /**
64
+ * @public
65
+ * @enum
66
+ */
67
+ export declare const ChannelContextEventAttendeeStatus: {
68
+ readonly ACCEPTED: "accepted";
69
+ readonly DECLINED: "declined";
70
+ readonly NONE: "none";
71
+ readonly TENTATIVE: "tentative";
72
+ };
73
+ /**
74
+ * @public
75
+ */
76
+ export type ChannelContextEventAttendeeStatus = (typeof ChannelContextEventAttendeeStatus)[keyof typeof ChannelContextEventAttendeeStatus];
77
+ /**
78
+ * @public
79
+ * @enum
80
+ */
81
+ export declare const ChannelContextSource: {
82
+ readonly KITE: "kite";
83
+ };
84
+ /**
85
+ * @public
86
+ */
87
+ export type ChannelContextSource = (typeof ChannelContextSource)[keyof typeof ChannelContextSource];
88
+ /**
89
+ * @public
90
+ * @enum
91
+ */
92
+ export declare const MessageType: {
93
+ readonly DELETED: "deleted";
94
+ readonly REGULAR: "regular";
95
+ readonly SYSTEM: "system";
96
+ };
97
+ /**
98
+ * @public
99
+ */
100
+ export type MessageType = (typeof MessageType)[keyof typeof MessageType];
101
+ /**
102
+ * @public
103
+ * @enum
104
+ */
105
+ export declare const ChannelWhatsAppStatus: {
106
+ readonly CHANNEL_CLOSED: "24h_channel_closed";
107
+ };
108
+ /**
109
+ * @public
110
+ */
111
+ export type ChannelWhatsAppStatus = (typeof ChannelWhatsAppStatus)[keyof typeof ChannelWhatsAppStatus];
112
+ /**
113
+ * @public
114
+ * @enum
115
+ */
116
+ export declare const ChannelsFilter: {
117
+ /**
118
+ * Archived (hidden) channels.
119
+ */
120
+ readonly ARCHIVED: "archived";
121
+ /**
122
+ * Non-archived channels with at least one unread message.
123
+ */
124
+ readonly UNREAD: "unread";
125
+ };
126
+ /**
127
+ * @public
128
+ */
129
+ export type ChannelsFilter = (typeof ChannelsFilter)[keyof typeof ChannelsFilter];
130
+ /**
131
+ * @public
132
+ * @enum
133
+ */
134
+ export declare const GroupChannelCreationEventType: {
135
+ readonly CONVERSATION_CREATED: "conversation_created";
136
+ readonly CONVERSATION_CREATED_WITH_NAME: "conversation_created_with_name";
137
+ };
138
+ /**
139
+ * @public
140
+ */
141
+ export type GroupChannelCreationEventType = (typeof GroupChannelCreationEventType)[keyof typeof GroupChannelCreationEventType];
142
+ /**
143
+ * @public
144
+ * @enum
145
+ */
146
+ export declare const MessageSmsStatus: {
147
+ readonly DELIVERED: "delivered";
148
+ readonly ERROR: "error";
149
+ readonly SENT: "sent";
150
+ readonly TRYING: "trying";
151
+ };
152
+ /**
153
+ * @public
154
+ */
155
+ export type MessageSmsStatus = (typeof MessageSmsStatus)[keyof typeof MessageSmsStatus];
156
+ /**
157
+ * @public
158
+ * @enum
159
+ */
160
+ export declare const MessageWhatsAppStatus: {
161
+ readonly DELIVERED: "delivered";
162
+ readonly ERROR: "error";
163
+ readonly SENT: "sent";
164
+ readonly TRYING: "trying";
165
+ };
166
+ /**
167
+ * @public
168
+ */
169
+ export type MessageWhatsAppStatus = (typeof MessageWhatsAppStatus)[keyof typeof MessageWhatsAppStatus];
170
+ /**
171
+ * @public
172
+ * @enum
173
+ */
174
+ export declare const TargetNotEligibleReason: {
175
+ readonly NO_LICENSE: "no_license";
176
+ };
177
+ /**
178
+ * @public
179
+ */
180
+ export type TargetNotEligibleReason = (typeof TargetNotEligibleReason)[keyof typeof TargetNotEligibleReason];
181
+ /**
182
+ * @public
183
+ * @enum
184
+ */
185
+ export declare const SectionType: {
186
+ /**
187
+ * Custom section created by the user.
188
+ */
189
+ readonly CUSTOM: "custom";
190
+ /**
191
+ * System section maintained by the backend.
192
+ */
193
+ readonly SYSTEM: "system";
194
+ };
195
+ /**
196
+ * @public
197
+ */
198
+ export type SectionType = (typeof SectionType)[keyof typeof SectionType];
199
+ export declare enum DownloadStrategy {
200
+ DEFAULT = 0,
201
+ DOWNLOAD = 1
202
+ }
203
+ /**
204
+ * @public
205
+ * @enum
206
+ */
207
+ export declare const FileCategory: {
208
+ /**
209
+ * Channel-attached files. Default.
210
+ */
211
+ readonly GENERAL: "channels";
212
+ /**
213
+ * Conference recordings.
214
+ */
215
+ readonly RECORDING: "recordings";
216
+ /**
217
+ * Wizy conference recordings.
218
+ */
219
+ readonly WIZY_RECORDING: "wizyconfRecordings";
220
+ };
221
+ /**
222
+ * @public
223
+ */
224
+ export type FileCategory = (typeof FileCategory)[keyof typeof FileCategory];
225
+ /**
226
+ * @public
227
+ * @enum
228
+ */
229
+ export declare const GroupChannelUnsetOptions: {
230
+ readonly ACCESS: "access";
231
+ readonly ASSIGNEE: "assignee";
232
+ readonly BROADCAST: "broadcast";
233
+ readonly CONTEXT: "context";
234
+ readonly CONTEXT_EVENTS: "contextEvents";
235
+ readonly CONTEXT_PTT: "contextPtt";
236
+ readonly DESCRIPTION: "description";
237
+ readonly KITE_ASSIGN: "kiteAssign";
238
+ readonly MMS: "mms";
239
+ readonly PICTURE: "picture";
240
+ readonly PICTURE_COLOR: "pictureColor";
241
+ readonly SERVICE: "service";
242
+ readonly SERVICE_TITLE: "serviceTitle";
243
+ readonly SMS: "sms";
244
+ readonly SUBJECT: "subject";
245
+ readonly WHATSAPP: "whatsapp";
246
+ readonly WHATSAPP_STATUS: "whatsappStatus";
247
+ };
248
+ /**
249
+ * @public
250
+ */
251
+ export type GroupChannelUnsetOptions = (typeof GroupChannelUnsetOptions)[keyof typeof GroupChannelUnsetOptions];
252
+ /**
253
+ * @public
254
+ * @enum
255
+ */
256
+ export declare const MentionsFilter: {
257
+ /**
258
+ * Unread mentions only.
259
+ */
260
+ readonly UNREAD: "unread";
261
+ };
262
+ /**
263
+ * @public
264
+ */
265
+ export type MentionsFilter = (typeof MentionsFilter)[keyof typeof MentionsFilter];
266
+ /**
267
+ * @public
268
+ * @enum
269
+ */
270
+ export declare const MessageUnsetFields: {
271
+ readonly ATTACHMENTS: "attachments";
272
+ readonly ELEMENTS: "elements";
273
+ readonly FORWARD: "forward";
274
+ readonly MARKDOWN: "markdown";
275
+ readonly MENTIONS: "mentions";
276
+ readonly QUOTE: "quote";
277
+ readonly SMS: "sms";
278
+ readonly SMS_STATUS: "smsStatus";
279
+ readonly TEXT: "text";
280
+ readonly WHATSAPP: "whatsapp";
281
+ readonly WHATSAPP_STATUS: "whatsappStatus";
282
+ };
283
+ /**
284
+ * @public
285
+ */
286
+ export type MessageUnsetFields = (typeof MessageUnsetFields)[keyof typeof MessageUnsetFields];
@@ -0,0 +1,189 @@
1
+ import type { ExceptionOptionType as __ExceptionOptionType } from "@smithy/core/client";
2
+ import type { TargetNotEligibleReason } from "./enums";
3
+ import { StreamServiceServiceException as __BaseException } from "./StreamServiceServiceException";
4
+ /**
5
+ * @public
6
+ */
7
+ export declare class ForbiddenException extends __BaseException {
8
+ readonly name: "ForbiddenException";
9
+ readonly $fault: "client";
10
+ /**
11
+ * @internal
12
+ */
13
+ constructor(opts: __ExceptionOptionType<ForbiddenException, __BaseException>);
14
+ }
15
+ /**
16
+ * @public
17
+ */
18
+ export declare class RateLimitExceededException extends __BaseException {
19
+ readonly name: "RateLimitExceededException";
20
+ readonly $fault: "client";
21
+ /**
22
+ * Displays the applicable rate limits for the current request.
23
+ * @public
24
+ */
25
+ rateLimit?: string | undefined;
26
+ /**
27
+ * Indicates how many requests a user can still make within the current time window.
28
+ * @public
29
+ */
30
+ rateLimitRemaining?: number | undefined;
31
+ /**
32
+ * Shows the time in seconds until the rate limit resets.
33
+ * @public
34
+ */
35
+ rateLimitReset?: number | undefined;
36
+ /**
37
+ * Displays how many seconds the user agent should wait before making a follow-up request.
38
+ * @public
39
+ */
40
+ retryAfter?: number | undefined;
41
+ /**
42
+ * @internal
43
+ */
44
+ constructor(opts: __ExceptionOptionType<RateLimitExceededException, __BaseException>);
45
+ }
46
+ /**
47
+ * @public
48
+ */
49
+ export declare class UnauthorizedException extends __BaseException {
50
+ readonly name: "UnauthorizedException";
51
+ readonly $fault: "client";
52
+ /**
53
+ * @internal
54
+ */
55
+ constructor(opts: __ExceptionOptionType<UnauthorizedException, __BaseException>);
56
+ }
57
+ /**
58
+ * @public
59
+ */
60
+ export declare class ValidationException extends __BaseException {
61
+ readonly name: "ValidationException";
62
+ readonly $fault: "client";
63
+ /**
64
+ * @internal
65
+ */
66
+ constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
67
+ }
68
+ /**
69
+ * @public
70
+ */
71
+ export declare class ChannelNotFoundException extends __BaseException {
72
+ readonly name: "ChannelNotFoundException";
73
+ readonly $fault: "client";
74
+ /**
75
+ * @internal
76
+ */
77
+ constructor(opts: __ExceptionOptionType<ChannelNotFoundException, __BaseException>);
78
+ }
79
+ /**
80
+ * @public
81
+ */
82
+ export declare class MemberAlreadyExistException extends __BaseException {
83
+ readonly name: "MemberAlreadyExistException";
84
+ readonly $fault: "client";
85
+ /**
86
+ * @internal
87
+ */
88
+ constructor(opts: __ExceptionOptionType<MemberAlreadyExistException, __BaseException>);
89
+ }
90
+ /**
91
+ * @public
92
+ */
93
+ export declare class StreamServiceException extends __BaseException {
94
+ readonly name: "StreamServiceException";
95
+ readonly $fault: "server";
96
+ /**
97
+ * @internal
98
+ */
99
+ constructor(opts: __ExceptionOptionType<StreamServiceException, __BaseException>);
100
+ }
101
+ /**
102
+ * @public
103
+ */
104
+ export declare class ChannelAlreadyExistException extends __BaseException {
105
+ readonly name: "ChannelAlreadyExistException";
106
+ readonly $fault: "client";
107
+ /**
108
+ * @internal
109
+ */
110
+ constructor(opts: __ExceptionOptionType<ChannelAlreadyExistException, __BaseException>);
111
+ }
112
+ /**
113
+ * @public
114
+ */
115
+ export declare class TargetNotEligibleException extends __BaseException {
116
+ readonly name: "TargetNotEligibleException";
117
+ readonly $fault: "client";
118
+ reason?: TargetNotEligibleReason | undefined;
119
+ /**
120
+ * @internal
121
+ */
122
+ constructor(opts: __ExceptionOptionType<TargetNotEligibleException, __BaseException>);
123
+ }
124
+ /**
125
+ * @public
126
+ */
127
+ export declare class TargetNotFoundException extends __BaseException {
128
+ readonly name: "TargetNotFoundException";
129
+ readonly $fault: "client";
130
+ /**
131
+ * @internal
132
+ */
133
+ constructor(opts: __ExceptionOptionType<TargetNotFoundException, __BaseException>);
134
+ }
135
+ /**
136
+ * @public
137
+ */
138
+ export declare class MemberNotFoundException extends __BaseException {
139
+ readonly name: "MemberNotFoundException";
140
+ readonly $fault: "client";
141
+ /**
142
+ * @internal
143
+ */
144
+ constructor(opts: __ExceptionOptionType<MemberNotFoundException, __BaseException>);
145
+ }
146
+ /**
147
+ * @public
148
+ */
149
+ export declare class MessageNotFoundException extends __BaseException {
150
+ readonly name: "MessageNotFoundException";
151
+ readonly $fault: "client";
152
+ /**
153
+ * @internal
154
+ */
155
+ constructor(opts: __ExceptionOptionType<MessageNotFoundException, __BaseException>);
156
+ }
157
+ /**
158
+ * @public
159
+ */
160
+ export declare class SectionNotFoundException extends __BaseException {
161
+ readonly name: "SectionNotFoundException";
162
+ readonly $fault: "client";
163
+ /**
164
+ * @internal
165
+ */
166
+ constructor(opts: __ExceptionOptionType<SectionNotFoundException, __BaseException>);
167
+ }
168
+ /**
169
+ * @public
170
+ */
171
+ export declare class FileNotFoundException extends __BaseException {
172
+ readonly name: "FileNotFoundException";
173
+ readonly $fault: "client";
174
+ /**
175
+ * @internal
176
+ */
177
+ constructor(opts: __ExceptionOptionType<FileNotFoundException, __BaseException>);
178
+ }
179
+ /**
180
+ * @public
181
+ */
182
+ export declare class MarkUnreadChannelsLimitReachedException extends __BaseException {
183
+ readonly name: "MarkUnreadChannelsLimitReachedException";
184
+ readonly $fault: "client";
185
+ /**
186
+ * @internal
187
+ */
188
+ constructor(opts: __ExceptionOptionType<MarkUnreadChannelsLimitReachedException, __BaseException>);
189
+ }