@wildix/stream-client 0.0.11 → 0.0.12

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 (81) hide show
  1. package/dist-cjs/StreamService.js +0 -4
  2. package/dist-cjs/commands/index.js +0 -2
  3. package/dist-cjs/models/models_0.js +1 -5
  4. package/dist-cjs/protocols/Aws_restJson1.js +3 -80
  5. package/dist-es/StreamService.js +0 -4
  6. package/dist-es/commands/index.js +0 -2
  7. package/dist-es/models/models_0.js +0 -4
  8. package/dist-es/protocols/Aws_restJson1.js +1 -74
  9. package/dist-types/StreamService.d.ts +0 -14
  10. package/dist-types/StreamServiceClient.d.ts +2 -4
  11. package/dist-types/commands/AddChannelMemberCommand.d.ts +3 -1
  12. package/dist-types/commands/AddChannelMembersCommand.d.ts +3 -1
  13. package/dist-types/commands/AssignChannelCommand.d.ts +3 -1
  14. package/dist-types/commands/CreateGroupChannelCommand.d.ts +4 -1
  15. package/dist-types/commands/CreateKiteChannelCommand.d.ts +4 -1
  16. package/dist-types/commands/CreateSectionCommand.d.ts +3 -1
  17. package/dist-types/commands/DeleteChannelCommand.d.ts +3 -1
  18. package/dist-types/commands/DeleteChannelMemberCommand.d.ts +3 -1
  19. package/dist-types/commands/DeleteMessageCommand.d.ts +3 -1
  20. package/dist-types/commands/DeleteMessageReactionCommand.d.ts +3 -1
  21. package/dist-types/commands/DeleteSectionCommand.d.ts +3 -1
  22. package/dist-types/commands/GetChannelCommand.d.ts +4 -1
  23. package/dist-types/commands/GetChannelMemberCommand.d.ts +3 -1
  24. package/dist-types/commands/GetDirectChannelIdCommand.d.ts +3 -1
  25. package/dist-types/commands/GetFilePresignedDownloadUrlCommand.d.ts +3 -1
  26. package/dist-types/commands/GetInboxCommand.d.ts +4 -1
  27. package/dist-types/commands/GetMessageCommand.d.ts +3 -1
  28. package/dist-types/commands/GetOrCreateDirectChannelCommand.d.ts +4 -1
  29. package/dist-types/commands/GetOrCreateSmsChannelCommand.d.ts +4 -1
  30. package/dist-types/commands/GetOrCreateTelephonyChannelCommand.d.ts +4 -1
  31. package/dist-types/commands/GetOrCreateWhatsAppChannelCommand.d.ts +4 -1
  32. package/dist-types/commands/GetSmsChannelIdCommand.d.ts +3 -1
  33. package/dist-types/commands/GetTelephonyChannelIdCommand.d.ts +3 -1
  34. package/dist-types/commands/GetTokenCommand.d.ts +3 -1
  35. package/dist-types/commands/GetUploadedFileInfoCommand.d.ts +3 -1
  36. package/dist-types/commands/GetWhatsAppChannelIdCommand.d.ts +3 -1
  37. package/dist-types/commands/HideChannelCommand.d.ts +3 -1
  38. package/dist-types/commands/JoinChannelCommand.d.ts +4 -1
  39. package/dist-types/commands/LeaveChannelCommand.d.ts +3 -1
  40. package/dist-types/commands/ListChannelMembersCommand.d.ts +3 -1
  41. package/dist-types/commands/ListChannelMembersReadStatusCommand.d.ts +3 -1
  42. package/dist-types/commands/ListChannelsCommand.d.ts +4 -1
  43. package/dist-types/commands/ListMentionsCommand.d.ts +3 -1
  44. package/dist-types/commands/ListMessagesCommand.d.ts +3 -1
  45. package/dist-types/commands/MarkReadCommand.d.ts +3 -1
  46. package/dist-types/commands/MarkUnreadCommand.d.ts +3 -1
  47. package/dist-types/commands/MoveChannelToSectionCommand.d.ts +3 -1
  48. package/dist-types/commands/MuteChannelCommand.d.ts +3 -1
  49. package/dist-types/commands/PartialUpdateChannelCommand.d.ts +4 -1
  50. package/dist-types/commands/PartialUpdateMessageCommand.d.ts +3 -1
  51. package/dist-types/commands/PinChannelCommand.d.ts +3 -1
  52. package/dist-types/commands/PinMessageCommand.d.ts +3 -1
  53. package/dist-types/commands/QueryChannelsCommand.d.ts +4 -1
  54. package/dist-types/commands/RemoveChannelFromSectionCommand.d.ts +3 -1
  55. package/dist-types/commands/RenameSectionCommand.d.ts +3 -1
  56. package/dist-types/commands/SendGiphyCommand.d.ts +3 -1
  57. package/dist-types/commands/SendMessageCommand.d.ts +3 -1
  58. package/dist-types/commands/SendMessageReactionCommand.d.ts +3 -1
  59. package/dist-types/commands/SendSystemMessageCommand.d.ts +3 -1
  60. package/dist-types/commands/SendTypingStartCommand.d.ts +3 -1
  61. package/dist-types/commands/SendTypingStopCommand.d.ts +3 -1
  62. package/dist-types/commands/ShowChannelCommand.d.ts +3 -1
  63. package/dist-types/commands/UnmuteChannelCommand.d.ts +3 -1
  64. package/dist-types/commands/UnpinChannelCommand.d.ts +3 -1
  65. package/dist-types/commands/UnpinMessageCommand.d.ts +3 -1
  66. package/dist-types/commands/UpdateChannelCommand.d.ts +4 -1
  67. package/dist-types/commands/UpdateMessageCommand.d.ts +3 -1
  68. package/dist-types/commands/UploadFileCommand.d.ts +3 -1
  69. package/dist-types/commands/index.d.ts +0 -2
  70. package/dist-types/models/models_0.d.ts +5 -144
  71. package/dist-types/protocols/Aws_restJson1.d.ts +0 -18
  72. package/dist-types/runtimeConfig.browser.d.ts +3 -1
  73. package/dist-types/runtimeConfig.d.ts +3 -1
  74. package/dist-types/runtimeConfig.native.d.ts +3 -1
  75. package/package.json +1 -1
  76. package/dist-cjs/commands/SearchChannelsCommand.js +0 -21
  77. package/dist-cjs/commands/SearchMessagesCommand.js +0 -21
  78. package/dist-es/commands/SearchChannelsCommand.js +0 -17
  79. package/dist-es/commands/SearchMessagesCommand.js +0 -17
  80. package/dist-types/commands/SearchChannelsCommand.d.ts +0 -159
  81. package/dist-types/commands/SearchMessagesCommand.d.ts +0 -204
@@ -47,8 +47,6 @@ const PinMessageCommand_1 = require("./commands/PinMessageCommand");
47
47
  const QueryChannelsCommand_1 = require("./commands/QueryChannelsCommand");
48
48
  const RemoveChannelFromSectionCommand_1 = require("./commands/RemoveChannelFromSectionCommand");
49
49
  const RenameSectionCommand_1 = require("./commands/RenameSectionCommand");
