@wildix/wms-api-client 1.1.12 → 1.1.14
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/protocols/Aws_restJson1.js +1 -1
- package/dist-es/protocols/Aws_restJson1.js +1 -1
- package/dist-types/commands/CreatePbxOAuth2ClientCommand.d.ts +2 -2
- package/dist-types/commands/DeletePbxOAuth2ClientCommand.d.ts +2 -2
- package/dist-types/commands/GetColleagueByIdCommand.d.ts +2 -2
- package/dist-types/commands/GetPbxAclGroupsPermissionsCommand.d.ts +2 -2
- package/dist-types/commands/GetPbxCallGroupsCommand.d.ts +2 -2
- package/dist-types/commands/GetPbxColleaguesCommand.d.ts +2 -2
- package/dist-types/commands/GetPbxOAuth2ClientsCommand.d.ts +2 -2
- package/dist-types/commands/GetPbxesCommand.d.ts +2 -2
- package/dist-types/commands/GetPersonalInfoCommand.d.ts +2 -2
- package/dist-types/commands/NotificationsCommand.d.ts +3 -3
- package/dist-types/commands/OriginateCallCommand.d.ts +2 -2
- package/dist-types/commands/OriginateCommand.d.ts +2 -2
- package/dist-types/commands/UpdatePbxOAuth2ClientCommand.d.ts +2 -2
- package/dist-types/models/models_0.d.ts +2 -2
- package/package.json +1 -1
|
@@ -184,8 +184,8 @@ const se_NotificationsCommand = async (input, context) => {
|
|
|
184
184
|
b.bp("/api/v1/notifications");
|
|
185
185
|
let body;
|
|
186
186
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
187
|
+
'broadcastId': [],
|
|
187
188
|
'broadcastMessage': [],
|
|
188
|
-
'conferenceId': [],
|
|
189
189
|
'confirmationTimeout': [],
|
|
190
190
|
'customRid': [],
|
|
191
191
|
'event': [],
|
|
@@ -172,8 +172,8 @@ export const se_NotificationsCommand = async (input, context) => {
|
|
|
172
172
|
b.bp("/api/v1/notifications");
|
|
173
173
|
let body;
|
|
174
174
|
body = JSON.stringify(take(input, {
|
|
175
|
+
'broadcastId': [],
|
|
175
176
|
'broadcastMessage': [],
|
|
176
|
-
'conferenceId': [],
|
|
177
177
|
'confirmationTimeout': [],
|
|
178
178
|
'customRid': [],
|
|
179
179
|
'event': [],
|
|
@@ -31,8 +31,8 @@ declare const CreatePbxOAuth2ClientCommand_base: {
|
|
|
31
31
|
* @example
|
|
32
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
33
|
* ```javascript
|
|
34
|
-
* import { WmsApiClient, CreatePbxOAuth2ClientCommand } from "@wildix
|
|
35
|
-
* // const { WmsApiClient, CreatePbxOAuth2ClientCommand } = require("@wildix
|
|
34
|
+
* import { WmsApiClient, CreatePbxOAuth2ClientCommand } from "@wildix/wms-api-client"; // ES Modules import
|
|
35
|
+
* // const { WmsApiClient, CreatePbxOAuth2ClientCommand } = require("@wildix/wms-api-client"); // CommonJS import
|
|
36
36
|
* const client = new WmsApiClient(config);
|
|
37
37
|
* const input = { // CreatePbxOAuth2ClientInput
|
|
38
38
|
* name: "STRING_VALUE", // required
|
|
@@ -31,8 +31,8 @@ declare const DeletePbxOAuth2ClientCommand_base: {
|
|
|
31
31
|
* @example
|
|
32
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
33
|
* ```javascript
|
|
34
|
-
* import { WmsApiClient, DeletePbxOAuth2ClientCommand } from "@wildix
|
|
35
|
-
* // const { WmsApiClient, DeletePbxOAuth2ClientCommand } = require("@wildix
|
|
34
|
+
* import { WmsApiClient, DeletePbxOAuth2ClientCommand } from "@wildix/wms-api-client"; // ES Modules import
|
|
35
|
+
* // const { WmsApiClient, DeletePbxOAuth2ClientCommand } = require("@wildix/wms-api-client"); // CommonJS import
|
|
36
36
|
* const client = new WmsApiClient(config);
|
|
37
37
|
* const input = { // DeletePbxOAuth2ClientInput
|
|
38
38
|
* id: "STRING_VALUE", // required
|
|
@@ -32,8 +32,8 @@ declare const GetColleagueByIdCommand_base: {
|
|
|
32
32
|
* @example
|
|
33
33
|
* Use a bare-bones client and the command you need to make an API call.
|
|
34
34
|
* ```javascript
|
|
35
|
-
* import { WmsApiClient, GetColleagueByIdCommand } from "@wildix
|
|
36
|
-
* // const { WmsApiClient, GetColleagueByIdCommand } = require("@wildix
|
|
35
|
+
* import { WmsApiClient, GetColleagueByIdCommand } from "@wildix/wms-api-client"; // ES Modules import
|
|
36
|
+
* // const { WmsApiClient, GetColleagueByIdCommand } = require("@wildix/wms-api-client"); // CommonJS import
|
|
37
37
|
* const client = new WmsApiClient(config);
|
|
38
38
|
* const input = { // GetColleagueByIdInput
|
|
39
39
|
* id: Number("int"), // required
|
|
@@ -32,8 +32,8 @@ declare const GetPbxAclGroupsPermissionsCommand_base: {
|
|
|
32
32
|
* @example
|
|
33
33
|
* Use a bare-bones client and the command you need to make an API call.
|
|
34
34
|
* ```javascript
|
|
35
|
-
* import { WmsApiClient, GetPbxAclGroupsPermissionsCommand } from "@wildix
|
|
36
|
-
* // const { WmsApiClient, GetPbxAclGroupsPermissionsCommand } = require("@wildix
|
|
35
|
+
* import { WmsApiClient, GetPbxAclGroupsPermissionsCommand } from "@wildix/wms-api-client"; // ES Modules import
|
|
36
|
+
* // const { WmsApiClient, GetPbxAclGroupsPermissionsCommand } = require("@wildix/wms-api-client"); // CommonJS import
|
|
37
37
|
* const client = new WmsApiClient(config);
|
|
38
38
|
* const input = { // GetPbxAclGroupsPermissionsInput
|
|
39
39
|
* groups: [ // FilterList
|
|
@@ -31,8 +31,8 @@ declare const GetPbxCallGroupsCommand_base: {
|
|
|
31
31
|
* @example
|
|
32
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
33
|
* ```javascript
|
|
34
|
-
* import { WmsApiClient, GetPbxCallGroupsCommand } from "@wildix
|
|
35
|
-
* // const { WmsApiClient, GetPbxCallGroupsCommand } = require("@wildix
|
|
34
|
+
* import { WmsApiClient, GetPbxCallGroupsCommand } from "@wildix/wms-api-client"; // ES Modules import
|
|
35
|
+
* // const { WmsApiClient, GetPbxCallGroupsCommand } = require("@wildix/wms-api-client"); // CommonJS import
|
|
36
36
|
* const client = new WmsApiClient(config);
|
|
37
37
|
* const input = {};
|
|
38
38
|
* const command = new GetPbxCallGroupsCommand(input);
|
|
@@ -32,8 +32,8 @@ declare const GetPbxColleaguesCommand_base: {
|
|
|
32
32
|
* @example
|
|
33
33
|
* Use a bare-bones client and the command you need to make an API call.
|
|
34
34
|
* ```javascript
|
|
35
|
-
* import { WmsApiClient, GetPbxColleaguesCommand } from "@wildix
|
|
36
|
-
* // const { WmsApiClient, GetPbxColleaguesCommand } = require("@wildix
|
|
35
|
+
* import { WmsApiClient, GetPbxColleaguesCommand } from "@wildix/wms-api-client"; // ES Modules import
|
|
36
|
+
* // const { WmsApiClient, GetPbxColleaguesCommand } = require("@wildix/wms-api-client"); // CommonJS import
|
|
37
37
|
* const client = new WmsApiClient(config);
|
|
38
38
|
* const input = { // GetPbxColleaguesInput
|
|
39
39
|
* extension: [ // ColleaguesFilterList
|
|
@@ -31,8 +31,8 @@ declare const GetPbxOAuth2ClientsCommand_base: {
|
|
|
31
31
|
* @example
|
|
32
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
33
|
* ```javascript
|
|
34
|
-
* import { WmsApiClient, GetPbxOAuth2ClientsCommand } from "@wildix
|
|
35
|
-
* // const { WmsApiClient, GetPbxOAuth2ClientsCommand } = require("@wildix
|
|
34
|
+
* import { WmsApiClient, GetPbxOAuth2ClientsCommand } from "@wildix/wms-api-client"; // ES Modules import
|
|
35
|
+
* // const { WmsApiClient, GetPbxOAuth2ClientsCommand } = require("@wildix/wms-api-client"); // CommonJS import
|
|
36
36
|
* const client = new WmsApiClient(config);
|
|
37
37
|
* const input = {};
|
|
38
38
|
* const command = new GetPbxOAuth2ClientsCommand(input);
|
|
@@ -31,8 +31,8 @@ declare const GetPbxesCommand_base: {
|
|
|
31
31
|
* @example
|
|
32
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
33
|
* ```javascript
|
|
34
|
-
* import { WmsApiClient, GetPbxesCommand } from "@wildix
|
|
35
|
-
* // const { WmsApiClient, GetPbxesCommand } = require("@wildix
|
|
34
|
+
* import { WmsApiClient, GetPbxesCommand } from "@wildix/wms-api-client"; // ES Modules import
|
|
35
|
+
* // const { WmsApiClient, GetPbxesCommand } = require("@wildix/wms-api-client"); // CommonJS import
|
|
36
36
|
* const client = new WmsApiClient(config);
|
|
37
37
|
* const input = {};
|
|
38
38
|
* const command = new GetPbxesCommand(input);
|
|
@@ -32,8 +32,8 @@ declare const GetPersonalInfoCommand_base: {
|
|
|
32
32
|
* @example
|
|
33
33
|
* Use a bare-bones client and the command you need to make an API call.
|
|
34
34
|
* ```javascript
|
|
35
|
-
* import { WmsApiClient, GetPersonalInfoCommand } from "@wildix
|
|
36
|
-
* // const { WmsApiClient, GetPersonalInfoCommand } = require("@wildix
|
|
35
|
+
* import { WmsApiClient, GetPersonalInfoCommand } from "@wildix/wms-api-client"; // ES Modules import
|
|
36
|
+
* // const { WmsApiClient, GetPersonalInfoCommand } = require("@wildix/wms-api-client"); // CommonJS import
|
|
37
37
|
* const client = new WmsApiClient(config);
|
|
38
38
|
* const input = { // GetPersonalInfoInput
|
|
39
39
|
* extension: [ // ColleaguesFilterList
|
|
@@ -31,15 +31,15 @@ declare const NotificationsCommand_base: {
|
|
|
31
31
|
* @example
|
|
32
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
33
|
* ```javascript
|
|
34
|
-
* import { WmsApiClient, NotificationsCommand } from "@wildix
|
|
35
|
-
* // const { WmsApiClient, NotificationsCommand } = require("@wildix
|
|
34
|
+
* import { WmsApiClient, NotificationsCommand } from "@wildix/wms-api-client"; // ES Modules import
|
|
35
|
+
* // const { WmsApiClient, NotificationsCommand } = require("@wildix/wms-api-client"); // CommonJS import
|
|
36
36
|
* const client = new WmsApiClient(config);
|
|
37
37
|
* const input = { // NotificationsInput
|
|
38
38
|
* from: "STRING_VALUE", // required
|
|
39
39
|
* notificationType: "STRING_VALUE", // required
|
|
40
40
|
* event: "STRING_VALUE", // required
|
|
41
41
|
* broadcastMessage: "STRING_VALUE", // required
|
|
42
|
-
*
|
|
42
|
+
* broadcastId: "STRING_VALUE", // required
|
|
43
43
|
* playFrequency: Number("int"),
|
|
44
44
|
* confirmationTimeout: Number("int"),
|
|
45
45
|
* queueTimeout: Number("int"),
|
|
@@ -31,8 +31,8 @@ declare const OriginateCallCommand_base: {
|
|
|
31
31
|
* @example
|
|
32
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
33
|
* ```javascript
|
|
34
|
-
* import { WmsApiClient, OriginateCallCommand } from "@wildix
|
|
35
|
-
* // const { WmsApiClient, OriginateCallCommand } = require("@wildix
|
|
34
|
+
* import { WmsApiClient, OriginateCallCommand } from "@wildix/wms-api-client"; // ES Modules import
|
|
35
|
+
* // const { WmsApiClient, OriginateCallCommand } = require("@wildix/wms-api-client"); // CommonJS import
|
|
36
36
|
* const client = new WmsApiClient(config);
|
|
37
37
|
* const input = { // OriginateCallInput
|
|
38
38
|
* number: "STRING_VALUE", // required
|
|
@@ -31,8 +31,8 @@ declare const OriginateCommand_base: {
|
|
|
31
31
|
* @example
|
|
32
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
33
|
* ```javascript
|
|
34
|
-
* import { WmsApiClient, OriginateCommand } from "@wildix
|
|
35
|
-
* // const { WmsApiClient, OriginateCommand } = require("@wildix
|
|
34
|
+
* import { WmsApiClient, OriginateCommand } from "@wildix/wms-api-client"; // ES Modules import
|
|
35
|
+
* // const { WmsApiClient, OriginateCommand } = require("@wildix/wms-api-client"); // CommonJS import
|
|
36
36
|
* const client = new WmsApiClient(config);
|
|
37
37
|
* const input = { // OriginateInput
|
|
38
38
|
* channel: "STRING_VALUE", // required
|
|
@@ -31,8 +31,8 @@ declare const UpdatePbxOAuth2ClientCommand_base: {
|
|
|
31
31
|
* @example
|
|
32
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
33
|
* ```javascript
|
|
34
|
-
* import { WmsApiClient, UpdatePbxOAuth2ClientCommand } from "@wildix
|
|
35
|
-
* // const { WmsApiClient, UpdatePbxOAuth2ClientCommand } = require("@wildix
|
|
34
|
+
* import { WmsApiClient, UpdatePbxOAuth2ClientCommand } from "@wildix/wms-api-client"; // ES Modules import
|
|
35
|
+
* // const { WmsApiClient, UpdatePbxOAuth2ClientCommand } = require("@wildix/wms-api-client"); // CommonJS import
|
|
36
36
|
* const client = new WmsApiClient(config);
|
|
37
37
|
* const input = { // UpdatePbxOAuth2ClientInput
|
|
38
38
|
* id: "STRING_VALUE", // required
|
|
@@ -506,10 +506,10 @@ export interface NotificationsInput {
|
|
|
506
506
|
*/
|
|
507
507
|
broadcastMessage: string;
|
|
508
508
|
/**
|
|
509
|
-
* The
|
|
509
|
+
* The broadcast ID to which the message will be sent.
|
|
510
510
|
* @public
|
|
511
511
|
*/
|
|
512
|
-
|
|
512
|
+
broadcastId: string;
|
|
513
513
|
/**
|
|
514
514
|
* How often (each N seconds) a request has to be repeated.
|
|
515
515
|
* @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.
|
|
4
|
+
"version": "1.1.14",
|
|
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",
|