@wildix/wda-stream-client 1.1.46 → 1.1.47

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.
Files changed (38) hide show
  1. package/dist-cjs/WdaStream.js +6 -2
  2. package/dist-cjs/commands/GetOngoingCallTranscriptionCommand.js +21 -0
  3. package/dist-cjs/commands/{ListServicesCommand.js → GetOngoingConferenceCommand.js} +7 -7
  4. package/dist-cjs/commands/GetOngoingConferenceTranscriptionCommand.js +21 -0
  5. package/dist-cjs/commands/index.js +3 -1
  6. package/dist-cjs/models/index.js +0 -1
  7. package/dist-cjs/models/models_0.js +41 -65
  8. package/dist-cjs/protocols/Aws_restJson1.js +77 -33
  9. package/dist-es/WdaStream.js +6 -2
  10. package/dist-es/commands/GetOngoingCallTranscriptionCommand.js +17 -0
  11. package/dist-es/commands/GetOngoingConferenceCommand.js +17 -0
  12. package/dist-es/commands/GetOngoingConferenceTranscriptionCommand.js +17 -0
  13. package/dist-es/commands/index.js +3 -1
  14. package/dist-es/models/index.js +0 -1
  15. package/dist-es/models/models_0.js +38 -64
  16. package/dist-es/protocols/Aws_restJson1.js +68 -28
  17. package/dist-types/WdaStream.d.ts +19 -6
  18. package/dist-types/WdaStreamClient.d.ts +5 -3
  19. package/dist-types/commands/ConsumeEventCommand.d.ts +1 -170
  20. package/dist-types/commands/DescribeEventCommand.d.ts +44 -120
  21. package/dist-types/commands/GetOngoingCallCommand.d.ts +1 -47
  22. package/dist-types/commands/GetOngoingCallTranscriptionCommand.d.ts +297 -0
  23. package/dist-types/commands/GetOngoingConferenceCommand.d.ts +106 -0
  24. package/dist-types/commands/GetOngoingConferenceTranscriptionCommand.d.ts +142 -0
  25. package/dist-types/commands/QueryConversationsCommand.d.ts +4 -4
  26. package/dist-types/commands/QueryPresenceCommand.d.ts +1 -1
  27. package/dist-types/commands/QueryPresencesCommand.d.ts +1 -1
  28. package/dist-types/commands/UpdatePresenceLastSeenCommand.d.ts +1 -1
  29. package/dist-types/commands/index.d.ts +3 -1
  30. package/dist-types/models/index.d.ts +0 -1
  31. package/dist-types/models/models_0.d.ts +351 -1153
  32. package/dist-types/protocols/Aws_restJson1.d.ts +23 -5
  33. package/package.json +1 -1
  34. package/dist-cjs/models/models_1.js +0 -44
  35. package/dist-es/commands/ListServicesCommand.js +0 -17
  36. package/dist-es/models/models_1.js +0 -39
  37. package/dist-types/commands/ListServicesCommand.d.ts +0 -87
  38. package/dist-types/models/models_1.d.ts +0 -272
@@ -270,11 +270,6 @@ export const LiveEventType = {
270
270
  CONFERENCE_JOIN: "conference_join",
271
271
  CONFERENCE_LEAVE: "conference_leave",
272
272
  CONFERENCE_TRANSCRIPTION: "conference_transcription",
273
- SERVICE: "service",
274
- SERVICE_AGENT: "service_agent",
275
- SERVICE_CALL: "service_call",
276
- SERVICE_CALL_COMPLETE: "service_call_complete",
277
- SERVICE_COMPLETE: "service_complete",
278
273
  };