50
- const SearchChannelsCommand_1 = require("./commands/SearchChannelsCommand");
51
- const SearchMessagesCommand_1 = require("./commands/SearchMessagesCommand");
52
50
  const SendGiphyCommand_1 = require("./commands/SendGiphyCommand");
53
51
  const SendMessageCommand_1 = require("./commands/SendMessageCommand");
54
52
  const SendMessageReactionCommand_1 = require("./commands/SendMessageReactionCommand");
@@ -109,8 +107,6 @@ const commands = {
109
107
  QueryChannelsCommand: QueryChannelsCommand_1.QueryChannelsCommand,
110
108
  RemoveChannelFromSectionCommand: RemoveChannelFromSectionCommand_1.RemoveChannelFromSectionCommand,
111
109
  RenameSectionCommand: RenameSectionCommand_1.RenameSectionCommand,
112
- SearchChannelsCommand: SearchChannelsCommand_1.SearchChannelsCommand,
113
- SearchMessagesCommand: SearchMessagesCommand_1.SearchMessagesCommand,
114
110
  SendGiphyCommand: SendGiphyCommand_1.SendGiphyCommand,
115
111
  SendMessageCommand: SendMessageCommand_1.SendMessageCommand,
116
112
  SendMessageReactionCommand: SendMessageReactionCommand_1.SendMessageReactionCommand,
@@ -46,8 +46,6 @@ tslib_1.__exportStar(require("./PinMessageCommand"), exports);
46
46
  tslib_1.__exportStar(require("./QueryChannelsCommand"), exports);
47
47
  tslib_1.__exportStar(require("./RemoveChannelFromSectionCommand"), exports);
48
48
  tslib_1.__exportStar(require("./RenameSectionCommand"), exports);
49
- tslib_1.__exportStar(require("./SearchChannelsCommand"), exports);
50
- tslib_1.__exportStar(require("./SearchMessagesCommand"), exports);
51
49
  tslib_1.__exportStar(require("./SendGiphyCommand"), exports);
52
50
  tslib_1.__exportStar(require("./SendMessageCommand"), exports);
53
51
  tslib_1.__exportStar(require("./SendMessageReactionCommand"), exports);
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SystemMessage = exports.SearchSort = exports.MessageUnsetFields = exports.MarkUnreadChannelsLimitReachedException = exports.MentionsFilter = exports.GroupChannelUnsetOptions = exports.FileNotFoundException = exports.FileCategory = exports.DownloadStrategy = exports.SectionNotFoundException = exports.MessageNotFoundException = exports.MemberNotFoundException = exports.SectionType = exports.TargetNotFoundException = exports.TargetNotEligibleException = exports.TargetNotEligibleReason = exports.MessageWhatsAppStatus = exports.MessageSmsStatus = exports.Element = exports.GroupChannelCreationEventType = exports.ChannelsFilter = exports.ChannelAlreadyExistException = exports.ChannelWhatsAppStatus = exports.MessageType = exports.ChannelContextSource = exports.ChannelContextEventAttendeeStatus = exports.ChannelType = exports.ChannelAccess = exports.AssignChannelVariant = exports.AssignChannelServiceRequest = exports.AssignChannelAssigneeRequest = exports.StreamServiceException = exports.MemberAlreadyExistException = exports.ChannelNotFoundException = exports.ChannelMemberRole = exports.ActionElement = exports.ButtonVariant = exports.ButtonHandler = exports.ValidationException = exports.UnauthorizedException = exports.RateLimitExceededException = exports.ForbiddenException = void 0;
3
+ exports.SystemMessage = exports.MessageUnsetFields = exports.MarkUnreadChannelsLimitReachedException = exports.MentionsFilter = exports.GroupChannelUnsetOptions = exports.FileNotFoundException = exports.FileCategory = exports.DownloadStrategy = exports.SectionNotFoundException = exports.MessageNotFoundException = exports.MemberNotFoundException = exports.SectionType = exports.TargetNotFoundException = exports.TargetNotEligibleException = exports.TargetNotEligibleReason = exports.MessageWhatsAppStatus = exports.MessageSmsStatus = exports.Element = exports.GroupChannelCreationEventType = exports.ChannelsFilter = exports.ChannelAlreadyExistException = exports.ChannelWhatsAppStatus = exports.MessageType = exports.ChannelContextSource = exports.ChannelContextEventAttendeeStatus = exports.ChannelType = exports.ChannelAccess = exports.AssignChannelVariant = exports.AssignChannelServiceRequest = exports.AssignChannelAssigneeRequest = exports.StreamServiceException = exports.MemberAlreadyExistException = exports.ChannelNotFoundException = exports.ChannelMemberRole = exports.ActionElement = exports.ButtonVariant = exports.ButtonHandler = exports.ValidationException = exports.UnauthorizedException = exports.RateLimitExceededException = exports.ForbiddenException = void 0;
4
4
  const StreamServiceServiceException_1 = require("./StreamServiceServiceException");
5
5
  class ForbiddenException extends StreamServiceServiceException_1.StreamServiceServiceException {
6
6
  name = "ForbiddenException";
@@ -366,10 +366,6 @@ exports.MessageUnsetFields = {
366
366
  WHATSAPP: "whatsapp",
367
367
  WHATSAPP_STATUS: "whatsappStatus",
368
368
  };
369
- exports.SearchSort = {
370
- RECENCY: "recency",
371
- RELEVANCE: "relevance",
372
- };
373
369
  var SystemMessage;
374
370
  (function (SystemMessage) {
375
371
  SystemMessage.visit = (value, visitor) => {
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.se_SendMessageReactionCommand = exports.se_SendMessageCommand = exports.se_SendGiphyCommand = exports.se_SearchMessagesCommand = exports.se_SearchChannelsCommand = exports.se_RenameSectionCommand = exports.se_RemoveChannelFromSectionCommand = exports.se_QueryChannelsCommand = exports.se_PinMessageCommand = exports.se_PinChannelCommand = exports.se_PartialUpdateMessageCommand = exports.se_PartialUpdateChannelCommand = exports.se_MuteChannelCommand = exports.se_MoveChannelToSectionCommand = exports.se_MarkUnreadCommand = exports.se_MarkReadCommand = exports.se_ListMessagesCommand = exports.se_ListMentionsCommand = exports.se_ListChannelsCommand = exports.se_ListChannelMembersReadStatusCommand = exports.se_ListChannelMembersCommand = exports.se_LeaveChannelCommand = exports.se_JoinChannelCommand = exports.se_HideChannelCommand = exports.se_GetWhatsAppChannelIdCommand = exports.se_GetUploadedFileInfoCommand = exports.se_GetTokenCommand = exports.se_GetTelephonyChannelIdCommand = exports.se_GetSmsChannelIdCommand = exports.se_GetOrCreateWhatsAppChannelCommand = exports.se_GetOrCreateTelephonyChannelCommand = exports.se_GetOrCreateSmsChannelCommand = exports.se_GetOrCreateDirectChannelCommand = exports.se_GetMessageCommand = exports.se_GetInboxCommand = exports.se_GetFilePresignedDownloadUrlCommand = exports.se_GetDirectChannelIdCommand = exports.se_GetChannelMemberCommand = exports.se_GetChannelCommand = exports.se_DeleteSectionCommand = exports.se_DeleteMessageReactionCommand = exports.se_DeleteMessageCommand = exports.se_DeleteChannelMemberCommand = exports.se_DeleteChannelCommand = exports.se_CreateSectionCommand = exports.se_CreateKiteChannelCommand = exports.se_CreateGroupChannelCommand = exports.se_AssignChannelCommand = exports.se_AddChannelMembersCommand = exports.se_AddChannelMemberCommand = void 0;
4
- exports.de_PartialUpdateMessageCommand = exports.de_PartialUpdateChannelCommand = exports.de_MuteChannelCommand = exports.de_MoveChannelToSectionCommand = exports.de_MarkUnreadCommand = exports.de_MarkReadCommand = exports.de_ListMessagesCommand = exports.de_ListMentionsCommand = exports.de_ListChannelsCommand = exports.de_ListChannelMembersReadStatusCommand = exports.de_ListChannelMembersCommand = exports.de_LeaveChannelCommand = exports.de_JoinChannelCommand = exports.de_HideChannelCommand = exports.de_GetWhatsAppChannelIdCommand = exports.de_GetUploadedFileInfoCommand = exports.de_GetTokenCommand = exports.de_GetTelephonyChannelIdCommand = exports.de_GetSmsChannelIdCommand = exports.de_GetOrCreateWhatsAppChannelCommand = exports.de_GetOrCreateTelephonyChannelCommand = exports.de_GetOrCreateSmsChannelCommand = exports.de_GetOrCreateDirectChannelCommand = exports.de_GetMessageCommand = exports.de_GetInboxCommand = exports.de_GetFilePresignedDownloadUrlCommand = exports.de_GetDirectChannelIdCommand = exports.de_GetChannelMemberCommand = exports.de_GetChannelCommand = exports.de_DeleteSectionCommand = exports.de_DeleteMessageReactionCommand = exports.de_DeleteMessageCommand = exports.de_DeleteChannelMemberCommand = exports.de_DeleteChannelCommand = exports.de_CreateSectionCommand = exports.de_CreateKiteChannelCommand = exports.de_CreateGroupChannelCommand = exports.de_AssignChannelCommand = exports.de_AddChannelMembersCommand = exports.de_AddChannelMemberCommand = exports.se_UploadFileCommand = exports.se_UpdateMessageCommand = exports.se_UpdateChannelCommand = exports.se_UnpinMessageCommand = exports.se_UnpinChannelCommand = exports.se_UnmuteChannelCommand = exports.se_ShowChannelCommand = exports.se_SendTypingStopCommand = exports.se_SendTypingStartCommand = exports.se_SendSystemMessageCommand = void 0;
5
- exports.de_UploadFileCommand = exports.de_UpdateMessageCommand = exports.de_UpdateChannelCommand = exports.de_UnpinMessageCommand = exports.de_UnpinChannelCommand = exports.de_UnmuteChannelCommand = exports.de_ShowChannelCommand = exports.de_SendTypingStopCommand = exports.de_SendTypingStartCommand = exports.de_SendSystemMessageCommand = exports.de_SendMessageReactionCommand = exports.de_SendMessageCommand = exports.de_SendGiphyCommand = exports.de_SearchMessagesCommand = exports.de_SearchChannelsCommand = exports.de_RenameSectionCommand = exports.de_RemoveChannelFromSectionCommand = exports.de_QueryChannelsCommand = exports.de_PinMessageCommand = exports.de_PinChannelCommand = void 0;
3
+ exports.se_SendTypingStartCommand = exports.se_SendSystemMessageCommand = exports.se_SendMessageReactionCommand = exports.se_SendMessageCommand = exports.se_SendGiphyCommand = exports.se_RenameSectionCommand = exports.se_RemoveChannelFromSectionCommand = exports.se_QueryChannelsCommand = exports.se_PinMessageCommand = exports.se_PinChannelCommand = exports.se_PartialUpdateMessageCommand = exports.se_PartialUpdateChannelCommand = exports.se_MuteChannelCommand = exports.se_MoveChannelToSectionCommand = exports.se_MarkUnreadCommand = exports.se_MarkReadCommand = exports.se_ListMessagesCommand = exports.se_ListMentionsCommand = exports.se_ListChannelsCommand = exports.se_ListChannelMembersReadStatusCommand = exports.se_ListChannelMembersCommand = exports.se_LeaveChannelCommand = exports.se_JoinChannelCommand = exports.se_HideChannelCommand = exports.se_GetWhatsAppChannelIdCommand = exports.se_GetUploadedFileInfoCommand = exports.se_GetTokenCommand = exports.se_GetTelephonyChannelIdCommand = exports.se_GetSmsChannelIdCommand = exports.se_GetOrCreateWhatsAppChannelCommand = exports.se_GetOrCreateTelephonyChannelCommand = exports.se_GetOrCreateSmsChannelCommand = exports.se_GetOrCreateDirectChannelCommand = exports.se_GetMessageCommand = exports.se_GetInboxCommand = exports.se_GetFilePresignedDownloadUrlCommand = exports.se_GetDirectChannelIdCommand = exports.se_GetChannelMemberCommand = exports.se_GetChannelCommand = exports.se_DeleteSectionCommand = exports.se_DeleteMessageReactionCommand = exports.se_DeleteMessageCommand = exports.se_DeleteChannelMemberCommand = exports.se_DeleteChannelCommand = exports.se_CreateSectionCommand = exports.se_CreateKiteChannelCommand = exports.se_CreateGroupChannelCommand = exports.se_AssignChannelCommand = exports.se_AddChannelMembersCommand = exports.se_AddChannelMemberCommand = void 0;
4
+ exports.de_PinMessageCommand = exports.de_PinChannelCommand = exports.de_PartialUpdateMessageCommand = exports.de_PartialUpdateChannelCommand = exports.de_MuteChannelCommand = exports.de_MoveChannelToSectionCommand = exports.de_MarkUnreadCommand = exports.de_MarkReadCommand = exports.de_ListMessagesCommand = exports.de_ListMentionsCommand = exports.de_ListChannelsCommand = exports.de_ListChannelMembersReadStatusCommand = exports.de_ListChannelMembersCommand = exports.de_LeaveChannelCommand = exports.de_JoinChannelCommand = exports.de_HideChannelCommand = exports.de_GetWhatsAppChannelIdCommand = exports.de_GetUploadedFileInfoCommand = exports.de_GetTokenCommand = exports.de_GetTelephonyChannelIdCommand = exports.de_GetSmsChannelIdCommand = exports.de_GetOrCreateWhatsAppChannelCommand = exports.de_GetOrCreateTelephonyChannelCommand = exports.de_GetOrCreateSmsChannelCommand = exports.de_GetOrCreateDirectChannelCommand = exports.de_GetMessageCommand = exports.de_GetInboxCommand = exports.de_GetFilePresignedDownloadUrlCommand = exports.de_GetDirectChannelIdCommand = exports.de_GetChannelMemberCommand = exports.de_GetChannelCommand = exports.de_DeleteSectionCommand = exports.de_DeleteMessageReactionCommand = exports.de_DeleteMessageCommand = exports.de_DeleteChannelMemberCommand = exports.de_DeleteChannelCommand = exports.de_CreateSectionCommand = exports.de_CreateKiteChannelCommand = exports.de_CreateGroupChannelCommand = exports.de_AssignChannelCommand = exports.de_AddChannelMembersCommand = exports.de_AddChannelMemberCommand = exports.se_UploadFileCommand = exports.se_UpdateMessageCommand = exports.se_UpdateChannelCommand = exports.se_UnpinMessageCommand = exports.se_UnpinChannelCommand = exports.se_UnmuteChannelCommand = exports.se_ShowChannelCommand = exports.se_SendTypingStopCommand = void 0;
5
+ exports.de_UploadFileCommand = exports.de_UpdateMessageCommand = exports.de_UpdateChannelCommand = exports.de_UnpinMessageCommand = exports.de_UnpinChannelCommand = exports.de_UnmuteChannelCommand = exports.de_ShowChannelCommand = exports.de_SendTypingStopCommand = exports.de_SendTypingStartCommand = exports.de_SendSystemMessageCommand = exports.de_SendMessageReactionCommand = exports.de_SendMessageCommand = exports.de_SendGiphyCommand = exports.de_RenameSectionCommand = exports.de_RemoveChannelFromSectionCommand = exports.de_QueryChannelsCommand = void 0;
6
6
  const StreamServiceServiceException_1 = require("../models/StreamServiceServiceException");
7
7
  const models_0_1 = require("../models/models_0");
8
8
  const core_1 = require("@aws-sdk/core");
@@ -956,46 +956,6 @@ const se_RenameSectionCommand = async (input, context) => {
956
956
  return b.build();
957
957
  };
958
958
  exports.se_RenameSectionCommand = se_RenameSectionCommand;
959
- const se_SearchChannelsCommand = async (input, context) => {
960
- const b = (0, core_2.requestBuilder)(input, context);
961
- const headers = {};
962
- b.bp("/api/v1/search/channels");
963
- const query = (0, smithy_client_1.map)({
964
- [_c]: [, input[_cI]],
965
- [_uI]: [, input[_uI]],
966
- [_q]: [, (0, smithy_client_1.expectNonNull)(input[_q], `q`)],
967
- [_si]: [() => input.size !== void 0, () => (input[_si].toString())],
968
- [_cu]: [, input[_cu]],
969
- });
970
- let body;
971
- b.m("GET")
972
- .h(headers)
973
- .q(query)
974
- .b(body);
975
- return b.build();
976
- };
977
- exports.se_SearchChannelsCommand = se_SearchChannelsCommand;
978
- const se_SearchMessagesCommand = async (input, context) => {
979
- const b = (0, core_2.requestBuilder)(input, context);
980
- const headers = {};
981
- b.bp("/api/v1/search/messages");
982
- const query = (0, smithy_client_1.map)({
983
- [_c]: [, input[_cI]],
984
- [_uI]: [, input[_uI]],
985
- [_q]: [, (0, smithy_client_1.expectNonNull)(input[_q], `q`)],
986
- [_cIh]: [, input[_cIh]],
987
- [_si]: [() => input.size !== void 0, () => (input[_si].toString())],
988
- [_cu]: [, input[_cu]],
989
- [_so]: [, input[_so]],
990
- });
991
- let body;
992
- b.m("GET")
993
- .h(headers)
994
- .q(query)
995
- .b(body);
996
- return b.build();
997
- };
998
- exports.se_SearchMessagesCommand = se_SearchMessagesCommand;
999
959
  const se_SendGiphyCommand = async (input, context) => {
1000
960
  const b = (0, core_2.requestBuilder)(input, context);
1001
961
  const headers = {
@@ -1951,39 +1911,6 @@ const de_RenameSectionCommand = async (output, context) => {
1951
1911
  return contents;
1952
1912
  };
1953
1913
  exports.de_RenameSectionCommand = de_RenameSectionCommand;
1954
- const de_SearchChannelsCommand = async (output, context) => {
1955
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1956
- return de_CommandError(output, context);
1957
- }
1958
- const contents = (0, smithy_client_1.map)({
1959
- $metadata: deserializeMetadata(output),
1960
- });
1961
- const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
1962
- const doc = (0, smithy_client_1.take)(data, {
1963
- 'nextCursor': smithy_client_1.expectString,
1964
- 'results': smithy_client_1._json,
1965
- });
1966
- Object.assign(contents, doc);
1967
- return contents;
1968
- };
1969
- exports.de_SearchChannelsCommand = de_SearchChannelsCommand;
1970
- const de_SearchMessagesCommand = async (output, context) => {
1971
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1972
- return de_CommandError(output, context);
1973
- }
1974
- const contents = (0, smithy_client_1.map)({
1975
- $metadata: deserializeMetadata(output),
1976
- });
1977
- const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
1978
- const doc = (0, smithy_client_1.take)(data, {
1979
- 'nextCursor': smithy_client_1.expectString,
1980
- 'results': smithy_client_1._json,
1981
- 'totalCount': smithy_client_1.expectInt32,
1982
- });
1983
- Object.assign(contents, doc);
1984
- return contents;
1985
- };
1986
- exports.de_SearchMessagesCommand = de_SearchMessagesCommand;
1987
1914
  const de_SendGiphyCommand = async (output, context) => {
1988
1915
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1989
1916
  return de_CommandError(output, context);
@@ -2436,7 +2363,6 @@ const deserializeMetadata = (output) => ({
2436
2363
  const collectBodyString = (streamBody, context) => (0, smithy_client_1.collectBody)(streamBody, context).then(body => context.utf8Encoder(body));
2437
2364
  const _c = "company";
2438
2365
  const _cI = "companyId";
2439
- const _cIh = "channelId";
2440
2366
  const _cIl = "clientId";
2441
2367
  const _ca = "category";
2442
2368
  const _cu = "cursor";
@@ -2446,7 +2372,6 @@ const _fo = "force";
2446
2372
  const _fr = "from";
2447
2373
  const _l = "limit";
2448
2374
  const _o = "offset";
2449
- const _q = "q";
2450
2375
  const _rA = "retryAfter";
2451
2376
  const _rL = "rateLimit";
2452
2377
  const _rLR = "rateLimitRemaining";
@@ -2454,8 +2379,6 @@ const _rLRa = "rateLimitReset";
2454
2379
  const _ra = "retry-after";
2455
2380
  const _s = "silent";
2456
2381
  const _se = "section";
2457
- const _si = "size";
2458
- const _so = "sort";
2459
2382
  const _t = "to";
2460
2383
  const _uI = "userId";
2461
2384
  const _xrl = "x-ratelimit-limit";
@@ -44,8 +44,6 @@ import { PinMessageCommand, } from "./commands/PinMessageCommand";
44
44
  import { QueryChannelsCommand, } from "./commands/QueryChannelsCommand";
45
45
  import { RemoveChannelFromSectionCommand, } from "./commands/RemoveChannelFromSectionCommand";
46
46
  import { RenameSectionCommand, } from "./commands/RenameSectionCommand";
47
- import { SearchChannelsCommand, } from "./commands/SearchChannelsCommand";
48
- import { SearchMessagesCommand, } from "./commands/SearchMessagesCommand";
49
47
  import { SendGiphyCommand, } from "./commands/SendGiphyCommand";
50
48
  import { SendMessageCommand, } from "./commands/SendMessageCommand";
51
49
  import { SendMessageReactionCommand, } from "./commands/SendMessageReactionCommand";
@@ -106,8 +104,6 @@ const commands = {
106
104
  QueryChannelsCommand,
107
105
  RemoveChannelFromSectionCommand,
108
106
  RenameSectionCommand,
109
- SearchChannelsCommand,
110
- SearchMessagesCommand,
111
107
  SendGiphyCommand,
112
108
  SendMessageCommand,
113
109
  SendMessageReactionCommand,
@@ -43,8 +43,6 @@ export * from "./PinMessageCommand";
43
43
  export * from "./QueryChannelsCommand";
44
44
  export * from "./RemoveChannelFromSectionCommand";
45
45
  export * from "./RenameSectionCommand";
46
- export * from "./SearchChannelsCommand";
47
- export * from "./SearchMessagesCommand";
48
46
  export * from "./SendGiphyCommand";
49
47
  export * from "./SendMessageCommand";
50
48
  export * from "./SendMessageReactionCommand";
@@ -348,10 +348,6 @@ export const MessageUnsetFields = {
348
348
  WHATSAPP: "whatsapp",
349
349
  WHATSAPP_STATUS: "whatsappStatus",
350
350
  };
351
- export const SearchSort = {
352
- RECENCY: "recency",
353
- RELEVANCE: "relevance",
354
- };
355
351
  export var SystemMessage;
356
352
  (function (SystemMessage) {
357
353
  SystemMessage.visit = (value, visitor) => {
@@ -2,7 +2,7 @@ import { StreamServiceServiceException as __BaseException } from "../models/Stre
2
2
  import { ChannelAlreadyExistException, ChannelNotFoundException, FileNotFoundException, ForbiddenException, MarkUnreadChannelsLimitReachedException, MemberAlreadyExistException, MemberNotFoundException, MessageNotFoundException, RateLimitExceededException, SectionNotFoundException, StreamServiceException, TargetNotEligibleException, TargetNotFoundException, UnauthorizedException, ValidationException, } from "../models/models_0";
3
3
  import { loadRestJsonErrorCode, parseJsonBody as parseBody, parseJsonErrorBody as parseErrorBody, } from "@aws-sdk/core";
4
4
  import { requestBuilder as rb } from "@smithy/core";
5
- import { decorateServiceException as __decorateServiceException, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, strictParseInt32 as __strictParseInt32, _json, collectBody, map, take, withBaseException, } from "@smithy/smithy-client";
5
+ import { decorateServiceException as __decorateServiceException, expectLong as __expectLong, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, strictParseInt32 as __strictParseInt32, _json, collectBody, map, take, withBaseException, } from "@smithy/smithy-client";
6
6
  export const se_AddChannelMemberCommand = async (input, context) => {
7
7
  const b = rb(input, context);
8
8
  const headers = {
@@ -906,44 +906,6 @@ export const se_RenameSectionCommand = async (input, context) => {
906
906
  .b(body);
907
907
  return b.build();
908
908
  };
909
- export const se_SearchChannelsCommand = async (input, context) => {
910
- const b = rb(input, context);
911
- const headers = {};
912
- b.bp("/api/v1/search/channels");
913
- const query = map({
914
- [_c]: [, input[_cI]],
915
- [_uI]: [, input[_uI]],
916
- [_q]: [, __expectNonNull(input[_q], `q`)],
917
- [_si]: [() => input.size !== void 0, () => (input[_si].toString())],
918
- [_cu]: [, input[_cu]],
919
- });
920
- let body;
921
- b.m("GET")
922
- .h(headers)
923
- .q(query)
924
- .b(body);
925
- return b.build();
926
- };
927
- export const se_SearchMessagesCommand = async (input, context) => {
928
- const b = rb(input, context);
929
- const headers = {};
930
- b.bp("/api/v1/search/messages");
931
- const query = map({
932
- [_c]: [, input[_cI]],
933
- [_uI]: [, input[_uI]],
934
- [_q]: [, __expectNonNull(input[_q], `q`)],
935
- [_cIh]: [, input[_cIh]],
936
- [_si]: [() => input.size !== void 0, () => (input[_si].toString())],
937
- [_cu]: [, input[_cu]],
938
- [_so]: [, input[_so]],
939
- });
940
- let body;
941
- b.m("GET")
942
- .h(headers)
943
- .q(query)
944
- .b(body);
945
- return b.build();
946
- };
947
909
  export const se_SendGiphyCommand = async (input, context) => {
948
910
  const b = rb(input, context);
949
911
  const headers = {
@@ -1841,37 +1803,6 @@ export const de_RenameSectionCommand = async (output, context) => {
1841
1803
  Object.assign(contents, doc);
1842
1804
  return contents;
1843
1805
  };
1844
- export const de_SearchChannelsCommand = async (output, context) => {
1845
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1846
- return de_CommandError(output, context);
1847
- }
1848
- const contents = map({
1849
- $metadata: deserializeMetadata(output),
1850
- });
1851
- const data = __expectNonNull((__expectObject(await parseBody(output.body, context))), "body");
1852
- const doc = take(data, {
1853
- 'nextCursor': __expectString,
1854
- 'results': _json,
1855
- });
1856
- Object.assign(contents, doc);
1857
- return contents;
1858
- };
1859
- export const de_SearchMessagesCommand = async (output, context) => {
1860
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1861
- return de_CommandError(output, context);
1862
- }
1863
- const contents = map({
1864
- $metadata: deserializeMetadata(output),
1865
- });
1866
- const data = __expectNonNull((__expectObject(await parseBody(output.body, context))), "body");
1867
- const doc = take(data, {
1868
- 'nextCursor': __expectString,
1869
- 'results': _json,
1870
- 'totalCount': __expectInt32,
1871
- });
1872
- Object.assign(contents, doc);
1873
- return contents;
1874
- };
1875
1806
  export const de_SendGiphyCommand = async (output, context) => {
1876
1807
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1877
1808
  return de_CommandError(output, context);
@@ -2311,7 +2242,6 @@ const deserializeMetadata = (output) => ({
2311
2242
  const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then(body => context.utf8Encoder(body));
2312
2243
  const _c = "company";
2313
2244
  const _cI = "companyId";
2314
- const _cIh = "channelId";
2315
2245
  const _cIl = "clientId";
2316
2246
  const _ca = "category";
2317
2247
  const _cu = "cursor";
@@ -2321,7 +2251,6 @@ const _fo = "force";
2321
2251
  const _fr = "from";
2322
2252
  const _l = "limit";
2323
2253
  const _o = "offset";
2324
- const _q = "q";
2325
2254
  const _rA = "retryAfter";
2326
2255
  const _rL = "rateLimit";
2327
2256
  const _rLR = "rateLimitRemaining";
@@ -2329,8 +2258,6 @@ const _rLRa = "rateLimitReset";
2329
2258
  const _ra = "retry-after";
2330
2259
  const _s = "silent";
2331
2260
  const _se = "section";
2332
- const _si = "size";
2333
- const _so = "sort";
2334
2261
  const _t = "to";
2335
2262
  const _uI = "userId";
2336
2263
  const _xrl = "x-ratelimit-limit";
@@ -44,8 +44,6 @@ import { PinMessageCommandInput, PinMessageCommandOutput } from "./commands/PinM
44
44
  import { QueryChannelsCommandInput, QueryChannelsCommandOutput } from "./commands/QueryChannelsCommand";
45
45
  import { RemoveChannelFromSectionCommandInput, RemoveChannelFromSectionCommandOutput } from "./commands/RemoveChannelFromSectionCommand";
46
46
  import { RenameSectionCommandInput, RenameSectionCommandOutput } from "./commands/RenameSectionCommand";
47
- import { SearchChannelsCommandInput, SearchChannelsCommandOutput } from "./commands/SearchChannelsCommand";
48
- import { SearchMessagesCommandInput, SearchMessagesCommandOutput } from "./commands/SearchMessagesCommand";
49
47
  import { SendGiphyCommandInput, SendGiphyCommandOutput } from "./commands/SendGiphyCommand";
50
48
  import { SendMessageCommandInput, SendMessageCommandOutput } from "./commands/SendMessageCommand";
51
49
  import { SendMessageReactionCommandInput, SendMessageReactionCommandOutput } from "./commands/SendMessageReactionCommand";
@@ -338,18 +336,6 @@ export interface StreamService {
338
336
  renameSection(args: RenameSectionCommandInput, options?: __HttpHandlerOptions): Promise<RenameSectionCommandOutput>;
339
337
  renameSection(args: RenameSectionCommandInput, cb: (err: any, data?: RenameSectionCommandOutput) => void): void;
340
338
  renameSection(args: RenameSectionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RenameSectionCommandOutput) => void): void;
341
- /**
342
- * @see {@link SearchChannelsCommand}
343
- */
344
- searchChannels(args: SearchChannelsCommandInput, options?: __HttpHandlerOptions): Promise<SearchChannelsCommandOutput>;
345
- searchChannels(args: SearchChannelsCommandInput, cb: (err: any, data?: SearchChannelsCommandOutput) => void): void;
346
- searchChannels(args: SearchChannelsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SearchChannelsCommandOutput) => void): void;
347
- /**
348
- * @see {@link SearchMessagesCommand}
349
- */
350
- searchMessages(args: SearchMessagesCommandInput, options?: __HttpHandlerOptions): Promise<SearchMessagesCommandOutput>;
351
- searchMessages(args: SearchMessagesCommandInput, cb: (err: any, data?: SearchMessagesCommandOutput) => void): void;
352
- searchMessages(args: SearchMessagesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SearchMessagesCommandOutput) => void): void;
353
339
  /**
354
340
  * @see {@link SendGiphyCommand}
355
341
  */
@@ -43,8 +43,6 @@ import { PinMessageCommandInput, PinMessageCommandOutput } from "./commands/PinM
43
43
  import { QueryChannelsCommandInput, QueryChannelsCommandOutput } from "./commands/QueryChannelsCommand";
44
44
  import { RemoveChannelFromSectionCommandInput, RemoveChannelFromSectionCommandOutput } from "./commands/RemoveChannelFromSectionCommand";
45
45
  import { RenameSectionCommandInput, RenameSectionCommandOutput } from "./commands/RenameSectionCommand";
46
- import { SearchChannelsCommandInput, SearchChannelsCommandOutput } from "./commands/SearchChannelsCommand";
47
- import { SearchMessagesCommandInput, SearchMessagesCommandOutput } from "./commands/SearchMessagesCommand";
48
46
  import { SendGiphyCommandInput, SendGiphyCommandOutput } from "./commands/SendGiphyCommand";
49
47
  import { SendMessageCommandInput, SendMessageCommandOutput } from "./commands/SendMessageCommand";
50
48
  import { SendMessageReactionCommandInput, SendMessageReactionCommandOutput } from "./commands/SendMessageReactionCommand";
@@ -69,11 +67,11 @@ export { __Client };
69
67
  /**
70
68
  * @public
71
69
  */
72
- export type ServiceInputTypes = AddChannelMemberCommandInput | AddChannelMembersCommandInput | AssignChannelCommandInput | CreateGroupChannelCommandInput | CreateKiteChannelCommandInput | CreateSectionCommandInput | DeleteChannelCommandInput | DeleteChannelMemberCommandInput | DeleteMessageCommandInput | DeleteMessageReactionCommandInput | DeleteSectionCommandInput | GetChannelCommandInput | GetChannelMemberCommandInput | GetDirectChannelIdCommandInput | GetFilePresignedDownloadUrlCommandInput | GetInboxCommandInput | GetMessageCommandInput | GetOrCreateDirectChannelCommandInput | GetOrCreateSmsChannelCommandInput | GetOrCreateTelephonyChannelCommandInput | GetOrCreateWhatsAppChannelCommandInput | GetSmsChannelIdCommandInput | GetTelephonyChannelIdCommandInput | GetTokenCommandInput | GetUploadedFileInfoCommandInput | GetWhatsAppChannelIdCommandInput | HideChannelCommandInput | JoinChannelCommandInput | LeaveChannelCommandInput | ListChannelMembersCommandInput | ListChannelMembersReadStatusCommandInput | ListChannelsCommandInput | ListMentionsCommandInput | ListMessagesCommandInput | MarkReadCommandInput | MarkUnreadCommandInput | MoveChannelToSectionCommandInput | MuteChannelCommandInput | PartialUpdateChannelCommandInput | PartialUpdateMessageCommandInput | PinChannelCommandInput | PinMessageCommandInput | QueryChannelsCommandInput | RemoveChannelFromSectionCommandInput | RenameSectionCommandInput | SearchChannelsCommandInput | SearchMessagesCommandInput | SendGiphyCommandInput | SendMessageCommandInput | SendMessageReactionCommandInput | SendSystemMessageCommandInput | SendTypingStartCommandInput | SendTypingStopCommandInput | ShowChannelCommandInput | UnmuteChannelCommandInput | UnpinChannelCommandInput | UnpinMessageCommandInput | UpdateChannelCommandInput | UpdateMessageCommandInput | UploadFileCommandInput;
70
+ export type ServiceInputTypes = AddChannelMemberCommandInput | AddChannelMembersCommandInput | AssignChannelCommandInput | CreateGroupChannelCommandInput | CreateKiteChannelCommandInput | CreateSectionCommandInput | DeleteChannelCommandInput | DeleteChannelMemberCommandInput | DeleteMessageCommandInput | DeleteMessageReactionCommandInput | DeleteSectionCommandInput | GetChannelCommandInput | GetChannelMemberCommandInput | GetDirectChannelIdCommandInput | GetFilePresignedDownloadUrlCommandInput | GetInboxCommandInput | GetMessageCommandInput | GetOrCreateDirectChannelCommandInput | GetOrCreateSmsChannelCommandInput | GetOrCreateTelephonyChannelCommandInput | GetOrCreateWhatsAppChannelCommandInput | GetSmsChannelIdCommandInput | GetTelephonyChannelIdCommandInput | GetTokenCommandInput | GetUploadedFileInfoCommandInput | GetWhatsAppChannelIdCommandInput | HideChannelCommandInput | JoinChannelCommandInput | LeaveChannelCommandInput | ListChannelMembersCommandInput | ListChannelMembersReadStatusCommandInput | ListChannelsCommandInput | ListMentionsCommandInput | ListMessagesCommandInput | MarkReadCommandInput | MarkUnreadCommandInput | MoveChannelToSectionCommandInput | MuteChannelCommandInput | PartialUpdateChannelCommandInput | PartialUpdateMessageCommandInput | PinChannelCommandInput | PinMessageCommandInput | QueryChannelsCommandInput | RemoveChannelFromSectionCommandInput | RenameSectionCommandInput | SendGiphyCommandInput | SendMessageCommandInput | SendMessageReactionCommandInput | SendSystemMessageCommandInput | SendTypingStartCommandInput | SendTypingStopCommandInput | ShowChannelCommandInput | UnmuteChannelCommandInput | UnpinChannelCommandInput | UnpinMessageCommandInput | UpdateChannelCommandInput | UpdateMessageCommandInput | UploadFileCommandInput;
73
71
  /**
74
72
  * @public
75
73
  */
76
- export type ServiceOutputTypes = AddChannelMemberCommandOutput | AddChannelMembersCommandOutput | AssignChannelCommandOutput | CreateGroupChannelCommandOutput | CreateKiteChannelCommandOutput | CreateSectionCommandOutput | DeleteChannelCommandOutput | DeleteChannelMemberCommandOutput | DeleteMessageCommandOutput | DeleteMessageReactionCommandOutput | DeleteSectionCommandOutput | GetChannelCommandOutput | GetChannelMemberCommandOutput | GetDirectChannelIdCommandOutput | GetFilePresignedDownloadUrlCommandOutput | GetInboxCommandOutput | GetMessageCommandOutput | GetOrCreateDirectChannelCommandOutput | GetOrCreateSmsChannelCommandOutput | GetOrCreateTelephonyChannelCommandOutput | GetOrCreateWhatsAppChannelCommandOutput | GetSmsChannelIdCommandOutput | GetTelephonyChannelIdCommandOutput | GetTokenCommandOutput | GetUploadedFileInfoCommandOutput | GetWhatsAppChannelIdCommandOutput | HideChannelCommandOutput | JoinChannelCommandOutput | LeaveChannelCommandOutput | ListChannelMembersCommandOutput | ListChannelMembersReadStatusCommandOutput | ListChannelsCommandOutput | ListMentionsCommandOutput | ListMessagesCommandOutput | MarkReadCommandOutput | MarkUnreadCommandOutput | MoveChannelToSectionCommandOutput | MuteChannelCommandOutput | PartialUpdateChannelCommandOutput | PartialUpdateMessageCommandOutput | PinChannelCommandOutput | PinMessageCommandOutput | QueryChannelsCommandOutput | RemoveChannelFromSectionCommandOutput | RenameSectionCommandOutput | SearchChannelsCommandOutput | SearchMessagesCommandOutput | SendGiphyCommandOutput | SendMessageCommandOutput | SendMessageReactionCommandOutput | SendSystemMessageCommandOutput | SendTypingStartCommandOutput | SendTypingStopCommandOutput | ShowChannelCommandOutput | UnmuteChannelCommandOutput | UnpinChannelCommandOutput | UnpinMessageCommandOutput | UpdateChannelCommandOutput | UpdateMessageCommandOutput | UploadFileCommandOutput;
74
+ export type ServiceOutputTypes = AddChannelMemberCommandOutput | AddChannelMembersCommandOutput | AssignChannelCommandOutput | CreateGroupChannelCommandOutput | CreateKiteChannelCommandOutput | CreateSectionCommandOutput | DeleteChannelCommandOutput | DeleteChannelMemberCommandOutput | DeleteMessageCommandOutput | DeleteMessageReactionCommandOutput | DeleteSectionCommandOutput | GetChannelCommandOutput | GetChannelMemberCommandOutput | GetDirectChannelIdCommandOutput | GetFilePresignedDownloadUrlCommandOutput | GetInboxCommandOutput | GetMessageCommandOutput | GetOrCreateDirectChannelCommandOutput | GetOrCreateSmsChannelCommandOutput | GetOrCreateTelephonyChannelCommandOutput | GetOrCreateWhatsAppChannelCommandOutput | GetSmsChannelIdCommandOutput | GetTelephonyChannelIdCommandOutput | GetTokenCommandOutput | GetUploadedFileInfoCommandOutput | GetWhatsAppChannelIdCommandOutput | HideChannelCommandOutput | JoinChannelCommandOutput | LeaveChannelCommandOutput | ListChannelMembersCommandOutput | ListChannelMembersReadStatusCommandOutput | ListChannelsCommandOutput | ListMentionsCommandOutput | ListMessagesCommandOutput | MarkReadCommandOutput | MarkUnreadCommandOutput | MoveChannelToSectionCommandOutput | MuteChannelCommandOutput | PartialUpdateChannelCommandOutput | PartialUpdateMessageCommandOutput | PinChannelCommandOutput | PinMessageCommandOutput | QueryChannelsCommandOutput | RemoveChannelFromSectionCommandOutput | RenameSectionCommandOutput | SendGiphyCommandOutput | SendMessageCommandOutput | SendMessageReactionCommandOutput | SendSystemMessageCommandOutput | SendTypingStartCommandOutput | SendTypingStopCommandOutput | ShowChannelCommandOutput | UnmuteChannelCommandOutput | UnpinChannelCommandOutput | UnpinMessageCommandOutput | UpdateChannelCommandOutput | UpdateMessageCommandOutput | UploadFileCommandOutput;
77
75
  /**
78
76
  * @public
79
77
  */
@@ -24,7 +24,9 @@ export interface AddChannelMemberCommandOutput extends AddChannelMemberOutput, _
24
24
  declare const AddChannelMemberCommand_base: {
25
25
  new (input: AddChannelMemberCommandInput): import("@smithy/smithy-client").CommandImpl<AddChannelMemberCommandInput, AddChannelMemberCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
26
  new (__0_0: AddChannelMemberCommandInput): import("@smithy/smithy-client").CommandImpl<AddChannelMemberCommandInput, AddChannelMemberCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * Adds one member to a channel.
@@ -24,7 +24,9 @@ export interface AddChannelMembersCommandOutput extends AddChannelMembersOutput,
24
24
  declare const AddChannelMembersCommand_base: {
25
25
  new (input: AddChannelMembersCommandInput): import("@smithy/smithy-client").CommandImpl<AddChannelMembersCommandInput, AddChannelMembersCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
26
  new (__0_0: AddChannelMembersCommandInput): import("@smithy/smithy-client").CommandImpl<AddChannelMembersCommandInput, AddChannelMembersCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * Adds members to a channel.
@@ -24,7 +24,9 @@ export interface AssignChannelCommandOutput extends AssignChannelOutput, __Metad
24
24
  declare const AssignChannelCommand_base: {
25
25
  new (input: AssignChannelCommandInput): import("@smithy/smithy-client").CommandImpl<AssignChannelCommandInput, AssignChannelCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
26
  new (__0_0: AssignChannelCommandInput): import("@smithy/smithy-client").CommandImpl<AssignChannelCommandInput, AssignChannelCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * Assigns a channel to a service and/or assignee.
@@ -24,7 +24,9 @@ export interface CreateGroupChannelCommandOutput extends CreateGroupChannelOutpu
24
24
  declare const CreateGroupChannelCommand_base: {
25
25
  new (input: CreateGroupChannelCommandInput): import("@smithy/smithy-client").CommandImpl<CreateGroupChannelCommandInput, CreateGroupChannelCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
26
  new (...[input]: [] | [CreateGroupChannelCommandInput]): import("@smithy/smithy-client").CommandImpl<CreateGroupChannelCommandInput, CreateGroupChannelCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * Creates a new group channel with specified members and members to invite.
@@ -107,6 +109,7 @@ declare const CreateGroupChannelCommand_base: {
107
109
  * // userId: "STRING_VALUE", // required
108
110
  * // messageType: "regular" || "system" || "deleted", // required
109
111
  * // text: "STRING_VALUE",
112
+ * // event: "STRING_VALUE",
110
113
  * // createdAt: "STRING_VALUE", // required
111
114
  * // },
112
115
  * // company: "STRING_VALUE",
@@ -24,7 +24,9 @@ export interface CreateKiteChannelCommandOutput extends CreateKiteChannelOutput,
24
24
  declare const CreateKiteChannelCommand_base: {
25
25
  new (input: CreateKiteChannelCommandInput): import("@smithy/smithy-client").CommandImpl<CreateKiteChannelCommandInput, CreateKiteChannelCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
26
  new (__0_0: CreateKiteChannelCommandInput): import("@smithy/smithy-client").CommandImpl<CreateKiteChannelCommandInput, CreateKiteChannelCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * Creates a new Kite channel for a widget target or agent email.
@@ -195,6 +197,7 @@ declare const CreateKiteChannelCommand_base: {
195
197
  * // userId: "STRING_VALUE", // required
196
198
  * // messageType: "regular" || "system" || "deleted", // required
197
199
  * // text: "STRING_VALUE",
200
+ * // event: "STRING_VALUE",
198
201
  * // createdAt: "STRING_VALUE", // required
199
202
  * // },
200
203
  * // company: "STRING_VALUE",
@@ -24,7 +24,9 @@ export interface CreateSectionCommandOutput extends CreateSectionOutput, __Metad
24
24
  declare const CreateSectionCommand_base: {
25
25
  new (input: CreateSectionCommandInput): import("@smithy/smithy-client").CommandImpl<CreateSectionCommandInput, CreateSectionCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
26
  new (__0_0: CreateSectionCommandInput): import("@smithy/smithy-client").CommandImpl<CreateSectionCommandInput, CreateSectionCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * Creates a custom inbox section.
@@ -24,7 +24,9 @@ export interface DeleteChannelCommandOutput extends DeleteChannelOutput, __Metad
24
24
  declare const DeleteChannelCommand_base: {
25
25
  new (input: DeleteChannelCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteChannelCommandInput, DeleteChannelCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
26
  new (__0_0: DeleteChannelCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteChannelCommandInput, DeleteChannelCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * Deletes a channel. Idempotent when the channel is already gone.
@@ -24,7 +24,9 @@ export interface DeleteChannelMemberCommandOutput extends DeleteChannelMemberOut
24
24
  declare const DeleteChannelMemberCommand_base: {
25
25
  new (input: DeleteChannelMemberCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteChannelMemberCommandInput, DeleteChannelMemberCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
26
  new (__0_0: DeleteChannelMemberCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteChannelMemberCommandInput, DeleteChannelMemberCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * Removes one member from a channel.
@@ -24,7 +24,9 @@ export interface DeleteMessageCommandOutput extends DeleteMessageOutput, __Metad
24
24
  declare const DeleteMessageCommand_base: {
25
25
  new (input: DeleteMessageCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteMessageCommandInput, DeleteMessageCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
26
  new (__0_0: DeleteMessageCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteMessageCommandInput, DeleteMessageCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * Tombstones one message. The row stays in place so timeline ordering is stable; clients render the gap as a deleted-message placeholder. Hard purge is owned by retention, not by this endpoint. Only the sender or an admin may delete.
@@ -24,7 +24,9 @@ export interface DeleteMessageReactionCommandOutput extends DeleteMessageReactio
24
24
  declare const DeleteMessageReactionCommand_base: {
25
25
  new (input: DeleteMessageReactionCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteMessageReactionCommandInput, DeleteMessageReactionCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
26
  new (__0_0: DeleteMessageReactionCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteMessageReactionCommandInput, DeleteMessageReactionCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * Removes the current user's reaction of `<type>` on one message. Duplicate removes are absorbed and only the first apply advances `messageVersion`.
@@ -24,7 +24,9 @@ export interface DeleteSectionCommandOutput extends DeleteSectionOutput, __Metad
24
24
  declare const DeleteSectionCommand_base: {
25
25
  new (input: DeleteSectionCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteSectionCommandInput, DeleteSectionCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
26
  new (__0_0: DeleteSectionCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteSectionCommandInput, DeleteSectionCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * Deletes a custom inbox section.
@@ -24,7 +24,9 @@ export interface GetChannelCommandOutput extends GetChannelOutput, __MetadataBea
24
24
  declare const GetChannelCommand_base: {
25
25
  new (input: GetChannelCommandInput): import("@smithy/smithy-client").CommandImpl<GetChannelCommandInput, GetChannelCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
26
  new (__0_0: GetChannelCommandInput): import("@smithy/smithy-client").CommandImpl<GetChannelCommandInput, GetChannelCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * Returns one channel with per-user inbox state and last-message preview.
@@ -56,6 +58,7 @@ declare const GetChannelCommand_base: {
56
58
  * // userId: "STRING_VALUE", // required
57
59
  * // messageType: "regular" || "system" || "deleted", // required
58
60
  * // text: "STRING_VALUE",
61
+ * // event: "STRING_VALUE",
59
62
  * // createdAt: "STRING_VALUE", // required
60
63
  * // },
61
64
  * // company: "STRING_VALUE",
@@ -24,7 +24,9 @@ export interface GetChannelMemberCommandOutput extends GetChannelMemberOutput, _
24
24
  declare const GetChannelMemberCommand_base: {
25
25
  new (input: GetChannelMemberCommandInput): import("@smithy/smithy-client").CommandImpl<GetChannelMemberCommandInput, GetChannelMemberCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
26
  new (__0_0: GetChannelMemberCommandInput): import("@smithy/smithy-client").CommandImpl<GetChannelMemberCommandInput, GetChannelMemberCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * Returns one channel member.
@@ -24,7 +24,9 @@ export interface GetDirectChannelIdCommandOutput extends GetDirectChannelIdOutpu
24
24
  declare const GetDirectChannelIdCommand_base: {
25
25
  new (input: GetDirectChannelIdCommandInput): import("@smithy/smithy-client").CommandImpl<GetDirectChannelIdCommandInput, GetDirectChannelIdCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
26
  new (...[input]: [] | [GetDirectChannelIdCommandInput]): import("@smithy/smithy-client").CommandImpl<GetDirectChannelIdCommandInput, GetDirectChannelIdCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * Resolves the channel id of a direct channel without creating it.
@@ -24,7 +24,9 @@ export interface GetFilePresignedDownloadUrlCommandOutput extends GetFilePresign
24
24
  declare const GetFilePresignedDownloadUrlCommand_base: {
25
25
  new (input: GetFilePresignedDownloadUrlCommandInput): import("@smithy/smithy-client").CommandImpl<GetFilePresignedDownloadUrlCommandInput, GetFilePresignedDownloadUrlCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
26
  new (__0_0: GetFilePresignedDownloadUrlCommandInput): import("@smithy/smithy-client").CommandImpl<GetFilePresignedDownloadUrlCommandInput, GetFilePresignedDownloadUrlCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * Returns a presigned URL for downloading a file attached to a message.