@wildix/wms-api-client 1.1.20 → 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.
- package/dist-cjs/WmsApi.js +16 -0
- package/dist-cjs/commands/CallControlAnswerCommand.js +21 -0
- package/dist-cjs/commands/CallControlHangupCommand.js +21 -0
- package/dist-cjs/commands/CallControlHoldCommand.js +21 -0
- package/dist-cjs/commands/CallControlMakeCallCommand.js +21 -0
- package/dist-cjs/commands/CallControlTransferCommand.js +21 -0
- package/dist-cjs/commands/CallControlUnholdCommand.js +21 -0
- package/dist-cjs/commands/ListUserActiveCallsCommand.js +21 -0
- package/dist-cjs/commands/ListUserDevicesCommand.js +21 -0
- package/dist-cjs/commands/index.js +8 -0
- package/dist-cjs/models/models_0.js +35 -1
- package/dist-cjs/protocols/Aws_restJson1.js +319 -1
- package/dist-es/WmsApi.js +16 -0
- package/dist-es/commands/CallControlAnswerCommand.js +17 -0
- package/dist-es/commands/CallControlHangupCommand.js +17 -0
- package/dist-es/commands/CallControlHoldCommand.js +17 -0
- package/dist-es/commands/CallControlMakeCallCommand.js +17 -0
- package/dist-es/commands/CallControlTransferCommand.js +17 -0
- package/dist-es/commands/CallControlUnholdCommand.js +17 -0
- package/dist-es/commands/ListUserActiveCallsCommand.js +17 -0
- package/dist-es/commands/ListUserDevicesCommand.js +17 -0
- package/dist-es/commands/index.js +8 -0
- package/dist-es/models/models_0.js +32 -0
- package/dist-es/protocols/Aws_restJson1.js +302 -1
- package/dist-types/WmsApi.d.ts +58 -0
- package/dist-types/WmsApiClient.d.ts +10 -2
- package/dist-types/commands/CallControlAnswerCommand.d.ts +83 -0
- package/dist-types/commands/CallControlHangupCommand.d.ts +83 -0
- package/dist-types/commands/CallControlHoldCommand.d.ts +82 -0
- package/dist-types/commands/CallControlMakeCallCommand.d.ts +81 -0
- package/dist-types/commands/CallControlTransferCommand.d.ts +83 -0
- package/dist-types/commands/CallControlUnholdCommand.d.ts +82 -0
- package/dist-types/commands/CreatePbxAclGroupCommand.d.ts +2 -0
- package/dist-types/commands/CreatePbxColleagueCommand.d.ts +2 -0
- package/dist-types/commands/CreatePbxOAuth2ClientCommand.d.ts +3 -0
- package/dist-types/commands/DeletePbxAclGroupCommand.d.ts +2 -0
- package/dist-types/commands/DeletePbxColleagueCommand.d.ts +2 -0
- package/dist-types/commands/DeletePbxOAuth2ClientCommand.d.ts +2 -0
- package/dist-types/commands/GetColleagueByIdCommand.d.ts +2 -0
- package/dist-types/commands/GetPbxAclGroupsPermissionsCommand.d.ts +2 -0
- package/dist-types/commands/GetPbxCallGroupsCommand.d.ts +2 -0
- package/dist-types/commands/GetPbxColleaguesCommand.d.ts +2 -0
- package/dist-types/commands/GetPbxOAuth2ClientsCommand.d.ts +2 -0
- package/dist-types/commands/GetPbxesCommand.d.ts +2 -0
- package/dist-types/commands/GetPersonalInfoCommand.d.ts +2 -0
- package/dist-types/commands/ListUserActiveCallsCommand.d.ts +85 -0
- package/dist-types/commands/ListUserDevicesCommand.d.ts +85 -0
- package/dist-types/commands/NotificationsCommand.d.ts +2 -0
- package/dist-types/commands/OriginateCallCommand.d.ts +2 -0
- package/dist-types/commands/OriginateCommand.d.ts +2 -0
- package/dist-types/commands/ReloadBroadcastsCommand.d.ts +2 -0
- package/dist-types/commands/UpdatePbxOAuth2ClientCommand.d.ts +2 -0
- package/dist-types/commands/index.d.ts +8 -0
- package/dist-types/models/models_0.d.ts +251 -7
- package/dist-types/protocols/Aws_restJson1.d.ts +72 -0
- package/package.json +1 -1
|
@@ -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
|
*
|
|
@@ -39,6 +39,7 @@ declare const CreatePbxOAuth2ClientCommand_base: {
|
|
|
39
39
|
* redirectUri: [ // PbxOAuth2RedirectUrls // required
|
|
40
40
|
* "STRING_VALUE",
|
|
41
41
|
* ],
|
|
42
|
+
* expireTime: Number("int"), // required
|
|
42
43
|
* };
|
|
43
44
|
* const command = new CreatePbxOAuth2ClientCommand(input);
|
|
44
45
|
* const response = await client.send(command);
|
|
@@ -71,6 +72,8 @@ declare const CreatePbxOAuth2ClientCommand_base: {
|
|
|
71
72
|
*
|
|
72
73
|
* @throws {@link WmsValidationException} (client fault)
|
|
73
74
|
*
|
|
75
|
+
* @throws {@link WmsForbiddenException} (client fault)
|
|
76
|
+
*
|
|
74
77
|
* @throws {@link WmsApiServiceException}
|
|
75
78
|
* <p>Base exception class for all service exceptions from WmsApi service.</p>
|
|
76
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
|
*
|
|
@@ -0,0 +1,85 @@
|
|
|
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
|
+
* // callId: "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
|
+
}
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
import { ServiceInputTypes, ServiceOutputTypes, WmsApiClientResolvedConfig } from "../WmsApiClient";
|
|
2
|
+
import { ListUserDevicesInput, ListUserDevicesOutput } 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 ListUserDevicesCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListUserDevicesCommandInput extends ListUserDevicesInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListUserDevicesCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListUserDevicesCommandOutput extends ListUserDevicesOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ListUserDevicesCommand_base: {
|
|
25
|
+
new (input: ListUserDevicesCommandInput): import("@smithy/smithy-client").CommandImpl<ListUserDevicesCommandInput, ListUserDevicesCommandOutput, WmsApiClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (...[input]: [] | [ListUserDevicesCommandInput]): import("@smithy/smithy-client").CommandImpl<ListUserDevicesCommandInput, ListUserDevicesCommandOutput, 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, ListUserDevicesCommand } from "@wildix/wms-api-client"; // ES Modules import
|
|
36
|
+
* // const { WmsApiClient, ListUserDevicesCommand } = require("@wildix/wms-api-client"); // CommonJS import
|
|
37
|
+
* const client = new WmsApiClient(config);
|
|
38
|
+
* const input = { // ListUserDevicesInput
|
|
39
|
+
* user: "STRING_VALUE",
|
|
40
|
+
* };
|
|
41
|
+
* const command = new ListUserDevicesCommand(input);
|
|
42
|
+
* const response = await client.send(command);
|
|
43
|
+
* // { // ListUserDevicesOutput
|
|
44
|
+
* // devices: [ // DevicesList
|
|
45
|
+
* // { // UserDevice
|
|
46
|
+
* // user_agent: "STRING_VALUE",
|
|
47
|
+
* // contact: "STRING_VALUE",
|
|
48
|
+
* // },
|
|
49
|
+
* // ],
|
|
50
|
+
* // active_device: {
|
|
51
|
+
* // user_agent: "STRING_VALUE",
|
|
52
|
+
* // contact: "STRING_VALUE",
|
|
53
|
+
* // },
|
|
54
|
+
* // };
|
|
55
|
+
*
|
|
56
|
+
* ```
|
|
57
|
+
*
|
|
58
|
+
* @param ListUserDevicesCommandInput - {@link ListUserDevicesCommandInput}
|
|
59
|
+
* @returns {@link ListUserDevicesCommandOutput}
|
|
60
|
+
* @see {@link ListUserDevicesCommandInput} for command's `input` shape.
|
|
61
|
+
* @see {@link ListUserDevicesCommandOutput} 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 ListUserDevicesCommand extends ListUserDevicesCommand_base {
|
|
74
|
+
/** @internal type navigation helper, not in runtime. */
|
|
75
|
+
protected static __types: {
|
|
76
|
+
api: {
|
|
77
|
+
input: ListUserDevicesInput;
|
|
78
|
+
output: ListUserDevicesOutput;
|
|
79
|
+
};
|
|
80
|
+
sdk: {
|
|
81
|
+
input: ListUserDevicesCommandInput;
|
|
82
|
+
output: ListUserDevicesCommandOutput;
|
|
83
|
+
};
|
|
84
|
+
};
|
|
85
|
+
}
|
|
@@ -66,6 +66,8 @@ declare const NotificationsCommand_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
|
*
|
|
@@ -56,6 +56,8 @@ declare const OriginateCallCommand_base: {
|
|
|
56
56
|
*
|
|
57
57
|
* @throws {@link WmsUnauthorizedException} (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
|
*
|
|
@@ -65,6 +65,8 @@ declare const OriginateCommand_base: {
|
|
|
65
65
|
*
|
|
66
66
|
* @throws {@link WmsUnauthorizedException} (client fault)
|
|
67
67
|
*
|
|
68
|
+
* @throws {@link WmsForbiddenException} (client fault)
|
|
69
|
+
*
|
|
68
70
|
* @throws {@link WmsApiServiceException}
|
|
69
71
|
* <p>Base exception class for all service exceptions from WmsApi service.</p>
|
|
70
72
|
*
|