@wildix/wms-api-client 1.1.28 → 1.1.29
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 +2 -0
- package/dist-cjs/commands/GetCallQueuesSettingsCommand.js +21 -0
- package/dist-cjs/commands/index.js +1 -0
- package/dist-cjs/protocols/Aws_restJson1.js +30 -2
- package/dist-es/WmsApi.js +2 -0
- package/dist-es/commands/GetCallQueuesSettingsCommand.js +17 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +26 -0
- package/dist-types/WmsApi.d.ts +7 -0
- package/dist-types/WmsApiClient.d.ts +3 -2
- package/dist-types/commands/GetCallQueuesSettingsCommand.d.ts +94 -0
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +36 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +9 -0
- package/package.json +2 -2
package/dist-cjs/WmsApi.js
CHANGED
|
@@ -16,6 +16,7 @@ const CreatePbxOAuth2ClientCommand_1 = require("./commands/CreatePbxOAuth2Client
|
|
|
16
16
|
const DeletePbxAclGroupCommand_1 = require("./commands/DeletePbxAclGroupCommand");
|
|
17
17
|
const DeletePbxColleagueCommand_1 = require("./commands/DeletePbxColleagueCommand");
|
|
18
18
|
const DeletePbxOAuth2ClientCommand_1 = require("./commands/DeletePbxOAuth2ClientCommand");
|
|
19
|
+
const GetCallQueuesSettingsCommand_1 = require("./commands/GetCallQueuesSettingsCommand");
|
|
19
20
|
const GetColleagueByIdCommand_1 = require("./commands/GetColleagueByIdCommand");
|
|
20
21
|
const GetPbxAclGroupsPermissionsCommand_1 = require("./commands/GetPbxAclGroupsPermissionsCommand");
|
|
21
22
|
const GetPbxCallGroupsCommand_1 = require("./commands/GetPbxCallGroupsCommand");
|
|
@@ -46,6 +47,7 @@ const commands = {
|
|
|
46
47
|
DeletePbxAclGroupCommand: DeletePbxAclGroupCommand_1.DeletePbxAclGroupCommand,
|
|
47
48
|
DeletePbxColleagueCommand: DeletePbxColleagueCommand_1.DeletePbxColleagueCommand,
|
|
48
49
|
DeletePbxOAuth2ClientCommand: DeletePbxOAuth2ClientCommand_1.DeletePbxOAuth2ClientCommand,
|
|
50
|
+
GetCallQueuesSettingsCommand: GetCallQueuesSettingsCommand_1.GetCallQueuesSettingsCommand,
|
|
49
51
|
GetColleagueByIdCommand: GetColleagueByIdCommand_1.GetColleagueByIdCommand,
|
|
50
52
|
GetPbxAclGroupsPermissionsCommand: GetPbxAclGroupsPermissionsCommand_1.GetPbxAclGroupsPermissionsCommand,
|
|
51
53
|
GetPbxCallGroupsCommand: GetPbxCallGroupsCommand_1.GetPbxCallGroupsCommand,
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetCallQueuesSettingsCommand = 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 GetCallQueuesSettingsCommand 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", "GetCallQueuesSettings", {})
|
|
15
|
+
.n("WmsApiClient", "GetCallQueuesSettingsCommand")
|
|
16
|
+
.f(void 0, void 0)
|
|
17
|
+
.ser(Aws_restJson1_1.se_GetCallQueuesSettingsCommand)
|
|
18
|
+
.de(Aws_restJson1_1.de_GetCallQueuesSettingsCommand)
|
|
19
|
+
.build() {
|
|
20
|
+
}
|
|
21
|
+
exports.GetCallQueuesSettingsCommand = GetCallQueuesSettingsCommand;
|
|
@@ -15,6 +15,7 @@ tslib_1.__exportStar(require("./CreatePbxOAuth2ClientCommand"), exports);
|
|
|
15
15
|
tslib_1.__exportStar(require("./DeletePbxAclGroupCommand"), exports);
|
|
16
16
|
tslib_1.__exportStar(require("./DeletePbxColleagueCommand"), exports);
|
|
17
17
|
tslib_1.__exportStar(require("./DeletePbxOAuth2ClientCommand"), exports);
|
|
18
|
+
tslib_1.__exportStar(require("./GetCallQueuesSettingsCommand"), exports);
|
|
18
19
|
tslib_1.__exportStar(require("./GetColleagueByIdCommand"), exports);
|
|
19
20
|
tslib_1.__exportStar(require("./GetPbxAclGroupsPermissionsCommand"), exports);
|
|
20
21
|
tslib_1.__exportStar(require("./GetPbxCallGroupsCommand"), exports);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.de_UpdatePbxOAuth2ClientCommand = exports.de_ReloadBroadcastsCommand = exports.de_OriginateCallCommand = exports.de_OriginateCommand = exports.de_NotificationsCommand = exports.de_ListUserDevicesCommand = void 0;
|
|
3
|
+
exports.de_GetPbxOAuth2ClientsCommand = exports.de_GetPbxesCommand = exports.de_GetPbxColleaguesCommand = exports.de_GetPbxCallGroupsCommand = exports.de_GetPbxAclGroupsPermissionsCommand = exports.de_GetColleagueByIdCommand = exports.de_GetCallQueuesSettingsCommand = exports.de_DeletePbxOAuth2ClientCommand = exports.de_DeletePbxColleagueCommand = exports.de_DeletePbxAclGroupCommand = exports.de_CreatePbxOAuth2ClientCommand = exports.de_CreatePbxColleagueCommand = exports.de_CreatePbxAclGroupCommand = exports.de_CallControlUpdateContactInfoCommand = exports.de_CallControlUnholdCommand = exports.de_CallControlMakeCallCommand = exports.de_CallControlHoldCommand = exports.de_CallControlHangupCommand = exports.de_CallControlBlindTransferCommand = exports.de_CallControlAttendantTransferCommand = exports.de_CallControlAnswerCommand = exports.se_UpdatePbxOAuth2ClientCommand = exports.se_ReloadBroadcastsCommand = exports.se_OriginateCallCommand = exports.se_OriginateCommand = exports.se_NotificationsCommand = exports.se_ListUserDevicesCommand = exports.se_ListUserActiveCallsCommand = exports.se_GetPersonalInfoCommand = exports.se_GetPbxOAuth2ClientsCommand = exports.se_GetPbxesCommand = exports.se_GetPbxColleaguesCommand = exports.se_GetPbxCallGroupsCommand = exports.se_GetPbxAclGroupsPermissionsCommand = exports.se_GetColleagueByIdCommand = exports.se_GetCallQueuesSettingsCommand = exports.se_DeletePbxOAuth2ClientCommand = exports.se_DeletePbxColleagueCommand = exports.se_DeletePbxAclGroupCommand = exports.se_CreatePbxOAuth2ClientCommand = exports.se_CreatePbxColleagueCommand = exports.se_CreatePbxAclGroupCommand = exports.se_CallControlUpdateContactInfoCommand = exports.se_CallControlUnholdCommand = exports.se_CallControlMakeCallCommand = exports.se_CallControlHoldCommand = exports.se_CallControlHangupCommand = exports.se_CallControlBlindTransferCommand = exports.se_CallControlAttendantTransferCommand = exports.se_CallControlAnswerCommand = void 0;
|
|
4
|
+
exports.de_UpdatePbxOAuth2ClientCommand = exports.de_ReloadBroadcastsCommand = exports.de_OriginateCallCommand = exports.de_OriginateCommand = exports.de_NotificationsCommand = exports.de_ListUserDevicesCommand = exports.de_ListUserActiveCallsCommand = exports.de_GetPersonalInfoCommand = void 0;
|
|
5
5
|
const WmsApiServiceException_1 = require("../models/WmsApiServiceException");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const core_1 = require("@aws-sdk/core");
|
|
@@ -278,6 +278,18 @@ const se_DeletePbxOAuth2ClientCommand = async (input, context) => {
|
|
|
278
278
|
return b.build();
|
|
279
279
|
};
|
|
280
280
|
exports.se_DeletePbxOAuth2ClientCommand = se_DeletePbxOAuth2ClientCommand;
|
|
281
|
+
const se_GetCallQueuesSettingsCommand = async (input, context) => {
|
|
282
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
283
|
+
const headers = {};
|
|
284
|
+
b.bp("/api/v1/pbx/settings/callqueues/{groupId}");
|
|
285
|
+
b.p('groupId', () => input.groupId.toString(), '{groupId}', false);
|
|
286
|
+
let body;
|
|
287
|
+
b.m("GET")
|
|
288
|
+
.h(headers)
|
|
289
|
+
.b(body);
|
|
290
|
+
return b.build();
|
|
291
|
+
};
|
|
292
|
+
exports.se_GetCallQueuesSettingsCommand = se_GetCallQueuesSettingsCommand;
|
|
281
293
|
const se_GetColleagueByIdCommand = async (input, context) => {
|
|
282
294
|
const b = (0, core_2.requestBuilder)(input, context);
|
|
283
295
|
const headers = {};
|
|
@@ -757,6 +769,22 @@ const de_DeletePbxOAuth2ClientCommand = async (output, context) => {
|
|
|
757
769
|
return contents;
|
|
758
770
|
};
|
|
759
771
|
exports.de_DeletePbxOAuth2ClientCommand = de_DeletePbxOAuth2ClientCommand;
|
|
772
|
+
const de_GetCallQueuesSettingsCommand = async (output, context) => {
|
|
773
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
774
|
+
return de_CommandError(output, context);
|
|
775
|
+
}
|
|
776
|
+
const contents = (0, smithy_client_1.map)({
|
|
777
|
+
$metadata: deserializeMetadata(output),
|
|
778
|
+
});
|
|
779
|
+
const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
|
|
780
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
781
|
+
'result': smithy_client_1._json,
|
|
782
|
+
'type': smithy_client_1.expectString,
|
|
783
|
+
});
|
|
784
|
+
Object.assign(contents, doc);
|
|
785
|
+
return contents;
|
|
786
|
+
};
|
|
787
|
+
exports.de_GetCallQueuesSettingsCommand = de_GetCallQueuesSettingsCommand;
|
|
760
788
|
const de_GetColleagueByIdCommand = async (output, context) => {
|
|
761
789
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
762
790
|
return de_CommandError(output, context);
|
package/dist-es/WmsApi.js
CHANGED
|
@@ -13,6 +13,7 @@ import { CreatePbxOAuth2ClientCommand, } from "./commands/CreatePbxOAuth2ClientC
|
|
|
13
13
|
import { DeletePbxAclGroupCommand, } from "./commands/DeletePbxAclGroupCommand";
|
|
14
14
|
import { DeletePbxColleagueCommand, } from "./commands/DeletePbxColleagueCommand";
|
|
15
15
|
import { DeletePbxOAuth2ClientCommand, } from "./commands/DeletePbxOAuth2ClientCommand";
|
|
16
|
+
import { GetCallQueuesSettingsCommand, } from "./commands/GetCallQueuesSettingsCommand";
|
|
16
17
|
import { GetColleagueByIdCommand, } from "./commands/GetColleagueByIdCommand";
|
|
17
18
|
import { GetPbxAclGroupsPermissionsCommand, } from "./commands/GetPbxAclGroupsPermissionsCommand";
|
|
18
19
|
import { GetPbxCallGroupsCommand, } from "./commands/GetPbxCallGroupsCommand";
|
|
@@ -43,6 +44,7 @@ const commands = {
|
|
|
43
44
|
DeletePbxAclGroupCommand,
|
|
44
45
|
DeletePbxColleagueCommand,
|
|
45
46
|
DeletePbxOAuth2ClientCommand,
|
|
47
|
+
GetCallQueuesSettingsCommand,
|
|
46
48
|
GetColleagueByIdCommand,
|
|
47
49
|
GetPbxAclGroupsPermissionsCommand,
|
|
48
50
|
GetPbxCallGroupsCommand,
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { de_GetCallQueuesSettingsCommand, se_GetCallQueuesSettingsCommand, } from "../protocols/Aws_restJson1";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
export { $Command };
|
|
5
|
+
export class GetCallQueuesSettingsCommand extends $Command.classBuilder()
|
|
6
|
+
.m(function (Command, cs, config, o) {
|
|
7
|
+
return [
|
|
8
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
9
|
+
];
|
|
10
|
+
})
|
|
11
|
+
.s("WmsApi", "GetCallQueuesSettings", {})
|
|
12
|
+
.n("WmsApiClient", "GetCallQueuesSettingsCommand")
|
|
13
|
+
.f(void 0, void 0)
|
|
14
|
+
.ser(se_GetCallQueuesSettingsCommand)
|
|
15
|
+
.de(de_GetCallQueuesSettingsCommand)
|
|
16
|
+
.build() {
|
|
17
|
+
}
|
|
@@ -12,6 +12,7 @@ export * from "./CreatePbxOAuth2ClientCommand";
|
|
|
12
12
|
export * from "./DeletePbxAclGroupCommand";
|
|
13
13
|
export * from "./DeletePbxColleagueCommand";
|
|
14
14
|
export * from "./DeletePbxOAuth2ClientCommand";
|
|
15
|
+
export * from "./GetCallQueuesSettingsCommand";
|
|
15
16
|
export * from "./GetColleagueByIdCommand";
|
|
16
17
|
export * from "./GetPbxAclGroupsPermissionsCommand";
|
|
17
18
|
export * from "./GetPbxCallGroupsCommand";
|
|
@@ -260,6 +260,17 @@ export const se_DeletePbxOAuth2ClientCommand = async (input, context) => {
|
|
|
260
260
|
.b(body);
|
|
261
261
|
return b.build();
|
|
262
262
|
};
|
|
263
|
+
export const se_GetCallQueuesSettingsCommand = async (input, context) => {
|
|
264
|
+
const b = rb(input, context);
|
|
265
|
+
const headers = {};
|
|
266
|
+
b.bp("/api/v1/pbx/settings/callqueues/{groupId}");
|
|
267
|
+
b.p('groupId', () => input.groupId.toString(), '{groupId}', false);
|
|
268
|
+
let body;
|
|
269
|
+
b.m("GET")
|
|
270
|
+
.h(headers)
|
|
271
|
+
.b(body);
|
|
272
|
+
return b.build();
|
|
273
|
+
};
|
|
263
274
|
export const se_GetColleagueByIdCommand = async (input, context) => {
|
|
264
275
|
const b = rb(input, context);
|
|
265
276
|
const headers = {};
|
|
@@ -711,6 +722,21 @@ export const de_DeletePbxOAuth2ClientCommand = async (output, context) => {
|
|
|
711
722
|
Object.assign(contents, doc);
|
|
712
723
|
return contents;
|
|
713
724
|
};
|
|
725
|
+
export const de_GetCallQueuesSettingsCommand = async (output, context) => {
|
|
726
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
727
|
+
return de_CommandError(output, context);
|
|
728
|
+
}
|
|
729
|
+
const contents = map({
|
|
730
|
+
$metadata: deserializeMetadata(output),
|
|
731
|
+
});
|
|
732
|
+
const data = __expectNonNull((__expectObject(await parseBody(output.body, context))), "body");
|
|
733
|
+
const doc = take(data, {
|
|
734
|
+
'result': _json,
|
|
735
|
+
'type': __expectString,
|
|
736
|
+
});
|
|
737
|
+
Object.assign(contents, doc);
|
|
738
|
+
return contents;
|
|
739
|
+
};
|
|
714
740
|
export const de_GetColleagueByIdCommand = async (output, context) => {
|
|
715
741
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
716
742
|
return de_CommandError(output, context);
|
package/dist-types/WmsApi.d.ts
CHANGED
|
@@ -13,6 +13,7 @@ import { CreatePbxOAuth2ClientCommandInput, CreatePbxOAuth2ClientCommandOutput }
|
|
|
13
13
|
import { DeletePbxAclGroupCommandInput, DeletePbxAclGroupCommandOutput } from "./commands/DeletePbxAclGroupCommand";
|
|
14
14
|
import { DeletePbxColleagueCommandInput, DeletePbxColleagueCommandOutput } from "./commands/DeletePbxColleagueCommand";
|
|
15
15
|
import { DeletePbxOAuth2ClientCommandInput, DeletePbxOAuth2ClientCommandOutput } from "./commands/DeletePbxOAuth2ClientCommand";
|
|
16
|
+
import { GetCallQueuesSettingsCommandInput, GetCallQueuesSettingsCommandOutput } from "./commands/GetCallQueuesSettingsCommand";
|
|
16
17
|
import { GetColleagueByIdCommandInput, GetColleagueByIdCommandOutput } from "./commands/GetColleagueByIdCommand";
|
|
17
18
|
import { GetPbxAclGroupsPermissionsCommandInput, GetPbxAclGroupsPermissionsCommandOutput } from "./commands/GetPbxAclGroupsPermissionsCommand";
|
|
18
19
|
import { GetPbxCallGroupsCommandInput, GetPbxCallGroupsCommandOutput } from "./commands/GetPbxCallGroupsCommand";
|
|
@@ -113,6 +114,12 @@ export interface WmsApi {
|
|
|
113
114
|
deletePbxOAuth2Client(args: DeletePbxOAuth2ClientCommandInput, options?: __HttpHandlerOptions): Promise<DeletePbxOAuth2ClientCommandOutput>;
|
|
114
115
|
deletePbxOAuth2Client(args: DeletePbxOAuth2ClientCommandInput, cb: (err: any, data?: DeletePbxOAuth2ClientCommandOutput) => void): void;
|
|
115
116
|
deletePbxOAuth2Client(args: DeletePbxOAuth2ClientCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeletePbxOAuth2ClientCommandOutput) => void): void;
|
|
117
|
+
/**
|
|
118
|
+
* @see {@link GetCallQueuesSettingsCommand}
|
|
119
|
+
*/
|
|
120
|
+
getCallQueuesSettings(args: GetCallQueuesSettingsCommandInput, options?: __HttpHandlerOptions): Promise<GetCallQueuesSettingsCommandOutput>;
|
|
121
|
+
getCallQueuesSettings(args: GetCallQueuesSettingsCommandInput, cb: (err: any, data?: GetCallQueuesSettingsCommandOutput) => void): void;
|
|
122
|
+
getCallQueuesSettings(args: GetCallQueuesSettingsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetCallQueuesSettingsCommandOutput) => void): void;
|
|
116
123
|
/**
|
|
117
124
|
* @see {@link GetColleagueByIdCommand}
|
|
118
125
|
*/
|
|
@@ -12,6 +12,7 @@ import { CreatePbxOAuth2ClientCommandInput, CreatePbxOAuth2ClientCommandOutput }
|
|
|
12
12
|
import { DeletePbxAclGroupCommandInput, DeletePbxAclGroupCommandOutput } from "./commands/DeletePbxAclGroupCommand";
|
|
13
13
|
import { DeletePbxColleagueCommandInput, DeletePbxColleagueCommandOutput } from "./commands/DeletePbxColleagueCommand";
|
|
14
14
|
import { DeletePbxOAuth2ClientCommandInput, DeletePbxOAuth2ClientCommandOutput } from "./commands/DeletePbxOAuth2ClientCommand";
|
|
15
|
+
import { GetCallQueuesSettingsCommandInput, GetCallQueuesSettingsCommandOutput } from "./commands/GetCallQueuesSettingsCommand";
|
|
15
16
|
import { GetColleagueByIdCommandInput, GetColleagueByIdCommandOutput } from "./commands/GetColleagueByIdCommand";
|
|
16
17
|
import { GetPbxAclGroupsPermissionsCommandInput, GetPbxAclGroupsPermissionsCommandOutput } from "./commands/GetPbxAclGroupsPermissionsCommand";
|
|
17
18
|
import { GetPbxCallGroupsCommandInput, GetPbxCallGroupsCommandOutput } from "./commands/GetPbxCallGroupsCommand";
|
|
@@ -37,11 +38,11 @@ export { __Client };
|
|
|
37
38
|
/**
|
|
38
39
|
* @public
|
|
39
40
|
*/
|
|
40
|
-
export type ServiceInputTypes = CallControlAnswerCommandInput | CallControlAttendantTransferCommandInput | CallControlBlindTransferCommandInput | CallControlHangupCommandInput | CallControlHoldCommandInput | CallControlMakeCallCommandInput | CallControlUnholdCommandInput | CallControlUpdateContactInfoCommandInput | CreatePbxAclGroupCommandInput | CreatePbxColleagueCommandInput | CreatePbxOAuth2ClientCommandInput | DeletePbxAclGroupCommandInput | DeletePbxColleagueCommandInput | DeletePbxOAuth2ClientCommandInput | GetColleagueByIdCommandInput | GetPbxAclGroupsPermissionsCommandInput | GetPbxCallGroupsCommandInput | GetPbxColleaguesCommandInput | GetPbxOAuth2ClientsCommandInput | GetPbxesCommandInput | GetPersonalInfoCommandInput | ListUserActiveCallsCommandInput | ListUserDevicesCommandInput | NotificationsCommandInput | OriginateCallCommandInput | OriginateCommandInput | ReloadBroadcastsCommandInput | UpdatePbxOAuth2ClientCommandInput;
|
|
41
|
+
export type ServiceInputTypes = CallControlAnswerCommandInput | CallControlAttendantTransferCommandInput | CallControlBlindTransferCommandInput | CallControlHangupCommandInput | CallControlHoldCommandInput | CallControlMakeCallCommandInput | CallControlUnholdCommandInput | CallControlUpdateContactInfoCommandInput | CreatePbxAclGroupCommandInput | CreatePbxColleagueCommandInput | CreatePbxOAuth2ClientCommandInput | DeletePbxAclGroupCommandInput | DeletePbxColleagueCommandInput | DeletePbxOAuth2ClientCommandInput | GetCallQueuesSettingsCommandInput | GetColleagueByIdCommandInput | GetPbxAclGroupsPermissionsCommandInput | GetPbxCallGroupsCommandInput | GetPbxColleaguesCommandInput | GetPbxOAuth2ClientsCommandInput | GetPbxesCommandInput | GetPersonalInfoCommandInput | ListUserActiveCallsCommandInput | ListUserDevicesCommandInput | NotificationsCommandInput | OriginateCallCommandInput | OriginateCommandInput | ReloadBroadcastsCommandInput | UpdatePbxOAuth2ClientCommandInput;
|
|
41
42
|
/**
|
|
42
43
|
* @public
|
|
43
44
|
*/
|
|
44
|
-
export type ServiceOutputTypes = CallControlAnswerCommandOutput | CallControlAttendantTransferCommandOutput | CallControlBlindTransferCommandOutput | CallControlHangupCommandOutput | CallControlHoldCommandOutput | CallControlMakeCallCommandOutput | CallControlUnholdCommandOutput | CallControlUpdateContactInfoCommandOutput | CreatePbxAclGroupCommandOutput | CreatePbxColleagueCommandOutput | CreatePbxOAuth2ClientCommandOutput | DeletePbxAclGroupCommandOutput | DeletePbxColleagueCommandOutput | DeletePbxOAuth2ClientCommandOutput | GetColleagueByIdCommandOutput | GetPbxAclGroupsPermissionsCommandOutput | GetPbxCallGroupsCommandOutput | GetPbxColleaguesCommandOutput | GetPbxOAuth2ClientsCommandOutput | GetPbxesCommandOutput | GetPersonalInfoCommandOutput | ListUserActiveCallsCommandOutput | ListUserDevicesCommandOutput | NotificationsCommandOutput | OriginateCallCommandOutput | OriginateCommandOutput | ReloadBroadcastsCommandOutput | UpdatePbxOAuth2ClientCommandOutput;
|
|
45
|
+
export type ServiceOutputTypes = CallControlAnswerCommandOutput | CallControlAttendantTransferCommandOutput | CallControlBlindTransferCommandOutput | CallControlHangupCommandOutput | CallControlHoldCommandOutput | CallControlMakeCallCommandOutput | CallControlUnholdCommandOutput | CallControlUpdateContactInfoCommandOutput | CreatePbxAclGroupCommandOutput | CreatePbxColleagueCommandOutput | CreatePbxOAuth2ClientCommandOutput | DeletePbxAclGroupCommandOutput | DeletePbxColleagueCommandOutput | DeletePbxOAuth2ClientCommandOutput | GetCallQueuesSettingsCommandOutput | GetColleagueByIdCommandOutput | GetPbxAclGroupsPermissionsCommandOutput | GetPbxCallGroupsCommandOutput | GetPbxColleaguesCommandOutput | GetPbxOAuth2ClientsCommandOutput | GetPbxesCommandOutput | GetPersonalInfoCommandOutput | ListUserActiveCallsCommandOutput | ListUserDevicesCommandOutput | NotificationsCommandOutput | OriginateCallCommandOutput | OriginateCommandOutput | ReloadBroadcastsCommandOutput | UpdatePbxOAuth2ClientCommandOutput;
|
|
45
46
|
/**
|
|
46
47
|
* @public
|
|
47
48
|
*/
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
import { ServiceInputTypes, ServiceOutputTypes, WmsApiClientResolvedConfig } from "../WmsApiClient";
|
|
2
|
+
import { GetCallQueuesSettingsInput, GetCallQueuesSettingsOutput } from "../models/models_0";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link GetCallQueuesSettingsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetCallQueuesSettingsCommandInput extends GetCallQueuesSettingsInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetCallQueuesSettingsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetCallQueuesSettingsCommandOutput extends GetCallQueuesSettingsOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const GetCallQueuesSettingsCommand_base: {
|
|
25
|
+
new (input: GetCallQueuesSettingsCommandInput): import("@smithy/smithy-client").CommandImpl<GetCallQueuesSettingsCommandInput, GetCallQueuesSettingsCommandOutput, WmsApiClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: GetCallQueuesSettingsCommandInput): import("@smithy/smithy-client").CommandImpl<GetCallQueuesSettingsCommandInput, GetCallQueuesSettingsCommandOutput, WmsApiClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Get the settings of a specific Call group on the PBX.
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { WmsApiClient, GetCallQueuesSettingsCommand } from "@wildix/wms-api-client"; // ES Modules import
|
|
35
|
+
* // const { WmsApiClient, GetCallQueuesSettingsCommand } = require("@wildix/wms-api-client"); // CommonJS import
|
|
36
|
+
* const client = new WmsApiClient(config);
|
|
37
|
+
* const input = { // GetCallQueuesSettingsInput
|
|
38
|
+
* groupId: Number("int"), // required
|
|
39
|
+
* };
|
|
40
|
+
* const command = new GetCallQueuesSettingsCommand(input);
|
|
41
|
+
* const response = await client.send(command);
|
|
42
|
+
* // { // GetCallQueuesSettingsOutput
|
|
43
|
+
* // type: "result" || "error", // required
|
|
44
|
+
* // result: { // GetCallQueuesSettingsResult
|
|
45
|
+
* // id: Number("int"), // required
|
|
46
|
+
* // name: "STRING_VALUE", // required
|
|
47
|
+
* // members: [ // CallQueuesSettingsMembersList // required
|
|
48
|
+
* // { // CallQueuesSettingsMember
|
|
49
|
+
* // name: "STRING_VALUE", // required
|
|
50
|
+
* // stateInterface: "STRING_VALUE", // required
|
|
51
|
+
* // membership: "STRING_VALUE", // required
|
|
52
|
+
* // penalty: "STRING_VALUE", // required
|
|
53
|
+
* // callsTaken: "STRING_VALUE", // required
|
|
54
|
+
* // lastCall: "STRING_VALUE", // required
|
|
55
|
+
* // isInCall: "STRING_VALUE", // required
|
|
56
|
+
* // status: "STRING_VALUE", // required
|
|
57
|
+
* // paused: "STRING_VALUE", // required
|
|
58
|
+
* // actionID: "STRING_VALUE", // required
|
|
59
|
+
* // },
|
|
60
|
+
* // ],
|
|
61
|
+
* // },
|
|
62
|
+
* // };
|
|
63
|
+
*
|
|
64
|
+
* ```
|
|
65
|
+
*
|
|
66
|
+
* @param GetCallQueuesSettingsCommandInput - {@link GetCallQueuesSettingsCommandInput}
|
|
67
|
+
* @returns {@link GetCallQueuesSettingsCommandOutput}
|
|
68
|
+
* @see {@link GetCallQueuesSettingsCommandInput} for command's `input` shape.
|
|
69
|
+
* @see {@link GetCallQueuesSettingsCommandOutput} for command's `response` shape.
|
|
70
|
+
* @see {@link WmsApiClientResolvedConfig | config} for WmsApiClient's `config` shape.
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link WmsUnauthorizedException} (client fault)
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link WmsForbiddenException} (client fault)
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link WmsApiServiceException}
|
|
77
|
+
* <p>Base exception class for all service exceptions from WmsApi service.</p>
|
|
78
|
+
*
|
|
79
|
+
*
|
|
80
|
+
* @public
|
|
81
|
+
*/
|
|
82
|
+
export declare class GetCallQueuesSettingsCommand extends GetCallQueuesSettingsCommand_base {
|
|
83
|
+
/** @internal type navigation helper, not in runtime. */
|
|
84
|
+
protected static __types: {
|
|
85
|
+
api: {
|
|
86
|
+
input: GetCallQueuesSettingsInput;
|
|
87
|
+
output: GetCallQueuesSettingsOutput;
|
|
88
|
+
};
|
|
89
|
+
sdk: {
|
|
90
|
+
input: GetCallQueuesSettingsCommandInput;
|
|
91
|
+
output: GetCallQueuesSettingsCommandOutput;
|
|
92
|
+
};
|
|
93
|
+
};
|
|
94
|
+
}
|
|
@@ -12,6 +12,7 @@ export * from "./CreatePbxOAuth2ClientCommand";
|
|
|
12
12
|
export * from "./DeletePbxAclGroupCommand";
|
|
13
13
|
export * from "./DeletePbxColleagueCommand";
|
|
14
14
|
export * from "./DeletePbxOAuth2ClientCommand";
|
|
15
|
+
export * from "./GetCallQueuesSettingsCommand";
|
|
15
16
|
export * from "./GetColleagueByIdCommand";
|
|
16
17
|
export * from "./GetPbxAclGroupsPermissionsCommand";
|
|
17
18
|
export * from "./GetPbxCallGroupsCommand";
|
|
@@ -376,6 +376,21 @@ export interface CallControlUpdateContactInfoOutput {
|
|
|
376
376
|
*/
|
|
377
377
|
message?: string | undefined;
|
|
378
378
|
}
|
|
379
|
+
/**
|
|
380
|
+
* @public
|
|
381
|
+
*/
|
|
382
|
+
export interface CallQueuesSettingsMember {
|
|
383
|
+
name: string;
|
|
384
|
+
stateInterface: string;
|
|
385
|
+
membership: string;
|
|
386
|
+
penalty: string;
|
|
387
|
+
callsTaken: string;
|
|
388
|
+
lastCall: string;
|
|
389
|
+
isInCall: string;
|
|
390
|
+
status: string;
|
|
391
|
+
paused: string;
|
|
392
|
+
actionID: string;
|
|
393
|
+
}
|
|
379
394
|
/**
|
|
380
395
|
* @public
|
|
381
396
|
*/
|
|
@@ -585,6 +600,27 @@ export interface UserDevice {
|
|
|
585
600
|
contact: string;
|
|
586
601
|
active: boolean;
|
|
587
602
|
}
|
|
603
|
+
/**
|
|
604
|
+
* @public
|
|
605
|
+
*/
|
|
606
|
+
export interface GetCallQueuesSettingsInput {
|
|
607
|
+
groupId: number;
|
|
608
|
+
}
|
|
609
|
+
/**
|
|
610
|
+
* @public
|
|
611
|
+
*/
|
|
612
|
+
export interface GetCallQueuesSettingsResult {
|
|
613
|
+
id: number;
|
|
614
|
+
name: string;
|
|
615
|
+
members: (CallQueuesSettingsMember)[];
|
|
616
|
+
}
|
|
617
|
+
/**
|
|
618
|
+
* @public
|
|
619
|
+
*/
|
|
620
|
+
export interface GetCallQueuesSettingsOutput {
|
|
621
|
+
type: ResponseType;
|
|
622
|
+
result: GetCallQueuesSettingsResult;
|
|
623
|
+
}
|
|
588
624
|
/**
|
|
589
625
|
* @public
|
|
590
626
|
*/
|
|
@@ -12,6 +12,7 @@ import { CreatePbxOAuth2ClientCommandInput, CreatePbxOAuth2ClientCommandOutput }
|
|
|
12
12
|
import { DeletePbxAclGroupCommandInput, DeletePbxAclGroupCommandOutput } from "../commands/DeletePbxAclGroupCommand";
|
|
13
13
|
import { DeletePbxColleagueCommandInput, DeletePbxColleagueCommandOutput } from "../commands/DeletePbxColleagueCommand";
|
|
14
14
|
import { DeletePbxOAuth2ClientCommandInput, DeletePbxOAuth2ClientCommandOutput } from "../commands/DeletePbxOAuth2ClientCommand";
|
|
15
|
+
import { GetCallQueuesSettingsCommandInput, GetCallQueuesSettingsCommandOutput } from "../commands/GetCallQueuesSettingsCommand";
|
|
15
16
|
import { GetColleagueByIdCommandInput, GetColleagueByIdCommandOutput } from "../commands/GetColleagueByIdCommand";
|
|
16
17
|
import { GetPbxAclGroupsPermissionsCommandInput, GetPbxAclGroupsPermissionsCommandOutput } from "../commands/GetPbxAclGroupsPermissionsCommand";
|
|
17
18
|
import { GetPbxCallGroupsCommandInput, GetPbxCallGroupsCommandOutput } from "../commands/GetPbxCallGroupsCommand";
|
|
@@ -84,6 +85,10 @@ export declare const se_DeletePbxColleagueCommand: (input: DeletePbxColleagueCom
|
|
|
84
85
|
* serializeAws_restJson1DeletePbxOAuth2ClientCommand
|
|
85
86
|
*/
|
|
86
87
|
export declare const se_DeletePbxOAuth2ClientCommand: (input: DeletePbxOAuth2ClientCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
88
|
+
/**
|
|
89
|
+
* serializeAws_restJson1GetCallQueuesSettingsCommand
|
|
90
|
+
*/
|
|
91
|
+
export declare const se_GetCallQueuesSettingsCommand: (input: GetCallQueuesSettingsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
87
92
|
/**
|
|
88
93
|
* serializeAws_restJson1GetColleagueByIdCommand
|
|
89
94
|
*/
|
|
@@ -196,6 +201,10 @@ export declare const de_DeletePbxColleagueCommand: (output: __HttpResponse, cont
|
|
|
196
201
|
* deserializeAws_restJson1DeletePbxOAuth2ClientCommand
|
|
197
202
|
*/
|
|
198
203
|
export declare const de_DeletePbxOAuth2ClientCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeletePbxOAuth2ClientCommandOutput>;
|
|
204
|
+
/**
|
|
205
|
+
* deserializeAws_restJson1GetCallQueuesSettingsCommand
|
|
206
|
+
*/
|
|
207
|
+
export declare const de_GetCallQueuesSettingsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetCallQueuesSettingsCommandOutput>;
|
|
199
208
|
/**
|
|
200
209
|
* deserializeAws_restJson1GetColleagueByIdCommand
|
|
201
210
|
*/
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wildix/wms-api-client",
|
|
3
3
|
"description": "@wildix/wms-api-client client",
|
|
4
|
-
"version": "1.1.
|
|
4
|
+
"version": "1.1.29",
|
|
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",
|
|
@@ -80,4 +80,4 @@
|
|
|
80
80
|
"react-native": {
|
|
81
81
|
"./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native"
|
|
82
82
|
}
|
|
83
|
-
}
|
|
83
|
+
}
|