@wildix/xbees-users-client 1.0.27 → 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 (30) hide show
  1. package/dist-cjs/Users.js +12 -0
  2. package/dist-cjs/commands/BatchGetUsersEmailNotificationsSettingsCommand.js +21 -0
  3. package/dist-cjs/commands/GetUserEmailNotificationsSettingsCommand.js +21 -0
  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/UpdateUserEmailNotificationsSettingsCommand.js +21 -0
  8. package/dist-cjs/commands/index.js +6 -0
  9. package/dist-cjs/protocols/Aws_restJson1.js +180 -2
  10. package/dist-es/Users.js +12 -0
  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 -0
  18. package/dist-es/protocols/Aws_restJson1.js +166 -0
  19. package/dist-types/Users.d.ts +42 -0
  20. package/dist-types/UsersClient.d.ts +8 -2
  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 -0
  28. package/dist-types/models/models_0.d.ts +121 -0
  29. package/dist-types/protocols/Aws_restJson1.d.ts +54 -0
  30. package/package.json +2 -2
@@ -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,16 +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
18
  export * from "./ListBotApiKeysCommand";
17
19
  export * from "./ListBotsCommand";
20
+ export * from "./PartialUpdateUserEmailNotificationsSettingsCommand";
18
21
  export * from "./QueryColleaguesCommand";
19
22
  export * from "./QueryUserCommand";
20
23
  export * from "./QueryUsersCommand";
24
+ export * from "./UnsubscribeFromTranscriptionEmailNotificationsCommand";
25
+ export * from "./UnsubscribeFromUnreadEmailNotificationsCommand";
21
26
  export * from "./UpdateBotCommand";
22
27
  export * from "./UpdateBotCallbackCommand";
28
+ export * from "./UpdateUserEmailNotificationsSettingsCommand";
23
29
  export * from "./UploadPictureCommand";
24
30
  export * from "./UploadPictureV1Command";
25
31
  export * from "./VerifyBotSecretKeyCommand";
@@ -214,6 +214,37 @@ export interface BatchGetUsersOutput {
214
214
  */
215
215
  users: (User)[];
216
216
  }
217
+ /**
218
+ * @public
219
+ */
220
+ export interface BatchGetUsersEmailNotificationsSettingsInput {
221
+ /**
222
+ * List of the unique identifier of the user
223
+ * @public
224
+ */
225
+ usersIds: (string)[];
226
+ }
227
+ /**
228
+ * @public
229
+ */
230
+ export interface UserEmailNotificationsSettings {
231
+ /**
232
+ * A flag that indicates whether the system should send email notifications about unread messages.
233
+ * @public
234
+ */
235
+ unread: boolean;
236
+ /**
237
+ * A flag that indicates whether the system should send email notifications about AI transcription.
238
+ * @public
239
+ */
240
+ transcription: boolean;
241
+ }
242
+ /**
243
+ * @public
244
+ */
245
+ export interface BatchGetUsersEmailNotificationsSettingsOutput {
246
+ notifications: Record<string, UserEmailNotificationsSettings>;
247
+ }
217
248
  /**
218
249
  * @public
219
250
  */
