@wildix/xbees-conversations-client 1.1.6 → 1.1.7
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 +2 -0
- package/dist-cjs/commands/QueryChannelsCommand.js +21 -0
- package/dist-cjs/commands/index.js +1 -0
- package/dist-cjs/protocols/Aws_restJson1.js +44 -3
- package/dist-es/Conversations.js +2 -0
- package/dist-es/commands/QueryChannelsCommand.js +17 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +39 -0
- package/dist-types/Conversations.d.ts +8 -0
- package/dist-types/ConversationsClient.d.ts +3 -2
- package/dist-types/commands/ListChannelsCommand.d.ts +1 -0
- package/dist-types/commands/QueryChannelsCommand.d.ts +143 -0
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +48 -1
- package/dist-types/protocols/Aws_restJson1.d.ts +9 -0
- package/package.json +1 -1
|
@@ -39,6 +39,7 @@ const PartialUpdateChannelCommand_1 = require("./commands/PartialUpdateChannelCo
|
|
|
39
39
|
const PartialUpdateMessageCommand_1 = require("./commands/PartialUpdateMessageCommand");
|
|
40
40
|
const PinChannelCommand_1 = require("./commands/PinChannelCommand");
|
|
41
41
|
const PinMessageCommand_1 = require("./commands/PinMessageCommand");
|
|
42
|
+
const QueryChannelsCommand_1 = require("./commands/QueryChannelsCommand");
|
|
42
43
|
const ScheduleExternalFlagAdjustmentJobCommand_1 = require("./commands/ScheduleExternalFlagAdjustmentJobCommand");
|
|
43
44
|
const SendActionTriggerResultCommand_1 = require("./commands/SendActionTriggerResultCommand");
|
|
44
45
|
const SendGiphyCommand_1 = require("./commands/SendGiphyCommand");
|
|
@@ -95,6 +96,7 @@ const commands = {
|
|
|
95
96
|
PartialUpdateMessageCommand: PartialUpdateMessageCommand_1.PartialUpdateMessageCommand,
|
|
96
97
|
PinChannelCommand: PinChannelCommand_1.PinChannelCommand,
|
|
97
98
|
PinMessageCommand: PinMessageCommand_1.PinMessageCommand,
|
|
99
|
+
QueryChannelsCommand: QueryChannelsCommand_1.QueryChannelsCommand,
|
|
98
100
|
ScheduleExternalFlagAdjustmentJobCommand: ScheduleExternalFlagAdjustmentJobCommand_1.ScheduleExternalFlagAdjustmentJobCommand,
|
|
99
101
|
SendActionTriggerResultCommand: SendActionTriggerResultCommand_1.SendActionTriggerResultCommand,
|
|
100
102
|
SendGiphyCommand: SendGiphyCommand_1.SendGiphyCommand,
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.QueryChannelsCommand = exports.$Command = void 0;
|
|
4
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
class QueryChannelsCommand extends smithy_client_1.Command.classBuilder()
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [
|
|
11
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
12
|
+
];
|
|
13
|
+
})
|
|
14
|
+
.s("Conversations", "QueryChannels", {})
|
|
15
|
+
.n("ConversationsClient", "QueryChannelsCommand")
|
|
16
|
+
.f(void 0, void 0)
|
|
17
|
+
.ser(Aws_restJson1_1.se_QueryChannelsCommand)
|
|
18
|
+
.de(Aws_restJson1_1.de_QueryChannelsCommand)
|
|
19
|
+
.build() {
|
|
20
|
+
}
|
|
21
|
+
exports.QueryChannelsCommand = QueryChannelsCommand;
|
|
@@ -38,6 +38,7 @@ tslib_1.__exportStar(require("./PartialUpdateChannelCommand"), exports);
|
|
|
38
38
|
tslib_1.__exportStar(require("./PartialUpdateMessageCommand"), exports);
|
|
39
39
|
tslib_1.__exportStar(require("./PinChannelCommand"), exports);
|
|
40
40
|
tslib_1.__exportStar(require("./PinMessageCommand"), exports);
|
|
41
|
+
tslib_1.__exportStar(require("./QueryChannelsCommand"), exports);
|
|
41
42
|
tslib_1.__exportStar(require("./ScheduleExternalFlagAdjustmentJobCommand"), exports);
|
|
42
43
|
tslib_1.__exportStar(require("./SendActionTriggerResultCommand"), exports);
|
|
43
44
|
tslib_1.__exportStar(require("./SendGiphyCommand"), exports);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
5
|
-
exports.de_UploadFileCommand = exports.de_UpdateMessageCommand = exports.de_UpdateInboxTagCommand = exports.de_UpdateChannelCommand = exports.de_UntagChannelCommand = exports.de_UnpinMessageCommand = exports.de_UnpinChannelCommand = exports.de_TriggerMessageActionCommand = void 0;
|
|
3
|
+
exports.se_UnpinMessageCommand = exports.se_UnpinChannelCommand = exports.se_TriggerMessageActionCommand = exports.se_TagChannelCommand = exports.se_ShowChannelCommand = exports.se_SendTypingStopCommand = exports.se_SendTypingStartCommand = exports.se_SendMessageReactionCommand = exports.se_SendMessageCommand = exports.se_SendGiphyCommand = exports.se_SendActionTriggerResultCommand = exports.se_ScheduleExternalFlagAdjustmentJobCommand = exports.se_QueryChannelsCommand = exports.se_PinMessageCommand = exports.se_PinChannelCommand = exports.se_PartialUpdateMessageCommand = exports.se_PartialUpdateChannelCommand = exports.se_MarkUnreadCommand = exports.se_MarkReadCommand = exports.se_ListPinnedMessagesCommand = exports.se_ListMessagesCommand = exports.se_ListMessageReactionsCommand = exports.se_ListInboxTagsCommand = exports.se_ListInboxTaggedChannelsCommand = exports.se_ListChannelsCommand = exports.se_ListChannelMembersCommand = exports.se_LeaveChannelCommand = exports.se_JoinChannelCommand = exports.se_InviteCommand = exports.se_HideChannelCommand = exports.se_GetUploadedFileInfoCommand = exports.se_GetOrCreateDirectChannelCommand = exports.se_GetMessageCommand = exports.se_GetInboxStateCommand = exports.se_GetFilePresignedDownloadUrlCommand = exports.se_GetDirectChannelIdCommand = exports.se_GetChannelMemberCommand = exports.se_GetChannelCommand = exports.se_GetActionTriggerResultCommand = exports.se_DescribeEventCommand = exports.se_DeleteMessageReactionCommand = exports.se_DeleteMessageCommand = exports.se_DeleteInboxTagCommand = exports.se_DeleteChannelMemberCommand = exports.se_DeleteChannelCommand = exports.se_CreateKiteChannelCommand = exports.se_CreateInboxTagCommand = exports.se_CreateGroupChannelCommand = exports.se_AddChannelMembersCommand = exports.se_AddChannelMemberCommand = void 0;
|
|
4
|
+
exports.de_SendTypingStopCommand = exports.de_SendTypingStartCommand = exports.de_SendMessageReactionCommand = exports.de_SendMessageCommand = exports.de_SendGiphyCommand = exports.de_SendActionTriggerResultCommand = exports.de_ScheduleExternalFlagAdjustmentJobCommand = exports.de_QueryChannelsCommand = exports.de_PinMessageCommand = exports.de_PinChannelCommand = exports.de_PartialUpdateMessageCommand = exports.de_PartialUpdateChannelCommand = exports.de_MarkUnreadCommand = exports.de_MarkReadCommand = exports.de_ListPinnedMessagesCommand = exports.de_ListMessagesCommand = exports.de_ListMessageReactionsCommand = exports.de_ListInboxTagsCommand = exports.de_ListInboxTaggedChannelsCommand = exports.de_ListChannelsCommand = exports.de_ListChannelMembersCommand = exports.de_LeaveChannelCommand = exports.de_JoinChannelCommand = exports.de_InviteCommand = exports.de_HideChannelCommand = exports.de_GetUploadedFileInfoCommand = exports.de_GetOrCreateDirectChannelCommand = exports.de_GetMessageCommand = exports.de_GetInboxStateCommand = exports.de_GetFilePresignedDownloadUrlCommand = exports.de_GetDirectChannelIdCommand = exports.de_GetChannelMemberCommand = exports.de_GetChannelCommand = exports.de_GetActionTriggerResultCommand = exports.de_DescribeEventCommand = exports.de_DeleteMessageReactionCommand = exports.de_DeleteMessageCommand = exports.de_DeleteInboxTagCommand = exports.de_DeleteChannelMemberCommand = exports.de_DeleteChannelCommand = exports.de_CreateKiteChannelCommand = exports.de_CreateInboxTagCommand = exports.de_CreateGroupChannelCommand = exports.de_AddChannelMembersCommand = exports.de_AddChannelMemberCommand = exports.se_UploadFileCommand = exports.se_UpdateMessageCommand = exports.se_UpdateInboxTagCommand = exports.se_UpdateChannelCommand = exports.se_UntagChannelCommand = void 0;
|
|
5
|
+
exports.de_UploadFileCommand = exports.de_UpdateMessageCommand = exports.de_UpdateInboxTagCommand = exports.de_UpdateChannelCommand = exports.de_UntagChannelCommand = exports.de_UnpinMessageCommand = exports.de_UnpinChannelCommand = exports.de_TriggerMessageActionCommand = exports.de_TagChannelCommand = exports.de_ShowChannelCommand = void 0;
|
|
6
6
|
const ConversationsServiceException_1 = require("../models/ConversationsServiceException");
|
|
7
7
|
const models_0_1 = require("../models/models_0");
|
|
8
8
|
const core_1 = require("@smithy/core");
|
|
@@ -464,6 +464,7 @@ const se_ListChannelsCommand = async (input, context) => {
|
|
|
464
464
|
const headers = {};
|
|
465
465
|
b.bp("/v2/conversations/channels");
|
|
466
466
|
const query = (0, smithy_client_1.map)({
|
|
467
|
+
[_co]: [, input[_cI]],
|
|
467
468
|
[_u]: [, input[_uI]],
|
|
468
469
|
[_l]: [() => input.limit !== void 0, () => (input[_l].toString())],
|
|
469
470
|
[_o]: [() => input.offset !== void 0, () => (input[_o].toString())],
|
|
@@ -685,6 +686,29 @@ const se_PinMessageCommand = async (input, context) => {
|
|
|
685
686
|
return b.build();
|
|
686
687
|
};
|
|
687
688
|
exports.se_PinMessageCommand = se_PinMessageCommand;
|
|
689
|
+
const se_QueryChannelsCommand = async (input, context) => {
|
|
690
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
691
|
+
const headers = {
|
|
692
|
+
'content-type': 'application/json',
|
|
693
|
+
};
|
|
694
|
+
b.bp("/v2/conversations/query-channels");
|
|
695
|
+
const query = (0, smithy_client_1.map)({
|
|
696
|
+
[_co]: [, input[_cI]],
|
|
697
|
+
[_u]: [, input[_uI]],
|
|
698
|
+
[_l]: [() => input.limit !== void 0, () => (input[_l].toString())],
|
|
699
|
+
[_o]: [() => input.offset !== void 0, () => (input[_o].toString())],
|
|
700
|
+
});
|
|
701
|
+
let body;
|
|
702
|
+
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
703
|
+
'query': _ => (0, smithy_client_1._json)(_),
|
|
704
|
+
}));
|
|
705
|
+
b.m("POST")
|
|
706
|
+
.h(headers)
|
|
707
|
+
.q(query)
|
|
708
|
+
.b(body);
|
|
709
|
+
return b.build();
|
|
710
|
+
};
|
|
711
|
+
exports.se_QueryChannelsCommand = se_QueryChannelsCommand;
|
|
688
712
|
const se_ScheduleExternalFlagAdjustmentJobCommand = async (input, context) => {
|
|
689
713
|
const b = (0, core_1.requestBuilder)(input, context);
|
|
690
714
|
const headers = {
|
|
@@ -1553,6 +1577,21 @@ const de_PinMessageCommand = async (output, context) => {
|
|
|
1553
1577
|
return contents;
|
|
1554
1578
|
};
|
|
1555
1579
|
exports.de_PinMessageCommand = de_PinMessageCommand;
|
|
1580
|
+
const de_QueryChannelsCommand = async (output, context) => {
|
|
1581
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1582
|
+
return de_CommandError(output, context);
|
|
1583
|
+
}
|
|
1584
|
+
const contents = (0, smithy_client_1.map)({
|
|
1585
|
+
$metadata: deserializeMetadata(output),
|
|
1586
|
+
});
|
|
1587
|
+
const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await parseBody(output.body, context))), "body");
|
|
1588
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
1589
|
+
'channels': smithy_client_1._json,
|
|
1590
|
+
});
|
|
1591
|
+
Object.assign(contents, doc);
|
|
1592
|
+
return contents;
|
|
1593
|
+
};
|
|
1594
|
+
exports.de_QueryChannelsCommand = de_QueryChannelsCommand;
|
|
1556
1595
|
const de_ScheduleExternalFlagAdjustmentJobCommand = async (output, context) => {
|
|
1557
1596
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1558
1597
|
return de_CommandError(output, context);
|
|
@@ -2110,6 +2149,8 @@ const isSerializableHeaderValue = (value) => value !== undefined &&
|
|
|
2110
2149
|
value.length != 0) &&
|
|
2111
2150
|
(!Object.getOwnPropertyNames(value).includes("size") || value.size != 0);
|
|
2112
2151
|
const _c = "category";
|
|
2152
|
+
const _cI = "companyId";
|
|
2153
|
+
const _co = "company";
|
|
2113
2154
|
const _d = "download";
|
|
2114
2155
|
const _f = "force";
|
|
2115
2156
|
const _l = "limit";
|
package/dist-es/Conversations.js
CHANGED
|
@@ -36,6 +36,7 @@ import { PartialUpdateChannelCommand, } from "./commands/PartialUpdateChannelCom
|
|
|
36
36
|
import { PartialUpdateMessageCommand, } from "./commands/PartialUpdateMessageCommand";
|
|
37
37
|
import { PinChannelCommand, } from "./commands/PinChannelCommand";
|
|
38
38
|
import { PinMessageCommand, } from "./commands/PinMessageCommand";
|
|
39
|
+
import { QueryChannelsCommand, } from "./commands/QueryChannelsCommand";
|
|
39
40
|
import { ScheduleExternalFlagAdjustmentJobCommand, } from "./commands/ScheduleExternalFlagAdjustmentJobCommand";
|
|
40
41
|
import { SendActionTriggerResultCommand, } from "./commands/SendActionTriggerResultCommand";
|
|
41
42
|
import { SendGiphyCommand, } from "./commands/SendGiphyCommand";
|
|
@@ -92,6 +93,7 @@ const commands = {
|
|
|
92
93
|
PartialUpdateMessageCommand,
|
|
93
94
|
PinChannelCommand,
|
|
94
95
|
PinMessageCommand,
|
|
96
|
+
QueryChannelsCommand,
|
|
95
97
|
ScheduleExternalFlagAdjustmentJobCommand,
|
|
96
98
|
SendActionTriggerResultCommand,
|
|
97
99
|
SendGiphyCommand,
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { de_QueryChannelsCommand, se_QueryChannelsCommand, } from "../protocols/Aws_restJson1";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
export { $Command };
|
|
5
|
+
export class QueryChannelsCommand extends $Command.classBuilder()
|
|
6
|
+
.m(function (Command, cs, config, o) {
|
|
7
|
+
return [
|
|
8
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
9
|
+
];
|
|
10
|
+
})
|
|
11
|
+
.s("Conversations", "QueryChannels", {})
|
|
12
|
+
.n("ConversationsClient", "QueryChannelsCommand")
|
|
13
|
+
.f(void 0, void 0)
|
|
14
|
+
.ser(se_QueryChannelsCommand)
|
|
15
|
+
.de(de_QueryChannelsCommand)
|
|
16
|
+
.build() {
|
|
17
|
+
}
|
|
@@ -35,6 +35,7 @@ export * from "./PartialUpdateChannelCommand";
|
|
|
35
35
|
export * from "./PartialUpdateMessageCommand";
|
|
36
36
|
export * from "./PinChannelCommand";
|
|
37
37
|
export * from "./PinMessageCommand";
|
|
38
|
+
export * from "./QueryChannelsCommand";
|
|
38
39
|
export * from "./ScheduleExternalFlagAdjustmentJobCommand";
|
|
39
40
|
export * from "./SendActionTriggerResultCommand";
|
|
40
41
|
export * from "./SendGiphyCommand";
|
|
@@ -434,6 +434,7 @@ export const se_ListChannelsCommand = async (input, context) => {
|
|
|
434
434
|
const headers = {};
|
|
435
435
|
b.bp("/v2/conversations/channels");
|
|
436
436
|
const query = map({
|
|
437
|
+
[_co]: [, input[_cI]],
|
|
437
438
|
[_u]: [, input[_uI]],
|
|
438
439
|
[_l]: [() => input.limit !== void 0, () => (input[_l].toString())],
|
|
439
440
|
[_o]: [() => input.offset !== void 0, () => (input[_o].toString())],
|
|
@@ -643,6 +644,28 @@ export const se_PinMessageCommand = async (input, context) => {
|
|
|
643
644
|
.b(body);
|
|
644
645
|
return b.build();
|
|
645
646
|
};
|
|
647
|
+
export const se_QueryChannelsCommand = async (input, context) => {
|
|
648
|
+
const b = rb(input, context);
|
|
649
|
+
const headers = {
|
|
650
|
+
'content-type': 'application/json',
|
|
651
|
+
};
|
|
652
|
+
b.bp("/v2/conversations/query-channels");
|
|
653
|
+
const query = map({
|
|
654
|
+
[_co]: [, input[_cI]],
|
|
655
|
+
[_u]: [, input[_uI]],
|
|
656
|
+
[_l]: [() => input.limit !== void 0, () => (input[_l].toString())],
|
|
657
|
+
[_o]: [() => input.offset !== void 0, () => (input[_o].toString())],
|
|
658
|
+
});
|
|
659
|
+
let body;
|
|
660
|
+
body = JSON.stringify(take(input, {
|
|
661
|
+
'query': _ => _json(_),
|
|
662
|
+
}));
|
|
663
|
+
b.m("POST")
|
|
664
|
+
.h(headers)
|
|
665
|
+
.q(query)
|
|
666
|
+
.b(body);
|
|
667
|
+
return b.build();
|
|
668
|
+
};
|
|
646
669
|
export const se_ScheduleExternalFlagAdjustmentJobCommand = async (input, context) => {
|
|
647
670
|
const b = rb(input, context);
|
|
648
671
|
const headers = {
|
|
@@ -1457,6 +1480,20 @@ export const de_PinMessageCommand = async (output, context) => {
|
|
|
1457
1480
|
await collectBody(output.body, context);
|
|
1458
1481
|
return contents;
|
|
1459
1482
|
};
|
|
1483
|
+
export const de_QueryChannelsCommand = async (output, context) => {
|
|
1484
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1485
|
+
return de_CommandError(output, context);
|
|
1486
|
+
}
|
|
1487
|
+
const contents = map({
|
|
1488
|
+
$metadata: deserializeMetadata(output),
|
|
1489
|
+
});
|
|
1490
|
+
const data = __expectNonNull((__expectObject(await parseBody(output.body, context))), "body");
|
|
1491
|
+
const doc = take(data, {
|
|
1492
|
+
'channels': _json,
|
|
1493
|
+
});
|
|
1494
|
+
Object.assign(contents, doc);
|
|
1495
|
+
return contents;
|
|
1496
|
+
};
|
|
1460
1497
|
export const de_ScheduleExternalFlagAdjustmentJobCommand = async (output, context) => {
|
|
1461
1498
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1462
1499
|
return de_CommandError(output, context);
|
|
@@ -1997,6 +2034,8 @@ const isSerializableHeaderValue = (value) => value !== undefined &&
|
|
|
1997
2034
|
value.length != 0) &&
|
|
1998
2035
|
(!Object.getOwnPropertyNames(value).includes("size") || value.size != 0);
|
|
1999
2036
|
const _c = "category";
|
|
2037
|
+
const _cI = "companyId";
|
|
2038
|
+
const _co = "company";
|
|
2000
2039
|
const _d = "download";
|
|
2001
2040
|
const _f = "force";
|
|
2002
2041
|
const _l = "limit";
|
|
@@ -36,6 +36,7 @@ import { PartialUpdateChannelCommandInput, PartialUpdateChannelCommandOutput } f
|
|
|
36
36
|
import { PartialUpdateMessageCommandInput, PartialUpdateMessageCommandOutput } from "./commands/PartialUpdateMessageCommand";
|
|
37
37
|
import { PinChannelCommandInput, PinChannelCommandOutput } from "./commands/PinChannelCommand";
|
|
38
38
|
import { PinMessageCommandInput, PinMessageCommandOutput } from "./commands/PinMessageCommand";
|
|
39
|
+
import { QueryChannelsCommandInput, QueryChannelsCommandOutput } from "./commands/QueryChannelsCommand";
|
|
39
40
|
import { ScheduleExternalFlagAdjustmentJobCommandInput, ScheduleExternalFlagAdjustmentJobCommandOutput } from "./commands/ScheduleExternalFlagAdjustmentJobCommand";
|
|
40
41
|
import { SendActionTriggerResultCommandInput, SendActionTriggerResultCommandOutput } from "./commands/SendActionTriggerResultCommand";
|
|
41
42
|
import { SendGiphyCommandInput, SendGiphyCommandOutput } from "./commands/SendGiphyCommand";
|
|
@@ -284,6 +285,13 @@ export interface Conversations {
|
|
|
284
285
|
pinMessage(args: PinMessageCommandInput, options?: __HttpHandlerOptions): Promise<PinMessageCommandOutput>;
|
|
285
286
|
pinMessage(args: PinMessageCommandInput, cb: (err: any, data?: PinMessageCommandOutput) => void): void;
|
|
286
287
|
pinMessage(args: PinMessageCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PinMessageCommandOutput) => void): void;
|
|
288
|
+
/**
|
|
289
|
+
* @see {@link QueryChannelsCommand}
|
|
290
|
+
*/
|
|
291
|
+
queryChannels(): Promise<QueryChannelsCommandOutput>;
|
|
292
|
+
queryChannels(args: QueryChannelsCommandInput, options?: __HttpHandlerOptions): Promise<QueryChannelsCommandOutput>;
|
|
293
|
+
queryChannels(args: QueryChannelsCommandInput, cb: (err: any, data?: QueryChannelsCommandOutput) => void): void;
|
|
294
|
+
queryChannels(args: QueryChannelsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: QueryChannelsCommandOutput) => void): void;
|
|
287
295
|
/**
|
|
288
296
|
* @see {@link ScheduleExternalFlagAdjustmentJobCommand}
|
|
289
297
|
*/
|
|
@@ -35,6 +35,7 @@ import { PartialUpdateChannelCommandInput, PartialUpdateChannelCommandOutput } f
|
|
|
35
35
|
import { PartialUpdateMessageCommandInput, PartialUpdateMessageCommandOutput } from "./commands/PartialUpdateMessageCommand";
|
|
36
36
|
import { PinChannelCommandInput, PinChannelCommandOutput } from "./commands/PinChannelCommand";
|
|
37
37
|
import { PinMessageCommandInput, PinMessageCommandOutput } from "./commands/PinMessageCommand";
|
|
38
|
+
import { QueryChannelsCommandInput, QueryChannelsCommandOutput } from "./commands/QueryChannelsCommand";
|
|
38
39
|
import { ScheduleExternalFlagAdjustmentJobCommandInput, ScheduleExternalFlagAdjustmentJobCommandOutput } from "./commands/ScheduleExternalFlagAdjustmentJobCommand";
|
|
39
40
|
import { SendActionTriggerResultCommandInput, SendActionTriggerResultCommandOutput } from "./commands/SendActionTriggerResultCommand";
|
|
40
41
|
import { SendGiphyCommandInput, SendGiphyCommandOutput } from "./commands/SendGiphyCommand";
|
|
@@ -63,11 +64,11 @@ export { __Client };
|
|
|
63
64
|
/**
|
|
64
65
|
* @public
|
|
65
66
|
*/
|
|
66
|
-
export type ServiceInputTypes = AddChannelMemberCommandInput | AddChannelMembersCommandInput | CreateGroupChannelCommandInput | CreateInboxTagCommandInput | CreateKiteChannelCommandInput | DeleteChannelCommandInput | DeleteChannelMemberCommandInput | DeleteInboxTagCommandInput | DeleteMessageCommandInput | DeleteMessageReactionCommandInput | DescribeEventCommandInput | GetActionTriggerResultCommandInput | GetChannelCommandInput | GetChannelMemberCommandInput | GetDirectChannelIdCommandInput | GetFilePresignedDownloadUrlCommandInput | GetInboxStateCommandInput | GetMessageCommandInput | GetOrCreateDirectChannelCommandInput | GetUploadedFileInfoCommandInput | HideChannelCommandInput | InviteCommandInput | JoinChannelCommandInput | LeaveChannelCommandInput | ListChannelMembersCommandInput | ListChannelsCommandInput | ListInboxTaggedChannelsCommandInput | ListInboxTagsCommandInput | ListMessageReactionsCommandInput | ListMessagesCommandInput | ListPinnedMessagesCommandInput | MarkReadCommandInput | MarkUnreadCommandInput | PartialUpdateChannelCommandInput | PartialUpdateMessageCommandInput | PinChannelCommandInput | PinMessageCommandInput | ScheduleExternalFlagAdjustmentJobCommandInput | SendActionTriggerResultCommandInput | SendGiphyCommandInput | SendMessageCommandInput | SendMessageReactionCommandInput | SendTypingStartCommandInput | SendTypingStopCommandInput | ShowChannelCommandInput | TagChannelCommandInput | TriggerMessageActionCommandInput | UnpinChannelCommandInput | UnpinMessageCommandInput | UntagChannelCommandInput | UpdateChannelCommandInput | UpdateInboxTagCommandInput | UpdateMessageCommandInput | UploadFileCommandInput;
|
|
67
|
+
export type ServiceInputTypes = AddChannelMemberCommandInput | AddChannelMembersCommandInput | CreateGroupChannelCommandInput | CreateInboxTagCommandInput | CreateKiteChannelCommandInput | DeleteChannelCommandInput | DeleteChannelMemberCommandInput | DeleteInboxTagCommandInput | DeleteMessageCommandInput | DeleteMessageReactionCommandInput | DescribeEventCommandInput | GetActionTriggerResultCommandInput | GetChannelCommandInput | GetChannelMemberCommandInput | GetDirectChannelIdCommandInput | GetFilePresignedDownloadUrlCommandInput | GetInboxStateCommandInput | GetMessageCommandInput | GetOrCreateDirectChannelCommandInput | GetUploadedFileInfoCommandInput | HideChannelCommandInput | InviteCommandInput | JoinChannelCommandInput | LeaveChannelCommandInput | ListChannelMembersCommandInput | ListChannelsCommandInput | ListInboxTaggedChannelsCommandInput | ListInboxTagsCommandInput | ListMessageReactionsCommandInput | ListMessagesCommandInput | ListPinnedMessagesCommandInput | MarkReadCommandInput | MarkUnreadCommandInput | PartialUpdateChannelCommandInput | PartialUpdateMessageCommandInput | PinChannelCommandInput | PinMessageCommandInput | QueryChannelsCommandInput | ScheduleExternalFlagAdjustmentJobCommandInput | SendActionTriggerResultCommandInput | SendGiphyCommandInput | SendMessageCommandInput | SendMessageReactionCommandInput | SendTypingStartCommandInput | SendTypingStopCommandInput | ShowChannelCommandInput | TagChannelCommandInput | TriggerMessageActionCommandInput | UnpinChannelCommandInput | UnpinMessageCommandInput | UntagChannelCommandInput | UpdateChannelCommandInput | UpdateInboxTagCommandInput | UpdateMessageCommandInput | UploadFileCommandInput;
|
|
67
68
|
/**
|
|
68
69
|
* @public
|
|
69
70
|
*/
|
|
70
|
-
export type ServiceOutputTypes = AddChannelMemberCommandOutput | AddChannelMembersCommandOutput | CreateGroupChannelCommandOutput | CreateInboxTagCommandOutput | CreateKiteChannelCommandOutput | DeleteChannelCommandOutput | DeleteChannelMemberCommandOutput | DeleteInboxTagCommandOutput | DeleteMessageCommandOutput | DeleteMessageReactionCommandOutput | DescribeEventCommandOutput | GetActionTriggerResultCommandOutput | GetChannelCommandOutput | GetChannelMemberCommandOutput | GetDirectChannelIdCommandOutput | GetFilePresignedDownloadUrlCommandOutput | GetInboxStateCommandOutput | GetMessageCommandOutput | GetOrCreateDirectChannelCommandOutput | GetUploadedFileInfoCommandOutput | HideChannelCommandOutput | InviteCommandOutput | JoinChannelCommandOutput | LeaveChannelCommandOutput | ListChannelMembersCommandOutput | ListChannelsCommandOutput | ListInboxTaggedChannelsCommandOutput | ListInboxTagsCommandOutput | ListMessageReactionsCommandOutput | ListMessagesCommandOutput | ListPinnedMessagesCommandOutput | MarkReadCommandOutput | MarkUnreadCommandOutput | PartialUpdateChannelCommandOutput | PartialUpdateMessageCommandOutput | PinChannelCommandOutput | PinMessageCommandOutput | ScheduleExternalFlagAdjustmentJobCommandOutput | SendActionTriggerResultCommandOutput | SendGiphyCommandOutput | SendMessageCommandOutput | SendMessageReactionCommandOutput | SendTypingStartCommandOutput | SendTypingStopCommandOutput | ShowChannelCommandOutput | TagChannelCommandOutput | TriggerMessageActionCommandOutput | UnpinChannelCommandOutput | UnpinMessageCommandOutput | UntagChannelCommandOutput | UpdateChannelCommandOutput | UpdateInboxTagCommandOutput | UpdateMessageCommandOutput | UploadFileCommandOutput;
|
|
71
|
+
export type ServiceOutputTypes = AddChannelMemberCommandOutput | AddChannelMembersCommandOutput | CreateGroupChannelCommandOutput | CreateInboxTagCommandOutput | CreateKiteChannelCommandOutput | DeleteChannelCommandOutput | DeleteChannelMemberCommandOutput | DeleteInboxTagCommandOutput | DeleteMessageCommandOutput | DeleteMessageReactionCommandOutput | DescribeEventCommandOutput | GetActionTriggerResultCommandOutput | GetChannelCommandOutput | GetChannelMemberCommandOutput | GetDirectChannelIdCommandOutput | GetFilePresignedDownloadUrlCommandOutput | GetInboxStateCommandOutput | GetMessageCommandOutput | GetOrCreateDirectChannelCommandOutput | GetUploadedFileInfoCommandOutput | HideChannelCommandOutput | InviteCommandOutput | JoinChannelCommandOutput | LeaveChannelCommandOutput | ListChannelMembersCommandOutput | ListChannelsCommandOutput | ListInboxTaggedChannelsCommandOutput | ListInboxTagsCommandOutput | ListMessageReactionsCommandOutput | ListMessagesCommandOutput | ListPinnedMessagesCommandOutput | MarkReadCommandOutput | MarkUnreadCommandOutput | PartialUpdateChannelCommandOutput | PartialUpdateMessageCommandOutput | PinChannelCommandOutput | PinMessageCommandOutput | QueryChannelsCommandOutput | ScheduleExternalFlagAdjustmentJobCommandOutput | SendActionTriggerResultCommandOutput | SendGiphyCommandOutput | SendMessageCommandOutput | SendMessageReactionCommandOutput | SendTypingStartCommandOutput | SendTypingStopCommandOutput | ShowChannelCommandOutput | TagChannelCommandOutput | TriggerMessageActionCommandOutput | UnpinChannelCommandOutput | UnpinMessageCommandOutput | UntagChannelCommandOutput | UpdateChannelCommandOutput | UpdateInboxTagCommandOutput | UpdateMessageCommandOutput | UploadFileCommandOutput;
|
|
71
72
|
/**
|
|
72
73
|
* @public
|
|
73
74
|
*/
|
|
@@ -35,6 +35,7 @@ declare const ListChannelsCommand_base: {
|
|
|
35
35
|
* // const { ConversationsClient, ListChannelsCommand } = require("@wildix/xbees-conversations-client"); // CommonJS import
|
|
36
36
|
* const client = new ConversationsClient(config);
|
|
37
37
|
* const input = { // ListChannelsInput
|
|
38
|
+
* companyId: "STRING_VALUE",
|
|
38
39
|
* userId: "STRING_VALUE",
|
|
39
40
|
* limit: Number("int"),
|
|
40
41
|
* offset: Number("int"),
|
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
import { ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConversationsClient";
|
|
2
|
+
import { QueryChannelsInput, QueryChannelsOutput } from "../models/models_0";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link QueryChannelsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface QueryChannelsCommandInput extends QueryChannelsInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link QueryChannelsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface QueryChannelsCommandOutput extends QueryChannelsOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const QueryChannelsCommand_base: {
|
|
25
|
+
new (input: QueryChannelsCommandInput): import("@smithy/smithy-client").CommandImpl<QueryChannelsCommandInput, QueryChannelsCommandOutput, ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (...[input]: [] | [QueryChannelsCommandInput]): import("@smithy/smithy-client").CommandImpl<QueryChannelsCommandInput, QueryChannelsCommandOutput, ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Query channels matched specified query. Allows pagination using limit and offset parameters. Sorted by last message in the channel.
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { ConversationsClient, QueryChannelsCommand } from "@wildix/xbees-conversations-client"; // ES Modules import
|
|
35
|
+
* // const { ConversationsClient, QueryChannelsCommand } = require("@wildix/xbees-conversations-client"); // CommonJS import
|
|
36
|
+
* const client = new ConversationsClient(config);
|
|
37
|
+
* const input = { // QueryChannelsInput
|
|
38
|
+
* companyId: "STRING_VALUE",
|
|
39
|
+
* userId: "STRING_VALUE",
|
|
40
|
+
* query: { // ChannelsQuery
|
|
41
|
+
* ids: [ // ChannelsIdList
|
|
42
|
+
* "STRING_VALUE",
|
|
43
|
+
* ],
|
|
44
|
+
* },
|
|
45
|
+
* limit: Number("int"),
|
|
46
|
+
* offset: Number("int"),
|
|
47
|
+
* };
|
|
48
|
+
* const command = new QueryChannelsCommand(input);
|
|
49
|
+
* const response = await client.send(command);
|
|
50
|
+
* // { // QueryChannelsOutput
|
|
51
|
+
* // channels: [ // ChannelsList // required
|
|
52
|
+
* // { // Channel
|
|
53
|
+
* // subject: "STRING_VALUE",
|
|
54
|
+
* // description: "STRING_VALUE",
|
|
55
|
+
* // picture: "STRING_VALUE",
|
|
56
|
+
* // pictureColor: "STRING_VALUE",
|
|
57
|
+
* // access: "private" || "public",
|
|
58
|
+
* // company: "STRING_VALUE",
|
|
59
|
+
* // context: { // ChannelContext
|
|
60
|
+
* // source: "kite",
|
|
61
|
+
* // target: "STRING_VALUE",
|
|
62
|
+
* // events: [ // ChannelContextEventList
|
|
63
|
+
* // { // ChannelContextEvent
|
|
64
|
+
* // id: "STRING_VALUE",
|
|
65
|
+
* // owner: "STRING_VALUE",
|
|
66
|
+
* // start: "STRING_VALUE",
|
|
67
|
+
* // end: "STRING_VALUE",
|
|
68
|
+
* // summary: "STRING_VALUE",
|
|
69
|
+
* // attendees: [ // ChannelContextEventAttendeeList
|
|
70
|
+
* // { // ChannelContextEventAttendee
|
|
71
|
+
* // email: "STRING_VALUE", // required
|
|
72
|
+
* // name: "STRING_VALUE",
|
|
73
|
+
* // status: "accepted" || "tentative" || "declined" || "none", // required
|
|
74
|
+
* // },
|
|
75
|
+
* // ],
|
|
76
|
+
* // },
|
|
77
|
+
* // ],
|
|
78
|
+
* // },
|
|
79
|
+
* // kite: true || false,
|
|
80
|
+
* // kiteTarget: "STRING_VALUE",
|
|
81
|
+
* // kiteVariant: "STRING_VALUE",
|
|
82
|
+
* // kiteAssign: "STRING_VALUE",
|
|
83
|
+
* // kiteServiceName: "STRING_VALUE",
|
|
84
|
+
* // kiteDefaultSubject: "STRING_VALUE",
|
|
85
|
+
* // service: "STRING_VALUE",
|
|
86
|
+
* // serviceTitle: "STRING_VALUE",
|
|
87
|
+
* // serviceRecipient: "STRING_VALUE",
|
|
88
|
+
* // assignee: { // User
|
|
89
|
+
* // id: "STRING_VALUE", // required
|
|
90
|
+
* // name: "STRING_VALUE",
|
|
91
|
+
* // email: "STRING_VALUE",
|
|
92
|
+
* // phone: "STRING_VALUE",
|
|
93
|
+
* // picture: "STRING_VALUE",
|
|
94
|
+
* // locale: "STRING_VALUE",
|
|
95
|
+
* // timeZone: "STRING_VALUE",
|
|
96
|
+
* // company: "STRING_VALUE",
|
|
97
|
+
* // bot: true || false,
|
|
98
|
+
* // pbxDomain: "STRING_VALUE",
|
|
99
|
+
* // pbxPort: "STRING_VALUE",
|
|
100
|
+
* // pbxExtension: "STRING_VALUE",
|
|
101
|
+
* // pbxSerial: "STRING_VALUE",
|
|
102
|
+
* // pbxUserId: "STRING_VALUE",
|
|
103
|
+
* // createdAt: "STRING_VALUE",
|
|
104
|
+
* // updatedAt: "STRING_VALUE",
|
|
105
|
+
* // },
|
|
106
|
+
* // telephony: true || false,
|
|
107
|
+
* // sms: true || false,
|
|
108
|
+
* // mms: true || false,
|
|
109
|
+
* // whatsapp: true || false,
|
|
110
|
+
* // whatsappStatus: "24h_channel_closed",
|
|
111
|
+
* // broadcast: true || false,
|
|
112
|
+
* // external: true || false,
|
|
113
|
+
* // channelId: "STRING_VALUE", // required
|
|
114
|
+
* // channelType: "direct" || "group", // required
|
|
115
|
+
* // memberCount: Number("int"), // required
|
|
116
|
+
* // createdAt: "STRING_VALUE", // required
|
|
117
|
+
* // createdBy: "STRING_VALUE", // required
|
|
118
|
+
* // updatedAt: "STRING_VALUE",
|
|
119
|
+
* // },
|
|
120
|
+
* // ],
|
|
121
|
+
* // };
|
|
122
|
+
*
|
|
123
|
+
* ```
|
|
124
|
+
*
|
|
125
|
+
* @param QueryChannelsCommandInput - {@link QueryChannelsCommandInput}
|
|
126
|
+
* @returns {@link QueryChannelsCommandOutput}
|
|
127
|
+
* @see {@link QueryChannelsCommandInput} for command's `input` shape.
|
|
128
|
+
* @see {@link QueryChannelsCommandOutput} for command's `response` shape.
|
|
129
|
+
* @see {@link ConversationsClientResolvedConfig | config} for ConversationsClient's `config` shape.
|
|
130
|
+
*
|
|
131
|
+
* @throws {@link ValidationException} (client fault)
|
|
132
|
+
*
|
|
133
|
+
* @throws {@link ForbiddenException} (client fault)
|
|
134
|
+
*
|
|
135
|
+
* @throws {@link RateLimitExceededException} (client fault)
|
|
136
|
+
*
|
|
137
|
+
* @throws {@link ConversationsServiceException}
|
|
138
|
+
* <p>Base exception class for all service exceptions from Conversations service.</p>
|
|
139
|
+
*
|
|
140
|
+
* @public
|
|
141
|
+
*/
|
|
142
|
+
export declare class QueryChannelsCommand extends QueryChannelsCommand_base {
|
|
143
|
+
}
|
|
@@ -35,6 +35,7 @@ export * from "./PartialUpdateChannelCommand";
|
|
|
35
35
|
export * from "./PartialUpdateMessageCommand";
|
|
36
36
|
export * from "./PinChannelCommand";
|
|
37
37
|
export * from "./PinMessageCommand";
|
|
38
|
+
export * from "./QueryChannelsCommand";
|
|
38
39
|
export * from "./ScheduleExternalFlagAdjustmentJobCommand";
|
|
39
40
|
export * from "./SendActionTriggerResultCommand";
|
|
40
41
|
export * from "./SendGiphyCommand";
|
|
@@ -509,6 +509,12 @@ export declare class ChannelAlreadyExistException extends __BaseException {
|
|
|
509
509
|
*/
|
|
510
510
|
constructor(opts: __ExceptionOptionType<ChannelAlreadyExistException, __BaseException>);
|
|
511
511
|
}
|
|
512
|
+
/**
|
|
513
|
+
* @public
|
|
514
|
+
*/
|
|
515
|
+
export interface ChannelsQuery {
|
|
516
|
+
ids?: (string)[];
|
|
517
|
+
}
|
|
512
518
|
/**
|
|
513
519
|
* @public
|
|
514
520
|
*/
|
|
@@ -1655,7 +1661,12 @@ export interface ListChannelMembersOutput {
|
|
|
1655
1661
|
*/
|
|
1656
1662
|
export interface ListChannelsInput {
|
|
1657
1663
|
/**
|
|
1658
|
-
* The unique identifier of the
|
|
1664
|
+
* The unique identifier of the tenant when a service token is used.
|
|
1665
|
+
* @public
|
|
1666
|
+
*/
|
|
1667
|
+
companyId?: string;
|
|
1668
|
+
/**
|
|
1669
|
+
* The unique identifier of the user when a service or PBX token is used.
|
|
1659
1670
|
* @public
|
|
1660
1671
|
*/
|
|
1661
1672
|
userId?: string;
|
|
@@ -2115,6 +2126,42 @@ export interface PinMessageInput {
|
|
|
2115
2126
|
*/
|
|
2116
2127
|
export interface PinMessageOutput {
|
|
2117
2128
|
}
|
|
2129
|
+
/**
|
|
2130
|
+
* @public
|
|
2131
|
+
*/
|
|
2132
|
+
export interface QueryChannelsInput {
|
|
2133
|
+
/**
|
|
2134
|
+
* The unique identifier of the tenant when a service token is used.
|
|
2135
|
+
* @public
|
|
2136
|
+
*/
|
|
2137
|
+
companyId?: string;
|
|
2138
|
+
/**
|
|
2139
|
+
* The unique identifier of the user when a service or PBX token is used.
|
|
2140
|
+
* @public
|
|
2141
|
+
*/
|
|
2142
|
+
userId?: string;
|
|
2143
|
+
query?: ChannelsQuery;
|
|
2144
|
+
/**
|
|
2145
|
+
* The maximum number of channels to return. The value must be between 1 and 30.
|
|
2146
|
+
* @public
|
|
2147
|
+
*/
|
|
2148
|
+
limit?: number;
|
|
2149
|
+
/**
|
|
2150
|
+
* The offset from which to start listing channels. The value must be between 0 and 1000.
|
|
2151
|
+
* @public
|
|
2152
|
+
*/
|
|
2153
|
+
offset?: number;
|
|
2154
|
+
}
|
|
2155
|
+
/**
|
|
2156
|
+
* @public
|
|
2157
|
+
*/
|
|
2158
|
+
export interface QueryChannelsOutput {
|
|
2159
|
+
/**
|
|
2160
|
+
* A list of channels matched the query.
|
|
2161
|
+
* @public
|
|
2162
|
+
*/
|
|
2163
|
+
channels: (Channel)[];
|
|
2164
|
+
}
|
|
2118
2165
|
/**
|
|
2119
2166
|
* @public
|
|
2120
2167
|
*/
|
|
@@ -35,6 +35,7 @@ import { PartialUpdateChannelCommandInput, PartialUpdateChannelCommandOutput } f
|
|
|
35
35
|
import { PartialUpdateMessageCommandInput, PartialUpdateMessageCommandOutput } from "../commands/PartialUpdateMessageCommand";
|
|
36
36
|
import { PinChannelCommandInput, PinChannelCommandOutput } from "../commands/PinChannelCommand";
|
|
37
37
|
import { PinMessageCommandInput, PinMessageCommandOutput } from "../commands/PinMessageCommand";
|
|
38
|
+
import { QueryChannelsCommandInput, QueryChannelsCommandOutput } from "../commands/QueryChannelsCommand";
|
|
38
39
|
import { ScheduleExternalFlagAdjustmentJobCommandInput, ScheduleExternalFlagAdjustmentJobCommandOutput } from "../commands/ScheduleExternalFlagAdjustmentJobCommand";
|
|
39
40
|
import { SendActionTriggerResultCommandInput, SendActionTriggerResultCommandOutput } from "../commands/SendActionTriggerResultCommand";
|
|
40
41
|
import { SendGiphyCommandInput, SendGiphyCommandOutput } from "../commands/SendGiphyCommand";
|
|
@@ -202,6 +203,10 @@ export declare const se_PinChannelCommand: (input: PinChannelCommandInput, conte
|
|
|
202
203
|
* serializeAws_restJson1PinMessageCommand
|
|
203
204
|
*/
|
|
204
205
|
export declare const se_PinMessageCommand: (input: PinMessageCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
206
|
+
/**
|
|
207
|
+
* serializeAws_restJson1QueryChannelsCommand
|
|
208
|
+
*/
|
|
209
|
+
export declare const se_QueryChannelsCommand: (input: QueryChannelsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
205
210
|
/**
|
|
206
211
|
* serializeAws_restJson1ScheduleExternalFlagAdjustmentJobCommand
|
|
207
212
|
*/
|
|
@@ -418,6 +423,10 @@ export declare const de_PinChannelCommand: (output: __HttpResponse, context: __S
|
|
|
418
423
|
* deserializeAws_restJson1PinMessageCommand
|
|
419
424
|
*/
|
|
420
425
|
export declare const de_PinMessageCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<PinMessageCommandOutput>;
|
|
426
|
+
/**
|
|
427
|
+
* deserializeAws_restJson1QueryChannelsCommand
|
|
428
|
+
*/
|
|
429
|
+
export declare const de_QueryChannelsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<QueryChannelsCommandOutput>;
|
|
421
430
|
/**
|
|
422
431
|
* deserializeAws_restJson1ScheduleExternalFlagAdjustmentJobCommand
|
|
423
432
|
*/
|
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.7",
|
|
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",
|