@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.
- package/dist-cjs/Users.js +12 -4
- package/dist-cjs/commands/BatchGetUsersEmailNotificationsSettingsCommand.js +21 -0
- package/dist-cjs/commands/{GetUserSettingsCommand.js → GetUserEmailNotificationsSettingsCommand.js} +7 -7
- package/dist-cjs/commands/PartialUpdateUserEmailNotificationsSettingsCommand.js +21 -0
- package/dist-cjs/commands/UnsubscribeFromTranscriptionEmailNotificationsCommand.js +21 -0
- package/dist-cjs/commands/UnsubscribeFromUnreadEmailNotificationsCommand.js +21 -0
- package/dist-cjs/commands/{PartialUpdateUserSettingsCommand.js → UpdateUserEmailNotificationsSettingsCommand.js} +7 -7
- package/dist-cjs/commands/index.js +6 -2
- package/dist-cjs/protocols/Aws_restJson1.js +152 -43
- package/dist-es/Users.js +12 -4
- 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/UnsubscribeFromTranscriptionEmailNotificationsCommand.js +17 -0
- package/dist-es/commands/UnsubscribeFromUnreadEmailNotificationsCommand.js +17 -0
- package/dist-es/commands/UpdateUserEmailNotificationsSettingsCommand.js +17 -0
- package/dist-es/commands/index.js +6 -2
- package/dist-es/protocols/Aws_restJson1.js +134 -33
- package/dist-types/Users.d.ts +40 -13
- package/dist-types/UsersClient.d.ts +8 -4
- 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/UnsubscribeFromTranscriptionEmailNotificationsCommand.d.ts +62 -0
- package/dist-types/commands/UnsubscribeFromUnreadEmailNotificationsCommand.d.ts +62 -0
- package/dist-types/commands/UpdateUserEmailNotificationsSettingsCommand.d.ts +69 -0
- package/dist-types/commands/index.d.ts +6 -2
- package/dist-types/models/models_0.d.ts +101 -62
- package/dist-types/protocols/Aws_restJson1.d.ts +50 -14
- package/package.json +2 -2
- package/dist-es/commands/GetUserSettingsCommand.js +0 -17
- package/dist-es/commands/PartialUpdateUserSettingsCommand.js +0 -17
- package/dist-types/commands/GetUserSettingsCommand.d.ts +0 -69
- package/dist-types/commands/PartialUpdateUserSettingsCommand.d.ts +0 -76
package/dist-es/Users.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { UsersClient, } from "./UsersClient";
|
|
2
2
|
import { BatchGetUsersCommand, } from "./commands/BatchGetUsersCommand";
|
|
3
|
+
import { BatchGetUsersEmailNotificationsSettingsCommand, } from "./commands/BatchGetUsersEmailNotificationsSettingsCommand";
|
|
3
4
|
import { BatchGetUsersPbxLinkDataCommand, } from "./commands/BatchGetUsersPbxLinkDataCommand";
|
|
4
5
|
import { BatchGetUsersPbxLinkDataV1Command, } from "./commands/BatchGetUsersPbxLinkDataV1Command";
|
|
5
6
|
import { ChangeUserEmailCommand, } from "./commands/ChangeUserEmailCommand";
|
|
@@ -11,18 +12,21 @@ import { DeleteBotCommand, } from "./commands/DeleteBotCommand";
|
|
|
11
12
|
import { GetBotCallbackCommand, } from "./commands/GetBotCallbackCommand";
|
|
12
13
|
import { GetBotCommand, } from "./commands/GetBotCommand";
|
|
13
14
|
import { GetUserCommand, } from "./commands/GetUserCommand";
|
|
15
|
+
import { GetUserEmailNotificationsSettingsCommand, } from "./commands/GetUserEmailNotificationsSettingsCommand";
|
|
14
16
|
import { GetUserPbxLinkDataCommand, } from "./commands/GetUserPbxLinkDataCommand";
|
|
15
17
|
import { GetUserPbxLinkSuggestionCommand, } from "./commands/GetUserPbxLinkSuggestionCommand";
|
|
16
18
|
import { GetUserPbxLinkSuggestionV1Command, } from "./commands/GetUserPbxLinkSuggestionV1Command";
|
|
17
|
-
import { GetUserSettingsCommand, } from "./commands/GetUserSettingsCommand";
|
|
18
19
|
import { ListBotApiKeysCommand, } from "./commands/ListBotApiKeysCommand";
|
|
19
20
|
import { ListBotsCommand, } from "./commands/ListBotsCommand";
|
|
20
|
-
import {
|
|
21
|
+
import { PartialUpdateUserEmailNotificationsSettingsCommand, } from "./commands/PartialUpdateUserEmailNotificationsSettingsCommand";
|
|
21
22
|
import { QueryColleaguesCommand, } from "./commands/QueryColleaguesCommand";
|
|
22
23
|
import { QueryUserCommand, } from "./commands/QueryUserCommand";
|
|
23
24
|
import { QueryUsersCommand, } from "./commands/QueryUsersCommand";
|
|
25
|
+
import { UnsubscribeFromTranscriptionEmailNotificationsCommand, } from "./commands/UnsubscribeFromTranscriptionEmailNotificationsCommand";
|
|
26
|
+
import { UnsubscribeFromUnreadEmailNotificationsCommand, } from "./commands/UnsubscribeFromUnreadEmailNotificationsCommand";
|
|
24
27
|
import { UpdateBotCallbackCommand, } from "./commands/UpdateBotCallbackCommand";
|
|
25
28
|
import { UpdateBotCommand, } from "./commands/UpdateBotCommand";
|
|
29
|
+
import { UpdateUserEmailNotificationsSettingsCommand, } from "./commands/UpdateUserEmailNotificationsSettingsCommand";
|
|
26
30
|
import { UploadPictureCommand, } from "./commands/UploadPictureCommand";
|
|
27
31
|
import { UploadPictureV1Command, } from "./commands/UploadPictureV1Command";
|
|
28
32
|
import { VerifyBotSecretKeyCommand, } from "./commands/VerifyBotSecretKeyCommand";
|
|
@@ -30,6 +34,7 @@ import { VerifyBotSecretKeyV1Command, } from "./commands/VerifyBotSecretKeyV1Com
|
|
|
30
34
|
import { createAggregatedClient } from "@smithy/smithy-client";
|
|
31
35
|
const commands = {
|
|
32
36
|
BatchGetUsersCommand,
|
|
37
|
+
BatchGetUsersEmailNotificationsSettingsCommand,
|
|
33
38
|
BatchGetUsersPbxLinkDataCommand,
|
|
34
39
|
BatchGetUsersPbxLinkDataV1Command,
|
|
35
40
|
ChangeUserEmailCommand,
|
|
@@ -41,18 +46,21 @@ const commands = {
|
|
|
41
46
|
GetBotCommand,
|
|
42
47
|
GetBotCallbackCommand,
|
|
43
48
|
GetUserCommand,
|
|
49
|
+
GetUserEmailNotificationsSettingsCommand,
|
|
44
50
|
GetUserPbxLinkDataCommand,
|
|
45
51
|
GetUserPbxLinkSuggestionCommand,
|
|
46
52
|
GetUserPbxLinkSuggestionV1Command,
|
|
47
|
-
GetUserSettingsCommand,
|
|
48
53
|
ListBotApiKeysCommand,
|
|
49
54
|
ListBotsCommand,
|
|
50
|
-
|
|
55
|
+
PartialUpdateUserEmailNotificationsSettingsCommand,
|
|
51
56
|
QueryColleaguesCommand,
|
|
52
57
|
QueryUserCommand,
|
|
53
58
|
QueryUsersCommand,
|
|
59
|
+
UnsubscribeFromTranscriptionEmailNotificationsCommand,
|
|
60
|
+
UnsubscribeFromUnreadEmailNotificationsCommand,
|
|
54
61
|
UpdateBotCommand,
|
|
55
62
|
UpdateBotCallbackCommand,
|
|
63
|
+
UpdateUserEmailNotificationsSettingsCommand,
|
|
56
64
|
UploadPictureCommand,
|
|
57
65
|
UploadPictureV1Command,
|
|
58
66
|
VerifyBotSecretKeyCommand,
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { de_BatchGetUsersEmailNotificationsSettingsCommand, se_BatchGetUsersEmailNotificationsSettingsCommand, } from "../protocols/Aws_restJson1";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
export { $Command };
|
|
5
|
+
export class BatchGetUsersEmailNotificationsSettingsCommand extends $Command.classBuilder()
|
|
6
|
+
.m(function (Command, cs, config, o) {
|
|
7
|
+
return [
|
|
8
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
9
|
+
];
|
|
10
|
+
})
|
|
11
|
+
.s("Users", "BatchGetUsersEmailNotificationsSettings", {})
|
|
12
|
+
.n("UsersClient", "BatchGetUsersEmailNotificationsSettingsCommand")
|
|
13
|
+
.f(void 0, void 0)
|
|
14
|
+
.ser(se_BatchGetUsersEmailNotificationsSettingsCommand)
|
|
15
|
+
.de(de_BatchGetUsersEmailNotificationsSettingsCommand)
|
|
16
|
+
.build() {
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { de_GetUserEmailNotificationsSettingsCommand, se_GetUserEmailNotificationsSettingsCommand, } from "../protocols/Aws_restJson1";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
export { $Command };
|
|
5
|
+
export class GetUserEmailNotificationsSettingsCommand extends $Command.classBuilder()
|
|
6
|
+
.m(function (Command, cs, config, o) {
|
|
7
|
+
return [
|
|
8
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
9
|
+
];
|
|
10
|
+
})
|
|
11
|
+
.s("Users", "GetUserEmailNotificationsSettings", {})
|
|
12
|
+
.n("UsersClient", "GetUserEmailNotificationsSettingsCommand")
|
|
13
|
+
.f(void 0, void 0)
|
|
14
|
+
.ser(se_GetUserEmailNotificationsSettingsCommand)
|
|
15
|
+
.de(de_GetUserEmailNotificationsSettingsCommand)
|
|
16
|
+
.build() {
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { de_PartialUpdateUserEmailNotificationsSettingsCommand, se_PartialUpdateUserEmailNotificationsSettingsCommand, } from "../protocols/Aws_restJson1";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
export { $Command };
|
|
5
|
+
export class PartialUpdateUserEmailNotificationsSettingsCommand extends $Command.classBuilder()
|
|
6
|
+
.m(function (Command, cs, config, o) {
|
|
7
|
+
return [
|
|
8
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
9
|
+
];
|
|
10
|
+
})
|
|
11
|
+
.s("Users", "PartialUpdateUserEmailNotificationsSettings", {})
|
|
12
|
+
.n("UsersClient", "PartialUpdateUserEmailNotificationsSettingsCommand")
|
|
13
|
+
.f(void 0, void 0)
|
|
14
|
+
.ser(se_PartialUpdateUserEmailNotificationsSettingsCommand)
|
|
15
|
+
.de(de_PartialUpdateUserEmailNotificationsSettingsCommand)
|
|
16
|
+
.build() {
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { de_UnsubscribeFromTranscriptionEmailNotificationsCommand, se_UnsubscribeFromTranscriptionEmailNotificationsCommand, } from "../protocols/Aws_restJson1";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
export { $Command };
|
|
5
|
+
export class UnsubscribeFromTranscriptionEmailNotificationsCommand extends $Command.classBuilder()
|
|
6
|
+
.m(function (Command, cs, config, o) {
|
|
7
|
+
return [
|
|
8
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
9
|
+
];
|
|
10
|
+
})
|
|
11
|
+
.s("Users", "UnsubscribeFromTranscriptionEmailNotifications", {})
|
|
12
|
+
.n("UsersClient", "UnsubscribeFromTranscriptionEmailNotificationsCommand")
|
|
13
|
+
.f(void 0, void 0)
|
|
14
|
+
.ser(se_UnsubscribeFromTranscriptionEmailNotificationsCommand)
|
|
15
|
+
.de(de_UnsubscribeFromTranscriptionEmailNotificationsCommand)
|
|
16
|
+
.build() {
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { de_UnsubscribeFromUnreadEmailNotificationsCommand, se_UnsubscribeFromUnreadEmailNotificationsCommand, } from "../protocols/Aws_restJson1";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
export { $Command };
|
|
5
|
+
export class UnsubscribeFromUnreadEmailNotificationsCommand extends $Command.classBuilder()
|
|
6
|
+
.m(function (Command, cs, config, o) {
|
|
7
|
+
return [
|
|
8
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
9
|
+
];
|
|
10
|
+
})
|
|
11
|
+
.s("Users", "UnsubscribeFromUnreadEmailNotifications", {})
|
|
12
|
+
.n("UsersClient", "UnsubscribeFromUnreadEmailNotificationsCommand")
|
|
13
|
+
.f(void 0, void 0)
|
|
14
|
+
.ser(se_UnsubscribeFromUnreadEmailNotificationsCommand)
|
|
15
|
+
.de(de_UnsubscribeFromUnreadEmailNotificationsCommand)
|
|
16
|
+
.build() {
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { de_UpdateUserEmailNotificationsSettingsCommand, se_UpdateUserEmailNotificationsSettingsCommand, } from "../protocols/Aws_restJson1";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
export { $Command };
|
|
5
|
+
export class UpdateUserEmailNotificationsSettingsCommand extends $Command.classBuilder()
|
|
6
|
+
.m(function (Command, cs, config, o) {
|
|
7
|
+
return [
|
|
8
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
9
|
+
];
|
|
10
|
+
})
|
|
11
|
+
.s("Users", "UpdateUserEmailNotificationsSettings", {})
|
|
12
|
+
.n("UsersClient", "UpdateUserEmailNotificationsSettingsCommand")
|
|
13
|
+
.f(void 0, void 0)
|
|
14
|
+
.ser(se_UpdateUserEmailNotificationsSettingsCommand)
|
|
15
|
+
.de(de_UpdateUserEmailNotificationsSettingsCommand)
|
|
16
|
+
.build() {
|
|
17
|
+
}
|
|
@@ -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 "./
|
|
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";
|
|
@@ -17,6 +17,21 @@ export const se_BatchGetUsersCommand = async (input, context) => {
|
|
|
17
17
|
.b(body);
|
|
18
18
|
return b.build();
|
|
19
19
|
};
|
|
20
|
+
export const se_BatchGetUsersEmailNotificationsSettingsCommand = async (input, context) => {
|
|
21
|
+
const b = rb(input, context);
|
|
22
|
+
const headers = {
|
|
23
|
+
'content-type': 'application/json',
|
|
24
|
+
};
|
|
25
|
+
b.bp("/v2/users/batch-get-users-email-notifications-settings");
|
|
26
|
+
let body;
|
|
27
|
+
body = JSON.stringify(take(input, {
|
|
28
|
+
'usersIds': _ => _json(_),
|
|
29
|
+
}));
|
|
30
|
+
b.m("POST")
|
|
31
|
+
.h(headers)
|
|
32
|
+
.b(body);
|
|
33
|
+
return b.build();
|
|
34
|
+
};
|
|
20
35
|
export const se_BatchGetUsersPbxLinkDataCommand = async (input, context) => {
|
|
21
36
|
const b = rb(input, context);
|
|
22
37
|
const headers = {
|
|
@@ -197,10 +212,10 @@ export const se_GetUserCommand = async (input, context) => {
|
|
|
197
212
|
.b(body);
|
|
198
213
|
return b.build();
|
|
199
214
|
};
|
|
200
|
-
export const
|
|
215
|
+
export const se_GetUserEmailNotificationsSettingsCommand = async (input, context) => {
|
|
201
216
|
const b = rb(input, context);
|
|
202
217
|
const headers = {};
|
|
203
|
-
b.bp("/v2/users/cloud/{userId}/
|
|
218
|
+
b.bp("/v2/users/cloud/{userId}/notifications/email");
|
|
204
219
|
b.p('userId', () => input.userId, '{userId}', false);
|
|
205
220
|
let body;
|
|
206
221
|
b.m("GET")
|
|
@@ -208,24 +223,21 @@ export const se_GetUserPbxLinkDataCommand = async (input, context) => {
|
|
|
208
223
|
.b(body);
|
|
209
224
|
return b.build();
|
|
210
225
|
};
|
|
211
|
-
export const
|
|
226
|
+
export const se_GetUserPbxLinkDataCommand = async (input, context) => {
|
|
212
227
|
const b = rb(input, context);
|
|
213
228
|
const headers = {};
|
|
214
|
-
b.bp("/v2/users/
|
|
215
|
-
|
|
216
|
-
[_e]: [, input[_e]],
|
|
217
|
-
});
|
|
229
|
+
b.bp("/v2/users/cloud/{userId}/pbx-link-data");
|
|
230
|
+
b.p('userId', () => input.userId, '{userId}', false);
|
|
218
231
|
let body;
|
|
219
232
|
b.m("GET")
|
|
220
233
|
.h(headers)
|
|
221
|
-
.q(query)
|
|
222
234
|
.b(body);
|
|
223
235
|
return b.build();
|
|
224
236
|
};
|
|
225
|
-
export const
|
|
237
|
+
export const se_GetUserPbxLinkSuggestionCommand = async (input, context) => {
|
|
226
238
|
const b = rb(input, context);
|
|
227
239
|
const headers = {};
|
|
228
|
-
b.bp("/v2/users/
|
|
240
|
+
b.bp("/v2/users/get-user-pbx-link-suggestion");
|
|
229
241
|
const query = map({
|
|
230
242
|
[_e]: [, input[_e]],
|
|
231
243
|
});
|
|
@@ -236,12 +248,12 @@ export const se_GetUserPbxLinkSuggestionV1Command = async (input, context) => {
|
|
|
236
248
|
.b(body);
|
|
237
249
|
return b.build();
|
|
238
250
|
};
|
|
239
|
-
export const
|
|
251
|
+
export const se_GetUserPbxLinkSuggestionV1Command = async (input, context) => {
|
|
240
252
|
const b = rb(input, context);
|
|
241
253
|
const headers = {};
|
|
242
|
-
b.bp("/v2/users/
|
|
254
|
+
b.bp("/v2/users/GetUserPbxLinkSuggestion");
|
|
243
255
|
const query = map({
|
|
244
|
-
[
|
|
256
|
+
[_e]: [, input[_e]],
|
|
245
257
|
});
|
|
246
258
|
let body;
|
|
247
259
|
b.m("GET")
|
|
@@ -279,23 +291,20 @@ export const se_ListBotsCommand = async (input, context) => {
|
|
|
279
291
|
.b(body);
|
|
280
292
|
return b.build();
|
|
281
293
|
};
|
|
282
|
-
export const
|
|
294
|
+
export const se_PartialUpdateUserEmailNotificationsSettingsCommand = async (input, context) => {
|
|
283
295
|
const b = rb(input, context);
|
|
284
296
|
const headers = {
|
|
285
297
|
'content-type': 'application/json',
|
|
286
298
|
};
|
|
287
|
-
b.bp("/v2/users/
|
|
288
|
-
|
|
289
|
-
[_t]: [, input[_t]],
|
|
290
|
-
});
|
|
299
|
+
b.bp("/v2/users/cloud/{userId}/notifications/email");
|
|
300
|
+
b.p('userId', () => input.userId, '{userId}', false);
|
|
291
301
|
let body;
|
|
292
302
|
body = JSON.stringify(take(input, {
|
|
293
|
-
'
|
|
294
|
-
'
|
|
303
|
+
'transcription': [],
|
|
304
|
+
'unread': [],
|
|
295
305
|
}));
|
|
296
306
|
b.m("PATCH")
|
|
297
307
|
.h(headers)
|
|
298
|
-
.q(query)
|
|
299
308
|
.b(body);
|
|
300
309
|
return b.build();
|
|
301
310
|
};
|
|
@@ -350,6 +359,36 @@ export const se_QueryUsersCommand = async (input, context) => {
|
|
|
350
359
|
.b(body);
|
|
351
360
|
return b.build();
|
|
352
361
|
};
|
|
362
|
+
export const se_UnsubscribeFromTranscriptionEmailNotificationsCommand = async (input, context) => {
|
|
363
|
+
const b = rb(input, context);
|
|
364
|
+
const headers = {
|
|
365
|
+
'content-type': 'application/json',
|
|
366
|
+
};
|
|
367
|
+
b.bp("/v2/users/unsubscribe-transcription-email-notifications");
|
|
368
|
+
let body;
|
|
369
|
+
body = JSON.stringify(take(input, {
|
|
370
|
+
'unsubscribeToken': [],
|
|
371
|
+
}));
|
|
372
|
+
b.m("POST")
|
|
373
|
+
.h(headers)
|
|
374
|
+
.b(body);
|
|
375
|
+
return b.build();
|
|
376
|
+
};
|
|
377
|
+
export const se_UnsubscribeFromUnreadEmailNotificationsCommand = async (input, context) => {
|
|
378
|
+
const b = rb(input, context);
|
|
379
|
+
const headers = {
|
|
380
|
+
'content-type': 'application/json',
|
|
381
|
+
};
|
|
382
|
+
b.bp("/v2/users/unsubscribe-unread-email-notifications");
|
|
383
|
+
let body;
|
|
384
|
+
body = JSON.stringify(take(input, {
|
|
385
|
+
'unsubscribeToken': [],
|
|
386
|
+
}));
|
|
387
|
+
b.m("POST")
|
|
388
|
+
.h(headers)
|
|
389
|
+
.b(body);
|
|
390
|
+
return b.build();
|
|
391
|
+
};
|
|
353
392
|
export const se_UpdateBotCommand = async (input, context) => {
|
|
354
393
|
const b = rb(input, context);
|
|
355
394
|
const headers = {
|
|
@@ -392,6 +431,23 @@ export const se_UpdateBotCallbackCommand = async (input, context) => {
|
|
|
392
431
|
.b(body);
|
|
393
432
|
return b.build();
|
|
394
433
|
};
|
|
434
|
+
export const se_UpdateUserEmailNotificationsSettingsCommand = async (input, context) => {
|
|
435
|
+
const b = rb(input, context);
|
|
436
|
+
const headers = {
|
|
437
|
+
'content-type': 'application/json',
|
|
438
|
+
};
|
|
439
|
+
b.bp("/v2/users/cloud/{userId}/notifications/email");
|
|
440
|
+
b.p('userId', () => input.userId, '{userId}', false);
|
|
441
|
+
let body;
|
|
442
|
+
body = JSON.stringify(take(input, {
|
|
443
|
+
'transcription': [],
|
|
444
|
+
'unread': [],
|
|
445
|
+
}));
|
|
446
|
+
b.m("POST")
|
|
447
|
+
.h(headers)
|
|
448
|
+
.b(body);
|
|
449
|
+
return b.build();
|
|
450
|
+
};
|
|
395
451
|
export const se_UploadPictureCommand = async (input, context) => {
|
|
396
452
|
const b = rb(input, context);
|
|
397
453
|
const headers = {
|
|
@@ -466,6 +522,20 @@ export const de_BatchGetUsersCommand = async (output, context) => {
|
|
|
466
522
|
Object.assign(contents, doc);
|
|
467
523
|
return contents;
|
|
468
524
|
};
|
|
525
|
+
export const de_BatchGetUsersEmailNotificationsSettingsCommand = async (output, context) => {
|
|
526
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
527
|
+
return de_CommandError(output, context);
|
|
528
|
+
}
|
|
529
|
+
const contents = map({
|
|
530
|
+
$metadata: deserializeMetadata(output),
|
|
531
|
+
});
|
|
532
|
+
const data = __expectNonNull((__expectObject(await parseBody(output.body, context))), "body");
|
|
533
|
+
const doc = take(data, {
|
|
534
|
+
'notifications': _json,
|
|
535
|
+
});
|
|
536
|
+
Object.assign(contents, doc);
|
|
537
|
+
return contents;
|
|
538
|
+
};
|
|
469
539
|
export const de_BatchGetUsersPbxLinkDataCommand = async (output, context) => {
|
|
470
540
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
471
541
|
return de_CommandError(output, context);
|
|
@@ -613,7 +683,7 @@ export const de_GetUserCommand = async (output, context) => {
|
|
|
613
683
|
Object.assign(contents, doc);
|
|
614
684
|
return contents;
|
|
615
685
|
};
|
|
616
|
-
export const
|
|
686
|
+
export const de_GetUserEmailNotificationsSettingsCommand = async (output, context) => {
|
|
617
687
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
618
688
|
return de_CommandError(output, context);
|
|
619
689
|
}
|
|
@@ -622,12 +692,12 @@ export const de_GetUserPbxLinkDataCommand = async (output, context) => {
|
|
|
622
692
|
});
|
|
623
693
|
const data = __expectNonNull((__expectObject(await parseBody(output.body, context))), "body");
|
|
624
694
|
const doc = take(data, {
|
|
625
|
-
'
|
|
695
|
+
'notifications': _json,
|
|
626
696
|
});
|
|
627
697
|
Object.assign(contents, doc);
|
|
628
698
|
return contents;
|
|
629
699
|
};
|
|
630
|
-
export const
|
|
700
|
+
export const de_GetUserPbxLinkDataCommand = async (output, context) => {
|
|
631
701
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
632
702
|
return de_CommandError(output, context);
|
|
633
703
|
}
|
|
@@ -636,12 +706,12 @@ export const de_GetUserPbxLinkSuggestionCommand = async (output, context) => {
|
|
|
636
706
|
});
|
|
637
707
|
const data = __expectNonNull((__expectObject(await parseBody(output.body, context))), "body");
|
|
638
708
|
const doc = take(data, {
|
|
639
|
-
'
|
|
709
|
+
'user': _json,
|
|
640
710
|
});
|
|
641
711
|
Object.assign(contents, doc);
|
|
642
712
|
return contents;
|
|
643
713
|
};
|
|
644
|
-
export const
|
|
714
|
+
export const de_GetUserPbxLinkSuggestionCommand = async (output, context) => {
|
|
645
715
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
646
716
|
return de_CommandError(output, context);
|
|
647
717
|
}
|
|
@@ -655,7 +725,7 @@ export const de_GetUserPbxLinkSuggestionV1Command = async (output, context) => {
|
|
|
655
725
|
Object.assign(contents, doc);
|
|
656
726
|
return contents;
|
|
657
727
|
};
|
|
658
|
-
export const
|
|
728
|
+
export const de_GetUserPbxLinkSuggestionV1Command = async (output, context) => {
|
|
659
729
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
660
730
|
return de_CommandError(output, context);
|
|
661
731
|
}
|
|
@@ -664,7 +734,7 @@ export const de_GetUserSettingsCommand = async (output, context) => {
|
|
|
664
734
|
});
|
|
665
735
|
const data = __expectNonNull((__expectObject(await parseBody(output.body, context))), "body");
|
|
666
736
|
const doc = take(data, {
|
|
667
|
-
'
|
|
737
|
+
'suggestion': _json,
|
|
668
738
|
});
|
|
669
739
|
Object.assign(contents, doc);
|
|
670
740
|
return contents;
|
|
@@ -697,7 +767,7 @@ export const de_ListBotsCommand = async (output, context) => {
|
|
|
697
767
|
Object.assign(contents, doc);
|
|
698
768
|
return contents;
|
|
699
769
|
};
|
|
700
|
-
export const
|
|
770
|
+
export const de_PartialUpdateUserEmailNotificationsSettingsCommand = async (output, context) => {
|
|
701
771
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
702
772
|
return de_CommandError(output, context);
|
|
703
773
|
}
|
|
@@ -706,7 +776,7 @@ export const de_PartialUpdateUserSettingsCommand = async (output, context) => {
|
|
|
706
776
|
});
|
|
707
777
|
const data = __expectNonNull((__expectObject(await parseBody(output.body, context))), "body");
|
|
708
778
|
const doc = take(data, {
|
|
709
|
-
'
|
|
779
|
+
'notifications': _json,
|
|
710
780
|
});
|
|
711
781
|
Object.assign(contents, doc);
|
|
712
782
|
return contents;
|
|
@@ -753,6 +823,26 @@ export const de_QueryUsersCommand = async (output, context) => {
|
|
|
753
823
|
Object.assign(contents, doc);
|
|
754
824
|
return contents;
|
|
755
825
|
};
|
|
826
|
+
export const de_UnsubscribeFromTranscriptionEmailNotificationsCommand = async (output, context) => {
|
|
827
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
828
|
+
return de_CommandError(output, context);
|
|
829
|
+
}
|
|
830
|
+
const contents = map({
|
|
831
|
+
$metadata: deserializeMetadata(output),
|
|
832
|
+
});
|
|
833
|
+
await collectBody(output.body, context);
|
|
834
|
+
return contents;
|
|
835
|
+
};
|
|
836
|
+
export const de_UnsubscribeFromUnreadEmailNotificationsCommand = async (output, context) => {
|
|
837
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
838
|
+
return de_CommandError(output, context);
|
|
839
|
+
}
|
|
840
|
+
const contents = map({
|
|
841
|
+
$metadata: deserializeMetadata(output),
|
|
842
|
+
});
|
|
843
|
+
await collectBody(output.body, context);
|
|
844
|
+
return contents;
|
|
845
|
+
};
|
|
756
846
|
export const de_UpdateBotCommand = async (output, context) => {
|
|
757
847
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
758
848
|
return de_CommandError(output, context);
|
|
@@ -781,6 +871,20 @@ export const de_UpdateBotCallbackCommand = async (output, context) => {
|
|
|
781
871
|
Object.assign(contents, doc);
|
|
782
872
|
return contents;
|
|
783
873
|
};
|
|
874
|
+
export const de_UpdateUserEmailNotificationsSettingsCommand = async (output, context) => {
|
|
875
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
876
|
+
return de_CommandError(output, context);
|
|
877
|
+
}
|
|
878
|
+
const contents = map({
|
|
879
|
+
$metadata: deserializeMetadata(output),
|
|
880
|
+
});
|
|
881
|
+
const data = __expectNonNull((__expectObject(await parseBody(output.body, context))), "body");
|
|
882
|
+
const doc = take(data, {
|
|
883
|
+
'notifications': _json,
|
|
884
|
+
});
|
|
885
|
+
Object.assign(contents, doc);
|
|
886
|
+
return contents;
|
|
887
|
+
};
|
|
784
888
|
export const de_UploadPictureCommand = async (output, context) => {
|
|
785
889
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
786
890
|
return de_CommandError(output, context);
|
|
@@ -1065,9 +1169,6 @@ const isSerializableHeaderValue = (value) => value !== undefined &&
|
|
|
1065
1169
|
(!Object.getOwnPropertyNames(value).includes("size") || value.size != 0);
|
|
1066
1170
|
const _c = "company";
|
|
1067
1171
|
const _e = "email";
|
|
1068
|
-
const _t = "token";
|
|
1069
|
-
const _u = "user";
|
|
1070
|
-
const _uI = "userId";
|
|
1071
1172
|
const parseBody = (streamBody, context) => collectBodyString(streamBody, context).then(encoded => {
|
|
1072
1173
|
if (encoded.length) {
|
|
1073
1174
|
return JSON.parse(encoded);
|
package/dist-types/Users.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { UsersClient } from "./UsersClient";
|
|
2
2
|
import { BatchGetUsersCommandInput, BatchGetUsersCommandOutput } from "./commands/BatchGetUsersCommand";
|
|
3
|
+
import { BatchGetUsersEmailNotificationsSettingsCommandInput, BatchGetUsersEmailNotificationsSettingsCommandOutput } from "./commands/BatchGetUsersEmailNotificationsSettingsCommand";
|
|
3
4
|
import { BatchGetUsersPbxLinkDataCommandInput, BatchGetUsersPbxLinkDataCommandOutput } from "./commands/BatchGetUsersPbxLinkDataCommand";
|
|
4
5
|
import { BatchGetUsersPbxLinkDataV1CommandInput, BatchGetUsersPbxLinkDataV1CommandOutput } from "./commands/BatchGetUsersPbxLinkDataV1Command";
|
|
5
6
|
import { ChangeUserEmailCommandInput, ChangeUserEmailCommandOutput } from "./commands/ChangeUserEmailCommand";
|
|
@@ -11,18 +12,21 @@ import { DeleteBotCommandInput, DeleteBotCommandOutput } from "./commands/Delete
|
|
|
11
12
|
import { GetBotCallbackCommandInput, GetBotCallbackCommandOutput } from "./commands/GetBotCallbackCommand";
|
|
12
13
|
import { GetBotCommandInput, GetBotCommandOutput } from "./commands/GetBotCommand";
|
|
13
14
|
import { GetUserCommandInput, GetUserCommandOutput } from "./commands/GetUserCommand";
|
|
15
|
+
import { GetUserEmailNotificationsSettingsCommandInput, GetUserEmailNotificationsSettingsCommandOutput } from "./commands/GetUserEmailNotificationsSettingsCommand";
|
|
14
16
|
import { GetUserPbxLinkDataCommandInput, GetUserPbxLinkDataCommandOutput } from "./commands/GetUserPbxLinkDataCommand";
|
|
15
17
|
import { GetUserPbxLinkSuggestionCommandInput, GetUserPbxLinkSuggestionCommandOutput } from "./commands/GetUserPbxLinkSuggestionCommand";
|
|
16
18
|
import { GetUserPbxLinkSuggestionV1CommandInput, GetUserPbxLinkSuggestionV1CommandOutput } from "./commands/GetUserPbxLinkSuggestionV1Command";
|
|
17
|
-
import { GetUserSettingsCommandInput, GetUserSettingsCommandOutput } from "./commands/GetUserSettingsCommand";
|
|
18
19
|
import { ListBotApiKeysCommandInput, ListBotApiKeysCommandOutput } from "./commands/ListBotApiKeysCommand";
|
|
19
20
|
import { ListBotsCommandInput, ListBotsCommandOutput } from "./commands/ListBotsCommand";
|
|
20
|
-
import {
|
|
21
|
+
import { PartialUpdateUserEmailNotificationsSettingsCommandInput, PartialUpdateUserEmailNotificationsSettingsCommandOutput } from "./commands/PartialUpdateUserEmailNotificationsSettingsCommand";
|
|
21
22
|
import { QueryColleaguesCommandInput, QueryColleaguesCommandOutput } from "./commands/QueryColleaguesCommand";
|
|
22
23
|
import { QueryUserCommandInput, QueryUserCommandOutput } from "./commands/QueryUserCommand";
|
|
23
24
|
import { QueryUsersCommandInput, QueryUsersCommandOutput } from "./commands/QueryUsersCommand";
|
|
25
|
+
import { UnsubscribeFromTranscriptionEmailNotificationsCommandInput, UnsubscribeFromTranscriptionEmailNotificationsCommandOutput } from "./commands/UnsubscribeFromTranscriptionEmailNotificationsCommand";
|
|
26
|
+
import { UnsubscribeFromUnreadEmailNotificationsCommandInput, UnsubscribeFromUnreadEmailNotificationsCommandOutput } from "./commands/UnsubscribeFromUnreadEmailNotificationsCommand";
|
|
24
27
|
import { UpdateBotCallbackCommandInput, UpdateBotCallbackCommandOutput } from "./commands/UpdateBotCallbackCommand";
|
|
25
28
|
import { UpdateBotCommandInput, UpdateBotCommandOutput } from "./commands/UpdateBotCommand";
|
|
29
|
+
import { UpdateUserEmailNotificationsSettingsCommandInput, UpdateUserEmailNotificationsSettingsCommandOutput } from "./commands/UpdateUserEmailNotificationsSettingsCommand";
|
|
26
30
|
import { UploadPictureCommandInput, UploadPictureCommandOutput } from "./commands/UploadPictureCommand";
|
|
27
31
|
import { UploadPictureV1CommandInput, UploadPictureV1CommandOutput } from "./commands/UploadPictureV1Command";
|
|
28
32
|
import { VerifyBotSecretKeyCommandInput, VerifyBotSecretKeyCommandOutput } from "./commands/VerifyBotSecretKeyCommand";
|
|
@@ -35,6 +39,12 @@ export interface Users {
|
|
|
35
39
|
batchGetUsers(args: BatchGetUsersCommandInput, options?: __HttpHandlerOptions): Promise<BatchGetUsersCommandOutput>;
|
|
36
40
|
batchGetUsers(args: BatchGetUsersCommandInput, cb: (err: any, data?: BatchGetUsersCommandOutput) => void): void;
|
|
37
41
|
batchGetUsers(args: BatchGetUsersCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchGetUsersCommandOutput) => void): void;
|
|
42
|
+
/**
|
|
43
|
+
* @see {@link BatchGetUsersEmailNotificationsSettingsCommand}
|
|
44
|
+
*/
|
|
45
|
+
batchGetUsersEmailNotificationsSettings(args: BatchGetUsersEmailNotificationsSettingsCommandInput, options?: __HttpHandlerOptions): Promise<BatchGetUsersEmailNotificationsSettingsCommandOutput>;
|
|
46
|
+
batchGetUsersEmailNotificationsSettings(args: BatchGetUsersEmailNotificationsSettingsCommandInput, cb: (err: any, data?: BatchGetUsersEmailNotificationsSettingsCommandOutput) => void): void;
|
|
47
|
+
batchGetUsersEmailNotificationsSettings(args: BatchGetUsersEmailNotificationsSettingsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchGetUsersEmailNotificationsSettingsCommandOutput) => void): void;
|
|
38
48
|
/**
|
|
39
49
|
* @see {@link BatchGetUsersPbxLinkDataCommand}
|
|
40
50
|
*/
|
|
@@ -101,6 +111,12 @@ export interface Users {
|
|
|
101
111
|
getUser(args: GetUserCommandInput, options?: __HttpHandlerOptions): Promise<GetUserCommandOutput>;
|
|
102
112
|
getUser(args: GetUserCommandInput, cb: (err: any, data?: GetUserCommandOutput) => void): void;
|
|
103
113
|
getUser(args: GetUserCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetUserCommandOutput) => void): void;
|
|
114
|
+
/**
|
|
115
|
+
* @see {@link GetUserEmailNotificationsSettingsCommand}
|
|
116
|
+
*/
|
|
117
|
+
getUserEmailNotificationsSettings(args: GetUserEmailNotificationsSettingsCommandInput, options?: __HttpHandlerOptions): Promise<GetUserEmailNotificationsSettingsCommandOutput>;
|
|
118
|
+
getUserEmailNotificationsSettings(args: GetUserEmailNotificationsSettingsCommandInput, cb: (err: any, data?: GetUserEmailNotificationsSettingsCommandOutput) => void): void;
|
|
119
|
+
getUserEmailNotificationsSettings(args: GetUserEmailNotificationsSettingsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetUserEmailNotificationsSettingsCommandOutput) => void): void;
|
|
104
120
|
/**
|
|
105
121
|
* @see {@link GetUserPbxLinkDataCommand}
|
|
106
122
|
*/
|
|
@@ -121,13 +137,6 @@ export interface Users {
|
|
|
121
137
|
getUserPbxLinkSuggestionV1(args: GetUserPbxLinkSuggestionV1CommandInput, options?: __HttpHandlerOptions): Promise<GetUserPbxLinkSuggestionV1CommandOutput>;
|
|
122
138
|
getUserPbxLinkSuggestionV1(args: GetUserPbxLinkSuggestionV1CommandInput, cb: (err: any, data?: GetUserPbxLinkSuggestionV1CommandOutput) => void): void;
|
|
123
139
|
getUserPbxLinkSuggestionV1(args: GetUserPbxLinkSuggestionV1CommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetUserPbxLinkSuggestionV1CommandOutput) => void): void;
|
|
124
|
-
/**
|
|
125
|
-
* @see {@link GetUserSettingsCommand}
|
|
126
|
-
*/
|
|
127
|
-
getUserSettings(): Promise<GetUserSettingsCommandOutput>;
|
|
128
|
-
getUserSettings(args: GetUserSettingsCommandInput, options?: __HttpHandlerOptions): Promise<GetUserSettingsCommandOutput>;
|
|
129
|
-
getUserSettings(args: GetUserSettingsCommandInput, cb: (err: any, data?: GetUserSettingsCommandOutput) => void): void;
|
|
130
|
-
getUserSettings(args: GetUserSettingsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetUserSettingsCommandOutput) => void): void;
|
|
131
140
|
/**
|
|
132
141
|
* @see {@link ListBotApiKeysCommand}
|
|
133
142
|
*/
|
|
@@ -142,11 +151,11 @@ export interface Users {
|
|
|
142
151
|
listBots(args: ListBotsCommandInput, cb: (err: any, data?: ListBotsCommandOutput) => void): void;
|
|
143
152
|
listBots(args: ListBotsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListBotsCommandOutput) => void): void;
|
|
144
153
|
/**
|
|
145
|
-
* @see {@link
|
|
154
|
+
* @see {@link PartialUpdateUserEmailNotificationsSettingsCommand}
|
|
146
155
|
*/
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
156
|
+
partialUpdateUserEmailNotificationsSettings(args: PartialUpdateUserEmailNotificationsSettingsCommandInput, options?: __HttpHandlerOptions): Promise<PartialUpdateUserEmailNotificationsSettingsCommandOutput>;
|
|
157
|
+
partialUpdateUserEmailNotificationsSettings(args: PartialUpdateUserEmailNotificationsSettingsCommandInput, cb: (err: any, data?: PartialUpdateUserEmailNotificationsSettingsCommandOutput) => void): void;
|
|
158
|
+
partialUpdateUserEmailNotificationsSettings(args: PartialUpdateUserEmailNotificationsSettingsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PartialUpdateUserEmailNotificationsSettingsCommandOutput) => void): void;
|
|
150
159
|
/**
|
|
151
160
|
* @see {@link QueryColleaguesCommand}
|
|
152
161
|
*/
|
|
@@ -166,6 +175,18 @@ export interface Users {
|
|
|
166
175
|
queryUsers(args: QueryUsersCommandInput, options?: __HttpHandlerOptions): Promise<QueryUsersCommandOutput>;
|
|
167
176
|
queryUsers(args: QueryUsersCommandInput, cb: (err: any, data?: QueryUsersCommandOutput) => void): void;
|
|
168
177
|
queryUsers(args: QueryUsersCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: QueryUsersCommandOutput) => void): void;
|
|
178
|
+
/**
|
|
179
|
+
* @see {@link UnsubscribeFromTranscriptionEmailNotificationsCommand}
|
|
180
|
+
*/
|
|
181
|
+
unsubscribeFromTranscriptionEmailNotifications(args: UnsubscribeFromTranscriptionEmailNotificationsCommandInput, options?: __HttpHandlerOptions): Promise<UnsubscribeFromTranscriptionEmailNotificationsCommandOutput>;
|
|
182
|
+
unsubscribeFromTranscriptionEmailNotifications(args: UnsubscribeFromTranscriptionEmailNotificationsCommandInput, cb: (err: any, data?: UnsubscribeFromTranscriptionEmailNotificationsCommandOutput) => void): void;
|
|
183
|
+
unsubscribeFromTranscriptionEmailNotifications(args: UnsubscribeFromTranscriptionEmailNotificationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UnsubscribeFromTranscriptionEmailNotificationsCommandOutput) => void): void;
|
|
184
|
+
/**
|
|
185
|
+
* @see {@link UnsubscribeFromUnreadEmailNotificationsCommand}
|
|
186
|
+
*/
|
|
187
|
+
unsubscribeFromUnreadEmailNotifications(args: UnsubscribeFromUnreadEmailNotificationsCommandInput, options?: __HttpHandlerOptions): Promise<UnsubscribeFromUnreadEmailNotificationsCommandOutput>;
|
|
188
|
+
unsubscribeFromUnreadEmailNotifications(args: UnsubscribeFromUnreadEmailNotificationsCommandInput, cb: (err: any, data?: UnsubscribeFromUnreadEmailNotificationsCommandOutput) => void): void;
|
|
189
|
+
unsubscribeFromUnreadEmailNotifications(args: UnsubscribeFromUnreadEmailNotificationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UnsubscribeFromUnreadEmailNotificationsCommandOutput) => void): void;
|
|
169
190
|
/**
|
|
170
191
|
* @see {@link UpdateBotCommand}
|
|
171
192
|
*/
|
|
@@ -178,6 +199,12 @@ export interface Users {
|
|
|
178
199
|
updateBotCallback(args: UpdateBotCallbackCommandInput, options?: __HttpHandlerOptions): Promise<UpdateBotCallbackCommandOutput>;
|
|
179
200
|
updateBotCallback(args: UpdateBotCallbackCommandInput, cb: (err: any, data?: UpdateBotCallbackCommandOutput) => void): void;
|
|
180
201
|
updateBotCallback(args: UpdateBotCallbackCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateBotCallbackCommandOutput) => void): void;
|
|
202
|
+
/**
|
|
203
|
+
* @see {@link UpdateUserEmailNotificationsSettingsCommand}
|
|
204
|
+
*/
|
|
205
|
+
updateUserEmailNotificationsSettings(args: UpdateUserEmailNotificationsSettingsCommandInput, options?: __HttpHandlerOptions): Promise<UpdateUserEmailNotificationsSettingsCommandOutput>;
|
|
206
|
+
updateUserEmailNotificationsSettings(args: UpdateUserEmailNotificationsSettingsCommandInput, cb: (err: any, data?: UpdateUserEmailNotificationsSettingsCommandOutput) => void): void;
|
|
207
|
+
updateUserEmailNotificationsSettings(args: UpdateUserEmailNotificationsSettingsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateUserEmailNotificationsSettingsCommandOutput) => void): void;
|
|
181
208
|
/**
|
|
182
209
|
* @see {@link UploadPictureCommand}
|
|
183
210
|
*/
|