@wildix/wda-stream-client 1.1.38 → 1.1.40
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 +8 -0
- package/dist-cjs/commands/GetOngoingCallCommand.js +21 -0
- package/dist-cjs/commands/GetOngoingCallTranscriptionCommand.js +21 -0
- package/dist-cjs/commands/GetOngoingConferenceCommand.js +21 -0
- package/dist-cjs/commands/GetOngoingConferenceTranscriptionCommand.js +21 -0
- package/dist-cjs/commands/index.js +4 -0
- package/dist-cjs/protocols/Aws_restJson1.js +129 -1
- package/dist-es/WdaStream.js +8 -0
- package/dist-es/commands/GetOngoingCallCommand.js +17 -0
- package/dist-es/commands/GetOngoingCallTranscriptionCommand.js +17 -0
- package/dist-es/commands/GetOngoingConferenceCommand.js +17 -0
- package/dist-es/commands/GetOngoingConferenceTranscriptionCommand.js +17 -0
- package/dist-es/commands/index.js +4 -0
- package/dist-es/protocols/Aws_restJson1.js +120 -0
- package/dist-types/WdaStream.d.ts +28 -0
- package/dist-types/WdaStreamClient.d.ts +6 -2
- package/dist-types/commands/GetOngoingCallCommand.d.ts +251 -0
- package/dist-types/commands/GetOngoingCallTranscriptionCommand.d.ts +297 -0
- package/dist-types/commands/GetOngoingConferenceCommand.d.ts +106 -0
- package/dist-types/commands/GetOngoingConferenceTranscriptionCommand.d.ts +142 -0
- package/dist-types/commands/index.d.ts +4 -0
- package/dist-types/models/models_0.d.ts +56 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +36 -0
- package/package.json +1 -1
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
import { ServiceInputTypes, ServiceOutputTypes, WdaStreamClientResolvedConfig } from "../WdaStreamClient";
|
|
2
|
+
import { GetOngoingConferenceTranscriptionInput, GetOngoingConferenceTranscriptionOutput } 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 GetOngoingConferenceTranscriptionCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetOngoingConferenceTranscriptionCommandInput extends GetOngoingConferenceTranscriptionInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetOngoingConferenceTranscriptionCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetOngoingConferenceTranscriptionCommandOutput extends GetOngoingConferenceTranscriptionOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const GetOngoingConferenceTranscriptionCommand_base: {
|
|
25
|
+
new (input: GetOngoingConferenceTranscriptionCommandInput): import("@smithy/smithy-client").CommandImpl<GetOngoingConferenceTranscriptionCommandInput, GetOngoingConferenceTranscriptionCommandOutput, WdaStreamClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: GetOngoingConferenceTranscriptionCommandInput): import("@smithy/smithy-client").CommandImpl<GetOngoingConferenceTranscriptionCommandInput, GetOngoingConferenceTranscriptionCommandOutput, WdaStreamClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Retrieves information and transcription for ongoing conference.
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { WdaStreamClient, GetOngoingConferenceTranscriptionCommand } from "@wildix/wda-stream-client"; // ES Modules import
|
|
35
|
+
* // const { WdaStreamClient, GetOngoingConferenceTranscriptionCommand } = require("@wildix/wda-stream-client"); // CommonJS import
|
|
36
|
+
* const client = new WdaStreamClient(config);
|
|
37
|
+
* const input = { // GetOngoingConferenceTranscriptionInput
|
|
38
|
+
* company: "STRING_VALUE",
|
|
39
|
+
* conferenceId: "STRING_VALUE", // required
|
|
40
|
+
* };
|
|
41
|
+
* const command = new GetOngoingConferenceTranscriptionCommand(input);
|
|
42
|
+
* const response = await client.send(command);
|
|
43
|
+
* // { // GetOngoingConferenceTranscriptionOutput
|
|
44
|
+
* // conference: { // ConferenceAnalyticsLiveProgressEvent
|
|
45
|
+
* // id: "STRING_VALUE", // required
|
|
46
|
+
* // time: Number("long"), // required
|
|
47
|
+
* // company: "STRING_VALUE", // required
|
|
48
|
+
* // 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
|
|
49
|
+
* // start: "STRING_VALUE", // required
|
|
50
|
+
* // subject: "STRING_VALUE", // required
|
|
51
|
+
* // participants: [ // ConferenceParticipantsList // required
|
|
52
|
+
* // { // ConferenceParticipant
|
|
53
|
+
* // type: "EXTERNAL" || "EXTERNAL_DIAL_IN" || "PBX" || "PBX_SIP" || "XBS", // required
|
|
54
|
+
* // role: "CLIENT" || "AGENT",
|
|
55
|
+
* // jid: "STRING_VALUE",
|
|
56
|
+
* // name: "STRING_VALUE",
|
|
57
|
+
* // email: "STRING_VALUE",
|
|
58
|
+
* // phone: "STRING_VALUE",
|
|
59
|
+
* // department: "STRING_VALUE",
|
|
60
|
+
* // company: "STRING_VALUE",
|
|
61
|
+
* // pbxSerial: "STRING_VALUE",
|
|
62
|
+
* // pbxExtension: "STRING_VALUE",
|
|
63
|
+
* // pbxGroupId: "STRING_VALUE",
|
|
64
|
+
* // xbsId: "STRING_VALUE",
|
|
65
|
+
* // license: "basic" || "essential" || "business" || "premium" || "wizyconf",
|
|
66
|
+
* // },
|
|
67
|
+
* // ],
|
|
68
|
+
* // transcriptionStatus: "AVAILABLE" || "POST_TRANSCRIPTION" || "UNAVAILABLE",
|
|
69
|
+
* // transcriptionLanguage: "STRING_VALUE",
|
|
70
|
+
* // participantsGroupIds: [ // ConversationParticipantsGroupList
|
|
71
|
+
* // "STRING_VALUE",
|
|
72
|
+
* // ],
|
|
73
|
+
* // },
|
|
74
|
+
* // transcriptions: [ // ConferenceAnalyticsLiveTranscriptionEventList
|
|
75
|
+
* // { // ConferenceAnalyticsLiveTranscriptionEvent
|
|
76
|
+
* // id: "STRING_VALUE", // required
|
|
77
|
+
* // time: Number("long"), // required
|
|
78
|
+
* // company: "STRING_VALUE", // required
|
|
79
|
+
* // 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
|
|
80
|
+
* // conferenceStartTime: Number("long"), // required
|
|
81
|
+
* // transcriptionStartTime: Number("long"), // required
|
|
82
|
+
* // chunk: { // ConferenceTranscriptionChunk
|
|
83
|
+
* // id: "STRING_VALUE", // required
|
|
84
|
+
* // time: Number("long"), // required
|
|
85
|
+
* // jid: "STRING_VALUE", // required
|
|
86
|
+
* // text: "STRING_VALUE", // required
|
|
87
|
+
* // language: "STRING_VALUE",
|
|
88
|
+
* // isFinal: true || false, // required
|
|
89
|
+
* // start: Number("long"), // required
|
|
90
|
+
* // end: Number("long"), // required
|
|
91
|
+
* // sentiment: "STRING_VALUE",
|
|
92
|
+
* // },
|
|
93
|
+
* // participant: {
|
|
94
|
+
* // type: "EXTERNAL" || "EXTERNAL_DIAL_IN" || "PBX" || "PBX_SIP" || "XBS", // required
|
|
95
|
+
* // role: "CLIENT" || "AGENT",
|
|
96
|
+
* // jid: "STRING_VALUE",
|
|
97
|
+
* // name: "STRING_VALUE",
|
|
98
|
+
* // email: "STRING_VALUE",
|
|
99
|
+
* // phone: "STRING_VALUE",
|
|
100
|
+
* // department: "STRING_VALUE",
|
|
101
|
+
* // company: "STRING_VALUE",
|
|
102
|
+
* // pbxSerial: "STRING_VALUE",
|
|
103
|
+
* // pbxExtension: "STRING_VALUE",
|
|
104
|
+
* // pbxGroupId: "STRING_VALUE",
|
|
105
|
+
* // xbsId: "STRING_VALUE",
|
|
106
|
+
* // license: "basic" || "essential" || "business" || "premium" || "wizyconf",
|
|
107
|
+
* // },
|
|
108
|
+
* // },
|
|
109
|
+
* // ],
|
|
110
|
+
* // };
|
|
111
|
+
*
|
|
112
|
+
* ```
|
|
113
|
+
*
|
|
114
|
+
* @param GetOngoingConferenceTranscriptionCommandInput - {@link GetOngoingConferenceTranscriptionCommandInput}
|
|
115
|
+
* @returns {@link GetOngoingConferenceTranscriptionCommandOutput}
|
|
116
|
+
* @see {@link GetOngoingConferenceTranscriptionCommandInput} for command's `input` shape.
|
|
117
|
+
* @see {@link GetOngoingConferenceTranscriptionCommandOutput} for command's `response` shape.
|
|
118
|
+
* @see {@link WdaStreamClientResolvedConfig | config} for WdaStreamClient's `config` shape.
|
|
119
|
+
*
|
|
120
|
+
* @throws {@link ValidationException} (client fault)
|
|
121
|
+
*
|
|
122
|
+
* @throws {@link MatchNotFoundException} (client fault)
|
|
123
|
+
*
|
|
124
|
+
* @throws {@link WdaStreamServiceException}
|
|
125
|
+
* <p>Base exception class for all service exceptions from WdaStream service.</p>
|
|
126
|
+
*
|
|
127
|
+
*
|
|
128
|
+
* @public
|
|
129
|
+
*/
|
|
130
|
+
export declare class GetOngoingConferenceTranscriptionCommand extends GetOngoingConferenceTranscriptionCommand_base {
|
|
131
|
+
/** @internal type navigation helper, not in runtime. */
|
|
132
|
+
protected static __types: {
|
|
133
|
+
api: {
|
|
134
|
+
input: GetOngoingConferenceTranscriptionInput;
|
|
135
|
+
output: GetOngoingConferenceTranscriptionOutput;
|
|
136
|
+
};
|
|
137
|
+
sdk: {
|
|
138
|
+
input: GetOngoingConferenceTranscriptionCommandInput;
|
|
139
|
+
output: GetOngoingConferenceTranscriptionCommandOutput;
|
|
140
|
+
};
|
|
141
|
+
};
|
|
142
|
+
}
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
export * from "./ConsumeEventCommand";
|
|
2
2
|
export * from "./DescribeEventCommand";
|
|
3
3
|
export * from "./GetConferenceIdCommand";
|
|
4
|
+
export * from "./GetOngoingCallCommand";
|
|
5
|
+
export * from "./GetOngoingCallTranscriptionCommand";
|
|
6
|
+
export * from "./GetOngoingConferenceCommand";
|
|
7
|
+
export * from "./GetOngoingConferenceTranscriptionCommand";
|
|
4
8
|
export * from "./QueryConversationsCommand";
|
|
5
9
|
export * from "./QueryPresenceCommand";
|
|
6
10
|
export * from "./QueryPresencesCommand";
|
|
@@ -5123,6 +5123,62 @@ 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
|
+
}
|
|
5140
|
+
/**
|
|
5141
|
+
* @public
|
|
5142
|
+
*/
|
|
5143
|
+
export interface GetOngoingCallTranscriptionInput {
|
|
5144
|
+
company?: string | undefined;
|
|
5145
|
+
callId: string;
|
|
5146
|
+
}
|
|
5147
|
+
/**
|
|
5148
|
+
* @public
|
|
5149
|
+
*/
|
|
5150
|
+
export interface GetOngoingCallTranscriptionOutput {
|
|
5151
|
+
company: string;
|
|
5152
|
+
flows: (CallAnalyticsLiveProgressEventFlow)[];
|
|
5153
|
+
transcriptions?: (CallAnalyticsLiveTranscriptionEvent)[] | undefined;
|
|
5154
|
+
}
|
|
5155
|
+
/**
|
|
5156
|
+
* @public
|
|
5157
|
+
*/
|
|
5158
|
+
export interface GetOngoingConferenceInput {
|
|
5159
|
+
company?: string | undefined;
|
|
5160
|
+
conferenceId: string;
|
|
5161
|
+
}
|
|
5162
|
+
/**
|
|
5163
|
+
* @public
|
|
5164
|
+
*/
|
|
5165
|
+
export interface GetOngoingConferenceOutput {
|
|
5166
|
+
conference: ConferenceAnalyticsLiveProgressEvent;
|
|
5167
|
+
}
|
|
5168
|
+
/**
|
|
5169
|
+
* @public
|
|
5170
|
+
*/
|
|
5171
|
+
export interface GetOngoingConferenceTranscriptionInput {
|
|
5172
|
+
company?: string | undefined;
|
|
5173
|
+
conferenceId: string;
|
|
5174
|
+
}
|
|
5175
|
+
/**
|
|
5176
|
+
* @public
|
|
5177
|
+
*/
|
|
5178
|
+
export interface GetOngoingConferenceTranscriptionOutput {
|
|
5179
|
+
conference: ConferenceAnalyticsLiveProgressEvent;
|
|
5180
|
+
transcriptions?: (ConferenceAnalyticsLiveTranscriptionEvent)[] | undefined;
|
|
5181
|
+
}
|
|
5126
5182
|
/**
|
|
5127
5183
|
* @public
|
|
5128
5184
|
* @enum
|
|
@@ -1,6 +1,10 @@
|
|
|
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
|
+
import { GetOngoingCallTranscriptionCommandInput, GetOngoingCallTranscriptionCommandOutput } from "../commands/GetOngoingCallTranscriptionCommand";
|
|
6
|
+
import { GetOngoingConferenceCommandInput, GetOngoingConferenceCommandOutput } from "../commands/GetOngoingConferenceCommand";
|
|
7
|
+
import { GetOngoingConferenceTranscriptionCommandInput, GetOngoingConferenceTranscriptionCommandOutput } from "../commands/GetOngoingConferenceTranscriptionCommand";
|
|
4
8
|
import { QueryConversationsCommandInput, QueryConversationsCommandOutput } from "../commands/QueryConversationsCommand";
|
|
5
9
|
import { QueryPresenceCommandInput, QueryPresenceCommandOutput } from "../commands/QueryPresenceCommand";
|
|
6
10
|
import { QueryPresencesCommandInput, QueryPresencesCommandOutput } from "../commands/QueryPresencesCommand";
|
|
@@ -19,6 +23,22 @@ export declare const se_DescribeEventCommand: (input: DescribeEventCommandInput,
|
|
|
19
23
|
* serializeAws_restJson1GetConferenceIdCommand
|
|
20
24
|
*/
|
|
21
25
|
export declare const se_GetConferenceIdCommand: (input: GetConferenceIdCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
26
|
+
/**
|
|
27
|
+
* serializeAws_restJson1GetOngoingCallCommand
|
|
28
|
+
*/
|
|
29
|
+
export declare const se_GetOngoingCallCommand: (input: GetOngoingCallCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
30
|
+
/**
|
|
31
|
+
* serializeAws_restJson1GetOngoingCallTranscriptionCommand
|
|
32
|
+
*/
|
|
33
|
+
export declare const se_GetOngoingCallTranscriptionCommand: (input: GetOngoingCallTranscriptionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
34
|
+
/**
|
|
35
|
+
* serializeAws_restJson1GetOngoingConferenceCommand
|
|
36
|
+
*/
|
|
37
|
+
export declare const se_GetOngoingConferenceCommand: (input: GetOngoingConferenceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
38
|
+
/**
|
|
39
|
+
* serializeAws_restJson1GetOngoingConferenceTranscriptionCommand
|
|
40
|
+
*/
|
|
41
|
+
export declare const se_GetOngoingConferenceTranscriptionCommand: (input: GetOngoingConferenceTranscriptionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
22
42
|
/**
|
|
23
43
|
* serializeAws_restJson1QueryConversationsCommand
|
|
24
44
|
*/
|
|
@@ -47,6 +67,22 @@ export declare const de_DescribeEventCommand: (output: __HttpResponse, context:
|
|
|
47
67
|
* deserializeAws_restJson1GetConferenceIdCommand
|
|
48
68
|
*/
|
|
49
69
|
export declare const de_GetConferenceIdCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetConferenceIdCommandOutput>;
|
|
70
|
+
/**
|
|
71
|
+
* deserializeAws_restJson1GetOngoingCallCommand
|
|
72
|
+
*/
|
|
73
|
+
export declare const de_GetOngoingCallCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetOngoingCallCommandOutput>;
|
|
74
|
+
/**
|
|
75
|
+
* deserializeAws_restJson1GetOngoingCallTranscriptionCommand
|
|
76
|
+
*/
|
|
77
|
+
export declare const de_GetOngoingCallTranscriptionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetOngoingCallTranscriptionCommandOutput>;
|
|
78
|
+
/**
|
|
79
|
+
* deserializeAws_restJson1GetOngoingConferenceCommand
|
|
80
|
+
*/
|
|
81
|
+
export declare const de_GetOngoingConferenceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetOngoingConferenceCommandOutput>;
|
|
82
|
+
/**
|
|
83
|
+
* deserializeAws_restJson1GetOngoingConferenceTranscriptionCommand
|
|
84
|
+
*/
|
|
85
|
+
export declare const de_GetOngoingConferenceTranscriptionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetOngoingConferenceTranscriptionCommandOutput>;
|
|
50
86
|
/**
|
|
51
87
|
* deserializeAws_restJson1QueryConversationsCommand
|
|
52
88
|
*/
|
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.
|
|
4
|
+
"version": "1.1.40",
|
|
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",
|