@wildix/xbees-users-client 1.0.35 → 1.0.37
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 +14 -0
- package/dist-cjs/commands/BatchGetUsersEmailNotificationsSettingsCommand.js +21 -0
- package/dist-cjs/commands/GetUserEmailNotificationsSettingsCommand.js +21 -0
- package/dist-cjs/commands/IntelligenceSearchCommand.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 +7 -0
- package/dist-cjs/protocols/Aws_restJson1.js +216 -2
- package/dist-es/Users.js +14 -0
- package/dist-es/commands/BatchGetUsersEmailNotificationsSettingsCommand.js +17 -0
- package/dist-es/commands/GetUserEmailNotificationsSettingsCommand.js +17 -0
- package/dist-es/commands/IntelligenceSearchCommand.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 +7 -0
- package/dist-es/protocols/Aws_restJson1.js +200 -0
- package/dist-types/Users.d.ts +49 -0
- package/dist-types/UsersClient.d.ts +9 -2
- package/dist-types/commands/BatchGetUsersEmailNotificationsSettingsCommand.d.ts +71 -0
- package/dist-types/commands/GetUserEmailNotificationsSettingsCommand.d.ts +69 -0
- package/dist-types/commands/IntelligenceSearchCommand.d.ts +73 -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 +7 -0
- package/dist-types/models/models_0.d.ts +162 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +63 -0
- package/package.json +5 -5
package/dist-cjs/Users.js
CHANGED
|
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.Users = void 0;
|
|
4
4
|
const UsersClient_1 = require("./UsersClient");
|
|
5
5
|
const BatchGetUsersCommand_1 = require("./commands/BatchGetUsersCommand");
|
|
6
|
+
const BatchGetUsersEmailNotificationsSettingsCommand_1 = require("./commands/BatchGetUsersEmailNotificationsSettingsCommand");
|
|
6
7
|
const BatchGetUsersPbxLinkDataCommand_1 = require("./commands/BatchGetUsersPbxLinkDataCommand");
|
|
7
8
|
const BatchGetUsersPbxLinkDataV1Command_1 = require("./commands/BatchGetUsersPbxLinkDataV1Command");
|
|
8
9
|
const ChangeUserEmailCommand_1 = require("./commands/ChangeUserEmailCommand");
|
|
@@ -14,16 +15,22 @@ const DeleteBotCommand_1 = require("./commands/DeleteBotCommand");
|
|
|
14
15
|
const GetBotCallbackCommand_1 = require("./commands/GetBotCallbackCommand");
|
|
15
16
|
const GetBotCommand_1 = require("./commands/GetBotCommand");
|
|
16
17
|
const GetUserCommand_1 = require("./commands/GetUserCommand");
|
|
18
|
+
const GetUserEmailNotificationsSettingsCommand_1 = require("./commands/GetUserEmailNotificationsSettingsCommand");
|
|
17
19
|
const GetUserPbxLinkDataCommand_1 = require("./commands/GetUserPbxLinkDataCommand");
|
|
18
20
|
const GetUserPbxLinkSuggestionCommand_1 = require("./commands/GetUserPbxLinkSuggestionCommand");
|
|
19
21
|
const GetUserPbxLinkSuggestionV1Command_1 = require("./commands/GetUserPbxLinkSuggestionV1Command");
|
|
22
|
+
const IntelligenceSearchCommand_1 = require("./commands/IntelligenceSearchCommand");
|
|
20
23
|
const ListBotApiKeysCommand_1 = require("./commands/ListBotApiKeysCommand");
|
|
21
24
|
const ListBotsCommand_1 = require("./commands/ListBotsCommand");
|
|
25
|
+
const PartialUpdateUserEmailNotificationsSettingsCommand_1 = require("./commands/PartialUpdateUserEmailNotificationsSettingsCommand");
|
|
22
26
|
const QueryColleaguesCommand_1 = require("./commands/QueryColleaguesCommand");
|
|
23
27
|
const QueryUserCommand_1 = require("./commands/QueryUserCommand");
|
|
24
28
|
const QueryUsersCommand_1 = require("./commands/QueryUsersCommand");
|
|
29
|
+
const ToggleTranscriptionEmailNotificationsSubscriptionCommand_1 = require("./commands/ToggleTranscriptionEmailNotificationsSubscriptionCommand");
|
|
30
|
+
const ToggleUnreadEmailNotificationsSubscriptionCommand_1 = require("./commands/ToggleUnreadEmailNotificationsSubscriptionCommand");
|
|
25
31
|
const UpdateBotCallbackCommand_1 = require("./commands/UpdateBotCallbackCommand");
|
|
26
32
|
const UpdateBotCommand_1 = require("./commands/UpdateBotCommand");
|
|
33
|
+
const UpdateUserEmailNotificationsSettingsCommand_1 = require("./commands/UpdateUserEmailNotificationsSettingsCommand");
|
|
27
34
|
const UploadPictureCommand_1 = require("./commands/UploadPictureCommand");
|
|
28
35
|
const UploadPictureV1Command_1 = require("./commands/UploadPictureV1Command");
|
|
29
36
|
const VerifyBotSecretKeyCommand_1 = require("./commands/VerifyBotSecretKeyCommand");
|
|
@@ -31,6 +38,7 @@ const VerifyBotSecretKeyV1Command_1 = require("./commands/VerifyBotSecretKeyV1Co
|
|
|
31
38
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
32
39
|
const commands = {
|
|
33
40
|
BatchGetUsersCommand: BatchGetUsersCommand_1.BatchGetUsersCommand,
|
|
41
|
+
BatchGetUsersEmailNotificationsSettingsCommand: BatchGetUsersEmailNotificationsSettingsCommand_1.BatchGetUsersEmailNotificationsSettingsCommand,
|
|
34
42
|
BatchGetUsersPbxLinkDataCommand: BatchGetUsersPbxLinkDataCommand_1.BatchGetUsersPbxLinkDataCommand,
|
|
35
43
|
BatchGetUsersPbxLinkDataV1Command: BatchGetUsersPbxLinkDataV1Command_1.BatchGetUsersPbxLinkDataV1Command,
|
|
36
44
|
ChangeUserEmailCommand: ChangeUserEmailCommand_1.ChangeUserEmailCommand,
|
|
@@ -42,16 +50,22 @@ const commands = {
|
|
|
42
50
|
GetBotCommand: GetBotCommand_1.GetBotCommand,
|
|
43
51
|
GetBotCallbackCommand: GetBotCallbackCommand_1.GetBotCallbackCommand,
|
|
44
52
|
GetUserCommand: GetUserCommand_1.GetUserCommand,
|
|
53
|
+
GetUserEmailNotificationsSettingsCommand: GetUserEmailNotificationsSettingsCommand_1.GetUserEmailNotificationsSettingsCommand,
|
|
45
54
|
GetUserPbxLinkDataCommand: GetUserPbxLinkDataCommand_1.GetUserPbxLinkDataCommand,
|
|
46
55
|
GetUserPbxLinkSuggestionCommand: GetUserPbxLinkSuggestionCommand_1.GetUserPbxLinkSuggestionCommand,
|
|
47
56
|
GetUserPbxLinkSuggestionV1Command: GetUserPbxLinkSuggestionV1Command_1.GetUserPbxLinkSuggestionV1Command,
|
|
57
|
+
IntelligenceSearchCommand: IntelligenceSearchCommand_1.IntelligenceSearchCommand,
|
|
48
58
|
ListBotApiKeysCommand: ListBotApiKeysCommand_1.ListBotApiKeysCommand,
|
|
49
59
|
ListBotsCommand: ListBotsCommand_1.ListBotsCommand,
|
|
60
|
+
PartialUpdateUserEmailNotificationsSettingsCommand: PartialUpdateUserEmailNotificationsSettingsCommand_1.PartialUpdateUserEmailNotificationsSettingsCommand,
|
|
50
61
|
QueryColleaguesCommand: QueryColleaguesCommand_1.QueryColleaguesCommand,
|
|
51
62
|
QueryUserCommand: QueryUserCommand_1.QueryUserCommand,
|
|
52
63
|
QueryUsersCommand: QueryUsersCommand_1.QueryUsersCommand,
|
|
64
|
+
ToggleTranscriptionEmailNotificationsSubscriptionCommand: ToggleTranscriptionEmailNotificationsSubscriptionCommand_1.ToggleTranscriptionEmailNotificationsSubscriptionCommand,
|
|
65
|
+
ToggleUnreadEmailNotificationsSubscriptionCommand: ToggleUnreadEmailNotificationsSubscriptionCommand_1.ToggleUnreadEmailNotificationsSubscriptionCommand,
|
|
53
66
|
UpdateBotCommand: UpdateBotCommand_1.UpdateBotCommand,
|
|
54
67
|
UpdateBotCallbackCommand: UpdateBotCallbackCommand_1.UpdateBotCallbackCommand,
|
|
68
|
+
UpdateUserEmailNotificationsSettingsCommand: UpdateUserEmailNotificationsSettingsCommand_1.UpdateUserEmailNotificationsSettingsCommand,
|
|
55
69
|
UploadPictureCommand: UploadPictureCommand_1.UploadPictureCommand,
|
|
56
70
|
UploadPictureV1Command: UploadPictureV1Command_1.UploadPictureV1Command,
|
|
57
71
|
VerifyBotSecretKeyCommand: VerifyBotSecretKeyCommand_1.VerifyBotSecretKeyCommand,
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.BatchGetUsersEmailNotificationsSettingsCommand = exports.$Command = void 0;
|
|
4
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
class BatchGetUsersEmailNotificationsSettingsCommand extends smithy_client_1.Command.classBuilder()
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [
|
|
11
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
12
|
+
];
|
|
13
|
+
})
|
|
14
|
+
.s("Users", "BatchGetUsersEmailNotificationsSettings", {})
|
|
15
|
+
.n("UsersClient", "BatchGetUsersEmailNotificationsSettingsCommand")
|
|
16
|
+
.f(void 0, void 0)
|
|
17
|
+
.ser(Aws_restJson1_1.se_BatchGetUsersEmailNotificationsSettingsCommand)
|
|
18
|
+
.de(Aws_restJson1_1.de_BatchGetUsersEmailNotificationsSettingsCommand)
|
|
19
|
+
.build() {
|
|
20
|
+
}
|
|
21
|
+
exports.BatchGetUsersEmailNotificationsSettingsCommand = BatchGetUsersEmailNotificationsSettingsCommand;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetUserEmailNotificationsSettingsCommand = exports.$Command = void 0;
|
|
4
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
class GetUserEmailNotificationsSettingsCommand extends smithy_client_1.Command.classBuilder()
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [
|
|
11
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
12
|
+
];
|
|
13
|
+
})
|
|
14
|
+
.s("Users", "GetUserEmailNotificationsSettings", {})
|
|
15
|
+
.n("UsersClient", "GetUserEmailNotificationsSettingsCommand")
|
|
16
|
+
.f(void 0, void 0)
|
|
17
|
+
.ser(Aws_restJson1_1.se_GetUserEmailNotificationsSettingsCommand)
|
|
18
|
+
.de(Aws_restJson1_1.de_GetUserEmailNotificationsSettingsCommand)
|
|
19
|
+
.build() {
|
|
20
|
+
}
|
|
21
|
+
exports.GetUserEmailNotificationsSettingsCommand = GetUserEmailNotificationsSettingsCommand;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.IntelligenceSearchCommand = exports.$Command = void 0;
|
|
4
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
class IntelligenceSearchCommand extends smithy_client_1.Command.classBuilder()
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [
|
|
11
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
12
|
+
];
|
|
13
|
+
})
|
|
14
|
+
.s("Users", "IntelligenceSearch", {})
|
|
15
|
+
.n("UsersClient", "IntelligenceSearchCommand")
|
|
16
|
+
.f(void 0, void 0)
|
|
17
|
+
.ser(Aws_restJson1_1.se_IntelligenceSearchCommand)
|
|
18
|
+
.de(Aws_restJson1_1.de_IntelligenceSearchCommand)
|
|
19
|
+
.build() {
|
|
20
|
+
}
|
|
21
|
+
exports.IntelligenceSearchCommand = IntelligenceSearchCommand;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PartialUpdateUserEmailNotificationsSettingsCommand = exports.$Command = void 0;
|
|
4
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
class PartialUpdateUserEmailNotificationsSettingsCommand extends smithy_client_1.Command.classBuilder()
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [
|
|
11
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
12
|
+
];
|
|
13
|
+
})
|
|
14
|
+
.s("Users", "PartialUpdateUserEmailNotificationsSettings", {})
|
|
15
|
+
.n("UsersClient", "PartialUpdateUserEmailNotificationsSettingsCommand")
|
|
16
|
+
.f(void 0, void 0)
|
|
17
|
+
.ser(Aws_restJson1_1.se_PartialUpdateUserEmailNotificationsSettingsCommand)
|
|
18
|
+
.de(Aws_restJson1_1.de_PartialUpdateUserEmailNotificationsSettingsCommand)
|
|
19
|
+
.build() {
|
|
20
|
+
}
|
|
21
|
+
exports.PartialUpdateUserEmailNotificationsSettingsCommand = PartialUpdateUserEmailNotificationsSettingsCommand;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ToggleTranscriptionEmailNotificationsSubscriptionCommand = exports.$Command = void 0;
|
|
4
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
class ToggleTranscriptionEmailNotificationsSubscriptionCommand extends smithy_client_1.Command.classBuilder()
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [
|
|
11
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
12
|
+
];
|
|
13
|
+
})
|
|
14
|
+
.s("Users", "ToggleTranscriptionEmailNotificationsSubscription", {})
|
|
15
|
+
.n("UsersClient", "ToggleTranscriptionEmailNotificationsSubscriptionCommand")
|
|
16
|
+
.f(void 0, void 0)
|
|
17
|
+
.ser(Aws_restJson1_1.se_ToggleTranscriptionEmailNotificationsSubscriptionCommand)
|
|
18
|
+
.de(Aws_restJson1_1.de_ToggleTranscriptionEmailNotificationsSubscriptionCommand)
|
|
19
|
+
.build() {
|
|
20
|
+
}
|
|
21
|
+
exports.ToggleTranscriptionEmailNotificationsSubscriptionCommand = ToggleTranscriptionEmailNotificationsSubscriptionCommand;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ToggleUnreadEmailNotificationsSubscriptionCommand = exports.$Command = void 0;
|
|
4
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
class ToggleUnreadEmailNotificationsSubscriptionCommand extends smithy_client_1.Command.classBuilder()
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [
|
|
11
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
12
|
+
];
|
|
13
|
+
})
|
|
14
|
+
.s("Users", "ToggleUnreadEmailNotificationsSubscription", {})
|
|
15
|
+
.n("UsersClient", "ToggleUnreadEmailNotificationsSubscriptionCommand")
|
|
16
|
+
.f(void 0, void 0)
|
|
17
|
+
.ser(Aws_restJson1_1.se_ToggleUnreadEmailNotificationsSubscriptionCommand)
|
|
18
|
+
.de(Aws_restJson1_1.de_ToggleUnreadEmailNotificationsSubscriptionCommand)
|
|
19
|
+
.build() {
|
|
20
|
+
}
|
|
21
|
+
exports.ToggleUnreadEmailNotificationsSubscriptionCommand = ToggleUnreadEmailNotificationsSubscriptionCommand;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UpdateUserEmailNotificationsSettingsCommand = exports.$Command = void 0;
|
|
4
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
class UpdateUserEmailNotificationsSettingsCommand extends smithy_client_1.Command.classBuilder()
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [
|
|
11
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
12
|
+
];
|
|
13
|
+
})
|
|
14
|
+
.s("Users", "UpdateUserEmailNotificationsSettings", {})
|
|
15
|
+
.n("UsersClient", "UpdateUserEmailNotificationsSettingsCommand")
|
|
16
|
+
.f(void 0, void 0)
|
|
17
|
+
.ser(Aws_restJson1_1.se_UpdateUserEmailNotificationsSettingsCommand)
|
|
18
|
+
.de(Aws_restJson1_1.de_UpdateUserEmailNotificationsSettingsCommand)
|
|
19
|
+
.build() {
|
|
20
|
+
}
|
|
21
|
+
exports.UpdateUserEmailNotificationsSettingsCommand = UpdateUserEmailNotificationsSettingsCommand;
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const tslib_1 = require("tslib");
|
|
4
4
|
tslib_1.__exportStar(require("./BatchGetUsersCommand"), exports);
|
|
5
|
+
tslib_1.__exportStar(require("./BatchGetUsersEmailNotificationsSettingsCommand"), exports);
|
|
5
6
|
tslib_1.__exportStar(require("./BatchGetUsersPbxLinkDataCommand"), exports);
|
|
6
7
|
tslib_1.__exportStar(require("./BatchGetUsersPbxLinkDataV1Command"), exports);
|
|
7
8
|
tslib_1.__exportStar(require("./ChangeUserEmailCommand"), exports);
|
|
@@ -13,16 +14,22 @@ tslib_1.__exportStar(require("./DeleteBotApiKeyCommand"), exports);
|
|
|
13
14
|
tslib_1.__exportStar(require("./GetBotCommand"), exports);
|
|
14
15
|
tslib_1.__exportStar(require("./GetBotCallbackCommand"), exports);
|
|
15
16
|
tslib_1.__exportStar(require("./GetUserCommand"), exports);
|
|
17
|
+
tslib_1.__exportStar(require("./GetUserEmailNotificationsSettingsCommand"), exports);
|
|
16
18
|
tslib_1.__exportStar(require("./GetUserPbxLinkDataCommand"), exports);
|
|
17
19
|
tslib_1.__exportStar(require("./GetUserPbxLinkSuggestionCommand"), exports);
|
|
18
20
|
tslib_1.__exportStar(require("./GetUserPbxLinkSuggestionV1Command"), exports);
|
|
21
|
+
tslib_1.__exportStar(require("./IntelligenceSearchCommand"), exports);
|
|
19
22
|
tslib_1.__exportStar(require("./ListBotApiKeysCommand"), exports);
|
|
20
23
|
tslib_1.__exportStar(require("./ListBotsCommand"), exports);
|
|
24
|
+
tslib_1.__exportStar(require("./PartialUpdateUserEmailNotificationsSettingsCommand"), exports);
|
|
21
25
|
tslib_1.__exportStar(require("./QueryColleaguesCommand"), exports);
|
|
22
26
|
tslib_1.__exportStar(require("./QueryUserCommand"), exports);
|
|
23
27
|
tslib_1.__exportStar(require("./QueryUsersCommand"), exports);
|
|
28
|
+
tslib_1.__exportStar(require("./ToggleTranscriptionEmailNotificationsSubscriptionCommand"), exports);
|
|
29
|
+
tslib_1.__exportStar(require("./ToggleUnreadEmailNotificationsSubscriptionCommand"), exports);
|
|
24
30
|
tslib_1.__exportStar(require("./UpdateBotCommand"), exports);
|
|
25
31
|
tslib_1.__exportStar(require("./UpdateBotCallbackCommand"), exports);
|
|
32
|
+
tslib_1.__exportStar(require("./UpdateUserEmailNotificationsSettingsCommand"), exports);
|
|
26
33
|
tslib_1.__exportStar(require("./UploadPictureCommand"), exports);
|
|
27
34
|
tslib_1.__exportStar(require("./UploadPictureV1Command"), exports);
|
|
28
35
|
tslib_1.__exportStar(require("./VerifyBotSecretKeyCommand"), exports);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.de_VerifyBotSecretKeyV1Command = exports.de_VerifyBotSecretKeyCommand = void 0;
|
|
3
|
+
exports.de_GetUserPbxLinkSuggestionV1Command = exports.de_GetUserPbxLinkSuggestionCommand = exports.de_GetUserPbxLinkDataCommand = exports.de_GetUserEmailNotificationsSettingsCommand = exports.de_GetUserCommand = exports.de_GetBotCallbackCommand = exports.de_GetBotCommand = exports.de_DeleteBotApiKeyCommand = exports.de_DeleteBotCommand = exports.de_CreateSystemBotCommand = exports.de_CreateBotApiKeyCommand = exports.de_CreateBotCommand = exports.de_ChangeUserEmailCommand = exports.de_BatchGetUsersPbxLinkDataV1Command = exports.de_BatchGetUsersPbxLinkDataCommand = exports.de_BatchGetUsersEmailNotificationsSettingsCommand = exports.de_BatchGetUsersCommand = exports.se_VerifyBotSecretKeyV1Command = exports.se_VerifyBotSecretKeyCommand = exports.se_UploadPictureV1Command = exports.se_UploadPictureCommand = exports.se_UpdateUserEmailNotificationsSettingsCommand = exports.se_UpdateBotCallbackCommand = exports.se_UpdateBotCommand = exports.se_ToggleUnreadEmailNotificationsSubscriptionCommand = exports.se_ToggleTranscriptionEmailNotificationsSubscriptionCommand = exports.se_QueryUsersCommand = exports.se_QueryUserCommand = exports.se_QueryColleaguesCommand = exports.se_PartialUpdateUserEmailNotificationsSettingsCommand = exports.se_ListBotsCommand = exports.se_ListBotApiKeysCommand = exports.se_IntelligenceSearchCommand = exports.se_GetUserPbxLinkSuggestionV1Command = exports.se_GetUserPbxLinkSuggestionCommand = exports.se_GetUserPbxLinkDataCommand = exports.se_GetUserEmailNotificationsSettingsCommand = exports.se_GetUserCommand = exports.se_GetBotCallbackCommand = exports.se_GetBotCommand = exports.se_DeleteBotApiKeyCommand = exports.se_DeleteBotCommand = exports.se_CreateSystemBotCommand = exports.se_CreateBotApiKeyCommand = exports.se_CreateBotCommand = exports.se_ChangeUserEmailCommand = exports.se_BatchGetUsersPbxLinkDataV1Command = exports.se_BatchGetUsersPbxLinkDataCommand = exports.se_BatchGetUsersEmailNotificationsSettingsCommand = exports.se_BatchGetUsersCommand = void 0;
|
|
4
|
+
exports.de_VerifyBotSecretKeyV1Command = exports.de_VerifyBotSecretKeyCommand = exports.de_UploadPictureV1Command = exports.de_UploadPictureCommand = exports.de_UpdateUserEmailNotificationsSettingsCommand = exports.de_UpdateBotCallbackCommand = exports.de_UpdateBotCommand = exports.de_ToggleUnreadEmailNotificationsSubscriptionCommand = exports.de_ToggleTranscriptionEmailNotificationsSubscriptionCommand = exports.de_QueryUsersCommand = exports.de_QueryUserCommand = exports.de_QueryColleaguesCommand = exports.de_PartialUpdateUserEmailNotificationsSettingsCommand = exports.de_ListBotsCommand = exports.de_ListBotApiKeysCommand = exports.de_IntelligenceSearchCommand = void 0;
|
|
5
5
|
const UsersServiceException_1 = require("../models/UsersServiceException");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const core_1 = require("@smithy/core");
|
|
@@ -22,6 +22,22 @@ const se_BatchGetUsersCommand = async (input, context) => {
|
|
|
22
22
|
return b.build();
|
|
23
23
|
};
|
|
24
24
|
exports.se_BatchGetUsersCommand = se_BatchGetUsersCommand;
|
|
25
|
+
const se_BatchGetUsersEmailNotificationsSettingsCommand = async (input, context) => {
|
|
26
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
27
|
+
const headers = {
|
|
28
|
+
'content-type': 'application/json',
|
|
29
|
+
};
|
|
30
|
+
b.bp("/v2/users/batch-get-users-email-notifications-settings");
|
|
31
|
+
let body;
|
|
32
|
+
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
33
|
+
'usersIds': _ => (0, smithy_client_1._json)(_),
|
|
34
|
+
}));
|
|
35
|
+
b.m("POST")
|
|
36
|
+
.h(headers)
|
|
37
|
+
.b(body);
|
|
38
|
+
return b.build();
|
|
39
|
+
};
|
|
40
|
+
exports.se_BatchGetUsersEmailNotificationsSettingsCommand = se_BatchGetUsersEmailNotificationsSettingsCommand;
|
|
25
41
|
const se_BatchGetUsersPbxLinkDataCommand = async (input, context) => {
|
|
26
42
|
const b = (0, core_1.requestBuilder)(input, context);
|
|
27
43
|
const headers = {
|
|
@@ -213,6 +229,18 @@ const se_GetUserCommand = async (input, context) => {
|
|
|
213
229
|
return b.build();
|
|
214
230
|
};
|
|
215
231
|
exports.se_GetUserCommand = se_GetUserCommand;
|
|
232
|
+
const se_GetUserEmailNotificationsSettingsCommand = async (input, context) => {
|
|
233
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
234
|
+
const headers = {};
|
|
235
|
+
b.bp("/v2/users/cloud/{userId}/notifications/email");
|
|
236
|
+
b.p('userId', () => input.userId, '{userId}', false);
|
|
237
|
+
let body;
|
|
238
|
+
b.m("GET")
|
|
239
|
+
.h(headers)
|
|
240
|
+
.b(body);
|
|
241
|
+
return b.build();
|
|
242
|
+
};
|
|
243
|
+
exports.se_GetUserEmailNotificationsSettingsCommand = se_GetUserEmailNotificationsSettingsCommand;
|
|
216
244
|
const se_GetUserPbxLinkDataCommand = async (input, context) => {
|
|
217
245
|
const b = (0, core_1.requestBuilder)(input, context);
|
|
218
246
|
const headers = {};
|
|
@@ -255,6 +283,23 @@ const se_GetUserPbxLinkSuggestionV1Command = async (input, context) => {
|
|
|
255
283
|
return b.build();
|
|
256
284
|
};
|
|
257
285
|
exports.se_GetUserPbxLinkSuggestionV1Command = se_GetUserPbxLinkSuggestionV1Command;
|
|
286
|
+
const se_IntelligenceSearchCommand = async (input, context) => {
|
|
287
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
288
|
+
const headers = {};
|
|
289
|
+
b.bp("/v2/users/intelligence-search");
|
|
290
|
+
const query = (0, smithy_client_1.map)({
|
|
291
|
+
[_c]: [, input[_c]],
|
|
292
|
+
[_s]: [, (0, smithy_client_1.expectNonNull)(input[_s], `search`)],
|
|
293
|
+
[_eE]: [, input[_eE]],
|
|
294
|
+
});
|
|
295
|
+
let body;
|
|
296
|
+
b.m("GET")
|
|
297
|
+
.h(headers)
|
|
298
|
+
.q(query)
|
|
299
|
+
.b(body);
|
|
300
|
+
return b.build();
|
|
301
|
+
};
|
|
302
|
+
exports.se_IntelligenceSearchCommand = se_IntelligenceSearchCommand;
|
|
258
303
|
const se_ListBotApiKeysCommand = async (input, context) => {
|
|
259
304
|
const b = (0, core_1.requestBuilder)(input, context);
|
|
260
305
|
const headers = {};
|
|
@@ -286,6 +331,24 @@ const se_ListBotsCommand = async (input, context) => {
|
|
|
286
331
|
return b.build();
|
|
287
332
|
};
|
|
288
333
|
exports.se_ListBotsCommand = se_ListBotsCommand;
|
|
334
|
+
const se_PartialUpdateUserEmailNotificationsSettingsCommand = async (input, context) => {
|
|
335
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
336
|
+
const headers = {
|
|
337
|
+
'content-type': 'application/json',
|
|
338
|
+
};
|
|
339
|
+
b.bp("/v2/users/cloud/{userId}/notifications/email");
|
|
340
|
+
b.p('userId', () => input.userId, '{userId}', false);
|
|
341
|
+
let body;
|
|
342
|
+
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
343
|
+
'transcription': [],
|
|
344
|
+
'unread': [],
|
|
345
|
+
}));
|
|
346
|
+
b.m("PATCH")
|
|
347
|
+
.h(headers)
|
|
348
|
+
.b(body);
|
|
349
|
+
return b.build();
|
|
350
|
+
};
|
|
351
|
+
exports.se_PartialUpdateUserEmailNotificationsSettingsCommand = se_PartialUpdateUserEmailNotificationsSettingsCommand;
|
|
289
352
|
const se_QueryColleaguesCommand = async (input, context) => {
|
|
290
353
|
const b = (0, core_1.requestBuilder)(input, context);
|
|
291
354
|
const headers = {
|
|
@@ -340,6 +403,40 @@ const se_QueryUsersCommand = async (input, context) => {
|
|
|
340
403
|
return b.build();
|
|
341
404
|
};
|
|
342
405
|
exports.se_QueryUsersCommand = se_QueryUsersCommand;
|
|
406
|
+
const se_ToggleTranscriptionEmailNotificationsSubscriptionCommand = async (input, context) => {
|
|
407
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
408
|
+
const headers = {
|
|
409
|
+
'content-type': 'application/json',
|
|
410
|
+
};
|
|
411
|
+
b.bp("/v2/users/toggle-transcription-email-notifications-subscription");
|
|
412
|
+
let body;
|
|
413
|
+
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
414
|
+
'subscribe': [],
|
|
415
|
+
'unsubscribeToken': [],
|
|
416
|
+
}));
|
|
417
|
+
b.m("POST")
|
|
418
|
+
.h(headers)
|
|
419
|
+
.b(body);
|
|
420
|
+
return b.build();
|
|
421
|
+
};
|
|
422
|
+
exports.se_ToggleTranscriptionEmailNotificationsSubscriptionCommand = se_ToggleTranscriptionEmailNotificationsSubscriptionCommand;
|
|
423
|
+
const se_ToggleUnreadEmailNotificationsSubscriptionCommand = async (input, context) => {
|
|
424
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
425
|
+
const headers = {
|
|
426
|
+
'content-type': 'application/json',
|
|
427
|
+
};
|
|
428
|
+
b.bp("/v2/users/toggle-unread-email-notifications-subscription");
|
|
429
|
+
let body;
|
|
430
|
+
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
431
|
+
'subscribe': [],
|
|
432
|
+
'unsubscribeToken': [],
|
|
433
|
+
}));
|
|
434
|
+
b.m("POST")
|
|
435
|
+
.h(headers)
|
|
436
|
+
.b(body);
|
|
437
|
+
return b.build();
|
|
438
|
+
};
|
|
439
|
+
exports.se_ToggleUnreadEmailNotificationsSubscriptionCommand = se_ToggleUnreadEmailNotificationsSubscriptionCommand;
|
|
343
440
|
const se_UpdateBotCommand = async (input, context) => {
|
|
344
441
|
const b = (0, core_1.requestBuilder)(input, context);
|
|
345
442
|
const headers = {
|
|
@@ -384,6 +481,24 @@ const se_UpdateBotCallbackCommand = async (input, context) => {
|
|
|
384
481
|
return b.build();
|
|
385
482
|
};
|
|
386
483
|
exports.se_UpdateBotCallbackCommand = se_UpdateBotCallbackCommand;
|
|
484
|
+
const se_UpdateUserEmailNotificationsSettingsCommand = async (input, context) => {
|
|
485
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
486
|
+
const headers = {
|
|
487
|
+
'content-type': 'application/json',
|
|
488
|
+
};
|
|
489
|
+
b.bp("/v2/users/cloud/{userId}/notifications/email");
|
|
490
|
+
b.p('userId', () => input.userId, '{userId}', false);
|
|
491
|
+
let body;
|
|
492
|
+
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
493
|
+
'transcription': [],
|
|
494
|
+
'unread': [],
|
|
495
|
+
}));
|
|
496
|
+
b.m("POST")
|
|
497
|
+
.h(headers)
|
|
498
|
+
.b(body);
|
|
499
|
+
return b.build();
|
|
500
|
+
};
|
|
501
|
+
exports.se_UpdateUserEmailNotificationsSettingsCommand = se_UpdateUserEmailNotificationsSettingsCommand;
|
|
387
502
|
const se_UploadPictureCommand = async (input, context) => {
|
|
388
503
|
const b = (0, core_1.requestBuilder)(input, context);
|
|
389
504
|
const headers = {
|
|
@@ -463,6 +578,21 @@ const de_BatchGetUsersCommand = async (output, context) => {
|
|
|
463
578
|
return contents;
|
|
464
579
|
};
|
|
465
580
|
exports.de_BatchGetUsersCommand = de_BatchGetUsersCommand;
|
|
581
|
+
const de_BatchGetUsersEmailNotificationsSettingsCommand = async (output, context) => {
|
|
582
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
583
|
+
return de_CommandError(output, context);
|
|
584
|
+
}
|
|
585
|
+
const contents = (0, smithy_client_1.map)({
|
|
586
|
+
$metadata: deserializeMetadata(output),
|
|
587
|
+
});
|
|
588
|
+
const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await parseBody(output.body, context))), "body");
|
|
589
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
590
|
+
'notifications': smithy_client_1._json,
|
|
591
|
+
});
|
|
592
|
+
Object.assign(contents, doc);
|
|
593
|
+
return contents;
|
|
594
|
+
};
|
|
595
|
+
exports.de_BatchGetUsersEmailNotificationsSettingsCommand = de_BatchGetUsersEmailNotificationsSettingsCommand;
|
|
466
596
|
const de_BatchGetUsersPbxLinkDataCommand = async (output, context) => {
|
|
467
597
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
468
598
|
return de_CommandError(output, context);
|
|
@@ -621,6 +751,21 @@ const de_GetUserCommand = async (output, context) => {
|
|
|
621
751
|
return contents;
|
|
622
752
|
};
|
|
623
753
|
exports.de_GetUserCommand = de_GetUserCommand;
|
|
754
|
+
const de_GetUserEmailNotificationsSettingsCommand = async (output, context) => {
|
|
755
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
756
|
+
return de_CommandError(output, context);
|
|
757
|
+
}
|
|
758
|
+
const contents = (0, smithy_client_1.map)({
|
|
759
|
+
$metadata: deserializeMetadata(output),
|
|
760
|
+
});
|
|
761
|
+
const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await parseBody(output.body, context))), "body");
|
|
762
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
763
|
+
'notifications': smithy_client_1._json,
|
|
764
|
+
});
|
|
765
|
+
Object.assign(contents, doc);
|
|
766
|
+
return contents;
|
|
767
|
+
};
|
|
768
|
+
exports.de_GetUserEmailNotificationsSettingsCommand = de_GetUserEmailNotificationsSettingsCommand;
|
|
624
769
|
const de_GetUserPbxLinkDataCommand = async (output, context) => {
|
|
625
770
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
626
771
|
return de_CommandError(output, context);
|
|
@@ -666,6 +811,21 @@ const de_GetUserPbxLinkSuggestionV1Command = async (output, context) => {
|
|
|
666
811
|
return contents;
|
|
667
812
|
};
|
|
668
813
|
exports.de_GetUserPbxLinkSuggestionV1Command = de_GetUserPbxLinkSuggestionV1Command;
|
|
814
|
+
const de_IntelligenceSearchCommand = async (output, context) => {
|
|
815
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
816
|
+
return de_CommandError(output, context);
|
|
817
|
+
}
|
|
818
|
+
const contents = (0, smithy_client_1.map)({
|
|
819
|
+
$metadata: deserializeMetadata(output),
|
|
820
|
+
});
|
|
821
|
+
const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await parseBody(output.body, context))), "body");
|
|
822
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
823
|
+
'items': smithy_client_1._json,
|
|
824
|
+
});
|
|
825
|
+
Object.assign(contents, doc);
|
|
826
|
+
return contents;
|
|
827
|
+
};
|
|
828
|
+
exports.de_IntelligenceSearchCommand = de_IntelligenceSearchCommand;
|
|
669
829
|
const de_ListBotApiKeysCommand = async (output, context) => {
|
|
670
830
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
671
831
|
return de_CommandError(output, context);
|
|
@@ -696,6 +856,21 @@ const de_ListBotsCommand = async (output, context) => {
|
|
|
696
856
|
return contents;
|
|
697
857
|
};
|
|
698
858
|
exports.de_ListBotsCommand = de_ListBotsCommand;
|
|
859
|
+
const de_PartialUpdateUserEmailNotificationsSettingsCommand = async (output, context) => {
|
|
860
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
861
|
+
return de_CommandError(output, context);
|
|
862
|
+
}
|
|
863
|
+
const contents = (0, smithy_client_1.map)({
|
|
864
|
+
$metadata: deserializeMetadata(output),
|
|
865
|
+
});
|
|
866
|
+
const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await parseBody(output.body, context))), "body");
|
|
867
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
868
|
+
'notifications': smithy_client_1._json,
|
|
869
|
+
});
|
|
870
|
+
Object.assign(contents, doc);
|
|
871
|
+
return contents;
|
|
872
|
+
};
|
|
873
|
+
exports.de_PartialUpdateUserEmailNotificationsSettingsCommand = de_PartialUpdateUserEmailNotificationsSettingsCommand;
|
|
699
874
|
const de_QueryColleaguesCommand = async (output, context) => {
|
|
700
875
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
701
876
|
return de_CommandError(output, context);
|
|
@@ -741,6 +916,28 @@ const de_QueryUsersCommand = async (output, context) => {
|
|
|
741
916
|
return contents;
|
|
742
917
|
};
|
|
743
918
|
exports.de_QueryUsersCommand = de_QueryUsersCommand;
|
|
919
|
+
const de_ToggleTranscriptionEmailNotificationsSubscriptionCommand = async (output, context) => {
|
|
920
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
921
|
+
return de_CommandError(output, context);
|
|
922
|
+
}
|
|
923
|
+
const contents = (0, smithy_client_1.map)({
|
|
924
|
+
$metadata: deserializeMetadata(output),
|
|
925
|
+
});
|
|
926
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
927
|
+
return contents;
|
|
928
|
+
};
|
|
929
|
+
exports.de_ToggleTranscriptionEmailNotificationsSubscriptionCommand = de_ToggleTranscriptionEmailNotificationsSubscriptionCommand;
|
|
930
|
+
const de_ToggleUnreadEmailNotificationsSubscriptionCommand = async (output, context) => {
|
|
931
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
932
|
+
return de_CommandError(output, context);
|
|
933
|
+
}
|
|
934
|
+
const contents = (0, smithy_client_1.map)({
|
|
935
|
+
$metadata: deserializeMetadata(output),
|
|
936
|
+
});
|
|
937
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
938
|
+
return contents;
|
|
939
|
+
};
|
|
940
|
+
exports.de_ToggleUnreadEmailNotificationsSubscriptionCommand = de_ToggleUnreadEmailNotificationsSubscriptionCommand;
|
|
744
941
|
const de_UpdateBotCommand = async (output, context) => {
|
|
745
942
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
746
943
|
return de_CommandError(output, context);
|
|
@@ -771,6 +968,21 @@ const de_UpdateBotCallbackCommand = async (output, context) => {
|
|
|
771
968
|
return contents;
|
|
772
969
|
};
|
|
773
970
|
exports.de_UpdateBotCallbackCommand = de_UpdateBotCallbackCommand;
|
|
971
|
+
const de_UpdateUserEmailNotificationsSettingsCommand = async (output, context) => {
|
|
972
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
973
|
+
return de_CommandError(output, context);
|
|
974
|
+
}
|
|
975
|
+
const contents = (0, smithy_client_1.map)({
|
|
976
|
+
$metadata: deserializeMetadata(output),
|
|
977
|
+
});
|
|
978
|
+
const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await parseBody(output.body, context))), "body");
|
|
979
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
980
|
+
'notifications': smithy_client_1._json,
|
|
981
|
+
});
|
|
982
|
+
Object.assign(contents, doc);
|
|
983
|
+
return contents;
|
|
984
|
+
};
|
|
985
|
+
exports.de_UpdateUserEmailNotificationsSettingsCommand = de_UpdateUserEmailNotificationsSettingsCommand;
|
|
774
986
|
const de_UploadPictureCommand = async (output, context) => {
|
|
775
987
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
776
988
|
return de_CommandError(output, context);
|
|
@@ -1177,6 +1389,8 @@ const isSerializableHeaderValue = (value) => value !== undefined &&
|
|
|
1177
1389
|
(!Object.getOwnPropertyNames(value).includes("size") || value.size != 0);
|
|
1178
1390
|
const _c = "company";
|
|
1179
1391
|
const _e = "email";
|
|
1392
|
+
const _eE = "excludeExtension";
|
|
1393
|
+
const _s = "search";
|
|
1180
1394
|
const parseBody = (streamBody, context) => collectBodyString(streamBody, context).then(encoded => {
|
|
1181
1395
|
if (encoded.length) {
|
|
1182
1396
|
return JSON.parse(encoded);
|
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,16 +12,22 @@ 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";
|
|
19
|
+
import { IntelligenceSearchCommand, } from "./commands/IntelligenceSearchCommand";
|
|
17
20
|
import { ListBotApiKeysCommand, } from "./commands/ListBotApiKeysCommand";
|
|
18
21
|
import { ListBotsCommand, } from "./commands/ListBotsCommand";
|
|
22
|
+
import { PartialUpdateUserEmailNotificationsSettingsCommand, } from "./commands/PartialUpdateUserEmailNotificationsSettingsCommand";
|
|
19
23
|
import { QueryColleaguesCommand, } from "./commands/QueryColleaguesCommand";
|
|
20
24
|
import { QueryUserCommand, } from "./commands/QueryUserCommand";
|
|
21
25
|
import { QueryUsersCommand, } from "./commands/QueryUsersCommand";
|
|
26
|
+
import { ToggleTranscriptionEmailNotificationsSubscriptionCommand, } from "./commands/ToggleTranscriptionEmailNotificationsSubscriptionCommand";
|
|
27
|
+
import { ToggleUnreadEmailNotificationsSubscriptionCommand, } from "./commands/ToggleUnreadEmailNotificationsSubscriptionCommand";
|
|
22
28
|
import { UpdateBotCallbackCommand, } from "./commands/UpdateBotCallbackCommand";
|
|
23
29
|
import { UpdateBotCommand, } from "./commands/UpdateBotCommand";
|
|
30
|
+
import { UpdateUserEmailNotificationsSettingsCommand, } from "./commands/UpdateUserEmailNotificationsSettingsCommand";
|
|
24
31
|
import { UploadPictureCommand, } from "./commands/UploadPictureCommand";
|
|
25
32
|
import { UploadPictureV1Command, } from "./commands/UploadPictureV1Command";
|
|
26
33
|
import { VerifyBotSecretKeyCommand, } from "./commands/VerifyBotSecretKeyCommand";
|
|
@@ -28,6 +35,7 @@ import { VerifyBotSecretKeyV1Command, } from "./commands/VerifyBotSecretKeyV1Com
|
|
|
28
35
|
import { createAggregatedClient } from "@smithy/smithy-client";
|
|
29
36
|
const commands = {
|
|
30
37
|
BatchGetUsersCommand,
|
|
38
|
+
BatchGetUsersEmailNotificationsSettingsCommand,
|
|
31
39
|
BatchGetUsersPbxLinkDataCommand,
|
|
32
40
|
BatchGetUsersPbxLinkDataV1Command,
|
|
33
41
|
ChangeUserEmailCommand,
|
|
@@ -39,16 +47,22 @@ const commands = {
|
|
|
39
47
|
GetBotCommand,
|
|
40
48
|
GetBotCallbackCommand,
|
|
41
49
|
GetUserCommand,
|
|
50
|
+
GetUserEmailNotificationsSettingsCommand,
|
|
42
51
|
GetUserPbxLinkDataCommand,
|
|
43
52
|
GetUserPbxLinkSuggestionCommand,
|
|
44
53
|
GetUserPbxLinkSuggestionV1Command,
|
|
54
|
+
IntelligenceSearchCommand,
|
|
45
55
|
ListBotApiKeysCommand,
|
|
46
56
|
ListBotsCommand,
|
|
57
|
+
PartialUpdateUserEmailNotificationsSettingsCommand,
|
|
47
58
|
QueryColleaguesCommand,
|
|
48
59
|
QueryUserCommand,
|
|
49
60
|
QueryUsersCommand,
|
|
61
|
+
ToggleTranscriptionEmailNotificationsSubscriptionCommand,
|
|
62
|
+
ToggleUnreadEmailNotificationsSubscriptionCommand,
|
|
50
63
|
UpdateBotCommand,
|
|
51
64
|
UpdateBotCallbackCommand,
|
|
65
|
+
UpdateUserEmailNotificationsSettingsCommand,
|
|
52
66
|
UploadPictureCommand,
|
|
53
67
|
UploadPictureV1Command,
|
|
54
68
|
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
|
+
}
|