@wildix/xbees-users-client 1.0.23 → 1.0.25

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 (47) hide show
  1. package/dist-cjs/Users.js +18 -2
  2. package/dist-cjs/commands/{BatchGetUsersStreamLinkDataCommand.js → BatchGetUsersCommand.js} +7 -7
  3. package/dist-cjs/commands/BatchGetUsersPbxLinkDataV1Command.js +21 -0
  4. package/dist-cjs/commands/GetUserCommand.js +21 -0
  5. package/dist-cjs/commands/GetUserPbxLinkDataCommand.js +21 -0
  6. package/dist-cjs/commands/GetUserPbxLinkSuggestionV1Command.js +21 -0
  7. package/dist-cjs/commands/QueryUserCommand.js +21 -0
  8. package/dist-cjs/commands/QueryUsersCommand.js +21 -0
  9. package/dist-cjs/commands/UploadPictureV1Command.js +21 -0
  10. package/dist-cjs/commands/VerifyBotSecretKeyV1Command.js +21 -0
  11. package/dist-cjs/commands/index.js +9 -1
  12. package/dist-cjs/models/models_0.js +33 -1
  13. package/dist-cjs/protocols/Aws_restJson1.js +269 -10
  14. package/dist-es/Users.js +18 -2
  15. package/dist-es/commands/BatchGetUsersCommand.js +17 -0
  16. package/dist-es/commands/BatchGetUsersPbxLinkDataV1Command.js +17 -0
  17. package/dist-es/commands/GetUserCommand.js +17 -0
  18. package/dist-es/commands/GetUserPbxLinkDataCommand.js +17 -0
  19. package/dist-es/commands/GetUserPbxLinkSuggestionV1Command.js +17 -0
  20. package/dist-es/commands/QueryUserCommand.js +17 -0
  21. package/dist-es/commands/QueryUsersCommand.js +17 -0
  22. package/dist-es/commands/UploadPictureV1Command.js +17 -0
  23. package/dist-es/commands/VerifyBotSecretKeyV1Command.js +17 -0
  24. package/dist-es/commands/index.js +9 -1
  25. package/dist-es/models/models_0.js +31 -0
  26. package/dist-es/protocols/Aws_restJson1.js +248 -5
  27. package/dist-types/Users.d.ts +62 -5
  28. package/dist-types/UsersClient.d.ts +11 -3
  29. package/dist-types/commands/BatchGetUsersCommand.d.ts +85 -0
  30. package/dist-types/commands/BatchGetUsersPbxLinkDataCommand.d.ts +53 -4
  31. package/dist-types/commands/BatchGetUsersPbxLinkDataV1Command.d.ts +122 -0
  32. package/dist-types/commands/GetUserCommand.d.ts +83 -0
  33. package/dist-types/commands/GetUserPbxLinkDataCommand.d.ts +120 -0
  34. package/dist-types/commands/GetUserPbxLinkSuggestionV1Command.d.ts +67 -0
  35. package/dist-types/commands/QueryUserCommand.d.ts +92 -0
  36. package/dist-types/commands/QueryUsersCommand.d.ts +92 -0
  37. package/dist-types/commands/UploadPictureV1Command.d.ts +64 -0
  38. package/dist-types/commands/VerifyBotSecretKeyV1Command.d.ts +68 -0
  39. package/dist-types/commands/index.d.ts +9 -1
  40. package/dist-types/models/models_0.d.ts +536 -60
  41. package/dist-types/protocols/Aws_restJson1.d.ts +77 -5
  42. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  43. package/dist-types/runtimeConfig.d.ts +1 -0
  44. package/dist-types/runtimeConfig.native.d.ts +1 -0
  45. package/package.json +1 -1
  46. package/dist-es/commands/BatchGetUsersStreamLinkDataCommand.js +0 -17
  47. package/dist-types/commands/BatchGetUsersStreamLinkDataCommand.d.ts +0 -83
