@wildix/wda-history-client 1.2.15 → 1.2.17

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.
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ConversationUserDirection = exports.ConversationFlag = exports.ConversationDirection = exports.Conversation = exports.ConferenceTranscriptionNotFoundException = exports.ConferenceTranscriptionStatus = exports.ConferenceParticipantType = exports.ConferenceParticipantRole = exports.PbxLicenseType = exports.ConferenceDirection = exports.ConferenceNotFoundException = exports.MessageWhatsAppStatus = exports.MessageType = exports.MessageSmsStatus = exports.Element = exports.ActionElement = exports.ButtonVariant = exports.ButtonHandler = exports.ChatTranscriptionNotFoundException = exports.ChatTag = exports.ChatStatus = exports.ChatParticipantType = exports.ChatParticipantRole = exports.ChatDirection = exports.ChannelWhatsAppStatus = exports.ChannelContextSource = exports.ChannelContextEventAttendeeStatus = exports.ChannelType = exports.ChannelAccess = exports.ChatNotFoundException = exports.CallTranscriptionNotFoundException = exports.CallTranscriptionSpeaker = exports.RecordType = exports.License = exports.CallDevice = exports.CallParticipantType = exports.CallParticipantRole = exports.CallFlowAttachmentType = exports.CallFlowAttachment = exports.CallFlowTranscriptionStatus = exports.CallRecordPauseReason = exports.CallFlowAttachmentStatus = exports.CallRecordOwner = exports.CallNotFoundException = exports.ConversationStatus = exports.CallDirection = exports.ValidationException = exports.ForbiddenException = void 0;
3
+ exports.ConversationUserDirection = exports.ConversationFlag = exports.ConversationDirection = exports.Conversation = exports.ConferenceTranscriptionNotFoundException = exports.ConferenceTranscriptionStatus = exports.ConferenceParticipantType = exports.ConferenceParticipantRole = exports.PbxLicenseType = exports.ConferenceDirection = exports.ConferenceNotFoundException = exports.MessageWhatsAppStatus = exports.MessageType = exports.MessageSmsStatus = exports.Element = exports.ActionElement = exports.ButtonVariant = exports.ButtonHandler = exports.ChatTranscriptionNotFoundException = exports.ChatTag = exports.ChatStatus = exports.ChatParticipantType = exports.ChatParticipantRole = exports.ChatDirection = exports.ChannelWhatsAppStatus = exports.ChannelContextSource = exports.ChannelContextEventAttendeeStatus = exports.ChannelType = exports.ChannelAccess = exports.ChatNotFoundException = exports.CallTranscriptionNotFoundException = exports.CallTranscriptionSpeaker = exports.RecordType = exports.CallFlowTranscriptionStatus = exports.License = exports.CallDevice = exports.CallParticipantType = exports.CallParticipantRole = exports.CallFlowAttachmentType = exports.CallFlowAttachment = exports.CallRecordPauseReason = exports.CallFlowAttachmentStatus = exports.CallRecordOwner = exports.CallNotFoundException = exports.ConversationStatus = exports.CallDirection = exports.ValidationException = exports.ForbiddenException = void 0;
4
4
  const WdaHistoryServiceException_1 = require("./WdaHistoryServiceException");
