@wildix/wms-api-client 1.0.1 → 1.0.3

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.
@@ -3,10 +3,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.WmsApi = void 0;
4
4
  const WmsApiClient_1 = require("./WmsApiClient");
5
5
  const GetPbxAclGroupsPermissionsCommand_1 = require("./commands/GetPbxAclGroupsPermissionsCommand");
6
+ const GetPbxCallGroupsCommand_1 = require("./commands/GetPbxCallGroupsCommand");
6
7
  const GetPbxColleaguesCommand_1 = require("./commands/GetPbxColleaguesCommand");
7
8
  const smithy_client_1 = require("@smithy/smithy-client");
8
9
  const commands = {
9
10
  GetPbxAclGroupsPermissionsCommand: GetPbxAclGroupsPermissionsCommand_1.GetPbxAclGroupsPermissionsCommand,
11
+ GetPbxCallGroupsCommand: GetPbxCallGroupsCommand_1.GetPbxCallGroupsCommand,
10
12
  GetPbxColleaguesCommand: GetPbxColleaguesCommand_1.GetPbxColleaguesCommand,
11
13
  };
12
14
  class WmsApi extends WmsApiClient_1.WmsApiClient {
@@ -0,0 +1,41 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GetPbxCallGroupsCommand = 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
+ const types_1 = require("@smithy/types");
9
+ class GetPbxCallGroupsCommand extends smithy_client_1.Command {
10
+ constructor(input) {
11
+ super();
12
+ this.input = input;
13
+ }
14
+ resolveMiddleware(clientStack, configuration, options) {
15
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
16
+ const stack = clientStack.concat(this.middlewareStack);
17
+ const { logger } = configuration;
18
+ const clientName = "WmsApiClient";
19
+ const commandName = "GetPbxCallGroupsCommand";
20
+ const handlerExecutionContext = {
21
+ logger,
22
+ clientName,
23
+ commandName,
24
+ inputFilterSensitiveLog: (_) => _,
25
+ outputFilterSensitiveLog: (_) => _,
26
+ [types_1.SMITHY_CONTEXT_KEY]: {
27
+ service: "WmsApi",
28
+ operation: "GetPbxCallGroups",
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_GetPbxCallGroupsCommand)(input, context);
36
+ }
37
+ deserialize(output, context) {
38
+ return (0, Aws_restJson1_1.de_GetPbxCallGroupsCommand)(output, context);
39
+ }
40
+ }
41
+ exports.GetPbxCallGroupsCommand = GetPbxCallGroupsCommand;
@@ -2,4 +2,5 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const tslib_1 = require("tslib");
4
4
  tslib_1.__exportStar(require("./GetPbxAclGroupsPermissionsCommand"), exports);
5
+ tslib_1.__exportStar(require("./GetPbxCallGroupsCommand"), exports);
5
6
  tslib_1.__exportStar(require("./GetPbxColleaguesCommand"), exports);
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.de_GetPbxColleaguesCommand = exports.de_GetPbxAclGroupsPermissionsCommand = exports.se_GetPbxColleaguesCommand = exports.se_GetPbxAclGroupsPermissionsCommand = void 0;
3
+ exports.de_GetPbxColleaguesCommand = exports.de_GetPbxCallGroupsCommand = exports.de_GetPbxAclGroupsPermissionsCommand = exports.se_GetPbxColleaguesCommand = exports.se_GetPbxCallGroupsCommand = exports.se_GetPbxAclGroupsPermissionsCommand = void 0;
4
4
  const WmsApiServiceException_1 = require("../models/WmsApiServiceException");
5
5
  const protocol_http_1 = require("@smithy/protocol-http");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
@@ -23,6 +23,25 @@ const se_GetPbxAclGroupsPermissionsCommand = async (input, context) => {
23
23
  });
24
24
  };
25
25
  exports.se_GetPbxAclGroupsPermissionsCommand = se_GetPbxAclGroupsPermissionsCommand;
