@wildix/wms-api-client 1.1.12 → 1.1.13

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.
Files changed (42) hide show
  1. package/dist-cjs/WmsApi.js +8 -0
  2. package/dist-cjs/commands/CreatePbxAclGroupCommand.js +21 -0
  3. package/dist-cjs/commands/CreatePbxColleagueCommand.js +21 -0
  4. package/dist-cjs/commands/DeletePbxAclGroupCommand.js +21 -0
  5. package/dist-cjs/commands/DeletePbxColleagueCommand.js +21 -0
  6. package/dist-cjs/commands/index.js +4 -0
  7. package/dist-cjs/models/models_0.js +8 -8
  8. package/dist-cjs/protocols/Aws_restJson1.js +139 -1
  9. package/dist-es/WmsApi.js +8 -0
  10. package/dist-es/commands/CreatePbxAclGroupCommand.js +17 -0
  11. package/dist-es/commands/CreatePbxColleagueCommand.js +17 -0
  12. package/dist-es/commands/DeletePbxAclGroupCommand.js +17 -0
  13. package/dist-es/commands/DeletePbxColleagueCommand.js +17 -0
  14. package/dist-es/commands/index.js +4 -0
  15. package/dist-es/models/models_0.js +7 -7
  16. package/dist-es/protocols/Aws_restJson1.js +130 -0
  17. package/dist-types/WmsApi.d.ts +28 -0
  18. package/dist-types/WmsApiClient.d.ts +6 -2
  19. package/dist-types/commands/CreatePbxAclGroupCommand.d.ts +86 -0
  20. package/dist-types/commands/CreatePbxColleagueCommand.d.ts +100 -0
  21. package/dist-types/commands/CreatePbxOAuth2ClientCommand.d.ts +2 -2
  22. package/dist-types/commands/DeletePbxAclGroupCommand.d.ts +63 -0
  23. package/dist-types/commands/DeletePbxColleagueCommand.d.ts +63 -0
  24. package/dist-types/commands/DeletePbxOAuth2ClientCommand.d.ts +2 -2
  25. package/dist-types/commands/GetColleagueByIdCommand.d.ts +2 -2
  26. package/dist-types/commands/GetPbxAclGroupsPermissionsCommand.d.ts +2 -2
  27. package/dist-types/commands/GetPbxCallGroupsCommand.d.ts +2 -2
  28. package/dist-types/commands/GetPbxColleaguesCommand.d.ts +2 -2
  29. package/dist-types/commands/GetPbxOAuth2ClientsCommand.d.ts +2 -2
  30. package/dist-types/commands/GetPbxesCommand.d.ts +2 -2
  31. package/dist-types/commands/GetPersonalInfoCommand.d.ts +2 -2
  32. package/dist-types/commands/NotificationsCommand.d.ts +2 -2
  33. package/dist-types/commands/OriginateCallCommand.d.ts +2 -2
  34. package/dist-types/commands/OriginateCommand.d.ts +2 -2
  35. package/dist-types/commands/UpdatePbxOAuth2ClientCommand.d.ts +2 -2
  36. package/dist-types/commands/index.d.ts +4 -0
  37. package/dist-types/models/models_0.d.ts +149 -59
  38. package/dist-types/protocols/Aws_restJson1.d.ts +36 -0
  39. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  40. package/dist-types/runtimeConfig.d.ts +1 -0
  41. package/dist-types/runtimeConfig.native.d.ts +1 -0
  42. package/package.json +1 -1
