@wildix/xbees-users-client 1.0.28 → 1.0.29

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 (34) hide show
  1. package/dist-cjs/Users.js +12 -4
  2. package/dist-cjs/commands/BatchGetUsersEmailNotificationsSettingsCommand.js +21 -0
  3. package/dist-cjs/commands/{GetUserSettingsCommand.js → GetUserEmailNotificationsSettingsCommand.js} +7 -7
  4. package/dist-cjs/commands/PartialUpdateUserEmailNotificationsSettingsCommand.js +21 -0
  5. package/dist-cjs/commands/UnsubscribeFromTranscriptionEmailNotificationsCommand.js +21 -0
  6. package/dist-cjs/commands/UnsubscribeFromUnreadEmailNotificationsCommand.js +21 -0
  7. package/dist-cjs/commands/{PartialUpdateUserSettingsCommand.js → UpdateUserEmailNotificationsSettingsCommand.js} +7 -7
  8. package/dist-cjs/commands/index.js +6 -2
  9. package/dist-cjs/protocols/Aws_restJson1.js +152 -43
  10. package/dist-es/Users.js +12 -4
  11. package/dist-es/commands/BatchGetUsersEmailNotificationsSettingsCommand.js +17 -0
  12. package/dist-es/commands/GetUserEmailNotificationsSettingsCommand.js +17 -0
  13. package/dist-es/commands/PartialUpdateUserEmailNotificationsSettingsCommand.js +17 -0
  14. package/dist-es/commands/UnsubscribeFromTranscriptionEmailNotificationsCommand.js +17 -0
  15. package/dist-es/commands/UnsubscribeFromUnreadEmailNotificationsCommand.js +17 -0
  16. package/dist-es/commands/UpdateUserEmailNotificationsSettingsCommand.js +17 -0
  17. package/dist-es/commands/index.js +6 -2
  18. package/dist-es/protocols/Aws_restJson1.js +134 -33
  19. package/dist-types/Users.d.ts +40 -13
  20. package/dist-types/UsersClient.d.ts +8 -4
  21. package/dist-types/commands/BatchGetUsersEmailNotificationsSettingsCommand.d.ts +71 -0
  22. package/dist-types/commands/GetUserEmailNotificationsSettingsCommand.d.ts +69 -0
  23. package/dist-types/commands/PartialUpdateUserEmailNotificationsSettingsCommand.d.ts +69 -0
  24. package/dist-types/commands/UnsubscribeFromTranscriptionEmailNotificationsCommand.d.ts +62 -0
  25. package/dist-types/commands/UnsubscribeFromUnreadEmailNotificationsCommand.d.ts +62 -0
  26. package/dist-types/commands/UpdateUserEmailNotificationsSettingsCommand.d.ts +69 -0
  27. package/dist-types/commands/index.d.ts +6 -2
  28. package/dist-types/models/models_0.d.ts +101 -62
  29. package/dist-types/protocols/Aws_restJson1.d.ts +50 -14
  30. package/package.json +2 -2
  31. package/dist-es/commands/GetUserSettingsCommand.js +0 -17
  32. package/dist-es/commands/PartialUpdateUserSettingsCommand.js +0 -17
  33. package/dist-types/commands/GetUserSettingsCommand.d.ts +0 -69
  34. package/dist-types/commands/PartialUpdateUserSettingsCommand.d.ts +0 -76
@@ -1,4 +1,5 @@
1
1
  import { BatchGetUsersCommandInput, BatchGetUsersCommandOutput } from "./commands/BatchGetUsersCommand";
2
+ import { BatchGetUsersEmailNotificationsSettingsCommandInput, BatchGetUsersEmailNotificationsSettingsCommandOutput } from "./commands/BatchGetUsersEmailNotificationsSettingsCommand";
2
3
  import { BatchGetUsersPbxLinkDataCommandInput, BatchGetUsersPbxLinkDataCommandOutput } from "./commands/BatchGetUsersPbxLinkDataCommand";
3
4
  import { BatchGetUsersPbxLinkDataV1CommandInput, BatchGetUsersPbxLinkDataV1CommandOutput } from "./commands/BatchGetUsersPbxLinkDataV1Command";
