@wildix/wms-api-client 1.1.20 → 1.1.22
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/WmsApi.js +16 -0
- package/dist-cjs/commands/CallControlAnswerCommand.js +21 -0
- package/dist-cjs/commands/CallControlHangupCommand.js +21 -0
- package/dist-cjs/commands/CallControlHoldCommand.js +21 -0
- package/dist-cjs/commands/CallControlMakeCallCommand.js +21 -0
- package/dist-cjs/commands/CallControlTransferCommand.js +21 -0
- package/dist-cjs/commands/CallControlUnholdCommand.js +21 -0
- package/dist-cjs/commands/ListUserActiveCallsCommand.js +21 -0
- package/dist-cjs/commands/ListUserDevicesCommand.js +21 -0
- package/dist-cjs/commands/index.js +8 -0
- package/dist-cjs/models/models_0.js +35 -1
- package/dist-cjs/protocols/Aws_restJson1.js +319 -1
- package/dist-es/WmsApi.js +16 -0
- package/dist-es/commands/CallControlAnswerCommand.js +17 -0
- package/dist-es/commands/CallControlHangupCommand.js +17 -0
- package/dist-es/commands/CallControlHoldCommand.js +17 -0
- package/dist-es/commands/CallControlMakeCallCommand.js +17 -0
- package/dist-es/commands/CallControlTransferCommand.js +17 -0
- package/dist-es/commands/CallControlUnholdCommand.js +17 -0
- package/dist-es/commands/ListUserActiveCallsCommand.js +17 -0
- package/dist-es/commands/ListUserDevicesCommand.js +17 -0
- package/dist-es/commands/index.js +8 -0
- package/dist-es/models/models_0.js +32 -0
- package/dist-es/protocols/Aws_restJson1.js +302 -1
- package/dist-types/WmsApi.d.ts +58 -0
- package/dist-types/WmsApiClient.d.ts +10 -2
- package/dist-types/commands/CallControlAnswerCommand.d.ts +83 -0
- package/dist-types/commands/CallControlHangupCommand.d.ts +83 -0
- package/dist-types/commands/CallControlHoldCommand.d.ts +82 -0
- package/dist-types/commands/CallControlMakeCallCommand.d.ts +81 -0
- package/dist-types/commands/CallControlTransferCommand.d.ts +83 -0
- package/dist-types/commands/CallControlUnholdCommand.d.ts +82 -0
- package/dist-types/commands/CreatePbxAclGroupCommand.d.ts +2 -0
- package/dist-types/commands/CreatePbxColleagueCommand.d.ts +2 -0
- package/dist-types/commands/CreatePbxOAuth2ClientCommand.d.ts +3 -0
- package/dist-types/commands/DeletePbxAclGroupCommand.d.ts +2 -0
- package/dist-types/commands/DeletePbxColleagueCommand.d.ts +2 -0
- package/dist-types/commands/DeletePbxOAuth2ClientCommand.d.ts +2 -0
- package/dist-types/commands/GetColleagueByIdCommand.d.ts +2 -0
- package/dist-types/commands/GetPbxAclGroupsPermissionsCommand.d.ts +2 -0
- package/dist-types/commands/GetPbxCallGroupsCommand.d.ts +2 -0
- package/dist-types/commands/GetPbxColleaguesCommand.d.ts +2 -0
- package/dist-types/commands/GetPbxOAuth2ClientsCommand.d.ts +2 -0
- package/dist-types/commands/GetPbxesCommand.d.ts +2 -0
- package/dist-types/commands/GetPersonalInfoCommand.d.ts +2 -0
- package/dist-types/commands/ListUserActiveCallsCommand.d.ts +85 -0
- package/dist-types/commands/ListUserDevicesCommand.d.ts +85 -0
- package/dist-types/commands/NotificationsCommand.d.ts +2 -0
- package/dist-types/commands/OriginateCallCommand.d.ts +2 -0
- package/dist-types/commands/OriginateCommand.d.ts +2 -0
- package/dist-types/commands/ReloadBroadcastsCommand.d.ts +2 -0
- package/dist-types/commands/UpdatePbxOAuth2ClientCommand.d.ts +2 -0
- package/dist-types/commands/index.d.ts +8 -0
- package/dist-types/models/models_0.d.ts +251 -7
- package/dist-types/protocols/Aws_restJson1.d.ts +72 -0
- package/package.json +1 -1
package/dist-cjs/WmsApi.js
CHANGED
|
@@ -2,6 +2,12 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.WmsApi = void 0;
|
|
4
4
|
const WmsApiClient_1 = require("./WmsApiClient");
|
|
5
|
+
const CallControlAnswerCommand_1 = require("./commands/CallControlAnswerCommand");
|
|
6
|
+
const CallControlHangupCommand_1 = require("./commands/CallControlHangupCommand");
|
|
7
|
+
const CallControlHoldCommand_1 = require("./commands/CallControlHoldCommand");
|
|
8
|
+
const CallControlMakeCallCommand_1 = require("./commands/CallControlMakeCallCommand");
|
|
9
|
+
const CallControlTransferCommand_1 = require("./commands/CallControlTransferCommand");
|
|
10
|
+
const CallControlUnholdCommand_1 = require("./commands/CallControlUnholdCommand");
|
|
5
11
|
const CreatePbxAclGroupCommand_1 = require("./commands/CreatePbxAclGroupCommand");
|
|
6
12
|
const CreatePbxColleagueCommand_1 = require("./commands/CreatePbxColleagueCommand");
|
|
7
13
|
const CreatePbxOAuth2ClientCommand_1 = require("./commands/CreatePbxOAuth2ClientCommand");
|
|
@@ -15,6 +21,8 @@ const GetPbxColleaguesCommand_1 = require("./commands/GetPbxColleaguesCommand");
|
|
|
15
21
|
const GetPbxOAuth2ClientsCommand_1 = require("./commands/GetPbxOAuth2ClientsCommand");
|
|
16
22
|
const GetPbxesCommand_1 = require("./commands/GetPbxesCommand");
|
|
17
23
|
const GetPersonalInfoCommand_1 = require("./commands/GetPersonalInfoCommand");
|
|
24
|
+
const ListUserActiveCallsCommand_1 = require("./commands/ListUserActiveCallsCommand");
|
|
25
|
+
const ListUserDevicesCommand_1 = require("./commands/ListUserDevicesCommand");
|
|
18
26
|
const NotificationsCommand_1 = require("./commands/NotificationsCommand");
|
|
19
27
|
const OriginateCallCommand_1 = require("./commands/OriginateCallCommand");
|
|
20
28
|
const OriginateCommand_1 = require("./commands/OriginateCommand");
|
|
@@ -22,6 +30,12 @@ const ReloadBroadcastsCommand_1 = require("./commands/ReloadBroadcastsCommand");
|
|
|
22
30
|
const UpdatePbxOAuth2ClientCommand_1 = require("./commands/UpdatePbxOAuth2ClientCommand");
|
|
23
31
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
24
32
|
const commands = {
|
|
33
|
+
CallControlAnswerCommand: CallControlAnswerCommand_1.CallControlAnswerCommand,
|
|
34
|
+
CallControlHangupCommand: CallControlHangupCommand_1.CallControlHangupCommand,
|
|
35
|
+
CallControlHoldCommand: CallControlHoldCommand_1.CallControlHoldCommand,
|
|
36
|
+
CallControlMakeCallCommand: CallControlMakeCallCommand_1.CallControlMakeCallCommand,
|
|
37
|
+
CallControlTransferCommand: CallControlTransferCommand_1.CallControlTransferCommand,
|
|
38
|
+
CallControlUnholdCommand: CallControlUnholdCommand_1.CallControlUnholdCommand,
|
|
25
39
|
CreatePbxAclGroupCommand: CreatePbxAclGroupCommand_1.CreatePbxAclGroupCommand,
|
|
26
40
|
CreatePbxColleagueCommand: CreatePbxColleagueCommand_1.CreatePbxColleagueCommand,
|
|
27
41
|
CreatePbxOAuth2ClientCommand: CreatePbxOAuth2ClientCommand_1.CreatePbxOAuth2ClientCommand,
|
|
@@ -35,6 +49,8 @@ const commands = {
|
|
|
35
49
|
GetPbxesCommand: GetPbxesCommand_1.GetPbxesCommand,
|
|
36
50
|
GetPbxOAuth2ClientsCommand: GetPbxOAuth2ClientsCommand_1.GetPbxOAuth2ClientsCommand,
|
|
37
51
|
GetPersonalInfoCommand: GetPersonalInfoCommand_1.GetPersonalInfoCommand,
|
|
52
|
+
ListUserActiveCallsCommand: ListUserActiveCallsCommand_1.ListUserActiveCallsCommand,
|
|
53
|
+
ListUserDevicesCommand: ListUserDevicesCommand_1.ListUserDevicesCommand,
|
|
38
54
|
NotificationsCommand: NotificationsCommand_1.NotificationsCommand,
|
|
39
55
|
OriginateCommand: OriginateCommand_1.OriginateCommand,
|
|
40
56
|
OriginateCallCommand: OriginateCallCommand_1.OriginateCallCommand,
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CallControlAnswerCommand = exports.$Command = void 0;
|
|
4
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
class CallControlAnswerCommand 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("WmsApi", "CallControlAnswer", {})
|
|
15
|
+
.n("WmsApiClient", "CallControlAnswerCommand")
|
|
16
|
+
.f(void 0, void 0)
|
|
17
|
+
.ser(Aws_restJson1_1.se_CallControlAnswerCommand)
|
|
18
|
+
.de(Aws_restJson1_1.de_CallControlAnswerCommand)
|
|
19
|
+
.build() {
|
|
20
|
+
}
|
|
21
|
+
exports.CallControlAnswerCommand = CallControlAnswerCommand;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CallControlHangupCommand = exports.$Command = void 0;
|
|
4
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
class CallControlHangupCommand 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("WmsApi", "CallControlHangup", {})
|
|
15
|
+
.n("WmsApiClient", "CallControlHangupCommand")
|
|
16
|
+
.f(void 0, void 0)
|
|
17
|
+
.ser(Aws_restJson1_1.se_CallControlHangupCommand)
|
|
18
|
+
.de(Aws_restJson1_1.de_CallControlHangupCommand)
|
|
19
|
+
.build() {
|
|
20
|
+
}
|
|
21
|
+
exports.CallControlHangupCommand = CallControlHangupCommand;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CallControlHoldCommand = exports.$Command = void 0;
|
|
4
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
class CallControlHoldCommand 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("WmsApi", "CallControlHold", {})
|
|
15
|
+
.n("WmsApiClient", "CallControlHoldCommand")
|
|
16
|
+
.f(void 0, void 0)
|
|
17
|
+
.ser(Aws_restJson1_1.se_CallControlHoldCommand)
|
|
18
|
+
.de(Aws_restJson1_1.de_CallControlHoldCommand)
|
|
19
|
+
.build() {
|
|
20
|
+
}
|
|
21
|
+
exports.CallControlHoldCommand = CallControlHoldCommand;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CallControlMakeCallCommand = exports.$Command = void 0;
|
|
4
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
class CallControlMakeCallCommand 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("WmsApi", "CallControlMakeCall", {})
|
|
15
|
+
.n("WmsApiClient", "CallControlMakeCallCommand")
|
|
16
|
+
.f(void 0, void 0)
|
|
17
|
+
.ser(Aws_restJson1_1.se_CallControlMakeCallCommand)
|
|
18
|
+
.de(Aws_restJson1_1.de_CallControlMakeCallCommand)
|
|
19
|
+
.build() {
|
|
20
|
+
}
|
|
21
|
+
exports.CallControlMakeCallCommand = CallControlMakeCallCommand;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CallControlTransferCommand = exports.$Command = void 0;
|
|
4
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
class CallControlTransferCommand 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("WmsApi", "CallControlTransfer", {})
|
|
15
|
+
.n("WmsApiClient", "CallControlTransferCommand")
|
|
16
|
+
.f(void 0, void 0)
|
|
17
|
+
.ser(Aws_restJson1_1.se_CallControlTransferCommand)
|
|
18
|
+
.de(Aws_restJson1_1.de_CallControlTransferCommand)
|
|
19
|
+
.build() {
|
|
20
|
+
}
|
|
21
|
+
exports.CallControlTransferCommand = CallControlTransferCommand;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CallControlUnholdCommand = exports.$Command = void 0;
|
|
4
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
class CallControlUnholdCommand 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("WmsApi", "CallControlUnhold", {})
|
|
15
|
+
.n("WmsApiClient", "CallControlUnholdCommand")
|
|
16
|
+
.f(void 0, void 0)
|
|
17
|
+
.ser(Aws_restJson1_1.se_CallControlUnholdCommand)
|
|
18
|
+
.de(Aws_restJson1_1.de_CallControlUnholdCommand)
|
|
19
|
+
.build() {
|
|
20
|
+
}
|
|
21
|
+
exports.CallControlUnholdCommand = CallControlUnholdCommand;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ListUserActiveCallsCommand = exports.$Command = void 0;
|
|
4
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
class ListUserActiveCallsCommand 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("WmsApi", "ListUserActiveCalls", {})
|
|
15
|
+
.n("WmsApiClient", "ListUserActiveCallsCommand")
|
|
16
|
+
.f(void 0, void 0)
|
|
17
|
+
.ser(Aws_restJson1_1.se_ListUserActiveCallsCommand)
|
|
18
|
+
.de(Aws_restJson1_1.de_ListUserActiveCallsCommand)
|
|
19
|
+
.build() {
|
|
20
|
+
}
|
|
21
|
+
exports.ListUserActiveCallsCommand = ListUserActiveCallsCommand;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ListUserDevicesCommand = exports.$Command = void 0;
|
|
4
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
class ListUserDevicesCommand 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("WmsApi", "ListUserDevices", {})
|
|
15
|
+
.n("WmsApiClient", "ListUserDevicesCommand")
|
|
16
|
+
.f(void 0, void 0)
|
|
17
|
+
.ser(Aws_restJson1_1.se_ListUserDevicesCommand)
|
|
18
|
+
.de(Aws_restJson1_1.de_ListUserDevicesCommand)
|
|
19
|
+
.build() {
|
|
20
|
+
}
|
|
21
|
+
exports.ListUserDevicesCommand = ListUserDevicesCommand;
|
|
@@ -1,6 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const tslib_1 = require("tslib");
|
|
4
|
+
tslib_1.__exportStar(require("./CallControlAnswerCommand"), exports);
|
|
5
|
+
tslib_1.__exportStar(require("./CallControlHangupCommand"), exports);
|
|
6
|
+
tslib_1.__exportStar(require("./CallControlHoldCommand"), exports);
|
|
7
|
+
tslib_1.__exportStar(require("./CallControlMakeCallCommand"), exports);
|
|
8
|
+
tslib_1.__exportStar(require("./CallControlTransferCommand"), exports);
|
|
9
|
+
tslib_1.__exportStar(require("./CallControlUnholdCommand"), exports);
|
|
4
10
|
tslib_1.__exportStar(require("./CreatePbxAclGroupCommand"), exports);
|
|
5
11
|
tslib_1.__exportStar(require("./CreatePbxColleagueCommand"), exports);
|
|
6
12
|
tslib_1.__exportStar(require("./CreatePbxOAuth2ClientCommand"), exports);
|
|
@@ -14,6 +20,8 @@ tslib_1.__exportStar(require("./GetPbxColleaguesCommand"), exports);
|
|
|
14
20
|
tslib_1.__exportStar(require("./GetPbxesCommand"), exports);
|
|
15
21
|
tslib_1.__exportStar(require("./GetPbxOAuth2ClientsCommand"), exports);
|
|
16
22
|
tslib_1.__exportStar(require("./GetPersonalInfoCommand"), exports);
|
|
23
|
+
tslib_1.__exportStar(require("./ListUserActiveCallsCommand"), exports);
|
|
24
|
+
tslib_1.__exportStar(require("./ListUserDevicesCommand"), exports);
|
|
17
25
|
tslib_1.__exportStar(require("./NotificationsCommand"), exports);
|
|
18
26
|
tslib_1.__exportStar(require("./OriginateCommand"), exports);
|
|
19
27
|
tslib_1.__exportStar(require("./OriginateCallCommand"), exports);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ResponseResult = exports.PbxColleaguesSearchStrategy = exports.PbxColleaguesQueryField = exports.GetPbxColleaguesDir = exports.WmsNotFoundException = exports.WmsValidationException = exports.PbxColleagueRole = exports.WmsUnauthorizedException = exports.ResponseType = exports.AclGroupPermissionAbility = exports.PbxLicenseType = void 0;
|
|
3
|
+
exports.ResponseResult = exports.PbxColleaguesSearchStrategy = exports.PbxColleaguesQueryField = exports.GetPbxColleaguesDir = exports.WmsNotFoundException = exports.WmsValidationException = exports.PbxColleagueRole = exports.WmsUnauthorizedException = exports.WmsForbiddenException = exports.ChannelNotFoundException = exports.ResponseType = exports.AclGroupPermissionAbility = exports.PbxLicenseType = void 0;
|
|
4
4
|
const WmsApiServiceException_1 = require("./WmsApiServiceException");
|
|
5
5
|
exports.PbxLicenseType = {
|
|
6
6
|
BASIC: "basic",
|
|
@@ -21,6 +21,40 @@ exports.ResponseType = {
|
|
|
21
21
|
ERROR: "error",
|
|
22
22
|
RESULT: "result",
|
|
23
23
|
};
|
|
24
|
+
class ChannelNotFoundException extends WmsApiServiceException_1.WmsApiServiceException {
|
|
25
|
+
name = "ChannelNotFoundException";
|
|
26
|
+
$fault = "client";
|
|
27
|
+
type;
|
|
28
|
+
reason;
|
|
29
|
+
constructor(opts) {
|
|
30
|
+
super({
|
|
31
|
+
name: "ChannelNotFoundException",
|
|
32
|
+
$fault: "client",
|
|
33
|
+
...opts
|
|
34
|
+
});
|
|
35
|
+
Object.setPrototypeOf(this, ChannelNotFoundException.prototype);
|
|
36
|
+
this.type = opts.type;
|
|
37
|
+
this.reason = opts.reason;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
exports.ChannelNotFoundException = ChannelNotFoundException;
|
|
41
|
+
class WmsForbiddenException extends WmsApiServiceException_1.WmsApiServiceException {
|
|
42
|
+
name = "WmsForbiddenException";
|
|
43
|
+
$fault = "client";
|
|
44
|
+
type;
|
|
45
|
+
reason;
|
|
46
|
+
constructor(opts) {
|
|
47
|
+
super({
|
|
48
|
+
name: "WmsForbiddenException",
|
|
49
|
+
$fault: "client",
|
|
50
|
+
...opts
|
|
51
|
+
});
|
|
52
|
+
Object.setPrototypeOf(this, WmsForbiddenException.prototype);
|
|
53
|
+
this.type = opts.type;
|
|
54
|
+
this.reason = opts.reason;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
exports.WmsForbiddenException = WmsForbiddenException;
|
|
24
58
|
class WmsUnauthorizedException extends WmsApiServiceException_1.WmsApiServiceException {
|
|
25
59
|
name = "WmsUnauthorizedException";
|
|
26
60
|
$fault = "client";
|