@wildix/xbees-users-client 1.0.12 → 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.
- package/dist-cjs/Users.js +10 -2
- package/dist-cjs/commands/{BatchGetUsersStreamLinkDataCommand.js → BatchGetUsersCommand.js} +7 -7
- package/dist-cjs/commands/GetUserCommand.js +21 -0
- package/dist-cjs/commands/GetUserPbxLinkDataCommand.js +21 -0
- package/dist-cjs/commands/QueryUserCommand.js +21 -0
- package/dist-cjs/commands/QueryUsersCommand.js +21 -0
- package/dist-cjs/commands/index.js +5 -1
- package/dist-cjs/models/models_0.js +46 -1
- package/dist-cjs/protocols/Aws_restJson1.js +165 -11
- package/dist-es/Users.js +10 -2
- package/dist-es/commands/BatchGetUsersCommand.js +17 -0
- package/dist-es/commands/GetUserCommand.js +17 -0
- package/dist-es/commands/GetUserPbxLinkDataCommand.js +17 -0
- package/dist-es/commands/QueryUserCommand.js +17 -0
- package/dist-es/commands/QueryUsersCommand.js +17 -0
- package/dist-es/commands/index.js +5 -1
- package/dist-es/models/models_0.js +43 -0
- package/dist-es/protocols/Aws_restJson1.js +153 -7
- package/dist-types/Users.d.ts +35 -7
- package/dist-types/UsersClient.d.ts +7 -3
- package/dist-types/commands/BatchGetUsersCommand.d.ts +85 -0
- package/dist-types/commands/BatchGetUsersPbxLinkDataCommand.d.ts +55 -5
- package/dist-types/commands/CreateBotApiKeyCommand.d.ts +2 -1
- package/dist-types/commands/CreateBotCommand.d.ts +2 -1
- package/dist-types/commands/DeleteBotApiKeyCommand.d.ts +2 -1
- package/dist-types/commands/DeleteBotCommand.d.ts +2 -1
- package/dist-types/commands/GetBotCallbackCommand.d.ts +2 -1
- package/dist-types/commands/GetBotCommand.d.ts +2 -1
- package/dist-types/commands/GetUserCommand.d.ts +83 -0
- package/dist-types/commands/GetUserPbxLinkDataCommand.d.ts +120 -0
- package/dist-types/commands/ListBotApiKeysCommand.d.ts +2 -1
- package/dist-types/commands/ListBotsCommand.d.ts +2 -1
- package/dist-types/commands/QueryUserCommand.d.ts +92 -0
- package/dist-types/commands/QueryUsersCommand.d.ts +92 -0
- package/dist-types/commands/UpdateBotCallbackCommand.d.ts +2 -1
- package/dist-types/commands/UpdateBotCommand.d.ts +2 -1
- package/dist-types/commands/UploadPictureCommand.d.ts +2 -1
- package/dist-types/commands/VerifyBotSecretKeyCommand.d.ts +2 -1
- package/dist-types/commands/index.d.ts +5 -1
- package/dist-types/index.d.ts +2 -2
- package/dist-types/models/UsersServiceException.d.ts +2 -1
- package/dist-types/models/models_0.d.ts +435 -22
- package/dist-types/protocols/Aws_restJson1.d.ts +45 -9
- package/package.json +9 -9
- package/dist-es/commands/BatchGetUsersStreamLinkDataCommand.js +0 -17
- package/dist-types/commands/BatchGetUsersStreamLinkDataCommand.d.ts +0 -82
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
import { ServiceInputTypes, ServiceOutputTypes, UsersClientResolvedConfig } from "../UsersClient";
|
|
2
|
-
import { BatchGetUsersStreamLinkDataInput, BatchGetUsersStreamLinkDataOutput } from "../models/models_0";
|
|
3
|
-
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
5
|
-
/**
|
|
6
|
-
* @public
|
|
7
|
-
*/
|
|
8
|
-
export { __MetadataBearer, $Command };
|
|
9
|
-
/**
|
|
10
|
-
* @public
|
|
11
|
-
*
|
|
12
|
-
* The input for {@link BatchGetUsersStreamLinkDataCommand}.
|
|
13
|
-
*/
|
|
14
|
-
export interface BatchGetUsersStreamLinkDataCommandInput extends BatchGetUsersStreamLinkDataInput {
|
|
15
|
-
}
|
|
16
|
-
/**
|
|
17
|
-
* @public
|
|
18
|
-
*
|
|
19
|
-
* The output of {@link BatchGetUsersStreamLinkDataCommand}.
|
|
20
|
-
*/
|
|
21
|
-
export interface BatchGetUsersStreamLinkDataCommandOutput extends BatchGetUsersStreamLinkDataOutput, __MetadataBearer {
|
|
22
|
-
}
|
|
23
|
-
declare const BatchGetUsersStreamLinkDataCommand_base: {
|
|
24
|
-
new (input: BatchGetUsersStreamLinkDataCommandInput): import("@smithy/smithy-client").CommandImpl<BatchGetUsersStreamLinkDataCommandInput, BatchGetUsersStreamLinkDataCommandOutput, UsersClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
-
new (__0_0: BatchGetUsersStreamLinkDataCommandInput): import("@smithy/smithy-client").CommandImpl<BatchGetUsersStreamLinkDataCommandInput, BatchGetUsersStreamLinkDataCommandOutput, UsersClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
27
|
-
};
|
|
28
|
-
/**
|
|
29
|
-
* @public
|
|
30
|
-
*
|
|
31
|
-
* @example
|
|
32
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
-
* ```javascript
|
|
34
|
-
* import { UsersClient, BatchGetUsersStreamLinkDataCommand } from "@wildix/xbees-users-client"; // ES Modules import
|
|
35
|
-
* // const { UsersClient, BatchGetUsersStreamLinkDataCommand } = require("@wildix/xbees-users-client"); // CommonJS import
|
|
36
|
-
* const client = new UsersClient(config);
|
|
37
|
-
* const input = { // BatchGetUsersStreamLinkDataInput
|
|
38
|
-
* id: [ // BatchUsersIdList // required
|
|
39
|
-
* "STRING_VALUE",
|
|
40
|
-
* ],
|
|
41
|
-
* };
|
|
42
|
-
* const command = new BatchGetUsersStreamLinkDataCommand(input);
|
|
43
|
-
* const response = await client.send(command);
|
|
44
|
-
* // { // BatchGetUsersStreamLinkDataOutput
|
|
45
|
-
* // users: { // BatchGetUsersStreamLinkDataResponseMap // required
|
|
46
|
-
* // "<keys>": { // StreamLinkData
|
|
47
|
-
* // id: "STRING_VALUE", // required
|
|
48
|
-
* // email: "STRING_VALUE",
|
|
49
|
-
* // phone: "STRING_VALUE",
|
|
50
|
-
* // name: "STRING_VALUE",
|
|
51
|
-
* // picture: "STRING_VALUE",
|
|
52
|
-
* // company: "STRING_VALUE",
|
|
53
|
-
* // pbxExtension: "STRING_VALUE",
|
|
54
|
-
* // pbxSerial: "STRING_VALUE",
|
|
55
|
-
* // pbxDomain: "STRING_VALUE",
|
|
56
|
-
* // pbxPort: "STRING_VALUE",
|
|
57
|
-
* // pbxUserId: "STRING_VALUE",
|
|
58
|
-
* // pbxUpdatedAt: "STRING_VALUE",
|
|
59
|
-
* // locale: "STRING_VALUE",
|
|
60
|
-
* // timeZone: "STRING_VALUE",
|
|
61
|
-
* // },
|
|
62
|
-
* // },
|
|
63
|
-
* // };
|
|
64
|
-
*
|
|
65
|
-
* ```
|
|
66
|
-
*
|
|
67
|
-
* @param BatchGetUsersStreamLinkDataCommandInput - {@link BatchGetUsersStreamLinkDataCommandInput}
|
|
68
|
-
* @returns {@link BatchGetUsersStreamLinkDataCommandOutput}
|
|
69
|
-
* @see {@link BatchGetUsersStreamLinkDataCommandInput} for command's `input` shape.
|
|
70
|
-
* @see {@link BatchGetUsersStreamLinkDataCommandOutput} for command's `response` shape.
|
|
71
|
-
* @see {@link UsersClientResolvedConfig | config} for UsersClient's `config` shape.
|
|
72
|
-
*
|
|
73
|
-
* @throws {@link ForbiddenException} (client fault)
|
|
74
|
-
*
|
|
75
|
-
* @throws {@link ValidationException} (client fault)
|
|
76
|
-
*
|
|
77
|
-
* @throws {@link UsersServiceException}
|
|
78
|
-
* <p>Base exception class for all service exceptions from Users service.</p>
|
|
79
|
-
*
|
|
80
|
-
*/
|
|
81
|
-
export declare class BatchGetUsersStreamLinkDataCommand extends BatchGetUsersStreamLinkDataCommand_base {
|
|
82
|
-
}
|