4
5
  import { ChangeUserEmailCommandInput, ChangeUserEmailCommandOutput } from "./commands/ChangeUserEmailCommand";
@@ -10,18 +11,21 @@ import { DeleteBotCommandInput, DeleteBotCommandOutput } from "./commands/Delete
10
11
  import { GetBotCallbackCommandInput, GetBotCallbackCommandOutput } from "./commands/GetBotCallbackCommand";
11
12
  import { GetBotCommandInput, GetBotCommandOutput } from "./commands/GetBotCommand";
12
13
  import { GetUserCommandInput, GetUserCommandOutput } from "./commands/GetUserCommand";
14
+ import { GetUserEmailNotificationsSettingsCommandInput, GetUserEmailNotificationsSettingsCommandOutput } from "./commands/GetUserEmailNotificationsSettingsCommand";
13
15
  import { GetUserPbxLinkDataCommandInput, GetUserPbxLinkDataCommandOutput } from "./commands/GetUserPbxLinkDataCommand";
14
16
  import { GetUserPbxLinkSuggestionCommandInput, GetUserPbxLinkSuggestionCommandOutput } from "./commands/GetUserPbxLinkSuggestionCommand";
15
17
  import { GetUserPbxLinkSuggestionV1CommandInput, GetUserPbxLinkSuggestionV1CommandOutput } from "./commands/GetUserPbxLinkSuggestionV1Command";
16
- import { GetUserSettingsCommandInput, GetUserSettingsCommandOutput } from "./commands/GetUserSettingsCommand";
17
18
  import { ListBotApiKeysCommandInput, ListBotApiKeysCommandOutput } from "./commands/ListBotApiKeysCommand";
18
19
  import { ListBotsCommandInput, ListBotsCommandOutput } from "./commands/ListBotsCommand";
19
- import { PartialUpdateUserSettingsCommandInput, PartialUpdateUserSettingsCommandOutput } from "./commands/PartialUpdateUserSettingsCommand";
20
+ import { PartialUpdateUserEmailNotificationsSettingsCommandInput, PartialUpdateUserEmailNotificationsSettingsCommandOutput } from "./commands/PartialUpdateUserEmailNotificationsSettingsCommand";
20
21
  import { QueryColleaguesCommandInput, QueryColleaguesCommandOutput } from "./commands/QueryColleaguesCommand";
21
22
  import { QueryUserCommandInput, QueryUserCommandOutput } from "./commands/QueryUserCommand";
22
23
  import { QueryUsersCommandInput, QueryUsersCommandOutput } from "./commands/QueryUsersCommand";
24
+ import { UnsubscribeFromTranscriptionEmailNotificationsCommandInput, UnsubscribeFromTranscriptionEmailNotificationsCommandOutput } from "./commands/UnsubscribeFromTranscriptionEmailNotificationsCommand";
25
+ import { UnsubscribeFromUnreadEmailNotificationsCommandInput, UnsubscribeFromUnreadEmailNotificationsCommandOutput } from "./commands/UnsubscribeFromUnreadEmailNotificationsCommand";
23
26
  import { UpdateBotCallbackCommandInput, UpdateBotCallbackCommandOutput } from "./commands/UpdateBotCallbackCommand";
24
27
  import { UpdateBotCommandInput, UpdateBotCommandOutput } from "./commands/UpdateBotCommand";
28
+ import { UpdateUserEmailNotificationsSettingsCommandInput, UpdateUserEmailNotificationsSettingsCommandOutput } from "./commands/UpdateUserEmailNotificationsSettingsCommand";
25
29
  import { UploadPictureCommandInput, UploadPictureCommandOutput } from "./commands/UploadPictureCommand";
26
30
  import { UploadPictureV1CommandInput, UploadPictureV1CommandOutput } from "./commands/UploadPictureV1Command";
27
31
  import { VerifyBotSecretKeyCommandInput, VerifyBotSecretKeyCommandOutput } from "./commands/VerifyBotSecretKeyCommand";