@@ -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: "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: { // CreatePbxAclGroupResult
55
+ * // id: "STRING_VALUE", // 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: "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
+ }
@@ -31,8 +31,8 @@ declare const CreatePbxOAuth2ClientCommand_base: {
31
31
  * @example
32
32
  * Use a bare-bones client and the command you need to make an API call.
33
33
  * ```javascript
34
- * import { WmsApiClient, CreatePbxOAuth2ClientCommand } from "@wildix-internal/wms-api-client"; // ES Modules import
35
- * // const { WmsApiClient, CreatePbxOAuth2ClientCommand } = require("@wildix-internal/wms-api-client"); // CommonJS import
34
+ * import { WmsApiClient, CreatePbxOAuth2ClientCommand } from "@wildix/wms-api-client"; // ES Modules import
35
+ * // const { WmsApiClient, CreatePbxOAuth2ClientCommand } = require("@wildix/wms-api-client"); // CommonJS import
36
36
  * const client = new WmsApiClient(config);
37
37
  * const input = { // CreatePbxOAuth2ClientInput
38
38
  * name: "STRING_VALUE", // required
@@ -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
+ }
@@ -31,8 +31,8 @@ declare const DeletePbxOAuth2ClientCommand_base: {
31
31
  * @example
32
32
  * Use a bare-bones client and the command you need to make an API call.
33
33
  * ```javascript
34
- * import { WmsApiClient, DeletePbxOAuth2ClientCommand } from "@wildix-internal/wms-api-client"; // ES Modules import
35
- * // const { WmsApiClient, DeletePbxOAuth2ClientCommand } = require("@wildix-internal/wms-api-client"); // CommonJS import
34
+ * import { WmsApiClient, DeletePbxOAuth2ClientCommand } from "@wildix/wms-api-client"; // ES Modules import
35
+ * // const { WmsApiClient, DeletePbxOAuth2ClientCommand } = require("@wildix/wms-api-client"); // CommonJS import
36
36
  * const client = new WmsApiClient(config);
37
37
  * const input = { // DeletePbxOAuth2ClientInput
38
38
  * id: "STRING_VALUE", // required
@@ -32,8 +32,8 @@ declare const GetColleagueByIdCommand_base: {
32
32
  * @example
33
33
  * Use a bare-bones client and the command you need to make an API call.
34
34
  * ```javascript
35
- * import { WmsApiClient, GetColleagueByIdCommand } from "@wildix-internal/wms-api-client"; // ES Modules import
36
- * // const { WmsApiClient, GetColleagueByIdCommand } = require("@wildix-internal/wms-api-client"); // CommonJS import
35
+ * import { WmsApiClient, GetColleagueByIdCommand } from "@wildix/wms-api-client"; // ES Modules import
36
+ * // const { WmsApiClient, GetColleagueByIdCommand } = require("@wildix/wms-api-client"); // CommonJS import
37
37
  * const client = new WmsApiClient(config);
38
38
  * const input = { // GetColleagueByIdInput
39
39
  * id: Number("int"), // required
@@ -32,8 +32,8 @@ declare const GetPbxAclGroupsPermissionsCommand_base: {
32
32
  * @example
33
33
  * Use a bare-bones client and the command you need to make an API call.
34
34
  * ```javascript
35
- * import { WmsApiClient, GetPbxAclGroupsPermissionsCommand } from "@wildix-internal/wms-api-client"; // ES Modules import
36
- * // const { WmsApiClient, GetPbxAclGroupsPermissionsCommand } = require("@wildix-internal/wms-api-client"); // CommonJS import
35
+ * import { WmsApiClient, GetPbxAclGroupsPermissionsCommand } from "@wildix/wms-api-client"; // ES Modules import
36
+ * // const { WmsApiClient, GetPbxAclGroupsPermissionsCommand } = require("@wildix/wms-api-client"); // CommonJS import
37
37
  * const client = new WmsApiClient(config);
38
38
  * const input = { // GetPbxAclGroupsPermissionsInput
39
39
  * groups: [ // FilterList
@@ -31,8 +31,8 @@ declare const GetPbxCallGroupsCommand_base: {
31
31
  * @example
32
32
  * Use a bare-bones client and the command you need to make an API call.
33
33
  * ```javascript
34
- * import { WmsApiClient, GetPbxCallGroupsCommand } from "@wildix-internal/wms-api-client"; // ES Modules import
35
- * // const { WmsApiClient, GetPbxCallGroupsCommand } = require("@wildix-internal/wms-api-client"); // CommonJS import
34
+ * import { WmsApiClient, GetPbxCallGroupsCommand } from "@wildix/wms-api-client"; // ES Modules import
35
+ * // const { WmsApiClient, GetPbxCallGroupsCommand } = require("@wildix/wms-api-client"); // CommonJS import
36
36
  * const client = new WmsApiClient(config);
37
37
  * const input = {};
38
38
  * const command = new GetPbxCallGroupsCommand(input);
@@ -32,8 +32,8 @@ declare const GetPbxColleaguesCommand_base: {
32
32
  * @example
33
33
  * Use a bare-bones client and the command you need to make an API call.
34
34
  * ```javascript
35
- * import { WmsApiClient, GetPbxColleaguesCommand } from "@wildix-internal/wms-api-client"; // ES Modules import
36
- * // const { WmsApiClient, GetPbxColleaguesCommand } = require("@wildix-internal/wms-api-client"); // CommonJS import
35
+ * import { WmsApiClient, GetPbxColleaguesCommand } from "@wildix/wms-api-client"; // ES Modules import
36
+ * // const { WmsApiClient, GetPbxColleaguesCommand } = require("@wildix/wms-api-client"); // CommonJS import
37
37
  * const client = new WmsApiClient(config);
38
38
  * const input = { // GetPbxColleaguesInput
39
39
  * extension: [ // ColleaguesFilterList
@@ -31,8 +31,8 @@ declare const GetPbxOAuth2ClientsCommand_base: {
31
31
  * @example
32
32
  * Use a bare-bones client and the command you need to make an API call.
33
33
  * ```javascript
34
- * import { WmsApiClient, GetPbxOAuth2ClientsCommand } from "@wildix-internal/wms-api-client"; // ES Modules import
35
- * // const { WmsApiClient, GetPbxOAuth2ClientsCommand } = require("@wildix-internal/wms-api-client"); // CommonJS import
34
+ * import { WmsApiClient, GetPbxOAuth2ClientsCommand } from "@wildix/wms-api-client"; // ES Modules import
35
+ * // const { WmsApiClient, GetPbxOAuth2ClientsCommand } = require("@wildix/wms-api-client"); // CommonJS import
36
36
  * const client = new WmsApiClient(config);
37
37
  * const input = {};
38
38
  * const command = new GetPbxOAuth2ClientsCommand(input);
@@ -31,8 +31,8 @@ declare const GetPbxesCommand_base: {
31
31
  * @example
32
32
  * Use a bare-bones client and the command you need to make an API call.
33
33
  * ```javascript
34
- * import { WmsApiClient, GetPbxesCommand } from "@wildix-internal/wms-api-client"; // ES Modules import
35
- * // const { WmsApiClient, GetPbxesCommand } = require("@wildix-internal/wms-api-client"); // CommonJS import
34
+ * import { WmsApiClient, GetPbxesCommand } from "@wildix/wms-api-client"; // ES Modules import
35
+ * // const { WmsApiClient, GetPbxesCommand } = require("@wildix/wms-api-client"); // CommonJS import
36
36
  * const client = new WmsApiClient(config);
37
37
  * const input = {};
38
38
  * const command = new GetPbxesCommand(input);
@@ -32,8 +32,8 @@ declare const GetPersonalInfoCommand_base: {
32
32
  * @example
33
33
  * Use a bare-bones client and the command you need to make an API call.
34
34
  * ```javascript
35
- * import { WmsApiClient, GetPersonalInfoCommand } from "@wildix-internal/wms-api-client"; // ES Modules import
36
- * // const { WmsApiClient, GetPersonalInfoCommand } = require("@wildix-internal/wms-api-client"); // CommonJS import
35
+ * import { WmsApiClient, GetPersonalInfoCommand } from "@wildix/wms-api-client"; // ES Modules import
36
+ * // const { WmsApiClient, GetPersonalInfoCommand } = require("@wildix/wms-api-client"); // CommonJS import
37
37
  * const client = new WmsApiClient(config);
38
38
  * const input = { // GetPersonalInfoInput
39
39
  * extension: [ // ColleaguesFilterList
@@ -31,8 +31,8 @@ declare const NotificationsCommand_base: {
31
31
  * @example
32
32
  * Use a bare-bones client and the command you need to make an API call.
33
33
  * ```javascript
34
- * import { WmsApiClient, NotificationsCommand } from "@wildix-internal/wms-api-client"; // ES Modules import
35
- * // const { WmsApiClient, NotificationsCommand } = require("@wildix-internal/wms-api-client"); // CommonJS import
34
+ * import { WmsApiClient, NotificationsCommand } from "@wildix/wms-api-client"; // ES Modules import
35
+ * // const { WmsApiClient, NotificationsCommand } = require("@wildix/wms-api-client"); // CommonJS import
36
36
  * const client = new WmsApiClient(config);
37
37
  * const input = { // NotificationsInput
38
38
  * from: "STRING_VALUE", // required
@@ -31,8 +31,8 @@ declare const OriginateCallCommand_base: {
31
31
  * @example
32
32
  * Use a bare-bones client and the command you need to make an API call.
33
33
  * ```javascript
34
- * import { WmsApiClient, OriginateCallCommand } from "@wildix-internal/wms-api-client"; // ES Modules import
35
- * // const { WmsApiClient, OriginateCallCommand } = require("@wildix-internal/wms-api-client"); // CommonJS import
34
+ * import { WmsApiClient, OriginateCallCommand } from "@wildix/wms-api-client"; // ES Modules import
35
+ * // const { WmsApiClient, OriginateCallCommand } = require("@wildix/wms-api-client"); // CommonJS import
36
36
  * const client = new WmsApiClient(config);
37
37
  * const input = { // OriginateCallInput
38
38
  * number: "STRING_VALUE", // required
@@ -31,8 +31,8 @@ declare const OriginateCommand_base: {
31
31
  * @example
32
32
  * Use a bare-bones client and the command you need to make an API call.
33
33
  * ```javascript
34
- * import { WmsApiClient, OriginateCommand } from "@wildix-internal/wms-api-client"; // ES Modules import
35
- * // const { WmsApiClient, OriginateCommand } = require("@wildix-internal/wms-api-client"); // CommonJS import
34
+ * import { WmsApiClient, OriginateCommand } from "@wildix/wms-api-client"; // ES Modules import
35
+ * // const { WmsApiClient, OriginateCommand } = require("@wildix/wms-api-client"); // CommonJS import
36
36
  * const client = new WmsApiClient(config);
37
37
  * const input = { // OriginateInput
38
38
  * channel: "STRING_VALUE", // required
@@ -31,8 +31,8 @@ declare const UpdatePbxOAuth2ClientCommand_base: {
31
31
  * @example
32
32
  * Use a bare-bones client and the command you need to make an API call.
33
33
  * ```javascript
34
- * import { WmsApiClient, UpdatePbxOAuth2ClientCommand } from "@wildix-internal/wms-api-client"; // ES Modules import
35
- * // const { WmsApiClient, UpdatePbxOAuth2ClientCommand } = require("@wildix-internal/wms-api-client"); // CommonJS import
34
+ * import { WmsApiClient, UpdatePbxOAuth2ClientCommand } from "@wildix/wms-api-client"; // ES Modules import
35
+ * // const { WmsApiClient, UpdatePbxOAuth2ClientCommand } = require("@wildix/wms-api-client"); // CommonJS import
36
36
  * const client = new WmsApiClient(config);
37
37
  * const input = { // UpdatePbxOAuth2ClientInput
38
38
  * id: "STRING_VALUE", // required
@@ -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";