5
5
  class ForbiddenException extends WdaHistoryServiceException_1.WdaHistoryServiceException {
6
6
  name = "ForbiddenException";
@@ -64,11 +64,6 @@ exports.CallRecordPauseReason = {
64
64
  HOLD: "hold",
65
65
  PAUSE: "pause",
66
66
  };
67
- exports.CallFlowTranscriptionStatus = {
68
- AVAILABLE: "AVAILABLE",
69
- POST_TRANSCRIPTION: "POST_TRANSCRIPTION",
70
- UNAVAILABLE: "UNAVAILABLE",
71
- };
72
67
  var CallFlowAttachment;
73
68
  (function (CallFlowAttachment) {
74
69
  CallFlowAttachment.visit = (value, visitor) => {
@@ -78,14 +73,11 @@ var CallFlowAttachment;
78
73
  return visitor.fax(value.fax);
79
74
  if (value.voicemail !== undefined)
80
75
  return visitor.voicemail(value.voicemail);
81
- if (value.transcription !== undefined)
82
- return visitor.transcription(value.transcription);
83
76
  return visitor._(value.$unknown[0], value.$unknown[1]);
84
77
  };
85
78
  })(CallFlowAttachment || (exports.CallFlowAttachment = CallFlowAttachment = {}));
86
79
  exports.CallFlowAttachmentType = {
87
80
  FAX: "FAX",
88
- TRANSCRIPTION: "TRANSCRIPTION",
89
81
  VOICEMAIL: "VOICEMAIL",
90
82
  };
91
83
  exports.CallParticipantRole = {
@@ -112,6 +104,11 @@ exports.License = {
112
104
  UC: "uc",
113
105
  XBEES: "x-bees",
114
106
  };
107
+ exports.CallFlowTranscriptionStatus = {
108
+ AVAILABLE: "AVAILABLE",
109
+ POST_TRANSCRIPTION: "POST_TRANSCRIPTION",
110
+ UNAVAILABLE: "UNAVAILABLE",
111
+ };
115
112
  exports.RecordType = {
116
113
  CALL: "call",
117
114
  CALL_TRANSCRIPTION: "call_transcription",
@@ -58,11 +58,6 @@ export const CallRecordPauseReason = {
58
58
  HOLD: "hold",
59
59
  PAUSE: "pause",
60
60
  };
61
- export const CallFlowTranscriptionStatus = {
62
- AVAILABLE: "AVAILABLE",
63
- POST_TRANSCRIPTION: "POST_TRANSCRIPTION",
64
- UNAVAILABLE: "UNAVAILABLE",
65
- };
66
61
  export var CallFlowAttachment;
67
62
  (function (CallFlowAttachment) {
68
63
  CallFlowAttachment.visit = (value, visitor) => {
@@ -72,14 +67,11 @@ export var CallFlowAttachment;
72
67
  return visitor.fax(value.fax);
73
68
  if (value.voicemail !== undefined)
74
69
  return visitor.voicemail(value.voicemail);
75
- if (value.transcription !== undefined)
76
- return visitor.transcription(value.transcription);
77
70
  return visitor._(value.$unknown[0], value.$unknown[1]);
78
71
  };
79
72
  })(CallFlowAttachment || (CallFlowAttachment = {}));
80
73
  export const CallFlowAttachmentType = {
81
74
  FAX: "FAX",
82
- TRANSCRIPTION: "TRANSCRIPTION",
83
75
  VOICEMAIL: "VOICEMAIL",
84
76
  };
85
77
  export const CallParticipantRole = {
@@ -106,6 +98,11 @@ export const License = {
106
98
  UC: "uc",
107
99
  XBEES: "x-bees",
108
100
  };
101
+ export const CallFlowTranscriptionStatus = {
102
+ AVAILABLE: "AVAILABLE",
103
+ POST_TRANSCRIPTION: "POST_TRANSCRIPTION",
104
+ UNAVAILABLE: "UNAVAILABLE",
105
+ };
109
106
  export const RecordType = {
110
107
  CALL: "call",
111
108
  CALL_TRANSCRIPTION: "call_transcription",
@@ -126,18 +126,6 @@ declare const GetCallCommand_base: {
126
126
  * // reason: "pause" || "hold",
127
127
  * // },
128
128
  * // ],
129
- * // destinations: [ // CallFlowAttachmentDestinationList
130
- * // { // CallFlowAttachmentDestination
131
- * // phone: "STRING_VALUE",
132
- * // name: "STRING_VALUE",
133
- * // email: "STRING_VALUE",
134
- * // userId: "STRING_VALUE",
135
- * // userExtension: "STRING_VALUE",
136
- * // userDepartment: "STRING_VALUE",
137
- * // groupId: "STRING_VALUE",
138
- * // groupName: "STRING_VALUE",
139
- * // },
140
- * // ],
141
129
  * // },
142
130
  * // ],
143
131
  * // mergeWith: "STRING_VALUE",
@@ -152,9 +140,9 @@ declare const GetCallCommand_base: {
152
140
  * // transcriptionLanguage: "STRING_VALUE",
153
141
  * // transcriptionSeconds: Number("int"),
154
142
  * // attachment: "STRING_VALUE",
155
- * // attachmentType: "VOICEMAIL" || "FAX" || "TRANSCRIPTION",
156
- * // attachmentDestinations: [
157
- * // {
143
+ * // attachmentType: "VOICEMAIL" || "FAX",
144
+ * // attachmentDestinations: [ // CallFlowAttachmentDestinationList
145
+ * // { // CallFlowAttachmentDestination
158
146
  * // phone: "STRING_VALUE",
159
147
  * // name: "STRING_VALUE",
160
148
  * // email: "STRING_VALUE",
@@ -180,24 +168,53 @@ declare const GetCallCommand_base: {
180
168
  * // reason: "pause" || "hold",
181
169
  * // },
182
170
  * // ],
183
- * // destinations: "<CallFlowAttachmentDestinationList>",
184
171
  * // },
185
172
  * // fax: { // CallFlowFax
186
173
  * // url: "STRING_VALUE", // required
187
174
  * // status: "ok" || "error",
188
- * // destinations: "<CallFlowAttachmentDestinationList>",
175
+ * // destinations: [
176
+ * // {
177
+ * // phone: "STRING_VALUE",
178
+ * // name: "STRING_VALUE",
179
+ * // email: "STRING_VALUE",
180
+ * // userId: "STRING_VALUE",
181
+ * // userExtension: "STRING_VALUE",
182
+ * // userDepartment: "STRING_VALUE",
183
+ * // groupId: "STRING_VALUE",
184
+ * // groupName: "STRING_VALUE",
185
+ * // },
186
+ * // ],
189
187
  * // owner: "callee" || "caller" || "system",
190
188
  * // error: "STRING_VALUE",
191
189
  * // },
192
190
  * // voicemail: { // CallFlowVoicemail
193
191
  * // url: "STRING_VALUE", // required
194
- * // destinations: "<CallFlowAttachmentDestinationList>",
192
+ * // destinations: [
193
+ * // {
194
+ * // phone: "STRING_VALUE",
195
+ * // name: "STRING_VALUE",
196
+ * // email: "STRING_VALUE",
197
+ * // userId: "STRING_VALUE",
198
+ * // userExtension: "STRING_VALUE",
199
+ * // userDepartment: "STRING_VALUE",
200
+ * // groupId: "STRING_VALUE",
201
+ * // groupName: "STRING_VALUE",
202
+ * // },
203
+ * // ],
195
204
  * // owner: "callee" || "caller" || "system",
196
205
  * // },
197
- * // transcription: { // CallFlowTranscription
198
- * // destinations: "<CallFlowAttachmentDestinationList>",
199
- * // status: "AVAILABLE" || "POST_TRANSCRIPTION" || "UNAVAILABLE", // required
200
- * // },
206
+ * // },
207
+ * // ],
208
+ * // notificationDestinations: [
209
+ * // {
210
+ * // phone: "STRING_VALUE",
211
+ * // name: "STRING_VALUE",
212
+ * // email: "STRING_VALUE",
213
+ * // userId: "STRING_VALUE",
214
+ * // userExtension: "STRING_VALUE",
215
+ * // userDepartment: "STRING_VALUE",
216
+ * // groupId: "STRING_VALUE",
217
+ * // groupName: "STRING_VALUE",
201
218
  * // },
202
219
  * // ],
203
220
  * // id: "STRING_VALUE", // required
@@ -143,18 +143,6 @@ declare const QueryConversationsCommand_base: {
143
143
  * // reason: "pause" || "hold",
144
144
  * // },
145
145
  * // ],
146
- * // destinations: [ // CallFlowAttachmentDestinationList
147
- * // { // CallFlowAttachmentDestination
148
- * // phone: "STRING_VALUE",
149
- * // name: "STRING_VALUE",
150
- * // email: "STRING_VALUE",
151
- * // userId: "STRING_VALUE",
152
- * // userExtension: "STRING_VALUE",
153
- * // userDepartment: "STRING_VALUE",
154
- * // groupId: "STRING_VALUE",
155
- * // groupName: "STRING_VALUE",
156
- * // },
157
- * // ],
158
146
  * // },
159
147
  * // ],
160
148
  * // mergeWith: "STRING_VALUE",
@@ -169,9 +157,9 @@ declare const QueryConversationsCommand_base: {
169
157
  * // transcriptionLanguage: "STRING_VALUE",
170
158
  * // transcriptionSeconds: Number("int"),
171
159
  * // attachment: "STRING_VALUE",
172
- * // attachmentType: "VOICEMAIL" || "FAX" || "TRANSCRIPTION",
173
- * // attachmentDestinations: [
174
- * // {
160
+ * // attachmentType: "VOICEMAIL" || "FAX",
161
+ * // attachmentDestinations: [ // CallFlowAttachmentDestinationList
162
+ * // { // CallFlowAttachmentDestination
175
163
  * // phone: "STRING_VALUE",
176
164
  * // name: "STRING_VALUE",
177
165
  * // email: "STRING_VALUE",
@@ -197,24 +185,53 @@ declare const QueryConversationsCommand_base: {
197
185
  * // reason: "pause" || "hold",
198
186
  * // },
199
187
  * // ],
200
- * // destinations: "<CallFlowAttachmentDestinationList>",
201
188
  * // },
202
189
  * // fax: { // CallFlowFax
203
190
  * // url: "STRING_VALUE", // required
204
191
  * // status: "ok" || "error",
205
- * // destinations: "<CallFlowAttachmentDestinationList>",
192
+ * // destinations: [
193
+ * // {
194
+ * // phone: "STRING_VALUE",
195
+ * // name: "STRING_VALUE",
196
+ * // email: "STRING_VALUE",
197
+ * // userId: "STRING_VALUE",
198
+ * // userExtension: "STRING_VALUE",
199
+ * // userDepartment: "STRING_VALUE",
200
+ * // groupId: "STRING_VALUE",
201
+ * // groupName: "STRING_VALUE",
202
+ * // },
203
+ * // ],
206
204
  * // owner: "callee" || "caller" || "system",
207
205
  * // error: "STRING_VALUE",
208
206
  * // },
209
207
  * // voicemail: { // CallFlowVoicemail
210
208
  * // url: "STRING_VALUE", // required
211
- * // destinations: "<CallFlowAttachmentDestinationList>",
209
+ * // destinations: [
210
+ * // {
211
+ * // phone: "STRING_VALUE",
212
+ * // name: "STRING_VALUE",
213
+ * // email: "STRING_VALUE",
214
+ * // userId: "STRING_VALUE",
215
+ * // userExtension: "STRING_VALUE",
216
+ * // userDepartment: "STRING_VALUE",
217
+ * // groupId: "STRING_VALUE",
218
+ * // groupName: "STRING_VALUE",
219
+ * // },
220
+ * // ],
212
221
  * // owner: "callee" || "caller" || "system",
213
222
  * // },
214
- * // transcription: { // CallFlowTranscription
215
- * // destinations: "<CallFlowAttachmentDestinationList>",
216
- * // status: "AVAILABLE" || "POST_TRANSCRIPTION" || "UNAVAILABLE", // required
217
- * // },
223
+ * // },
224
+ * // ],
225
+ * // notificationDestinations: [
226
+ * // {
227
+ * // phone: "STRING_VALUE",
228
+ * // name: "STRING_VALUE",
229
+ * // email: "STRING_VALUE",
230
+ * // userId: "STRING_VALUE",
231
+ * // userExtension: "STRING_VALUE",
232
+ * // userDepartment: "STRING_VALUE",
233
+ * // groupId: "STRING_VALUE",
234
+ * // groupName: "STRING_VALUE",
218
235
  * // },
219
236
  * // ],
220
237
  * // id: "STRING_VALUE", // required
@@ -143,18 +143,6 @@ declare const QueryUserCallsCommand_base: {
143
143
  * // reason: "pause" || "hold",
144
144
  * // },
145
145
  * // ],
146
- * // destinations: [ // CallFlowAttachmentDestinationList
147
- * // { // CallFlowAttachmentDestination
148
- * // phone: "STRING_VALUE",
149
- * // name: "STRING_VALUE",
150
- * // email: "STRING_VALUE",
151
- * // userId: "STRING_VALUE",
152
- * // userExtension: "STRING_VALUE",
153
- * // userDepartment: "STRING_VALUE",
154
- * // groupId: "STRING_VALUE",
155
- * // groupName: "STRING_VALUE",
156
- * // },
157
- * // ],
158
146
  * // },
159
147
  * // ],
160
148
  * // mergeWith: "STRING_VALUE",
@@ -169,9 +157,9 @@ declare const QueryUserCallsCommand_base: {
169
157
  * // transcriptionLanguage: "STRING_VALUE",
170
158
  * // transcriptionSeconds: Number("int"),
171
159
  * // attachment: "STRING_VALUE",
172
- * // attachmentType: "VOICEMAIL" || "FAX" || "TRANSCRIPTION",
173
- * // attachmentDestinations: [
174
- * // {
160
+ * // attachmentType: "VOICEMAIL" || "FAX",
161
+ * // attachmentDestinations: [ // CallFlowAttachmentDestinationList
162
+ * // { // CallFlowAttachmentDestination
175
163
  * // phone: "STRING_VALUE",
176
164
  * // name: "STRING_VALUE",
177
165
  * // email: "STRING_VALUE",
@@ -197,24 +185,53 @@ declare const QueryUserCallsCommand_base: {
197
185
  * // reason: "pause" || "hold",
198
186
  * // },
199
187
  * // ],
200
- * // destinations: "<CallFlowAttachmentDestinationList>",
201
188
  * // },
202
189
  * // fax: { // CallFlowFax
203
190
  * // url: "STRING_VALUE", // required
204
191
  * // status: "ok" || "error",
205
- * // destinations: "<CallFlowAttachmentDestinationList>",
192
+ * // destinations: [
193
+ * // {
194
+ * // phone: "STRING_VALUE",
195
+ * // name: "STRING_VALUE",
196
+ * // email: "STRING_VALUE",
197
+ * // userId: "STRING_VALUE",
198
+ * // userExtension: "STRING_VALUE",
199
+ * // userDepartment: "STRING_VALUE",
200
+ * // groupId: "STRING_VALUE",
201
+ * // groupName: "STRING_VALUE",
202
+ * // },
203
+ * // ],
206
204
  * // owner: "callee" || "caller" || "system",
207
205
  * // error: "STRING_VALUE",
208
206
  * // },
209
207
  * // voicemail: { // CallFlowVoicemail
210
208
  * // url: "STRING_VALUE", // required
211
- * // destinations: "<CallFlowAttachmentDestinationList>",
209
+ * // destinations: [
210
+ * // {
211
+ * // phone: "STRING_VALUE",
212
+ * // name: "STRING_VALUE",
213
+ * // email: "STRING_VALUE",
214
+ * // userId: "STRING_VALUE",
215
+ * // userExtension: "STRING_VALUE",
216
+ * // userDepartment: "STRING_VALUE",
217
+ * // groupId: "STRING_VALUE",
218
+ * // groupName: "STRING_VALUE",
219
+ * // },
220
+ * // ],
212
221
  * // owner: "callee" || "caller" || "system",
213
222
  * // },
214
- * // transcription: { // CallFlowTranscription
215
- * // destinations: "<CallFlowAttachmentDestinationList>",
216
- * // status: "AVAILABLE" || "POST_TRANSCRIPTION" || "UNAVAILABLE", // required
217
- * // },
223
+ * // },
224
+ * // ],
225
+ * // notificationDestinations: [
226
+ * // {
227
+ * // phone: "STRING_VALUE",
228
+ * // name: "STRING_VALUE",
229
+ * // email: "STRING_VALUE",
230
+ * // userId: "STRING_VALUE",
231
+ * // userExtension: "STRING_VALUE",
232
+ * // userDepartment: "STRING_VALUE",
233
+ * // groupId: "STRING_VALUE",
234
+ * // groupName: "STRING_VALUE",
218
235
  * // },
219
236
  * // ],
220
237
  * // id: "STRING_VALUE", // required
@@ -129,18 +129,6 @@ declare const UpdateCallCommand_base: {
129
129
  * // reason: "pause" || "hold",
130
130
  * // },
131
131
  * // ],
132
- * // destinations: [ // CallFlowAttachmentDestinationList
133
- * // { // CallFlowAttachmentDestination
134
- * // phone: "STRING_VALUE",
135
- * // name: "STRING_VALUE",
136
- * // email: "STRING_VALUE",
137
- * // userId: "STRING_VALUE",
138
- * // userExtension: "STRING_VALUE",
139
- * // userDepartment: "STRING_VALUE",
140
- * // groupId: "STRING_VALUE",
141
- * // groupName: "STRING_VALUE",
142
- * // },
143
- * // ],
144
132
  * // },
145
133
  * // ],
146
134
  * // mergeWith: "STRING_VALUE",
@@ -155,9 +143,9 @@ declare const UpdateCallCommand_base: {
155
143
  * // transcriptionLanguage: "STRING_VALUE",
156
144
  * // transcriptionSeconds: Number("int"),
157
145
  * // attachment: "STRING_VALUE",
158
- * // attachmentType: "VOICEMAIL" || "FAX" || "TRANSCRIPTION",
159
- * // attachmentDestinations: [
160
- * // {
146
+ * // attachmentType: "VOICEMAIL" || "FAX",
147
+ * // attachmentDestinations: [ // CallFlowAttachmentDestinationList
148
+ * // { // CallFlowAttachmentDestination
161
149
  * // phone: "STRING_VALUE",
162
150
  * // name: "STRING_VALUE",
163
151
  * // email: "STRING_VALUE",
@@ -183,24 +171,53 @@ declare const UpdateCallCommand_base: {
183
171
  * // reason: "pause" || "hold",
184
172
  * // },
185
173
  * // ],
186
- * // destinations: "<CallFlowAttachmentDestinationList>",
187
174
  * // },
188
175
  * // fax: { // CallFlowFax
189
176
  * // url: "STRING_VALUE", // required
190
177
  * // status: "ok" || "error",
191
- * // destinations: "<CallFlowAttachmentDestinationList>",
178
+ * // destinations: [
179
+ * // {
180
+ * // phone: "STRING_VALUE",
181
+ * // name: "STRING_VALUE",
182
+ * // email: "STRING_VALUE",
183
+ * // userId: "STRING_VALUE",
184
+ * // userExtension: "STRING_VALUE",
185
+ * // userDepartment: "STRING_VALUE",
186
+ * // groupId: "STRING_VALUE",
187
+ * // groupName: "STRING_VALUE",
188
+ * // },
189
+ * // ],
192
190
  * // owner: "callee" || "caller" || "system",
193
191
  * // error: "STRING_VALUE",
194
192
  * // },
195
193
  * // voicemail: { // CallFlowVoicemail
196
194
  * // url: "STRING_VALUE", // required
197
- * // destinations: "<CallFlowAttachmentDestinationList>",
195
+ * // destinations: [
196
+ * // {
197
+ * // phone: "STRING_VALUE",
198
+ * // name: "STRING_VALUE",
199
+ * // email: "STRING_VALUE",
200
+ * // userId: "STRING_VALUE",
201
+ * // userExtension: "STRING_VALUE",
202
+ * // userDepartment: "STRING_VALUE",
203
+ * // groupId: "STRING_VALUE",
204
+ * // groupName: "STRING_VALUE",
205
+ * // },
206
+ * // ],
198
207
  * // owner: "callee" || "caller" || "system",
199
208
  * // },
200
- * // transcription: { // CallFlowTranscription
201
- * // destinations: "<CallFlowAttachmentDestinationList>",
202
- * // status: "AVAILABLE" || "POST_TRANSCRIPTION" || "UNAVAILABLE", // required
203
- * // },
209
+ * // },
210
+ * // ],
211
+ * // notificationDestinations: [
212
+ * // {
213
+ * // phone: "STRING_VALUE",
214
+ * // name: "STRING_VALUE",
215
+ * // email: "STRING_VALUE",
216
+ * // userId: "STRING_VALUE",
217
+ * // userExtension: "STRING_VALUE",
218
+ * // userDepartment: "STRING_VALUE",
219
+ * // groupId: "STRING_VALUE",
220
+ * // groupName: "STRING_VALUE",
204
221
  * // },
205
222
  * // ],
206
223
  * // id: "STRING_VALUE", // required
@@ -159,31 +159,6 @@ export interface CallFlowRecording {
159
159
  owner: CallRecordOwner;
160
160
  url: string;
161
161
  pauses: (CallRecordPause)[];
162
- destinations?: (CallFlowAttachmentDestination)[] | undefined;
163
- }
164
- /**
165
- * @public
166
- * @enum
167
- */
168
- export declare const CallFlowTranscriptionStatus: {
169
- readonly AVAILABLE: "AVAILABLE";
170
- readonly POST_TRANSCRIPTION: "POST_TRANSCRIPTION";
171
- readonly UNAVAILABLE: "UNAVAILABLE";
172
- };
173
- /**
174
- * @public
175
- */
176
- export type CallFlowTranscriptionStatus = typeof CallFlowTranscriptionStatus[keyof typeof CallFlowTranscriptionStatus];
177
- /**
178
- * @public
179
- */
180
- export interface CallFlowTranscription {
181
- /**
182
- * If present, indicates the explicit recipients from 'Send To Emails'
183
- * @public
184
- */
185
- destinations?: (CallFlowAttachmentDestination)[] | undefined;
186
- status: CallFlowTranscriptionStatus;
187
162
  }
188
163
  /**
189
164
  * @public
@@ -196,7 +171,7 @@ export interface CallFlowVoicemail {
196
171
  /**
197
172
  * @public
198
173
  */
199
- export type CallFlowAttachment = CallFlowAttachment.FaxMember | CallFlowAttachment.RecordingMember | CallFlowAttachment.TranscriptionMember | CallFlowAttachment.VoicemailMember | CallFlowAttachment.$UnknownMember;
174
+ export type CallFlowAttachment = CallFlowAttachment.FaxMember | CallFlowAttachment.RecordingMember | CallFlowAttachment.VoicemailMember | CallFlowAttachment.$UnknownMember;
200
175
  /**
201
176
  * @public
202
177
  */
@@ -205,28 +180,18 @@ export declare namespace CallFlowAttachment {
205
180
  recording: CallFlowRecording;
206
181
  fax?: never;
207
182
  voicemail?: never;
208
- transcription?: never;
209
183
  $unknown?: never;
210
184
  }
211
185
  interface FaxMember {
212
186
  recording?: never;
213
187
  fax: CallFlowFax;
214
188
  voicemail?: never;
215
- transcription?: never;
216
189
  $unknown?: never;
217
190
  }
218
191
  interface VoicemailMember {
219
192
  recording?: never;
220
193
  fax?: never;
221
194
  voicemail: CallFlowVoicemail;
222
- transcription?: never;
223
- $unknown?: never;
224
- }
225
- interface TranscriptionMember {
226
- recording?: never;
227
- fax?: never;
228
- voicemail?: never;
229
- transcription: CallFlowTranscription;
230
195
  $unknown?: never;
231
196
  }
232
197
  /**
@@ -236,14 +201,12 @@ export declare namespace CallFlowAttachment {
236
201
  recording?: never;
237
202
  fax?: never;
238
203
  voicemail?: never;
239
- transcription?: never;
240
204
  $unknown: [string, any];
241
205
  }
242
206
  interface Visitor<T> {
243
207
  recording: (value: CallFlowRecording) => T;
244
208
  fax: (value: CallFlowFax) => T;
245
209
  voicemail: (value: CallFlowVoicemail) => T;
246
- transcription: (value: CallFlowTranscription) => T;
247
210
  _: (name: string, value: any) => T;
248
211
  }
249
212
  const visit: <T>(value: CallFlowAttachment, visitor: Visitor<T>) => T;
@@ -254,7 +217,6 @@ export declare namespace CallFlowAttachment {
254
217
  */
255
218
  export declare const CallFlowAttachmentType: {
256
219
  readonly FAX: "FAX";
257
- readonly TRANSCRIPTION: "TRANSCRIPTION";
258
220
  readonly VOICEMAIL: "VOICEMAIL";
259
221
  };
260
222
  /**
@@ -356,6 +318,19 @@ export declare const License: {
356
318
  * @public
357
319
  */
358
320
  export type License = typeof License[keyof typeof License];
321
+ /**
322
+ * @public
323
+ * @enum
324
+ */
325
+ export declare const CallFlowTranscriptionStatus: {
326
+ readonly AVAILABLE: "AVAILABLE";
327
+ readonly POST_TRANSCRIPTION: "POST_TRANSCRIPTION";
328
+ readonly UNAVAILABLE: "UNAVAILABLE";
329
+ };
330
+ /**
331
+ * @public
332
+ */
333
+ export type CallFlowTranscriptionStatus = typeof CallFlowTranscriptionStatus[keyof typeof CallFlowTranscriptionStatus];
359
334
  /**
360
335
  * @public
361
336
  * @enum
@@ -446,26 +421,8 @@ export interface CallRecord {
446
421
  remotePhoneCountryCodeStr?: string | undefined;
447
422
  remotePhoneLocation?: string | undefined;
448
423
  callStatus?: ConversationStatus | undefined;
449
- /**
450
- * Please use `attachments.transcription.status` instead.
451
- *
452
- * @deprecated
453
- * @public
454
- */
455
424
  transcriptionStatus?: CallFlowTranscriptionStatus | undefined;
456
- /**
457
- * Please use `attachments.transcription.language` instead.
458
- *
459
- * @deprecated
460
- * @public
461
- */
462
425
  transcriptionLanguage?: string | undefined;
463
- /**
464
- * Please use `attachments.transcription.seconds` instead.
465
- *
466
- * @deprecated
467
- * @public
468
- */
469
426
  transcriptionSeconds?: number | undefined;
470
427
  /**
471
428
  * Consider to use `attachments` instead.
@@ -489,6 +446,7 @@ export interface CallRecord {
489
446
  */
490
447
  attachmentDestinations?: (CallFlowAttachmentDestination)[] | undefined;
491
448
  attachments?: (CallFlowAttachment)[] | undefined;
449
+ notificationDestinations?: (CallFlowAttachmentDestination)[] | undefined;
492
450
  id: string;
493
451
  pbx: string;
494
452
  time: number;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@wildix/wda-history-client",
3
3
  "description": "@wildix/wda-history-client client",
4
- "version": "1.2.15",
4
+ "version": "1.2.17",
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",