@wildix/wms-api-client 1.1.4 → 1.1.6
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 -4
- package/dist-cjs/WmsApiClient.js +7 -2
- package/dist-cjs/commands/index.js +0 -2
- package/dist-cjs/models/models_0.js +8 -23
- package/dist-cjs/protocols/Aws_restJson1.js +5 -104
- package/dist-es/WmsApi.js +0 -4
- package/dist-es/WmsApiClient.js +7 -2
- package/dist-es/commands/index.js +0 -2
- package/dist-es/models/models_0.js +7 -22
- package/dist-es/protocols/Aws_restJson1.js +4 -99
- package/dist-types/WmsApi.d.ts +0 -14
- package/dist-types/WmsApiClient.d.ts +5 -6
- package/dist-types/commands/CreatePbxOAuth2ClientCommand.d.ts +2 -1
- package/dist-types/commands/DeletePbxOAuth2ClientCommand.d.ts +2 -1
- package/dist-types/commands/GetPbxAclGroupsPermissionsCommand.d.ts +2 -1
- package/dist-types/commands/GetPbxCallGroupsCommand.d.ts +2 -1
- package/dist-types/commands/GetPbxColleaguesCommand.d.ts +2 -1
- package/dist-types/commands/GetPbxOAuth2ClientsCommand.d.ts +2 -1
- package/dist-types/commands/UpdatePbxOAuth2ClientCommand.d.ts +2 -1
- package/dist-types/commands/index.d.ts +0 -2
- package/dist-types/index.d.ts +2 -2
- package/dist-types/models/WmsApiServiceException.d.ts +2 -1
- package/dist-types/models/models_0.d.ts +39 -123
- package/dist-types/protocols/Aws_restJson1.d.ts +0 -18
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/package.json +9 -9
- package/dist-cjs/commands/CreatePbxColleagueCommand.js +0 -21
- package/dist-cjs/commands/DeletePbxColleagueCommand.js +0 -21
- package/dist-es/commands/CreatePbxColleagueCommand.js +0 -17
- package/dist-es/commands/DeletePbxColleagueCommand.js +0 -17
- package/dist-types/commands/CreatePbxColleagueCommand.d.ts +0 -96
- package/dist-types/commands/DeletePbxColleagueCommand.d.ts +0 -65
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
export * from "./CreatePbxColleagueCommand";
|
|
2
1
|
export * from "./CreatePbxOAuth2ClientCommand";
|
|
3
|
-
export * from "./DeletePbxColleagueCommand";
|
|
4
2
|
export * from "./DeletePbxOAuth2ClientCommand";
|
|
5
3
|
export * from "./GetPbxAclGroupsPermissionsCommand";
|
|
6
4
|
export * from "./GetPbxCallGroupsCommand";
|
package/dist-types/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export * from "./WmsApiClient";
|
|
2
2
|
export * from "./WmsApi";
|
|
3
|
-
export { RuntimeExtension } from "./runtimeExtensions";
|
|
4
|
-
export { WmsApiExtensionConfiguration } from "./extensionConfiguration";
|
|
3
|
+
export type { RuntimeExtension } from "./runtimeExtensions";
|
|
4
|
+
export type { WmsApiExtensionConfiguration } from "./extensionConfiguration";
|
|
5
5
|
export * from "./commands";
|
|
6
6
|
export * from "./models";
|
|
7
7
|
export { WmsApiServiceException } from "./models/WmsApiServiceException";
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@smithy/smithy-client";
|
|
2
|
-
export {
|
|
2
|
+
export type { __ServiceExceptionOptions };
|
|
3
|
+
export { __ServiceException };
|
|
3
4
|
/**
|
|
4
5
|
* @public
|
|
5
6
|
*
|
|
@@ -58,65 +58,30 @@ export interface AclGroupPermission {
|
|
|
58
58
|
}
|
|
59
59
|
/**
|
|
60
60
|
* @public
|
|
61
|
-
* @enum
|
|
62
61
|
*/
|
|
63
|
-
export
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
readonly USER: "user";
|
|
69
|
-
};
|
|
70
|
-
/**
|
|
71
|
-
* @public
|
|
72
|
-
*/
|
|
73
|
-
export type PbxColleagueRole = typeof PbxColleagueRole[keyof typeof PbxColleagueRole];
|
|
74
|
-
/**
|
|
75
|
-
* @public
|
|
76
|
-
*/
|
|
77
|
-
export interface CreatePbxColleagueInput {
|
|
78
|
-
extension: string;
|
|
62
|
+
export interface CreatePbxOAuth2ClientInput {
|
|
63
|
+
/**
|
|
64
|
+
* A name of OAuth2 client.
|
|
65
|
+
* @public
|
|
66
|
+
*/
|
|
79
67
|
name: string;
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
groupDn?: string;
|
|
86
|
-
language?: string;
|
|
87
|
-
dialplan?: string;
|
|
88
|
-
faxDialplan?: string;
|
|
89
|
-
department?: string;
|
|
90
|
-
login?: string;
|
|
91
|
-
password?: string;
|
|
92
|
-
sipPassword?: string;
|
|
93
|
-
licenseType?: PbxLicenseType;
|
|
68
|
+
/**
|
|
69
|
+
* Array of redirect URLs, allowed for this client.
|
|
70
|
+
* @public
|
|
71
|
+
*/
|
|
72
|
+
redirectUri: (string)[];
|
|
94
73
|
}
|
|
95
74
|
/**
|
|
96
75
|
* @public
|
|
97
76
|
*/
|
|
98
|
-
export interface
|
|
77
|
+
export interface PbxOAuth2Client {
|
|
99
78
|
id: string;
|
|
100
|
-
name
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
email?: string;
|
|
107
|
-
pbxDn: string;
|
|
108
|
-
pbx: string;
|
|
109
|
-
role: PbxColleagueRole;
|
|
110
|
-
groupName: string;
|
|
111
|
-
groupDn: string;
|
|
112
|
-
language: string;
|
|
113
|
-
dialplan: string;
|
|
114
|
-
faxDialplan: string;
|
|
115
|
-
department?: string;
|
|
116
|
-
picture: string;
|
|
117
|
-
sourceId?: string;
|
|
118
|
-
licenseType: PbxLicenseType;
|
|
119
|
-
jid: string;
|
|
79
|
+
name: string;
|
|
80
|
+
redirectUri: (string)[];
|
|
81
|
+
secret: string;
|
|
82
|
+
created: number;
|
|
83
|
+
origins: (string)[];
|
|
84
|
+
accessTokenTtl: number;
|
|
120
85
|
}
|
|
121
86
|
/**
|
|
122
87
|
* @public
|
|
@@ -130,6 +95,13 @@ export declare const ResponseType: {
|
|
|
130
95
|
* @public
|
|
131
96
|
*/
|
|
132
97
|
export type ResponseType = typeof ResponseType[keyof typeof ResponseType];
|
|
98
|
+
/**
|
|
99
|
+
* @public
|
|
100
|
+
*/
|
|
101
|
+
export interface CreatePbxOAuth2ClientOutput {
|
|
102
|
+
type: ResponseType;
|
|
103
|
+
result: PbxOAuth2Client;
|
|
104
|
+
}
|
|
133
105
|
/**
|
|
134
106
|
* @public
|
|
135
107
|
*/
|
|
@@ -143,40 +115,6 @@ export declare class WmsUnauthorizedException extends __BaseException {
|
|
|
143
115
|
*/
|
|
144
116
|
constructor(opts: __ExceptionOptionType<WmsUnauthorizedException, __BaseException>);
|
|
145
117
|
}
|
|
146
|
-
/**
|
|
147
|
-
* @public
|
|
148
|
-
*/
|
|
149
|
-
export interface CreatePbxOAuth2ClientInput {
|
|
150
|
-
/**
|
|
151
|
-
* A name of OAuth2 client.
|
|
152
|
-
* @public
|
|
153
|
-
*/
|
|
154
|
-
name: string;
|
|
155
|
-
/**
|
|
156
|
-
* Array of redirect URLs, allowed for this client.
|
|
157
|
-
* @public
|
|
158
|
-
*/
|
|
159
|
-
redirectUri: (string)[];
|
|
160
|
-
}
|
|
161
|
-
/**
|
|
162
|
-
* @public
|
|
163
|
-
*/
|
|
164
|
-
export interface PbxOAuth2Client {
|
|
165
|
-
id: string;
|
|
166
|
-
name: string;
|
|
167
|
-
redirectUri: (string)[];
|
|
168
|
-
secret: string;
|
|
169
|
-
created: number;
|
|
170
|
-
origins: (string)[];
|
|
171
|
-
accessTokenTtl: number;
|
|
172
|
-
}
|
|
173
|
-
/**
|
|
174
|
-
* @public
|
|
175
|
-
*/
|
|
176
|
-
export interface CreatePbxOAuth2ClientOutput {
|
|
177
|
-
type: ResponseType;
|
|
178
|
-
result: PbxOAuth2Client;
|
|
179
|
-
}
|
|
180
118
|
/**
|
|
181
119
|
* @public
|
|
182
120
|
*/
|
|
@@ -198,43 +136,6 @@ export declare class WmsValidationException extends __BaseException {
|
|
|
198
136
|
*/
|
|
199
137
|
constructor(opts: __ExceptionOptionType<WmsValidationException, __BaseException>);
|
|
200
138
|
}
|
|
201
|
-
/**
|
|
202
|
-
* @public
|
|
203
|
-
* @enum
|
|
204
|
-
*/
|
|
205
|
-
export declare const PbxColleaguesDeleteField: {
|
|
206
|
-
readonly APPLICATIONS: "applications";
|
|
207
|
-
readonly CALLS: "calls";
|
|
208
|
-
readonly CALL_GROUP_MEMBER: "callGroupMember";
|
|
209
|
-
readonly CHAT_HISTORY: "chatHistory";
|
|
210
|
-
readonly DEVICES: "devices";
|
|
211
|
-
readonly MISSED_CALL_MANAGER: "missedCallManager";
|
|
212
|
-
readonly PAGING_GROUP_MEMBER: "pagingGroupMember";
|
|
213
|
-
readonly PERSONAL_DATA: "personalData";
|
|
214
|
-
readonly PHONEBOOKS: "phonebooks";
|
|
215
|
-
readonly USER: "user";
|
|
216
|
-
readonly USER_AVATAR: "userAvatar";
|
|
217
|
-
readonly VOICEMAILS: "voicemails";
|
|
218
|
-
readonly VOICEMAIL_GREETINGS: "voicemailGreetings";
|
|
219
|
-
};
|
|
220
|
-
/**
|
|
221
|
-
* @public
|
|
222
|
-
*/
|
|
223
|
-
export type PbxColleaguesDeleteField = typeof PbxColleaguesDeleteField[keyof typeof PbxColleaguesDeleteField];
|
|
224
|
-
/**
|
|
225
|
-
* @public
|
|
226
|
-
*/
|
|
227
|
-
export interface DeletePbxColleagueInput {
|
|
228
|
-
colleagueId: number;
|
|
229
|
-
data?: (PbxColleaguesDeleteField)[];
|
|
230
|
-
}
|
|
231
|
-
/**
|
|
232
|
-
* @public
|
|
233
|
-
*/
|
|
234
|
-
export interface DeletePbxColleagueOutput {
|
|
235
|
-
type?: string;
|
|
236
|
-
result?: string;
|
|
237
|
-
}
|
|
238
139
|
/**
|
|
239
140
|
* @public
|
|
240
141
|
*/
|
|
@@ -428,6 +329,21 @@ export interface GetPbxColleaguesInput {
|
|
|
428
329
|
dir?: GetPbxColleaguesDir;
|
|
429
330
|
searchStrategy?: PbxColleaguesSearchStrategy;
|
|
430
331
|
}
|
|
332
|
+
/**
|
|
333
|
+
* @public
|
|
334
|
+
* @enum
|
|
335
|
+
*/
|
|
336
|
+
export declare const PbxColleagueRole: {
|
|
337
|
+
readonly ADMIN: "admin";
|
|
338
|
+
readonly FAX: "fax";
|
|
339
|
+
readonly PARK_ORBIT: "park_orbit";
|
|
340
|
+
readonly ROOM: "room";
|
|
341
|
+
readonly USER: "user";
|
|
342
|
+
};
|
|
343
|
+
/**
|
|
344
|
+
* @public
|
|
345
|
+
*/
|
|
346
|
+
export type PbxColleagueRole = typeof PbxColleagueRole[keyof typeof PbxColleagueRole];
|
|
431
347
|
/**
|
|
432
348
|
* @public
|
|
433
349
|
*/
|
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
import { CreatePbxColleagueCommandInput, CreatePbxColleagueCommandOutput } from "../commands/CreatePbxColleagueCommand";
|
|
2
1
|
import { CreatePbxOAuth2ClientCommandInput, CreatePbxOAuth2ClientCommandOutput } from "../commands/CreatePbxOAuth2ClientCommand";
|
|
3
|
-
import { DeletePbxColleagueCommandInput, DeletePbxColleagueCommandOutput } from "../commands/DeletePbxColleagueCommand";
|
|
4
2
|
import { DeletePbxOAuth2ClientCommandInput, DeletePbxOAuth2ClientCommandOutput } from "../commands/DeletePbxOAuth2ClientCommand";
|
|
5
3
|
import { GetPbxAclGroupsPermissionsCommandInput, GetPbxAclGroupsPermissionsCommandOutput } from "../commands/GetPbxAclGroupsPermissionsCommand";
|
|
6
4
|
import { GetPbxCallGroupsCommandInput, GetPbxCallGroupsCommandOutput } from "../commands/GetPbxCallGroupsCommand";
|
|
@@ -9,18 +7,10 @@ import { GetPbxOAuth2ClientsCommandInput, GetPbxOAuth2ClientsCommandOutput } fro
|
|
|
9
7
|
import { UpdatePbxOAuth2ClientCommandInput, UpdatePbxOAuth2ClientCommandOutput } from "../commands/UpdatePbxOAuth2ClientCommand";
|
|
10
8
|
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@smithy/protocol-http";
|
|
11
9
|
import { SerdeContext as __SerdeContext } from "@smithy/types";
|
|
12
|
-
/**
|
|
13
|
-
* serializeAws_restJson1CreatePbxColleagueCommand
|
|
14
|
-
*/
|
|
15
|
-
export declare const se_CreatePbxColleagueCommand: (input: CreatePbxColleagueCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
16
10
|
/**
|
|
17
11
|
* serializeAws_restJson1CreatePbxOAuth2ClientCommand
|
|
18
12
|
*/
|
|
19
13
|
export declare const se_CreatePbxOAuth2ClientCommand: (input: CreatePbxOAuth2ClientCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
20
|
-
/**
|
|
21
|
-
* serializeAws_restJson1DeletePbxColleagueCommand
|
|
22
|
-
*/
|
|
23
|
-
export declare const se_DeletePbxColleagueCommand: (input: DeletePbxColleagueCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
24
14
|
/**
|
|
25
15
|
* serializeAws_restJson1DeletePbxOAuth2ClientCommand
|
|
26
16
|
*/
|
|
@@ -45,18 +35,10 @@ export declare const se_GetPbxOAuth2ClientsCommand: (input: GetPbxOAuth2ClientsC
|
|
|
45
35
|
* serializeAws_restJson1UpdatePbxOAuth2ClientCommand
|
|
46
36
|
*/
|
|
47
37
|
export declare const se_UpdatePbxOAuth2ClientCommand: (input: UpdatePbxOAuth2ClientCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
48
|
-
/**
|
|
49
|
-
* deserializeAws_restJson1CreatePbxColleagueCommand
|
|
50
|
-
*/
|
|
51
|
-
export declare const de_CreatePbxColleagueCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreatePbxColleagueCommandOutput>;
|
|
52
38
|
/**
|
|
53
39
|
* deserializeAws_restJson1CreatePbxOAuth2ClientCommand
|
|
54
40
|
*/
|
|
55
41
|
export declare const de_CreatePbxOAuth2ClientCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreatePbxOAuth2ClientCommandOutput>;
|
|
56
|
-
/**
|
|
57
|
-
* deserializeAws_restJson1DeletePbxColleagueCommand
|
|
58
|
-
*/
|
|
59
|
-
export declare const de_DeletePbxColleagueCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeletePbxColleagueCommandOutput>;
|
|
60
42
|
/**
|
|
61
43
|
* deserializeAws_restJson1DeletePbxOAuth2ClientCommand
|
|
62
44
|
*/
|
|
@@ -26,4 +26,5 @@ export declare const getRuntimeConfig: (config: WmsApiClientConfig) => {
|
|
|
26
26
|
logger: import("@smithy/types").Logger;
|
|
27
27
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
28
28
|
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
29
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
|
|
29
30
|
};
|
|
@@ -26,4 +26,5 @@ export declare const getRuntimeConfig: (config: WmsApiClientConfig) => {
|
|
|
26
26
|
logger: import("@smithy/types").Logger;
|
|
27
27
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
28
28
|
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
29
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
|
|
29
30
|
};
|
|
@@ -25,4 +25,5 @@ export declare const getRuntimeConfig: (config: WmsApiClientConfig) => {
|
|
|
25
25
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
26
26
|
defaultsMode: import("@smithy/smithy-client").DefaultsMode | import("@smithy/types").Provider<import("@smithy/smithy-client").DefaultsMode>;
|
|
27
27
|
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
28
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
|
|
28
29
|
};
|
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.6",
|
|
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",
|
|
@@ -22,27 +22,27 @@
|
|
|
22
22
|
"@aws-sdk/middleware-user-agent": "3.587.0",
|
|
23
23
|
"@aws-sdk/types": "latest",
|
|
24
24
|
"@aws-sdk/util-user-agent-browser": "3.577.0",
|
|
25
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
26
|
-
"@smithy/config-resolver": "^3.0.
|
|
27
|
-
"@smithy/core": "^2.0
|
|
25
|
+
"@aws-sdk/util-user-agent-node": "3.587.0",
|
|
26
|
+
"@smithy/config-resolver": "^3.0.1",
|
|
27
|
+
"@smithy/core": "^2.2.0",
|
|
28
28
|
"@smithy/fetch-http-handler": "^3.0.1",
|
|
29
29
|
"@smithy/hash-node": "^3.0.0",
|
|
30
30
|
"@smithy/invalid-dependency": "^3.0.0",
|
|
31
31
|
"@smithy/middleware-content-length": "^3.0.0",
|
|
32
|
-
"@smithy/middleware-retry": "^3.0.
|
|
32
|
+
"@smithy/middleware-retry": "^3.0.3",
|
|
33
33
|
"@smithy/middleware-serde": "^3.0.0",
|
|
34
34
|
"@smithy/middleware-stack": "^3.0.0",
|
|
35
|
-
"@smithy/node-config-provider": "^3.
|
|
35
|
+
"@smithy/node-config-provider": "^3.1.0",
|
|
36
36
|
"@smithy/node-http-handler": "^3.0.0",
|
|
37
37
|
"@smithy/protocol-http": "^4.0.0",
|
|
38
|
-
"@smithy/smithy-client": "^3.
|
|
38
|
+
"@smithy/smithy-client": "^3.1.1",
|
|
39
39
|
"@smithy/types": "^3.0.0",
|
|
40
40
|
"@smithy/url-parser": "^3.0.0",
|
|
41
41
|
"@smithy/util-base64": "^3.0.0",
|
|
42
42
|
"@smithy/util-body-length-browser": "^3.0.0",
|
|
43
43
|
"@smithy/util-body-length-node": "^3.0.0",
|
|
44
|
-
"@smithy/util-defaults-mode-browser": "^3.0.
|
|
45
|
-
"@smithy/util-defaults-mode-node": "^3.0.
|
|
44
|
+
"@smithy/util-defaults-mode-browser": "^3.0.3",
|
|
45
|
+
"@smithy/util-defaults-mode-node": "^3.0.3",
|
|
46
46
|
"@smithy/util-retry": "^3.0.0",
|
|
47
47
|
"@smithy/util-utf8": "^3.0.0",
|
|
48
48
|
"@wildix/smithy-utils": "^1.0.2"
|
|
@@ -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.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_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_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,96 +0,0 @@
|
|
|
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,65 +0,0 @@
|
|
|
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
|
-
}
|