@wildix/wms-api-client 1.1.14 → 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/WmsApi.js +8 -0
- package/dist-cjs/commands/CreatePbxAclGroupCommand.js +21 -0
- package/dist-cjs/commands/CreatePbxColleagueCommand.js +21 -0
- package/dist-cjs/commands/DeletePbxAclGroupCommand.js +21 -0
- package/dist-cjs/commands/DeletePbxColleagueCommand.js +21 -0
- package/dist-cjs/commands/index.js +4 -0
- package/dist-cjs/models/models_0.js +10 -8
- package/dist-cjs/protocols/Aws_restJson1.js +140 -2
- package/dist-es/WmsApi.js +8 -0
- package/dist-es/commands/CreatePbxAclGroupCommand.js +17 -0
- package/dist-es/commands/CreatePbxColleagueCommand.js +17 -0
- package/dist-es/commands/DeletePbxAclGroupCommand.js +17 -0
- package/dist-es/commands/DeletePbxColleagueCommand.js +17 -0
- package/dist-es/commands/index.js +4 -0
- package/dist-es/models/models_0.js +9 -7
- package/dist-es/protocols/Aws_restJson1.js +131 -1
- package/dist-types/WmsApi.d.ts +28 -0
- package/dist-types/WmsApiClient.d.ts +6 -2
- package/dist-types/commands/CreatePbxAclGroupCommand.d.ts +86 -0
- package/dist-types/commands/CreatePbxColleagueCommand.d.ts +100 -0
- package/dist-types/commands/DeletePbxAclGroupCommand.d.ts +63 -0
- package/dist-types/commands/DeletePbxColleagueCommand.d.ts +63 -0
- package/dist-types/commands/GetPbxAclGroupsPermissionsCommand.d.ts +1 -1
- package/dist-types/commands/NotificationsCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +4 -0
- package/dist-types/models/models_0.d.ts +159 -67
- package/dist-types/protocols/Aws_restJson1.d.ts +36 -0
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/package.json +1 -1
package/dist-types/WmsApi.d.ts
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
import { WmsApiClient } from "./WmsApiClient";
|
|
2
|
+
import { CreatePbxAclGroupCommandInput, CreatePbxAclGroupCommandOutput } from "./commands/CreatePbxAclGroupCommand";
|
|
3
|
+
import { CreatePbxColleagueCommandInput, CreatePbxColleagueCommandOutput } from "./commands/CreatePbxColleagueCommand";
|
|
2
4
|
import { CreatePbxOAuth2ClientCommandInput, CreatePbxOAuth2ClientCommandOutput } from "./commands/CreatePbxOAuth2ClientCommand";
|
|
5
|
+
import { DeletePbxAclGroupCommandInput, DeletePbxAclGroupCommandOutput } from "./commands/DeletePbxAclGroupCommand";
|
|
6
|
+
import { DeletePbxColleagueCommandInput, DeletePbxColleagueCommandOutput } from "./commands/DeletePbxColleagueCommand";
|
|
3
7
|
import { DeletePbxOAuth2ClientCommandInput, DeletePbxOAuth2ClientCommandOutput } from "./commands/DeletePbxOAuth2ClientCommand";
|
|
4
8
|
import { GetColleagueByIdCommandInput, GetColleagueByIdCommandOutput } from "./commands/GetColleagueByIdCommand";
|
|
5
9
|
import { GetPbxAclGroupsPermissionsCommandInput, GetPbxAclGroupsPermissionsCommandOutput } from "./commands/GetPbxAclGroupsPermissionsCommand";
|
|
@@ -14,12 +18,36 @@ import { OriginateCommandInput, OriginateCommandOutput } from "./commands/Origin
|
|
|
14
18
|
import { UpdatePbxOAuth2ClientCommandInput, UpdatePbxOAuth2ClientCommandOutput } from "./commands/UpdatePbxOAuth2ClientCommand";
|
|
15
19
|
import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
16
20
|
export interface WmsApi {
|
|
21
|
+
/**
|
|
22
|
+
* @see {@link CreatePbxAclGroupCommand}
|
|
23
|
+
*/
|
|
24
|
+
createPbxAclGroup(args: CreatePbxAclGroupCommandInput, options?: __HttpHandlerOptions): Promise<CreatePbxAclGroupCommandOutput>;
|
|
25
|
+
createPbxAclGroup(args: CreatePbxAclGroupCommandInput, cb: (err: any, data?: CreatePbxAclGroupCommandOutput) => void): void;
|
|
26
|
+
createPbxAclGroup(args: CreatePbxAclGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreatePbxAclGroupCommandOutput) => void): void;
|
|
27
|
+
/**
|
|
28
|
+
* @see {@link CreatePbxColleagueCommand}
|
|
29
|
+
*/
|
|
30
|
+
createPbxColleague(args: CreatePbxColleagueCommandInput, options?: __HttpHandlerOptions): Promise<CreatePbxColleagueCommandOutput>;
|
|
31
|
+
createPbxColleague(args: CreatePbxColleagueCommandInput, cb: (err: any, data?: CreatePbxColleagueCommandOutput) => void): void;
|
|
32
|
+
createPbxColleague(args: CreatePbxColleagueCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreatePbxColleagueCommandOutput) => void): void;
|
|
17
33
|
/**
|
|
18
34
|
* @see {@link CreatePbxOAuth2ClientCommand}
|
|
19
35
|
*/
|
|
20
36
|
createPbxOAuth2Client(args: CreatePbxOAuth2ClientCommandInput, options?: __HttpHandlerOptions): Promise<CreatePbxOAuth2ClientCommandOutput>;
|
|
21
37
|
createPbxOAuth2Client(args: CreatePbxOAuth2ClientCommandInput, cb: (err: any, data?: CreatePbxOAuth2ClientCommandOutput) => void): void;
|
|
22
38
|
createPbxOAuth2Client(args: CreatePbxOAuth2ClientCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreatePbxOAuth2ClientCommandOutput) => void): void;
|
|
39
|
+
/**
|
|
40
|
+
* @see {@link DeletePbxAclGroupCommand}
|
|
41
|
+
*/
|
|
42
|
+
deletePbxAclGroup(args: DeletePbxAclGroupCommandInput, options?: __HttpHandlerOptions): Promise<DeletePbxAclGroupCommandOutput>;
|
|
43
|
+
deletePbxAclGroup(args: DeletePbxAclGroupCommandInput, cb: (err: any, data?: DeletePbxAclGroupCommandOutput) => void): void;
|
|
44
|
+
deletePbxAclGroup(args: DeletePbxAclGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeletePbxAclGroupCommandOutput) => void): void;
|
|
45
|
+
/**
|
|
46
|
+
* @see {@link DeletePbxColleagueCommand}
|
|
47
|
+
*/
|
|
48
|
+
deletePbxColleague(args: DeletePbxColleagueCommandInput, options?: __HttpHandlerOptions): Promise<DeletePbxColleagueCommandOutput>;
|
|
49
|
+
deletePbxColleague(args: DeletePbxColleagueCommandInput, cb: (err: any, data?: DeletePbxColleagueCommandOutput) => void): void;
|
|
50
|
+
deletePbxColleague(args: DeletePbxColleagueCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeletePbxColleagueCommandOutput) => void): void;
|
|
23
51
|
/**
|
|
24
52
|
* @see {@link DeletePbxOAuth2ClientCommand}
|
|
25
53
|
*/
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
+
import { CreatePbxAclGroupCommandInput, CreatePbxAclGroupCommandOutput } from "./commands/CreatePbxAclGroupCommand";
|
|
2
|
+
import { CreatePbxColleagueCommandInput, CreatePbxColleagueCommandOutput } from "./commands/CreatePbxColleagueCommand";
|
|
1
3
|
import { CreatePbxOAuth2ClientCommandInput, CreatePbxOAuth2ClientCommandOutput } from "./commands/CreatePbxOAuth2ClientCommand";
|
|
4
|
+
import { DeletePbxAclGroupCommandInput, DeletePbxAclGroupCommandOutput } from "./commands/DeletePbxAclGroupCommand";
|
|
5
|
+
import { DeletePbxColleagueCommandInput, DeletePbxColleagueCommandOutput } from "./commands/DeletePbxColleagueCommand";
|
|
2
6
|
import { DeletePbxOAuth2ClientCommandInput, DeletePbxOAuth2ClientCommandOutput } from "./commands/DeletePbxOAuth2ClientCommand";
|
|
3
7
|
import { GetColleagueByIdCommandInput, GetColleagueByIdCommandOutput } from "./commands/GetColleagueByIdCommand";
|
|
4
8
|
import { GetPbxAclGroupsPermissionsCommandInput, GetPbxAclGroupsPermissionsCommandOutput } from "./commands/GetPbxAclGroupsPermissionsCommand";
|
|
@@ -22,11 +26,11 @@ export { __Client };
|
|
|
22
26
|
/**
|
|
23
27
|
* @public
|
|
24
28
|
*/
|
|
25
|
-
export type ServiceInputTypes = CreatePbxOAuth2ClientCommandInput | DeletePbxOAuth2ClientCommandInput | GetColleagueByIdCommandInput | GetPbxAclGroupsPermissionsCommandInput | GetPbxCallGroupsCommandInput | GetPbxColleaguesCommandInput | GetPbxOAuth2ClientsCommandInput | GetPbxesCommandInput | GetPersonalInfoCommandInput | NotificationsCommandInput | OriginateCallCommandInput | OriginateCommandInput | UpdatePbxOAuth2ClientCommandInput;
|
|
29
|
+
export type ServiceInputTypes = CreatePbxAclGroupCommandInput | CreatePbxColleagueCommandInput | CreatePbxOAuth2ClientCommandInput | DeletePbxAclGroupCommandInput | DeletePbxColleagueCommandInput | DeletePbxOAuth2ClientCommandInput | GetColleagueByIdCommandInput | GetPbxAclGroupsPermissionsCommandInput | GetPbxCallGroupsCommandInput | GetPbxColleaguesCommandInput | GetPbxOAuth2ClientsCommandInput | GetPbxesCommandInput | GetPersonalInfoCommandInput | NotificationsCommandInput | OriginateCallCommandInput | OriginateCommandInput | UpdatePbxOAuth2ClientCommandInput;
|
|
26
30
|
/**
|
|
27
31
|
* @public
|
|
28
32
|
*/
|
|
29
|
-
export type ServiceOutputTypes = CreatePbxOAuth2ClientCommandOutput | DeletePbxOAuth2ClientCommandOutput | GetColleagueByIdCommandOutput | GetPbxAclGroupsPermissionsCommandOutput | GetPbxCallGroupsCommandOutput | GetPbxColleaguesCommandOutput | GetPbxOAuth2ClientsCommandOutput | GetPbxesCommandOutput | GetPersonalInfoCommandOutput | NotificationsCommandOutput | OriginateCallCommandOutput | OriginateCommandOutput | UpdatePbxOAuth2ClientCommandOutput;
|
|
33
|
+
export type ServiceOutputTypes = CreatePbxAclGroupCommandOutput | CreatePbxColleagueCommandOutput | CreatePbxOAuth2ClientCommandOutput | DeletePbxAclGroupCommandOutput | DeletePbxColleagueCommandOutput | DeletePbxOAuth2ClientCommandOutput | GetColleagueByIdCommandOutput | GetPbxAclGroupsPermissionsCommandOutput | GetPbxCallGroupsCommandOutput | GetPbxColleaguesCommandOutput | GetPbxOAuth2ClientsCommandOutput | GetPbxesCommandOutput | GetPersonalInfoCommandOutput | NotificationsCommandOutput | OriginateCallCommandOutput | OriginateCommandOutput | UpdatePbxOAuth2ClientCommandOutput;
|
|
30
34
|
/**
|
|
31
35
|
* @public
|
|
32
36
|
*/
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import { ServiceInputTypes, ServiceOutputTypes, WmsApiClientResolvedConfig } from "../WmsApiClient";
|
|
2
|
+
import { CreatePbxAclGroupInput, CreatePbxAclGroupOutput } 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 CreatePbxAclGroupCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface CreatePbxAclGroupCommandInput extends CreatePbxAclGroupInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link CreatePbxAclGroupCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface CreatePbxAclGroupCommandOutput extends CreatePbxAclGroupOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const CreatePbxAclGroupCommand_base: {
|
|
25
|
+
new (input: CreatePbxAclGroupCommandInput): import("@smithy/smithy-client").CommandImpl<CreatePbxAclGroupCommandInput, CreatePbxAclGroupCommandOutput, WmsApiClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: CreatePbxAclGroupCommandInput): import("@smithy/smithy-client").CommandImpl<CreatePbxAclGroupCommandInput, CreatePbxAclGroupCommandOutput, WmsApiClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* @public
|
|
31
|
+
*
|
|
32
|
+
* @example
|
|
33
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
34
|
+
* ```javascript
|
|
35
|
+
* import { WmsApiClient, CreatePbxAclGroupCommand } from "@wildix/wms-api-client"; // ES Modules import
|
|
36
|
+
* // const { WmsApiClient, CreatePbxAclGroupCommand } = require("@wildix/wms-api-client"); // CommonJS import
|
|
37
|
+
* const client = new WmsApiClient(config);
|
|
38
|
+
* const input = { // CreatePbxAclGroupInput
|
|
39
|
+
* name: "STRING_VALUE", // required
|
|
40
|
+
* inherits: "STRING_VALUE",
|
|
41
|
+
* wcgrp: "STRING_VALUE",
|
|
42
|
+
* rules: [ // AclGroupRulesList // required
|
|
43
|
+
* { // AclGroupRule
|
|
44
|
+
* ability: "use" || "nouse" || "can" || "cannot" || "yes" || "no",
|
|
45
|
+
* group: "STRING_VALUE",
|
|
46
|
+
* rule: "STRING_VALUE",
|
|
47
|
+
* },
|
|
48
|
+
* ],
|
|
49
|
+
* };
|
|
50
|
+
* const command = new CreatePbxAclGroupCommand(input);
|
|
51
|
+
* const response = await client.send(command);
|
|
52
|
+
* // { // CreatePbxAclGroupOutput
|
|
53
|
+
* // type: "result" || "error", // required
|
|
54
|
+
* // result: { // AclGroup
|
|
55
|
+
* // id: Number("int"), // required
|
|
56
|
+
* // name: "STRING_VALUE", // required
|
|
57
|
+
* // dn: "STRING_VALUE", // required
|
|
58
|
+
* // wcgrp: "STRING_VALUE", // required
|
|
59
|
+
* // inherits: "STRING_VALUE", // required
|
|
60
|
+
* // rules: [ // AclGroupRulesList // required
|
|
61
|
+
* // { // AclGroupRule
|
|
62
|
+
* // ability: "use" || "nouse" || "can" || "cannot" || "yes" || "no",
|
|
63
|
+
* // group: "STRING_VALUE",
|
|
64
|
+
* // rule: "STRING_VALUE",
|
|
65
|
+
* // },
|
|
66
|
+
* // ],
|
|
67
|
+
* // adminRules: "STRING_VALUE", // required
|
|
68
|
+
* // },
|
|
69
|
+
* // };
|
|
70
|
+
*
|
|
71
|
+
* ```
|
|
72
|
+
*
|
|
73
|
+
* @param CreatePbxAclGroupCommandInput - {@link CreatePbxAclGroupCommandInput}
|
|
74
|
+
* @returns {@link CreatePbxAclGroupCommandOutput}
|
|
75
|
+
* @see {@link CreatePbxAclGroupCommandInput} for command's `input` shape.
|
|
76
|
+
* @see {@link CreatePbxAclGroupCommandOutput} for command's `response` shape.
|
|
77
|
+
* @see {@link WmsApiClientResolvedConfig | config} for WmsApiClient's `config` shape.
|
|
78
|
+
*
|
|
79
|
+
* @throws {@link WmsUnauthorizedException} (client fault)
|
|
80
|
+
*
|
|
81
|
+
* @throws {@link WmsApiServiceException}
|
|
82
|
+
* <p>Base exception class for all service exceptions from WmsApi service.</p>
|
|
83
|
+
*
|
|
84
|
+
*/
|
|
85
|
+
export declare class CreatePbxAclGroupCommand extends CreatePbxAclGroupCommand_base {
|
|
86
|
+
}
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
import { ServiceInputTypes, ServiceOutputTypes, WmsApiClientResolvedConfig } from "../WmsApiClient";
|
|
2
|
+
import { CreatePbxColleagueInput, CreatePbxColleagueOutput } 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 CreatePbxColleagueCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface CreatePbxColleagueCommandInput extends CreatePbxColleagueInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link CreatePbxColleagueCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface CreatePbxColleagueCommandOutput extends CreatePbxColleagueOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const CreatePbxColleagueCommand_base: {
|
|
25
|
+
new (input: CreatePbxColleagueCommandInput): import("@smithy/smithy-client").CommandImpl<CreatePbxColleagueCommandInput, CreatePbxColleagueCommandOutput, WmsApiClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: CreatePbxColleagueCommandInput): import("@smithy/smithy-client").CommandImpl<CreatePbxColleagueCommandInput, CreatePbxColleagueCommandOutput, WmsApiClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* @public
|
|
31
|
+
*
|
|
32
|
+
* @example
|
|
33
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
34
|
+
* ```javascript
|
|
35
|
+
* import { WmsApiClient, CreatePbxColleagueCommand } from "@wildix/wms-api-client"; // ES Modules import
|
|
36
|
+
* // const { WmsApiClient, CreatePbxColleagueCommand } = require("@wildix/wms-api-client"); // CommonJS import
|
|
37
|
+
* const client = new WmsApiClient(config);
|
|
38
|
+
* const input = { // CreatePbxColleagueInput
|
|
39
|
+
* extension: "STRING_VALUE", // required
|
|
40
|
+
* name: "STRING_VALUE", // required
|
|
41
|
+
* officePhone: "STRING_VALUE",
|
|
42
|
+
* mobilePhone: "STRING_VALUE",
|
|
43
|
+
* faxNumber: "STRING_VALUE",
|
|
44
|
+
* email: "STRING_VALUE",
|
|
45
|
+
* role: "admin" || "user" || "fax" || "park_orbit" || "room",
|
|
46
|
+
* groupDn: "STRING_VALUE",
|
|
47
|
+
* language: "STRING_VALUE",
|
|
48
|
+
* dialplan: "STRING_VALUE",
|
|
49
|
+
* faxDialplan: "STRING_VALUE",
|
|
50
|
+
* department: "STRING_VALUE",
|
|
51
|
+
* login: "STRING_VALUE",
|
|
52
|
+
* password: "STRING_VALUE",
|
|
53
|
+
* sipPassword: "STRING_VALUE",
|
|
54
|
+
* licenseType: "basic" || "essential" || "business" || "premium" || "wizyconf",
|
|
55
|
+
* };
|
|
56
|
+
* const command = new CreatePbxColleagueCommand(input);
|
|
57
|
+
* const response = await client.send(command);
|
|
58
|
+
* // { // CreatePbxColleagueOutput
|
|
59
|
+
* // type: "result" || "error", // required
|
|
60
|
+
* // result: { // PbxColleague
|
|
61
|
+
* // id: "STRING_VALUE", // required
|
|
62
|
+
* // name: "STRING_VALUE",
|
|
63
|
+
* // login: "STRING_VALUE",
|
|
64
|
+
* // extension: "STRING_VALUE", // required
|
|
65
|
+
* // officePhone: "STRING_VALUE",
|
|
66
|
+
* // mobilePhone: "STRING_VALUE",
|
|
67
|
+
* // faxNumber: "STRING_VALUE",
|
|
68
|
+
* // email: "STRING_VALUE",
|
|
69
|
+
* // pbxDn: "STRING_VALUE", // required
|
|
70
|
+
* // pbx: "STRING_VALUE", // required
|
|
71
|
+
* // role: "admin" || "user" || "fax" || "park_orbit" || "room", // required
|
|
72
|
+
* // groupName: "STRING_VALUE", // required
|
|
73
|
+
* // groupDn: "STRING_VALUE", // required
|
|
74
|
+
* // language: "STRING_VALUE", // required
|
|
75
|
+
* // dialplan: "STRING_VALUE", // required
|
|
76
|
+
* // faxDialplan: "STRING_VALUE", // required
|
|
77
|
+
* // department: "STRING_VALUE",
|
|
78
|
+
* // picture: "STRING_VALUE", // required
|
|
79
|
+
* // sourceId: "STRING_VALUE",
|
|
80
|
+
* // licenseType: "basic" || "essential" || "business" || "premium" || "wizyconf", // required
|
|
81
|
+
* // jid: "STRING_VALUE", // required
|
|
82
|
+
* // },
|
|
83
|
+
* // };
|
|
84
|
+
*
|
|
85
|
+
* ```
|
|
86
|
+
*
|
|
87
|
+
* @param CreatePbxColleagueCommandInput - {@link CreatePbxColleagueCommandInput}
|
|
88
|
+
* @returns {@link CreatePbxColleagueCommandOutput}
|
|
89
|
+
* @see {@link CreatePbxColleagueCommandInput} for command's `input` shape.
|
|
90
|
+
* @see {@link CreatePbxColleagueCommandOutput} for command's `response` shape.
|
|
91
|
+
* @see {@link WmsApiClientResolvedConfig | config} for WmsApiClient's `config` shape.
|
|
92
|
+
*
|
|
93
|
+
* @throws {@link WmsUnauthorizedException} (client fault)
|
|
94
|
+
*
|
|
95
|
+
* @throws {@link WmsApiServiceException}
|
|
96
|
+
* <p>Base exception class for all service exceptions from WmsApi service.</p>
|
|
97
|
+
*
|
|
98
|
+
*/
|
|
99
|
+
export declare class CreatePbxColleagueCommand extends CreatePbxColleagueCommand_base {
|
|
100
|
+
}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import { ServiceInputTypes, ServiceOutputTypes, WmsApiClientResolvedConfig } from "../WmsApiClient";
|
|
2
|
+
import { DeletePbxAclGroupInput, DeletePbxAclGroupOutput } 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 DeletePbxAclGroupCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DeletePbxAclGroupCommandInput extends DeletePbxAclGroupInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DeletePbxAclGroupCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DeletePbxAclGroupCommandOutput extends DeletePbxAclGroupOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const DeletePbxAclGroupCommand_base: {
|
|
25
|
+
new (input: DeletePbxAclGroupCommandInput): import("@smithy/smithy-client").CommandImpl<DeletePbxAclGroupCommandInput, DeletePbxAclGroupCommandOutput, WmsApiClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: DeletePbxAclGroupCommandInput): import("@smithy/smithy-client").CommandImpl<DeletePbxAclGroupCommandInput, DeletePbxAclGroupCommandOutput, WmsApiClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* @public
|
|
31
|
+
*
|
|
32
|
+
* @example
|
|
33
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
34
|
+
* ```javascript
|
|
35
|
+
* import { WmsApiClient, DeletePbxAclGroupCommand } from "@wildix/wms-api-client"; // ES Modules import
|
|
36
|
+
* // const { WmsApiClient, DeletePbxAclGroupCommand } = require("@wildix/wms-api-client"); // CommonJS import
|
|
37
|
+
* const client = new WmsApiClient(config);
|
|
38
|
+
* const input = { // DeletePbxAclGroupInput
|
|
39
|
+
* id: Number("int"), // required
|
|
40
|
+
* };
|
|
41
|
+
* const command = new DeletePbxAclGroupCommand(input);
|
|
42
|
+
* const response = await client.send(command);
|
|
43
|
+
* // { // DeletePbxAclGroupOutput
|
|
44
|
+
* // type: "result" || "error", // required
|
|
45
|
+
* // result: "STRING_VALUE", // required
|
|
46
|
+
* // };
|
|
47
|
+
*
|
|
48
|
+
* ```
|
|
49
|
+
*
|
|
50
|
+
* @param DeletePbxAclGroupCommandInput - {@link DeletePbxAclGroupCommandInput}
|
|
51
|
+
* @returns {@link DeletePbxAclGroupCommandOutput}
|
|
52
|
+
* @see {@link DeletePbxAclGroupCommandInput} for command's `input` shape.
|
|
53
|
+
* @see {@link DeletePbxAclGroupCommandOutput} for command's `response` shape.
|
|
54
|
+
* @see {@link WmsApiClientResolvedConfig | config} for WmsApiClient's `config` shape.
|
|
55
|
+
*
|
|
56
|
+
* @throws {@link WmsUnauthorizedException} (client fault)
|
|
57
|
+
*
|
|
58
|
+
* @throws {@link WmsApiServiceException}
|
|
59
|
+
* <p>Base exception class for all service exceptions from WmsApi service.</p>
|
|
60
|
+
*
|
|
61
|
+
*/
|
|
62
|
+
export declare class DeletePbxAclGroupCommand extends DeletePbxAclGroupCommand_base {
|
|
63
|
+
}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import { ServiceInputTypes, ServiceOutputTypes, WmsApiClientResolvedConfig } from "../WmsApiClient";
|
|
2
|
+
import { DeletePbxColleagueInput, DeletePbxColleagueOutput } 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 DeletePbxColleagueCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DeletePbxColleagueCommandInput extends DeletePbxColleagueInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DeletePbxColleagueCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DeletePbxColleagueCommandOutput extends DeletePbxColleagueOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const DeletePbxColleagueCommand_base: {
|
|
25
|
+
new (input: DeletePbxColleagueCommandInput): import("@smithy/smithy-client").CommandImpl<DeletePbxColleagueCommandInput, DeletePbxColleagueCommandOutput, WmsApiClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: DeletePbxColleagueCommandInput): import("@smithy/smithy-client").CommandImpl<DeletePbxColleagueCommandInput, DeletePbxColleagueCommandOutput, WmsApiClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* @public
|
|
31
|
+
*
|
|
32
|
+
* @example
|
|
33
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
34
|
+
* ```javascript
|
|
35
|
+
* import { WmsApiClient, DeletePbxColleagueCommand } from "@wildix/wms-api-client"; // ES Modules import
|
|
36
|
+
* // const { WmsApiClient, DeletePbxColleagueCommand } = require("@wildix/wms-api-client"); // CommonJS import
|
|
37
|
+
* const client = new WmsApiClient(config);
|
|
38
|
+
* const input = { // DeletePbxColleagueInput
|
|
39
|
+
* id: Number("int"), // required
|
|
40
|
+
* };
|
|
41
|
+
* const command = new DeletePbxColleagueCommand(input);
|
|
42
|
+
* const response = await client.send(command);
|
|
43
|
+
* // { // DeletePbxColleagueOutput
|
|
44
|
+
* // type: "result" || "error", // required
|
|
45
|
+
* // result: "STRING_VALUE", // required
|
|
46
|
+
* // };
|
|
47
|
+
*
|
|
48
|
+
* ```
|
|
49
|
+
*
|
|
50
|
+
* @param DeletePbxColleagueCommandInput - {@link DeletePbxColleagueCommandInput}
|
|
51
|
+
* @returns {@link DeletePbxColleagueCommandOutput}
|
|
52
|
+
* @see {@link DeletePbxColleagueCommandInput} for command's `input` shape.
|
|
53
|
+
* @see {@link DeletePbxColleagueCommandOutput} for command's `response` shape.
|
|
54
|
+
* @see {@link WmsApiClientResolvedConfig | config} for WmsApiClient's `config` shape.
|
|
55
|
+
*
|
|
56
|
+
* @throws {@link WmsUnauthorizedException} (client fault)
|
|
57
|
+
*
|
|
58
|
+
* @throws {@link WmsApiServiceException}
|
|
59
|
+
* <p>Base exception class for all service exceptions from WmsApi service.</p>
|
|
60
|
+
*
|
|
61
|
+
*/
|
|
62
|
+
export declare class DeletePbxColleagueCommand extends DeletePbxColleagueCommand_base {
|
|
63
|
+
}
|
|
@@ -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
|
|
@@ -39,7 +39,7 @@ declare const NotificationsCommand_base: {
|
|
|
39
39
|
* notificationType: "STRING_VALUE", // required
|
|
40
40
|
* event: "STRING_VALUE", // required
|
|
41
41
|
* broadcastMessage: "STRING_VALUE", // required
|
|
42
|
-
*
|
|
42
|
+
* conferenceId: "STRING_VALUE", // required
|
|
43
43
|
* playFrequency: Number("int"),
|
|
44
44
|
* confirmationTimeout: Number("int"),
|
|
45
45
|
* queueTimeout: Number("int"),
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
+
export * from "./CreatePbxAclGroupCommand";
|
|
2
|
+
export * from "./CreatePbxColleagueCommand";
|
|
1
3
|
export * from "./CreatePbxOAuth2ClientCommand";
|
|
4
|
+
export * from "./DeletePbxAclGroupCommand";
|
|
5
|
+
export * from "./DeletePbxColleagueCommand";
|
|
2
6
|
export * from "./DeletePbxOAuth2ClientCommand";
|
|
3
7
|
export * from "./GetColleagueByIdCommand";
|
|
4
8
|
export * from "./GetPbxAclGroupsPermissionsCommand";
|