@wildix/wda-insights-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/WdaInsights.js +17 -0
- package/dist-cjs/WdaInsightsClient.js +33 -0
- package/dist-cjs/commands/GetCallSummaryCommand.js +41 -0
- package/dist-cjs/commands/GetConferenceSummaryCommand.js +41 -0
- package/dist-cjs/commands/ListConversationsCommand.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/WdaInsightsServiceException.js +12 -0
- package/dist-cjs/models/index.js +4 -0
- package/dist-cjs/models/models_0.js +137 -0
- package/dist-cjs/protocols/Aws_restJson1.js +297 -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/WdaInsights.js +13 -0
- package/dist-es/WdaInsightsClient.js +29 -0
- package/dist-es/commands/GetCallSummaryCommand.js +37 -0
- package/dist-es/commands/GetConferenceSummaryCommand.js +37 -0
- package/dist-es/commands/ListConversationsCommand.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/WdaInsightsServiceException.js +8 -0
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +130 -0
- package/dist-es/protocols/Aws_restJson1.js +288 -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/WdaInsights.d.ts +30 -0
- package/dist-types/WdaInsightsClient.d.ts +139 -0
- package/dist-types/commands/GetCallSummaryCommand.d.ts +84 -0
- package/dist-types/commands/GetConferenceSummaryCommand.d.ts +83 -0
- package/dist-types/commands/ListConversationsCommand.d.ts +213 -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/WdaInsightsServiceException.d.ts +13 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +452 -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,83 @@
|
|
|
1
|
+
import { ServiceInputTypes, ServiceOutputTypes, WdaInsightsClientResolvedConfig } from "../WdaInsightsClient";
|
|
2
|
+
import { GetConferenceSummaryInput, GetConferenceSummaryOutput } 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 GetConferenceSummaryCommand}.
|
|
13
|
+
*/
|
|
14
|
+
export interface GetConferenceSummaryCommandInput extends GetConferenceSummaryInput {
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* @public
|
|
18
|
+
*
|
|
19
|
+
* The output of {@link GetConferenceSummaryCommand}.
|
|
20
|
+
*/
|
|
21
|
+
export interface GetConferenceSummaryCommandOutput extends GetConferenceSummaryOutput, __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 { WdaInsightsClient, GetConferenceSummaryCommand } from "@wildix/wda-insights-client"; // ES Modules import
|
|
30
|
+
* // const { WdaInsightsClient, GetConferenceSummaryCommand } = require("@wildix/wda-insights-client"); // CommonJS import
|
|
31
|
+
* const client = new WdaInsightsClient(config);
|
|
32
|
+
* const input = { // GetConferenceSummaryInput
|
|
33
|
+
* company: "STRING_VALUE",
|
|
34
|
+
* conferenceId: "STRING_VALUE", // required
|
|
35
|
+
* locale: "STRING_VALUE",
|
|
36
|
+
* };
|
|
37
|
+
* const command = new GetConferenceSummaryCommand(input);
|
|
38
|
+
* const response = await client.send(command);
|
|
39
|
+
* // { // GetConferenceSummaryOutput
|
|
40
|
+
* // status: "SCHEDULED" || "ERROR" || "READY", // required
|
|
41
|
+
* // summary: { // TranscriptionSummary
|
|
42
|
+
* // text: "STRING_VALUE", // required
|
|
43
|
+
* // locale: "STRING_VALUE", // required
|
|
44
|
+
* // },
|
|
45
|
+
* // };
|
|
46
|
+
*
|
|
47
|
+
* ```
|
|
48
|
+
*
|
|
49
|
+
* @param GetConferenceSummaryCommandInput - {@link GetConferenceSummaryCommandInput}
|
|
50
|
+
* @returns {@link GetConferenceSummaryCommandOutput}
|
|
51
|
+
* @see {@link GetConferenceSummaryCommandInput} for command's `input` shape.
|
|
52
|
+
* @see {@link GetConferenceSummaryCommandOutput} for command's `response` shape.
|
|
53
|
+
* @see {@link WdaInsightsClientResolvedConfig | config} for WdaInsightsClient's `config` shape.
|
|
54
|
+
*
|
|
55
|
+
* @throws {@link ValidationException} (client fault)
|
|
56
|
+
*
|
|
57
|
+
* @throws {@link ForbiddenException} (client fault)
|
|
58
|
+
*
|
|
59
|
+
* @throws {@link ConferenceNotFoundException} (client fault)
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link WdaInsightsServiceException}
|
|
62
|
+
* <p>Base exception class for all service exceptions from WdaInsights service.</p>
|
|
63
|
+
*
|
|
64
|
+
*/
|
|
65
|
+
export declare class GetConferenceSummaryCommand extends $Command<GetConferenceSummaryCommandInput, GetConferenceSummaryCommandOutput, WdaInsightsClientResolvedConfig> {
|
|
66
|
+
readonly input: GetConferenceSummaryCommandInput;
|
|
67
|
+
/**
|
|
68
|
+
* @public
|
|
69
|
+
*/
|
|
70
|
+
constructor(input: GetConferenceSummaryCommandInput);
|
|
71
|
+
/**
|
|
72
|
+
* @internal
|
|
73
|
+
*/
|
|
74
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: WdaInsightsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetConferenceSummaryCommandInput, GetConferenceSummaryCommandOutput>;
|
|
75
|
+
/**
|
|
76
|
+
* @internal
|
|
77
|
+
*/
|
|
78
|
+
private serialize;
|
|
79
|
+
/**
|
|
80
|
+
* @internal
|
|
81
|
+
*/
|
|
82
|
+
private deserialize;
|
|
83
|
+
}
|
|
@@ -0,0 +1,213 @@
|
|
|
1
|
+
import { ServiceInputTypes, ServiceOutputTypes, WdaInsightsClientResolvedConfig } from "../WdaInsightsClient";
|
|
2
|
+
import { ListConversationsInput, ListConversationsOutput } 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 ListConversationsCommand}.
|
|
13
|
+
*/
|
|
14
|
+
export interface ListConversationsCommandInput extends ListConversationsInput {
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* @public
|
|
18
|
+
*
|
|
19
|
+
* The output of {@link ListConversationsCommand}.
|
|
20
|
+
*/
|
|
21
|
+
export interface ListConversationsCommandOutput extends ListConversationsOutput, __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 { WdaInsightsClient, ListConversationsCommand } from "@wildix/wda-insights-client"; // ES Modules import
|
|
30
|
+
* // const { WdaInsightsClient, ListConversationsCommand } = require("@wildix/wda-insights-client"); // CommonJS import
|
|
31
|
+
* const client = new WdaInsightsClient(config);
|
|
32
|
+
* const input = { // ListConversationsInput
|
|
33
|
+
* company: "STRING_VALUE",
|
|
34
|
+
* };
|
|
35
|
+
* const command = new ListConversationsCommand(input);
|
|
36
|
+
* const response = await client.send(command);
|
|
37
|
+
* // { // ListConversationsOutput
|
|
38
|
+
* // items: [ // ListConversationsItemsList
|
|
39
|
+
* // { // ListConversationsItem
|
|
40
|
+
* // event: { // ListConversationsItemEvent Union: only one key present
|
|
41
|
+
* // call: { // CallRecord
|
|
42
|
+
* // flowIndex: Number("int"), // required
|
|
43
|
+
* // startTime: Number("long"), // required
|
|
44
|
+
* // endTime: Number("long"),
|
|
45
|
+
* // connectTime: Number("long"),
|
|
46
|
+
* // talkTime: Number("long"),
|
|
47
|
+
* // waitTime: Number("long"),
|
|
48
|
+
* // caller: { // CallParticipant
|
|
49
|
+
* // type: "REMOTE" || "LOCAL", // required
|
|
50
|
+
* // phone: "STRING_VALUE",
|
|
51
|
+
* // name: "STRING_VALUE",
|
|
52
|
+
* // company: "STRING_VALUE",
|
|
53
|
+
* // email: "STRING_VALUE",
|
|
54
|
+
* // userId: "STRING_VALUE",
|
|
55
|
+
* // userExtension: "STRING_VALUE",
|
|
56
|
+
* // userDepartment: "STRING_VALUE",
|
|
57
|
+
* // groupId: "STRING_VALUE",
|
|
58
|
+
* // groupName: "STRING_VALUE",
|
|
59
|
+
* // userAgent: "STRING_VALUE",
|
|
60
|
+
* // userDevice: "COLLABORATION_WEB" || "COLLABORATION_IOS" || "COLLABORATION_ANDROID" || "XBEES_WEB" || "XBEES_IOS" || "XBEES_ANDROID" || "WILDIX_PHONE" || "WILDIX_DEVICE" || "UNKNOWN",
|
|
61
|
+
* // role: "CLIENT" || "AGENT", // required
|
|
62
|
+
* // license: "STRING_VALUE",
|
|
63
|
+
* // },
|
|
64
|
+
* // callee: {
|
|
65
|
+
* // type: "REMOTE" || "LOCAL", // required
|
|
66
|
+
* // phone: "STRING_VALUE",
|
|
67
|
+
* // name: "STRING_VALUE",
|
|
68
|
+
* // company: "STRING_VALUE",
|
|
69
|
+
* // email: "STRING_VALUE",
|
|
70
|
+
* // userId: "STRING_VALUE",
|
|
71
|
+
* // userExtension: "STRING_VALUE",
|
|
72
|
+
* // userDepartment: "STRING_VALUE",
|
|
73
|
+
* // groupId: "STRING_VALUE",
|
|
74
|
+
* // groupName: "STRING_VALUE",
|
|
75
|
+
* // userAgent: "STRING_VALUE",
|
|
76
|
+
* // userDevice: "COLLABORATION_WEB" || "COLLABORATION_IOS" || "COLLABORATION_ANDROID" || "XBEES_WEB" || "XBEES_IOS" || "XBEES_ANDROID" || "WILDIX_PHONE" || "WILDIX_DEVICE" || "UNKNOWN",
|
|
77
|
+
* // role: "CLIENT" || "AGENT", // required
|
|
78
|
+
* // license: "STRING_VALUE",
|
|
79
|
+
* // },
|
|
80
|
+
* // service: "STRING_VALUE",
|
|
81
|
+
* // serviceNumber: "STRING_VALUE",
|
|
82
|
+
* // destination: "STRING_VALUE",
|
|
83
|
+
* // direction: "INTERNAL" || "INBOUND" || "OUTBOUND" || "UNDEFINED",
|
|
84
|
+
* // trunkName: "STRING_VALUE",
|
|
85
|
+
* // trunkDirection: "STRING_VALUE",
|
|
86
|
+
* // queueName: "STRING_VALUE",
|
|
87
|
+
* // queueId: "STRING_VALUE",
|
|
88
|
+
* // tags: [ // CallFlowTags
|
|
89
|
+
* // "STRING_VALUE",
|
|
90
|
+
* // ],
|
|
91
|
+
* // flags: [ // CallFlowFlags
|
|
92
|
+
* // "STRING_VALUE",
|
|
93
|
+
* // ],
|
|
94
|
+
* // callerMos: "STRING_VALUE",
|
|
95
|
+
* // calleeMos: "STRING_VALUE",
|
|
96
|
+
* // xhoppersConfId: "STRING_VALUE",
|
|
97
|
+
* // recordings: [ // CallFlowRecordings
|
|
98
|
+
* // "STRING_VALUE",
|
|
99
|
+
* // ],
|
|
100
|
+
* // mergeWith: "STRING_VALUE",
|
|
101
|
+
* // splitReason: "STRING_VALUE",
|
|
102
|
+
* // splitTransferType: "STRING_VALUE",
|
|
103
|
+
* // remotePhone: "STRING_VALUE",
|
|
104
|
+
* // remotePhoneCountryCode: Number("int"),
|
|
105
|
+
* // remotePhoneCountryCodeStr: "STRING_VALUE",
|
|
106
|
+
* // remotePhoneLocation: "STRING_VALUE",
|
|
107
|
+
* // callStatus: "COMPLETED" || "MISSED",
|
|
108
|
+
* // transcriptionStatus: "AVAILABLE" || "UNAVAILABLE", // required
|
|
109
|
+
* // attachment: "STRING_VALUE",
|
|
110
|
+
* // attachmentType: "VOICEMAIL" || "FAX",
|
|
111
|
+
* // attachmentDestinations: [ // CallFlowAttachmentDestinationList
|
|
112
|
+
* // { // CallFlowAttachmentDestination
|
|
113
|
+
* // phone: "STRING_VALUE",
|
|
114
|
+
* // name: "STRING_VALUE",
|
|
115
|
+
* // email: "STRING_VALUE",
|
|
116
|
+
* // userId: "STRING_VALUE",
|
|
117
|
+
* // userExtension: "STRING_VALUE",
|
|
118
|
+
* // userDepartment: "STRING_VALUE",
|
|
119
|
+
* // groupId: "STRING_VALUE",
|
|
120
|
+
* // groupName: "STRING_VALUE",
|
|
121
|
+
* // },
|
|
122
|
+
* // ],
|
|
123
|
+
* // id: "STRING_VALUE", // required
|
|
124
|
+
* // pbx: "STRING_VALUE", // required
|
|
125
|
+
* // time: Number("long"), // required
|
|
126
|
+
* // company: "STRING_VALUE", // required
|
|
127
|
+
* // licenses: [ // LicensesList // required
|
|
128
|
+
* // "x-bees",
|
|
129
|
+
* // ],
|
|
130
|
+
* // type: "call" || "call_transcription" || "conference" || "conference_transcription", // required
|
|
131
|
+
* // },
|
|
132
|
+
* // conference: { // ConferenceRecord
|
|
133
|
+
* // id: "STRING_VALUE", // required
|
|
134
|
+
* // time: Number("long"), // required
|
|
135
|
+
* // company: "STRING_VALUE", // required
|
|
136
|
+
* // pbx: "STRING_VALUE",
|
|
137
|
+
* // duration: Number("long"),
|
|
138
|
+
* // waitTime: Number("int"),
|
|
139
|
+
* // subject: "STRING_VALUE",
|
|
140
|
+
* // direction: "INTERNAL" || "INBOUND" || "OUTBOUND", // required
|
|
141
|
+
* // service: "STRING_VALUE",
|
|
142
|
+
* // status: "COMPLETED" || "MISSED",
|
|
143
|
+
* // participants: [ // ConferenceAnalyticsRecordParticipantList // required
|
|
144
|
+
* // { // ConferenceAnalyticsRecordParticipant
|
|
145
|
+
* // jid: "STRING_VALUE", // required
|
|
146
|
+
* // info: { // ConferenceParticipant
|
|
147
|
+
* // type: "EXTERNAL" || "EXTERNAL_DIAL_IN" || "PBX" || "PBX_SIP" || "XBS", // required
|
|
148
|
+
* // role: "CLIENT" || "AGENT",
|
|
149
|
+
* // jid: "STRING_VALUE",
|
|
150
|
+
* // name: "STRING_VALUE",
|
|
151
|
+
* // email: "STRING_VALUE",
|
|
152
|
+
* // phone: "STRING_VALUE",
|
|
153
|
+
* // department: "STRING_VALUE",
|
|
154
|
+
* // company: "STRING_VALUE",
|
|
155
|
+
* // pbxSerial: "STRING_VALUE",
|
|
156
|
+
* // pbxExtension: "STRING_VALUE",
|
|
157
|
+
* // xbsId: "STRING_VALUE",
|
|
158
|
+
* // },
|
|
159
|
+
* // totalDuration: Number("int"), // required
|
|
160
|
+
* // totalSpeakDuration: Number("int"), // required
|
|
161
|
+
* // joinTime: Number("long"), // required
|
|
162
|
+
* // },
|
|
163
|
+
* // ],
|
|
164
|
+
* // recordings: [ // ConferenceRecordingList
|
|
165
|
+
* // { // ConferenceRecording
|
|
166
|
+
* // url: "STRING_VALUE", // required
|
|
167
|
+
* // start: Number("long"), // required
|
|
168
|
+
* // end: Number("long"), // required
|
|
169
|
+
* // },
|
|
170
|
+
* // ],
|
|
171
|
+
* // transcriptionStatus: "AVAILABLE" || "UNAVAILABLE", // required
|
|
172
|
+
* // type: "call" || "call_transcription" || "conference" || "conference_transcription", // required
|
|
173
|
+
* // },
|
|
174
|
+
* // },
|
|
175
|
+
* // },
|
|
176
|
+
* // ],
|
|
177
|
+
* // };
|
|
178
|
+
*
|
|
179
|
+
* ```
|
|
180
|
+
*
|
|
181
|
+
* @param ListConversationsCommandInput - {@link ListConversationsCommandInput}
|
|
182
|
+
* @returns {@link ListConversationsCommandOutput}
|
|
183
|
+
* @see {@link ListConversationsCommandInput} for command's `input` shape.
|
|
184
|
+
* @see {@link ListConversationsCommandOutput} for command's `response` shape.
|
|
185
|
+
* @see {@link WdaInsightsClientResolvedConfig | config} for WdaInsightsClient's `config` shape.
|
|
186
|
+
*
|
|
187
|
+
* @throws {@link ValidationException} (client fault)
|
|
188
|
+
*
|
|
189
|
+
* @throws {@link ForbiddenException} (client fault)
|
|
190
|
+
*
|
|
191
|
+
* @throws {@link WdaInsightsServiceException}
|
|
192
|
+
* <p>Base exception class for all service exceptions from WdaInsights service.</p>
|
|
193
|
+
*
|
|
194
|
+
*/
|
|
195
|
+
export declare class ListConversationsCommand extends $Command<ListConversationsCommandInput, ListConversationsCommandOutput, WdaInsightsClientResolvedConfig> {
|
|
196
|
+
readonly input: ListConversationsCommandInput;
|
|
197
|
+
/**
|
|
198
|
+
* @public
|
|
199
|
+
*/
|
|
200
|
+
constructor(input: ListConversationsCommandInput);
|
|
201
|
+
/**
|
|
202
|
+
* @internal
|
|
203
|
+
*/
|
|
204
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: WdaInsightsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListConversationsCommandInput, ListConversationsCommandOutput>;
|
|
205
|
+
/**
|
|
206
|
+
* @internal
|
|
207
|
+
*/
|
|
208
|
+
private serialize;
|
|
209
|
+
/**
|
|
210
|
+
* @internal
|
|
211
|
+
*/
|
|
212
|
+
private deserialize;
|
|
213
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
|
|
2
|
+
import { DefaultExtensionConfiguration } from "@smithy/types";
|
|
3
|
+
/**
|
|
4
|
+
* @internal
|
|
5
|
+
*/
|
|
6
|
+
export interface WdaInsightsExtensionConfiguration extends HttpHandlerExtensionConfiguration, DefaultExtensionConfiguration {
|
|
7
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@smithy/smithy-client";
|
|
2
|
+
export { __ServiceException, __ServiceExceptionOptions };
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*
|
|
6
|
+
* Base exception class for all service exceptions from WdaInsights service.
|
|
7
|
+
*/
|
|
8
|
+
export declare class WdaInsightsServiceException extends __ServiceException {
|
|
9
|
+
/**
|
|
10
|
+
* @internal
|
|
11
|
+
*/
|
|
12
|
+
constructor(options: __ServiceExceptionOptions);
|
|
13
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./models_0";
|