279
274
  export const CallAnalyticsLiveProgressEventTrigger = {
280
275
  AGENTS_CANCEL: "call.agents_cancel",
@@ -370,27 +365,6 @@ export const PresenceConsumeEventType = {
370
365
  PRESENCE: "PRESENCE",
371
366
  PRESENCE_TELEPHONY: "PRESENCE.TELEPHONY",
372
367
  };
373
- export const ServiceAgentType = {
374
- DYNAMIC: "DYNAMIC",
375
- STATIC: "STATIC",
376
- };
377
- export const ServiceConsumeEventType = {
378
- SERVICE_AGENT_JOIN: "SERVICE.AGENT_JOIN",
379
- SERVICE_AGENT_LEAVE: "SERVICE.AGENT_LEAVE",
380
- SERVICE_AGENT_UPDATE: "SERVICE.AGENT_UPDATE",
381
- SERVICE_CALL_END: "SERVICE.CALL_END",
382
- SERVICE_CALL_INIT: "SERVICE.CALL_INIT",
383
- SERVICE_CALL_UPDATE: "SERVICE.CALL_UPDATE",
384
- SERVICE_END: "SERVICE.END",
385
- SERVICE_INIT: "SERVICE.INIT",
386
- SERVICE_UPDATE: "SERVICE.UPDATE",
387
- };
388
- export const ServiceCallAction = {
389
- ANSWER: "ANSWER",
390
- CANCEL: "CANCEL",
391
- REJECT: "REJECT",
392
- RING: "RING",
393
- };
394
368
  export const SmsConsumeEventType = {
395
369
  SMS_INBOUND: "SMS.INBOUND",
396
370
  SMS_STATUS: "SMS.STATUS",
@@ -477,24 +451,6 @@ export var ConsumeEventInputEvent;
477
451
  return visitor.presence(value.presence);
478
452
  if (value.presenceTelephony !== undefined)
479
453
  return visitor.presenceTelephony(value.presenceTelephony);
480
- if (value.serviceInit !== undefined)
481
- return visitor.serviceInit(value.serviceInit);
482
- if (value.serviceUpdate !== undefined)
483
- return visitor.serviceUpdate(value.serviceUpdate);
484
- if (value.serviceEnd !== undefined)
485
- return visitor.serviceEnd(value.serviceEnd);
486
- if (value.serviceCallInit !== undefined)
487
- return visitor.serviceCallInit(value.serviceCallInit);
488
- if (value.serviceCallUpdate !== undefined)
489
- return visitor.serviceCallUpdate(value.serviceCallUpdate);
490
- if (value.serviceCallEnd !== undefined)
491
- return visitor.serviceCallEnd(value.serviceCallEnd);
492
- if (value.serviceAgentJoin !== undefined)
493
- return visitor.serviceAgentJoin(value.serviceAgentJoin);
494
- if (value.serviceAgentUpdate !== undefined)
495
- return visitor.serviceAgentUpdate(value.serviceAgentUpdate);
496
- if (value.serviceAgentLeave !== undefined)
497
- return visitor.serviceAgentLeave(value.serviceAgentLeave);
498
454
  if (value.usageStt !== undefined)
499
455
  return visitor.usageStt(value.usageStt);
500
456
  return visitor._(value.$unknown[0], value.$unknown[1]);
@@ -508,7 +464,6 @@ export const WebsocketAction = {
508
464
  export const WebsocketTopic = {
509
465
  CONVERSATIONS: "conversations",
510
466
  PRESENCE: "presence",
511
- SERVICES: "services",
512
467
  TRANSCRIPTIONS: "transcriptions",
513
468
  };
514
469
  export const PresenceAnalyticsEventType = {
@@ -520,25 +475,6 @@ export const PresenceEventType = {
520
475
  STATUS_EVENT: "PresenceAnalyticsStatusEvent",
521
476
  TELEPHONY_EVENT: "PresenceAnalyticsTelephonyEvent",
522
477
  };
523
- export const ServiceAnalyticsEventTrigger = {
524
- SERVICE_AGENT_JOIN: "service.agent_join",
525
- SERVICE_AGENT_LEAVE: "service.agent_leave",
526
- SERVICE_AGENT_UPDATE: "service.agent_update",
527
- SERVICE_CALL_END: "service.call_end",
528
- SERVICE_CALL_INIT: "service.call_init",
529
- SERVICE_CALL_UPDATE: "service.call_update",
530
- SERVICE_END: "service.end",
531
- SERVICE_INIT: "service.init",
532
- SERVICE_UPDATE: "service.update",
533
- };
534
- export const ServiceCallEventType = {
535
- LIVE_COMPLETE_EVENT: "ServiceCallAnalyticsLiveCompleteEvent",
536
- LIVE_PROGRESS_EVENT: "ServiceCallAnalyticsLiveProgressEvent",
537
- };
538
- export const ServiceEventType = {
539
- LIVE_COMPLETE_EVENT: "ServiceAnalyticsLiveCompleteEvent",
540
- LIVE_PROGRESS_EVENT: "ServiceAnalyticsLiveProgressEvent",
541
- };
542
478
  export const WebhookEventType = {
543
479
  CALL_COMPLETED: "call:completed",
544
480
  CALL_LIVE_COMPLETED: "call:live:completed",
@@ -579,3 +515,41 @@ export const WebsocketEvent = {
579
515
  SUBSCRIBED: "subscribed",
580
516
  UNSUBSCRIBE: "unsubscribed",
581
517
  };
518
+ export class MatchNotFoundException extends __BaseException {
519
+ name = "MatchNotFoundException";
520
+ $fault = "client";
521
+ constructor(opts) {
522
+ super({
523
+ name: "MatchNotFoundException",
524
+ $fault: "client",
525
+ ...opts
526
+ });
527
+ Object.setPrototypeOf(this, MatchNotFoundException.prototype);
528
+ }
529
+ }
530
+ export const PresenceStatus = {
531
+ AWAY: "AWAY",
532
+ DND: "DND",
533
+ OFFLINE: "OFFLINE",
534
+ ONLINE: "ONLINE",
535
+ ONLY_SIP: "ONLY_SIP",
536
+ };
537
+ export const TelephonyStatus = {
538
+ REGISTERED: "REGISTERED",
539
+ RINGING: "RINGING",
540
+ RT: "RT",
541
+ TALKING: "TALKING",
542
+ UNREGISTERED: "UNREGISTERED",
543
+ };
544
+ export class PresenceNotAvailableException extends __BaseException {
545
+ name = "PresenceNotAvailableException";
546
+ $fault = "client";
547
+ constructor(opts) {
548
+ super({
549
+ name: "PresenceNotAvailableException",
550
+ $fault: "client",
551
+ ...opts
552
+ });
553
+ Object.setPrototypeOf(this, PresenceNotAvailableException.prototype);
554
+ }
555
+ }
@@ -1,6 +1,5 @@
1
1
  import { WdaStreamServiceException as __BaseException } from "../models/WdaStreamServiceException";
2
- import { ConsumeEventInputEvent, ForbiddenException, ValidationException, } from "../models/models_0";
3
- import { MatchNotFoundException, PresenceNotAvailableException, } from "../models/models_1";
2
+ import { ConsumeEventInputEvent, ForbiddenException, MatchNotFoundException, PresenceNotAvailableException, ValidationException, } from "../models/models_0";
4
3
  import { loadRestJsonErrorCode, parseJsonBody as parseBody, parseJsonErrorBody as parseErrorBody, } from "@aws-sdk/core";
5
4
  import { requestBuilder as rb } from "@smithy/core";
6
5
  import { decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, limitedParseDouble as __limitedParseDouble, _json, collectBody, map, take, withBaseException, } from "@smithy/smithy-client";
@@ -70,20 +69,46 @@ export const se_GetOngoingCallCommand = async (input, context) => {
70
69
  .b(body);
71
70
  return b.build();
72
71
  };
73
- export const se_ListServicesCommand = async (input, context) => {
72
+ export const se_GetOngoingCallTranscriptionCommand = async (input, context) => {
74
73
  const b = rb(input, context);
75
- const headers = {
76
- 'content-type': 'application/json',
77
- };
78
- b.bp("/v2/stream/services");
74
+ const headers = {};
75
+ b.bp("/v2/stream/calls/{callId}/transcription");
76
+ b.p('callId', () => input.callId, '{callId}', false);
79
77
  const query = map({
80
78
  [_c]: [, input[_c]],
81
79
  });
82
80
  let body;
83
- body = JSON.stringify(take(input, {
84
- 'filter': _ => _json(_),
85
- }));
86
- b.m("POST")
81
+ b.m("GET")
82
+ .h(headers)
83
+ .q(query)
84
+ .b(body);
85
+ return b.build();
86
+ };
87
+ export const se_GetOngoingConferenceCommand = async (input, context) => {
88
+ const b = rb(input, context);
89
+ const headers = {};
90
+ b.bp("/v2/stream/conferences/{conferenceId}");
91
+ b.p('conferenceId', () => input.conferenceId, '{conferenceId}', false);
92
+ const query = map({
93
+ [_c]: [, input[_c]],
94
+ });
95
+ let body;
96
+ b.m("GET")
97
+ .h(headers)
98
+ .q(query)
99
+ .b(body);
100
+ return b.build();
101
+ };
102
+ export const se_GetOngoingConferenceTranscriptionCommand = async (input, context) => {
103
+ const b = rb(input, context);
104
+ const headers = {};
105
+ b.bp("/v2/stream/conferences/{conferenceId}/transcription");
106
+ b.p('conferenceId', () => input.conferenceId, '{conferenceId}', false);
107
+ const query = map({
108
+ [_c]: [, input[_c]],
109
+ });
110
+ let body;
111
+ b.m("GET")
87
112
  .h(headers)
88
113
  .q(query)
89
114
  .b(body);
@@ -200,12 +225,6 @@ export const de_DescribeEventCommand = async (output, context) => {
200
225
  'PresenceAnalyticsStatusEvent': _json,
201
226
  'PresenceAnalyticsTelephonyEvent': _json,
202
227
  'PresenceEventType': __expectString,
203
- 'ServiceAnalyticsLiveCompleteEvent': _json,
204
- 'ServiceAnalyticsLiveProgressEvent': _json,
205
- 'ServiceCallAnalyticsLiveCompleteEvent': _json,
206
- 'ServiceCallAnalyticsLiveProgressEvent': _json,
207
- 'ServiceCallEventType': __expectString,
208
- 'ServiceEventType': __expectString,
209
228
  'WebhookCallCompletedEvent': _json,
210
229
  'WebhookCallLiveCompletedEvent': _json,
211
230
  'WebhookCallLiveInterruptedEvent': _json,
@@ -265,6 +284,21 @@ export const de_GetConferenceIdCommand = async (output, context) => {
265
284
  return contents;
266
285
  };
267
286
  export const de_GetOngoingCallCommand = async (output, context) => {
287
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
288
+ return de_CommandError(output, context);
289
+ }
290
+ const contents = map({
291
+ $metadata: deserializeMetadata(output),
292
+ });
293
+ const data = __expectNonNull((__expectObject(await parseBody(output.body, context))), "body");
294
+ const doc = take(data, {
295
+ 'company': __expectString,
296
+ 'flows': _json,
297
+ });
298
+ Object.assign(contents, doc);
299
+ return contents;
300
+ };
301
+ export const de_GetOngoingCallTranscriptionCommand = async (output, context) => {
268
302
  if (output.statusCode !== 200 && output.statusCode >= 300) {
269
303
  return de_CommandError(output, context);
270
304
  }
@@ -280,7 +314,7 @@ export const de_GetOngoingCallCommand = async (output, context) => {
280
314
  Object.assign(contents, doc);
281
315
  return contents;
282
316
  };
283
- export const de_ListServicesCommand = async (output, context) => {
317
+ export const de_GetOngoingConferenceCommand = async (output, context) => {
284
318
  if (output.statusCode !== 200 && output.statusCode >= 300) {
285
319
  return de_CommandError(output, context);
286
320
  }
@@ -289,7 +323,22 @@ export const de_ListServicesCommand = async (output, context) => {
289
323
  });
290
324
  const data = __expectNonNull((__expectObject(await parseBody(output.body, context))), "body");
291
325
  const doc = take(data, {
292
- 'services': _json,
326
+ 'conference': _json,
327
+ });
328
+ Object.assign(contents, doc);
329
+ return contents;
330
+ };
331
+ export const de_GetOngoingConferenceTranscriptionCommand = async (output, context) => {
332
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
333
+ return de_CommandError(output, context);
334
+ }
335
+ const contents = map({
336
+ $metadata: deserializeMetadata(output),
337
+ });
338
+ const data = __expectNonNull((__expectObject(await parseBody(output.body, context))), "body");
339
+ const doc = take(data, {
340
+ 'conference': _json,
341
+ 'transcriptions': _json,
293
342
  });
294
343
  Object.assign(contents, doc);
295
344
  return contents;
@@ -461,15 +510,6 @@ const se_ConsumeEventInputEvent = (input, context) => {
461
510
  conferenceTranscription: value => ({ "conferenceTranscription": _json(value) }),
462
511
  presence: value => ({ "presence": _json(value) }),
463
512
  presenceTelephony: value => ({ "presenceTelephony": _json(value) }),
464
- serviceAgentJoin: value => ({ "serviceAgentJoin": _json(value) }),
465
- serviceAgentLeave: value => ({ "serviceAgentLeave": _json(value) }),
466
- serviceAgentUpdate: value => ({ "serviceAgentUpdate": _json(value) }),
467
- serviceCallEnd: value => ({ "serviceCallEnd": _json(value) }),
468
- serviceCallInit: value => ({ "serviceCallInit": _json(value) }),
469
- serviceCallUpdate: value => ({ "serviceCallUpdate": _json(value) }),
470
- serviceEnd: value => ({ "serviceEnd": _json(value) }),
471
- serviceInit: value => ({ "serviceInit": _json(value) }),
472
- serviceUpdate: value => ({ "serviceUpdate": _json(value) }),
473
513
  smsInbound: value => ({ "smsInbound": _json(value) }),
474
514
  smsStatus: value => ({ "smsStatus": _json(value) }),
475
515
  usageStt: value => ({ "usageStt": _json(value) }),
@@ -3,7 +3,9 @@ import { ConsumeEventCommandInput, ConsumeEventCommandOutput } from "./commands/
3
3
  import { DescribeEventCommandInput, DescribeEventCommandOutput } from "./commands/DescribeEventCommand";
4
4
  import { GetConferenceIdCommandInput, GetConferenceIdCommandOutput } from "./commands/GetConferenceIdCommand";
5
5
  import { GetOngoingCallCommandInput, GetOngoingCallCommandOutput } from "./commands/GetOngoingCallCommand";
6
- import { ListServicesCommandInput, ListServicesCommandOutput } from "./commands/ListServicesCommand";
6
+ import { GetOngoingCallTranscriptionCommandInput, GetOngoingCallTranscriptionCommandOutput } from "./commands/GetOngoingCallTranscriptionCommand";
7
+ import { GetOngoingConferenceCommandInput, GetOngoingConferenceCommandOutput } from "./commands/GetOngoingConferenceCommand";
8
+ import { GetOngoingConferenceTranscriptionCommandInput, GetOngoingConferenceTranscriptionCommandOutput } from "./commands/GetOngoingConferenceTranscriptionCommand";
7
9
  import { QueryConversationsCommandInput, QueryConversationsCommandOutput } from "./commands/QueryConversationsCommand";
8
10
  import { QueryPresenceCommandInput, QueryPresenceCommandOutput } from "./commands/QueryPresenceCommand";
9
11
  import { QueryPresencesCommandInput, QueryPresencesCommandOutput } from "./commands/QueryPresencesCommand";
@@ -36,12 +38,23 @@ export interface WdaStream {
36
38
  getOngoingCall(args: GetOngoingCallCommandInput, cb: (err: any, data?: GetOngoingCallCommandOutput) => void): void;
37
39
  getOngoingCall(args: GetOngoingCallCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetOngoingCallCommandOutput) => void): void;
38
40
  /**
39
- * @see {@link ListServicesCommand}
41
+ * @see {@link GetOngoingCallTranscriptionCommand}
40
42
  */
41
- listServices(): Promise<ListServicesCommandOutput>;
42
- listServices(args: ListServicesCommandInput, options?: __HttpHandlerOptions): Promise<ListServicesCommandOutput>;
43
- listServices(args: ListServicesCommandInput, cb: (err: any, data?: ListServicesCommandOutput) => void): void;
44
- listServices(args: ListServicesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListServicesCommandOutput) => void): void;
43
+ getOngoingCallTranscription(args: GetOngoingCallTranscriptionCommandInput, options?: __HttpHandlerOptions): Promise<GetOngoingCallTranscriptionCommandOutput>;
44
+ getOngoingCallTranscription(args: GetOngoingCallTranscriptionCommandInput, cb: (err: any, data?: GetOngoingCallTranscriptionCommandOutput) => void): void;
45
+ getOngoingCallTranscription(args: GetOngoingCallTranscriptionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetOngoingCallTranscriptionCommandOutput) => void): void;
46
+ /**
47
+ * @see {@link GetOngoingConferenceCommand}
48
+ */
49
+ getOngoingConference(args: GetOngoingConferenceCommandInput, options?: __HttpHandlerOptions): Promise<GetOngoingConferenceCommandOutput>;
50
+ getOngoingConference(args: GetOngoingConferenceCommandInput, cb: (err: any, data?: GetOngoingConferenceCommandOutput) => void): void;
51
+ getOngoingConference(args: GetOngoingConferenceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetOngoingConferenceCommandOutput) => void): void;
52
+ /**
53
+ * @see {@link GetOngoingConferenceTranscriptionCommand}
54
+ */
55
+ getOngoingConferenceTranscription(args: GetOngoingConferenceTranscriptionCommandInput, options?: __HttpHandlerOptions): Promise<GetOngoingConferenceTranscriptionCommandOutput>;
56
+ getOngoingConferenceTranscription(args: GetOngoingConferenceTranscriptionCommandInput, cb: (err: any, data?: GetOngoingConferenceTranscriptionCommandOutput) => void): void;
57
+ getOngoingConferenceTranscription(args: GetOngoingConferenceTranscriptionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetOngoingConferenceTranscriptionCommandOutput) => void): void;
45
58
  /**
46
59
  * @see {@link QueryConversationsCommand}
47
60
  */
@@ -2,7 +2,9 @@ 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
+ import { GetOngoingCallTranscriptionCommandInput, GetOngoingCallTranscriptionCommandOutput } from "./commands/GetOngoingCallTranscriptionCommand";
6
+ import { GetOngoingConferenceCommandInput, GetOngoingConferenceCommandOutput } from "./commands/GetOngoingConferenceCommand";
7
+ import { GetOngoingConferenceTranscriptionCommandInput, GetOngoingConferenceTranscriptionCommandOutput } from "./commands/GetOngoingConferenceTranscriptionCommand";
6
8
  import { QueryConversationsCommandInput, QueryConversationsCommandOutput } from "./commands/QueryConversationsCommand";
7
9
  import { QueryPresenceCommandInput, QueryPresenceCommandOutput } from "./commands/QueryPresenceCommand";
8
10
  import { QueryPresencesCommandInput, QueryPresencesCommandOutput } from "./commands/QueryPresencesCommand";
@@ -18,11 +20,11 @@ export { __Client };
18
20
  /**
19
21
  * @public
20
22
  */
21
- export type ServiceInputTypes = ConsumeEventCommandInput | DescribeEventCommandInput | GetConferenceIdCommandInput | GetOngoingCallCommandInput | ListServicesCommandInput | QueryConversationsCommandInput | QueryPresenceCommandInput | QueryPresencesCommandInput | UpdatePresenceLastSeenCommandInput;
23
+ export type ServiceInputTypes = ConsumeEventCommandInput | DescribeEventCommandInput | GetConferenceIdCommandInput | GetOngoingCallCommandInput | GetOngoingCallTranscriptionCommandInput | GetOngoingConferenceCommandInput | GetOngoingConferenceTranscriptionCommandInput | QueryConversationsCommandInput | QueryPresenceCommandInput | QueryPresencesCommandInput | UpdatePresenceLastSeenCommandInput;
22
24
  /**
23
25
  * @public
24
26
  */
25
- export type ServiceOutputTypes = ConsumeEventCommandOutput | DescribeEventCommandOutput | GetConferenceIdCommandOutput | GetOngoingCallCommandOutput | ListServicesCommandOutput | QueryConversationsCommandOutput | QueryPresenceCommandOutput | QueryPresencesCommandOutput | UpdatePresenceLastSeenCommandOutput;
27
+ export type ServiceOutputTypes = ConsumeEventCommandOutput | DescribeEventCommandOutput | GetConferenceIdCommandOutput | GetOngoingCallCommandOutput | GetOngoingCallTranscriptionCommandOutput | GetOngoingConferenceCommandOutput | GetOngoingConferenceTranscriptionCommandOutput | QueryConversationsCommandOutput | QueryPresenceCommandOutput | QueryPresencesCommandOutput | UpdatePresenceLastSeenCommandOutput;
26
28
  /**
27
29
  * @public
28
30
  */
@@ -359,7 +359,7 @@ declare const ConsumeEventCommand_base: {
359
359
  * flowIndex: Number("int"), // required
360
360
  * flowStartTime: Number("long"), // required
361
361
  * callStartTime: Number("long"), // required
362
- * type: "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" || "service" || "service_complete" || "service_agent" || "service_call" || "service_call_complete", // required
362
+ * type: "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
363
363
  * cds: { // CdsTranscriptionPayloadReference
364
364
  * id: "STRING_VALUE", // required
365
365
  * },
@@ -871,175 +871,6 @@ declare const ConsumeEventCommand_base: {
871
871
  * status: "STRING_VALUE",
872
872
  * },
873
873
  * },
874
- * serviceInit: { // ServiceInitConsumeEvent
875
- * id: "STRING_VALUE", // required
876
- * time: Number("long"), // required
877
- * pbx: "STRING_VALUE", // required
878
- * company: "STRING_VALUE", // required
879
- * type: "SERVICE.INIT" || "SERVICE.UPDATE" || "SERVICE.END" || "SERVICE.CALL_INIT" || "SERVICE.CALL_UPDATE" || "SERVICE.CALL_END" || "SERVICE.AGENT_JOIN" || "SERVICE.AGENT_UPDATE" || "SERVICE.AGENT_LEAVE", // required
880
- * data: { // ServiceConsumeEventData
881
- * name: "STRING_VALUE",
882
- * strategy: "STRING_VALUE",
883
- * maxCalls: "STRING_VALUE",
884
- * weight: "STRING_VALUE",
885
- * agents: [ // ServiceAgentsList
886
- * { // ServiceAgent
887
- * id: "STRING_VALUE", // required
888
- * penalty: "STRING_VALUE",
889
- * type: "STATIC" || "DYNAMIC",
890
- * paused: true || false,
891
- * lastQueueCallEnd: Number("long"),
892
- * userExtension: "STRING_VALUE",
893
- * name: "STRING_VALUE",
894
- * },
895
- * ],
896
- * calls: [ // ServiceCallsList
897
- * "STRING_VALUE",
898
- * ],
899
- * },
900
- * },
901
- * serviceUpdate: { // ServiceUpdateConsumeEvent
902
- * id: "STRING_VALUE", // required
903
- * time: Number("long"), // required
904
- * pbx: "STRING_VALUE", // required
905
- * company: "STRING_VALUE", // required
906
- * type: "SERVICE.INIT" || "SERVICE.UPDATE" || "SERVICE.END" || "SERVICE.CALL_INIT" || "SERVICE.CALL_UPDATE" || "SERVICE.CALL_END" || "SERVICE.AGENT_JOIN" || "SERVICE.AGENT_UPDATE" || "SERVICE.AGENT_LEAVE", // required
907
- * data: {
908
- * name: "STRING_VALUE",
909
- * strategy: "STRING_VALUE",
910
- * maxCalls: "STRING_VALUE",
911
- * weight: "STRING_VALUE",
912
- * agents: [
913
- * {
914
- * id: "STRING_VALUE", // required
915
- * penalty: "STRING_VALUE",
916
- * type: "STATIC" || "DYNAMIC",
917
- * paused: true || false,
918
- * lastQueueCallEnd: Number("long"),
919
- * userExtension: "STRING_VALUE",
920
- * name: "STRING_VALUE",
921
- * },
922
- * ],
923
- * calls: [
924
- * "STRING_VALUE",
925
- * ],
926
- * },
927
- * },
928
- * serviceEnd: { // ServiceEndConsumeEvent
929
- * id: "STRING_VALUE", // required
930
- * time: Number("long"), // required
931
- * pbx: "STRING_VALUE", // required
932
- * company: "STRING_VALUE", // required
933
- * type: "SERVICE.INIT" || "SERVICE.UPDATE" || "SERVICE.END" || "SERVICE.CALL_INIT" || "SERVICE.CALL_UPDATE" || "SERVICE.CALL_END" || "SERVICE.AGENT_JOIN" || "SERVICE.AGENT_UPDATE" || "SERVICE.AGENT_LEAVE", // required
934
- * },
935
- * serviceCallInit: { // ServiceCallInitConsumeEvent
936
- * id: "STRING_VALUE", // required
937
- * time: Number("long"), // required
938
- * pbx: "STRING_VALUE", // required
939
- * company: "STRING_VALUE", // required
940
- * type: "SERVICE.INIT" || "SERVICE.UPDATE" || "SERVICE.END" || "SERVICE.CALL_INIT" || "SERVICE.CALL_UPDATE" || "SERVICE.CALL_END" || "SERVICE.AGENT_JOIN" || "SERVICE.AGENT_UPDATE" || "SERVICE.AGENT_LEAVE", // required
941
- * data: { // ServiceCallConsumeEventData
942
- * callId: "STRING_VALUE", // required
943
- * startTime: Number("long"),
944
- * direction: "INTERNAL" || "INBOUND" || "OUTBOUND" || "UNDEFINED",
945
- * action: "RING" || "REJECT" || "CANCEL" || "ANSWER",
946
- * customer: { // ServiceCustomer
947
- * phone: "STRING_VALUE", // required
948
- * name: "STRING_VALUE",
949
- * },
950
- * relatedAgents: [ // ServiceCallAgentsList
951
- * "STRING_VALUE",
952
- * ],
953
- * },
954
- * },
955
- * serviceCallUpdate: { // ServiceCallUpdateConsumeEvent
956
- * id: "STRING_VALUE", // required
957
- * time: Number("long"), // required
958
- * pbx: "STRING_VALUE", // required
959
- * company: "STRING_VALUE", // required
960
- * type: "SERVICE.INIT" || "SERVICE.UPDATE" || "SERVICE.END" || "SERVICE.CALL_INIT" || "SERVICE.CALL_UPDATE" || "SERVICE.CALL_END" || "SERVICE.AGENT_JOIN" || "SERVICE.AGENT_UPDATE" || "SERVICE.AGENT_LEAVE", // required
961
- * data: {
962
- * callId: "STRING_VALUE", // required
963
- * startTime: Number("long"),
964
- * direction: "INTERNAL" || "INBOUND" || "OUTBOUND" || "UNDEFINED",
965
- * action: "RING" || "REJECT" || "CANCEL" || "ANSWER",
966
- * customer: {
967
- * phone: "STRING_VALUE", // required
968
- * name: "STRING_VALUE",
969
- * },
970
- * relatedAgents: [
971
- * "STRING_VALUE",
972
- * ],
973
- * },
974
- * },
975
- * serviceCallEnd: { // ServiceCallEndConsumeEvent
976
- * id: "STRING_VALUE", // required
977
- * time: Number("long"), // required
978
- * pbx: "STRING_VALUE", // required
979
- * company: "STRING_VALUE", // required
980
- * type: "SERVICE.INIT" || "SERVICE.UPDATE" || "SERVICE.END" || "SERVICE.CALL_INIT" || "SERVICE.CALL_UPDATE" || "SERVICE.CALL_END" || "SERVICE.AGENT_JOIN" || "SERVICE.AGENT_UPDATE" || "SERVICE.AGENT_LEAVE", // required
981
- * data: {
982
- * callId: "STRING_VALUE", // required
983
- * startTime: Number("long"),
984
- * direction: "INTERNAL" || "INBOUND" || "OUTBOUND" || "UNDEFINED",
985
- * action: "RING" || "REJECT" || "CANCEL" || "ANSWER",
986
- * customer: {
987
- * phone: "STRING_VALUE", // required
988
- * name: "STRING_VALUE",
989
- * },
990
- * relatedAgents: [
991
- * "STRING_VALUE",
992
- * ],
993
- * },
994
- * },
995
- * serviceAgentJoin: { // ServiceAgentJoinConsumeEvent
996
- * id: "STRING_VALUE", // required
997
- * time: Number("long"), // required
998
- * pbx: "STRING_VALUE", // required
999
- * company: "STRING_VALUE", // required
1000
- * type: "SERVICE.INIT" || "SERVICE.UPDATE" || "SERVICE.END" || "SERVICE.CALL_INIT" || "SERVICE.CALL_UPDATE" || "SERVICE.CALL_END" || "SERVICE.AGENT_JOIN" || "SERVICE.AGENT_UPDATE" || "SERVICE.AGENT_LEAVE", // required
1001
- * data: { // ServiceAgentConsumeEventData
1002
- * id: "STRING_VALUE", // required
1003
- * penalty: "STRING_VALUE",
1004
- * type: "STATIC" || "DYNAMIC",
1005
- * paused: true || false,
1006
- * lastQueueCallEnd: Number("long"),
1007
- * userExtension: "STRING_VALUE",
1008
- * name: "STRING_VALUE",
1009
- * },
1010
- * },
1011
- * serviceAgentUpdate: { // ServiceAgentUpdateConsumeEvent
1012
- * id: "STRING_VALUE", // required
1013
- * time: Number("long"), // required
1014
- * pbx: "STRING_VALUE", // required
1015
- * company: "STRING_VALUE", // required
1016
- * type: "SERVICE.INIT" || "SERVICE.UPDATE" || "SERVICE.END" || "SERVICE.CALL_INIT" || "SERVICE.CALL_UPDATE" || "SERVICE.CALL_END" || "SERVICE.AGENT_JOIN" || "SERVICE.AGENT_UPDATE" || "SERVICE.AGENT_LEAVE", // required
1017
- * data: {
1018
- * id: "STRING_VALUE", // required
1019
- * penalty: "STRING_VALUE",
1020
- * type: "STATIC" || "DYNAMIC",
1021
- * paused: true || false,
1022
- * lastQueueCallEnd: Number("long"),
1023
- * userExtension: "STRING_VALUE",
1024
- * name: "STRING_VALUE",
1025
- * },
1026
- * },
1027
- * serviceAgentLeave: { // ServiceAgentLeaveConsumeEvent
1028
- * id: "STRING_VALUE", // required
1029
- * time: Number("long"), // required
1030
- * pbx: "STRING_VALUE", // required
1031
- * company: "STRING_VALUE", // required
1032
- * type: "SERVICE.INIT" || "SERVICE.UPDATE" || "SERVICE.END" || "SERVICE.CALL_INIT" || "SERVICE.CALL_UPDATE" || "SERVICE.CALL_END" || "SERVICE.AGENT_JOIN" || "SERVICE.AGENT_UPDATE" || "SERVICE.AGENT_LEAVE", // required
1033
- * data: {
1034
- * id: "STRING_VALUE", // required
1035
- * penalty: "STRING_VALUE",
1036
- * type: "STATIC" || "DYNAMIC",
1037
- * paused: true || false,
1038
- * lastQueueCallEnd: Number("long"),
1039
- * userExtension: "STRING_VALUE",
1040
- * name: "STRING_VALUE",
1041
- * },
1042
- * },
1043
874
  * usageStt: { // TranscriptionUsageEvent
1044
875
  * id: "STRING_VALUE", // required
1045
876
  * time: Number("long"), // required