@wildix/xbees-users-client 1.1.0 → 1.2.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 (71) hide show
  1. package/dist-cjs/Users.js +20 -0
  2. package/dist-cjs/commands/AddIdentityCommand.js +21 -0
  3. package/dist-cjs/commands/GetAccountCommand.js +21 -0
  4. package/dist-cjs/commands/InviteCommand.js +21 -0
  5. package/dist-cjs/commands/ListAccountIdentitiesCommand.js +21 -0
  6. package/dist-cjs/commands/ListWorkspacesCommand.js +21 -0
  7. package/dist-cjs/commands/RemoveIdentityCommand.js +21 -0
  8. package/dist-cjs/commands/UnbindWorkspaceCommand.js +21 -0
  9. package/dist-cjs/commands/UpdateAccountCommand.js +21 -0
  10. package/dist-cjs/commands/UpdateWorkspaceCommand.js +21 -0
  11. package/dist-cjs/commands/VerifyAddIdentityCommand.js +21 -0
  12. package/dist-cjs/commands/index.js +10 -0
  13. package/dist-cjs/models/models_0.js +84 -1
  14. package/dist-cjs/protocols/Aws_restJson1.js +398 -2
  15. package/dist-es/Users.js +20 -0
  16. package/dist-es/commands/AddIdentityCommand.js +17 -0
  17. package/dist-es/commands/GetAccountCommand.js +17 -0
  18. package/dist-es/commands/InviteCommand.js +17 -0
  19. package/dist-es/commands/ListAccountIdentitiesCommand.js +17 -0
  20. package/dist-es/commands/ListWorkspacesCommand.js +17 -0
  21. package/dist-es/commands/RemoveIdentityCommand.js +17 -0
  22. package/dist-es/commands/UnbindWorkspaceCommand.js +17 -0
  23. package/dist-es/commands/UpdateAccountCommand.js +17 -0
  24. package/dist-es/commands/UpdateWorkspaceCommand.js +17 -0
  25. package/dist-es/commands/VerifyAddIdentityCommand.js +17 -0
  26. package/dist-es/commands/index.js +10 -0
  27. package/dist-es/models/models_0.js +77 -0
  28. package/dist-es/protocols/Aws_restJson1.js +377 -1
  29. package/dist-types/Users.d.ts +70 -0
  30. package/dist-types/UsersClient.d.ts +12 -2
  31. package/dist-types/commands/index.d.ts +10 -0
  32. package/dist-types/models/models_0.d.ts +420 -0
  33. package/dist-types/protocols/Aws_restJson1.d.ts +90 -0
  34. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  35. package/dist-types/runtimeConfig.d.ts +1 -1
  36. package/dist-types/runtimeConfig.native.d.ts +1 -1
  37. package/package.json +3 -3
  38. package/dist-types/commands/BatchGetUsersCommand.d.ts +0 -98
  39. package/dist-types/commands/BatchGetUsersEmailNotificationsSettingsCommand.d.ts +0 -83
  40. package/dist-types/commands/BatchGetUsersPbxLinkDataCommand.d.ts +0 -134
  41. package/dist-types/commands/BatchGetUsersPbxLinkDataV1Command.d.ts +0 -134
  42. package/dist-types/commands/ChangeUserEmailCommand.d.ts +0 -88
  43. package/dist-types/commands/CreateBotApiKeyCommand.d.ts +0 -96
  44. package/dist-types/commands/CreateBotCommand.d.ts +0 -198
  45. package/dist-types/commands/CreateSystemBotCommand.d.ts +0 -78
  46. package/dist-types/commands/DeleteBotApiKeyCommand.d.ts +0 -80
  47. package/dist-types/commands/DeleteBotCommand.d.ts +0 -77
  48. package/dist-types/commands/GetAppVersionCommand.d.ts +0 -76
  49. package/dist-types/commands/GetBotCallbackCommand.d.ts +0 -184
  50. package/dist-types/commands/GetBotCommand.d.ts +0 -90
  51. package/dist-types/commands/GetUserCommand.d.ts +0 -96
  52. package/dist-types/commands/GetUserEmailNotificationsSettingsCommand.d.ts +0 -81
  53. package/dist-types/commands/GetUserPbxLinkDataCommand.d.ts +0 -132
  54. package/dist-types/commands/GetUserPbxLinkSuggestionCommand.d.ts +0 -79
  55. package/dist-types/commands/GetUserPbxLinkSuggestionV1Command.d.ts +0 -79
  56. package/dist-types/commands/IntelligenceSearchCommand.d.ts +0 -85
  57. package/dist-types/commands/ListBotApiKeysCommand.d.ts +0 -83
  58. package/dist-types/commands/ListBotsCommand.d.ts +0 -89
  59. package/dist-types/commands/PartialUpdateUserEmailNotificationsSettingsCommand.d.ts +0 -81
  60. package/dist-types/commands/QueryColleaguesCommand.d.ts +0 -152
  61. package/dist-types/commands/QueryUserCommand.d.ts +0 -105
  62. package/dist-types/commands/QueryUsersCommand.d.ts +0 -105
  63. package/dist-types/commands/ToggleTranscriptionEmailNotificationsSubscriptionCommand.d.ts +0 -75
  64. package/dist-types/commands/ToggleUnreadEmailNotificationsSubscriptionCommand.d.ts +0 -75
  65. package/dist-types/commands/UpdateBotCallbackCommand.d.ts +0 -288
  66. package/dist-types/commands/UpdateBotCommand.d.ts +0 -93
  67. package/dist-types/commands/UpdateUserEmailNotificationsSettingsCommand.d.ts +0 -81
  68. package/dist-types/commands/UploadPictureCommand.d.ts +0 -76
  69. package/dist-types/commands/UploadPictureV1Command.d.ts +0 -78
  70. package/dist-types/commands/VerifyBotSecretKeyCommand.d.ts +0 -80
  71. package/dist-types/commands/VerifyBotSecretKeyV1Command.d.ts +0 -80
