@wildix/wms-api-client 1.1.22 → 1.1.23

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.
@@ -18,8 +18,8 @@ const se_CallControlAnswerCommand = async (input, context) => {
18
18
  });
19
19
  let body;
20
20
  body = JSON.stringify((0, smithy_client_1.take)(input, {
21
- 'channel': [],
22
21
  'device': [],
22
+ 'sipCallId': [],
23
23
  }));
24
24
  b.m("POST")
25
25
  .h(headers)
@@ -39,8 +39,8 @@ const se_CallControlHangupCommand = async (input, context) => {
39
39
  });
40
40
  let body;
41
41
  body = JSON.stringify((0, smithy_client_1.take)(input, {
42
- 'channel': [],
43
42
  'reason': [],
43
+ 'sipCallId': [],
44
44
  }));
45
45
  b.m("POST")
46
46
  .h(headers)
@@ -60,7 +60,7 @@ const se_CallControlHoldCommand = async (input, context) => {
60
60
  });
61
61
  let body;
62
62
  body = JSON.stringify((0, smithy_client_1.take)(input, {
63
- 'channel': [],
63
+ 'sipCallId': [],
64
64
  }));
65
65
  b.m("POST")
66
66
  .h(headers)
@@ -101,8 +101,8 @@ const se_CallControlTransferCommand = async (input, context) => {
101
101
  });
102
102
  let body;
103
103
  body = JSON.stringify((0, smithy_client_1.take)(input, {
104
- 'channel': [],
105
104
  'destination': [],
105
+ 'sipCallId': [],
106
106
  }));
107
107
  b.m("POST")
108
108
  .h(headers)
@@ -122,7 +122,7 @@ const se_CallControlUnholdCommand = async (input, context) => {
122
122
  });
123
123
  let body;
124
124
  body = JSON.stringify((0, smithy_client_1.take)(input, {
125
- 'channel': [],
125
+ 'sipCallId': [],
126
126
  }));
127
127
  b.m("POST")
128
128
  .h(headers)
@@ -14,8 +14,8 @@ export const se_CallControlAnswerCommand = async (input, context) => {
14
14
  });
15
15
  let body;
16
16
  body = JSON.stringify(take(input, {
17
- 'channel': [],
18
17
  'device': [],
18
+ 'sipCallId': [],
19
19
  }));
20
20
  b.m("POST")
21
21
  .h(headers)
@@ -34,8 +34,8 @@ export const se_CallControlHangupCommand = async (input, context) => {
34
34
  });
35
35
  let body;
36
36
  body = JSON.stringify(take(input, {
37
- 'channel': [],
38
37
  'reason': [],
38
+ 'sipCallId': [],
39
39
  }));
40
40
  b.m("POST")
41
41
  .h(headers)
@@ -54,7 +54,7 @@ export const se_CallControlHoldCommand = async (input, context) => {
54
54
  });
55
55
  let body;
56
56
  body = JSON.stringify(take(input, {
57
- 'channel': [],
57
+ 'sipCallId': [],
58
58
  }));
59
59
  b.m("POST")
60
60
  .h(headers)
@@ -93,8 +93,8 @@ export const se_CallControlTransferCommand = async (input, context) => {
93
93
  });
94
94
  let body;
95
95
  body = JSON.stringify(take(input, {
96
- 'channel': [],
97
96
  'destination': [],
97
+ 'sipCallId': [],
98
98
  }));
99
99
  b.m("POST")
100
100
  .h(headers)
@@ -113,7 +113,7 @@ export const se_CallControlUnholdCommand = async (input, context) => {
113
113
  });
114
114
  let body;
115
115
  body = JSON.stringify(take(input, {
116
- 'channel': [],
116
+ 'sipCallId': [],
117
117
  }));
118
118
  b.m("POST")
119
119
  .h(headers)