@@ -37,11 +41,11 @@ export { __Client };
37
41
  /**
38
42
  * @public
39
43
  */
40
- export type ServiceInputTypes = BatchGetUsersCommandInput | BatchGetUsersPbxLinkDataCommandInput | BatchGetUsersPbxLinkDataV1CommandInput | ChangeUserEmailCommandInput | CreateBotApiKeyCommandInput | CreateBotCommandInput | CreateSystemBotCommandInput | DeleteBotApiKeyCommandInput | DeleteBotCommandInput | GetBotCallbackCommandInput | GetBotCommandInput | GetUserCommandInput | GetUserPbxLinkDataCommandInput | GetUserPbxLinkSuggestionCommandInput | GetUserPbxLinkSuggestionV1CommandInput | GetUserSettingsCommandInput | ListBotApiKeysCommandInput | ListBotsCommandInput | PartialUpdateUserSettingsCommandInput | QueryColleaguesCommandInput | QueryUserCommandInput | QueryUsersCommandInput | UpdateBotCallbackCommandInput | UpdateBotCommandInput | UploadPictureCommandInput | UploadPictureV1CommandInput | VerifyBotSecretKeyCommandInput | VerifyBotSecretKeyV1CommandInput;
44
+ export type ServiceInputTypes = BatchGetUsersCommandInput | BatchGetUsersEmailNotificationsSettingsCommandInput | BatchGetUsersPbxLinkDataCommandInput | BatchGetUsersPbxLinkDataV1CommandInput | ChangeUserEmailCommandInput | CreateBotApiKeyCommandInput | CreateBotCommandInput | CreateSystemBotCommandInput | DeleteBotApiKeyCommandInput | DeleteBotCommandInput | GetBotCallbackCommandInput | GetBotCommandInput | GetUserCommandInput | GetUserEmailNotificationsSettingsCommandInput | GetUserPbxLinkDataCommandInput | GetUserPbxLinkSuggestionCommandInput | GetUserPbxLinkSuggestionV1CommandInput | ListBotApiKeysCommandInput | ListBotsCommandInput | PartialUpdateUserEmailNotificationsSettingsCommandInput | QueryColleaguesCommandInput | QueryUserCommandInput | QueryUsersCommandInput | UnsubscribeFromTranscriptionEmailNotificationsCommandInput | UnsubscribeFromUnreadEmailNotificationsCommandInput | UpdateBotCallbackCommandInput | UpdateBotCommandInput | UpdateUserEmailNotificationsSettingsCommandInput | UploadPictureCommandInput | UploadPictureV1CommandInput | VerifyBotSecretKeyCommandInput | VerifyBotSecretKeyV1CommandInput;
41
45
  /**
42
46
  * @public
43
47
  */
44
- export type ServiceOutputTypes = BatchGetUsersCommandOutput | BatchGetUsersPbxLinkDataCommandOutput | BatchGetUsersPbxLinkDataV1CommandOutput | ChangeUserEmailCommandOutput | CreateBotApiKeyCommandOutput | CreateBotCommandOutput | CreateSystemBotCommandOutput | DeleteBotApiKeyCommandOutput | DeleteBotCommandOutput | GetBotCallbackCommandOutput | GetBotCommandOutput | GetUserCommandOutput | GetUserPbxLinkDataCommandOutput | GetUserPbxLinkSuggestionCommandOutput | GetUserPbxLinkSuggestionV1CommandOutput | GetUserSettingsCommandOutput | ListBotApiKeysCommandOutput | ListBotsCommandOutput | PartialUpdateUserSettingsCommandOutput | QueryColleaguesCommandOutput | QueryUserCommandOutput | QueryUsersCommandOutput | UpdateBotCallbackCommandOutput | UpdateBotCommandOutput | UploadPictureCommandOutput | UploadPictureV1CommandOutput | VerifyBotSecretKeyCommandOutput | VerifyBotSecretKeyV1CommandOutput;
48
+ export type ServiceOutputTypes = BatchGetUsersCommandOutput | BatchGetUsersEmailNotificationsSettingsCommandOutput | BatchGetUsersPbxLinkDataCommandOutput | BatchGetUsersPbxLinkDataV1CommandOutput | ChangeUserEmailCommandOutput | CreateBotApiKeyCommandOutput | CreateBotCommandOutput | CreateSystemBotCommandOutput | DeleteBotApiKeyCommandOutput | DeleteBotCommandOutput | GetBotCallbackCommandOutput | GetBotCommandOutput | GetUserCommandOutput | GetUserEmailNotificationsSettingsCommandOutput | GetUserPbxLinkDataCommandOutput | GetUserPbxLinkSuggestionCommandOutput | GetUserPbxLinkSuggestionV1CommandOutput | ListBotApiKeysCommandOutput | ListBotsCommandOutput | PartialUpdateUserEmailNotificationsSettingsCommandOutput | QueryColleaguesCommandOutput | QueryUserCommandOutput | QueryUsersCommandOutput | UnsubscribeFromTranscriptionEmailNotificationsCommandOutput | UnsubscribeFromUnreadEmailNotificationsCommandOutput | UpdateBotCallbackCommandOutput | UpdateBotCommandOutput | UpdateUserEmailNotificationsSettingsCommandOutput | UploadPictureCommandOutput | UploadPictureV1CommandOutput | VerifyBotSecretKeyCommandOutput | VerifyBotSecretKeyV1CommandOutput;
45
49
  /**
46
50
  * @public
47
51
  */
