@wildix/wms-api-client 1.1.23 → 1.1.25

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 +0 -16
  2. package/dist-cjs/commands/index.js +0 -8
  3. package/dist-cjs/models/models_0.js +1 -35
  4. package/dist-cjs/protocols/Aws_restJson1.js +1 -318
  5. package/dist-es/WmsApi.js +0 -16
  6. package/dist-es/commands/index.js +0 -8
  7. package/dist-es/models/models_0.js +0 -32
  8. package/dist-es/protocols/Aws_restJson1.js +1 -301
  9. package/dist-types/WmsApi.d.ts +0 -58
  10. package/dist-types/WmsApiClient.d.ts +2 -10
  11. package/dist-types/commands/CreatePbxAclGroupCommand.d.ts +0 -2
  12. package/dist-types/commands/CreatePbxColleagueCommand.d.ts +0 -2
  13. package/dist-types/commands/CreatePbxOAuth2ClientCommand.d.ts +0 -2
  14. package/dist-types/commands/DeletePbxAclGroupCommand.d.ts +0 -2
  15. package/dist-types/commands/DeletePbxColleagueCommand.d.ts +0 -2
  16. package/dist-types/commands/DeletePbxOAuth2ClientCommand.d.ts +0 -2
  17. package/dist-types/commands/GetColleagueByIdCommand.d.ts +0 -2
  18. package/dist-types/commands/GetPbxAclGroupsPermissionsCommand.d.ts +0 -2
  19. package/dist-types/commands/GetPbxCallGroupsCommand.d.ts +0 -2
  20. package/dist-types/commands/GetPbxColleaguesCommand.d.ts +0 -2
  21. package/dist-types/commands/GetPbxOAuth2ClientsCommand.d.ts +1 -2
  22. package/dist-types/commands/GetPbxesCommand.d.ts +0 -2
  23. package/dist-types/commands/GetPersonalInfoCommand.d.ts +0 -2
  24. package/dist-types/commands/NotificationsCommand.d.ts +0 -2
  25. package/dist-types/commands/OriginateCallCommand.d.ts +0 -2
  26. package/dist-types/commands/OriginateCommand.d.ts +0 -2
  27. package/dist-types/commands/ReloadBroadcastsCommand.d.ts +0 -2
  28. package/dist-types/commands/UpdatePbxOAuth2ClientCommand.d.ts +0 -2
  29. package/dist-types/commands/index.d.ts +0 -8
  30. package/dist-types/models/models_0.d.ts +8 -246
  31. package/dist-types/protocols/Aws_restJson1.d.ts +0 -72
  32. package/package.json +1 -1
  33. package/dist-cjs/commands/CallControlAnswerCommand.js +0 -21
  34. package/dist-cjs/commands/CallControlHangupCommand.js +0 -21
  35. package/dist-cjs/commands/CallControlHoldCommand.js +0 -21
  36. package/dist-cjs/commands/CallControlMakeCallCommand.js +0 -21
  37. package/dist-cjs/commands/CallControlTransferCommand.js +0 -21
  38. package/dist-cjs/commands/CallControlUnholdCommand.js +0 -21
  39. package/dist-cjs/commands/ListUserActiveCallsCommand.js +0 -21
  40. package/dist-cjs/commands/ListUserDevicesCommand.js +0 -21
  41. package/dist-es/commands/CallControlAnswerCommand.js +0 -17
  42. package/dist-es/commands/CallControlHangupCommand.js +0 -17
  43. package/dist-es/commands/CallControlHoldCommand.js +0 -17
  44. package/dist-es/commands/CallControlMakeCallCommand.js +0 -17
  45. package/dist-es/commands/CallControlTransferCommand.js +0 -17
  46. package/dist-es/commands/CallControlUnholdCommand.js +0 -17
  47. package/dist-es/commands/ListUserActiveCallsCommand.js +0 -17
  48. package/dist-es/commands/ListUserDevicesCommand.js +0 -17
  49. package/dist-types/commands/CallControlAnswerCommand.d.ts +0 -83
  50. package/dist-types/commands/CallControlHangupCommand.d.ts +0 -83
  51. package/dist-types/commands/CallControlHoldCommand.d.ts +0 -82
  52. package/dist-types/commands/CallControlMakeCallCommand.d.ts +0 -81
  53. package/dist-types/commands/CallControlTransferCommand.d.ts +0 -83
  54. package/dist-types/commands/CallControlUnholdCommand.d.ts +0 -82
  55. package/dist-types/commands/ListUserActiveCallsCommand.d.ts +0 -85
  56. package/dist-types/commands/ListUserDevicesCommand.d.ts +0 -85
