@wildix/wms-api-client 1.1.13 → 1.1.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/WmsApi.js +0 -8
- package/dist-cjs/commands/index.js +0 -4
- package/dist-cjs/models/models_0.js +8 -8
- package/dist-cjs/protocols/Aws_restJson1.js +2 -140
- package/dist-es/WmsApi.js +0 -8
- package/dist-es/commands/index.js +0 -4
- package/dist-es/models/models_0.js +7 -7
- package/dist-es/protocols/Aws_restJson1.js +1 -131
- package/dist-types/WmsApi.d.ts +0 -28
- package/dist-types/WmsApiClient.d.ts +2 -6
- package/dist-types/commands/NotificationsCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +0 -4
- package/dist-types/models/models_0.d.ts +61 -151
- package/dist-types/protocols/Aws_restJson1.d.ts +0 -36
- package/dist-types/runtimeConfig.browser.d.ts +0 -1
- package/dist-types/runtimeConfig.d.ts +0 -1
- package/dist-types/runtimeConfig.native.d.ts +0 -1
- package/package.json +1 -1
- package/dist-cjs/commands/CreatePbxAclGroupCommand.js +0 -21
- package/dist-cjs/commands/CreatePbxColleagueCommand.js +0 -21
- package/dist-cjs/commands/DeletePbxAclGroupCommand.js +0 -21
- package/dist-cjs/commands/DeletePbxColleagueCommand.js +0 -21
- package/dist-es/commands/CreatePbxAclGroupCommand.js +0 -17
- package/dist-es/commands/CreatePbxColleagueCommand.js +0 -17
- package/dist-es/commands/DeletePbxAclGroupCommand.js +0 -17
- package/dist-es/commands/DeletePbxColleagueCommand.js +0 -17
- package/dist-types/commands/CreatePbxAclGroupCommand.d.ts +0 -86
- package/dist-types/commands/CreatePbxColleagueCommand.d.ts +0 -100
- package/dist-types/commands/DeletePbxAclGroupCommand.d.ts +0 -63
- package/dist-types/commands/DeletePbxColleagueCommand.d.ts +0 -63
|
@@ -59,31 +59,29 @@ export interface AclGroupPermission {
|
|
|
59
59
|
/**
|
|
60
60
|
* @public
|
|
61
61
|
*/
|
|
62
|
-
export interface
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
/**
|
|
68
|
-
* @public
|
|
69
|
-
*/
|
|
70
|
-
export interface CreatePbxAclGroupInput {
|
|
62
|
+
export interface CreatePbxOAuth2ClientInput {
|
|
63
|
+
/**
|
|
64
|
+
* A name of OAuth2 client.
|
|
65
|
+
* @public
|
|
66
|
+
*/
|
|
71
67
|
name: string;
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
68
|
+
/**
|
|
69
|
+
* Array of redirect URLs, allowed for this client.
|
|
70
|
+
* @public
|
|
71
|
+
*/
|
|
72
|
+
redirectUri: (string)[];
|
|
75
73
|
}
|
|
76
74
|
/**
|
|
77
75
|
* @public
|
|
78
76
|
*/
|
|
79
|
-
export interface
|
|
77
|
+
export interface PbxOAuth2Client {
|
|
80
78
|
id: string;
|
|
81
79
|
name: string;
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
80
|
+
redirectUri: (string)[];
|
|
81
|
+
secret: string;
|
|
82
|
+
created: number;
|
|
83
|
+
origins: (string)[];
|
|
84
|
+
accessTokenTtl: number;
|
|
87
85
|
}
|
|
88
86
|
/**
|
|
89
87
|
* @public
|
|
@@ -100,9 +98,9 @@ export type ResponseType = typeof ResponseType[keyof typeof ResponseType];
|
|
|
100
98
|
/**
|
|
101
99
|
* @public
|
|
102
100
|
*/
|
|
103
|
-
export interface
|
|
101
|
+
export interface CreatePbxOAuth2ClientOutput {
|
|
104
102
|
type: ResponseType;
|
|
105
|
-
result:
|
|
103
|
+
result: PbxOAuth2Client;
|
|
106
104
|
}
|
|
107
105
|
/**
|
|
108
106
|
* @public
|
|
@@ -117,109 +115,6 @@ export declare class WmsUnauthorizedException extends __BaseException {
|
|
|
117
115
|
*/
|
|
118
116
|
constructor(opts: __ExceptionOptionType<WmsUnauthorizedException, __BaseException>);
|
|
119
117
|
}
|
|
120
|
-
/**
|
|
121
|
-
* @public
|
|
122
|
-
* @enum
|
|
123
|
-
*/
|
|
124
|
-
export declare const PbxColleagueRole: {
|
|
125
|
-
readonly ADMIN: "admin";
|
|
126
|
-
readonly FAX: "fax";
|
|
127
|
-
readonly PARK_ORBIT: "park_orbit";
|
|
128
|
-
readonly ROOM: "room";
|
|
129
|
-
readonly USER: "user";
|
|
130
|
-
};
|
|
131
|
-
/**
|
|
132
|
-
* @public
|
|
133
|
-
*/
|
|
134
|
-
export type PbxColleagueRole = typeof PbxColleagueRole[keyof typeof PbxColleagueRole];
|
|
135
|
-
/**
|
|
136
|
-
* @public
|
|
137
|
-
*/
|
|
138
|
-
export interface CreatePbxColleagueInput {
|
|
139
|
-
extension: string;
|
|
140
|
-
name: string;
|
|
141
|
-
officePhone?: string;
|
|
142
|
-
mobilePhone?: string;
|
|
143
|
-
faxNumber?: string;
|
|
144
|
-
email?: string;
|
|
145
|
-
role?: PbxColleagueRole;
|
|
146
|
-
groupDn?: string;
|
|
147
|
-
language?: string;
|
|
148
|
-
dialplan?: string;
|
|
149
|
-
faxDialplan?: string;
|
|
150
|
-
department?: string;
|
|
151
|
-
login?: string;
|
|
152
|
-
password?: string;
|
|
153
|
-
sipPassword?: string;
|
|
154
|
-
licenseType?: PbxLicenseType;
|
|
155
|
-
}
|
|
156
|
-
/**
|
|
157
|
-
* @public
|
|
158
|
-
*/
|
|
159
|
-
export interface PbxColleague {
|
|
160
|
-
id: string;
|
|
161
|
-
name?: string;
|
|
162
|
-
login?: string;
|
|
163
|
-
extension: string;
|
|
164
|
-
officePhone?: string;
|
|
165
|
-
mobilePhone?: string;
|
|
166
|
-
faxNumber?: string;
|
|
167
|
-
email?: string;
|
|
168
|
-
pbxDn: string;
|
|
169
|
-
pbx: string;
|
|
170
|
-
role: PbxColleagueRole;
|
|
171
|
-
groupName: string;
|
|
172
|
-
groupDn: string;
|
|
173
|
-
language: string;
|
|
174
|
-
dialplan: string;
|
|
175
|
-
faxDialplan: string;
|
|
176
|
-
department?: string;
|
|
177
|
-
picture: string;
|
|
178
|
-
sourceId?: string;
|
|
179
|
-
licenseType: PbxLicenseType;
|
|
180
|
-
jid: string;
|
|
181
|
-
}
|
|
182
|
-
/**
|
|
183
|
-
* @public
|
|
184
|
-
*/
|
|
185
|
-
export interface CreatePbxColleagueOutput {
|
|
186
|
-
type: ResponseType;
|
|
187
|
-
result: PbxColleague;
|
|
188
|
-
}
|
|
189
|
-
/**
|
|
190
|
-
* @public
|
|
191
|
-
*/
|
|
192
|
-
export interface CreatePbxOAuth2ClientInput {
|
|
193
|
-
/**
|
|
194
|
-
* A name of OAuth2 client.
|
|
195
|
-
* @public
|
|
196
|
-
*/
|
|
197
|
-
name: string;
|
|
198
|
-
/**
|
|
199
|
-
* Array of redirect URLs, allowed for this client.
|
|
200
|
-
* @public
|
|
201
|
-
*/
|
|
202
|
-
redirectUri: (string)[];
|
|
203
|
-
}
|
|
204
|
-
/**
|
|
205
|
-
* @public
|
|
206
|
-
*/
|
|
207
|
-
export interface PbxOAuth2Client {
|
|
208
|
-
id: string;
|
|
209
|
-
name: string;
|
|
210
|
-
redirectUri: (string)[];
|
|
211
|
-
secret: string;
|
|
212
|
-
created: number;
|
|
213
|
-
origins: (string)[];
|
|
214
|
-
accessTokenTtl: number;
|
|
215
|
-
}
|
|
216
|
-
/**
|
|
217
|
-
* @public
|
|
218
|
-
*/
|
|
219
|
-
export interface CreatePbxOAuth2ClientOutput {
|
|
220
|
-
type: ResponseType;
|
|
221
|
-
result: PbxOAuth2Client;
|
|
222
|
-
}
|
|
223
118
|
/**
|
|
224
119
|
* @public
|
|
225
120
|
*/
|
|
@@ -241,32 +136,6 @@ export declare class WmsValidationException extends __BaseException {
|
|
|
241
136
|
*/
|
|
242
137
|
constructor(opts: __ExceptionOptionType<WmsValidationException, __BaseException>);
|
|
243
138
|
}
|
|
244
|
-
/**
|
|
245
|
-
* @public
|
|
246
|
-
*/
|
|
247
|
-
export interface DeletePbxAclGroupInput {
|
|
248
|
-
id: number;
|
|
249
|
-
}
|
|
250
|
-
/**
|
|
251
|
-
* @public
|
|
252
|
-
*/
|
|
253
|
-
export interface DeletePbxAclGroupOutput {
|
|
254
|
-
type: ResponseType;
|
|
255
|
-
result: string;
|
|
256
|
-
}
|
|
257
|
-
/**
|
|
258
|
-
* @public
|
|
259
|
-
*/
|
|
260
|
-
export interface DeletePbxColleagueInput {
|
|
261
|
-
id: number;
|
|
262
|
-
}
|
|
263
|
-
/**
|
|
264
|
-
* @public
|
|
265
|
-
*/
|
|
266
|
-
export interface DeletePbxColleagueOutput {
|
|
267
|
-
type: ResponseType;
|
|
268
|
-
result: string;
|
|
269
|
-
}
|
|
270
139
|
/**
|
|
271
140
|
* @public
|
|
272
141
|
*/
|
|
@@ -303,6 +172,47 @@ export declare class WmsNotFoundException extends __BaseException {
|
|
|
303
172
|
export interface GetColleagueByIdInput {
|
|
304
173
|
id: number;
|
|
305
174
|
}
|
|
175
|
+
/**
|
|
176
|
+
* @public
|
|
177
|
+
* @enum
|
|
178
|
+
*/
|
|
179
|
+
export declare const PbxColleagueRole: {
|
|
180
|
+
readonly ADMIN: "admin";
|
|
181
|
+
readonly FAX: "fax";
|
|
182
|
+
readonly PARK_ORBIT: "park_orbit";
|
|
183
|
+
readonly ROOM: "room";
|
|
184
|
+
readonly USER: "user";
|
|
185
|
+
};
|
|
186
|
+
/**
|
|
187
|
+
* @public
|
|
188
|
+
*/
|
|
189
|
+
export type PbxColleagueRole = typeof PbxColleagueRole[keyof typeof PbxColleagueRole];
|
|
190
|
+
/**
|
|
191
|
+
* @public
|
|
192
|
+
*/
|
|
193
|
+
export interface PbxColleague {
|
|
194
|
+
id: string;
|
|
195
|
+
name?: string;
|
|
196
|
+
login?: string;
|
|
197
|
+
extension: string;
|
|
198
|
+
officePhone?: string;
|
|
199
|
+
mobilePhone?: string;
|
|
200
|
+
faxNumber?: string;
|
|
201
|
+
email?: string;
|
|
202
|
+
pbxDn: string;
|
|
203
|
+
pbx: string;
|
|
204
|
+
role: PbxColleagueRole;
|
|
205
|
+
groupName: string;
|
|
206
|
+
groupDn: string;
|
|
207
|
+
language: string;
|
|
208
|
+
dialplan: string;
|
|
209
|
+
faxDialplan: string;
|
|
210
|
+
department?: string;
|
|
211
|
+
picture: string;
|
|
212
|
+
sourceId?: string;
|
|
213
|
+
licenseType: PbxLicenseType;
|
|
214
|
+
jid: string;
|
|
215
|
+
}
|
|
306
216
|
/**
|
|
307
217
|
* @public
|
|
308
218
|
*/
|
|
@@ -596,10 +506,10 @@ export interface NotificationsInput {
|
|
|
596
506
|
*/
|
|
597
507
|
broadcastMessage: string;
|
|
598
508
|
/**
|
|
599
|
-
* The
|
|
509
|
+
* The broadcast ID to which the message will be sent.
|
|
600
510
|
* @public
|
|
601
511
|
*/
|
|
602
|
-
|
|
512
|
+
broadcastId: string;
|
|
603
513
|
/**
|
|
604
514
|
* How often (each N seconds) a request has to be repeated.
|
|
605
515
|
* @public
|
|
@@ -1,8 +1,4 @@
|
|
|
1
|
-
import { CreatePbxAclGroupCommandInput, CreatePbxAclGroupCommandOutput } from "../commands/CreatePbxAclGroupCommand";
|
|
2
|
-
import { CreatePbxColleagueCommandInput, CreatePbxColleagueCommandOutput } from "../commands/CreatePbxColleagueCommand";
|
|
3
1
|
import { CreatePbxOAuth2ClientCommandInput, CreatePbxOAuth2ClientCommandOutput } from "../commands/CreatePbxOAuth2ClientCommand";
|
|
4
|
-
import { DeletePbxAclGroupCommandInput, DeletePbxAclGroupCommandOutput } from "../commands/DeletePbxAclGroupCommand";
|
|
5
|
-
import { DeletePbxColleagueCommandInput, DeletePbxColleagueCommandOutput } from "../commands/DeletePbxColleagueCommand";
|
|
6
2
|
import { DeletePbxOAuth2ClientCommandInput, DeletePbxOAuth2ClientCommandOutput } from "../commands/DeletePbxOAuth2ClientCommand";
|
|
7
3
|
import { GetColleagueByIdCommandInput, GetColleagueByIdCommandOutput } from "../commands/GetColleagueByIdCommand";
|
|
8
4
|
import { GetPbxAclGroupsPermissionsCommandInput, GetPbxAclGroupsPermissionsCommandOutput } from "../commands/GetPbxAclGroupsPermissionsCommand";
|
|
@@ -17,26 +13,10 @@ import { OriginateCommandInput, OriginateCommandOutput } from "../commands/Origi
|
|
|
17
13
|
import { UpdatePbxOAuth2ClientCommandInput, UpdatePbxOAuth2ClientCommandOutput } from "../commands/UpdatePbxOAuth2ClientCommand";
|
|
18
14
|
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@smithy/protocol-http";
|
|
19
15
|
import { SerdeContext as __SerdeContext } from "@smithy/types";
|
|
20
|
-
/**
|
|
21
|
-
* serializeAws_restJson1CreatePbxAclGroupCommand
|
|
22
|
-
*/
|
|
23
|
-
export declare const se_CreatePbxAclGroupCommand: (input: CreatePbxAclGroupCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
24
|
-
/**
|
|
25
|
-
* serializeAws_restJson1CreatePbxColleagueCommand
|
|
26
|
-
*/
|
|
27
|
-
export declare const se_CreatePbxColleagueCommand: (input: CreatePbxColleagueCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
28
16
|
/**
|
|
29
17
|
* serializeAws_restJson1CreatePbxOAuth2ClientCommand
|
|
30
18
|
*/
|
|
31
19
|
export declare const se_CreatePbxOAuth2ClientCommand: (input: CreatePbxOAuth2ClientCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
32
|
-
/**
|
|
33
|
-
* serializeAws_restJson1DeletePbxAclGroupCommand
|
|
34
|
-
*/
|
|
35
|
-
export declare const se_DeletePbxAclGroupCommand: (input: DeletePbxAclGroupCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
36
|
-
/**
|
|
37
|
-
* serializeAws_restJson1DeletePbxColleagueCommand
|
|
38
|
-
*/
|
|
39
|
-
export declare const se_DeletePbxColleagueCommand: (input: DeletePbxColleagueCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
40
20
|
/**
|
|
41
21
|
* serializeAws_restJson1DeletePbxOAuth2ClientCommand
|
|
42
22
|
*/
|
|
@@ -85,26 +65,10 @@ export declare const se_OriginateCallCommand: (input: OriginateCallCommandInput,
|
|
|
85
65
|
* serializeAws_restJson1UpdatePbxOAuth2ClientCommand
|
|
86
66
|
*/
|
|
87
67
|
export declare const se_UpdatePbxOAuth2ClientCommand: (input: UpdatePbxOAuth2ClientCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
88
|
-
/**
|
|
89
|
-
* deserializeAws_restJson1CreatePbxAclGroupCommand
|
|
90
|
-
*/
|
|
91
|
-
export declare const de_CreatePbxAclGroupCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreatePbxAclGroupCommandOutput>;
|
|
92
|
-
/**
|
|
93
|
-
* deserializeAws_restJson1CreatePbxColleagueCommand
|
|
94
|
-
*/
|
|
95
|
-
export declare const de_CreatePbxColleagueCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreatePbxColleagueCommandOutput>;
|
|
96
68
|
/**
|
|
97
69
|
* deserializeAws_restJson1CreatePbxOAuth2ClientCommand
|
|
98
70
|
*/
|
|
99
71
|
export declare const de_CreatePbxOAuth2ClientCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreatePbxOAuth2ClientCommandOutput>;
|
|
100
|
-
/**
|
|
101
|
-
* deserializeAws_restJson1DeletePbxAclGroupCommand
|
|
102
|
-
*/
|
|
103
|
-
export declare const de_DeletePbxAclGroupCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeletePbxAclGroupCommandOutput>;
|
|
104
|
-
/**
|
|
105
|
-
* deserializeAws_restJson1DeletePbxColleagueCommand
|
|
106
|
-
*/
|
|
107
|
-
export declare const de_DeletePbxColleagueCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeletePbxColleagueCommandOutput>;
|
|
108
72
|
/**
|
|
109
73
|
* deserializeAws_restJson1DeletePbxOAuth2ClientCommand
|
|
110
74
|
*/
|
|
@@ -17,7 +17,6 @@ export declare const getRuntimeConfig: (config: WmsApiClientConfig) => {
|
|
|
17
17
|
port?: number | undefined;
|
|
18
18
|
token: import("@wildix/smithy-utils").TokenProvider;
|
|
19
19
|
apiVersion: string;
|
|
20
|
-
cacheMiddleware?: boolean | undefined;
|
|
21
20
|
urlParser: import("@smithy/types").UrlParser;
|
|
22
21
|
base64Decoder: import("@smithy/types").Decoder;
|
|
23
22
|
base64Encoder: (_input: string | Uint8Array) => string;
|
|
@@ -17,7 +17,6 @@ export declare const getRuntimeConfig: (config: WmsApiClientConfig) => {
|
|
|
17
17
|
port?: number | undefined;
|
|
18
18
|
token: import("@wildix/smithy-utils").TokenProvider;
|
|
19
19
|
apiVersion: string;
|
|
20
|
-
cacheMiddleware?: boolean | undefined;
|
|
21
20
|
urlParser: import("@smithy/types").UrlParser;
|
|
22
21
|
base64Decoder: import("@smithy/types").Decoder;
|
|
23
22
|
base64Encoder: (_input: string | Uint8Array) => string;
|
|
@@ -10,7 +10,6 @@ export declare const getRuntimeConfig: (config: WmsApiClientConfig) => {
|
|
|
10
10
|
token: import("@wildix/smithy-utils").TokenProvider;
|
|
11
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;
|
|
12
12
|
apiVersion: string;
|
|
13
|
-
cacheMiddleware?: boolean | undefined;
|
|
14
13
|
urlParser: import("@smithy/types").UrlParser;
|
|
15
14
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
16
15
|
streamCollector: import("@smithy/types").StreamCollector;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wildix/wms-api-client",
|
|
3
3
|
"description": "@wildix/wms-api-client client",
|
|
4
|
-
"version": "1.1.
|
|
4
|
+
"version": "1.1.14",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.CreatePbxAclGroupCommand = 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 CreatePbxAclGroupCommand 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", "CreatePbxAclGroup", {})
|
|
15
|
-
.n("WmsApiClient", "CreatePbxAclGroupCommand")
|
|
16
|
-
.f(void 0, void 0)
|
|
17
|
-
.ser(Aws_restJson1_1.se_CreatePbxAclGroupCommand)
|
|
18
|
-
.de(Aws_restJson1_1.de_CreatePbxAclGroupCommand)
|
|
19
|
-
.build() {
|
|
20
|
-
}
|
|
21
|
-
exports.CreatePbxAclGroupCommand = CreatePbxAclGroupCommand;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.CreatePbxColleagueCommand = 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 CreatePbxColleagueCommand 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", "CreatePbxColleague", {})
|
|
15
|
-
.n("WmsApiClient", "CreatePbxColleagueCommand")
|
|
16
|
-
.f(void 0, void 0)
|
|
17
|
-
.ser(Aws_restJson1_1.se_CreatePbxColleagueCommand)
|
|
18
|
-
.de(Aws_restJson1_1.de_CreatePbxColleagueCommand)
|
|
19
|
-
.build() {
|
|
20
|
-
}
|
|
21
|
-
exports.CreatePbxColleagueCommand = CreatePbxColleagueCommand;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.DeletePbxAclGroupCommand = 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 DeletePbxAclGroupCommand 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", "DeletePbxAclGroup", {})
|
|
15
|
-
.n("WmsApiClient", "DeletePbxAclGroupCommand")
|
|
16
|
-
.f(void 0, void 0)
|
|
17
|
-
.ser(Aws_restJson1_1.se_DeletePbxAclGroupCommand)
|
|
18
|
-
.de(Aws_restJson1_1.de_DeletePbxAclGroupCommand)
|
|
19
|
-
.build() {
|
|
20
|
-
}
|
|
21
|
-
exports.DeletePbxAclGroupCommand = DeletePbxAclGroupCommand;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.DeletePbxColleagueCommand = 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 DeletePbxColleagueCommand 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", "DeletePbxColleague", {})
|
|
15
|
-
.n("WmsApiClient", "DeletePbxColleagueCommand")
|
|
16
|
-
.f(void 0, void 0)
|
|
17
|
-
.ser(Aws_restJson1_1.se_DeletePbxColleagueCommand)
|
|
18
|
-
.de(Aws_restJson1_1.de_DeletePbxColleagueCommand)
|
|
19
|
-
.build() {
|
|
20
|
-
}
|
|
21
|
-
exports.DeletePbxColleagueCommand = DeletePbxColleagueCommand;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { de_CreatePbxAclGroupCommand, se_CreatePbxAclGroupCommand, } 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 CreatePbxAclGroupCommand extends $Command.classBuilder()
|
|
6
|
-
.m(function (Command, cs, config, o) {
|
|
7
|
-
return [
|
|
8
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
9
|
-
];
|
|
10
|
-
})
|
|
11
|
-
.s("WmsApi", "CreatePbxAclGroup", {})
|
|
12
|
-
.n("WmsApiClient", "CreatePbxAclGroupCommand")
|
|
13
|
-
.f(void 0, void 0)
|
|
14
|
-
.ser(se_CreatePbxAclGroupCommand)
|
|
15
|
-
.de(de_CreatePbxAclGroupCommand)
|
|
16
|
-
.build() {
|
|
17
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { de_CreatePbxColleagueCommand, se_CreatePbxColleagueCommand, } 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 CreatePbxColleagueCommand extends $Command.classBuilder()
|
|
6
|
-
.m(function (Command, cs, config, o) {
|
|
7
|
-
return [
|
|
8
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
9
|
-
];
|
|
10
|
-
})
|
|
11
|
-
.s("WmsApi", "CreatePbxColleague", {})
|
|
12
|
-
.n("WmsApiClient", "CreatePbxColleagueCommand")
|
|
13
|
-
.f(void 0, void 0)
|
|
14
|
-
.ser(se_CreatePbxColleagueCommand)
|
|
15
|
-
.de(de_CreatePbxColleagueCommand)
|
|
16
|
-
.build() {
|
|
17
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { de_DeletePbxAclGroupCommand, se_DeletePbxAclGroupCommand, } 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 DeletePbxAclGroupCommand extends $Command.classBuilder()
|
|
6
|
-
.m(function (Command, cs, config, o) {
|
|
7
|
-
return [
|
|
8
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
9
|
-
];
|
|
10
|
-
})
|
|
11
|
-
.s("WmsApi", "DeletePbxAclGroup", {})
|
|
12
|
-
.n("WmsApiClient", "DeletePbxAclGroupCommand")
|
|
13
|
-
.f(void 0, void 0)
|
|
14
|
-
.ser(se_DeletePbxAclGroupCommand)
|
|
15
|
-
.de(de_DeletePbxAclGroupCommand)
|
|
16
|
-
.build() {
|
|
17
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { de_DeletePbxColleagueCommand, se_DeletePbxColleagueCommand, } 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 DeletePbxColleagueCommand extends $Command.classBuilder()
|
|
6
|
-
.m(function (Command, cs, config, o) {
|
|
7
|
-
return [
|
|
8
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
9
|
-
];
|
|
10
|
-
})
|
|
11
|
-
.s("WmsApi", "DeletePbxColleague", {})
|
|
12
|
-
.n("WmsApiClient", "DeletePbxColleagueCommand")
|
|
13
|
-
.f(void 0, void 0)
|
|
14
|
-
.ser(se_DeletePbxColleagueCommand)
|
|
15
|
-
.de(de_DeletePbxColleagueCommand)
|
|
16
|
-
.build() {
|
|
17
|
-
}
|
|
@@ -1,86 +0,0 @@
|
|
|
1
|
-
import { ServiceInputTypes, ServiceOutputTypes, WmsApiClientResolvedConfig } from "../WmsApiClient";
|
|
2
|
-
import { CreatePbxAclGroupInput, CreatePbxAclGroupOutput } 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 CreatePbxAclGroupCommand}.
|
|
14
|
-
*/
|
|
15
|
-
export interface CreatePbxAclGroupCommandInput extends CreatePbxAclGroupInput {
|
|
16
|
-
}
|
|
17
|
-
/**
|
|
18
|
-
* @public
|
|
19
|
-
*
|
|
20
|
-
* The output of {@link CreatePbxAclGroupCommand}.
|
|
21
|
-
*/
|
|
22
|
-
export interface CreatePbxAclGroupCommandOutput extends CreatePbxAclGroupOutput, __MetadataBearer {
|
|
23
|
-
}
|
|
24
|
-
declare const CreatePbxAclGroupCommand_base: {
|
|
25
|
-
new (input: CreatePbxAclGroupCommandInput): import("@smithy/smithy-client").CommandImpl<CreatePbxAclGroupCommandInput, CreatePbxAclGroupCommandOutput, WmsApiClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (__0_0: CreatePbxAclGroupCommandInput): import("@smithy/smithy-client").CommandImpl<CreatePbxAclGroupCommandInput, CreatePbxAclGroupCommandOutput, WmsApiClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
-
};
|
|
29
|
-
/**
|
|
30
|
-
* @public
|
|
31
|
-
*
|
|
32
|
-
* @example
|
|
33
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
34
|
-
* ```javascript
|
|
35
|
-
* import { WmsApiClient, CreatePbxAclGroupCommand } from "@wildix/wms-api-client"; // ES Modules import
|
|
36
|
-
* // const { WmsApiClient, CreatePbxAclGroupCommand } = require("@wildix/wms-api-client"); // CommonJS import
|
|
37
|
-
* const client = new WmsApiClient(config);
|
|
38
|
-
* const input = { // CreatePbxAclGroupInput
|
|
39
|
-
* name: "STRING_VALUE", // required
|
|
40
|
-
* inherits: "STRING_VALUE",
|
|
41
|
-
* wcgrp: "STRING_VALUE",
|
|
42
|
-
* rules: [ // AclGroupRulesList // required
|
|
43
|
-
* { // AclGroupRule
|
|
44
|
-
* ability: "can" || "cannot" || "yes" || "no",
|
|
45
|
-
* group: "STRING_VALUE",
|
|
46
|
-
* rule: "STRING_VALUE",
|
|
47
|
-
* },
|
|
48
|
-
* ],
|
|
49
|
-
* };
|
|
50
|
-
* const command = new CreatePbxAclGroupCommand(input);
|
|
51
|
-
* const response = await client.send(command);
|
|
52
|
-
* // { // CreatePbxAclGroupOutput
|
|
53
|
-
* // type: "result" || "error", // required
|
|
54
|
-
* // result: { // CreatePbxAclGroupResult
|
|
55
|
-
* // id: "STRING_VALUE", // required
|
|
56
|
-
* // name: "STRING_VALUE", // required
|
|
57
|
-
* // dn: "STRING_VALUE", // required
|
|
58
|
-
* // wcgrp: "STRING_VALUE", // required
|
|
59
|
-
* // inherits: "STRING_VALUE", // required
|
|
60
|
-
* // rules: [ // AclGroupRulesList // required
|
|
61
|
-
* // { // AclGroupRule
|
|
62
|
-
* // ability: "can" || "cannot" || "yes" || "no",
|
|
63
|
-
* // group: "STRING_VALUE",
|
|
64
|
-
* // rule: "STRING_VALUE",
|
|
65
|
-
* // },
|
|
66
|
-
* // ],
|
|
67
|
-
* // adminRules: "STRING_VALUE", // required
|
|
68
|
-
* // },
|
|
69
|
-
* // };
|
|
70
|
-
*
|
|
71
|
-
* ```
|
|
72
|
-
*
|
|
73
|
-
* @param CreatePbxAclGroupCommandInput - {@link CreatePbxAclGroupCommandInput}
|
|
74
|
-
* @returns {@link CreatePbxAclGroupCommandOutput}
|
|
75
|
-
* @see {@link CreatePbxAclGroupCommandInput} for command's `input` shape.
|
|
76
|
-
* @see {@link CreatePbxAclGroupCommandOutput} for command's `response` shape.
|
|
77
|
-
* @see {@link WmsApiClientResolvedConfig | config} for WmsApiClient's `config` shape.
|
|
78
|
-
*
|
|
79
|
-
* @throws {@link WmsUnauthorizedException} (client fault)
|
|
80
|
-
*
|
|
81
|
-
* @throws {@link WmsApiServiceException}
|
|
82
|
-
* <p>Base exception class for all service exceptions from WmsApi service.</p>
|
|
83
|
-
*
|
|
84
|
-
*/
|
|
85
|
-
export declare class CreatePbxAclGroupCommand extends CreatePbxAclGroupCommand_base {
|
|
86
|
-
}
|