@wildix/xbees-users-client 1.0.15 → 1.0.17
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/Users.js +4 -10
- package/dist-cjs/UsersClient.js +7 -2
- package/dist-cjs/commands/{GetUserCommand.js → BatchGetUsersStreamLinkDataCommand.js} +7 -7
- package/dist-cjs/commands/{BatchGetUsersCommand.js → GetUserPbxLinkSuggestionCommand.js} +7 -7
- package/dist-cjs/commands/index.js +2 -5
- package/dist-cjs/models/models_0.js +1 -46
- package/dist-cjs/protocols/Aws_restJson1.js +18 -141
- package/dist-es/Users.js +4 -10
- package/dist-es/UsersClient.js +7 -2
- package/dist-es/commands/BatchGetUsersStreamLinkDataCommand.js +17 -0
- package/dist-es/commands/GetUserPbxLinkSuggestionCommand.js +17 -0
- package/dist-es/commands/index.js +2 -5
- package/dist-es/models/models_0.js +0 -43
- package/dist-es/protocols/Aws_restJson1.js +12 -129
- package/dist-types/Users.d.ts +13 -33
- package/dist-types/UsersClient.d.ts +7 -9
- package/dist-types/commands/BatchGetUsersPbxLinkDataCommand.d.ts +4 -53
- package/dist-types/commands/BatchGetUsersStreamLinkDataCommand.d.ts +83 -0
- package/dist-types/commands/GetUserPbxLinkSuggestionCommand.d.ts +67 -0
- package/dist-types/commands/index.d.ts +2 -5
- package/dist-types/models/models_0.d.ts +40 -418
- package/dist-types/protocols/Aws_restJson1.d.ts +14 -41
- 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
- package/dist-cjs/commands/GetUserPbxLinkDataCommand.js +0 -21
- package/dist-cjs/commands/QueryUserCommand.js +0 -21
- package/dist-cjs/commands/QueryUsersCommand.js +0 -21
- package/dist-es/commands/BatchGetUsersCommand.js +0 -17
- package/dist-es/commands/GetUserCommand.js +0 -17
- package/dist-es/commands/GetUserPbxLinkDataCommand.js +0 -17
- package/dist-es/commands/QueryUserCommand.js +0 -17
- package/dist-es/commands/QueryUsersCommand.js +0 -17
- package/dist-types/commands/BatchGetUsersCommand.d.ts +0 -85
- package/dist-types/commands/GetUserCommand.d.ts +0 -83
- package/dist-types/commands/GetUserPbxLinkDataCommand.d.ts +0 -120
- package/dist-types/commands/QueryUserCommand.d.ts +0 -92
- package/dist-types/commands/QueryUsersCommand.d.ts +0 -92
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.GetUserPbxLinkDataCommand = 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 GetUserPbxLinkDataCommand 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("Users", "GetUserPbxLinkData", {})
|
|
15
|
-
.n("UsersClient", "GetUserPbxLinkDataCommand")
|
|
16
|
-
.f(void 0, void 0)
|
|
17
|
-
.ser(Aws_restJson1_1.se_GetUserPbxLinkDataCommand)
|
|
18
|
-
.de(Aws_restJson1_1.de_GetUserPbxLinkDataCommand)
|
|
19
|
-
.build() {
|
|
20
|
-
}
|
|
21
|
-
exports.GetUserPbxLinkDataCommand = GetUserPbxLinkDataCommand;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.QueryUserCommand = 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 QueryUserCommand 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("Users", "QueryUser", {})
|
|
15
|
-
.n("UsersClient", "QueryUserCommand")
|
|
16
|
-
.f(void 0, void 0)
|
|
17
|
-
.ser(Aws_restJson1_1.se_QueryUserCommand)
|
|
18
|
-
.de(Aws_restJson1_1.de_QueryUserCommand)
|
|
19
|
-
.build() {
|
|
20
|
-
}
|
|
21
|
-
exports.QueryUserCommand = QueryUserCommand;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.QueryUsersCommand = 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 QueryUsersCommand 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("Users", "QueryUsers", {})
|
|
15
|
-
.n("UsersClient", "QueryUsersCommand")
|
|
16
|
-
.f(void 0, void 0)
|
|
17
|
-
.ser(Aws_restJson1_1.se_QueryUsersCommand)
|
|
18
|
-
.de(Aws_restJson1_1.de_QueryUsersCommand)
|
|
19
|
-
.build() {
|
|
20
|
-
}
|
|
21
|
-
exports.QueryUsersCommand = QueryUsersCommand;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { de_BatchGetUsersCommand, se_BatchGetUsersCommand, } 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 BatchGetUsersCommand extends $Command.classBuilder()
|
|
6
|
-
.m(function (Command, cs, config, o) {
|
|
7
|
-
return [
|
|
8
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
9
|
-
];
|
|
10
|
-
})
|
|
11
|
-
.s("Users", "BatchGetUsers", {})
|
|
12
|
-
.n("UsersClient", "BatchGetUsersCommand")
|
|
13
|
-
.f(void 0, void 0)
|
|
14
|
-
.ser(se_BatchGetUsersCommand)
|
|
15
|
-
.de(de_BatchGetUsersCommand)
|
|
16
|
-
.build() {
|
|
17
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { de_GetUserCommand, se_GetUserCommand, } 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 GetUserCommand extends $Command.classBuilder()
|
|
6
|
-
.m(function (Command, cs, config, o) {
|
|
7
|
-
return [
|
|
8
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
9
|
-
];
|
|
10
|
-
})
|
|
11
|
-
.s("Users", "GetUser", {})
|
|
12
|
-
.n("UsersClient", "GetUserCommand")
|
|
13
|
-
.f(void 0, void 0)
|
|
14
|
-
.ser(se_GetUserCommand)
|
|
15
|
-
.de(de_GetUserCommand)
|
|
16
|
-
.build() {
|
|
17
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { de_GetUserPbxLinkDataCommand, se_GetUserPbxLinkDataCommand, } 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 GetUserPbxLinkDataCommand extends $Command.classBuilder()
|
|
6
|
-
.m(function (Command, cs, config, o) {
|
|
7
|
-
return [
|
|
8
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
9
|
-
];
|
|
10
|
-
})
|
|
11
|
-
.s("Users", "GetUserPbxLinkData", {})
|
|
12
|
-
.n("UsersClient", "GetUserPbxLinkDataCommand")
|
|
13
|
-
.f(void 0, void 0)
|
|
14
|
-
.ser(se_GetUserPbxLinkDataCommand)
|
|
15
|
-
.de(de_GetUserPbxLinkDataCommand)
|
|
16
|
-
.build() {
|
|
17
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { de_QueryUserCommand, se_QueryUserCommand, } 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 QueryUserCommand extends $Command.classBuilder()
|
|
6
|
-
.m(function (Command, cs, config, o) {
|
|
7
|
-
return [
|
|
8
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
9
|
-
];
|
|
10
|
-
})
|
|
11
|
-
.s("Users", "QueryUser", {})
|
|
12
|
-
.n("UsersClient", "QueryUserCommand")
|
|
13
|
-
.f(void 0, void 0)
|
|
14
|
-
.ser(se_QueryUserCommand)
|
|
15
|
-
.de(de_QueryUserCommand)
|
|
16
|
-
.build() {
|
|
17
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { de_QueryUsersCommand, se_QueryUsersCommand, } 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 QueryUsersCommand extends $Command.classBuilder()
|
|
6
|
-
.m(function (Command, cs, config, o) {
|
|
7
|
-
return [
|
|
8
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
9
|
-
];
|
|
10
|
-
})
|
|
11
|
-
.s("Users", "QueryUsers", {})
|
|
12
|
-
.n("UsersClient", "QueryUsersCommand")
|
|
13
|
-
.f(void 0, void 0)
|
|
14
|
-
.ser(se_QueryUsersCommand)
|
|
15
|
-
.de(de_QueryUsersCommand)
|
|
16
|
-
.build() {
|
|
17
|
-
}
|
|
@@ -1,85 +0,0 @@
|
|
|
1
|
-
import { ServiceInputTypes, ServiceOutputTypes, UsersClientResolvedConfig } from "../UsersClient";
|
|
2
|
-
import { BatchGetUsersInput, BatchGetUsersOutput } 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 BatchGetUsersCommand}.
|
|
14
|
-
*/
|
|
15
|
-
export interface BatchGetUsersCommandInput extends BatchGetUsersInput {
|
|
16
|
-
}
|
|
17
|
-
/**
|
|
18
|
-
* @public
|
|
19
|
-
*
|
|
20
|
-
* The output of {@link BatchGetUsersCommand}.
|
|
21
|
-
*/
|
|
22
|
-
export interface BatchGetUsersCommandOutput extends BatchGetUsersOutput, __MetadataBearer {
|
|
23
|
-
}
|
|
24
|
-
declare const BatchGetUsersCommand_base: {
|
|
25
|
-
new (input: BatchGetUsersCommandInput): import("@smithy/smithy-client").CommandImpl<BatchGetUsersCommandInput, BatchGetUsersCommandOutput, UsersClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (__0_0: BatchGetUsersCommandInput): import("@smithy/smithy-client").CommandImpl<BatchGetUsersCommandInput, BatchGetUsersCommandOutput, UsersClientResolvedConfig, 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 { UsersClient, BatchGetUsersCommand } from "@wildix/xbees-users-client"; // ES Modules import
|
|
36
|
-
* // const { UsersClient, BatchGetUsersCommand } = require("@wildix/xbees-users-client"); // CommonJS import
|
|
37
|
-
* const client = new UsersClient(config);
|
|
38
|
-
* const input = { // BatchGetUsersInput
|
|
39
|
-
* id: [ // UsersIdList // required
|
|
40
|
-
* "STRING_VALUE",
|
|
41
|
-
* ],
|
|
42
|
-
* };
|
|
43
|
-
* const command = new BatchGetUsersCommand(input);
|
|
44
|
-
* const response = await client.send(command);
|
|
45
|
-
* // { // BatchGetUsersOutput
|
|
46
|
-
* // users: [ // UsersList // required
|
|
47
|
-
* // { // User
|
|
48
|
-
* // id: "STRING_VALUE", // required
|
|
49
|
-
* // name: "STRING_VALUE",
|
|
50
|
-
* // email: "STRING_VALUE",
|
|
51
|
-
* // phone: "STRING_VALUE",
|
|
52
|
-
* // picture: "STRING_VALUE",
|
|
53
|
-
* // locale: "STRING_VALUE",
|
|
54
|
-
* // timeZone: "STRING_VALUE",
|
|
55
|
-
* // company: "STRING_VALUE",
|
|
56
|
-
* // bot: true || false,
|
|
57
|
-
* // pbxDomain: "STRING_VALUE",
|
|
58
|
-
* // pbxPort: "STRING_VALUE",
|
|
59
|
-
* // pbxExtension: "STRING_VALUE",
|
|
60
|
-
* // pbxSerial: "STRING_VALUE",
|
|
61
|
-
* // pbxUserId: "STRING_VALUE",
|
|
62
|
-
* // createdAt: "STRING_VALUE",
|
|
63
|
-
* // updatedAt: "STRING_VALUE",
|
|
64
|
-
* // },
|
|
65
|
-
* // ],
|
|
66
|
-
* // };
|
|
67
|
-
*
|
|
68
|
-
* ```
|
|
69
|
-
*
|
|
70
|
-
* @param BatchGetUsersCommandInput - {@link BatchGetUsersCommandInput}
|
|
71
|
-
* @returns {@link BatchGetUsersCommandOutput}
|
|
72
|
-
* @see {@link BatchGetUsersCommandInput} for command's `input` shape.
|
|
73
|
-
* @see {@link BatchGetUsersCommandOutput} for command's `response` shape.
|
|
74
|
-
* @see {@link UsersClientResolvedConfig | config} for UsersClient's `config` shape.
|
|
75
|
-
*
|
|
76
|
-
* @throws {@link ForbiddenException} (client fault)
|
|
77
|
-
*
|
|
78
|
-
* @throws {@link ValidationException} (client fault)
|
|
79
|
-
*
|
|
80
|
-
* @throws {@link UsersServiceException}
|
|
81
|
-
* <p>Base exception class for all service exceptions from Users service.</p>
|
|
82
|
-
*
|
|
83
|
-
*/
|
|
84
|
-
export declare class BatchGetUsersCommand extends BatchGetUsersCommand_base {
|
|
85
|
-
}
|
|
@@ -1,83 +0,0 @@
|
|
|
1
|
-
import { ServiceInputTypes, ServiceOutputTypes, UsersClientResolvedConfig } from "../UsersClient";
|
|
2
|
-
import { GetUserInput, GetUserOutput } 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 GetUserCommand}.
|
|
14
|
-
*/
|
|
15
|
-
export interface GetUserCommandInput extends GetUserInput {
|
|
16
|
-
}
|
|
17
|
-
/**
|
|
18
|
-
* @public
|
|
19
|
-
*
|
|
20
|
-
* The output of {@link GetUserCommand}.
|
|
21
|
-
*/
|
|
22
|
-
export interface GetUserCommandOutput extends GetUserOutput, __MetadataBearer {
|
|
23
|
-
}
|
|
24
|
-
declare const GetUserCommand_base: {
|
|
25
|
-
new (input: GetUserCommandInput): import("@smithy/smithy-client").CommandImpl<GetUserCommandInput, GetUserCommandOutput, UsersClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (__0_0: GetUserCommandInput): import("@smithy/smithy-client").CommandImpl<GetUserCommandInput, GetUserCommandOutput, UsersClientResolvedConfig, 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 { UsersClient, GetUserCommand } from "@wildix/xbees-users-client"; // ES Modules import
|
|
36
|
-
* // const { UsersClient, GetUserCommand } = require("@wildix/xbees-users-client"); // CommonJS import
|
|
37
|
-
* const client = new UsersClient(config);
|
|
38
|
-
* const input = { // GetUserInput
|
|
39
|
-
* userId: "STRING_VALUE", // required
|
|
40
|
-
* };
|
|
41
|
-
* const command = new GetUserCommand(input);
|
|
42
|
-
* const response = await client.send(command);
|
|
43
|
-
* // { // GetUserOutput
|
|
44
|
-
* // user: { // User
|
|
45
|
-
* // id: "STRING_VALUE", // required
|
|
46
|
-
* // name: "STRING_VALUE",
|
|
47
|
-
* // email: "STRING_VALUE",
|
|
48
|
-
* // phone: "STRING_VALUE",
|
|
49
|
-
* // picture: "STRING_VALUE",
|
|
50
|
-
* // locale: "STRING_VALUE",
|
|
51
|
-
* // timeZone: "STRING_VALUE",
|
|
52
|
-
* // company: "STRING_VALUE",
|
|
53
|
-
* // bot: true || false,
|
|
54
|
-
* // pbxDomain: "STRING_VALUE",
|
|
55
|
-
* // pbxPort: "STRING_VALUE",
|
|
56
|
-
* // pbxExtension: "STRING_VALUE",
|
|
57
|
-
* // pbxSerial: "STRING_VALUE",
|
|
58
|
-
* // pbxUserId: "STRING_VALUE",
|
|
59
|
-
* // createdAt: "STRING_VALUE",
|
|
60
|
-
* // updatedAt: "STRING_VALUE",
|
|
61
|
-
* // },
|
|
62
|
-
* // };
|
|
63
|
-
*
|
|
64
|
-
* ```
|
|
65
|
-
*
|
|
66
|
-
* @param GetUserCommandInput - {@link GetUserCommandInput}
|
|
67
|
-
* @returns {@link GetUserCommandOutput}
|
|
68
|
-
* @see {@link GetUserCommandInput} for command's `input` shape.
|
|
69
|
-
* @see {@link GetUserCommandOutput} for command's `response` shape.
|
|
70
|
-
* @see {@link UsersClientResolvedConfig | config} for UsersClient's `config` shape.
|
|
71
|
-
*
|
|
72
|
-
* @throws {@link UserNotFoundException} (client fault)
|
|
73
|
-
*
|
|
74
|
-
* @throws {@link ForbiddenException} (client fault)
|
|
75
|
-
*
|
|
76
|
-
* @throws {@link ValidationException} (client fault)
|
|
77
|
-
*
|
|
78
|
-
* @throws {@link UsersServiceException}
|
|
79
|
-
* <p>Base exception class for all service exceptions from Users service.</p>
|
|
80
|
-
*
|
|
81
|
-
*/
|
|
82
|
-
export declare class GetUserCommand extends GetUserCommand_base {
|
|
83
|
-
}
|
|
@@ -1,120 +0,0 @@
|
|
|
1
|
-
import { ServiceInputTypes, ServiceOutputTypes, UsersClientResolvedConfig } from "../UsersClient";
|
|
2
|
-
import { GetUserPbxLinkDataInput, GetUserPbxLinkDataOutput } 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 GetUserPbxLinkDataCommand}.
|
|
14
|
-
*/
|
|
15
|
-
export interface GetUserPbxLinkDataCommandInput extends GetUserPbxLinkDataInput {
|
|
16
|
-
}
|
|
17
|
-
/**
|
|
18
|
-
* @public
|
|
19
|
-
*
|
|
20
|
-
* The output of {@link GetUserPbxLinkDataCommand}.
|
|
21
|
-
*/
|
|
22
|
-
export interface GetUserPbxLinkDataCommandOutput extends GetUserPbxLinkDataOutput, __MetadataBearer {
|
|
23
|
-
}
|
|
24
|
-
declare const GetUserPbxLinkDataCommand_base: {
|
|
25
|
-
new (input: GetUserPbxLinkDataCommandInput): import("@smithy/smithy-client").CommandImpl<GetUserPbxLinkDataCommandInput, GetUserPbxLinkDataCommandOutput, UsersClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (__0_0: GetUserPbxLinkDataCommandInput): import("@smithy/smithy-client").CommandImpl<GetUserPbxLinkDataCommandInput, GetUserPbxLinkDataCommandOutput, UsersClientResolvedConfig, 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 { UsersClient, GetUserPbxLinkDataCommand } from "@wildix/xbees-users-client"; // ES Modules import
|
|
36
|
-
* // const { UsersClient, GetUserPbxLinkDataCommand } = require("@wildix/xbees-users-client"); // CommonJS import
|
|
37
|
-
* const client = new UsersClient(config);
|
|
38
|
-
* const input = { // GetUserPbxLinkDataInput
|
|
39
|
-
* id: "STRING_VALUE", // required
|
|
40
|
-
* };
|
|
41
|
-
* const command = new GetUserPbxLinkDataCommand(input);
|
|
42
|
-
* const response = await client.send(command);
|
|
43
|
-
* // { // GetUserPbxLinkDataOutput
|
|
44
|
-
* // user: { // UserPbxLinkData
|
|
45
|
-
* // id: "STRING_VALUE", // required
|
|
46
|
-
* // company: "STRING_VALUE", // required
|
|
47
|
-
* // companyName: "STRING_VALUE",
|
|
48
|
-
* // domain: "STRING_VALUE", // required
|
|
49
|
-
* // email: "STRING_VALUE",
|
|
50
|
-
* // info: { // UserPersonalInfo
|
|
51
|
-
* // dn: "STRING_VALUE", // required
|
|
52
|
-
* // id: "STRING_VALUE", // required
|
|
53
|
-
* // name: "STRING_VALUE", // required
|
|
54
|
-
* // extension: "STRING_VALUE", // required
|
|
55
|
-
* // officePhone: "STRING_VALUE",
|
|
56
|
-
* // mobilePhone: "STRING_VALUE",
|
|
57
|
-
* // faxNumber: "STRING_VALUE",
|
|
58
|
-
* // email: "STRING_VALUE",
|
|
59
|
-
* // role: "STRING_VALUE", // required
|
|
60
|
-
* // language: "STRING_VALUE", // required
|
|
61
|
-
* // dialplan: "STRING_VALUE", // required
|
|
62
|
-
* // faxDialplan: "STRING_VALUE", // required
|
|
63
|
-
* // departament: "STRING_VALUE",
|
|
64
|
-
* // picture: "STRING_VALUE", // required
|
|
65
|
-
* // groupDn: "STRING_VALUE", // required
|
|
66
|
-
* // groupName: "STRING_VALUE", // required
|
|
67
|
-
* // jid: "STRING_VALUE", // required
|
|
68
|
-
* // licenseType: "basic" || "essential" || "business" || "premium" || "wizyconf", // required
|
|
69
|
-
* // login: "STRING_VALUE",
|
|
70
|
-
* // pbx: "STRING_VALUE",
|
|
71
|
-
* // pbxDn: "STRING_VALUE", // required
|
|
72
|
-
* // sourceId: "STRING_VALUE",
|
|
73
|
-
* // sipPassword: "STRING_VALUE",
|
|
74
|
-
* // },
|
|
75
|
-
* // pbx: { // UserPbxInfo
|
|
76
|
-
* // networkAddresses: [ // UserPbxInfoNetworkAddresses // required
|
|
77
|
-
* // "STRING_VALUE",
|
|
78
|
-
* // ],
|
|
79
|
-
* // ports: [ // UserPbxInfoPorts // required
|
|
80
|
-
* // "STRING_VALUE",
|
|
81
|
-
* // ],
|
|
82
|
-
* // externalLinePrefix: "STRING_VALUE",
|
|
83
|
-
* // version: "STRING_VALUE", // required
|
|
84
|
-
* // serial: "STRING_VALUE", // required
|
|
85
|
-
* // },
|
|
86
|
-
* // picture: "STRING_VALUE", // required
|
|
87
|
-
* // pictureDeleted: true || false,
|
|
88
|
-
* // port: "STRING_VALUE", // required
|
|
89
|
-
* // serial: "STRING_VALUE", // required
|
|
90
|
-
* // services: { // UserPbxServices
|
|
91
|
-
* // xcaracal: true || false,
|
|
92
|
-
* // wizyWebinar: true || false,
|
|
93
|
-
* // },
|
|
94
|
-
* // personalSettings: {},
|
|
95
|
-
* // dialplanSettings: {},
|
|
96
|
-
* // awsRegion: "STRING_VALUE",
|
|
97
|
-
* // updatedAt: "STRING_VALUE",
|
|
98
|
-
* // },
|
|
99
|
-
* // };
|
|
100
|
-
*
|
|
101
|
-
* ```
|
|
102
|
-
*
|
|
103
|
-
* @param GetUserPbxLinkDataCommandInput - {@link GetUserPbxLinkDataCommandInput}
|
|
104
|
-
* @returns {@link GetUserPbxLinkDataCommandOutput}
|
|
105
|
-
* @see {@link GetUserPbxLinkDataCommandInput} for command's `input` shape.
|
|
106
|
-
* @see {@link GetUserPbxLinkDataCommandOutput} for command's `response` shape.
|
|
107
|
-
* @see {@link UsersClientResolvedConfig | config} for UsersClient's `config` shape.
|
|
108
|
-
*
|
|
109
|
-
* @throws {@link UserNotFoundException} (client fault)
|
|
110
|
-
*
|
|
111
|
-
* @throws {@link ForbiddenException} (client fault)
|
|
112
|
-
*
|
|
113
|
-
* @throws {@link ValidationException} (client fault)
|
|
114
|
-
*
|
|
115
|
-
* @throws {@link UsersServiceException}
|
|
116
|
-
* <p>Base exception class for all service exceptions from Users service.</p>
|
|
117
|
-
*
|
|
118
|
-
*/
|
|
119
|
-
export declare class GetUserPbxLinkDataCommand extends GetUserPbxLinkDataCommand_base {
|
|
120
|
-
}
|
|
@@ -1,92 +0,0 @@
|
|
|
1
|
-
import { ServiceInputTypes, ServiceOutputTypes, UsersClientResolvedConfig } from "../UsersClient";
|
|
2
|
-
import { QueryUserInput, QueryUserOutput } 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 QueryUserCommand}.
|
|
14
|
-
*/
|
|
15
|
-
export interface QueryUserCommandInput extends QueryUserInput {
|
|
16
|
-
}
|
|
17
|
-
/**
|
|
18
|
-
* @public
|
|
19
|
-
*
|
|
20
|
-
* The output of {@link QueryUserCommand}.
|
|
21
|
-
*/
|
|
22
|
-
export interface QueryUserCommandOutput extends QueryUserOutput, __MetadataBearer {
|
|
23
|
-
}
|
|
24
|
-
declare const QueryUserCommand_base: {
|
|
25
|
-
new (input: QueryUserCommandInput): import("@smithy/smithy-client").CommandImpl<QueryUserCommandInput, QueryUserCommandOutput, UsersClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (__0_0: QueryUserCommandInput): import("@smithy/smithy-client").CommandImpl<QueryUserCommandInput, QueryUserCommandOutput, UsersClientResolvedConfig, 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 { UsersClient, QueryUserCommand } from "@wildix/xbees-users-client"; // ES Modules import
|
|
36
|
-
* // const { UsersClient, QueryUserCommand } = require("@wildix/xbees-users-client"); // CommonJS import
|
|
37
|
-
* const client = new UsersClient(config);
|
|
38
|
-
* const input = { // QueryUserInput
|
|
39
|
-
* query: { // UserQuery Union: only one key present
|
|
40
|
-
* id: "STRING_VALUE",
|
|
41
|
-
* email: "STRING_VALUE",
|
|
42
|
-
* phone: "STRING_VALUE",
|
|
43
|
-
* },
|
|
44
|
-
* predicate: { // UserQueryPredicate
|
|
45
|
-
* license: "basic" || "essential" || "business" || "premium" || "wizyconf",
|
|
46
|
-
* },
|
|
47
|
-
* };
|
|
48
|
-
* const command = new QueryUserCommand(input);
|
|
49
|
-
* const response = await client.send(command);
|
|
50
|
-
* // { // QueryUserOutput
|
|
51
|
-
* // user: { // User
|
|
52
|
-
* // id: "STRING_VALUE", // required
|
|
53
|
-
* // name: "STRING_VALUE",
|
|
54
|
-
* // email: "STRING_VALUE",
|
|
55
|
-
* // phone: "STRING_VALUE",
|
|
56
|
-
* // picture: "STRING_VALUE",
|
|
57
|
-
* // locale: "STRING_VALUE",
|
|
58
|
-
* // timeZone: "STRING_VALUE",
|
|
59
|
-
* // company: "STRING_VALUE",
|
|
60
|
-
* // bot: true || false,
|
|
61
|
-
* // pbxDomain: "STRING_VALUE",
|
|
62
|
-
* // pbxPort: "STRING_VALUE",
|
|
63
|
-
* // pbxExtension: "STRING_VALUE",
|
|
64
|
-
* // pbxSerial: "STRING_VALUE",
|
|
65
|
-
* // pbxUserId: "STRING_VALUE",
|
|
66
|
-
* // createdAt: "STRING_VALUE",
|
|
67
|
-
* // updatedAt: "STRING_VALUE",
|
|
68
|
-
* // },
|
|
69
|
-
* // };
|
|
70
|
-
*
|
|
71
|
-
* ```
|
|
72
|
-
*
|
|
73
|
-
* @param QueryUserCommandInput - {@link QueryUserCommandInput}
|
|
74
|
-
* @returns {@link QueryUserCommandOutput}
|
|
75
|
-
* @see {@link QueryUserCommandInput} for command's `input` shape.
|
|
76
|
-
* @see {@link QueryUserCommandOutput} for command's `response` shape.
|
|
77
|
-
* @see {@link UsersClientResolvedConfig | config} for UsersClient's `config` shape.
|
|
78
|
-
*
|
|
79
|
-
* @throws {@link UserNotFoundException} (client fault)
|
|
80
|
-
*
|
|
81
|
-
* @throws {@link UserQueryPredicateNotMetException} (client fault)
|
|
82
|
-
*
|
|
83
|
-
* @throws {@link ForbiddenException} (client fault)
|
|
84
|
-
*
|
|
85
|
-
* @throws {@link ValidationException} (client fault)
|
|
86
|
-
*
|
|
87
|
-
* @throws {@link UsersServiceException}
|
|
88
|
-
* <p>Base exception class for all service exceptions from Users service.</p>
|
|
89
|
-
*
|
|
90
|
-
*/
|
|
91
|
-
export declare class QueryUserCommand extends QueryUserCommand_base {
|
|
92
|
-
}
|
|
@@ -1,92 +0,0 @@
|
|
|
1
|
-
import { ServiceInputTypes, ServiceOutputTypes, UsersClientResolvedConfig } from "../UsersClient";
|
|
2
|
-
import { QueryUsersInput, QueryUsersOutput } 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 QueryUsersCommand}.
|
|
14
|
-
*/
|
|
15
|
-
export interface QueryUsersCommandInput extends QueryUsersInput {
|
|
16
|
-
}
|
|
17
|
-
/**
|
|
18
|
-
* @public
|
|
19
|
-
*
|
|
20
|
-
* The output of {@link QueryUsersCommand}.
|
|
21
|
-
*/
|
|
22
|
-
export interface QueryUsersCommandOutput extends QueryUsersOutput, __MetadataBearer {
|
|
23
|
-
}
|
|
24
|
-
declare const QueryUsersCommand_base: {
|
|
25
|
-
new (input: QueryUsersCommandInput): import("@smithy/smithy-client").CommandImpl<QueryUsersCommandInput, QueryUsersCommandOutput, UsersClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (__0_0: QueryUsersCommandInput): import("@smithy/smithy-client").CommandImpl<QueryUsersCommandInput, QueryUsersCommandOutput, UsersClientResolvedConfig, 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 { UsersClient, QueryUsersCommand } from "@wildix/xbees-users-client"; // ES Modules import
|
|
36
|
-
* // const { UsersClient, QueryUsersCommand } = require("@wildix/xbees-users-client"); // CommonJS import
|
|
37
|
-
* const client = new UsersClient(config);
|
|
38
|
-
* const input = { // QueryUsersInput
|
|
39
|
-
* queries: [ // UsersQueryList // required
|
|
40
|
-
* { // UserQuery Union: only one key present
|
|
41
|
-
* id: "STRING_VALUE",
|
|
42
|
-
* email: "STRING_VALUE",
|
|
43
|
-
* phone: "STRING_VALUE",
|
|
44
|
-
* },
|
|
45
|
-
* ],
|
|
46
|
-
* predicate: { // UserQueryPredicate
|
|
47
|
-
* license: "basic" || "essential" || "business" || "premium" || "wizyconf",
|
|
48
|
-
* },
|
|
49
|
-
* };
|
|
50
|
-
* const command = new QueryUsersCommand(input);
|
|
51
|
-
* const response = await client.send(command);
|
|
52
|
-
* // { // QueryUsersOutput
|
|
53
|
-
* // users: [ // UsersList // required
|
|
54
|
-
* // { // User
|
|
55
|
-
* // id: "STRING_VALUE", // required
|
|
56
|
-
* // name: "STRING_VALUE",
|
|
57
|
-
* // email: "STRING_VALUE",
|
|
58
|
-
* // phone: "STRING_VALUE",
|
|
59
|
-
* // picture: "STRING_VALUE",
|
|
60
|
-
* // locale: "STRING_VALUE",
|
|
61
|
-
* // timeZone: "STRING_VALUE",
|
|
62
|
-
* // company: "STRING_VALUE",
|
|
63
|
-
* // bot: true || false,
|
|
64
|
-
* // pbxDomain: "STRING_VALUE",
|
|
65
|
-
* // pbxPort: "STRING_VALUE",
|
|
66
|
-
* // pbxExtension: "STRING_VALUE",
|
|
67
|
-
* // pbxSerial: "STRING_VALUE",
|
|
68
|
-
* // pbxUserId: "STRING_VALUE",
|
|
69
|
-
* // createdAt: "STRING_VALUE",
|
|
70
|
-
* // updatedAt: "STRING_VALUE",
|
|
71
|
-
* // },
|
|
72
|
-
* // ],
|
|
73
|
-
* // };
|
|
74
|
-
*
|
|
75
|
-
* ```
|
|
76
|
-
*
|
|
77
|
-
* @param QueryUsersCommandInput - {@link QueryUsersCommandInput}
|
|
78
|
-
* @returns {@link QueryUsersCommandOutput}
|
|
79
|
-
* @see {@link QueryUsersCommandInput} for command's `input` shape.
|
|
80
|
-
* @see {@link QueryUsersCommandOutput} for command's `response` shape.
|
|
81
|
-
* @see {@link UsersClientResolvedConfig | config} for UsersClient's `config` shape.
|
|
82
|
-
*
|
|
83
|
-
* @throws {@link ForbiddenException} (client fault)
|
|
84
|
-
*
|
|
85
|
-
* @throws {@link ValidationException} (client fault)
|
|
86
|
-
*
|
|
87
|
-
* @throws {@link UsersServiceException}
|
|
88
|
-
* <p>Base exception class for all service exceptions from Users service.</p>
|
|
89
|
-
*
|
|
90
|
-
*/
|
|
91
|
-
export declare class QueryUsersCommand extends QueryUsersCommand_base {
|
|
92
|
-
}
|