@wildix/xbees-users-client 1.0.11 → 1.0.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (46) hide show
  1. package/dist-cjs/Users.js +10 -2
  2. package/dist-cjs/commands/{BatchGetUsersStreamLinkDataCommand.js → BatchGetUsersCommand.js} +7 -7
  3. package/dist-cjs/commands/GetUserCommand.js +21 -0
  4. package/dist-cjs/commands/GetUserPbxLinkDataCommand.js +21 -0
  5. package/dist-cjs/commands/QueryUserCommand.js +21 -0
  6. package/dist-cjs/commands/QueryUsersCommand.js +21 -0
  7. package/dist-cjs/commands/index.js +5 -1
  8. package/dist-cjs/models/models_0.js +46 -1
  9. package/dist-cjs/protocols/Aws_restJson1.js +233 -15
  10. package/dist-es/Users.js +10 -2
  11. package/dist-es/commands/BatchGetUsersCommand.js +17 -0
  12. package/dist-es/commands/GetUserCommand.js +17 -0
  13. package/dist-es/commands/GetUserPbxLinkDataCommand.js +17 -0
  14. package/dist-es/commands/QueryUserCommand.js +17 -0
  15. package/dist-es/commands/QueryUsersCommand.js +17 -0
  16. package/dist-es/commands/index.js +5 -1
  17. package/dist-es/models/models_0.js +43 -0
  18. package/dist-es/protocols/Aws_restJson1.js +222 -12
  19. package/dist-types/Users.d.ts +35 -7
  20. package/dist-types/UsersClient.d.ts +7 -3
  21. package/dist-types/commands/BatchGetUsersCommand.d.ts +85 -0
  22. package/dist-types/commands/BatchGetUsersPbxLinkDataCommand.d.ts +55 -5
  23. package/dist-types/commands/CreateBotApiKeyCommand.d.ts +2 -1
  24. package/dist-types/commands/CreateBotCommand.d.ts +4 -5
  25. package/dist-types/commands/DeleteBotApiKeyCommand.d.ts +2 -1
  26. package/dist-types/commands/DeleteBotCommand.d.ts +2 -1
  27. package/dist-types/commands/GetBotCallbackCommand.d.ts +4 -5
  28. package/dist-types/commands/GetBotCommand.d.ts +2 -1
  29. package/dist-types/commands/GetUserCommand.d.ts +83 -0
  30. package/dist-types/commands/GetUserPbxLinkDataCommand.d.ts +120 -0
  31. package/dist-types/commands/ListBotApiKeysCommand.d.ts +2 -1
  32. package/dist-types/commands/ListBotsCommand.d.ts +2 -1
  33. package/dist-types/commands/QueryUserCommand.d.ts +92 -0
  34. package/dist-types/commands/QueryUsersCommand.d.ts +92 -0
  35. package/dist-types/commands/UpdateBotCallbackCommand.d.ts +6 -9
  36. package/dist-types/commands/UpdateBotCommand.d.ts +2 -1
  37. package/dist-types/commands/UploadPictureCommand.d.ts +2 -1
  38. package/dist-types/commands/VerifyBotSecretKeyCommand.d.ts +2 -1
  39. package/dist-types/commands/index.d.ts +5 -1
  40. package/dist-types/index.d.ts +2 -2
  41. package/dist-types/models/UsersServiceException.d.ts +2 -1
  42. package/dist-types/models/models_0.d.ts +439 -35
  43. package/dist-types/protocols/Aws_restJson1.d.ts +45 -9
  44. package/package.json +9 -9
  45. package/dist-es/commands/BatchGetUsersStreamLinkDataCommand.js +0 -17
  46. package/dist-types/commands/BatchGetUsersStreamLinkDataCommand.d.ts +0 -82
@@ -0,0 +1,85 @@
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
+ }
@@ -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
  *
