@wildix/wms-api-client 1.1.24 → 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 (59) hide show
  1. package/dist-cjs/WmsApi.js +0 -18
  2. package/dist-cjs/commands/index.js +0 -9
  3. package/dist-cjs/models/models_0.js +1 -35
  4. package/dist-cjs/protocols/Aws_restJson1.js +1 -348
  5. package/dist-es/WmsApi.js +0 -18
  6. package/dist-es/commands/index.js +0 -9
  7. package/dist-es/models/models_0.js +0 -32
  8. package/dist-es/protocols/Aws_restJson1.js +1 -329
  9. package/dist-types/WmsApi.d.ts +0 -65
  10. package/dist-types/WmsApiClient.d.ts +2 -11
  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 -9
  30. package/dist-types/models/models_0.d.ts +8 -285
  31. package/dist-types/protocols/Aws_restJson1.d.ts +0 -81
  32. package/package.json +1 -1
  33. package/dist-cjs/commands/CallControlAnswerCommand.js +0 -21
  34. package/dist-cjs/commands/CallControlAttendantTransferCommand.js +0 -21
  35. package/dist-cjs/commands/CallControlBlindTransferCommand.js +0 -21
  36. package/dist-cjs/commands/CallControlHangupCommand.js +0 -21
  37. package/dist-cjs/commands/CallControlHoldCommand.js +0 -21
  38. package/dist-cjs/commands/CallControlMakeCallCommand.js +0 -21
  39. package/dist-cjs/commands/CallControlUnholdCommand.js +0 -21
  40. package/dist-cjs/commands/ListUserActiveCallsCommand.js +0 -21
  41. package/dist-cjs/commands/ListUserDevicesCommand.js +0 -21
  42. package/dist-es/commands/CallControlAnswerCommand.js +0 -17
  43. package/dist-es/commands/CallControlAttendantTransferCommand.js +0 -17
  44. package/dist-es/commands/CallControlBlindTransferCommand.js +0 -17
  45. package/dist-es/commands/CallControlHangupCommand.js +0 -17
  46. package/dist-es/commands/CallControlHoldCommand.js +0 -17
  47. package/dist-es/commands/CallControlMakeCallCommand.js +0 -17
  48. package/dist-es/commands/CallControlUnholdCommand.js +0 -17
  49. package/dist-es/commands/ListUserActiveCallsCommand.js +0 -17
  50. package/dist-es/commands/ListUserDevicesCommand.js +0 -17
  51. package/dist-types/commands/CallControlAnswerCommand.d.ts +0 -80
  52. package/dist-types/commands/CallControlAttendantTransferCommand.d.ts +0 -80
  53. package/dist-types/commands/CallControlBlindTransferCommand.d.ts +0 -80
  54. package/dist-types/commands/CallControlHangupCommand.d.ts +0 -80
  55. package/dist-types/commands/CallControlHoldCommand.d.ts +0 -79
  56. package/dist-types/commands/CallControlMakeCallCommand.d.ts +0 -78
  57. package/dist-types/commands/CallControlUnholdCommand.d.ts +0 -79
  58. package/dist-types/commands/ListUserActiveCallsCommand.d.ts +0 -86
  59. package/dist-types/commands/ListUserDevicesCommand.d.ts +0 -85
