@wildix/xbees-conversations-client 1.1.9 → 1.1.11
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/GetTokenCommand.js +21 -0
- package/dist-cjs/commands/index.js +1 -0
- package/dist-cjs/protocols/Aws_restJson1.js +33 -3
- package/dist-es/Conversations.js +2 -0
- package/dist-es/commands/GetTokenCommand.js +17 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +29 -1
- package/dist-types/Conversations.d.ts +8 -0
- package/dist-types/ConversationsClient.d.ts +3 -2
- package/dist-types/commands/CreateGroupChannelCommand.d.ts +2 -2
- package/dist-types/commands/CreateKiteChannelCommand.d.ts +1 -1
- package/dist-types/commands/DescribeEventCommand.d.ts +5 -5
- package/dist-types/commands/GetChannelCommand.d.ts +1 -1
- package/dist-types/commands/GetOrCreateDirectChannelCommand.d.ts +1 -1
- package/dist-types/commands/GetTokenCommand.d.ts +65 -0
- package/dist-types/commands/JoinChannelCommand.d.ts +1 -1
- package/dist-types/commands/ListChannelsCommand.d.ts +1 -1
- package/dist-types/commands/PartialUpdateChannelCommand.d.ts +2 -2
- package/dist-types/commands/QueryChannelsCommand.d.ts +1 -1
- package/dist-types/commands/UpdateChannelCommand.d.ts +2 -2
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +21 -1
- package/dist-types/protocols/Aws_restJson1.d.ts +9 -0
- package/dist-types/runtimeConfig.browser.d.ts +0 -1
- package/dist-types/runtimeConfig.d.ts +0 -1
- package/dist-types/runtimeConfig.native.d.ts +0 -1
- package/package.json +1 -1
|
@@ -21,6 +21,7 @@ const GetFilePresignedDownloadUrlCommand_1 = require("./commands/GetFilePresigne
|
|
|
21
21
|
const GetInboxStateCommand_1 = require("./commands/GetInboxStateCommand");
|
|
22
22
|
const GetMessageCommand_1 = require("./commands/GetMessageCommand");
|
|
23
23
|
const GetOrCreateDirectChannelCommand_1 = require("./commands/GetOrCreateDirectChannelCommand");
|
|
24
|
+
const GetTokenCommand_1 = require("./commands/GetTokenCommand");
|
|
24
25
|
const GetUploadedFileInfoCommand_1 = require("./commands/GetUploadedFileInfoCommand");
|
|
25
26
|
const HideChannelCommand_1 = require("./commands/HideChannelCommand");
|
|
26
27
|
const InviteCommand_1 = require("./commands/InviteCommand");
|
|
@@ -78,6 +79,7 @@ const commands = {
|
|
|
78
79
|
GetInboxStateCommand: GetInboxStateCommand_1.GetInboxStateCommand,
|
|
79
80
|
GetMessageCommand: GetMessageCommand_1.GetMessageCommand,
|
|
80
81
|
GetOrCreateDirectChannelCommand: GetOrCreateDirectChannelCommand_1.GetOrCreateDirectChannelCommand,
|
|
82
|
+
GetTokenCommand: GetTokenCommand_1.GetTokenCommand,
|
|
81
83
|
GetUploadedFileInfoCommand: GetUploadedFileInfoCommand_1.GetUploadedFileInfoCommand,
|
|
82
84
|
HideChannelCommand: HideChannelCommand_1.HideChannelCommand,
|
|
83
85
|
InviteCommand: InviteCommand_1.InviteCommand,
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetTokenCommand = 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 GetTokenCommand 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", "GetToken", {})
|
|
15
|
+
.n("ConversationsClient", "GetTokenCommand")
|
|
16
|
+
.f(void 0, void 0)
|
|
17
|
+
.ser(Aws_restJson1_1.se_GetTokenCommand)
|
|
18
|
+
.de(Aws_restJson1_1.de_GetTokenCommand)
|
|
19
|
+
.build() {
|
|
20
|
+
}
|
|
21
|
+
exports.GetTokenCommand = GetTokenCommand;
|
|
@@ -20,6 +20,7 @@ tslib_1.__exportStar(require("./GetFilePresignedDownloadUrlCommand"), exports);
|
|
|
20
20
|
tslib_1.__exportStar(require("./GetInboxStateCommand"), exports);
|
|
21
21
|
tslib_1.__exportStar(require("./GetMessageCommand"), exports);
|
|
22
22
|
tslib_1.__exportStar(require("./GetOrCreateDirectChannelCommand"), exports);
|
|
23
|
+
tslib_1.__exportStar(require("./GetTokenCommand"), exports);
|
|
23
24
|
tslib_1.__exportStar(require("./GetUploadedFileInfoCommand"), exports);
|
|
24
25
|
tslib_1.__exportStar(require("./HideChannelCommand"), exports);
|
|
25
26
|
tslib_1.__exportStar(require("./InviteCommand"), 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 = exports.de_TagChannelCommand = exports.de_ShowChannelCommand = void 0;
|
|
3
|
+
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_GetTokenCommand = 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_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_GetTokenCommand = 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 = exports.se_UnpinMessageCommand = 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 = exports.de_SendTypingStopCommand = exports.de_SendTypingStartCommand = 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");
|
|
@@ -352,6 +352,20 @@ const se_GetOrCreateDirectChannelCommand = async (input, context) => {
|
|
|
352
352
|
return b.build();
|
|
353
353
|
};
|
|
354
354
|
exports.se_GetOrCreateDirectChannelCommand = se_GetOrCreateDirectChannelCommand;
|
|
355
|
+
const se_GetTokenCommand = async (input, context) => {
|
|
356
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
357
|
+
const headers = {
|
|
358
|
+
'content-type': 'application/json',
|
|
359
|
+
};
|
|
360
|
+
b.bp("/v2/conversations/token");
|
|
361
|
+
let body;
|
|
362
|
+
body = "";
|
|
363
|
+
b.m("GET")
|
|
364
|
+
.h(headers)
|
|
365
|
+
.b(body);
|
|
366
|
+
return b.build();
|
|
367
|
+
};
|
|
368
|
+
exports.se_GetTokenCommand = se_GetTokenCommand;
|
|
355
369
|
const se_GetUploadedFileInfoCommand = async (input, context) => {
|
|
356
370
|
const b = (0, core_1.requestBuilder)(input, context);
|
|
357
371
|
const headers = {};
|
|
@@ -1332,6 +1346,22 @@ const de_GetOrCreateDirectChannelCommand = async (output, context) => {
|
|
|
1332
1346
|
return contents;
|
|
1333
1347
|
};
|
|
1334
1348
|
exports.de_GetOrCreateDirectChannelCommand = de_GetOrCreateDirectChannelCommand;
|
|
1349
|
+
const de_GetTokenCommand = async (output, context) => {
|
|
1350
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1351
|
+
return de_CommandError(output, context);
|
|
1352
|
+
}
|
|
1353
|
+
const contents = (0, smithy_client_1.map)({
|
|
1354
|
+
$metadata: deserializeMetadata(output),
|
|
1355
|
+
});
|
|
1356
|
+
const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await parseBody(output.body, context))), "body");
|
|
1357
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
1358
|
+
'expDate': smithy_client_1.expectInt32,
|
|
1359
|
+
'token': smithy_client_1.expectString,
|
|
1360
|
+
});
|
|
1361
|
+
Object.assign(contents, doc);
|
|
1362
|
+
return contents;
|
|
1363
|
+
};
|
|
1364
|
+
exports.de_GetTokenCommand = de_GetTokenCommand;
|
|
1335
1365
|
const de_GetUploadedFileInfoCommand = async (output, context) => {
|
|
1336
1366
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1337
1367
|
return de_CommandError(output, context);
|
package/dist-es/Conversations.js
CHANGED
|
@@ -18,6 +18,7 @@ import { GetFilePresignedDownloadUrlCommand, } from "./commands/GetFilePresigned
|
|
|
18
18
|
import { GetInboxStateCommand, } from "./commands/GetInboxStateCommand";
|
|
19
19
|
import { GetMessageCommand, } from "./commands/GetMessageCommand";
|
|
20
20
|
import { GetOrCreateDirectChannelCommand, } from "./commands/GetOrCreateDirectChannelCommand";
|
|
21
|
+
import { GetTokenCommand, } from "./commands/GetTokenCommand";
|
|
21
22
|
import { GetUploadedFileInfoCommand, } from "./commands/GetUploadedFileInfoCommand";
|
|
22
23
|
import { HideChannelCommand, } from "./commands/HideChannelCommand";
|
|
23
24
|
import { InviteCommand, } from "./commands/InviteCommand";
|
|
@@ -75,6 +76,7 @@ const commands = {
|
|
|
75
76
|
GetInboxStateCommand,
|
|
76
77
|
GetMessageCommand,
|
|
77
78
|
GetOrCreateDirectChannelCommand,
|
|
79
|
+
GetTokenCommand,
|
|
78
80
|
GetUploadedFileInfoCommand,
|
|
79
81
|
HideChannelCommand,
|
|
80
82
|
InviteCommand,
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { de_GetTokenCommand, se_GetTokenCommand, } 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 GetTokenCommand extends $Command.classBuilder()
|
|
6
|
+
.m(function (Command, cs, config, o) {
|
|
7
|
+
return [
|
|
8
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
9
|
+
];
|
|
10
|
+
})
|
|
11
|
+
.s("Conversations", "GetToken", {})
|
|
12
|
+
.n("ConversationsClient", "GetTokenCommand")
|
|
13
|
+
.f(void 0, void 0)
|
|
14
|
+
.ser(se_GetTokenCommand)
|
|
15
|
+
.de(de_GetTokenCommand)
|
|
16
|
+
.build() {
|
|
17
|
+
}
|
|
@@ -17,6 +17,7 @@ export * from "./GetFilePresignedDownloadUrlCommand";
|
|
|
17
17
|
export * from "./GetInboxStateCommand";
|
|
18
18
|
export * from "./GetMessageCommand";
|
|
19
19
|
export * from "./GetOrCreateDirectChannelCommand";
|
|
20
|
+
export * from "./GetTokenCommand";
|
|
20
21
|
export * from "./GetUploadedFileInfoCommand";
|
|
21
22
|
export * from "./HideChannelCommand";
|
|
22
23
|
export * from "./InviteCommand";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ConversationsServiceException as __BaseException } from "../models/ConversationsServiceException";
|
|
2
2
|
import { ChannelAlreadyExistException, ChannelNotFoundException, ConversationsServiceException, FileNotFoundException, ForbiddenException, MarkUnreadChannelsLimitReachedException, MemberAlreadyExistException, MemberNotFoundException, MessageActionNotFoundException, MessageNotFoundException, PinnedChannelsLimitReachedException, RateLimitExceededException, TagNotFoundException, TaggedChannelsLimitReachedException, TagsLimitReachedException, TargetNotEligibleException, TargetNotFoundException, TriggerNotFoundException, ValidationException, } from "../models/models_0";
|
|
3
3
|
import { requestBuilder as rb } from "@smithy/core";
|
|
4
|
-
import { decorateServiceException as __decorateServiceException, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, strictParseInt32 as __strictParseInt32, _json, collectBody, map, take, withBaseException, } from "@smithy/smithy-client";
|
|
4
|
+
import { decorateServiceException as __decorateServiceException, expectInt32 as __expectInt32, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, strictParseInt32 as __strictParseInt32, _json, collectBody, map, take, withBaseException, } from "@smithy/smithy-client";
|
|
5
5
|
export const se_AddChannelMemberCommand = async (input, context) => {
|
|
6
6
|
const b = rb(input, context);
|
|
7
7
|
const headers = {
|
|
@@ -328,6 +328,19 @@ export const se_GetOrCreateDirectChannelCommand = async (input, context) => {
|
|
|
328
328
|
.b(body);
|
|
329
329
|
return b.build();
|
|
330
330
|
};
|
|
331
|
+
export const se_GetTokenCommand = async (input, context) => {
|
|
332
|
+
const b = rb(input, context);
|
|
333
|
+
const headers = {
|
|
334
|
+
'content-type': 'application/json',
|
|
335
|
+
};
|
|
336
|
+
b.bp("/v2/conversations/token");
|
|
337
|
+
let body;
|
|
338
|
+
body = "";
|
|
339
|
+
b.m("GET")
|
|
340
|
+
.h(headers)
|
|
341
|
+
.b(body);
|
|
342
|
+
return b.build();
|
|
343
|
+
};
|
|
331
344
|
export const se_GetUploadedFileInfoCommand = async (input, context) => {
|
|
332
345
|
const b = rb(input, context);
|
|
333
346
|
const headers = {};
|
|
@@ -1253,6 +1266,21 @@ export const de_GetOrCreateDirectChannelCommand = async (output, context) => {
|
|
|
1253
1266
|
Object.assign(contents, doc);
|
|
1254
1267
|
return contents;
|
|
1255
1268
|
};
|
|
1269
|
+
export const de_GetTokenCommand = async (output, context) => {
|
|
1270
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1271
|
+
return de_CommandError(output, context);
|
|
1272
|
+
}
|
|
1273
|
+
const contents = map({
|
|
1274
|
+
$metadata: deserializeMetadata(output),
|
|
1275
|
+
});
|
|
1276
|
+
const data = __expectNonNull((__expectObject(await parseBody(output.body, context))), "body");
|
|
1277
|
+
const doc = take(data, {
|
|
1278
|
+
'expDate': __expectInt32,
|
|
1279
|
+
'token': __expectString,
|
|
1280
|
+
});
|
|
1281
|
+
Object.assign(contents, doc);
|
|
1282
|
+
return contents;
|
|
1283
|
+
};
|
|
1256
1284
|
export const de_GetUploadedFileInfoCommand = async (output, context) => {
|
|
1257
1285
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1258
1286
|
return de_CommandError(output, context);
|
|
@@ -18,6 +18,7 @@ import { GetFilePresignedDownloadUrlCommandInput, GetFilePresignedDownloadUrlCom
|
|
|
18
18
|
import { GetInboxStateCommandInput, GetInboxStateCommandOutput } from "./commands/GetInboxStateCommand";
|
|
19
19
|
import { GetMessageCommandInput, GetMessageCommandOutput } from "./commands/GetMessageCommand";
|
|
20
20
|
import { GetOrCreateDirectChannelCommandInput, GetOrCreateDirectChannelCommandOutput } from "./commands/GetOrCreateDirectChannelCommand";
|
|
21
|
+
import { GetTokenCommandInput, GetTokenCommandOutput } from "./commands/GetTokenCommand";
|
|
21
22
|
import { GetUploadedFileInfoCommandInput, GetUploadedFileInfoCommandOutput } from "./commands/GetUploadedFileInfoCommand";
|
|
22
23
|
import { HideChannelCommandInput, HideChannelCommandOutput } from "./commands/HideChannelCommand";
|
|
23
24
|
import { InviteCommandInput, InviteCommandOutput } from "./commands/InviteCommand";
|
|
@@ -175,6 +176,13 @@ export interface Conversations {
|
|
|
175
176
|
getOrCreateDirectChannel(args: GetOrCreateDirectChannelCommandInput, options?: __HttpHandlerOptions): Promise<GetOrCreateDirectChannelCommandOutput>;
|
|
176
177
|
getOrCreateDirectChannel(args: GetOrCreateDirectChannelCommandInput, cb: (err: any, data?: GetOrCreateDirectChannelCommandOutput) => void): void;
|
|
177
178
|
getOrCreateDirectChannel(args: GetOrCreateDirectChannelCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetOrCreateDirectChannelCommandOutput) => void): void;
|
|
179
|
+
/**
|
|
180
|
+
* @see {@link GetTokenCommand}
|
|
181
|
+
*/
|
|
182
|
+
getToken(): Promise<GetTokenCommandOutput>;
|
|
183
|
+
getToken(args: GetTokenCommandInput, options?: __HttpHandlerOptions): Promise<GetTokenCommandOutput>;
|
|
184
|
+
getToken(args: GetTokenCommandInput, cb: (err: any, data?: GetTokenCommandOutput) => void): void;
|
|
185
|
+
getToken(args: GetTokenCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetTokenCommandOutput) => void): void;
|
|
178
186
|
/**
|
|
179
187
|
* @see {@link GetUploadedFileInfoCommand}
|
|
180
188
|
*/
|
|
@@ -17,6 +17,7 @@ import { GetFilePresignedDownloadUrlCommandInput, GetFilePresignedDownloadUrlCom
|
|
|
17
17
|
import { GetInboxStateCommandInput, GetInboxStateCommandOutput } from "./commands/GetInboxStateCommand";
|
|
18
18
|
import { GetMessageCommandInput, GetMessageCommandOutput } from "./commands/GetMessageCommand";
|
|
19
19
|
import { GetOrCreateDirectChannelCommandInput, GetOrCreateDirectChannelCommandOutput } from "./commands/GetOrCreateDirectChannelCommand";
|
|
20
|
+
import { GetTokenCommandInput, GetTokenCommandOutput } from "./commands/GetTokenCommand";
|
|
20
21
|
import { GetUploadedFileInfoCommandInput, GetUploadedFileInfoCommandOutput } from "./commands/GetUploadedFileInfoCommand";
|
|
21
22
|
import { HideChannelCommandInput, HideChannelCommandOutput } from "./commands/HideChannelCommand";
|
|
22
23
|
import { InviteCommandInput, InviteCommandOutput } from "./commands/InviteCommand";
|
|
@@ -64,11 +65,11 @@ export { __Client };
|
|
|
64
65
|
/**
|
|
65
66
|
* @public
|
|
66
67
|
*/
|
|
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;
|
|
68
|
+
export type ServiceInputTypes = AddChannelMemberCommandInput | AddChannelMembersCommandInput | CreateGroupChannelCommandInput | CreateInboxTagCommandInput | CreateKiteChannelCommandInput | DeleteChannelCommandInput | DeleteChannelMemberCommandInput | DeleteInboxTagCommandInput | DeleteMessageCommandInput | DeleteMessageReactionCommandInput | DescribeEventCommandInput | GetActionTriggerResultCommandInput | GetChannelCommandInput | GetChannelMemberCommandInput | GetDirectChannelIdCommandInput | GetFilePresignedDownloadUrlCommandInput | GetInboxStateCommandInput | GetMessageCommandInput | GetOrCreateDirectChannelCommandInput | GetTokenCommandInput | 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;
|
|
68
69
|
/**
|
|
69
70
|
* @public
|
|
70
71
|
*/
|
|
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;
|
|
72
|
+
export type ServiceOutputTypes = AddChannelMemberCommandOutput | AddChannelMembersCommandOutput | CreateGroupChannelCommandOutput | CreateInboxTagCommandOutput | CreateKiteChannelCommandOutput | DeleteChannelCommandOutput | DeleteChannelMemberCommandOutput | DeleteInboxTagCommandOutput | DeleteMessageCommandOutput | DeleteMessageReactionCommandOutput | DescribeEventCommandOutput | GetActionTriggerResultCommandOutput | GetChannelCommandOutput | GetChannelMemberCommandOutput | GetDirectChannelIdCommandOutput | GetFilePresignedDownloadUrlCommandOutput | GetInboxStateCommandOutput | GetMessageCommandOutput | GetOrCreateDirectChannelCommandOutput | GetTokenCommandOutput | 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;
|
|
72
73
|
/**
|
|
73
74
|
* @public
|
|
74
75
|
*/
|
|
@@ -60,7 +60,7 @@ declare const CreateGroupChannelCommand_base: {
|
|
|
60
60
|
* ],
|
|
61
61
|
* },
|
|
62
62
|
* ],
|
|
63
|
-
*
|
|
63
|
+
* ptt: { // ChannelContextPushToTalk
|
|
64
64
|
* broadcastId: "STRING_VALUE",
|
|
65
65
|
* },
|
|
66
66
|
* },
|
|
@@ -107,7 +107,7 @@ declare const CreateGroupChannelCommand_base: {
|
|
|
107
107
|
* // ],
|
|
108
108
|
* // },
|
|
109
109
|
* // ],
|
|
110
|
-
* //
|
|
110
|
+
* // ptt: { // ChannelContextPushToTalk
|
|
111
111
|
* // broadcastId: "STRING_VALUE",
|
|
112
112
|
* // },
|
|
113
113
|
* // },
|
|
@@ -73,7 +73,7 @@ declare const DescribeEventCommand_base: {
|
|
|
73
73
|
* // ],
|
|
74
74
|
* // },
|
|
75
75
|
* // ],
|
|
76
|
-
* //
|
|
76
|
+
* // ptt: { // ChannelContextPushToTalk
|
|
77
77
|
* // broadcastId: "STRING_VALUE",
|
|
78
78
|
* // },
|
|
79
79
|
* // },
|
|
@@ -181,7 +181,7 @@ declare const DescribeEventCommand_base: {
|
|
|
181
181
|
* // ],
|
|
182
182
|
* // },
|
|
183
183
|
* // ],
|
|
184
|
-
* //
|
|
184
|
+
* // ptt: {
|
|
185
185
|
* // broadcastId: "STRING_VALUE",
|
|
186
186
|
* // },
|
|
187
187
|
* // },
|
|
@@ -289,7 +289,7 @@ declare const DescribeEventCommand_base: {
|
|
|
289
289
|
* // ],
|
|
290
290
|
* // },
|
|
291
291
|
* // ],
|
|
292
|
-
* //
|
|
292
|
+
* // ptt: {
|
|
293
293
|
* // broadcastId: "STRING_VALUE",
|
|
294
294
|
* // },
|
|
295
295
|
* // },
|
|
@@ -376,7 +376,7 @@ declare const DescribeEventCommand_base: {
|
|
|
376
376
|
* // ],
|
|
377
377
|
* // },
|
|
378
378
|
* // ],
|
|
379
|
-
* //
|
|
379
|
+
* // ptt: {
|
|
380
380
|
* // broadcastId: "STRING_VALUE",
|
|
381
381
|
* // },
|
|
382
382
|
* // },
|
|
@@ -446,7 +446,7 @@ declare const DescribeEventCommand_base: {
|
|
|
446
446
|
* // ],
|
|
447
447
|
* // },
|
|
448
448
|
* // ],
|
|
449
|
-
* //
|
|
449
|
+
* // ptt: {
|
|
450
450
|
* // broadcastId: "STRING_VALUE",
|
|
451
451
|
* // },
|
|
452
452
|
* // },
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import { ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConversationsClient";
|
|
2
|
+
import { GetTokenInput, GetTokenOutput } 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 GetTokenCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetTokenCommandInput extends GetTokenInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetTokenCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetTokenCommandOutput extends GetTokenOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const GetTokenCommand_base: {
|
|
25
|
+
new (input: GetTokenCommandInput): import("@smithy/smithy-client").CommandImpl<GetTokenCommandInput, GetTokenCommandOutput, ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (...[input]: [] | [GetTokenCommandInput]): import("@smithy/smithy-client").CommandImpl<GetTokenCommandInput, GetTokenCommandOutput, ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Retrieve a GetStream authorization token
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { ConversationsClient, GetTokenCommand } from "@wildix/xbees-conversations-client"; // ES Modules import
|
|
35
|
+
* // const { ConversationsClient, GetTokenCommand } = require("@wildix/xbees-conversations-client"); // CommonJS import
|
|
36
|
+
* const client = new ConversationsClient(config);
|
|
37
|
+
* const input = {};
|
|
38
|
+
* const command = new GetTokenCommand(input);
|
|
39
|
+
* const response = await client.send(command);
|
|
40
|
+
* // { // GetTokenOutput
|
|
41
|
+
* // token: "STRING_VALUE", // required
|
|
42
|
+
* // expDate: Number("int"), // required
|
|
43
|
+
* // };
|
|
44
|
+
*
|
|
45
|
+
* ```
|
|
46
|
+
*
|
|
47
|
+
* @param GetTokenCommandInput - {@link GetTokenCommandInput}
|
|
48
|
+
* @returns {@link GetTokenCommandOutput}
|
|
49
|
+
* @see {@link GetTokenCommandInput} for command's `input` shape.
|
|
50
|
+
* @see {@link GetTokenCommandOutput} for command's `response` shape.
|
|
51
|
+
* @see {@link ConversationsClientResolvedConfig | config} for ConversationsClient's `config` shape.
|
|
52
|
+
*
|
|
53
|
+
* @throws {@link ValidationException} (client fault)
|
|
54
|
+
*
|
|
55
|
+
* @throws {@link ForbiddenException} (client fault)
|
|
56
|
+
*
|
|
57
|
+
* @throws {@link RateLimitExceededException} (client fault)
|
|
58
|
+
*
|
|
59
|
+
* @throws {@link ConversationsServiceException}
|
|
60
|
+
* <p>Base exception class for all service exceptions from Conversations service.</p>
|
|
61
|
+
*
|
|
62
|
+
* @public
|
|
63
|
+
*/
|
|
64
|
+
export declare class GetTokenCommand extends GetTokenCommand_base {
|
|
65
|
+
}
|
|
@@ -64,7 +64,7 @@ declare const PartialUpdateChannelCommand_base: {
|
|
|
64
64
|
* ],
|
|
65
65
|
* },
|
|
66
66
|
* ],
|
|
67
|
-
*
|
|
67
|
+
* ptt: { // ChannelContextPushToTalk
|
|
68
68
|
* broadcastId: "STRING_VALUE",
|
|
69
69
|
* },
|
|
70
70
|
* },
|
|
@@ -102,7 +102,7 @@ declare const PartialUpdateChannelCommand_base: {
|
|
|
102
102
|
* // ],
|
|
103
103
|
* // },
|
|
104
104
|
* // ],
|
|
105
|
-
* //
|
|
105
|
+
* // ptt: { // ChannelContextPushToTalk
|
|
106
106
|
* // broadcastId: "STRING_VALUE",
|
|
107
107
|
* // },
|
|
108
108
|
* // },
|
|
@@ -60,7 +60,7 @@ declare const UpdateChannelCommand_base: {
|
|
|
60
60
|
* ],
|
|
61
61
|
* },
|
|
62
62
|
* ],
|
|
63
|
-
*
|
|
63
|
+
* ptt: { // ChannelContextPushToTalk
|
|
64
64
|
* broadcastId: "STRING_VALUE",
|
|
65
65
|
* },
|
|
66
66
|
* },
|
|
@@ -97,7 +97,7 @@ declare const UpdateChannelCommand_base: {
|
|
|
97
97
|
* // ],
|
|
98
98
|
* // },
|
|
99
99
|
* // ],
|
|
100
|
-
* //
|
|
100
|
+
* // ptt: { // ChannelContextPushToTalk
|
|
101
101
|
* // broadcastId: "STRING_VALUE",
|
|
102
102
|
* // },
|
|
103
103
|
* // },
|
|
@@ -17,6 +17,7 @@ export * from "./GetFilePresignedDownloadUrlCommand";
|
|
|
17
17
|
export * from "./GetInboxStateCommand";
|
|
18
18
|
export * from "./GetMessageCommand";
|
|
19
19
|
export * from "./GetOrCreateDirectChannelCommand";
|
|
20
|
+
export * from "./GetTokenCommand";
|
|
20
21
|
export * from "./GetUploadedFileInfoCommand";
|
|
21
22
|
export * from "./HideChannelCommand";
|
|
22
23
|
export * from "./InviteCommand";
|
|
@@ -453,7 +453,7 @@ export interface ChannelContext {
|
|
|
453
453
|
source?: ChannelContextSource;
|
|
454
454
|
target?: string;
|
|
455
455
|
events?: (ChannelContextEvent)[];
|
|
456
|
-
|
|
456
|
+
ptt?: ChannelContextPushToTalk;
|
|
457
457
|
}
|
|
458
458
|
/**
|
|
459
459
|
* @public
|
|
@@ -1520,6 +1520,26 @@ export interface GetOrCreateDirectChannelInput {
|
|
|
1520
1520
|
export interface GetOrCreateDirectChannelOutput {
|
|
1521
1521
|
channel: Channel;
|
|
1522
1522
|
}
|
|
1523
|
+
/**
|
|
1524
|
+
* @public
|
|
1525
|
+
*/
|
|
1526
|
+
export interface GetTokenInput {
|
|
1527
|
+
}
|
|
1528
|
+
/**
|
|
1529
|
+
* @public
|
|
1530
|
+
*/
|
|
1531
|
+
export interface GetTokenOutput {
|
|
1532
|
+
/**
|
|
1533
|
+
* An authorization token.
|
|
1534
|
+
* @public
|
|
1535
|
+
*/
|
|
1536
|
+
token: string;
|
|
1537
|
+
/**
|
|
1538
|
+
* A timestamp of the token's expiration date.
|
|
1539
|
+
* @public
|
|
1540
|
+
*/
|
|
1541
|
+
expDate: number;
|
|
1542
|
+
}
|
|
1523
1543
|
/**
|
|
1524
1544
|
* @public
|
|
1525
1545
|
*/
|
|
@@ -17,6 +17,7 @@ import { GetFilePresignedDownloadUrlCommandInput, GetFilePresignedDownloadUrlCom
|
|
|
17
17
|
import { GetInboxStateCommandInput, GetInboxStateCommandOutput } from "../commands/GetInboxStateCommand";
|
|
18
18
|
import { GetMessageCommandInput, GetMessageCommandOutput } from "../commands/GetMessageCommand";
|
|
19
19
|
import { GetOrCreateDirectChannelCommandInput, GetOrCreateDirectChannelCommandOutput } from "../commands/GetOrCreateDirectChannelCommand";
|
|
20
|
+
import { GetTokenCommandInput, GetTokenCommandOutput } from "../commands/GetTokenCommand";
|
|
20
21
|
import { GetUploadedFileInfoCommandInput, GetUploadedFileInfoCommandOutput } from "../commands/GetUploadedFileInfoCommand";
|
|
21
22
|
import { HideChannelCommandInput, HideChannelCommandOutput } from "../commands/HideChannelCommand";
|
|
22
23
|
import { InviteCommandInput, InviteCommandOutput } from "../commands/InviteCommand";
|
|
@@ -131,6 +132,10 @@ export declare const se_GetMessageCommand: (input: GetMessageCommandInput, conte
|
|
|
131
132
|
* serializeAws_restJson1GetOrCreateDirectChannelCommand
|
|
132
133
|
*/
|
|
133
134
|
export declare const se_GetOrCreateDirectChannelCommand: (input: GetOrCreateDirectChannelCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
135
|
+
/**
|
|
136
|
+
* serializeAws_restJson1GetTokenCommand
|
|
137
|
+
*/
|
|
138
|
+
export declare const se_GetTokenCommand: (input: GetTokenCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
134
139
|
/**
|
|
135
140
|
* serializeAws_restJson1GetUploadedFileInfoCommand
|
|
136
141
|
*/
|
|
@@ -351,6 +356,10 @@ export declare const de_GetMessageCommand: (output: __HttpResponse, context: __S
|
|
|
351
356
|
* deserializeAws_restJson1GetOrCreateDirectChannelCommand
|
|
352
357
|
*/
|
|
353
358
|
export declare const de_GetOrCreateDirectChannelCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetOrCreateDirectChannelCommandOutput>;
|
|
359
|
+
/**
|
|
360
|
+
* deserializeAws_restJson1GetTokenCommand
|
|
361
|
+
*/
|
|
362
|
+
export declare const de_GetTokenCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetTokenCommandOutput>;
|
|
354
363
|
/**
|
|
355
364
|
* deserializeAws_restJson1GetUploadedFileInfoCommand
|
|
356
365
|
*/
|
|
@@ -16,7 +16,6 @@ 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;
|
|
20
19
|
urlParser: import("@smithy/types").UrlParser;
|
|
21
20
|
base64Decoder: import("@smithy/types").Decoder;
|
|
22
21
|
base64Encoder: (_input: string | Uint8Array) => string;
|
|
@@ -16,7 +16,6 @@ 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;
|
|
20
19
|
urlParser: import("@smithy/types").UrlParser;
|
|
21
20
|
base64Decoder: import("@smithy/types").Decoder;
|
|
22
21
|
base64Encoder: (_input: string | Uint8Array) => string;
|
|
@@ -9,7 +9,6 @@ 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;
|
|
13
12
|
urlParser: import("@smithy/types").UrlParser;
|
|
14
13
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
15
14
|
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.11",
|
|
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",
|