26
+ const se_GetPbxCallGroupsCommand = async (input, context) => {
27
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
28
+ const headers = {
29
+ 'content-type': 'application/json',
30
+ };
31
+ let resolvedPath = `${basePath?.endsWith('/') ? basePath.slice(0, -1) : (basePath || '')}` + "/api/v1/Dialplan/CallGroups";
32
+ let body;
33
+ body = "";
34
+ return new protocol_http_1.HttpRequest({
35
+ protocol,
36
+ hostname,
37
+ port,
38
+ method: "GET",
39
+ headers,
40
+ path: resolvedPath,
41
+ body,
42
+ });
43
+ };
44
+ exports.se_GetPbxCallGroupsCommand = se_GetPbxCallGroupsCommand;
26
45
  const se_GetPbxColleaguesCommand = async (input, context) => {
27
46
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
28
47
  const headers = {};
@@ -93,6 +112,35 @@ const de_GetPbxAclGroupsPermissionsCommandError = async (output, context) => {
93
112
  errorCode
94
113
  });
95
114
  };
115
+ const de_GetPbxCallGroupsCommand = async (output, context) => {
116
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
117
+ return de_GetPbxCallGroupsCommandError(output, context);
118
+ }
119
+ const contents = (0, smithy_client_1.map)({
120
+ $metadata: deserializeMetadata(output),
121
+ });
122
+ const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await parseBody(output.body, context))), "body");
123
+ const doc = (0, smithy_client_1.take)(data, {
124
+ 'result': smithy_client_1._json,
125
+ 'type': smithy_client_1.expectString,
126
+ });
127
+ Object.assign(contents, doc);
128
+ return contents;
129
+ };
130
+ exports.de_GetPbxCallGroupsCommand = de_GetPbxCallGroupsCommand;
131
+ const de_GetPbxCallGroupsCommandError = async (output, context) => {
132
+ const parsedOutput = {
133
+ ...output,
134
+ body: await parseErrorBody(output.body, context)
135
+ };
136
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
137
+ const parsedBody = parsedOutput.body;
138
+ return throwDefaultError({
139
+ output,
140
+ parsedBody,
141
+ errorCode
142
+ });
143
+ };
96
144
  const de_GetPbxColleaguesCommand = async (output, context) => {
97
145
  if (output.statusCode !== 200 && output.statusCode >= 300) {
98
146
  return de_GetPbxColleaguesCommandError(output, context);
package/dist-es/WmsApi.js CHANGED
@@ -1,9 +1,11 @@
1
1
  import { WmsApiClient, } from "./WmsApiClient";
2
2
  import { GetPbxAclGroupsPermissionsCommand, } from "./commands/GetPbxAclGroupsPermissionsCommand";
3
+ import { GetPbxCallGroupsCommand, } from "./commands/GetPbxCallGroupsCommand";
3
4
  import { GetPbxColleaguesCommand, } from "./commands/GetPbxColleaguesCommand";
4
5
  import { createAggregatedClient } from "@smithy/smithy-client";
5
6
  const commands = {
6
7
  GetPbxAclGroupsPermissionsCommand,
8
+ GetPbxCallGroupsCommand,
7
9
  GetPbxColleaguesCommand,
8
10
  };
9
11
  export class WmsApi extends WmsApiClient {
@@ -0,0 +1,37 @@
1
+ import { de_GetPbxCallGroupsCommand, se_GetPbxCallGroupsCommand, } from "../protocols/Aws_restJson1";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
5
+ export { $Command };
6
+ export class GetPbxCallGroupsCommand extends $Command {
7
+ constructor(input) {
8
+ super();
9
+ this.input = input;
10
+ }
11
+ resolveMiddleware(clientStack, configuration, options) {
12
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
13
+ const stack = clientStack.concat(this.middlewareStack);
14
+ const { logger } = configuration;
15
+ const clientName = "WmsApiClient";
16
+ const commandName = "GetPbxCallGroupsCommand";
17
+ const handlerExecutionContext = {
18
+ logger,
19
+ clientName,
20
+ commandName,
21
+ inputFilterSensitiveLog: (_) => _,
22
+ outputFilterSensitiveLog: (_) => _,
23
+ [SMITHY_CONTEXT_KEY]: {
24
+ service: "WmsApi",
25
+ operation: "GetPbxCallGroups",
26
+ },
27
+ };
28
+ const { requestHandler } = configuration;
29
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
30
+ }
31
+ serialize(input, context) {
32
+ return se_GetPbxCallGroupsCommand(input, context);
33
+ }
34
+ deserialize(output, context) {
35
+ return de_GetPbxCallGroupsCommand(output, context);
36
+ }
37
+ }
@@ -1,2 +1,3 @@
1
1
  export * from "./GetPbxAclGroupsPermissionsCommand";
2
+ export * from "./GetPbxCallGroupsCommand";
2
3
  export * from "./GetPbxColleaguesCommand";
@@ -19,6 +19,24 @@ export const se_GetPbxAclGroupsPermissionsCommand = async (input, context) => {
19
19
  body,
20
20
  });
21
21
  };
22
+ export const se_GetPbxCallGroupsCommand = async (input, context) => {
23
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
24
+ const headers = {
25
+ 'content-type': 'application/json',
26
+ };
27
+ let resolvedPath = `${basePath?.endsWith('/') ? basePath.slice(0, -1) : (basePath || '')}` + "/api/v1/Dialplan/CallGroups";
28
+ let body;
29
+ body = "";
30
+ return new __HttpRequest({
31
+ protocol,
32
+ hostname,
33
+ port,
34
+ method: "GET",
35
+ headers,
36
+ path: resolvedPath,
37
+ body,
38
+ });
39
+ };
22
40
  export const se_GetPbxColleaguesCommand = async (input, context) => {
23
41
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
24
42
  const headers = {};
@@ -87,6 +105,34 @@ const de_GetPbxAclGroupsPermissionsCommandError = async (output, context) => {
87
105
  errorCode
88
106
  });
89
107
  };
