@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,126 +1,8 @@
1
1
  import { WmsApiServiceException as __BaseException } from "../models/WmsApiServiceException";
2
- import { ChannelNotFoundException, WmsForbiddenException, WmsNotFoundException, WmsUnauthorizedException, WmsValidationException, } from "../models/models_0";
2
+ import { WmsNotFoundException, WmsUnauthorizedException, WmsValidationException, } from "../models/models_0";
3
3
  import { loadRestJsonErrorCode, parseJsonBody as parseBody, parseJsonErrorBody as parseErrorBody, } from "@aws-sdk/core";
4
4
  import { requestBuilder as rb } from "@smithy/core";
5
5
  import { decorateServiceException as __decorateServiceException, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, _json, collectBody, map, take, withBaseException, } from "@smithy/smithy-client";
6
- export const se_CallControlAnswerCommand = async (input, context) => {
7
- const b = rb(input, context);
8
- const headers = {
9
- 'content-type': 'application/json',
10
- };
11
- b.bp("/api/v1/call-control/answer");
12
- const query = map({
13
- [_u]: [, input[_u]],
14
- });
15
- let body;
16
- body = JSON.stringify(take(input, {
17
- 'device': [],
18
- 'sipCallId': [],
19
- }));
20
- b.m("POST")
21
- .h(headers)
22
- .q(query)
23
- .b(body);
24
- return b.build();
25
- };
26
- export const se_CallControlHangupCommand = async (input, context) => {
27
- const b = rb(input, context);
28
- const headers = {
29
- 'content-type': 'application/json',
30
- };
31
- b.bp("/api/v1/call-control/hangup");
32
- const query = map({
33
- [_u]: [, input[_u]],
34
- });
35
- let body;
36
- body = JSON.stringify(take(input, {
37
- 'reason': [],
38
- 'sipCallId': [],
39
- }));
40
- b.m("POST")
41
- .h(headers)
42
- .q(query)
43
- .b(body);
44
- return b.build();
45
- };
46
- export const se_CallControlHoldCommand = async (input, context) => {
47
- const b = rb(input, context);
48
- const headers = {
49
- 'content-type': 'application/json',
50
- };
51
- b.bp("/api/v1/call-control/hold");
52
- const query = map({
53
- [_u]: [, input[_u]],
54
- });
55
- let body;
56
- body = JSON.stringify(take(input, {
57
- 'sipCallId': [],
58
- }));
59
- b.m("POST")
60
- .h(headers)
61
- .q(query)
62
- .b(body);
63
- return b.build();
64
- };
65
- export const se_CallControlMakeCallCommand = async (input, context) => {
66
- const b = rb(input, context);
67
- const headers = {
68
- 'content-type': 'application/json',
69
- };
70
- b.bp("/api/v1/call-control/make-call");
71
- const query = map({
72
- [_u]: [, input[_u]],
73
- });
74
- let body;
75
- body = JSON.stringify(take(input, {
76
- 'destination': [],
77
- 'device': [],
78
- }));
79
- b.m("POST")
80
- .h(headers)
81
- .q(query)
82
- .b(body);
83
- return b.build();
84
- };
85
- export const se_CallControlTransferCommand = async (input, context) => {
86
- const b = rb(input, context);
87
- const headers = {
88
- 'content-type': 'application/json',
89
- };
90
- b.bp("/api/v1/call-control/transfer");
91
- const query = map({
92
- [_u]: [, input[_u]],
93
- });
94
- let body;
95
- body = JSON.stringify(take(input, {
96
- 'destination': [],
97
- 'sipCallId': [],
98
- }));
99
- b.m("POST")
100
- .h(headers)
101
- .q(query)
102
- .b(body);
103
- return b.build();
104
- };
105
- export const se_CallControlUnholdCommand = async (input, context) => {
106
- const b = rb(input, context);
107
- const headers = {
108
- 'content-type': 'application/json',
109
- };
110
- b.bp("/api/v1/call-control/unhold");
111
- const query = map({
112
- [_u]: [, input[_u]],
113
- });
114
- let body;
115
- body = JSON.stringify(take(input, {
116
- 'sipCallId': [],
117
- }));
118
- b.m("POST")
119
- .h(headers)
120
- .q(query)
121
- .b(body);
122
- return b.build();
123
- };
124
6
  export const se_CreatePbxAclGroupCommand = async (input, context) => {
125
7
  const b = rb(input, context);
126
8
  const headers = {
@@ -345,34 +227,6 @@ export const se_GetPersonalInfoCommand = async (input, context) => {
345
227
  .b(body);
346
228
  return b.build();
347
229
  };
348
- export const se_ListUserActiveCallsCommand = async (input, context) => {
349
- const b = rb(input, context);
350
- const headers = {};
351
- b.bp("/api/v1/call-control/list-calls");
352
- const query = map({
353
- [_u]: [, input[_u]],
354
- });
355
- let body;
356
- b.m("GET")
357
- .h(headers)
358
- .q(query)
359
- .b(body);
360
- return b.build();
361
- };
362
- export const se_ListUserDevicesCommand = async (input, context) => {
363
- const b = rb(input, context);
364
- const headers = {};
365
- b.bp("/api/v1/call-control/list-devices");
366
- const query = map({
367
- [_u]: [, input[_u]],
368
- });
369
- let body;
370
- b.m("GET")
371
- .h(headers)
372
- .q(query)
373
- .b(body);
374
- return b.build();
375
- };
376
230
  export const se_NotificationsCommand = async (input, context) => {
377
231
  const b = rb(input, context);
378
232
  const headers = {
@@ -468,96 +322,6 @@ export const se_UpdatePbxOAuth2ClientCommand = async (input, context) => {
468
322
  .b(body);
469
323
  return b.build();
470
324
  };
471
- export const de_CallControlAnswerCommand = async (output, context) => {
472
- if (output.statusCode !== 200 && output.statusCode >= 300) {
473
- return de_CommandError(output, context);
474
- }
475
- const contents = map({
476
- $metadata: deserializeMetadata(output),
477
- });
478
- const data = __expectNonNull((__expectObject(await parseBody(output.body, context))), "body");
479
- const doc = take(data, {
480
- 'result': _json,
481
- 'type': __expectString,
482
- });
483
- Object.assign(contents, doc);
484
- return contents;
485
- };
486
- export const de_CallControlHangupCommand = async (output, context) => {
487
- if (output.statusCode !== 200 && output.statusCode >= 300) {
488
- return de_CommandError(output, context);
489
- }
490
- const contents = map({
491
- $metadata: deserializeMetadata(output),
492
- });
493
- const data = __expectNonNull((__expectObject(await parseBody(output.body, context))), "body");
494
- const doc = take(data, {
495
- 'result': _json,
496
- 'type': __expectString,
497
- });
498
- Object.assign(contents, doc);
499
- return contents;
500
- };
501
- export const de_CallControlHoldCommand = async (output, context) => {
502
- if (output.statusCode !== 200 && output.statusCode >= 300) {
503
- return de_CommandError(output, context);
504
- }
505
- const contents = map({
506
- $metadata: deserializeMetadata(output),
507
- });
508
- const data = __expectNonNull((__expectObject(await parseBody(output.body, context))), "body");
509
- const doc = take(data, {
510
- 'result': _json,
511
- 'type': __expectString,
512
- });
513
- Object.assign(contents, doc);
514
- return contents;
515
- };
516
- export const de_CallControlMakeCallCommand = async (output, context) => {
517
- if (output.statusCode !== 200 && output.statusCode >= 300) {
518
- return de_CommandError(output, context);
519
- }
520
- const contents = map({
521
- $metadata: deserializeMetadata(output),
522
- });
523
- const data = __expectNonNull((__expectObject(await parseBody(output.body, context))), "body");
524
- const doc = take(data, {
525
- 'result': _json,
526
- 'type': __expectString,
527
- });
528
- Object.assign(contents, doc);
529
- return contents;
530
- };
531
- export const de_CallControlTransferCommand = async (output, context) => {
532
- if (output.statusCode !== 200 && output.statusCode >= 300) {
533
- return de_CommandError(output, context);
534
- }
535
- const contents = map({
536
- $metadata: deserializeMetadata(output),
537
- });
538
- const data = __expectNonNull((__expectObject(await parseBody(output.body, context))), "body");
539
- const doc = take(data, {
540
- 'result': _json,
541
- 'type': __expectString,
542
- });
543
- Object.assign(contents, doc);
544
- return contents;
545
- };
546
- export const de_CallControlUnholdCommand = async (output, context) => {
547
- if (output.statusCode !== 200 && output.statusCode >= 300) {
548
- return de_CommandError(output, context);
549
- }
550
- const contents = map({
551
- $metadata: deserializeMetadata(output),
552
- });
553
- const data = __expectNonNull((__expectObject(await parseBody(output.body, context))), "body");
554
- const doc = take(data, {
555
- 'result': _json,
556
- 'type': __expectString,
557
- });
558
- Object.assign(contents, doc);
559
- return contents;
560
- };
561
325
  export const de_CreatePbxAclGroupCommand = async (output, context) => {
562
326
  if (output.statusCode !== 200 && output.statusCode >= 300) {
563
327
  return de_CommandError(output, context);
@@ -753,35 +517,6 @@ export const de_GetPersonalInfoCommand = async (output, context) => {
753
517
  Object.assign(contents, doc);
754
518
  return contents;
755
519
  };
756
- export const de_ListUserActiveCallsCommand = async (output, context) => {
757
- if (output.statusCode !== 200 && output.statusCode >= 300) {
758
- return de_CommandError(output, context);
759
- }
760
- const contents = map({
761
- $metadata: deserializeMetadata(output),
762
- });
763
- const data = __expectNonNull((__expectObject(await parseBody(output.body, context))), "body");
764
- const doc = take(data, {
765
- 'calls': _json,
766
- });
767
- Object.assign(contents, doc);
768
- return contents;
769
- };
770
- export const de_ListUserDevicesCommand = async (output, context) => {
771
- if (output.statusCode !== 200 && output.statusCode >= 300) {
772
- return de_CommandError(output, context);
773
- }
774
- const contents = map({
775
- $metadata: deserializeMetadata(output),
776
- });
777
- const data = __expectNonNull((__expectObject(await parseBody(output.body, context))), "body");
778
- const doc = take(data, {
779
- 'active_device': _json,
780
- 'devices': _json,
781
- });
782
- Object.assign(contents, doc);
783
- return contents;
784
- };
785
520
  export const de_NotificationsCommand = async (output, context) => {
786
521
  if (output.statusCode !== 200 && output.statusCode >= 300) {
787
522
  return de_CommandError(output, context);
@@ -864,12 +599,6 @@ const de_CommandError = async (output, context) => {
864
599
  };
865
600
  const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
866
601
  switch (errorCode) {
867
- case "ChannelNotFoundException":
868
- case "wildix.wms.api#ChannelNotFoundException":
869
- throw await de_ChannelNotFoundExceptionRes(parsedOutput, context);
870
- case "WmsForbiddenException":
871
- case "wildix.wms.api#WmsForbiddenException":
872
- throw await de_WmsForbiddenExceptionRes(parsedOutput, context);
873
602
  case "WmsUnauthorizedException":
874
603
  case "wildix.wms.api#WmsUnauthorizedException":
875
604
  throw await de_WmsUnauthorizedExceptionRes(parsedOutput, context);
@@ -889,34 +618,6 @@ const de_CommandError = async (output, context) => {
889
618
  }
890
619
  };
891
620
  const throwDefaultError = withBaseException(__BaseException);
892
- const de_ChannelNotFoundExceptionRes = async (parsedOutput, context) => {
893
- const contents = map({});
894
- const data = parsedOutput.body;
895
- const doc = take(data, {
896
- 'reason': __expectString,
897
- 'type': __expectString,
898
- });
899
- Object.assign(contents, doc);
900
- const exception = new ChannelNotFoundException({
901
- $metadata: deserializeMetadata(parsedOutput),
902
- ...contents
903
- });
904
- return __decorateServiceException(exception, parsedOutput.body);
905
- };
906
- const de_WmsForbiddenExceptionRes = async (parsedOutput, context) => {
907
- const contents = map({});
908
- const data = parsedOutput.body;
909
- const doc = take(data, {
910
- 'reason': __expectString,
911
- 'type': __expectString,
912
- });
913
- Object.assign(contents, doc);
914
- const exception = new WmsForbiddenException({
915
- $metadata: deserializeMetadata(parsedOutput),
916
- ...contents
917
- });
918
- return __decorateServiceException(exception, parsedOutput.body);
919
- };
920
621
  const de_WmsNotFoundExceptionRes = async (parsedOutput, context) => {
921
622
  const contents = map({});
922
623
  const data = parsedOutput.body;
@@ -1007,4 +708,3 @@ const _sF = "searchFields";
1007
708
  const _sS = "searchStrategy";
1008
709
  const _so = "sort";
1009
710
  const _st = "start";
1010
- const _u = "user";
@@ -1,10 +1,4 @@
1
1
  import { WmsApiClient } from "./WmsApiClient";
2
- import { CallControlAnswerCommandInput, CallControlAnswerCommandOutput } from "./commands/CallControlAnswerCommand";
3
- import { CallControlHangupCommandInput, CallControlHangupCommandOutput } from "./commands/CallControlHangupCommand";
4
- import { CallControlHoldCommandInput, CallControlHoldCommandOutput } from "./commands/CallControlHoldCommand";
5
- import { CallControlMakeCallCommandInput, CallControlMakeCallCommandOutput } from "./commands/CallControlMakeCallCommand";
6
- import { CallControlTransferCommandInput, CallControlTransferCommandOutput } from "./commands/CallControlTransferCommand";
7
- import { CallControlUnholdCommandInput, CallControlUnholdCommandOutput } from "./commands/CallControlUnholdCommand";
8
2
  import { CreatePbxAclGroupCommandInput, CreatePbxAclGroupCommandOutput } from "./commands/CreatePbxAclGroupCommand";
9
3
  import { CreatePbxColleagueCommandInput, CreatePbxColleagueCommandOutput } from "./commands/CreatePbxColleagueCommand";
10
4
  import { CreatePbxOAuth2ClientCommandInput, CreatePbxOAuth2ClientCommandOutput } from "./commands/CreatePbxOAuth2ClientCommand";
@@ -18,8 +12,6 @@ import { GetPbxColleaguesCommandInput, GetPbxColleaguesCommandOutput } from "./c
18
12
  import { GetPbxOAuth2ClientsCommandInput, GetPbxOAuth2ClientsCommandOutput } from "./commands/GetPbxOAuth2ClientsCommand";
19
13
  import { GetPbxesCommandInput, GetPbxesCommandOutput } from "./commands/GetPbxesCommand";
20
14
  import { GetPersonalInfoCommandInput, GetPersonalInfoCommandOutput } from "./commands/GetPersonalInfoCommand";
21
- import { ListUserActiveCallsCommandInput, ListUserActiveCallsCommandOutput } from "./commands/ListUserActiveCallsCommand";
22
- import { ListUserDevicesCommandInput, ListUserDevicesCommandOutput } from "./commands/ListUserDevicesCommand";
23
15
  import { NotificationsCommandInput, NotificationsCommandOutput } from "./commands/NotificationsCommand";
24
16
  import { OriginateCallCommandInput, OriginateCallCommandOutput } from "./commands/OriginateCallCommand";
25
17
  import { OriginateCommandInput, OriginateCommandOutput } from "./commands/OriginateCommand";
@@ -27,42 +19,6 @@ import { ReloadBroadcastsCommandInput, ReloadBroadcastsCommandOutput } from "./c
27
19
  import { UpdatePbxOAuth2ClientCommandInput, UpdatePbxOAuth2ClientCommandOutput } from "./commands/UpdatePbxOAuth2ClientCommand";
28
20
  import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
29
21
  export interface WmsApi {
30
- /**
31
- * @see {@link CallControlAnswerCommand}
32
- */
33
- callControlAnswer(args: CallControlAnswerCommandInput, options?: __HttpHandlerOptions): Promise<CallControlAnswerCommandOutput>;
34
- callControlAnswer(args: CallControlAnswerCommandInput, cb: (err: any, data?: CallControlAnswerCommandOutput) => void): void;
35
- callControlAnswer(args: CallControlAnswerCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CallControlAnswerCommandOutput) => void): void;
36
- /**
37
- * @see {@link CallControlHangupCommand}
38
- */
39
- callControlHangup(args: CallControlHangupCommandInput, options?: __HttpHandlerOptions): Promise<CallControlHangupCommandOutput>;
40
- callControlHangup(args: CallControlHangupCommandInput, cb: (err: any, data?: CallControlHangupCommandOutput) => void): void;
41
- callControlHangup(args: CallControlHangupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CallControlHangupCommandOutput) => void): void;
42
- /**
43
- * @see {@link CallControlHoldCommand}
44
- */
45
- callControlHold(args: CallControlHoldCommandInput, options?: __HttpHandlerOptions): Promise<CallControlHoldCommandOutput>;
46
- callControlHold(args: CallControlHoldCommandInput, cb: (err: any, data?: CallControlHoldCommandOutput) => void): void;
47
- callControlHold(args: CallControlHoldCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CallControlHoldCommandOutput) => void): void;
48
- /**
49
- * @see {@link CallControlMakeCallCommand}
50
- */
51
- callControlMakeCall(args: CallControlMakeCallCommandInput, options?: __HttpHandlerOptions): Promise<CallControlMakeCallCommandOutput>;
52
- callControlMakeCall(args: CallControlMakeCallCommandInput, cb: (err: any, data?: CallControlMakeCallCommandOutput) => void): void;
53
- callControlMakeCall(args: CallControlMakeCallCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CallControlMakeCallCommandOutput) => void): void;
54
- /**
55
- * @see {@link CallControlTransferCommand}
56
- */
57
- callControlTransfer(args: CallControlTransferCommandInput, options?: __HttpHandlerOptions): Promise<CallControlTransferCommandOutput>;
58
- callControlTransfer(args: CallControlTransferCommandInput, cb: (err: any, data?: CallControlTransferCommandOutput) => void): void;
59
- callControlTransfer(args: CallControlTransferCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CallControlTransferCommandOutput) => void): void;
60
- /**
61
- * @see {@link CallControlUnholdCommand}
62
- */
63
- callControlUnhold(args: CallControlUnholdCommandInput, options?: __HttpHandlerOptions): Promise<CallControlUnholdCommandOutput>;
64
- callControlUnhold(args: CallControlUnholdCommandInput, cb: (err: any, data?: CallControlUnholdCommandOutput) => void): void;
65
- callControlUnhold(args: CallControlUnholdCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CallControlUnholdCommandOutput) => void): void;
66
22
  /**
67
23
  * @see {@link CreatePbxAclGroupCommand}
68
24
  */
@@ -147,20 +103,6 @@ export interface WmsApi {
147
103
  getPersonalInfo(args: GetPersonalInfoCommandInput, options?: __HttpHandlerOptions): Promise<GetPersonalInfoCommandOutput>;
148
104
  getPersonalInfo(args: GetPersonalInfoCommandInput, cb: (err: any, data?: GetPersonalInfoCommandOutput) => void): void;
149
105
  getPersonalInfo(args: GetPersonalInfoCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetPersonalInfoCommandOutput) => void): void;
150
- /**
151
- * @see {@link ListUserActiveCallsCommand}
152
- */
153
- listUserActiveCalls(): Promise<ListUserActiveCallsCommandOutput>;
154
- listUserActiveCalls(args: ListUserActiveCallsCommandInput, options?: __HttpHandlerOptions): Promise<ListUserActiveCallsCommandOutput>;
155
- listUserActiveCalls(args: ListUserActiveCallsCommandInput, cb: (err: any, data?: ListUserActiveCallsCommandOutput) => void): void;
156
- listUserActiveCalls(args: ListUserActiveCallsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListUserActiveCallsCommandOutput) => void): void;
157
- /**
158
- * @see {@link ListUserDevicesCommand}
159
- */
160
- listUserDevices(): Promise<ListUserDevicesCommandOutput>;
161
- listUserDevices(args: ListUserDevicesCommandInput, options?: __HttpHandlerOptions): Promise<ListUserDevicesCommandOutput>;
162
- listUserDevices(args: ListUserDevicesCommandInput, cb: (err: any, data?: ListUserDevicesCommandOutput) => void): void;
163
- listUserDevices(args: ListUserDevicesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListUserDevicesCommandOutput) => void): void;
164
106
  /**
165
107
  * @see {@link NotificationsCommand}
166
108
  */
@@ -1,9 +1,3 @@
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";
7
1
  import { CreatePbxAclGroupCommandInput, CreatePbxAclGroupCommandOutput } from "./commands/CreatePbxAclGroupCommand";
8
2
  import { CreatePbxColleagueCommandInput, CreatePbxColleagueCommandOutput } from "./commands/CreatePbxColleagueCommand";
9
3
  import { CreatePbxOAuth2ClientCommandInput, CreatePbxOAuth2ClientCommandOutput } from "./commands/CreatePbxOAuth2ClientCommand";
@@ -17,8 +11,6 @@ import { GetPbxColleaguesCommandInput, GetPbxColleaguesCommandOutput } from "./c
17
11
  import { GetPbxOAuth2ClientsCommandInput, GetPbxOAuth2ClientsCommandOutput } from "./commands/GetPbxOAuth2ClientsCommand";
18
12
  import { GetPbxesCommandInput, GetPbxesCommandOutput } from "./commands/GetPbxesCommand";
19
13
  import { GetPersonalInfoCommandInput, GetPersonalInfoCommandOutput } from "./commands/GetPersonalInfoCommand";
20
- import { ListUserActiveCallsCommandInput, ListUserActiveCallsCommandOutput } from "./commands/ListUserActiveCallsCommand";
21
- import { ListUserDevicesCommandInput, ListUserDevicesCommandOutput } from "./commands/ListUserDevicesCommand";
22
14
  import { NotificationsCommandInput, NotificationsCommandOutput } from "./commands/NotificationsCommand";
23
15
  import { OriginateCallCommandInput, OriginateCallCommandOutput } from "./commands/OriginateCallCommand";
24
16
  import { OriginateCommandInput, OriginateCommandOutput } from "./commands/OriginateCommand";
@@ -35,11 +27,11 @@ export { __Client };
35
27
  /**
36
28
  * @public
37
29
  */
38
- export type ServiceInputTypes = CallControlAnswerCommandInput | CallControlHangupCommandInput | CallControlHoldCommandInput | CallControlMakeCallCommandInput | CallControlTransferCommandInput | CallControlUnholdCommandInput | CreatePbxAclGroupCommandInput | CreatePbxColleagueCommandInput | CreatePbxOAuth2ClientCommandInput | DeletePbxAclGroupCommandInput | DeletePbxColleagueCommandInput | DeletePbxOAuth2ClientCommandInput | GetColleagueByIdCommandInput | GetPbxAclGroupsPermissionsCommandInput | GetPbxCallGroupsCommandInput | GetPbxColleaguesCommandInput | GetPbxOAuth2ClientsCommandInput | GetPbxesCommandInput | GetPersonalInfoCommandInput | ListUserActiveCallsCommandInput | ListUserDevicesCommandInput | NotificationsCommandInput | OriginateCallCommandInput | OriginateCommandInput | ReloadBroadcastsCommandInput | UpdatePbxOAuth2ClientCommandInput;
30
+ export type ServiceInputTypes = CreatePbxAclGroupCommandInput | CreatePbxColleagueCommandInput | CreatePbxOAuth2ClientCommandInput | DeletePbxAclGroupCommandInput | DeletePbxColleagueCommandInput | DeletePbxOAuth2ClientCommandInput | GetColleagueByIdCommandInput | GetPbxAclGroupsPermissionsCommandInput | GetPbxCallGroupsCommandInput | GetPbxColleaguesCommandInput | GetPbxOAuth2ClientsCommandInput | GetPbxesCommandInput | GetPersonalInfoCommandInput | NotificationsCommandInput | OriginateCallCommandInput | OriginateCommandInput | ReloadBroadcastsCommandInput | UpdatePbxOAuth2ClientCommandInput;
39
31
  /**
40
32
  * @public
41
33
  */
42
- export type ServiceOutputTypes = CallControlAnswerCommandOutput | CallControlHangupCommandOutput | CallControlHoldCommandOutput | CallControlMakeCallCommandOutput | CallControlTransferCommandOutput | CallControlUnholdCommandOutput | CreatePbxAclGroupCommandOutput | CreatePbxColleagueCommandOutput | CreatePbxOAuth2ClientCommandOutput | DeletePbxAclGroupCommandOutput | DeletePbxColleagueCommandOutput | DeletePbxOAuth2ClientCommandOutput | GetColleagueByIdCommandOutput | GetPbxAclGroupsPermissionsCommandOutput | GetPbxCallGroupsCommandOutput | GetPbxColleaguesCommandOutput | GetPbxOAuth2ClientsCommandOutput | GetPbxesCommandOutput | GetPersonalInfoCommandOutput | ListUserActiveCallsCommandOutput | ListUserDevicesCommandOutput | NotificationsCommandOutput | OriginateCallCommandOutput | OriginateCommandOutput | ReloadBroadcastsCommandOutput | UpdatePbxOAuth2ClientCommandOutput;
34
+ export type ServiceOutputTypes = CreatePbxAclGroupCommandOutput | CreatePbxColleagueCommandOutput | CreatePbxOAuth2ClientCommandOutput | DeletePbxAclGroupCommandOutput | DeletePbxColleagueCommandOutput | DeletePbxOAuth2ClientCommandOutput | GetColleagueByIdCommandOutput | GetPbxAclGroupsPermissionsCommandOutput | GetPbxCallGroupsCommandOutput | GetPbxColleaguesCommandOutput | GetPbxOAuth2ClientsCommandOutput | GetPbxesCommandOutput | GetPersonalInfoCommandOutput | NotificationsCommandOutput | OriginateCallCommandOutput | OriginateCommandOutput | ReloadBroadcastsCommandOutput | UpdatePbxOAuth2ClientCommandOutput;
43
35
  /**
44
36
  * @public
45
37
  */
@@ -78,8 +78,6 @@ declare const CreatePbxAclGroupCommand_base: {
78
78
  *
79
79
  * @throws {@link WmsUnauthorizedException} (client fault)
80
80
  *
81
- * @throws {@link WmsForbiddenException} (client fault)
82
- *
83
81
  * @throws {@link WmsApiServiceException}
84
82
  * <p>Base exception class for all service exceptions from WmsApi service.</p>
85
83
  *
@@ -92,8 +92,6 @@ declare const CreatePbxColleagueCommand_base: {
92
92
  *
93
93
  * @throws {@link WmsUnauthorizedException} (client fault)
94
94
  *
95
- * @throws {@link WmsForbiddenException} (client fault)
96
- *
97
95
  * @throws {@link WmsApiServiceException}
98
96
  * <p>Base exception class for all service exceptions from WmsApi service.</p>
99
97
  *
@@ -72,8 +72,6 @@ declare const CreatePbxOAuth2ClientCommand_base: {
72
72
  *
73
73
  * @throws {@link WmsValidationException} (client fault)
74
74
  *
75
- * @throws {@link WmsForbiddenException} (client fault)
76
- *
77
75
  * @throws {@link WmsApiServiceException}
78
76
  * <p>Base exception class for all service exceptions from WmsApi service.</p>
79
77
  *
@@ -55,8 +55,6 @@ declare const DeletePbxAclGroupCommand_base: {
55
55
  *
56
56
  * @throws {@link WmsUnauthorizedException} (client fault)
57
57
  *
58
- * @throws {@link WmsForbiddenException} (client fault)
59
- *
60
58
  * @throws {@link WmsApiServiceException}
61
59
  * <p>Base exception class for all service exceptions from WmsApi service.</p>
62
60
  *
@@ -55,8 +55,6 @@ declare const DeletePbxColleagueCommand_base: {
55
55
  *
56
56
  * @throws {@link WmsUnauthorizedException} (client fault)
57
57
  *
58
- * @throws {@link WmsForbiddenException} (client fault)
59
- *
60
58
  * @throws {@link WmsApiServiceException}
61
59
  * <p>Base exception class for all service exceptions from WmsApi service.</p>
62
60
  *
@@ -56,8 +56,6 @@ declare const DeletePbxOAuth2ClientCommand_base: {
56
56
  *
57
57
  * @throws {@link WmsNotFoundException} (client fault)
58
58
  *
59
- * @throws {@link WmsForbiddenException} (client fault)
60
- *
61
59
  * @throws {@link WmsApiServiceException}
62
60
  * <p>Base exception class for all service exceptions from WmsApi service.</p>
63
61
  *
@@ -77,8 +77,6 @@ declare const GetColleagueByIdCommand_base: {
77
77
  *
78
78
  * @throws {@link WmsUnauthorizedException} (client fault)
79
79
  *
80
- * @throws {@link WmsForbiddenException} (client fault)
81
- *
82
80
  * @throws {@link WmsApiServiceException}
83
81
  * <p>Base exception class for all service exceptions from WmsApi service.</p>
84
82
  *
@@ -81,8 +81,6 @@ declare const GetPbxAclGroupsPermissionsCommand_base: {
81
81
  *
82
82
  * @throws {@link WmsUnauthorizedException} (client fault)
83
83
  *
84
- * @throws {@link WmsForbiddenException} (client fault)
85
- *
86
84
  * @throws {@link WmsApiServiceException}
87
85
  * <p>Base exception class for all service exceptions from WmsApi service.</p>
88
86
  *
@@ -92,8 +92,6 @@ declare const GetPbxCallGroupsCommand_base: {
92
92
  *
93
93
  * @throws {@link WmsUnauthorizedException} (client fault)
94
94
  *
95
- * @throws {@link WmsForbiddenException} (client fault)
96
- *
97
95
  * @throws {@link WmsApiServiceException}
98
96
  * <p>Base exception class for all service exceptions from WmsApi service.</p>
99
97
  *
@@ -121,8 +121,6 @@ declare const GetPbxColleaguesCommand_base: {
121
121
  *
122
122
  * @throws {@link WmsUnauthorizedException} (client fault)
123
123
  *
124
- * @throws {@link WmsForbiddenException} (client fault)
125
- *
126
124
  * @throws {@link WmsApiServiceException}
127
125
  * <p>Base exception class for all service exceptions from WmsApi service.</p>
128
126
  *
@@ -49,6 +49,7 @@ declare const GetPbxOAuth2ClientsCommand_base: {
49
49
  * // ],
50
50
  * // secret: "STRING_VALUE", // required
51
51
  * // created: Number("int"), // required
52
+ * // expireTime: Number("int"), // required
52
53
  * // },
53
54
  * // ],
54
55
  * // },
@@ -64,8 +65,6 @@ declare const GetPbxOAuth2ClientsCommand_base: {
64
65
  *
65
66
  * @throws {@link WmsUnauthorizedException} (client fault)
66
67
  *
67
- * @throws {@link WmsForbiddenException} (client fault)
68
- *
69
68
  * @throws {@link WmsApiServiceException}
70
69
  * <p>Base exception class for all service exceptions from WmsApi service.</p>
71
70
  *
@@ -66,8 +66,6 @@ declare const GetPbxesCommand_base: {
66
66
  *
67
67
  * @throws {@link WmsUnauthorizedException} (client fault)
68
68
  *
69
- * @throws {@link WmsForbiddenException} (client fault)
70
- *
71
69
  * @throws {@link WmsApiServiceException}
72
70
  * <p>Base exception class for all service exceptions from WmsApi service.</p>
73
71
  *
@@ -116,8 +116,6 @@ declare const GetPersonalInfoCommand_base: {
116
116
  *
117
117
  * @throws {@link WmsUnauthorizedException} (client fault)
118
118
  *
119
- * @throws {@link WmsForbiddenException} (client fault)
120
- *
121
119
  * @throws {@link WmsApiServiceException}
122
120
  * <p>Base exception class for all service exceptions from WmsApi service.</p>
123
121
  *
@@ -66,8 +66,6 @@ declare const NotificationsCommand_base: {
66
66
  *
67
67
  * @throws {@link WmsUnauthorizedException} (client fault)
68
68
  *
69
- * @throws {@link WmsForbiddenException} (client fault)
70
- *
71
69
  * @throws {@link WmsApiServiceException}
72
70
  * <p>Base exception class for all service exceptions from WmsApi service.</p>
73
71
  *
@@ -56,8 +56,6 @@ declare const OriginateCallCommand_base: {
56
56
  *
57
57
  * @throws {@link WmsUnauthorizedException} (client fault)
58
58
  *
59
- * @throws {@link WmsForbiddenException} (client fault)
60
- *
61
59
  * @throws {@link WmsApiServiceException}
62
60
  * <p>Base exception class for all service exceptions from WmsApi service.</p>
63
61
  *
@@ -65,8 +65,6 @@ declare const OriginateCommand_base: {
65
65
  *
66
66
  * @throws {@link WmsUnauthorizedException} (client fault)
67
67
  *
68
- * @throws {@link WmsForbiddenException} (client fault)
69
- *
70
68
  * @throws {@link WmsApiServiceException}
71
69
  * <p>Base exception class for all service exceptions from WmsApi service.</p>
72
70
  *
@@ -52,8 +52,6 @@ declare const ReloadBroadcastsCommand_base: {
52
52
  *
53
53
  * @throws {@link WmsUnauthorizedException} (client fault)
54
54
  *
55
- * @throws {@link WmsForbiddenException} (client fault)
56
- *
57
55
  * @throws {@link WmsApiServiceException}
58
56
  * <p>Base exception class for all service exceptions from WmsApi service.</p>
59
57
  *
@@ -74,8 +74,6 @@ declare const UpdatePbxOAuth2ClientCommand_base: {
74
74
  *
75
75
  * @throws {@link WmsValidationException} (client fault)
76
76
  *
77
- * @throws {@link WmsForbiddenException} (client fault)
78
- *
79
77
  * @throws {@link WmsApiServiceException}
80
78
  * <p>Base exception class for all service exceptions from WmsApi service.</p>
81
79
  *