@@ -1,17 +0,0 @@
1
- import { de_CallControlMakeCallCommand, se_CallControlMakeCallCommand, } from "../protocols/Aws_restJson1";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
- import { Command as $Command } from "@smithy/smithy-client";
4
- export { $Command };
5
- export class CallControlMakeCallCommand extends $Command.classBuilder()
6
- .m(function (Command, cs, config, o) {
7
- return [
8
- getSerdePlugin(config, this.serialize, this.deserialize),
9
- ];
10
- })
11
- .s("WmsApi", "CallControlMakeCall", {})
12
- .n("WmsApiClient", "CallControlMakeCallCommand")
13
- .f(void 0, void 0)
14
- .ser(se_CallControlMakeCallCommand)
15
- .de(de_CallControlMakeCallCommand)
16
- .build() {
17
- }
@@ -1,17 +0,0 @@
1
- import { de_CallControlTransferCommand, se_CallControlTransferCommand, } from "../protocols/Aws_restJson1";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
- import { Command as $Command } from "@smithy/smithy-client";
4
- export { $Command };
5
- export class CallControlTransferCommand extends $Command.classBuilder()
6
- .m(function (Command, cs, config, o) {
7
- return [
8
- getSerdePlugin(config, this.serialize, this.deserialize),
9
- ];
10
- })
11
- .s("WmsApi", "CallControlTransfer", {})
12
- .n("WmsApiClient", "CallControlTransferCommand")
13
- .f(void 0, void 0)
14
- .ser(se_CallControlTransferCommand)
15
- .de(de_CallControlTransferCommand)
16
- .build() {
17
- }
@@ -1,17 +0,0 @@
1
- import { de_CallControlUnholdCommand, se_CallControlUnholdCommand, } from "../protocols/Aws_restJson1";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
- import { Command as $Command } from "@smithy/smithy-client";
4
- export { $Command };
5
- export class CallControlUnholdCommand extends $Command.classBuilder()
6
- .m(function (Command, cs, config, o) {
7
- return [
8
- getSerdePlugin(config, this.serialize, this.deserialize),
9
- ];
10
- })
11
- .s("WmsApi", "CallControlUnhold", {})
12
- .n("WmsApiClient", "CallControlUnholdCommand")
13
- .f(void 0, void 0)
14
- .ser(se_CallControlUnholdCommand)
15
- .de(de_CallControlUnholdCommand)
16
- .build() {
17
- }
@@ -1,17 +0,0 @@
1
- import { de_ListUserActiveCallsCommand, se_ListUserActiveCallsCommand, } from "../protocols/Aws_restJson1";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
- import { Command as $Command } from "@smithy/smithy-client";
4
- export { $Command };
5
- export class ListUserActiveCallsCommand extends $Command.classBuilder()
6
- .m(function (Command, cs, config, o) {
7
- return [
8
- getSerdePlugin(config, this.serialize, this.deserialize),
9
- ];
10
- })
11
- .s("WmsApi", "ListUserActiveCalls", {})
12
- .n("WmsApiClient", "ListUserActiveCallsCommand")
13
- .f(void 0, void 0)
14
- .ser(se_ListUserActiveCallsCommand)
15
- .de(de_ListUserActiveCallsCommand)
16
- .build() {
17
- }
@@ -1,17 +0,0 @@
1
- import { de_ListUserDevicesCommand, se_ListUserDevicesCommand, } from "../protocols/Aws_restJson1";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
- import { Command as $Command } from "@smithy/smithy-client";
4
- export { $Command };
5
- export class ListUserDevicesCommand extends $Command.classBuilder()
6
- .m(function (Command, cs, config, o) {
7
- return [
8
- getSerdePlugin(config, this.serialize, this.deserialize),
9
- ];
10
- })
11
- .s("WmsApi", "ListUserDevices", {})
12
- .n("WmsApiClient", "ListUserDevicesCommand")
13
- .f(void 0, void 0)
14
- .ser(se_ListUserDevicesCommand)
15
- .de(de_ListUserDevicesCommand)
16
- .build() {
17
- }
@@ -1,83 +0,0 @@
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
- * sipCallId: "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
- }
@@ -1,83 +0,0 @@
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
- * sipCallId: "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
- }
@@ -1,82 +0,0 @@
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
- * sipCallId: "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
- }
@@ -1,81 +0,0 @@
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
- }
@@ -1,83 +0,0 @@
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
- * sipCallId: "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
- }
@@ -1,82 +0,0 @@
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
- * sipCallId: "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
- }
@@ -1,85 +0,0 @@
1
- import { ServiceInputTypes, ServiceOutputTypes, WmsApiClientResolvedConfig } from "../WmsApiClient";
2
- import { ListUserActiveCallsInput, ListUserActiveCallsOutput } 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 ListUserActiveCallsCommand}.
14
- */
15
- export interface ListUserActiveCallsCommandInput extends ListUserActiveCallsInput {
16
- }
17
- /**
18
- * @public
19
- *
20
- * The output of {@link ListUserActiveCallsCommand}.
21
- */
22
- export interface ListUserActiveCallsCommandOutput extends ListUserActiveCallsOutput, __MetadataBearer {
23
- }
24
- declare const ListUserActiveCallsCommand_base: {
25
- new (input: ListUserActiveCallsCommandInput): import("@smithy/smithy-client").CommandImpl<ListUserActiveCallsCommandInput, ListUserActiveCallsCommandOutput, WmsApiClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (...[input]: [] | [ListUserActiveCallsCommandInput]): import("@smithy/smithy-client").CommandImpl<ListUserActiveCallsCommandInput, ListUserActiveCallsCommandOutput, 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, ListUserActiveCallsCommand } from "@wildix/wms-api-client"; // ES Modules import
36
- * // const { WmsApiClient, ListUserActiveCallsCommand } = require("@wildix/wms-api-client"); // CommonJS import
37
- * const client = new WmsApiClient(config);
38
- * const input = { // ListUserActiveCallsInput
39
- * user: "STRING_VALUE",
40
- * };
41
- * const command = new ListUserActiveCallsCommand(input);
42
- * const response = await client.send(command);
43
- * // { // ListUserActiveCallsOutput
44
- * // calls: [ // Calls
45
- * // { // Call
46
- * // sipCallId: "STRING_VALUE", // required
47
- * // callerNumber: "STRING_VALUE",
48
- * // callerName: "STRING_VALUE",
49
- * // calleeNumber: "STRING_VALUE",
50
- * // calleeName: "STRING_VALUE",
51
- * // state: "STRING_VALUE",
52
- * // },
53
- * // ],
54
- * // };
55
- *
56
- * ```
57
- *
58
- * @param ListUserActiveCallsCommandInput - {@link ListUserActiveCallsCommandInput}
59
- * @returns {@link ListUserActiveCallsCommandOutput}
60
- * @see {@link ListUserActiveCallsCommandInput} for command's `input` shape.
61
- * @see {@link ListUserActiveCallsCommandOutput} for command's `response` shape.
62
- * @see {@link WmsApiClientResolvedConfig | config} for WmsApiClient's `config` shape.
63
- *
64
- * @throws {@link WmsUnauthorizedException} (client fault)
65
- *
66
- * @throws {@link WmsForbiddenException} (client fault)
67
- *
68
- * @throws {@link WmsApiServiceException}
69
- * <p>Base exception class for all service exceptions from WmsApi service.</p>
70
- *
71
- *
72
- */
73
- export declare class ListUserActiveCallsCommand extends ListUserActiveCallsCommand_base {
74
- /** @internal type navigation helper, not in runtime. */
75
- protected static __types: {
76
- api: {
77
- input: ListUserActiveCallsInput;
78
- output: ListUserActiveCallsOutput;
79
- };
80
- sdk: {
81
- input: ListUserActiveCallsCommandInput;
82
- output: ListUserActiveCallsCommandOutput;
83
- };
84
- };
85
- }