@wildix/stream-client 0.0.8 → 0.0.10

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 (62) hide show
  1. package/dist-cjs/models/models_0.js +6 -6
  2. package/dist-es/models/models_0.js +5 -5
  3. package/dist-types/commands/AddChannelMemberCommand.d.ts +1 -3
  4. package/dist-types/commands/AddChannelMembersCommand.d.ts +1 -3
  5. package/dist-types/commands/AssignChannelCommand.d.ts +1 -3
  6. package/dist-types/commands/CreateGroupChannelCommand.d.ts +2 -3
  7. package/dist-types/commands/CreateKiteChannelCommand.d.ts +2 -3
  8. package/dist-types/commands/CreateSectionCommand.d.ts +1 -3
  9. package/dist-types/commands/DeleteChannelCommand.d.ts +1 -3
  10. package/dist-types/commands/DeleteChannelMemberCommand.d.ts +1 -3
  11. package/dist-types/commands/DeleteMessageCommand.d.ts +1 -3
  12. package/dist-types/commands/DeleteMessageReactionCommand.d.ts +3 -4
  13. package/dist-types/commands/DeleteSectionCommand.d.ts +1 -3
  14. package/dist-types/commands/GetChannelCommand.d.ts +2 -3
  15. package/dist-types/commands/GetChannelMemberCommand.d.ts +1 -3
  16. package/dist-types/commands/GetDirectChannelIdCommand.d.ts +1 -3
  17. package/dist-types/commands/GetFilePresignedDownloadUrlCommand.d.ts +1 -3
  18. package/dist-types/commands/GetInboxCommand.d.ts +2 -3
  19. package/dist-types/commands/GetMessageCommand.d.ts +3 -4
  20. package/dist-types/commands/GetOrCreateDirectChannelCommand.d.ts +2 -3
  21. package/dist-types/commands/GetOrCreateSmsChannelCommand.d.ts +2 -3
  22. package/dist-types/commands/GetOrCreateTelephonyChannelCommand.d.ts +2 -3
  23. package/dist-types/commands/GetOrCreateWhatsAppChannelCommand.d.ts +2 -3
  24. package/dist-types/commands/GetSmsChannelIdCommand.d.ts +1 -3
  25. package/dist-types/commands/GetTelephonyChannelIdCommand.d.ts +1 -3
  26. package/dist-types/commands/GetTokenCommand.d.ts +1 -3
  27. package/dist-types/commands/GetUploadedFileInfoCommand.d.ts +1 -3
  28. package/dist-types/commands/GetWhatsAppChannelIdCommand.d.ts +1 -3
  29. package/dist-types/commands/HideChannelCommand.d.ts +1 -3
  30. package/dist-types/commands/JoinChannelCommand.d.ts +2 -3
  31. package/dist-types/commands/LeaveChannelCommand.d.ts +1 -3
  32. package/dist-types/commands/ListChannelMembersCommand.d.ts +1 -3
  33. package/dist-types/commands/ListChannelMembersReadStatusCommand.d.ts +1 -3
  34. package/dist-types/commands/ListChannelsCommand.d.ts +2 -3
  35. package/dist-types/commands/ListMentionsCommand.d.ts +3 -4
  36. package/dist-types/commands/ListMessagesCommand.d.ts +3 -4
  37. package/dist-types/commands/MarkReadCommand.d.ts +1 -3
  38. package/dist-types/commands/MarkUnreadCommand.d.ts +1 -3
  39. package/dist-types/commands/MoveChannelToSectionCommand.d.ts +1 -3
  40. package/dist-types/commands/MuteChannelCommand.d.ts +1 -3
  41. package/dist-types/commands/PartialUpdateChannelCommand.d.ts +2 -3
  42. package/dist-types/commands/PartialUpdateMessageCommand.d.ts +3 -4
  43. package/dist-types/commands/PinChannelCommand.d.ts +1 -3
  44. package/dist-types/commands/PinMessageCommand.d.ts +3 -4
  45. package/dist-types/commands/QueryChannelsCommand.d.ts +2 -3
  46. package/dist-types/commands/RemoveChannelFromSectionCommand.d.ts +1 -3
  47. package/dist-types/commands/RenameSectionCommand.d.ts +1 -3
  48. package/dist-types/commands/SendGiphyCommand.d.ts +3 -4
  49. package/dist-types/commands/SendMessageCommand.d.ts +3 -4
  50. package/dist-types/commands/SendMessageReactionCommand.d.ts +3 -4
  51. package/dist-types/commands/SendSystemMessageCommand.d.ts +3 -4
  52. package/dist-types/commands/SendTypingStartCommand.d.ts +1 -3
  53. package/dist-types/commands/SendTypingStopCommand.d.ts +1 -3
  54. package/dist-types/commands/ShowChannelCommand.d.ts +1 -3
  55. package/dist-types/commands/UnmuteChannelCommand.d.ts +1 -3
  56. package/dist-types/commands/UnpinChannelCommand.d.ts +1 -3
  57. package/dist-types/commands/UnpinMessageCommand.d.ts +3 -4
  58. package/dist-types/commands/UpdateChannelCommand.d.ts +2 -3
  59. package/dist-types/commands/UpdateMessageCommand.d.ts +3 -4
  60. package/dist-types/commands/UploadFileCommand.d.ts +1 -3
  61. package/dist-types/models/models_0.d.ts +33 -15
  62. 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.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.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";
