@wildix/wda-history-client 1.2.29 → 4.0.1
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/WdaHistory.js +3 -3
- package/dist-cjs/WdaHistoryClient.js +34 -26
- package/dist-cjs/auth/httpAuthExtensionConfiguration.js +43 -0
- package/dist-cjs/auth/httpAuthSchemeProvider.js +58 -0
- package/dist-cjs/commands/GetCallAnnotationsCommand.js +10 -11
- package/dist-cjs/commands/GetCallCommand.js +10 -11
- package/dist-cjs/commands/GetCallTranscriptionCommand.js +10 -11
- package/dist-cjs/commands/GetCallTranscriptionTextCommand.js +10 -11
- package/dist-cjs/commands/GetChatAnnotationsCommand.js +10 -11
- package/dist-cjs/commands/GetChatCommand.js +10 -11
- package/dist-cjs/commands/GetChatTranscriptionCommand.js +10 -11
- package/dist-cjs/commands/GetChatTranscriptionTextCommand.js +10 -11
- package/dist-cjs/commands/GetConferenceAnnotationsCommand.js +10 -11
- package/dist-cjs/commands/GetConferenceCommand.js +10 -11
- package/dist-cjs/commands/GetConferenceTranscriptionCommand.js +10 -11
- package/dist-cjs/commands/GetConferenceTranscriptionTextCommand.js +10 -11
- package/dist-cjs/commands/QueryConversationsCommand.js +10 -11
- package/dist-cjs/commands/QueryUserCallsCommand.js +10 -11
- package/dist-cjs/commands/UpdateCallCommand.js +10 -11
- package/dist-cjs/commands/index.js +3 -3
- package/dist-cjs/endpoint/EndpointParameters.js +16 -0
- package/dist-cjs/endpoint/bdd.js +25 -0
- package/dist-cjs/endpoint/endpointResolver.js +16 -0
- package/dist-cjs/index.js +4 -1
- package/dist-cjs/models/WdaHistoryServiceException.js +3 -3
- package/dist-cjs/models/enums.js +204 -0
- package/dist-cjs/models/errors.js +147 -0
- package/dist-cjs/models/models_0.js +0 -413
- package/dist-cjs/runtimeConfig.browser.js +11 -11
- package/dist-cjs/runtimeConfig.js +22 -18
- package/dist-cjs/runtimeConfig.shared.js +30 -10
- package/dist-cjs/runtimeExtensions.js +6 -5
- package/dist-cjs/schemas/schemas_0.js +1047 -0
- package/dist-es/WdaHistory.js +4 -4
- package/dist-es/WdaHistoryClient.js +30 -22
- package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
- package/dist-es/auth/httpAuthSchemeProvider.js +52 -0
- package/dist-es/commands/GetCallAnnotationsCommand.js +9 -10
- package/dist-es/commands/GetCallCommand.js +9 -10
- package/dist-es/commands/GetCallTranscriptionCommand.js +9 -10
- package/dist-es/commands/GetCallTranscriptionTextCommand.js +9 -10
- package/dist-es/commands/GetChatAnnotationsCommand.js +9 -10
- package/dist-es/commands/GetChatCommand.js +9 -10
- package/dist-es/commands/GetChatTranscriptionCommand.js +9 -10
- package/dist-es/commands/GetChatTranscriptionTextCommand.js +9 -10
- package/dist-es/commands/GetConferenceAnnotationsCommand.js +9 -10
- package/dist-es/commands/GetConferenceCommand.js +9 -10
- package/dist-es/commands/GetConferenceTranscriptionCommand.js +9 -10
- package/dist-es/commands/GetConferenceTranscriptionTextCommand.js +9 -10
- package/dist-es/commands/QueryConversationsCommand.js +9 -10
- package/dist-es/commands/QueryUserCallsCommand.js +9 -10
- package/dist-es/commands/UpdateCallCommand.js +9 -10
- package/dist-es/commands/index.js +3 -3
- package/dist-es/endpoint/EndpointParameters.js +12 -0
- package/dist-es/endpoint/bdd.js +22 -0
- package/dist-es/endpoint/endpointResolver.js +12 -0
- package/dist-es/index.js +4 -1
- package/dist-es/models/WdaHistoryServiceException.js +1 -1
- package/dist-es/models/enums.js +201 -0
- package/dist-es/models/errors.js +133 -0
- package/dist-es/models/models_0.js +1 -400
- package/dist-es/runtimeConfig.browser.js +7 -7
- package/dist-es/runtimeConfig.js +17 -13
- package/dist-es/runtimeConfig.shared.js +24 -4
- package/dist-es/runtimeExtensions.js +6 -5
- package/dist-es/schemas/schemas_0.js +1042 -0
- package/dist-types/WdaHistory.d.ts +16 -16
- package/dist-types/WdaHistoryClient.d.ts +45 -27
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +81 -0
- package/dist-types/commands/GetCallAnnotationsCommand.d.ts +11 -7
- package/dist-types/commands/GetCallCommand.d.ts +11 -7
- package/dist-types/commands/GetCallTranscriptionCommand.d.ts +11 -7
- package/dist-types/commands/GetCallTranscriptionTextCommand.d.ts +11 -7
- package/dist-types/commands/GetChatAnnotationsCommand.d.ts +11 -7
- package/dist-types/commands/GetChatCommand.d.ts +11 -7
- package/dist-types/commands/GetChatTranscriptionCommand.d.ts +11 -7
- package/dist-types/commands/GetChatTranscriptionTextCommand.d.ts +11 -7
- package/dist-types/commands/GetConferenceAnnotationsCommand.d.ts +11 -7
- package/dist-types/commands/GetConferenceCommand.d.ts +11 -7
- package/dist-types/commands/GetConferenceTranscriptionCommand.d.ts +11 -7
- package/dist-types/commands/GetConferenceTranscriptionTextCommand.d.ts +11 -7
- package/dist-types/commands/QueryConversationsCommand.d.ts +11 -7
- package/dist-types/commands/QueryUserCallsCommand.d.ts +11 -7
- package/dist-types/commands/UpdateCallCommand.d.ts +11 -7
- package/dist-types/commands/index.d.ts +3 -3
- package/dist-types/endpoint/EndpointParameters.d.ts +41 -0
- package/dist-types/endpoint/bdd.d.ts +2 -0
- package/dist-types/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/extensionConfiguration.d.ts +4 -3
- package/dist-types/index.d.ts +5 -1
- package/dist-types/models/WdaHistoryServiceException.d.ts +1 -1
- package/dist-types/models/enums.d.ts +505 -0
- package/dist-types/models/errors.d.ts +123 -0
- package/dist-types/models/models_0.d.ts +83 -692
- package/dist-types/runtimeConfig.browser.d.ts +35 -16
- package/dist-types/runtimeConfig.d.ts +34 -15
- package/dist-types/runtimeConfig.native.d.ts +36 -17
- package/dist-types/runtimeConfig.shared.d.ts +20 -3
- package/dist-types/runtimeExtensions.d.ts +1 -1
- package/dist-types/schemas/schemas_0.d.ts +127 -0
- package/package.json +14 -40
- package/dist-cjs/models/index.js +0 -4
- package/dist-cjs/protocols/Aws_restJson1.js +0 -868
- package/dist-es/models/index.js +0 -1
- package/dist-es/protocols/Aws_restJson1.js +0 -835
- package/dist-types/models/index.d.ts +0 -1
- package/dist-types/protocols/Aws_restJson1.d.ts +0 -137
|
@@ -1,21 +1,20 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.QueryConversationsCommand = exports.$Command = void 0;
|
|
4
|
-
const
|
|
5
|
-
|
|
6
|
-
const
|
|
7
|
-
|
|
8
|
-
|
|
4
|
+
const client_1 = require("@smithy/core/client");
|
|
5
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return client_1.Command; } });
|
|
6
|
+
const endpoints_1 = require("@smithy/core/endpoints");
|
|
7
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
8
|
+
const schemas_0_1 = require("../schemas/schemas_0");
|
|
9
|
+
class QueryConversationsCommand extends client_1.Command
|
|
10
|
+
.classBuilder()
|
|
11
|
+
.ep(EndpointParameters_1.commonParams)
|
|
9
12
|
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [
|
|
11
|
-
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
12
|
-
];
|
|
13
|
+
return [(0, endpoints_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())];
|
|
13
14
|
})
|
|
14
15
|
.s("WdaHistory", "QueryConversations", {})
|
|
15
16
|
.n("WdaHistoryClient", "QueryConversationsCommand")
|
|
16
|
-
.
|
|
17
|
-
.ser(Aws_restJson1_1.se_QueryConversationsCommand)
|
|
18
|
-
.de(Aws_restJson1_1.de_QueryConversationsCommand)
|
|
17
|
+
.sc(schemas_0_1.QueryConversations$)
|
|
19
18
|
.build() {
|
|
20
19
|
}
|
|
21
20
|
exports.QueryConversationsCommand = QueryConversationsCommand;
|
|
@@ -1,21 +1,20 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.QueryUserCallsCommand = exports.$Command = void 0;
|
|
4
|
-
const
|
|
5
|
-
|
|
6
|
-
const
|
|
7
|
-
|
|
8
|
-
|
|
4
|
+
const client_1 = require("@smithy/core/client");
|
|
5
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return client_1.Command; } });
|
|
6
|
+
const endpoints_1 = require("@smithy/core/endpoints");
|
|
7
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
8
|
+
const schemas_0_1 = require("../schemas/schemas_0");
|
|
9
|
+
class QueryUserCallsCommand extends client_1.Command
|
|
10
|
+
.classBuilder()
|
|
11
|
+
.ep(EndpointParameters_1.commonParams)
|
|
9
12
|
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [
|
|
11
|
-
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
12
|
-
];
|
|
13
|
+
return [(0, endpoints_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())];
|
|
13
14
|
})
|
|
14
15
|
.s("WdaHistory", "QueryUserCalls", {})
|
|
15
16
|
.n("WdaHistoryClient", "QueryUserCallsCommand")
|
|
16
|
-
.
|
|
17
|
-
.ser(Aws_restJson1_1.se_QueryUserCallsCommand)
|
|
18
|
-
.de(Aws_restJson1_1.de_QueryUserCallsCommand)
|
|
17
|
+
.sc(schemas_0_1.QueryUserCalls$)
|
|
19
18
|
.build() {
|
|
20
19
|
}
|
|
21
20
|
exports.QueryUserCallsCommand = QueryUserCallsCommand;
|
|
@@ -1,21 +1,20 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.UpdateCallCommand = exports.$Command = void 0;
|
|
4
|
-
const
|
|
5
|
-
|
|
6
|
-
const
|
|
7
|
-
|
|
8
|
-
|
|
4
|
+
const client_1 = require("@smithy/core/client");
|
|
5
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return client_1.Command; } });
|
|
6
|
+
const endpoints_1 = require("@smithy/core/endpoints");
|
|
7
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
8
|
+
const schemas_0_1 = require("../schemas/schemas_0");
|
|
9
|
+
class UpdateCallCommand extends client_1.Command
|
|
10
|
+
.classBuilder()
|
|
11
|
+
.ep(EndpointParameters_1.commonParams)
|
|
9
12
|
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [
|
|
11
|
-
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
12
|
-
];
|
|
13
|
+
return [(0, endpoints_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())];
|
|
13
14
|
})
|
|
14
15
|
.s("WdaHistory", "UpdateCall", {})
|
|
15
16
|
.n("WdaHistoryClient", "UpdateCallCommand")
|
|
16
|
-
.
|
|
17
|
-
.ser(Aws_restJson1_1.se_UpdateCallCommand)
|
|
18
|
-
.de(Aws_restJson1_1.de_UpdateCallCommand)
|
|
17
|
+
.sc(schemas_0_1.UpdateCall$)
|
|
19
18
|
.build() {
|
|
20
19
|
}
|
|
21
20
|
exports.UpdateCallCommand = UpdateCallCommand;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const tslib_1 = require("tslib");
|
|
4
|
-
tslib_1.__exportStar(require("./GetCallCommand"), exports);
|
|
5
4
|
tslib_1.__exportStar(require("./GetCallAnnotationsCommand"), exports);
|
|
5
|
+
tslib_1.__exportStar(require("./GetCallCommand"), exports);
|
|
6
6
|
tslib_1.__exportStar(require("./GetCallTranscriptionCommand"), exports);
|
|
7
7
|
tslib_1.__exportStar(require("./GetCallTranscriptionTextCommand"), exports);
|
|
8
|
-
tslib_1.__exportStar(require("./GetChatCommand"), exports);
|
|
9
8
|
tslib_1.__exportStar(require("./GetChatAnnotationsCommand"), exports);
|
|
9
|
+
tslib_1.__exportStar(require("./GetChatCommand"), exports);
|
|
10
10
|
tslib_1.__exportStar(require("./GetChatTranscriptionCommand"), exports);
|
|
11
11
|
tslib_1.__exportStar(require("./GetChatTranscriptionTextCommand"), exports);
|
|
12
|
-
tslib_1.__exportStar(require("./GetConferenceCommand"), exports);
|
|
13
12
|
tslib_1.__exportStar(require("./GetConferenceAnnotationsCommand"), exports);
|
|
13
|
+
tslib_1.__exportStar(require("./GetConferenceCommand"), exports);
|
|
14
14
|
tslib_1.__exportStar(require("./GetConferenceTranscriptionCommand"), exports);
|
|
15
15
|
tslib_1.__exportStar(require("./GetConferenceTranscriptionTextCommand"), exports);
|
|
16
16
|
tslib_1.__exportStar(require("./QueryConversationsCommand"), exports);
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.commonParams = exports.resolveClientEndpointParameters = void 0;
|
|
4
|
+
const clientContextParamDefaults = {};
|
|
5
|
+
const resolveClientEndpointParameters = (options) => {
|
|
6
|
+
return Object.assign(options, {
|
|
7
|
+
env: options.env ?? "prod",
|
|
8
|
+
defaultSigningName: "",
|
|
9
|
+
clientContextParams: Object.assign(clientContextParamDefaults, options.clientContextParams),
|
|
10
|
+
});
|
|
11
|
+
};
|
|
12
|
+
exports.resolveClientEndpointParameters = resolveClientEndpointParameters;
|
|
13
|
+
exports.commonParams = {
|
|
14
|
+
env: { type: "clientContextParams", name: "env" },
|
|
15
|
+
endpoint: { type: "builtInParams", name: "endpoint" },
|
|
16
|
+
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.bdd = void 0;
|
|
4
|
+
const endpoints_1 = require("@smithy/core/endpoints");
|
|
5
|
+
const a = { "ref": "endpoint" };
|
|
6
|
+
const _data = {
|
|
7
|
+
conditions: [
|
|
8
|
+
["isSet", [a]],
|
|
9
|
+
["stringEquals", [{ ref: "env" }, "prod"]]
|
|
10
|
+
],
|
|
11
|
+
results: [
|
|
12
|
+
[-1],
|
|
13
|
+
[a, {}],
|
|
14
|
+
["https://wda.wildix.com", {}],
|
|
15
|
+
["https://wda-{env}.wildix.com", {}]
|
|
16
|
+
]
|
|
17
|
+
};
|
|
18
|
+
const root = 2;
|
|
19
|
+
const r = 100_000_000;
|
|
20
|
+
const nodes = new Int32Array([
|
|
21
|
+
-1, 1, -1,
|
|
22
|
+
0, r + 1, 3,
|
|
23
|
+
1, r + 2, r + 3,
|
|
24
|
+
]);
|
|
25
|
+
exports.bdd = endpoints_1.BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results);
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.defaultEndpointResolver = void 0;
|
|
4
|
+
const endpoints_1 = require("@smithy/core/endpoints");
|
|
5
|
+
const bdd_1 = require("./bdd");
|
|
6
|
+
const cache = new endpoints_1.EndpointCache({
|
|
7
|
+
size: 50,
|
|
8
|
+
params: ["endpoint", "env"],
|
|
9
|
+
});
|
|
10
|
+
const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
11
|
+
return cache.get(endpointParams, () => (0, endpoints_1.decideEndpoint)(bdd_1.bdd, {
|
|
12
|
+
endpointParams: endpointParams,
|
|
13
|
+
logger: context.logger,
|
|
14
|
+
}));
|
|
15
|
+
};
|
|
16
|
+
exports.defaultEndpointResolver = defaultEndpointResolver;
|
package/dist-cjs/index.js
CHANGED
|
@@ -5,6 +5,9 @@ const tslib_1 = require("tslib");
|
|
|
5
5
|
tslib_1.__exportStar(require("./WdaHistoryClient"), exports);
|
|
6
6
|
tslib_1.__exportStar(require("./WdaHistory"), exports);
|
|
7
7
|
tslib_1.__exportStar(require("./commands"), exports);
|
|
8
|
-
tslib_1.__exportStar(require("./
|
|
8
|
+
tslib_1.__exportStar(require("./schemas/schemas_0"), exports);
|
|
9
|
+
tslib_1.__exportStar(require("./models/enums"), exports);
|
|
10
|
+
tslib_1.__exportStar(require("./models/errors"), exports);
|
|
11
|
+
tslib_1.__exportStar(require("./models/models_0"), exports);
|
|
9
12
|
var WdaHistoryServiceException_1 = require("./models/WdaHistoryServiceException");
|
|
10
13
|
Object.defineProperty(exports, "WdaHistoryServiceException", { enumerable: true, get: function () { return WdaHistoryServiceException_1.WdaHistoryServiceException; } });
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.WdaHistoryServiceException = exports.__ServiceException = void 0;
|
|
4
|
-
const
|
|
5
|
-
Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return
|
|
6
|
-
class WdaHistoryServiceException extends
|
|
4
|
+
const client_1 = require("@smithy/core/client");
|
|
5
|
+
Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return client_1.ServiceException; } });
|
|
6
|
+
class WdaHistoryServiceException extends client_1.ServiceException {
|
|
7
7
|
constructor(options) {
|
|
8
8
|
super(options);
|
|
9
9
|
Object.setPrototypeOf(this, WdaHistoryServiceException.prototype);
|
|
@@ -0,0 +1,204 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ConversationUserDirection = exports.ConversationFlag = exports.ConversationDirection = exports.ConferenceTranscriptionStatus = exports.ConferenceParticipantType = exports.ConferenceParticipantRole = exports.PbxLicenseType = exports.ConferenceDirection = exports.MessageWhatsAppStatus = exports.MessageType = exports.MessageSmsStatus = exports.ButtonVariant = exports.ChatTag = exports.ChatStatus = exports.ChatParticipantType = exports.ChatParticipantRole = exports.ChatDirection = exports.ChannelWhatsAppStatus = exports.ChannelContextSource = exports.ChannelContextEventAttendeeStatus = exports.ChannelType = exports.ChannelAccess = exports.TranscriptionSentiment = exports.CallTranscriptionSpeaker = exports.CallFlowTranscriptionStatus = exports.CallDevice = exports.CallParticipantType = exports.CallParticipantRole = exports.CallFlowAttachmentType = exports.CallRecordPauseReason = exports.CallFlowAttachmentStatus = exports.CallRecordOwner = exports.AnnotationsStatus = exports.RecordType = exports.License = exports.AnnotationSourceType = exports.ConversationStatus = exports.CallDirection = void 0;
|
|
4
|
+
exports.CallDirection = {
|
|
5
|
+
INBOUND: "INBOUND",
|
|
6
|
+
INTERNAL: "INTERNAL",
|
|
7
|
+
OUTBOUND: "OUTBOUND",
|
|
8
|
+
UNDEFINED: "UNDEFINED",
|
|
9
|
+
};
|
|
10
|
+
exports.ConversationStatus = {
|
|
11
|
+
COMPLETED: "COMPLETED",
|
|
12
|
+
MISSED: "MISSED",
|
|
13
|
+
};
|
|
14
|
+
exports.AnnotationSourceType = {
|
|
15
|
+
CHATBOT: "chatbot",
|
|
16
|
+
SYSTEM: "system",
|
|
17
|
+
USER: "user",
|
|
18
|
+
VOICEBOT: "voicebot",
|
|
19
|
+
};
|
|
20
|
+
exports.License = {
|
|
21
|
+
UC: "uc",
|
|
22
|
+
XBEES: "x-bees",
|
|
23
|
+
};
|
|
24
|
+
exports.RecordType = {
|
|
25
|
+
CALL: "call",
|
|
26
|
+
CALL_ANNOTATIONS: "call_annotations",
|
|
27
|
+
CALL_TRANSCRIPTION: "call_transcription",
|
|
28
|
+
CHAT: "chat",
|
|
29
|
+
CHAT_ANNOTATIONS: "chat_annotations",
|
|
30
|
+
CHAT_TRANSCRIPTION: "chat_transcription",
|
|
31
|
+
CONFERENCE: "conference",
|
|
32
|
+
CONFERENCE_ANNOTATIONS: "conference_annotations",
|
|
33
|
+
CONFERENCE_TRANSCRIPTION: "conference_transcription",
|
|
34
|
+
};
|
|
35
|
+
exports.AnnotationsStatus = {
|
|
36
|
+
AVAILABLE: "AVAILABLE",
|
|
37
|
+
UNAVAILABLE: "UNAVAILABLE",
|
|
38
|
+
};
|
|
39
|
+
exports.CallRecordOwner = {
|
|
40
|
+
CALLEE: "callee",
|
|
41
|
+
CALLER: "caller",
|
|
42
|
+
SYSTEM: "system",
|
|
43
|
+
};
|
|
44
|
+
exports.CallFlowAttachmentStatus = {
|
|
45
|
+
ERROR: "error",
|
|
46
|
+
OK: "ok",
|
|
47
|
+
};
|
|
48
|
+
exports.CallRecordPauseReason = {
|
|
49
|
+
HOLD: "hold",
|
|
50
|
+
PAUSE: "pause",
|
|
51
|
+
};
|
|
52
|
+
exports.CallFlowAttachmentType = {
|
|
53
|
+
FAX: "FAX",
|
|
54
|
+
VOICEMAIL: "VOICEMAIL",
|
|
55
|
+
};
|
|
56
|
+
exports.CallParticipantRole = {
|
|
57
|
+
AGENT: "AGENT",
|
|
58
|
+
CLIENT: "CLIENT",
|
|
59
|
+
};
|
|
60
|
+
exports.CallParticipantType = {
|
|
61
|
+
LOCAL: "LOCAL",
|
|
62
|
+
REMOTE: "REMOTE",
|
|
63
|
+
};
|
|
64
|
+
exports.CallDevice = {
|
|
65
|
+
COLLABORATION7_ANDROID: "COLLABORATION7_ANDROID",
|
|
66
|
+
COLLABORATION7_IOS: "COLLABORATION7_IOS",
|
|
67
|
+
COLLABORATION7_WEB: "COLLABORATION7_WEB",
|
|
68
|
+
COLLABORATION_ANDROID: "COLLABORATION_ANDROID",
|
|
69
|
+
COLLABORATION_IOS: "COLLABORATION_IOS",
|
|
70
|
+
COLLABORATION_WEB: "COLLABORATION_WEB",
|
|
71
|
+
TEAMS4WILDIX: "TEAMS4WILDIX",
|
|
72
|
+
UNKNOWN: "UNKNOWN",
|
|
73
|
+
VOICEBOT: "VOICEBOT",
|
|
74
|
+
WILDIX_DEVICE: "WILDIX_DEVICE",
|
|
75
|
+
WILDIX_PHONE: "WILDIX_PHONE",
|
|
76
|
+
XBEES_ANDROID: "XBEES_ANDROID",
|
|
77
|
+
XBEES_IOS: "XBEES_IOS",
|
|
78
|
+
XBEES_WEB: "XBEES_WEB",
|
|
79
|
+
XHOPPERS_ANDROID: "XHOPPERS_ANDROID",
|
|
80
|
+
XHOPPERS_IOS: "XHOPPERS_IOS",
|
|
81
|
+
XHOPPERS_WEB: "XHOPPERS_WEB",
|
|
82
|
+
};
|
|
83
|
+
exports.CallFlowTranscriptionStatus = {
|
|
84
|
+
AVAILABLE: "AVAILABLE",
|
|
85
|
+
POST_TRANSCRIPTION: "POST_TRANSCRIPTION",
|
|
86
|
+
UNAVAILABLE: "UNAVAILABLE",
|
|
87
|
+
};
|
|
88
|
+
exports.CallTranscriptionSpeaker = {
|
|
89
|
+
CALLEE: "callee",
|
|
90
|
+
CALLER: "caller",
|
|
91
|
+
};
|
|
92
|
+
exports.TranscriptionSentiment = {
|
|
93
|
+
MIXED: "MIXED",
|
|
94
|
+
NEGATIVE: "NEGATIVE",
|
|
95
|
+
NEUTRAL: "NEUTRAL",
|
|
96
|
+
POSITIVE: "POSITIVE",
|
|
97
|
+
};
|
|
98
|
+
exports.ChannelAccess = {
|
|
99
|
+
PRIVATE: "private",
|
|
100
|
+
PUBLIC: "public",
|
|
101
|
+
};
|
|
102
|
+
exports.ChannelType = {
|
|
103
|
+
DIRECT: "direct",
|
|
104
|
+
GROUP: "group",
|
|
105
|
+
};
|
|
106
|
+
exports.ChannelContextEventAttendeeStatus = {
|
|
107
|
+
ACCEPTED: "accepted",
|
|
108
|
+
DECLINED: "declined",
|
|
109
|
+
NONE: "none",
|
|
110
|
+
TENTATIVE: "tentative",
|
|
111
|
+
};
|
|
112
|
+
exports.ChannelContextSource = {
|
|
113
|
+
KITE: "kite",
|
|
114
|
+
};
|
|
115
|
+
exports.ChannelWhatsAppStatus = {
|
|
116
|
+
CHANNEL_CLOSED: "24h_channel_closed",
|
|
117
|
+
};
|
|
118
|
+
exports.ChatDirection = {
|
|
119
|
+
INBOUND: "INBOUND",
|
|
120
|
+
INTERNAL: "INTERNAL",
|
|
121
|
+
OUTBOUND: "OUTBOUND",
|
|
122
|
+
};
|
|
123
|
+
exports.ChatParticipantRole = {
|
|
124
|
+
AGENT: "AGENT",
|
|
125
|
+
CLIENT: "CLIENT",
|
|
126
|
+
};
|
|
127
|
+
exports.ChatParticipantType = {
|
|
128
|
+
LOCAL: "LOCAL",
|
|
129
|
+
REMOTE: "REMOTE",
|
|
130
|
+
};
|
|
131
|
+
exports.ChatStatus = {
|
|
132
|
+
COMPLETED: "COMPLETED",
|
|
133
|
+
MISSED: "MISSED",
|
|
134
|
+
WAITFIRSTREPLY: "WAITFIRSTREPLY",
|
|
135
|
+
WAITREPLYFROMAGENT: "WAITREPLYFROMAGENT",
|
|
136
|
+
WAITREPLYFROMGUEST: "WAITREPLYFROMGUEST",
|
|
137
|
+
};
|
|
138
|
+
exports.ChatTag = {
|
|
139
|
+
SMS: "sms",
|
|
140
|
+
TELEPHONY: "telephony",
|
|
141
|
+
WHATSAPP: "whatsapp",
|
|
142
|
+
};
|
|
143
|
+
exports.ButtonVariant = {
|
|
144
|
+
CONTAINED: "contained",
|
|
145
|
+
OUTLINED: "outlined",
|
|
146
|
+
};
|
|
147
|
+
exports.MessageSmsStatus = {
|
|
148
|
+
DELIVERED: "delivered",
|
|
149
|
+
ERROR: "error",
|
|
150
|
+
SENT: "sent",
|
|
151
|
+
TRYING: "trying",
|
|
152
|
+
};
|
|
153
|
+
exports.MessageType = {
|
|
154
|
+
DELETED: "deleted",
|
|
155
|
+
REGULAR: "regular",
|
|
156
|
+
SYSTEM: "system",
|
|
157
|
+
};
|
|
158
|
+
exports.MessageWhatsAppStatus = {
|
|
159
|
+
DELIVERED: "delivered",
|
|
160
|
+
ERROR: "error",
|
|
161
|
+
SENT: "sent",
|
|
162
|
+
TRYING: "trying",
|
|
163
|
+
};
|
|
164
|
+
exports.ConferenceDirection = {
|
|
165
|
+
INBOUND: "INBOUND",
|
|
166
|
+
INTERNAL: "INTERNAL",
|
|
167
|
+
OUTBOUND: "OUTBOUND",
|
|
168
|
+
};
|
|
169
|
+
exports.PbxLicenseType = {
|
|
170
|
+
BASIC: "basic",
|
|
171
|
+
BUSINESS: "business",
|
|
172
|
+
ESSENTIAL: "essential",
|
|
173
|
+
PREMIUM: "premium",
|
|
174
|
+
WIZYCONF: "wizyconf",
|
|
175
|
+
};
|
|
176
|
+
exports.ConferenceParticipantRole = {
|
|
177
|
+
AGENT: "AGENT",
|
|
178
|
+
CLIENT: "CLIENT",
|
|
179
|
+
};
|
|
180
|
+
exports.ConferenceParticipantType = {
|
|
181
|
+
EXTERNAL: "EXTERNAL",
|
|
182
|
+
EXTERNAL_DIAL_IN: "EXTERNAL_DIAL_IN",
|
|
183
|
+
PBX: "PBX",
|
|
184
|
+
PBX_SIP: "PBX_SIP",
|
|
185
|
+
XBS: "XBS",
|
|
186
|
+
};
|
|
187
|
+
exports.ConferenceTranscriptionStatus = {
|
|
188
|
+
AVAILABLE: "AVAILABLE",
|
|
189
|
+
POST_TRANSCRIPTION: "POST_TRANSCRIPTION",
|
|
190
|
+
UNAVAILABLE: "UNAVAILABLE",
|
|
191
|
+
};
|
|
192
|
+
exports.ConversationDirection = {
|
|
193
|
+
INBOUND: "INBOUND",
|
|
194
|
+
INTERNAL: "INTERNAL",
|
|
195
|
+
OUTBOUND: "OUTBOUND",
|
|
196
|
+
};
|
|
197
|
+
exports.ConversationFlag = {
|
|
198
|
+
FAX: "FAX",
|
|
199
|
+
VOICEMAIL: "VOICEMAIL",
|
|
200
|
+
};
|
|
201
|
+
exports.ConversationUserDirection = {
|
|
202
|
+
INCOMING: "INCOMING",
|
|
203
|
+
OUTGOING: "OUTGOING",
|
|
204
|
+
};
|
|
@@ -0,0 +1,147 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ConferenceTranscriptionNotFoundException = exports.ConferenceNotFoundException = exports.ConferenceAnnotationsNotFoundException = exports.ChatTranscriptionNotFoundException = exports.ChatNotFoundException = exports.ChatAnnotationsNotFoundException = exports.CallTranscriptionNotFoundException = exports.CallNotFoundException = exports.CallAnnotationsNotFoundException = exports.ValidationException = exports.ForbiddenException = void 0;
|
|
4
|
+
const WdaHistoryServiceException_1 = require("./WdaHistoryServiceException");
|
|
5
|
+
class ForbiddenException extends WdaHistoryServiceException_1.WdaHistoryServiceException {
|
|
6
|
+
name = "ForbiddenException";
|
|
7
|
+
$fault = "client";
|
|
8
|
+
constructor(opts) {
|
|
9
|
+
super({
|
|
10
|
+
name: "ForbiddenException",
|
|
11
|
+
$fault: "client",
|
|
12
|
+
...opts,
|
|
13
|
+
});
|
|
14
|
+
Object.setPrototypeOf(this, ForbiddenException.prototype);
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
exports.ForbiddenException = ForbiddenException;
|
|
18
|
+
class ValidationException extends WdaHistoryServiceException_1.WdaHistoryServiceException {
|
|
19
|
+
name = "ValidationException";
|
|
20
|
+
$fault = "client";
|
|
21
|
+
constructor(opts) {
|
|
22
|
+
super({
|
|
23
|
+
name: "ValidationException",
|
|
24
|
+
$fault: "client",
|
|
25
|
+
...opts,
|
|
26
|
+
});
|
|
27
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
exports.ValidationException = ValidationException;
|
|
31
|
+
class CallAnnotationsNotFoundException extends WdaHistoryServiceException_1.WdaHistoryServiceException {
|
|
32
|
+
name = "CallAnnotationsNotFoundException";
|
|
33
|
+
$fault = "client";
|
|
34
|
+
constructor(opts) {
|
|
35
|
+
super({
|
|
36
|
+
name: "CallAnnotationsNotFoundException",
|
|
37
|
+
$fault: "client",
|
|
38
|
+
...opts,
|
|
39
|
+
});
|
|
40
|
+
Object.setPrototypeOf(this, CallAnnotationsNotFoundException.prototype);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
exports.CallAnnotationsNotFoundException = CallAnnotationsNotFoundException;
|
|
44
|
+
class CallNotFoundException extends WdaHistoryServiceException_1.WdaHistoryServiceException {
|
|
45
|
+
name = "CallNotFoundException";
|
|
46
|
+
$fault = "client";
|
|
47
|
+
constructor(opts) {
|
|
48
|
+
super({
|
|
49
|
+
name: "CallNotFoundException",
|
|
50
|
+
$fault: "client",
|
|
51
|
+
...opts,
|
|
52
|
+
});
|
|
53
|
+
Object.setPrototypeOf(this, CallNotFoundException.prototype);
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
exports.CallNotFoundException = CallNotFoundException;
|
|
57
|
+
class CallTranscriptionNotFoundException extends WdaHistoryServiceException_1.WdaHistoryServiceException {
|
|
58
|
+
name = "CallTranscriptionNotFoundException";
|
|
59
|
+
$fault = "client";
|
|
60
|
+
constructor(opts) {
|
|
61
|
+
super({
|
|
62
|
+
name: "CallTranscriptionNotFoundException",
|
|
63
|
+
$fault: "client",
|
|
64
|
+
...opts,
|
|
65
|
+
});
|
|
66
|
+
Object.setPrototypeOf(this, CallTranscriptionNotFoundException.prototype);
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
exports.CallTranscriptionNotFoundException = CallTranscriptionNotFoundException;
|
|
70
|
+
class ChatAnnotationsNotFoundException extends WdaHistoryServiceException_1.WdaHistoryServiceException {
|
|
71
|
+
name = "ChatAnnotationsNotFoundException";
|
|
72
|
+
$fault = "client";
|
|
73
|
+
constructor(opts) {
|
|
74
|
+
super({
|
|
75
|
+
name: "ChatAnnotationsNotFoundException",
|
|
76
|
+
$fault: "client",
|
|
77
|
+
...opts,
|
|
78
|
+
});
|
|
79
|
+
Object.setPrototypeOf(this, ChatAnnotationsNotFoundException.prototype);
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
exports.ChatAnnotationsNotFoundException = ChatAnnotationsNotFoundException;
|
|
83
|
+
class ChatNotFoundException extends WdaHistoryServiceException_1.WdaHistoryServiceException {
|
|
84
|
+
name = "ChatNotFoundException";
|
|
85
|
+
$fault = "client";
|
|
86
|
+
constructor(opts) {
|
|
87
|
+
super({
|
|
88
|
+
name: "ChatNotFoundException",
|
|
89
|
+
$fault: "client",
|
|
90
|
+
...opts,
|
|
91
|
+
});
|
|
92
|
+
Object.setPrototypeOf(this, ChatNotFoundException.prototype);
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
exports.ChatNotFoundException = ChatNotFoundException;
|
|
96
|
+
class ChatTranscriptionNotFoundException extends WdaHistoryServiceException_1.WdaHistoryServiceException {
|
|
97
|
+
name = "ChatTranscriptionNotFoundException";
|
|
98
|
+
$fault = "client";
|
|
99
|
+
constructor(opts) {
|
|
100
|
+
super({
|
|
101
|
+
name: "ChatTranscriptionNotFoundException",
|
|
102
|
+
$fault: "client",
|
|
103
|
+
...opts,
|
|
104
|
+
});
|
|
105
|
+
Object.setPrototypeOf(this, ChatTranscriptionNotFoundException.prototype);
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
exports.ChatTranscriptionNotFoundException = ChatTranscriptionNotFoundException;
|
|
109
|
+
class ConferenceAnnotationsNotFoundException extends WdaHistoryServiceException_1.WdaHistoryServiceException {
|
|
110
|
+
name = "ConferenceAnnotationsNotFoundException";
|
|
111
|
+
$fault = "client";
|
|
112
|
+
constructor(opts) {
|
|
113
|
+
super({
|
|
114
|
+
name: "ConferenceAnnotationsNotFoundException",
|
|
115
|
+
$fault: "client",
|
|
116
|
+
...opts,
|
|
117
|
+
});
|
|
118
|
+
Object.setPrototypeOf(this, ConferenceAnnotationsNotFoundException.prototype);
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
exports.ConferenceAnnotationsNotFoundException = ConferenceAnnotationsNotFoundException;
|
|
122
|
+
class ConferenceNotFoundException extends WdaHistoryServiceException_1.WdaHistoryServiceException {
|
|
123
|
+
name = "ConferenceNotFoundException";
|
|
124
|
+
$fault = "client";
|
|
125
|
+
constructor(opts) {
|
|
126
|
+
super({
|
|
127
|
+
name: "ConferenceNotFoundException",
|
|
128
|
+
$fault: "client",
|
|
129
|
+
...opts,
|
|
130
|
+
});
|
|
131
|
+
Object.setPrototypeOf(this, ConferenceNotFoundException.prototype);
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
exports.ConferenceNotFoundException = ConferenceNotFoundException;
|
|
135
|
+
class ConferenceTranscriptionNotFoundException extends WdaHistoryServiceException_1.WdaHistoryServiceException {
|
|
136
|
+
name = "ConferenceTranscriptionNotFoundException";
|
|
137
|
+
$fault = "client";
|
|
138
|
+
constructor(opts) {
|
|
139
|
+
super({
|
|
140
|
+
name: "ConferenceTranscriptionNotFoundException",
|
|
141
|
+
$fault: "client",
|
|
142
|
+
...opts,
|
|
143
|
+
});
|
|
144
|
+
Object.setPrototypeOf(this, ConferenceTranscriptionNotFoundException.prototype);
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
exports.ConferenceTranscriptionNotFoundException = ConferenceTranscriptionNotFoundException;
|