@wildix/stream-client 4.2.3 → 4.4.0
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 +10 -0
- package/dist-cjs/commands/CreateScheduledMessageCommand.js +20 -0
- package/dist-cjs/commands/DeleteScheduledMessageCommand.js +20 -0
- package/dist-cjs/commands/ListScheduledMessagesCommand.js +20 -0
- package/dist-cjs/commands/SendScheduledMessageNowCommand.js +20 -0
- package/dist-cjs/commands/UpdateScheduledMessageCommand.js +20 -0
- package/dist-cjs/commands/index.js +5 -0
- package/dist-cjs/models/enums.js +29 -1
- package/dist-cjs/models/errors.js +29 -1
- package/dist-cjs/schemas/schemas_0.js +174 -26
- package/dist-es/StreamService.js +10 -0
- package/dist-es/commands/CreateScheduledMessageCommand.js +16 -0
- package/dist-es/commands/DeleteScheduledMessageCommand.js +16 -0
- package/dist-es/commands/ListScheduledMessagesCommand.js +16 -0
- package/dist-es/commands/SendScheduledMessageNowCommand.js +16 -0
- package/dist-es/commands/UpdateScheduledMessageCommand.js +16 -0
- package/dist-es/commands/index.js +5 -0
- package/dist-es/models/enums.js +28 -0
- package/dist-es/models/errors.js +26 -0
- package/dist-es/schemas/schemas_0.js +169 -21
- package/dist-types/StreamService.d.ts +36 -0
- package/dist-types/StreamServiceClient.d.ts +7 -2
- package/dist-types/commands/CreateGroupChannelCommand.d.ts +2 -0
- package/dist-types/commands/CreateKiteChannelCommand.d.ts +45 -0
- package/dist-types/commands/CreateScheduledMessageCommand.d.ts +147 -0
- package/dist-types/commands/DeleteMessageReactionCommand.d.ts +22 -0
- package/dist-types/commands/DeleteScheduledMessageCommand.d.ts +89 -0
- package/dist-types/commands/GetChannelCommand.d.ts +1 -0
- package/dist-types/commands/GetInboxCommand.d.ts +1 -0
- package/dist-types/commands/GetMessageCommand.d.ts +22 -0
- package/dist-types/commands/GetOrCreateDirectChannelCommand.d.ts +1 -0
- package/dist-types/commands/GetOrCreateSmsChannelCommand.d.ts +1 -0
- package/dist-types/commands/GetOrCreateTelephonyChannelCommand.d.ts +1 -0
- package/dist-types/commands/GetOrCreateWhatsAppChannelCommand.d.ts +1 -0
- package/dist-types/commands/JoinChannelCommand.d.ts +1 -0
- package/dist-types/commands/ListChannelsCommand.d.ts +1 -0
- package/dist-types/commands/ListMentionsCommand.d.ts +22 -0
- package/dist-types/commands/ListMessagesCommand.d.ts +22 -0
- package/dist-types/commands/ListScheduledMessagesCommand.d.ts +124 -0
- package/dist-types/commands/PartialUpdateChannelCommand.d.ts +2 -0
- package/dist-types/commands/PartialUpdateMessageCommand.d.ts +44 -0
- package/dist-types/commands/PinMessageCommand.d.ts +22 -0
- package/dist-types/commands/QueryChannelsCommand.d.ts +1 -0
- package/dist-types/commands/SearchChannelsCommand.d.ts +1 -0
- package/dist-types/commands/SearchMessagesCommand.d.ts +22 -0
- package/dist-types/commands/SearchUsersCommand.d.ts +1 -1
- package/dist-types/commands/SendGiphyCommand.d.ts +22 -0
- package/dist-types/commands/SendMessageCommand.d.ts +44 -0
- package/dist-types/commands/SendMessageReactionCommand.d.ts +22 -0
- package/dist-types/commands/SendScheduledMessageNowCommand.d.ts +124 -0
- package/dist-types/commands/SendSystemMessageCommand.d.ts +22 -0
- package/dist-types/commands/UnpinMessageCommand.d.ts +22 -0
- package/dist-types/commands/UpdateChannelCommand.d.ts +2 -0
- package/dist-types/commands/UpdateMessageCommand.d.ts +44 -0
- package/dist-types/commands/UpdateScheduledMessageCommand.d.ts +146 -0
- package/dist-types/commands/index.d.ts +5 -0
- package/dist-types/models/enums.d.ts +77 -0
- package/dist-types/models/errors.d.ts +27 -0
- package/dist-types/models/models_0.d.ts +500 -95
- package/dist-types/runtimeConfig.browser.d.ts +3 -3
- package/dist-types/runtimeConfig.d.ts +3 -3
- package/dist-types/runtimeConfig.native.d.ts +2 -2
- package/dist-types/runtimeConfig.shared.d.ts +1 -1
- package/dist-types/schemas/schemas_0.d.ts +21 -0
- package/package.json +1 -1
|
@@ -9,7 +9,7 @@ export declare const getRuntimeConfig: (config: StreamServiceClientConfig) => {
|
|
|
9
9
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
10
10
|
defaultUserAgentProvider: (config?: import("@aws-sdk/core/client").PreviouslyResolved) => Promise<import("@smithy/types").UserAgent>;
|
|
11
11
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
12
|
-
requestHandler: import("@smithy/core/protocols").HttpHandler<any
|
|
12
|
+
requestHandler: RequestHandler | import("@smithy/core/protocols").HttpHandler<any>;
|
|
13
13
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
14
14
|
sha256: import("@smithy/types").HashConstructor;
|
|
15
15
|
streamCollector: (stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob) => Promise<Uint8Array>;
|
|
@@ -32,8 +32,8 @@ export declare const getRuntimeConfig: (config: StreamServiceClientConfig) => {
|
|
|
32
32
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
33
33
|
userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
|
|
34
34
|
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
35
|
-
endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").
|
|
36
|
-
endpointProvider: (
|
|
35
|
+
endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2> | import("@smithy/types").Provider<string>)) | undefined;
|
|
36
|
+
endpointProvider: (params: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
37
37
|
logger?: import("@smithy/types").Logger;
|
|
38
38
|
}) => import("@smithy/types").EndpointV2;
|
|
39
39
|
tls?: boolean;
|
|
@@ -9,7 +9,7 @@ export declare const getRuntimeConfig: (config: StreamServiceClientConfig) => {
|
|
|
9
9
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
10
10
|
defaultUserAgentProvider: (config?: import("@aws-sdk/core/client").PreviouslyResolved) => Promise<import("@smithy/types").UserAgent>;
|
|
11
11
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
12
|
-
requestHandler:
|
|
12
|
+
requestHandler: import("@smithy/core/protocols").HttpHandler<any> | RequestHandler;
|
|
13
13
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
14
14
|
sha256: import("@smithy/types").HashConstructor;
|
|
15
15
|
streamCollector: (stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob) => Promise<Uint8Array>;
|
|
@@ -32,8 +32,8 @@ export declare const getRuntimeConfig: (config: StreamServiceClientConfig) => {
|
|
|
32
32
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
33
33
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
34
34
|
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
35
|
-
endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").
|
|
36
|
-
endpointProvider: (
|
|
35
|
+
endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2> | import("@smithy/types").Provider<string>)) | undefined;
|
|
36
|
+
endpointProvider: (params: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
37
37
|
logger?: import("@smithy/types").Logger;
|
|
38
38
|
}) => import("@smithy/types").EndpointV2;
|
|
39
39
|
tls?: boolean;
|
|
@@ -32,8 +32,8 @@ export declare const getRuntimeConfig: (config: StreamServiceClientConfig) => {
|
|
|
32
32
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
33
33
|
userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
|
|
34
34
|
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
35
|
-
endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").
|
|
36
|
-
endpointProvider: (
|
|
35
|
+
endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2> | import("@smithy/types").Provider<string>)) | undefined;
|
|
36
|
+
endpointProvider: (params: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
37
37
|
logger?: import("@smithy/types").Logger;
|
|
38
38
|
}) => import("@smithy/types").EndpointV2;
|
|
39
39
|
tls?: boolean;
|
|
@@ -10,7 +10,7 @@ export declare const getRuntimeConfig: (config: StreamServiceClientConfig) => {
|
|
|
10
10
|
base64Decoder: import("@smithy/types").Decoder;
|
|
11
11
|
base64Encoder: (_input: Uint8Array | string) => string;
|
|
12
12
|
disableHostPrefix: boolean;
|
|
13
|
-
endpointProvider: (
|
|
13
|
+
endpointProvider: (params: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
14
14
|
logger?: import("@smithy/types").Logger;
|
|
15
15
|
}) => import("@smithy/types").EndpointV2;
|
|
16
16
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
@@ -12,6 +12,8 @@ export declare var MarkUnreadChannelsLimitReachedException$: StaticErrorSchema;
|
|
|
12
12
|
export declare var MemberAlreadyExistException$: StaticErrorSchema;
|
|
13
13
|
export declare var MemberNotFoundException$: StaticErrorSchema;
|
|
14
14
|
export declare var MessageNotFoundException$: StaticErrorSchema;
|
|
15
|
+
export declare var ScheduledMessageLimitExceededException$: StaticErrorSchema;
|
|
16
|
+
export declare var ScheduledMessageNotFoundException$: StaticErrorSchema;
|
|
15
17
|
export declare var SectionNotFoundException$: StaticErrorSchema;
|
|
16
18
|
export declare var StreamServiceException$: StaticErrorSchema;
|
|
17
19
|
export declare var TargetNotEligibleException$: StaticErrorSchema;
|
|
@@ -46,6 +48,8 @@ export declare var CreateGroupChannelInput$: StaticStructureSchema;
|
|
|
46
48
|
export declare var CreateGroupChannelOutput$: StaticStructureSchema;
|
|
47
49
|
export declare var CreateKiteChannelInput$: StaticStructureSchema;
|
|
48
50
|
export declare var CreateKiteChannelOutput$: StaticStructureSchema;
|
|
51
|
+
export declare var CreateScheduledMessageInput$: StaticStructureSchema;
|
|
52
|
+
export declare var CreateScheduledMessageOutput$: StaticStructureSchema;
|
|
49
53
|
export declare var CreateSectionInput$: StaticStructureSchema;
|
|
50
54
|
export declare var CreateSectionOutput$: StaticStructureSchema;
|
|
51
55
|
export declare var DeleteChannelInput$: StaticStructureSchema;
|
|
@@ -55,6 +59,8 @@ export declare var DeleteMessageInput$: StaticStructureSchema;
|
|
|
55
59
|
export declare var DeleteMessageOutput$: StaticStructureSchema;
|
|
56
60
|
export declare var DeleteMessageReactionInput$: StaticStructureSchema;
|
|
57
61
|
export declare var DeleteMessageReactionOutput$: StaticStructureSchema;
|
|
62
|
+
export declare var DeleteScheduledMessageInput$: StaticStructureSchema;
|
|
63
|
+
export declare var DeleteScheduledMessageOutput$: StaticStructureSchema;
|
|
58
64
|
export declare var DeleteSectionInput$: StaticStructureSchema;
|
|
59
65
|
export declare var DeleteSectionOutput$: StaticStructureSchema;
|
|
60
66
|
export declare var GetChannelInput$: StaticStructureSchema;
|
|
@@ -106,6 +112,8 @@ export declare var ListMentionsInput$: StaticStructureSchema;
|
|
|
106
112
|
export declare var ListMentionsOutput$: StaticStructureSchema;
|
|
107
113
|
export declare var ListMessagesInput$: StaticStructureSchema;
|
|
108
114
|
export declare var ListMessagesOutput$: StaticStructureSchema;
|
|
115
|
+
export declare var ListScheduledMessagesInput$: StaticStructureSchema;
|
|
116
|
+
export declare var ListScheduledMessagesOutput$: StaticStructureSchema;
|
|
109
117
|
export declare var MarkReadInput$: StaticStructureSchema;
|
|
110
118
|
export declare var MarkReadOutput$: StaticStructureSchema;
|
|
111
119
|
export declare var MarkUnreadInput$: StaticStructureSchema;
|
|
@@ -145,6 +153,7 @@ export declare var RemoveChannelFromSectionInput$: StaticStructureSchema;
|
|
|
145
153
|
export declare var RemoveChannelFromSectionOutput$: StaticStructureSchema;
|
|
146
154
|
export declare var RenameSectionInput$: StaticStructureSchema;
|
|
147
155
|
export declare var RenameSectionOutput$: StaticStructureSchema;
|
|
156
|
+
export declare var ScheduledMessage$: StaticStructureSchema;
|
|
148
157
|
export declare var SearchChannelHit$: StaticStructureSchema;
|
|
149
158
|
export declare var SearchChannelsInput$: StaticStructureSchema;
|
|
150
159
|
export declare var SearchChannelsOutput$: StaticStructureSchema;
|
|
@@ -161,6 +170,8 @@ export declare var SendMessageInput$: StaticStructureSchema;
|
|
|
161
170
|
export declare var SendMessageOutput$: StaticStructureSchema;
|
|
162
171
|
export declare var SendMessageReactionInput$: StaticStructureSchema;
|
|
163
172
|
export declare var SendMessageReactionOutput$: StaticStructureSchema;
|
|
173
|
+
export declare var SendScheduledMessageNowInput$: StaticStructureSchema;
|
|
174
|
+
export declare var SendScheduledMessageNowOutput$: StaticStructureSchema;
|
|
164
175
|
export declare var SendSystemMessageInput$: StaticStructureSchema;
|
|
165
176
|
export declare var SendSystemMessageOutput$: StaticStructureSchema;
|
|
166
177
|
export declare var SendTypingStartInput$: StaticStructureSchema;
|
|
@@ -180,6 +191,8 @@ export declare var UpdateChannelInput$: StaticStructureSchema;
|
|
|
180
191
|
export declare var UpdateChannelOutput$: StaticStructureSchema;
|
|
181
192
|
export declare var UpdateMessageInput$: StaticStructureSchema;
|
|
182
193
|
export declare var UpdateMessageOutput$: StaticStructureSchema;
|
|
194
|
+
export declare var UpdateScheduledMessageInput$: StaticStructureSchema;
|
|
195
|
+
export declare var UpdateScheduledMessageOutput$: StaticStructureSchema;
|
|
183
196
|
export declare var UploadedFileInfo$: StaticStructureSchema;
|
|
184
197
|
export declare var UploadFileInput$: StaticStructureSchema;
|
|
185
198
|
export declare var UploadFileOptions$: StaticStructureSchema;
|
|
@@ -188,6 +201,9 @@ export declare var UsersQuery$: StaticStructureSchema;
|
|
|
188
201
|
export declare var UserToInvite$: StaticStructureSchema;
|
|
189
202
|
export declare var WelcomeMessage$: StaticStructureSchema;
|
|
190
203
|
export declare var WhatsAppClosedSystemMessage$: StaticStructureSchema;
|
|
204
|
+
export declare var WilmaChatArtifact$: StaticStructureSchema;
|
|
205
|
+
export declare var WilmaChatElement$: StaticStructureSchema;
|
|
206
|
+
export declare var WilmaChatTurnSummary$: StaticStructureSchema;
|
|
191
207
|
export declare var ActionElement$: StaticUnionSchema;
|
|
192
208
|
export declare var AssignChannelAssigneeRequest$: StaticUnionSchema;
|
|
193
209
|
export declare var AssignChannelServiceRequest$: StaticUnionSchema;
|
|
@@ -199,11 +215,13 @@ export declare var AddChannelMembers$: StaticOperationSchema;
|
|
|
199
215
|
export declare var AssignChannel$: StaticOperationSchema;
|
|
200
216
|
export declare var CreateGroupChannel$: StaticOperationSchema;
|
|
201
217
|
export declare var CreateKiteChannel$: StaticOperationSchema;
|
|
218
|
+
export declare var CreateScheduledMessage$: StaticOperationSchema;
|
|
202
219
|
export declare var CreateSection$: StaticOperationSchema;
|
|
203
220
|
export declare var DeleteChannel$: StaticOperationSchema;
|
|
204
221
|
export declare var DeleteChannelMember$: StaticOperationSchema;
|
|
205
222
|
export declare var DeleteMessage$: StaticOperationSchema;
|
|
206
223
|
export declare var DeleteMessageReaction$: StaticOperationSchema;
|
|
224
|
+
export declare var DeleteScheduledMessage$: StaticOperationSchema;
|
|
207
225
|
export declare var DeleteSection$: StaticOperationSchema;
|
|
208
226
|
export declare var GetChannel$: StaticOperationSchema;
|
|
209
227
|
export declare var GetChannelMember$: StaticOperationSchema;
|
|
@@ -228,6 +246,7 @@ export declare var ListChannelMembersReadStatus$: StaticOperationSchema;
|
|
|
228
246
|
export declare var ListChannels$: StaticOperationSchema;
|
|
229
247
|
export declare var ListMentions$: StaticOperationSchema;
|
|
230
248
|
export declare var ListMessages$: StaticOperationSchema;
|
|
249
|
+
export declare var ListScheduledMessages$: StaticOperationSchema;
|
|
231
250
|
export declare var MarkRead$: StaticOperationSchema;
|
|
232
251
|
export declare var MarkUnread$: StaticOperationSchema;
|
|
233
252
|
export declare var MoveChannelToSection$: StaticOperationSchema;
|
|
@@ -246,6 +265,7 @@ export declare var SearchUsers$: StaticOperationSchema;
|
|
|
246
265
|
export declare var SendGiphy$: StaticOperationSchema;
|
|
247
266
|
export declare var SendMessage$: StaticOperationSchema;
|
|
248
267
|
export declare var SendMessageReaction$: StaticOperationSchema;
|
|
268
|
+
export declare var SendScheduledMessageNow$: StaticOperationSchema;
|
|
249
269
|
export declare var SendSystemMessage$: StaticOperationSchema;
|
|
250
270
|
export declare var SendTypingStart$: StaticOperationSchema;
|
|
251
271
|
export declare var SendTypingStop$: StaticOperationSchema;
|
|
@@ -255,4 +275,5 @@ export declare var UnpinChannel$: StaticOperationSchema;
|
|
|
255
275
|
export declare var UnpinMessage$: StaticOperationSchema;
|
|
256
276
|
export declare var UpdateChannel$: StaticOperationSchema;
|
|
257
277
|
export declare var UpdateMessage$: StaticOperationSchema;
|
|
278
|
+
export declare var UpdateScheduledMessage$: StaticOperationSchema;
|
|
258
279
|
export declare var UploadFile$: StaticOperationSchema;
|
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": "4.
|
|
4
|
+
"version": "4.4.0",
|
|
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",
|