@wildix/wda-history-client 1.0.13 → 1.0.16
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/WdaHistoryClient.js +7 -3
- package/dist-cjs/commands/GetCallCommand.js +12 -32
- package/dist-cjs/commands/GetCallTranscriptionCommand.js +12 -32
- package/dist-cjs/commands/GetCallTranscriptionTextCommand.js +12 -32
- package/dist-cjs/commands/GetConferenceCommand.js +12 -32
- package/dist-cjs/commands/GetConferenceTranscriptionCommand.js +12 -32
- package/dist-cjs/commands/GetConferenceTranscriptionTextCommand.js +12 -32
- package/dist-cjs/models/models_0.js +18 -11
- package/dist-cjs/protocols/Aws_restJson1.js +78 -223
- package/dist-cjs/runtimeConfig.browser.js +5 -1
- package/dist-cjs/runtimeConfig.js +5 -1
- package/dist-cjs/runtimeConfig.shared.js +13 -11
- package/dist-es/WdaHistoryClient.js +7 -3
- package/dist-es/commands/GetCallCommand.js +12 -32
- package/dist-es/commands/GetCallTranscriptionCommand.js +12 -32
- package/dist-es/commands/GetCallTranscriptionTextCommand.js +12 -32
- package/dist-es/commands/GetConferenceCommand.js +12 -32
- package/dist-es/commands/GetConferenceTranscriptionCommand.js +12 -32
- package/dist-es/commands/GetConferenceTranscriptionTextCommand.js +12 -32
- package/dist-es/models/models_0.js +15 -8
- package/dist-es/protocols/Aws_restJson1.js +79 -224
- package/dist-es/runtimeConfig.browser.js +4 -1
- package/dist-es/runtimeConfig.js +4 -1
- package/dist-es/runtimeConfig.shared.js +13 -11
- package/dist-types/WdaHistoryClient.d.ts +13 -7
- package/dist-types/commands/GetCallCommand.d.ts +11 -22
- package/dist-types/commands/GetCallTranscriptionCommand.d.ts +7 -19
- package/dist-types/commands/GetCallTranscriptionTextCommand.d.ts +7 -19
- package/dist-types/commands/GetConferenceCommand.d.ts +12 -20
- package/dist-types/commands/GetConferenceTranscriptionCommand.d.ts +7 -19
- package/dist-types/commands/GetConferenceTranscriptionTextCommand.d.ts +7 -19
- package/dist-types/index.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +51 -31
- package/dist-types/runtimeConfig.browser.d.ts +5 -6
- package/dist-types/runtimeConfig.d.ts +5 -6
- package/dist-types/runtimeConfig.native.d.ts +5 -6
- package/dist-types/runtimeConfig.shared.d.ts +2 -2
- package/package.json +30 -28
|
@@ -3,28 +3,32 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.WdaHistoryClient = exports.__Client = void 0;
|
|
4
4
|
const runtimeConfig_1 = require("./runtimeConfig");
|
|
5
5
|
const runtimeExtensions_1 = require("./runtimeExtensions");
|
|
6
|
+
const middleware_user_agent_1 = require("@aws-sdk/middleware-user-agent");
|
|
6
7
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
8
|
Object.defineProperty(exports, "__Client", { enumerable: true, get: function () { return smithy_client_1.Client; } });
|
|
8
9
|
const smithy_utils_1 = require("@wildix/smithy-utils");
|
|
9
10
|
class WdaHistoryClient extends smithy_client_1.Client {
|
|
10
11
|
constructor(...[configuration]) {
|
|
11
12
|
let _config_0 = (0, runtimeConfig_1.getRuntimeConfig)(configuration || {});
|
|
12
|
-
let _config_1 = (0,
|
|
13
|
+
let _config_1 = (0, middleware_user_agent_1.resolveUserAgentConfig)(_config_0);
|
|
14
|
+
let _config_2 = (0, runtimeExtensions_1.resolveRuntimeExtensions)(_config_1, configuration?.extensions || []);
|
|
15
|
+
const hostname = ['stable', 'stage'].includes(configuration.env || '') ? `wda-${configuration.env}.wildix.com` : 'wda.wildix.com';
|
|
13
16
|
const endpoint = () => {
|
|
14
17
|
return {
|
|
15
|
-
hostname
|
|
18
|
+
hostname,
|
|
16
19
|
protocol: "https",
|
|
17
20
|
port: '443',
|
|
18
21
|
path: ''
|
|
19
22
|
};
|
|
20
23
|
};
|
|
21
24
|
const config = {
|
|
22
|
-
...
|
|
25
|
+
..._config_2,
|
|
23
26
|
endpoint,
|
|
24
27
|
};
|
|
25
28
|
super(config);
|
|
26
29
|
this.config = config;
|
|
27
30
|
this.middlewareStack.add(smithy_utils_1.authorizationMiddleware.bind(this, configuration.token), { step: "build" });
|
|
31
|
+
this.middlewareStack.use((0, middleware_user_agent_1.getUserAgentPlugin)(this.config));
|
|
28
32
|
}
|
|
29
33
|
destroy() {
|
|
30
34
|
super.destroy();
|
|
@@ -5,37 +5,17 @@ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
const handlerExecutionContext = {
|
|
21
|
-
logger,
|
|
22
|
-
clientName,
|
|
23
|
-
commandName,
|
|
24
|
-
inputFilterSensitiveLog: (_) => _,
|
|
25
|
-
outputFilterSensitiveLog: (_) => _,
|
|
26
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
27
|
-
service: "WdaHistory",
|
|
28
|
-
operation: "GetCall",
|
|
29
|
-
},
|
|
30
|
-
};
|
|
31
|
-
const { requestHandler } = configuration;
|
|
32
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
33
|
-
}
|
|
34
|
-
serialize(input, context) {
|
|
35
|
-
return (0, Aws_restJson1_1.se_GetCallCommand)(input, context);
|
|
36
|
-
}
|
|
37
|
-
deserialize(output, context) {
|
|
38
|
-
return (0, Aws_restJson1_1.de_GetCallCommand)(output, context);
|
|
39
|
-
}
|
|
8
|
+
class GetCallCommand extends smithy_client_1.Command.classBuilder()
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [
|
|
11
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
12
|
+
];
|
|
13
|
+
})
|
|
14
|
+
.s("WdaHistory", "GetCall", {})
|
|
15
|
+
.n("WdaHistoryClient", "GetCallCommand")
|
|
16
|
+
.f(void 0, void 0)
|
|
17
|
+
.ser(Aws_restJson1_1.se_GetCallCommand)
|
|
18
|
+
.de(Aws_restJson1_1.de_GetCallCommand)
|
|
19
|
+
.build() {
|
|
40
20
|
}
|
|
41
21
|
exports.GetCallCommand = GetCallCommand;
|
|
@@ -5,37 +5,17 @@ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
const handlerExecutionContext = {
|
|
21
|
-
logger,
|
|
22
|
-
clientName,
|
|
23
|
-
commandName,
|
|
24
|
-
inputFilterSensitiveLog: (_) => _,
|
|
25
|
-
outputFilterSensitiveLog: (_) => _,
|
|
26
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
27
|
-
service: "WdaHistory",
|
|
28
|
-
operation: "GetCallTranscription",
|
|
29
|
-
},
|
|
30
|
-
};
|
|
31
|
-
const { requestHandler } = configuration;
|
|
32
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
33
|
-
}
|
|
34
|
-
serialize(input, context) {
|
|
35
|
-
return (0, Aws_restJson1_1.se_GetCallTranscriptionCommand)(input, context);
|
|
36
|
-
}
|
|
37
|
-
deserialize(output, context) {
|
|
38
|
-
return (0, Aws_restJson1_1.de_GetCallTranscriptionCommand)(output, context);
|
|
39
|
-
}
|
|
8
|
+
class GetCallTranscriptionCommand extends smithy_client_1.Command.classBuilder()
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [
|
|
11
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
12
|
+
];
|
|
13
|
+
})
|
|
14
|
+
.s("WdaHistory", "GetCallTranscription", {})
|
|
15
|
+
.n("WdaHistoryClient", "GetCallTranscriptionCommand")
|
|
16
|
+
.f(void 0, void 0)
|
|
17
|
+
.ser(Aws_restJson1_1.se_GetCallTranscriptionCommand)
|
|
18
|
+
.de(Aws_restJson1_1.de_GetCallTranscriptionCommand)
|
|
19
|
+
.build() {
|
|
40
20
|
}
|
|
41
21
|
exports.GetCallTranscriptionCommand = GetCallTranscriptionCommand;
|
|
@@ -5,37 +5,17 @@ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
const handlerExecutionContext = {
|
|
21
|
-
logger,
|
|
22
|
-
clientName,
|
|
23
|
-
commandName,
|
|
24
|
-
inputFilterSensitiveLog: (_) => _,
|
|
25
|
-
outputFilterSensitiveLog: (_) => _,
|
|
26
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
27
|
-
service: "WdaHistory",
|
|
28
|
-
operation: "GetCallTranscriptionText",
|
|
29
|
-
},
|
|
30
|
-
};
|
|
31
|
-
const { requestHandler } = configuration;
|
|
32
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
33
|
-
}
|
|
34
|
-
serialize(input, context) {
|
|
35
|
-
return (0, Aws_restJson1_1.se_GetCallTranscriptionTextCommand)(input, context);
|
|
36
|
-
}
|
|
37
|
-
deserialize(output, context) {
|
|
38
|
-
return (0, Aws_restJson1_1.de_GetCallTranscriptionTextCommand)(output, context);
|
|
39
|
-
}
|
|
8
|
+
class GetCallTranscriptionTextCommand extends smithy_client_1.Command.classBuilder()
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [
|
|
11
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
12
|
+
];
|
|
13
|
+
})
|
|
14
|
+
.s("WdaHistory", "GetCallTranscriptionText", {})
|
|
15
|
+
.n("WdaHistoryClient", "GetCallTranscriptionTextCommand")
|
|
16
|
+
.f(void 0, void 0)
|
|
17
|
+
.ser(Aws_restJson1_1.se_GetCallTranscriptionTextCommand)
|
|
18
|
+
.de(Aws_restJson1_1.de_GetCallTranscriptionTextCommand)
|
|
19
|
+
.build() {
|
|
40
20
|
}
|
|
41
21
|
exports.GetCallTranscriptionTextCommand = GetCallTranscriptionTextCommand;
|
|
@@ -5,37 +5,17 @@ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
const handlerExecutionContext = {
|
|
21
|
-
logger,
|
|
22
|
-
clientName,
|
|
23
|
-
commandName,
|
|
24
|
-
inputFilterSensitiveLog: (_) => _,
|
|
25
|
-
outputFilterSensitiveLog: (_) => _,
|
|
26
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
27
|
-
service: "WdaHistory",
|
|
28
|
-
operation: "GetConference",
|
|
29
|
-
},
|
|
30
|
-
};
|
|
31
|
-
const { requestHandler } = configuration;
|
|
32
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
33
|
-
}
|
|
34
|
-
serialize(input, context) {
|
|
35
|
-
return (0, Aws_restJson1_1.se_GetConferenceCommand)(input, context);
|
|
36
|
-
}
|
|
37
|
-
deserialize(output, context) {
|
|
38
|
-
return (0, Aws_restJson1_1.de_GetConferenceCommand)(output, context);
|
|
39
|
-
}
|
|
8
|
+
class GetConferenceCommand extends smithy_client_1.Command.classBuilder()
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [
|
|
11
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
12
|
+
];
|
|
13
|
+
})
|
|
14
|
+
.s("WdaHistory", "GetConference", {})
|
|
15
|
+
.n("WdaHistoryClient", "GetConferenceCommand")
|
|
16
|
+
.f(void 0, void 0)
|
|
17
|
+
.ser(Aws_restJson1_1.se_GetConferenceCommand)
|
|
18
|
+
.de(Aws_restJson1_1.de_GetConferenceCommand)
|
|
19
|
+
.build() {
|
|
40
20
|
}
|
|
41
21
|
exports.GetConferenceCommand = GetConferenceCommand;
|
|
@@ -5,37 +5,17 @@ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
const handlerExecutionContext = {
|
|
21
|
-
logger,
|
|
22
|
-
clientName,
|
|
23
|
-
commandName,
|
|
24
|
-
inputFilterSensitiveLog: (_) => _,
|
|
25
|
-
outputFilterSensitiveLog: (_) => _,
|
|
26
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
27
|
-
service: "WdaHistory",
|
|
28
|
-
operation: "GetConferenceTranscription",
|
|
29
|
-
},
|
|
30
|
-
};
|
|
31
|
-
const { requestHandler } = configuration;
|
|
32
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
33
|
-
}
|
|
34
|
-
serialize(input, context) {
|
|
35
|
-
return (0, Aws_restJson1_1.se_GetConferenceTranscriptionCommand)(input, context);
|
|
36
|
-
}
|
|
37
|
-
deserialize(output, context) {
|
|
38
|
-
return (0, Aws_restJson1_1.de_GetConferenceTranscriptionCommand)(output, context);
|
|
39
|
-
}
|
|
8
|
+
class GetConferenceTranscriptionCommand extends smithy_client_1.Command.classBuilder()
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [
|
|
11
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
12
|
+
];
|
|
13
|
+
})
|
|
14
|
+
.s("WdaHistory", "GetConferenceTranscription", {})
|
|
15
|
+
.n("WdaHistoryClient", "GetConferenceTranscriptionCommand")
|
|
16
|
+
.f(void 0, void 0)
|
|
17
|
+
.ser(Aws_restJson1_1.se_GetConferenceTranscriptionCommand)
|
|
18
|
+
.de(Aws_restJson1_1.de_GetConferenceTranscriptionCommand)
|
|
19
|
+
.build() {
|
|
40
20
|
}
|
|
41
21
|
exports.GetConferenceTranscriptionCommand = GetConferenceTranscriptionCommand;
|
|
@@ -5,37 +5,17 @@ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
const handlerExecutionContext = {
|
|
21
|
-
logger,
|
|
22
|
-
clientName,
|
|
23
|
-
commandName,
|
|
24
|
-
inputFilterSensitiveLog: (_) => _,
|
|
25
|
-
outputFilterSensitiveLog: (_) => _,
|
|
26
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
27
|
-
service: "WdaHistory",
|
|
28
|
-
operation: "GetConferenceTranscriptionText",
|
|
29
|
-
},
|
|
30
|
-
};
|
|
31
|
-
const { requestHandler } = configuration;
|
|
32
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
33
|
-
}
|
|
34
|
-
serialize(input, context) {
|
|
35
|
-
return (0, Aws_restJson1_1.se_GetConferenceTranscriptionTextCommand)(input, context);
|
|
36
|
-
}
|
|
37
|
-
deserialize(output, context) {
|
|
38
|
-
return (0, Aws_restJson1_1.de_GetConferenceTranscriptionTextCommand)(output, context);
|
|
39
|
-
}
|
|
8
|
+
class GetConferenceTranscriptionTextCommand extends smithy_client_1.Command.classBuilder()
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [
|
|
11
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
12
|
+
];
|
|
13
|
+
})
|
|
14
|
+
.s("WdaHistory", "GetConferenceTranscriptionText", {})
|
|
15
|
+
.n("WdaHistoryClient", "GetConferenceTranscriptionTextCommand")
|
|
16
|
+
.f(void 0, void 0)
|
|
17
|
+
.ser(Aws_restJson1_1.se_GetConferenceTranscriptionTextCommand)
|
|
18
|
+
.de(Aws_restJson1_1.de_GetConferenceTranscriptionTextCommand)
|
|
19
|
+
.build() {
|
|
40
20
|
}
|
|
41
21
|
exports.GetConferenceTranscriptionTextCommand = GetConferenceTranscriptionTextCommand;
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ConferenceTranscriptionNotFoundException = exports.ConferenceTranscriptionStatus = exports.ConferenceParticipantType = exports.ConferenceParticipantRole = exports.ConferenceDirection = exports.ConferenceNotFoundException = exports.CallTranscriptionSpeaker = exports.CallTranscriptionNotFoundException = exports.RecordType = exports.CallFlowTranscriptionStatus = exports.CallRecordPauseReason = exports.CallRecordOwner = exports.License = exports.CallDirection = exports.ConversationStatus = exports.CallDevice = exports.CallParticipantType = exports.CallParticipantRole = exports.CallFlowAttachmentType = exports.CallNotFoundException = exports.
|
|
3
|
+
exports.ConferenceTranscriptionNotFoundException = exports.ConferenceTranscriptionStatus = exports.ConferenceParticipantType = exports.ConferenceParticipantRole = exports.PbxLicenseType = exports.ConferenceDirection = exports.ConferenceNotFoundException = exports.CallTranscriptionSpeaker = exports.CallTranscriptionNotFoundException = exports.RecordType = exports.CallFlowTranscriptionStatus = exports.CallRecordPauseReason = exports.CallRecordOwner = exports.License = exports.CallDirection = exports.ConversationStatus = exports.CallDevice = exports.CallParticipantType = exports.CallParticipantRole = exports.CallFlowAttachmentType = exports.CallNotFoundException = exports.ValidationException = exports.ForbiddenException = void 0;
|
|
4
4
|
const WdaHistoryServiceException_1 = require("./WdaHistoryServiceException");
|
|
5
|
-
class
|
|
5
|
+
class ForbiddenException extends WdaHistoryServiceException_1.WdaHistoryServiceException {
|
|
6
6
|
constructor(opts) {
|
|
7
7
|
super({
|
|
8
|
-
name: "
|
|
8
|
+
name: "ForbiddenException",
|
|
9
9
|
$fault: "client",
|
|
10
10
|
...opts
|
|
11
11
|
});
|
|
12
|
-
this.name = "
|
|
12
|
+
this.name = "ForbiddenException";
|
|
13
13
|
this.$fault = "client";
|
|
14
|
-
Object.setPrototypeOf(this,
|
|
14
|
+
Object.setPrototypeOf(this, ForbiddenException.prototype);
|
|
15
15
|
}
|
|
16
16
|
}
|
|
17
|
-
exports.
|
|
18
|
-
class
|
|
17
|
+
exports.ForbiddenException = ForbiddenException;
|
|
18
|
+
class ValidationException extends WdaHistoryServiceException_1.WdaHistoryServiceException {
|
|
19
19
|
constructor(opts) {
|
|
20
20
|
super({
|
|
21
|
-
name: "
|
|
21
|
+
name: "ValidationException",
|
|
22
22
|
$fault: "client",
|
|
23
23
|
...opts
|
|
24
24
|
});
|
|
25
|
-
this.name = "
|
|
25
|
+
this.name = "ValidationException";
|
|
26
26
|
this.$fault = "client";
|
|
27
|
-
Object.setPrototypeOf(this,
|
|
27
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
28
28
|
}
|
|
29
29
|
}
|
|
30
|
-
exports.
|
|
30
|
+
exports.ValidationException = ValidationException;
|
|
31
31
|
class CallNotFoundException extends WdaHistoryServiceException_1.WdaHistoryServiceException {
|
|
32
32
|
constructor(opts) {
|
|
33
33
|
super({
|
|
@@ -131,6 +131,13 @@ exports.ConferenceDirection = {
|
|
|
131
131
|
INTERNAL: "INTERNAL",
|
|
132
132
|
OUTBOUND: "OUTBOUND",
|
|
133
133
|
};
|
|
134
|
+
exports.PbxLicenseType = {
|
|
135
|
+
BASIC: "basic",
|
|
136
|
+
BUSINESS: "business",
|
|
137
|
+
ESSENTIAL: "essential",
|
|
138
|
+
PREMIUM: "premium",
|
|
139
|
+
WIZYCONF: "wizyconf",
|
|
140
|
+
};
|
|
134
141
|
exports.ConferenceParticipantRole = {
|
|
135
142
|
AGENT: "AGENT",
|
|
136
143
|
CLIENT: "CLIENT",
|