@wildix/xbees-users-client 1.0.1 → 1.0.3

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 (44) hide show
  1. package/dist-cjs/Users.js +16 -0
  2. package/dist-cjs/commands/CreateBotApiKeyCommand.js +41 -0
  3. package/dist-cjs/commands/CreateBotCommand.js +41 -0
  4. package/dist-cjs/commands/DeleteBotApiKeyCommand.js +41 -0
  5. package/dist-cjs/commands/DeleteBotCommand.js +41 -0
  6. package/dist-cjs/commands/ListBotApiKeysCommand.js +41 -0
  7. package/dist-cjs/commands/ListBotsCommand.js +41 -0
  8. package/dist-cjs/commands/UpdateBotCommand.js +41 -0
  9. package/dist-cjs/commands/VerifyBotSecretKeyCommand.js +41 -0
  10. package/dist-cjs/commands/index.js +8 -0
  11. package/dist-cjs/models/models_0.js +63 -1
  12. package/dist-cjs/protocols/Aws_restJson1.js +548 -1
  13. package/dist-es/Users.js +16 -0
  14. package/dist-es/commands/CreateBotApiKeyCommand.js +37 -0
  15. package/dist-es/commands/CreateBotCommand.js +37 -0
  16. package/dist-es/commands/DeleteBotApiKeyCommand.js +37 -0
  17. package/dist-es/commands/DeleteBotCommand.js +37 -0
  18. package/dist-es/commands/ListBotApiKeysCommand.js +37 -0
  19. package/dist-es/commands/ListBotsCommand.js +37 -0
  20. package/dist-es/commands/UpdateBotCommand.js +37 -0
  21. package/dist-es/commands/VerifyBotSecretKeyCommand.js +37 -0
  22. package/dist-es/commands/index.js +8 -0
  23. package/dist-es/models/models_0.js +58 -0
  24. package/dist-es/protocols/Aws_restJson1.js +533 -2
  25. package/dist-types/Users.d.ts +56 -0
  26. package/dist-types/UsersClient.d.ts +10 -2
  27. package/dist-types/commands/BatchGetUsersPbxLinkDataCommand.d.ts +2 -0
  28. package/dist-types/commands/BatchGetUsersStreamLinkDataCommand.d.ts +2 -0
  29. package/dist-types/commands/CreateBotApiKeyCommand.d.ts +113 -0
  30. package/dist-types/commands/CreateBotCommand.d.ts +132 -0
  31. package/dist-types/commands/DeleteBotApiKeyCommand.d.ts +79 -0
  32. package/dist-types/commands/DeleteBotCommand.d.ts +76 -0
  33. package/dist-types/commands/ListBotApiKeysCommand.d.ts +82 -0
  34. package/dist-types/commands/ListBotsCommand.d.ts +108 -0
  35. package/dist-types/commands/UpdateBotCommand.d.ts +133 -0
  36. package/dist-types/commands/VerifyBotSecretKeyCommand.d.ts +79 -0
  37. package/dist-types/commands/index.d.ts +8 -0
  38. package/dist-types/models/models_0.d.ts +247 -0
  39. package/dist-types/protocols/Aws_restJson1.d.ts +72 -0
  40. package/dist-types/runtimeConfig.browser.d.ts +3 -3
  41. package/dist-types/runtimeConfig.d.ts +3 -3
  42. package/dist-types/runtimeConfig.native.d.ts +3 -3
  43. package/dist-types/runtimeConfig.shared.d.ts +2 -2
  44. package/package.json +2 -2
@@ -65,6 +65,8 @@ export interface BatchGetUsersStreamLinkDataCommandOutput extends BatchGetUsersS
65
65
  * @see {@link BatchGetUsersStreamLinkDataCommandOutput} for command's `response` shape.
66
66
  * @see {@link UsersClientResolvedConfig | config} for UsersClient's `config` shape.
67
67
  *
68
+ * @throws {@link ForbiddenException} (client fault)
69
+ *
68
70
  * @throws {@link ValidationException} (client fault)
69
71
  *
70
72
  * @throws {@link UsersServiceException}
