@wildix/wms-api-client 1.1.19 → 1.1.21
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/WmsApi.js +2 -0
- package/dist-cjs/commands/ReloadBroadcastsCommand.js +21 -0
- package/dist-cjs/commands/index.js +1 -0
- package/dist-cjs/protocols/Aws_restJson1.js +29 -1
- package/dist-es/WmsApi.js +2 -0
- package/dist-es/commands/ReloadBroadcastsCommand.js +17 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +26 -0
- package/dist-types/WmsApi.d.ts +8 -0
- package/dist-types/WmsApiClient.d.ts +3 -2
- package/dist-types/commands/CreatePbxOAuth2ClientCommand.d.ts +1 -0
- package/dist-types/commands/ReloadBroadcastsCommand.d.ts +73 -0
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +17 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +9 -0
- package/package.json +1 -1
package/dist-cjs/WmsApi.js
CHANGED
|
@@ -18,6 +18,7 @@ const GetPersonalInfoCommand_1 = require("./commands/GetPersonalInfoCommand");
|
|
|
18
18
|
const NotificationsCommand_1 = require("./commands/NotificationsCommand");
|
|
19
19
|
const OriginateCallCommand_1 = require("./commands/OriginateCallCommand");
|
|
20
20
|
const OriginateCommand_1 = require("./commands/OriginateCommand");
|
|
21
|
+
const ReloadBroadcastsCommand_1 = require("./commands/ReloadBroadcastsCommand");
|
|
21
22
|
const UpdatePbxOAuth2ClientCommand_1 = require("./commands/UpdatePbxOAuth2ClientCommand");
|
|
22
23
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
23
24
|
const commands = {
|
|
@@ -37,6 +38,7 @@ const commands = {
|
|
|
37
38
|
NotificationsCommand: NotificationsCommand_1.NotificationsCommand,
|
|
38
39
|
OriginateCommand: OriginateCommand_1.OriginateCommand,
|
|
39
40
|
OriginateCallCommand: OriginateCallCommand_1.OriginateCallCommand,
|
|
41
|
+
ReloadBroadcastsCommand: ReloadBroadcastsCommand_1.ReloadBroadcastsCommand,
|
|
40
42
|
UpdatePbxOAuth2ClientCommand: UpdatePbxOAuth2ClientCommand_1.UpdatePbxOAuth2ClientCommand,
|
|
41
43
|
};
|
|
42
44
|
class WmsApi extends WmsApiClient_1.WmsApiClient {
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ReloadBroadcastsCommand = exports.$Command = void 0;
|
|
4
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
class ReloadBroadcastsCommand extends smithy_client_1.Command.classBuilder()
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [
|
|
11
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
12
|
+
];
|
|
13
|
+
})
|
|
14
|
+
.s("WmsApi", "ReloadBroadcasts", {})
|
|
15
|
+
.n("WmsApiClient", "ReloadBroadcastsCommand")
|
|
16
|
+
.f(void 0, void 0)
|
|
17
|
+
.ser(Aws_restJson1_1.se_ReloadBroadcastsCommand)
|
|
18
|
+
.de(Aws_restJson1_1.de_ReloadBroadcastsCommand)
|
|
19
|
+
.build() {
|
|
20
|
+
}
|
|
21
|
+
exports.ReloadBroadcastsCommand = ReloadBroadcastsCommand;
|
|
@@ -17,4 +17,5 @@ tslib_1.__exportStar(require("./GetPersonalInfoCommand"), exports);
|
|
|
17
17
|
tslib_1.__exportStar(require("./NotificationsCommand"), exports);
|
|
18
18
|
tslib_1.__exportStar(require("./OriginateCommand"), exports);
|
|
19
19
|
tslib_1.__exportStar(require("./OriginateCallCommand"), exports);
|
|
20
|
+
tslib_1.__exportStar(require("./ReloadBroadcastsCommand"), exports);
|
|
20
21
|
tslib_1.__exportStar(require("./UpdatePbxOAuth2ClientCommand"), exports);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.de_UpdatePbxOAuth2ClientCommand = exports.de_OriginateCallCommand = exports.de_OriginateCommand = exports.de_NotificationsCommand = exports.de_GetPersonalInfoCommand = exports.de_GetPbxOAuth2ClientsCommand = exports.de_GetPbxesCommand = exports.de_GetPbxColleaguesCommand = exports.de_GetPbxCallGroupsCommand = exports.de_GetPbxAclGroupsPermissionsCommand = exports.de_GetColleagueByIdCommand = exports.de_DeletePbxOAuth2ClientCommand = exports.de_DeletePbxColleagueCommand = exports.de_DeletePbxAclGroupCommand = exports.de_CreatePbxOAuth2ClientCommand = exports.de_CreatePbxColleagueCommand = exports.de_CreatePbxAclGroupCommand = exports.se_UpdatePbxOAuth2ClientCommand = exports.se_OriginateCallCommand = exports.se_OriginateCommand = exports.se_NotificationsCommand = exports.se_GetPersonalInfoCommand = exports.se_GetPbxOAuth2ClientsCommand = exports.se_GetPbxesCommand = exports.se_GetPbxColleaguesCommand = exports.se_GetPbxCallGroupsCommand = exports.se_GetPbxAclGroupsPermissionsCommand = exports.se_GetColleagueByIdCommand = exports.se_DeletePbxOAuth2ClientCommand = exports.se_DeletePbxColleagueCommand = exports.se_DeletePbxAclGroupCommand = exports.se_CreatePbxOAuth2ClientCommand = exports.se_CreatePbxColleagueCommand = exports.se_CreatePbxAclGroupCommand = void 0;
|
|
3
|
+
exports.de_UpdatePbxOAuth2ClientCommand = exports.de_ReloadBroadcastsCommand = exports.de_OriginateCallCommand = exports.de_OriginateCommand = exports.de_NotificationsCommand = exports.de_GetPersonalInfoCommand = exports.de_GetPbxOAuth2ClientsCommand = exports.de_GetPbxesCommand = exports.de_GetPbxColleaguesCommand = exports.de_GetPbxCallGroupsCommand = exports.de_GetPbxAclGroupsPermissionsCommand = exports.de_GetColleagueByIdCommand = exports.de_DeletePbxOAuth2ClientCommand = exports.de_DeletePbxColleagueCommand = exports.de_DeletePbxAclGroupCommand = exports.de_CreatePbxOAuth2ClientCommand = exports.de_CreatePbxColleagueCommand = exports.de_CreatePbxAclGroupCommand = exports.se_UpdatePbxOAuth2ClientCommand = exports.se_ReloadBroadcastsCommand = exports.se_OriginateCallCommand = exports.se_OriginateCommand = exports.se_NotificationsCommand = exports.se_GetPersonalInfoCommand = exports.se_GetPbxOAuth2ClientsCommand = exports.se_GetPbxesCommand = exports.se_GetPbxColleaguesCommand = exports.se_GetPbxCallGroupsCommand = exports.se_GetPbxAclGroupsPermissionsCommand = exports.se_GetColleagueByIdCommand = exports.se_DeletePbxOAuth2ClientCommand = exports.se_DeletePbxColleagueCommand = exports.se_DeletePbxAclGroupCommand = exports.se_CreatePbxOAuth2ClientCommand = exports.se_CreatePbxColleagueCommand = exports.se_CreatePbxAclGroupCommand = void 0;
|
|
4
4
|
const WmsApiServiceException_1 = require("../models/WmsApiServiceException");
|
|
5
5
|
const models_0_1 = require("../models/models_0");
|
|
6
6
|
const core_1 = require("@aws-sdk/core");
|
|
@@ -64,6 +64,7 @@ const se_CreatePbxOAuth2ClientCommand = async (input, context) => {
|
|
|
64
64
|
b.bp("/api/v1/pbx/applications/oauth2");
|
|
65
65
|
let body;
|
|
66
66
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
67
|
+
'expireTime': [],
|
|
67
68
|
'name': [],
|
|
68
69
|
'redirectUri': _ => (0, smithy_client_1._json)(_),
|
|
69
70
|
}));
|
|
@@ -313,6 +314,17 @@ const se_OriginateCallCommand = async (input, context) => {
|
|
|
313
314
|
return b.build();
|
|
314
315
|
};
|
|
315
316
|
exports.se_OriginateCallCommand = se_OriginateCallCommand;
|
|
317
|
+
const se_ReloadBroadcastsCommand = async (input, context) => {
|
|
318
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
319
|
+
const headers = {};
|
|
320
|
+
b.bp("/api/v1/broadcasts/reload");
|
|
321
|
+
let body;
|
|
322
|
+
b.m("POST")
|
|
323
|
+
.h(headers)
|
|
324
|
+
.b(body);
|
|
325
|
+
return b.build();
|
|
326
|
+
};
|
|
327
|
+
exports.se_ReloadBroadcastsCommand = se_ReloadBroadcastsCommand;
|
|
316
328
|
const se_UpdatePbxOAuth2ClientCommand = async (input, context) => {
|
|
317
329
|
const b = (0, core_2.requestBuilder)(input, context);
|
|
318
330
|
const headers = {
|
|
@@ -587,6 +599,22 @@ const de_OriginateCallCommand = async (output, context) => {
|
|
|
587
599
|
return contents;
|
|
588
600
|
};
|
|
589
601
|
exports.de_OriginateCallCommand = de_OriginateCallCommand;
|
|
602
|
+
const de_ReloadBroadcastsCommand = async (output, context) => {
|
|
603
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
604
|
+
return de_CommandError(output, context);
|
|
605
|
+
}
|
|
606
|
+
const contents = (0, smithy_client_1.map)({
|
|
607
|
+
$metadata: deserializeMetadata(output),
|
|
608
|
+
});
|
|
609
|
+
const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
|
|
610
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
611
|
+
'result': smithy_client_1.expectString,
|
|
612
|
+
'type': smithy_client_1.expectString,
|
|
613
|
+
});
|
|
614
|
+
Object.assign(contents, doc);
|
|
615
|
+
return contents;
|
|
616
|
+
};
|
|
617
|
+
exports.de_ReloadBroadcastsCommand = de_ReloadBroadcastsCommand;
|
|
590
618
|
const de_UpdatePbxOAuth2ClientCommand = async (output, context) => {
|
|
591
619
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
592
620
|
return de_CommandError(output, context);
|
package/dist-es/WmsApi.js
CHANGED
|
@@ -15,6 +15,7 @@ import { GetPersonalInfoCommand, } from "./commands/GetPersonalInfoCommand";
|
|
|
15
15
|
import { NotificationsCommand, } from "./commands/NotificationsCommand";
|
|
16
16
|
import { OriginateCallCommand, } from "./commands/OriginateCallCommand";
|
|
17
17
|
import { OriginateCommand, } from "./commands/OriginateCommand";
|
|
18
|
+
import { ReloadBroadcastsCommand, } from "./commands/ReloadBroadcastsCommand";
|
|
18
19
|
import { UpdatePbxOAuth2ClientCommand, } from "./commands/UpdatePbxOAuth2ClientCommand";
|
|
19
20
|
import { createAggregatedClient } from "@smithy/smithy-client";
|
|
20
21
|
const commands = {
|
|
@@ -34,6 +35,7 @@ const commands = {
|
|
|
34
35
|
NotificationsCommand,
|
|
35
36
|
OriginateCommand,
|
|
36
37
|
OriginateCallCommand,
|
|
38
|
+
ReloadBroadcastsCommand,
|
|
37
39
|
UpdatePbxOAuth2ClientCommand,
|
|
38
40
|
};
|
|
39
41
|
export class WmsApi extends WmsApiClient {
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { de_ReloadBroadcastsCommand, se_ReloadBroadcastsCommand, } from "../protocols/Aws_restJson1";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
export { $Command };
|
|
5
|
+
export class ReloadBroadcastsCommand extends $Command.classBuilder()
|
|
6
|
+
.m(function (Command, cs, config, o) {
|
|
7
|
+
return [
|
|
8
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
9
|
+
];
|
|
10
|
+
})
|
|
11
|
+
.s("WmsApi", "ReloadBroadcasts", {})
|
|
12
|
+
.n("WmsApiClient", "ReloadBroadcastsCommand")
|
|
13
|
+
.f(void 0, void 0)
|
|
14
|
+
.ser(se_ReloadBroadcastsCommand)
|
|
15
|
+
.de(de_ReloadBroadcastsCommand)
|
|
16
|
+
.build() {
|
|
17
|
+
}
|
|
@@ -59,6 +59,7 @@ export const se_CreatePbxOAuth2ClientCommand = async (input, context) => {
|
|
|
59
59
|
b.bp("/api/v1/pbx/applications/oauth2");
|
|
60
60
|
let body;
|
|
61
61
|
body = JSON.stringify(take(input, {
|
|
62
|
+
'expireTime': [],
|
|
62
63
|
'name': [],
|
|
63
64
|
'redirectUri': _ => _json(_),
|
|
64
65
|
}));
|
|
@@ -294,6 +295,16 @@ export const se_OriginateCallCommand = async (input, context) => {
|
|
|
294
295
|
.b(body);
|
|
295
296
|
return b.build();
|
|
296
297
|
};
|
|
298
|
+
export const se_ReloadBroadcastsCommand = async (input, context) => {
|
|
299
|
+
const b = rb(input, context);
|
|
300
|
+
const headers = {};
|
|
301
|
+
b.bp("/api/v1/broadcasts/reload");
|
|
302
|
+
let body;
|
|
303
|
+
b.m("POST")
|
|
304
|
+
.h(headers)
|
|
305
|
+
.b(body);
|
|
306
|
+
return b.build();
|
|
307
|
+
};
|
|
297
308
|
export const se_UpdatePbxOAuth2ClientCommand = async (input, context) => {
|
|
298
309
|
const b = rb(input, context);
|
|
299
310
|
const headers = {
|
|
@@ -551,6 +562,21 @@ export const de_OriginateCallCommand = async (output, context) => {
|
|
|
551
562
|
Object.assign(contents, doc);
|
|
552
563
|
return contents;
|
|
553
564
|
};
|
|
565
|
+
export const de_ReloadBroadcastsCommand = async (output, context) => {
|
|
566
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
567
|
+
return de_CommandError(output, context);
|
|
568
|
+
}
|
|
569
|
+
const contents = map({
|
|
570
|
+
$metadata: deserializeMetadata(output),
|
|
571
|
+
});
|
|
572
|
+
const data = __expectNonNull((__expectObject(await parseBody(output.body, context))), "body");
|
|
573
|
+
const doc = take(data, {
|
|
574
|
+
'result': __expectString,
|
|
575
|
+
'type': __expectString,
|
|
576
|
+
});
|
|
577
|
+
Object.assign(contents, doc);
|
|
578
|
+
return contents;
|
|
579
|
+
};
|
|
554
580
|
export const de_UpdatePbxOAuth2ClientCommand = async (output, context) => {
|
|
555
581
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
556
582
|
return de_CommandError(output, context);
|
package/dist-types/WmsApi.d.ts
CHANGED
|
@@ -15,6 +15,7 @@ import { GetPersonalInfoCommandInput, GetPersonalInfoCommandOutput } from "./com
|
|
|
15
15
|
import { NotificationsCommandInput, NotificationsCommandOutput } from "./commands/NotificationsCommand";
|
|
16
16
|
import { OriginateCallCommandInput, OriginateCallCommandOutput } from "./commands/OriginateCallCommand";
|
|
17
17
|
import { OriginateCommandInput, OriginateCommandOutput } from "./commands/OriginateCommand";
|
|
18
|
+
import { ReloadBroadcastsCommandInput, ReloadBroadcastsCommandOutput } from "./commands/ReloadBroadcastsCommand";
|
|
18
19
|
import { UpdatePbxOAuth2ClientCommandInput, UpdatePbxOAuth2ClientCommandOutput } from "./commands/UpdatePbxOAuth2ClientCommand";
|
|
19
20
|
import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
20
21
|
export interface WmsApi {
|
|
@@ -120,6 +121,13 @@ export interface WmsApi {
|
|
|
120
121
|
originateCall(args: OriginateCallCommandInput, options?: __HttpHandlerOptions): Promise<OriginateCallCommandOutput>;
|
|
121
122
|
originateCall(args: OriginateCallCommandInput, cb: (err: any, data?: OriginateCallCommandOutput) => void): void;
|
|
122
123
|
originateCall(args: OriginateCallCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: OriginateCallCommandOutput) => void): void;
|
|
124
|
+
/**
|
|
125
|
+
* @see {@link ReloadBroadcastsCommand}
|
|
126
|
+
*/
|
|
127
|
+
reloadBroadcasts(): Promise<ReloadBroadcastsCommandOutput>;
|
|
128
|
+
reloadBroadcasts(args: ReloadBroadcastsCommandInput, options?: __HttpHandlerOptions): Promise<ReloadBroadcastsCommandOutput>;
|
|
129
|
+
reloadBroadcasts(args: ReloadBroadcastsCommandInput, cb: (err: any, data?: ReloadBroadcastsCommandOutput) => void): void;
|
|
130
|
+
reloadBroadcasts(args: ReloadBroadcastsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ReloadBroadcastsCommandOutput) => void): void;
|
|
123
131
|
/**
|
|
124
132
|
* @see {@link UpdatePbxOAuth2ClientCommand}
|
|
125
133
|
*/
|
|
@@ -14,6 +14,7 @@ import { GetPersonalInfoCommandInput, GetPersonalInfoCommandOutput } from "./com
|
|
|
14
14
|
import { NotificationsCommandInput, NotificationsCommandOutput } from "./commands/NotificationsCommand";
|
|
15
15
|
import { OriginateCallCommandInput, OriginateCallCommandOutput } from "./commands/OriginateCallCommand";
|
|
16
16
|
import { OriginateCommandInput, OriginateCommandOutput } from "./commands/OriginateCommand";
|
|
17
|
+
import { ReloadBroadcastsCommandInput, ReloadBroadcastsCommandOutput } from "./commands/ReloadBroadcastsCommand";
|
|
17
18
|
import { UpdatePbxOAuth2ClientCommandInput, UpdatePbxOAuth2ClientCommandOutput } from "./commands/UpdatePbxOAuth2ClientCommand";
|
|
18
19
|
import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
|
|
19
20
|
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
@@ -26,11 +27,11 @@ export { __Client };
|
|
|
26
27
|
/**
|
|
27
28
|
* @public
|
|
28
29
|
*/
|
|
29
|
-
export type ServiceInputTypes = CreatePbxAclGroupCommandInput | CreatePbxColleagueCommandInput | CreatePbxOAuth2ClientCommandInput | DeletePbxAclGroupCommandInput | DeletePbxColleagueCommandInput | DeletePbxOAuth2ClientCommandInput | GetColleagueByIdCommandInput | GetPbxAclGroupsPermissionsCommandInput | GetPbxCallGroupsCommandInput | GetPbxColleaguesCommandInput | GetPbxOAuth2ClientsCommandInput | GetPbxesCommandInput | GetPersonalInfoCommandInput | NotificationsCommandInput | OriginateCallCommandInput | OriginateCommandInput | UpdatePbxOAuth2ClientCommandInput;
|
|
30
|
+
export type ServiceInputTypes = CreatePbxAclGroupCommandInput | CreatePbxColleagueCommandInput | CreatePbxOAuth2ClientCommandInput | DeletePbxAclGroupCommandInput | DeletePbxColleagueCommandInput | DeletePbxOAuth2ClientCommandInput | GetColleagueByIdCommandInput | GetPbxAclGroupsPermissionsCommandInput | GetPbxCallGroupsCommandInput | GetPbxColleaguesCommandInput | GetPbxOAuth2ClientsCommandInput | GetPbxesCommandInput | GetPersonalInfoCommandInput | NotificationsCommandInput | OriginateCallCommandInput | OriginateCommandInput | ReloadBroadcastsCommandInput | UpdatePbxOAuth2ClientCommandInput;
|
|
30
31
|
/**
|
|
31
32
|
* @public
|
|
32
33
|
*/
|
|
33
|
-
export type ServiceOutputTypes = CreatePbxAclGroupCommandOutput | CreatePbxColleagueCommandOutput | CreatePbxOAuth2ClientCommandOutput | DeletePbxAclGroupCommandOutput | DeletePbxColleagueCommandOutput | DeletePbxOAuth2ClientCommandOutput | GetColleagueByIdCommandOutput | GetPbxAclGroupsPermissionsCommandOutput | GetPbxCallGroupsCommandOutput | GetPbxColleaguesCommandOutput | GetPbxOAuth2ClientsCommandOutput | GetPbxesCommandOutput | GetPersonalInfoCommandOutput | NotificationsCommandOutput | OriginateCallCommandOutput | OriginateCommandOutput | UpdatePbxOAuth2ClientCommandOutput;
|
|
34
|
+
export type ServiceOutputTypes = CreatePbxAclGroupCommandOutput | CreatePbxColleagueCommandOutput | CreatePbxOAuth2ClientCommandOutput | DeletePbxAclGroupCommandOutput | DeletePbxColleagueCommandOutput | DeletePbxOAuth2ClientCommandOutput | GetColleagueByIdCommandOutput | GetPbxAclGroupsPermissionsCommandOutput | GetPbxCallGroupsCommandOutput | GetPbxColleaguesCommandOutput | GetPbxOAuth2ClientsCommandOutput | GetPbxesCommandOutput | GetPersonalInfoCommandOutput | NotificationsCommandOutput | OriginateCallCommandOutput | OriginateCommandOutput | ReloadBroadcastsCommandOutput | UpdatePbxOAuth2ClientCommandOutput;
|
|
34
35
|
/**
|
|
35
36
|
* @public
|
|
36
37
|
*/
|
|
@@ -39,6 +39,7 @@ declare const CreatePbxOAuth2ClientCommand_base: {
|
|
|
39
39
|
* redirectUri: [ // PbxOAuth2RedirectUrls // required
|
|
40
40
|
* "STRING_VALUE",
|
|
41
41
|
* ],
|
|
42
|
+
* expireTime: Number("int"), // required
|
|
42
43
|
* };
|
|
43
44
|
* const command = new CreatePbxOAuth2ClientCommand(input);
|
|
44
45
|
* const response = await client.send(command);
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import { ServiceInputTypes, ServiceOutputTypes, WmsApiClientResolvedConfig } from "../WmsApiClient";
|
|
2
|
+
import { ReloadBroadcastsInput, ReloadBroadcastsOutput } 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 ReloadBroadcastsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ReloadBroadcastsCommandInput extends ReloadBroadcastsInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ReloadBroadcastsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ReloadBroadcastsCommandOutput extends ReloadBroadcastsOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ReloadBroadcastsCommand_base: {
|
|
25
|
+
new (input: ReloadBroadcastsCommandInput): import("@smithy/smithy-client").CommandImpl<ReloadBroadcastsCommandInput, ReloadBroadcastsCommandOutput, WmsApiClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (...[input]: [] | [ReloadBroadcastsCommandInput]): import("@smithy/smithy-client").CommandImpl<ReloadBroadcastsCommandInput, ReloadBroadcastsCommandOutput, WmsApiClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Clear cache for broadcasts
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { WmsApiClient, ReloadBroadcastsCommand } from "@wildix/wms-api-client"; // ES Modules import
|
|
35
|
+
* // const { WmsApiClient, ReloadBroadcastsCommand } = require("@wildix/wms-api-client"); // CommonJS import
|
|
36
|
+
* const client = new WmsApiClient(config);
|
|
37
|
+
* const input = {};
|
|
38
|
+
* const command = new ReloadBroadcastsCommand(input);
|
|
39
|
+
* const response = await client.send(command);
|
|
40
|
+
* // { // ReloadBroadcastsOutput
|
|
41
|
+
* // type: "result" || "error", // required
|
|
42
|
+
* // result: "STRING_VALUE", // required
|
|
43
|
+
* // };
|
|
44
|
+
*
|
|
45
|
+
* ```
|
|
46
|
+
*
|
|
47
|
+
* @param ReloadBroadcastsCommandInput - {@link ReloadBroadcastsCommandInput}
|
|
48
|
+
* @returns {@link ReloadBroadcastsCommandOutput}
|
|
49
|
+
* @see {@link ReloadBroadcastsCommandInput} for command's `input` shape.
|
|
50
|
+
* @see {@link ReloadBroadcastsCommandOutput} for command's `response` shape.
|
|
51
|
+
* @see {@link WmsApiClientResolvedConfig | config} for WmsApiClient's `config` shape.
|
|
52
|
+
*
|
|
53
|
+
* @throws {@link WmsUnauthorizedException} (client fault)
|
|
54
|
+
*
|
|
55
|
+
* @throws {@link WmsApiServiceException}
|
|
56
|
+
* <p>Base exception class for all service exceptions from WmsApi service.</p>
|
|
57
|
+
*
|
|
58
|
+
*
|
|
59
|
+
* @public
|
|
60
|
+
*/
|
|
61
|
+
export declare class ReloadBroadcastsCommand extends ReloadBroadcastsCommand_base {
|
|
62
|
+
/** @internal type navigation helper, not in runtime. */
|
|
63
|
+
protected static __types: {
|
|
64
|
+
api: {
|
|
65
|
+
input: {};
|
|
66
|
+
output: ReloadBroadcastsOutput;
|
|
67
|
+
};
|
|
68
|
+
sdk: {
|
|
69
|
+
input: ReloadBroadcastsCommandInput;
|
|
70
|
+
output: ReloadBroadcastsCommandOutput;
|
|
71
|
+
};
|
|
72
|
+
};
|
|
73
|
+
}
|
|
@@ -202,6 +202,11 @@ export interface CreatePbxOAuth2ClientInput {
|
|
|
202
202
|
* @public
|
|
203
203
|
*/
|
|
204
204
|
redirectUri: (string)[];
|
|
205
|
+
/**
|
|
206
|
+
* Timestamp for expiration of the OAuth2 application. Should not exceed 1 year.
|
|
207
|
+
* @public
|
|
208
|
+
*/
|
|
209
|
+
expireTime: number;
|
|
205
210
|
}
|
|
206
211
|
/**
|
|
207
212
|
* @public
|
|
@@ -708,6 +713,18 @@ export interface OriginateCallOutput {
|
|
|
708
713
|
type: ResponseType;
|
|
709
714
|
result: ResponseResult;
|
|
710
715
|
}
|
|
716
|
+
/**
|
|
717
|
+
* @public
|
|
718
|
+
*/
|
|
719
|
+
export interface ReloadBroadcastsInput {
|
|
720
|
+
}
|
|
721
|
+
/**
|
|
722
|
+
* @public
|
|
723
|
+
*/
|
|
724
|
+
export interface ReloadBroadcastsOutput {
|
|
725
|
+
type: ResponseType;
|
|
726
|
+
result: string;
|
|
727
|
+
}
|
|
711
728
|
/**
|
|
712
729
|
* @public
|
|
713
730
|
*/
|
|
@@ -14,6 +14,7 @@ import { GetPersonalInfoCommandInput, GetPersonalInfoCommandOutput } from "../co
|
|
|
14
14
|
import { NotificationsCommandInput, NotificationsCommandOutput } from "../commands/NotificationsCommand";
|
|
15
15
|
import { OriginateCallCommandInput, OriginateCallCommandOutput } from "../commands/OriginateCallCommand";
|
|
16
16
|
import { OriginateCommandInput, OriginateCommandOutput } from "../commands/OriginateCommand";
|
|
17
|
+
import { ReloadBroadcastsCommandInput, ReloadBroadcastsCommandOutput } from "../commands/ReloadBroadcastsCommand";
|
|
17
18
|
import { UpdatePbxOAuth2ClientCommandInput, UpdatePbxOAuth2ClientCommandOutput } from "../commands/UpdatePbxOAuth2ClientCommand";
|
|
18
19
|
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@smithy/protocol-http";
|
|
19
20
|
import { SerdeContext as __SerdeContext } from "@smithy/types";
|
|
@@ -81,6 +82,10 @@ export declare const se_OriginateCommand: (input: OriginateCommandInput, context
|
|
|
81
82
|
* serializeAws_restJson1OriginateCallCommand
|
|
82
83
|
*/
|
|
83
84
|
export declare const se_OriginateCallCommand: (input: OriginateCallCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
85
|
+
/**
|
|
86
|
+
* serializeAws_restJson1ReloadBroadcastsCommand
|
|
87
|
+
*/
|
|
88
|
+
export declare const se_ReloadBroadcastsCommand: (input: ReloadBroadcastsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
84
89
|
/**
|
|
85
90
|
* serializeAws_restJson1UpdatePbxOAuth2ClientCommand
|
|
86
91
|
*/
|
|
@@ -149,6 +154,10 @@ export declare const de_OriginateCommand: (output: __HttpResponse, context: __Se
|
|
|
149
154
|
* deserializeAws_restJson1OriginateCallCommand
|
|
150
155
|
*/
|
|
151
156
|
export declare const de_OriginateCallCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<OriginateCallCommandOutput>;
|
|
157
|
+
/**
|
|
158
|
+
* deserializeAws_restJson1ReloadBroadcastsCommand
|
|
159
|
+
*/
|
|
160
|
+
export declare const de_ReloadBroadcastsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ReloadBroadcastsCommandOutput>;
|
|
152
161
|
/**
|
|
153
162
|
* deserializeAws_restJson1UpdatePbxOAuth2ClientCommand
|
|
154
163
|
*/
|
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.21",
|
|
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",
|