@wildix/stream-client 4.0.1 → 4.0.2
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 +78 -15
- 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 +75 -12
- 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 +1 -3
- package/dist-types/commands/CreateKiteChannelCommand.d.ts +1 -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 +1 -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 +1 -3
- package/dist-types/commands/GetMessageCommand.d.ts +1 -3
- package/dist-types/commands/GetOrCreateDirectChannelCommand.d.ts +1 -3
- package/dist-types/commands/GetOrCreateSmsChannelCommand.d.ts +1 -3
- package/dist-types/commands/GetOrCreateTelephonyChannelCommand.d.ts +1 -3
- package/dist-types/commands/GetOrCreateWhatsAppChannelCommand.d.ts +1 -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 +1 -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 +1 -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 +1 -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 +1 -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 +165 -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 +1 -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 +163 -1
- package/dist-types/schemas/schemas_0.d.ts +8 -0
- package/package.json +2 -2
|
@@ -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.
|
|
@@ -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,165 @@
|
|
|
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
|
+
* // subject: "STRING_VALUE",
|
|
82
|
+
* // description: "STRING_VALUE",
|
|
83
|
+
* // picture: "STRING_VALUE",
|
|
84
|
+
* // pictureColor: "STRING_VALUE",
|
|
85
|
+
* // access: "private" || "public",
|
|
86
|
+
* // broadcast: true || false,
|
|
87
|
+
* // context: { // ChannelContext
|
|
88
|
+
* // source: "kite",
|
|
89
|
+
* // target: "STRING_VALUE",
|
|
90
|
+
* // events: [ // ChannelContextEventList
|
|
91
|
+
* // { // ChannelContextEvent
|
|
92
|
+
* // id: "STRING_VALUE",
|
|
93
|
+
* // owner: "STRING_VALUE",
|
|
94
|
+
* // start: "STRING_VALUE",
|
|
95
|
+
* // end: "STRING_VALUE",
|
|
96
|
+
* // summary: "STRING_VALUE",
|
|
97
|
+
* // attendees: [ // ChannelContextEventAttendeeList
|
|
98
|
+
* // { // ChannelContextEventAttendee
|
|
99
|
+
* // email: "STRING_VALUE", // required
|
|
100
|
+
* // name: "STRING_VALUE",
|
|
101
|
+
* // status: "accepted" || "tentative" || "declined" || "none", // required
|
|
102
|
+
* // },
|
|
103
|
+
* // ],
|
|
104
|
+
* // },
|
|
105
|
+
* // ],
|
|
106
|
+
* // ptt: { // ChannelContextPushToTalk
|
|
107
|
+
* // broadcastId: "STRING_VALUE",
|
|
108
|
+
* // },
|
|
109
|
+
* // },
|
|
110
|
+
* // whatsappStatus: "24h_channel_closed",
|
|
111
|
+
* // sms: true || false,
|
|
112
|
+
* // mms: true || false,
|
|
113
|
+
* // whatsapp: true || false,
|
|
114
|
+
* // kiteAssign: "STRING_VALUE",
|
|
115
|
+
* // serviceTitle: "STRING_VALUE",
|
|
116
|
+
* // assigneeId: "STRING_VALUE",
|
|
117
|
+
* // autoRecord: true || false,
|
|
118
|
+
* // transcriptionLanguage: "STRING_VALUE",
|
|
119
|
+
* // wizyGuestViewOnly: true || false,
|
|
120
|
+
* // },
|
|
121
|
+
* // highlights: [ // StringList
|
|
122
|
+
* // "STRING_VALUE",
|
|
123
|
+
* // ],
|
|
124
|
+
* // },
|
|
125
|
+
* // ],
|
|
126
|
+
* // nextCursor: "STRING_VALUE",
|
|
127
|
+
* // };
|
|
128
|
+
*
|
|
129
|
+
* ```
|
|
130
|
+
*
|
|
131
|
+
* @param SearchChannelsCommandInput - {@link SearchChannelsCommandInput}
|
|
132
|
+
* @returns {@link SearchChannelsCommandOutput}
|
|
133
|
+
* @see {@link SearchChannelsCommandInput} for command's `input` shape.
|
|
134
|
+
* @see {@link SearchChannelsCommandOutput} for command's `response` shape.
|
|
135
|
+
* @see {@link StreamServiceClientResolvedConfig | config} for StreamServiceClient's `config` shape.
|
|
136
|
+
*
|
|
137
|
+
* @throws {@link StreamServiceException} (server fault)
|
|
138
|
+
*
|
|
139
|
+
* @throws {@link UnauthorizedException} (client fault)
|
|
140
|
+
*
|
|
141
|
+
* @throws {@link ForbiddenException} (client fault)
|
|
142
|
+
*
|
|
143
|
+
* @throws {@link ValidationException} (client fault)
|
|
144
|
+
*
|
|
145
|
+
* @throws {@link RateLimitExceededException} (client fault)
|
|
146
|
+
*
|
|
147
|
+
* @throws {@link StreamServiceServiceException}
|
|
148
|
+
* <p>Base exception class for all service exceptions from StreamService service.</p>
|
|
149
|
+
*
|
|
150
|
+
*
|
|
151
|
+
* @public
|
|
152
|
+
*/
|
|
153
|
+
export declare class SearchChannelsCommand extends SearchChannelsCommand_base {
|
|
154
|
+
/** @internal type navigation helper, not in runtime. */
|
|
155
|
+
protected static __types: {
|
|
156
|
+
api: {
|
|
157
|
+
input: SearchChannelsInput;
|
|
158
|
+
output: SearchChannelsOutput;
|
|
159
|
+
};
|
|
160
|
+
sdk: {
|
|
161
|
+
input: SearchChannelsCommandInput;
|
|
162
|
+
output: SearchChannelsCommandOutput;
|
|
163
|
+
};
|
|
164
|
+
};
|
|
165
|
+
}
|
|
@@ -0,0 +1,213 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { SearchMessagesInput, SearchMessagesOutput } 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 SearchMessagesCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface SearchMessagesCommandInput extends SearchMessagesInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link SearchMessagesCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface SearchMessagesCommandOutput extends SearchMessagesOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const SearchMessagesCommand_base: {
|
|
25
|
+
new (input: SearchMessagesCommandInput): import("@smithy/core/client").CommandImpl<SearchMessagesCommandInput, SearchMessagesCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (...[input]: [] | [SearchMessagesCommandInput]): import("@smithy/core/client").CommandImpl<SearchMessagesCommandInput, SearchMessagesCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Full-text search over messages. With `channelId`, searches within that channel (membership required); without it, searches across the caller's channels. Results are access-filtered against DynamoDB.
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { StreamServiceClient, SearchMessagesCommand } from "@wildix/stream-client"; // ES Modules import
|
|
35
|
+
* // const { StreamServiceClient, SearchMessagesCommand } = 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 = { // SearchMessagesInput
|
|
40
|
+
* companyId: "STRING_VALUE",
|
|
41
|
+
* userId: "STRING_VALUE",
|
|
42
|
+
* q: "STRING_VALUE",
|
|
43
|
+
* channelId: "STRING_VALUE",
|
|
44
|
+
* hasAttachments: true || false,
|
|
45
|
+
* attachmentTypes: [ // AttachmentTypeList
|
|
46
|
+
* "image" || "video" || "audio" || "file",
|
|
47
|
+
* ],
|
|
48
|
+
* mimeTypes: [ // MimeTypeList
|
|
49
|
+
* "STRING_VALUE",
|
|
50
|
+
* ],
|
|
51
|
+
* size: Number("int"),
|
|
52
|
+
* cursor: "STRING_VALUE",
|
|
53
|
+
* sort: "relevance" || "recency" || "recency_asc",
|
|
54
|
+
* };
|
|
55
|
+
* const command = new SearchMessagesCommand(input);
|
|
56
|
+
* const response = await client.send(command);
|
|
57
|
+
* // { // SearchMessagesOutput
|
|
58
|
+
* // results: [ // SearchMessageHitList // required
|
|
59
|
+
* // { // SearchMessageHit
|
|
60
|
+
* // channelId: "STRING_VALUE", // required
|
|
61
|
+
* // message: { // Message
|
|
62
|
+
* // messageId: "STRING_VALUE", // required
|
|
63
|
+
* // userId: "STRING_VALUE", // required
|
|
64
|
+
* // messageType: "regular" || "system" || "deleted", // required
|
|
65
|
+
* // text: "STRING_VALUE",
|
|
66
|
+
* // attachments: [ // MessageAttachmentList // required
|
|
67
|
+
* // { // MessageAttachment
|
|
68
|
+
* // fsId: "STRING_VALUE", // required
|
|
69
|
+
* // mime: "STRING_VALUE",
|
|
70
|
+
* // name: "STRING_VALUE", // required
|
|
71
|
+
* // size: Number("long"), // required
|
|
72
|
+
* // width: Number("int"),
|
|
73
|
+
* // height: Number("int"),
|
|
74
|
+
* // thumbnail: "STRING_VALUE",
|
|
75
|
+
* // id: "STRING_VALUE", // required
|
|
76
|
+
* // },
|
|
77
|
+
* // ],
|
|
78
|
+
* // mentions: [ // UserIdList // required
|
|
79
|
+
* // "STRING_VALUE",
|
|
80
|
+
* // ],
|
|
81
|
+
* // quote: { // MessageQuote
|
|
82
|
+
* // channelId: "STRING_VALUE", // required
|
|
83
|
+
* // messageId: "STRING_VALUE", // required
|
|
84
|
+
* // userId: "STRING_VALUE", // required
|
|
85
|
+
* // text: "STRING_VALUE",
|
|
86
|
+
* // createdAt: "STRING_VALUE", // required
|
|
87
|
+
* // },
|
|
88
|
+
* // forward: { // MessageForward
|
|
89
|
+
* // channelId: "STRING_VALUE", // required
|
|
90
|
+
* // messageId: "STRING_VALUE", // required
|
|
91
|
+
* // userId: "STRING_VALUE", // required
|
|
92
|
+
* // companyId: "STRING_VALUE",
|
|
93
|
+
* // createdAt: "STRING_VALUE",
|
|
94
|
+
* // },
|
|
95
|
+
* // reactionCounts: { // ReactionCounts // required
|
|
96
|
+
* // "<keys>": Number("int"),
|
|
97
|
+
* // },
|
|
98
|
+
* // latestReactions: [ // ReactionList
|
|
99
|
+
* // { // Reaction
|
|
100
|
+
* // type: "STRING_VALUE", // required
|
|
101
|
+
* // userId: "STRING_VALUE", // required
|
|
102
|
+
* // messageId: "STRING_VALUE", // required
|
|
103
|
+
* // },
|
|
104
|
+
* // ],
|
|
105
|
+
* // pinned: true || false, // required
|
|
106
|
+
* // pinnedAt: "STRING_VALUE",
|
|
107
|
+
* // pinnedBy: "STRING_VALUE",
|
|
108
|
+
* // system: true || false, // required
|
|
109
|
+
* // timelineSeq: Number("long"), // required
|
|
110
|
+
* // visibleSeq: Number("long"), // required
|
|
111
|
+
* // channelVersion: Number("long"), // required
|
|
112
|
+
* // messageVersion: Number("long"), // required
|
|
113
|
+
* // createdAt: "STRING_VALUE", // required
|
|
114
|
+
* // editedAt: "STRING_VALUE",
|
|
115
|
+
* // deletedAt: "STRING_VALUE",
|
|
116
|
+
* // elements: [ // ElementsList
|
|
117
|
+
* // { // Element Union: only one key present
|
|
118
|
+
* // template: { // MessageTemplateConfig
|
|
119
|
+
* // whatsapp: { // TemplateWithParameters
|
|
120
|
+
* // name: "STRING_VALUE", // required
|
|
121
|
+
* // parameters: [ // ListTemplateParameter
|
|
122
|
+
* // { // TemplateParameter
|
|
123
|
+
* // name: "STRING_VALUE", // required
|
|
124
|
+
* // value: "STRING_VALUE", // required
|
|
125
|
+
* // },
|
|
126
|
+
* // ],
|
|
127
|
+
* // },
|
|
128
|
+
* // },
|
|
129
|
+
* // actions: [ // ActionsElementsList
|
|
130
|
+
* // { // ActionElement Union: only one key present
|
|
131
|
+
* // button: { // ButtonElement
|
|
132
|
+
* // text: "STRING_VALUE", // required
|
|
133
|
+
* // handler: { // ButtonHandler Union: only one key present
|
|
134
|
+
* // link: { // ButtonLinkHandler
|
|
135
|
+
* // url: "STRING_VALUE", // required
|
|
136
|
+
* // },
|
|
137
|
+
* // reply: { // ButtonReplyHandler
|
|
138
|
+
* // text: "STRING_VALUE",
|
|
139
|
+
* // },
|
|
140
|
+
* // action: { // ButtonActionHandler
|
|
141
|
+
* // id: "STRING_VALUE", // required
|
|
142
|
+
* // },
|
|
143
|
+
* // },
|
|
144
|
+
* // variant: "contained" || "outlined",
|
|
145
|
+
* // disabled: true || false,
|
|
146
|
+
* // },
|
|
147
|
+
* // },
|
|
148
|
+
* // ],
|
|
149
|
+
* // },
|
|
150
|
+
* // ],
|
|
151
|
+
* // whatsapp: true || false,
|
|
152
|
+
* // whatsappStatus: "trying" || "sent" || "delivered" || "error",
|
|
153
|
+
* // sms: true || false,
|
|
154
|
+
* // smsStatus: "sent" || "delivered" || "trying" || "error",
|
|
155
|
+
* // markdown: true || false,
|
|
156
|
+
* // giphy: { // MessageGiphy
|
|
157
|
+
* // id: "STRING_VALUE", // required
|
|
158
|
+
* // size: "STRING_VALUE", // required
|
|
159
|
+
* // url: "STRING_VALUE", // required
|
|
160
|
+
* // height: "STRING_VALUE", // required
|
|
161
|
+
* // width: "STRING_VALUE", // required
|
|
162
|
+
* // },
|
|
163
|
+
* // silent: true || false,
|
|
164
|
+
* // event: "STRING_VALUE",
|
|
165
|
+
* // },
|
|
166
|
+
* // highlights: [ // StringList
|
|
167
|
+
* // "STRING_VALUE",
|
|
168
|
+
* // ],
|
|
169
|
+
* // },
|
|
170
|
+
* // ],
|
|
171
|
+
* // totalCount: Number("int"),
|
|
172
|
+
* // nextCursor: "STRING_VALUE",
|
|
173
|
+
* // };
|
|
174
|
+
*
|
|
175
|
+
* ```
|
|
176
|
+
*
|
|
177
|
+
* @param SearchMessagesCommandInput - {@link SearchMessagesCommandInput}
|
|
178
|
+
* @returns {@link SearchMessagesCommandOutput}
|
|
179
|
+
* @see {@link SearchMessagesCommandInput} for command's `input` shape.
|
|
180
|
+
* @see {@link SearchMessagesCommandOutput} for command's `response` shape.
|
|
181
|
+
* @see {@link StreamServiceClientResolvedConfig | config} for StreamServiceClient's `config` shape.
|
|
182
|
+
*
|
|
183
|
+
* @throws {@link ChannelNotFoundException} (client fault)
|
|
184
|
+
*
|
|
185
|
+
* @throws {@link StreamServiceException} (server fault)
|
|
186
|
+
*
|
|
187
|
+
* @throws {@link UnauthorizedException} (client fault)
|
|
188
|
+
*
|
|
189
|
+
* @throws {@link ForbiddenException} (client fault)
|
|
190
|
+
*
|
|
191
|
+
* @throws {@link ValidationException} (client fault)
|
|
192
|
+
*
|
|
193
|
+
* @throws {@link RateLimitExceededException} (client fault)
|
|
194
|
+
*
|
|
195
|
+
* @throws {@link StreamServiceServiceException}
|
|
196
|
+
* <p>Base exception class for all service exceptions from StreamService service.</p>
|
|
197
|
+
*
|
|
198
|
+
*
|
|
199
|
+
* @public
|
|
200
|
+
*/
|
|
201
|
+
export declare class SearchMessagesCommand extends SearchMessagesCommand_base {
|
|
202
|
+
/** @internal type navigation helper, not in runtime. */
|
|
203
|
+
protected static __types: {
|
|
204
|
+
api: {
|
|
205
|
+
input: SearchMessagesInput;
|
|
206
|
+
output: SearchMessagesOutput;
|
|
207
|
+
};
|
|
208
|
+
sdk: {
|
|
209
|
+
input: SearchMessagesCommandInput;
|
|
210
|
+
output: SearchMessagesCommandOutput;
|
|
211
|
+
};
|
|
212
|
+
};
|
|
213
|
+
}
|
|
@@ -24,9 +24,7 @@ export interface SendGiphyCommandOutput extends SendGiphyOutput, __MetadataBeare
|
|
|
24
24
|
declare const SendGiphyCommand_base: {
|
|
25
25
|
new (input: SendGiphyCommandInput): import("@smithy/core/client").CommandImpl<SendGiphyCommandInput, SendGiphyCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
26
|
new (input: SendGiphyCommandInput): import("@smithy/core/client").CommandImpl<SendGiphyCommandInput, SendGiphyCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/types").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.
|
|
@@ -24,9 +24,7 @@ export interface SendMessageCommandOutput extends SendMessageOutput, __MetadataB
|
|
|
24
24
|
declare const SendMessageCommand_base: {
|
|
25
25
|
new (input: SendMessageCommandInput): import("@smithy/core/client").CommandImpl<SendMessageCommandInput, SendMessageCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
26
|
new (input: SendMessageCommandInput): import("@smithy/core/client").CommandImpl<SendMessageCommandInput, SendMessageCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/types").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.
|
|
@@ -24,9 +24,7 @@ export interface SendMessageReactionCommandOutput extends SendMessageReactionOut
|
|
|
24
24
|
declare const SendMessageReactionCommand_base: {
|
|
25
25
|
new (input: SendMessageReactionCommandInput): import("@smithy/core/client").CommandImpl<SendMessageReactionCommandInput, SendMessageReactionCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
26
|
new (input: SendMessageReactionCommandInput): import("@smithy/core/client").CommandImpl<SendMessageReactionCommandInput, SendMessageReactionCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/types").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.
|
|
@@ -24,9 +24,7 @@ export interface SendSystemMessageCommandOutput extends SendSystemMessageOutput,
|
|
|
24
24
|
declare const SendSystemMessageCommand_base: {
|
|
25
25
|
new (input: SendSystemMessageCommandInput): import("@smithy/core/client").CommandImpl<SendSystemMessageCommandInput, SendSystemMessageCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
26
|
new (input: SendSystemMessageCommandInput): import("@smithy/core/client").CommandImpl<SendSystemMessageCommandInput, SendSystemMessageCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/types").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.
|
|
@@ -24,9 +24,7 @@ export interface SendTypingStartCommandOutput extends SendTypingStartOutput, __M
|
|
|
24
24
|
declare const SendTypingStartCommand_base: {
|
|
25
25
|
new (input: SendTypingStartCommandInput): import("@smithy/core/client").CommandImpl<SendTypingStartCommandInput, SendTypingStartCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
26
|
new (input: SendTypingStartCommandInput): import("@smithy/core/client").CommandImpl<SendTypingStartCommandInput, SendTypingStartCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/types").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/core/client").CommandImpl<SendTypingStopCommandInput, SendTypingStopCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
26
|
new (input: SendTypingStopCommandInput): import("@smithy/core/client").CommandImpl<SendTypingStopCommandInput, SendTypingStopCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/types").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/core/client").CommandImpl<ShowChannelCommandInput, ShowChannelCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
26
|
new (input: ShowChannelCommandInput): import("@smithy/core/client").CommandImpl<ShowChannelCommandInput, ShowChannelCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/types").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/core/client").CommandImpl<UnmuteChannelCommandInput, UnmuteChannelCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
26
|
new (input: UnmuteChannelCommandInput): import("@smithy/core/client").CommandImpl<UnmuteChannelCommandInput, UnmuteChannelCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/types").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/core/client").CommandImpl<UnpinChannelCommandInput, UnpinChannelCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
26
|
new (input: UnpinChannelCommandInput): import("@smithy/core/client").CommandImpl<UnpinChannelCommandInput, UnpinChannelCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/types").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/core/client").CommandImpl<UnpinMessageCommandInput, UnpinMessageCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
26
|
new (input: UnpinMessageCommandInput): import("@smithy/core/client").CommandImpl<UnpinMessageCommandInput, UnpinMessageCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/types").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`.
|
|
@@ -24,9 +24,7 @@ export interface UpdateChannelCommandOutput extends UpdateChannelOutput, __Metad
|
|
|
24
24
|
declare const UpdateChannelCommand_base: {
|
|
25
25
|
new (input: UpdateChannelCommandInput): import("@smithy/core/client").CommandImpl<UpdateChannelCommandInput, UpdateChannelCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
26
|
new (input: UpdateChannelCommandInput): import("@smithy/core/client").CommandImpl<UpdateChannelCommandInput, UpdateChannelCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
28
|
};
|
|
31
29
|
/**
|
|
32
30
|
* Replaces editable channel metadata.
|
|
@@ -24,9 +24,7 @@ export interface UpdateMessageCommandOutput extends UpdateMessageOutput, __Metad
|
|
|
24
24
|
declare const UpdateMessageCommand_base: {
|
|
25
25
|
new (input: UpdateMessageCommandInput): import("@smithy/core/client").CommandImpl<UpdateMessageCommandInput, UpdateMessageCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
26
|
new (input: UpdateMessageCommandInput): import("@smithy/core/client").CommandImpl<UpdateMessageCommandInput, UpdateMessageCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/types").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.
|
|
@@ -24,9 +24,7 @@ export interface UploadFileCommandOutput extends UploadFileOutput, __MetadataBea
|
|
|
24
24
|
declare const UploadFileCommand_base: {
|
|
25
25
|
new (input: UploadFileCommandInput): import("@smithy/core/client").CommandImpl<UploadFileCommandInput, UploadFileCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
26
|
new (input: UploadFileCommandInput): import("@smithy/core/client").CommandImpl<UploadFileCommandInput, UploadFileCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/types").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.
|
|
@@ -43,6 +43,8 @@ export * from "./PinMessageCommand";
|
|
|
43
43
|
export * from "./QueryChannelsCommand";
|
|
44
44
|
export * from "./RemoveChannelFromSectionCommand";
|
|
45
45
|
export * from "./RenameSectionCommand";
|
|
46
|
+
export * from "./SearchChannelsCommand";
|
|
47
|
+
export * from "./SearchMessagesCommand";
|
|
46
48
|
export * from "./SendGiphyCommand";
|
|
47
49
|
export * from "./SendMessageCommand";
|
|
48
50
|
export * from "./SendMessageReactionCommand";
|
|
@@ -36,6 +36,20 @@ export declare const AssignChannelVariant: {
|
|
|
36
36
|
* @public
|
|
37
37
|
*/
|
|
38
38
|
export type AssignChannelVariant = (typeof AssignChannelVariant)[keyof typeof AssignChannelVariant];
|
|
39
|
+
/**
|
|
40
|
+
* @public
|
|
41
|
+
* @enum
|
|
42
|
+
*/
|
|
43
|
+
export declare const AttachmentType: {
|
|
44
|
+
readonly AUDIO: "audio";
|
|
45
|
+
readonly FILE: "file";
|
|
46
|
+
readonly IMAGE: "image";
|
|
47
|
+
readonly VIDEO: "video";
|
|
48
|
+
};
|
|
49
|
+
/**
|
|
50
|
+
* @public
|
|
51
|
+
*/
|
|
52
|
+
export type AttachmentType = (typeof AttachmentType)[keyof typeof AttachmentType];
|
|
39
53
|
/**
|
|
40
54
|
* @public
|
|
41
55
|
* @enum
|
|
@@ -284,3 +298,16 @@ export declare const MessageUnsetFields: {
|
|
|
284
298
|
* @public
|
|
285
299
|
*/
|
|
286
300
|
export type MessageUnsetFields = (typeof MessageUnsetFields)[keyof typeof MessageUnsetFields];
|
|
301
|
+
/**
|
|
302
|
+
* @public
|
|
303
|
+
* @enum
|
|
304
|
+
*/
|
|
305
|
+
export declare const SearchSort: {
|
|
306
|
+
readonly RECENCY: "recency";
|
|
307
|
+
readonly RECENCY_ASC: "recency_asc";
|
|
308
|
+
readonly RELEVANCE: "relevance";
|
|
309
|
+
};
|
|
310
|
+
/**
|
|
311
|
+
* @public
|
|
312
|
+
*/
|
|
313
|
+
export type SearchSort = (typeof SearchSort)[keyof typeof SearchSort];
|