@@ -0,0 +1,113 @@
1
+ import { ServiceInputTypes, ServiceOutputTypes, UsersClientResolvedConfig } from "../UsersClient";
2
+ import { CreateBotApiKeyInput, CreateBotApiKeyOutput } from "../models/models_0";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@smithy/types";
5
+ /**
6
+ * @public
7
+ */
8
+ export { __MetadataBearer, $Command };
9
+ /**
10
+ * @public
11
+ *
12
+ * The input for {@link CreateBotApiKeyCommand}.
13
+ */
14
+ export interface CreateBotApiKeyCommandInput extends CreateBotApiKeyInput {
15
+ }
16
+ /**
17
+ * @public
18
+ *
19
+ * The output of {@link CreateBotApiKeyCommand}.
20
+ */
21
+ export interface CreateBotApiKeyCommandOutput extends CreateBotApiKeyOutput, __MetadataBearer {
22
+ }
23
+ /**
24
+ * @public
25
+ *
26
+ * @example
27
+ * Use a bare-bones client and the command you need to make an API call.
28
+ * ```javascript
29
+ * import { UsersClient, CreateBotApiKeyCommand } from "@wildix/xbees-users-client"; // ES Modules import
30
+ * // const { UsersClient, CreateBotApiKeyCommand } = require("@wildix/xbees-users-client"); // CommonJS import
31
+ * const client = new UsersClient(config);
32
+ * const input = { // CreateBotApiKeyInput
33
+ * company: "STRING_VALUE",
34
+ * botId: "STRING_VALUE", // required
35
+ * name: "STRING_VALUE",
36
+ * };
37
+ * const command = new CreateBotApiKeyCommand(input);
38
+ * const response = await client.send(command);
39
+ * // { // CreateBotApiKeyOutput
40
+ * // bot: { // Bot
41
+ * // id: "STRING_VALUE", // required
42
+ * // name: "STRING_VALUE", // required
43
+ * // secret: "STRING_VALUE", // required
44
+ * // visibility: { // BotVisibilitySettings
45
+ * // search: true || false,
46
+ * // mention: true || false,
47
+ * // },
48
+ * // callback: { // BotCallbackSettings Union: only one key present
49
+ * // webhook: { // BotCallbackWebhook
50
+ * // url: "STRING_VALUE", // required
51
+ * // secret: "STRING_VALUE", // required
52
+ * // triggers: { // BotCallbackTriggers
53
+ * // channel: true || false,
54
+ * // company: true || false,
55
+ * // mention: true || false,
56
+ * // },
57
+ * // },
58
+ * // sqs: { // BotCallbackSqs
59
+ * // url: "STRING_VALUE", // required
60
+ * // key: "STRING_VALUE", // required
61
+ * // secret: "STRING_VALUE", // required
62
+ * // triggers: {
63
+ * // channel: true || false,
64
+ * // company: true || false,
65
+ * // mention: true || false,
66
+ * // },
67
+ * // },
68
+ * // },
69
+ * // createdAt: "STRING_VALUE", // required
70
+ * // updated: "STRING_VALUE",
71
+ * // },
72
+ * // key: { // BotApiKey
73
+ * // secret: "STRING_VALUE", // required
74
+ * // name: "STRING_VALUE",
75
+ * // createdAt: "STRING_VALUE", // required
76
+ * // },
77
+ * // };
78
+ *
79
+ * ```
80
+ *
81
+ * @param CreateBotApiKeyCommandInput - {@link CreateBotApiKeyCommandInput}
82
+ * @returns {@link CreateBotApiKeyCommandOutput}
83
+ * @see {@link CreateBotApiKeyCommandInput} for command's `input` shape.
84
+ * @see {@link CreateBotApiKeyCommandOutput} for command's `response` shape.
85
+ * @see {@link UsersClientResolvedConfig | config} for UsersClient's `config` shape.
86
+ *
87
+ * @throws {@link ForbiddenException} (client fault)
88
+ *
89
+ * @throws {@link ValidationException} (client fault)
90
+ *
91
+ * @throws {@link UsersServiceException}
92
+ * <p>Base exception class for all service exceptions from Users service.</p>
93
+ *
94
+ */
95
+ export declare class CreateBotApiKeyCommand extends $Command<CreateBotApiKeyCommandInput, CreateBotApiKeyCommandOutput, UsersClientResolvedConfig> {
96
+ readonly input: CreateBotApiKeyCommandInput;
97
+ /**
98
+ * @public
99
+ */
100
+ constructor(input: CreateBotApiKeyCommandInput);
101
+ /**
102
+ * @internal
103
+ */
104
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: UsersClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateBotApiKeyCommandInput, CreateBotApiKeyCommandOutput>;
105
+ /**
106
+ * @internal
107
+ */
108
+ private serialize;
109
+ /**
110
+ * @internal
111
+ */
112
+ private deserialize;
113
+ }
@@ -0,0 +1,132 @@
1
+ import { ServiceInputTypes, ServiceOutputTypes, UsersClientResolvedConfig } from "../UsersClient";
2
+ import { CreateBotInput, CreateBotOutput } from "../models/models_0";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@smithy/types";
5
+ /**
6
+ * @public
7
+ */
8
+ export { __MetadataBearer, $Command };
9
+ /**
10
+ * @public
11
+ *
12
+ * The input for {@link CreateBotCommand}.
13
+ */
14
+ export interface CreateBotCommandInput extends CreateBotInput {
15
+ }
16
+ /**
17
+ * @public
18
+ *
19
+ * The output of {@link CreateBotCommand}.
20
+ */
21
+ export interface CreateBotCommandOutput extends CreateBotOutput, __MetadataBearer {
22
+ }
23
+ /**
24
+ * @public
25
+ *
26
+ * @example
27
+ * Use a bare-bones client and the command you need to make an API call.
28
+ * ```javascript
29
+ * import { UsersClient, CreateBotCommand } from "@wildix/xbees-users-client"; // ES Modules import
30
+ * // const { UsersClient, CreateBotCommand } = require("@wildix/xbees-users-client"); // CommonJS import
31
+ * const client = new UsersClient(config);
32
+ * const input = { // CreateBotInput
33
+ * company: "STRING_VALUE",
34
+ * name: "STRING_VALUE", // required
35
+ * visibility: { // BotVisibilitySettings
36
+ * search: true || false,
37
+ * mention: true || false,
38
+ * },
39
+ * callback: { // BotCallbackSettings Union: only one key present
40
+ * webhook: { // BotCallbackWebhook
41
+ * url: "STRING_VALUE", // required
42
+ * secret: "STRING_VALUE", // required
43
+ * triggers: { // BotCallbackTriggers
44
+ * channel: true || false,
45
+ * company: true || false,
46
+ * mention: true || false,
47
+ * },
48
+ * },
49
+ * sqs: { // BotCallbackSqs
50
+ * url: "STRING_VALUE", // required
51
+ * key: "STRING_VALUE", // required
52
+ * secret: "STRING_VALUE", // required
53
+ * triggers: {
54
+ * channel: true || false,
55
+ * company: true || false,
56
+ * mention: true || false,
57
+ * },
58
+ * },
59
+ * },
60
+ * };
61
+ * const command = new CreateBotCommand(input);
62
+ * const response = await client.send(command);
63
+ * // { // CreateBotOutput
64
+ * // bot: { // Bot
65
+ * // id: "STRING_VALUE", // required
66
+ * // name: "STRING_VALUE", // required
67
+ * // secret: "STRING_VALUE", // required
68
+ * // visibility: { // BotVisibilitySettings
69
+ * // search: true || false,
70
+ * // mention: true || false,
71
+ * // },
72
+ * // callback: { // BotCallbackSettings Union: only one key present
73
+ * // webhook: { // BotCallbackWebhook
74
+ * // url: "STRING_VALUE", // required
75
+ * // secret: "STRING_VALUE", // required
76
+ * // triggers: { // BotCallbackTriggers
77
+ * // channel: true || false,
78
+ * // company: true || false,
79
+ * // mention: true || false,
80
+ * // },
81
+ * // },
82
+ * // sqs: { // BotCallbackSqs
83
+ * // url: "STRING_VALUE", // required
84
+ * // key: "STRING_VALUE", // required
85
+ * // secret: "STRING_VALUE", // required
86
+ * // triggers: {
87
+ * // channel: true || false,
88
+ * // company: true || false,
89
+ * // mention: true || false,
90
+ * // },
91
+ * // },
92
+ * // },
93
+ * // createdAt: "STRING_VALUE", // required
94
+ * // updated: "STRING_VALUE",
95
+ * // },
96
+ * // };
97
+ *
98
+ * ```
99
+ *
100
+ * @param CreateBotCommandInput - {@link CreateBotCommandInput}
101
+ * @returns {@link CreateBotCommandOutput}
102
+ * @see {@link CreateBotCommandInput} for command's `input` shape.
103
+ * @see {@link CreateBotCommandOutput} for command's `response` shape.
104
+ * @see {@link UsersClientResolvedConfig | config} for UsersClient's `config` shape.
105
+ *
106
+ * @throws {@link ForbiddenException} (client fault)
107
+ *
108
+ * @throws {@link ValidationException} (client fault)
109
+ *
110
+ * @throws {@link UsersServiceException}
111
+ * <p>Base exception class for all service exceptions from Users service.</p>
112
+ *
113
+ */
114
+ export declare class CreateBotCommand extends $Command<CreateBotCommandInput, CreateBotCommandOutput, UsersClientResolvedConfig> {
115
+ readonly input: CreateBotCommandInput;
116
+ /**
117
+ * @public
118
+ */
119
+ constructor(input: CreateBotCommandInput);
120
+ /**
121
+ * @internal
122
+ */
123
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: UsersClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateBotCommandInput, CreateBotCommandOutput>;
124
+ /**
125
+ * @internal
126
+ */
127
+ private serialize;
128
+ /**
129
+ * @internal
130
+ */
131
+ private deserialize;
132
+ }
@@ -0,0 +1,79 @@
1
+ import { ServiceInputTypes, ServiceOutputTypes, UsersClientResolvedConfig } from "../UsersClient";
2
+ import { DeleteBotApiKeyInput, DeleteBotApiKeyOutput } from "../models/models_0";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@smithy/types";
5
+ /**
6
+ * @public
7
+ */
8
+ export { __MetadataBearer, $Command };
9
+ /**
10
+ * @public
11
+ *
12
+ * The input for {@link DeleteBotApiKeyCommand}.
13
+ */
14
+ export interface DeleteBotApiKeyCommandInput extends DeleteBotApiKeyInput {
15
+ }
16
+ /**
17
+ * @public
18
+ *
19
+ * The output of {@link DeleteBotApiKeyCommand}.
20
+ */
21
+ export interface DeleteBotApiKeyCommandOutput extends DeleteBotApiKeyOutput, __MetadataBearer {
22
+ }
23
+ /**
24
+ * @public
25
+ *
26
+ * @example
27
+ * Use a bare-bones client and the command you need to make an API call.
28
+ * ```javascript
29
+ * import { UsersClient, DeleteBotApiKeyCommand } from "@wildix/xbees-users-client"; // ES Modules import
30
+ * // const { UsersClient, DeleteBotApiKeyCommand } = require("@wildix/xbees-users-client"); // CommonJS import
31
+ * const client = new UsersClient(config);
32
+ * const input = { // DeleteBotApiKeyInput
33
+ * company: "STRING_VALUE",
34
+ * botId: "STRING_VALUE", // required
35
+ * apiKeySecret: "STRING_VALUE", // required
36
+ * };
37
+ * const command = new DeleteBotApiKeyCommand(input);
38
+ * const response = await client.send(command);
39
+ * // {};
40
+ *
41
+ * ```
42
+ *
43
+ * @param DeleteBotApiKeyCommandInput - {@link DeleteBotApiKeyCommandInput}
44
+ * @returns {@link DeleteBotApiKeyCommandOutput}
45
+ * @see {@link DeleteBotApiKeyCommandInput} for command's `input` shape.
46
+ * @see {@link DeleteBotApiKeyCommandOutput} for command's `response` shape.
47
+ * @see {@link UsersClientResolvedConfig | config} for UsersClient's `config` shape.
48
+ *
49
+ * @throws {@link BotNotFoundException} (client fault)
50
+ *
51
+ * @throws {@link BotApiKeyNotFoundException} (client fault)
52
+ *
53
+ * @throws {@link ForbiddenException} (client fault)
54
+ *
55
+ * @throws {@link ValidationException} (client fault)
56
+ *
57
+ * @throws {@link UsersServiceException}
58
+ * <p>Base exception class for all service exceptions from Users service.</p>
59
+ *
60
+ */
61
+ export declare class DeleteBotApiKeyCommand extends $Command<DeleteBotApiKeyCommandInput, DeleteBotApiKeyCommandOutput, UsersClientResolvedConfig> {
62
+ readonly input: DeleteBotApiKeyCommandInput;
63
+ /**
64
+ * @public
65
+ */
66
+ constructor(input: DeleteBotApiKeyCommandInput);
67
+ /**
68
+ * @internal
69
+ */
70
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: UsersClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteBotApiKeyCommandInput, DeleteBotApiKeyCommandOutput>;
71
+ /**
72
+ * @internal
73
+ */
74
+ private serialize;
75
+ /**
76
+ * @internal
77
+ */
78
+ private deserialize;
79
+ }
@@ -0,0 +1,76 @@
1
+ import { ServiceInputTypes, ServiceOutputTypes, UsersClientResolvedConfig } from "../UsersClient";
2
+ import { DeleteBotInput, DeleteBotOutput } from "../models/models_0";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@smithy/types";
5
+ /**
6
+ * @public
7
+ */
8
+ export { __MetadataBearer, $Command };
9
+ /**
10
+ * @public
11
+ *
12
+ * The input for {@link DeleteBotCommand}.
13
+ */
14
+ export interface DeleteBotCommandInput extends DeleteBotInput {
15
+ }
16
+ /**
17
+ * @public
18
+ *
19
+ * The output of {@link DeleteBotCommand}.
20
+ */
21
+ export interface DeleteBotCommandOutput extends DeleteBotOutput, __MetadataBearer {
22
+ }
23
+ /**
24
+ * @public
25
+ *
26
+ * @example
27
+ * Use a bare-bones client and the command you need to make an API call.
28
+ * ```javascript
29
+ * import { UsersClient, DeleteBotCommand } from "@wildix/xbees-users-client"; // ES Modules import
30
+ * // const { UsersClient, DeleteBotCommand } = require("@wildix/xbees-users-client"); // CommonJS import
31
+ * const client = new UsersClient(config);
32
+ * const input = { // DeleteBotInput
33
+ * company: "STRING_VALUE",
34
+ * botId: "STRING_VALUE", // required
35
+ * };
36
+ * const command = new DeleteBotCommand(input);
37
+ * const response = await client.send(command);
38
+ * // {};
39
+ *
40
+ * ```
41
+ *
42
+ * @param DeleteBotCommandInput - {@link DeleteBotCommandInput}
43
+ * @returns {@link DeleteBotCommandOutput}
44
+ * @see {@link DeleteBotCommandInput} for command's `input` shape.
45
+ * @see {@link DeleteBotCommandOutput} for command's `response` shape.
46
+ * @see {@link UsersClientResolvedConfig | config} for UsersClient's `config` shape.
47
+ *
48
+ * @throws {@link BotNotFoundException} (client fault)
49
+ *
50
+ * @throws {@link ForbiddenException} (client fault)
51
+ *
52
+ * @throws {@link ValidationException} (client fault)
53
+ *
54
+ * @throws {@link UsersServiceException}
55
+ * <p>Base exception class for all service exceptions from Users service.</p>
56
+ *
57
+ */
58
+ export declare class DeleteBotCommand extends $Command<DeleteBotCommandInput, DeleteBotCommandOutput, UsersClientResolvedConfig> {
59
+ readonly input: DeleteBotCommandInput;
60
+ /**
61
+ * @public
62
+ */
63
+ constructor(input: DeleteBotCommandInput);
64
+ /**
65
+ * @internal
66
+ */
67
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: UsersClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteBotCommandInput, DeleteBotCommandOutput>;
68
+ /**
69
+ * @internal
70
+ */
71
+ private serialize;
72
+ /**
73
+ * @internal
74
+ */
75
+ private deserialize;
76
+ }
@@ -0,0 +1,82 @@
1
+ import { ServiceInputTypes, ServiceOutputTypes, UsersClientResolvedConfig } from "../UsersClient";
2
+ import { ListBotApiKeysInput, ListBotApiKeysOutput } from "../models/models_0";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@smithy/types";
5
+ /**
6
+ * @public
7
+ */
8
+ export { __MetadataBearer, $Command };
9
+ /**
10
+ * @public
11
+ *
12
+ * The input for {@link ListBotApiKeysCommand}.
13
+ */
14
+ export interface ListBotApiKeysCommandInput extends ListBotApiKeysInput {
15
+ }
16
+ /**
17
+ * @public
18
+ *
19
+ * The output of {@link ListBotApiKeysCommand}.
20
+ */
21
+ export interface ListBotApiKeysCommandOutput extends ListBotApiKeysOutput, __MetadataBearer {
22
+ }
23
+ /**
24
+ * @public
25
+ *
26
+ * @example
27
+ * Use a bare-bones client and the command you need to make an API call.
28
+ * ```javascript
29
+ * import { UsersClient, ListBotApiKeysCommand } from "@wildix/xbees-users-client"; // ES Modules import
30
+ * // const { UsersClient, ListBotApiKeysCommand } = require("@wildix/xbees-users-client"); // CommonJS import
31
+ * const client = new UsersClient(config);
32
+ * const input = { // ListBotApiKeysInput
33
+ * company: "STRING_VALUE",
34
+ * botId: "STRING_VALUE", // required
35
+ * };
36
+ * const command = new ListBotApiKeysCommand(input);
37
+ * const response = await client.send(command);
38
+ * // { // ListBotApiKeysOutput
39
+ * // keys: [ // BotApiKeysList // required
40
+ * // { // BotApiKey
41
+ * // secret: "STRING_VALUE", // required
42
+ * // name: "STRING_VALUE",
43
+ * // createdAt: "STRING_VALUE", // required
44
+ * // },
45
+ * // ],
46
+ * // };
47
+ *
48
+ * ```
49
+ *
50
+ * @param ListBotApiKeysCommandInput - {@link ListBotApiKeysCommandInput}
51
+ * @returns {@link ListBotApiKeysCommandOutput}
52
+ * @see {@link ListBotApiKeysCommandInput} for command's `input` shape.
53
+ * @see {@link ListBotApiKeysCommandOutput} for command's `response` shape.
54
+ * @see {@link UsersClientResolvedConfig | config} for UsersClient's `config` shape.
55
+ *
56
+ * @throws {@link ForbiddenException} (client fault)
57
+ *
58
+ * @throws {@link ValidationException} (client fault)
59
+ *
60
+ * @throws {@link UsersServiceException}
61
+ * <p>Base exception class for all service exceptions from Users service.</p>
62
+ *
63
+ */
64
+ export declare class ListBotApiKeysCommand extends $Command<ListBotApiKeysCommandInput, ListBotApiKeysCommandOutput, UsersClientResolvedConfig> {
65
+ readonly input: ListBotApiKeysCommandInput;
66
+ /**
67
+ * @public
68
+ */
69
+ constructor(input: ListBotApiKeysCommandInput);
70
+ /**
71
+ * @internal
72
+ */
73
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: UsersClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListBotApiKeysCommandInput, ListBotApiKeysCommandOutput>;
74
+ /**
75
+ * @internal
76
+ */
77
+ private serialize;
78
+ /**
79
+ * @internal
80
+ */
81
+ private deserialize;
82
+ }
@@ -0,0 +1,108 @@
1
+ import { ServiceInputTypes, ServiceOutputTypes, UsersClientResolvedConfig } from "../UsersClient";
2
+ import { ListBotsInput, ListBotsOutput } from "../models/models_0";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@smithy/types";
5
+ /**
6
+ * @public
7
+ */
8
+ export { __MetadataBearer, $Command };
9
+ /**
10
+ * @public
11
+ *
12
+ * The input for {@link ListBotsCommand}.
13
+ */
14
+ export interface ListBotsCommandInput extends ListBotsInput {
15
+ }
16
+ /**
17
+ * @public
18
+ *
19
+ * The output of {@link ListBotsCommand}.
20
+ */
21
+ export interface ListBotsCommandOutput extends ListBotsOutput, __MetadataBearer {
22
+ }
23
+ /**
24
+ * @public
25
+ *
26
+ * @example
27
+ * Use a bare-bones client and the command you need to make an API call.
28
+ * ```javascript
29
+ * import { UsersClient, ListBotsCommand } from "@wildix/xbees-users-client"; // ES Modules import
30
+ * // const { UsersClient, ListBotsCommand } = require("@wildix/xbees-users-client"); // CommonJS import
31
+ * const client = new UsersClient(config);
32
+ * const input = { // ListBotsInput
33
+ * company: "STRING_VALUE",
34
+ * };
35
+ * const command = new ListBotsCommand(input);
36
+ * const response = await client.send(command);
37
+ * // { // ListBotsOutput
38
+ * // bots: [ // BotList // required
39
+ * // { // Bot
40
+ * // id: "STRING_VALUE", // required
41
+ * // name: "STRING_VALUE", // required
42
+ * // secret: "STRING_VALUE", // required
43
+ * // visibility: { // BotVisibilitySettings
44
+ * // search: true || false,
45
+ * // mention: true || false,
46
+ * // },
47
+ * // callback: { // BotCallbackSettings Union: only one key present
48
+ * // webhook: { // BotCallbackWebhook
49
+ * // url: "STRING_VALUE", // required
50
+ * // secret: "STRING_VALUE", // required
51
+ * // triggers: { // BotCallbackTriggers
52
+ * // channel: true || false,
53
+ * // company: true || false,
54
+ * // mention: true || false,
55
+ * // },
56
+ * // },
57
+ * // sqs: { // BotCallbackSqs
58
+ * // url: "STRING_VALUE", // required
59
+ * // key: "STRING_VALUE", // required
60
+ * // secret: "STRING_VALUE", // required
61
+ * // triggers: {
62
+ * // channel: true || false,
63
+ * // company: true || false,
64
+ * // mention: true || false,
65
+ * // },
66
+ * // },
67
+ * // },
68
+ * // createdAt: "STRING_VALUE", // required
69
+ * // updated: "STRING_VALUE",
70
+ * // },
71
+ * // ],
72
+ * // };
73
+ *
74
+ * ```
75
+ *
76
+ * @param ListBotsCommandInput - {@link ListBotsCommandInput}
77
+ * @returns {@link ListBotsCommandOutput}
78
+ * @see {@link ListBotsCommandInput} for command's `input` shape.
79
+ * @see {@link ListBotsCommandOutput} for command's `response` shape.
80
+ * @see {@link UsersClientResolvedConfig | config} for UsersClient's `config` shape.
81
+ *
82
+ * @throws {@link ForbiddenException} (client fault)
83
+ *
84
+ * @throws {@link ValidationException} (client fault)
85
+ *
86
+ * @throws {@link UsersServiceException}
87
+ * <p>Base exception class for all service exceptions from Users service.</p>
88
+ *
89
+ */
90
+ export declare class ListBotsCommand extends $Command<ListBotsCommandInput, ListBotsCommandOutput, UsersClientResolvedConfig> {
91
+ readonly input: ListBotsCommandInput;
92
+ /**
93
+ * @public
94
+ */
95
+ constructor(input: ListBotsCommandInput);
96
+ /**
97
+ * @internal
98
+ */
99
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: UsersClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListBotsCommandInput, ListBotsCommandOutput>;
100
+ /**
101
+ * @internal
102
+ */
103
+ private serialize;
104
+ /**
105
+ * @internal
106
+ */
107
+ private deserialize;
108
+ }