@wildix/wda-stream-client 1.1.41 → 1.1.45
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 +2 -0
- package/dist-cjs/commands/ListServicesCommand.js +21 -0
- package/dist-cjs/commands/index.js +1 -0
- package/dist-cjs/models/index.js +1 -0
- package/dist-cjs/models/models_0.js +65 -41
- package/dist-cjs/models/models_1.js +44 -0
- package/dist-cjs/protocols/Aws_restJson1.js +54 -3
- package/dist-es/WdaStream.js +2 -0
- package/dist-es/commands/ListServicesCommand.js +17 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +64 -38
- package/dist-es/models/models_1.js +39 -0
- package/dist-es/protocols/Aws_restJson1.js +50 -1
- package/dist-types/WdaStream.d.ts +8 -0
- package/dist-types/WdaStreamClient.d.ts +3 -2
- package/dist-types/commands/ConsumeEventCommand.d.ts +179 -1
- package/dist-types/commands/DescribeEventCommand.d.ts +120 -44
- package/dist-types/commands/GetOngoingCallCommand.d.ts +2 -2
- package/dist-types/commands/ListServicesCommand.d.ts +87 -0
- package/dist-types/commands/QueryConversationsCommand.d.ts +4 -4
- package/dist-types/commands/QueryPresenceCommand.d.ts +1 -1
- package/dist-types/commands/QueryPresencesCommand.d.ts +1 -1
- package/dist-types/commands/UpdatePresenceLastSeenCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +1146 -300
- package/dist-types/models/models_1.d.ts +272 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +9 -0
- package/package.json +1 -1
|
@@ -0,0 +1,272 @@
|
|
|
1
|
+
import { WdaStreamServiceException as __BaseException } from "./WdaStreamServiceException";
|
|
2
|
+
import { CallAnalyticsLiveProgressEvent, CallAnalyticsLiveProgressEventFlow, CallAnalyticsLiveTranscriptionEvent, ChatAnalyticsLiveProgressEvent, ConferenceAnalyticsLiveProgressEvent } from "./models_0";
|
|
3
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export declare class MatchNotFoundException extends __BaseException {
|
|
8
|
+
readonly name: "MatchNotFoundException";
|
|
9
|
+
readonly $fault: "client";
|
|
10
|
+
/**
|
|
11
|
+
* @internal
|
|
12
|
+
*/
|
|
13
|
+
constructor(opts: __ExceptionOptionType<MatchNotFoundException, __BaseException>);
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* @public
|
|
17
|
+
*/
|
|
18
|
+
export interface GetOngoingCallInput {
|
|
19
|
+
company?: string | undefined;
|
|
20
|
+
callId: string;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* @public
|
|
24
|
+
*/
|
|
25
|
+
export interface GetOngoingCallOutput {
|
|
26
|
+
company: string;
|
|
27
|
+
flows: (CallAnalyticsLiveProgressEventFlow)[];
|
|
28
|
+
transcriptions?: (CallAnalyticsLiveTranscriptionEvent)[] | undefined;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* @public
|
|
32
|
+
*/
|
|
33
|
+
export interface ListServicesFilter {
|
|
34
|
+
pbx?: string | undefined;
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* @public
|
|
38
|
+
*/
|
|
39
|
+
export interface ListServicesInput {
|
|
40
|
+
/**
|
|
41
|
+
* The unique identifier of the company.
|
|
42
|
+
* @public
|
|
43
|
+
*/
|
|
44
|
+
company?: string | undefined;
|
|
45
|
+
filter?: (ListServicesFilter)[] | undefined;
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* Basic information about a service, used in list responses.
|
|
49
|
+
* @public
|
|
50
|
+
*/
|
|
51
|
+
export interface ServiceInfo {
|
|
52
|
+
/**
|
|
53
|
+
* The unique identifier of the service.
|
|
54
|
+
* @public
|
|
55
|
+
*/
|
|
56
|
+
id: string;
|
|
57
|
+
/**
|
|
58
|
+
* The display name of the service.
|
|
59
|
+
* @public
|
|
60
|
+
*/
|
|
61
|
+
name: string;
|
|
62
|
+
/**
|
|
63
|
+
* The PBX identifier of the service.
|
|
64
|
+
* @public
|
|
65
|
+
*/
|
|
66
|
+
pbx?: string | undefined;
|
|
67
|
+
}
|
|
68
|
+
/**
|
|
69
|
+
* @public
|
|
70
|
+
*/
|
|
71
|
+
export interface ListServicesOutput {
|
|
72
|
+
/**
|
|
73
|
+
* List of active services with basic information.
|
|
74
|
+
* @public
|
|
75
|
+
*/
|
|
76
|
+
services: (ServiceInfo)[];
|
|
77
|
+
}
|
|
78
|
+
/**
|
|
79
|
+
* @public
|
|
80
|
+
* @enum
|
|
81
|
+
*/
|
|
82
|
+
export declare const PresenceStatus: {
|
|
83
|
+
readonly AWAY: "AWAY";
|
|
84
|
+
readonly DND: "DND";
|
|
85
|
+
readonly OFFLINE: "OFFLINE";
|
|
86
|
+
readonly ONLINE: "ONLINE";
|
|
87
|
+
readonly ONLY_SIP: "ONLY_SIP";
|
|
88
|
+
};
|
|
89
|
+
/**
|
|
90
|
+
* @public
|
|
91
|
+
*/
|
|
92
|
+
export type PresenceStatus = typeof PresenceStatus[keyof typeof PresenceStatus];
|
|
93
|
+
/**
|
|
94
|
+
* @public
|
|
95
|
+
* @enum
|
|
96
|
+
*/
|
|
97
|
+
export declare const TelephonyStatus: {
|
|
98
|
+
readonly REGISTERED: "REGISTERED";
|
|
99
|
+
readonly RINGING: "RINGING";
|
|
100
|
+
readonly RT: "RT";
|
|
101
|
+
readonly TALKING: "TALKING";
|
|
102
|
+
readonly UNREGISTERED: "UNREGISTERED";
|
|
103
|
+
};
|
|
104
|
+
/**
|
|
105
|
+
* @public
|
|
106
|
+
*/
|
|
107
|
+
export type TelephonyStatus = typeof TelephonyStatus[keyof typeof TelephonyStatus];
|
|
108
|
+
/**
|
|
109
|
+
* @public
|
|
110
|
+
*/
|
|
111
|
+
export interface Presence {
|
|
112
|
+
/**
|
|
113
|
+
* The unique identifier of the organization user belongs to (example: it_w119845).
|
|
114
|
+
* @public
|
|
115
|
+
*/
|
|
116
|
+
company?: string | undefined;
|
|
117
|
+
/**
|
|
118
|
+
* The user's geographic address (example: 1 Kynner Way, Binley, Coventry, CV3 2TU, England).
|
|
119
|
+
* @public
|
|
120
|
+
*/
|
|
121
|
+
address?: string | undefined;
|
|
122
|
+
/**
|
|
123
|
+
* The user extension (example: 2001)
|
|
124
|
+
* @public
|
|
125
|
+
*/
|
|
126
|
+
extension?: string | undefined;
|
|
127
|
+
/**
|
|
128
|
+
* The unique identifier of the user (example: F2P9tcKrYI9p).
|
|
129
|
+
* @public
|
|
130
|
+
*/
|
|
131
|
+
id?: string | undefined;
|
|
132
|
+
/**
|
|
133
|
+
* Longitude is the unit that represent the coordinates at geographic coordinate system (example: 35.5753).
|
|
134
|
+
* @public
|
|
135
|
+
*/
|
|
136
|
+
lng?: string | undefined;
|
|
137
|
+
/**
|
|
138
|
+
* Latitude is the unit that represent the coordinates at geographic coordinate system(example: 23.2954).
|
|
139
|
+
* @public
|
|
140
|
+
*/
|
|
141
|
+
lat?: string | undefined;
|
|
142
|
+
/**
|
|
143
|
+
* If it is defined, user status switches back to Available after the time (example: 2024-08-08T17:16:00Z).
|
|
144
|
+
* @public
|
|
145
|
+
*/
|
|
146
|
+
until?: string | undefined;
|
|
147
|
+
/**
|
|
148
|
+
* User status (example: AWAY)
|
|
149
|
+
* @public
|
|
150
|
+
*/
|
|
151
|
+
status?: PresenceStatus | undefined;
|
|
152
|
+
/**
|
|
153
|
+
* User status custom message (example: on vacation).
|
|
154
|
+
* @public
|
|
155
|
+
*/
|
|
156
|
+
message?: string | undefined;
|
|
157
|
+
/**
|
|
158
|
+
* User telephony status (example: TALKING)
|
|
159
|
+
* @public
|
|
160
|
+
*/
|
|
161
|
+
telephony?: TelephonyStatus | undefined;
|
|
162
|
+
/**
|
|
163
|
+
* The string shows the time the user was last seen. (example: 2024-08-08T17:16:00Z).
|
|
164
|
+
* @public
|
|
165
|
+
*/
|
|
166
|
+
seen?: string | undefined;
|
|
167
|
+
}
|
|
168
|
+
/**
|
|
169
|
+
* @public
|
|
170
|
+
*/
|
|
171
|
+
export declare class PresenceNotAvailableException extends __BaseException {
|
|
172
|
+
readonly name: "PresenceNotAvailableException";
|
|
173
|
+
readonly $fault: "client";
|
|
174
|
+
/**
|
|
175
|
+
* @internal
|
|
176
|
+
*/
|
|
177
|
+
constructor(opts: __ExceptionOptionType<PresenceNotAvailableException, __BaseException>);
|
|
178
|
+
}
|
|
179
|
+
/**
|
|
180
|
+
* @public
|
|
181
|
+
*/
|
|
182
|
+
export interface PresenceQueryFilter {
|
|
183
|
+
/**
|
|
184
|
+
* The unique identifier of the user (example: F2P9tcKrYI9p).
|
|
185
|
+
* @public
|
|
186
|
+
*/
|
|
187
|
+
id?: string | undefined;
|
|
188
|
+
/**
|
|
189
|
+
* The unique identifier of the organization user belongs to (example: it_w119845).
|
|
190
|
+
* @public
|
|
191
|
+
*/
|
|
192
|
+
company?: string | undefined;
|
|
193
|
+
/**
|
|
194
|
+
* The user extension (example: 2001
|
|
195
|
+
* @public
|
|
196
|
+
*/
|
|
197
|
+
extension?: string | undefined;
|
|
198
|
+
}
|
|
199
|
+
/**
|
|
200
|
+
* @public
|
|
201
|
+
*/
|
|
202
|
+
export interface QueryConversationsInput {
|
|
203
|
+
company?: string | undefined;
|
|
204
|
+
/**
|
|
205
|
+
* List of filters to match the user conversations list.
|
|
206
|
+
* @public
|
|
207
|
+
*/
|
|
208
|
+
filter?: (PresenceQueryFilter)[] | undefined;
|
|
209
|
+
}
|
|
210
|
+
/**
|
|
211
|
+
* @public
|
|
212
|
+
*/
|
|
213
|
+
export interface QueryConversationsOutput {
|
|
214
|
+
calls: (CallAnalyticsLiveProgressEvent)[];
|
|
215
|
+
conferences: (ConferenceAnalyticsLiveProgressEvent)[];
|
|
216
|
+
chats: (ChatAnalyticsLiveProgressEvent)[];
|
|
217
|
+
}
|
|
218
|
+
/**
|
|
219
|
+
* @public
|
|
220
|
+
*/
|
|
221
|
+
export interface QueryPresenceInput {
|
|
222
|
+
/**
|
|
223
|
+
* The filter, to match a presence of certain user
|
|
224
|
+
* @public
|
|
225
|
+
*/
|
|
226
|
+
filter: PresenceQueryFilter;
|
|
227
|
+
}
|
|
228
|
+
/**
|
|
229
|
+
* @public
|
|
230
|
+
*/
|
|
231
|
+
export interface QueryPresenceOutput {
|
|
232
|
+
/**
|
|
233
|
+
* The presence matched specified query.
|
|
234
|
+
* @public
|
|
235
|
+
*/
|
|
236
|
+
presence: Presence;
|
|
237
|
+
}
|
|
238
|
+
/**
|
|
239
|
+
* @public
|
|
240
|
+
*/
|
|
241
|
+
export interface QueryPresencesInput {
|
|
242
|
+
/**
|
|
243
|
+
* List of filters to match the user presence list.
|
|
244
|
+
* @public
|
|
245
|
+
*/
|
|
246
|
+
filter: (PresenceQueryFilter)[];
|
|
247
|
+
}
|
|
248
|
+
/**
|
|
249
|
+
* @public
|
|
250
|
+
*/
|
|
251
|
+
export interface QueryPresencesOutput {
|
|
252
|
+
/**
|
|
253
|
+
* A list of presences matched the filter. If filter does not match any presence the presence would not be added to the list.
|
|
254
|
+
* @public
|
|
255
|
+
*/
|
|
256
|
+
presences: (Presence)[];
|
|
257
|
+
}
|
|
258
|
+
/**
|
|
259
|
+
* @public
|
|
260
|
+
*/
|
|
261
|
+
export interface UpdatePresenceLastSeenInput {
|
|
262
|
+
/**
|
|
263
|
+
* The unique identifier of the user when a service token is used.
|
|
264
|
+
* @public
|
|
265
|
+
*/
|
|
266
|
+
userId?: string | undefined;
|
|
267
|
+
}
|
|
268
|
+
/**
|
|
269
|
+
* @public
|
|
270
|
+
*/
|
|
271
|
+
export interface UpdatePresenceLastSeenOutput {
|
|
272
|
+
}
|
|
@@ -2,6 +2,7 @@ import { ConsumeEventCommandInput, ConsumeEventCommandOutput } from "../commands
|
|
|
2
2
|
import { DescribeEventCommandInput, DescribeEventCommandOutput } from "../commands/DescribeEventCommand";
|
|
3
3
|
import { GetConferenceIdCommandInput, GetConferenceIdCommandOutput } from "../commands/GetConferenceIdCommand";
|
|
4
4
|
import { GetOngoingCallCommandInput, GetOngoingCallCommandOutput } from "../commands/GetOngoingCallCommand";
|
|
5
|
+
import { ListServicesCommandInput, ListServicesCommandOutput } from "../commands/ListServicesCommand";
|
|
5
6
|
import { QueryConversationsCommandInput, QueryConversationsCommandOutput } from "../commands/QueryConversationsCommand";
|
|
6
7
|
import { QueryPresenceCommandInput, QueryPresenceCommandOutput } from "../commands/QueryPresenceCommand";
|
|
7
8
|
import { QueryPresencesCommandInput, QueryPresencesCommandOutput } from "../commands/QueryPresencesCommand";
|
|
@@ -24,6 +25,10 @@ export declare const se_GetConferenceIdCommand: (input: GetConferenceIdCommandIn
|
|
|
24
25
|
* serializeAws_restJson1GetOngoingCallCommand
|
|
25
26
|
*/
|
|
26
27
|
export declare const se_GetOngoingCallCommand: (input: GetOngoingCallCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
28
|
+
/**
|
|
29
|
+
* serializeAws_restJson1ListServicesCommand
|
|
30
|
+
*/
|
|
31
|
+
export declare const se_ListServicesCommand: (input: ListServicesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
27
32
|
/**
|
|
28
33
|
* serializeAws_restJson1QueryConversationsCommand
|
|
29
34
|
*/
|
|
@@ -56,6 +61,10 @@ export declare const de_GetConferenceIdCommand: (output: __HttpResponse, context
|
|
|
56
61
|
* deserializeAws_restJson1GetOngoingCallCommand
|
|
57
62
|
*/
|
|
58
63
|
export declare const de_GetOngoingCallCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetOngoingCallCommandOutput>;
|
|
64
|
+
/**
|
|
65
|
+
* deserializeAws_restJson1ListServicesCommand
|
|
66
|
+
*/
|
|
67
|
+
export declare const de_ListServicesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListServicesCommandOutput>;
|
|
59
68
|
/**
|
|
60
69
|
* deserializeAws_restJson1QueryConversationsCommand
|
|
61
70
|
*/
|
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.45",
|
|
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",
|