@wildix/wda-stream-client 1.1.61 → 1.1.62

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.
@@ -985,7 +985,6 @@ const de_CallTranscriptionChunk = (output, context) => {
985
985
  'isFinal': smithy_client_1.expectBoolean,
986
986
  'language': smithy_client_1.expectString,
987
987
  'sentiment': smithy_client_1.expectString,
988
- 'shouldComputeSentiment': smithy_client_1.expectBoolean,
989
988
  'speaker': smithy_client_1.expectString,
990
989
  'start': smithy_client_1.expectLong,
991
990
  'text': smithy_client_1.expectString,
@@ -952,7 +952,6 @@ const de_CallTranscriptionChunk = (output, context) => {
952
952
  'isFinal': __expectBoolean,
953
953
  'language': __expectString,
954
954
  'sentiment': __expectString,
955
- 'shouldComputeSentiment': __expectBoolean,
956
955
  'speaker': __expectString,
957
956
  'start': __expectLong,
958
957
  'text': __expectString,
@@ -987,7 +987,7 @@ declare const ConsumeEventCommand_base: {
987
987
  * company: "STRING_VALUE", // required
988
988
  * 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
989
989
  * data: { // ServiceConsumeEventData
990
- * name: "STRING_VALUE", // required
990
+ * name: "STRING_VALUE",
991
991
  * strategy: "STRING_VALUE",
992
992
  * maxCalls: "STRING_VALUE",
993
993
  * weight: "STRING_VALUE",
@@ -1021,7 +1021,7 @@ declare const ConsumeEventCommand_base: {
1021
1021
  * company: "STRING_VALUE", // required
1022
1022
  * 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
1023
1023
  * data: {
1024
- * name: "STRING_VALUE", // required
1024
+ * name: "STRING_VALUE",
1025
1025
  * strategy: "STRING_VALUE",
1026
1026
  * maxCalls: "STRING_VALUE",
1027
1027
  * weight: "STRING_VALUE",
@@ -1071,6 +1071,10 @@ declare const ConsumeEventCommand_base: {
1071
1071
  * flowId: Number("int"),
1072
1072
  * startTime: Number("long"),
1073
1073
  * direction: "INTERNAL" || "INBOUND" || "OUTBOUND" || "UNDEFINED",
1074
+ * customer: { // ServiceCustomer
1075
+ * phone: "STRING_VALUE", // required
1076
+ * name: "STRING_VALUE",
1077
+ * },
1074
1078
  * },
1075
1079
  * },
1076
1080
  * serviceCallUpdate: { // ServiceCallUpdateConsumeEvent
@@ -1089,6 +1093,10 @@ declare const ConsumeEventCommand_base: {
1089
1093
  * flowId: Number("int"),
1090
1094
  * startTime: Number("long"),
1091
1095
  * direction: "INTERNAL" || "INBOUND" || "OUTBOUND" || "UNDEFINED",
1096
+ * customer: {
1097
+ * phone: "STRING_VALUE", // required
1098
+ * name: "STRING_VALUE",
1099
+ * },
1092
1100
  * },
1093
1101
  * },
1094
1102
  * serviceCallEnd: { // ServiceCallEndConsumeEvent
@@ -1107,6 +1115,10 @@ declare const ConsumeEventCommand_base: {
1107
1115
  * flowId: Number("int"),
1108
1116
  * startTime: Number("long"),
1109
1117
  * direction: "INTERNAL" || "INBOUND" || "OUTBOUND" || "UNDEFINED",
1118
+ * customer: {
1119
+ * phone: "STRING_VALUE", // required
1120
+ * name: "STRING_VALUE",
1121
+ * },
1110
1122
  * },
1111
1123
  * },
1112
1124
  * serviceAgentJoin: { // ServiceAgentJoinConsumeEvent
@@ -390,7 +390,6 @@ declare const DescribeEventCommand_base: {
390
390
  * // end: Number("long"), // required
391
391
  * // confidence: Number("double"),
392
392
  * // sentiment: "POSITIVE" || "NEGATIVE" || "MIXED" || "NEUTRAL",
393
- * // shouldComputeSentiment: true || false,
394
393
  * // },
395
394
  * // participant: {
396
395
  * // type: "REMOTE" || "LOCAL", // required
@@ -626,7 +625,6 @@ declare const DescribeEventCommand_base: {
626
625
  * // end: Number("long"), // required
627
626
  * // confidence: Number("double"),
628
627
  * // sentiment: "POSITIVE" || "NEGATIVE" || "MIXED" || "NEUTRAL",
629
- * // shouldComputeSentiment: true || false,
630
628
  * // },
631
629
  * // },
632
630
  * // },
@@ -657,7 +655,6 @@ declare const DescribeEventCommand_base: {
657
655
  * // end: Number("long"), // required
658
656
  * // confidence: Number("double"),
659
657
  * // sentiment: "POSITIVE" || "NEGATIVE" || "MIXED" || "NEUTRAL",
660
- * // shouldComputeSentiment: true || false,
661
658
  * // },
662
659
  * // },
663
660
  * // },
@@ -3226,7 +3223,7 @@ declare const DescribeEventCommand_base: {
3226
3223
  * // pbx: "STRING_VALUE", // required
3227
3224
  * // time: Number("long"), // required
3228
3225
  * // company: "STRING_VALUE", // required
3229
- * // name: "STRING_VALUE", // required
3226
+ * // name: "STRING_VALUE",
3230
3227
  * // strategy: "STRING_VALUE",
3231
3228
  * // maxCalls: "STRING_VALUE",
3232
3229
  * // weight: "STRING_VALUE",
@@ -3266,7 +3263,7 @@ declare const DescribeEventCommand_base: {
3266
3263
  * // pbx: "STRING_VALUE", // required
3267
3264
  * // time: Number("long"), // required
3268
3265
  * // company: "STRING_VALUE", // required
3269
- * // name: "STRING_VALUE", // required
3266
+ * // name: "STRING_VALUE",
3270
3267
  * // strategy: "STRING_VALUE",
3271
3268
  * // maxCalls: "STRING_VALUE",
3272
3269
  * // weight: "STRING_VALUE",
@@ -3304,6 +3301,10 @@ declare const DescribeEventCommand_base: {
3304
3301
  * // flowId: Number("int"),
3305
3302
  * // startTime: Number("long"),
3306
3303
  * // direction: "INTERNAL" || "INBOUND" || "OUTBOUND" || "UNDEFINED",
3304
+ * // customer: { // ServiceCustomer
3305
+ * // phone: "STRING_VALUE", // required
3306
+ * // name: "STRING_VALUE",
3307
+ * // },
3307
3308
  * // event: "chat" || "chat_annotation" || "chat_transcription" || "chat_complete" || "chat_interrupted" || "chat_missed" || "call_cost" || "call" || "call_annotation" || "call_complete" || "call_interrupted" || "call_transcription" || "conference" || "conference_annotation" || "conference_complete" || "conference_interrupted" || "conference_transcription" || "conference_join" || "conference_leave" || "service" || "service_complete" || "service_agent" || "service_agent_status" || "service_call" || "service_call_complete", // required
3308
3309
  * // eventTrigger: "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
3309
3310
  * // },
@@ -3321,6 +3322,10 @@ declare const DescribeEventCommand_base: {
3321
3322
  * // flowId: Number("int"),
3322
3323
  * // startTime: Number("long"),
3323
3324
  * // direction: "INTERNAL" || "INBOUND" || "OUTBOUND" || "UNDEFINED",
3325
+ * // customer: {
3326
+ * // phone: "STRING_VALUE", // required
3327
+ * // name: "STRING_VALUE",
3328
+ * // },
3324
3329
  * // event: "chat" || "chat_annotation" || "chat_transcription" || "chat_complete" || "chat_interrupted" || "chat_missed" || "call_cost" || "call" || "call_annotation" || "call_complete" || "call_interrupted" || "call_transcription" || "conference" || "conference_annotation" || "conference_complete" || "conference_interrupted" || "conference_transcription" || "conference_join" || "conference_leave" || "service" || "service_complete" || "service_agent" || "service_agent_status" || "service_call" || "service_call_complete", // required
3325
3330
  * // },
3326
3331
  * // ServiceCallAnalyticsRecordEvent: { // ServiceCallAnalyticsRecordEvent
@@ -3328,7 +3333,7 @@ declare const DescribeEventCommand_base: {
3328
3333
  * // pbx: "STRING_VALUE", // required
3329
3334
  * // time: Number("long"), // required
3330
3335
  * // company: "STRING_VALUE", // required
3331
- * // name: "STRING_VALUE", // required
3336
+ * // name: "STRING_VALUE",
3332
3337
  * // strategy: "STRING_VALUE",
3333
3338
  * // maxCalls: "STRING_VALUE",
3334
3339
  * // weight: "STRING_VALUE",
@@ -3338,6 +3343,10 @@ declare const DescribeEventCommand_base: {
3338
3343
  * // flowId: Number("int"),
3339
3344
  * // startTime: Number("long"),
3340
3345
  * // direction: "INTERNAL" || "INBOUND" || "OUTBOUND" || "UNDEFINED",
3346
+ * // customer: {
3347
+ * // phone: "STRING_VALUE", // required
3348
+ * // name: "STRING_VALUE",
3349
+ * // },
3341
3350
  * // type: "chat" || "chat_annotation" || "chat_transcription" || "chat_complete" || "chat_interrupted" || "chat_missed" || "call_cost" || "call" || "call_annotation" || "call_complete" || "call_interrupted" || "call_transcription" || "conference" || "conference_annotation" || "conference_complete" || "conference_interrupted" || "conference_transcription" || "conference_join" || "conference_leave" || "service" || "service_complete" || "service_agent" || "service_agent_status" || "service_call" || "service_call_complete", // required
3342
3351
  * // agents: [
3343
3352
  * // {
@@ -242,7 +242,6 @@ declare const GetOngoingCallTranscriptionCommand_base: {
242
242
  * // end: Number("long"), // required
243
243
  * // confidence: Number("double"),
244
244
  * // sentiment: "POSITIVE" || "NEGATIVE" || "MIXED" || "NEUTRAL",
245
- * // shouldComputeSentiment: true || false,
246
245
  * // },
247
246
  * // participant: {
248
247
  * // type: "REMOTE" || "LOCAL", // required
@@ -696,11 +696,6 @@ export interface CallTranscriptionChunk {
696
696
  * @public
697
697
  */
698
698
  sentiment?: TranscriptionSentiment | undefined;
699
- /**
700
- * Tristate gate populated upstream from caller/callee user-level licenses. `true` = at least one participant is on a whitelisted tier (currently `business` or `premium`). `false` = both participants are known and neither is whitelisted. Absent or null means upstream had no license info — downstream should fall through and compute sentiment (fail-open) to preserve the pre-feature behaviour.
701
- * @public
702
- */
703
- shouldComputeSentiment?: boolean | undefined;
704
699
  }
705
700
  /**
706
701
  * @public
@@ -3339,6 +3334,13 @@ export declare const ServiceCallAction: {
3339
3334
  * @public
3340
3335
  */
3341
3336
  export type ServiceCallAction = typeof ServiceCallAction[keyof typeof ServiceCallAction];
3337
+ /**
3338
+ * @public
3339
+ */
3340
+ export interface ServiceCustomer {
3341
+ phone: string;
3342
+ name?: string | undefined;
3343
+ }
3342
3344
  /**
3343
3345
  * Base service call structure.
3344
3346
  * @public
@@ -3372,6 +3374,7 @@ export interface ServiceCallConsumeEventData {
3372
3374
  flowId?: number | undefined;
3373
3375
  startTime?: number | undefined;
3374
3376
  direction?: CallDirection | undefined;
3377
+ customer?: ServiceCustomer | undefined;
3375
3378
  }
3376
3379
  /**
3377
3380
  * @public
@@ -3485,7 +3488,7 @@ export interface ServiceConsumeEventData {
3485
3488
  * The display name of the service.
3486
3489
  * @public
3487
3490
  */
3488
- name: string;
3491
+ name?: string | undefined;
3489
3492
  /**
3490
3493
  * Call distribution strategy inside the service (e.g., 'ringall', 'linear', 'rrmemory')
3491
3494
  * @public
@@ -6287,7 +6290,7 @@ export interface ServiceAgentsStatusAnalyticsRecordEvent {
6287
6290
  * The display name of the service.
6288
6291
  * @public
6289
6292
  */
6290
- name: string;
6293
+ name?: string | undefined;
6291
6294
  /**
6292
6295
  * Call distribution strategy inside the service (e.g., 'ringall', 'linear', 'rrmemory')
6293
6296
  * @public
@@ -6377,7 +6380,7 @@ export interface ServiceAnalyticsLiveProgressEvent {
6377
6380
  * The display name of the service.
6378
6381
  * @public
6379
6382
  */
6380
- name: string;
6383
+ name?: string | undefined;
6381
6384
  /**
6382
6385
  * Call distribution strategy inside the service (e.g., 'ringall', 'linear', 'rrmemory')
6383
6386
  * @public
@@ -6461,6 +6464,7 @@ export interface ServiceCallAnalyticsLiveCompleteEvent {
6461
6464
  flowId?: number | undefined;
6462
6465
  startTime?: number | undefined;
6463
6466
  direction?: CallDirection | undefined;
6467
+ customer?: ServiceCustomer | undefined;
6464
6468
  event: LiveEventType;
6465
6469
  }
6466
6470
  /**
@@ -6508,6 +6512,7 @@ export interface ServiceCallAnalyticsLiveProgressEvent {
6508
6512
  flowId?: number | undefined;
6509
6513
  startTime?: number | undefined;
6510
6514
  direction?: CallDirection | undefined;
6515
+ customer?: ServiceCustomer | undefined;
6511
6516
  event: LiveEventType;
6512
6517
  /**
6513
6518
  * An original event that triggers current one.
@@ -6568,7 +6573,7 @@ export interface ServiceCallAnalyticsRecordEvent {
6568
6573
  * The display name of the service.
6569
6574
  * @public
6570
6575
  */
6571
- name: string;
6576
+ name?: string | undefined;
6572
6577
  /**
6573
6578
  * Call distribution strategy inside the service (e.g., 'ringall', 'linear', 'rrmemory')
6574
6579
  * @public
@@ -6602,6 +6607,7 @@ export interface ServiceCallAnalyticsRecordEvent {
6602
6607
  flowId?: number | undefined;
6603
6608
  startTime?: number | undefined;
6604
6609
  direction?: CallDirection | undefined;
6610
+ customer?: ServiceCustomer | undefined;
6605
6611
  /**
6606
6612
  * Type discriminator; always 'service_call' for this event.
6607
6613
  * @public
@@ -7045,15 +7051,3 @@ export interface WebhookConferenceLiveAnnotationEvent {
7045
7051
  integrationId: string;
7046
7052
  data: ConferenceAnalyticsLiveAnnotationEvent;
7047
7053
  }
7048
- /**
7049
- * @public
7050
- */
7051
- export interface WebhookConferenceLiveCompletedEvent {
7052
- id: string;
7053
- pbx?: string | undefined;
7054
- company?: string | undefined;
7055
- type: WebhookEventType;
7056
- time: number;
7057
- integrationId: string;
7058
- data: ConferenceAnalyticsLiveCompleteEvent;
7059
- }
@@ -1,7 +1,19 @@
1
1
  import { WdaStreamServiceException as __BaseException } from "./WdaStreamServiceException";
2
- import { CallAnalyticsAnnotationsRecordEvent, CallAnalyticsCostRecordEvent, CallAnalyticsLiveAnnotationEvent, CallAnalyticsLiveCompleteEvent, CallAnalyticsLiveInterruptedEvent, CallAnalyticsLiveProgressEvent, CallAnalyticsLiveProgressEventFlow, CallAnalyticsLiveTranscriptionEvent, CallAnalyticsRecordEvent, CallAnalyticsTranscriptionRecordEvent, CallDevice, CallEventType, ChatAnalyticsAnnotationsRecordEvent, ChatAnalyticsLiveAnnotationEvent, ChatAnalyticsLiveCompleteEvent, ChatAnalyticsLiveInterruptedEvent, ChatAnalyticsLiveProgressEvent, ChatAnalyticsLiveTranscriptionEvent, ChatAnalyticsManagerMissedEvent, ChatAnalyticsRecordEvent, ChatAnalyticsTranscriptionRecordEvent, ChatEventType, ConferenceAnalyticsAnnotationsRecordEvent, ConferenceAnalyticsLiveAnnotationEvent, ConferenceAnalyticsLiveCompleteEvent, ConferenceAnalyticsLiveInterruptedEvent, ConferenceAnalyticsLiveJoinEvent, ConferenceAnalyticsLiveLeaveEvent, ConferenceAnalyticsLiveProgressEvent, ConferenceAnalyticsLiveTranscriptionEvent, ConferenceAnalyticsRecordEvent, ConferenceAnalyticsTranscriptionRecordEvent, ConferenceEventType, ConferenceParticipant, ConferenceRecord, PresenceAnalyticsConferenceEvent, PresenceAnalyticsStatusEvent, PresenceAnalyticsTelephonyEvent, PresenceEventType, ServiceAgentsStatusAnalyticsRecordEvent, ServiceAnalyticsLiveCompleteEvent, ServiceAnalyticsLiveProgressEvent, ServiceCallAnalyticsLiveCompleteEvent, ServiceCallAnalyticsLiveProgressEvent, ServiceCallAnalyticsRecordEvent, ServiceCallEventType, ServiceEventType, SmsStatusConsumeEventData, TranscriptionSummary, TranscriptionTextChunk, WebhookCallAnnotationsCompletedEvent, WebhookCallCompletedEvent, WebhookCallLiveAnnotationEvent, WebhookCallLiveCompletedEvent, WebhookCallLiveInterruptedEvent, WebhookCallLiveProgressEvent, WebhookCallLiveRecordPauseEvent, WebhookCallLiveRecordStartEvent, WebhookCallLiveRecordStopEvent, WebhookCallLiveRecordUnpauseEvent, WebhookCallLiveTranscriptionEvent, WebhookCallSummaryCompletedEvent, WebhookCallTranscriptionCompletedEvent, WebhookCallTranscriptionTextCompletedEvent, WebhookChatAnnotationsCompletedEvent, WebhookChatCompletedEvent, WebhookChatLiveAnnotationEvent, WebhookChatLiveCompletedEvent, WebhookChatLiveInterruptedEvent, WebhookChatLiveProgressEvent, WebhookChatManagerMissedEvent, WebhookChatSummaryCompletedEvent, WebhookConferenceAnnotationsCompletedEvent, WebhookConferenceCompletedEvent, WebhookConferenceLiveAnnotationEvent, WebhookConferenceLiveCompletedEvent, WebhookEventType, WebsocketAuthorizeAction, WebsocketSubscribeAction, WebsocketTopic, WebsocketUnsubscribeAction } from "./models_0";
2
+ import { CallAnalyticsAnnotationsRecordEvent, CallAnalyticsCostRecordEvent, CallAnalyticsLiveAnnotationEvent, CallAnalyticsLiveCompleteEvent, CallAnalyticsLiveInterruptedEvent, CallAnalyticsLiveProgressEvent, CallAnalyticsLiveProgressEventFlow, CallAnalyticsLiveTranscriptionEvent, CallAnalyticsRecordEvent, CallAnalyticsTranscriptionRecordEvent, CallDevice, CallEventType, ChatAnalyticsAnnotationsRecordEvent, ChatAnalyticsLiveAnnotationEvent, ChatAnalyticsLiveCompleteEvent, ChatAnalyticsLiveInterruptedEvent, ChatAnalyticsLiveProgressEvent, ChatAnalyticsLiveTranscriptionEvent, ChatAnalyticsManagerMissedEvent, ChatAnalyticsRecordEvent, ChatAnalyticsTranscriptionRecordEvent, ChatEventType, ConferenceAnalyticsAnnotationsRecordEvent, ConferenceAnalyticsLiveAnnotationEvent, ConferenceAnalyticsLiveCompleteEvent, ConferenceAnalyticsLiveInterruptedEvent, ConferenceAnalyticsLiveJoinEvent, ConferenceAnalyticsLiveLeaveEvent, ConferenceAnalyticsLiveProgressEvent, ConferenceAnalyticsLiveTranscriptionEvent, ConferenceAnalyticsRecordEvent, ConferenceAnalyticsTranscriptionRecordEvent, ConferenceEventType, ConferenceParticipant, ConferenceRecord, PresenceAnalyticsConferenceEvent, PresenceAnalyticsStatusEvent, PresenceAnalyticsTelephonyEvent, PresenceEventType, ServiceAgentsStatusAnalyticsRecordEvent, ServiceAnalyticsLiveCompleteEvent, ServiceAnalyticsLiveProgressEvent, ServiceCallAnalyticsLiveCompleteEvent, ServiceCallAnalyticsLiveProgressEvent, ServiceCallAnalyticsRecordEvent, ServiceCallEventType, ServiceEventType, SmsStatusConsumeEventData, TranscriptionSummary, TranscriptionTextChunk, WebhookCallAnnotationsCompletedEvent, WebhookCallCompletedEvent, WebhookCallLiveAnnotationEvent, WebhookCallLiveCompletedEvent, WebhookCallLiveInterruptedEvent, WebhookCallLiveProgressEvent, WebhookCallLiveRecordPauseEvent, WebhookCallLiveRecordStartEvent, WebhookCallLiveRecordStopEvent, WebhookCallLiveRecordUnpauseEvent, WebhookCallLiveTranscriptionEvent, WebhookCallSummaryCompletedEvent, WebhookCallTranscriptionCompletedEvent, WebhookCallTranscriptionTextCompletedEvent, WebhookChatAnnotationsCompletedEvent, WebhookChatCompletedEvent, WebhookChatLiveAnnotationEvent, WebhookChatLiveCompletedEvent, WebhookChatLiveInterruptedEvent, WebhookChatLiveProgressEvent, WebhookChatManagerMissedEvent, WebhookChatSummaryCompletedEvent, WebhookConferenceAnnotationsCompletedEvent, WebhookConferenceCompletedEvent, WebhookConferenceLiveAnnotationEvent, WebhookEventType, WebsocketAuthorizeAction, WebsocketSubscribeAction, WebsocketTopic, WebsocketUnsubscribeAction } from "./models_0";
3
3
  import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
4
4
  import { DocumentType as __DocumentType } from "@smithy/types";
5
+ /**
6
+ * @public
7
+ */
8
+ export interface WebhookConferenceLiveCompletedEvent {
9
+ id: string;
10
+ pbx?: string | undefined;
11
+ company?: string | undefined;
12
+ type: WebhookEventType;
13
+ time: number;
14
+ integrationId: string;
15
+ data: ConferenceAnalyticsLiveCompleteEvent;
16
+ }
5
17
  /**
6
18
  * @public
7
19
  */
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.61",
4
+ "version": "1.1.62",
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",