@wildix/wda-stream-client 1.0.1
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 +17 -0
- package/dist-cjs/WdaStreamClient.js +35 -0
- package/dist-cjs/commands/ConsumeEventCommand.js +41 -0
- package/dist-cjs/commands/DescribeEventCommand.js +41 -0
- package/dist-cjs/commands/GetOngoingConversationsCommand.js +41 -0
- package/dist-cjs/commands/index.js +6 -0
- package/dist-cjs/extensionConfiguration.js +2 -0
- package/dist-cjs/index.js +10 -0
- package/dist-cjs/models/WdaStreamServiceException.js +12 -0
- package/dist-cjs/models/index.js +4 -0
- package/dist-cjs/models/models_0.js +170 -0
- package/dist-cjs/protocols/Aws_restJson1.js +262 -0
- package/dist-cjs/runtimeConfig.browser.js +28 -0
- package/dist-cjs/runtimeConfig.js +32 -0
- package/dist-cjs/runtimeConfig.native.js +15 -0
- package/dist-cjs/runtimeConfig.shared.js +19 -0
- package/dist-cjs/runtimeExtensions.js +19 -0
- package/dist-es/WdaStream.js +13 -0
- package/dist-es/WdaStreamClient.js +31 -0
- package/dist-es/commands/ConsumeEventCommand.js +37 -0
- package/dist-es/commands/DescribeEventCommand.js +37 -0
- package/dist-es/commands/GetOngoingConversationsCommand.js +37 -0
- package/dist-es/commands/index.js +3 -0
- package/dist-es/extensionConfiguration.js +1 -0
- package/dist-es/index.js +5 -0
- package/dist-es/models/WdaStreamServiceException.js +8 -0
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +165 -0
- package/dist-es/protocols/Aws_restJson1.js +253 -0
- package/dist-es/runtimeConfig.browser.js +24 -0
- package/dist-es/runtimeConfig.js +28 -0
- package/dist-es/runtimeConfig.native.js +11 -0
- package/dist-es/runtimeConfig.shared.js +15 -0
- package/dist-es/runtimeExtensions.js +15 -0
- package/dist-types/WdaStream.d.ts +30 -0
- package/dist-types/WdaStreamClient.d.ts +139 -0
- package/dist-types/commands/ConsumeEventCommand.d.ts +219 -0
- package/dist-types/commands/DescribeEventCommand.d.ts +327 -0
- package/dist-types/commands/GetOngoingConversationsCommand.d.ts +275 -0
- package/dist-types/commands/index.d.ts +3 -0
- package/dist-types/extensionConfiguration.d.ts +7 -0
- package/dist-types/index.d.ts +5 -0
- package/dist-types/models/WdaStreamServiceException.d.ts +13 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +857 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +29 -0
- package/dist-types/runtimeConfig.browser.d.ts +29 -0
- package/dist-types/runtimeConfig.d.ts +29 -0
- package/dist-types/runtimeConfig.native.d.ts +28 -0
- package/dist-types/runtimeConfig.shared.d.ts +15 -0
- package/dist-types/runtimeExtensions.d.ts +17 -0
- package/package.json +77 -0
|
@@ -0,0 +1,219 @@
|
|
|
1
|
+
import { ServiceInputTypes, ServiceOutputTypes, WdaStreamClientResolvedConfig } from "../WdaStreamClient";
|
|
2
|
+
import { ConsumeEventInput, ConsumeEventOutput } from "../models/models_0";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export { __MetadataBearer, $Command };
|
|
9
|
+
/**
|
|
10
|
+
* @public
|
|
11
|
+
*
|
|
12
|
+
* The input for {@link ConsumeEventCommand}.
|
|
13
|
+
*/
|
|
14
|
+
export interface ConsumeEventCommandInput extends ConsumeEventInput {
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* @public
|
|
18
|
+
*
|
|
19
|
+
* The output of {@link ConsumeEventCommand}.
|
|
20
|
+
*/
|
|
21
|
+
export interface ConsumeEventCommandOutput extends ConsumeEventOutput, __MetadataBearer {
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* @public
|
|
25
|
+
*
|
|
26
|
+
* @example
|
|
27
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
+
* ```javascript
|
|
29
|
+
* import { WdaStreamClient, ConsumeEventCommand } from "@wildix/wda-stream-client"; // ES Modules import
|
|
30
|
+
* // const { WdaStreamClient, ConsumeEventCommand } = require("@wildix/wda-stream-client"); // CommonJS import
|
|
31
|
+
* const client = new WdaStreamClient(config);
|
|
32
|
+
* const input = { // ConsumeEventInput
|
|
33
|
+
* event: { // ConsumeEventInputEvent Union: only one key present
|
|
34
|
+
* chatNew: { // ChatNewConsumeEvent
|
|
35
|
+
* type: "CHAT.NEW" || "CHAT.UPDATE", // required
|
|
36
|
+
* company: "STRING_VALUE", // required
|
|
37
|
+
* time: Number("long"), // required
|
|
38
|
+
* data: { // ChatNewConsumeEventData
|
|
39
|
+
* channelId: "STRING_VALUE", // required
|
|
40
|
+
* channelType: "direct" || "group", // required
|
|
41
|
+
* subject: "STRING_VALUE", // required
|
|
42
|
+
* service: "STRING_VALUE",
|
|
43
|
+
* serviceTitle: "STRING_VALUE",
|
|
44
|
+
* participants: { // ChatConsumeEventParticipants
|
|
45
|
+
* agents: [ // UserList // required
|
|
46
|
+
* { // User
|
|
47
|
+
* id: "STRING_VALUE", // required
|
|
48
|
+
* name: "STRING_VALUE",
|
|
49
|
+
* email: "STRING_VALUE",
|
|
50
|
+
* phone: "STRING_VALUE",
|
|
51
|
+
* picture: "STRING_VALUE",
|
|
52
|
+
* company: "STRING_VALUE",
|
|
53
|
+
* pbxDomain: "STRING_VALUE",
|
|
54
|
+
* pbxPort: "STRING_VALUE",
|
|
55
|
+
* pbxExtension: "STRING_VALUE",
|
|
56
|
+
* pbxSerial: "STRING_VALUE",
|
|
57
|
+
* pbxUserId: "STRING_VALUE",
|
|
58
|
+
* createdAt: "STRING_VALUE",
|
|
59
|
+
* updatedAt: "STRING_VALUE",
|
|
60
|
+
* },
|
|
61
|
+
* ],
|
|
62
|
+
* agentsCount: Number("int"), // required
|
|
63
|
+
* customers: [ // required
|
|
64
|
+
* {
|
|
65
|
+
* id: "STRING_VALUE", // required
|
|
66
|
+
* name: "STRING_VALUE",
|
|
67
|
+
* email: "STRING_VALUE",
|
|
68
|
+
* phone: "STRING_VALUE",
|
|
69
|
+
* picture: "STRING_VALUE",
|
|
70
|
+
* company: "STRING_VALUE",
|
|
71
|
+
* pbxDomain: "STRING_VALUE",
|
|
72
|
+
* pbxPort: "STRING_VALUE",
|
|
73
|
+
* pbxExtension: "STRING_VALUE",
|
|
74
|
+
* pbxSerial: "STRING_VALUE",
|
|
75
|
+
* pbxUserId: "STRING_VALUE",
|
|
76
|
+
* createdAt: "STRING_VALUE",
|
|
77
|
+
* updatedAt: "STRING_VALUE",
|
|
78
|
+
* },
|
|
79
|
+
* ],
|
|
80
|
+
* customersCount: Number("int"), // required
|
|
81
|
+
* },
|
|
82
|
+
* tags: [ // ChatTags
|
|
83
|
+
* "sms" || "telephony",
|
|
84
|
+
* ],
|
|
85
|
+
* sender: {
|
|
86
|
+
* id: "STRING_VALUE", // required
|
|
87
|
+
* name: "STRING_VALUE",
|
|
88
|
+
* email: "STRING_VALUE",
|
|
89
|
+
* phone: "STRING_VALUE",
|
|
90
|
+
* picture: "STRING_VALUE",
|
|
91
|
+
* company: "STRING_VALUE",
|
|
92
|
+
* pbxDomain: "STRING_VALUE",
|
|
93
|
+
* pbxPort: "STRING_VALUE",
|
|
94
|
+
* pbxExtension: "STRING_VALUE",
|
|
95
|
+
* pbxSerial: "STRING_VALUE",
|
|
96
|
+
* pbxUserId: "STRING_VALUE",
|
|
97
|
+
* createdAt: "STRING_VALUE",
|
|
98
|
+
* updatedAt: "STRING_VALUE",
|
|
99
|
+
* },
|
|
100
|
+
* },
|
|
101
|
+
* },
|
|
102
|
+
* chatUpdate: { // ChatUpdateConsumeEvent
|
|
103
|
+
* type: "CHAT.NEW" || "CHAT.UPDATE", // required
|
|
104
|
+
* company: "STRING_VALUE", // required
|
|
105
|
+
* time: Number("long"), // required
|
|
106
|
+
* data: { // ChatUpdateConsumeEventData
|
|
107
|
+
* channelId: "STRING_VALUE", // required
|
|
108
|
+
* channelType: "direct" || "group", // required
|
|
109
|
+
* subject: "STRING_VALUE", // required
|
|
110
|
+
* service: "STRING_VALUE",
|
|
111
|
+
* serviceTitle: "STRING_VALUE",
|
|
112
|
+
* participants: {
|
|
113
|
+
* agents: [ // required
|
|
114
|
+
* {
|
|
115
|
+
* id: "STRING_VALUE", // required
|
|
116
|
+
* name: "STRING_VALUE",
|
|
117
|
+
* email: "STRING_VALUE",
|
|
118
|
+
* phone: "STRING_VALUE",
|
|
119
|
+
* picture: "STRING_VALUE",
|
|
120
|
+
* company: "STRING_VALUE",
|
|
121
|
+
* pbxDomain: "STRING_VALUE",
|
|
122
|
+
* pbxPort: "STRING_VALUE",
|
|
123
|
+
* pbxExtension: "STRING_VALUE",
|
|
124
|
+
* pbxSerial: "STRING_VALUE",
|
|
125
|
+
* pbxUserId: "STRING_VALUE",
|
|
126
|
+
* createdAt: "STRING_VALUE",
|
|
127
|
+
* updatedAt: "STRING_VALUE",
|
|
128
|
+
* },
|
|
129
|
+
* ],
|
|
130
|
+
* agentsCount: Number("int"), // required
|
|
131
|
+
* customers: [ // required
|
|
132
|
+
* {
|
|
133
|
+
* id: "STRING_VALUE", // required
|
|
134
|
+
* name: "STRING_VALUE",
|
|
135
|
+
* email: "STRING_VALUE",
|
|
136
|
+
* phone: "STRING_VALUE",
|
|
137
|
+
* picture: "STRING_VALUE",
|
|
138
|
+
* company: "STRING_VALUE",
|
|
139
|
+
* pbxDomain: "STRING_VALUE",
|
|
140
|
+
* pbxPort: "STRING_VALUE",
|
|
141
|
+
* pbxExtension: "STRING_VALUE",
|
|
142
|
+
* pbxSerial: "STRING_VALUE",
|
|
143
|
+
* pbxUserId: "STRING_VALUE",
|
|
144
|
+
* createdAt: "STRING_VALUE",
|
|
145
|
+
* updatedAt: "STRING_VALUE",
|
|
146
|
+
* },
|
|
147
|
+
* ],
|
|
148
|
+
* customersCount: Number("int"), // required
|
|
149
|
+
* },
|
|
150
|
+
* tags: [
|
|
151
|
+
* "sms" || "telephony",
|
|
152
|
+
* ],
|
|
153
|
+
* },
|
|
154
|
+
* },
|
|
155
|
+
* smsInbound: { // SmsInboundConsumeEvent
|
|
156
|
+
* pbx: "STRING_VALUE", // required
|
|
157
|
+
* company: "STRING_VALUE", // required
|
|
158
|
+
* time: Number("int"), // required
|
|
159
|
+
* type: "SMS.INBOUND" || "SMS.STATUS", // required
|
|
160
|
+
* data: { // SmsInboundConsumeEventData
|
|
161
|
+
* id: "STRING_VALUE", // required
|
|
162
|
+
* from: "STRING_VALUE", // required
|
|
163
|
+
* to: "STRING_VALUE", // required
|
|
164
|
+
* message: "STRING_VALUE", // required
|
|
165
|
+
* },
|
|
166
|
+
* },
|
|
167
|
+
* smsStatus: { // SmsStatusConsumeEvent
|
|
168
|
+
* pbx: "STRING_VALUE", // required
|
|
169
|
+
* company: "STRING_VALUE", // required
|
|
170
|
+
* time: Number("int"), // required
|
|
171
|
+
* type: "SMS.INBOUND" || "SMS.STATUS", // required
|
|
172
|
+
* data: { // SmsStatusConsumeEventData
|
|
173
|
+
* id: "STRING_VALUE", // required
|
|
174
|
+
* from: "STRING_VALUE", // required
|
|
175
|
+
* to: "STRING_VALUE", // required
|
|
176
|
+
* status: "sent" || "delivered" || "trying" || "error", // required
|
|
177
|
+
* channel: "1-way-sms" || "2-way-sms", // required
|
|
178
|
+
* parts: Number("int"), // required
|
|
179
|
+
* },
|
|
180
|
+
* },
|
|
181
|
+
* },
|
|
182
|
+
* };
|
|
183
|
+
* const command = new ConsumeEventCommand(input);
|
|
184
|
+
* const response = await client.send(command);
|
|
185
|
+
* // {};
|
|
186
|
+
*
|
|
187
|
+
* ```
|
|
188
|
+
*
|
|
189
|
+
* @param ConsumeEventCommandInput - {@link ConsumeEventCommandInput}
|
|
190
|
+
* @returns {@link ConsumeEventCommandOutput}
|
|
191
|
+
* @see {@link ConsumeEventCommandInput} for command's `input` shape.
|
|
192
|
+
* @see {@link ConsumeEventCommandOutput} for command's `response` shape.
|
|
193
|
+
* @see {@link WdaStreamClientResolvedConfig | config} for WdaStreamClient's `config` shape.
|
|
194
|
+
*
|
|
195
|
+
* @throws {@link ValidationException} (client fault)
|
|
196
|
+
*
|
|
197
|
+
* @throws {@link WdaStreamServiceException}
|
|
198
|
+
* <p>Base exception class for all service exceptions from WdaStream service.</p>
|
|
199
|
+
*
|
|
200
|
+
*/
|
|
201
|
+
export declare class ConsumeEventCommand extends $Command<ConsumeEventCommandInput, ConsumeEventCommandOutput, WdaStreamClientResolvedConfig> {
|
|
202
|
+
readonly input: ConsumeEventCommandInput;
|
|
203
|
+
/**
|
|
204
|
+
* @public
|
|
205
|
+
*/
|
|
206
|
+
constructor(input: ConsumeEventCommandInput);
|
|
207
|
+
/**
|
|
208
|
+
* @internal
|
|
209
|
+
*/
|
|
210
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: WdaStreamClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ConsumeEventCommandInput, ConsumeEventCommandOutput>;
|
|
211
|
+
/**
|
|
212
|
+
* @internal
|
|
213
|
+
*/
|
|
214
|
+
private serialize;
|
|
215
|
+
/**
|
|
216
|
+
* @internal
|
|
217
|
+
*/
|
|
218
|
+
private deserialize;
|
|
219
|
+
}
|
|
@@ -0,0 +1,327 @@
|
|
|
1
|
+
import { ServiceInputTypes, ServiceOutputTypes, WdaStreamClientResolvedConfig } from "../WdaStreamClient";
|
|
2
|
+
import { DescribeEventInput, DescribeEventOutput } from "../models/models_0";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export { __MetadataBearer, $Command };
|
|
9
|
+
/**
|
|
10
|
+
* @public
|
|
11
|
+
*
|
|
12
|
+
* The input for {@link DescribeEventCommand}.
|
|
13
|
+
*/
|
|
14
|
+
export interface DescribeEventCommandInput extends DescribeEventInput {
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* @public
|
|
18
|
+
*
|
|
19
|
+
* The output of {@link DescribeEventCommand}.
|
|
20
|
+
*/
|
|
21
|
+
export interface DescribeEventCommandOutput extends DescribeEventOutput, __MetadataBearer {
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* @public
|
|
25
|
+
*
|
|
26
|
+
* @example
|
|
27
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
+
* ```javascript
|
|
29
|
+
* import { WdaStreamClient, DescribeEventCommand } from "@wildix/wda-stream-client"; // ES Modules import
|
|
30
|
+
* // const { WdaStreamClient, DescribeEventCommand } = require("@wildix/wda-stream-client"); // CommonJS import
|
|
31
|
+
* const client = new WdaStreamClient(config);
|
|
32
|
+
* const input = { // DescribeEventInput
|
|
33
|
+
* SmsInboundEvent: { // SmsInboundEvent
|
|
34
|
+
* pbx: "STRING_VALUE", // required
|
|
35
|
+
* company: "STRING_VALUE", // required
|
|
36
|
+
* time: Number("int"), // required
|
|
37
|
+
* type: "SMS.INBOUND" || "SMS.STATUS", // required
|
|
38
|
+
* data: { // SmsInboundConsumeEventData
|
|
39
|
+
* id: "STRING_VALUE", // required
|
|
40
|
+
* from: "STRING_VALUE", // required
|
|
41
|
+
* to: "STRING_VALUE", // required
|
|
42
|
+
* message: "STRING_VALUE", // required
|
|
43
|
+
* },
|
|
44
|
+
* },
|
|
45
|
+
* SmsStatusEvent: { // SmsStatusEvent
|
|
46
|
+
* pbx: "STRING_VALUE", // required
|
|
47
|
+
* company: "STRING_VALUE", // required
|
|
48
|
+
* time: Number("int"), // required
|
|
49
|
+
* type: "SMS.INBOUND" || "SMS.STATUS", // required
|
|
50
|
+
* data: { // SmsStatusConsumeEventData
|
|
51
|
+
* id: "STRING_VALUE", // required
|
|
52
|
+
* from: "STRING_VALUE", // required
|
|
53
|
+
* to: "STRING_VALUE", // required
|
|
54
|
+
* status: "sent" || "delivered" || "trying" || "error", // required
|
|
55
|
+
* channel: "1-way-sms" || "2-way-sms", // required
|
|
56
|
+
* parts: Number("int"), // required
|
|
57
|
+
* },
|
|
58
|
+
* },
|
|
59
|
+
* };
|
|
60
|
+
* const command = new DescribeEventCommand(input);
|
|
61
|
+
* const response = await client.send(command);
|
|
62
|
+
* // { // DescribeEventOutput
|
|
63
|
+
* // CallAnalyticsLiveProgressEvent: { // CallAnalyticsLiveProgressEvent
|
|
64
|
+
* // id: "STRING_VALUE", // required
|
|
65
|
+
* // pbx: "STRING_VALUE", // required
|
|
66
|
+
* // time: Number("long"), // required
|
|
67
|
+
* // company: "STRING_VALUE", // required
|
|
68
|
+
* // licenses: [ // LicensesList // required
|
|
69
|
+
* // "x-bees",
|
|
70
|
+
* // ],
|
|
71
|
+
* // event: "chat" || "chat_complete" || "chat_interrupted" || "chat_missed" || "call" || "call_complete" || "call_interrupted" || "call_transcription" || "call_transcription_complete" || "conference" || "conference_complete" || "conference_interrupted" || "conference_transcription" || "conference_transcription_complete", // required
|
|
72
|
+
* // start: "STRING_VALUE", // required
|
|
73
|
+
* // flows: [ // CallAnalyticsLiveProgressEventFlowList // required
|
|
74
|
+
* // { // CallAnalyticsLiveProgressEventFlow
|
|
75
|
+
* // status: "CONNECTING" || "TALKING" || "HOLD", // required
|
|
76
|
+
* // statusChangeDate: "STRING_VALUE", // required
|
|
77
|
+
* // startTime: Number("long"), // required
|
|
78
|
+
* // connectTime: Number("long"),
|
|
79
|
+
* // talkTime: Number("long"),
|
|
80
|
+
* // waitTime: Number("long"),
|
|
81
|
+
* // caller: { // CallParticipant
|
|
82
|
+
* // type: "REMOTE" || "LOCAL", // required
|
|
83
|
+
* // phone: "STRING_VALUE",
|
|
84
|
+
* // name: "STRING_VALUE",
|
|
85
|
+
* // company: "STRING_VALUE",
|
|
86
|
+
* // email: "STRING_VALUE",
|
|
87
|
+
* // userId: "STRING_VALUE",
|
|
88
|
+
* // userExtension: "STRING_VALUE",
|
|
89
|
+
* // userDepartment: "STRING_VALUE",
|
|
90
|
+
* // groupId: "STRING_VALUE",
|
|
91
|
+
* // groupName: "STRING_VALUE",
|
|
92
|
+
* // userAgent: "STRING_VALUE",
|
|
93
|
+
* // userDevice: "COLLABORATION_WEB" || "COLLABORATION_IOS" || "COLLABORATION_ANDROID" || "XBEES_WEB" || "XBEES_IOS" || "XBEES_ANDROID" || "WILDIX_PHONE" || "WILDIX_DEVICE" || "UNKNOWN",
|
|
94
|
+
* // role: "CLIENT" || "AGENT", // required
|
|
95
|
+
* // license: "STRING_VALUE",
|
|
96
|
+
* // },
|
|
97
|
+
* // callee: {
|
|
98
|
+
* // type: "REMOTE" || "LOCAL", // required
|
|
99
|
+
* // phone: "STRING_VALUE",
|
|
100
|
+
* // name: "STRING_VALUE",
|
|
101
|
+
* // company: "STRING_VALUE",
|
|
102
|
+
* // email: "STRING_VALUE",
|
|
103
|
+
* // userId: "STRING_VALUE",
|
|
104
|
+
* // userExtension: "STRING_VALUE",
|
|
105
|
+
* // userDepartment: "STRING_VALUE",
|
|
106
|
+
* // groupId: "STRING_VALUE",
|
|
107
|
+
* // groupName: "STRING_VALUE",
|
|
108
|
+
* // userAgent: "STRING_VALUE",
|
|
109
|
+
* // userDevice: "COLLABORATION_WEB" || "COLLABORATION_IOS" || "COLLABORATION_ANDROID" || "XBEES_WEB" || "XBEES_IOS" || "XBEES_ANDROID" || "WILDIX_PHONE" || "WILDIX_DEVICE" || "UNKNOWN",
|
|
110
|
+
* // role: "CLIENT" || "AGENT", // required
|
|
111
|
+
* // license: "STRING_VALUE",
|
|
112
|
+
* // },
|
|
113
|
+
* // service: "STRING_VALUE",
|
|
114
|
+
* // serviceNumber: "STRING_VALUE",
|
|
115
|
+
* // destination: "STRING_VALUE",
|
|
116
|
+
* // direction: "INTERNAL" || "INBOUND" || "OUTBOUND" || "UNDEFINED",
|
|
117
|
+
* // trunkName: "STRING_VALUE",
|
|
118
|
+
* // trunkDirection: "STRING_VALUE",
|
|
119
|
+
* // queueName: "STRING_VALUE",
|
|
120
|
+
* // queueId: "STRING_VALUE",
|
|
121
|
+
* // tags: [ // CallFlowTags
|
|
122
|
+
* // "STRING_VALUE",
|
|
123
|
+
* // ],
|
|
124
|
+
* // flags: [ // CallFlowFlags
|
|
125
|
+
* // "STRING_VALUE",
|
|
126
|
+
* // ],
|
|
127
|
+
* // callerMos: "STRING_VALUE",
|
|
128
|
+
* // calleeMos: "STRING_VALUE",
|
|
129
|
+
* // xhoppersConfId: "STRING_VALUE",
|
|
130
|
+
* // recordings: [ // CallFlowRecordings
|
|
131
|
+
* // "STRING_VALUE",
|
|
132
|
+
* // ],
|
|
133
|
+
* // mergeWith: "STRING_VALUE",
|
|
134
|
+
* // splitReason: "STRING_VALUE",
|
|
135
|
+
* // splitTransferType: "STRING_VALUE",
|
|
136
|
+
* // remotePhone: "STRING_VALUE",
|
|
137
|
+
* // remotePhoneCountryCode: Number("int"),
|
|
138
|
+
* // remotePhoneCountryCodeStr: "STRING_VALUE",
|
|
139
|
+
* // remotePhoneLocation: "STRING_VALUE",
|
|
140
|
+
* // callStatus: "COMPLETED" || "MISSED",
|
|
141
|
+
* // transcriptionStatus: "AVAILABLE" || "UNAVAILABLE", // required
|
|
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
|
+
* // },
|
|
157
|
+
* // ],
|
|
158
|
+
* // },
|
|
159
|
+
* // CallAnalyticsLiveCompleteEvent: { // CallAnalyticsLiveCompleteEvent
|
|
160
|
+
* // id: "STRING_VALUE", // required
|
|
161
|
+
* // pbx: "STRING_VALUE", // required
|
|
162
|
+
* // time: Number("long"), // required
|
|
163
|
+
* // company: "STRING_VALUE", // required
|
|
164
|
+
* // licenses: [ // required
|
|
165
|
+
* // "x-bees",
|
|
166
|
+
* // ],
|
|
167
|
+
* // event: "chat" || "chat_complete" || "chat_interrupted" || "chat_missed" || "call" || "call_complete" || "call_interrupted" || "call_transcription" || "call_transcription_complete" || "conference" || "conference_complete" || "conference_interrupted" || "conference_transcription" || "conference_transcription_complete", // required
|
|
168
|
+
* // },
|
|
169
|
+
* // CallAnalyticsLiveInterruptedEvent: { // CallAnalyticsLiveInterruptedEvent
|
|
170
|
+
* // id: "STRING_VALUE", // required
|
|
171
|
+
* // pbx: "STRING_VALUE", // required
|
|
172
|
+
* // time: Number("long"), // required
|
|
173
|
+
* // company: "STRING_VALUE", // required
|
|
174
|
+
* // licenses: [ // required
|
|
175
|
+
* // "x-bees",
|
|
176
|
+
* // ],
|
|
177
|
+
* // event: "chat" || "chat_complete" || "chat_interrupted" || "chat_missed" || "call" || "call_complete" || "call_interrupted" || "call_transcription" || "call_transcription_complete" || "conference" || "conference_complete" || "conference_interrupted" || "conference_transcription" || "conference_transcription_complete", // required
|
|
178
|
+
* // },
|
|
179
|
+
* // CallAnalyticsLiveTranscriptionEvent: { // CallAnalyticsLiveTranscriptionEvent
|
|
180
|
+
* // id: "STRING_VALUE", // required
|
|
181
|
+
* // pbx: "STRING_VALUE", // required
|
|
182
|
+
* // time: Number("long"), // required
|
|
183
|
+
* // company: "STRING_VALUE", // required
|
|
184
|
+
* // licenses: [ // required
|
|
185
|
+
* // "x-bees",
|
|
186
|
+
* // ],
|
|
187
|
+
* // event: "chat" || "chat_complete" || "chat_interrupted" || "chat_missed" || "call" || "call_complete" || "call_interrupted" || "call_transcription" || "call_transcription_complete" || "conference" || "conference_complete" || "conference_interrupted" || "conference_transcription" || "conference_transcription_complete", // required
|
|
188
|
+
* // flowIndex: Number("int"), // required
|
|
189
|
+
* // chunk: { // CallTranscriptionChunk
|
|
190
|
+
* // id: "STRING_VALUE", // required
|
|
191
|
+
* // time: Number("long"), // required
|
|
192
|
+
* // speaker: "callee" || "caller", // required
|
|
193
|
+
* // text: "STRING_VALUE", // required
|
|
194
|
+
* // language: "STRING_VALUE",
|
|
195
|
+
* // isFinal: true || false, // required
|
|
196
|
+
* // },
|
|
197
|
+
* // participant: {
|
|
198
|
+
* // type: "REMOTE" || "LOCAL", // required
|
|
199
|
+
* // phone: "STRING_VALUE",
|
|
200
|
+
* // name: "STRING_VALUE",
|
|
201
|
+
* // company: "STRING_VALUE",
|
|
202
|
+
* // email: "STRING_VALUE",
|
|
203
|
+
* // userId: "STRING_VALUE",
|
|
204
|
+
* // userExtension: "STRING_VALUE",
|
|
205
|
+
* // userDepartment: "STRING_VALUE",
|
|
206
|
+
* // groupId: "STRING_VALUE",
|
|
207
|
+
* // groupName: "STRING_VALUE",
|
|
208
|
+
* // userAgent: "STRING_VALUE",
|
|
209
|
+
* // userDevice: "COLLABORATION_WEB" || "COLLABORATION_IOS" || "COLLABORATION_ANDROID" || "XBEES_WEB" || "XBEES_IOS" || "XBEES_ANDROID" || "WILDIX_PHONE" || "WILDIX_DEVICE" || "UNKNOWN",
|
|
210
|
+
* // role: "CLIENT" || "AGENT", // required
|
|
211
|
+
* // license: "STRING_VALUE",
|
|
212
|
+
* // },
|
|
213
|
+
* // },
|
|
214
|
+
* // CallAnalyticsLiveTranscriptionCompleteEvent: { // CallAnalyticsLiveTranscriptionCompleteEvent
|
|
215
|
+
* // id: "STRING_VALUE", // required
|
|
216
|
+
* // pbx: "STRING_VALUE", // required
|
|
217
|
+
* // time: Number("long"), // required
|
|
218
|
+
* // company: "STRING_VALUE", // required
|
|
219
|
+
* // licenses: [ // required
|
|
220
|
+
* // "x-bees",
|
|
221
|
+
* // ],
|
|
222
|
+
* // event: "chat" || "chat_complete" || "chat_interrupted" || "chat_missed" || "call" || "call_complete" || "call_interrupted" || "call_transcription" || "call_transcription_complete" || "conference" || "conference_complete" || "conference_interrupted" || "conference_transcription" || "conference_transcription_complete", // required
|
|
223
|
+
* // },
|
|
224
|
+
* // ConferenceAnalyticsLiveProgressEvent: { // ConferenceAnalyticsLiveProgressEvent
|
|
225
|
+
* // id: "STRING_VALUE", // required
|
|
226
|
+
* // time: Number("long"), // required
|
|
227
|
+
* // company: "STRING_VALUE", // required
|
|
228
|
+
* // event: "chat" || "chat_complete" || "chat_interrupted" || "chat_missed" || "call" || "call_complete" || "call_interrupted" || "call_transcription" || "call_transcription_complete" || "conference" || "conference_complete" || "conference_interrupted" || "conference_transcription" || "conference_transcription_complete", // required
|
|
229
|
+
* // start: "STRING_VALUE", // required
|
|
230
|
+
* // subject: "STRING_VALUE", // required
|
|
231
|
+
* // participants: [ // ConferenceParticipantsList // required
|
|
232
|
+
* // { // ConferenceParticipant
|
|
233
|
+
* // type: "EXTERNAL" || "EXTERNAL_DIAL_IN" || "PBX" || "PBX_SIP" || "XBS", // required
|
|
234
|
+
* // role: "CLIENT" || "AGENT",
|
|
235
|
+
* // jid: "STRING_VALUE",
|
|
236
|
+
* // name: "STRING_VALUE",
|
|
237
|
+
* // email: "STRING_VALUE",
|
|
238
|
+
* // phone: "STRING_VALUE",
|
|
239
|
+
* // department: "STRING_VALUE",
|
|
240
|
+
* // company: "STRING_VALUE",
|
|
241
|
+
* // pbxSerial: "STRING_VALUE",
|
|
242
|
+
* // pbxExtension: "STRING_VALUE",
|
|
243
|
+
* // xbsId: "STRING_VALUE",
|
|
244
|
+
* // },
|
|
245
|
+
* // ],
|
|
246
|
+
* // transcriptionStatus: "AVAILABLE" || "UNAVAILABLE", // required
|
|
247
|
+
* // },
|
|
248
|
+
* // ConferenceAnalyticsLiveCompleteEvent: { // ConferenceAnalyticsLiveCompleteEvent
|
|
249
|
+
* // id: "STRING_VALUE", // required
|
|
250
|
+
* // time: Number("long"), // required
|
|
251
|
+
* // company: "STRING_VALUE", // required
|
|
252
|
+
* // event: "chat" || "chat_complete" || "chat_interrupted" || "chat_missed" || "call" || "call_complete" || "call_interrupted" || "call_transcription" || "call_transcription_complete" || "conference" || "conference_complete" || "conference_interrupted" || "conference_transcription" || "conference_transcription_complete", // required
|
|
253
|
+
* // },
|
|
254
|
+
* // ConferenceAnalyticsLiveInterruptedEvent: { // ConferenceAnalyticsLiveInterruptedEvent
|
|
255
|
+
* // id: "STRING_VALUE", // required
|
|
256
|
+
* // time: Number("long"), // required
|
|
257
|
+
* // company: "STRING_VALUE", // required
|
|
258
|
+
* // event: "chat" || "chat_complete" || "chat_interrupted" || "chat_missed" || "call" || "call_complete" || "call_interrupted" || "call_transcription" || "call_transcription_complete" || "conference" || "conference_complete" || "conference_interrupted" || "conference_transcription" || "conference_transcription_complete", // required
|
|
259
|
+
* // },
|
|
260
|
+
* // ConferenceAnalyticsLiveTranscriptionEvent: { // ConferenceAnalyticsLiveTranscriptionEvent
|
|
261
|
+
* // id: "STRING_VALUE", // required
|
|
262
|
+
* // time: Number("long"), // required
|
|
263
|
+
* // company: "STRING_VALUE", // required
|
|
264
|
+
* // event: "chat" || "chat_complete" || "chat_interrupted" || "chat_missed" || "call" || "call_complete" || "call_interrupted" || "call_transcription" || "call_transcription_complete" || "conference" || "conference_complete" || "conference_interrupted" || "conference_transcription" || "conference_transcription_complete", // required
|
|
265
|
+
* // chunk: { // ConferenceTranscriptionChunk
|
|
266
|
+
* // id: "STRING_VALUE", // required
|
|
267
|
+
* // time: Number("long"), // required
|
|
268
|
+
* // jid: "STRING_VALUE", // required
|
|
269
|
+
* // text: "STRING_VALUE", // required
|
|
270
|
+
* // language: "STRING_VALUE",
|
|
271
|
+
* // isFinal: true || false, // required
|
|
272
|
+
* // },
|
|
273
|
+
* // participant: {
|
|
274
|
+
* // type: "EXTERNAL" || "EXTERNAL_DIAL_IN" || "PBX" || "PBX_SIP" || "XBS", // required
|
|
275
|
+
* // role: "CLIENT" || "AGENT",
|
|
276
|
+
* // jid: "STRING_VALUE",
|
|
277
|
+
* // name: "STRING_VALUE",
|
|
278
|
+
* // email: "STRING_VALUE",
|
|
279
|
+
* // phone: "STRING_VALUE",
|
|
280
|
+
* // department: "STRING_VALUE",
|
|
281
|
+
* // company: "STRING_VALUE",
|
|
282
|
+
* // pbxSerial: "STRING_VALUE",
|
|
283
|
+
* // pbxExtension: "STRING_VALUE",
|
|
284
|
+
* // xbsId: "STRING_VALUE",
|
|
285
|
+
* // },
|
|
286
|
+
* // },
|
|
287
|
+
* // ConferenceAnalyticsLiveTranscriptionCompleteEvent: { // ConferenceAnalyticsLiveTranscriptionCompleteEvent
|
|
288
|
+
* // id: "STRING_VALUE", // required
|
|
289
|
+
* // time: Number("long"), // required
|
|
290
|
+
* // company: "STRING_VALUE", // required
|
|
291
|
+
* // event: "chat" || "chat_complete" || "chat_interrupted" || "chat_missed" || "call" || "call_complete" || "call_interrupted" || "call_transcription" || "call_transcription_complete" || "conference" || "conference_complete" || "conference_interrupted" || "conference_transcription" || "conference_transcription_complete", // required
|
|
292
|
+
* // },
|
|
293
|
+
* // };
|
|
294
|
+
*
|
|
295
|
+
* ```
|
|
296
|
+
*
|
|
297
|
+
* @param DescribeEventCommandInput - {@link DescribeEventCommandInput}
|
|
298
|
+
* @returns {@link DescribeEventCommandOutput}
|
|
299
|
+
* @see {@link DescribeEventCommandInput} for command's `input` shape.
|
|
300
|
+
* @see {@link DescribeEventCommandOutput} for command's `response` shape.
|
|
301
|
+
* @see {@link WdaStreamClientResolvedConfig | config} for WdaStreamClient's `config` shape.
|
|
302
|
+
*
|
|
303
|
+
* @throws {@link ValidationException} (client fault)
|
|
304
|
+
*
|
|
305
|
+
* @throws {@link WdaStreamServiceException}
|
|
306
|
+
* <p>Base exception class for all service exceptions from WdaStream service.</p>
|
|
307
|
+
*
|
|
308
|
+
*/
|
|
309
|
+
export declare class DescribeEventCommand extends $Command<DescribeEventCommandInput, DescribeEventCommandOutput, WdaStreamClientResolvedConfig> {
|
|
310
|
+
readonly input: DescribeEventCommandInput;
|
|
311
|
+
/**
|
|
312
|
+
* @public
|
|
313
|
+
*/
|
|
314
|
+
constructor(input: DescribeEventCommandInput);
|
|
315
|
+
/**
|
|
316
|
+
* @internal
|
|
317
|
+
*/
|
|
318
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: WdaStreamClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeEventCommandInput, DescribeEventCommandOutput>;
|
|
319
|
+
/**
|
|
320
|
+
* @internal
|
|
321
|
+
*/
|
|
322
|
+
private serialize;
|
|
323
|
+
/**
|
|
324
|
+
* @internal
|
|
325
|
+
*/
|
|
326
|
+
private deserialize;
|
|
327
|
+
}
|