@wildix/wms-api-client 1.1.21 → 1.1.22

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 (56) hide show
  1. package/dist-cjs/WmsApi.js +16 -0
  2. package/dist-cjs/commands/CallControlAnswerCommand.js +21 -0
  3. package/dist-cjs/commands/CallControlHangupCommand.js +21 -0
  4. package/dist-cjs/commands/CallControlHoldCommand.js +21 -0
  5. package/dist-cjs/commands/CallControlMakeCallCommand.js +21 -0
  6. package/dist-cjs/commands/CallControlTransferCommand.js +21 -0
  7. package/dist-cjs/commands/CallControlUnholdCommand.js +21 -0
  8. package/dist-cjs/commands/ListUserActiveCallsCommand.js +21 -0
  9. package/dist-cjs/commands/ListUserDevicesCommand.js +21 -0
  10. package/dist-cjs/commands/index.js +8 -0
  11. package/dist-cjs/models/models_0.js +35 -1
  12. package/dist-cjs/protocols/Aws_restJson1.js +318 -1
  13. package/dist-es/WmsApi.js +16 -0
  14. package/dist-es/commands/CallControlAnswerCommand.js +17 -0
  15. package/dist-es/commands/CallControlHangupCommand.js +17 -0
  16. package/dist-es/commands/CallControlHoldCommand.js +17 -0
  17. package/dist-es/commands/CallControlMakeCallCommand.js +17 -0
  18. package/dist-es/commands/CallControlTransferCommand.js +17 -0
  19. package/dist-es/commands/CallControlUnholdCommand.js +17 -0
  20. package/dist-es/commands/ListUserActiveCallsCommand.js +17 -0
  21. package/dist-es/commands/ListUserDevicesCommand.js +17 -0
  22. package/dist-es/commands/index.js +8 -0
  23. package/dist-es/models/models_0.js +32 -0
  24. package/dist-es/protocols/Aws_restJson1.js +301 -1
  25. package/dist-types/WmsApi.d.ts +58 -0
  26. package/dist-types/WmsApiClient.d.ts +10 -2
  27. package/dist-types/commands/CallControlAnswerCommand.d.ts +83 -0
  28. package/dist-types/commands/CallControlHangupCommand.d.ts +83 -0
  29. package/dist-types/commands/CallControlHoldCommand.d.ts +82 -0
  30. package/dist-types/commands/CallControlMakeCallCommand.d.ts +81 -0
  31. package/dist-types/commands/CallControlTransferCommand.d.ts +83 -0
  32. package/dist-types/commands/CallControlUnholdCommand.d.ts +82 -0
  33. package/dist-types/commands/CreatePbxAclGroupCommand.d.ts +2 -0
  34. package/dist-types/commands/CreatePbxColleagueCommand.d.ts +2 -0
  35. package/dist-types/commands/CreatePbxOAuth2ClientCommand.d.ts +2 -0
  36. package/dist-types/commands/DeletePbxAclGroupCommand.d.ts +2 -0
  37. package/dist-types/commands/DeletePbxColleagueCommand.d.ts +2 -0
  38. package/dist-types/commands/DeletePbxOAuth2ClientCommand.d.ts +2 -0
  39. package/dist-types/commands/GetColleagueByIdCommand.d.ts +2 -0
  40. package/dist-types/commands/GetPbxAclGroupsPermissionsCommand.d.ts +2 -0
  41. package/dist-types/commands/GetPbxCallGroupsCommand.d.ts +2 -0
  42. package/dist-types/commands/GetPbxColleaguesCommand.d.ts +2 -0
  43. package/dist-types/commands/GetPbxOAuth2ClientsCommand.d.ts +2 -0
  44. package/dist-types/commands/GetPbxesCommand.d.ts +2 -0
  45. package/dist-types/commands/GetPersonalInfoCommand.d.ts +2 -0
  46. package/dist-types/commands/ListUserActiveCallsCommand.d.ts +85 -0
  47. package/dist-types/commands/ListUserDevicesCommand.d.ts +85 -0
  48. package/dist-types/commands/NotificationsCommand.d.ts +2 -0
  49. package/dist-types/commands/OriginateCallCommand.d.ts +2 -0
  50. package/dist-types/commands/OriginateCommand.d.ts +2 -0
  51. package/dist-types/commands/ReloadBroadcastsCommand.d.ts +2 -0
  52. package/dist-types/commands/UpdatePbxOAuth2ClientCommand.d.ts +2 -0
  53. package/dist-types/commands/index.d.ts +8 -0
  54. package/dist-types/models/models_0.d.ts +246 -7
  55. package/dist-types/protocols/Aws_restJson1.d.ts +72 -0
  56. package/package.json +1 -1