@@ -170,6 +170,11 @@ exports.ChannelContextEventAttendeeStatus = {
170
170
  exports.ChannelContextSource = {
171
171
  KITE: "kite",
172
172
  };
173
+ exports.MessageType = {
174
+ DELETED: "deleted",
175
+ REGULAR: "regular",
176
+ SYSTEM: "system",
177
+ };
173
178
  exports.ChannelWhatsAppStatus = {
174
179
  CHANNEL_CLOSED: "24h_channel_closed",
175
180
  };
@@ -277,11 +282,6 @@ class MessageNotFoundException extends StreamServiceServiceException_1.StreamSer
277
282
  }
278
283
  }
279
284
  exports.MessageNotFoundException = MessageNotFoundException;
280
- exports.MessageType = {
281
- DELETED: "deleted",
282
- REGULAR: "regular",
283
- SYSTEM: "system",
284
- };
285
285
  class SectionNotFoundException extends StreamServiceServiceException_1.StreamServiceServiceException {
286
286
  name = "SectionNotFoundException";
287
287
  $fault = "client";
@@ -160,6 +160,11 @@ export const ChannelContextEventAttendeeStatus = {
160
160
  export const ChannelContextSource = {
161
161
  KITE: "kite",
162
162
  };
163
+ export const MessageType = {
164
+ DELETED: "deleted",
165
+ REGULAR: "regular",
166
+ SYSTEM: "system",
167
+ };
163
168
  export const ChannelWhatsAppStatus = {
164
169
  CHANNEL_CLOSED: "24h_channel_closed",
165
170
  };
@@ -262,11 +267,6 @@ export class MessageNotFoundException extends __BaseException {
262
267
  Object.setPrototypeOf(this, MessageNotFoundException.prototype);
263
268
  }
264
269
  }
265
- export const MessageType = {
266
- DELETED: "deleted",
267
- REGULAR: "regular",
268
- SYSTEM: "system",
269
- };
270
270
  export class SectionNotFoundException extends __BaseException {
271
271
  name = "SectionNotFoundException";
272
272
  $fault = "client";
@@ -24,9 +24,7 @@ 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(): {
28
- [x: string]: unknown;
29
- };
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
30
28
  };
31
29
  /**
32
30
  * Adds one member to a channel.
@@ -24,9 +24,7 @@ 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(): {
28
- [x: string]: unknown;
29
- };
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
30
28
  };
31
29
  /**
32
30
  * Adds members to a channel.
@@ -24,9 +24,7 @@ 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(): {
28
- [x: string]: unknown;
29
- };
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
30
28
  };
31
29
  /**
32
30
  * Assigns a channel to a service and/or assignee.
@@ -24,9 +24,7 @@ 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(): {
28
- [x: string]: unknown;
29
- };
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
30
28
  };
31
29
  /**
32
30
  * Creates a new group channel with specified members and members to invite.
@@ -107,6 +105,7 @@ declare const CreateGroupChannelCommand_base: {
107
105
  * // lastMessage: { // LastMessagePreview
108
106
  * // messageId: "STRING_VALUE", // required
109
107
  * // userId: "STRING_VALUE", // required
108
+ * // messageType: "regular" || "system" || "deleted", // required
110
109
  * // text: "STRING_VALUE",
111
110
  * // createdAt: "STRING_VALUE", // required
112
111
  * // },
@@ -24,9 +24,7 @@ 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(): {
28
- [x: string]: unknown;
29
- };
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
30
28
  };
31
29
  /**
32
30
  * Creates a new Kite channel for a widget target or agent email.
@@ -195,6 +193,7 @@ declare const CreateKiteChannelCommand_base: {
195
193
  * // lastMessage: { // LastMessagePreview
196
194
  * // messageId: "STRING_VALUE", // required
197
195
  * // userId: "STRING_VALUE", // required
196
+ * // messageType: "regular" || "system" || "deleted", // required
198
197
  * // text: "STRING_VALUE",
199
198
  * // createdAt: "STRING_VALUE", // required
200
199
  * // },
@@ -24,9 +24,7 @@ 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(): {
28
- [x: string]: unknown;
29
- };
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
30
28
  };
31
29
  /**
32
30
  * Creates a custom inbox section.
@@ -24,9 +24,7 @@ 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(): {
28
- [x: string]: unknown;
29
- };
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
30
28
  };
31
29
  /**
32
30
  * Deletes a channel. Idempotent when the channel is already gone.
@@ -24,9 +24,7 @@ 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(): {
28
- [x: string]: unknown;
29
- };
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
30
28
  };
31
29
  /**
32
30
  * Removes one member from a channel.
@@ -24,9 +24,7 @@ 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(): {
28
- [x: string]: unknown;
29
- };
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
30
28
  };
31
29
  /**
32
30
  * 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,9 +24,7 @@ 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(): {
28
- [x: string]: unknown;
29
- };
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
30
28
  };
31
29
  /**
32
30
  * Removes the current user's reaction of `<type>` on one message. Duplicate removes are absorbed and only the first apply advances `messageVersion`.
@@ -77,7 +75,8 @@ declare const DeleteMessageReactionCommand_base: {
77
75
  * // channelId: "STRING_VALUE", // required
78
76
  * // messageId: "STRING_VALUE", // required
79
77
  * // userId: "STRING_VALUE", // required
80
- * // forwardedAt: "STRING_VALUE", // required
78
+ * // companyId: "STRING_VALUE",
79
+ * // createdAt: "STRING_VALUE",
81
80
  * // },
82
81
  * // reactionCounts: { // ReactionCounts // required
83
82
  * // "<keys>": Number("int"),
@@ -24,9 +24,7 @@ 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(): {
28
- [x: string]: unknown;
29
- };
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
30
28
  };
31
29
  /**
32
30
  * Deletes a custom inbox section.
@@ -24,9 +24,7 @@ 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(): {
28
- [x: string]: unknown;
29
- };
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
30
28
  };
31
29
  /**
32
30
  * Returns one channel with per-user inbox state and last-message preview.
@@ -56,6 +54,7 @@ declare const GetChannelCommand_base: {
56
54
  * // lastMessage: { // LastMessagePreview
57
55
  * // messageId: "STRING_VALUE", // required
58
56
  * // userId: "STRING_VALUE", // required
57
+ * // messageType: "regular" || "system" || "deleted", // required
59
58
  * // text: "STRING_VALUE",
60
59
  * // createdAt: "STRING_VALUE", // required
61
60
  * // },
@@ -24,9 +24,7 @@ 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(): {
28
- [x: string]: unknown;
29
- };
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
30
28
  };
31
29
  /**
32
30
  * Returns one channel member.
@@ -24,9 +24,7 @@ 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(): {
28
- [x: string]: unknown;
29
- };
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
30
28
  };
31
29
  /**
32
30
  * Resolves the channel id of a direct channel without creating it.
@@ -24,9 +24,7 @@ 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(): {
28
- [x: string]: unknown;
29
- };
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
30
28
  };
31
29
  /**
32
30
  * Returns a presigned URL for downloading a file attached to a message.
@@ -24,9 +24,7 @@ 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(): {
28
- [x: string]: unknown;
29
- };
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
30
28
  };
31
29
  /**
32
30
  * 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.
@@ -56,6 +54,7 @@ declare const GetInboxCommand_base: {
56
54
  * // lastMessage: { // LastMessagePreview
57
55
  * // messageId: "STRING_VALUE", // required
58
56
  * // userId: "STRING_VALUE", // required
57
+ * // messageType: "regular" || "system" || "deleted", // required
59
58
  * // text: "STRING_VALUE",
60
59
  * // createdAt: "STRING_VALUE", // required
61
60
  * // },
@@ -24,9 +24,7 @@ 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(): {
28
- [x: string]: unknown;
29
- };
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
30
28
  };
31
29
  /**
32
30
  * Returns a single message by id. Used by goto-message to resolve a `messageId` to its `timelineSeq` before loading a window with `ListMessages`.
@@ -76,7 +74,8 @@ declare const GetMessageCommand_base: {
76
74
  * // channelId: "STRING_VALUE", // required
77
75
  * // messageId: "STRING_VALUE", // required
78
76
  * // userId: "STRING_VALUE", // required
79
- * // forwardedAt: "STRING_VALUE", // required
77
+ * // companyId: "STRING_VALUE",
78
+ * // createdAt: "STRING_VALUE",
80
79
  * // },
81
80
  * // reactionCounts: { // ReactionCounts // required
82
81
  * // "<keys>": Number("int"),
@@ -24,9 +24,7 @@ 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(): {
28
- [x: string]: unknown;
29
- };
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
30
28
  };
31
29
  /**
32
30
  * Gets or creates a direct channel between the current user and another member.
@@ -62,6 +60,7 @@ declare const GetOrCreateDirectChannelCommand_base: {
62
60
  * // lastMessage: { // LastMessagePreview
63
61
  * // messageId: "STRING_VALUE", // required
64
62
  * // userId: "STRING_VALUE", // required
63
+ * // messageType: "regular" || "system" || "deleted", // required
65
64
  * // text: "STRING_VALUE",
66
65
  * // createdAt: "STRING_VALUE", // required
67
66
  * // },
@@ -24,9 +24,7 @@ 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(): {
28
- [x: string]: unknown;
29
- };
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
30
28
  };
31
29
  /**
32
30
  * Gets or creates an SMS channel.
@@ -59,6 +57,7 @@ declare const GetOrCreateSmsChannelCommand_base: {
59
57
  * // lastMessage: { // LastMessagePreview
60
58
  * // messageId: "STRING_VALUE", // required
61
59
  * // userId: "STRING_VALUE", // required
60
+ * // messageType: "regular" || "system" || "deleted", // required
62
61
  * // text: "STRING_VALUE",
63
62
  * // createdAt: "STRING_VALUE", // required
64
63
  * // },
@@ -24,9 +24,7 @@ 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(): {
28
- [x: string]: unknown;
29
- };
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
30
28
  };
31
29
  /**
32
30
  * Gets or creates a telephony channel.
@@ -58,6 +56,7 @@ declare const GetOrCreateTelephonyChannelCommand_base: {
58
56
  * // lastMessage: { // LastMessagePreview
59
57
  * // messageId: "STRING_VALUE", // required
60
58
  * // userId: "STRING_VALUE", // required
59
+ * // messageType: "regular" || "system" || "deleted", // required
61
60
  * // text: "STRING_VALUE",
62
61
  * // createdAt: "STRING_VALUE", // required
63
62
  * // },
@@ -24,9 +24,7 @@ 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(): {
28
- [x: string]: unknown;
29
- };
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
30
28
  };
31
29
  /**
32
30
  * Gets or creates a WhatsApp channel.
@@ -59,6 +57,7 @@ declare const GetOrCreateWhatsAppChannelCommand_base: {
59
57
  * // lastMessage: { // LastMessagePreview
60
58
  * // messageId: "STRING_VALUE", // required
61
59
  * // userId: "STRING_VALUE", // required
60
+ * // messageType: "regular" || "system" || "deleted", // required
62
61
  * // text: "STRING_VALUE",
63
62
  * // createdAt: "STRING_VALUE", // required
64
63
  * // },
@@ -24,9 +24,7 @@ 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(): {
28
- [x: string]: unknown;
29
- };
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
30
28
  };
31
29
  /**
32
30
  * Resolves the channel id of an SMS channel without creating it.
@@ -24,9 +24,7 @@ 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(): {
28
- [x: string]: unknown;
29
- };
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
30
28
  };
31
29
  /**
32
30
  * Resolves the channel id of a telephony channel without creating it.
@@ -24,9 +24,7 @@ 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(): {
28
- [x: string]: unknown;
29
- };
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
30
28
  };
31
29
  /**
32
30
  * Returns a short-lived authorization token for the stream chat client.
@@ -24,9 +24,7 @@ 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(): {
28
- [x: string]: unknown;
29
- };
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
30
28
  };
31
29
  /**
32
30
  * Returns metadata for an uploaded file in a channel.
@@ -24,9 +24,7 @@ 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(): {
28
- [x: string]: unknown;
29
- };
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
30
28
  };
31
29
  /**
32
30
  * Resolves the channel id of a WhatsApp channel without creating it.
@@ -24,9 +24,7 @@ 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(): {
28
- [x: string]: unknown;
29
- };
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
30
28
  };
31
29
  /**
32
30
  * Archives a channel for the current user (`inbox.hidden = true`).
@@ -24,9 +24,7 @@ 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(): {
28
- [x: string]: unknown;
29
- };
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
30
28
  };
31
29
  /**
32
30
  * Joins a public channel.
@@ -57,6 +55,7 @@ declare const JoinChannelCommand_base: {
57
55
  * // lastMessage: { // LastMessagePreview
58
56
  * // messageId: "STRING_VALUE", // required
59
57
  * // userId: "STRING_VALUE", // required
58
+ * // messageType: "regular" || "system" || "deleted", // required
60
59
  * // text: "STRING_VALUE",
61
60
  * // createdAt: "STRING_VALUE", // required
62
61
  * // },
@@ -24,9 +24,7 @@ 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(): {
28
- [x: string]: unknown;
29
- };
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
30
28
  };
31
29
  /**
32
30
  * Removes the current user from a channel.
@@ -24,9 +24,7 @@ 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(): {
28
- [x: string]: unknown;
29
- };
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
30
28
  };
31
29
  /**
32
30
  * Lists channel members.
@@ -24,9 +24,7 @@ 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(): {
28
- [x: string]: unknown;
29
- };
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
30
28
  };
31
29
  /**
32
30
  * Lists member read pointers for channels with at most 100 members.
@@ -24,9 +24,7 @@ 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(): {
28
- [x: string]: unknown;
29
- };
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
30
28
  };
31
29
  /**
32
30
  * 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`.
@@ -59,6 +57,7 @@ declare const ListChannelsCommand_base: {
59
57
  * // lastMessage: { // LastMessagePreview
60
58
  * // messageId: "STRING_VALUE", // required
61
59
  * // userId: "STRING_VALUE", // required
60
+ * // messageType: "regular" || "system" || "deleted", // required
62
61
  * // text: "STRING_VALUE",
63
62
  * // createdAt: "STRING_VALUE", // required
64
63
  * // },
@@ -24,9 +24,7 @@ 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(): {
28
- [x: string]: unknown;
29
- };
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
30
28
  };
31
29
  /**
32
30
  * 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.
@@ -85,7 +83,8 @@ declare const ListMentionsCommand_base: {
85
83
  * // channelId: "STRING_VALUE", // required
86
84
  * // messageId: "STRING_VALUE", // required
87
85
  * // userId: "STRING_VALUE", // required
88
- * // forwardedAt: "STRING_VALUE", // required
86
+ * // companyId: "STRING_VALUE",
87
+ * // createdAt: "STRING_VALUE",
89
88
  * // },
90
89
  * // reactionCounts: { // ReactionCounts // required
91
90
  * // "<keys>": Number("int"),
@@ -24,9 +24,7 @@ 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(): {
28
- [x: string]: unknown;
29
- };
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
30
28
  };
31
29
  /**
32
30
  * 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.
@@ -78,7 +76,8 @@ declare const ListMessagesCommand_base: {
78
76
  * // channelId: "STRING_VALUE", // required
79
77
  * // messageId: "STRING_VALUE", // required
80
78
  * // userId: "STRING_VALUE", // required
81
- * // forwardedAt: "STRING_VALUE", // required
79
+ * // companyId: "STRING_VALUE",
80
+ * // createdAt: "STRING_VALUE",
82
81
  * // },
83
82
  * // reactionCounts: { // ReactionCounts // required
84
83
  * // "<keys>": Number("int"),
@@ -24,9 +24,7 @@ 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(): {
28
- [x: string]: unknown;
29
- };
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
30
28
  };
31
29
  /**
32
30
  * Marks the channel read up to the latest visible message for the current user.
@@ -24,9 +24,7 @@ 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(): {
28
- [x: string]: unknown;
29
- };
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
30
28
  };
31
29
  /**
32
30
  * Marks the channel unread for the current user from the resolved read pointer.
@@ -24,9 +24,7 @@ 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(): {
28
- [x: string]: unknown;
29
- };
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
30
28
  };
31
29
  /**
32
30
  * Adds a channel to a custom section for the current user.
@@ -24,9 +24,7 @@ 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(): {
28
- [x: string]: unknown;
29
- };
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
30
28
  };
31
29
  /**
32
30
  * Mutes a channel for the current user.
@@ -24,9 +24,7 @@ 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(): {
28
- [x: string]: unknown;
29
- };
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
30
28
  };
31
29
  /**
32
30
  * Partially updates channel metadata using `set` and `unset`.
@@ -101,6 +99,7 @@ declare const PartialUpdateChannelCommand_base: {
101
99
  * // lastMessage: { // LastMessagePreview
102
100
  * // messageId: "STRING_VALUE", // required
103
101
  * // userId: "STRING_VALUE", // required
102
+ * // messageType: "regular" || "system" || "deleted", // required
104
103
  * // text: "STRING_VALUE",
105
104
  * // createdAt: "STRING_VALUE", // required
106
105
  * // },
@@ -24,9 +24,7 @@ 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(): {
28
- [x: string]: unknown;
29
- };
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
30
28
  };
31
29
  /**
32
30
  * 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.
@@ -145,7 +143,8 @@ declare const PartialUpdateMessageCommand_base: {
145
143
  * // channelId: "STRING_VALUE", // required
146
144
  * // messageId: "STRING_VALUE", // required
147
145
  * // userId: "STRING_VALUE", // required
148
- * // forwardedAt: "STRING_VALUE", // required
146
+ * // companyId: "STRING_VALUE",
147
+ * // createdAt: "STRING_VALUE",
149
148
  * // },
150
149
  * // reactionCounts: { // ReactionCounts // required
151
150
  * // "<keys>": Number("int"),
@@ -24,9 +24,7 @@ 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(): {
28
- [x: string]: unknown;
29
- };
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
30
28
  };
31
29
  /**
32
30
  * Pins a channel in the current user's inbox.
@@ -24,9 +24,7 @@ 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(): {
28
- [x: string]: unknown;
29
- };
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
30
28
  };
31
29
  /**
32
30
  * 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.
@@ -76,7 +74,8 @@ declare const PinMessageCommand_base: {
76
74
  * // channelId: "STRING_VALUE", // required
77
75
  * // messageId: "STRING_VALUE", // required
78
76
  * // userId: "STRING_VALUE", // required
79
- * // forwardedAt: "STRING_VALUE", // required
77
+ * // companyId: "STRING_VALUE",
78
+ * // createdAt: "STRING_VALUE",
80
79
  * // },
81
80
  * // reactionCounts: { // ReactionCounts // required
82
81
  * // "<keys>": Number("int"),
@@ -24,9 +24,7 @@ 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(): {
28
- [x: string]: unknown;
29
- };
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
30
28
  };
31
29
  /**
32
30
  * Returns channels matching a batch id query for the current user.
@@ -61,6 +59,7 @@ declare const QueryChannelsCommand_base: {
61
59
  * // lastMessage: { // LastMessagePreview
62
60
  * // messageId: "STRING_VALUE", // required
63
61
  * // userId: "STRING_VALUE", // required
62
+ * // messageType: "regular" || "system" || "deleted", // required
64
63
  * // text: "STRING_VALUE",
65
64
  * // createdAt: "STRING_VALUE", // required
66
65
  * // },
@@ -24,9 +24,7 @@ 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(): {
28
- [x: string]: unknown;
29
- };
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
30
28
  };
31
29
  /**
32
30
  * Removes a channel from a custom section for the current user.
@@ -24,9 +24,7 @@ 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(): {
28
- [x: string]: unknown;
29
- };
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
30
28
  };
31
29
  /**
32
30
  * Renames a custom inbox section.
@@ -24,9 +24,7 @@ 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(): {
28
- [x: string]: unknown;
29
- };
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
30
28
  };
31
29
  /**
32
30
  * Persists a Giphy message to a channel. Returns the full message snapshot in the same shape as one `ListMessages` item.
@@ -91,7 +89,8 @@ declare const SendGiphyCommand_base: {
91
89
  * // channelId: "STRING_VALUE", // required
92
90
  * // messageId: "STRING_VALUE", // required
93
91
  * // userId: "STRING_VALUE", // required
94
- * // forwardedAt: "STRING_VALUE", // required
92
+ * // companyId: "STRING_VALUE",
93
+ * // createdAt: "STRING_VALUE",
95
94
  * // },
96
95
  * // reactionCounts: { // ReactionCounts // required
97
96
  * // "<keys>": Number("int"),
@@ -24,9 +24,7 @@ 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(): {
28
- [x: string]: unknown;
29
- };
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
30
28
  };
31
29
  /**
32
30
  * 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.
@@ -141,7 +139,8 @@ declare const SendMessageCommand_base: {
141
139
  * // channelId: "STRING_VALUE", // required
142
140
  * // messageId: "STRING_VALUE", // required
143
141
  * // userId: "STRING_VALUE", // required
144
- * // forwardedAt: "STRING_VALUE", // required
142
+ * // companyId: "STRING_VALUE",
143
+ * // createdAt: "STRING_VALUE",
145
144
  * // },
146
145
  * // reactionCounts: { // ReactionCounts // required
147
146
  * // "<keys>": Number("int"),
@@ -24,9 +24,7 @@ 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(): {
28
- [x: string]: unknown;
29
- };
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
30
28
  };
31
29
  /**
32
30
  * 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.
@@ -77,7 +75,8 @@ declare const SendMessageReactionCommand_base: {
77
75
  * // channelId: "STRING_VALUE", // required
78
76
  * // messageId: "STRING_VALUE", // required
79
77
  * // userId: "STRING_VALUE", // required
80
- * // forwardedAt: "STRING_VALUE", // required
78
+ * // companyId: "STRING_VALUE",
79
+ * // createdAt: "STRING_VALUE",
81
80
  * // },
82
81
  * // reactionCounts: { // ReactionCounts // required
83
82
  * // "<keys>": Number("int"),
@@ -24,9 +24,7 @@ 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(): {
28
- [x: string]: unknown;
29
- };
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
30
28
  };
31
29
  /**
32
30
  * 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.
@@ -85,7 +83,8 @@ declare const SendSystemMessageCommand_base: {
85
83
  * // channelId: "STRING_VALUE", // required
86
84
  * // messageId: "STRING_VALUE", // required
87
85
  * // userId: "STRING_VALUE", // required
88
- * // forwardedAt: "STRING_VALUE", // required
86
+ * // companyId: "STRING_VALUE",
87
+ * // createdAt: "STRING_VALUE",
89
88
  * // },
90
89
  * // reactionCounts: { // ReactionCounts // required
91
90
  * // "<keys>": Number("int"),
@@ -24,9 +24,7 @@ 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(): {
28
- [x: string]: unknown;
29
- };
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
30
28
  };
31
29
  /**
32
30
  * Broadcasts a typing-start indicator for the current user in a channel.
@@ -24,9 +24,7 @@ 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(): {
28
- [x: string]: unknown;
29
- };
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
30
28
  };
31
29
  /**
32
30
  * Broadcasts a typing-stop indicator for the current user in a channel.
@@ -24,9 +24,7 @@ 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(): {
28
- [x: string]: unknown;
29
- };
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
30
28
  };
31
29
  /**
32
30
  * Restores a hidden channel for the current user.
@@ -24,9 +24,7 @@ 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(): {
28
- [x: string]: unknown;
29
- };
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
30
28
  };
31
29
  /**
32
30
  * Unmutes a channel for the current user.
@@ -24,9 +24,7 @@ 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(): {
28
- [x: string]: unknown;
29
- };
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
30
28
  };
31
29
  /**
32
30
  * Unpins a channel in the current user's inbox.
@@ -24,9 +24,7 @@ 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(): {
28
- [x: string]: unknown;
29
- };
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
30
28
  };
31
29
  /**
32
30
  * Unpins one message at channel scope. Duplicate calls on an already-unpinned message are absorbed and do not advance `messageVersion`.
@@ -76,7 +74,8 @@ declare const UnpinMessageCommand_base: {
76
74
  * // channelId: "STRING_VALUE", // required
77
75
  * // messageId: "STRING_VALUE", // required
78
76
  * // userId: "STRING_VALUE", // required
79
- * // forwardedAt: "STRING_VALUE", // required
77
+ * // companyId: "STRING_VALUE",
78
+ * // createdAt: "STRING_VALUE",
80
79
  * // },
81
80
  * // reactionCounts: { // ReactionCounts // required
82
81
  * // "<keys>": Number("int"),
@@ -24,9 +24,7 @@ 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(): {
28
- [x: string]: unknown;
29
- };
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
30
28
  };
31
29
  /**
32
30
  * Replaces editable channel metadata.
@@ -96,6 +94,7 @@ declare const UpdateChannelCommand_base: {
96
94
  * // lastMessage: { // LastMessagePreview
97
95
  * // messageId: "STRING_VALUE", // required
98
96
  * // userId: "STRING_VALUE", // required
97
+ * // messageType: "regular" || "system" || "deleted", // required
99
98
  * // text: "STRING_VALUE",
100
99
  * // createdAt: "STRING_VALUE", // required
101
100
  * // },
@@ -24,9 +24,7 @@ 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(): {
28
- [x: string]: unknown;
29
- };
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
30
28
  };
31
29
  /**
32
30
  * 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.
@@ -140,7 +138,8 @@ declare const UpdateMessageCommand_base: {
140
138
  * // channelId: "STRING_VALUE", // required
141
139
  * // messageId: "STRING_VALUE", // required
142
140
  * // userId: "STRING_VALUE", // required
143
- * // forwardedAt: "STRING_VALUE", // required
141
+ * // companyId: "STRING_VALUE",
142
+ * // createdAt: "STRING_VALUE",
144
143
  * // },
145
144
  * // reactionCounts: { // ReactionCounts // required
146
145
  * // "<keys>": Number("int"),
@@ -24,9 +24,7 @@ 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(): {
28
- [x: string]: unknown;
29
- };
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
30
28
  };
31
29
  /**
32
30
  * 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.
@@ -528,6 +528,19 @@ export interface ChannelContext {
528
528
  events?: (ChannelContextEvent)[] | undefined;
529
529
  ptt?: ChannelContextPushToTalk | undefined;
530
530
  }
531
+ /**
532
+ * @public
533
+ * @enum
534
+ */
535
+ export declare const MessageType: {
536
+ readonly DELETED: "deleted";
537
+ readonly REGULAR: "regular";
538
+ readonly SYSTEM: "system";
539
+ };
540
+ /**
541
+ * @public
542
+ */
543
+ export type MessageType = typeof MessageType[keyof typeof MessageType];
531
544
  /**
532
545
  * Preview of the most recent visible message in a channel.
533
546
  * @public
@@ -539,6 +552,11 @@ export interface LastMessagePreview {
539
552
  * @public
540
553
  */
541
554
  userId: string;
555
+ /**
556
+ * Type of the message. 'deleted' indicates a tombstoned message; clients should render a placeholder instead of text.
557
+ * @public
558
+ */
559
+ messageType: MessageType;
542
560
  /**
543
561
  * Text body of the message. Absent for attachment-only or deleted messages.
544
562
  * @public
@@ -1452,18 +1470,31 @@ export interface MessageAttachment {
1452
1470
  * @public
1453
1471
  */
1454
1472
  export interface MessageForward {
1473
+ /**
1474
+ * Channel of the original message.
1475
+ * @public
1476
+ */
1455
1477
  channelId: string;
1478
+ /**
1479
+ * Message ID of the original message.
1480
+ * @public
1481
+ */
1456
1482
  messageId: string;
1457
1483
  /**
1458
- * Author of the original message.
1484
+ * User ID of the original author.
1459
1485
  * @public
1460
1486
  */
1461
1487
  userId: string;
1488
+ /**
1489
+ * Company ID of the original message channel.
1490
+ * @public
1491
+ */
1492
+ companyId?: string | undefined;
1462
1493
  /**
1463
1494
  * Creation timestamp of the original message.
1464
1495
  * @public
1465
1496
  */
1466
- forwardedAt: string;
1497
+ createdAt?: string | undefined;
1467
1498
  }
1468
1499
  /**
1469
1500
  * @public
@@ -1488,19 +1519,6 @@ export interface Reaction {
1488
1519
  userId: string;
1489
1520
  messageId: string;
1490
1521
  }
1491
- /**
1492
- * @public
1493
- * @enum
1494
- */
1495
- export declare const MessageType: {
1496
- readonly DELETED: "deleted";
1497
- readonly REGULAR: "regular";
1498
- readonly SYSTEM: "system";
1499
- };
1500
- /**
1501
- * @public
1502
- */
1503
- export type MessageType = typeof MessageType[keyof typeof MessageType];
1504
1522
  /**
1505
1523
  * Reference to a quoted message.
1506
1524
  * @public
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.8",
4
+ "version": "0.0.10",
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
+ }