@@ -35,19 +36,68 @@ declare const BatchGetUsersPbxLinkDataCommand_base: {
35
36
  * // const { UsersClient, BatchGetUsersPbxLinkDataCommand } = require("@wildix/xbees-users-client"); // CommonJS import
36
37
  * const client = new UsersClient(config);
37
38
  * const input = { // BatchGetUsersPbxLinkDataInput
38
- * id: [ // BatchUsersIdList // required
39
+ * id: [ // UsersIdList // required
39
40
  * "STRING_VALUE",
40
41
  * ],
41
42
  * };
42
43
  * const command = new BatchGetUsersPbxLinkDataCommand(input);
43
44
  * const response = await client.send(command);
44
45
  * // { // BatchGetUsersPbxLinkDataOutput
45
- * // users: [ // PbxLinkDataList // required
46
- * // { // PbxLinkData
46
+ * // users: [ // UsersPbxLinkDataList // required
47
+ * // { // UserPbxLinkData
47
48
  * // id: "STRING_VALUE", // required
48
49
  * // company: "STRING_VALUE", // required
49
- * // domain: "STRING_VALUE",
50
+ * // companyName: "STRING_VALUE",
51
+ * // domain: "STRING_VALUE", // required
50
52
  * // email: "STRING_VALUE",
53
+ * // info: { // UserPersonalInfo
54
+ * // dn: "STRING_VALUE", // required
55
+ * // id: "STRING_VALUE", // required
56
+ * // name: "STRING_VALUE", // required
57
+ * // extension: "STRING_VALUE", // required
58
+ * // officePhone: "STRING_VALUE",
59
+ * // mobilePhone: "STRING_VALUE",
60
+ * // faxNumber: "STRING_VALUE",
61
+ * // email: "STRING_VALUE",
62
+ * // role: "STRING_VALUE", // required
63
+ * // language: "STRING_VALUE", // required
64
+ * // dialplan: "STRING_VALUE", // required
65
+ * // faxDialplan: "STRING_VALUE", // required
66
+ * // departament: "STRING_VALUE",
67
+ * // picture: "STRING_VALUE", // required
68
+ * // groupDn: "STRING_VALUE", // required
69
+ * // groupName: "STRING_VALUE", // required
70
+ * // jid: "STRING_VALUE", // required
71
+ * // licenseType: "basic" || "essential" || "business" || "premium" || "wizyconf", // required
72
+ * // login: "STRING_VALUE",
73
+ * // pbx: "STRING_VALUE",
74
+ * // pbxDn: "STRING_VALUE", // required
75
+ * // sourceId: "STRING_VALUE",
76
+ * // sipPassword: "STRING_VALUE",
77
+ * // },
78
+ * // pbx: { // UserPbxInfo
79
+ * // networkAddresses: [ // UserPbxInfoNetworkAddresses // required
80
+ * // "STRING_VALUE",
81
+ * // ],
82
+ * // ports: [ // UserPbxInfoPorts // required
83
+ * // "STRING_VALUE",
84
+ * // ],
85
+ * // externalLinePrefix: "STRING_VALUE",
86
+ * // version: "STRING_VALUE", // required
87
+ * // serial: "STRING_VALUE", // required
88
+ * // },
89
+ * // picture: "STRING_VALUE", // required
90
+ * // pictureDeleted: true || false,
91
+ * // port: "STRING_VALUE", // required
92
+ * // serial: "STRING_VALUE", // required
93
+ * // services: { // UserPbxServices
94
+ * // xcaracal: true || false,
95
+ * // wizyWebinar: true || false,
96
+ * // },
97
+ * // personalSettings: {},
98
+ * // dialplanSettings: {},
99
+ * // awsRegion: "STRING_VALUE",
100
+ * // updatedAt: "STRING_VALUE",
51
101
  * // },
52
102
  * // ],
53
103
  * // };
@@ -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
  *
@@ -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
  *
@@ -42,12 +43,10 @@ declare const CreateBotCommand_base: {
42
43
  * callback: { // BotCallback
43
44
  * endpoint: { // BotEndpoint Union: only one key present
44
45
  * dialogflowCx: { // BotDialogflowCxEndpoint
45
- * projectId: "STRING_VALUE", // required
46
- * agentId: "STRING_VALUE", // required
46
+ * credentials: "DOCUMENT_VALUE", // required
47
+ * agent: "STRING_VALUE", // required
47
48
  * location: "STRING_VALUE", // required
48
49
  * language: "STRING_VALUE", // required
49
- * privateKey: "STRING_VALUE", // required
50
- * clientEmail: "STRING_VALUE",
51
50
  * },
52
51
  * openAiAssistant: { // BotOpenAiAssistantEndpoint
53
52
  * key: "STRING_VALUE", // required
@@ -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
  *
@@ -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
  *
@@ -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
  *
@@ -44,12 +45,10 @@ declare const GetBotCallbackCommand_base: {
44
45
  * // callback: { // BotCallback
45
46
  * // endpoint: { // BotEndpoint Union: only one key present
46
47
  * // dialogflowCx: { // BotDialogflowCxEndpoint
47
- * // projectId: "STRING_VALUE", // required
48
- * // agentId: "STRING_VALUE", // required
48
+ * // credentials: "DOCUMENT_VALUE", // required
49
+ * // agent: "STRING_VALUE", // required
49
50
  * // location: "STRING_VALUE", // required
50
51
  * // language: "STRING_VALUE", // required
51
- * // privateKey: "STRING_VALUE", // required
52
- * // clientEmail: "STRING_VALUE",
53
52
  * // },
54
53
  * // openAiAssistant: { // BotOpenAiAssistantEndpoint
55
54
  * // key: "STRING_VALUE", // required
@@ -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
  *
@@ -0,0 +1,83 @@
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
+ }
@@ -0,0 +1,120 @@
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
+ }
@@ -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
  *
@@ -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
  *
@@ -0,0 +1,92 @@
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
+ }