@@ -1,78 +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
- * // message: "STRING_VALUE",
47
- * // };
48
- *
49
- * ```
50
- *
51
- * @param CallControlMakeCallCommandInput - {@link CallControlMakeCallCommandInput}
52
- * @returns {@link CallControlMakeCallCommandOutput}
53
- * @see {@link CallControlMakeCallCommandInput} for command's `input` shape.
54
- * @see {@link CallControlMakeCallCommandOutput} for command's `response` shape.
55
- * @see {@link WmsApiClientResolvedConfig | config} for WmsApiClient's `config` shape.
56
- *
57
- * @throws {@link WmsUnauthorizedException} (client fault)
58
- *
59
- * @throws {@link WmsForbiddenException} (client fault)
60
- *
61
- * @throws {@link WmsApiServiceException}
62
- * <p>Base exception class for all service exceptions from WmsApi service.</p>
63
- *
64
- *
65
- */
66
- export declare class CallControlMakeCallCommand extends CallControlMakeCallCommand_base {
67
- /** @internal type navigation helper, not in runtime. */
68
- protected static __types: {
69
- api: {
70
- input: CallControlMakeCallInput;
71
- output: CallControlMakeCallOutput;
72
- };
73
- sdk: {
74
- input: CallControlMakeCallCommandInput;
75
- output: CallControlMakeCallCommandOutput;
76
- };
77
- };
78
- }
@@ -1,79 +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
- * // message: "STRING_VALUE",
46
- * // };
47
- *
48
- * ```
49
- *
50
- * @param CallControlUnholdCommandInput - {@link CallControlUnholdCommandInput}
51
- * @returns {@link CallControlUnholdCommandOutput}
52
- * @see {@link CallControlUnholdCommandInput} for command's `input` shape.
53
- * @see {@link CallControlUnholdCommandOutput} for command's `response` shape.
54
- * @see {@link WmsApiClientResolvedConfig | config} for WmsApiClient's `config` shape.
55
- *
56
- * @throws {@link ChannelNotFoundException} (client fault)
57
- *
58
- * @throws {@link WmsUnauthorizedException} (client fault)
59
- *
60
- * @throws {@link WmsForbiddenException} (client fault)
61
- *
62
- * @throws {@link WmsApiServiceException}
63
- * <p>Base exception class for all service exceptions from WmsApi service.</p>
64
- *
65
- *
66
- */
67
- export declare class CallControlUnholdCommand extends CallControlUnholdCommand_base {
68
- /** @internal type navigation helper, not in runtime. */
69
- protected static __types: {
70
- api: {
71
- input: CallControlUnholdInput;
72
- output: CallControlUnholdOutput;
73
- };
74
- sdk: {
75
- input: CallControlUnholdCommandInput;
76
- output: CallControlUnholdCommandOutput;
77
- };
78
- };
79
- }
@@ -1,86 +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
- * // duration: Number("int"),
53
- * // },
54
- * // ],
55
- * // };
56
- *
57
- * ```
58
- *
59
- * @param ListUserActiveCallsCommandInput - {@link ListUserActiveCallsCommandInput}
60
- * @returns {@link ListUserActiveCallsCommandOutput}
61
- * @see {@link ListUserActiveCallsCommandInput} for command's `input` shape.
62
- * @see {@link ListUserActiveCallsCommandOutput} for command's `response` shape.
63
- * @see {@link WmsApiClientResolvedConfig | config} for WmsApiClient's `config` shape.
64
- *
65
- * @throws {@link WmsUnauthorizedException} (client fault)
66
- *
67
- * @throws {@link WmsForbiddenException} (client fault)
68
- *
69
- * @throws {@link WmsApiServiceException}
70
- * <p>Base exception class for all service exceptions from WmsApi service.</p>
71
- *
72
- *
73
- */
74
- export declare class ListUserActiveCallsCommand extends ListUserActiveCallsCommand_base {
75
- /** @internal type navigation helper, not in runtime. */
76
- protected static __types: {
77
- api: {
78
- input: ListUserActiveCallsInput;
79
- output: ListUserActiveCallsOutput;
80
- };
81
- sdk: {
82
- input: ListUserActiveCallsCommandInput;
83
- output: ListUserActiveCallsCommandOutput;
84
- };
85
- };
86
- }
@@ -1,85 +0,0 @@
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 // required
45
- * // { // UserDevice
46
- * // userAgent: "STRING_VALUE",
47
- * // contact: "STRING_VALUE",
48
- * // },
49
- * // ],
50
- * // activeDevice: {
51
- * // userAgent: "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
- }