@wildix/xbees-users-client 1.2.3 → 1.2.5

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 (48) hide show
  1. package/dist-types/commands/AddIdentityCommand.d.ts +93 -0
  2. package/dist-types/commands/BatchGetUsersCommand.d.ts +110 -0
  3. package/dist-types/commands/BatchGetUsersEmailNotificationsSettingsCommand.d.ts +95 -0
  4. package/dist-types/commands/BatchGetUsersPbxLinkDataCommand.d.ts +146 -0
  5. package/dist-types/commands/BatchGetUsersPbxLinkDataV1Command.d.ts +146 -0
  6. package/dist-types/commands/ChangeUserEmailCommand.d.ts +100 -0
  7. package/dist-types/commands/CreateBotApiKeyCommand.d.ts +108 -0
  8. package/dist-types/commands/CreateBotCommand.d.ts +210 -0
  9. package/dist-types/commands/CreateSystemBotCommand.d.ts +90 -0
  10. package/dist-types/commands/DeleteBotApiKeyCommand.d.ts +92 -0
  11. package/dist-types/commands/DeleteBotCommand.d.ts +89 -0
  12. package/dist-types/commands/GetAccountCommand.d.ts +182 -0
  13. package/dist-types/commands/GetAppVersionCommand.d.ts +88 -0
  14. package/dist-types/commands/GetBotCallbackCommand.d.ts +196 -0
  15. package/dist-types/commands/GetBotCommand.d.ts +102 -0
  16. package/dist-types/commands/GetUserCommand.d.ts +108 -0
  17. package/dist-types/commands/GetUserEmailNotificationsSettingsCommand.d.ts +93 -0
  18. package/dist-types/commands/GetUserPbxLinkDataCommand.d.ts +144 -0
  19. package/dist-types/commands/GetUserPbxLinkSuggestionCommand.d.ts +91 -0
  20. package/dist-types/commands/GetUserPbxLinkSuggestionV1Command.d.ts +91 -0
  21. package/dist-types/commands/IntelligenceSearchCommand.d.ts +97 -0
  22. package/dist-types/commands/InviteCommand.d.ts +116 -0
  23. package/dist-types/commands/ListAccountIdentitiesCommand.d.ts +94 -0
  24. package/dist-types/commands/ListBotApiKeysCommand.d.ts +95 -0
  25. package/dist-types/commands/ListBotsCommand.d.ts +101 -0
  26. package/dist-types/commands/ListWorkspacesCommand.d.ts +170 -0
  27. package/dist-types/commands/PartialUpdateUserEmailNotificationsSettingsCommand.d.ts +93 -0
  28. package/dist-types/commands/QueryColleaguesCommand.d.ts +164 -0
  29. package/dist-types/commands/QueryUserCommand.d.ts +117 -0
  30. package/dist-types/commands/QueryUsersCommand.d.ts +117 -0
  31. package/dist-types/commands/RemoveIdentityCommand.d.ts +87 -0
  32. package/dist-types/commands/ToggleTranscriptionEmailNotificationsSubscriptionCommand.d.ts +87 -0
  33. package/dist-types/commands/ToggleUnreadEmailNotificationsSubscriptionCommand.d.ts +87 -0
  34. package/dist-types/commands/UnbindWorkspaceCommand.d.ts +87 -0
  35. package/dist-types/commands/UpdateAccountCommand.d.ts +94 -0
  36. package/dist-types/commands/UpdateBotCallbackCommand.d.ts +300 -0
  37. package/dist-types/commands/UpdateBotCommand.d.ts +105 -0
  38. package/dist-types/commands/UpdateUserEmailNotificationsSettingsCommand.d.ts +93 -0
  39. package/dist-types/commands/UpdateWorkspaceCommand.d.ts +171 -0
  40. package/dist-types/commands/UploadPictureCommand.d.ts +88 -0
  41. package/dist-types/commands/UploadPictureV1Command.d.ts +90 -0
  42. package/dist-types/commands/VerifyAddIdentityCommand.d.ts +95 -0
  43. package/dist-types/commands/VerifyBotSecretKeyCommand.d.ts +92 -0
  44. package/dist-types/commands/VerifyBotSecretKeyV1Command.d.ts +92 -0
  45. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  46. package/dist-types/runtimeConfig.d.ts +1 -1
  47. package/dist-types/runtimeConfig.native.d.ts +1 -1
  48. package/package.json +2 -2
