@wildix/stream-client 4.0.1 → 4.0.3
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.
- package/dist-cjs/StreamService.js +4 -0
- package/dist-cjs/commands/SearchChannelsCommand.js +20 -0
- package/dist-cjs/commands/SearchMessagesCommand.js +20 -0
- package/dist-cjs/commands/index.js +2 -0
- package/dist-cjs/models/enums.js +12 -1
- package/dist-cjs/schemas/schemas_0.js +84 -19
- package/dist-es/StreamService.js +4 -0
- package/dist-es/commands/SearchChannelsCommand.js +16 -0
- package/dist-es/commands/SearchMessagesCommand.js +16 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/models/enums.js +11 -0
- package/dist-es/schemas/schemas_0.js +81 -16
- package/dist-types/StreamService.d.ts +16 -0
- package/dist-types/StreamServiceClient.d.ts +4 -2
- package/dist-types/commands/AddChannelMemberCommand.d.ts +1 -3
- package/dist-types/commands/AddChannelMembersCommand.d.ts +1 -3
- package/dist-types/commands/AssignChannelCommand.d.ts +1 -3
- package/dist-types/commands/CreateGroupChannelCommand.d.ts +4 -3
- package/dist-types/commands/CreateKiteChannelCommand.d.ts +4 -3
- package/dist-types/commands/CreateSectionCommand.d.ts +1 -3
- package/dist-types/commands/DeleteChannelCommand.d.ts +1 -3
- package/dist-types/commands/DeleteChannelMemberCommand.d.ts +1 -3
- package/dist-types/commands/DeleteMessageCommand.d.ts +1 -3
- package/dist-types/commands/DeleteMessageReactionCommand.d.ts +1 -3
- package/dist-types/commands/DeleteSectionCommand.d.ts +1 -3
- package/dist-types/commands/GetChannelCommand.d.ts +4 -3
- package/dist-types/commands/GetChannelMemberCommand.d.ts +1 -3
- package/dist-types/commands/GetDirectChannelIdCommand.d.ts +1 -3
- package/dist-types/commands/GetFilePresignedDownloadUrlCommand.d.ts +1 -3
- package/dist-types/commands/GetInboxCommand.d.ts +4 -3
- package/dist-types/commands/GetMessageCommand.d.ts +1 -3
- package/dist-types/commands/GetOrCreateDirectChannelCommand.d.ts +4 -3
- package/dist-types/commands/GetOrCreateSmsChannelCommand.d.ts +4 -3
- package/dist-types/commands/GetOrCreateTelephonyChannelCommand.d.ts +4 -3
- package/dist-types/commands/GetOrCreateWhatsAppChannelCommand.d.ts +4 -3
- package/dist-types/commands/GetSmsChannelIdCommand.d.ts +1 -3
- package/dist-types/commands/GetTelephonyChannelIdCommand.d.ts +1 -3
- package/dist-types/commands/GetTokenCommand.d.ts +1 -3
- package/dist-types/commands/GetUploadedFileInfoCommand.d.ts +1 -3
- package/dist-types/commands/GetWhatsAppChannelIdCommand.d.ts +1 -3
- package/dist-types/commands/HideChannelCommand.d.ts +1 -3
- package/dist-types/commands/JoinChannelCommand.d.ts +4 -3
- package/dist-types/commands/LeaveChannelCommand.d.ts +1 -3
- package/dist-types/commands/ListChannelMembersCommand.d.ts +1 -3
- package/dist-types/commands/ListChannelMembersReadStatusCommand.d.ts +1 -3
- package/dist-types/commands/ListChannelsCommand.d.ts +4 -3
- package/dist-types/commands/ListMentionsCommand.d.ts +1 -3
- package/dist-types/commands/ListMessagesCommand.d.ts +1 -3
- package/dist-types/commands/MarkReadCommand.d.ts +1 -3
- package/dist-types/commands/MarkUnreadCommand.d.ts +1 -3
- package/dist-types/commands/MoveChannelToSectionCommand.d.ts +1 -3
- package/dist-types/commands/MuteChannelCommand.d.ts +1 -3
- package/dist-types/commands/PartialUpdateChannelCommand.d.ts +4 -3
- package/dist-types/commands/PartialUpdateMessageCommand.d.ts +1 -3
- package/dist-types/commands/PinChannelCommand.d.ts +1 -3
- package/dist-types/commands/PinMessageCommand.d.ts +1 -3
- package/dist-types/commands/QueryChannelsCommand.d.ts +4 -3
- package/dist-types/commands/RemoveChannelFromSectionCommand.d.ts +1 -3
- package/dist-types/commands/RenameSectionCommand.d.ts +1 -3
- package/dist-types/commands/SearchChannelsCommand.d.ts +168 -0
- package/dist-types/commands/SearchMessagesCommand.d.ts +213 -0
- package/dist-types/commands/SendGiphyCommand.d.ts +1 -3
- package/dist-types/commands/SendMessageCommand.d.ts +1 -3
- package/dist-types/commands/SendMessageReactionCommand.d.ts +1 -3
- package/dist-types/commands/SendSystemMessageCommand.d.ts +1 -3
- package/dist-types/commands/SendTypingStartCommand.d.ts +1 -3
- package/dist-types/commands/SendTypingStopCommand.d.ts +1 -3
- package/dist-types/commands/ShowChannelCommand.d.ts +1 -3
- package/dist-types/commands/UnmuteChannelCommand.d.ts +1 -3
- package/dist-types/commands/UnpinChannelCommand.d.ts +1 -3
- package/dist-types/commands/UnpinMessageCommand.d.ts +1 -3
- package/dist-types/commands/UpdateChannelCommand.d.ts +4 -3
- package/dist-types/commands/UpdateMessageCommand.d.ts +1 -3
- package/dist-types/commands/UploadFileCommand.d.ts +1 -3
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/models/enums.d.ts +27 -0
- package/dist-types/models/models_0.d.ts +173 -1
- package/dist-types/schemas/schemas_0.d.ts +8 -0
- package/package.json +1 -1
|
@@ -24,9 +24,7 @@ export interface GetOrCreateWhatsAppChannelCommandOutput extends GetOrCreateWhat
|
|
|
24
24
|
declare const GetOrCreateWhatsAppChannelCommand_base: {
|
|
25
25
|
new (input: GetOrCreateWhatsAppChannelCommandInput): import("@smithy/core/client").CommandImpl<GetOrCreateWhatsAppChannelCommandInput, GetOrCreateWhatsAppChannelCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
26
|
new (input: GetOrCreateWhatsAppChannelCommandInput): import("@smithy/core/client").CommandImpl<GetOrCreateWhatsAppChannelCommandInput, GetOrCreateWhatsAppChannelCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
28
|
};
|
|
31
29
|
/**
|
|
32
30
|
* Gets or creates a WhatsApp channel.
|
|
@@ -76,6 +74,9 @@ declare const GetOrCreateWhatsAppChannelCommand_base: {
|
|
|
76
74
|
* // serviceRecipient: "STRING_VALUE",
|
|
77
75
|
* // telephony: true || false,
|
|
78
76
|
* // external: true || false,
|
|
77
|
+
* // pinnedMessageIds: [ // PinnedMessageIdList
|
|
78
|
+
* // "STRING_VALUE",
|
|
79
|
+
* // ],
|
|
79
80
|
* // subject: "STRING_VALUE",
|
|
80
81
|
* // description: "STRING_VALUE",
|
|
81
82
|
* // picture: "STRING_VALUE",
|
|
@@ -24,9 +24,7 @@ export interface GetSmsChannelIdCommandOutput extends GetSmsChannelIdOutput, __M
|
|
|
24
24
|
declare const GetSmsChannelIdCommand_base: {
|
|
25
25
|
new (input: GetSmsChannelIdCommandInput): import("@smithy/core/client").CommandImpl<GetSmsChannelIdCommandInput, GetSmsChannelIdCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
26
|
new (input: GetSmsChannelIdCommandInput): import("@smithy/core/client").CommandImpl<GetSmsChannelIdCommandInput, GetSmsChannelIdCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/types").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/core/client").CommandImpl<GetTelephonyChannelIdCommandInput, GetTelephonyChannelIdCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
26
|
new (input: GetTelephonyChannelIdCommandInput): import("@smithy/core/client").CommandImpl<GetTelephonyChannelIdCommandInput, GetTelephonyChannelIdCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/types").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/core/client").CommandImpl<GetTokenCommandInput, GetTokenCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
26
|
new (...[input]: [] | [GetTokenCommandInput]): import("@smithy/core/client").CommandImpl<GetTokenCommandInput, GetTokenCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/types").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/core/client").CommandImpl<GetUploadedFileInfoCommandInput, GetUploadedFileInfoCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
26
|
new (input: GetUploadedFileInfoCommandInput): import("@smithy/core/client").CommandImpl<GetUploadedFileInfoCommandInput, GetUploadedFileInfoCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/types").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/core/client").CommandImpl<GetWhatsAppChannelIdCommandInput, GetWhatsAppChannelIdCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
26
|
new (input: GetWhatsAppChannelIdCommandInput): import("@smithy/core/client").CommandImpl<GetWhatsAppChannelIdCommandInput, GetWhatsAppChannelIdCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/types").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/core/client").CommandImpl<HideChannelCommandInput, HideChannelCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
26
|
new (input: HideChannelCommandInput): import("@smithy/core/client").CommandImpl<HideChannelCommandInput, HideChannelCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/types").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/core/client").CommandImpl<JoinChannelCommandInput, JoinChannelCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
26
|
new (input: JoinChannelCommandInput): import("@smithy/core/client").CommandImpl<JoinChannelCommandInput, JoinChannelCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
28
|
};
|
|
31
29
|
/**
|
|
32
30
|
* Joins a public channel.
|
|
@@ -74,6 +72,9 @@ declare const JoinChannelCommand_base: {
|
|
|
74
72
|
* // serviceRecipient: "STRING_VALUE",
|
|
75
73
|
* // telephony: true || false,
|
|
76
74
|
* // external: true || false,
|
|
75
|
+
* // pinnedMessageIds: [ // PinnedMessageIdList
|
|
76
|
+
* // "STRING_VALUE",
|
|
77
|
+
* // ],
|
|
77
78
|
* // subject: "STRING_VALUE",
|
|
78
79
|
* // description: "STRING_VALUE",
|
|
79
80
|
* // picture: "STRING_VALUE",
|
|
@@ -24,9 +24,7 @@ export interface LeaveChannelCommandOutput extends LeaveChannelOutput, __Metadat
|
|
|
24
24
|
declare const LeaveChannelCommand_base: {
|
|
25
25
|
new (input: LeaveChannelCommandInput): import("@smithy/core/client").CommandImpl<LeaveChannelCommandInput, LeaveChannelCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
26
|
new (input: LeaveChannelCommandInput): import("@smithy/core/client").CommandImpl<LeaveChannelCommandInput, LeaveChannelCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/types").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/core/client").CommandImpl<ListChannelMembersCommandInput, ListChannelMembersCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
26
|
new (input: ListChannelMembersCommandInput): import("@smithy/core/client").CommandImpl<ListChannelMembersCommandInput, ListChannelMembersCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/types").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/core/client").CommandImpl<ListChannelMembersReadStatusCommandInput, ListChannelMembersReadStatusCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
26
|
new (input: ListChannelMembersReadStatusCommandInput): import("@smithy/core/client").CommandImpl<ListChannelMembersReadStatusCommandInput, ListChannelMembersReadStatusCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/types").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/core/client").CommandImpl<ListChannelsCommandInput, ListChannelsCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
26
|
new (...[input]: [] | [ListChannelsCommandInput]): import("@smithy/core/client").CommandImpl<ListChannelsCommandInput, ListChannelsCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/types").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`.
|
|
@@ -76,6 +74,9 @@ declare const ListChannelsCommand_base: {
|
|
|
76
74
|
* // serviceRecipient: "STRING_VALUE",
|
|
77
75
|
* // telephony: true || false,
|
|
78
76
|
* // external: true || false,
|
|
77
|
+
* // pinnedMessageIds: [ // PinnedMessageIdList
|
|
78
|
+
* // "STRING_VALUE",
|
|
79
|
+
* // ],
|
|
79
80
|
* // subject: "STRING_VALUE",
|
|
80
81
|
* // description: "STRING_VALUE",
|
|
81
82
|
* // picture: "STRING_VALUE",
|
|
@@ -24,9 +24,7 @@ export interface ListMentionsCommandOutput extends ListMentionsOutput, __Metadat
|
|
|
24
24
|
declare const ListMentionsCommand_base: {
|
|
25
25
|
new (input: ListMentionsCommandInput): import("@smithy/core/client").CommandImpl<ListMentionsCommandInput, ListMentionsCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
26
|
new (...[input]: [] | [ListMentionsCommandInput]): import("@smithy/core/client").CommandImpl<ListMentionsCommandInput, ListMentionsCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/types").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.
|
|
@@ -24,9 +24,7 @@ export interface ListMessagesCommandOutput extends ListMessagesOutput, __Metadat
|
|
|
24
24
|
declare const ListMessagesCommand_base: {
|
|
25
25
|
new (input: ListMessagesCommandInput): import("@smithy/core/client").CommandImpl<ListMessagesCommandInput, ListMessagesCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
26
|
new (input: ListMessagesCommandInput): import("@smithy/core/client").CommandImpl<ListMessagesCommandInput, ListMessagesCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/types").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.
|
|
@@ -24,9 +24,7 @@ export interface MarkReadCommandOutput extends MarkReadOutput, __MetadataBearer
|
|
|
24
24
|
declare const MarkReadCommand_base: {
|
|
25
25
|
new (input: MarkReadCommandInput): import("@smithy/core/client").CommandImpl<MarkReadCommandInput, MarkReadCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
26
|
new (input: MarkReadCommandInput): import("@smithy/core/client").CommandImpl<MarkReadCommandInput, MarkReadCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/types").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/core/client").CommandImpl<MarkUnreadCommandInput, MarkUnreadCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
26
|
new (input: MarkUnreadCommandInput): import("@smithy/core/client").CommandImpl<MarkUnreadCommandInput, MarkUnreadCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/types").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/core/client").CommandImpl<MoveChannelToSectionCommandInput, MoveChannelToSectionCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
26
|
new (input: MoveChannelToSectionCommandInput): import("@smithy/core/client").CommandImpl<MoveChannelToSectionCommandInput, MoveChannelToSectionCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/types").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/core/client").CommandImpl<MuteChannelCommandInput, MuteChannelCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
26
|
new (input: MuteChannelCommandInput): import("@smithy/core/client").CommandImpl<MuteChannelCommandInput, MuteChannelCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/types").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/core/client").CommandImpl<PartialUpdateChannelCommandInput, PartialUpdateChannelCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
26
|
new (input: PartialUpdateChannelCommandInput): import("@smithy/core/client").CommandImpl<PartialUpdateChannelCommandInput, PartialUpdateChannelCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
28
|
};
|
|
31
29
|
/**
|
|
32
30
|
* Partially updates channel metadata using `set` and `unset`.
|
|
@@ -118,6 +116,9 @@ declare const PartialUpdateChannelCommand_base: {
|
|
|
118
116
|
* // serviceRecipient: "STRING_VALUE",
|
|
119
117
|
* // telephony: true || false,
|
|
120
118
|
* // external: true || false,
|
|
119
|
+
* // pinnedMessageIds: [ // PinnedMessageIdList
|
|
120
|
+
* // "STRING_VALUE",
|
|
121
|
+
* // ],
|
|
121
122
|
* // subject: "STRING_VALUE",
|
|
122
123
|
* // description: "STRING_VALUE",
|
|
123
124
|
* // picture: "STRING_VALUE",
|
|
@@ -24,9 +24,7 @@ export interface PartialUpdateMessageCommandOutput extends PartialUpdateMessageO
|
|
|
24
24
|
declare const PartialUpdateMessageCommand_base: {
|
|
25
25
|
new (input: PartialUpdateMessageCommandInput): import("@smithy/core/client").CommandImpl<PartialUpdateMessageCommandInput, PartialUpdateMessageCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
26
|
new (input: PartialUpdateMessageCommandInput): import("@smithy/core/client").CommandImpl<PartialUpdateMessageCommandInput, PartialUpdateMessageCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/types").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.
|
|
@@ -24,9 +24,7 @@ export interface PinChannelCommandOutput extends PinChannelOutput, __MetadataBea
|
|
|
24
24
|
declare const PinChannelCommand_base: {
|
|
25
25
|
new (input: PinChannelCommandInput): import("@smithy/core/client").CommandImpl<PinChannelCommandInput, PinChannelCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
26
|
new (input: PinChannelCommandInput): import("@smithy/core/client").CommandImpl<PinChannelCommandInput, PinChannelCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/types").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/core/client").CommandImpl<PinMessageCommandInput, PinMessageCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
26
|
new (input: PinMessageCommandInput): import("@smithy/core/client").CommandImpl<PinMessageCommandInput, PinMessageCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/types").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.
|
|
@@ -24,9 +24,7 @@ export interface QueryChannelsCommandOutput extends QueryChannelsOutput, __Metad
|
|
|
24
24
|
declare const QueryChannelsCommand_base: {
|
|
25
25
|
new (input: QueryChannelsCommandInput): import("@smithy/core/client").CommandImpl<QueryChannelsCommandInput, QueryChannelsCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
26
|
new (input: QueryChannelsCommandInput): import("@smithy/core/client").CommandImpl<QueryChannelsCommandInput, QueryChannelsCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
28
|
};
|
|
31
29
|
/**
|
|
32
30
|
* Returns channels matching a batch id query for the current user.
|
|
@@ -78,6 +76,9 @@ declare const QueryChannelsCommand_base: {
|
|
|
78
76
|
* // serviceRecipient: "STRING_VALUE",
|
|
79
77
|
* // telephony: true || false,
|
|
80
78
|
* // external: true || false,
|
|
79
|
+
* // pinnedMessageIds: [ // PinnedMessageIdList
|
|
80
|
+
* // "STRING_VALUE",
|
|
81
|
+
* // ],
|
|
81
82
|
* // subject: "STRING_VALUE",
|
|
82
83
|
* // description: "STRING_VALUE",
|
|
83
84
|
* // picture: "STRING_VALUE",
|
|
@@ -24,9 +24,7 @@ export interface RemoveChannelFromSectionCommandOutput extends RemoveChannelFrom
|
|
|
24
24
|
declare const RemoveChannelFromSectionCommand_base: {
|
|
25
25
|
new (input: RemoveChannelFromSectionCommandInput): import("@smithy/core/client").CommandImpl<RemoveChannelFromSectionCommandInput, RemoveChannelFromSectionCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
26
|
new (input: RemoveChannelFromSectionCommandInput): import("@smithy/core/client").CommandImpl<RemoveChannelFromSectionCommandInput, RemoveChannelFromSectionCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/types").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/core/client").CommandImpl<RenameSectionCommandInput, RenameSectionCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
26
|
new (input: RenameSectionCommandInput): import("@smithy/core/client").CommandImpl<RenameSectionCommandInput, RenameSectionCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
28
|
};
|
|
31
29
|
/**
|
|
32
30
|
* Renames a custom inbox section.
|
|
@@ -0,0 +1,168 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { SearchChannelsInput, SearchChannelsOutput } from "../models/models_0";
|
|
4
|
+
import type { ServiceInputTypes, ServiceOutputTypes, StreamServiceClientResolvedConfig } from "../StreamServiceClient";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link SearchChannelsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface SearchChannelsCommandInput extends SearchChannelsInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link SearchChannelsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface SearchChannelsCommandOutput extends SearchChannelsOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const SearchChannelsCommand_base: {
|
|
25
|
+
new (input: SearchChannelsCommandInput): import("@smithy/core/client").CommandImpl<SearchChannelsCommandInput, SearchChannelsCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (...[input]: [] | [SearchChannelsCommandInput]): import("@smithy/core/client").CommandImpl<SearchChannelsCommandInput, SearchChannelsCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Full-text search over the caller's channels by subject and description. Membership is enforced via the OpenSearch memberIds projection.
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { StreamServiceClient, SearchChannelsCommand } from "@wildix/stream-client"; // ES Modules import
|
|
35
|
+
* // const { StreamServiceClient, SearchChannelsCommand } = require("@wildix/stream-client"); // CommonJS import
|
|
36
|
+
* // import type { StreamServiceClientConfig } from "@wildix/stream-client";
|
|
37
|
+
* const config = {}; // type is StreamServiceClientConfig
|
|
38
|
+
* const client = new StreamServiceClient(config);
|
|
39
|
+
* const input = { // SearchChannelsInput
|
|
40
|
+
* companyId: "STRING_VALUE",
|
|
41
|
+
* userId: "STRING_VALUE",
|
|
42
|
+
* q: "STRING_VALUE",
|
|
43
|
+
* memberId: "STRING_VALUE",
|
|
44
|
+
* channelType: "direct" || "group",
|
|
45
|
+
* size: Number("int"),
|
|
46
|
+
* cursor: "STRING_VALUE",
|
|
47
|
+
* sort: "relevance" || "recency" || "recency_asc",
|
|
48
|
+
* };
|
|
49
|
+
* const command = new SearchChannelsCommand(input);
|
|
50
|
+
* const response = await client.send(command);
|
|
51
|
+
* // { // SearchChannelsOutput
|
|
52
|
+
* // results: [ // SearchChannelHitList // required
|
|
53
|
+
* // { // SearchChannelHit
|
|
54
|
+
* // channel: { // Channel
|
|
55
|
+
* // channelId: "STRING_VALUE", // required
|
|
56
|
+
* // channelType: "direct" || "group", // required
|
|
57
|
+
* // membersCount: Number("int"), // required
|
|
58
|
+
* // createdAt: "STRING_VALUE", // required
|
|
59
|
+
* // createdBy: "STRING_VALUE", // required
|
|
60
|
+
* // updatedAt: "STRING_VALUE",
|
|
61
|
+
* // channelVersion: Number("long"), // required
|
|
62
|
+
* // lastActivityAt: "STRING_VALUE", // required
|
|
63
|
+
* // lastMessage: { // LastMessagePreview
|
|
64
|
+
* // messageId: "STRING_VALUE", // required
|
|
65
|
+
* // userId: "STRING_VALUE", // required
|
|
66
|
+
* // messageType: "regular" || "system" || "deleted", // required
|
|
67
|
+
* // text: "STRING_VALUE",
|
|
68
|
+
* // event: "STRING_VALUE",
|
|
69
|
+
* // createdAt: "STRING_VALUE", // required
|
|
70
|
+
* // },
|
|
71
|
+
* // company: "STRING_VALUE",
|
|
72
|
+
* // kite: true || false,
|
|
73
|
+
* // kiteTarget: "STRING_VALUE",
|
|
74
|
+
* // kiteVariant: "STRING_VALUE",
|
|
75
|
+
* // kiteServiceName: "STRING_VALUE",
|
|
76
|
+
* // kiteDefaultSubject: "STRING_VALUE",
|
|
77
|
+
* // service: "STRING_VALUE",
|
|
78
|
+
* // serviceRecipient: "STRING_VALUE",
|
|
79
|
+
* // telephony: true || false,
|
|
80
|
+
* // external: true || false,
|
|
81
|
+
* // pinnedMessageIds: [ // PinnedMessageIdList
|
|
82
|
+
* // "STRING_VALUE",
|
|
83
|
+
* // ],
|
|
84
|
+
* // subject: "STRING_VALUE",
|
|
85
|
+
* // description: "STRING_VALUE",
|
|
86
|
+
* // picture: "STRING_VALUE",
|
|
87
|
+
* // pictureColor: "STRING_VALUE",
|
|
88
|
+
* // access: "private" || "public",
|
|
89
|
+
* // broadcast: true || false,
|
|
90
|
+
* // context: { // ChannelContext
|
|
91
|
+
* // source: "kite",
|
|
92
|
+
* // target: "STRING_VALUE",
|
|
93
|
+
* // events: [ // ChannelContextEventList
|
|
94
|
+
* // { // ChannelContextEvent
|
|
95
|
+
* // id: "STRING_VALUE",
|
|
96
|
+
* // owner: "STRING_VALUE",
|
|
97
|
+
* // start: "STRING_VALUE",
|
|
98
|
+
* // end: "STRING_VALUE",
|
|
99
|
+
* // summary: "STRING_VALUE",
|
|
100
|
+
* // attendees: [ // ChannelContextEventAttendeeList
|
|
101
|
+
* // { // ChannelContextEventAttendee
|
|
102
|
+
* // email: "STRING_VALUE", // required
|
|
103
|
+
* // name: "STRING_VALUE",
|
|
104
|
+
* // status: "accepted" || "tentative" || "declined" || "none", // required
|
|
105
|
+
* // },
|
|
106
|
+
* // ],
|
|
107
|
+
* // },
|
|
108
|
+
* // ],
|
|
109
|
+
* // ptt: { // ChannelContextPushToTalk
|
|
110
|
+
* // broadcastId: "STRING_VALUE",
|
|
111
|
+
* // },
|
|
112
|
+
* // },
|
|
113
|
+
* // whatsappStatus: "24h_channel_closed",
|
|
114
|
+
* // sms: true || false,
|
|
115
|
+
* // mms: true || false,
|
|
116
|
+
* // whatsapp: true || false,
|
|
117
|
+
* // kiteAssign: "STRING_VALUE",
|
|
118
|
+
* // serviceTitle: "STRING_VALUE",
|
|
119
|
+
* // assigneeId: "STRING_VALUE",
|
|
120
|
+
* // autoRecord: true || false,
|
|
121
|
+
* // transcriptionLanguage: "STRING_VALUE",
|
|
122
|
+
* // wizyGuestViewOnly: true || false,
|
|
123
|
+
* // },
|
|
124
|
+
* // highlights: [ // StringList
|
|
125
|
+
* // "STRING_VALUE",
|
|
126
|
+
* // ],
|
|
127
|
+
* // },
|
|
128
|
+
* // ],
|
|
129
|
+
* // nextCursor: "STRING_VALUE",
|
|
130
|
+
* // };
|
|
131
|
+
*
|
|
132
|
+
* ```
|
|
133
|
+
*
|
|
134
|
+
* @param SearchChannelsCommandInput - {@link SearchChannelsCommandInput}
|
|
135
|
+
* @returns {@link SearchChannelsCommandOutput}
|
|
136
|
+
* @see {@link SearchChannelsCommandInput} for command's `input` shape.
|
|
137
|
+
* @see {@link SearchChannelsCommandOutput} for command's `response` shape.
|
|
138
|
+
* @see {@link StreamServiceClientResolvedConfig | config} for StreamServiceClient's `config` shape.
|
|
139
|
+
*
|
|
140
|
+
* @throws {@link StreamServiceException} (server fault)
|
|
141
|
+
*
|
|
142
|
+
* @throws {@link UnauthorizedException} (client fault)
|
|
143
|
+
*
|
|
144
|
+
* @throws {@link ForbiddenException} (client fault)
|
|
145
|
+
*
|
|
146
|
+
* @throws {@link ValidationException} (client fault)
|
|
147
|
+
*
|
|
148
|
+
* @throws {@link RateLimitExceededException} (client fault)
|
|
149
|
+
*
|
|
150
|
+
* @throws {@link StreamServiceServiceException}
|
|
151
|
+
* <p>Base exception class for all service exceptions from StreamService service.</p>
|
|
152
|
+
*
|
|
153
|
+
*
|
|
154
|
+
* @public
|
|
155
|
+
*/
|
|
156
|
+
export declare class SearchChannelsCommand extends SearchChannelsCommand_base {
|
|
157
|
+
/** @internal type navigation helper, not in runtime. */
|
|
158
|
+
protected static __types: {
|
|
159
|
+
api: {
|
|
160
|
+
input: SearchChannelsInput;
|
|
161
|
+
output: SearchChannelsOutput;
|
|
162
|
+
};
|
|
163
|
+
sdk: {
|
|
164
|
+
input: SearchChannelsCommandInput;
|
|
165
|
+
output: SearchChannelsCommandOutput;
|
|
166
|
+
};
|
|
167
|
+
};
|
|
168
|
+
}
|