@wildix/wda-stream-client 1.1.32 → 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,22 +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
- 'flows': smithy_client_1._json,
265
- 'transcriptions': smithy_client_1._json,
266
- });
267
- Object.assign(contents, doc);
268
- return contents;
269
- };
270
- exports.de_GetOngoingCallCommand = de_GetOngoingCallCommand;
271
239
  const de_QueryConversationsCommand = async (output, context) => {
272
240
  if (output.statusCode !== 200 && output.statusCode >= 300) {
273
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,21 +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
- 'flows': _json,
251
- 'transcriptions': _json,
252
- });
253
- Object.assign(contents, doc);
254
- return contents;
255
- };
256
226
  export const de_QueryConversationsCommand = async (output, context) => {
257
227
  if (output.statusCode !== 200 && output.statusCode >= 300) {
258
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,20 +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
- flows: (CallAnalyticsLiveProgressEventFlow)[];
5138
- transcriptions?: (CallAnalyticsLiveTranscriptionEvent)[] | undefined;
5139
- }
5140
5126
  /**
5141
5127
  * @public
5142
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.32",
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,296 +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
- * // flows: [ // CallAnalyticsLiveProgressEventFlowList // required
45
- * // { // CallAnalyticsLiveProgressEventFlow
46
- * // flowIndex: Number("int"), // required
47
- * // startTime: Number("long"), // required
48
- * // endTime: Number("long"), // required
49
- * // connectTime: Number("long"),
50
- * // talkTime: Number("long"),
51
- * // waitTime: Number("long"),
52
- * // queueTime: Number("long"),
53
- * // holdTime: Number("long"),
54
- * // duration: Number("long"), // required
55
- * // caller: { // CallParticipant
56
- * // type: "REMOTE" || "LOCAL", // required
57
- * // phone: "STRING_VALUE",
58
- * // name: "STRING_VALUE",
59
- * // company: "STRING_VALUE",
60
- * // email: "STRING_VALUE",
61
- * // userId: "STRING_VALUE",
62
- * // userExtension: "STRING_VALUE",
63
- * // userDepartment: "STRING_VALUE",
64
- * // groupId: "STRING_VALUE",
65
- * // groupName: "STRING_VALUE",
66
- * // userAgent: "STRING_VALUE",
67
- * // userDevice: "COLLABORATION_WEB" || "COLLABORATION_IOS" || "COLLABORATION_ANDROID" || "XBEES_WEB" || "XBEES_IOS" || "XBEES_ANDROID" || "WILDIX_PHONE" || "WILDIX_DEVICE" || "VOICEBOT" || "UNKNOWN",
68
- * // role: "CLIENT" || "AGENT", // required
69
- * // license: "STRING_VALUE",
70
- * // sipCallId: "STRING_VALUE",
71
- * // publicAddress: "STRING_VALUE",
72
- * // privateAddress: "STRING_VALUE",
73
- * // location: "STRING_VALUE",
74
- * // },
75
- * // callee: {
76
- * // type: "REMOTE" || "LOCAL", // required
77
- * // phone: "STRING_VALUE",
78
- * // name: "STRING_VALUE",
79
- * // company: "STRING_VALUE",
80
- * // email: "STRING_VALUE",
81
- * // userId: "STRING_VALUE",
82
- * // userExtension: "STRING_VALUE",
83
- * // userDepartment: "STRING_VALUE",
84
- * // groupId: "STRING_VALUE",
85
- * // groupName: "STRING_VALUE",
86
- * // userAgent: "STRING_VALUE",
87
- * // userDevice: "COLLABORATION_WEB" || "COLLABORATION_IOS" || "COLLABORATION_ANDROID" || "XBEES_WEB" || "XBEES_IOS" || "XBEES_ANDROID" || "WILDIX_PHONE" || "WILDIX_DEVICE" || "VOICEBOT" || "UNKNOWN",
88
- * // role: "CLIENT" || "AGENT", // required
89
- * // license: "STRING_VALUE",
90
- * // sipCallId: "STRING_VALUE",
91
- * // publicAddress: "STRING_VALUE",
92
- * // privateAddress: "STRING_VALUE",
93
- * // location: "STRING_VALUE",
94
- * // },
95
- * // service: "STRING_VALUE",
96
- * // serviceNumber: "STRING_VALUE",
97
- * // destination: "STRING_VALUE",
98
- * // direction: "INTERNAL" || "INBOUND" || "OUTBOUND" || "UNDEFINED",
99
- * // trunkName: "STRING_VALUE",
100
- * // trunkDirection: "STRING_VALUE",
101
- * // queueName: "STRING_VALUE",
102
- * // queueId: "STRING_VALUE",
103
- * // tags: [ // CallFlowTags
104
- * // "STRING_VALUE",
105
- * // ],
106
- * // flags: [ // CallFlowFlags
107
- * // "STRING_VALUE",
108
- * // ],
109
- * // callerMos: "STRING_VALUE",
110
- * // calleeMos: "STRING_VALUE",
111
- * // xhoppersConfId: "STRING_VALUE",
112
- * // recordings: [ // CallFlowRecordings
113
- * // "STRING_VALUE",
114
- * // ],
115
- * // recordingsData: [ // CallFlowRecordingsData
116
- * // { // CallFlowRecording
117
- * // fileName: "STRING_VALUE", // required
118
- * // start: Number("long"), // required
119
- * // end: Number("long"), // required
120
- * // owner: "callee" || "caller" || "system", // required
121
- * // url: "STRING_VALUE", // required
122
- * // pauses: [ // CallRecordPausesList // required
123
- * // { // CallRecordPause
124
- * // start: Number("long"),
125
- * // end: Number("long"),
126
- * // reason: "pause" || "hold",
127
- * // },
128
- * // ],
129
- * // },
130
- * // ],
131
- * // mergeWith: "STRING_VALUE",
132
- * // splitReason: "STRING_VALUE",
133
- * // splitTransferType: "STRING_VALUE",
134
- * // remotePhone: "STRING_VALUE",
135
- * // remotePhoneCountryCode: Number("int"),
136
- * // remotePhoneCountryCodeStr: "STRING_VALUE",
137
- * // remotePhoneLocation: "STRING_VALUE",
138
- * // callStatus: "COMPLETED" || "MISSED",
139
- * // transcriptionStatus: "AVAILABLE" || "POST_TRANSCRIPTION" || "UNAVAILABLE",
140
- * // transcriptionLanguage: "STRING_VALUE",
141
- * // transcriptionSeconds: Number("int"),
142
- * // attachment: "STRING_VALUE",
143
- * // attachmentType: "VOICEMAIL" || "FAX",
144
- * // attachmentDestinations: [ // CallFlowAttachmentDestinationList
145
- * // { // CallFlowAttachmentDestination
146
- * // phone: "STRING_VALUE",
147
- * // name: "STRING_VALUE",
148
- * // email: "STRING_VALUE",
149
- * // userId: "STRING_VALUE",
150
- * // userExtension: "STRING_VALUE",
151
- * // userDepartment: "STRING_VALUE",
152
- * // groupId: "STRING_VALUE",
153
- * // groupName: "STRING_VALUE",
154
- * // },
155
- * // ],
156
- * // attachments: [ // CallFlowAttachments
157
- * // { // CallFlowAttachment Union: only one key present
158
- * // recording: {
159
- * // fileName: "STRING_VALUE", // required
160
- * // start: Number("long"), // required
161
- * // end: Number("long"), // required
162
- * // owner: "callee" || "caller" || "system", // required
163
- * // url: "STRING_VALUE", // required
164
- * // pauses: [ // required
165
- * // {
166
- * // start: Number("long"),
167
- * // end: Number("long"),
168
- * // reason: "pause" || "hold",
169
- * // },
170
- * // ],
171
- * // },
172
- * // fax: { // CallFlowFax
173
- * // url: "STRING_VALUE", // required
174
- * // status: "ok" || "error",
175
- * // destinations: [
176
- * // {
177
- * // phone: "STRING_VALUE",
178
- * // name: "STRING_VALUE",
179
- * // email: "STRING_VALUE",
180
- * // userId: "STRING_VALUE",
181
- * // userExtension: "STRING_VALUE",
182
- * // userDepartment: "STRING_VALUE",
183
- * // groupId: "STRING_VALUE",
184
- * // groupName: "STRING_VALUE",
185
- * // },
186
- * // ],
187
- * // owner: "callee" || "caller" || "system",
188
- * // error: "STRING_VALUE",
189
- * // },
190
- * // voicemail: { // CallFlowVoicemail
191
- * // url: "STRING_VALUE", // required
192
- * // destinations: [
193
- * // {
194
- * // phone: "STRING_VALUE",
195
- * // name: "STRING_VALUE",
196
- * // email: "STRING_VALUE",
197
- * // userId: "STRING_VALUE",
198
- * // userExtension: "STRING_VALUE",
199
- * // userDepartment: "STRING_VALUE",
200
- * // groupId: "STRING_VALUE",
201
- * // groupName: "STRING_VALUE",
202
- * // },
203
- * // ],
204
- * // owner: "callee" || "caller" || "system",
205
- * // },
206
- * // },
207
- * // ],
208
- * // notifications: { // CallFlowNotifications
209
- * // destinations: "<CallFlowAttachmentDestinationList>",
210
- * // type: [ // NotificationsType
211
- * // "STRING_VALUE",
212
- * // ],
213
- * // },
214
- * // status: "CONNECTING" || "TALKING" || "HOLD", // required
215
- * // statusChangeDate: "STRING_VALUE", // required
216
- * // },
217
- * // ],
218
- * // transcriptions: [ // CallAnalyticsLiveTranscriptionEventList
219
- * // { // CallAnalyticsLiveTranscriptionEvent
220
- * // id: "STRING_VALUE", // required
221
- * // pbx: "STRING_VALUE", // required
222
- * // time: Number("long"), // required
223
- * // company: "STRING_VALUE", // required
224
- * // licenses: [ // LicensesList // required
225
- * // "x-bees" || "uc",
226
- * // ],
227
- * // 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
228
- * // flowIndex: Number("int"), // required
229
- * // flowStartTime: Number("long"), // required
230
- * // callStartTime: Number("long"), // required
231
- * // chunk: { // CallTranscriptionChunk
232
- * // id: "STRING_VALUE", // required
233
- * // time: Number("long"), // required
234
- * // speaker: "callee" || "caller", // required
235
- * // text: "STRING_VALUE", // required
236
- * // language: "STRING_VALUE",
237
- * // isFinal: true || false, // required
238
- * // start: Number("long"), // required
239
- * // end: Number("long"), // required
240
- * // sentiment: "STRING_VALUE",
241
- * // },
242
- * // participant: {
243
- * // type: "REMOTE" || "LOCAL", // required
244
- * // phone: "STRING_VALUE",
245
- * // name: "STRING_VALUE",
246
- * // company: "STRING_VALUE",
247
- * // email: "STRING_VALUE",
248
- * // userId: "STRING_VALUE",
249
- * // userExtension: "STRING_VALUE",
250
- * // userDepartment: "STRING_VALUE",
251
- * // groupId: "STRING_VALUE",
252
- * // groupName: "STRING_VALUE",
253
- * // userAgent: "STRING_VALUE",
254
- * // userDevice: "COLLABORATION_WEB" || "COLLABORATION_IOS" || "COLLABORATION_ANDROID" || "XBEES_WEB" || "XBEES_IOS" || "XBEES_ANDROID" || "WILDIX_PHONE" || "WILDIX_DEVICE" || "VOICEBOT" || "UNKNOWN",
255
- * // role: "CLIENT" || "AGENT", // required
256
- * // license: "STRING_VALUE",
257
- * // sipCallId: "STRING_VALUE",
258
- * // publicAddress: "STRING_VALUE",
259
- * // privateAddress: "STRING_VALUE",
260
- * // location: "STRING_VALUE",
261
- * // },
262
- * // },
263
- * // ],
264
- * // };
265
- *
266
- * ```
267
- *
268
- * @param GetOngoingCallCommandInput - {@link GetOngoingCallCommandInput}
269
- * @returns {@link GetOngoingCallCommandOutput}
270
- * @see {@link GetOngoingCallCommandInput} for command's `input` shape.
271
- * @see {@link GetOngoingCallCommandOutput} for command's `response` shape.
272
- * @see {@link WdaStreamClientResolvedConfig | config} for WdaStreamClient's `config` shape.
273
- *
274
- * @throws {@link ValidationException} (client fault)
275
- *
276
- * @throws {@link MatchNotFoundException} (client fault)
277
- *
278
- * @throws {@link WdaStreamServiceException}
279
- * <p>Base exception class for all service exceptions from WdaStream service.</p>
280
- *
281
- *
282
- * @public
283
- */
284
- export declare class GetOngoingCallCommand extends GetOngoingCallCommand_base {
285
- /** @internal type navigation helper, not in runtime. */
286
- protected static __types: {
287
- api: {
288
- input: GetOngoingCallInput;
289
- output: GetOngoingCallOutput;
290
- };
291
- sdk: {
292
- input: GetOngoingCallCommandInput;
293
- output: GetOngoingCallCommandOutput;
294
- };
295
- };
296
- }