@wildix/xbees-conversations-client 1.1.0 → 1.1.1
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/Conversations.js +12 -0
- package/dist-cjs/commands/GetActionTriggerResultCommand.js +21 -0
- package/dist-cjs/commands/ListPinnedMessagesCommand.js +21 -0
- package/dist-cjs/commands/PinMessageCommand.js +21 -0
- package/dist-cjs/commands/SendActionTriggerResultCommand.js +21 -0
- package/dist-cjs/commands/TriggerMessageActionCommand.js +21 -0
- package/dist-cjs/commands/UnpinMessageCommand.js +21 -0
- package/dist-cjs/commands/index.js +6 -0
- package/dist-cjs/models/models_0.js +77 -12
- package/dist-cjs/protocols/Aws_restJson1.js +230 -2
- package/dist-es/Conversations.js +12 -0
- package/dist-es/commands/GetActionTriggerResultCommand.js +17 -0
- package/dist-es/commands/ListPinnedMessagesCommand.js +17 -0
- package/dist-es/commands/PinMessageCommand.js +17 -0
- package/dist-es/commands/SendActionTriggerResultCommand.js +17 -0
- package/dist-es/commands/TriggerMessageActionCommand.js +17 -0
- package/dist-es/commands/UnpinMessageCommand.js +17 -0
- package/dist-es/commands/index.js +6 -0
- package/dist-es/models/models_0.js +74 -11
- package/dist-es/protocols/Aws_restJson1.js +216 -1
- package/dist-types/Conversations.d.ts +42 -0
- package/dist-types/ConversationsClient.d.ts +8 -2
- package/dist-types/commands/DescribeEventCommand.d.ts +144 -9
- package/dist-types/commands/GetActionTriggerResultCommand.d.ts +70 -0
- package/dist-types/commands/GetMessageCommand.d.ts +24 -0
- package/dist-types/commands/ListMessagesCommand.d.ts +24 -0
- package/dist-types/commands/ListPinnedMessagesCommand.d.ts +224 -0
- package/dist-types/commands/PartialUpdateMessageCommand.d.ts +53 -1
- package/dist-types/commands/PinMessageCommand.d.ts +73 -0
- package/dist-types/commands/SendActionTriggerResultCommand.d.ts +68 -0
- package/dist-types/commands/SendGiphyCommand.d.ts +24 -0
- package/dist-types/commands/SendMessageCommand.d.ts +48 -0
- package/dist-types/commands/TriggerMessageActionCommand.d.ts +75 -0
- package/dist-types/commands/UnpinMessageCommand.d.ts +71 -0
- package/dist-types/commands/UpdateMessageCommand.d.ts +49 -0
- package/dist-types/commands/index.d.ts +6 -0
- package/dist-types/models/models_0.d.ts +466 -84
- package/dist-types/protocols/Aws_restJson1.d.ts +54 -0
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/package.json +2 -2
|
@@ -8,6 +8,7 @@ import { DeleteInboxTagCommandInput, DeleteInboxTagCommandOutput } from "../comm
|
|
|
8
8
|
import { DeleteMessageCommandInput, DeleteMessageCommandOutput } from "../commands/DeleteMessageCommand";
|
|
9
9
|
import { DeleteMessageReactionCommandInput, DeleteMessageReactionCommandOutput } from "../commands/DeleteMessageReactionCommand";
|
|
10
10
|
import { DescribeEventCommandInput, DescribeEventCommandOutput } from "../commands/DescribeEventCommand";
|
|
11
|
+
import { GetActionTriggerResultCommandInput, GetActionTriggerResultCommandOutput } from "../commands/GetActionTriggerResultCommand";
|
|
11
12
|
import { GetChannelCommandInput, GetChannelCommandOutput } from "../commands/GetChannelCommand";
|
|
12
13
|
import { GetChannelMemberCommandInput, GetChannelMemberCommandOutput } from "../commands/GetChannelMemberCommand";
|
|
13
14
|
import { GetDirectChannelIdCommandInput, GetDirectChannelIdCommandOutput } from "../commands/GetDirectChannelIdCommand";
|
|
@@ -26,12 +27,15 @@ import { ListInboxTaggedChannelsCommandInput, ListInboxTaggedChannelsCommandOutp
|
|
|
26
27
|
import { ListInboxTagsCommandInput, ListInboxTagsCommandOutput } from "../commands/ListInboxTagsCommand";
|
|
27
28
|
import { ListMessageReactionsCommandInput, ListMessageReactionsCommandOutput } from "../commands/ListMessageReactionsCommand";
|
|
28
29
|
import { ListMessagesCommandInput, ListMessagesCommandOutput } from "../commands/ListMessagesCommand";
|
|
30
|
+
import { ListPinnedMessagesCommandInput, ListPinnedMessagesCommandOutput } from "../commands/ListPinnedMessagesCommand";
|
|
29
31
|
import { MarkReadCommandInput, MarkReadCommandOutput } from "../commands/MarkReadCommand";
|
|
30
32
|
import { MarkUnreadCommandInput, MarkUnreadCommandOutput } from "../commands/MarkUnreadCommand";
|
|
31
33
|
import { PartialUpdateChannelCommandInput, PartialUpdateChannelCommandOutput } from "../commands/PartialUpdateChannelCommand";
|
|
32
34
|
import { PartialUpdateMessageCommandInput, PartialUpdateMessageCommandOutput } from "../commands/PartialUpdateMessageCommand";
|
|
33
35
|
import { PinChannelCommandInput, PinChannelCommandOutput } from "../commands/PinChannelCommand";
|
|
36
|
+
import { PinMessageCommandInput, PinMessageCommandOutput } from "../commands/PinMessageCommand";
|
|
34
37
|
import { ScheduleExternalFlagAdjustmentJobCommandInput, ScheduleExternalFlagAdjustmentJobCommandOutput } from "../commands/ScheduleExternalFlagAdjustmentJobCommand";
|
|
38
|
+
import { SendActionTriggerResultCommandInput, SendActionTriggerResultCommandOutput } from "../commands/SendActionTriggerResultCommand";
|
|
35
39
|
import { SendGiphyCommandInput, SendGiphyCommandOutput } from "../commands/SendGiphyCommand";
|
|
36
40
|
import { SendMessageCommandInput, SendMessageCommandOutput } from "../commands/SendMessageCommand";
|
|
37
41
|
import { SendMessageReactionCommandInput, SendMessageReactionCommandOutput } from "../commands/SendMessageReactionCommand";
|
|
@@ -39,7 +43,9 @@ import { SendTypingStartCommandInput, SendTypingStartCommandOutput } from "../co
|
|
|
39
43
|
import { SendTypingStopCommandInput, SendTypingStopCommandOutput } from "../commands/SendTypingStopCommand";
|
|
40
44
|
import { ShowChannelCommandInput, ShowChannelCommandOutput } from "../commands/ShowChannelCommand";
|
|
41
45
|
import { TagChannelCommandInput, TagChannelCommandOutput } from "../commands/TagChannelCommand";
|
|
46
|
+
import { TriggerMessageActionCommandInput, TriggerMessageActionCommandOutput } from "../commands/TriggerMessageActionCommand";
|
|
42
47
|
import { UnpinChannelCommandInput, UnpinChannelCommandOutput } from "../commands/UnpinChannelCommand";
|
|
48
|
+
import { UnpinMessageCommandInput, UnpinMessageCommandOutput } from "../commands/UnpinMessageCommand";
|
|
43
49
|
import { UntagChannelCommandInput, UntagChannelCommandOutput } from "../commands/UntagChannelCommand";
|
|
44
50
|
import { UpdateChannelCommandInput, UpdateChannelCommandOutput } from "../commands/UpdateChannelCommand";
|
|
45
51
|
import { UpdateInboxTagCommandInput, UpdateInboxTagCommandOutput } from "../commands/UpdateInboxTagCommand";
|
|
@@ -87,6 +93,10 @@ export declare const se_DeleteMessageReactionCommand: (input: DeleteMessageReact
|
|
|
87
93
|
* serializeAws_restJson1DescribeEventCommand
|
|
88
94
|
*/
|
|
89
95
|
export declare const se_DescribeEventCommand: (input: DescribeEventCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
96
|
+
/**
|
|
97
|
+
* serializeAws_restJson1GetActionTriggerResultCommand
|
|
98
|
+
*/
|
|
99
|
+
export declare const se_GetActionTriggerResultCommand: (input: GetActionTriggerResultCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
90
100
|
/**
|
|
91
101
|
* serializeAws_restJson1GetChannelCommand
|
|
92
102
|
*/
|
|
@@ -159,6 +169,10 @@ export declare const se_ListMessageReactionsCommand: (input: ListMessageReaction
|
|
|
159
169
|
* serializeAws_restJson1ListMessagesCommand
|
|
160
170
|
*/
|
|
161
171
|
export declare const se_ListMessagesCommand: (input: ListMessagesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
172
|
+
/**
|
|
173
|
+
* serializeAws_restJson1ListPinnedMessagesCommand
|
|
174
|
+
*/
|
|
175
|
+
export declare const se_ListPinnedMessagesCommand: (input: ListPinnedMessagesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
162
176
|
/**
|
|
163
177
|
* serializeAws_restJson1MarkReadCommand
|
|
164
178
|
*/
|
|
@@ -179,10 +193,18 @@ export declare const se_PartialUpdateMessageCommand: (input: PartialUpdateMessag
|
|
|
179
193
|
* serializeAws_restJson1PinChannelCommand
|
|
180
194
|
*/
|
|
181
195
|
export declare const se_PinChannelCommand: (input: PinChannelCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
196
|
+
/**
|
|
197
|
+
* serializeAws_restJson1PinMessageCommand
|
|
198
|
+
*/
|
|
199
|
+
export declare const se_PinMessageCommand: (input: PinMessageCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
182
200
|
/**
|
|
183
201
|
* serializeAws_restJson1ScheduleExternalFlagAdjustmentJobCommand
|
|
184
202
|
*/
|
|
185
203
|
export declare const se_ScheduleExternalFlagAdjustmentJobCommand: (input: ScheduleExternalFlagAdjustmentJobCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
204
|
+
/**
|
|
205
|
+
* serializeAws_restJson1SendActionTriggerResultCommand
|
|
206
|
+
*/
|
|
207
|
+
export declare const se_SendActionTriggerResultCommand: (input: SendActionTriggerResultCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
186
208
|
/**
|
|
187
209
|
* serializeAws_restJson1SendGiphyCommand
|
|
188
210
|
*/
|
|
@@ -211,10 +233,18 @@ export declare const se_ShowChannelCommand: (input: ShowChannelCommandInput, con
|
|
|
211
233
|
* serializeAws_restJson1TagChannelCommand
|
|
212
234
|
*/
|
|
213
235
|
export declare const se_TagChannelCommand: (input: TagChannelCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
236
|
+
/**
|
|
237
|
+
* serializeAws_restJson1TriggerMessageActionCommand
|
|
238
|
+
*/
|
|
239
|
+
export declare const se_TriggerMessageActionCommand: (input: TriggerMessageActionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
214
240
|
/**
|
|
215
241
|
* serializeAws_restJson1UnpinChannelCommand
|
|
216
242
|
*/
|
|
217
243
|
export declare const se_UnpinChannelCommand: (input: UnpinChannelCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
244
|
+
/**
|
|
245
|
+
* serializeAws_restJson1UnpinMessageCommand
|
|
246
|
+
*/
|
|
247
|
+
export declare const se_UnpinMessageCommand: (input: UnpinMessageCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
218
248
|
/**
|
|
219
249
|
* serializeAws_restJson1UntagChannelCommand
|
|
220
250
|
*/
|
|
@@ -275,6 +305,10 @@ export declare const de_DeleteMessageReactionCommand: (output: __HttpResponse, c
|
|
|
275
305
|
* deserializeAws_restJson1DescribeEventCommand
|
|
276
306
|
*/
|
|
277
307
|
export declare const de_DescribeEventCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeEventCommandOutput>;
|
|
308
|
+
/**
|
|
309
|
+
* deserializeAws_restJson1GetActionTriggerResultCommand
|
|
310
|
+
*/
|
|
311
|
+
export declare const de_GetActionTriggerResultCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetActionTriggerResultCommandOutput>;
|
|
278
312
|
/**
|
|
279
313
|
* deserializeAws_restJson1GetChannelCommand
|
|
280
314
|
*/
|
|
@@ -347,6 +381,10 @@ export declare const de_ListMessageReactionsCommand: (output: __HttpResponse, co
|
|
|
347
381
|
* deserializeAws_restJson1ListMessagesCommand
|
|
348
382
|
*/
|
|
349
383
|
export declare const de_ListMessagesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListMessagesCommandOutput>;
|
|
384
|
+
/**
|
|
385
|
+
* deserializeAws_restJson1ListPinnedMessagesCommand
|
|
386
|
+
*/
|
|
387
|
+
export declare const de_ListPinnedMessagesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListPinnedMessagesCommandOutput>;
|
|
350
388
|
/**
|
|
351
389
|
* deserializeAws_restJson1MarkReadCommand
|
|
352
390
|
*/
|
|
@@ -367,10 +405,18 @@ export declare const de_PartialUpdateMessageCommand: (output: __HttpResponse, co
|
|
|
367
405
|
* deserializeAws_restJson1PinChannelCommand
|
|
368
406
|
*/
|
|
369
407
|
export declare const de_PinChannelCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<PinChannelCommandOutput>;
|
|
408
|
+
/**
|
|
409
|
+
* deserializeAws_restJson1PinMessageCommand
|
|
410
|
+
*/
|
|
411
|
+
export declare const de_PinMessageCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<PinMessageCommandOutput>;
|
|
370
412
|
/**
|
|
371
413
|
* deserializeAws_restJson1ScheduleExternalFlagAdjustmentJobCommand
|
|
372
414
|
*/
|
|
373
415
|
export declare const de_ScheduleExternalFlagAdjustmentJobCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ScheduleExternalFlagAdjustmentJobCommandOutput>;
|
|
416
|
+
/**
|
|
417
|
+
* deserializeAws_restJson1SendActionTriggerResultCommand
|
|
418
|
+
*/
|
|
419
|
+
export declare const de_SendActionTriggerResultCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<SendActionTriggerResultCommandOutput>;
|
|
374
420
|
/**
|
|
375
421
|
* deserializeAws_restJson1SendGiphyCommand
|
|
376
422
|
*/
|
|
@@ -399,10 +445,18 @@ export declare const de_ShowChannelCommand: (output: __HttpResponse, context: __
|
|
|
399
445
|
* deserializeAws_restJson1TagChannelCommand
|
|
400
446
|
*/
|
|
401
447
|
export declare const de_TagChannelCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<TagChannelCommandOutput>;
|
|
448
|
+
/**
|
|
449
|
+
* deserializeAws_restJson1TriggerMessageActionCommand
|
|
450
|
+
*/
|
|
451
|
+
export declare const de_TriggerMessageActionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<TriggerMessageActionCommandOutput>;
|
|
402
452
|
/**
|
|
403
453
|
* deserializeAws_restJson1UnpinChannelCommand
|
|
404
454
|
*/
|
|
405
455
|
export declare const de_UnpinChannelCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UnpinChannelCommandOutput>;
|
|
456
|
+
/**
|
|
457
|
+
* deserializeAws_restJson1UnpinMessageCommand
|
|
458
|
+
*/
|
|
459
|
+
export declare const de_UnpinMessageCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UnpinMessageCommandOutput>;
|
|
406
460
|
/**
|
|
407
461
|
* deserializeAws_restJson1UntagChannelCommand
|
|
408
462
|
*/
|
|
@@ -16,6 +16,7 @@ export declare const getRuntimeConfig: (config: ConversationsClientConfig) => {
|
|
|
16
16
|
env: "stage" | "stable" | "prod";
|
|
17
17
|
token: import("@wildix/smithy-utils").TokenProvider;
|
|
18
18
|
apiVersion: string;
|
|
19
|
+
cacheMiddleware?: boolean | undefined;
|
|
19
20
|
urlParser: import("@smithy/types").UrlParser;
|
|
20
21
|
base64Decoder: import("@smithy/types").Decoder;
|
|
21
22
|
base64Encoder: (_input: string | Uint8Array) => string;
|
|
@@ -16,6 +16,7 @@ export declare const getRuntimeConfig: (config: ConversationsClientConfig) => {
|
|
|
16
16
|
env: "stage" | "stable" | "prod";
|
|
17
17
|
token: import("@wildix/smithy-utils").TokenProvider;
|
|
18
18
|
apiVersion: string;
|
|
19
|
+
cacheMiddleware?: boolean | undefined;
|
|
19
20
|
urlParser: import("@smithy/types").UrlParser;
|
|
20
21
|
base64Decoder: import("@smithy/types").Decoder;
|
|
21
22
|
base64Encoder: (_input: string | Uint8Array) => string;
|
|
@@ -9,6 +9,7 @@ export declare const getRuntimeConfig: (config: ConversationsClientConfig) => {
|
|
|
9
9
|
token: import("@wildix/smithy-utils").TokenProvider;
|
|
10
10
|
requestHandler: import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions | Record<string, unknown> | import("@smithy/protocol-http").HttpHandler<any> | import("@smithy/fetch-http-handler").FetchHttpHandler;
|
|
11
11
|
apiVersion: string;
|
|
12
|
+
cacheMiddleware?: boolean | undefined;
|
|
12
13
|
urlParser: import("@smithy/types").UrlParser;
|
|
13
14
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
14
15
|
streamCollector: import("@smithy/types").StreamCollector;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wildix/xbees-conversations-client",
|
|
3
3
|
"description": "@wildix/xbees-conversations-client client",
|
|
4
|
-
"version": "1.1.
|
|
4
|
+
"version": "1.1.1",
|
|
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",
|
|
@@ -76,4 +76,4 @@
|
|
|
76
76
|
"react-native": {
|
|
77
77
|
"./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native"
|
|
78
78
|
}
|
|
79
|
-
}
|
|
79
|
+
}
|