@@ -0,0 +1,100 @@
1
+ import { ServiceInputTypes, ServiceOutputTypes, UsersClientResolvedConfig } from "../UsersClient";
2
+ import { ChangeUserEmailInput, ChangeUserEmailOutput } 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 ChangeUserEmailCommand}.
14
+ */
15
+ export interface ChangeUserEmailCommandInput extends ChangeUserEmailInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ChangeUserEmailCommand}.
21
+ */
22
+ export interface ChangeUserEmailCommandOutput extends ChangeUserEmailOutput, __MetadataBearer {
23
+ }
24
+ declare const ChangeUserEmailCommand_base: {
25
+ new (input: ChangeUserEmailCommandInput): import("@smithy/smithy-client").CommandImpl<ChangeUserEmailCommandInput, ChangeUserEmailCommandOutput, UsersClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: ChangeUserEmailCommandInput): import("@smithy/smithy-client").CommandImpl<ChangeUserEmailCommandInput, ChangeUserEmailCommandOutput, UsersClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * Schedules user's email changing.
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { UsersClient, ChangeUserEmailCommand } from "@wildix/xbees-users-client"; // ES Modules import
35
+ * // const { UsersClient, ChangeUserEmailCommand } = require("@wildix/xbees-users-client"); // CommonJS import
36
+ * const client = new UsersClient(config);
37
+ * const input = { // ChangeUserEmailInput
38
+ * newData: { // NewEmailData
39
+ * email: "STRING_VALUE", // required
40
+ * companyId: "STRING_VALUE",
41
+ * pbxDomain: "STRING_VALUE",
42
+ * },
43
+ * oldData: { // OldEmailData
44
+ * email: "STRING_VALUE", // required
45
+ * companyId: "STRING_VALUE",
46
+ * },
47
+ * };
48
+ * const command = new ChangeUserEmailCommand(input);
49
+ * const response = await client.send(command);
50
+ * // { // ChangeUserEmailOutput
51
+ * // sfnArn: "STRING_VALUE", // required
52
+ * // };
53
+ *
54
+ * ```
55
+ *
56
+ * @param ChangeUserEmailCommandInput - {@link ChangeUserEmailCommandInput}
57
+ * @returns {@link ChangeUserEmailCommandOutput}
58
+ * @see {@link ChangeUserEmailCommandInput} for command's `input` shape.
59
+ * @see {@link ChangeUserEmailCommandOutput} for command's `response` shape.
60
+ * @see {@link UsersClientResolvedConfig | config} for UsersClient's `config` shape.
61
+ *
62
+ * @throws {@link UserNotFoundException} (client fault)
63
+ *
64
+ * @throws {@link UserCompanyNotValidException} (client fault)
65
+ *
66
+ * @throws {@link ForbiddenException} (client fault)
67
+ *
68
+ * @throws {@link ValidationException} (client fault)
69
+ *
70
+ * @throws {@link AccountNotFoundException} (client fault)
71
+ *
72
+ * @throws {@link IdentityAlreadyLinkedException} (client fault)
73
+ *
74
+ * @throws {@link CannotRemovePrimaryIdentityException} (client fault)
75
+ *
76
+ * @throws {@link WorkspaceNotFoundException} (client fault)
77
+ *
78
+ * @throws {@link CannotUnbindDefaultWorkspaceException} (client fault)
79
+ *
80
+ * @throws {@link IdentityNotFoundException} (client fault)
81
+ *
82
+ * @throws {@link UsersServiceException}
83
+ * <p>Base exception class for all service exceptions from Users service.</p>
84
+ *
85
+ *
86
+ * @public
87
+ */
88
+ export declare class ChangeUserEmailCommand extends ChangeUserEmailCommand_base {
89
+ /** @internal type navigation helper, not in runtime. */
90
+ protected static __types: {
91
+ api: {
92
+ input: ChangeUserEmailInput;
93
+ output: ChangeUserEmailOutput;
94
+ };
95
+ sdk: {
96
+ input: ChangeUserEmailCommandInput;
97
+ output: ChangeUserEmailCommandOutput;
98
+ };
99
+ };
100
+ }
@@ -0,0 +1,108 @@
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 { 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 CreateBotApiKeyCommand}.
14
+ */
15
+ export interface CreateBotApiKeyCommandInput extends CreateBotApiKeyInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link CreateBotApiKeyCommand}.
21
+ */
22
+ export interface CreateBotApiKeyCommandOutput extends CreateBotApiKeyOutput, __MetadataBearer {
23
+ }
24
+ declare const CreateBotApiKeyCommand_base: {
25
+ new (input: CreateBotApiKeyCommandInput): import("@smithy/smithy-client").CommandImpl<CreateBotApiKeyCommandInput, CreateBotApiKeyCommandOutput, UsersClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: CreateBotApiKeyCommandInput): import("@smithy/smithy-client").CommandImpl<CreateBotApiKeyCommandInput, CreateBotApiKeyCommandOutput, UsersClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * Creates a new API key for a specific bot.
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { UsersClient, CreateBotApiKeyCommand } from "@wildix/xbees-users-client"; // ES Modules import
35
+ * // const { UsersClient, CreateBotApiKeyCommand } = require("@wildix/xbees-users-client"); // CommonJS import
36
+ * const client = new UsersClient(config);
37
+ * const input = { // CreateBotApiKeyInput
38
+ * company: "STRING_VALUE",
39
+ * botId: "STRING_VALUE", // required
40
+ * name: "STRING_VALUE",
41
+ * };
42
+ * const command = new CreateBotApiKeyCommand(input);
43
+ * const response = await client.send(command);
44
+ * // { // CreateBotApiKeyOutput
45
+ * // bot: { // Bot
46
+ * // name: "STRING_VALUE", // required
47
+ * // category: "STRING_VALUE",
48
+ * // picture: "STRING_VALUE",
49
+ * // searchable: true || false,
50
+ * // access: "EVERYBODY" || "ORGANIZATION",
51
+ * // id: "STRING_VALUE", // required
52
+ * // integrationType: "LLM" || "DIALOGFLOW_CX" || "OPEN_AI_ASSISTANT" || "WEBHOOK" || "SQS", // required
53
+ * // integrationApiKeysCount: Number("int"), // required
54
+ * // createdAt: "STRING_VALUE", // required
55
+ * // updated: "STRING_VALUE",
56
+ * // },
57
+ * // key: { // BotApiKey
58
+ * // secret: "STRING_VALUE", // required
59
+ * // name: "STRING_VALUE",
60
+ * // createdAt: "STRING_VALUE", // required
61
+ * // },
62
+ * // };
63
+ *
64
+ * ```
65
+ *
66
+ * @param CreateBotApiKeyCommandInput - {@link CreateBotApiKeyCommandInput}
67
+ * @returns {@link CreateBotApiKeyCommandOutput}
68
+ * @see {@link CreateBotApiKeyCommandInput} for command's `input` shape.
69
+ * @see {@link CreateBotApiKeyCommandOutput} for command's `response` shape.
70
+ * @see {@link UsersClientResolvedConfig | config} for UsersClient's `config` shape.
71
+ *
72
+ * @throws {@link BotNotFoundException} (client fault)
73
+ *
74
+ * @throws {@link ForbiddenException} (client fault)
75
+ *
76
+ * @throws {@link ValidationException} (client fault)
77
+ *
78
+ * @throws {@link AccountNotFoundException} (client fault)
79
+ *
80
+ * @throws {@link IdentityAlreadyLinkedException} (client fault)
81
+ *
82
+ * @throws {@link CannotRemovePrimaryIdentityException} (client fault)
83
+ *
84
+ * @throws {@link WorkspaceNotFoundException} (client fault)
85
+ *
86
+ * @throws {@link CannotUnbindDefaultWorkspaceException} (client fault)
87
+ *
88
+ * @throws {@link IdentityNotFoundException} (client fault)
89
+ *
90
+ * @throws {@link UsersServiceException}
91
+ * <p>Base exception class for all service exceptions from Users service.</p>
92
+ *
93
+ *
94
+ * @public
95
+ */
96
+ export declare class CreateBotApiKeyCommand extends CreateBotApiKeyCommand_base {
97
+ /** @internal type navigation helper, not in runtime. */
98
+ protected static __types: {
99
+ api: {
100
+ input: CreateBotApiKeyInput;
101
+ output: CreateBotApiKeyOutput;
102
+ };
103
+ sdk: {
104
+ input: CreateBotApiKeyCommandInput;
105
+ output: CreateBotApiKeyCommandOutput;
106
+ };
107
+ };
108
+ }
@@ -0,0 +1,210 @@
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 { 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 CreateBotCommand}.
14
+ */
15
+ export interface CreateBotCommandInput extends CreateBotInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link CreateBotCommand}.
21
+ */
22
+ export interface CreateBotCommandOutput extends CreateBotOutput, __MetadataBearer {
23
+ }
24
+ declare const CreateBotCommand_base: {
25
+ new (input: CreateBotCommandInput): import("@smithy/smithy-client").CommandImpl<CreateBotCommandInput, CreateBotCommandOutput, UsersClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: CreateBotCommandInput): import("@smithy/smithy-client").CommandImpl<CreateBotCommandInput, CreateBotCommandOutput, UsersClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * Creates a new bot with the specified configuration and callback settings.
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { UsersClient, CreateBotCommand } from "@wildix/xbees-users-client"; // ES Modules import
35
+ * // const { UsersClient, CreateBotCommand } = require("@wildix/xbees-users-client"); // CommonJS import
36
+ * const client = new UsersClient(config);
37
+ * const input = { // CreateBotInput
38
+ * name: "STRING_VALUE", // required
39
+ * category: "STRING_VALUE",
40
+ * picture: "STRING_VALUE",
41
+ * searchable: true || false,
42
+ * access: "EVERYBODY" || "ORGANIZATION",
43
+ * company: "STRING_VALUE",
44
+ * callback: { // BotCallback
45
+ * endpoint: { // BotEndpoint Union: only one key present
46
+ * llm: { // BotLlmEndpoint
47
+ * prompt: "STRING_VALUE", // required
48
+ * guidelines: [ // AgentGuidelinesList
49
+ * "STRING_VALUE",
50
+ * ],
51
+ * model: "STRING_VALUE",
52
+ * embeddedTools: [ // BotLlmEmbeddedToolsList
53
+ * { // BotLlmEmbeddedTool
54
+ * type: "HANDOVER" || "DELEGATE" || "SUGGESTIONS", // required
55
+ * name: "STRING_VALUE", // required
56
+ * parameters: "DOCUMENT_VALUE",
57
+ * },
58
+ * ],
59
+ * tools: [ // BotLlmToolsList
60
+ * { // BotLlmTool
61
+ * type: "function", // required
62
+ * function: { // BotLlmFunctionDefinition
63
+ * name: "STRING_VALUE", // required
64
+ * description: "STRING_VALUE",
65
+ * parameters: "DOCUMENT_VALUE",
66
+ * integration: { // BotLlmFunctionIntegration Union: only one key present
67
+ * webhook: { // BotLlmFunctionIntegrationWebhook
68
+ * url: "STRING_VALUE", // required
69
+ * method: "get" || "post" || "put" || "delete" || "patch",
70
+ * async: true || false,
71
+ * authorization: { // BotLlmFunctionIntegrationWebhookAuthorization Union: only one key present
72
+ * bearer: { // BotLlmFunctionIntegrationWebhookAuthorizationBearer
73
+ * token: "STRING_VALUE", // required
74
+ * },
75
+ * basic: { // BotLlmFunctionIntegrationWebhookAuthorizationBasic
76
+ * username: "STRING_VALUE", // required
77
+ * password: "STRING_VALUE", // required
78
+ * },
79
+ * oauth: { // BotLlmFunctionIntegrationWebhookAuthorizationOAuth
80
+ * clientId: "STRING_VALUE", // required
81
+ * clientSecret: "STRING_VALUE", // required
82
+ * endpointUrl: "STRING_VALUE", // required
83
+ * scope: "STRING_VALUE",
84
+ * },
85
+ * },
86
+ * headers: [ // BotLlmFunctionIntegrationWebhookHeadersList
87
+ * { // BotLlmFunctionIntegrationWebhookHeader
88
+ * key: "STRING_VALUE", // required
89
+ * value: "STRING_VALUE", // required
90
+ * },
91
+ * ],
92
+ * timeout: Number("int"),
93
+ * parameters: "DOCUMENT_VALUE",
94
+ * },
95
+ * },
96
+ * },
97
+ * },
98
+ * ],
99
+ * capabilities: [ // BotCapabilitiesList
100
+ * { // BotCapability Union: only one key present
101
+ * tool: { // BotCapabilityTool
102
+ * id: "STRING_VALUE", // required
103
+ * variables: [ // BotToolVariablesList
104
+ * { // BotToolVariable
105
+ * name: "STRING_VALUE", // required
106
+ * handler: { // BotToolVariableHandler Union: only one key present
107
+ * auto: {},
108
+ * guided: { // BotToolVariableGuidedHandler
109
+ * description: "STRING_VALUE", // required
110
+ * },
111
+ * predefined: { // BotToolVariablePredefinedHandler
112
+ * description: "STRING_VALUE", // required
113
+ * },
114
+ * },
115
+ * },
116
+ * ],
117
+ * pipeline: { // BotCapabilityToolPipeline
118
+ * type: "blocking_request" || "blocking_request_guided" || "async_request" || "async_request_guided",
119
+ * instructions: "STRING_VALUE",
120
+ * },
121
+ * },
122
+ * kb: { // BotKnowledgeBase
123
+ * knowledgeBaseId: "STRING_VALUE",
124
+ * instructions: "STRING_VALUE",
125
+ * },
126
+ * },
127
+ * ],
128
+ * },
129
+ * dialogflowCx: { // BotDialogflowCxEndpoint
130
+ * credentials: "DOCUMENT_VALUE", // required
131
+ * agent: "STRING_VALUE", // required
132
+ * location: "STRING_VALUE", // required
133
+ * language: "STRING_VALUE", // required
134
+ * },
135
+ * openAiAssistant: { // BotOpenAiAssistantEndpoint
136
+ * key: "STRING_VALUE", // required
137
+ * assistantId: "STRING_VALUE", // required
138
+ * },
139
+ * webhook: { // BotWebhookEndpoint
140
+ * url: "STRING_VALUE", // required
141
+ * secret: "STRING_VALUE", // required
142
+ * },
143
+ * sqs: { // BotSqsEndpoint
144
+ * url: "STRING_VALUE", // required
145
+ * key: "STRING_VALUE", // required
146
+ * secret: "STRING_VALUE", // required
147
+ * },
148
+ * },
149
+ * },
150
+ * };
151
+ * const command = new CreateBotCommand(input);
152
+ * const response = await client.send(command);
153
+ * // { // CreateBotOutput
154
+ * // bot: { // Bot
155
+ * // name: "STRING_VALUE", // required
156
+ * // category: "STRING_VALUE",
157
+ * // picture: "STRING_VALUE",
158
+ * // searchable: true || false,
159
+ * // access: "EVERYBODY" || "ORGANIZATION",
160
+ * // id: "STRING_VALUE", // required
161
+ * // integrationType: "LLM" || "DIALOGFLOW_CX" || "OPEN_AI_ASSISTANT" || "WEBHOOK" || "SQS", // required
162
+ * // integrationApiKeysCount: Number("int"), // required
163
+ * // createdAt: "STRING_VALUE", // required
164
+ * // updated: "STRING_VALUE",
165
+ * // },
166
+ * // };
167
+ *
168
+ * ```
169
+ *
170
+ * @param CreateBotCommandInput - {@link CreateBotCommandInput}
171
+ * @returns {@link CreateBotCommandOutput}
172
+ * @see {@link CreateBotCommandInput} for command's `input` shape.
173
+ * @see {@link CreateBotCommandOutput} for command's `response` shape.
174
+ * @see {@link UsersClientResolvedConfig | config} for UsersClient's `config` shape.
175
+ *
176
+ * @throws {@link ForbiddenException} (client fault)
177
+ *
178
+ * @throws {@link ValidationException} (client fault)
179
+ *
180
+ * @throws {@link AccountNotFoundException} (client fault)
181
+ *
182
+ * @throws {@link IdentityAlreadyLinkedException} (client fault)
183
+ *
184
+ * @throws {@link CannotRemovePrimaryIdentityException} (client fault)
185
+ *
186
+ * @throws {@link WorkspaceNotFoundException} (client fault)
187
+ *
188
+ * @throws {@link CannotUnbindDefaultWorkspaceException} (client fault)
189
+ *
190
+ * @throws {@link IdentityNotFoundException} (client fault)
191
+ *
192
+ * @throws {@link UsersServiceException}
193
+ * <p>Base exception class for all service exceptions from Users service.</p>
194
+ *
195
+ *
196
+ * @public
197
+ */
198
+ export declare class CreateBotCommand extends CreateBotCommand_base {
199
+ /** @internal type navigation helper, not in runtime. */
200
+ protected static __types: {
201
+ api: {
202
+ input: CreateBotInput;
203
+ output: CreateBotOutput;
204
+ };
205
+ sdk: {
206
+ input: CreateBotCommandInput;
207
+ output: CreateBotCommandOutput;
208
+ };
209
+ };
210
+ }
@@ -0,0 +1,90 @@
1
+ import { ServiceInputTypes, ServiceOutputTypes, UsersClientResolvedConfig } from "../UsersClient";
2
+ import { CreateSystemBotInput, CreateSystemBotOutput } 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 CreateSystemBotCommand}.
14
+ */
15
+ export interface CreateSystemBotCommandInput extends CreateSystemBotInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link CreateSystemBotCommand}.
21
+ */
22
+ export interface CreateSystemBotCommandOutput extends CreateSystemBotOutput, __MetadataBearer {
23
+ }
24
+ declare const CreateSystemBotCommand_base: {
25
+ new (input: CreateSystemBotCommandInput): import("@smithy/smithy-client").CommandImpl<CreateSystemBotCommandInput, CreateSystemBotCommandOutput, UsersClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: CreateSystemBotCommandInput): import("@smithy/smithy-client").CommandImpl<CreateSystemBotCommandInput, CreateSystemBotCommandOutput, UsersClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * Creates a new system bot with basic configuration for internal use.
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { UsersClient, CreateSystemBotCommand } from "@wildix/xbees-users-client"; // ES Modules import
35
+ * // const { UsersClient, CreateSystemBotCommand } = require("@wildix/xbees-users-client"); // CommonJS import
36
+ * const client = new UsersClient(config);
37
+ * const input = { // CreateSystemBotInput
38
+ * company: "STRING_VALUE",
39
+ * name: "STRING_VALUE", // required
40
+ * picture: "STRING_VALUE",
41
+ * };
42
+ * const command = new CreateSystemBotCommand(input);
43
+ * const response = await client.send(command);
44
+ * // { // CreateSystemBotOutput
45
+ * // id: "STRING_VALUE", // required
46
+ * // };
47
+ *
48
+ * ```
49
+ *
50
+ * @param CreateSystemBotCommandInput - {@link CreateSystemBotCommandInput}
51
+ * @returns {@link CreateSystemBotCommandOutput}
52
+ * @see {@link CreateSystemBotCommandInput} for command's `input` shape.
53
+ * @see {@link CreateSystemBotCommandOutput} 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 AccountNotFoundException} (client fault)
61
+ *
62
+ * @throws {@link IdentityAlreadyLinkedException} (client fault)
63
+ *
64
+ * @throws {@link CannotRemovePrimaryIdentityException} (client fault)
65
+ *
66
+ * @throws {@link WorkspaceNotFoundException} (client fault)
67
+ *
68
+ * @throws {@link CannotUnbindDefaultWorkspaceException} (client fault)
69
+ *
70
+ * @throws {@link IdentityNotFoundException} (client fault)
71
+ *
72
+ * @throws {@link UsersServiceException}
73
+ * <p>Base exception class for all service exceptions from Users service.</p>
74
+ *
75
+ *
76
+ * @public
77
+ */
78
+ export declare class CreateSystemBotCommand extends CreateSystemBotCommand_base {
79
+ /** @internal type navigation helper, not in runtime. */
80
+ protected static __types: {
81
+ api: {
82
+ input: CreateSystemBotInput;
83
+ output: CreateSystemBotOutput;
84
+ };
85
+ sdk: {
86
+ input: CreateSystemBotCommandInput;
87
+ output: CreateSystemBotCommandOutput;
88
+ };
89
+ };
90
+ }
@@ -0,0 +1,92 @@
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 { 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 DeleteBotApiKeyCommand}.
14
+ */
15
+ export interface DeleteBotApiKeyCommandInput extends DeleteBotApiKeyInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link DeleteBotApiKeyCommand}.
21
+ */
22
+ export interface DeleteBotApiKeyCommandOutput extends DeleteBotApiKeyOutput, __MetadataBearer {
23
+ }
24
+ declare const DeleteBotApiKeyCommand_base: {
25
+ new (input: DeleteBotApiKeyCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteBotApiKeyCommandInput, DeleteBotApiKeyCommandOutput, UsersClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: DeleteBotApiKeyCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteBotApiKeyCommandInput, DeleteBotApiKeyCommandOutput, UsersClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * Deletes an existing API key for a specific bot.
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { UsersClient, DeleteBotApiKeyCommand } from "@wildix/xbees-users-client"; // ES Modules import
35
+ * // const { UsersClient, DeleteBotApiKeyCommand } = require("@wildix/xbees-users-client"); // CommonJS import
36
+ * const client = new UsersClient(config);
37
+ * const input = { // DeleteBotApiKeyInput
38
+ * company: "STRING_VALUE",
39
+ * botId: "STRING_VALUE", // required
40
+ * apiKeySecret: "STRING_VALUE", // required
41
+ * };
42
+ * const command = new DeleteBotApiKeyCommand(input);
43
+ * const response = await client.send(command);
44
+ * // {};
45
+ *
46
+ * ```
47
+ *
48
+ * @param DeleteBotApiKeyCommandInput - {@link DeleteBotApiKeyCommandInput}
49
+ * @returns {@link DeleteBotApiKeyCommandOutput}
50
+ * @see {@link DeleteBotApiKeyCommandInput} for command's `input` shape.
51
+ * @see {@link DeleteBotApiKeyCommandOutput} for command's `response` shape.
52
+ * @see {@link UsersClientResolvedConfig | config} for UsersClient's `config` shape.
53
+ *
54
+ * @throws {@link BotNotFoundException} (client fault)
55
+ *
56
+ * @throws {@link BotApiKeyNotFoundException} (client fault)
57
+ *
58
+ * @throws {@link ForbiddenException} (client fault)
59
+ *
60
+ * @throws {@link ValidationException} (client fault)
61
+ *
62
+ * @throws {@link AccountNotFoundException} (client fault)
63
+ *
64
+ * @throws {@link IdentityAlreadyLinkedException} (client fault)
65
+ *
66
+ * @throws {@link CannotRemovePrimaryIdentityException} (client fault)
67
+ *
68
+ * @throws {@link WorkspaceNotFoundException} (client fault)
69
+ *
70
+ * @throws {@link CannotUnbindDefaultWorkspaceException} (client fault)
71
+ *
72
+ * @throws {@link IdentityNotFoundException} (client fault)
73
+ *
74
+ * @throws {@link UsersServiceException}
75
+ * <p>Base exception class for all service exceptions from Users service.</p>
76
+ *
77
+ *
78
+ * @public
79
+ */
80
+ export declare class DeleteBotApiKeyCommand extends DeleteBotApiKeyCommand_base {
81
+ /** @internal type navigation helper, not in runtime. */
82
+ protected static __types: {
83
+ api: {
84
+ input: DeleteBotApiKeyInput;
85
+ output: {};
86
+ };
87
+ sdk: {
88
+ input: DeleteBotApiKeyCommandInput;
89
+ output: DeleteBotApiKeyCommandOutput;
90
+ };
91
+ };
92
+ }