@wildix/stream-client 0.0.6 → 0.0.8

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 (64) hide show
  1. package/dist-cjs/models/models_0.js +1 -14
  2. package/dist-cjs/protocols/Aws_restJson1.js +0 -17
  3. package/dist-es/models/models_0.js +0 -12
  4. package/dist-es/protocols/Aws_restJson1.js +1 -18
  5. package/dist-types/commands/AddChannelMemberCommand.d.ts +3 -1
  6. package/dist-types/commands/AddChannelMembersCommand.d.ts +3 -1
  7. package/dist-types/commands/AssignChannelCommand.d.ts +3 -1
  8. package/dist-types/commands/CreateGroupChannelCommand.d.ts +3 -1
  9. package/dist-types/commands/CreateKiteChannelCommand.d.ts +3 -1
  10. package/dist-types/commands/CreateSectionCommand.d.ts +7 -7
  11. package/dist-types/commands/DeleteChannelCommand.d.ts +3 -1
  12. package/dist-types/commands/DeleteChannelMemberCommand.d.ts +3 -1
  13. package/dist-types/commands/DeleteMessageCommand.d.ts +3 -1
  14. package/dist-types/commands/DeleteMessageReactionCommand.d.ts +3 -1
  15. package/dist-types/commands/DeleteSectionCommand.d.ts +3 -1
  16. package/dist-types/commands/GetChannelCommand.d.ts +3 -1
  17. package/dist-types/commands/GetChannelMemberCommand.d.ts +3 -1
  18. package/dist-types/commands/GetDirectChannelIdCommand.d.ts +3 -1
  19. package/dist-types/commands/GetFilePresignedDownloadUrlCommand.d.ts +3 -1
  20. package/dist-types/commands/GetInboxCommand.d.ts +8 -7
  21. package/dist-types/commands/GetMessageCommand.d.ts +3 -1
  22. package/dist-types/commands/GetOrCreateDirectChannelCommand.d.ts +3 -1
  23. package/dist-types/commands/GetOrCreateSmsChannelCommand.d.ts +3 -1
  24. package/dist-types/commands/GetOrCreateTelephonyChannelCommand.d.ts +3 -1
  25. package/dist-types/commands/GetOrCreateWhatsAppChannelCommand.d.ts +3 -1
  26. package/dist-types/commands/GetSmsChannelIdCommand.d.ts +3 -1
  27. package/dist-types/commands/GetTelephonyChannelIdCommand.d.ts +3 -1
  28. package/dist-types/commands/GetTokenCommand.d.ts +3 -1
  29. package/dist-types/commands/GetUploadedFileInfoCommand.d.ts +3 -1
  30. package/dist-types/commands/GetWhatsAppChannelIdCommand.d.ts +3 -1
  31. package/dist-types/commands/HideChannelCommand.d.ts +3 -1
  32. package/dist-types/commands/JoinChannelCommand.d.ts +3 -1
  33. package/dist-types/commands/LeaveChannelCommand.d.ts +3 -1
  34. package/dist-types/commands/ListChannelMembersCommand.d.ts +3 -1
  35. package/dist-types/commands/ListChannelMembersReadStatusCommand.d.ts +3 -1
  36. package/dist-types/commands/ListChannelsCommand.d.ts +4 -1
  37. package/dist-types/commands/ListMentionsCommand.d.ts +3 -1
  38. package/dist-types/commands/ListMessagesCommand.d.ts +3 -1
  39. package/dist-types/commands/MarkReadCommand.d.ts +4 -1
  40. package/dist-types/commands/MarkUnreadCommand.d.ts +4 -1
  41. package/dist-types/commands/MoveChannelToSectionCommand.d.ts +4 -1
  42. package/dist-types/commands/MuteChannelCommand.d.ts +4 -1
  43. package/dist-types/commands/PartialUpdateChannelCommand.d.ts +3 -1
  44. package/dist-types/commands/PartialUpdateMessageCommand.d.ts +3 -1
  45. package/dist-types/commands/PinChannelCommand.d.ts +3 -4
  46. package/dist-types/commands/PinMessageCommand.d.ts +3 -1
  47. package/dist-types/commands/QueryChannelsCommand.d.ts +4 -1
  48. package/dist-types/commands/RemoveChannelFromSectionCommand.d.ts +4 -1
  49. package/dist-types/commands/RenameSectionCommand.d.ts +7 -7
  50. package/dist-types/commands/SendGiphyCommand.d.ts +3 -1
  51. package/dist-types/commands/SendMessageCommand.d.ts +3 -1
  52. package/dist-types/commands/SendMessageReactionCommand.d.ts +3 -1
  53. package/dist-types/commands/SendSystemMessageCommand.d.ts +3 -1
  54. package/dist-types/commands/SendTypingStartCommand.d.ts +3 -1
  55. package/dist-types/commands/SendTypingStopCommand.d.ts +3 -1
  56. package/dist-types/commands/ShowChannelCommand.d.ts +3 -1
  57. package/dist-types/commands/UnmuteChannelCommand.d.ts +4 -1
  58. package/dist-types/commands/UnpinChannelCommand.d.ts +3 -1
  59. package/dist-types/commands/UnpinMessageCommand.d.ts +3 -1
  60. package/dist-types/commands/UpdateChannelCommand.d.ts +3 -1
  61. package/dist-types/commands/UpdateMessageCommand.d.ts +3 -1
  62. package/dist-types/commands/UploadFileCommand.d.ts +3 -1
  63. package/dist-types/models/models_0.d.ts +22 -40
  64. package/package.json +2 -2
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SystemMessage = exports.PinnedChannelsLimitReachedException = exports.MessageUnsetFields = exports.MarkUnreadChannelsLimitReachedException = exports.MentionsFilter = exports.GroupChannelUnsetOptions = exports.FileNotFoundException = exports.FileCategory = exports.DownloadStrategy = exports.SectionNotFoundException = exports.MessageType = 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.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.MessageType = 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.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,19 +366,6 @@ exports.MessageUnsetFields = {
366
366
  WHATSAPP: "whatsapp",
367
367
  WHATSAPP_STATUS: "whatsappStatus",
368
368
  };