@@ -36,19 +36,68 @@ declare const BatchGetUsersPbxLinkDataCommand_base: {
36
36
  * // const { UsersClient, BatchGetUsersPbxLinkDataCommand } = require("@wildix/xbees-users-client"); // CommonJS import
37
37
  * const client = new UsersClient(config);
38
38
  * const input = { // BatchGetUsersPbxLinkDataInput
39
- * id: [ // BatchUsersIdList // required
39
+ * id: [ // UsersIdList // required
40
40
  * "STRING_VALUE",
41
41
  * ],
42
42
  * };
43
43
  * const command = new BatchGetUsersPbxLinkDataCommand(input);
44
44
  * const response = await client.send(command);
45
45
  * // { // BatchGetUsersPbxLinkDataOutput
46
- * // users: [ // PbxLinkDataList // required
47
- * // { // PbxLinkData
46
+ * // users: [ // UsersPbxLinkDataList // required
47
+ * // { // UserPbxLinkData
48
48
  * // id: "STRING_VALUE", // required
49
49
  * // company: "STRING_VALUE", // required
50
- * // domain: "STRING_VALUE",
50
+ * // companyName: "STRING_VALUE",
51
+ * // domain: "STRING_VALUE", // required
51
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",
52
101
  * // },
53
102
  * // ],
54
103
  * // };
@@ -0,0 +1,122 @@
1
+ import { ServiceInputTypes, ServiceOutputTypes, UsersClientResolvedConfig } from "../UsersClient";
2
+ import { BatchGetUsersPbxLinkDataV1Input, BatchGetUsersPbxLinkDataV1Output } 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 BatchGetUsersPbxLinkDataV1Command}.
14
+ */
15
+ export interface BatchGetUsersPbxLinkDataV1CommandInput extends BatchGetUsersPbxLinkDataV1Input {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link BatchGetUsersPbxLinkDataV1Command}.
21
+ */
22
+ export interface BatchGetUsersPbxLinkDataV1CommandOutput extends BatchGetUsersPbxLinkDataV1Output, __MetadataBearer {
23
+ }
24
+ declare const BatchGetUsersPbxLinkDataV1Command_base: {
25
+ new (input: BatchGetUsersPbxLinkDataV1CommandInput): import("@smithy/smithy-client").CommandImpl<BatchGetUsersPbxLinkDataV1CommandInput, BatchGetUsersPbxLinkDataV1CommandOutput, UsersClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: BatchGetUsersPbxLinkDataV1CommandInput): import("@smithy/smithy-client").CommandImpl<BatchGetUsersPbxLinkDataV1CommandInput, BatchGetUsersPbxLinkDataV1CommandOutput, 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, BatchGetUsersPbxLinkDataV1Command } from "@wildix/xbees-users-client"; // ES Modules import
36
+ * // const { UsersClient, BatchGetUsersPbxLinkDataV1Command } = require("@wildix/xbees-users-client"); // CommonJS import
37
+ * const client = new UsersClient(config);
38
+ * const input = { // BatchGetUsersPbxLinkDataV1Input
39
+ * id: [ // UsersIdList // required
40
+ * "STRING_VALUE",
41
+ * ],
42
+ * };
43
+ * const command = new BatchGetUsersPbxLinkDataV1Command(input);
44
+ * const response = await client.send(command);
45
+ * // { // BatchGetUsersPbxLinkDataV1Output
46
+ * // users: [ // UsersPbxLinkDataList // required
47
+ * // { // UserPbxLinkData
48
+ * // id: "STRING_VALUE", // required
49
+ * // company: "STRING_VALUE", // required
50
+ * // companyName: "STRING_VALUE",
51
+ * // domain: "STRING_VALUE", // required
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",
101
+ * // },
102
+ * // ],
103
+ * // };
104
+ *
105
+ * ```
106
+ *
107
+ * @param BatchGetUsersPbxLinkDataV1CommandInput - {@link BatchGetUsersPbxLinkDataV1CommandInput}
108
+ * @returns {@link BatchGetUsersPbxLinkDataV1CommandOutput}
109
+ * @see {@link BatchGetUsersPbxLinkDataV1CommandInput} for command's `input` shape.
110
+ * @see {@link BatchGetUsersPbxLinkDataV1CommandOutput} for command's `response` shape.
111
+ * @see {@link UsersClientResolvedConfig | config} for UsersClient's `config` shape.
112
+ *
113
+ * @throws {@link ForbiddenException} (client fault)
114
+ *
115
+ * @throws {@link ValidationException} (client fault)
116
+ *
117
+ * @throws {@link UsersServiceException}
118
+ * <p>Base exception class for all service exceptions from Users service.</p>
119
+ *
120
+ */
121
+ export declare class BatchGetUsersPbxLinkDataV1Command extends BatchGetUsersPbxLinkDataV1Command_base {
122
+ }
@@ -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
+ * userId: "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
+ }
@@ -0,0 +1,67 @@
1
+ import { ServiceInputTypes, ServiceOutputTypes, UsersClientResolvedConfig } from "../UsersClient";
2
+ import { GetUserPbxLinkSuggestionV1Input, GetUserPbxLinkSuggestionV1Output } 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 GetUserPbxLinkSuggestionV1Command}.
14
+ */
15
+ export interface GetUserPbxLinkSuggestionV1CommandInput extends GetUserPbxLinkSuggestionV1Input {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link GetUserPbxLinkSuggestionV1Command}.
21
+ */
22
+ export interface GetUserPbxLinkSuggestionV1CommandOutput extends GetUserPbxLinkSuggestionV1Output, __MetadataBearer {
23
+ }
24
+ declare const GetUserPbxLinkSuggestionV1Command_base: {
25
+ new (input: GetUserPbxLinkSuggestionV1CommandInput): import("@smithy/smithy-client").CommandImpl<GetUserPbxLinkSuggestionV1CommandInput, GetUserPbxLinkSuggestionV1CommandOutput, UsersClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (...[input]: [] | [GetUserPbxLinkSuggestionV1CommandInput]): import("@smithy/smithy-client").CommandImpl<GetUserPbxLinkSuggestionV1CommandInput, GetUserPbxLinkSuggestionV1CommandOutput, 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, GetUserPbxLinkSuggestionV1Command } from "@wildix/xbees-users-client"; // ES Modules import
36
+ * // const { UsersClient, GetUserPbxLinkSuggestionV1Command } = require("@wildix/xbees-users-client"); // CommonJS import
37
+ * const client = new UsersClient(config);
38
+ * const input = { // GetUserPbxLinkSuggestionV1Input
39
+ * email: "STRING_VALUE",
40
+ * };
41
+ * const command = new GetUserPbxLinkSuggestionV1Command(input);
42
+ * const response = await client.send(command);
43
+ * // { // GetUserPbxLinkSuggestionV1Output
44
+ * // suggestion: { // UserPbxLinkSuggestion
45
+ * // domain: "STRING_VALUE", // required
46
+ * // port: "STRING_VALUE", // required
47
+ * // },
48
+ * // };
49
+ *
50
+ * ```
51
+ *
52
+ * @param GetUserPbxLinkSuggestionV1CommandInput - {@link GetUserPbxLinkSuggestionV1CommandInput}
53
+ * @returns {@link GetUserPbxLinkSuggestionV1CommandOutput}
54
+ * @see {@link GetUserPbxLinkSuggestionV1CommandInput} for command's `input` shape.
55
+ * @see {@link GetUserPbxLinkSuggestionV1CommandOutput} for command's `response` shape.
56
+ * @see {@link UsersClientResolvedConfig | config} for UsersClient's `config` shape.
57
+ *
58
+ * @throws {@link ForbiddenException} (client fault)
59
+ *
60
+ * @throws {@link ValidationException} (client fault)
61
+ *
62
+ * @throws {@link UsersServiceException}
63
+ * <p>Base exception class for all service exceptions from Users service.</p>
64
+ *
65
+ */
66
+ export declare class GetUserPbxLinkSuggestionV1Command extends GetUserPbxLinkSuggestionV1Command_base {
67
+ }
@@ -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
+ }
@@ -0,0 +1,92 @@
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
+ }