@@ -793,6 +824,22 @@ export interface GetUserInput {
793
824
  export interface GetUserOutput {
794
825
  user: User;
795
826
  }
827
+ /**
828
+ * @public
829
+ */
830
+ export interface GetUserEmailNotificationsSettingsInput {
831
+ /**
832
+ * The unique identifier of the user (Cloud ID, not ID of the user on PBX).
833
+ * @public
834
+ */
835
+ userId: string;
836
+ }
837
+ /**
838
+ * @public
839
+ */
840
+ export interface GetUserEmailNotificationsSettingsOutput {
841
+ notifications: UserEmailNotificationsSettings;
842
+ }
796
843
  /**
797
844
  * @public
798
845
  */
@@ -889,6 +936,32 @@ export interface ListBotsInput {
889
936
  export interface ListBotsOutput {
890
937
  bots: (Bot)[];
891
938
  }
939
+ /**
940
+ * @public
941
+ */
942
+ export interface PartialUpdateUserEmailNotificationsSettingsInput {
943
+ /**
944
+ * A flag that indicates whether the system should send email notifications about unread messages.
945
+ * @public
946
+ */
947
+ unread?: boolean;
948
+ /**
949
+ * A flag that indicates whether the system should send email notifications about AI transcription.
950
+ * @public
951
+ */
952
+ transcription?: boolean;
953
+ /**
954
+ * The unique identifier of the user (Cloud ID, not ID of the user on PBX).
955
+ * @public
956
+ */
957
+ userId: string;
958
+ }
959
+ /**
960
+ * @public
961
+ */
962
+ export interface PartialUpdateUserEmailNotificationsSettingsOutput {
963
+ notifications: UserEmailNotificationsSettings;
964
+ }
892
965
  /**
893
966
  * @public
894
967
  */
@@ -1054,6 +1127,28 @@ export interface QueryUsersOutput {
1054
1127
  */
1055
1128
  users: (User)[];
1056
1129
  }
1130
+ /**
1131
+ * @public
1132
+ */
1133
+ export interface UnsubscribeFromTranscriptionEmailNotificationsInput {
1134
+ unsubscribeToken: string;
1135
+ }
1136
+ /**
1137
+ * @public
1138
+ */
1139
+ export interface UnsubscribeFromTranscriptionEmailNotificationsOutput {
1140
+ }
1141
+ /**
1142
+ * @public
1143
+ */
1144
+ export interface UnsubscribeFromUnreadEmailNotificationsInput {
1145
+ unsubscribeToken: string;
1146
+ }
1147
+ /**
1148
+ * @public
1149
+ */
1150
+ export interface UnsubscribeFromUnreadEmailNotificationsOutput {
1151
+ }
1057
1152
  /**
1058
1153
  * @public
1059
1154
  */
@@ -1084,6 +1179,32 @@ export interface UpdateBotCallbackInput {
1084
1179
  export interface UpdateBotCallbackOutput {
1085
1180
  callback: BotCallback;
1086
1181
  }
1182
+ /**
1183
+ * @public
1184
+ */
1185
+ export interface UpdateUserEmailNotificationsSettingsInput {
1186
+ /**
1187
+ * A flag that indicates whether the system should send email notifications about unread messages.
1188
+ * @public
1189
+ */
1190
+ unread?: boolean;
1191
+ /**
1192
+ * A flag that indicates whether the system should send email notifications about AI transcription.
1193
+ * @public
1194
+ */
1195
+ transcription?: boolean;
1196
+ /**
1197
+ * The unique identifier of the user (Cloud ID, not ID of the user on PBX).
1198
+ * @public
1199
+ */
1200
+ userId: string;
1201
+ }
1202
+ /**
1203
+ * @public
1204
+ */
1205
+ export interface UpdateUserEmailNotificationsSettingsOutput {
1206
+ notifications: UserEmailNotificationsSettings;
1207
+ }
1087
1208
  /**
1088
1209
  * @public
1089
1210
  */
@@ -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,16 +11,21 @@ import { DeleteBotCommandInput, DeleteBotCommandOutput } from "../commands/Delet
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
18
  import { ListBotApiKeysCommandInput, ListBotApiKeysCommandOutput } from "../commands/ListBotApiKeysCommand";
17
19
  import { ListBotsCommandInput, ListBotsCommandOutput } from "../commands/ListBotsCommand";
20
+ import { PartialUpdateUserEmailNotificationsSettingsCommandInput, PartialUpdateUserEmailNotificationsSettingsCommandOutput } from "../commands/PartialUpdateUserEmailNotificationsSettingsCommand";
18
21
  import { QueryColleaguesCommandInput, QueryColleaguesCommandOutput } from "../commands/QueryColleaguesCommand";
19
22
  import { QueryUserCommandInput, QueryUserCommandOutput } from "../commands/QueryUserCommand";
20
23
  import { QueryUsersCommandInput, QueryUsersCommandOutput } from "../commands/QueryUsersCommand";
24
+ import { UnsubscribeFromTranscriptionEmailNotificationsCommandInput, UnsubscribeFromTranscriptionEmailNotificationsCommandOutput } from "../commands/UnsubscribeFromTranscriptionEmailNotificationsCommand";
25
+ import { UnsubscribeFromUnreadEmailNotificationsCommandInput, UnsubscribeFromUnreadEmailNotificationsCommandOutput } from "../commands/UnsubscribeFromUnreadEmailNotificationsCommand";
21
26
  import { UpdateBotCallbackCommandInput, UpdateBotCallbackCommandOutput } from "../commands/UpdateBotCallbackCommand";
22
27
  import { UpdateBotCommandInput, UpdateBotCommandOutput } from "../commands/UpdateBotCommand";
28
+ import { UpdateUserEmailNotificationsSettingsCommandInput, UpdateUserEmailNotificationsSettingsCommandOutput } from "../commands/UpdateUserEmailNotificationsSettingsCommand";
23
29
  import { UploadPictureCommandInput, UploadPictureCommandOutput } from "../commands/UploadPictureCommand";
24
30
  import { UploadPictureV1CommandInput, UploadPictureV1CommandOutput } from "../commands/UploadPictureV1Command";
25
31
  import { VerifyBotSecretKeyCommandInput, VerifyBotSecretKeyCommandOutput } from "../commands/VerifyBotSecretKeyCommand";
@@ -30,6 +36,10 @@ import { SerdeContext as __SerdeContext } from "@smithy/types";
30
36
  * serializeAws_restJson1BatchGetUsersCommand
31
37
  */
32
38
  export declare const se_BatchGetUsersCommand: (input: BatchGetUsersCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
39
+ /**
40
+ * serializeAws_restJson1BatchGetUsersEmailNotificationsSettingsCommand
41
+ */
42
+ export declare const se_BatchGetUsersEmailNotificationsSettingsCommand: (input: BatchGetUsersEmailNotificationsSettingsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
33
43
  /**
34
44
  * serializeAws_restJson1BatchGetUsersPbxLinkDataCommand
35
45
  */
@@ -74,6 +84,10 @@ export declare const se_GetBotCallbackCommand: (input: GetBotCallbackCommandInpu
74
84
  * serializeAws_restJson1GetUserCommand
75
85
  */
76
86
  export declare const se_GetUserCommand: (input: GetUserCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
87
+ /**
88
+ * serializeAws_restJson1GetUserEmailNotificationsSettingsCommand
89
+ */
90
+ export declare const se_GetUserEmailNotificationsSettingsCommand: (input: GetUserEmailNotificationsSettingsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
77
91
  /**
78
92
  * serializeAws_restJson1GetUserPbxLinkDataCommand
79
93
  */
@@ -94,6 +108,10 @@ export declare const se_ListBotApiKeysCommand: (input: ListBotApiKeysCommandInpu
94
108
  * serializeAws_restJson1ListBotsCommand
95
109
  */
96
110
  export declare const se_ListBotsCommand: (input: ListBotsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
111
+ /**
112
+ * serializeAws_restJson1PartialUpdateUserEmailNotificationsSettingsCommand
113
+ */
114
+ export declare const se_PartialUpdateUserEmailNotificationsSettingsCommand: (input: PartialUpdateUserEmailNotificationsSettingsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
97
115
  /**
98
116
  * serializeAws_restJson1QueryColleaguesCommand
99
117
  */
@@ -106,6 +124,14 @@ export declare const se_QueryUserCommand: (input: QueryUserCommandInput, context
106
124
  * serializeAws_restJson1QueryUsersCommand
107
125
  */
108
126
  export declare const se_QueryUsersCommand: (input: QueryUsersCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
127
+ /**
128
+ * serializeAws_restJson1UnsubscribeFromTranscriptionEmailNotificationsCommand
129
+ */
130
+ export declare const se_UnsubscribeFromTranscriptionEmailNotificationsCommand: (input: UnsubscribeFromTranscriptionEmailNotificationsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
131
+ /**
132
+ * serializeAws_restJson1UnsubscribeFromUnreadEmailNotificationsCommand
133
+ */
134
+ export declare const se_UnsubscribeFromUnreadEmailNotificationsCommand: (input: UnsubscribeFromUnreadEmailNotificationsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
109
135
  /**
110
136
  * serializeAws_restJson1UpdateBotCommand
111
137
  */
@@ -114,6 +140,10 @@ export declare const se_UpdateBotCommand: (input: UpdateBotCommandInput, context
114
140
  * serializeAws_restJson1UpdateBotCallbackCommand
115
141
  */
116
142
  export declare const se_UpdateBotCallbackCommand: (input: UpdateBotCallbackCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
143
+ /**
144
+ * serializeAws_restJson1UpdateUserEmailNotificationsSettingsCommand
145
+ */
146
+ export declare const se_UpdateUserEmailNotificationsSettingsCommand: (input: UpdateUserEmailNotificationsSettingsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
117
147
  /**
118
148
  * serializeAws_restJson1UploadPictureCommand
119
149
  */
@@ -134,6 +164,10 @@ export declare const se_VerifyBotSecretKeyV1Command: (input: VerifyBotSecretKeyV
134
164
  * deserializeAws_restJson1BatchGetUsersCommand
135
165
  */
136
166
  export declare const de_BatchGetUsersCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<BatchGetUsersCommandOutput>;
167
+ /**
168
+ * deserializeAws_restJson1BatchGetUsersEmailNotificationsSettingsCommand
169
+ */
170
+ export declare const de_BatchGetUsersEmailNotificationsSettingsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<BatchGetUsersEmailNotificationsSettingsCommandOutput>;
137
171
  /**
138
172
  * deserializeAws_restJson1BatchGetUsersPbxLinkDataCommand
139
173
  */
@@ -178,6 +212,10 @@ export declare const de_GetBotCallbackCommand: (output: __HttpResponse, context:
178
212
  * deserializeAws_restJson1GetUserCommand
179
213
  */
180
214
  export declare const de_GetUserCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetUserCommandOutput>;
215
+ /**
216
+ * deserializeAws_restJson1GetUserEmailNotificationsSettingsCommand
217
+ */
218
+ export declare const de_GetUserEmailNotificationsSettingsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetUserEmailNotificationsSettingsCommandOutput>;
181
219
  /**
182
220
  * deserializeAws_restJson1GetUserPbxLinkDataCommand
183
221
  */
@@ -198,6 +236,10 @@ export declare const de_ListBotApiKeysCommand: (output: __HttpResponse, context:
198
236
  * deserializeAws_restJson1ListBotsCommand
199
237
  */
200
238
  export declare const de_ListBotsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListBotsCommandOutput>;
239
+ /**
240
+ * deserializeAws_restJson1PartialUpdateUserEmailNotificationsSettingsCommand
241
+ */
242
+ export declare const de_PartialUpdateUserEmailNotificationsSettingsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<PartialUpdateUserEmailNotificationsSettingsCommandOutput>;
201
243
  /**
202
244
  * deserializeAws_restJson1QueryColleaguesCommand
203
245
  */
@@ -210,6 +252,14 @@ export declare const de_QueryUserCommand: (output: __HttpResponse, context: __Se
210
252
  * deserializeAws_restJson1QueryUsersCommand
211
253
  */
212
254
  export declare const de_QueryUsersCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<QueryUsersCommandOutput>;
255
+ /**
256
+ * deserializeAws_restJson1UnsubscribeFromTranscriptionEmailNotificationsCommand
257
+ */
258
+ export declare const de_UnsubscribeFromTranscriptionEmailNotificationsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UnsubscribeFromTranscriptionEmailNotificationsCommandOutput>;
259
+ /**
260
+ * deserializeAws_restJson1UnsubscribeFromUnreadEmailNotificationsCommand
261
+ */
262
+ export declare const de_UnsubscribeFromUnreadEmailNotificationsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UnsubscribeFromUnreadEmailNotificationsCommandOutput>;
213
263
  /**
214
264
  * deserializeAws_restJson1UpdateBotCommand
215
265
  */
@@ -218,6 +268,10 @@ export declare const de_UpdateBotCommand: (output: __HttpResponse, context: __Se
218
268
  * deserializeAws_restJson1UpdateBotCallbackCommand
219
269
  */
220
270
  export declare const de_UpdateBotCallbackCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateBotCallbackCommandOutput>;
271
+ /**
272
+ * deserializeAws_restJson1UpdateUserEmailNotificationsSettingsCommand
273
+ */
274
+ export declare const de_UpdateUserEmailNotificationsSettingsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateUserEmailNotificationsSettingsCommandOutput>;
221
275
  /**
222
276
  * deserializeAws_restJson1UploadPictureCommand
223
277
  */
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@wildix/xbees-users-client",
3
3
  "description": "@wildix/xbees-users-client client",
4
- "version": "1.0.27",
4
+ "version": "1.0.29",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -76,4 +76,4 @@
76
76
  "react-native": {
77
77
  "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native"
78
78
  }
79
- }
79
+ }