@wildix/wda-stream-client 1.0.1 → 1.0.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/WdaStream.js +2 -2
- package/dist-cjs/commands/{GetOngoingConversationsCommand.js → GetConversationsCommand.js} +7 -7
- package/dist-cjs/commands/index.js +1 -1
- package/dist-cjs/protocols/Aws_restJson1.js +7 -7
- package/dist-es/WdaStream.js +2 -2
- package/dist-es/commands/{GetOngoingConversationsCommand.js → GetConversationsCommand.js} +6 -6
- package/dist-es/commands/index.js +1 -1
- package/dist-es/protocols/Aws_restJson1.js +4 -4
- package/dist-types/WdaStream.d.ts +5 -5
- package/dist-types/WdaStreamClient.d.ts +3 -3
- package/dist-types/commands/{GetOngoingConversationsCommand.d.ts → GetConversationsCommand.d.ts} +21 -21
- package/dist-types/commands/index.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +2 -2
- package/dist-types/protocols/Aws_restJson1.d.ts +5 -5
- package/package.json +2 -2
package/dist-cjs/WdaStream.js
CHANGED
|
@@ -4,12 +4,12 @@ exports.WdaStream = void 0;
|
|
|
4
4
|
const WdaStreamClient_1 = require("./WdaStreamClient");
|
|
5
5
|
const ConsumeEventCommand_1 = require("./commands/ConsumeEventCommand");
|
|
6
6
|
const DescribeEventCommand_1 = require("./commands/DescribeEventCommand");
|
|
7
|
-
const
|
|
7
|
+
const GetConversationsCommand_1 = require("./commands/GetConversationsCommand");
|
|
8
8
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
9
9
|
const commands = {
|
|
10
10
|
ConsumeEventCommand: ConsumeEventCommand_1.ConsumeEventCommand,
|
|
11
11
|
DescribeEventCommand: DescribeEventCommand_1.DescribeEventCommand,
|
|
12
|
-
|
|
12
|
+
GetConversationsCommand: GetConversationsCommand_1.GetConversationsCommand,
|
|
13
13
|
};
|
|
14
14
|
class WdaStream extends WdaStreamClient_1.WdaStreamClient {
|
|
15
15
|
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.GetConversationsCommand = exports.$Command = void 0;
|
|
4
4
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
8
|
const types_1 = require("@smithy/types");
|
|
9
|
-
class
|
|
9
|
+
class GetConversationsCommand extends smithy_client_1.Command {
|
|
10
10
|
constructor(input) {
|
|
11
11
|
super();
|
|
12
12
|
this.input = input;
|
|
@@ -16,7 +16,7 @@ class GetOngoingConversationsCommand extends smithy_client_1.Command {
|
|
|
16
16
|
const stack = clientStack.concat(this.middlewareStack);
|
|
17
17
|
const { logger } = configuration;
|
|
18
18
|
const clientName = "WdaStreamClient";
|
|
19
|
-
const commandName = "
|
|
19
|
+
const commandName = "GetConversationsCommand";
|
|
20
20
|
const handlerExecutionContext = {
|
|
21
21
|
logger,
|
|
22
22
|
clientName,
|
|
@@ -25,17 +25,17 @@ class GetOngoingConversationsCommand extends smithy_client_1.Command {
|
|
|
25
25
|
outputFilterSensitiveLog: (_) => _,
|
|
26
26
|
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
27
27
|
service: "WdaStream",
|
|
28
|
-
operation: "
|
|
28
|
+
operation: "GetConversations",
|
|
29
29
|
},
|
|
30
30
|
};
|
|
31
31
|
const { requestHandler } = configuration;
|
|
32
32
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
33
33
|
}
|
|
34
34
|
serialize(input, context) {
|
|
35
|
-
return (0, Aws_restJson1_1.
|
|
35
|
+
return (0, Aws_restJson1_1.se_GetConversationsCommand)(input, context);
|
|
36
36
|
}
|
|
37
37
|
deserialize(output, context) {
|
|
38
|
-
return (0, Aws_restJson1_1.
|
|
38
|
+
return (0, Aws_restJson1_1.de_GetConversationsCommand)(output, context);
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
|
-
exports.
|
|
41
|
+
exports.GetConversationsCommand = GetConversationsCommand;
|
|
@@ -3,4 +3,4 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
const tslib_1 = require("tslib");
|
|
4
4
|
tslib_1.__exportStar(require("./ConsumeEventCommand"), exports);
|
|
5
5
|
tslib_1.__exportStar(require("./DescribeEventCommand"), exports);
|
|
6
|
-
tslib_1.__exportStar(require("./
|
|
6
|
+
tslib_1.__exportStar(require("./GetConversationsCommand"), exports);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.de_GetConversationsCommand = exports.de_DescribeEventCommand = exports.de_ConsumeEventCommand = exports.se_GetConversationsCommand = exports.se_DescribeEventCommand = exports.se_ConsumeEventCommand = void 0;
|
|
4
4
|
const WdaStreamServiceException_1 = require("../models/WdaStreamServiceException");
|
|
5
5
|
const models_0_1 = require("../models/models_0");
|
|
6
6
|
const protocol_http_1 = require("@smithy/protocol-http");
|
|
@@ -48,7 +48,7 @@ const se_DescribeEventCommand = async (input, context) => {
|
|
|
48
48
|
});
|
|
49
49
|
};
|
|
50
50
|
exports.se_DescribeEventCommand = se_DescribeEventCommand;
|
|
51
|
-
const
|
|
51
|
+
const se_GetConversationsCommand = async (input, context) => {
|
|
52
52
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
53
53
|
const headers = {};
|
|
54
54
|
let resolvedPath = `${basePath?.endsWith('/') ? basePath.slice(0, -1) : (basePath || '')}` + "/v2/stream/conversations";
|
|
@@ -67,7 +67,7 @@ const se_GetOngoingConversationsCommand = async (input, context) => {
|
|
|
67
67
|
body,
|
|
68
68
|
});
|
|
69
69
|
};
|
|
70
|
-
exports.
|
|
70
|
+
exports.se_GetConversationsCommand = se_GetConversationsCommand;
|
|
71
71
|
const de_ConsumeEventCommand = async (output, context) => {
|
|
72
72
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
73
73
|
return de_ConsumeEventCommandError(output, context);
|
|
@@ -141,9 +141,9 @@ const de_DescribeEventCommandError = async (output, context) => {
|
|
|
141
141
|
});
|
|
142
142
|
}
|
|
143
143
|
};
|
|
144
|
-
const
|
|
144
|
+
const de_GetConversationsCommand = async (output, context) => {
|
|
145
145
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
146
|
-
return
|
|
146
|
+
return de_GetConversationsCommandError(output, context);
|
|
147
147
|
}
|
|
148
148
|
const contents = (0, smithy_client_1.map)({
|
|
149
149
|
$metadata: deserializeMetadata(output),
|
|
@@ -157,8 +157,8 @@ const de_GetOngoingConversationsCommand = async (output, context) => {
|
|
|
157
157
|
Object.assign(contents, doc);
|
|
158
158
|
return contents;
|
|
159
159
|
};
|
|
160
|
-
exports.
|
|
161
|
-
const
|
|
160
|
+
exports.de_GetConversationsCommand = de_GetConversationsCommand;
|
|
161
|
+
const de_GetConversationsCommandError = async (output, context) => {
|
|
162
162
|
const parsedOutput = {
|
|
163
163
|
...output,
|
|
164
164
|
body: await parseErrorBody(output.body, context)
|
package/dist-es/WdaStream.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { WdaStreamClient, } from "./WdaStreamClient";
|
|
2
2
|
import { ConsumeEventCommand, } from "./commands/ConsumeEventCommand";
|
|
3
3
|
import { DescribeEventCommand, } from "./commands/DescribeEventCommand";
|
|
4
|
-
import {
|
|
4
|
+
import { GetConversationsCommand, } from "./commands/GetConversationsCommand";
|
|
5
5
|
import { createAggregatedClient } from "@smithy/smithy-client";
|
|
6
6
|
const commands = {
|
|
7
7
|
ConsumeEventCommand,
|
|
8
8
|
DescribeEventCommand,
|
|
9
|
-
|
|
9
|
+
GetConversationsCommand,
|
|
10
10
|
};
|
|
11
11
|
export class WdaStream extends WdaStreamClient {
|
|
12
12
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { de_GetConversationsCommand, se_GetConversationsCommand, } from "../protocols/Aws_restJson1";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
4
|
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
5
5
|
export { $Command };
|
|
6
|
-
export class
|
|
6
|
+
export class GetConversationsCommand extends $Command {
|
|
7
7
|
constructor(input) {
|
|
8
8
|
super();
|
|
9
9
|
this.input = input;
|
|
@@ -13,7 +13,7 @@ export class GetOngoingConversationsCommand extends $Command {
|
|
|
13
13
|
const stack = clientStack.concat(this.middlewareStack);
|
|
14
14
|
const { logger } = configuration;
|
|
15
15
|
const clientName = "WdaStreamClient";
|
|
16
|
-
const commandName = "
|
|
16
|
+
const commandName = "GetConversationsCommand";
|
|
17
17
|
const handlerExecutionContext = {
|
|
18
18
|
logger,
|
|
19
19
|
clientName,
|
|
@@ -22,16 +22,16 @@ export class GetOngoingConversationsCommand extends $Command {
|
|
|
22
22
|
outputFilterSensitiveLog: (_) => _,
|
|
23
23
|
[SMITHY_CONTEXT_KEY]: {
|
|
24
24
|
service: "WdaStream",
|
|
25
|
-
operation: "
|
|
25
|
+
operation: "GetConversations",
|
|
26
26
|
},
|
|
27
27
|
};
|
|
28
28
|
const { requestHandler } = configuration;
|
|
29
29
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
30
30
|
}
|
|
31
31
|
serialize(input, context) {
|
|
32
|
-
return
|
|
32
|
+
return se_GetConversationsCommand(input, context);
|
|
33
33
|
}
|
|
34
34
|
deserialize(output, context) {
|
|
35
|
-
return
|
|
35
|
+
return de_GetConversationsCommand(output, context);
|
|
36
36
|
}
|
|
37
37
|
}
|
|
@@ -43,7 +43,7 @@ export const se_DescribeEventCommand = async (input, context) => {
|
|
|
43
43
|
body,
|
|
44
44
|
});
|
|
45
45
|
};
|
|
46
|
-
export const
|
|
46
|
+
export const se_GetConversationsCommand = async (input, context) => {
|
|
47
47
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
48
48
|
const headers = {};
|
|
49
49
|
let resolvedPath = `${basePath?.endsWith('/') ? basePath.slice(0, -1) : (basePath || '')}` + "/v2/stream/conversations";
|
|
@@ -133,9 +133,9 @@ const de_DescribeEventCommandError = async (output, context) => {
|
|
|
133
133
|
});
|
|
134
134
|
}
|
|
135
135
|
};
|
|
136
|
-
export const
|
|
136
|
+
export const de_GetConversationsCommand = async (output, context) => {
|
|
137
137
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
138
|
-
return
|
|
138
|
+
return de_GetConversationsCommandError(output, context);
|
|
139
139
|
}
|
|
140
140
|
const contents = map({
|
|
141
141
|
$metadata: deserializeMetadata(output),
|
|
@@ -149,7 +149,7 @@ export const de_GetOngoingConversationsCommand = async (output, context) => {
|
|
|
149
149
|
Object.assign(contents, doc);
|
|
150
150
|
return contents;
|
|
151
151
|
};
|
|
152
|
-
const
|
|
152
|
+
const de_GetConversationsCommandError = async (output, context) => {
|
|
153
153
|
const parsedOutput = {
|
|
154
154
|
...output,
|
|
155
155
|
body: await parseErrorBody(output.body, context)
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { WdaStreamClient } from "./WdaStreamClient";
|
|
2
2
|
import { ConsumeEventCommandInput, ConsumeEventCommandOutput } from "./commands/ConsumeEventCommand";
|
|
3
3
|
import { DescribeEventCommandInput, DescribeEventCommandOutput } from "./commands/DescribeEventCommand";
|
|
4
|
-
import {
|
|
4
|
+
import { GetConversationsCommandInput, GetConversationsCommandOutput } from "./commands/GetConversationsCommand";
|
|
5
5
|
import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
6
6
|
export interface WdaStream {
|
|
7
7
|
/**
|
|
@@ -17,11 +17,11 @@ export interface WdaStream {
|
|
|
17
17
|
describeEvent(args: DescribeEventCommandInput, cb: (err: any, data?: DescribeEventCommandOutput) => void): void;
|
|
18
18
|
describeEvent(args: DescribeEventCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeEventCommandOutput) => void): void;
|
|
19
19
|
/**
|
|
20
|
-
* @see {@link
|
|
20
|
+
* @see {@link GetConversationsCommand}
|
|
21
21
|
*/
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
22
|
+
getConversations(args: GetConversationsCommandInput, options?: __HttpHandlerOptions): Promise<GetConversationsCommandOutput>;
|
|
23
|
+
getConversations(args: GetConversationsCommandInput, cb: (err: any, data?: GetConversationsCommandOutput) => void): void;
|
|
24
|
+
getConversations(args: GetConversationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetConversationsCommandOutput) => void): void;
|
|
25
25
|
}
|
|
26
26
|
/**
|
|
27
27
|
* @public
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ConsumeEventCommandInput, ConsumeEventCommandOutput } from "./commands/ConsumeEventCommand";
|
|
2
2
|
import { DescribeEventCommandInput, DescribeEventCommandOutput } from "./commands/DescribeEventCommand";
|
|
3
|
-
import {
|
|
3
|
+
import { GetConversationsCommandInput, GetConversationsCommandOutput } from "./commands/GetConversationsCommand";
|
|
4
4
|
import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
|
|
5
5
|
import { HttpHandler as __HttpHandler } from "@smithy/protocol-http";
|
|
6
6
|
import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@smithy/smithy-client";
|
|
@@ -10,11 +10,11 @@ export { __Client };
|
|
|
10
10
|
/**
|
|
11
11
|
* @public
|
|
12
12
|
*/
|
|
13
|
-
export type ServiceInputTypes = ConsumeEventCommandInput | DescribeEventCommandInput |
|
|
13
|
+
export type ServiceInputTypes = ConsumeEventCommandInput | DescribeEventCommandInput | GetConversationsCommandInput;
|
|
14
14
|
/**
|
|
15
15
|
* @public
|
|
16
16
|
*/
|
|
17
|
-
export type ServiceOutputTypes = ConsumeEventCommandOutput | DescribeEventCommandOutput |
|
|
17
|
+
export type ServiceOutputTypes = ConsumeEventCommandOutput | DescribeEventCommandOutput | GetConversationsCommandOutput;
|
|
18
18
|
/**
|
|
19
19
|
* @public
|
|
20
20
|
*/
|
package/dist-types/commands/{GetOngoingConversationsCommand.d.ts → GetConversationsCommand.d.ts}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ServiceInputTypes, ServiceOutputTypes, WdaStreamClientResolvedConfig } from "../WdaStreamClient";
|
|
2
|
-
import {
|
|
2
|
+
import { GetConversationsInput, GetConversationsOutput } from "../models/models_0";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
4
|
import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
5
5
|
/**
|
|
@@ -9,16 +9,16 @@ export { __MetadataBearer, $Command };
|
|
|
9
9
|
/**
|
|
10
10
|
* @public
|
|
11
11
|
*
|
|
12
|
-
* The input for {@link
|
|
12
|
+
* The input for {@link GetConversationsCommand}.
|
|
13
13
|
*/
|
|
14
|
-
export interface
|
|
14
|
+
export interface GetConversationsCommandInput extends GetConversationsInput {
|
|
15
15
|
}
|
|
16
16
|
/**
|
|
17
17
|
* @public
|
|
18
18
|
*
|
|
19
|
-
* The output of {@link
|
|
19
|
+
* The output of {@link GetConversationsCommand}.
|
|
20
20
|
*/
|
|
21
|
-
export interface
|
|
21
|
+
export interface GetConversationsCommandOutput extends GetConversationsOutput, __MetadataBearer {
|
|
22
22
|
}
|
|
23
23
|
/**
|
|
24
24
|
* @public
|
|
@@ -29,16 +29,16 @@ export interface GetOngoingConversationsCommandOutput extends GetOngoingConversa
|
|
|
29
29
|
* @example
|
|
30
30
|
* Use a bare-bones client and the command you need to make an API call.
|
|
31
31
|
* ```javascript
|
|
32
|
-
* import { WdaStreamClient,
|
|
33
|
-
* // const { WdaStreamClient,
|
|
32
|
+
* import { WdaStreamClient, GetConversationsCommand } from "@wildix/wda-stream-client"; // ES Modules import
|
|
33
|
+
* // const { WdaStreamClient, GetConversationsCommand } = require("@wildix/wda-stream-client"); // CommonJS import
|
|
34
34
|
* const client = new WdaStreamClient(config);
|
|
35
|
-
* const input = { //
|
|
35
|
+
* const input = { // GetConversationsInput
|
|
36
36
|
* company: "STRING_VALUE",
|
|
37
37
|
* };
|
|
38
|
-
* const command = new
|
|
38
|
+
* const command = new GetConversationsCommand(input);
|
|
39
39
|
* const response = await client.send(command);
|
|
40
|
-
* // { //
|
|
41
|
-
* // calls: [ //
|
|
40
|
+
* // { // GetConversationsOutput
|
|
41
|
+
* // calls: [ // GetConversationsCallsList // required
|
|
42
42
|
* // { // CallAnalyticsLiveProgressEvent
|
|
43
43
|
* // id: "STRING_VALUE", // required
|
|
44
44
|
* // pbx: "STRING_VALUE", // required
|
|
@@ -136,7 +136,7 @@ export interface GetOngoingConversationsCommandOutput extends GetOngoingConversa
|
|
|
136
136
|
* // ],
|
|
137
137
|
* // },
|
|
138
138
|
* // ],
|
|
139
|
-
* // conferences: [ //
|
|
139
|
+
* // conferences: [ // GetConversationsConferencesList // required
|
|
140
140
|
* // { // ConferenceAnalyticsLiveProgressEvent
|
|
141
141
|
* // id: "STRING_VALUE", // required
|
|
142
142
|
* // time: Number("long"), // required
|
|
@@ -162,7 +162,7 @@ export interface GetOngoingConversationsCommandOutput extends GetOngoingConversa
|
|
|
162
162
|
* // transcriptionStatus: "AVAILABLE" || "UNAVAILABLE", // required
|
|
163
163
|
* // },
|
|
164
164
|
* // ],
|
|
165
|
-
* // chats: [ //
|
|
165
|
+
* // chats: [ // GetConversationsChatsList // required
|
|
166
166
|
* // { // ChatAnalyticsLiveProgressEvent
|
|
167
167
|
* // id: "STRING_VALUE", // required
|
|
168
168
|
* // time: Number("long"), // required
|
|
@@ -240,10 +240,10 @@ export interface GetOngoingConversationsCommandOutput extends GetOngoingConversa
|
|
|
240
240
|
*
|
|
241
241
|
* ```
|
|
242
242
|
*
|
|
243
|
-
* @param
|
|
244
|
-
* @returns {@link
|
|
245
|
-
* @see {@link
|
|
246
|
-
* @see {@link
|
|
243
|
+
* @param GetConversationsCommandInput - {@link GetConversationsCommandInput}
|
|
244
|
+
* @returns {@link GetConversationsCommandOutput}
|
|
245
|
+
* @see {@link GetConversationsCommandInput} for command's `input` shape.
|
|
246
|
+
* @see {@link GetConversationsCommandOutput} for command's `response` shape.
|
|
247
247
|
* @see {@link WdaStreamClientResolvedConfig | config} for WdaStreamClient's `config` shape.
|
|
248
248
|
*
|
|
249
249
|
* @throws {@link ForbiddenException} (client fault)
|
|
@@ -254,16 +254,16 @@ export interface GetOngoingConversationsCommandOutput extends GetOngoingConversa
|
|
|
254
254
|
* <p>Base exception class for all service exceptions from WdaStream service.</p>
|
|
255
255
|
*
|
|
256
256
|
*/
|
|
257
|
-
export declare class
|
|
258
|
-
readonly input:
|
|
257
|
+
export declare class GetConversationsCommand extends $Command<GetConversationsCommandInput, GetConversationsCommandOutput, WdaStreamClientResolvedConfig> {
|
|
258
|
+
readonly input: GetConversationsCommandInput;
|
|
259
259
|
/**
|
|
260
260
|
* @public
|
|
261
261
|
*/
|
|
262
|
-
constructor(input:
|
|
262
|
+
constructor(input: GetConversationsCommandInput);
|
|
263
263
|
/**
|
|
264
264
|
* @internal
|
|
265
265
|
*/
|
|
266
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: WdaStreamClientResolvedConfig, options?: __HttpHandlerOptions): Handler<
|
|
266
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: WdaStreamClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetConversationsCommandInput, GetConversationsCommandOutput>;
|
|
267
267
|
/**
|
|
268
268
|
* @internal
|
|
269
269
|
*/
|
|
@@ -844,13 +844,13 @@ export interface DescribeEventOutput {
|
|
|
844
844
|
/**
|
|
845
845
|
* @public
|
|
846
846
|
*/
|
|
847
|
-
export interface
|
|
847
|
+
export interface GetConversationsInput {
|
|
848
848
|
company?: string;
|
|
849
849
|
}
|
|
850
850
|
/**
|
|
851
851
|
* @public
|
|
852
852
|
*/
|
|
853
|
-
export interface
|
|
853
|
+
export interface GetConversationsOutput {
|
|
854
854
|
calls: (CallAnalyticsLiveProgressEvent)[];
|
|
855
855
|
conferences: (ConferenceAnalyticsLiveProgressEvent)[];
|
|
856
856
|
chats: (ChatAnalyticsLiveProgressEvent)[];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ConsumeEventCommandInput, ConsumeEventCommandOutput } from "../commands/ConsumeEventCommand";
|
|
2
2
|
import { DescribeEventCommandInput, DescribeEventCommandOutput } from "../commands/DescribeEventCommand";
|
|
3
|
-
import {
|
|
3
|
+
import { GetConversationsCommandInput, GetConversationsCommandOutput } from "../commands/GetConversationsCommand";
|
|
4
4
|
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@smithy/protocol-http";
|
|
5
5
|
import { SerdeContext as __SerdeContext } from "@smithy/types";
|
|
6
6
|
/**
|
|
@@ -12,9 +12,9 @@ export declare const se_ConsumeEventCommand: (input: ConsumeEventCommandInput, c
|
|
|
12
12
|
*/
|
|
13
13
|
export declare const se_DescribeEventCommand: (input: DescribeEventCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
14
14
|
/**
|
|
15
|
-
*
|
|
15
|
+
* serializeAws_restJson1GetConversationsCommand
|
|
16
16
|
*/
|
|
17
|
-
export declare const
|
|
17
|
+
export declare const se_GetConversationsCommand: (input: GetConversationsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
18
18
|
/**
|
|
19
19
|
* deserializeAws_restJson1ConsumeEventCommand
|
|
20
20
|
*/
|
|
@@ -24,6 +24,6 @@ export declare const de_ConsumeEventCommand: (output: __HttpResponse, context: _
|
|
|
24
24
|
*/
|
|
25
25
|
export declare const de_DescribeEventCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeEventCommandOutput>;
|
|
26
26
|
/**
|
|
27
|
-
*
|
|
27
|
+
* deserializeAws_restJson1GetConversationsCommand
|
|
28
28
|
*/
|
|
29
|
-
export declare const
|
|
29
|
+
export declare const de_GetConversationsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetConversationsCommandOutput>;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wildix/wda-stream-client",
|
|
3
3
|
"description": "@wildix/wda-stream-client client",
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.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",
|
|
@@ -74,4 +74,4 @@
|
|
|
74
74
|
"react-native": {
|
|
75
75
|
"./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native"
|
|
76
76
|
}
|
|
77
|
-
}
|
|
77
|
+
}
|