@wildix/wms-api-client 1.1.13 → 1.1.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/models/models_0.js +2 -0
- package/dist-cjs/protocols/Aws_restJson1.js +1 -1
- package/dist-es/models/models_0.js +2 -0
- package/dist-es/protocols/Aws_restJson1.js +1 -1
- package/dist-types/commands/CreatePbxAclGroupCommand.d.ts +4 -4
- package/dist-types/commands/GetPbxAclGroupsPermissionsCommand.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +23 -21
- package/package.json +1 -1
|
@@ -41,7 +41,7 @@ declare const CreatePbxAclGroupCommand_base: {
|
|
|
41
41
|
* wcgrp: "STRING_VALUE",
|
|
42
42
|
* rules: [ // AclGroupRulesList // required
|
|
43
43
|
* { // AclGroupRule
|
|
44
|
-
* ability: "can" || "cannot" || "yes" || "no",
|
|
44
|
+
* ability: "use" || "nouse" || "can" || "cannot" || "yes" || "no",
|
|
45
45
|
* group: "STRING_VALUE",
|
|
46
46
|
* rule: "STRING_VALUE",
|
|
47
47
|
* },
|
|
@@ -51,15 +51,15 @@ declare const CreatePbxAclGroupCommand_base: {
|
|
|
51
51
|
* const response = await client.send(command);
|
|
52
52
|
* // { // CreatePbxAclGroupOutput
|
|
53
53
|
* // type: "result" || "error", // required
|
|
54
|
-
* // result: { //
|
|
55
|
-
* // id: "
|
|
54
|
+
* // result: { // AclGroup
|
|
55
|
+
* // id: Number("int"), // required
|
|
56
56
|
* // name: "STRING_VALUE", // required
|
|
57
57
|
* // dn: "STRING_VALUE", // required
|
|
58
58
|
* // wcgrp: "STRING_VALUE", // required
|
|
59
59
|
* // inherits: "STRING_VALUE", // required
|
|
60
60
|
* // rules: [ // AclGroupRulesList // required
|
|
61
61
|
* // { // AclGroupRule
|
|
62
|
-
* // ability: "can" || "cannot" || "yes" || "no",
|
|
62
|
+
* // ability: "use" || "nouse" || "can" || "cannot" || "yes" || "no",
|
|
63
63
|
* // group: "STRING_VALUE",
|
|
64
64
|
* // rule: "STRING_VALUE",
|
|
65
65
|
* // },
|
|
@@ -49,7 +49,7 @@ declare const GetPbxAclGroupsPermissionsCommand_base: {
|
|
|
49
49
|
* // type: "result" || "error", // required
|
|
50
50
|
* // result: [ // GetPbxAclGroupsPermissionsResult // required
|
|
51
51
|
* // { // AclGroupPermission
|
|
52
|
-
* // ability: "can" || "cannot" || "yes" || "no", // required
|
|
52
|
+
* // ability: "use" || "nouse" || "can" || "cannot" || "yes" || "no", // required
|
|
53
53
|
* // key: "STRING_VALUE", // required
|
|
54
54
|
* // name: "STRING_VALUE", // required
|
|
55
55
|
* // containSubGroups: true || false, // required
|
|
@@ -23,12 +23,34 @@ export declare const AclGroupPermissionAbility: {
|
|
|
23
23
|
readonly CAN: "can";
|
|
24
24
|
readonly CANNOT: "cannot";
|
|
25
25
|
readonly NO: "no";
|
|
26
|
+
readonly NOUSE: "nouse";
|
|
27
|
+
readonly USE: "use";
|
|
26
28
|
readonly YES: "yes";
|
|
27
29
|
};
|
|
28
30
|
/**
|
|
29
31
|
* @public
|
|
30
32
|
*/
|
|
31
33
|
export type AclGroupPermissionAbility = typeof AclGroupPermissionAbility[keyof typeof AclGroupPermissionAbility];
|
|
34
|
+
/**
|
|
35
|
+
* @public
|
|
36
|
+
*/
|
|
37
|
+
export interface AclGroupRule {
|
|
38
|
+
ability?: AclGroupPermissionAbility;
|
|
39
|
+
group?: string;
|
|
40
|
+
rule?: string;
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* @public
|
|
44
|
+
*/
|
|
45
|
+
export interface AclGroup {
|
|
46
|
+
id: number;
|
|
47
|
+
name: string;
|
|
48
|
+
dn: string;
|
|
49
|
+
wcgrp: string;
|
|
50
|
+
inherits: string;
|
|
51
|
+
rules: (AclGroupRule)[];
|
|
52
|
+
adminRules: string;
|
|
53
|
+
}
|
|
32
54
|
/**
|
|
33
55
|
* @public
|
|
34
56
|
*/
|
|
@@ -56,14 +78,6 @@ export interface AclGroupPermission {
|
|
|
56
78
|
containSubGroups: boolean;
|
|
57
79
|
groups: (AclGroupPermissionItem)[];
|
|
58
80
|
}
|
|
59
|
-
/**
|
|
60
|
-
* @public
|
|
61
|
-
*/
|
|
62
|
-
export interface AclGroupRule {
|
|
63
|
-
ability?: AclGroupPermissionAbility;
|
|
64
|
-
group?: string;
|
|
65
|
-
rule?: string;
|
|
66
|
-
}
|
|
67
81
|
/**
|
|
68
82
|
* @public
|
|
69
83
|
*/
|
|
@@ -73,18 +87,6 @@ export interface CreatePbxAclGroupInput {
|
|
|
73
87
|
wcgrp?: string;
|
|
74
88
|
rules: (AclGroupRule)[];
|
|
75
89
|
}
|
|
76
|
-
/**
|
|
77
|
-
* @public
|
|
78
|
-
*/
|
|
79
|
-
export interface CreatePbxAclGroupResult {
|
|
80
|
-
id: string;
|
|
81
|
-
name: string;
|
|
82
|
-
dn: string;
|
|
83
|
-
wcgrp: string;
|
|
84
|
-
inherits: string;
|
|
85
|
-
rules: (AclGroupRule)[];
|
|
86
|
-
adminRules: string;
|
|
87
|
-
}
|
|
88
90
|
/**
|
|
89
91
|
* @public
|
|
90
92
|
* @enum
|
|
@@ -102,7 +104,7 @@ export type ResponseType = typeof ResponseType[keyof typeof ResponseType];
|
|
|
102
104
|
*/
|
|
103
105
|
export interface CreatePbxAclGroupOutput {
|
|
104
106
|
type: ResponseType;
|
|
105
|
-
result:
|
|
107
|
+
result: AclGroup;
|
|
106
108
|
}
|
|
107
109
|
/**
|
|
108
110
|
* @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.
|
|
4
|
+
"version": "1.1.16",
|
|
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",
|