@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.
- package/dist-cjs/Users.js +18 -2
- package/dist-cjs/commands/{BatchGetUsersStreamLinkDataCommand.js → BatchGetUsersCommand.js} +7 -7
- package/dist-cjs/commands/BatchGetUsersPbxLinkDataV1Command.js +21 -0
- package/dist-cjs/commands/GetUserCommand.js +21 -0
- package/dist-cjs/commands/GetUserPbxLinkDataCommand.js +21 -0
- package/dist-cjs/commands/GetUserPbxLinkSuggestionV1Command.js +21 -0
- package/dist-cjs/commands/QueryUserCommand.js +21 -0
- package/dist-cjs/commands/QueryUsersCommand.js +21 -0
- package/dist-cjs/commands/UploadPictureV1Command.js +21 -0
- package/dist-cjs/commands/VerifyBotSecretKeyV1Command.js +21 -0
- package/dist-cjs/commands/index.js +9 -1
- package/dist-cjs/models/models_0.js +33 -1
- package/dist-cjs/protocols/Aws_restJson1.js +269 -10
- package/dist-es/Users.js +18 -2
- package/dist-es/commands/BatchGetUsersCommand.js +17 -0
- package/dist-es/commands/BatchGetUsersPbxLinkDataV1Command.js +17 -0
- package/dist-es/commands/GetUserCommand.js +17 -0
- package/dist-es/commands/GetUserPbxLinkDataCommand.js +17 -0
- package/dist-es/commands/GetUserPbxLinkSuggestionV1Command.js +17 -0
- package/dist-es/commands/QueryUserCommand.js +17 -0
- package/dist-es/commands/QueryUsersCommand.js +17 -0
- package/dist-es/commands/UploadPictureV1Command.js +17 -0
- package/dist-es/commands/VerifyBotSecretKeyV1Command.js +17 -0
- package/dist-es/commands/index.js +9 -1
- package/dist-es/models/models_0.js +31 -0
- package/dist-es/protocols/Aws_restJson1.js +248 -5
- package/dist-types/Users.d.ts +62 -5
- package/dist-types/UsersClient.d.ts +11 -3
- package/dist-types/commands/BatchGetUsersCommand.d.ts +85 -0
- package/dist-types/commands/BatchGetUsersPbxLinkDataCommand.d.ts +53 -4
- package/dist-types/commands/BatchGetUsersPbxLinkDataV1Command.d.ts +122 -0
- package/dist-types/commands/GetUserCommand.d.ts +83 -0
- package/dist-types/commands/GetUserPbxLinkDataCommand.d.ts +120 -0
- package/dist-types/commands/GetUserPbxLinkSuggestionV1Command.d.ts +67 -0
- package/dist-types/commands/QueryUserCommand.d.ts +92 -0
- package/dist-types/commands/QueryUsersCommand.d.ts +92 -0
- package/dist-types/commands/UploadPictureV1Command.d.ts +64 -0
- package/dist-types/commands/VerifyBotSecretKeyV1Command.d.ts +68 -0
- package/dist-types/commands/index.d.ts +9 -1
- package/dist-types/models/models_0.d.ts +536 -60
- package/dist-types/protocols/Aws_restJson1.d.ts +77 -5
- 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-es/commands/BatchGetUsersStreamLinkDataCommand.js +0 -17
- package/dist-types/commands/BatchGetUsersStreamLinkDataCommand.d.ts +0 -83
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { ServiceInputTypes, ServiceOutputTypes, UsersClientResolvedConfig } from "../UsersClient";
|
|
2
|
+
import { UploadPictureV1Input, UploadPictureV1Output } 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 UploadPictureV1Command}.
|
|
14
|
+
*/
|
|
15
|
+
export interface UploadPictureV1CommandInput extends UploadPictureV1Input {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link UploadPictureV1Command}.
|
|
21
|
+
*/
|
|
22
|
+
export interface UploadPictureV1CommandOutput extends UploadPictureV1Output, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const UploadPictureV1Command_base: {
|
|
25
|
+
new (input: UploadPictureV1CommandInput): import("@smithy/smithy-client").CommandImpl<UploadPictureV1CommandInput, UploadPictureV1CommandOutput, UsersClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: UploadPictureV1CommandInput): import("@smithy/smithy-client").CommandImpl<UploadPictureV1CommandInput, UploadPictureV1CommandOutput, 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, UploadPictureV1Command } from "@wildix/xbees-users-client"; // ES Modules import
|
|
36
|
+
* // const { UsersClient, UploadPictureV1Command } = require("@wildix/xbees-users-client"); // CommonJS import
|
|
37
|
+
* const client = new UsersClient(config);
|
|
38
|
+
* const input = { // UploadPictureV1Input
|
|
39
|
+
* picture: "STRING_VALUE", // required
|
|
40
|
+
* };
|
|
41
|
+
* const command = new UploadPictureV1Command(input);
|
|
42
|
+
* const response = await client.send(command);
|
|
43
|
+
* // { // UploadPictureV1Output
|
|
44
|
+
* // url: "STRING_VALUE", // required
|
|
45
|
+
* // };
|
|
46
|
+
*
|
|
47
|
+
* ```
|
|
48
|
+
*
|
|
49
|
+
* @param UploadPictureV1CommandInput - {@link UploadPictureV1CommandInput}
|
|
50
|
+
* @returns {@link UploadPictureV1CommandOutput}
|
|
51
|
+
* @see {@link UploadPictureV1CommandInput} for command's `input` shape.
|
|
52
|
+
* @see {@link UploadPictureV1CommandOutput} for command's `response` shape.
|
|
53
|
+
* @see {@link UsersClientResolvedConfig | config} for UsersClient's `config` shape.
|
|
54
|
+
*
|
|
55
|
+
* @throws {@link ForbiddenException} (client fault)
|
|
56
|
+
*
|
|
57
|
+
* @throws {@link ValidationException} (client fault)
|
|
58
|
+
*
|
|
59
|
+
* @throws {@link UsersServiceException}
|
|
60
|
+
* <p>Base exception class for all service exceptions from Users service.</p>
|
|
61
|
+
*
|
|
62
|
+
*/
|
|
63
|
+
export declare class UploadPictureV1Command extends UploadPictureV1Command_base {
|
|
64
|
+
}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import { ServiceInputTypes, ServiceOutputTypes, UsersClientResolvedConfig } from "../UsersClient";
|
|
2
|
+
import { VerifyBotSecretKeyV1Input, VerifyBotSecretKeyV1Output } 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 VerifyBotSecretKeyV1Command}.
|
|
14
|
+
*/
|
|
15
|
+
export interface VerifyBotSecretKeyV1CommandInput extends VerifyBotSecretKeyV1Input {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link VerifyBotSecretKeyV1Command}.
|
|
21
|
+
*/
|
|
22
|
+
export interface VerifyBotSecretKeyV1CommandOutput extends VerifyBotSecretKeyV1Output, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const VerifyBotSecretKeyV1Command_base: {
|
|
25
|
+
new (input: VerifyBotSecretKeyV1CommandInput): import("@smithy/smithy-client").CommandImpl<VerifyBotSecretKeyV1CommandInput, VerifyBotSecretKeyV1CommandOutput, UsersClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: VerifyBotSecretKeyV1CommandInput): import("@smithy/smithy-client").CommandImpl<VerifyBotSecretKeyV1CommandInput, VerifyBotSecretKeyV1CommandOutput, 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, VerifyBotSecretKeyV1Command } from "@wildix/xbees-users-client"; // ES Modules import
|
|
36
|
+
* // const { UsersClient, VerifyBotSecretKeyV1Command } = require("@wildix/xbees-users-client"); // CommonJS import
|
|
37
|
+
* const client = new UsersClient(config);
|
|
38
|
+
* const input = { // VerifyBotSecretKeyV1Input
|
|
39
|
+
* secret: "STRING_VALUE", // required
|
|
40
|
+
* };
|
|
41
|
+
* const command = new VerifyBotSecretKeyV1Command(input);
|
|
42
|
+
* const response = await client.send(command);
|
|
43
|
+
* // { // VerifyBotSecretKeyV1Output
|
|
44
|
+
* // company: "STRING_VALUE", // required
|
|
45
|
+
* // id: "STRING_VALUE", // required
|
|
46
|
+
* // name: "STRING_VALUE",
|
|
47
|
+
* // };
|
|
48
|
+
*
|
|
49
|
+
* ```
|
|
50
|
+
*
|
|
51
|
+
* @param VerifyBotSecretKeyV1CommandInput - {@link VerifyBotSecretKeyV1CommandInput}
|
|
52
|
+
* @returns {@link VerifyBotSecretKeyV1CommandOutput}
|
|
53
|
+
* @see {@link VerifyBotSecretKeyV1CommandInput} for command's `input` shape.
|
|
54
|
+
* @see {@link VerifyBotSecretKeyV1CommandOutput} for command's `response` shape.
|
|
55
|
+
* @see {@link UsersClientResolvedConfig | config} for UsersClient's `config` shape.
|
|
56
|
+
*
|
|
57
|
+
* @throws {@link BotSecretKeyNotValidException} (client fault)
|
|
58
|
+
*
|
|
59
|
+
* @throws {@link ForbiddenException} (client fault)
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link ValidationException} (client fault)
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link UsersServiceException}
|
|
64
|
+
* <p>Base exception class for all service exceptions from Users service.</p>
|
|
65
|
+
*
|
|
66
|
+
*/
|
|
67
|
+
export declare class VerifyBotSecretKeyV1Command extends VerifyBotSecretKeyV1Command_base {
|
|
68
|
+
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
export * from "./BatchGetUsersCommand";
|
|
1
2
|
export * from "./BatchGetUsersPbxLinkDataCommand";
|
|
2
|
-
export * from "./
|
|
3
|
+
export * from "./BatchGetUsersPbxLinkDataV1Command";
|
|
3
4
|
export * from "./ChangeUserEmailCommand";
|
|
4
5
|
export * from "./CreateBotCommand";
|
|
5
6
|
export * from "./CreateBotApiKeyCommand";
|
|
@@ -7,10 +8,17 @@ export * from "./DeleteBotCommand";
|
|
|
7
8
|
export * from "./DeleteBotApiKeyCommand";
|
|
8
9
|
export * from "./GetBotCommand";
|
|
9
10
|
export * from "./GetBotCallbackCommand";
|
|
11
|
+
export * from "./GetUserCommand";
|
|
12
|
+
export * from "./GetUserPbxLinkDataCommand";
|
|
10
13
|
export * from "./GetUserPbxLinkSuggestionCommand";
|
|
14
|
+
export * from "./GetUserPbxLinkSuggestionV1Command";
|
|
11
15
|
export * from "./ListBotApiKeysCommand";
|
|
12
16
|
export * from "./ListBotsCommand";
|
|
17
|
+
export * from "./QueryUserCommand";
|
|
18
|
+
export * from "./QueryUsersCommand";
|
|
13
19
|
export * from "./UpdateBotCommand";
|
|
14
20
|
export * from "./UpdateBotCallbackCommand";
|
|
15
21
|
export * from "./UploadPictureCommand";
|
|
22
|
+
export * from "./UploadPictureV1Command";
|
|
16
23
|
export * from "./VerifyBotSecretKeyCommand";
|
|
24
|
+
export * from "./VerifyBotSecretKeyV1Command";
|