@@ -0,0 +1,71 @@
1
+ import { ServiceInputTypes, ServiceOutputTypes, UsersClientResolvedConfig } from "../UsersClient";
2
+ import { BatchGetUsersEmailNotificationsSettingsInput, BatchGetUsersEmailNotificationsSettingsOutput } 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 BatchGetUsersEmailNotificationsSettingsCommand}.
14
+ */
15
+ export interface BatchGetUsersEmailNotificationsSettingsCommandInput extends BatchGetUsersEmailNotificationsSettingsInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link BatchGetUsersEmailNotificationsSettingsCommand}.
21
+ */
22
+ export interface BatchGetUsersEmailNotificationsSettingsCommandOutput extends BatchGetUsersEmailNotificationsSettingsOutput, __MetadataBearer {
23
+ }
24
+ declare const BatchGetUsersEmailNotificationsSettingsCommand_base: {
25
+ new (input: BatchGetUsersEmailNotificationsSettingsCommandInput): import("@smithy/smithy-client").CommandImpl<BatchGetUsersEmailNotificationsSettingsCommandInput, BatchGetUsersEmailNotificationsSettingsCommandOutput, UsersClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: BatchGetUsersEmailNotificationsSettingsCommandInput): import("@smithy/smithy-client").CommandImpl<BatchGetUsersEmailNotificationsSettingsCommandInput, BatchGetUsersEmailNotificationsSettingsCommandOutput, UsersClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * Get multiple user settings by their IDs
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { UsersClient, BatchGetUsersEmailNotificationsSettingsCommand } from "@wildix/xbees-users-client"; // ES Modules import
35
+ * // const { UsersClient, BatchGetUsersEmailNotificationsSettingsCommand } = require("@wildix/xbees-users-client"); // CommonJS import
36
+ * const client = new UsersClient(config);
37
+ * const input = { // BatchGetUsersEmailNotificationsSettingsInput
38
+ * usersIds: [ // UsersIdList // required
39
+ * "STRING_VALUE",
40
+ * ],
41
+ * };
42
+ * const command = new BatchGetUsersEmailNotificationsSettingsCommand(input);
43
+ * const response = await client.send(command);
44
+ * // { // BatchGetUsersEmailNotificationsSettingsOutput
45
+ * // notifications: { // UsersEmailNotificationsSettingsMap // required
46
+ * // "<keys>": { // UserEmailNotificationsSettings
47
+ * // unread: true || false, // required
48
+ * // transcription: true || false, // required
49
+ * // },
50
+ * // },
51
+ * // };
52
+ *
53
+ * ```
54
+ *
55
+ * @param BatchGetUsersEmailNotificationsSettingsCommandInput - {@link BatchGetUsersEmailNotificationsSettingsCommandInput}
56
+ * @returns {@link BatchGetUsersEmailNotificationsSettingsCommandOutput}
57
+ * @see {@link BatchGetUsersEmailNotificationsSettingsCommandInput} for command's `input` shape.
58
+ * @see {@link BatchGetUsersEmailNotificationsSettingsCommandOutput} for command's `response` shape.
59
+ * @see {@link UsersClientResolvedConfig | config} for UsersClient's `config` shape.
60
+ *
61
+ * @throws {@link ForbiddenException} (client fault)
62
+ *
63
+ * @throws {@link ValidationException} (client fault)
64
+ *
65
+ * @throws {@link UsersServiceException}
66
+ * <p>Base exception class for all service exceptions from Users service.</p>
67
+ *
68
+ * @public
69
+ */
70
+ export declare class BatchGetUsersEmailNotificationsSettingsCommand extends BatchGetUsersEmailNotificationsSettingsCommand_base {
71
+ }
@@ -0,0 +1,69 @@
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
+ * @public
67
+ */
68
+ export declare class GetUserEmailNotificationsSettingsCommand extends GetUserEmailNotificationsSettingsCommand_base {
69
+ }
@@ -0,0 +1,69 @@
1
+ import { ServiceInputTypes, ServiceOutputTypes, UsersClientResolvedConfig } from "../UsersClient";
2
+ import { PartialUpdateUserEmailNotificationsSettingsInput, PartialUpdateUserEmailNotificationsSettingsOutput } 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 PartialUpdateUserEmailNotificationsSettingsCommand}.
14
+ */
15
+ export interface PartialUpdateUserEmailNotificationsSettingsCommandInput extends PartialUpdateUserEmailNotificationsSettingsInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link PartialUpdateUserEmailNotificationsSettingsCommand}.
21
+ */
22
+ export interface PartialUpdateUserEmailNotificationsSettingsCommandOutput extends PartialUpdateUserEmailNotificationsSettingsOutput, __MetadataBearer {
23
+ }
24
+ declare const PartialUpdateUserEmailNotificationsSettingsCommand_base: {
25
+ new (input: PartialUpdateUserEmailNotificationsSettingsCommandInput): import("@smithy/smithy-client").CommandImpl<PartialUpdateUserEmailNotificationsSettingsCommandInput, PartialUpdateUserEmailNotificationsSettingsCommandOutput, UsersClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: PartialUpdateUserEmailNotificationsSettingsCommandInput): import("@smithy/smithy-client").CommandImpl<PartialUpdateUserEmailNotificationsSettingsCommandInput, PartialUpdateUserEmailNotificationsSettingsCommandOutput, UsersClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * Partially update 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, PartialUpdateUserEmailNotificationsSettingsCommand } from "@wildix/xbees-users-client"; // ES Modules import
35
+ * // const { UsersClient, PartialUpdateUserEmailNotificationsSettingsCommand } = require("@wildix/xbees-users-client"); // CommonJS import
36
+ * const client = new UsersClient(config);
37
+ * const input = { // PartialUpdateUserEmailNotificationsSettingsInput
38
+ * unread: true || false,
39
+ * transcription: true || false,
40
+ * userId: "STRING_VALUE", // required
41
+ * };
42
+ * const command = new PartialUpdateUserEmailNotificationsSettingsCommand(input);
43
+ * const response = await client.send(command);
44
+ * // { // PartialUpdateUserEmailNotificationsSettingsOutput
45
+ * // notifications: { // UserEmailNotificationsSettings
46
+ * // unread: true || false, // required
47
+ * // transcription: true || false, // required
48
+ * // },
49
+ * // };
50
+ *
51
+ * ```
52
+ *
53
+ * @param PartialUpdateUserEmailNotificationsSettingsCommandInput - {@link PartialUpdateUserEmailNotificationsSettingsCommandInput}
54
+ * @returns {@link PartialUpdateUserEmailNotificationsSettingsCommandOutput}
55
+ * @see {@link PartialUpdateUserEmailNotificationsSettingsCommandInput} for command's `input` shape.
56
+ * @see {@link PartialUpdateUserEmailNotificationsSettingsCommandOutput} for command's `response` shape.
57
+ * @see {@link UsersClientResolvedConfig | config} for UsersClient's `config` shape.
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
+ * @public
67
+ */
68
+ export declare class PartialUpdateUserEmailNotificationsSettingsCommand extends PartialUpdateUserEmailNotificationsSettingsCommand_base {
69
+ }
@@ -0,0 +1,62 @@
1
+ import { ServiceInputTypes, ServiceOutputTypes, UsersClientResolvedConfig } from "../UsersClient";
2
+ import { UnsubscribeFromTranscriptionEmailNotificationsInput, UnsubscribeFromTranscriptionEmailNotificationsOutput } 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 UnsubscribeFromTranscriptionEmailNotificationsCommand}.
14
+ */
15
+ export interface UnsubscribeFromTranscriptionEmailNotificationsCommandInput extends UnsubscribeFromTranscriptionEmailNotificationsInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link UnsubscribeFromTranscriptionEmailNotificationsCommand}.
21
+ */
22
+ export interface UnsubscribeFromTranscriptionEmailNotificationsCommandOutput extends UnsubscribeFromTranscriptionEmailNotificationsOutput, __MetadataBearer {
23
+ }
24
+ declare const UnsubscribeFromTranscriptionEmailNotificationsCommand_base: {
25
+ new (input: UnsubscribeFromTranscriptionEmailNotificationsCommandInput): import("@smithy/smithy-client").CommandImpl<UnsubscribeFromTranscriptionEmailNotificationsCommandInput, UnsubscribeFromTranscriptionEmailNotificationsCommandOutput, UsersClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: UnsubscribeFromTranscriptionEmailNotificationsCommandInput): import("@smithy/smithy-client").CommandImpl<UnsubscribeFromTranscriptionEmailNotificationsCommandInput, UnsubscribeFromTranscriptionEmailNotificationsCommandOutput, UsersClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * Unsubscribe from email notifications about AI transcription
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { UsersClient, UnsubscribeFromTranscriptionEmailNotificationsCommand } from "@wildix/xbees-users-client"; // ES Modules import
35
+ * // const { UsersClient, UnsubscribeFromTranscriptionEmailNotificationsCommand } = require("@wildix/xbees-users-client"); // CommonJS import
36
+ * const client = new UsersClient(config);
37
+ * const input = { // UnsubscribeFromTranscriptionEmailNotificationsInput
38
+ * unsubscribeToken: "STRING_VALUE", // required
39
+ * };
40
+ * const command = new UnsubscribeFromTranscriptionEmailNotificationsCommand(input);
41
+ * const response = await client.send(command);
42
+ * // {};
43
+ *
44
+ * ```
45
+ *
46
+ * @param UnsubscribeFromTranscriptionEmailNotificationsCommandInput - {@link UnsubscribeFromTranscriptionEmailNotificationsCommandInput}
47
+ * @returns {@link UnsubscribeFromTranscriptionEmailNotificationsCommandOutput}
48
+ * @see {@link UnsubscribeFromTranscriptionEmailNotificationsCommandInput} for command's `input` shape.
49
+ * @see {@link UnsubscribeFromTranscriptionEmailNotificationsCommandOutput} for command's `response` shape.
50
+ * @see {@link UsersClientResolvedConfig | config} for UsersClient's `config` shape.
51
+ *
52
+ * @throws {@link ForbiddenException} (client fault)
53
+ *
54
+ * @throws {@link ValidationException} (client fault)
55
+ *
56
+ * @throws {@link UsersServiceException}
57
+ * <p>Base exception class for all service exceptions from Users service.</p>
58
+ *
59
+ * @public
60
+ */
61
+ export declare class UnsubscribeFromTranscriptionEmailNotificationsCommand extends UnsubscribeFromTranscriptionEmailNotificationsCommand_base {
62
+ }
@@ -0,0 +1,62 @@
1
+ import { ServiceInputTypes, ServiceOutputTypes, UsersClientResolvedConfig } from "../UsersClient";
2
+ import { UnsubscribeFromUnreadEmailNotificationsInput, UnsubscribeFromUnreadEmailNotificationsOutput } 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 UnsubscribeFromUnreadEmailNotificationsCommand}.
14
+ */
15
+ export interface UnsubscribeFromUnreadEmailNotificationsCommandInput extends UnsubscribeFromUnreadEmailNotificationsInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link UnsubscribeFromUnreadEmailNotificationsCommand}.
21
+ */
22
+ export interface UnsubscribeFromUnreadEmailNotificationsCommandOutput extends UnsubscribeFromUnreadEmailNotificationsOutput, __MetadataBearer {
23
+ }
24
+ declare const UnsubscribeFromUnreadEmailNotificationsCommand_base: {
25
+ new (input: UnsubscribeFromUnreadEmailNotificationsCommandInput): import("@smithy/smithy-client").CommandImpl<UnsubscribeFromUnreadEmailNotificationsCommandInput, UnsubscribeFromUnreadEmailNotificationsCommandOutput, UsersClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: UnsubscribeFromUnreadEmailNotificationsCommandInput): import("@smithy/smithy-client").CommandImpl<UnsubscribeFromUnreadEmailNotificationsCommandInput, UnsubscribeFromUnreadEmailNotificationsCommandOutput, UsersClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * Unsubscribe from email notifications about unread messages
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { UsersClient, UnsubscribeFromUnreadEmailNotificationsCommand } from "@wildix/xbees-users-client"; // ES Modules import
35
+ * // const { UsersClient, UnsubscribeFromUnreadEmailNotificationsCommand } = require("@wildix/xbees-users-client"); // CommonJS import
36
+ * const client = new UsersClient(config);
37
+ * const input = { // UnsubscribeFromUnreadEmailNotificationsInput
38
+ * unsubscribeToken: "STRING_VALUE", // required
39
+ * };
40
+ * const command = new UnsubscribeFromUnreadEmailNotificationsCommand(input);
41
+ * const response = await client.send(command);
42
+ * // {};
43
+ *
44
+ * ```
45
+ *
46
+ * @param UnsubscribeFromUnreadEmailNotificationsCommandInput - {@link UnsubscribeFromUnreadEmailNotificationsCommandInput}
47
+ * @returns {@link UnsubscribeFromUnreadEmailNotificationsCommandOutput}
48
+ * @see {@link UnsubscribeFromUnreadEmailNotificationsCommandInput} for command's `input` shape.
49
+ * @see {@link UnsubscribeFromUnreadEmailNotificationsCommandOutput} for command's `response` shape.
50
+ * @see {@link UsersClientResolvedConfig | config} for UsersClient's `config` shape.
51
+ *
52
+ * @throws {@link ForbiddenException} (client fault)
53
+ *
54
+ * @throws {@link ValidationException} (client fault)
55
+ *
56
+ * @throws {@link UsersServiceException}
57
+ * <p>Base exception class for all service exceptions from Users service.</p>
58
+ *
59
+ * @public
60
+ */
61
+ export declare class UnsubscribeFromUnreadEmailNotificationsCommand extends UnsubscribeFromUnreadEmailNotificationsCommand_base {
62
+ }
@@ -0,0 +1,69 @@
1
+ import { ServiceInputTypes, ServiceOutputTypes, UsersClientResolvedConfig } from "../UsersClient";
2
+ import { UpdateUserEmailNotificationsSettingsInput, UpdateUserEmailNotificationsSettingsOutput } 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 UpdateUserEmailNotificationsSettingsCommand}.
14
+ */
15
+ export interface UpdateUserEmailNotificationsSettingsCommandInput extends UpdateUserEmailNotificationsSettingsInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link UpdateUserEmailNotificationsSettingsCommand}.
21
+ */
22
+ export interface UpdateUserEmailNotificationsSettingsCommandOutput extends UpdateUserEmailNotificationsSettingsOutput, __MetadataBearer {
23
+ }
24
+ declare const UpdateUserEmailNotificationsSettingsCommand_base: {
25
+ new (input: UpdateUserEmailNotificationsSettingsCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateUserEmailNotificationsSettingsCommandInput, UpdateUserEmailNotificationsSettingsCommandOutput, UsersClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: UpdateUserEmailNotificationsSettingsCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateUserEmailNotificationsSettingsCommandInput, UpdateUserEmailNotificationsSettingsCommandOutput, UsersClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * Update 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, UpdateUserEmailNotificationsSettingsCommand } from "@wildix/xbees-users-client"; // ES Modules import
35
+ * // const { UsersClient, UpdateUserEmailNotificationsSettingsCommand } = require("@wildix/xbees-users-client"); // CommonJS import
36
+ * const client = new UsersClient(config);
37
+ * const input = { // UpdateUserEmailNotificationsSettingsInput
38
+ * unread: true || false,
39
+ * transcription: true || false,
40
+ * userId: "STRING_VALUE", // required
41
+ * };
42
+ * const command = new UpdateUserEmailNotificationsSettingsCommand(input);
43
+ * const response = await client.send(command);
44
+ * // { // UpdateUserEmailNotificationsSettingsOutput
45
+ * // notifications: { // UserEmailNotificationsSettings
46
+ * // unread: true || false, // required
47
+ * // transcription: true || false, // required
48
+ * // },
49
+ * // };
50
+ *
51
+ * ```
52
+ *
53
+ * @param UpdateUserEmailNotificationsSettingsCommandInput - {@link UpdateUserEmailNotificationsSettingsCommandInput}
54
+ * @returns {@link UpdateUserEmailNotificationsSettingsCommandOutput}
55
+ * @see {@link UpdateUserEmailNotificationsSettingsCommandInput} for command's `input` shape.
56
+ * @see {@link UpdateUserEmailNotificationsSettingsCommandOutput} for command's `response` shape.
57
+ * @see {@link UsersClientResolvedConfig | config} for UsersClient's `config` shape.
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
+ * @public
67
+ */
68
+ export declare class UpdateUserEmailNotificationsSettingsCommand extends UpdateUserEmailNotificationsSettingsCommand_base {
69
+ }
@@ -1,4 +1,5 @@
1
1
  export * from "./BatchGetUsersCommand";
2
+ export * from "./BatchGetUsersEmailNotificationsSettingsCommand";
2
3
  export * from "./BatchGetUsersPbxLinkDataCommand";
3
4
  export * from "./BatchGetUsersPbxLinkDataV1Command";
4
5
  export * from "./ChangeUserEmailCommand";
@@ -10,18 +11,21 @@ export * from "./DeleteBotApiKeyCommand";
10
11
  export * from "./GetBotCommand";
11
12
  export * from "./GetBotCallbackCommand";
12
13
  export * from "./GetUserCommand";
14
+ export * from "./GetUserEmailNotificationsSettingsCommand";
13
15
  export * from "./GetUserPbxLinkDataCommand";
14
16
  export * from "./GetUserPbxLinkSuggestionCommand";
15
17
  export * from "./GetUserPbxLinkSuggestionV1Command";
16
- export * from "./GetUserSettingsCommand";
17
18
  export * from "./ListBotApiKeysCommand";
18
19
  export * from "./ListBotsCommand";
19
- export * from "./PartialUpdateUserSettingsCommand";
20
+ export * from "./PartialUpdateUserEmailNotificationsSettingsCommand";
20
21
  export * from "./QueryColleaguesCommand";
21
22
  export * from "./QueryUserCommand";
22
23
  export * from "./QueryUsersCommand";
24
+ export * from "./UnsubscribeFromTranscriptionEmailNotificationsCommand";
25
+ export * from "./UnsubscribeFromUnreadEmailNotificationsCommand";
23
26
  export * from "./UpdateBotCommand";
24
27
  export * from "./UpdateBotCallbackCommand";
28
+ export * from "./UpdateUserEmailNotificationsSettingsCommand";
25
29
  export * from "./UploadPictureCommand";
26
30
  export * from "./UploadPictureV1Command";
27
31
  export * from "./VerifyBotSecretKeyCommand";