@@ -37,7 +37,7 @@ declare const CallControlAnswerCommand_base: {
37
37
  * const client = new WmsApiClient(config);
38
38
  * const input = { // CallControlAnswerInput
39
39
  * user: "STRING_VALUE",
40
- * channel: "STRING_VALUE", // required
40
+ * sipCallId: "STRING_VALUE", // required
41
41
  * device: "STRING_VALUE",
42
42
  * };
43
43
  * const command = new CallControlAnswerCommand(input);
@@ -37,7 +37,7 @@ declare const CallControlHangupCommand_base: {
37
37
  * const client = new WmsApiClient(config);
38
38
  * const input = { // CallControlHangupInput
39
39
  * user: "STRING_VALUE",
40
- * channel: "STRING_VALUE", // required
40
+ * sipCallId: "STRING_VALUE", // required
41
41
  * reason: "STRING_VALUE",
42
42
  * };
43
43
  * const command = new CallControlHangupCommand(input);
@@ -37,7 +37,7 @@ declare const CallControlHoldCommand_base: {
37
37
  * const client = new WmsApiClient(config);
38
38
  * const input = { // CallControlHoldInput
39
39
  * user: "STRING_VALUE",
40
- * channel: "STRING_VALUE", // required
40
+ * sipCallId: "STRING_VALUE", // required
41
41
  * };
42
42
  * const command = new CallControlHoldCommand(input);
43
43
  * const response = await client.send(command);
@@ -37,7 +37,7 @@ declare const CallControlTransferCommand_base: {
37
37
  * const client = new WmsApiClient(config);
38
38
  * const input = { // CallControlTransferInput
39
39
  * user: "STRING_VALUE",
40
- * channel: "STRING_VALUE", // required
40
+ * sipCallId: "STRING_VALUE", // required
41
41
  * destination: "STRING_VALUE", // required
42
42
  * };
43
43
  * const command = new CallControlTransferCommand(input);
@@ -37,7 +37,7 @@ declare const CallControlUnholdCommand_base: {
37
37
  * const client = new WmsApiClient(config);
38
38
  * const input = { // CallControlUnholdInput
39
39
  * user: "STRING_VALUE",
40
- * channel: "STRING_VALUE", // required
40
+ * sipCallId: "STRING_VALUE", // required
41
41
  * };
42
42
  * const command = new CallControlUnholdCommand(input);
43
43
  * const response = await client.send(command);
@@ -43,7 +43,7 @@ declare const ListUserActiveCallsCommand_base: {
43
43
  * // { // ListUserActiveCallsOutput
44
44
  * // calls: [ // Calls
45
45
  * // { // Call
46
- * // callId: "STRING_VALUE", // required
46
+ * // sipCallId: "STRING_VALUE", // required
47
47
  * // callerNumber: "STRING_VALUE",
48
48
  * // callerName: "STRING_VALUE",
49
49
  * // calleeNumber: "STRING_VALUE",
@@ -82,7 +82,7 @@ export interface AclGroupPermission {
82
82
  * @public
83
83
  */
84
84
  export interface Call {
85
- callId: string;
85
+ sipCallId: string;
86
86
  callerNumber?: string | undefined;
87
87
  callerName?: string | undefined;
88
88
  calleeNumber?: string | undefined;
@@ -102,7 +102,7 @@ export interface CallControlAnswerInput {
102
102
  * Call identifier. For makecall action it is not required, for other actions it is required.
103
103
  * @public
104
104
  */
105
- channel: string;
105
+ sipCallId: string;
106
106
  /**
107
107
  * Can specify the device to answer the call on. If not specified, the default device for the user will be used.
108
108
  * @public
@@ -190,7 +190,7 @@ export interface CallControlHangupInput {
190
190
  * Call identifier. For makecall action it is not required, for other actions it is required.
191
191
  * @public
192
192
  */
193
- channel: string;
193
+ sipCallId: string;
194
194
  /**
195
195
  * Optional reason for the hangup. This can provide additional context for the action taken.
196
196
  * @public
@@ -217,7 +217,7 @@ export interface CallControlHoldInput {
217
217
  * Call identifier. For makecall action it is not required, for other actions it is required.
218
218
  * @public
219
219
  */
220
- channel: string;
220
+ sipCallId: string;
221
221
  }
222
222
  /**
223
223
  * @public
@@ -266,7 +266,7 @@ export interface CallControlTransferInput {
266
266
  * Call identifier. For makecall action it is not required, for other actions it is required.
267
267
  * @public
268
268
  */
269
- channel: string;
269
+ sipCallId: string;
270
270
  /**
271
271
  * The destination for a call control operation. This can be a phone number, extension, or another valid identifier.
272
272
  * @public
@@ -293,7 +293,7 @@ export interface CallControlUnholdInput {
293
293
  * Call identifier. For makecall action it is not required, for other actions it is required.
294
294
  * @public
295
295
  */
296
- channel: string;
296
+ sipCallId: string;
297
297
  }
298
298
  /**
299
299
  * @public
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.22",
4
+ "version": "1.1.23",
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",