@wildix/wms-api-client 1.1.11 → 1.1.13
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 +12 -0
- package/dist-cjs/commands/CreatePbxAclGroupCommand.js +21 -0
- package/dist-cjs/commands/CreatePbxColleagueCommand.js +21 -0
- package/dist-cjs/commands/DeletePbxAclGroupCommand.js +21 -0
- package/dist-cjs/commands/DeletePbxColleagueCommand.js +21 -0
- package/dist-cjs/commands/GetColleagueByIdCommand.js +21 -0
- package/dist-cjs/commands/GetPersonalInfoCommand.js +21 -0
- package/dist-cjs/commands/index.js +6 -0
- package/dist-cjs/models/models_0.js +8 -8
- package/dist-cjs/protocols/Aws_restJson1.js +219 -1
- package/dist-es/WmsApi.js +12 -0
- package/dist-es/commands/CreatePbxAclGroupCommand.js +17 -0
- package/dist-es/commands/CreatePbxColleagueCommand.js +17 -0
- package/dist-es/commands/DeletePbxAclGroupCommand.js +17 -0
- package/dist-es/commands/DeletePbxColleagueCommand.js +17 -0
- package/dist-es/commands/GetColleagueByIdCommand.js +17 -0
- package/dist-es/commands/GetPersonalInfoCommand.js +17 -0
- package/dist-es/commands/index.js +6 -0
- package/dist-es/models/models_0.js +7 -7
- package/dist-es/protocols/Aws_restJson1.js +206 -0
- package/dist-types/WmsApi.d.ts +43 -0
- package/dist-types/WmsApiClient.d.ts +8 -2
- package/dist-types/commands/CreatePbxAclGroupCommand.d.ts +86 -0
- package/dist-types/commands/CreatePbxColleagueCommand.d.ts +100 -0
- package/dist-types/commands/DeletePbxAclGroupCommand.d.ts +63 -0
- package/dist-types/commands/DeletePbxColleagueCommand.d.ts +63 -0
- package/dist-types/commands/GetColleagueByIdCommand.d.ts +85 -0
- package/dist-types/commands/GetPersonalInfoCommand.d.ts +124 -0
- package/dist-types/commands/index.d.ts +6 -0
- package/dist-types/models/models_0.d.ts +196 -59
- package/dist-types/protocols/Aws_restJson1.d.ts +54 -0
- 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 +1 -1
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import { ServiceInputTypes, ServiceOutputTypes, WmsApiClientResolvedConfig } from "../WmsApiClient";
|
|
2
|
+
import { DeletePbxAclGroupInput, DeletePbxAclGroupOutput } 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 DeletePbxAclGroupCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DeletePbxAclGroupCommandInput extends DeletePbxAclGroupInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DeletePbxAclGroupCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DeletePbxAclGroupCommandOutput extends DeletePbxAclGroupOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const DeletePbxAclGroupCommand_base: {
|
|
25
|
+
new (input: DeletePbxAclGroupCommandInput): import("@smithy/smithy-client").CommandImpl<DeletePbxAclGroupCommandInput, DeletePbxAclGroupCommandOutput, WmsApiClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: DeletePbxAclGroupCommandInput): import("@smithy/smithy-client").CommandImpl<DeletePbxAclGroupCommandInput, DeletePbxAclGroupCommandOutput, 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, DeletePbxAclGroupCommand } from "@wildix/wms-api-client"; // ES Modules import
|
|
36
|
+
* // const { WmsApiClient, DeletePbxAclGroupCommand } = require("@wildix/wms-api-client"); // CommonJS import
|
|
37
|
+
* const client = new WmsApiClient(config);
|
|
38
|
+
* const input = { // DeletePbxAclGroupInput
|
|
39
|
+
* id: Number("int"), // required
|
|
40
|
+
* };
|
|
41
|
+
* const command = new DeletePbxAclGroupCommand(input);
|
|
42
|
+
* const response = await client.send(command);
|
|
43
|
+
* // { // DeletePbxAclGroupOutput
|
|
44
|
+
* // type: "result" || "error", // required
|
|
45
|
+
* // result: "STRING_VALUE", // required
|
|
46
|
+
* // };
|
|
47
|
+
*
|
|
48
|
+
* ```
|
|
49
|
+
*
|
|
50
|
+
* @param DeletePbxAclGroupCommandInput - {@link DeletePbxAclGroupCommandInput}
|
|
51
|
+
* @returns {@link DeletePbxAclGroupCommandOutput}
|
|
52
|
+
* @see {@link DeletePbxAclGroupCommandInput} for command's `input` shape.
|
|
53
|
+
* @see {@link DeletePbxAclGroupCommandOutput} for command's `response` shape.
|
|
54
|
+
* @see {@link WmsApiClientResolvedConfig | config} for WmsApiClient's `config` shape.
|
|
55
|
+
*
|
|
56
|
+
* @throws {@link WmsUnauthorizedException} (client fault)
|
|
57
|
+
*
|
|
58
|
+
* @throws {@link WmsApiServiceException}
|
|
59
|
+
* <p>Base exception class for all service exceptions from WmsApi service.</p>
|
|
60
|
+
*
|
|
61
|
+
*/
|
|
62
|
+
export declare class DeletePbxAclGroupCommand extends DeletePbxAclGroupCommand_base {
|
|
63
|
+
}
|
|
@@ -0,0 +1,63 @@
|
|
|
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 type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link DeletePbxColleagueCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DeletePbxColleagueCommandInput extends DeletePbxColleagueInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DeletePbxColleagueCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DeletePbxColleagueCommandOutput extends DeletePbxColleagueOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const DeletePbxColleagueCommand_base: {
|
|
25
|
+
new (input: DeletePbxColleagueCommandInput): import("@smithy/smithy-client").CommandImpl<DeletePbxColleagueCommandInput, DeletePbxColleagueCommandOutput, WmsApiClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: DeletePbxColleagueCommandInput): import("@smithy/smithy-client").CommandImpl<DeletePbxColleagueCommandInput, DeletePbxColleagueCommandOutput, 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, DeletePbxColleagueCommand } from "@wildix/wms-api-client"; // ES Modules import
|
|
36
|
+
* // const { WmsApiClient, DeletePbxColleagueCommand } = require("@wildix/wms-api-client"); // CommonJS import
|
|
37
|
+
* const client = new WmsApiClient(config);
|
|
38
|
+
* const input = { // DeletePbxColleagueInput
|
|
39
|
+
* id: Number("int"), // required
|
|
40
|
+
* };
|
|
41
|
+
* const command = new DeletePbxColleagueCommand(input);
|
|
42
|
+
* const response = await client.send(command);
|
|
43
|
+
* // { // DeletePbxColleagueOutput
|
|
44
|
+
* // type: "result" || "error", // required
|
|
45
|
+
* // result: "STRING_VALUE", // required
|
|
46
|
+
* // };
|
|
47
|
+
*
|
|
48
|
+
* ```
|
|
49
|
+
*
|
|
50
|
+
* @param DeletePbxColleagueCommandInput - {@link DeletePbxColleagueCommandInput}
|
|
51
|
+
* @returns {@link DeletePbxColleagueCommandOutput}
|
|
52
|
+
* @see {@link DeletePbxColleagueCommandInput} for command's `input` shape.
|
|
53
|
+
* @see {@link DeletePbxColleagueCommandOutput} for command's `response` shape.
|
|
54
|
+
* @see {@link WmsApiClientResolvedConfig | config} for WmsApiClient's `config` shape.
|
|
55
|
+
*
|
|
56
|
+
* @throws {@link WmsUnauthorizedException} (client fault)
|
|
57
|
+
*
|
|
58
|
+
* @throws {@link WmsApiServiceException}
|
|
59
|
+
* <p>Base exception class for all service exceptions from WmsApi service.</p>
|
|
60
|
+
*
|
|
61
|
+
*/
|
|
62
|
+
export declare class DeletePbxColleagueCommand extends DeletePbxColleagueCommand_base {
|
|
63
|
+
}
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
import { ServiceInputTypes, ServiceOutputTypes, WmsApiClientResolvedConfig } from "../WmsApiClient";
|
|
2
|
+
import { GetColleagueByIdInput, GetColleagueByIdOutput } 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 GetColleagueByIdCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetColleagueByIdCommandInput extends GetColleagueByIdInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetColleagueByIdCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetColleagueByIdCommandOutput extends GetColleagueByIdOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const GetColleagueByIdCommand_base: {
|
|
25
|
+
new (input: GetColleagueByIdCommandInput): import("@smithy/smithy-client").CommandImpl<GetColleagueByIdCommandInput, GetColleagueByIdCommandOutput, WmsApiClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: GetColleagueByIdCommandInput): import("@smithy/smithy-client").CommandImpl<GetColleagueByIdCommandInput, GetColleagueByIdCommandOutput, 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, GetColleagueByIdCommand } from "@wildix/wms-api-client"; // ES Modules import
|
|
36
|
+
* // const { WmsApiClient, GetColleagueByIdCommand } = require("@wildix/wms-api-client"); // CommonJS import
|
|
37
|
+
* const client = new WmsApiClient(config);
|
|
38
|
+
* const input = { // GetColleagueByIdInput
|
|
39
|
+
* id: Number("int"), // required
|
|
40
|
+
* };
|
|
41
|
+
* const command = new GetColleagueByIdCommand(input);
|
|
42
|
+
* const response = await client.send(command);
|
|
43
|
+
* // { // GetColleagueByIdOutput
|
|
44
|
+
* // type: "result" || "error", // required
|
|
45
|
+
* // result: { // PbxColleague
|
|
46
|
+
* // id: "STRING_VALUE", // required
|
|
47
|
+
* // name: "STRING_VALUE",
|
|
48
|
+
* // login: "STRING_VALUE",
|
|
49
|
+
* // extension: "STRING_VALUE", // required
|
|
50
|
+
* // officePhone: "STRING_VALUE",
|
|
51
|
+
* // mobilePhone: "STRING_VALUE",
|
|
52
|
+
* // faxNumber: "STRING_VALUE",
|
|
53
|
+
* // email: "STRING_VALUE",
|
|
54
|
+
* // pbxDn: "STRING_VALUE", // required
|
|
55
|
+
* // pbx: "STRING_VALUE", // required
|
|
56
|
+
* // role: "admin" || "user" || "fax" || "park_orbit" || "room", // required
|
|
57
|
+
* // groupName: "STRING_VALUE", // required
|
|
58
|
+
* // groupDn: "STRING_VALUE", // required
|
|
59
|
+
* // language: "STRING_VALUE", // required
|
|
60
|
+
* // dialplan: "STRING_VALUE", // required
|
|
61
|
+
* // faxDialplan: "STRING_VALUE", // required
|
|
62
|
+
* // department: "STRING_VALUE",
|
|
63
|
+
* // picture: "STRING_VALUE", // required
|
|
64
|
+
* // sourceId: "STRING_VALUE",
|
|
65
|
+
* // licenseType: "basic" || "essential" || "business" || "premium" || "wizyconf", // required
|
|
66
|
+
* // jid: "STRING_VALUE", // required
|
|
67
|
+
* // },
|
|
68
|
+
* // };
|
|
69
|
+
*
|
|
70
|
+
* ```
|
|
71
|
+
*
|
|
72
|
+
* @param GetColleagueByIdCommandInput - {@link GetColleagueByIdCommandInput}
|
|
73
|
+
* @returns {@link GetColleagueByIdCommandOutput}
|
|
74
|
+
* @see {@link GetColleagueByIdCommandInput} for command's `input` shape.
|
|
75
|
+
* @see {@link GetColleagueByIdCommandOutput} for command's `response` shape.
|
|
76
|
+
* @see {@link WmsApiClientResolvedConfig | config} for WmsApiClient's `config` shape.
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link WmsUnauthorizedException} (client fault)
|
|
79
|
+
*
|
|
80
|
+
* @throws {@link WmsApiServiceException}
|
|
81
|
+
* <p>Base exception class for all service exceptions from WmsApi service.</p>
|
|
82
|
+
*
|
|
83
|
+
*/
|
|
84
|
+
export declare class GetColleagueByIdCommand extends GetColleagueByIdCommand_base {
|
|
85
|
+
}
|
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
import { ServiceInputTypes, ServiceOutputTypes, WmsApiClientResolvedConfig } from "../WmsApiClient";
|
|
2
|
+
import { GetPersonalInfoInput, GetPersonalInfoOutput } 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 GetPersonalInfoCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetPersonalInfoCommandInput extends GetPersonalInfoInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetPersonalInfoCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetPersonalInfoCommandOutput extends GetPersonalInfoOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const GetPersonalInfoCommand_base: {
|
|
25
|
+
new (input: GetPersonalInfoCommandInput): import("@smithy/smithy-client").CommandImpl<GetPersonalInfoCommandInput, GetPersonalInfoCommandOutput, WmsApiClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (...[input]: [] | [GetPersonalInfoCommandInput]): import("@smithy/smithy-client").CommandImpl<GetPersonalInfoCommandInput, GetPersonalInfoCommandOutput, 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, GetPersonalInfoCommand } from "@wildix/wms-api-client"; // ES Modules import
|
|
36
|
+
* // const { WmsApiClient, GetPersonalInfoCommand } = require("@wildix/wms-api-client"); // CommonJS import
|
|
37
|
+
* const client = new WmsApiClient(config);
|
|
38
|
+
* const input = { // GetPersonalInfoInput
|
|
39
|
+
* extension: [ // ColleaguesFilterList
|
|
40
|
+
* "STRING_VALUE",
|
|
41
|
+
* ],
|
|
42
|
+
* id: [
|
|
43
|
+
* "STRING_VALUE",
|
|
44
|
+
* ],
|
|
45
|
+
* officePhone: [
|
|
46
|
+
* "STRING_VALUE",
|
|
47
|
+
* ],
|
|
48
|
+
* mobilePhone: [
|
|
49
|
+
* "STRING_VALUE",
|
|
50
|
+
* ],
|
|
51
|
+
* name: [
|
|
52
|
+
* "STRING_VALUE",
|
|
53
|
+
* ],
|
|
54
|
+
* email: "<ColleaguesFilterList>",
|
|
55
|
+
* role: "<ColleaguesFilterList>",
|
|
56
|
+
* dialplan: "<ColleaguesFilterList>",
|
|
57
|
+
* faxDialplan: "<ColleaguesFilterList>",
|
|
58
|
+
* department: "<ColleaguesFilterList>",
|
|
59
|
+
* login: "<ColleaguesFilterList>",
|
|
60
|
+
* groupDn: "<ColleaguesFilterList>",
|
|
61
|
+
* pbxDn: "<ColleaguesFilterList>",
|
|
62
|
+
* licenseType: [ // ColleaguesFilterLicenseTypeList
|
|
63
|
+
* "basic" || "essential" || "business" || "premium" || "wizyconf",
|
|
64
|
+
* ],
|
|
65
|
+
* fields: [ // PbxColleaguesQueryFieldList
|
|
66
|
+
* "extension" || "officePhone" || "mobilePhone" || "name" || "email" || "role" || "groupDn" || "language" || "dialplan" || "faxDialplan" || "department" || "login" || "id" || "pbxDn" || "picture" || "sourceId" || "licenseType",
|
|
67
|
+
* ],
|
|
68
|
+
* searchFields: [
|
|
69
|
+
* "extension" || "officePhone" || "mobilePhone" || "name" || "email" || "role" || "groupDn" || "language" || "dialplan" || "faxDialplan" || "department" || "login" || "id" || "pbxDn" || "picture" || "sourceId" || "licenseType",
|
|
70
|
+
* ],
|
|
71
|
+
* search: "STRING_VALUE",
|
|
72
|
+
* sort: [
|
|
73
|
+
* "extension" || "officePhone" || "mobilePhone" || "name" || "email" || "role" || "groupDn" || "language" || "dialplan" || "faxDialplan" || "department" || "login" || "id" || "pbxDn" || "picture" || "sourceId" || "licenseType",
|
|
74
|
+
* ],
|
|
75
|
+
* start: Number("int"),
|
|
76
|
+
* count: Number("int"),
|
|
77
|
+
* dir: "asc" || "desc",
|
|
78
|
+
* searchStrategy: "contain" || "startsWith",
|
|
79
|
+
* };
|
|
80
|
+
* const command = new GetPersonalInfoCommand(input);
|
|
81
|
+
* const response = await client.send(command);
|
|
82
|
+
* // { // GetPersonalInfoOutput
|
|
83
|
+
* // type: "result" || "error", // required
|
|
84
|
+
* // result: { // PbxColleague
|
|
85
|
+
* // id: "STRING_VALUE", // required
|
|
86
|
+
* // name: "STRING_VALUE",
|
|
87
|
+
* // login: "STRING_VALUE",
|
|
88
|
+
* // extension: "STRING_VALUE", // required
|
|
89
|
+
* // officePhone: "STRING_VALUE",
|
|
90
|
+
* // mobilePhone: "STRING_VALUE",
|
|
91
|
+
* // faxNumber: "STRING_VALUE",
|
|
92
|
+
* // email: "STRING_VALUE",
|
|
93
|
+
* // pbxDn: "STRING_VALUE", // required
|
|
94
|
+
* // pbx: "STRING_VALUE", // required
|
|
95
|
+
* // role: "admin" || "user" || "fax" || "park_orbit" || "room", // required
|
|
96
|
+
* // groupName: "STRING_VALUE", // required
|
|
97
|
+
* // groupDn: "STRING_VALUE", // required
|
|
98
|
+
* // language: "STRING_VALUE", // required
|
|
99
|
+
* // dialplan: "STRING_VALUE", // required
|
|
100
|
+
* // faxDialplan: "STRING_VALUE", // required
|
|
101
|
+
* // department: "STRING_VALUE",
|
|
102
|
+
* // picture: "STRING_VALUE", // required
|
|
103
|
+
* // sourceId: "STRING_VALUE",
|
|
104
|
+
* // licenseType: "basic" || "essential" || "business" || "premium" || "wizyconf", // required
|
|
105
|
+
* // jid: "STRING_VALUE", // required
|
|
106
|
+
* // },
|
|
107
|
+
* // };
|
|
108
|
+
*
|
|
109
|
+
* ```
|
|
110
|
+
*
|
|
111
|
+
* @param GetPersonalInfoCommandInput - {@link GetPersonalInfoCommandInput}
|
|
112
|
+
* @returns {@link GetPersonalInfoCommandOutput}
|
|
113
|
+
* @see {@link GetPersonalInfoCommandInput} for command's `input` shape.
|
|
114
|
+
* @see {@link GetPersonalInfoCommandOutput} for command's `response` shape.
|
|
115
|
+
* @see {@link WmsApiClientResolvedConfig | config} for WmsApiClient's `config` shape.
|
|
116
|
+
*
|
|
117
|
+
* @throws {@link WmsUnauthorizedException} (client fault)
|
|
118
|
+
*
|
|
119
|
+
* @throws {@link WmsApiServiceException}
|
|
120
|
+
* <p>Base exception class for all service exceptions from WmsApi service.</p>
|
|
121
|
+
*
|
|
122
|
+
*/
|
|
123
|
+
export declare class GetPersonalInfoCommand extends GetPersonalInfoCommand_base {
|
|
124
|
+
}
|
|
@@ -1,10 +1,16 @@
|
|
|
1
|
+
export * from "./CreatePbxAclGroupCommand";
|
|
2
|
+
export * from "./CreatePbxColleagueCommand";
|
|
1
3
|
export * from "./CreatePbxOAuth2ClientCommand";
|
|
4
|
+
export * from "./DeletePbxAclGroupCommand";
|
|
5
|
+
export * from "./DeletePbxColleagueCommand";
|
|
2
6
|
export * from "./DeletePbxOAuth2ClientCommand";
|
|
7
|
+
export * from "./GetColleagueByIdCommand";
|
|
3
8
|
export * from "./GetPbxAclGroupsPermissionsCommand";
|
|
4
9
|
export * from "./GetPbxCallGroupsCommand";
|
|
5
10
|
export * from "./GetPbxColleaguesCommand";
|
|
6
11
|
export * from "./GetPbxesCommand";
|
|
7
12
|
export * from "./GetPbxOAuth2ClientsCommand";
|
|
13
|
+
export * from "./GetPersonalInfoCommand";
|
|
8
14
|
export * from "./NotificationsCommand";
|
|
9
15
|
export * from "./OriginateCommand";
|
|
10
16
|
export * from "./OriginateCallCommand";
|
|
@@ -59,29 +59,31 @@ export interface AclGroupPermission {
|
|
|
59
59
|
/**
|
|
60
60
|
* @public
|
|
61
61
|
*/
|
|
62
|
-
export interface
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
62
|
+
export interface AclGroupRule {
|
|
63
|
+
ability?: AclGroupPermissionAbility;
|
|
64
|
+
group?: string;
|
|
65
|
+
rule?: string;
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* @public
|
|
69
|
+
*/
|
|
70
|
+
export interface CreatePbxAclGroupInput {
|
|
67
71
|
name: string;
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
*/
|
|
72
|
-
redirectUri: (string)[];
|
|
72
|
+
inherits?: string;
|
|
73
|
+
wcgrp?: string;
|
|
74
|
+
rules: (AclGroupRule)[];
|
|
73
75
|
}
|
|
74
76
|
/**
|
|
75
77
|
* @public
|
|
76
78
|
*/
|
|
77
|
-
export interface
|
|
79
|
+
export interface CreatePbxAclGroupResult {
|
|
78
80
|
id: string;
|
|
79
81
|
name: string;
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
82
|
+
dn: string;
|
|
83
|
+
wcgrp: string;
|
|
84
|
+
inherits: string;
|
|
85
|
+
rules: (AclGroupRule)[];
|
|
86
|
+
adminRules: string;
|
|
85
87
|
}
|
|
86
88
|
/**
|
|
87
89
|
* @public
|
|
@@ -98,9 +100,9 @@ export type ResponseType = typeof ResponseType[keyof typeof ResponseType];
|
|
|
98
100
|
/**
|
|
99
101
|
* @public
|
|
100
102
|
*/
|
|
101
|
-
export interface
|
|
103
|
+
export interface CreatePbxAclGroupOutput {
|
|
102
104
|
type: ResponseType;
|
|
103
|
-
result:
|
|
105
|
+
result: CreatePbxAclGroupResult;
|
|
104
106
|
}
|
|
105
107
|
/**
|
|
106
108
|
* @public
|
|
@@ -115,6 +117,109 @@ export declare class WmsUnauthorizedException extends __BaseException {
|
|
|
115
117
|
*/
|
|
116
118
|
constructor(opts: __ExceptionOptionType<WmsUnauthorizedException, __BaseException>);
|
|
117
119
|
}
|
|
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
|
+
}
|
|
118
223
|
/**
|
|
119
224
|
* @public
|
|
120
225
|
*/
|
|
@@ -136,6 +241,32 @@ export declare class WmsValidationException extends __BaseException {
|
|
|
136
241
|
*/
|
|
137
242
|
constructor(opts: __ExceptionOptionType<WmsValidationException, __BaseException>);
|
|
138
243
|
}
|
|
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
|
+
}
|
|
139
270
|
/**
|
|
140
271
|
* @public
|
|
141
272
|
*/
|
|
@@ -166,6 +297,19 @@ export declare class WmsNotFoundException extends __BaseException {
|
|
|
166
297
|
*/
|
|
167
298
|
constructor(opts: __ExceptionOptionType<WmsNotFoundException, __BaseException>);
|
|
168
299
|
}
|
|
300
|
+
/**
|
|
301
|
+
* @public
|
|
302
|
+
*/
|
|
303
|
+
export interface GetColleagueByIdInput {
|
|
304
|
+
id: number;
|
|
305
|
+
}
|
|
306
|
+
/**
|
|
307
|
+
* @public
|
|
308
|
+
*/
|
|
309
|
+
export interface GetColleagueByIdOutput {
|
|
310
|
+
type: ResponseType;
|
|
311
|
+
result: PbxColleague;
|
|
312
|
+
}
|
|
169
313
|
/**
|
|
170
314
|
* @public
|
|
171
315
|
*/
|
|
@@ -329,47 +473,6 @@ export interface GetPbxColleaguesInput {
|
|
|
329
473
|
dir?: GetPbxColleaguesDir;
|
|
330
474
|
searchStrategy?: PbxColleaguesSearchStrategy;
|
|
331
475
|
}
|
|
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
|
-
}
|
|
373
476
|
/**
|
|
374
477
|
* @public
|
|
375
478
|
*/
|
|
@@ -434,6 +537,40 @@ export interface GetPbxOAuth2ClientsOutput {
|
|
|
434
537
|
type: ResponseType;
|
|
435
538
|
result: GetPbxOAuth2ClientsResult;
|
|
436
539
|
}
|
|
540
|
+
/**
|
|
541
|
+
* @public
|
|
542
|
+
*/
|
|
543
|
+
export interface GetPersonalInfoInput {
|
|
544
|
+
extension?: (string)[];
|
|
545
|
+
id?: (string)[];
|
|
546
|
+
officePhone?: (string)[];
|
|
547
|
+
mobilePhone?: (string)[];
|
|
548
|
+
name?: (string)[];
|
|
549
|
+
email?: (string)[];
|
|
550
|
+
role?: (string)[];
|
|
551
|
+
dialplan?: (string)[];
|
|
552
|
+
faxDialplan?: (string)[];
|
|
553
|
+
department?: (string)[];
|
|
554
|
+
login?: (string)[];
|
|
555
|
+
groupDn?: (string)[];
|
|
556
|
+
pbxDn?: (string)[];
|
|
557
|
+
licenseType?: (PbxLicenseType)[];
|
|
558
|
+
fields?: (PbxColleaguesQueryField)[];
|
|
559
|
+
searchFields?: (PbxColleaguesQueryField)[];
|
|
560
|
+
search?: string;
|
|
561
|
+
sort?: (PbxColleaguesQueryField)[];
|
|
562
|
+
start?: number;
|
|
563
|
+
count?: number;
|
|
564
|
+
dir?: GetPbxColleaguesDir;
|
|
565
|
+
searchStrategy?: PbxColleaguesSearchStrategy;
|
|
566
|
+
}
|
|
567
|
+
/**
|
|
568
|
+
* @public
|
|
569
|
+
*/
|
|
570
|
+
export interface GetPersonalInfoOutput {
|
|
571
|
+
type: ResponseType;
|
|
572
|
+
result: PbxColleague;
|
|
573
|
+
}
|
|
437
574
|
/**
|
|
438
575
|
* @public
|
|
439
576
|
*/
|