@@ -1,77 +0,0 @@
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 { 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 DeleteBotCommand}.
14
- */
15
- export interface DeleteBotCommandInput extends DeleteBotInput {
16
- }
17
- /**
18
- * @public
19
- *
20
- * The output of {@link DeleteBotCommand}.
21
- */
22
- export interface DeleteBotCommandOutput extends DeleteBotOutput, __MetadataBearer {
23
- }
24
- declare const DeleteBotCommand_base: {
25
- new (input: DeleteBotCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteBotCommandInput, DeleteBotCommandOutput, UsersClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (__0_0: DeleteBotCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteBotCommandInput, DeleteBotCommandOutput, UsersClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
- };
29
- /**
30
- * Deletes an existing bot and all its associated data.
31
- * @example
32
- * Use a bare-bones client and the command you need to make an API call.
33
- * ```javascript
34
- * import { UsersClient, DeleteBotCommand } from "@wildix/xbees-users-client"; // ES Modules import
35
- * // const { UsersClient, DeleteBotCommand } = require("@wildix/xbees-users-client"); // CommonJS import
36
- * const client = new UsersClient(config);
37
- * const input = { // DeleteBotInput
38
- * company: "STRING_VALUE",
39
- * botId: "STRING_VALUE", // required
40
- * };
41
- * const command = new DeleteBotCommand(input);
42
- * const response = await client.send(command);
43
- * // {};
44
- *
45
- * ```
46
- *
47
- * @param DeleteBotCommandInput - {@link DeleteBotCommandInput}
48
- * @returns {@link DeleteBotCommandOutput}
49
- * @see {@link DeleteBotCommandInput} for command's `input` shape.
50
- * @see {@link DeleteBotCommandOutput} for command's `response` shape.
51
- * @see {@link UsersClientResolvedConfig | config} for UsersClient's `config` shape.
52
- *
53
- * @throws {@link BotNotFoundException} (client fault)
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
- * @public
64
- */
65
- export declare class DeleteBotCommand extends DeleteBotCommand_base {
66
- /** @internal type navigation helper, not in runtime. */
67
- protected static __types: {
68
- api: {
69
- input: DeleteBotInput;
70
- output: {};
71
- };
72
- sdk: {
73
- input: DeleteBotCommandInput;
74
- output: DeleteBotCommandOutput;
75
- };
76
- };
77
- }
@@ -1,76 +0,0 @@
1
- import { ServiceInputTypes, ServiceOutputTypes, UsersClientResolvedConfig } from "../UsersClient";
2
- import { GetAppVersionInput, GetAppVersionOutput } 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 GetAppVersionCommand}.
14
- */
15
- export interface GetAppVersionCommandInput extends GetAppVersionInput {
16
- }
17
- /**
18
- * @public
19
- *
20
- * The output of {@link GetAppVersionCommand}.
21
- */
22
- export interface GetAppVersionCommandOutput extends GetAppVersionOutput, __MetadataBearer {
23
- }
24
- declare const GetAppVersionCommand_base: {
25
- new (input: GetAppVersionCommandInput): import("@smithy/smithy-client").CommandImpl<GetAppVersionCommandInput, GetAppVersionCommandOutput, UsersClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (__0_0: GetAppVersionCommandInput): import("@smithy/smithy-client").CommandImpl<GetAppVersionCommandInput, GetAppVersionCommandOutput, UsersClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
- };
29
- /**
30
- * Returns the current Google Play Store version of the Android app for the specified appType (X-Bees, X-Hoppers, Collaboration).
31
- * @example
32
- * Use a bare-bones client and the command you need to make an API call.
33
- * ```javascript
34
- * import { UsersClient, GetAppVersionCommand } from "@wildix/xbees-users-client"; // ES Modules import
35
- * // const { UsersClient, GetAppVersionCommand } = require("@wildix/xbees-users-client"); // CommonJS import
36
- * const client = new UsersClient(config);
37
- * const input = { // GetAppVersionInput
38
- * appType: "x-bees" || "x-hoppers" || "collaboration", // required
39
- * };
40
- * const command = new GetAppVersionCommand(input);
41
- * const response = await client.send(command);
42
- * // { // GetAppVersionOutput
43
- * // version: "STRING_VALUE", // required
44
- * // };
45
- *
46
- * ```
47
- *
48
- * @param GetAppVersionCommandInput - {@link GetAppVersionCommandInput}
49
- * @returns {@link GetAppVersionCommandOutput}
50
- * @see {@link GetAppVersionCommandInput} for command's `input` shape.
51
- * @see {@link GetAppVersionCommandOutput} for command's `response` shape.
52
- * @see {@link UsersClientResolvedConfig | config} for UsersClient's `config` shape.
53
- *
54
- * @throws {@link ForbiddenException} (client fault)
55
- *
56
- * @throws {@link ValidationException} (client fault)
57
- *
58
- * @throws {@link UsersServiceException}
59
- * <p>Base exception class for all service exceptions from Users service.</p>
60
- *
61
- *
62
- * @public
63
- */
64
- export declare class GetAppVersionCommand extends GetAppVersionCommand_base {
65
- /** @internal type navigation helper, not in runtime. */
66
- protected static __types: {
67
- api: {
68
- input: GetAppVersionInput;
69
- output: GetAppVersionOutput;
70
- };
71
- sdk: {
72
- input: GetAppVersionCommandInput;
73
- output: GetAppVersionCommandOutput;
74
- };
75
- };
76
- }
@@ -1,184 +0,0 @@
1
- import { ServiceInputTypes, ServiceOutputTypes, UsersClientResolvedConfig } from "../UsersClient";
2
- import { GetBotCallbackInput, GetBotCallbackOutput } 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 GetBotCallbackCommand}.
14
- */
15
- export interface GetBotCallbackCommandInput extends GetBotCallbackInput {
16
- }
17
- /**
18
- * @public
19
- *
20
- * The output of {@link GetBotCallbackCommand}.
21
- */
22
- export interface GetBotCallbackCommandOutput extends GetBotCallbackOutput, __MetadataBearer {
23
- }
24
- declare const GetBotCallbackCommand_base: {
25
- new (input: GetBotCallbackCommandInput): import("@smithy/smithy-client").CommandImpl<GetBotCallbackCommandInput, GetBotCallbackCommandOutput, UsersClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (__0_0: GetBotCallbackCommandInput): import("@smithy/smithy-client").CommandImpl<GetBotCallbackCommandInput, GetBotCallbackCommandOutput, UsersClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
- };
29
- /**
30
- * Retrieves the callback configuration 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, GetBotCallbackCommand } from "@wildix/xbees-users-client"; // ES Modules import
35
- * // const { UsersClient, GetBotCallbackCommand } = require("@wildix/xbees-users-client"); // CommonJS import
36
- * const client = new UsersClient(config);
37
- * const input = { // GetBotCallbackInput
38
- * company: "STRING_VALUE",
39
- * botId: "STRING_VALUE", // required
40
- * };
41
- * const command = new GetBotCallbackCommand(input);
42
- * const response = await client.send(command);
43
- * // { // GetBotCallbackOutput
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
- *
152
- * ```
153
- *
154
- * @param GetBotCallbackCommandInput - {@link GetBotCallbackCommandInput}
155
- * @returns {@link GetBotCallbackCommandOutput}
156
- * @see {@link GetBotCallbackCommandInput} for command's `input` shape.
157
- * @see {@link GetBotCallbackCommandOutput} for command's `response` shape.
158
- * @see {@link UsersClientResolvedConfig | config} for UsersClient's `config` shape.
159
- *
160
- * @throws {@link BotNotFoundException} (client fault)
161
- *
162
- * @throws {@link ForbiddenException} (client fault)
163
- *
164
- * @throws {@link ValidationException} (client fault)
165
- *
166
- * @throws {@link UsersServiceException}
167
- * <p>Base exception class for all service exceptions from Users service.</p>
168
- *
169
- *
170
- * @public
171
- */
172
- export declare class GetBotCallbackCommand extends GetBotCallbackCommand_base {
173
- /** @internal type navigation helper, not in runtime. */
174
- protected static __types: {
175
- api: {
176
- input: GetBotCallbackInput;
177
- output: GetBotCallbackOutput;
178
- };
179
- sdk: {
180
- input: GetBotCallbackCommandInput;
181
- output: GetBotCallbackCommandOutput;
182
- };
183
- };
184
- }
@@ -1,90 +0,0 @@
1
- import { ServiceInputTypes, ServiceOutputTypes, UsersClientResolvedConfig } from "../UsersClient";
2
- import { GetBotInput, GetBotOutput } 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 GetBotCommand}.
14
- */
15
- export interface GetBotCommandInput extends GetBotInput {
16
- }
17
- /**
18
- * @public
19
- *
20
- * The output of {@link GetBotCommand}.
21
- */
22
- export interface GetBotCommandOutput extends GetBotOutput, __MetadataBearer {
23
- }
24
- declare const GetBotCommand_base: {
25
- new (input: GetBotCommandInput): import("@smithy/smithy-client").CommandImpl<GetBotCommandInput, GetBotCommandOutput, UsersClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (__0_0: GetBotCommandInput): import("@smithy/smithy-client").CommandImpl<GetBotCommandInput, GetBotCommandOutput, UsersClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
- };
29
- /**
30
- * Retrieves details of a specific bot by its unique identifier.
31
- * @example
32
- * Use a bare-bones client and the command you need to make an API call.
33
- * ```javascript
34
- * import { UsersClient, GetBotCommand } from "@wildix/xbees-users-client"; // ES Modules import
35
- * // const { UsersClient, GetBotCommand } = require("@wildix/xbees-users-client"); // CommonJS import
36
- * const client = new UsersClient(config);
37
- * const input = { // GetBotInput
38
- * company: "STRING_VALUE",
39
- * botId: "STRING_VALUE", // required
40
- * };
41
- * const command = new GetBotCommand(input);
42
- * const response = await client.send(command);
43
- * // { // GetBotOutput
44
- * // bot: { // Bot
45
- * // name: "STRING_VALUE", // required
46
- * // category: "STRING_VALUE",
47
- * // picture: "STRING_VALUE",
48
- * // searchable: true || false,
49
- * // access: "EVERYBODY" || "ORGANIZATION",
50
- * // id: "STRING_VALUE", // required
51
- * // integrationType: "LLM" || "DIALOGFLOW_CX" || "OPEN_AI_ASSISTANT" || "WEBHOOK" || "SQS", // required
52
- * // integrationApiKeysCount: Number("int"), // required
53
- * // createdAt: "STRING_VALUE", // required
54
- * // updated: "STRING_VALUE",
55
- * // },
56
- * // };
57
- *
58
- * ```
59
- *
60
- * @param GetBotCommandInput - {@link GetBotCommandInput}
61
- * @returns {@link GetBotCommandOutput}
62
- * @see {@link GetBotCommandInput} for command's `input` shape.
63
- * @see {@link GetBotCommandOutput} for command's `response` shape.
64
- * @see {@link UsersClientResolvedConfig | config} for UsersClient's `config` shape.
65
- *
66
- * @throws {@link BotNotFoundException} (client fault)
67
- *
68
- * @throws {@link ForbiddenException} (client fault)
69
- *
70
- * @throws {@link ValidationException} (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 GetBotCommand extends GetBotCommand_base {
79
- /** @internal type navigation helper, not in runtime. */
80
- protected static __types: {
81
- api: {
82
- input: GetBotInput;
83
- output: GetBotOutput;
84
- };
85
- sdk: {
86
- input: GetBotCommandInput;
87
- output: GetBotCommandOutput;
88
- };
89
- };
90
- }
@@ -1,96 +0,0 @@
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
- * Retrieves details of a specific user by their unique identifier.
31
- * @example
32
- * Use a bare-bones client and the command you need to make an API call.
33
- * ```javascript
34
- * import { UsersClient, GetUserCommand } from "@wildix/xbees-users-client"; // ES Modules import
35
- * // const { UsersClient, GetUserCommand } = require("@wildix/xbees-users-client"); // CommonJS import
36
- * const client = new UsersClient(config);
37
- * const input = { // GetUserInput
38
- * userId: "STRING_VALUE", // required
39
- * };
40
- * const command = new GetUserCommand(input);
41
- * const response = await client.send(command);
42
- * // { // GetUserOutput
43
- * // user: { // User
44
- * // id: "STRING_VALUE", // required
45
- * // name: "STRING_VALUE",
46
- * // email: "STRING_VALUE",
47
- * // phone: "STRING_VALUE",
48
- * // picture: "STRING_VALUE",
49
- * // locale: "STRING_VALUE",
50
- * // timeZone: "STRING_VALUE",
51
- * // company: "STRING_VALUE",
52
- * // bot: true || false,
53
- * // pbxDomain: "STRING_VALUE",
54
- * // pbxPort: "STRING_VALUE",
55
- * // pbxExtension: "STRING_VALUE",
56
- * // pbxSerial: "STRING_VALUE",
57
- * // pbxUserId: "STRING_VALUE",
58
- * // pbxGroupId: "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
- * @public
83
- */
84
- export declare class GetUserCommand extends GetUserCommand_base {
85
- /** @internal type navigation helper, not in runtime. */
86
- protected static __types: {
87
- api: {
88
- input: GetUserInput;
89
- output: GetUserOutput;
90
- };
91
- sdk: {
92
- input: GetUserCommandInput;
93
- output: GetUserCommandOutput;
94
- };
95
- };
96
- }
@@ -1,81 +0,0 @@
1
- import { ServiceInputTypes, ServiceOutputTypes, UsersClientResolvedConfig } from "../UsersClient";
2
- import { GetUserEmailNotificationsSettingsInput, GetUserEmailNotificationsSettingsOutput } 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 GetUserEmailNotificationsSettingsCommand}.
14
- */
15
- export interface GetUserEmailNotificationsSettingsCommandInput extends GetUserEmailNotificationsSettingsInput {
16
- }
17
- /**
18
- * @public
19
- *
20
- * The output of {@link GetUserEmailNotificationsSettingsCommand}.
21
- */
22
- export interface GetUserEmailNotificationsSettingsCommandOutput extends GetUserEmailNotificationsSettingsOutput, __MetadataBearer {
23
- }
24
- declare const GetUserEmailNotificationsSettingsCommand_base: {
25
- new (input: GetUserEmailNotificationsSettingsCommandInput): import("@smithy/smithy-client").CommandImpl<GetUserEmailNotificationsSettingsCommandInput, GetUserEmailNotificationsSettingsCommandOutput, UsersClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (__0_0: GetUserEmailNotificationsSettingsCommandInput): import("@smithy/smithy-client").CommandImpl<GetUserEmailNotificationsSettingsCommandInput, GetUserEmailNotificationsSettingsCommandOutput, UsersClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
- };
29
- /**
30
- * Getting user email notifications settings
31
- * @example
32
- * Use a bare-bones client and the command you need to make an API call.
33
- * ```javascript
34
- * import { UsersClient, GetUserEmailNotificationsSettingsCommand } from "@wildix/xbees-users-client"; // ES Modules import
35
- * // const { UsersClient, GetUserEmailNotificationsSettingsCommand } = require("@wildix/xbees-users-client"); // CommonJS import
36
- * const client = new UsersClient(config);
37
- * const input = { // GetUserEmailNotificationsSettingsInput
38
- * userId: "STRING_VALUE", // required
39
- * };
40
- * const command = new GetUserEmailNotificationsSettingsCommand(input);
41
- * const response = await client.send(command);
42
- * // { // GetUserEmailNotificationsSettingsOutput
43
- * // notifications: { // UserEmailNotificationsSettings
44
- * // unread: true || false, // required
45
- * // transcription: true || false, // required
46
- * // },
47
- * // };
48
- *
49
- * ```
50
- *
51
- * @param GetUserEmailNotificationsSettingsCommandInput - {@link GetUserEmailNotificationsSettingsCommandInput}
52
- * @returns {@link GetUserEmailNotificationsSettingsCommandOutput}
53
- * @see {@link GetUserEmailNotificationsSettingsCommandInput} for command's `input` shape.
54
- * @see {@link GetUserEmailNotificationsSettingsCommandOutput} for command's `response` shape.
55
- * @see {@link UsersClientResolvedConfig | config} for UsersClient's `config` shape.
56
- *
57
- * @throws {@link UserNotFoundException} (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
- * @public
68
- */
69
- export declare class GetUserEmailNotificationsSettingsCommand extends GetUserEmailNotificationsSettingsCommand_base {
70
- /** @internal type navigation helper, not in runtime. */
71
- protected static __types: {
72
- api: {
73
- input: GetUserEmailNotificationsSettingsInput;
74
- output: GetUserEmailNotificationsSettingsOutput;
75
- };
76
- sdk: {
77
- input: GetUserEmailNotificationsSettingsCommandInput;
78
- output: GetUserEmailNotificationsSettingsCommandOutput;
79
- };
80
- };
81
- }