108
+ export const de_GetPbxCallGroupsCommand = async (output, context) => {
109
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
110
+ return de_GetPbxCallGroupsCommandError(output, context);
111
+ }
112
+ const contents = map({
113
+ $metadata: deserializeMetadata(output),
114
+ });
115
+ const data = __expectNonNull((__expectObject(await parseBody(output.body, context))), "body");
116
+ const doc = take(data, {
117
+ 'result': _json,
118
+ 'type': __expectString,
119
+ });
120
+ Object.assign(contents, doc);
121
+ return contents;
122
+ };
123
+ const de_GetPbxCallGroupsCommandError = async (output, context) => {
124
+ const parsedOutput = {
125
+ ...output,
126
+ body: await parseErrorBody(output.body, context)
127
+ };
128
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
129
+ const parsedBody = parsedOutput.body;
130
+ return throwDefaultError({
131
+ output,
132
+ parsedBody,
133
+ errorCode
134
+ });
135
+ };
90
136
  export const de_GetPbxColleaguesCommand = async (output, context) => {
91
137
  if (output.statusCode !== 200 && output.statusCode >= 300) {
92
138
  return de_GetPbxColleaguesCommandError(output, context);
@@ -1,5 +1,6 @@
1
1
  import { WmsApiClient } from "./WmsApiClient";
2
2
  import { GetPbxAclGroupsPermissionsCommandInput, GetPbxAclGroupsPermissionsCommandOutput } from "./commands/GetPbxAclGroupsPermissionsCommand";
3
+ import { GetPbxCallGroupsCommandInput, GetPbxCallGroupsCommandOutput } from "./commands/GetPbxCallGroupsCommand";
3
4
  import { GetPbxColleaguesCommandInput, GetPbxColleaguesCommandOutput } from "./commands/GetPbxColleaguesCommand";
4
5
  import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
5
6
  export interface WmsApi {
@@ -9,6 +10,12 @@ export interface WmsApi {
9
10
  getPbxAclGroupsPermissions(args: GetPbxAclGroupsPermissionsCommandInput, options?: __HttpHandlerOptions): Promise<GetPbxAclGroupsPermissionsCommandOutput>;
10
11
  getPbxAclGroupsPermissions(args: GetPbxAclGroupsPermissionsCommandInput, cb: (err: any, data?: GetPbxAclGroupsPermissionsCommandOutput) => void): void;
11
12
  getPbxAclGroupsPermissions(args: GetPbxAclGroupsPermissionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetPbxAclGroupsPermissionsCommandOutput) => void): void;
13
+ /**
14
+ * @see {@link GetPbxCallGroupsCommand}
15
+ */
16
+ getPbxCallGroups(args: GetPbxCallGroupsCommandInput, options?: __HttpHandlerOptions): Promise<GetPbxCallGroupsCommandOutput>;
17
+ getPbxCallGroups(args: GetPbxCallGroupsCommandInput, cb: (err: any, data?: GetPbxCallGroupsCommandOutput) => void): void;
18
+ getPbxCallGroups(args: GetPbxCallGroupsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetPbxCallGroupsCommandOutput) => void): void;
12
19
  /**
13
20
  * @see {@link GetPbxColleaguesCommand}
14
21
  */
@@ -1,4 +1,5 @@
1
1
  import { GetPbxAclGroupsPermissionsCommandInput, GetPbxAclGroupsPermissionsCommandOutput } from "./commands/GetPbxAclGroupsPermissionsCommand";
2
+ import { GetPbxCallGroupsCommandInput, GetPbxCallGroupsCommandOutput } from "./commands/GetPbxCallGroupsCommand";
2
3
  import { GetPbxColleaguesCommandInput, GetPbxColleaguesCommandOutput } from "./commands/GetPbxColleaguesCommand";
3
4
  import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
4
5
  import { HttpHandler as __HttpHandler } from "@smithy/protocol-http";
@@ -9,11 +10,11 @@ export { __Client };
9
10
  /**
10
11
  * @public
11
12
  */
12
- export type ServiceInputTypes = GetPbxAclGroupsPermissionsCommandInput | GetPbxColleaguesCommandInput;
13
+ export type ServiceInputTypes = GetPbxAclGroupsPermissionsCommandInput | GetPbxCallGroupsCommandInput | GetPbxColleaguesCommandInput;
13
14
  /**
14
15
  * @public
15
16
  */
16
- export type ServiceOutputTypes = GetPbxAclGroupsPermissionsCommandOutput | GetPbxColleaguesCommandOutput;
17
+ export type ServiceOutputTypes = GetPbxAclGroupsPermissionsCommandOutput | GetPbxCallGroupsCommandOutput | GetPbxColleaguesCommandOutput;
17
18
  /**
18
19
  * @public
19
20
  */
@@ -0,0 +1,110 @@
1
+ import { ServiceInputTypes, ServiceOutputTypes, WmsApiClientResolvedConfig } from "../WmsApiClient";
2
+ import { GetPbxCallGroupsOutput } from "../models/models_0";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@smithy/types";
5
+ /**
6
+ * @public
7
+ */
8
+ export { __MetadataBearer, $Command };
9
+ /**
10
+ * @public
11
+ *
12
+ * The input for {@link GetPbxCallGroupsCommand}.
13
+ */
14
+ export interface GetPbxCallGroupsCommandInput {
15
+ }
16
+ /**
17
+ * @public
18
+ *
19
+ * The output of {@link GetPbxCallGroupsCommand}.
20
+ */
21
+ export interface GetPbxCallGroupsCommandOutput extends GetPbxCallGroupsOutput, __MetadataBearer {
22
+ }
23
+ /**
24
+ * @public
25
+ * Get the list of all available Call groups on the PBX.
26
+ * @example
27
+ * Use a bare-bones client and the command you need to make an API call.
28
+ * ```javascript
29
+ * import { WmsApiClient, GetPbxCallGroupsCommand } from "@wildix/wms-api-client"; // ES Modules import
30
+ * // const { WmsApiClient, GetPbxCallGroupsCommand } = require("@wildix/wms-api-client"); // CommonJS import
31
+ * const client = new WmsApiClient(config);
32
+ * const input = {};
33
+ * const command = new GetPbxCallGroupsCommand(input);
34
+ * const response = await client.send(command);
35
+ * // { // GetPbxCallGroupsOutput
36
+ * // type: "result" || "error", // required
37
+ * // result: { // GetPbxCallGroupsResult
38
+ * // records: [ // PbxCallGroupList // required
39
+ * // { // PbxCallGroup
40
+ * // id: Number("int"), // required
41
+ * // title: "STRING_VALUE", // required
42
+ * // members: [ // PbxCallGroupMembers // required
43
+ * // "STRING_VALUE",
44
+ * // ],
45
+ * // settings: { // PbxCallGroupSettings
46
+ * // queueManager: "STRING_VALUE",
47
+ * // cid: "STRING_VALUE",
48
+ * // autoPause: "STRING_VALUE",
49
+ * // autoPauseTime: Number("int"),
50
+ * // autoPauseDelay: Number("int"),
51
+ * // autoPauseBusy: true || false,
52
+ * // autoPauseUnAvail: true || false,
53
+ * // maxLen: Number("int"),
54
+ * // retry: Number("int"),
55
+ * // ringInUse: true || false,
56
+ * // strategy: "STRING_VALUE",
57
+ * // defaultPriority: Number("int"),
58
+ * // timeout: Number("int"),
59
+ * // weight: Number("int"),
60
+ * // wrapUpTime: Number("int"),
61
+ * // rule: "STRING_VALUE",
62
+ * // announce: { // PbxCallGroupAnnounce
63
+ * // frequency: Number("int"),
64
+ * // holdTime: "STRING_VALUE",
65
+ * // roundSeconds: Number("int"),
66
+ * // },
67
+ * // exitAllMembers: { // PbxCallGroupExitAllMembers
68
+ * // busy: true || false,
69
+ * // paused: true || false,
70
+ * // ringing: true || false,
71
+ * // },
72
+ * // smsNumber: "STRING_VALUE",
73
+ * // },
74
+ * // },
75
+ * // ],
76
+ * // total: Number("int"), // required
77
+ * // },
78
+ * // };
79
+ *
80
+ * ```
81
+ *
82
+ * @param GetPbxCallGroupsCommandInput - {@link GetPbxCallGroupsCommandInput}
83
+ * @returns {@link GetPbxCallGroupsCommandOutput}
84
+ * @see {@link GetPbxCallGroupsCommandInput} for command's `input` shape.
85
+ * @see {@link GetPbxCallGroupsCommandOutput} for command's `response` shape.
86
+ * @see {@link WmsApiClientResolvedConfig | config} for WmsApiClient's `config` shape.
87
+ *
88
+ * @throws {@link WmsApiServiceException}
89
+ * <p>Base exception class for all service exceptions from WmsApi service.</p>
90
+ *
91
+ */
92
+ export declare class GetPbxCallGroupsCommand extends $Command<GetPbxCallGroupsCommandInput, GetPbxCallGroupsCommandOutput, WmsApiClientResolvedConfig> {
93
+ readonly input: GetPbxCallGroupsCommandInput;
94
+ /**
95
+ * @public
96
+ */
97
+ constructor(input: GetPbxCallGroupsCommandInput);
98
+ /**
99
+ * @internal
100
+ */
101
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: WmsApiClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetPbxCallGroupsCommandInput, GetPbxCallGroupsCommandOutput>;
102
+ /**
103
+ * @internal
104
+ */
105
+ private serialize;
106
+ /**
107
+ * @internal
108
+ */
109
+ private deserialize;
110
+ }
@@ -1,2 +1,3 @@
1
1
  export * from "./GetPbxAclGroupsPermissionsCommand";
2
+ export * from "./GetPbxCallGroupsCommand";
2
3
  export * from "./GetPbxColleaguesCommand";
@@ -73,6 +73,69 @@ export interface GetPbxAclGroupsPermissionsOutput {
73
73
  type: ResponseType | string;
74
74
  result: (AclGroupPermisson)[];
75
75
  }
76
+ /**
77
+ * @public
78
+ */
79
+ export interface PbxCallGroupAnnounce {
80
+ frequency?: number;
81
+ holdTime?: string;
82
+ roundSeconds?: number;
83
+ }
84
+ /**
85
+ * @public
86
+ */
87
+ export interface PbxCallGroupExitAllMembers {
88
+ busy?: boolean;
89
+ paused?: boolean;
90
+ ringing?: boolean;
91
+ }
92
+ /**
93
+ * @public
94
+ */
95
+ export interface PbxCallGroupSettings {
96
+ queueManager?: string;
97
+ cid?: string;
98
+ autoPause?: string;
99
+ autoPauseTime?: number;
100
+ autoPauseDelay?: number;
101
+ autoPauseBusy?: boolean;
102
+ autoPauseUnAvail?: boolean;
103
+ maxLen?: number;
104
+ retry?: number;
105
+ ringInUse?: boolean;
106
+ strategy?: string;
107
+ defaultPriority?: number;
108
+ timeout?: number;
109
+ weight?: number;
110
+ wrapUpTime?: number;
111
+ rule?: string;
112
+ announce?: PbxCallGroupAnnounce;
113
+ exitAllMembers?: PbxCallGroupExitAllMembers;
114
+ smsNumber?: string;
115
+ }
116
+ /**
117
+ * @public
118
+ */
119
+ export interface PbxCallGroup {
120
+ id: number;
121
+ title: string;
122
+ members: (string)[];
123
+ settings: PbxCallGroupSettings;
124
+ }
125
+ /**
126
+ * @public
127
+ */
128
+ export interface GetPbxCallGroupsResult {
129
+ records: (PbxCallGroup)[];
130
+ total: number;
131
+ }
132
+ /**
133
+ * @public
134
+ */
135
+ export interface GetPbxCallGroupsOutput {
136
+ type: ResponseType | string;
137
+ result: GetPbxCallGroupsResult;
138
+ }
76
139
  /**
77
140
  * @public
78
141
  * @enum
@@ -1,4 +1,5 @@
1
1
  import { GetPbxAclGroupsPermissionsCommandInput, GetPbxAclGroupsPermissionsCommandOutput } from "../commands/GetPbxAclGroupsPermissionsCommand";
2
+ import { GetPbxCallGroupsCommandInput, GetPbxCallGroupsCommandOutput } from "../commands/GetPbxCallGroupsCommand";
2
3
  import { GetPbxColleaguesCommandInput, GetPbxColleaguesCommandOutput } from "../commands/GetPbxColleaguesCommand";
3
4
  import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@smithy/protocol-http";
4
5
  import { SerdeContext as __SerdeContext } from "@smithy/types";
@@ -6,6 +7,10 @@ import { SerdeContext as __SerdeContext } from "@smithy/types";
6
7
  * serializeAws_restJson1GetPbxAclGroupsPermissionsCommand
7
8
  */
8
9
  export declare const se_GetPbxAclGroupsPermissionsCommand: (input: GetPbxAclGroupsPermissionsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
10
+ /**
11
+ * serializeAws_restJson1GetPbxCallGroupsCommand
12
+ */
13
+ export declare const se_GetPbxCallGroupsCommand: (input: GetPbxCallGroupsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
9
14
  /**
10
15
  * serializeAws_restJson1GetPbxColleaguesCommand
11
16
  */
@@ -14,6 +19,10 @@ export declare const se_GetPbxColleaguesCommand: (input: GetPbxColleaguesCommand
14
19
  * deserializeAws_restJson1GetPbxAclGroupsPermissionsCommand
15
20
  */
16
21
  export declare const de_GetPbxAclGroupsPermissionsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetPbxAclGroupsPermissionsCommandOutput>;
22
+ /**
23
+ * deserializeAws_restJson1GetPbxCallGroupsCommand
24
+ */
25
+ export declare const de_GetPbxCallGroupsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetPbxCallGroupsCommandOutput>;
17
26
  /**
18
27
  * deserializeAws_restJson1GetPbxColleaguesCommand
19
28
  */
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.0.1",
4
+ "version": "1.0.3",
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",
@@ -42,7 +42,7 @@
42
42
  "@smithy/util-defaults-mode-node": "^2.0.15",
43
43
  "@smithy/util-retry": "^2.0.3",
44
44
  "@smithy/util-utf8": "^2.0.0",
45
- "@wildix/smithy-utils": "latest"
45
+ "@wildix/smithy-utils": "^1.0.1"
46
46
  },
47
47
  "devDependencies": {
48
48
  "@tsconfig/node14": "1.0.3",
@@ -74,4 +74,4 @@
74
74
  "react-native": {
75
75
  "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native"
76
76
  }
77
- }
77
+ }