@wildix/xbees-users-client 1.0.35 → 1.0.36
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.
- package/dist-cjs/Users.js +12 -0
- package/dist-cjs/commands/BatchGetUsersEmailNotificationsSettingsCommand.js +21 -0
- package/dist-cjs/commands/GetUserEmailNotificationsSettingsCommand.js +21 -0
- package/dist-cjs/commands/PartialUpdateUserEmailNotificationsSettingsCommand.js +21 -0
- package/dist-cjs/commands/ToggleTranscriptionEmailNotificationsSubscriptionCommand.js +21 -0
- package/dist-cjs/commands/ToggleUnreadEmailNotificationsSubscriptionCommand.js +21 -0
- package/dist-cjs/commands/UpdateUserEmailNotificationsSettingsCommand.js +21 -0
- package/dist-cjs/commands/index.js +6 -0
- package/dist-cjs/protocols/Aws_restJson1.js +182 -2
- package/dist-es/Users.js +12 -0
- package/dist-es/commands/BatchGetUsersEmailNotificationsSettingsCommand.js +17 -0
- package/dist-es/commands/GetUserEmailNotificationsSettingsCommand.js +17 -0
- package/dist-es/commands/PartialUpdateUserEmailNotificationsSettingsCommand.js +17 -0
- package/dist-es/commands/ToggleTranscriptionEmailNotificationsSubscriptionCommand.js +17 -0
- package/dist-es/commands/ToggleUnreadEmailNotificationsSubscriptionCommand.js +17 -0
- package/dist-es/commands/UpdateUserEmailNotificationsSettingsCommand.js +17 -0
- package/dist-es/commands/index.js +6 -0
- package/dist-es/protocols/Aws_restJson1.js +168 -0
- package/dist-types/Users.d.ts +42 -0
- package/dist-types/UsersClient.d.ts +8 -2
- package/dist-types/commands/BatchGetUsersEmailNotificationsSettingsCommand.d.ts +71 -0
- package/dist-types/commands/GetUserEmailNotificationsSettingsCommand.d.ts +69 -0
- package/dist-types/commands/PartialUpdateUserEmailNotificationsSettingsCommand.d.ts +69 -0
- package/dist-types/commands/ToggleTranscriptionEmailNotificationsSubscriptionCommand.d.ts +63 -0
- package/dist-types/commands/ToggleUnreadEmailNotificationsSubscriptionCommand.d.ts +63 -0
- package/dist-types/commands/UpdateUserEmailNotificationsSettingsCommand.d.ts +69 -0
- package/dist-types/commands/index.d.ts +6 -0
- package/dist-types/models/models_0.d.ts +131 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +54 -0
- package/package.json +2 -2
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import { ServiceInputTypes, ServiceOutputTypes, UsersClientResolvedConfig } from "../UsersClient";
|
|
2
|
+
import { ToggleTranscriptionEmailNotificationsSubscriptionInput, ToggleTranscriptionEmailNotificationsSubscriptionOutput } 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 ToggleTranscriptionEmailNotificationsSubscriptionCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ToggleTranscriptionEmailNotificationsSubscriptionCommandInput extends ToggleTranscriptionEmailNotificationsSubscriptionInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ToggleTranscriptionEmailNotificationsSubscriptionCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ToggleTranscriptionEmailNotificationsSubscriptionCommandOutput extends ToggleTranscriptionEmailNotificationsSubscriptionOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ToggleTranscriptionEmailNotificationsSubscriptionCommand_base: {
|
|
25
|
+
new (input: ToggleTranscriptionEmailNotificationsSubscriptionCommandInput): import("@smithy/smithy-client").CommandImpl<ToggleTranscriptionEmailNotificationsSubscriptionCommandInput, ToggleTranscriptionEmailNotificationsSubscriptionCommandOutput, UsersClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: ToggleTranscriptionEmailNotificationsSubscriptionCommandInput): import("@smithy/smithy-client").CommandImpl<ToggleTranscriptionEmailNotificationsSubscriptionCommandInput, ToggleTranscriptionEmailNotificationsSubscriptionCommandOutput, UsersClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Using unsubscribeToken from email you can Toggle transcription email notifications subscription
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { UsersClient, ToggleTranscriptionEmailNotificationsSubscriptionCommand } from "@wildix/xbees-users-client"; // ES Modules import
|
|
35
|
+
* // const { UsersClient, ToggleTranscriptionEmailNotificationsSubscriptionCommand } = require("@wildix/xbees-users-client"); // CommonJS import
|
|
36
|
+
* const client = new UsersClient(config);
|
|
37
|
+
* const input = { // ToggleTranscriptionEmailNotificationsSubscriptionInput
|
|
38
|
+
* unsubscribeToken: "STRING_VALUE", // required
|
|
39
|
+
* subscribe: true || false, // required
|
|
40
|
+
* };
|
|
41
|
+
* const command = new ToggleTranscriptionEmailNotificationsSubscriptionCommand(input);
|
|
42
|
+
* const response = await client.send(command);
|
|
43
|
+
* // {};
|
|
44
|
+
*
|
|
45
|
+
* ```
|
|
46
|
+
*
|
|
47
|
+
* @param ToggleTranscriptionEmailNotificationsSubscriptionCommandInput - {@link ToggleTranscriptionEmailNotificationsSubscriptionCommandInput}
|
|
48
|
+
* @returns {@link ToggleTranscriptionEmailNotificationsSubscriptionCommandOutput}
|
|
49
|
+
* @see {@link ToggleTranscriptionEmailNotificationsSubscriptionCommandInput} for command's `input` shape.
|
|
50
|
+
* @see {@link ToggleTranscriptionEmailNotificationsSubscriptionCommandOutput} for command's `response` shape.
|
|
51
|
+
* @see {@link UsersClientResolvedConfig | config} for UsersClient's `config` shape.
|
|
52
|
+
*
|
|
53
|
+
* @throws {@link ForbiddenException} (client fault)
|
|
54
|
+
*
|
|
55
|
+
* @throws {@link ValidationException} (client fault)
|
|
56
|
+
*
|
|
57
|
+
* @throws {@link UsersServiceException}
|
|
58
|
+
* <p>Base exception class for all service exceptions from Users service.</p>
|
|
59
|
+
*
|
|
60
|
+
* @public
|
|
61
|
+
*/
|
|
62
|
+
export declare class ToggleTranscriptionEmailNotificationsSubscriptionCommand extends ToggleTranscriptionEmailNotificationsSubscriptionCommand_base {
|
|
63
|
+
}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import { ServiceInputTypes, ServiceOutputTypes, UsersClientResolvedConfig } from "../UsersClient";
|
|
2
|
+
import { ToggleUnreadEmailNotificationsSubscriptionInput, ToggleUnreadEmailNotificationsSubscriptionOutput } 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 ToggleUnreadEmailNotificationsSubscriptionCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ToggleUnreadEmailNotificationsSubscriptionCommandInput extends ToggleUnreadEmailNotificationsSubscriptionInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ToggleUnreadEmailNotificationsSubscriptionCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ToggleUnreadEmailNotificationsSubscriptionCommandOutput extends ToggleUnreadEmailNotificationsSubscriptionOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ToggleUnreadEmailNotificationsSubscriptionCommand_base: {
|
|
25
|
+
new (input: ToggleUnreadEmailNotificationsSubscriptionCommandInput): import("@smithy/smithy-client").CommandImpl<ToggleUnreadEmailNotificationsSubscriptionCommandInput, ToggleUnreadEmailNotificationsSubscriptionCommandOutput, UsersClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: ToggleUnreadEmailNotificationsSubscriptionCommandInput): import("@smithy/smithy-client").CommandImpl<ToggleUnreadEmailNotificationsSubscriptionCommandInput, ToggleUnreadEmailNotificationsSubscriptionCommandOutput, UsersClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Using unsubscribeToken from email you can Toggle unread messages email notifications subscription
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { UsersClient, ToggleUnreadEmailNotificationsSubscriptionCommand } from "@wildix/xbees-users-client"; // ES Modules import
|
|
35
|
+
* // const { UsersClient, ToggleUnreadEmailNotificationsSubscriptionCommand } = require("@wildix/xbees-users-client"); // CommonJS import
|
|
36
|
+
* const client = new UsersClient(config);
|
|
37
|
+
* const input = { // ToggleUnreadEmailNotificationsSubscriptionInput
|
|
38
|
+
* unsubscribeToken: "STRING_VALUE", // required
|
|
39
|
+
* subscribe: true || false, // required
|
|
40
|
+
* };
|
|
41
|
+
* const command = new ToggleUnreadEmailNotificationsSubscriptionCommand(input);
|
|
42
|
+
* const response = await client.send(command);
|
|
43
|
+
* // {};
|
|
44
|
+
*
|
|
45
|
+
* ```
|
|
46
|
+
*
|
|
47
|
+
* @param ToggleUnreadEmailNotificationsSubscriptionCommandInput - {@link ToggleUnreadEmailNotificationsSubscriptionCommandInput}
|
|
48
|
+
* @returns {@link ToggleUnreadEmailNotificationsSubscriptionCommandOutput}
|
|
49
|
+
* @see {@link ToggleUnreadEmailNotificationsSubscriptionCommandInput} for command's `input` shape.
|
|
50
|
+
* @see {@link ToggleUnreadEmailNotificationsSubscriptionCommandOutput} for command's `response` shape.
|
|
51
|
+
* @see {@link UsersClientResolvedConfig | config} for UsersClient's `config` shape.
|
|
52
|
+
*
|
|
53
|
+
* @throws {@link ForbiddenException} (client fault)
|
|
54
|
+
*
|
|
55
|
+
* @throws {@link ValidationException} (client fault)
|
|
56
|
+
*
|
|
57
|
+
* @throws {@link UsersServiceException}
|
|
58
|
+
* <p>Base exception class for all service exceptions from Users service.</p>
|
|
59
|
+
*
|
|
60
|
+
* @public
|
|
61
|
+
*/
|
|
62
|
+
export declare class ToggleUnreadEmailNotificationsSubscriptionCommand extends ToggleUnreadEmailNotificationsSubscriptionCommand_base {
|
|
63
|
+
}
|
|
@@ -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 "./ToggleTranscriptionEmailNotificationsSubscriptionCommand";
|
|
25
|
+
export * from "./ToggleUnreadEmailNotificationsSubscriptionCommand";
|
|
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
|
*/
|
|
@@ -1009,6 +1040,22 @@ export interface GetUserInput {
|
|
|
1009
1040
|
export interface GetUserOutput {
|
|
1010
1041
|
user: User;
|
|
1011
1042
|
}
|
|
1043
|
+
/**
|
|
1044
|
+
* @public
|
|
1045
|
+
*/
|
|
1046
|
+
export interface GetUserEmailNotificationsSettingsInput {
|
|
1047
|
+
/**
|
|
1048
|
+
* The unique identifier of the user (Cloud ID, not ID of the user on PBX).
|
|
1049
|
+
* @public
|
|
1050
|
+
*/
|
|
1051
|
+
userId: string;
|
|
1052
|
+
}
|
|
1053
|
+
/**
|
|
1054
|
+
* @public
|
|
1055
|
+
*/
|
|
1056
|
+
export interface GetUserEmailNotificationsSettingsOutput {
|
|
1057
|
+
notifications: UserEmailNotificationsSettings;
|
|
1058
|
+
}
|
|
1012
1059
|
/**
|
|
1013
1060
|
* @public
|
|
1014
1061
|
*/
|
|
@@ -1105,6 +1152,32 @@ export interface ListBotsInput {
|
|
|
1105
1152
|
export interface ListBotsOutput {
|
|
1106
1153
|
bots: (Bot)[];
|
|
1107
1154
|
}
|
|
1155
|
+
/**
|
|
1156
|
+
* @public
|
|
1157
|
+
*/
|
|
1158
|
+
export interface PartialUpdateUserEmailNotificationsSettingsInput {
|
|
1159
|
+
/**
|
|
1160
|
+
* A flag that indicates whether the system should send email notifications about unread messages.
|
|
1161
|
+
* @public
|
|
1162
|
+
*/
|
|
1163
|
+
unread?: boolean;
|
|
1164
|
+
/**
|
|
1165
|
+
* A flag that indicates whether the system should send email notifications about AI transcription.
|
|
1166
|
+
* @public
|
|
1167
|
+
*/
|
|
1168
|
+
transcription?: boolean;
|
|
1169
|
+
/**
|
|
1170
|
+
* The unique identifier of the user (Cloud ID, not ID of the user on PBX).
|
|
1171
|
+
* @public
|
|
1172
|
+
*/
|
|
1173
|
+
userId: string;
|
|
1174
|
+
}
|
|
1175
|
+
/**
|
|
1176
|
+
* @public
|
|
1177
|
+
*/
|
|
1178
|
+
export interface PartialUpdateUserEmailNotificationsSettingsOutput {
|
|
1179
|
+
notifications: UserEmailNotificationsSettings;
|
|
1180
|
+
}
|
|
1108
1181
|
/**
|
|
1109
1182
|
* @public
|
|
1110
1183
|
*/
|
|
@@ -1270,6 +1343,38 @@ export interface QueryUsersOutput {
|
|
|
1270
1343
|
*/
|
|
1271
1344
|
users: (User)[];
|
|
1272
1345
|
}
|
|
1346
|
+
/**
|
|
1347
|
+
* @public
|
|
1348
|
+
*/
|
|
1349
|
+
export interface ToggleTranscriptionEmailNotificationsSubscriptionInput {
|
|
1350
|
+
unsubscribeToken: string;
|
|
1351
|
+
/**
|
|
1352
|
+
* A flag that indicates whether the system should send email notifications about AI transcription.
|
|
1353
|
+
* @public
|
|
1354
|
+
*/
|
|
1355
|
+
subscribe: boolean;
|
|
1356
|
+
}
|
|
1357
|
+
/**
|
|
1358
|
+
* @public
|
|
1359
|
+
*/
|
|
1360
|
+
export interface ToggleTranscriptionEmailNotificationsSubscriptionOutput {
|
|
1361
|
+
}
|
|
1362
|
+
/**
|
|
1363
|
+
* @public
|
|
1364
|
+
*/
|
|
1365
|
+
export interface ToggleUnreadEmailNotificationsSubscriptionInput {
|
|
1366
|
+
unsubscribeToken: string;
|
|
1367
|
+
/**
|
|
1368
|
+
* A flag that indicates whether the system should send email notifications about unread messages.
|
|
1369
|
+
* @public
|
|
1370
|
+
*/
|
|
1371
|
+
subscribe: boolean;
|
|
1372
|
+
}
|
|
1373
|
+
/**
|
|
1374
|
+
* @public
|
|
1375
|
+
*/
|
|
1376
|
+
export interface ToggleUnreadEmailNotificationsSubscriptionOutput {
|
|
1377
|
+
}
|
|
1273
1378
|
/**
|
|
1274
1379
|
* @public
|
|
1275
1380
|
*/
|
|
@@ -1300,6 +1405,32 @@ export interface UpdateBotCallbackInput {
|
|
|
1300
1405
|
export interface UpdateBotCallbackOutput {
|
|
1301
1406
|
callback: BotCallback;
|
|
1302
1407
|
}
|
|
1408
|
+
/**
|
|
1409
|
+
* @public
|
|
1410
|
+
*/
|
|
1411
|
+
export interface UpdateUserEmailNotificationsSettingsInput {
|
|
1412
|
+
/**
|
|
1413
|
+
* A flag that indicates whether the system should send email notifications about unread messages.
|
|
1414
|
+
* @public
|
|
1415
|
+
*/
|
|
1416
|
+
unread?: boolean;
|
|
1417
|
+
/**
|
|
1418
|
+
* A flag that indicates whether the system should send email notifications about AI transcription.
|
|
1419
|
+
* @public
|
|
1420
|
+
*/
|
|
1421
|
+
transcription?: boolean;
|
|
1422
|
+
/**
|
|
1423
|
+
* The unique identifier of the user (Cloud ID, not ID of the user on PBX).
|
|
1424
|
+
* @public
|
|
1425
|
+
*/
|
|
1426
|
+
userId: string;
|
|
1427
|
+
}
|
|
1428
|
+
/**
|
|
1429
|
+
* @public
|
|
1430
|
+
*/
|
|
1431
|
+
export interface UpdateUserEmailNotificationsSettingsOutput {
|
|
1432
|
+
notifications: UserEmailNotificationsSettings;
|
|
1433
|
+
}
|
|
1303
1434
|
/**
|
|
1304
1435
|
* @public
|
|
1305
1436
|
*/
|
|
@@ -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 { ToggleTranscriptionEmailNotificationsSubscriptionCommandInput, ToggleTranscriptionEmailNotificationsSubscriptionCommandOutput } from "../commands/ToggleTranscriptionEmailNotificationsSubscriptionCommand";
|
|
25
|
+
import { ToggleUnreadEmailNotificationsSubscriptionCommandInput, ToggleUnreadEmailNotificationsSubscriptionCommandOutput } from "../commands/ToggleUnreadEmailNotificationsSubscriptionCommand";
|
|
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_restJson1ToggleTranscriptionEmailNotificationsSubscriptionCommand
|
|
129
|
+
*/
|
|
130
|
+
export declare const se_ToggleTranscriptionEmailNotificationsSubscriptionCommand: (input: ToggleTranscriptionEmailNotificationsSubscriptionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
131
|
+
/**
|
|
132
|
+
* serializeAws_restJson1ToggleUnreadEmailNotificationsSubscriptionCommand
|
|
133
|
+
*/
|
|
134
|
+
export declare const se_ToggleUnreadEmailNotificationsSubscriptionCommand: (input: ToggleUnreadEmailNotificationsSubscriptionCommandInput, 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_restJson1ToggleTranscriptionEmailNotificationsSubscriptionCommand
|
|
257
|
+
*/
|
|
258
|
+
export declare const de_ToggleTranscriptionEmailNotificationsSubscriptionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ToggleTranscriptionEmailNotificationsSubscriptionCommandOutput>;
|
|
259
|
+
/**
|
|
260
|
+
* deserializeAws_restJson1ToggleUnreadEmailNotificationsSubscriptionCommand
|
|
261
|
+
*/
|
|
262
|
+
export declare const de_ToggleUnreadEmailNotificationsSubscriptionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ToggleUnreadEmailNotificationsSubscriptionCommandOutput>;
|
|
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.
|
|
4
|
+
"version": "1.0.36",
|
|
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
|
+
}
|