@wildix/wms-api-client 1.1.5 → 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.
Files changed (34) hide show
  1. package/dist-cjs/WmsApi.js +0 -4
  2. package/dist-cjs/WmsApiClient.js +7 -2
  3. package/dist-cjs/commands/index.js +0 -2
  4. package/dist-cjs/models/models_0.js +8 -23
  5. package/dist-cjs/protocols/Aws_restJson1.js +5 -85
  6. package/dist-es/WmsApi.js +0 -4
  7. package/dist-es/WmsApiClient.js +7 -2
  8. package/dist-es/commands/index.js +0 -2
  9. package/dist-es/models/models_0.js +7 -22
  10. package/dist-es/protocols/Aws_restJson1.js +4 -80
  11. package/dist-types/WmsApi.d.ts +0 -14
  12. package/dist-types/WmsApiClient.d.ts +5 -6
  13. package/dist-types/commands/CreatePbxOAuth2ClientCommand.d.ts +2 -1
  14. package/dist-types/commands/DeletePbxOAuth2ClientCommand.d.ts +2 -1
  15. package/dist-types/commands/GetPbxAclGroupsPermissionsCommand.d.ts +2 -1
  16. package/dist-types/commands/GetPbxCallGroupsCommand.d.ts +2 -1
  17. package/dist-types/commands/GetPbxColleaguesCommand.d.ts +2 -1
  18. package/dist-types/commands/GetPbxOAuth2ClientsCommand.d.ts +2 -1
  19. package/dist-types/commands/UpdatePbxOAuth2ClientCommand.d.ts +2 -1
  20. package/dist-types/commands/index.d.ts +0 -2
  21. package/dist-types/index.d.ts +2 -2
  22. package/dist-types/models/WmsApiServiceException.d.ts +2 -1
  23. package/dist-types/models/models_0.d.ts +65 -130
  24. package/dist-types/protocols/Aws_restJson1.d.ts +0 -18
  25. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  26. package/dist-types/runtimeConfig.d.ts +1 -0
  27. package/dist-types/runtimeConfig.native.d.ts +1 -0
  28. package/package.json +9 -9
  29. package/dist-cjs/commands/CreatePbxColleagueCommand.js +0 -21
  30. package/dist-cjs/commands/DeletePbxColleagueCommand.js +0 -21
  31. package/dist-es/commands/CreatePbxColleagueCommand.js +0 -17
  32. package/dist-es/commands/DeletePbxColleagueCommand.js +0 -17
  33. package/dist-types/commands/CreatePbxColleagueCommand.d.ts +0 -99
  34. package/dist-types/commands/DeletePbxColleagueCommand.d.ts +0 -65
@@ -5,7 +5,8 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
5
5
  /**
6
6
  * @public
7
7
  */