@@ -1,3 +1,9 @@
1
+ import { CallControlAnswerCommandInput, CallControlAnswerCommandOutput } from "./commands/CallControlAnswerCommand";
2
+ import { CallControlHangupCommandInput, CallControlHangupCommandOutput } from "./commands/CallControlHangupCommand";
3
+ import { CallControlHoldCommandInput, CallControlHoldCommandOutput } from "./commands/CallControlHoldCommand";
4
+ import { CallControlMakeCallCommandInput, CallControlMakeCallCommandOutput } from "./commands/CallControlMakeCallCommand";
5
+ import { CallControlTransferCommandInput, CallControlTransferCommandOutput } from "./commands/CallControlTransferCommand";
6
+ import { CallControlUnholdCommandInput, CallControlUnholdCommandOutput } from "./commands/CallControlUnholdCommand";
1
7
  import { CreatePbxAclGroupCommandInput, CreatePbxAclGroupCommandOutput } from "./commands/CreatePbxAclGroupCommand";
2
8
  import { CreatePbxColleagueCommandInput, CreatePbxColleagueCommandOutput } from "./commands/CreatePbxColleagueCommand";
3
9
  import { CreatePbxOAuth2ClientCommandInput, CreatePbxOAuth2ClientCommandOutput } from "./commands/CreatePbxOAuth2ClientCommand";
@@ -11,6 +17,8 @@ import { GetPbxColleaguesCommandInput, GetPbxColleaguesCommandOutput } from "./c
11
17
  import { GetPbxOAuth2ClientsCommandInput, GetPbxOAuth2ClientsCommandOutput } from "./commands/GetPbxOAuth2ClientsCommand";
12
18
  import { GetPbxesCommandInput, GetPbxesCommandOutput } from "./commands/GetPbxesCommand";
13
19
  import { GetPersonalInfoCommandInput, GetPersonalInfoCommandOutput } from "./commands/GetPersonalInfoCommand";
20
+ import { ListUserActiveCallsCommandInput, ListUserActiveCallsCommandOutput } from "./commands/ListUserActiveCallsCommand";
21
+ import { ListUserDevicesCommandInput, ListUserDevicesCommandOutput } from "./commands/ListUserDevicesCommand";
14
22
  import { NotificationsCommandInput, NotificationsCommandOutput } from "./commands/NotificationsCommand";
15
23
  import { OriginateCallCommandInput, OriginateCallCommandOutput } from "./commands/OriginateCallCommand";
16
24
  import { OriginateCommandInput, OriginateCommandOutput } from "./commands/OriginateCommand";
@@ -27,11 +35,11 @@ export { __Client };
27
35
  /**
28
36
  * @public
29
37
  */
30
- export type ServiceInputTypes = CreatePbxAclGroupCommandInput | CreatePbxColleagueCommandInput | CreatePbxOAuth2ClientCommandInput | DeletePbxAclGroupCommandInput | DeletePbxColleagueCommandInput | DeletePbxOAuth2ClientCommandInput | GetColleagueByIdCommandInput | GetPbxAclGroupsPermissionsCommandInput | GetPbxCallGroupsCommandInput | GetPbxColleaguesCommandInput | GetPbxOAuth2ClientsCommandInput | GetPbxesCommandInput | GetPersonalInfoCommandInput | NotificationsCommandInput | OriginateCallCommandInput | OriginateCommandInput | ReloadBroadcastsCommandInput | UpdatePbxOAuth2ClientCommandInput;
38
+ export type ServiceInputTypes = CallControlAnswerCommandInput | CallControlHangupCommandInput | CallControlHoldCommandInput | CallControlMakeCallCommandInput | CallControlTransferCommandInput | CallControlUnholdCommandInput | CreatePbxAclGroupCommandInput | CreatePbxColleagueCommandInput | CreatePbxOAuth2ClientCommandInput | DeletePbxAclGroupCommandInput | DeletePbxColleagueCommandInput | DeletePbxOAuth2ClientCommandInput | GetColleagueByIdCommandInput | GetPbxAclGroupsPermissionsCommandInput | GetPbxCallGroupsCommandInput | GetPbxColleaguesCommandInput | GetPbxOAuth2ClientsCommandInput | GetPbxesCommandInput | GetPersonalInfoCommandInput | ListUserActiveCallsCommandInput | ListUserDevicesCommandInput | NotificationsCommandInput | OriginateCallCommandInput | OriginateCommandInput | ReloadBroadcastsCommandInput | UpdatePbxOAuth2ClientCommandInput;
31
39
  /**
32
40
  * @public
33
41
  */
