@wildix/xbees-conversations-client 1.1.0 → 1.1.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/Conversations.js +14 -0
- package/dist-cjs/commands/CreateKiteChannelCommand.js +21 -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 +7 -0
- package/dist-cjs/models/models_0.js +107 -12
- package/dist-cjs/protocols/Aws_restJson1.js +302 -2
- package/dist-es/Conversations.js +14 -0
- package/dist-es/commands/CreateKiteChannelCommand.js +17 -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 +7 -0
- package/dist-es/models/models_0.js +102 -11
- package/dist-es/protocols/Aws_restJson1.js +286 -1
- package/dist-types/Conversations.d.ts +49 -0
- package/dist-types/ConversationsClient.d.ts +9 -2
- package/dist-types/commands/CreateKiteChannelCommand.d.ts +240 -0
- 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 +7 -0
- package/dist-types/models/models_0.d.ts +578 -102
- package/dist-types/protocols/Aws_restJson1.d.ts +63 -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 +1 -1
|
@@ -2,12 +2,14 @@ import { AddChannelMemberCommandInput, AddChannelMemberCommandOutput } from "../
|
|
|
2
2
|
import { AddChannelMembersCommandInput, AddChannelMembersCommandOutput } from "../commands/AddChannelMembersCommand";
|
|
3
3
|
import { CreateGroupChannelCommandInput, CreateGroupChannelCommandOutput } from "../commands/CreateGroupChannelCommand";
|
|
4
4
|
import { CreateInboxTagCommandInput, CreateInboxTagCommandOutput } from "../commands/CreateInboxTagCommand";
|
|
5
|
+
import { CreateKiteChannelCommandInput, CreateKiteChannelCommandOutput } from "../commands/CreateKiteChannelCommand";
|
|
5
6
|
import { DeleteChannelCommandInput, DeleteChannelCommandOutput } from "../commands/DeleteChannelCommand";
|
|
6
7
|
import { DeleteChannelMemberCommandInput, DeleteChannelMemberCommandOutput } from "../commands/DeleteChannelMemberCommand";
|
|
7
8
|
import { DeleteInboxTagCommandInput, DeleteInboxTagCommandOutput } from "../commands/DeleteInboxTagCommand";
|
|
8
9
|
import { DeleteMessageCommandInput, DeleteMessageCommandOutput } from "../commands/DeleteMessageCommand";
|
|
9
10
|
import { DeleteMessageReactionCommandInput, DeleteMessageReactionCommandOutput } from "../commands/DeleteMessageReactionCommand";
|
|
10
11
|
import { DescribeEventCommandInput, DescribeEventCommandOutput } from "../commands/DescribeEventCommand";
|
|
12
|
+
import { GetActionTriggerResultCommandInput, GetActionTriggerResultCommandOutput } from "../commands/GetActionTriggerResultCommand";
|
|
11
13
|
import { GetChannelCommandInput, GetChannelCommandOutput } from "../commands/GetChannelCommand";
|
|
12
14
|
import { GetChannelMemberCommandInput, GetChannelMemberCommandOutput } from "../commands/GetChannelMemberCommand";
|
|
13
15
|
import { GetDirectChannelIdCommandInput, GetDirectChannelIdCommandOutput } from "../commands/GetDirectChannelIdCommand";
|
|
@@ -26,12 +28,15 @@ import { ListInboxTaggedChannelsCommandInput, ListInboxTaggedChannelsCommandOutp
|
|
|
26
28
|
import { ListInboxTagsCommandInput, ListInboxTagsCommandOutput } from "../commands/ListInboxTagsCommand";
|
|
27
29
|
import { ListMessageReactionsCommandInput, ListMessageReactionsCommandOutput } from "../commands/ListMessageReactionsCommand";
|
|
28
30
|
import { ListMessagesCommandInput, ListMessagesCommandOutput } from "../commands/ListMessagesCommand";
|
|
31
|
+
import { ListPinnedMessagesCommandInput, ListPinnedMessagesCommandOutput } from "../commands/ListPinnedMessagesCommand";
|
|
29
32
|
import { MarkReadCommandInput, MarkReadCommandOutput } from "../commands/MarkReadCommand";
|
|
30
33
|
import { MarkUnreadCommandInput, MarkUnreadCommandOutput } from "../commands/MarkUnreadCommand";
|
|
31
34
|
import { PartialUpdateChannelCommandInput, PartialUpdateChannelCommandOutput } from "../commands/PartialUpdateChannelCommand";
|
|
32
35
|
import { PartialUpdateMessageCommandInput, PartialUpdateMessageCommandOutput } from "../commands/PartialUpdateMessageCommand";
|
|
33
36
|
import { PinChannelCommandInput, PinChannelCommandOutput } from "../commands/PinChannelCommand";
|
|
37
|
+
import { PinMessageCommandInput, PinMessageCommandOutput } from "../commands/PinMessageCommand";
|
|
34
38
|
import { ScheduleExternalFlagAdjustmentJobCommandInput, ScheduleExternalFlagAdjustmentJobCommandOutput } from "../commands/ScheduleExternalFlagAdjustmentJobCommand";
|
|
39
|
+
import { SendActionTriggerResultCommandInput, SendActionTriggerResultCommandOutput } from "../commands/SendActionTriggerResultCommand";
|
|
35
40
|
import { SendGiphyCommandInput, SendGiphyCommandOutput } from "../commands/SendGiphyCommand";
|
|
36
41
|
import { SendMessageCommandInput, SendMessageCommandOutput } from "../commands/SendMessageCommand";
|
|
37
42
|
import { SendMessageReactionCommandInput, SendMessageReactionCommandOutput } from "../commands/SendMessageReactionCommand";
|
|
@@ -39,7 +44,9 @@ import { SendTypingStartCommandInput, SendTypingStartCommandOutput } from "../co
|
|
|
39
44
|
import { SendTypingStopCommandInput, SendTypingStopCommandOutput } from "../commands/SendTypingStopCommand";
|
|
40
45
|
import { ShowChannelCommandInput, ShowChannelCommandOutput } from "../commands/ShowChannelCommand";
|
|
41
46
|
import { TagChannelCommandInput, TagChannelCommandOutput } from "../commands/TagChannelCommand";
|
|
47
|
+
import { TriggerMessageActionCommandInput, TriggerMessageActionCommandOutput } from "../commands/TriggerMessageActionCommand";
|
|
42
48
|
import { UnpinChannelCommandInput, UnpinChannelCommandOutput } from "../commands/UnpinChannelCommand";
|
|
49
|
+
import { UnpinMessageCommandInput, UnpinMessageCommandOutput } from "../commands/UnpinMessageCommand";
|
|
43
50
|
import { UntagChannelCommandInput, UntagChannelCommandOutput } from "../commands/UntagChannelCommand";
|
|
44
51
|
import { UpdateChannelCommandInput, UpdateChannelCommandOutput } from "../commands/UpdateChannelCommand";
|
|
45
52
|
import { UpdateInboxTagCommandInput, UpdateInboxTagCommandOutput } from "../commands/UpdateInboxTagCommand";
|
|
@@ -63,6 +70,10 @@ export declare const se_CreateGroupChannelCommand: (input: CreateGroupChannelCom
|
|
|
63
70
|
* serializeAws_restJson1CreateInboxTagCommand
|
|
64
71
|
*/
|
|
65
72
|
export declare const se_CreateInboxTagCommand: (input: CreateInboxTagCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
73
|
+
/**
|
|
74
|
+
* serializeAws_restJson1CreateKiteChannelCommand
|
|
75
|
+
*/
|
|
76
|
+
export declare const se_CreateKiteChannelCommand: (input: CreateKiteChannelCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
66
77
|
/**
|
|
67
78
|
* serializeAws_restJson1DeleteChannelCommand
|
|
68
79
|
*/
|
|
@@ -87,6 +98,10 @@ export declare const se_DeleteMessageReactionCommand: (input: DeleteMessageReact
|
|
|
87
98
|
* serializeAws_restJson1DescribeEventCommand
|
|
88
99
|
*/
|
|
89
100
|
export declare const se_DescribeEventCommand: (input: DescribeEventCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
101
|
+
/**
|
|
102
|
+
* serializeAws_restJson1GetActionTriggerResultCommand
|
|
103
|
+
*/
|
|
104
|
+
export declare const se_GetActionTriggerResultCommand: (input: GetActionTriggerResultCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
90
105
|
/**
|
|
91
106
|
* serializeAws_restJson1GetChannelCommand
|
|
92
107
|
*/
|
|
@@ -159,6 +174,10 @@ export declare const se_ListMessageReactionsCommand: (input: ListMessageReaction
|
|
|
159
174
|
* serializeAws_restJson1ListMessagesCommand
|
|
160
175
|
*/
|
|
161
176
|
export declare const se_ListMessagesCommand: (input: ListMessagesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
177
|
+
/**
|
|
178
|
+
* serializeAws_restJson1ListPinnedMessagesCommand
|
|
179
|
+
*/
|
|
180
|
+
export declare const se_ListPinnedMessagesCommand: (input: ListPinnedMessagesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
162
181
|
/**
|
|
163
182
|
* serializeAws_restJson1MarkReadCommand
|
|
164
183
|
*/
|
|
@@ -179,10 +198,18 @@ export declare const se_PartialUpdateMessageCommand: (input: PartialUpdateMessag
|
|
|
179
198
|
* serializeAws_restJson1PinChannelCommand
|
|
180
199
|
*/
|
|
181
200
|
export declare const se_PinChannelCommand: (input: PinChannelCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
201
|
+
/**
|
|
202
|
+
* serializeAws_restJson1PinMessageCommand
|
|
203
|
+
*/
|
|
204
|
+
export declare const se_PinMessageCommand: (input: PinMessageCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
182
205
|
/**
|
|
183
206
|
* serializeAws_restJson1ScheduleExternalFlagAdjustmentJobCommand
|
|
184
207
|
*/
|
|
185
208
|
export declare const se_ScheduleExternalFlagAdjustmentJobCommand: (input: ScheduleExternalFlagAdjustmentJobCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
209
|
+
/**
|
|
210
|
+
* serializeAws_restJson1SendActionTriggerResultCommand
|
|
211
|
+
*/
|
|
212
|
+
export declare const se_SendActionTriggerResultCommand: (input: SendActionTriggerResultCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
186
213
|
/**
|
|
187
214
|
* serializeAws_restJson1SendGiphyCommand
|
|
188
215
|
*/
|
|
@@ -211,10 +238,18 @@ export declare const se_ShowChannelCommand: (input: ShowChannelCommandInput, con
|
|
|
211
238
|
* serializeAws_restJson1TagChannelCommand
|
|
212
239
|
*/
|
|
213
240
|
export declare const se_TagChannelCommand: (input: TagChannelCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
241
|
+
/**
|
|
242
|
+
* serializeAws_restJson1TriggerMessageActionCommand
|
|
243
|
+
*/
|
|
244
|
+
export declare const se_TriggerMessageActionCommand: (input: TriggerMessageActionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
214
245
|
/**
|
|
215
246
|
* serializeAws_restJson1UnpinChannelCommand
|
|
216
247
|
*/
|
|
217
248
|
export declare const se_UnpinChannelCommand: (input: UnpinChannelCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
249
|
+
/**
|
|
250
|
+
* serializeAws_restJson1UnpinMessageCommand
|
|
251
|
+
*/
|
|
252
|
+
export declare const se_UnpinMessageCommand: (input: UnpinMessageCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
218
253
|
/**
|
|
219
254
|
* serializeAws_restJson1UntagChannelCommand
|
|
220
255
|
*/
|
|
@@ -251,6 +286,10 @@ export declare const de_CreateGroupChannelCommand: (output: __HttpResponse, cont
|
|
|
251
286
|
* deserializeAws_restJson1CreateInboxTagCommand
|
|
252
287
|
*/
|
|
253
288
|
export declare const de_CreateInboxTagCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateInboxTagCommandOutput>;
|
|
289
|
+
/**
|
|
290
|
+
* deserializeAws_restJson1CreateKiteChannelCommand
|
|
291
|
+
*/
|
|
292
|
+
export declare const de_CreateKiteChannelCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateKiteChannelCommandOutput>;
|
|
254
293
|
/**
|
|
255
294
|
* deserializeAws_restJson1DeleteChannelCommand
|
|
256
295
|
*/
|
|
@@ -275,6 +314,10 @@ export declare const de_DeleteMessageReactionCommand: (output: __HttpResponse, c
|
|
|
275
314
|
* deserializeAws_restJson1DescribeEventCommand
|
|
276
315
|
*/
|
|
277
316
|
export declare const de_DescribeEventCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeEventCommandOutput>;
|
|
317
|
+
/**
|
|
318
|
+
* deserializeAws_restJson1GetActionTriggerResultCommand
|
|
319
|
+
*/
|
|
320
|
+
export declare const de_GetActionTriggerResultCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetActionTriggerResultCommandOutput>;
|
|
278
321
|
/**
|
|
279
322
|
* deserializeAws_restJson1GetChannelCommand
|
|
280
323
|
*/
|
|
@@ -347,6 +390,10 @@ export declare const de_ListMessageReactionsCommand: (output: __HttpResponse, co
|
|
|
347
390
|
* deserializeAws_restJson1ListMessagesCommand
|
|
348
391
|
*/
|
|
349
392
|
export declare const de_ListMessagesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListMessagesCommandOutput>;
|
|
393
|
+
/**
|
|
394
|
+
* deserializeAws_restJson1ListPinnedMessagesCommand
|
|
395
|
+
*/
|
|
396
|
+
export declare const de_ListPinnedMessagesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListPinnedMessagesCommandOutput>;
|
|
350
397
|
/**
|
|
351
398
|
* deserializeAws_restJson1MarkReadCommand
|
|
352
399
|
*/
|
|
@@ -367,10 +414,18 @@ export declare const de_PartialUpdateMessageCommand: (output: __HttpResponse, co
|
|
|
367
414
|
* deserializeAws_restJson1PinChannelCommand
|
|
368
415
|
*/
|
|
369
416
|
export declare const de_PinChannelCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<PinChannelCommandOutput>;
|
|
417
|
+
/**
|
|
418
|
+
* deserializeAws_restJson1PinMessageCommand
|
|
419
|
+
*/
|
|
420
|
+
export declare const de_PinMessageCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<PinMessageCommandOutput>;
|
|
370
421
|
/**
|
|
371
422
|
* deserializeAws_restJson1ScheduleExternalFlagAdjustmentJobCommand
|
|
372
423
|
*/
|
|
373
424
|
export declare const de_ScheduleExternalFlagAdjustmentJobCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ScheduleExternalFlagAdjustmentJobCommandOutput>;
|
|
425
|
+
/**
|
|
426
|
+
* deserializeAws_restJson1SendActionTriggerResultCommand
|
|
427
|
+
*/
|
|
428
|
+
export declare const de_SendActionTriggerResultCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<SendActionTriggerResultCommandOutput>;
|
|
374
429
|
/**
|
|
375
430
|
* deserializeAws_restJson1SendGiphyCommand
|
|
376
431
|
*/
|
|
@@ -399,10 +454,18 @@ export declare const de_ShowChannelCommand: (output: __HttpResponse, context: __
|
|
|
399
454
|
* deserializeAws_restJson1TagChannelCommand
|
|
400
455
|
*/
|
|
401
456
|
export declare const de_TagChannelCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<TagChannelCommandOutput>;
|
|
457
|
+
/**
|
|
458
|
+
* deserializeAws_restJson1TriggerMessageActionCommand
|
|
459
|
+
*/
|
|
460
|
+
export declare const de_TriggerMessageActionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<TriggerMessageActionCommandOutput>;
|
|
402
461
|
/**
|
|
403
462
|
* deserializeAws_restJson1UnpinChannelCommand
|
|
404
463
|
*/
|
|
405
464
|
export declare const de_UnpinChannelCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UnpinChannelCommandOutput>;
|
|
465
|
+
/**
|
|
466
|
+
* deserializeAws_restJson1UnpinMessageCommand
|
|
467
|
+
*/
|
|
468
|
+
export declare const de_UnpinMessageCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UnpinMessageCommandOutput>;
|
|
406
469
|
/**
|
|
407
470
|
* deserializeAws_restJson1UntagChannelCommand
|
|
408
471
|
*/
|
|
@@ -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.2",
|
|
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",
|