@wildix/wda-insights-client 1.0.34 → 1.0.35
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.ListConversationsItemEvent = exports.ListConversationsFilterParticipant = exports.ListConversationsFilterDate = exports.ListConversationsFilterPredefinedDateType = exports.FileNotFoundException = exports.DownloadStrategy = exports.ConversationFileCategory = exports.InsightsQuality = exports.InsightsStatus = exports.FilterNotFoundException = exports.ConferenceTranscriptionStatus = exports.ConferenceParticipantType = exports.ConferenceParticipantRole = exports.PbxLicenseType = exports.ConferenceDirection = exports.ConferenceNotFoundException = exports.RecordType = exports.CallFlowTranscriptionStatus = exports.License = exports.CallDevice = exports.CallParticipantType = exports.CallParticipantRole = exports.CallFlowAttachmentType = exports.CallFlowAttachment = exports.CallRecordPauseReason = exports.CallRecordOwner = exports.CallNotFoundException = exports.ForbiddenException = exports.ConversationStatus = exports.CallDirection = exports.ValidationException = void 0;
|
|
3
|
+
exports.ListConversationsItemEvent = exports.ListConversationsFilterParticipant = exports.ListConversationsFilterDate = exports.ListConversationsFilterPredefinedDateType = exports.FileNotFoundException = exports.DownloadStrategy = exports.ConversationFileCategory = exports.InsightsQuality = exports.InsightsStatus = exports.FilterNotFoundException = exports.ConferenceTranscriptionStatus = exports.ConferenceParticipantType = exports.ConferenceParticipantRole = exports.PbxLicenseType = exports.ConferenceDirection = exports.ConferenceNotFoundException = 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.ForbiddenException = exports.ConversationStatus = exports.CallDirection = exports.ValidationException = void 0;
|
|
4
4
|
const WdaInsightsServiceException_1 = require("./WdaInsightsServiceException");
|
|
5
5
|
class ValidationException extends WdaInsightsServiceException_1.WdaInsightsServiceException {
|
|
6
6
|
constructor(opts) {
|
|
@@ -56,6 +56,10 @@ exports.CallRecordOwner = {
|
|
|
56
56
|
CALLER: "caller",
|
|
57
57
|
SYSTEM: "system",
|
|
58
58
|
};
|
|
59
|
+
exports.CallFlowAttachmentStatus = {
|
|
60
|
+
ERROR: "error",
|
|
61
|
+
OK: "ok",
|
|
62
|
+
};
|
|
59
63
|
exports.CallRecordPauseReason = {
|
|
60
64
|
HOLD: "hold",
|
|
61
65
|
PAUSE: "pause",
|
|
@@ -218,7 +218,7 @@ declare const ListConversationsCommand_base: {
|
|
|
218
218
|
* // },
|
|
219
219
|
* // fax: { // CallFlowFax
|
|
220
220
|
* // url: "STRING_VALUE", // required
|
|
221
|
-
* // status: "
|
|
221
|
+
* // status: "ok" || "error",
|
|
222
222
|
* // destinations: [
|
|
223
223
|
* // {
|
|
224
224
|
* // phone: "STRING_VALUE",
|
|
@@ -232,10 +232,22 @@ declare const ListConversationsCommand_base: {
|
|
|
232
232
|
* // },
|
|
233
233
|
* // ],
|
|
234
234
|
* // owner: "callee" || "caller" || "system",
|
|
235
|
-
* //
|
|
235
|
+
* // error: "STRING_VALUE",
|
|
236
236
|
* // },
|
|
237
237
|
* // voicemail: { // CallFlowVoicemail
|
|
238
238
|
* // url: "STRING_VALUE", // required
|
|
239
|
+
* // destinations: [
|
|
240
|
+
* // {
|
|
241
|
+
* // phone: "STRING_VALUE",
|
|
242
|
+
* // name: "STRING_VALUE",
|
|
243
|
+
* // email: "STRING_VALUE",
|
|
244
|
+
* // userId: "STRING_VALUE",
|
|
245
|
+
* // userExtension: "STRING_VALUE",
|
|
246
|
+
* // userDepartment: "STRING_VALUE",
|
|
247
|
+
* // groupId: "STRING_VALUE",
|
|
248
|
+
* // groupName: "STRING_VALUE",
|
|
249
|
+
* // },
|
|
250
|
+
* // ],
|
|
239
251
|
* // owner: "callee" || "caller" || "system",
|
|
240
252
|
* // },
|
|
241
253
|
* // },
|
|
@@ -85,15 +85,35 @@ export declare const CallRecordOwner: {
|
|
|
85
85
|
* @public
|
|
86
86
|
*/
|
|
87
87
|
export type CallRecordOwner = typeof CallRecordOwner[keyof typeof CallRecordOwner];
|
|
88
|
+
/**
|
|
89
|
+
* @public
|
|
90
|
+
* @enum
|
|
91
|
+
*/
|
|
92
|
+
export declare const CallFlowAttachmentStatus: {
|
|
93
|
+
readonly ERROR: "error";
|
|
94
|
+
readonly OK: "ok";
|
|
95
|
+
};
|
|
96
|
+
/**
|
|
97
|
+
* @public
|
|
98
|
+
*/
|
|
99
|
+
export type CallFlowAttachmentStatus = typeof CallFlowAttachmentStatus[keyof typeof CallFlowAttachmentStatus];
|
|
88
100
|
/**
|
|
89
101
|
* @public
|
|
90
102
|
*/
|
|
91
103
|
export interface CallFlowFax {
|
|
92
104
|
url: string;
|
|
93
|
-
|
|
105
|
+
/**
|
|
106
|
+
* Fax delivery status
|
|
107
|
+
* @public
|
|
108
|
+
*/
|
|
109
|
+
status?: CallFlowAttachmentStatus;
|
|
94
110
|
destinations?: (CallFlowAttachmentDestination)[];
|
|
95
111
|
owner?: CallRecordOwner;
|
|
96
|
-
|
|
112
|
+
/**
|
|
113
|
+
* Text with the reason for the error in case of unsuccessful fax delivery
|
|
114
|
+
* @public
|
|
115
|
+
*/
|
|
116
|
+
error?: string;
|
|
97
117
|
}
|
|
98
118
|
/**
|
|
99
119
|
* @public
|
|
@@ -131,6 +151,7 @@ export interface CallFlowRecording {
|
|
|
131
151
|
*/
|
|
132
152
|
export interface CallFlowVoicemail {
|
|
133
153
|
url: string;
|
|
154
|
+
destinations?: (CallFlowAttachmentDestination)[];
|
|
134
155
|
owner?: CallRecordOwner;
|
|
135
156
|
}
|
|
136
157
|
/**
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wildix/wda-insights-client",
|
|
3
3
|
"description": "@wildix/wda-insights-client client",
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.35",
|
|
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",
|