34
- export type ServiceOutputTypes = CreatePbxAclGroupCommandOutput | CreatePbxColleagueCommandOutput | CreatePbxOAuth2ClientCommandOutput | DeletePbxAclGroupCommandOutput | DeletePbxColleagueCommandOutput | DeletePbxOAuth2ClientCommandOutput | GetColleagueByIdCommandOutput | GetPbxAclGroupsPermissionsCommandOutput | GetPbxCallGroupsCommandOutput | GetPbxColleaguesCommandOutput | GetPbxOAuth2ClientsCommandOutput | GetPbxesCommandOutput | GetPersonalInfoCommandOutput | NotificationsCommandOutput | OriginateCallCommandOutput | OriginateCommandOutput | ReloadBroadcastsCommandOutput | UpdatePbxOAuth2ClientCommandOutput;
42
+ export type ServiceOutputTypes = CallControlAnswerCommandOutput | CallControlHangupCommandOutput | CallControlHoldCommandOutput | CallControlMakeCallCommandOutput | CallControlTransferCommandOutput | CallControlUnholdCommandOutput | CreatePbxAclGroupCommandOutput | CreatePbxColleagueCommandOutput | CreatePbxOAuth2ClientCommandOutput | DeletePbxAclGroupCommandOutput | DeletePbxColleagueCommandOutput | DeletePbxOAuth2ClientCommandOutput | GetColleagueByIdCommandOutput | GetPbxAclGroupsPermissionsCommandOutput | GetPbxCallGroupsCommandOutput | GetPbxColleaguesCommandOutput | GetPbxOAuth2ClientsCommandOutput | GetPbxesCommandOutput | GetPersonalInfoCommandOutput | ListUserActiveCallsCommandOutput | ListUserDevicesCommandOutput | NotificationsCommandOutput | OriginateCallCommandOutput | OriginateCommandOutput | ReloadBroadcastsCommandOutput | UpdatePbxOAuth2ClientCommandOutput;
35
43
  /**
36
44
  * @public
37
45
  */
