@wildix/wms-api-client 1.1.18 → 1.1.20
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/WmsApiClient.js +4 -5
- package/dist-cjs/commands/ReloadBroadcastsCommand.js +21 -0
- package/dist-cjs/commands/index.js +1 -0
- package/dist-cjs/models/models_0.js +13 -6
- package/dist-cjs/protocols/Aws_restJson1.js +103 -130
- package/dist-cjs/runtimeConfig.browser.js +1 -1
- package/dist-cjs/runtimeConfig.js +4 -3
- package/dist-cjs/runtimeExtensions.js +2 -10
- package/dist-es/WmsApi.js +2 -0
- package/dist-es/WmsApiClient.js +4 -5
- package/dist-es/commands/ReloadBroadcastsCommand.js +17 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/models/models_0.js +13 -6
- package/dist-es/protocols/Aws_restJson1.js +63 -92
- package/dist-es/runtimeConfig.browser.js +2 -2
- package/dist-es/runtimeConfig.js +5 -4
- package/dist-es/runtimeExtensions.js +2 -10
- package/dist-types/WmsApi.d.ts +8 -0
- package/dist-types/WmsApiClient.d.ts +3 -2
- package/dist-types/commands/CreatePbxAclGroupCommand.d.ts +12 -0
- package/dist-types/commands/CreatePbxColleagueCommand.d.ts +12 -0
- package/dist-types/commands/CreatePbxOAuth2ClientCommand.d.ts +12 -0
- package/dist-types/commands/DeletePbxAclGroupCommand.d.ts +12 -0
- package/dist-types/commands/DeletePbxColleagueCommand.d.ts +12 -0
- package/dist-types/commands/DeletePbxOAuth2ClientCommand.d.ts +12 -0
- package/dist-types/commands/GetColleagueByIdCommand.d.ts +12 -0
- package/dist-types/commands/GetPbxAclGroupsPermissionsCommand.d.ts +12 -0
- package/dist-types/commands/GetPbxCallGroupsCommand.d.ts +12 -0
- package/dist-types/commands/GetPbxColleaguesCommand.d.ts +33 -0
- package/dist-types/commands/GetPbxOAuth2ClientsCommand.d.ts +12 -0
- package/dist-types/commands/GetPbxesCommand.d.ts +12 -0
- package/dist-types/commands/GetPersonalInfoCommand.d.ts +12 -0
- package/dist-types/commands/NotificationsCommand.d.ts +12 -0
- package/dist-types/commands/OriginateCallCommand.d.ts +12 -0
- package/dist-types/commands/OriginateCommand.d.ts +12 -0
- package/dist-types/commands/ReloadBroadcastsCommand.d.ts +73 -0
- package/dist-types/commands/UpdatePbxOAuth2ClientCommand.d.ts +12 -0
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +129 -117
- package/dist-types/protocols/Aws_restJson1.d.ts +9 -0
- package/dist-types/runtimeConfig.browser.d.ts +2 -1
- package/dist-types/runtimeConfig.d.ts +2 -1
- package/dist-types/runtimeConfig.native.d.ts +2 -1
- package/package.json +37 -33
|
@@ -80,6 +80,18 @@ declare const GetColleagueByIdCommand_base: {
|
|
|
80
80
|
* @throws {@link WmsApiServiceException}
|
|
81
81
|
* <p>Base exception class for all service exceptions from WmsApi service.</p>
|
|
82
82
|
*
|
|
83
|
+
*
|
|
83
84
|
*/
|
|
84
85
|
export declare class GetColleagueByIdCommand extends GetColleagueByIdCommand_base {
|
|
86
|
+
/** @internal type navigation helper, not in runtime. */
|
|
87
|
+
protected static __types: {
|
|
88
|
+
api: {
|
|
89
|
+
input: GetColleagueByIdInput;
|
|
90
|
+
output: GetColleagueByIdOutput;
|
|
91
|
+
};
|
|
92
|
+
sdk: {
|
|
93
|
+
input: GetColleagueByIdCommandInput;
|
|
94
|
+
output: GetColleagueByIdCommandOutput;
|
|
95
|
+
};
|
|
96
|
+
};
|
|
85
97
|
}
|
|
@@ -84,6 +84,18 @@ declare const GetPbxAclGroupsPermissionsCommand_base: {
|
|
|
84
84
|
* @throws {@link WmsApiServiceException}
|
|
85
85
|
* <p>Base exception class for all service exceptions from WmsApi service.</p>
|
|
86
86
|
*
|
|
87
|
+
*
|
|
87
88
|
*/
|
|
88
89
|
export declare class GetPbxAclGroupsPermissionsCommand extends GetPbxAclGroupsPermissionsCommand_base {
|
|
90
|
+
/** @internal type navigation helper, not in runtime. */
|
|
91
|
+
protected static __types: {
|
|
92
|
+
api: {
|
|
93
|
+
input: GetPbxAclGroupsPermissionsInput;
|
|
94
|
+
output: GetPbxAclGroupsPermissionsOutput;
|
|
95
|
+
};
|
|
96
|
+
sdk: {
|
|
97
|
+
input: GetPbxAclGroupsPermissionsCommandInput;
|
|
98
|
+
output: GetPbxAclGroupsPermissionsCommandOutput;
|
|
99
|
+
};
|
|
100
|
+
};
|
|
89
101
|
}
|
|
@@ -95,7 +95,19 @@ declare const GetPbxCallGroupsCommand_base: {
|
|
|
95
95
|
* @throws {@link WmsApiServiceException}
|
|
96
96
|
* <p>Base exception class for all service exceptions from WmsApi service.</p>
|
|
97
97
|
*
|
|
98
|
+
*
|
|
98
99
|
* @public
|
|
99
100
|
*/
|
|
100
101
|
export declare class GetPbxCallGroupsCommand extends GetPbxCallGroupsCommand_base {
|
|
102
|
+
/** @internal type navigation helper, not in runtime. */
|
|
103
|
+
protected static __types: {
|
|
104
|
+
api: {
|
|
105
|
+
input: {};
|
|
106
|
+
output: GetPbxCallGroupsOutput;
|
|
107
|
+
};
|
|
108
|
+
sdk: {
|
|
109
|
+
input: GetPbxCallGroupsCommandInput;
|
|
110
|
+
output: GetPbxCallGroupsCommandOutput;
|
|
111
|
+
};
|
|
112
|
+
};
|
|
101
113
|
}
|
|
@@ -124,6 +124,39 @@ declare const GetPbxColleaguesCommand_base: {
|
|
|
124
124
|
* @throws {@link WmsApiServiceException}
|
|
125
125
|
* <p>Base exception class for all service exceptions from WmsApi service.</p>
|
|
126
126
|
*
|
|
127
|
+
*
|
|
128
|
+
* @example valid example
|
|
129
|
+
* ```javascript
|
|
130
|
+
* // valid example doc
|
|
131
|
+
* const input = {
|
|
132
|
+
* extension: [
|
|
133
|
+
* "1234"
|
|
134
|
+
* ]
|
|
135
|
+
* };
|
|
136
|
+
* const command = new GetPbxColleaguesCommand(input);
|
|
137
|
+
* const response = await client.send(command);
|
|
138
|
+
* /* response is
|
|
139
|
+
* {
|
|
140
|
+
* result: {
|
|
141
|
+
* records: [],
|
|
142
|
+
* total: 0
|
|
143
|
+
* },
|
|
144
|
+
* type: "result"
|
|
145
|
+
* }
|
|
146
|
+
* *\/
|
|
147
|
+
* ```
|
|
148
|
+
*
|
|
127
149
|
*/
|
|
128
150
|
export declare class GetPbxColleaguesCommand extends GetPbxColleaguesCommand_base {
|
|
151
|
+
/** @internal type navigation helper, not in runtime. */
|
|
152
|
+
protected static __types: {
|
|
153
|
+
api: {
|
|
154
|
+
input: GetPbxColleaguesInput;
|
|
155
|
+
output: GetPbxColleaguesOutput;
|
|
156
|
+
};
|
|
157
|
+
sdk: {
|
|
158
|
+
input: GetPbxColleaguesCommandInput;
|
|
159
|
+
output: GetPbxColleaguesCommandOutput;
|
|
160
|
+
};
|
|
161
|
+
};
|
|
129
162
|
}
|
|
@@ -67,7 +67,19 @@ declare const GetPbxOAuth2ClientsCommand_base: {
|
|
|
67
67
|
* @throws {@link WmsApiServiceException}
|
|
68
68
|
* <p>Base exception class for all service exceptions from WmsApi service.</p>
|
|
69
69
|
*
|
|
70
|
+
*
|
|
70
71
|
* @public
|
|
71
72
|
*/
|
|
72
73
|
export declare class GetPbxOAuth2ClientsCommand extends GetPbxOAuth2ClientsCommand_base {
|
|
74
|
+
/** @internal type navigation helper, not in runtime. */
|
|
75
|
+
protected static __types: {
|
|
76
|
+
api: {
|
|
77
|
+
input: {};
|
|
78
|
+
output: GetPbxOAuth2ClientsOutput;
|
|
79
|
+
};
|
|
80
|
+
sdk: {
|
|
81
|
+
input: GetPbxOAuth2ClientsCommandInput;
|
|
82
|
+
output: GetPbxOAuth2ClientsCommandOutput;
|
|
83
|
+
};
|
|
84
|
+
};
|
|
73
85
|
}
|
|
@@ -69,7 +69,19 @@ declare const GetPbxesCommand_base: {
|
|
|
69
69
|
* @throws {@link WmsApiServiceException}
|
|
70
70
|
* <p>Base exception class for all service exceptions from WmsApi service.</p>
|
|
71
71
|
*
|
|
72
|
+
*
|
|
72
73
|
* @public
|
|
73
74
|
*/
|
|
74
75
|
export declare class GetPbxesCommand extends GetPbxesCommand_base {
|
|
76
|
+
/** @internal type navigation helper, not in runtime. */
|
|
77
|
+
protected static __types: {
|
|
78
|
+
api: {
|
|
79
|
+
input: {};
|
|
80
|
+
output: GetPbxesOutput;
|
|
81
|
+
};
|
|
82
|
+
sdk: {
|
|
83
|
+
input: GetPbxesCommandInput;
|
|
84
|
+
output: GetPbxesCommandOutput;
|
|
85
|
+
};
|
|
86
|
+
};
|
|
75
87
|
}
|
|
@@ -119,6 +119,18 @@ declare const GetPersonalInfoCommand_base: {
|
|
|
119
119
|
* @throws {@link WmsApiServiceException}
|
|
120
120
|
* <p>Base exception class for all service exceptions from WmsApi service.</p>
|
|
121
121
|
*
|
|
122
|
+
*
|
|
122
123
|
*/
|
|
123
124
|
export declare class GetPersonalInfoCommand extends GetPersonalInfoCommand_base {
|
|
125
|
+
/** @internal type navigation helper, not in runtime. */
|
|
126
|
+
protected static __types: {
|
|
127
|
+
api: {
|
|
128
|
+
input: GetPersonalInfoInput;
|
|
129
|
+
output: GetPersonalInfoOutput;
|
|
130
|
+
};
|
|
131
|
+
sdk: {
|
|
132
|
+
input: GetPersonalInfoCommandInput;
|
|
133
|
+
output: GetPersonalInfoCommandOutput;
|
|
134
|
+
};
|
|
135
|
+
};
|
|
124
136
|
}
|
|
@@ -69,7 +69,19 @@ declare const NotificationsCommand_base: {
|
|
|
69
69
|
* @throws {@link WmsApiServiceException}
|
|
70
70
|
* <p>Base exception class for all service exceptions from WmsApi service.</p>
|
|
71
71
|
*
|
|
72
|
+
*
|
|
72
73
|
* @public
|
|
73
74
|
*/
|
|
74
75
|
export declare class NotificationsCommand extends NotificationsCommand_base {
|
|
76
|
+
/** @internal type navigation helper, not in runtime. */
|
|
77
|
+
protected static __types: {
|
|
78
|
+
api: {
|
|
79
|
+
input: NotificationsInput;
|
|
80
|
+
output: NotificationsOutput;
|
|
81
|
+
};
|
|
82
|
+
sdk: {
|
|
83
|
+
input: NotificationsCommandInput;
|
|
84
|
+
output: NotificationsCommandOutput;
|
|
85
|
+
};
|
|
86
|
+
};
|
|
75
87
|
}
|
|
@@ -59,7 +59,19 @@ declare const OriginateCallCommand_base: {
|
|
|
59
59
|
* @throws {@link WmsApiServiceException}
|
|
60
60
|
* <p>Base exception class for all service exceptions from WmsApi service.</p>
|
|
61
61
|
*
|
|
62
|
+
*
|
|
62
63
|
* @public
|
|
63
64
|
*/
|
|
64
65
|
export declare class OriginateCallCommand extends OriginateCallCommand_base {
|
|
66
|
+
/** @internal type navigation helper, not in runtime. */
|
|
67
|
+
protected static __types: {
|
|
68
|
+
api: {
|
|
69
|
+
input: OriginateCallInput;
|
|
70
|
+
output: OriginateCallOutput;
|
|
71
|
+
};
|
|
72
|
+
sdk: {
|
|
73
|
+
input: OriginateCallCommandInput;
|
|
74
|
+
output: OriginateCallCommandOutput;
|
|
75
|
+
};
|
|
76
|
+
};
|
|
65
77
|
}
|
|
@@ -68,7 +68,19 @@ declare const OriginateCommand_base: {
|
|
|
68
68
|
* @throws {@link WmsApiServiceException}
|
|
69
69
|
* <p>Base exception class for all service exceptions from WmsApi service.</p>
|
|
70
70
|
*
|
|
71
|
+
*
|
|
71
72
|
* @public
|
|
72
73
|
*/
|
|
73
74
|
export declare class OriginateCommand extends OriginateCommand_base {
|
|
75
|
+
/** @internal type navigation helper, not in runtime. */
|
|
76
|
+
protected static __types: {
|
|
77
|
+
api: {
|
|
78
|
+
input: OriginateInput;
|
|
79
|
+
output: OriginateOutput;
|
|
80
|
+
};
|
|
81
|
+
sdk: {
|
|
82
|
+
input: OriginateCommandInput;
|
|
83
|
+
output: OriginateCommandOutput;
|
|
84
|
+
};
|
|
85
|
+
};
|
|
74
86
|
}
|
|
@@ -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
|
+
}
|
|
@@ -77,7 +77,19 @@ declare const UpdatePbxOAuth2ClientCommand_base: {
|
|
|
77
77
|
* @throws {@link WmsApiServiceException}
|
|
78
78
|
* <p>Base exception class for all service exceptions from WmsApi service.</p>
|
|
79
79
|
*
|
|
80
|
+
*
|
|
80
81
|
* @public
|
|
81
82
|
*/
|
|
82
83
|
export declare class UpdatePbxOAuth2ClientCommand extends UpdatePbxOAuth2ClientCommand_base {
|
|
84
|
+
/** @internal type navigation helper, not in runtime. */
|
|
85
|
+
protected static __types: {
|
|
86
|
+
api: {
|
|
87
|
+
input: UpdatePbxOAuth2ClientInput;
|
|
88
|
+
output: UpdatePbxOAuth2ClientOutput;
|
|
89
|
+
};
|
|
90
|
+
sdk: {
|
|
91
|
+
input: UpdatePbxOAuth2ClientCommandInput;
|
|
92
|
+
output: UpdatePbxOAuth2ClientCommandOutput;
|
|
93
|
+
};
|
|
94
|
+
};
|
|
83
95
|
}
|