@wildix/wms-api-client 1.1.2 → 1.1.4
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 +4 -0
- package/dist-cjs/WmsApiClient.js +6 -3
- package/dist-cjs/commands/CreatePbxColleagueCommand.js +21 -0
- package/dist-cjs/commands/CreatePbxOAuth2ClientCommand.js +12 -32
- package/dist-cjs/commands/DeletePbxColleagueCommand.js +21 -0
- package/dist-cjs/commands/DeletePbxOAuth2ClientCommand.js +12 -32
- package/dist-cjs/commands/GetPbxAclGroupsPermissionsCommand.js +12 -32
- package/dist-cjs/commands/GetPbxCallGroupsCommand.js +12 -32
- package/dist-cjs/commands/GetPbxColleaguesCommand.js +12 -32
- package/dist-cjs/commands/GetPbxOAuth2ClientsCommand.js +12 -32
- package/dist-cjs/commands/UpdatePbxOAuth2ClientCommand.js +12 -32
- package/dist-cjs/commands/index.js +2 -0
- package/dist-cjs/models/models_0.js +29 -14
- package/dist-cjs/protocols/Aws_restJson1.js +220 -236
- package/dist-cjs/runtimeConfig.browser.js +5 -1
- package/dist-cjs/runtimeConfig.js +5 -1
- package/dist-cjs/runtimeConfig.shared.js +13 -11
- package/dist-es/WmsApi.js +4 -0
- package/dist-es/WmsApiClient.js +6 -3
- package/dist-es/commands/CreatePbxColleagueCommand.js +17 -0
- package/dist-es/commands/CreatePbxOAuth2ClientCommand.js +12 -32
- package/dist-es/commands/DeletePbxColleagueCommand.js +17 -0
- package/dist-es/commands/DeletePbxOAuth2ClientCommand.js +12 -32
- package/dist-es/commands/GetPbxAclGroupsPermissionsCommand.js +12 -32
- package/dist-es/commands/GetPbxCallGroupsCommand.js +12 -32
- package/dist-es/commands/GetPbxColleaguesCommand.js +12 -32
- package/dist-es/commands/GetPbxOAuth2ClientsCommand.js +12 -32
- package/dist-es/commands/UpdatePbxOAuth2ClientCommand.js +12 -32
- package/dist-es/commands/index.js +2 -0
- package/dist-es/models/models_0.js +28 -13
- package/dist-es/protocols/Aws_restJson1.js +214 -234
- package/dist-es/runtimeConfig.browser.js +4 -1
- package/dist-es/runtimeConfig.js +4 -1
- package/dist-es/runtimeConfig.shared.js +13 -11
- package/dist-types/WmsApi.d.ts +18 -0
- package/dist-types/WmsApiClient.d.ts +17 -9
- package/dist-types/commands/CreatePbxColleagueCommand.d.ts +96 -0
- package/dist-types/commands/CreatePbxOAuth2ClientCommand.d.ts +8 -20
- package/dist-types/commands/DeletePbxColleagueCommand.d.ts +65 -0
- package/dist-types/commands/DeletePbxOAuth2ClientCommand.d.ts +8 -20
- package/dist-types/commands/GetPbxAclGroupsPermissionsCommand.d.ts +7 -19
- package/dist-types/commands/GetPbxCallGroupsCommand.d.ts +8 -20
- package/dist-types/commands/GetPbxColleaguesCommand.d.ts +7 -19
- package/dist-types/commands/GetPbxOAuth2ClientsCommand.d.ts +8 -20
- package/dist-types/commands/UpdatePbxOAuth2ClientCommand.d.ts +8 -20
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/index.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +154 -70
- package/dist-types/protocols/Aws_restJson1.d.ts +18 -0
- package/dist-types/runtimeConfig.browser.d.ts +3 -4
- package/dist-types/runtimeConfig.d.ts +3 -4
- package/dist-types/runtimeConfig.native.d.ts +3 -4
- package/package.json +31 -30
package/dist-types/WmsApi.d.ts
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { WmsApiClient } from "./WmsApiClient";
|
|
2
|
+
import { CreatePbxColleagueCommandInput, CreatePbxColleagueCommandOutput } from "./commands/CreatePbxColleagueCommand";
|
|
2
3
|
import { CreatePbxOAuth2ClientCommandInput, CreatePbxOAuth2ClientCommandOutput } from "./commands/CreatePbxOAuth2ClientCommand";
|
|
4
|
+
import { DeletePbxColleagueCommandInput, DeletePbxColleagueCommandOutput } from "./commands/DeletePbxColleagueCommand";
|
|
3
5
|
import { DeletePbxOAuth2ClientCommandInput, DeletePbxOAuth2ClientCommandOutput } from "./commands/DeletePbxOAuth2ClientCommand";
|
|
4
6
|
import { GetPbxAclGroupsPermissionsCommandInput, GetPbxAclGroupsPermissionsCommandOutput } from "./commands/GetPbxAclGroupsPermissionsCommand";
|
|
5
7
|
import { GetPbxCallGroupsCommandInput, GetPbxCallGroupsCommandOutput } from "./commands/GetPbxCallGroupsCommand";
|
|
@@ -8,12 +10,24 @@ import { GetPbxOAuth2ClientsCommandInput, GetPbxOAuth2ClientsCommandOutput } fro
|
|
|
8
10
|
import { UpdatePbxOAuth2ClientCommandInput, UpdatePbxOAuth2ClientCommandOutput } from "./commands/UpdatePbxOAuth2ClientCommand";
|
|
9
11
|
import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
10
12
|
export interface WmsApi {
|
|
13
|
+
/**
|
|
14
|
+
* @see {@link CreatePbxColleagueCommand}
|
|
15
|
+
*/
|
|
16
|
+
createPbxColleague(args: CreatePbxColleagueCommandInput, options?: __HttpHandlerOptions): Promise<CreatePbxColleagueCommandOutput>;
|
|
17
|
+
createPbxColleague(args: CreatePbxColleagueCommandInput, cb: (err: any, data?: CreatePbxColleagueCommandOutput) => void): void;
|
|
18
|
+
createPbxColleague(args: CreatePbxColleagueCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreatePbxColleagueCommandOutput) => void): void;
|
|
11
19
|
/**
|
|
12
20
|
* @see {@link CreatePbxOAuth2ClientCommand}
|
|
13
21
|
*/
|
|
14
22
|
createPbxOAuth2Client(args: CreatePbxOAuth2ClientCommandInput, options?: __HttpHandlerOptions): Promise<CreatePbxOAuth2ClientCommandOutput>;
|
|
15
23
|
createPbxOAuth2Client(args: CreatePbxOAuth2ClientCommandInput, cb: (err: any, data?: CreatePbxOAuth2ClientCommandOutput) => void): void;
|
|
16
24
|
createPbxOAuth2Client(args: CreatePbxOAuth2ClientCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreatePbxOAuth2ClientCommandOutput) => void): void;
|
|
25
|
+
/**
|
|
26
|
+
* @see {@link DeletePbxColleagueCommand}
|
|
27
|
+
*/
|
|
28
|
+
deletePbxColleague(args: DeletePbxColleagueCommandInput, options?: __HttpHandlerOptions): Promise<DeletePbxColleagueCommandOutput>;
|
|
29
|
+
deletePbxColleague(args: DeletePbxColleagueCommandInput, cb: (err: any, data?: DeletePbxColleagueCommandOutput) => void): void;
|
|
30
|
+
deletePbxColleague(args: DeletePbxColleagueCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeletePbxColleagueCommandOutput) => void): void;
|
|
17
31
|
/**
|
|
18
32
|
* @see {@link DeletePbxOAuth2ClientCommand}
|
|
19
33
|
*/
|
|
@@ -23,24 +37,28 @@ export interface WmsApi {
|
|
|
23
37
|
/**
|
|
24
38
|
* @see {@link GetPbxAclGroupsPermissionsCommand}
|
|
25
39
|
*/
|
|
40
|
+
getPbxAclGroupsPermissions(): Promise<GetPbxAclGroupsPermissionsCommandOutput>;
|
|
26
41
|
getPbxAclGroupsPermissions(args: GetPbxAclGroupsPermissionsCommandInput, options?: __HttpHandlerOptions): Promise<GetPbxAclGroupsPermissionsCommandOutput>;
|
|
27
42
|
getPbxAclGroupsPermissions(args: GetPbxAclGroupsPermissionsCommandInput, cb: (err: any, data?: GetPbxAclGroupsPermissionsCommandOutput) => void): void;
|
|
28
43
|
getPbxAclGroupsPermissions(args: GetPbxAclGroupsPermissionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetPbxAclGroupsPermissionsCommandOutput) => void): void;
|
|
29
44
|
/**
|
|
30
45
|
* @see {@link GetPbxCallGroupsCommand}
|
|
31
46
|
*/
|
|
47
|
+
getPbxCallGroups(): Promise<GetPbxCallGroupsCommandOutput>;
|
|
32
48
|
getPbxCallGroups(args: GetPbxCallGroupsCommandInput, options?: __HttpHandlerOptions): Promise<GetPbxCallGroupsCommandOutput>;
|
|
33
49
|
getPbxCallGroups(args: GetPbxCallGroupsCommandInput, cb: (err: any, data?: GetPbxCallGroupsCommandOutput) => void): void;
|
|
34
50
|
getPbxCallGroups(args: GetPbxCallGroupsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetPbxCallGroupsCommandOutput) => void): void;
|
|
35
51
|
/**
|
|
36
52
|
* @see {@link GetPbxColleaguesCommand}
|
|
37
53
|
*/
|
|
54
|
+
getPbxColleagues(): Promise<GetPbxColleaguesCommandOutput>;
|
|
38
55
|
getPbxColleagues(args: GetPbxColleaguesCommandInput, options?: __HttpHandlerOptions): Promise<GetPbxColleaguesCommandOutput>;
|
|
39
56
|
getPbxColleagues(args: GetPbxColleaguesCommandInput, cb: (err: any, data?: GetPbxColleaguesCommandOutput) => void): void;
|
|
40
57
|
getPbxColleagues(args: GetPbxColleaguesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetPbxColleaguesCommandOutput) => void): void;
|
|
41
58
|
/**
|
|
42
59
|
* @see {@link GetPbxOAuth2ClientsCommand}
|
|
43
60
|
*/
|
|
61
|
+
getPbxOAuth2Clients(): Promise<GetPbxOAuth2ClientsCommandOutput>;
|
|
44
62
|
getPbxOAuth2Clients(args: GetPbxOAuth2ClientsCommandInput, options?: __HttpHandlerOptions): Promise<GetPbxOAuth2ClientsCommandOutput>;
|
|
45
63
|
getPbxOAuth2Clients(args: GetPbxOAuth2ClientsCommandInput, cb: (err: any, data?: GetPbxOAuth2ClientsCommandOutput) => void): void;
|
|
46
64
|
getPbxOAuth2Clients(args: GetPbxOAuth2ClientsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetPbxOAuth2ClientsCommandOutput) => void): void;
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
+
import { CreatePbxColleagueCommandInput, CreatePbxColleagueCommandOutput } from "./commands/CreatePbxColleagueCommand";
|
|
1
2
|
import { CreatePbxOAuth2ClientCommandInput, CreatePbxOAuth2ClientCommandOutput } from "./commands/CreatePbxOAuth2ClientCommand";
|
|
3
|
+
import { DeletePbxColleagueCommandInput, DeletePbxColleagueCommandOutput } from "./commands/DeletePbxColleagueCommand";
|
|
2
4
|
import { DeletePbxOAuth2ClientCommandInput, DeletePbxOAuth2ClientCommandOutput } from "./commands/DeletePbxOAuth2ClientCommand";
|
|
3
5
|
import { GetPbxAclGroupsPermissionsCommandInput, GetPbxAclGroupsPermissionsCommandOutput } from "./commands/GetPbxAclGroupsPermissionsCommand";
|
|
4
6
|
import { GetPbxCallGroupsCommandInput, GetPbxCallGroupsCommandOutput } from "./commands/GetPbxCallGroupsCommand";
|
|
@@ -6,27 +8,28 @@ import { GetPbxColleaguesCommandInput, GetPbxColleaguesCommandOutput } from "./c
|
|
|
6
8
|
import { GetPbxOAuth2ClientsCommandInput, GetPbxOAuth2ClientsCommandOutput } from "./commands/GetPbxOAuth2ClientsCommand";
|
|
7
9
|
import { UpdatePbxOAuth2ClientCommandInput, UpdatePbxOAuth2ClientCommandOutput } from "./commands/UpdatePbxOAuth2ClientCommand";
|
|
8
10
|
import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
|
|
9
|
-
import {
|
|
11
|
+
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
12
|
+
import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
|
|
10
13
|
import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@smithy/smithy-client";
|
|
11
|
-
import { BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser } from "@smithy/types";
|
|
14
|
+
import { Provider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
|
|
12
15
|
import { TokenProvider } from '@wildix/smithy-utils';
|
|
13
16
|
export { __Client };
|
|
14
17
|
/**
|
|
15
18
|
* @public
|
|
16
19
|
*/
|
|
17
|
-
export type ServiceInputTypes = CreatePbxOAuth2ClientCommandInput | DeletePbxOAuth2ClientCommandInput | GetPbxAclGroupsPermissionsCommandInput | GetPbxCallGroupsCommandInput | GetPbxColleaguesCommandInput | GetPbxOAuth2ClientsCommandInput | UpdatePbxOAuth2ClientCommandInput;
|
|
20
|
+
export type ServiceInputTypes = CreatePbxColleagueCommandInput | CreatePbxOAuth2ClientCommandInput | DeletePbxColleagueCommandInput | DeletePbxOAuth2ClientCommandInput | GetPbxAclGroupsPermissionsCommandInput | GetPbxCallGroupsCommandInput | GetPbxColleaguesCommandInput | GetPbxOAuth2ClientsCommandInput | UpdatePbxOAuth2ClientCommandInput;
|
|
18
21
|
/**
|
|
19
22
|
* @public
|
|
20
23
|
*/
|
|
21
|
-
export type ServiceOutputTypes = CreatePbxOAuth2ClientCommandOutput | DeletePbxOAuth2ClientCommandOutput | GetPbxAclGroupsPermissionsCommandOutput | GetPbxCallGroupsCommandOutput | GetPbxColleaguesCommandOutput | GetPbxOAuth2ClientsCommandOutput | UpdatePbxOAuth2ClientCommandOutput;
|
|
24
|
+
export type ServiceOutputTypes = CreatePbxColleagueCommandOutput | CreatePbxOAuth2ClientCommandOutput | DeletePbxColleagueCommandOutput | DeletePbxOAuth2ClientCommandOutput | GetPbxAclGroupsPermissionsCommandOutput | GetPbxCallGroupsCommandOutput | GetPbxColleaguesCommandOutput | GetPbxOAuth2ClientsCommandOutput | UpdatePbxOAuth2ClientCommandOutput;
|
|
22
25
|
/**
|
|
23
26
|
* @public
|
|
24
27
|
*/
|
|
25
|
-
export interface ClientDefaults extends Partial<
|
|
28
|
+
export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
|
|
26
29
|
/**
|
|
27
|
-
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
30
|
+
* The HTTP handler to use or its constructor options. Fetch in browser and Https in Nodejs.
|
|
28
31
|
*/
|
|
29
|
-
requestHandler?:
|
|
32
|
+
requestHandler?: __HttpHandlerUserInput;
|
|
30
33
|
/**
|
|
31
34
|
* A constructor for a class implementing the {@link @smithy/types#ChecksumConstructor} interface
|
|
32
35
|
* that computes the SHA-256 HMAC or checksum of a string or binary buffer.
|
|
@@ -78,6 +81,11 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
78
81
|
* trait of an operation.
|
|
79
82
|
*/
|
|
80
83
|
disableHostPrefix?: boolean;
|
|
84
|
+
/**
|
|
85
|
+
* The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
|
|
86
|
+
* @internal
|
|
87
|
+
*/
|
|
88
|
+
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
81
89
|
/**
|
|
82
90
|
* Value for how many times a request will be made at most in case of retry.
|
|
83
91
|
*/
|
|
@@ -104,7 +112,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
104
112
|
/**
|
|
105
113
|
* @public
|
|
106
114
|
*/
|
|
107
|
-
export type WmsApiClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults;
|
|
115
|
+
export type WmsApiClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & UserAgentInputConfig;
|
|
108
116
|
/**
|
|
109
117
|
* @public
|
|
110
118
|
*
|
|
@@ -118,7 +126,7 @@ export interface WmsApiClientConfig extends WmsApiClientConfigType {
|
|
|
118
126
|
/**
|
|
119
127
|
* @public
|
|
120
128
|
*/
|
|
121
|
-
export type WmsApiClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RuntimeExtensionsConfig;
|
|
129
|
+
export type WmsApiClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RuntimeExtensionsConfig & UserAgentResolvedConfig;
|
|
122
130
|
/**
|
|
123
131
|
* @public
|
|
124
132
|
*
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
import { ServiceInputTypes, ServiceOutputTypes, WmsApiClientResolvedConfig } from "../WmsApiClient";
|
|
2
|
+
import { CreatePbxColleagueInput, CreatePbxColleagueOutput } 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 { __MetadataBearer, $Command };
|
|
9
|
+
/**
|
|
10
|
+
* @public
|
|
11
|
+
*
|
|
12
|
+
* The input for {@link CreatePbxColleagueCommand}.
|
|
13
|
+
*/
|
|
14
|
+
export interface CreatePbxColleagueCommandInput extends CreatePbxColleagueInput {
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* @public
|
|
18
|
+
*
|
|
19
|
+
* The output of {@link CreatePbxColleagueCommand}.
|
|
20
|
+
*/
|
|
21
|
+
export interface CreatePbxColleagueCommandOutput extends CreatePbxColleagueOutput, __MetadataBearer {
|
|
22
|
+
}
|
|
23
|
+
declare const CreatePbxColleagueCommand_base: {
|
|
24
|
+
new (input: CreatePbxColleagueCommandInput): import("@smithy/smithy-client").CommandImpl<CreatePbxColleagueCommandInput, CreatePbxColleagueCommandOutput, WmsApiClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: CreatePbxColleagueCommandInput): import("@smithy/smithy-client").CommandImpl<CreatePbxColleagueCommandInput, CreatePbxColleagueCommandOutput, WmsApiClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* @public
|
|
30
|
+
*
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { WmsApiClient, CreatePbxColleagueCommand } from "@wildix/wms-api-client"; // ES Modules import
|
|
35
|
+
* // const { WmsApiClient, CreatePbxColleagueCommand } = require("@wildix/wms-api-client"); // CommonJS import
|
|
36
|
+
* const client = new WmsApiClient(config);
|
|
37
|
+
* const input = { // CreatePbxColleagueInput
|
|
38
|
+
* extension: "STRING_VALUE", // required
|
|
39
|
+
* name: "STRING_VALUE", // required
|
|
40
|
+
* officePhone: "STRING_VALUE",
|
|
41
|
+
* mobilePhone: "STRING_VALUE",
|
|
42
|
+
* faxNumber: "STRING_VALUE",
|
|
43
|
+
* email: "STRING_VALUE",
|
|
44
|
+
* role: "admin" || "user" || "fax" || "park_orbit" || "room",
|
|
45
|
+
* groupDn: "STRING_VALUE",
|
|
46
|
+
* language: "STRING_VALUE",
|
|
47
|
+
* dialplan: "STRING_VALUE",
|
|
48
|
+
* faxDialplan: "STRING_VALUE",
|
|
49
|
+
* department: "STRING_VALUE",
|
|
50
|
+
* login: "STRING_VALUE",
|
|
51
|
+
* password: "STRING_VALUE",
|
|
52
|
+
* sipPassword: "STRING_VALUE",
|
|
53
|
+
* licenseType: "basic" || "essential" || "business" || "premium" || "wizyconf",
|
|
54
|
+
* };
|
|
55
|
+
* const command = new CreatePbxColleagueCommand(input);
|
|
56
|
+
* const response = await client.send(command);
|
|
57
|
+
* // { // CreatePbxColleagueOutput
|
|
58
|
+
* // id: "STRING_VALUE", // required
|
|
59
|
+
* // name: "STRING_VALUE",
|
|
60
|
+
* // login: "STRING_VALUE",
|
|
61
|
+
* // extension: "STRING_VALUE", // required
|
|
62
|
+
* // officePhone: "STRING_VALUE",
|
|
63
|
+
* // mobilePhone: "STRING_VALUE",
|
|
64
|
+
* // faxNumber: "STRING_VALUE",
|
|
65
|
+
* // email: "STRING_VALUE",
|
|
66
|
+
* // pbxDn: "STRING_VALUE", // required
|
|
67
|
+
* // pbx: "STRING_VALUE", // required
|
|
68
|
+
* // role: "admin" || "user" || "fax" || "park_orbit" || "room", // required
|
|
69
|
+
* // groupName: "STRING_VALUE", // required
|
|
70
|
+
* // groupDn: "STRING_VALUE", // required
|
|
71
|
+
* // language: "STRING_VALUE", // required
|
|
72
|
+
* // dialplan: "STRING_VALUE", // required
|
|
73
|
+
* // faxDialplan: "STRING_VALUE", // required
|
|
74
|
+
* // department: "STRING_VALUE",
|
|
75
|
+
* // picture: "STRING_VALUE", // required
|
|
76
|
+
* // sourceId: "STRING_VALUE",
|
|
77
|
+
* // licenseType: "basic" || "essential" || "business" || "premium" || "wizyconf", // required
|
|
78
|
+
* // jid: "STRING_VALUE", // required
|
|
79
|
+
* // };
|
|
80
|
+
*
|
|
81
|
+
* ```
|
|
82
|
+
*
|
|
83
|
+
* @param CreatePbxColleagueCommandInput - {@link CreatePbxColleagueCommandInput}
|
|
84
|
+
* @returns {@link CreatePbxColleagueCommandOutput}
|
|
85
|
+
* @see {@link CreatePbxColleagueCommandInput} for command's `input` shape.
|
|
86
|
+
* @see {@link CreatePbxColleagueCommandOutput} for command's `response` shape.
|
|
87
|
+
* @see {@link WmsApiClientResolvedConfig | config} for WmsApiClient's `config` shape.
|
|
88
|
+
*
|
|
89
|
+
* @throws {@link WmsUnauthorizedException} (client fault)
|
|
90
|
+
*
|
|
91
|
+
* @throws {@link WmsApiServiceException}
|
|
92
|
+
* <p>Base exception class for all service exceptions from WmsApi service.</p>
|
|
93
|
+
*
|
|
94
|
+
*/
|
|
95
|
+
export declare class CreatePbxColleagueCommand extends CreatePbxColleagueCommand_base {
|
|
96
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ServiceInputTypes, ServiceOutputTypes, WmsApiClientResolvedConfig } from "../WmsApiClient";
|
|
2
2
|
import { CreatePbxOAuth2ClientInput, CreatePbxOAuth2ClientOutput } from "../models/models_0";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -20,8 +20,12 @@ export interface CreatePbxOAuth2ClientCommandInput extends CreatePbxOAuth2Client
|
|
|
20
20
|
*/
|
|
21
21
|
export interface CreatePbxOAuth2ClientCommandOutput extends CreatePbxOAuth2ClientOutput, __MetadataBearer {
|
|
22
22
|
}
|
|
23
|
+
declare const CreatePbxOAuth2ClientCommand_base: {
|
|
24
|
+
new (input: CreatePbxOAuth2ClientCommandInput): import("@smithy/smithy-client").CommandImpl<CreatePbxOAuth2ClientCommandInput, CreatePbxOAuth2ClientCommandOutput, WmsApiClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: CreatePbxOAuth2ClientCommandInput): import("@smithy/smithy-client").CommandImpl<CreatePbxOAuth2ClientCommandInput, CreatePbxOAuth2ClientCommandOutput, WmsApiClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
27
|
+
};
|
|
23
28
|
/**
|
|
24
|
-
* @public
|
|
25
29
|
* Create new OAuth2 client in the PBX.
|
|
26
30
|
* @example
|
|
27
31
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -69,23 +73,7 @@ export interface CreatePbxOAuth2ClientCommandOutput extends CreatePbxOAuth2Clien
|
|
|
69
73
|
* @throws {@link WmsApiServiceException}
|
|
70
74
|
* <p>Base exception class for all service exceptions from WmsApi service.</p>
|
|
71
75
|
*
|
|
76
|
+
* @public
|
|
72
77
|
*/
|
|
73
|
-
export declare class CreatePbxOAuth2ClientCommand extends
|
|
74
|
-
readonly input: CreatePbxOAuth2ClientCommandInput;
|
|
75
|
-
/**
|
|
76
|
-
* @public
|
|
77
|
-
*/
|
|
78
|
-
constructor(input: CreatePbxOAuth2ClientCommandInput);
|
|
79
|
-
/**
|
|
80
|
-
* @internal
|
|
81
|
-
*/
|
|
82
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: WmsApiClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreatePbxOAuth2ClientCommandInput, CreatePbxOAuth2ClientCommandOutput>;
|
|
83
|
-
/**
|
|
84
|
-
* @internal
|
|
85
|
-
*/
|
|
86
|
-
private serialize;
|
|
87
|
-
/**
|
|
88
|
-
* @internal
|
|
89
|
-
*/
|
|
90
|
-
private deserialize;
|
|
78
|
+
export declare class CreatePbxOAuth2ClientCommand extends CreatePbxOAuth2ClientCommand_base {
|
|
91
79
|
}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import { ServiceInputTypes, ServiceOutputTypes, WmsApiClientResolvedConfig } from "../WmsApiClient";
|
|
2
|
+
import { DeletePbxColleagueInput, DeletePbxColleagueOutput } 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 { __MetadataBearer, $Command };
|
|
9
|
+
/**
|
|
10
|
+
* @public
|
|
11
|
+
*
|
|
12
|
+
* The input for {@link DeletePbxColleagueCommand}.
|
|
13
|
+
*/
|
|
14
|
+
export interface DeletePbxColleagueCommandInput extends DeletePbxColleagueInput {
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* @public
|
|
18
|
+
*
|
|
19
|
+
* The output of {@link DeletePbxColleagueCommand}.
|
|
20
|
+
*/
|
|
21
|
+
export interface DeletePbxColleagueCommandOutput extends DeletePbxColleagueOutput, __MetadataBearer {
|
|
22
|
+
}
|
|
23
|
+
declare const DeletePbxColleagueCommand_base: {
|
|
24
|
+
new (input: DeletePbxColleagueCommandInput): import("@smithy/smithy-client").CommandImpl<DeletePbxColleagueCommandInput, DeletePbxColleagueCommandOutput, WmsApiClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: DeletePbxColleagueCommandInput): import("@smithy/smithy-client").CommandImpl<DeletePbxColleagueCommandInput, DeletePbxColleagueCommandOutput, WmsApiClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* @public
|
|
30
|
+
*
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { WmsApiClient, DeletePbxColleagueCommand } from "@wildix/wms-api-client"; // ES Modules import
|
|
35
|
+
* // const { WmsApiClient, DeletePbxColleagueCommand } = require("@wildix/wms-api-client"); // CommonJS import
|
|
36
|
+
* const client = new WmsApiClient(config);
|
|
37
|
+
* const input = { // DeletePbxColleagueInput
|
|
38
|
+
* colleagueId: Number("int"), // required
|
|
39
|
+
* data: [ // PbxColleagueDeleteFieldList
|
|
40
|
+
* "user" || "userAvatar" || "personalData" || "voicemails" || "voicemailGreetings" || "calls" || "chatHistory" || "phonebooks" || "callGroupMember" || "missedCallManager" || "pagingGroupMember" || "applications" || "devices",
|
|
41
|
+
* ],
|
|
42
|
+
* };
|
|
43
|
+
* const command = new DeletePbxColleagueCommand(input);
|
|
44
|
+
* const response = await client.send(command);
|
|
45
|
+
* // { // DeletePbxColleagueOutput
|
|
46
|
+
* // type: "STRING_VALUE",
|
|
47
|
+
* // result: "STRING_VALUE",
|
|
48
|
+
* // };
|
|
49
|
+
*
|
|
50
|
+
* ```
|
|
51
|
+
*
|
|
52
|
+
* @param DeletePbxColleagueCommandInput - {@link DeletePbxColleagueCommandInput}
|
|
53
|
+
* @returns {@link DeletePbxColleagueCommandOutput}
|
|
54
|
+
* @see {@link DeletePbxColleagueCommandInput} for command's `input` shape.
|
|
55
|
+
* @see {@link DeletePbxColleagueCommandOutput} for command's `response` shape.
|
|
56
|
+
* @see {@link WmsApiClientResolvedConfig | config} for WmsApiClient's `config` shape.
|
|
57
|
+
*
|
|
58
|
+
* @throws {@link WmsUnauthorizedException} (client fault)
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link WmsApiServiceException}
|
|
61
|
+
* <p>Base exception class for all service exceptions from WmsApi service.</p>
|
|
62
|
+
*
|
|
63
|
+
*/
|
|
64
|
+
export declare class DeletePbxColleagueCommand extends DeletePbxColleagueCommand_base {
|
|
65
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ServiceInputTypes, ServiceOutputTypes, WmsApiClientResolvedConfig } from "../WmsApiClient";
|
|
2
2
|
import { DeletePbxOAuth2ClientInput, DeletePbxOAuth2ClientOutput } from "../models/models_0";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -20,8 +20,12 @@ export interface DeletePbxOAuth2ClientCommandInput extends DeletePbxOAuth2Client
|
|
|
20
20
|
*/
|
|
21
21
|
export interface DeletePbxOAuth2ClientCommandOutput extends DeletePbxOAuth2ClientOutput, __MetadataBearer {
|
|
22
22
|
}
|
|
23
|
+
declare const DeletePbxOAuth2ClientCommand_base: {
|
|
24
|
+
new (input: DeletePbxOAuth2ClientCommandInput): import("@smithy/smithy-client").CommandImpl<DeletePbxOAuth2ClientCommandInput, DeletePbxOAuth2ClientCommandOutput, WmsApiClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: DeletePbxOAuth2ClientCommandInput): import("@smithy/smithy-client").CommandImpl<DeletePbxOAuth2ClientCommandInput, DeletePbxOAuth2ClientCommandOutput, WmsApiClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
27
|
+
};
|
|
23
28
|
/**
|
|
24
|
-
* @public
|
|
25
29
|
* Update OAuth2 client in the PBX.
|
|
26
30
|
* @example
|
|
27
31
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -54,23 +58,7 @@ export interface DeletePbxOAuth2ClientCommandOutput extends DeletePbxOAuth2Clien
|
|
|
54
58
|
* @throws {@link WmsApiServiceException}
|
|
55
59
|
* <p>Base exception class for all service exceptions from WmsApi service.</p>
|
|
56
60
|
*
|
|
61
|
+
* @public
|
|
57
62
|
*/
|
|
58
|
-
export declare class DeletePbxOAuth2ClientCommand extends
|
|
59
|
-
readonly input: DeletePbxOAuth2ClientCommandInput;
|
|
60
|
-
/**
|
|
61
|
-
* @public
|
|
62
|
-
*/
|
|
63
|
-
constructor(input: DeletePbxOAuth2ClientCommandInput);
|
|
64
|
-
/**
|
|
65
|
-
* @internal
|
|
66
|
-
*/
|
|
67
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: WmsApiClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeletePbxOAuth2ClientCommandInput, DeletePbxOAuth2ClientCommandOutput>;
|
|
68
|
-
/**
|
|
69
|
-
* @internal
|
|
70
|
-
*/
|
|
71
|
-
private serialize;
|
|
72
|
-
/**
|
|
73
|
-
* @internal
|
|
74
|
-
*/
|
|
75
|
-
private deserialize;
|
|
63
|
+
export declare class DeletePbxOAuth2ClientCommand extends DeletePbxOAuth2ClientCommand_base {
|
|
76
64
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ServiceInputTypes, ServiceOutputTypes, WmsApiClientResolvedConfig } from "../WmsApiClient";
|
|
2
2
|
import { GetPbxAclGroupsPermissionsInput, GetPbxAclGroupsPermissionsOutput } from "../models/models_0";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -20,6 +20,11 @@ export interface GetPbxAclGroupsPermissionsCommandInput extends GetPbxAclGroupsP
|
|
|
20
20
|
*/
|
|
21
21
|
export interface GetPbxAclGroupsPermissionsCommandOutput extends GetPbxAclGroupsPermissionsOutput, __MetadataBearer {
|
|
22
22
|
}
|
|
23
|
+
declare const GetPbxAclGroupsPermissionsCommand_base: {
|
|
24
|
+
new (input: GetPbxAclGroupsPermissionsCommandInput): import("@smithy/smithy-client").CommandImpl<GetPbxAclGroupsPermissionsCommandInput, GetPbxAclGroupsPermissionsCommandOutput, WmsApiClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (...[input]: [] | [GetPbxAclGroupsPermissionsCommandInput]): import("@smithy/smithy-client").CommandImpl<GetPbxAclGroupsPermissionsCommandInput, GetPbxAclGroupsPermissionsCommandOutput, WmsApiClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
27
|
+
};
|
|
23
28
|
/**
|
|
24
29
|
* @public
|
|
25
30
|
*
|
|
@@ -79,22 +84,5 @@ export interface GetPbxAclGroupsPermissionsCommandOutput extends GetPbxAclGroups
|
|
|
79
84
|
* <p>Base exception class for all service exceptions from WmsApi service.</p>
|
|
80
85
|
*
|
|
81
86
|
*/
|
|
82
|
-
export declare class GetPbxAclGroupsPermissionsCommand extends
|
|
83
|
-
readonly input: GetPbxAclGroupsPermissionsCommandInput;
|
|
84
|
-
/**
|
|
85
|
-
* @public
|
|
86
|
-
*/
|
|
87
|
-
constructor(input: GetPbxAclGroupsPermissionsCommandInput);
|
|
88
|
-
/**
|
|
89
|
-
* @internal
|
|
90
|
-
*/
|
|
91
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: WmsApiClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetPbxAclGroupsPermissionsCommandInput, GetPbxAclGroupsPermissionsCommandOutput>;
|
|
92
|
-
/**
|
|
93
|
-
* @internal
|
|
94
|
-
*/
|
|
95
|
-
private serialize;
|
|
96
|
-
/**
|
|
97
|
-
* @internal
|
|
98
|
-
*/
|
|
99
|
-
private deserialize;
|
|
87
|
+
export declare class GetPbxAclGroupsPermissionsCommand extends GetPbxAclGroupsPermissionsCommand_base {
|
|
100
88
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ServiceInputTypes, ServiceOutputTypes, WmsApiClientResolvedConfig } from "../WmsApiClient";
|
|
2
2
|
import { GetPbxCallGroupsOutput } from "../models/models_0";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -20,8 +20,12 @@ export interface GetPbxCallGroupsCommandInput {
|
|
|
20
20
|
*/
|
|
21
21
|
export interface GetPbxCallGroupsCommandOutput extends GetPbxCallGroupsOutput, __MetadataBearer {
|
|
22
22
|
}
|
|
23
|
+
declare const GetPbxCallGroupsCommand_base: {
|
|
24
|
+
new (input: GetPbxCallGroupsCommandInput): import("@smithy/smithy-client").CommandImpl<GetPbxCallGroupsCommandInput, GetPbxCallGroupsCommandOutput, WmsApiClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (...[input]: [] | [GetPbxCallGroupsCommandInput]): import("@smithy/smithy-client").CommandImpl<GetPbxCallGroupsCommandInput, GetPbxCallGroupsCommandOutput, WmsApiClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
27
|
+
};
|
|
23
28
|
/**
|
|
24
|
-
* @public
|
|
25
29
|
* Get the list of all available Call groups on the PBX.
|
|
26
30
|
* @example
|
|
27
31
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -90,23 +94,7 @@ export interface GetPbxCallGroupsCommandOutput extends GetPbxCallGroupsOutput, _
|
|
|
90
94
|
* @throws {@link WmsApiServiceException}
|
|
91
95
|
* <p>Base exception class for all service exceptions from WmsApi service.</p>
|
|
92
96
|
*
|
|
97
|
+
* @public
|
|
93
98
|
*/
|
|
94
|
-
export declare class GetPbxCallGroupsCommand extends
|
|
95
|
-
readonly input: GetPbxCallGroupsCommandInput;
|
|
96
|
-
/**
|
|
97
|
-
* @public
|
|
98
|
-
*/
|
|
99
|
-
constructor(input: GetPbxCallGroupsCommandInput);
|
|
100
|
-
/**
|
|
101
|
-
* @internal
|
|
102
|
-
*/
|
|
103
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: WmsApiClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetPbxCallGroupsCommandInput, GetPbxCallGroupsCommandOutput>;
|
|
104
|
-
/**
|
|
105
|
-
* @internal
|
|
106
|
-
*/
|
|
107
|
-
private serialize;
|
|
108
|
-
/**
|
|
109
|
-
* @internal
|
|
110
|
-
*/
|
|
111
|
-
private deserialize;
|
|
99
|
+
export declare class GetPbxCallGroupsCommand extends GetPbxCallGroupsCommand_base {
|
|
112
100
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ServiceInputTypes, ServiceOutputTypes, WmsApiClientResolvedConfig } from "../WmsApiClient";
|
|
2
2
|
import { GetPbxColleaguesInput, GetPbxColleaguesOutput } from "../models/models_0";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -20,6 +20,11 @@ export interface GetPbxColleaguesCommandInput extends GetPbxColleaguesInput {
|
|
|
20
20
|
*/
|
|
21
21
|
export interface GetPbxColleaguesCommandOutput extends GetPbxColleaguesOutput, __MetadataBearer {
|
|
22
22
|
}
|
|
23
|
+
declare const GetPbxColleaguesCommand_base: {
|
|
24
|
+
new (input: GetPbxColleaguesCommandInput): import("@smithy/smithy-client").CommandImpl<GetPbxColleaguesCommandInput, GetPbxColleaguesCommandOutput, WmsApiClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (...[input]: [] | [GetPbxColleaguesCommandInput]): import("@smithy/smithy-client").CommandImpl<GetPbxColleaguesCommandInput, GetPbxColleaguesCommandOutput, WmsApiClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
27
|
+
};
|
|
23
28
|
/**
|
|
24
29
|
* @public
|
|
25
30
|
*
|
|
@@ -119,22 +124,5 @@ export interface GetPbxColleaguesCommandOutput extends GetPbxColleaguesOutput, _
|
|
|
119
124
|
* <p>Base exception class for all service exceptions from WmsApi service.</p>
|
|
120
125
|
*
|
|
121
126
|
*/
|
|
122
|
-
export declare class GetPbxColleaguesCommand extends
|
|
123
|
-
readonly input: GetPbxColleaguesCommandInput;
|
|
124
|
-
/**
|
|
125
|
-
* @public
|
|
126
|
-
*/
|
|
127
|
-
constructor(input: GetPbxColleaguesCommandInput);
|
|
128
|
-
/**
|
|
129
|
-
* @internal
|
|
130
|
-
*/
|
|
131
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: WmsApiClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetPbxColleaguesCommandInput, GetPbxColleaguesCommandOutput>;
|
|
132
|
-
/**
|
|
133
|
-
* @internal
|
|
134
|
-
*/
|
|
135
|
-
private serialize;
|
|
136
|
-
/**
|
|
137
|
-
* @internal
|
|
138
|
-
*/
|
|
139
|
-
private deserialize;
|
|
127
|
+
export declare class GetPbxColleaguesCommand extends GetPbxColleaguesCommand_base {
|
|
140
128
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ServiceInputTypes, ServiceOutputTypes, WmsApiClientResolvedConfig } from "../WmsApiClient";
|
|
2
2
|
import { GetPbxOAuth2ClientsOutput } from "../models/models_0";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -20,8 +20,12 @@ export interface GetPbxOAuth2ClientsCommandInput {
|
|
|
20
20
|
*/
|
|
21
21
|
export interface GetPbxOAuth2ClientsCommandOutput extends GetPbxOAuth2ClientsOutput, __MetadataBearer {
|
|
22
22
|
}
|
|
23
|
+
declare const GetPbxOAuth2ClientsCommand_base: {
|
|
24
|
+
new (input: GetPbxOAuth2ClientsCommandInput): import("@smithy/smithy-client").CommandImpl<GetPbxOAuth2ClientsCommandInput, GetPbxOAuth2ClientsCommandOutput, WmsApiClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (...[input]: [] | [GetPbxOAuth2ClientsCommandInput]): import("@smithy/smithy-client").CommandImpl<GetPbxOAuth2ClientsCommandInput, GetPbxOAuth2ClientsCommandOutput, WmsApiClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
27
|
+
};
|
|
23
28
|
/**
|
|
24
|
-
* @public
|
|
25
29
|
* Get the list of all OAuth2 clients on the PBX.
|
|
26
30
|
* @example
|
|
27
31
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -62,23 +66,7 @@ export interface GetPbxOAuth2ClientsCommandOutput extends GetPbxOAuth2ClientsOut
|
|
|
62
66
|
* @throws {@link WmsApiServiceException}
|
|
63
67
|
* <p>Base exception class for all service exceptions from WmsApi service.</p>
|
|
64
68
|
*
|
|
69
|
+
* @public
|
|
65
70
|
*/
|
|
66
|
-
export declare class GetPbxOAuth2ClientsCommand extends
|
|
67
|
-
readonly input: GetPbxOAuth2ClientsCommandInput;
|
|
68
|
-
/**
|
|
69
|
-
* @public
|
|
70
|
-
*/
|
|
71
|
-
constructor(input: GetPbxOAuth2ClientsCommandInput);
|
|
72
|
-
/**
|
|
73
|
-
* @internal
|
|
74
|
-
*/
|
|
75
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: WmsApiClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetPbxOAuth2ClientsCommandInput, GetPbxOAuth2ClientsCommandOutput>;
|
|
76
|
-
/**
|
|
77
|
-
* @internal
|
|
78
|
-
*/
|
|
79
|
-
private serialize;
|
|
80
|
-
/**
|
|
81
|
-
* @internal
|
|
82
|
-
*/
|
|
83
|
-
private deserialize;
|
|
71
|
+
export declare class GetPbxOAuth2ClientsCommand extends GetPbxOAuth2ClientsCommand_base {
|
|
84
72
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ServiceInputTypes, ServiceOutputTypes, WmsApiClientResolvedConfig } from "../WmsApiClient";
|
|
2
2
|
import { UpdatePbxOAuth2ClientInput, UpdatePbxOAuth2ClientOutput } from "../models/models_0";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -20,8 +20,12 @@ export interface UpdatePbxOAuth2ClientCommandInput extends UpdatePbxOAuth2Client
|
|
|
20
20
|
*/
|
|
21
21
|
export interface UpdatePbxOAuth2ClientCommandOutput extends UpdatePbxOAuth2ClientOutput, __MetadataBearer {
|
|
22
22
|
}
|
|
23
|
+
declare const UpdatePbxOAuth2ClientCommand_base: {
|
|
24
|
+
new (input: UpdatePbxOAuth2ClientCommandInput): import("@smithy/smithy-client").CommandImpl<UpdatePbxOAuth2ClientCommandInput, UpdatePbxOAuth2ClientCommandOutput, WmsApiClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: UpdatePbxOAuth2ClientCommandInput): import("@smithy/smithy-client").CommandImpl<UpdatePbxOAuth2ClientCommandInput, UpdatePbxOAuth2ClientCommandOutput, WmsApiClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
27
|
+
};
|
|
23
28
|
/**
|
|
24
|
-
* @public
|
|
25
29
|
* Update OAuth2 client in the PBX.
|
|
26
30
|
* @example
|
|
27
31
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -72,23 +76,7 @@ export interface UpdatePbxOAuth2ClientCommandOutput extends UpdatePbxOAuth2Clien
|
|
|
72
76
|
* @throws {@link WmsApiServiceException}
|
|
73
77
|
* <p>Base exception class for all service exceptions from WmsApi service.</p>
|
|
74
78
|
*
|
|
79
|
+
* @public
|
|
75
80
|
*/
|
|
76
|
-
export declare class UpdatePbxOAuth2ClientCommand extends
|
|
77
|
-
readonly input: UpdatePbxOAuth2ClientCommandInput;
|
|
78
|
-
/**
|
|
79
|
-
* @public
|
|
80
|
-
*/
|
|
81
|
-
constructor(input: UpdatePbxOAuth2ClientCommandInput);
|
|
82
|
-
/**
|
|
83
|
-
* @internal
|
|
84
|
-
*/
|
|
85
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: WmsApiClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdatePbxOAuth2ClientCommandInput, UpdatePbxOAuth2ClientCommandOutput>;
|
|
86
|
-
/**
|
|
87
|
-
* @internal
|
|
88
|
-
*/
|
|
89
|
-
private serialize;
|
|
90
|
-
/**
|
|
91
|
-
* @internal
|
|
92
|
-
*/
|
|
93
|
-
private deserialize;
|
|
81
|
+
export declare class UpdatePbxOAuth2ClientCommand extends UpdatePbxOAuth2ClientCommand_base {
|
|
94
82
|
}
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
+
export * from "./CreatePbxColleagueCommand";
|
|
1
2
|
export * from "./CreatePbxOAuth2ClientCommand";
|
|
3
|
+
export * from "./DeletePbxColleagueCommand";
|
|
2
4
|
export * from "./DeletePbxOAuth2ClientCommand";
|
|
3
5
|
export * from "./GetPbxAclGroupsPermissionsCommand";
|
|
4
6
|
export * from "./GetPbxCallGroupsCommand";
|
package/dist-types/index.d.ts
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
export * from "./WmsApiClient";
|
|
2
2
|
export * from "./WmsApi";
|
|
3
|
+
export { RuntimeExtension } from "./runtimeExtensions";
|
|
4
|
+
export { WmsApiExtensionConfiguration } from "./extensionConfiguration";
|
|
3
5
|
export * from "./commands";
|
|
4
6
|
export * from "./models";
|
|
5
7
|
export { WmsApiServiceException } from "./models/WmsApiServiceException";
|