@wildix/wms-api-client 1.1.2 → 1.1.3
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/WmsApiClient.js +6 -3
- package/dist-cjs/commands/CreatePbxOAuth2ClientCommand.js +12 -32
- 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/protocols/Aws_restJson1.js +122 -237
- 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/WmsApiClient.js +6 -3
- package/dist-es/commands/CreatePbxOAuth2ClientCommand.js +12 -32
- 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/protocols/Aws_restJson1.js +123 -238
- 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 +4 -0
- package/dist-types/WmsApiClient.d.ts +13 -7
- package/dist-types/commands/CreatePbxOAuth2ClientCommand.d.ts +8 -20
- 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/index.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +27 -27
- 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 +29 -27
|
@@ -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
|
}
|
|
@@ -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
|
}
|
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";
|
|
@@ -35,7 +35,7 @@ export interface AclGroupPermissionItem {
|
|
|
35
35
|
* @public
|
|
36
36
|
*/
|
|
37
37
|
export interface AclGroupPermission {
|
|
38
|
-
ability: AclGroupPermissionAbility
|
|
38
|
+
ability: AclGroupPermissionAbility;
|
|
39
39
|
key: string;
|
|
40
40
|
name: string;
|
|
41
41
|
containSubGroups: boolean;
|
|
@@ -61,13 +61,13 @@ export type PbxLicenseType = typeof PbxLicenseType[keyof typeof PbxLicenseType];
|
|
|
61
61
|
*/
|
|
62
62
|
export interface CreatePbxOAuth2ClientInput {
|
|
63
63
|
/**
|
|
64
|
-
* @public
|
|
65
64
|
* A name of OAuth2 client.
|
|
65
|
+
* @public
|
|
66
66
|
*/
|
|
67
67
|
name: string;
|
|
68
68
|
/**
|
|
69
|
-
* @public
|
|
70
69
|
* Array of redirect URLs, allowed for this client.
|
|
70
|
+
* @public
|
|
71
71
|
*/
|
|
72
72
|
redirectUri: (string)[];
|
|
73
73
|
}
|
|
@@ -99,7 +99,7 @@ export type ResponseType = typeof ResponseType[keyof typeof ResponseType];
|
|
|
99
99
|
* @public
|
|
100
100
|
*/
|
|
101
101
|
export interface CreatePbxOAuth2ClientOutput {
|
|
102
|
-
type: ResponseType
|
|
102
|
+
type: ResponseType;
|
|
103
103
|
result: PbxOAuth2Client;
|
|
104
104
|
}
|
|
105
105
|
/**
|
|
@@ -108,7 +108,7 @@ export interface CreatePbxOAuth2ClientOutput {
|
|
|
108
108
|
export declare class WmsUnauthorizedException extends __BaseException {
|
|
109
109
|
readonly name: "WmsUnauthorizedException";
|
|
110
110
|
readonly $fault: "client";
|
|
111
|
-
type: ResponseType
|
|
111
|
+
type: ResponseType;
|
|
112
112
|
reason: string;
|
|
113
113
|
/**
|
|
114
114
|
* @internal
|
|
@@ -128,7 +128,7 @@ export interface WmsErrorItem {
|
|
|
128
128
|
export declare class WmsValidationException extends __BaseException {
|
|
129
129
|
readonly name: "WmsValidationException";
|
|
130
130
|
readonly $fault: "client";
|
|
131
|
-
type: ResponseType
|
|
131
|
+
type: ResponseType;
|
|
132
132
|
reason: string;
|
|
133
133
|
errors: (WmsErrorItem)[];
|
|
134
134
|
/**
|
|
@@ -141,8 +141,8 @@ export declare class WmsValidationException extends __BaseException {
|
|
|
141
141
|
*/
|
|
142
142
|
export interface DeletePbxOAuth2ClientInput {
|
|
143
143
|
/**
|
|
144
|
-
* @public
|
|
145
144
|
* Client ID.
|
|
145
|
+
* @public
|
|
146
146
|
*/
|
|
147
147
|
id: string;
|
|
148
148
|
}
|
|
@@ -150,7 +150,7 @@ export interface DeletePbxOAuth2ClientInput {
|
|
|
150
150
|
* @public
|
|
151
151
|
*/
|
|
152
152
|
export interface DeletePbxOAuth2ClientOutput {
|
|
153
|
-
type: ResponseType
|
|
153
|
+
type: ResponseType;
|
|
154
154
|
result: string;
|
|
155
155
|
}
|
|
156
156
|
/**
|
|
@@ -159,7 +159,7 @@ export interface DeletePbxOAuth2ClientOutput {
|
|
|
159
159
|
export declare class WmsNotFoundException extends __BaseException {
|
|
160
160
|
readonly name: "WmsNotFoundException";
|
|
161
161
|
readonly $fault: "client";
|
|
162
|
-
type: ResponseType
|
|
162
|
+
type: ResponseType;
|
|
163
163
|
reason: string;
|
|
164
164
|
/**
|
|
165
165
|
* @internal
|
|
@@ -171,13 +171,13 @@ export declare class WmsNotFoundException extends __BaseException {
|
|
|
171
171
|
*/
|
|
172
172
|
export interface GetPbxAclGroupsPermissionsInput {
|
|
173
173
|
/**
|
|
174
|
-
* @public
|
|
175
174
|
* User group(s) ID for filter result. Example: ['12345'] or ['12345','67890','134711']
|
|
175
|
+
* @public
|
|
176
176
|
*/
|
|
177
177
|
groups?: (string)[];
|
|
178
178
|
/**
|
|
179
|
-
* @public
|
|
180
179
|
* ACL permission(s) key for filter result. Example: ['SEE_CALL_RECORDINGS'] or ['CTI_ANALYTICS','SUPERVISION','SEE_ANALYTICS']
|
|
180
|
+
* @public
|
|
181
181
|
*/
|
|
182
182
|
permissions?: (string)[];
|
|
183
183
|
}
|
|
@@ -185,7 +185,7 @@ export interface GetPbxAclGroupsPermissionsInput {
|
|
|
185
185
|
* @public
|
|
186
186
|
*/
|
|
187
187
|
export interface GetPbxAclGroupsPermissionsOutput {
|
|
188
|
-
type: ResponseType
|
|
188
|
+
type: ResponseType;
|
|
189
189
|
result: (AclGroupPermission)[];
|
|
190
190
|
}
|
|
191
191
|
/**
|
|
@@ -248,7 +248,7 @@ export interface GetPbxCallGroupsResult {
|
|
|
248
248
|
* @public
|
|
249
249
|
*/
|
|
250
250
|
export interface GetPbxCallGroupsOutput {
|
|
251
|
-
type: ResponseType
|
|
251
|
+
type: ResponseType;
|
|
252
252
|
result: GetPbxCallGroupsResult;
|
|
253
253
|
}
|
|
254
254
|
/**
|
|
@@ -319,15 +319,15 @@ export interface GetPbxColleaguesInput {
|
|
|
319
319
|
login?: (string)[];
|
|
320
320
|
groupDn?: (string)[];
|
|
321
321
|
pbxDn?: (string)[];
|
|
322
|
-
licenseType?: (PbxLicenseType
|
|
323
|
-
fields?: (PbxColleaguesQueryField
|
|
324
|
-
searchFields?: (PbxColleaguesQueryField
|
|
322
|
+
licenseType?: (PbxLicenseType)[];
|
|
323
|
+
fields?: (PbxColleaguesQueryField)[];
|
|
324
|
+
searchFields?: (PbxColleaguesQueryField)[];
|
|
325
325
|
search?: string;
|
|
326
|
-
sort?: (PbxColleaguesQueryField
|
|
326
|
+
sort?: (PbxColleaguesQueryField)[];
|
|
327
327
|
start?: number;
|
|
328
328
|
count?: number;
|
|
329
|
-
dir?: GetPbxColleaguesDir
|
|
330
|
-
searchStrategy?: PbxColleaguesSearchStrategy
|
|
329
|
+
dir?: GetPbxColleaguesDir;
|
|
330
|
+
searchStrategy?: PbxColleaguesSearchStrategy;
|
|
331
331
|
}
|
|
332
332
|
/**
|
|
333
333
|
* @public
|
|
@@ -358,7 +358,7 @@ export interface PbxColleague {
|
|
|
358
358
|
email?: string;
|
|
359
359
|
pbxDn: string;
|
|
360
360
|
pbx: string;
|
|
361
|
-
role: PbxColleagueRole
|
|
361
|
+
role: PbxColleagueRole;
|
|
362
362
|
groupName: string;
|
|
363
363
|
groupDn: string;
|
|
364
364
|
language: string;
|
|
@@ -367,7 +367,7 @@ export interface PbxColleague {
|
|
|
367
367
|
department?: string;
|
|
368
368
|
picture: string;
|
|
369
369
|
sourceId?: string;
|
|
370
|
-
licenseType: PbxLicenseType
|
|
370
|
+
licenseType: PbxLicenseType;
|
|
371
371
|
jid: string;
|
|
372
372
|
}
|
|
373
373
|
/**
|
|
@@ -381,7 +381,7 @@ export interface GetPbxColleaguesResult {
|
|
|
381
381
|
* @public
|
|
382
382
|
*/
|
|
383
383
|
export interface GetPbxColleaguesOutput {
|
|
384
|
-
type: ResponseType
|
|
384
|
+
type: ResponseType;
|
|
385
385
|
result: GetPbxColleaguesResult;
|
|
386
386
|
}
|
|
387
387
|
/**
|
|
@@ -404,7 +404,7 @@ export interface GetPbxOAuth2ClientsResult {
|
|
|
404
404
|
* @public
|
|
405
405
|
*/
|
|
406
406
|
export interface GetPbxOAuth2ClientsOutput {
|
|
407
|
-
type: ResponseType
|
|
407
|
+
type: ResponseType;
|
|
408
408
|
result: GetPbxOAuth2ClientsResult;
|
|
409
409
|
}
|
|
410
410
|
/**
|
|
@@ -412,18 +412,18 @@ export interface GetPbxOAuth2ClientsOutput {
|
|
|
412
412
|
*/
|
|
413
413
|
export interface UpdatePbxOAuth2ClientInput {
|
|
414
414
|
/**
|
|
415
|
-
* @public
|
|
416
415
|
* Client ID.
|
|
416
|
+
* @public
|
|
417
417
|
*/
|
|
418
418
|
id: string;
|
|
419
419
|
/**
|
|
420
|
-
* @public
|
|
421
420
|
* A name of OAuth2 client.
|
|
421
|
+
* @public
|
|
422
422
|
*/
|
|
423
423
|
name: string;
|
|
424
424
|
/**
|
|
425
|
-
* @public
|
|
426
425
|
* Array of redirect URLs, allowed for this client.
|
|
426
|
+
* @public
|
|
427
427
|
*/
|
|
428
428
|
redirectUri: (string)[];
|
|
429
429
|
}
|
|
@@ -431,6 +431,6 @@ export interface UpdatePbxOAuth2ClientInput {
|
|
|
431
431
|
* @public
|
|
432
432
|
*/
|
|
433
433
|
export interface UpdatePbxOAuth2ClientOutput {
|
|
434
|
-
type: ResponseType
|
|
434
|
+
type: ResponseType;
|
|
435
435
|
result: PbxOAuth2Client;
|
|
436
436
|
}
|
|
@@ -7,11 +7,9 @@ export declare const getRuntimeConfig: (config: WmsApiClientConfig) => {
|
|
|
7
7
|
runtime: string;
|
|
8
8
|
defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
|
|
9
9
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
10
|
+
defaultUserAgentProvider: import("@smithy/types").Provider<import("@smithy/types").UserAgent>;
|
|
10
11
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
11
|
-
requestHandler:
|
|
12
|
-
updateHttpClientConfig(key: never, value: never): void;
|
|
13
|
-
httpHandlerConfigs(): {};
|
|
14
|
-
}) | RequestHandler;
|
|
12
|
+
requestHandler: import("@smithy/protocol-http").HttpHandler<any> | RequestHandler;
|
|
15
13
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
16
14
|
sha256: import("@smithy/types").HashConstructor;
|
|
17
15
|
streamCollector: import("@smithy/types").StreamCollector;
|
|
@@ -27,4 +25,5 @@ export declare const getRuntimeConfig: (config: WmsApiClientConfig) => {
|
|
|
27
25
|
disableHostPrefix: boolean;
|
|
28
26
|
logger: import("@smithy/types").Logger;
|
|
29
27
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
28
|
+
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
30
29
|
};
|
|
@@ -7,11 +7,9 @@ export declare const getRuntimeConfig: (config: WmsApiClientConfig) => {
|
|
|
7
7
|
runtime: string;
|
|
8
8
|
defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
|
|
9
9
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
10
|
+
defaultUserAgentProvider: import("@smithy/types").Provider<import("@smithy/types").UserAgent>;
|
|
10
11
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
11
|
-
requestHandler:
|
|
12
|
-
updateHttpClientConfig(key: never, value: never): void;
|
|
13
|
-
httpHandlerConfigs(): {};
|
|
14
|
-
}) | RequestHandler;
|
|
12
|
+
requestHandler: RequestHandler | import("@smithy/protocol-http").HttpHandler<any>;
|
|
15
13
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
16
14
|
sha256: import("@smithy/types").HashConstructor;
|
|
17
15
|
streamCollector: import("@smithy/types").StreamCollector;
|
|
@@ -27,4 +25,5 @@ export declare const getRuntimeConfig: (config: WmsApiClientConfig) => {
|
|
|
27
25
|
disableHostPrefix: boolean;
|
|
28
26
|
logger: import("@smithy/types").Logger;
|
|
29
27
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
28
|
+
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
30
29
|
};
|
|
@@ -8,10 +8,7 @@ export declare const getRuntimeConfig: (config: WmsApiClientConfig) => {
|
|
|
8
8
|
domain: string;
|
|
9
9
|
port?: number | undefined;
|
|
10
10
|
token: import("@wildix/smithy-utils").TokenProvider;
|
|
11
|
-
requestHandler:
|
|
12
|
-
updateHttpClientConfig(key: never, value: never): void;
|
|
13
|
-
httpHandlerConfigs(): {};
|
|
14
|
-
}) | import("@smithy/fetch-http-handler").FetchHttpHandler;
|
|
11
|
+
requestHandler: import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions | Record<string, unknown> | import("@smithy/protocol-http").HttpHandler<any> | import("@smithy/fetch-http-handler").FetchHttpHandler;
|
|
15
12
|
apiVersion: string;
|
|
16
13
|
urlParser: import("@smithy/types").UrlParser;
|
|
17
14
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
@@ -21,9 +18,11 @@ export declare const getRuntimeConfig: (config: WmsApiClientConfig) => {
|
|
|
21
18
|
utf8Decoder: import("@smithy/types").Decoder;
|
|
22
19
|
utf8Encoder: (input: string | Uint8Array) => string;
|
|
23
20
|
disableHostPrefix: boolean;
|
|
21
|
+
defaultUserAgentProvider: import("@smithy/types").Provider<import("@smithy/types").UserAgent>;
|
|
24
22
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
25
23
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
26
24
|
logger: import("@smithy/types").Logger;
|
|
27
25
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
28
26
|
defaultsMode: import("@smithy/smithy-client").DefaultsMode | import("@smithy/types").Provider<import("@smithy/smithy-client").DefaultsMode>;
|
|
27
|
+
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
29
28
|
};
|