8
- export { __MetadataBearer, $Command };
8
+ export type { __MetadataBearer };
9
+ export { $Command };
9
10
  /**
10
11
  * @public
11
12
  *
@@ -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";
@@ -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 { __ServiceException, __ServiceExceptionOptions };
2
+ export type { __ServiceExceptionOptions };
3
+ export { __ServiceException };
3
4
  /**
4
5
  * @public
5
6
  *
@@ -56,74 +56,32 @@ export interface AclGroupPermission {
56
56
  containSubGroups: boolean;
57
57
  groups: (AclGroupPermissionItem)[];
58
58
  }
59
- /**
60
- * @public
61
- * @enum
62
- */
63
- export declare const PbxColleagueRole: {
64
- readonly ADMIN: "admin";
65
- readonly FAX: "fax";
66
- readonly PARK_ORBIT: "park_orbit";
67
- readonly ROOM: "room";
68
- readonly USER: "user";
69
- };
70
59
  /**
71
60
  * @public
72
61
  */
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
- officePhone?: string;
81
- mobilePhone?: string;
82
- faxNumber?: string;
83
- email?: string;
84
- role?: PbxColleagueRole;
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 PbxColleague {
77
+ export interface PbxOAuth2Client {
99
78
  id: string;
100
- name?: string;
101
- login?: string;
102
- extension: string;
103
- officePhone?: string;
104
- mobilePhone?: string;
105
- faxNumber?: string;
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;
120
- }
121
- /**
122
- * @public
123
- */
124
- export interface CreatePbxColleagueOutput {
125
- type: string;
126
- result: PbxColleague;
79
+ name: string;
80
+ redirectUri: (string)[];
81
+ secret: string;
82
+ created: number;
83
+ origins: (string)[];
84
+ accessTokenTtl: number;
127
85
  }
128
86
  /**
129
87
  * @public
@@ -137,6 +95,13 @@ export declare const ResponseType: {
137
95
  * @public
138
96
  */
139
97
  export type ResponseType = typeof ResponseType[keyof typeof ResponseType];
98
+ /**
99
+ * @public
100
+ */
101
+ export interface CreatePbxOAuth2ClientOutput {
102
+ type: ResponseType;
103
+ result: PbxOAuth2Client;
104
+ }
140
105
  /**
141
106
  * @public
142
107
  */
@@ -150,40 +115,6 @@ export declare class WmsUnauthorizedException extends __BaseException {
150
115
  */
151
116
  constructor(opts: __ExceptionOptionType<WmsUnauthorizedException, __BaseException>);
152
117
  }
153
- /**
154
- * @public
155
- */
156
- export interface CreatePbxOAuth2ClientInput {
157
- /**
158
- * A name of OAuth2 client.
159
- * @public
160
- */
161
- name: string;
162
- /**
163
- * Array of redirect URLs, allowed for this client.
164
- * @public
165
- */
166
- redirectUri: (string)[];
167
- }
168
- /**
169
- * @public
170
- */
171
- export interface PbxOAuth2Client {
172
- id: string;
173
- name: string;
174
- redirectUri: (string)[];
175
- secret: string;
176
- created: number;
177
- origins: (string)[];
178
- accessTokenTtl: number;
179
- }
180
- /**
181
- * @public
182
- */
183
- export interface CreatePbxOAuth2ClientOutput {
184
- type: ResponseType;
185
- result: PbxOAuth2Client;
186
- }
187
118
  /**
188
119
  * @public
189
120
  */
@@ -205,43 +136,6 @@ export declare class WmsValidationException extends __BaseException {
205
136
  */
206
137
  constructor(opts: __ExceptionOptionType<WmsValidationException, __BaseException>);
207
138
  }
208
- /**
209
- * @public
210
- * @enum
211
- */
212
- export declare const PbxColleaguesDeleteField: {
213
- readonly APPLICATIONS: "applications";
214
- readonly CALLS: "calls";
215
- readonly CALL_GROUP_MEMBER: "callGroupMember";
216
- readonly CHAT_HISTORY: "chatHistory";
217
- readonly DEVICES: "devices";
218
- readonly MISSED_CALL_MANAGER: "missedCallManager";
219
- readonly PAGING_GROUP_MEMBER: "pagingGroupMember";
220
- readonly PERSONAL_DATA: "personalData";
221
- readonly PHONEBOOKS: "phonebooks";
222
- readonly USER: "user";
223
- readonly USER_AVATAR: "userAvatar";
224
- readonly VOICEMAILS: "voicemails";
225
- readonly VOICEMAIL_GREETINGS: "voicemailGreetings";
226
- };
227
- /**
228
- * @public
229
- */
230
- export type PbxColleaguesDeleteField = typeof PbxColleaguesDeleteField[keyof typeof PbxColleaguesDeleteField];
231
- /**
232
- * @public
233
- */
234
- export interface DeletePbxColleagueInput {
235
- colleagueId: number;
236
- data?: (PbxColleaguesDeleteField)[];
237
- }
238
- /**
239
- * @public
240
- */
241
- export interface DeletePbxColleagueOutput {
242
- type?: string;
243
- result?: string;
244
- }
245
139
  /**
246
140
  * @public
247
141
  */
@@ -435,6 +329,47 @@ export interface GetPbxColleaguesInput {
435
329
  dir?: GetPbxColleaguesDir;
436
330
  searchStrategy?: PbxColleaguesSearchStrategy;
437
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];
347
+ /**
348
+ * @public
349
+ */
350
+ export interface PbxColleague {
351
+ id: string;
352
+ name?: string;
353
+ login?: string;
354
+ extension: string;
355
+ officePhone?: string;
356
+ mobilePhone?: string;
357
+ faxNumber?: string;
358
+ email?: string;
359
+ pbxDn: string;
360
+ pbx: string;
361
+ role: PbxColleagueRole;
362
+ groupName: string;
363
+ groupDn: string;
364
+ language: string;
365
+ dialplan: string;
366
+ faxDialplan: string;
367
+ department?: string;
368
+ picture: string;
369
+ sourceId?: string;
370
+ licenseType: PbxLicenseType;
371
+ jid: string;
372
+ }
438
373
  /**
439
374
  * @public
440
375
  */
@@ -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.5",
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.577.0",
26
- "@smithy/config-resolver": "^3.0.0",
27
- "@smithy/core": "^2.0.1",
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.1",
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.0.0",
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.0.1",
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.1",
45
- "@smithy/util-defaults-mode-node": "^3.0.1",
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,99 +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
- * // type: "STRING_VALUE", // required
59
- * // result: { // PbxColleague
60
- * // id: "STRING_VALUE", // required
61
- * // name: "STRING_VALUE",
62
- * // login: "STRING_VALUE",
63
- * // extension: "STRING_VALUE", // required
64
- * // officePhone: "STRING_VALUE",
65
- * // mobilePhone: "STRING_VALUE",
66
- * // faxNumber: "STRING_VALUE",
67
- * // email: "STRING_VALUE",
68
- * // pbxDn: "STRING_VALUE", // required
69
- * // pbx: "STRING_VALUE", // required
70
- * // role: "admin" || "user" || "fax" || "park_orbit" || "room", // required
71
- * // groupName: "STRING_VALUE", // required
72
- * // groupDn: "STRING_VALUE", // required
73
- * // language: "STRING_VALUE", // required
74
- * // dialplan: "STRING_VALUE", // required
75
- * // faxDialplan: "STRING_VALUE", // required
76
- * // department: "STRING_VALUE",
77
- * // picture: "STRING_VALUE", // required
78
- * // sourceId: "STRING_VALUE",
79
- * // licenseType: "basic" || "essential" || "business" || "premium" || "wizyconf", // required
80
- * // jid: "STRING_VALUE", // required
81
- * // },
82
- * // };
83
- *
84
- * ```
85
- *
86
- * @param CreatePbxColleagueCommandInput - {@link CreatePbxColleagueCommandInput}
87
- * @returns {@link CreatePbxColleagueCommandOutput}
88
- * @see {@link CreatePbxColleagueCommandInput} for command's `input` shape.
89
- * @see {@link CreatePbxColleagueCommandOutput} for command's `response` shape.
90
- * @see {@link WmsApiClientResolvedConfig | config} for WmsApiClient's `config` shape.
91
- *
92
- * @throws {@link WmsUnauthorizedException} (client fault)
93
- *
94
- * @throws {@link WmsApiServiceException}
95
- * <p>Base exception class for all service exceptions from WmsApi service.</p>
96
- *
97
- */
98
- export declare class CreatePbxColleagueCommand extends CreatePbxColleagueCommand_base {
99
- }
@@ -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
- }