@wildix/wms-api-client 1.1.0 → 1.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -49,8 +49,8 @@ const se_GetPbxAclGroupsPermissionsCommand = async (input, context) => {
49
49
  const headers = {};
50
50
  let resolvedPath = `${basePath?.endsWith('/') ? basePath.slice(0, -1) : (basePath || '')}` + "/api/v1/pbx/aclgroups/permissions";
51
51
  const query = (0, smithy_client_1.map)({
52
- "groups": [, input.groups],
53
- "permissions": [, input.permissions],
52
+ "groups[]": [() => input.groups !== void 0, () => ((input.groups || []).map(_entry => _entry))],
53
+ "permissions[]": [() => input.permissions !== void 0, () => ((input.permissions || []).map(_entry => _entry))],
54
54
  });
55
55
  let body;
56
56
  return new protocol_http_1.HttpRequest({
@@ -44,8 +44,8 @@ export const se_GetPbxAclGroupsPermissionsCommand = async (input, context) => {
44
44
  const headers = {};
45
45
  let resolvedPath = `${basePath?.endsWith('/') ? basePath.slice(0, -1) : (basePath || '')}` + "/api/v1/pbx/aclgroups/permissions";
46
46
  const query = map({
47
- "groups": [, input.groups],
48
- "permissions": [, input.permissions],
47
+ "groups[]": [() => input.groups !== void 0, () => ((input.groups || []).map(_entry => _entry))],
48
+ "permissions[]": [() => input.permissions !== void 0, () => ((input.permissions || []).map(_entry => _entry))],
49
49
  });
50
50
  let body;
51
51
  return new __HttpRequest({
@@ -30,8 +30,12 @@ export interface GetPbxAclGroupsPermissionsCommandOutput extends GetPbxAclGroups
30
30
  * // const { WmsApiClient, GetPbxAclGroupsPermissionsCommand } = require("@wildix/wms-api-client"); // CommonJS import
31
31
  * const client = new WmsApiClient(config);
32
32
  * const input = { // GetPbxAclGroupsPermissionsInput
33
- * groups: "STRING_VALUE",
34
- * permissions: "STRING_VALUE",
33
+ * groups: [ // FilterList
34
+ * "STRING_VALUE",
35
+ * ],
36
+ * permissions: [
37
+ * "STRING_VALUE",
38
+ * ],
35
39
  * };
36
40
  * const command = new GetPbxAclGroupsPermissionsCommand(input);
37
41
  * const response = await client.send(command);
@@ -172,14 +172,14 @@ export declare class WmsNotFoundException extends __BaseException {
172
172
  export interface GetPbxAclGroupsPermissionsInput {
173
173
  /**
174
174
  * @public
175
- * User group(s) ID for filter result. Example: 12345 or 12345,67890,134711
175
+ * User group(s) ID for filter result. Example: ['12345'] or ['12345','67890','134711']
176
176
  */
177
- groups?: string;
177
+ groups?: (string)[];
178
178
  /**
179
179
  * @public
180
- * ACL permission(s) key for filter result. Example: SEE_CALL_RECORDINGS or CTI_ANALYTICS,SUPERVISION,SEE_ANALYTICS
180
+ * ACL permission(s) key for filter result. Example: ['SEE_CALL_RECORDINGS'] or ['CTI_ANALYTICS','SUPERVISION','SEE_ANALYTICS']
181
181
  */
182
- permissions?: string;
182
+ permissions?: (string)[];
183
183
  }
184
184
  /**
185
185
  * @public
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.0",
4
+ "version": "1.1.1",
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",