@@ -0,0 +1,83 @@
1
+ import { ServiceInputTypes, ServiceOutputTypes, WmsApiClientResolvedConfig } from "../WmsApiClient";
2
+ import { CallControlAnswerInput, CallControlAnswerOutput } 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 CallControlAnswerCommand}.
14
+ */
15
+ export interface CallControlAnswerCommandInput extends CallControlAnswerInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link CallControlAnswerCommand}.
21
+ */
22
+ export interface CallControlAnswerCommandOutput extends CallControlAnswerOutput, __MetadataBearer {
23
+ }
24
+ declare const CallControlAnswerCommand_base: {
25
+ new (input: CallControlAnswerCommandInput): import("@smithy/smithy-client").CommandImpl<CallControlAnswerCommandInput, CallControlAnswerCommandOutput, WmsApiClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: CallControlAnswerCommandInput): import("@smithy/smithy-client").CommandImpl<CallControlAnswerCommandInput, CallControlAnswerCommandOutput, 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, CallControlAnswerCommand } from "@wildix/wms-api-client"; // ES Modules import
36
+ * // const { WmsApiClient, CallControlAnswerCommand } = require("@wildix/wms-api-client"); // CommonJS import
37
+ * const client = new WmsApiClient(config);
38
+ * const input = { // CallControlAnswerInput
39
+ * user: "STRING_VALUE",
40
+ * channel: "STRING_VALUE", // required
41
+ * device: "STRING_VALUE",
42
+ * };
43
+ * const command = new CallControlAnswerCommand(input);
44
+ * const response = await client.send(command);
45
+ * // { // CallControlAnswerOutput
46
+ * // type: "result" || "error", // required
47
+ * // result: { // CallControlResult
48
+ * // message: "STRING_VALUE",
49
+ * // },
50
+ * // };
51
+ *
52
+ * ```
53
+ *
54
+ * @param CallControlAnswerCommandInput - {@link CallControlAnswerCommandInput}
55
+ * @returns {@link CallControlAnswerCommandOutput}
56
+ * @see {@link CallControlAnswerCommandInput} for command's `input` shape.
57
+ * @see {@link CallControlAnswerCommandOutput} for command's `response` shape.
58
+ * @see {@link WmsApiClientResolvedConfig | config} for WmsApiClient's `config` shape.
59
+ *
60
+ * @throws {@link ChannelNotFoundException} (client fault)
61
+ *
62
+ * @throws {@link WmsUnauthorizedException} (client fault)
63
+ *
64
+ * @throws {@link WmsForbiddenException} (client fault)
65
+ *
66
+ * @throws {@link WmsApiServiceException}
67
+ * <p>Base exception class for all service exceptions from WmsApi service.</p>
68
+ *
69
+ *
70
+ */
71
+ export declare class CallControlAnswerCommand extends CallControlAnswerCommand_base {
72
+ /** @internal type navigation helper, not in runtime. */
73
+ protected static __types: {
74
+ api: {
75
+ input: CallControlAnswerInput;
76
+ output: CallControlAnswerOutput;
77
+ };
78
+ sdk: {
79
+ input: CallControlAnswerCommandInput;
80
+ output: CallControlAnswerCommandOutput;
81
+ };
82
+ };
83
+ }
@@ -0,0 +1,83 @@
1
+ import { ServiceInputTypes, ServiceOutputTypes, WmsApiClientResolvedConfig } from "../WmsApiClient";
2
+ import { CallControlHangupInput, CallControlHangupOutput } 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 CallControlHangupCommand}.
14
+ */
15
+ export interface CallControlHangupCommandInput extends CallControlHangupInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link CallControlHangupCommand}.
21
+ */
22
+ export interface CallControlHangupCommandOutput extends CallControlHangupOutput, __MetadataBearer {
23
+ }
24
+ declare const CallControlHangupCommand_base: {
25
+ new (input: CallControlHangupCommandInput): import("@smithy/smithy-client").CommandImpl<CallControlHangupCommandInput, CallControlHangupCommandOutput, WmsApiClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: CallControlHangupCommandInput): import("@smithy/smithy-client").CommandImpl<CallControlHangupCommandInput, CallControlHangupCommandOutput, 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, CallControlHangupCommand } from "@wildix/wms-api-client"; // ES Modules import
36
+ * // const { WmsApiClient, CallControlHangupCommand } = require("@wildix/wms-api-client"); // CommonJS import
37
+ * const client = new WmsApiClient(config);
38
+ * const input = { // CallControlHangupInput
39
+ * user: "STRING_VALUE",
40
+ * channel: "STRING_VALUE", // required
41
+ * reason: "STRING_VALUE",
42
+ * };
43
+ * const command = new CallControlHangupCommand(input);
44
+ * const response = await client.send(command);
45
+ * // { // CallControlHangupOutput
46
+ * // type: "result" || "error", // required
47
+ * // result: { // CallControlResult
48
+ * // message: "STRING_VALUE",
49
+ * // },
50
+ * // };
51
+ *
52
+ * ```
53
+ *
54
+ * @param CallControlHangupCommandInput - {@link CallControlHangupCommandInput}
55
+ * @returns {@link CallControlHangupCommandOutput}
56
+ * @see {@link CallControlHangupCommandInput} for command's `input` shape.
57
+ * @see {@link CallControlHangupCommandOutput} for command's `response` shape.
58
+ * @see {@link WmsApiClientResolvedConfig | config} for WmsApiClient's `config` shape.
59
+ *
60
+ * @throws {@link ChannelNotFoundException} (client fault)
61
+ *
62
+ * @throws {@link WmsUnauthorizedException} (client fault)
63
+ *
64
+ * @throws {@link WmsForbiddenException} (client fault)
65
+ *
66
+ * @throws {@link WmsApiServiceException}
67
+ * <p>Base exception class for all service exceptions from WmsApi service.</p>
68
+ *
69
+ *
70
+ */
71
+ export declare class CallControlHangupCommand extends CallControlHangupCommand_base {
72
+ /** @internal type navigation helper, not in runtime. */
73
+ protected static __types: {
74
+ api: {
75
+ input: CallControlHangupInput;
76
+ output: CallControlHangupOutput;
77
+ };
78
+ sdk: {
79
+ input: CallControlHangupCommandInput;
80
+ output: CallControlHangupCommandOutput;
81
+ };
82
+ };
83
+ }
@@ -0,0 +1,82 @@
1
+ import { ServiceInputTypes, ServiceOutputTypes, WmsApiClientResolvedConfig } from "../WmsApiClient";
2
+ import { CallControlHoldInput, CallControlHoldOutput } 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 CallControlHoldCommand}.
14
+ */
15
+ export interface CallControlHoldCommandInput extends CallControlHoldInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link CallControlHoldCommand}.
21
+ */
22
+ export interface CallControlHoldCommandOutput extends CallControlHoldOutput, __MetadataBearer {
23
+ }
24
+ declare const CallControlHoldCommand_base: {
25
+ new (input: CallControlHoldCommandInput): import("@smithy/smithy-client").CommandImpl<CallControlHoldCommandInput, CallControlHoldCommandOutput, WmsApiClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: CallControlHoldCommandInput): import("@smithy/smithy-client").CommandImpl<CallControlHoldCommandInput, CallControlHoldCommandOutput, 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, CallControlHoldCommand } from "@wildix/wms-api-client"; // ES Modules import
36
+ * // const { WmsApiClient, CallControlHoldCommand } = require("@wildix/wms-api-client"); // CommonJS import
37
+ * const client = new WmsApiClient(config);
38
+ * const input = { // CallControlHoldInput
39
+ * user: "STRING_VALUE",
40
+ * channel: "STRING_VALUE", // required
41
+ * };
42
+ * const command = new CallControlHoldCommand(input);
43
+ * const response = await client.send(command);
44
+ * // { // CallControlHoldOutput
45
+ * // type: "result" || "error", // required
46
+ * // result: { // CallControlResult
47
+ * // message: "STRING_VALUE",
48
+ * // },
49
+ * // };
50
+ *
51
+ * ```
52
+ *
53
+ * @param CallControlHoldCommandInput - {@link CallControlHoldCommandInput}
54
+ * @returns {@link CallControlHoldCommandOutput}
55
+ * @see {@link CallControlHoldCommandInput} for command's `input` shape.
56
+ * @see {@link CallControlHoldCommandOutput} for command's `response` shape.
57
+ * @see {@link WmsApiClientResolvedConfig | config} for WmsApiClient's `config` shape.
58
+ *
59
+ * @throws {@link ChannelNotFoundException} (client fault)
60
+ *
61
+ * @throws {@link WmsUnauthorizedException} (client fault)
62
+ *
63
+ * @throws {@link WmsForbiddenException} (client fault)
64
+ *
65
+ * @throws {@link WmsApiServiceException}
66
+ * <p>Base exception class for all service exceptions from WmsApi service.</p>
67
+ *
68
+ *
69
+ */
70
+ export declare class CallControlHoldCommand extends CallControlHoldCommand_base {
71
+ /** @internal type navigation helper, not in runtime. */
72
+ protected static __types: {
73
+ api: {
74
+ input: CallControlHoldInput;
75
+ output: CallControlHoldOutput;
76
+ };
77
+ sdk: {
78
+ input: CallControlHoldCommandInput;
79
+ output: CallControlHoldCommandOutput;
80
+ };
81
+ };
82
+ }
@@ -0,0 +1,81 @@
1
+ import { ServiceInputTypes, ServiceOutputTypes, WmsApiClientResolvedConfig } from "../WmsApiClient";
2
+ import { CallControlMakeCallInput, CallControlMakeCallOutput } 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 CallControlMakeCallCommand}.
14
+ */
15
+ export interface CallControlMakeCallCommandInput extends CallControlMakeCallInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link CallControlMakeCallCommand}.
21
+ */
22
+ export interface CallControlMakeCallCommandOutput extends CallControlMakeCallOutput, __MetadataBearer {
23
+ }
24
+ declare const CallControlMakeCallCommand_base: {
25
+ new (input: CallControlMakeCallCommandInput): import("@smithy/smithy-client").CommandImpl<CallControlMakeCallCommandInput, CallControlMakeCallCommandOutput, WmsApiClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: CallControlMakeCallCommandInput): import("@smithy/smithy-client").CommandImpl<CallControlMakeCallCommandInput, CallControlMakeCallCommandOutput, 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, CallControlMakeCallCommand } from "@wildix/wms-api-client"; // ES Modules import
36
+ * // const { WmsApiClient, CallControlMakeCallCommand } = require("@wildix/wms-api-client"); // CommonJS import
37
+ * const client = new WmsApiClient(config);
38
+ * const input = { // CallControlMakeCallInput
39
+ * user: "STRING_VALUE",
40
+ * destination: "STRING_VALUE", // required
41
+ * device: "STRING_VALUE",
42
+ * };
43
+ * const command = new CallControlMakeCallCommand(input);
44
+ * const response = await client.send(command);
45
+ * // { // CallControlMakeCallOutput
46
+ * // type: "result" || "error", // required
47
+ * // result: { // CallControlResult
48
+ * // message: "STRING_VALUE",
49
+ * // },
50
+ * // };
51
+ *
52
+ * ```
53
+ *
54
+ * @param CallControlMakeCallCommandInput - {@link CallControlMakeCallCommandInput}
55
+ * @returns {@link CallControlMakeCallCommandOutput}
56
+ * @see {@link CallControlMakeCallCommandInput} for command's `input` shape.
57
+ * @see {@link CallControlMakeCallCommandOutput} for command's `response` shape.
58
+ * @see {@link WmsApiClientResolvedConfig | config} for WmsApiClient's `config` shape.
59
+ *
60
+ * @throws {@link WmsUnauthorizedException} (client fault)
61
+ *
62
+ * @throws {@link WmsForbiddenException} (client fault)
63
+ *
64
+ * @throws {@link WmsApiServiceException}
65
+ * <p>Base exception class for all service exceptions from WmsApi service.</p>
66
+ *
67
+ *
68
+ */
69
+ export declare class CallControlMakeCallCommand extends CallControlMakeCallCommand_base {
70
+ /** @internal type navigation helper, not in runtime. */
71
+ protected static __types: {
72
+ api: {
73
+ input: CallControlMakeCallInput;
74
+ output: CallControlMakeCallOutput;
75
+ };
76
+ sdk: {
77
+ input: CallControlMakeCallCommandInput;
78
+ output: CallControlMakeCallCommandOutput;
79
+ };
80
+ };
81
+ }
@@ -0,0 +1,83 @@
1
+ import { ServiceInputTypes, ServiceOutputTypes, WmsApiClientResolvedConfig } from "../WmsApiClient";
2
+ import { CallControlTransferInput, CallControlTransferOutput } 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 CallControlTransferCommand}.
14
+ */
15
+ export interface CallControlTransferCommandInput extends CallControlTransferInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link CallControlTransferCommand}.
21
+ */
22
+ export interface CallControlTransferCommandOutput extends CallControlTransferOutput, __MetadataBearer {
23
+ }
24
+ declare const CallControlTransferCommand_base: {
25
+ new (input: CallControlTransferCommandInput): import("@smithy/smithy-client").CommandImpl<CallControlTransferCommandInput, CallControlTransferCommandOutput, WmsApiClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: CallControlTransferCommandInput): import("@smithy/smithy-client").CommandImpl<CallControlTransferCommandInput, CallControlTransferCommandOutput, 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, CallControlTransferCommand } from "@wildix/wms-api-client"; // ES Modules import
36
+ * // const { WmsApiClient, CallControlTransferCommand } = require("@wildix/wms-api-client"); // CommonJS import
37
+ * const client = new WmsApiClient(config);
38
+ * const input = { // CallControlTransferInput
39
+ * user: "STRING_VALUE",
40
+ * channel: "STRING_VALUE", // required
41
+ * destination: "STRING_VALUE", // required
42
+ * };
43
+ * const command = new CallControlTransferCommand(input);
44
+ * const response = await client.send(command);
45
+ * // { // CallControlTransferOutput
46
+ * // type: "result" || "error", // required
47
+ * // result: { // CallControlResult
48
+ * // message: "STRING_VALUE",
49
+ * // },
50
+ * // };
51
+ *
52
+ * ```
53
+ *
54
+ * @param CallControlTransferCommandInput - {@link CallControlTransferCommandInput}
55
+ * @returns {@link CallControlTransferCommandOutput}
56
+ * @see {@link CallControlTransferCommandInput} for command's `input` shape.
57
+ * @see {@link CallControlTransferCommandOutput} for command's `response` shape.
58
+ * @see {@link WmsApiClientResolvedConfig | config} for WmsApiClient's `config` shape.
59
+ *
60
+ * @throws {@link ChannelNotFoundException} (client fault)
61
+ *
62
+ * @throws {@link WmsUnauthorizedException} (client fault)
63
+ *
64
+ * @throws {@link WmsForbiddenException} (client fault)
65
+ *
66
+ * @throws {@link WmsApiServiceException}
67
+ * <p>Base exception class for all service exceptions from WmsApi service.</p>
68
+ *
69
+ *
70
+ */
71
+ export declare class CallControlTransferCommand extends CallControlTransferCommand_base {
72
+ /** @internal type navigation helper, not in runtime. */
73
+ protected static __types: {
74
+ api: {
75
+ input: CallControlTransferInput;
76
+ output: CallControlTransferOutput;
77
+ };
78
+ sdk: {
79
+ input: CallControlTransferCommandInput;
80
+ output: CallControlTransferCommandOutput;
81
+ };
82
+ };
83
+ }
@@ -0,0 +1,82 @@
1
+ import { ServiceInputTypes, ServiceOutputTypes, WmsApiClientResolvedConfig } from "../WmsApiClient";
2
+ import { CallControlUnholdInput, CallControlUnholdOutput } 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 CallControlUnholdCommand}.
14
+ */
15
+ export interface CallControlUnholdCommandInput extends CallControlUnholdInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link CallControlUnholdCommand}.
21
+ */
22
+ export interface CallControlUnholdCommandOutput extends CallControlUnholdOutput, __MetadataBearer {
23
+ }
24
+ declare const CallControlUnholdCommand_base: {
25
+ new (input: CallControlUnholdCommandInput): import("@smithy/smithy-client").CommandImpl<CallControlUnholdCommandInput, CallControlUnholdCommandOutput, WmsApiClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: CallControlUnholdCommandInput): import("@smithy/smithy-client").CommandImpl<CallControlUnholdCommandInput, CallControlUnholdCommandOutput, 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, CallControlUnholdCommand } from "@wildix/wms-api-client"; // ES Modules import
36
+ * // const { WmsApiClient, CallControlUnholdCommand } = require("@wildix/wms-api-client"); // CommonJS import
37
+ * const client = new WmsApiClient(config);
38
+ * const input = { // CallControlUnholdInput
39
+ * user: "STRING_VALUE",
40
+ * channel: "STRING_VALUE", // required
41
+ * };
42
+ * const command = new CallControlUnholdCommand(input);
43
+ * const response = await client.send(command);
44
+ * // { // CallControlUnholdOutput
45
+ * // type: "result" || "error", // required
46
+ * // result: { // CallControlResult
47
+ * // message: "STRING_VALUE",
48
+ * // },
49
+ * // };
50
+ *
51
+ * ```
52
+ *
53
+ * @param CallControlUnholdCommandInput - {@link CallControlUnholdCommandInput}
54
+ * @returns {@link CallControlUnholdCommandOutput}
55
+ * @see {@link CallControlUnholdCommandInput} for command's `input` shape.
56
+ * @see {@link CallControlUnholdCommandOutput} for command's `response` shape.
57
+ * @see {@link WmsApiClientResolvedConfig | config} for WmsApiClient's `config` shape.
58
+ *
59
+ * @throws {@link ChannelNotFoundException} (client fault)
60
+ *
61
+ * @throws {@link WmsUnauthorizedException} (client fault)
62
+ *
63
+ * @throws {@link WmsForbiddenException} (client fault)
64
+ *
65
+ * @throws {@link WmsApiServiceException}
66
+ * <p>Base exception class for all service exceptions from WmsApi service.</p>
67
+ *
68
+ *
69
+ */
70
+ export declare class CallControlUnholdCommand extends CallControlUnholdCommand_base {
71
+ /** @internal type navigation helper, not in runtime. */
72
+ protected static __types: {
73
+ api: {
74
+ input: CallControlUnholdInput;
75
+ output: CallControlUnholdOutput;
76
+ };
77
+ sdk: {
78
+ input: CallControlUnholdCommandInput;
79
+ output: CallControlUnholdCommandOutput;
80
+ };
81
+ };
82
+ }
@@ -78,6 +78,8 @@ declare const CreatePbxAclGroupCommand_base: {
78
78
  *
79
79
  * @throws {@link WmsUnauthorizedException} (client fault)
80
80
  *
81
+ * @throws {@link WmsForbiddenException} (client fault)
82
+ *
81
83
  * @throws {@link WmsApiServiceException}
82
84
  * <p>Base exception class for all service exceptions from WmsApi service.</p>
83
85
  *
@@ -92,6 +92,8 @@ declare const CreatePbxColleagueCommand_base: {
92
92
  *
93
93
  * @throws {@link WmsUnauthorizedException} (client fault)
94
94
  *
95
+ * @throws {@link WmsForbiddenException} (client fault)
96
+ *
95
97
  * @throws {@link WmsApiServiceException}
96
98
  * <p>Base exception class for all service exceptions from WmsApi service.</p>
97
99
  *
@@ -72,6 +72,8 @@ declare const CreatePbxOAuth2ClientCommand_base: {
72
72
  *
73
73
  * @throws {@link WmsValidationException} (client fault)
74
74
  *
75
+ * @throws {@link WmsForbiddenException} (client fault)
76
+ *
75
77
  * @throws {@link WmsApiServiceException}
76
78
  * <p>Base exception class for all service exceptions from WmsApi service.</p>
77
79
  *
@@ -55,6 +55,8 @@ declare const DeletePbxAclGroupCommand_base: {
55
55
  *
56
56
  * @throws {@link WmsUnauthorizedException} (client fault)
57
57
  *
58
+ * @throws {@link WmsForbiddenException} (client fault)
59
+ *
58
60
  * @throws {@link WmsApiServiceException}
59
61
  * <p>Base exception class for all service exceptions from WmsApi service.</p>
60
62
  *
@@ -55,6 +55,8 @@ declare const DeletePbxColleagueCommand_base: {
55
55
  *
56
56
  * @throws {@link WmsUnauthorizedException} (client fault)
57
57
  *
58
+ * @throws {@link WmsForbiddenException} (client fault)
59
+ *
58
60
  * @throws {@link WmsApiServiceException}
59
61
  * <p>Base exception class for all service exceptions from WmsApi service.</p>
60
62
  *
@@ -56,6 +56,8 @@ declare const DeletePbxOAuth2ClientCommand_base: {
56
56
  *
57
57
  * @throws {@link WmsNotFoundException} (client fault)
58
58
  *
59
+ * @throws {@link WmsForbiddenException} (client fault)
60
+ *
59
61
  * @throws {@link WmsApiServiceException}
60
62
  * <p>Base exception class for all service exceptions from WmsApi service.</p>
61
63
  *
@@ -77,6 +77,8 @@ declare const GetColleagueByIdCommand_base: {
77
77
  *
78
78
  * @throws {@link WmsUnauthorizedException} (client fault)
79
79
  *
80
+ * @throws {@link WmsForbiddenException} (client fault)
81
+ *
80
82
  * @throws {@link WmsApiServiceException}
81
83
  * <p>Base exception class for all service exceptions from WmsApi service.</p>
82
84
  *
@@ -81,6 +81,8 @@ declare const GetPbxAclGroupsPermissionsCommand_base: {
81
81
  *
82
82
  * @throws {@link WmsUnauthorizedException} (client fault)
83
83
  *
84
+ * @throws {@link WmsForbiddenException} (client fault)
85
+ *
84
86
  * @throws {@link WmsApiServiceException}
85
87
  * <p>Base exception class for all service exceptions from WmsApi service.</p>
86
88
  *
@@ -92,6 +92,8 @@ declare const GetPbxCallGroupsCommand_base: {
92
92
  *
93
93
  * @throws {@link WmsUnauthorizedException} (client fault)
94
94
  *
95
+ * @throws {@link WmsForbiddenException} (client fault)
96
+ *
95
97
  * @throws {@link WmsApiServiceException}
96
98
  * <p>Base exception class for all service exceptions from WmsApi service.</p>
97
99
  *
@@ -121,6 +121,8 @@ declare const GetPbxColleaguesCommand_base: {
121
121
  *
122
122
  * @throws {@link WmsUnauthorizedException} (client fault)
123
123
  *
124
+ * @throws {@link WmsForbiddenException} (client fault)
125
+ *
124
126
  * @throws {@link WmsApiServiceException}
125
127
  * <p>Base exception class for all service exceptions from WmsApi service.</p>
126
128
  *
@@ -64,6 +64,8 @@ declare const GetPbxOAuth2ClientsCommand_base: {
64
64
  *
65
65
  * @throws {@link WmsUnauthorizedException} (client fault)
66
66
  *
67
+ * @throws {@link WmsForbiddenException} (client fault)
68
+ *
67
69
  * @throws {@link WmsApiServiceException}
68
70
  * <p>Base exception class for all service exceptions from WmsApi service.</p>
69
71
  *
@@ -66,6 +66,8 @@ declare const GetPbxesCommand_base: {
66
66
  *
67
67
  * @throws {@link WmsUnauthorizedException} (client fault)
68
68
  *
69
+ * @throws {@link WmsForbiddenException} (client fault)
70
+ *
69
71
  * @throws {@link WmsApiServiceException}
70
72
  * <p>Base exception class for all service exceptions from WmsApi service.</p>
71
73
  *
@@ -116,6 +116,8 @@ declare const GetPersonalInfoCommand_base: {
116
116
  *
117
117
  * @throws {@link WmsUnauthorizedException} (client fault)
118
118
  *
119
+ * @throws {@link WmsForbiddenException} (client fault)
120
+ *
119
121
  * @throws {@link WmsApiServiceException}
120
122
  * <p>Base exception class for all service exceptions from WmsApi service.</p>
121
123
  *