@wildix/wda-stream-client 1.1.33 → 1.1.38

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.
@@ -5,7 +5,6 @@ const WdaStreamClient_1 = require("./WdaStreamClient");
5
5
  const ConsumeEventCommand_1 = require("./commands/ConsumeEventCommand");
6
6
  const DescribeEventCommand_1 = require("./commands/DescribeEventCommand");
7
7
  const GetConferenceIdCommand_1 = require("./commands/GetConferenceIdCommand");
8
- const GetOngoingCallCommand_1 = require("./commands/GetOngoingCallCommand");
9
8
  const QueryConversationsCommand_1 = require("./commands/QueryConversationsCommand");
10
9
  const QueryPresenceCommand_1 = require("./commands/QueryPresenceCommand");
11
10
  const QueryPresencesCommand_1 = require("./commands/QueryPresencesCommand");
@@ -15,7 +14,6 @@ const commands = {
15
14
  ConsumeEventCommand: ConsumeEventCommand_1.ConsumeEventCommand,
16
15
  DescribeEventCommand: DescribeEventCommand_1.DescribeEventCommand,
17
16
  GetConferenceIdCommand: GetConferenceIdCommand_1.GetConferenceIdCommand,
18
- GetOngoingCallCommand: GetOngoingCallCommand_1.GetOngoingCallCommand,
19
17
  QueryConversationsCommand: QueryConversationsCommand_1.QueryConversationsCommand,
20
18
  QueryPresenceCommand: QueryPresenceCommand_1.QueryPresenceCommand,
21
19
  QueryPresencesCommand: QueryPresencesCommand_1.QueryPresencesCommand,
@@ -4,7 +4,6 @@ const tslib_1 = require("tslib");
4
4
  tslib_1.__exportStar(require("./ConsumeEventCommand"), exports);
5
5
  tslib_1.__exportStar(require("./DescribeEventCommand"), exports);
6
6
  tslib_1.__exportStar(require("./GetConferenceIdCommand"), exports);
7
- tslib_1.__exportStar(require("./GetOngoingCallCommand"), exports);
8
7
  tslib_1.__exportStar(require("./QueryConversationsCommand"), exports);
9
8
  tslib_1.__exportStar(require("./QueryPresenceCommand"), exports);
10
9
  tslib_1.__exportStar(require("./QueryPresencesCommand"), exports);
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.de_UpdatePresenceLastSeenCommand = exports.de_QueryPresencesCommand = exports.de_QueryPresenceCommand = exports.de_QueryConversationsCommand = exports.de_GetOngoingCallCommand = exports.de_GetConferenceIdCommand = exports.de_DescribeEventCommand = exports.de_ConsumeEventCommand = exports.se_UpdatePresenceLastSeenCommand = exports.se_QueryPresencesCommand = exports.se_QueryPresenceCommand = exports.se_QueryConversationsCommand = exports.se_GetOngoingCallCommand = exports.se_GetConferenceIdCommand = exports.se_DescribeEventCommand = exports.se_ConsumeEventCommand = void 0;
3
+ exports.de_UpdatePresenceLastSeenCommand = exports.de_QueryPresencesCommand = exports.de_QueryPresenceCommand = exports.de_QueryConversationsCommand = exports.de_GetConferenceIdCommand = exports.de_DescribeEventCommand = exports.de_ConsumeEventCommand = exports.se_UpdatePresenceLastSeenCommand = exports.se_QueryPresencesCommand = exports.se_QueryPresenceCommand = exports.se_QueryConversationsCommand = exports.se_GetConferenceIdCommand = 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 core_1 = require("@aws-sdk/core");
@@ -60,22 +60,6 @@ const se_GetConferenceIdCommand = async (input, context) => {
60
60
  return b.build();
61
61
  };
62
62
  exports.se_GetConferenceIdCommand = se_GetConferenceIdCommand;
63
- const se_GetOngoingCallCommand = async (input, context) => {
64
- const b = (0, core_2.requestBuilder)(input, context);
65
- const headers = {};
66
- b.bp("/v2/stream/calls/{callId}");
67
- b.p('callId', () => input.callId, '{callId}', false);
68
- const query = (0, smithy_client_1.map)({
69
- [_c]: [, input[_c]],
70
- });
71
- let body;
72
- b.m("GET")
73
- .h(headers)
74
- .q(query)
75
- .b(body);
76
- return b.build();
77
- };
78
- exports.se_GetOngoingCallCommand = se_GetOngoingCallCommand;
79
63
  const se_QueryConversationsCommand = async (input, context) => {
80
64
  const b = (0, core_2.requestBuilder)(input, context);
81
65
  const headers = {
@@ -252,23 +236,6 @@ const de_GetConferenceIdCommand = async (output, context) => {
252
236
  return contents;
253
237
  };
254
238
  exports.de_GetConferenceIdCommand = de_GetConferenceIdCommand;
255
- const de_GetOngoingCallCommand = async (output, context) => {
256
- if (output.statusCode !== 200 && output.statusCode >= 300) {
257
- return de_CommandError(output, context);
258
- }
259
- const contents = (0, smithy_client_1.map)({
260
- $metadata: deserializeMetadata(output),
261
- });
262
- const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
263
- const doc = (0, smithy_client_1.take)(data, {
264
- 'company': smithy_client_1.expectString,
265
- 'flows': smithy_client_1._json,
266
- 'transcriptions': smithy_client_1._json,
267
- });
268
- Object.assign(contents, doc);
269
- return contents;
270
- };
271
- exports.de_GetOngoingCallCommand = de_GetOngoingCallCommand;
272
239
  const de_QueryConversationsCommand = async (output, context) => {
273
240
  if (output.statusCode !== 200 && output.statusCode >= 300) {
274
241
  return de_CommandError(output, context);
@@ -2,7 +2,6 @@ import { WdaStreamClient, } from "./WdaStreamClient";
2
2
  import { ConsumeEventCommand, } from "./commands/ConsumeEventCommand";
3
3
  import { DescribeEventCommand, } from "./commands/DescribeEventCommand";
4
4
  import { GetConferenceIdCommand, } from "./commands/GetConferenceIdCommand";
5
- import { GetOngoingCallCommand, } from "./commands/GetOngoingCallCommand";
6
5
  import { QueryConversationsCommand, } from "./commands/QueryConversationsCommand";
7
6
  import { QueryPresenceCommand, } from "./commands/QueryPresenceCommand";
8
7
  import { QueryPresencesCommand, } from "./commands/QueryPresencesCommand";
@@ -12,7 +11,6 @@ const commands = {
12
11
  ConsumeEventCommand,
13
12
  DescribeEventCommand,
14
13
  GetConferenceIdCommand,
15
- GetOngoingCallCommand,
16
14
  QueryConversationsCommand,
17
15
  QueryPresenceCommand,
18
16
  QueryPresencesCommand,
@@ -1,7 +1,6 @@
1
1
  export * from "./ConsumeEventCommand";
2
2
  export * from "./DescribeEventCommand";
3
3
  export * from "./GetConferenceIdCommand";
4
- export * from "./GetOngoingCallCommand";
5
4
  export * from "./QueryConversationsCommand";
6
5
  export * from "./QueryPresenceCommand";
7
6
  export * from "./QueryPresencesCommand";
@@ -54,21 +54,6 @@ export const se_GetConferenceIdCommand = async (input, context) => {
54
54
  .b(body);
55
55
  return b.build();
56
56
  };
57
- export const se_GetOngoingCallCommand = async (input, context) => {
58
- const b = rb(input, context);
59
- const headers = {};
60
- b.bp("/v2/stream/calls/{callId}");
61
- b.p('callId', () => input.callId, '{callId}', false);
62
- const query = map({
63
- [_c]: [, input[_c]],
64
- });
65
- let body;
66
- b.m("GET")
67
- .h(headers)
68
- .q(query)
69
- .b(body);
70
- return b.build();
71
- };
72
57
  export const se_QueryConversationsCommand = async (input, context) => {
73
58
  const b = rb(input, context);
74
59
  const headers = {
@@ -238,22 +223,6 @@ export const de_GetConferenceIdCommand = async (output, context) => {
238
223
  Object.assign(contents, doc);
239
224
  return contents;
240
225
  };
241
- export const de_GetOngoingCallCommand = async (output, context) => {
242
- if (output.statusCode !== 200 && output.statusCode >= 300) {
243
- return de_CommandError(output, context);
244
- }
245
- const contents = map({
246
- $metadata: deserializeMetadata(output),
247
- });
248
- const data = __expectNonNull((__expectObject(await parseBody(output.body, context))), "body");
249
- const doc = take(data, {
250
- 'company': __expectString,
251
- 'flows': _json,
252
- 'transcriptions': _json,
253
- });
254
- Object.assign(contents, doc);
255
- return contents;
256
- };
257
226
  export const de_QueryConversationsCommand = async (output, context) => {
258
227
  if (output.statusCode !== 200 && output.statusCode >= 300) {
259
228
  return de_CommandError(output, context);
@@ -2,7 +2,6 @@ import { WdaStreamClient } from "./WdaStreamClient";
2
2
  import { ConsumeEventCommandInput, ConsumeEventCommandOutput } from "./commands/ConsumeEventCommand";
3
3
  import { DescribeEventCommandInput, DescribeEventCommandOutput } from "./commands/DescribeEventCommand";
4
4
  import { GetConferenceIdCommandInput, GetConferenceIdCommandOutput } from "./commands/GetConferenceIdCommand";
5
- import { GetOngoingCallCommandInput, GetOngoingCallCommandOutput } from "./commands/GetOngoingCallCommand";
6
5
  import { QueryConversationsCommandInput, QueryConversationsCommandOutput } from "./commands/QueryConversationsCommand";
7
6
  import { QueryPresenceCommandInput, QueryPresenceCommandOutput } from "./commands/QueryPresenceCommand";
8
7
  import { QueryPresencesCommandInput, QueryPresencesCommandOutput } from "./commands/QueryPresencesCommand";
@@ -28,12 +27,6 @@ export interface WdaStream {
28
27
  getConferenceId(args: GetConferenceIdCommandInput, options?: __HttpHandlerOptions): Promise<GetConferenceIdCommandOutput>;
29
28
  getConferenceId(args: GetConferenceIdCommandInput, cb: (err: any, data?: GetConferenceIdCommandOutput) => void): void;
30
29
  getConferenceId(args: GetConferenceIdCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetConferenceIdCommandOutput) => void): void;
31
- /**
32
- * @see {@link GetOngoingCallCommand}
33
- */
34
- getOngoingCall(args: GetOngoingCallCommandInput, options?: __HttpHandlerOptions): Promise<GetOngoingCallCommandOutput>;
35
- getOngoingCall(args: GetOngoingCallCommandInput, cb: (err: any, data?: GetOngoingCallCommandOutput) => void): void;
36
- getOngoingCall(args: GetOngoingCallCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetOngoingCallCommandOutput) => void): void;
37
30
  /**
38
31
  * @see {@link QueryConversationsCommand}
39
32
  */
@@ -1,7 +1,6 @@
1
1
  import { ConsumeEventCommandInput, ConsumeEventCommandOutput } from "./commands/ConsumeEventCommand";
2
2
  import { DescribeEventCommandInput, DescribeEventCommandOutput } from "./commands/DescribeEventCommand";
3
3
  import { GetConferenceIdCommandInput, GetConferenceIdCommandOutput } from "./commands/GetConferenceIdCommand";
4
- import { GetOngoingCallCommandInput, GetOngoingCallCommandOutput } from "./commands/GetOngoingCallCommand";
5
4
  import { QueryConversationsCommandInput, QueryConversationsCommandOutput } from "./commands/QueryConversationsCommand";
6
5
  import { QueryPresenceCommandInput, QueryPresenceCommandOutput } from "./commands/QueryPresenceCommand";
7
6
  import { QueryPresencesCommandInput, QueryPresencesCommandOutput } from "./commands/QueryPresencesCommand";
@@ -17,11 +16,11 @@ export { __Client };
17
16
  /**
18
17
  * @public
19
18
  */
20
- export type ServiceInputTypes = ConsumeEventCommandInput | DescribeEventCommandInput | GetConferenceIdCommandInput | GetOngoingCallCommandInput | QueryConversationsCommandInput | QueryPresenceCommandInput | QueryPresencesCommandInput | UpdatePresenceLastSeenCommandInput;
19
+ export type ServiceInputTypes = ConsumeEventCommandInput | DescribeEventCommandInput | GetConferenceIdCommandInput | QueryConversationsCommandInput | QueryPresenceCommandInput | QueryPresencesCommandInput | UpdatePresenceLastSeenCommandInput;
21
20
  /**
22
21
  * @public
23
22
  */
24
- export type ServiceOutputTypes = ConsumeEventCommandOutput | DescribeEventCommandOutput | GetConferenceIdCommandOutput | GetOngoingCallCommandOutput | QueryConversationsCommandOutput | QueryPresenceCommandOutput | QueryPresencesCommandOutput | UpdatePresenceLastSeenCommandOutput;
23
+ export type ServiceOutputTypes = ConsumeEventCommandOutput | DescribeEventCommandOutput | GetConferenceIdCommandOutput | QueryConversationsCommandOutput | QueryPresenceCommandOutput | QueryPresencesCommandOutput | UpdatePresenceLastSeenCommandOutput;
25
24
  /**
26
25
  * @public
27
26
  */
@@ -1,7 +1,6 @@
1
1
  export * from "./ConsumeEventCommand";
2
2
  export * from "./DescribeEventCommand";
3
3
  export * from "./GetConferenceIdCommand";
4
- export * from "./GetOngoingCallCommand";
5
4
  export * from "./QueryConversationsCommand";
6
5
  export * from "./QueryPresenceCommand";
7
6
  export * from "./QueryPresencesCommand";
@@ -5123,21 +5123,6 @@ export declare class MatchNotFoundException extends __BaseException {
5123
5123
  */
5124
5124
  constructor(opts: __ExceptionOptionType<MatchNotFoundException, __BaseException>);
5125
5125
  }
5126
- /**
5127
- * @public
5128
- */
5129
- export interface GetOngoingCallInput {
5130
- company?: string | undefined;
5131
- callId: string;
5132
- }
5133
- /**
5134
- * @public
5135
- */
5136
- export interface GetOngoingCallOutput {
5137
- company: string;
5138
- flows: (CallAnalyticsLiveProgressEventFlow)[];
5139
- transcriptions?: (CallAnalyticsLiveTranscriptionEvent)[] | undefined;
5140
- }
5141
5126
  /**
5142
5127
  * @public
5143
5128
  * @enum
@@ -1,7 +1,6 @@
1
1
  import { ConsumeEventCommandInput, ConsumeEventCommandOutput } from "../commands/ConsumeEventCommand";
2
2
  import { DescribeEventCommandInput, DescribeEventCommandOutput } from "../commands/DescribeEventCommand";
3
3
  import { GetConferenceIdCommandInput, GetConferenceIdCommandOutput } from "../commands/GetConferenceIdCommand";
4
- import { GetOngoingCallCommandInput, GetOngoingCallCommandOutput } from "../commands/GetOngoingCallCommand";
5
4
  import { QueryConversationsCommandInput, QueryConversationsCommandOutput } from "../commands/QueryConversationsCommand";
6
5
  import { QueryPresenceCommandInput, QueryPresenceCommandOutput } from "../commands/QueryPresenceCommand";
7
6
  import { QueryPresencesCommandInput, QueryPresencesCommandOutput } from "../commands/QueryPresencesCommand";
@@ -20,10 +19,6 @@ export declare const se_DescribeEventCommand: (input: DescribeEventCommandInput,
20
19
  * serializeAws_restJson1GetConferenceIdCommand
21
20
  */
22
21
  export declare const se_GetConferenceIdCommand: (input: GetConferenceIdCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
23
- /**
24
- * serializeAws_restJson1GetOngoingCallCommand
25
- */
26
- export declare const se_GetOngoingCallCommand: (input: GetOngoingCallCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
27
22
  /**
28
23
  * serializeAws_restJson1QueryConversationsCommand
29
24
  */
@@ -52,10 +47,6 @@ export declare const de_DescribeEventCommand: (output: __HttpResponse, context:
52
47
  * deserializeAws_restJson1GetConferenceIdCommand
53
48
  */
54
49
  export declare const de_GetConferenceIdCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetConferenceIdCommandOutput>;
55
- /**
56
- * deserializeAws_restJson1GetOngoingCallCommand
57
- */
58
- export declare const de_GetOngoingCallCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetOngoingCallCommandOutput>;
59
50
  /**
60
51
  * deserializeAws_restJson1QueryConversationsCommand
61
52
  */
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.1.33",
4
+ "version": "1.1.38",
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",
@@ -1,21 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.GetOngoingCallCommand = 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 GetOngoingCallCommand 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("WdaStream", "GetOngoingCall", {})
15
- .n("WdaStreamClient", "GetOngoingCallCommand")
16
- .f(void 0, void 0)
17
- .ser(Aws_restJson1_1.se_GetOngoingCallCommand)
18
- .de(Aws_restJson1_1.de_GetOngoingCallCommand)
19
- .build() {
20
- }
21
- exports.GetOngoingCallCommand = GetOngoingCallCommand;
@@ -1,17 +0,0 @@
1
- import { de_GetOngoingCallCommand, se_GetOngoingCallCommand, } 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 GetOngoingCallCommand extends $Command.classBuilder()
6
- .m(function (Command, cs, config, o) {
7
- return [
8
- getSerdePlugin(config, this.serialize, this.deserialize),
9
- ];
10
- })
11
- .s("WdaStream", "GetOngoingCall", {})
12
- .n("WdaStreamClient", "GetOngoingCallCommand")
13
- .f(void 0, void 0)
14
- .ser(se_GetOngoingCallCommand)
15
- .de(de_GetOngoingCallCommand)
16
- .build() {
17
- }
@@ -1,297 +0,0 @@
1
- import { ServiceInputTypes, ServiceOutputTypes, WdaStreamClientResolvedConfig } from "../WdaStreamClient";
2
- import { GetOngoingCallInput, GetOngoingCallOutput } 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 GetOngoingCallCommand}.
14
- */
15
- export interface GetOngoingCallCommandInput extends GetOngoingCallInput {
16
- }
17
- /**
18
- * @public
19
- *
20
- * The output of {@link GetOngoingCallCommand}.
21
- */
22
- export interface GetOngoingCallCommandOutput extends GetOngoingCallOutput, __MetadataBearer {
23
- }
24
- declare const GetOngoingCallCommand_base: {
25
- new (input: GetOngoingCallCommandInput): import("@smithy/smithy-client").CommandImpl<GetOngoingCallCommandInput, GetOngoingCallCommandOutput, WdaStreamClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (__0_0: GetOngoingCallCommandInput): import("@smithy/smithy-client").CommandImpl<GetOngoingCallCommandInput, GetOngoingCallCommandOutput, WdaStreamClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
- };
29
- /**
30
- * Retrieves information for ongoing call.
31
- * @example
32
- * Use a bare-bones client and the command you need to make an API call.
33
- * ```javascript
34
- * import { WdaStreamClient, GetOngoingCallCommand } from "@wildix/wda-stream-client"; // ES Modules import
35
- * // const { WdaStreamClient, GetOngoingCallCommand } = require("@wildix/wda-stream-client"); // CommonJS import
36
- * const client = new WdaStreamClient(config);
37
- * const input = { // GetOngoingCallInput
38
- * company: "STRING_VALUE",
39
- * callId: "STRING_VALUE", // required
40
- * };
41
- * const command = new GetOngoingCallCommand(input);
42
- * const response = await client.send(command);
43
- * // { // GetOngoingCallOutput
44
- * // company: "STRING_VALUE", // required
45
- * // flows: [ // CallAnalyticsLiveProgressEventFlowList // required
46
- * // { // CallAnalyticsLiveProgressEventFlow
47
- * // flowIndex: Number("int"), // required
48
- * // startTime: Number("long"), // required
49
- * // endTime: Number("long"), // required
50
- * // connectTime: Number("long"),
51
- * // talkTime: Number("long"),
52
- * // waitTime: Number("long"),
53
- * // queueTime: Number("long"),
54
- * // holdTime: Number("long"),
55
- * // duration: Number("long"), // required
56
- * // caller: { // CallParticipant
57
- * // type: "REMOTE" || "LOCAL", // required
58
- * // phone: "STRING_VALUE",
59
- * // name: "STRING_VALUE",
60
- * // company: "STRING_VALUE",
61
- * // email: "STRING_VALUE",
62
- * // userId: "STRING_VALUE",
63
- * // userExtension: "STRING_VALUE",
64
- * // userDepartment: "STRING_VALUE",
65
- * // groupId: "STRING_VALUE",
66
- * // groupName: "STRING_VALUE",
67
- * // userAgent: "STRING_VALUE",
68
- * // userDevice: "COLLABORATION_WEB" || "COLLABORATION_IOS" || "COLLABORATION_ANDROID" || "XBEES_WEB" || "XBEES_IOS" || "XBEES_ANDROID" || "WILDIX_PHONE" || "WILDIX_DEVICE" || "VOICEBOT" || "UNKNOWN",
69
- * // role: "CLIENT" || "AGENT", // required
70
- * // license: "STRING_VALUE",
71
- * // sipCallId: "STRING_VALUE",
72
- * // publicAddress: "STRING_VALUE",
73
- * // privateAddress: "STRING_VALUE",
74
- * // location: "STRING_VALUE",
75
- * // },
76
- * // callee: {
77
- * // type: "REMOTE" || "LOCAL", // required
78
- * // phone: "STRING_VALUE",
79
- * // name: "STRING_VALUE",
80
- * // company: "STRING_VALUE",
81
- * // email: "STRING_VALUE",
82
- * // userId: "STRING_VALUE",
83
- * // userExtension: "STRING_VALUE",
84
- * // userDepartment: "STRING_VALUE",
85
- * // groupId: "STRING_VALUE",
86
- * // groupName: "STRING_VALUE",
87
- * // userAgent: "STRING_VALUE",
88
- * // userDevice: "COLLABORATION_WEB" || "COLLABORATION_IOS" || "COLLABORATION_ANDROID" || "XBEES_WEB" || "XBEES_IOS" || "XBEES_ANDROID" || "WILDIX_PHONE" || "WILDIX_DEVICE" || "VOICEBOT" || "UNKNOWN",
89
- * // role: "CLIENT" || "AGENT", // required
90
- * // license: "STRING_VALUE",
91
- * // sipCallId: "STRING_VALUE",
92
- * // publicAddress: "STRING_VALUE",
93
- * // privateAddress: "STRING_VALUE",
94
- * // location: "STRING_VALUE",
95
- * // },
96
- * // service: "STRING_VALUE",
97
- * // serviceNumber: "STRING_VALUE",
98
- * // destination: "STRING_VALUE",
99
- * // direction: "INTERNAL" || "INBOUND" || "OUTBOUND" || "UNDEFINED",
100
- * // trunkName: "STRING_VALUE",
101
- * // trunkDirection: "STRING_VALUE",
102
- * // queueName: "STRING_VALUE",
103
- * // queueId: "STRING_VALUE",
104
- * // tags: [ // CallFlowTags
105
- * // "STRING_VALUE",
106
- * // ],
107
- * // flags: [ // CallFlowFlags
108
- * // "STRING_VALUE",
109
- * // ],
110
- * // callerMos: "STRING_VALUE",
111
- * // calleeMos: "STRING_VALUE",
112
- * // xhoppersConfId: "STRING_VALUE",
113
- * // recordings: [ // CallFlowRecordings
114
- * // "STRING_VALUE",
115
- * // ],
116
- * // recordingsData: [ // CallFlowRecordingsData
117
- * // { // CallFlowRecording
118
- * // fileName: "STRING_VALUE", // required
119
- * // start: Number("long"), // required
120
- * // end: Number("long"), // required
121
- * // owner: "callee" || "caller" || "system", // required
122
- * // url: "STRING_VALUE", // required
123
- * // pauses: [ // CallRecordPausesList // required
124
- * // { // CallRecordPause
125
- * // start: Number("long"),
126
- * // end: Number("long"),
127
- * // reason: "pause" || "hold",
128
- * // },
129
- * // ],
130
- * // },
131
- * // ],
132
- * // mergeWith: "STRING_VALUE",
133
- * // splitReason: "STRING_VALUE",
134
- * // splitTransferType: "STRING_VALUE",
135
- * // remotePhone: "STRING_VALUE",
136
- * // remotePhoneCountryCode: Number("int"),
137
- * // remotePhoneCountryCodeStr: "STRING_VALUE",
138
- * // remotePhoneLocation: "STRING_VALUE",
139
- * // callStatus: "COMPLETED" || "MISSED",
140
- * // transcriptionStatus: "AVAILABLE" || "POST_TRANSCRIPTION" || "UNAVAILABLE",
141
- * // transcriptionLanguage: "STRING_VALUE",
142
- * // transcriptionSeconds: Number("int"),
143
- * // attachment: "STRING_VALUE",
144
- * // attachmentType: "VOICEMAIL" || "FAX",
145
- * // attachmentDestinations: [ // CallFlowAttachmentDestinationList
146
- * // { // CallFlowAttachmentDestination
147
- * // phone: "STRING_VALUE",
148
- * // name: "STRING_VALUE",
149
- * // email: "STRING_VALUE",
150
- * // userId: "STRING_VALUE",
151
- * // userExtension: "STRING_VALUE",
152
- * // userDepartment: "STRING_VALUE",
153
- * // groupId: "STRING_VALUE",
154
- * // groupName: "STRING_VALUE",
155
- * // },
156
- * // ],
157
- * // attachments: [ // CallFlowAttachments
158
- * // { // CallFlowAttachment Union: only one key present
159
- * // recording: {
160
- * // fileName: "STRING_VALUE", // required
161
- * // start: Number("long"), // required
162
- * // end: Number("long"), // required
163
- * // owner: "callee" || "caller" || "system", // required
164
- * // url: "STRING_VALUE", // required
165
- * // pauses: [ // required
166
- * // {
167
- * // start: Number("long"),
168
- * // end: Number("long"),
169
- * // reason: "pause" || "hold",
170
- * // },
171
- * // ],
172
- * // },
173
- * // fax: { // CallFlowFax
174
- * // url: "STRING_VALUE", // required
175
- * // status: "ok" || "error",
176
- * // destinations: [
177
- * // {
178
- * // phone: "STRING_VALUE",
179
- * // name: "STRING_VALUE",
180
- * // email: "STRING_VALUE",
181
- * // userId: "STRING_VALUE",
182
- * // userExtension: "STRING_VALUE",
183
- * // userDepartment: "STRING_VALUE",
184
- * // groupId: "STRING_VALUE",
185
- * // groupName: "STRING_VALUE",
186
- * // },
187
- * // ],
188
- * // owner: "callee" || "caller" || "system",
189
- * // error: "STRING_VALUE",
190
- * // },
191
- * // voicemail: { // CallFlowVoicemail
192
- * // url: "STRING_VALUE", // required
193
- * // destinations: [
194
- * // {
195
- * // phone: "STRING_VALUE",
196
- * // name: "STRING_VALUE",
197
- * // email: "STRING_VALUE",
198
- * // userId: "STRING_VALUE",
199
- * // userExtension: "STRING_VALUE",
200
- * // userDepartment: "STRING_VALUE",
201
- * // groupId: "STRING_VALUE",
202
- * // groupName: "STRING_VALUE",
203
- * // },
204
- * // ],
205
- * // owner: "callee" || "caller" || "system",
206
- * // },
207
- * // },
208
- * // ],
209
- * // notifications: { // CallFlowNotifications
210
- * // destinations: "<CallFlowAttachmentDestinationList>",
211
- * // type: [ // NotificationsType
212
- * // "STRING_VALUE",
213
- * // ],
214
- * // },
215
- * // status: "CONNECTING" || "TALKING" || "HOLD", // required
216
- * // statusChangeDate: "STRING_VALUE", // required
217
- * // },
218
- * // ],
219
- * // transcriptions: [ // CallAnalyticsLiveTranscriptionEventList
220
- * // { // CallAnalyticsLiveTranscriptionEvent
221
- * // id: "STRING_VALUE", // required
222
- * // pbx: "STRING_VALUE", // required
223
- * // time: Number("long"), // required
224
- * // company: "STRING_VALUE", // required
225
- * // licenses: [ // LicensesList // required
226
- * // "x-bees" || "uc",
227
- * // ],
228
- * // event: "chat" || "chat_transcription" || "chat_complete" || "chat_interrupted" || "chat_missed" || "call_cost" || "call" || "call_complete" || "call_interrupted" || "call_transcription" || "conference" || "conference_complete" || "conference_interrupted" || "conference_transcription" || "conference_join" || "conference_leave", // required
229
- * // flowIndex: Number("int"), // required
230
- * // flowStartTime: Number("long"), // required
231
- * // callStartTime: Number("long"), // required
232
- * // chunk: { // CallTranscriptionChunk
233
- * // id: "STRING_VALUE", // required
234
- * // time: Number("long"), // required
235
- * // speaker: "callee" || "caller", // required
236
- * // text: "STRING_VALUE", // required
237
- * // language: "STRING_VALUE",
238
- * // isFinal: true || false, // required
239
- * // start: Number("long"), // required
240
- * // end: Number("long"), // required
241
- * // sentiment: "STRING_VALUE",
242
- * // },
243
- * // participant: {
244
- * // type: "REMOTE" || "LOCAL", // required
245
- * // phone: "STRING_VALUE",
246
- * // name: "STRING_VALUE",
247
- * // company: "STRING_VALUE",
248
- * // email: "STRING_VALUE",
249
- * // userId: "STRING_VALUE",
250
- * // userExtension: "STRING_VALUE",
251
- * // userDepartment: "STRING_VALUE",
252
- * // groupId: "STRING_VALUE",
253
- * // groupName: "STRING_VALUE",
254
- * // userAgent: "STRING_VALUE",
255
- * // userDevice: "COLLABORATION_WEB" || "COLLABORATION_IOS" || "COLLABORATION_ANDROID" || "XBEES_WEB" || "XBEES_IOS" || "XBEES_ANDROID" || "WILDIX_PHONE" || "WILDIX_DEVICE" || "VOICEBOT" || "UNKNOWN",
256
- * // role: "CLIENT" || "AGENT", // required
257
- * // license: "STRING_VALUE",
258
- * // sipCallId: "STRING_VALUE",
259
- * // publicAddress: "STRING_VALUE",
260
- * // privateAddress: "STRING_VALUE",
261
- * // location: "STRING_VALUE",
262
- * // },
263
- * // },
264
- * // ],
265
- * // };
266
- *
267
- * ```
268
- *
269
- * @param GetOngoingCallCommandInput - {@link GetOngoingCallCommandInput}
270
- * @returns {@link GetOngoingCallCommandOutput}
271
- * @see {@link GetOngoingCallCommandInput} for command's `input` shape.
272
- * @see {@link GetOngoingCallCommandOutput} for command's `response` shape.
273
- * @see {@link WdaStreamClientResolvedConfig | config} for WdaStreamClient's `config` shape.
274
- *
275
- * @throws {@link ValidationException} (client fault)
276
- *
277
- * @throws {@link MatchNotFoundException} (client fault)
278
- *
279
- * @throws {@link WdaStreamServiceException}
280
- * <p>Base exception class for all service exceptions from WdaStream service.</p>
281
- *
282
- *
283
- * @public
284
- */
285
- export declare class GetOngoingCallCommand extends GetOngoingCallCommand_base {
286
- /** @internal type navigation helper, not in runtime. */
287
- protected static __types: {
288
- api: {
289
- input: GetOngoingCallInput;
290
- output: GetOngoingCallOutput;
291
- };
292
- sdk: {
293
- input: GetOngoingCallCommandInput;
294
- output: GetOngoingCallCommandOutput;
295
- };
296
- };
297
- }