369
- class PinnedChannelsLimitReachedException extends StreamServiceServiceException_1.StreamServiceServiceException {
370
- name = "PinnedChannelsLimitReachedException";
371
- $fault = "client";
372
- constructor(opts) {
373
- super({
374
- name: "PinnedChannelsLimitReachedException",
375
- $fault: "client",
376
- ...opts
377
- });
378
- Object.setPrototypeOf(this, PinnedChannelsLimitReachedException.prototype);
379
- }
380
- }
381
- exports.PinnedChannelsLimitReachedException = PinnedChannelsLimitReachedException;
382
369
  var SystemMessage;
383
370
  (function (SystemMessage) {
384
371
  SystemMessage.visit = (value, visitor) => {
@@ -868,7 +868,6 @@ const se_PinChannelCommand = async (input, context) => {
868
868
  const query = (0, smithy_client_1.map)({
869
869
  [_c]: [, input[_cI]],
870
870
  [_uI]: [, input[_uI]],
871
- [_fo]: [() => input.force !== void 0, () => (input[_fo].toString())],
872
871
  });
873
872
  let body;
874
873
  b.m("POST")
@@ -2144,9 +2143,6 @@ const de_CommandError = async (output, context) => {
2144
2143
  case "MarkUnreadChannelsLimitReachedException":
2145
2144
  case "wildix.stream#MarkUnreadChannelsLimitReachedException":
2146
2145
  throw await de_MarkUnreadChannelsLimitReachedExceptionRes(parsedOutput, context);
2147
- case "PinnedChannelsLimitReachedException":
2148
- case "wildix.stream#PinnedChannelsLimitReachedException":
2149
- throw await de_PinnedChannelsLimitReachedExceptionRes(parsedOutput, context);
2150
2146
  default:
2151
2147
  const parsedBody = parsedOutput.body;
2152
2148
  return throwDefaultError({
@@ -2305,19 +2301,6 @@ const de_MessageNotFoundExceptionRes = async (parsedOutput, context) => {
2305
2301
  });
2306
2302
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2307
2303
  };
2308
- const de_PinnedChannelsLimitReachedExceptionRes = async (parsedOutput, context) => {
2309
- const contents = (0, smithy_client_1.map)({});
2310
- const data = parsedOutput.body;
2311
- const doc = (0, smithy_client_1.take)(data, {
2312
- 'message': smithy_client_1.expectString,
2313
- });
2314
- Object.assign(contents, doc);
2315
- const exception = new models_0_1.PinnedChannelsLimitReachedException({
2316
- $metadata: deserializeMetadata(parsedOutput),
2317
- ...contents
2318
- });
2319
- return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2320
- };
2321
2304
  const de_SectionNotFoundExceptionRes = async (parsedOutput, context) => {
2322
2305
  const contents = (0, smithy_client_1.map)({});
2323
2306
  const data = parsedOutput.body;
@@ -348,18 +348,6 @@ export const MessageUnsetFields = {
348
348
  WHATSAPP: "whatsapp",
349
349
  WHATSAPP_STATUS: "whatsappStatus",
350
350
  };
351
- export class PinnedChannelsLimitReachedException extends __BaseException {
352
- name = "PinnedChannelsLimitReachedException";
353
- $fault = "client";
354
- constructor(opts) {
355
- super({
356
- name: "PinnedChannelsLimitReachedException",
357
- $fault: "client",
358
- ...opts
359
- });
360
- Object.setPrototypeOf(this, PinnedChannelsLimitReachedException.prototype);
361
- }
362
- }
363
351
  export var SystemMessage;
364
352
  (function (SystemMessage) {
365
353
  SystemMessage.visit = (value, visitor) => {
@@ -1,5 +1,5 @@
1
1
  import { StreamServiceServiceException as __BaseException } from "../models/StreamServiceServiceException";
2
- import { ChannelAlreadyExistException, ChannelNotFoundException, FileNotFoundException, ForbiddenException, MarkUnreadChannelsLimitReachedException, MemberAlreadyExistException, MemberNotFoundException, MessageNotFoundException, PinnedChannelsLimitReachedException, RateLimitExceededException, SectionNotFoundException, StreamServiceException, TargetNotEligibleException, TargetNotFoundException, UnauthorizedException, ValidationException, } from "../models/models_0";
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
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";
@@ -823,7 +823,6 @@ export const se_PinChannelCommand = async (input, context) => {
823
823
  const query = map({
824
824
  [_c]: [, input[_cI]],
825
825
  [_uI]: [, input[_uI]],
826
- [_fo]: [() => input.force !== void 0, () => (input[_fo].toString())],
827
826
  });
828
827
  let body;
829
828
  b.m("POST")
@@ -2023,9 +2022,6 @@ const de_CommandError = async (output, context) => {
2023
2022
  case "MarkUnreadChannelsLimitReachedException":
2024
2023
  case "wildix.stream#MarkUnreadChannelsLimitReachedException":
2025
2024
  throw await de_MarkUnreadChannelsLimitReachedExceptionRes(parsedOutput, context);
2026
- case "PinnedChannelsLimitReachedException":
2027
- case "wildix.stream#PinnedChannelsLimitReachedException":
2028
- throw await de_PinnedChannelsLimitReachedExceptionRes(parsedOutput, context);
2029
2025
  default:
2030
2026
  const parsedBody = parsedOutput.body;
2031
2027
  return throwDefaultError({
@@ -2184,19 +2180,6 @@ const de_MessageNotFoundExceptionRes = async (parsedOutput, context) => {
2184
2180
  });
2185
2181
  return __decorateServiceException(exception, parsedOutput.body);
2186
2182
  };
2187
- const de_PinnedChannelsLimitReachedExceptionRes = async (parsedOutput, context) => {
2188
- const contents = map({});
2189
- const data = parsedOutput.body;
2190
- const doc = take(data, {
2191
- 'message': __expectString,
2192
- });
2193
- Object.assign(contents, doc);
2194
- const exception = new PinnedChannelsLimitReachedException({
2195
- $metadata: deserializeMetadata(parsedOutput),
2196
- ...contents
2197
- });
2198
- return __decorateServiceException(exception, parsedOutput.body);
2199
- };
2200
2183
  const de_SectionNotFoundExceptionRes = async (parsedOutput, context) => {
2201
2184
  const contents = map({});
2202
2185
  const data = parsedOutput.body;
@@ -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.
@@ -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.
@@ -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.
@@ -48,12 +50,10 @@ declare const CreateSectionCommand_base: {
48
50
  * // name: "STRING_VALUE", // required
49
51
  * // type: "system" || "custom", // required
50
52
  * // channelCount: Number("int"), // required
51
- * // unread: { // SectionUnreadCounters
52
- * // unmutedUnreadChannelCount: Number("int"), // required
53
- * // unmutedUnreadMessageCount: Number("int"), // required
54
- * // mutedUnreadMessageCount: Number("int"), // required
55
- * // unreadMentionCount: Number("int"), // required
56
- * // },
53
+ * // unmutedUnreadChannelCount: Number("int"), // required
54
+ * // unmutedUnreadMessageCount: Number("int"), // required
55
+ * // mutedUnreadMessageCount: Number("int"), // required
56
+ * // unreadMentionCount: Number("int"), // required
57
57
  * // },
58
58
  * // };
59
59
  *
@@ -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.
@@ -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.
@@ -24,7 +24,9 @@ export interface GetInboxCommandOutput extends GetInboxOutput, __MetadataBearer
24
24
  declare const GetInboxCommand_base: {
25
25
  new (input: GetInboxCommandInput): import("@smithy/smithy-client").CommandImpl<GetInboxCommandInput, GetInboxCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
26
  new (...[input]: [] | [GetInboxCommandInput]): import("@smithy/smithy-client").CommandImpl<GetInboxCommandInput, GetInboxCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * Returns the user's main-page inbox: recent channels with per-user state and last-message preview, plus per-section channel and unread counters. Not paginated; use `ListChannels` to page further.
@@ -117,6 +119,7 @@ declare const GetInboxCommand_base: {
117
119
  * // hidden: true || false, // required
118
120
  * // muted: true || false, // required
119
121
  * // mutedUntil: "STRING_VALUE",
122
+ * // pinned: true || false, // required
120
123
  * // unreadMarkAt: Number("long"),
121
124
  * // },
122
125
  * // },
@@ -127,12 +130,10 @@ declare const GetInboxCommand_base: {
127
130
  * // name: "STRING_VALUE", // required
128
131
  * // type: "system" || "custom", // required
129
132
  * // channelCount: Number("int"), // required
130
- * // unread: { // SectionUnreadCounters
131
- * // unmutedUnreadChannelCount: Number("int"), // required
132
- * // unmutedUnreadMessageCount: Number("int"), // required
133
- * // mutedUnreadMessageCount: Number("int"), // required
134
- * // unreadMentionCount: Number("int"), // required
135
- * // },
133
+ * // unmutedUnreadChannelCount: Number("int"), // required
134
+ * // unmutedUnreadMessageCount: Number("int"), // required
135
+ * // mutedUnreadMessageCount: Number("int"), // required
136
+ * // unreadMentionCount: Number("int"), // required
136
137
  * // },
137
138
  * // ],
138
139
  * // };
@@ -24,7 +24,9 @@ export interface GetMessageCommandOutput extends GetMessageOutput, __MetadataBea
24
24
  declare const GetMessageCommand_base: {
25
25
  new (input: GetMessageCommandInput): import("@smithy/smithy-client").CommandImpl<GetMessageCommandInput, GetMessageCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
26
  new (__0_0: GetMessageCommandInput): import("@smithy/smithy-client").CommandImpl<GetMessageCommandInput, GetMessageCommandOutput, 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 single message by id. Used by goto-message to resolve a `messageId` to its `timelineSeq` before loading a window with `ListMessages`.
@@ -24,7 +24,9 @@ export interface GetOrCreateDirectChannelCommandOutput extends GetOrCreateDirect
24
24
  declare const GetOrCreateDirectChannelCommand_base: {
25
25
  new (input: GetOrCreateDirectChannelCommandInput): import("@smithy/smithy-client").CommandImpl<GetOrCreateDirectChannelCommandInput, GetOrCreateDirectChannelCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
26
  new (...[input]: [] | [GetOrCreateDirectChannelCommandInput]): import("@smithy/smithy-client").CommandImpl<GetOrCreateDirectChannelCommandInput, GetOrCreateDirectChannelCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * Gets or creates a direct channel between the current user and another member.
@@ -24,7 +24,9 @@ export interface GetOrCreateSmsChannelCommandOutput extends GetOrCreateSmsChanne
24
24
  declare const GetOrCreateSmsChannelCommand_base: {
25
25
  new (input: GetOrCreateSmsChannelCommandInput): import("@smithy/smithy-client").CommandImpl<GetOrCreateSmsChannelCommandInput, GetOrCreateSmsChannelCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
26
  new (__0_0: GetOrCreateSmsChannelCommandInput): import("@smithy/smithy-client").CommandImpl<GetOrCreateSmsChannelCommandInput, GetOrCreateSmsChannelCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * Gets or creates an SMS channel.
@@ -24,7 +24,9 @@ export interface GetOrCreateTelephonyChannelCommandOutput extends GetOrCreateTel
24
24
  declare const GetOrCreateTelephonyChannelCommand_base: {
25
25
  new (input: GetOrCreateTelephonyChannelCommandInput): import("@smithy/smithy-client").CommandImpl<GetOrCreateTelephonyChannelCommandInput, GetOrCreateTelephonyChannelCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
26
  new (__0_0: GetOrCreateTelephonyChannelCommandInput): import("@smithy/smithy-client").CommandImpl<GetOrCreateTelephonyChannelCommandInput, GetOrCreateTelephonyChannelCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * Gets or creates a telephony channel.
@@ -24,7 +24,9 @@ export interface GetOrCreateWhatsAppChannelCommandOutput extends GetOrCreateWhat
24
24
  declare const GetOrCreateWhatsAppChannelCommand_base: {
25
25
  new (input: GetOrCreateWhatsAppChannelCommandInput): import("@smithy/smithy-client").CommandImpl<GetOrCreateWhatsAppChannelCommandInput, GetOrCreateWhatsAppChannelCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
26
  new (__0_0: GetOrCreateWhatsAppChannelCommandInput): import("@smithy/smithy-client").CommandImpl<GetOrCreateWhatsAppChannelCommandInput, GetOrCreateWhatsAppChannelCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * Gets or creates a WhatsApp channel.
@@ -24,7 +24,9 @@ export interface GetSmsChannelIdCommandOutput extends GetSmsChannelIdOutput, __M
24
24
  declare const GetSmsChannelIdCommand_base: {
25
25
  new (input: GetSmsChannelIdCommandInput): import("@smithy/smithy-client").CommandImpl<GetSmsChannelIdCommandInput, GetSmsChannelIdCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
26
  new (__0_0: GetSmsChannelIdCommandInput): import("@smithy/smithy-client").CommandImpl<GetSmsChannelIdCommandInput, GetSmsChannelIdCommandOutput, 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 an SMS channel without creating it.
@@ -24,7 +24,9 @@ export interface GetTelephonyChannelIdCommandOutput extends GetTelephonyChannelI
24
24
  declare const GetTelephonyChannelIdCommand_base: {
25
25
  new (input: GetTelephonyChannelIdCommandInput): import("@smithy/smithy-client").CommandImpl<GetTelephonyChannelIdCommandInput, GetTelephonyChannelIdCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
26
  new (__0_0: GetTelephonyChannelIdCommandInput): import("@smithy/smithy-client").CommandImpl<GetTelephonyChannelIdCommandInput, GetTelephonyChannelIdCommandOutput, 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 telephony channel without creating it.
@@ -24,7 +24,9 @@ export interface GetTokenCommandOutput extends GetTokenOutput, __MetadataBearer
24
24
  declare const GetTokenCommand_base: {
25
25
  new (input: GetTokenCommandInput): import("@smithy/smithy-client").CommandImpl<GetTokenCommandInput, GetTokenCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
26
  new (...[input]: [] | [GetTokenCommandInput]): import("@smithy/smithy-client").CommandImpl<GetTokenCommandInput, GetTokenCommandOutput, 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 short-lived authorization token for the stream chat client.
@@ -24,7 +24,9 @@ export interface GetUploadedFileInfoCommandOutput extends GetUploadedFileInfoOut
24
24
  declare const GetUploadedFileInfoCommand_base: {
25
25
  new (input: GetUploadedFileInfoCommandInput): import("@smithy/smithy-client").CommandImpl<GetUploadedFileInfoCommandInput, GetUploadedFileInfoCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
26
  new (__0_0: GetUploadedFileInfoCommandInput): import("@smithy/smithy-client").CommandImpl<GetUploadedFileInfoCommandInput, GetUploadedFileInfoCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * Returns metadata for an uploaded file in a channel.
@@ -24,7 +24,9 @@ export interface GetWhatsAppChannelIdCommandOutput extends GetWhatsAppChannelIdO
24
24
  declare const GetWhatsAppChannelIdCommand_base: {
25
25
  new (input: GetWhatsAppChannelIdCommandInput): import("@smithy/smithy-client").CommandImpl<GetWhatsAppChannelIdCommandInput, GetWhatsAppChannelIdCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
26
  new (__0_0: GetWhatsAppChannelIdCommandInput): import("@smithy/smithy-client").CommandImpl<GetWhatsAppChannelIdCommandInput, GetWhatsAppChannelIdCommandOutput, 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 WhatsApp channel without creating it.
@@ -24,7 +24,9 @@ export interface HideChannelCommandOutput extends HideChannelOutput, __MetadataB
24
24
  declare const HideChannelCommand_base: {
25
25
  new (input: HideChannelCommandInput): import("@smithy/smithy-client").CommandImpl<HideChannelCommandInput, HideChannelCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
26
  new (__0_0: HideChannelCommandInput): import("@smithy/smithy-client").CommandImpl<HideChannelCommandInput, HideChannelCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * Archives a channel for the current user (`inbox.hidden = true`).
@@ -24,7 +24,9 @@ export interface JoinChannelCommandOutput extends JoinChannelOutput, __MetadataB
24
24
  declare const JoinChannelCommand_base: {
25
25
  new (input: JoinChannelCommandInput): import("@smithy/smithy-client").CommandImpl<JoinChannelCommandInput, JoinChannelCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
26
  new (__0_0: JoinChannelCommandInput): import("@smithy/smithy-client").CommandImpl<JoinChannelCommandInput, JoinChannelCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * Joins a public channel.
@@ -24,7 +24,9 @@ export interface LeaveChannelCommandOutput extends LeaveChannelOutput, __Metadat
24
24
  declare const LeaveChannelCommand_base: {
25
25
  new (input: LeaveChannelCommandInput): import("@smithy/smithy-client").CommandImpl<LeaveChannelCommandInput, LeaveChannelCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
26
  new (__0_0: LeaveChannelCommandInput): import("@smithy/smithy-client").CommandImpl<LeaveChannelCommandInput, LeaveChannelCommandOutput, 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 from a channel.
@@ -24,7 +24,9 @@ export interface ListChannelMembersCommandOutput extends ListChannelMembersOutpu
24
24
  declare const ListChannelMembersCommand_base: {
25
25
  new (input: ListChannelMembersCommandInput): import("@smithy/smithy-client").CommandImpl<ListChannelMembersCommandInput, ListChannelMembersCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
26
  new (__0_0: ListChannelMembersCommandInput): import("@smithy/smithy-client").CommandImpl<ListChannelMembersCommandInput, ListChannelMembersCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * Lists channel members.
@@ -24,7 +24,9 @@ export interface ListChannelMembersReadStatusCommandOutput extends ListChannelMe
24
24
  declare const ListChannelMembersReadStatusCommand_base: {
25
25
  new (input: ListChannelMembersReadStatusCommandInput): import("@smithy/smithy-client").CommandImpl<ListChannelMembersReadStatusCommandInput, ListChannelMembersReadStatusCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
26
  new (__0_0: ListChannelMembersReadStatusCommandInput): import("@smithy/smithy-client").CommandImpl<ListChannelMembersReadStatusCommandInput, ListChannelMembersReadStatusCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * Lists member read pointers for channels with at most 100 members.
@@ -24,7 +24,9 @@ export interface ListChannelsCommandOutput extends ListChannelsOutput, __Metadat
24
24
  declare const ListChannelsCommand_base: {
25
25
  new (input: ListChannelsCommandInput): import("@smithy/smithy-client").CommandImpl<ListChannelsCommandInput, ListChannelsCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
26
  new (...[input]: [] | [ListChannelsCommandInput]): import("@smithy/smithy-client").CommandImpl<ListChannelsCommandInput, ListChannelsCommandOutput, 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 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`.
@@ -120,6 +122,7 @@ declare const ListChannelsCommand_base: {
120
122
  * // hidden: true || false, // required
121
123
  * // muted: true || false, // required
122
124
  * // mutedUntil: "STRING_VALUE",
125
+ * // pinned: true || false, // required
123
126
  * // unreadMarkAt: Number("long"),
124
127
  * // },
125
128
  * // },
@@ -24,7 +24,9 @@ export interface ListMentionsCommandOutput extends ListMentionsOutput, __Metadat
24
24
  declare const ListMentionsCommand_base: {
25
25
  new (input: ListMentionsCommandInput): import("@smithy/smithy-client").CommandImpl<ListMentionsCommandInput, ListMentionsCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
26
  new (...[input]: [] | [ListMentionsCommandInput]): import("@smithy/smithy-client").CommandImpl<ListMentionsCommandInput, ListMentionsCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
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.
@@ -24,7 +24,9 @@ export interface ListMessagesCommandOutput extends ListMessagesOutput, __Metadat
24
24
  declare const ListMessagesCommand_base: {
25
25
  new (input: ListMessagesCommandInput): import("@smithy/smithy-client").CommandImpl<ListMessagesCommandInput, ListMessagesCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
26
  new (__0_0: ListMessagesCommandInput): import("@smithy/smithy-client").CommandImpl<ListMessagesCommandInput, ListMessagesCommandOutput, 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 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.
@@ -24,7 +24,9 @@ export interface MarkReadCommandOutput extends MarkReadOutput, __MetadataBearer
24
24
  declare const MarkReadCommand_base: {
25
25
  new (input: MarkReadCommandInput): import("@smithy/smithy-client").CommandImpl<MarkReadCommandInput, MarkReadCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
26
  new (__0_0: MarkReadCommandInput): import("@smithy/smithy-client").CommandImpl<MarkReadCommandInput, MarkReadCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * Marks the channel read up to the latest visible message for the current user.
@@ -54,6 +56,7 @@ declare const MarkReadCommand_base: {
54
56
  * // hidden: true || false, // required
55
57
  * // muted: true || false, // required
56
58
  * // mutedUntil: "STRING_VALUE",
59
+ * // pinned: true || false, // required
57
60
  * // unreadMarkAt: Number("long"),
58
61
  * // },
59
62
  * // };
@@ -24,7 +24,9 @@ export interface MarkUnreadCommandOutput extends MarkUnreadOutput, __MetadataBea
24
24
  declare const MarkUnreadCommand_base: {
25
25
  new (input: MarkUnreadCommandInput): import("@smithy/smithy-client").CommandImpl<MarkUnreadCommandInput, MarkUnreadCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
26
  new (__0_0: MarkUnreadCommandInput): import("@smithy/smithy-client").CommandImpl<MarkUnreadCommandInput, MarkUnreadCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * Marks the channel unread for the current user from the resolved read pointer.
@@ -56,6 +58,7 @@ declare const MarkUnreadCommand_base: {
56
58
  * // hidden: true || false, // required
57
59
  * // muted: true || false, // required
58
60
  * // mutedUntil: "STRING_VALUE",
61
+ * // pinned: true || false, // required
59
62
  * // unreadMarkAt: Number("long"),
60
63
  * // },
61
64
  * // };
@@ -24,7 +24,9 @@ export interface MoveChannelToSectionCommandOutput extends MoveChannelToSectionO
24
24
  declare const MoveChannelToSectionCommand_base: {
25
25
  new (input: MoveChannelToSectionCommandInput): import("@smithy/smithy-client").CommandImpl<MoveChannelToSectionCommandInput, MoveChannelToSectionCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
26
  new (__0_0: MoveChannelToSectionCommandInput): import("@smithy/smithy-client").CommandImpl<MoveChannelToSectionCommandInput, MoveChannelToSectionCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * Adds a channel to a custom section for the current user.
@@ -54,6 +56,7 @@ declare const MoveChannelToSectionCommand_base: {
54
56
  * // hidden: true || false, // required
55
57
  * // muted: true || false, // required
56
58
  * // mutedUntil: "STRING_VALUE",
59
+ * // pinned: true || false, // required
57
60
  * // unreadMarkAt: Number("long"),
58
61
  * // },
59
62
  * // };
@@ -24,7 +24,9 @@ export interface MuteChannelCommandOutput extends MuteChannelOutput, __MetadataB
24
24
  declare const MuteChannelCommand_base: {
25
25
  new (input: MuteChannelCommandInput): import("@smithy/smithy-client").CommandImpl<MuteChannelCommandInput, MuteChannelCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
26
  new (__0_0: MuteChannelCommandInput): import("@smithy/smithy-client").CommandImpl<MuteChannelCommandInput, MuteChannelCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * Mutes a channel for the current user.
@@ -54,6 +56,7 @@ declare const MuteChannelCommand_base: {
54
56
  * // hidden: true || false, // required
55
57
  * // muted: true || false, // required
56
58
  * // mutedUntil: "STRING_VALUE",
59
+ * // pinned: true || false, // required
57
60
  * // unreadMarkAt: Number("long"),
58
61
  * // },
59
62
  * // };
@@ -24,7 +24,9 @@ export interface PartialUpdateChannelCommandOutput extends PartialUpdateChannelO
24
24
  declare const PartialUpdateChannelCommand_base: {
25
25
  new (input: PartialUpdateChannelCommandInput): import("@smithy/smithy-client").CommandImpl<PartialUpdateChannelCommandInput, PartialUpdateChannelCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
26
  new (__0_0: PartialUpdateChannelCommandInput): import("@smithy/smithy-client").CommandImpl<PartialUpdateChannelCommandInput, PartialUpdateChannelCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * Partially updates channel metadata using `set` and `unset`.
@@ -24,7 +24,9 @@ export interface PartialUpdateMessageCommandOutput extends PartialUpdateMessageO
24
24
  declare const PartialUpdateMessageCommand_base: {
25
25
  new (input: PartialUpdateMessageCommandInput): import("@smithy/smithy-client").CommandImpl<PartialUpdateMessageCommandInput, PartialUpdateMessageCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
26
  new (__0_0: PartialUpdateMessageCommandInput): import("@smithy/smithy-client").CommandImpl<PartialUpdateMessageCommandInput, PartialUpdateMessageCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * Partially updates an existing message. Use `set` to write fields and `unset` to clear them. Updates never move the message in the timeline or advance unread counters.
@@ -24,7 +24,9 @@ export interface PinChannelCommandOutput extends PinChannelOutput, __MetadataBea
24
24
  declare const PinChannelCommand_base: {
25
25
  new (input: PinChannelCommandInput): import("@smithy/smithy-client").CommandImpl<PinChannelCommandInput, PinChannelCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
26
  new (__0_0: PinChannelCommandInput): import("@smithy/smithy-client").CommandImpl<PinChannelCommandInput, PinChannelCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * Pins a channel in the current user's inbox.
@@ -38,7 +40,6 @@ declare const PinChannelCommand_base: {
38
40
  * companyId: "STRING_VALUE",
39
41
  * userId: "STRING_VALUE",
40
42
  * channelId: "STRING_VALUE", // required
41
- * force: true || false,
42
43
  * };
43
44
  * const command = new PinChannelCommand(input);
44
45
  * const response = await client.send(command);
@@ -54,8 +55,6 @@ declare const PinChannelCommand_base: {
54
55
  *
55
56
  * @throws {@link ChannelNotFoundException} (client fault)
56
57
  *
57
- * @throws {@link PinnedChannelsLimitReachedException} (client fault)
58
- *
59
58
  * @throws {@link StreamServiceException} (server fault)
60
59
  *
61
60
  * @throws {@link UnauthorizedException} (client fault)
@@ -24,7 +24,9 @@ export interface PinMessageCommandOutput extends PinMessageOutput, __MetadataBea
24
24
  declare const PinMessageCommand_base: {
25
25
  new (input: PinMessageCommandInput): import("@smithy/smithy-client").CommandImpl<PinMessageCommandInput, PinMessageCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
26
  new (__0_0: PinMessageCommandInput): import("@smithy/smithy-client").CommandImpl<PinMessageCommandInput, PinMessageCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * Pins one message at channel scope. Pin is channel-level and not per-user; every member sees the same pin state. Duplicate calls on an already-pinned message are absorbed and do not advance `messageVersion`. Pinning a deleted / tombstoned message is rejected.
@@ -24,7 +24,9 @@ export interface QueryChannelsCommandOutput extends QueryChannelsOutput, __Metad
24
24
  declare const QueryChannelsCommand_base: {
25
25
  new (input: QueryChannelsCommandInput): import("@smithy/smithy-client").CommandImpl<QueryChannelsCommandInput, QueryChannelsCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
26
  new (__0_0: QueryChannelsCommandInput): import("@smithy/smithy-client").CommandImpl<QueryChannelsCommandInput, QueryChannelsCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * Returns channels matching a batch id query for the current user.
@@ -122,6 +124,7 @@ declare const QueryChannelsCommand_base: {
122
124
  * // hidden: true || false, // required
123
125
  * // muted: true || false, // required
124
126
  * // mutedUntil: "STRING_VALUE",
127
+ * // pinned: true || false, // required
125
128
  * // unreadMarkAt: Number("long"),
126
129
  * // },
127
130
  * // },
@@ -24,7 +24,9 @@ export interface RemoveChannelFromSectionCommandOutput extends RemoveChannelFrom
24
24
  declare const RemoveChannelFromSectionCommand_base: {
25
25
  new (input: RemoveChannelFromSectionCommandInput): import("@smithy/smithy-client").CommandImpl<RemoveChannelFromSectionCommandInput, RemoveChannelFromSectionCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
26
  new (__0_0: RemoveChannelFromSectionCommandInput): import("@smithy/smithy-client").CommandImpl<RemoveChannelFromSectionCommandInput, RemoveChannelFromSectionCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * Removes a channel from a custom section for the current user.
@@ -54,6 +56,7 @@ declare const RemoveChannelFromSectionCommand_base: {
54
56
  * // hidden: true || false, // required
55
57
  * // muted: true || false, // required
56
58
  * // mutedUntil: "STRING_VALUE",
59
+ * // pinned: true || false, // required
57
60
  * // unreadMarkAt: Number("long"),
58
61
  * // },
59
62
  * // };
@@ -24,7 +24,9 @@ export interface RenameSectionCommandOutput extends RenameSectionOutput, __Metad
24
24
  declare const RenameSectionCommand_base: {
25
25
  new (input: RenameSectionCommandInput): import("@smithy/smithy-client").CommandImpl<RenameSectionCommandInput, RenameSectionCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
26
  new (__0_0: RenameSectionCommandInput): import("@smithy/smithy-client").CommandImpl<RenameSectionCommandInput, RenameSectionCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * Renames a custom inbox section.
@@ -48,12 +50,10 @@ declare const RenameSectionCommand_base: {
48
50
  * // name: "STRING_VALUE", // required
49
51
  * // type: "system" || "custom", // required
50
52
  * // channelCount: Number("int"), // required
51
- * // unread: { // SectionUnreadCounters
52
- * // unmutedUnreadChannelCount: Number("int"), // required
53
- * // unmutedUnreadMessageCount: Number("int"), // required
54
- * // mutedUnreadMessageCount: Number("int"), // required
55
- * // unreadMentionCount: Number("int"), // required
56
- * // },
53
+ * // unmutedUnreadChannelCount: Number("int"), // required
54
+ * // unmutedUnreadMessageCount: Number("int"), // required
55
+ * // mutedUnreadMessageCount: Number("int"), // required
56
+ * // unreadMentionCount: Number("int"), // required
57
57
  * // },
58
58
  * // };
59
59
  *
@@ -24,7 +24,9 @@ export interface SendGiphyCommandOutput extends SendGiphyOutput, __MetadataBeare
24
24
  declare const SendGiphyCommand_base: {
25
25
  new (input: SendGiphyCommandInput): import("@smithy/smithy-client").CommandImpl<SendGiphyCommandInput, SendGiphyCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
26
  new (__0_0: SendGiphyCommandInput): import("@smithy/smithy-client").CommandImpl<SendGiphyCommandInput, SendGiphyCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * Persists a Giphy message to a channel. Returns the full message snapshot in the same shape as one `ListMessages` item.
@@ -24,7 +24,9 @@ export interface SendMessageCommandOutput extends SendMessageOutput, __MetadataB
24
24
  declare const SendMessageCommand_base: {
25
25
  new (input: SendMessageCommandInput): import("@smithy/smithy-client").CommandImpl<SendMessageCommandInput, SendMessageCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
26
  new (__0_0: SendMessageCommandInput): import("@smithy/smithy-client").CommandImpl<SendMessageCommandInput, SendMessageCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * Persists a new user message to a channel. Supports text, attachments, rich `elements`, replies (`quote`), forwards (`forward`), and targeted user mentions (`mentions[]`). File attachments must be uploaded first to the file service and referenced by `attachments[].fsId`. Returns the full message snapshot in the same shape as one `ListMessages` item.
@@ -24,7 +24,9 @@ export interface SendMessageReactionCommandOutput extends SendMessageReactionOut
24
24
  declare const SendMessageReactionCommand_base: {
25
25
  new (input: SendMessageReactionCommandInput): import("@smithy/smithy-client").CommandImpl<SendMessageReactionCommandInput, SendMessageReactionCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
26
  new (__0_0: SendMessageReactionCommandInput): import("@smithy/smithy-client").CommandImpl<SendMessageReactionCommandInput, SendMessageReactionCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * Adds the current user's reaction of `<type>` on one message. Duplicate adds are absorbed and only the first apply advances `messageVersion`. Reactions on a deleted message are rejected.
@@ -24,7 +24,9 @@ export interface SendSystemMessageCommandOutput extends SendSystemMessageOutput,
24
24
  declare const SendSystemMessageCommand_base: {
25
25
  new (input: SendSystemMessageCommandInput): import("@smithy/smithy-client").CommandImpl<SendSystemMessageCommandInput, SendSystemMessageCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
26
  new (__0_0: SendSystemMessageCommandInput): import("@smithy/smithy-client").CommandImpl<SendSystemMessageCommandInput, SendSystemMessageCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * Persists a backend-generated system message to a channel. Available with S2S authorization only. Each `message` variant maps to a server-side template; optional `event` carries a client rendering hint.
@@ -24,7 +24,9 @@ export interface SendTypingStartCommandOutput extends SendTypingStartOutput, __M
24
24
  declare const SendTypingStartCommand_base: {
25
25
  new (input: SendTypingStartCommandInput): import("@smithy/smithy-client").CommandImpl<SendTypingStartCommandInput, SendTypingStartCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
26
  new (__0_0: SendTypingStartCommandInput): import("@smithy/smithy-client").CommandImpl<SendTypingStartCommandInput, SendTypingStartCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * Broadcasts a typing-start indicator for the current user in a channel.
@@ -24,7 +24,9 @@ export interface SendTypingStopCommandOutput extends SendTypingStopOutput, __Met
24
24
  declare const SendTypingStopCommand_base: {
25
25
  new (input: SendTypingStopCommandInput): import("@smithy/smithy-client").CommandImpl<SendTypingStopCommandInput, SendTypingStopCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
26
  new (__0_0: SendTypingStopCommandInput): import("@smithy/smithy-client").CommandImpl<SendTypingStopCommandInput, SendTypingStopCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * Broadcasts a typing-stop indicator for the current user in a channel.
@@ -24,7 +24,9 @@ export interface ShowChannelCommandOutput extends ShowChannelOutput, __MetadataB
24
24
  declare const ShowChannelCommand_base: {
25
25
  new (input: ShowChannelCommandInput): import("@smithy/smithy-client").CommandImpl<ShowChannelCommandInput, ShowChannelCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
26
  new (__0_0: ShowChannelCommandInput): import("@smithy/smithy-client").CommandImpl<ShowChannelCommandInput, ShowChannelCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * Restores a hidden channel for the current user.
@@ -24,7 +24,9 @@ export interface UnmuteChannelCommandOutput extends UnmuteChannelOutput, __Metad
24
24
  declare const UnmuteChannelCommand_base: {
25
25
  new (input: UnmuteChannelCommandInput): import("@smithy/smithy-client").CommandImpl<UnmuteChannelCommandInput, UnmuteChannelCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
26
  new (__0_0: UnmuteChannelCommandInput): import("@smithy/smithy-client").CommandImpl<UnmuteChannelCommandInput, UnmuteChannelCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * Unmutes a channel for the current user.
@@ -53,6 +55,7 @@ declare const UnmuteChannelCommand_base: {
53
55
  * // hidden: true || false, // required
54
56
  * // muted: true || false, // required
55
57
  * // mutedUntil: "STRING_VALUE",
58
+ * // pinned: true || false, // required
56
59
  * // unreadMarkAt: Number("long"),
57
60
  * // },
58
61
  * // };
@@ -24,7 +24,9 @@ export interface UnpinChannelCommandOutput extends UnpinChannelOutput, __Metadat
24
24
  declare const UnpinChannelCommand_base: {
25
25
  new (input: UnpinChannelCommandInput): import("@smithy/smithy-client").CommandImpl<UnpinChannelCommandInput, UnpinChannelCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
26
  new (__0_0: UnpinChannelCommandInput): import("@smithy/smithy-client").CommandImpl<UnpinChannelCommandInput, UnpinChannelCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * Unpins a channel in the current user's inbox.
@@ -24,7 +24,9 @@ export interface UnpinMessageCommandOutput extends UnpinMessageOutput, __Metadat
24
24
  declare const UnpinMessageCommand_base: {
25
25
  new (input: UnpinMessageCommandInput): import("@smithy/smithy-client").CommandImpl<UnpinMessageCommandInput, UnpinMessageCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
26
  new (__0_0: UnpinMessageCommandInput): import("@smithy/smithy-client").CommandImpl<UnpinMessageCommandInput, UnpinMessageCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * Unpins one message at channel scope. Duplicate calls on an already-unpinned message are absorbed and do not advance `messageVersion`.
@@ -24,7 +24,9 @@ export interface UpdateChannelCommandOutput extends UpdateChannelOutput, __Metad
24
24
  declare const UpdateChannelCommand_base: {
25
25
  new (input: UpdateChannelCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateChannelCommandInput, UpdateChannelCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
26
  new (__0_0: UpdateChannelCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateChannelCommandInput, UpdateChannelCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * Replaces editable channel metadata.
@@ -24,7 +24,9 @@ export interface UpdateMessageCommandOutput extends UpdateMessageOutput, __Metad
24
24
  declare const UpdateMessageCommand_base: {
25
25
  new (input: UpdateMessageCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateMessageCommandInput, UpdateMessageCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
26
  new (__0_0: UpdateMessageCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateMessageCommandInput, UpdateMessageCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * Replaces the editable content of an existing message in place. Updates never move the message in the timeline. The server rejects payloads that would empty both `text` and `attachments`. Returns the rewritten message snapshot with `messageVersion` incremented and `editedAt` set.
@@ -24,7 +24,9 @@ export interface UploadFileCommandOutput extends UploadFileOutput, __MetadataBea
24
24
  declare const UploadFileCommand_base: {
25
25
  new (input: UploadFileCommandInput): import("@smithy/smithy-client").CommandImpl<UploadFileCommandInput, UploadFileCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
26
  new (__0_0: UploadFileCommandInput): import("@smithy/smithy-client").CommandImpl<UploadFileCommandInput, UploadFileCommandOutput, 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 presigned URL for uploading a file into a channel. The returned `fsId` is referenced verbatim as `attachments[].fsId` when sending or editing a message.
@@ -1235,32 +1235,6 @@ export declare const SectionType: {
1235
1235
  * @public
1236
1236
  */
1237
1237
  export type SectionType = typeof SectionType[keyof typeof SectionType];
1238
- /**
1239
- * Aggregated unread counters for an inbox section.
1240
- * @public
1241
- */
1242
- export interface SectionUnreadCounters {
1243
- /**
1244
- * Unmuted channels with at least one unread message.
1245
- * @public
1246
- */
1247
- unmutedUnreadChannelCount: number;
1248
- /**
1249
- * Total unread messages across unmuted channels.
1250
- * @public
1251
- */
1252
- unmutedUnreadMessageCount: number;
1253
- /**
1254
- * Total unread messages across muted channels.
1255
- * @public
1256
- */
1257
- mutedUnreadMessageCount: number;
1258
- /**
1259
- * Unread direct mentions of the current user.
1260
- * @public
1261
- */
1262
- unreadMentionCount: number;
1263
- }
1264
1238
  /**
1265
1239
  * Inbox section with metadata, channel count, and unread counters.
1266
1240
  * @public
@@ -1287,10 +1261,25 @@ export interface Section {
1287
1261
  */
1288
1262
  channelCount: number;
1289
1263
  /**
1290
- * Aggregated unread counters for an inbox section.
1264
+ * Unmuted channels with at least one unread message.
1265
+ * @public
1266
+ */
1267
+ unmutedUnreadChannelCount: number;
1268
+ /**
1269
+ * Total unread messages across unmuted channels.
1270
+ * @public
1271
+ */
1272
+ unmutedUnreadMessageCount: number;
1273
+ /**
1274
+ * Total unread messages across muted channels.
1291
1275
  * @public
1292
1276
  */
1293
- unread: SectionUnreadCounters;
1277
+ mutedUnreadMessageCount: number;
1278
+ /**
1279
+ * Unread direct mentions of the current user.
1280
+ * @public
1281
+ */
1282
+ unreadMentionCount: number;
1294
1283
  }
1295
1284
  /**
1296
1285
  * @public
@@ -1916,6 +1905,11 @@ export interface InboxState {
1916
1905
  * @public
1917
1906
  */
1918
1907
  mutedUntil?: string | undefined;
1908
+ /**
1909
+ * True when the user has pinned this channel.
1910
+ * @public
1911
+ */
1912
+ pinned: boolean;
1919
1913
  /**
1920
1914
  * `visibleSeq` from which the user manually marked the channel as unread.
1921
1915
  * @public
@@ -3203,24 +3197,12 @@ export interface PinChannelInput {
3203
3197
  */
3204
3198
  userId?: string | undefined;
3205
3199
  channelId: string;
3206
- force?: boolean | undefined;
3207
3200
  }
3208
3201
  /**
3209
3202
  * @public
3210
3203
  */
3211
3204
  export interface PinChannelOutput {
3212
3205
  }
3213
- /**
3214
- * @public
3215
- */
3216
- export declare class PinnedChannelsLimitReachedException extends __BaseException {
3217
- readonly name: "PinnedChannelsLimitReachedException";
3218
- readonly $fault: "client";
3219
- /**
3220
- * @internal
3221
- */
3222
- constructor(opts: __ExceptionOptionType<PinnedChannelsLimitReachedException, __BaseException>);
3223
- }
3224
3206
  /**
3225
3207
  * @public
3226
3208
  */
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@wildix/stream-client",
3
3
  "description": "@wildix/stream-client client",
4
- "version": "0.0.6",
4
+ "version": "0.0.8",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -80,4 +80,4 @@
80
80
  "react-native": {
81
81
  "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native"
82
82
  }
83
- }
83
+ }