@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
@@ -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
  *
@@ -52,6 +52,8 @@ declare const ReloadBroadcastsCommand_base: {
52
52
  *
53
53
  * @throws {@link WmsUnauthorizedException} (client fault)
54
54
  *
55
+ * @throws {@link WmsForbiddenException} (client fault)
56
+ *
55
57
  * @throws {@link WmsApiServiceException}
56
58
  * <p>Base exception class for all service exceptions from WmsApi service.</p>
57
59
  *
@@ -74,6 +74,8 @@ declare const UpdatePbxOAuth2ClientCommand_base: {
74
74
  *
75
75
  * @throws {@link WmsValidationException} (client fault)
76
76
  *
77
+ * @throws {@link WmsForbiddenException} (client fault)
78
+ *
77
79
  * @throws {@link WmsApiServiceException}
78
80
  * <p>Base exception class for all service exceptions from WmsApi service.</p>
79
81
  *
@@ -1,3 +1,9 @@
1
+ export * from "./CallControlAnswerCommand";
2
+ export * from "./CallControlHangupCommand";
3
+ export * from "./CallControlHoldCommand";
4
+ export * from "./CallControlMakeCallCommand";
5
+ export * from "./CallControlTransferCommand";
6
+ export * from "./CallControlUnholdCommand";
1
7
  export * from "./CreatePbxAclGroupCommand";
2
8
  export * from "./CreatePbxColleagueCommand";
3
9
  export * from "./CreatePbxOAuth2ClientCommand";
@@ -11,6 +17,8 @@ export * from "./GetPbxColleaguesCommand";
11
17
  export * from "./GetPbxesCommand";
12
18
  export * from "./GetPbxOAuth2ClientsCommand";
13
19
  export * from "./GetPersonalInfoCommand";
20
+ export * from "./ListUserActiveCallsCommand";
21
+ export * from "./ListUserDevicesCommand";
14
22
  export * from "./NotificationsCommand";
15
23
  export * from "./OriginateCommand";
16
24
  export * from "./OriginateCallCommand";
@@ -81,11 +81,43 @@ export interface AclGroupPermission {
81
81
  /**
82
82
  * @public
83
83
  */
84
- export interface CreatePbxAclGroupInput {
85
- name: string;
86
- inherits?: string | undefined;
87
- wcgrp?: string | undefined;
88
- rules: (AclGroupRule)[];
84
+ export interface Call {
85
+ callId: string;
86
+ callerNumber?: string | undefined;
87
+ callerName?: string | undefined;
88
+ calleeNumber?: string | undefined;
89
+ calleeName?: string | undefined;
90
+ state?: string | undefined;
91
+ }
92
+ /**
93
+ * @public
94
+ */
95
+ export interface CallControlAnswerInput {
96
+ /**
97
+ * Extension, login or email. Only users with root admin authorization can specify a different user. By default, the authorized user will be used. Optional parameter.
98
+ * @public
99
+ */
100
+ user?: string | undefined;
101
+ /**
102
+ * Call identifier. For makecall action it is not required, for other actions it is required.
103
+ * @public
104
+ */
105
+ channel: string;
106
+ /**
107
+ * Can specify the device to answer the call on. If not specified, the default device for the user will be used.
108
+ * @public
109
+ */
110
+ device?: string | undefined;
111
+ }
112
+ /**
113
+ * @public
114
+ */
115
+ export interface CallControlResult {
116
+ /**
117
+ * A message describing the result of the call control operation, providing additional details or error information if applicable.
118
+ * @public
119
+ */
120
+ message?: string | undefined;
89
121
  }
90
122
  /**
91
123
  * @public
@@ -102,9 +134,35 @@ export type ResponseType = typeof ResponseType[keyof typeof ResponseType];
102
134
  /**
103
135
  * @public
104
136
  */
105
- export interface CreatePbxAclGroupOutput {
137
+ export interface CallControlAnswerOutput {
106
138
  type: ResponseType;
107
- result: AclGroup;
139
+ result: CallControlResult;
140
+ }
141
+ /**
142
+ * @public
143
+ */
144
+ export declare class ChannelNotFoundException extends __BaseException {
145
+ readonly name: "ChannelNotFoundException";
146
+ readonly $fault: "client";
147
+ type: ResponseType;
148
+ reason: string;
149
+ /**
150
+ * @internal
151
+ */
152
+ constructor(opts: __ExceptionOptionType<ChannelNotFoundException, __BaseException>);
153
+ }
154
+ /**
155
+ * @public
156
+ */
157
+ export declare class WmsForbiddenException extends __BaseException {
158
+ readonly name: "WmsForbiddenException";
159
+ readonly $fault: "client";
160
+ type: ResponseType;
161
+ reason: string;
162
+ /**
163
+ * @internal
164
+ */
165
+ constructor(opts: __ExceptionOptionType<WmsForbiddenException, __BaseException>);
108
166
  }
109
167
  /**
110
168
  * @public
@@ -119,6 +177,147 @@ export declare class WmsUnauthorizedException extends __BaseException {
119
177
  */
120
178
  constructor(opts: __ExceptionOptionType<WmsUnauthorizedException, __BaseException>);
121
179
  }
180
+ /**
181
+ * @public
182
+ */
183
+ export interface CallControlHangupInput {
184
+ /**
185
+ * Extension, login or email. Only users with root admin authorization can specify a different user. By default, the authorized user will be used. Optional parameter.
186
+ * @public
187
+ */
188
+ user?: string | undefined;
189
+ /**
190
+ * Call identifier. For makecall action it is not required, for other actions it is required.
191
+ * @public
192
+ */
193
+ channel: string;
194
+ /**
195
+ * Optional reason for the hangup. This can provide additional context for the action taken.
196
+ * @public
197
+ */
198
+ reason?: string | undefined;
199
+ }
200
+ /**
201
+ * @public
202
+ */
203
+ export interface CallControlHangupOutput {
204
+ type: ResponseType;
205
+ result: CallControlResult;
206
+ }
207
+ /**
208
+ * @public
209
+ */
210
+ export interface CallControlHoldInput {
211
+ /**
212
+ * Extension, login or email. Only users with root admin authorization can specify a different user. By default, the authorized user will be used. Optional parameter.
213
+ * @public
214
+ */
215
+ user?: string | undefined;
216
+ /**
217
+ * Call identifier. For makecall action it is not required, for other actions it is required.
218
+ * @public
219
+ */
220
+ channel: string;
221
+ }
222
+ /**
223
+ * @public
224
+ */
225
+ export interface CallControlHoldOutput {
226
+ type: ResponseType;
227
+ result: CallControlResult;
228
+ }
229
+ /**
230
+ * @public
231
+ */
232
+ export interface CallControlMakeCallInput {
233
+ /**
234
+ * Extension, login or email. Only users with root admin authorization can specify a different user. By default, the authorized user will be used. Optional parameter.
235
+ * @public
236
+ */
237
+ user?: string | undefined;
238
+ /**
239
+ * The destination for a call control operation. This can be a phone number, extension, or another valid identifier.
240
+ * @public
241
+ */
242
+ destination: string;
243
+ /**
244
+ * Can specify the device to answer the call on. If not specified, the default device for the user will be used.
245
+ * @public
246
+ */
247
+ device?: string | undefined;
248
+ }
249
+ /**
250
+ * @public
251
+ */
252
+ export interface CallControlMakeCallOutput {
253
+ type: ResponseType;
254
+ result: CallControlResult;
255
+ }
256
+ /**
257
+ * @public
258
+ */
259
+ export interface CallControlTransferInput {
260
+ /**
261
+ * Extension, login or email. Only users with root admin authorization can specify a different user. By default, the authorized user will be used. Optional parameter.
262
+ * @public
263
+ */
264
+ user?: string | undefined;
265
+ /**
266
+ * Call identifier. For makecall action it is not required, for other actions it is required.
267
+ * @public
268
+ */
269
+ channel: string;
270
+ /**
271
+ * The destination for a call control operation. This can be a phone number, extension, or another valid identifier.
272
+ * @public
273
+ */
274
+ destination: string;
275
+ }
276
+ /**
277
+ * @public
278
+ */
279
+ export interface CallControlTransferOutput {
280
+ type: ResponseType;
281
+ result: CallControlResult;
282
+ }
283
+ /**
284
+ * @public
285
+ */
286
+ export interface CallControlUnholdInput {
287
+ /**
288
+ * Extension, login or email. Only users with root admin authorization can specify a different user. By default, the authorized user will be used. Optional parameter.
289
+ * @public
290
+ */
291
+ user?: string | undefined;
292
+ /**
293
+ * Call identifier. For makecall action it is not required, for other actions it is required.
294
+ * @public
295
+ */
296
+ channel: string;
297
+ }
298
+ /**
299
+ * @public
300
+ */
301
+ export interface CallControlUnholdOutput {
302
+ type: ResponseType;
303
+ result: CallControlResult;
304
+ }
305
+ /**
306
+ * @public
307
+ */
308
+ export interface CreatePbxAclGroupInput {
309
+ name: string;
310
+ inherits?: string | undefined;
311
+ wcgrp?: string | undefined;
312
+ rules: (AclGroupRule)[];
313
+ }
314
+ /**
315
+ * @public
316
+ */
317
+ export interface CreatePbxAclGroupOutput {
318
+ type: ResponseType;
319
+ result: AclGroup;
320
+ }
122
321
  /**
123
322
  * @public
124
323
  * @enum
@@ -304,6 +503,13 @@ export declare class WmsNotFoundException extends __BaseException {
304
503
  */
305
504
  constructor(opts: __ExceptionOptionType<WmsNotFoundException, __BaseException>);
306
505
  }
506
+ /**
507
+ * @public
508
+ */
509
+ export interface UserDevice {
510
+ user_agent?: string | undefined;
511
+ contact?: string | undefined;
512
+ }
307
513
  /**
308
514
  * @public
309
515
  */
@@ -578,6 +784,39 @@ export interface GetPersonalInfoOutput {
578
784
  type: ResponseType;
579
785
  result: PbxColleague;
580
786
  }
787
+ /**
788
+ * @public
789
+ */
790
+ export interface ListUserActiveCallsInput {
791
+ /**
792
+ * Extension, login or email. Only users with root admin authorization can specify a different user. By default, the authorized user will be used. Optional parameter.
793
+ * @public
794
+ */
795
+ user?: string | undefined;
796
+ }
797
+ /**
798
+ * @public
799
+ */
800
+ export interface ListUserActiveCallsOutput {
801
+ calls?: (Call)[] | undefined;
802
+ }
803
+ /**
804
+ * @public
805
+ */
806
+ export interface ListUserDevicesInput {
807
+ /**
808
+ * Extension, login or email. Only users with root admin authorization can specify a different user. By default, the authorized user will be used. Optional parameter.
809
+ * @public
810
+ */
811
+ user?: string | undefined;
812
+ }
813
+ /**
814
+ * @public
815
+ */
816
+ export interface ListUserDevicesOutput {
817
+ devices?: (UserDevice)[] | undefined;
818
+ active_device?: UserDevice | undefined;
819
+ }
581
820
  /**
582
821
  * @public
583
822
  */
@@ -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 "../
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";
@@ -18,6 +26,30 @@ import { ReloadBroadcastsCommandInput, ReloadBroadcastsCommandOutput } from "../
18
26
  import { UpdatePbxOAuth2ClientCommandInput, UpdatePbxOAuth2ClientCommandOutput } from "../commands/UpdatePbxOAuth2ClientCommand";
19
27
  import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@smithy/protocol-http";
20
28
  import { SerdeContext as __SerdeContext } from "@smithy/types";
29
+ /**
30
+ * serializeAws_restJson1CallControlAnswerCommand
31
+ */
32
+ export declare const se_CallControlAnswerCommand: (input: CallControlAnswerCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
33
+ /**
34
+ * serializeAws_restJson1CallControlHangupCommand
35
+ */
36
+ export declare const se_CallControlHangupCommand: (input: CallControlHangupCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
37
+ /**
38
+ * serializeAws_restJson1CallControlHoldCommand
39
+ */
40
+ export declare const se_CallControlHoldCommand: (input: CallControlHoldCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
41
+ /**
42
+ * serializeAws_restJson1CallControlMakeCallCommand
43
+ */
44
+ export declare const se_CallControlMakeCallCommand: (input: CallControlMakeCallCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
45
+ /**
46
+ * serializeAws_restJson1CallControlTransferCommand
47
+ */
48
+ export declare const se_CallControlTransferCommand: (input: CallControlTransferCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
49
+ /**
50
+ * serializeAws_restJson1CallControlUnholdCommand
51
+ */
52
+ export declare const se_CallControlUnholdCommand: (input: CallControlUnholdCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
21
53
  /**
22
54
  * serializeAws_restJson1CreatePbxAclGroupCommand
23
55
  */
@@ -70,6 +102,14 @@ export declare const se_GetPbxOAuth2ClientsCommand: (input: GetPbxOAuth2ClientsC
70
102
  * serializeAws_restJson1GetPersonalInfoCommand
71
103
  */
72
104
  export declare const se_GetPersonalInfoCommand: (input: GetPersonalInfoCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
105
+ /**
106
+ * serializeAws_restJson1ListUserActiveCallsCommand
107
+ */
108
+ export declare const se_ListUserActiveCallsCommand: (input: ListUserActiveCallsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
109
+ /**
110
+ * serializeAws_restJson1ListUserDevicesCommand
111
+ */
112
+ export declare const se_ListUserDevicesCommand: (input: ListUserDevicesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
73
113
  /**
74
114
  * serializeAws_restJson1NotificationsCommand
75
115
  */
@@ -90,6 +130,30 @@ export declare const se_ReloadBroadcastsCommand: (input: ReloadBroadcastsCommand
90
130
  * serializeAws_restJson1UpdatePbxOAuth2ClientCommand
91
131
  */
92
132
  export declare const se_UpdatePbxOAuth2ClientCommand: (input: UpdatePbxOAuth2ClientCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
133
+ /**
134
+ * deserializeAws_restJson1CallControlAnswerCommand
135
+ */
136
+ export declare const de_CallControlAnswerCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CallControlAnswerCommandOutput>;
137
+ /**
138
+ * deserializeAws_restJson1CallControlHangupCommand
139
+ */
140
+ export declare const de_CallControlHangupCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CallControlHangupCommandOutput>;
141
+ /**
142
+ * deserializeAws_restJson1CallControlHoldCommand
143
+ */
144
+ export declare const de_CallControlHoldCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CallControlHoldCommandOutput>;
145
+ /**
146
+ * deserializeAws_restJson1CallControlMakeCallCommand
147
+ */
148
+ export declare const de_CallControlMakeCallCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CallControlMakeCallCommandOutput>;
149
+ /**
150
+ * deserializeAws_restJson1CallControlTransferCommand
151
+ */
152
+ export declare const de_CallControlTransferCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CallControlTransferCommandOutput>;
153
+ /**
154
+ * deserializeAws_restJson1CallControlUnholdCommand
155
+ */
156
+ export declare const de_CallControlUnholdCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CallControlUnholdCommandOutput>;
93
157
  /**
94
158
  * deserializeAws_restJson1CreatePbxAclGroupCommand
95
159
  */
@@ -142,6 +206,14 @@ export declare const de_GetPbxOAuth2ClientsCommand: (output: __HttpResponse, con
142
206
  * deserializeAws_restJson1GetPersonalInfoCommand
143
207
  */
144
208
  export declare const de_GetPersonalInfoCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetPersonalInfoCommandOutput>;
209
+ /**
210
+ * deserializeAws_restJson1ListUserActiveCallsCommand
211
+ */
212
+ export declare const de_ListUserActiveCallsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListUserActiveCallsCommandOutput>;
213
+ /**
214
+ * deserializeAws_restJson1ListUserDevicesCommand
215
+ */
216
+ export declare const de_ListUserDevicesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListUserDevicesCommandOutput>;
145
217
  /**
146
218
  * deserializeAws_restJson1NotificationsCommand
147
219
  */
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@wildix/wms-api-client",
3
3
  "description": "@wildix/wms-api-client client",
4
- "version": "1.1.21",
4
+ "version": "1.1.22",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",