@wildix/xbees-users-client 1.0.29 → 1.0.31
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 +4 -4
- package/dist-cjs/commands/ToggleTranscriptionEmailNotificationsSubscriptionCommand.js +21 -0
- package/dist-cjs/commands/ToggleUnreadEmailNotificationsSubscriptionCommand.js +21 -0
- package/dist-cjs/commands/index.js +2 -2
- package/dist-cjs/protocols/Aws_restJson1.js +14 -12
- package/dist-es/Users.js +4 -4
- package/dist-es/commands/ToggleTranscriptionEmailNotificationsSubscriptionCommand.js +17 -0
- package/dist-es/commands/ToggleUnreadEmailNotificationsSubscriptionCommand.js +17 -0
- package/dist-es/commands/index.js +2 -2
- package/dist-es/protocols/Aws_restJson1.js +8 -6
- package/dist-types/Users.d.ts +10 -10
- package/dist-types/UsersClient.d.ts +4 -4
- package/dist-types/commands/ToggleTranscriptionEmailNotificationsSubscriptionCommand.d.ts +63 -0
- package/dist-types/commands/ToggleUnreadEmailNotificationsSubscriptionCommand.d.ts +63 -0
- package/dist-types/commands/index.d.ts +2 -2
- package/dist-types/models/models_0.d.ts +14 -4
- package/dist-types/protocols/Aws_restJson1.d.ts +10 -10
- package/package.json +6 -6
- package/dist-cjs/commands/UnsubscribeFromTranscriptionEmailNotificationsCommand.js +0 -21
- package/dist-cjs/commands/UnsubscribeFromUnreadEmailNotificationsCommand.js +0 -21
- package/dist-es/commands/UnsubscribeFromTranscriptionEmailNotificationsCommand.js +0 -17
- package/dist-es/commands/UnsubscribeFromUnreadEmailNotificationsCommand.js +0 -17
- package/dist-types/commands/UnsubscribeFromTranscriptionEmailNotificationsCommand.d.ts +0 -62
- package/dist-types/commands/UnsubscribeFromUnreadEmailNotificationsCommand.d.ts +0 -62
package/dist-cjs/Users.js
CHANGED
|
@@ -25,8 +25,8 @@ const PartialUpdateUserEmailNotificationsSettingsCommand_1 = require("./commands
|
|
|
25
25
|
const QueryColleaguesCommand_1 = require("./commands/QueryColleaguesCommand");
|
|
26
26
|
const QueryUserCommand_1 = require("./commands/QueryUserCommand");
|
|
27
27
|
const QueryUsersCommand_1 = require("./commands/QueryUsersCommand");
|
|
28
|
-
const
|
|
29
|
-
const
|
|
28
|
+
const ToggleTranscriptionEmailNotificationsSubscriptionCommand_1 = require("./commands/ToggleTranscriptionEmailNotificationsSubscriptionCommand");
|
|
29
|
+
const ToggleUnreadEmailNotificationsSubscriptionCommand_1 = require("./commands/ToggleUnreadEmailNotificationsSubscriptionCommand");
|
|
30
30
|
const UpdateBotCallbackCommand_1 = require("./commands/UpdateBotCallbackCommand");
|
|
31
31
|
const UpdateBotCommand_1 = require("./commands/UpdateBotCommand");
|
|
32
32
|
const UpdateUserEmailNotificationsSettingsCommand_1 = require("./commands/UpdateUserEmailNotificationsSettingsCommand");
|
|
@@ -59,8 +59,8 @@ const commands = {
|
|
|
59
59
|
QueryColleaguesCommand: QueryColleaguesCommand_1.QueryColleaguesCommand,
|
|
60
60
|
QueryUserCommand: QueryUserCommand_1.QueryUserCommand,
|
|
61
61
|
QueryUsersCommand: QueryUsersCommand_1.QueryUsersCommand,
|
|
62
|
-
|
|
63
|
-
|
|
62
|
+
ToggleTranscriptionEmailNotificationsSubscriptionCommand: ToggleTranscriptionEmailNotificationsSubscriptionCommand_1.ToggleTranscriptionEmailNotificationsSubscriptionCommand,
|
|
63
|
+
ToggleUnreadEmailNotificationsSubscriptionCommand: ToggleUnreadEmailNotificationsSubscriptionCommand_1.ToggleUnreadEmailNotificationsSubscriptionCommand,
|
|
64
64
|
UpdateBotCommand: UpdateBotCommand_1.UpdateBotCommand,
|
|
65
65
|
UpdateBotCallbackCommand: UpdateBotCallbackCommand_1.UpdateBotCallbackCommand,
|
|
66
66
|
UpdateUserEmailNotificationsSettingsCommand: UpdateUserEmailNotificationsSettingsCommand_1.UpdateUserEmailNotificationsSettingsCommand,
|
|
@@ -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;
|
|
@@ -24,8 +24,8 @@ tslib_1.__exportStar(require("./PartialUpdateUserEmailNotificationsSettingsComma
|
|
|
24
24
|
tslib_1.__exportStar(require("./QueryColleaguesCommand"), exports);
|
|
25
25
|
tslib_1.__exportStar(require("./QueryUserCommand"), exports);
|
|
26
26
|
tslib_1.__exportStar(require("./QueryUsersCommand"), exports);
|
|
27
|
-
tslib_1.__exportStar(require("./
|
|
28
|
-
tslib_1.__exportStar(require("./
|
|
27
|
+
tslib_1.__exportStar(require("./ToggleTranscriptionEmailNotificationsSubscriptionCommand"), exports);
|
|
28
|
+
tslib_1.__exportStar(require("./ToggleUnreadEmailNotificationsSubscriptionCommand"), exports);
|
|
29
29
|
tslib_1.__exportStar(require("./UpdateBotCommand"), exports);
|
|
30
30
|
tslib_1.__exportStar(require("./UpdateBotCallbackCommand"), exports);
|
|
31
31
|
tslib_1.__exportStar(require("./UpdateUserEmailNotificationsSettingsCommand"), exports);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.de_ListBotApiKeysCommand = 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.
|
|
4
|
-
exports.de_VerifyBotSecretKeyV1Command = exports.de_VerifyBotSecretKeyCommand = exports.de_UploadPictureV1Command = exports.de_UploadPictureCommand = exports.de_UpdateUserEmailNotificationsSettingsCommand = exports.de_UpdateBotCallbackCommand = exports.de_UpdateBotCommand = exports.
|
|
3
|
+
exports.de_ListBotApiKeysCommand = 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_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 = 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");
|
|
@@ -386,14 +386,15 @@ const se_QueryUsersCommand = async (input, context) => {
|
|
|
386
386
|
return b.build();
|
|
387
387
|
};
|
|
388
388
|
exports.se_QueryUsersCommand = se_QueryUsersCommand;
|
|
389
|
-
const
|
|
389
|
+
const se_ToggleTranscriptionEmailNotificationsSubscriptionCommand = async (input, context) => {
|
|
390
390
|
const b = (0, core_1.requestBuilder)(input, context);
|
|
391
391
|
const headers = {
|
|
392
392
|
'content-type': 'application/json',
|
|
393
393
|
};
|
|
394
|
-
b.bp("/v2/users/
|
|
394
|
+
b.bp("/v2/users/Toggle-transcription-email-notifications-subscription");
|
|
395
395
|
let body;
|
|
396
396
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
397
|
+
'subscribe': [],
|
|
397
398
|
'unsubscribeToken': [],
|
|
398
399
|
}));
|
|
399
400
|
b.m("POST")
|
|
@@ -401,15 +402,16 @@ const se_UnsubscribeFromTranscriptionEmailNotificationsCommand = async (input, c
|
|
|
401
402
|
.b(body);
|
|
402
403
|
return b.build();
|
|
403
404
|
};
|
|
404
|
-
exports.
|
|
405
|
-
const
|
|
405
|
+
exports.se_ToggleTranscriptionEmailNotificationsSubscriptionCommand = se_ToggleTranscriptionEmailNotificationsSubscriptionCommand;
|
|
406
|
+
const se_ToggleUnreadEmailNotificationsSubscriptionCommand = async (input, context) => {
|
|
406
407
|
const b = (0, core_1.requestBuilder)(input, context);
|
|
407
408
|
const headers = {
|
|
408
409
|
'content-type': 'application/json',
|
|
409
410
|
};
|
|
410
|
-
b.bp("/v2/users/
|
|
411
|
+
b.bp("/v2/users/Toggle-unread-email-notifications-subscription");
|
|
411
412
|
let body;
|
|
412
413
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
414
|
+
'subscribe': [],
|
|
413
415
|
'unsubscribeToken': [],
|
|
414
416
|
}));
|
|
415
417
|
b.m("POST")
|
|
@@ -417,7 +419,7 @@ const se_UnsubscribeFromUnreadEmailNotificationsCommand = async (input, context)
|
|
|
417
419
|
.b(body);
|
|
418
420
|
return b.build();
|
|
419
421
|
};
|
|
420
|
-
exports.
|
|
422
|
+
exports.se_ToggleUnreadEmailNotificationsSubscriptionCommand = se_ToggleUnreadEmailNotificationsSubscriptionCommand;
|
|
421
423
|
const se_UpdateBotCommand = async (input, context) => {
|
|
422
424
|
const b = (0, core_1.requestBuilder)(input, context);
|
|
423
425
|
const headers = {
|
|
@@ -882,7 +884,7 @@ const de_QueryUsersCommand = async (output, context) => {
|
|
|
882
884
|
return contents;
|
|
883
885
|
};
|
|
884
886
|
exports.de_QueryUsersCommand = de_QueryUsersCommand;
|
|
885
|
-
const
|
|
887
|
+
const de_ToggleTranscriptionEmailNotificationsSubscriptionCommand = async (output, context) => {
|
|
886
888
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
887
889
|
return de_CommandError(output, context);
|
|
888
890
|
}
|
|
@@ -892,8 +894,8 @@ const de_UnsubscribeFromTranscriptionEmailNotificationsCommand = async (output,
|
|
|
892
894
|
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
893
895
|
return contents;
|
|
894
896
|
};
|
|
895
|
-
exports.
|
|
896
|
-
const
|
|
897
|
+
exports.de_ToggleTranscriptionEmailNotificationsSubscriptionCommand = de_ToggleTranscriptionEmailNotificationsSubscriptionCommand;
|
|
898
|
+
const de_ToggleUnreadEmailNotificationsSubscriptionCommand = async (output, context) => {
|
|
897
899
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
898
900
|
return de_CommandError(output, context);
|
|
899
901
|
}
|
|
@@ -903,7 +905,7 @@ const de_UnsubscribeFromUnreadEmailNotificationsCommand = async (output, context
|
|
|
903
905
|
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
904
906
|
return contents;
|
|
905
907
|
};
|
|
906
|
-
exports.
|
|
908
|
+
exports.de_ToggleUnreadEmailNotificationsSubscriptionCommand = de_ToggleUnreadEmailNotificationsSubscriptionCommand;
|
|
907
909
|
const de_UpdateBotCommand = async (output, context) => {
|
|
908
910
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
909
911
|
return de_CommandError(output, context);
|
package/dist-es/Users.js
CHANGED
|
@@ -22,8 +22,8 @@ import { PartialUpdateUserEmailNotificationsSettingsCommand, } from "./commands/
|
|
|
22
22
|
import { QueryColleaguesCommand, } from "./commands/QueryColleaguesCommand";
|
|
23
23
|
import { QueryUserCommand, } from "./commands/QueryUserCommand";
|
|
24
24
|
import { QueryUsersCommand, } from "./commands/QueryUsersCommand";
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
25
|
+
import { ToggleTranscriptionEmailNotificationsSubscriptionCommand, } from "./commands/ToggleTranscriptionEmailNotificationsSubscriptionCommand";
|
|
26
|
+
import { ToggleUnreadEmailNotificationsSubscriptionCommand, } from "./commands/ToggleUnreadEmailNotificationsSubscriptionCommand";
|
|
27
27
|
import { UpdateBotCallbackCommand, } from "./commands/UpdateBotCallbackCommand";
|
|
28
28
|
import { UpdateBotCommand, } from "./commands/UpdateBotCommand";
|
|
29
29
|
import { UpdateUserEmailNotificationsSettingsCommand, } from "./commands/UpdateUserEmailNotificationsSettingsCommand";
|
|
@@ -56,8 +56,8 @@ const commands = {
|
|
|
56
56
|
QueryColleaguesCommand,
|
|
57
57
|
QueryUserCommand,
|
|
58
58
|
QueryUsersCommand,
|
|
59
|
-
|
|
60
|
-
|
|
59
|
+
ToggleTranscriptionEmailNotificationsSubscriptionCommand,
|
|
60
|
+
ToggleUnreadEmailNotificationsSubscriptionCommand,
|
|
61
61
|
UpdateBotCommand,
|
|
62
62
|
UpdateBotCallbackCommand,
|
|
63
63
|
UpdateUserEmailNotificationsSettingsCommand,
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { de_ToggleTranscriptionEmailNotificationsSubscriptionCommand, se_ToggleTranscriptionEmailNotificationsSubscriptionCommand, } 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 ToggleTranscriptionEmailNotificationsSubscriptionCommand extends $Command.classBuilder()
|
|
6
|
+
.m(function (Command, cs, config, o) {
|
|
7
|
+
return [
|
|
8
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
9
|
+
];
|
|
10
|
+
})
|
|
11
|
+
.s("Users", "ToggleTranscriptionEmailNotificationsSubscription", {})
|
|
12
|
+
.n("UsersClient", "ToggleTranscriptionEmailNotificationsSubscriptionCommand")
|
|
13
|
+
.f(void 0, void 0)
|
|
14
|
+
.ser(se_ToggleTranscriptionEmailNotificationsSubscriptionCommand)
|
|
15
|
+
.de(de_ToggleTranscriptionEmailNotificationsSubscriptionCommand)
|
|
16
|
+
.build() {
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { de_ToggleUnreadEmailNotificationsSubscriptionCommand, se_ToggleUnreadEmailNotificationsSubscriptionCommand, } 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 ToggleUnreadEmailNotificationsSubscriptionCommand extends $Command.classBuilder()
|
|
6
|
+
.m(function (Command, cs, config, o) {
|
|
7
|
+
return [
|
|
8
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
9
|
+
];
|
|
10
|
+
})
|
|
11
|
+
.s("Users", "ToggleUnreadEmailNotificationsSubscription", {})
|
|
12
|
+
.n("UsersClient", "ToggleUnreadEmailNotificationsSubscriptionCommand")
|
|
13
|
+
.f(void 0, void 0)
|
|
14
|
+
.ser(se_ToggleUnreadEmailNotificationsSubscriptionCommand)
|
|
15
|
+
.de(de_ToggleUnreadEmailNotificationsSubscriptionCommand)
|
|
16
|
+
.build() {
|
|
17
|
+
}
|
|
@@ -21,8 +21,8 @@ export * from "./PartialUpdateUserEmailNotificationsSettingsCommand";
|
|
|
21
21
|
export * from "./QueryColleaguesCommand";
|
|
22
22
|
export * from "./QueryUserCommand";
|
|
23
23
|
export * from "./QueryUsersCommand";
|
|
24
|
-
export * from "./
|
|
25
|
-
export * from "./
|
|
24
|
+
export * from "./ToggleTranscriptionEmailNotificationsSubscriptionCommand";
|
|
25
|
+
export * from "./ToggleUnreadEmailNotificationsSubscriptionCommand";
|
|
26
26
|
export * from "./UpdateBotCommand";
|
|
27
27
|
export * from "./UpdateBotCallbackCommand";
|
|
28
28
|
export * from "./UpdateUserEmailNotificationsSettingsCommand";
|
|
@@ -359,14 +359,15 @@ export const se_QueryUsersCommand = async (input, context) => {
|
|
|
359
359
|
.b(body);
|
|
360
360
|
return b.build();
|
|
361
361
|
};
|
|
362
|
-
export const
|
|
362
|
+
export const se_ToggleTranscriptionEmailNotificationsSubscriptionCommand = async (input, context) => {
|
|
363
363
|
const b = rb(input, context);
|
|
364
364
|
const headers = {
|
|
365
365
|
'content-type': 'application/json',
|
|
366
366
|
};
|
|
367
|
-
b.bp("/v2/users/
|
|
367
|
+
b.bp("/v2/users/Toggle-transcription-email-notifications-subscription");
|
|
368
368
|
let body;
|
|
369
369
|
body = JSON.stringify(take(input, {
|
|
370
|
+
'subscribe': [],
|
|
370
371
|
'unsubscribeToken': [],
|
|
371
372
|
}));
|
|
372
373
|
b.m("POST")
|
|
@@ -374,14 +375,15 @@ export const se_UnsubscribeFromTranscriptionEmailNotificationsCommand = async (i
|
|
|
374
375
|
.b(body);
|
|
375
376
|
return b.build();
|
|
376
377
|
};
|
|
377
|
-
export const
|
|
378
|
+
export const se_ToggleUnreadEmailNotificationsSubscriptionCommand = async (input, context) => {
|
|
378
379
|
const b = rb(input, context);
|
|
379
380
|
const headers = {
|
|
380
381
|
'content-type': 'application/json',
|
|
381
382
|
};
|
|
382
|
-
b.bp("/v2/users/
|
|
383
|
+
b.bp("/v2/users/Toggle-unread-email-notifications-subscription");
|
|
383
384
|
let body;
|
|
384
385
|
body = JSON.stringify(take(input, {
|
|
386
|
+
'subscribe': [],
|
|
385
387
|
'unsubscribeToken': [],
|
|
386
388
|
}));
|
|
387
389
|
b.m("POST")
|
|
@@ -823,7 +825,7 @@ export const de_QueryUsersCommand = async (output, context) => {
|
|
|
823
825
|
Object.assign(contents, doc);
|
|
824
826
|
return contents;
|
|
825
827
|
};
|
|
826
|
-
export const
|
|
828
|
+
export const de_ToggleTranscriptionEmailNotificationsSubscriptionCommand = async (output, context) => {
|
|
827
829
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
828
830
|
return de_CommandError(output, context);
|
|
829
831
|
}
|
|
@@ -833,7 +835,7 @@ export const de_UnsubscribeFromTranscriptionEmailNotificationsCommand = async (o
|
|
|
833
835
|
await collectBody(output.body, context);
|
|
834
836
|
return contents;
|
|
835
837
|
};
|
|
836
|
-
export const
|
|
838
|
+
export const de_ToggleUnreadEmailNotificationsSubscriptionCommand = async (output, context) => {
|
|
837
839
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
838
840
|
return de_CommandError(output, context);
|
|
839
841
|
}
|
package/dist-types/Users.d.ts
CHANGED
|
@@ -22,8 +22,8 @@ import { PartialUpdateUserEmailNotificationsSettingsCommandInput, PartialUpdateU
|
|
|
22
22
|
import { QueryColleaguesCommandInput, QueryColleaguesCommandOutput } from "./commands/QueryColleaguesCommand";
|
|
23
23
|
import { QueryUserCommandInput, QueryUserCommandOutput } from "./commands/QueryUserCommand";
|
|
24
24
|
import { QueryUsersCommandInput, QueryUsersCommandOutput } from "./commands/QueryUsersCommand";
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
25
|
+
import { ToggleTranscriptionEmailNotificationsSubscriptionCommandInput, ToggleTranscriptionEmailNotificationsSubscriptionCommandOutput } from "./commands/ToggleTranscriptionEmailNotificationsSubscriptionCommand";
|
|
26
|
+
import { ToggleUnreadEmailNotificationsSubscriptionCommandInput, ToggleUnreadEmailNotificationsSubscriptionCommandOutput } from "./commands/ToggleUnreadEmailNotificationsSubscriptionCommand";
|
|
27
27
|
import { UpdateBotCallbackCommandInput, UpdateBotCallbackCommandOutput } from "./commands/UpdateBotCallbackCommand";
|
|
28
28
|
import { UpdateBotCommandInput, UpdateBotCommandOutput } from "./commands/UpdateBotCommand";
|
|
29
29
|
import { UpdateUserEmailNotificationsSettingsCommandInput, UpdateUserEmailNotificationsSettingsCommandOutput } from "./commands/UpdateUserEmailNotificationsSettingsCommand";
|
|
@@ -176,17 +176,17 @@ export interface Users {
|
|
|
176
176
|
queryUsers(args: QueryUsersCommandInput, cb: (err: any, data?: QueryUsersCommandOutput) => void): void;
|
|
177
177
|
queryUsers(args: QueryUsersCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: QueryUsersCommandOutput) => void): void;
|
|
178
178
|
/**
|
|
179
|
-
* @see {@link
|
|
179
|
+
* @see {@link ToggleTranscriptionEmailNotificationsSubscriptionCommand}
|
|
180
180
|
*/
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
181
|
+
toggleTranscriptionEmailNotificationsSubscription(args: ToggleTranscriptionEmailNotificationsSubscriptionCommandInput, options?: __HttpHandlerOptions): Promise<ToggleTranscriptionEmailNotificationsSubscriptionCommandOutput>;
|
|
182
|
+
toggleTranscriptionEmailNotificationsSubscription(args: ToggleTranscriptionEmailNotificationsSubscriptionCommandInput, cb: (err: any, data?: ToggleTranscriptionEmailNotificationsSubscriptionCommandOutput) => void): void;
|
|
183
|
+
toggleTranscriptionEmailNotificationsSubscription(args: ToggleTranscriptionEmailNotificationsSubscriptionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ToggleTranscriptionEmailNotificationsSubscriptionCommandOutput) => void): void;
|
|
184
184
|
/**
|
|
185
|
-
* @see {@link
|
|
185
|
+
* @see {@link ToggleUnreadEmailNotificationsSubscriptionCommand}
|
|
186
186
|
*/
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
187
|
+
toggleUnreadEmailNotificationsSubscription(args: ToggleUnreadEmailNotificationsSubscriptionCommandInput, options?: __HttpHandlerOptions): Promise<ToggleUnreadEmailNotificationsSubscriptionCommandOutput>;
|
|
188
|
+
toggleUnreadEmailNotificationsSubscription(args: ToggleUnreadEmailNotificationsSubscriptionCommandInput, cb: (err: any, data?: ToggleUnreadEmailNotificationsSubscriptionCommandOutput) => void): void;
|
|
189
|
+
toggleUnreadEmailNotificationsSubscription(args: ToggleUnreadEmailNotificationsSubscriptionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ToggleUnreadEmailNotificationsSubscriptionCommandOutput) => void): void;
|
|
190
190
|
/**
|
|
191
191
|
* @see {@link UpdateBotCommand}
|
|
192
192
|
*/
|
|
@@ -21,8 +21,8 @@ import { PartialUpdateUserEmailNotificationsSettingsCommandInput, PartialUpdateU
|
|
|
21
21
|
import { QueryColleaguesCommandInput, QueryColleaguesCommandOutput } from "./commands/QueryColleaguesCommand";
|
|
22
22
|
import { QueryUserCommandInput, QueryUserCommandOutput } from "./commands/QueryUserCommand";
|
|
23
23
|
import { QueryUsersCommandInput, QueryUsersCommandOutput } from "./commands/QueryUsersCommand";
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
24
|
+
import { ToggleTranscriptionEmailNotificationsSubscriptionCommandInput, ToggleTranscriptionEmailNotificationsSubscriptionCommandOutput } from "./commands/ToggleTranscriptionEmailNotificationsSubscriptionCommand";
|
|
25
|
+
import { ToggleUnreadEmailNotificationsSubscriptionCommandInput, ToggleUnreadEmailNotificationsSubscriptionCommandOutput } from "./commands/ToggleUnreadEmailNotificationsSubscriptionCommand";
|
|
26
26
|
import { UpdateBotCallbackCommandInput, UpdateBotCallbackCommandOutput } from "./commands/UpdateBotCallbackCommand";
|
|
27
27
|
import { UpdateBotCommandInput, UpdateBotCommandOutput } from "./commands/UpdateBotCommand";
|
|
28
28
|
import { UpdateUserEmailNotificationsSettingsCommandInput, UpdateUserEmailNotificationsSettingsCommandOutput } from "./commands/UpdateUserEmailNotificationsSettingsCommand";
|
|
@@ -41,11 +41,11 @@ export { __Client };
|
|
|
41
41
|
/**
|
|
42
42
|
* @public
|
|
43
43
|
*/
|
|
44
|
-
export type ServiceInputTypes = BatchGetUsersCommandInput | BatchGetUsersEmailNotificationsSettingsCommandInput | BatchGetUsersPbxLinkDataCommandInput | BatchGetUsersPbxLinkDataV1CommandInput | ChangeUserEmailCommandInput | CreateBotApiKeyCommandInput | CreateBotCommandInput | CreateSystemBotCommandInput | DeleteBotApiKeyCommandInput | DeleteBotCommandInput | GetBotCallbackCommandInput | GetBotCommandInput | GetUserCommandInput | GetUserEmailNotificationsSettingsCommandInput | GetUserPbxLinkDataCommandInput | GetUserPbxLinkSuggestionCommandInput | GetUserPbxLinkSuggestionV1CommandInput | ListBotApiKeysCommandInput | ListBotsCommandInput | PartialUpdateUserEmailNotificationsSettingsCommandInput | QueryColleaguesCommandInput | QueryUserCommandInput | QueryUsersCommandInput |
|
|
44
|
+
export type ServiceInputTypes = BatchGetUsersCommandInput | BatchGetUsersEmailNotificationsSettingsCommandInput | BatchGetUsersPbxLinkDataCommandInput | BatchGetUsersPbxLinkDataV1CommandInput | ChangeUserEmailCommandInput | CreateBotApiKeyCommandInput | CreateBotCommandInput | CreateSystemBotCommandInput | DeleteBotApiKeyCommandInput | DeleteBotCommandInput | GetBotCallbackCommandInput | GetBotCommandInput | GetUserCommandInput | GetUserEmailNotificationsSettingsCommandInput | GetUserPbxLinkDataCommandInput | GetUserPbxLinkSuggestionCommandInput | GetUserPbxLinkSuggestionV1CommandInput | ListBotApiKeysCommandInput | ListBotsCommandInput | PartialUpdateUserEmailNotificationsSettingsCommandInput | QueryColleaguesCommandInput | QueryUserCommandInput | QueryUsersCommandInput | ToggleTranscriptionEmailNotificationsSubscriptionCommandInput | ToggleUnreadEmailNotificationsSubscriptionCommandInput | UpdateBotCallbackCommandInput | UpdateBotCommandInput | UpdateUserEmailNotificationsSettingsCommandInput | UploadPictureCommandInput | UploadPictureV1CommandInput | VerifyBotSecretKeyCommandInput | VerifyBotSecretKeyV1CommandInput;
|
|
45
45
|
/**
|
|
46
46
|
* @public
|
|
47
47
|
*/
|
|
48
|
-
export type ServiceOutputTypes = BatchGetUsersCommandOutput | BatchGetUsersEmailNotificationsSettingsCommandOutput | BatchGetUsersPbxLinkDataCommandOutput | BatchGetUsersPbxLinkDataV1CommandOutput | ChangeUserEmailCommandOutput | CreateBotApiKeyCommandOutput | CreateBotCommandOutput | CreateSystemBotCommandOutput | DeleteBotApiKeyCommandOutput | DeleteBotCommandOutput | GetBotCallbackCommandOutput | GetBotCommandOutput | GetUserCommandOutput | GetUserEmailNotificationsSettingsCommandOutput | GetUserPbxLinkDataCommandOutput | GetUserPbxLinkSuggestionCommandOutput | GetUserPbxLinkSuggestionV1CommandOutput | ListBotApiKeysCommandOutput | ListBotsCommandOutput | PartialUpdateUserEmailNotificationsSettingsCommandOutput | QueryColleaguesCommandOutput | QueryUserCommandOutput | QueryUsersCommandOutput |
|
|
48
|
+
export type ServiceOutputTypes = BatchGetUsersCommandOutput | BatchGetUsersEmailNotificationsSettingsCommandOutput | BatchGetUsersPbxLinkDataCommandOutput | BatchGetUsersPbxLinkDataV1CommandOutput | ChangeUserEmailCommandOutput | CreateBotApiKeyCommandOutput | CreateBotCommandOutput | CreateSystemBotCommandOutput | DeleteBotApiKeyCommandOutput | DeleteBotCommandOutput | GetBotCallbackCommandOutput | GetBotCommandOutput | GetUserCommandOutput | GetUserEmailNotificationsSettingsCommandOutput | GetUserPbxLinkDataCommandOutput | GetUserPbxLinkSuggestionCommandOutput | GetUserPbxLinkSuggestionV1CommandOutput | ListBotApiKeysCommandOutput | ListBotsCommandOutput | PartialUpdateUserEmailNotificationsSettingsCommandOutput | QueryColleaguesCommandOutput | QueryUserCommandOutput | QueryUsersCommandOutput | ToggleTranscriptionEmailNotificationsSubscriptionCommandOutput | ToggleUnreadEmailNotificationsSubscriptionCommandOutput | UpdateBotCallbackCommandOutput | UpdateBotCommandOutput | UpdateUserEmailNotificationsSettingsCommandOutput | UploadPictureCommandOutput | UploadPictureV1CommandOutput | VerifyBotSecretKeyCommandOutput | VerifyBotSecretKeyV1CommandOutput;
|
|
49
49
|
/**
|
|
50
50
|
* @public
|
|
51
51
|
*/
|
|
@@ -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
|
+
}
|
|
@@ -21,8 +21,8 @@ export * from "./PartialUpdateUserEmailNotificationsSettingsCommand";
|
|
|
21
21
|
export * from "./QueryColleaguesCommand";
|
|
22
22
|
export * from "./QueryUserCommand";
|
|
23
23
|
export * from "./QueryUsersCommand";
|
|
24
|
-
export * from "./
|
|
25
|
-
export * from "./
|
|
24
|
+
export * from "./ToggleTranscriptionEmailNotificationsSubscriptionCommand";
|
|
25
|
+
export * from "./ToggleUnreadEmailNotificationsSubscriptionCommand";
|
|
26
26
|
export * from "./UpdateBotCommand";
|
|
27
27
|
export * from "./UpdateBotCallbackCommand";
|
|
28
28
|
export * from "./UpdateUserEmailNotificationsSettingsCommand";
|
|
@@ -1130,24 +1130,34 @@ export interface QueryUsersOutput {
|
|
|
1130
1130
|
/**
|
|
1131
1131
|
* @public
|
|
1132
1132
|
*/
|
|
1133
|
-
export interface
|
|
1133
|
+
export interface ToggleTranscriptionEmailNotificationsSubscriptionInput {
|
|
1134
1134
|
unsubscribeToken: string;
|
|
1135
|
+
/**
|
|
1136
|
+
* A flag that indicates whether the system should send email notifications about AI transcription.
|
|
1137
|
+
* @public
|
|
1138
|
+
*/
|
|
1139
|
+
subscribe: boolean;
|
|
1135
1140
|
}
|
|
1136
1141
|
/**
|
|
1137
1142
|
* @public
|
|
1138
1143
|
*/
|
|
1139
|
-
export interface
|
|
1144
|
+
export interface ToggleTranscriptionEmailNotificationsSubscriptionOutput {
|
|
1140
1145
|
}
|
|
1141
1146
|
/**
|
|
1142
1147
|
* @public
|
|
1143
1148
|
*/
|
|
1144
|
-
export interface
|
|
1149
|
+
export interface ToggleUnreadEmailNotificationsSubscriptionInput {
|
|
1145
1150
|
unsubscribeToken: string;
|
|
1151
|
+
/**
|
|
1152
|
+
* A flag that indicates whether the system should send email notifications about unread messages.
|
|
1153
|
+
* @public
|
|
1154
|
+
*/
|
|
1155
|
+
subscribe: boolean;
|
|
1146
1156
|
}
|
|
1147
1157
|
/**
|
|
1148
1158
|
* @public
|
|
1149
1159
|
*/
|
|
1150
|
-
export interface
|
|
1160
|
+
export interface ToggleUnreadEmailNotificationsSubscriptionOutput {
|
|
1151
1161
|
}
|
|
1152
1162
|
/**
|
|
1153
1163
|
* @public
|
|
@@ -21,8 +21,8 @@ import { PartialUpdateUserEmailNotificationsSettingsCommandInput, PartialUpdateU
|
|
|
21
21
|
import { QueryColleaguesCommandInput, QueryColleaguesCommandOutput } from "../commands/QueryColleaguesCommand";
|
|
22
22
|
import { QueryUserCommandInput, QueryUserCommandOutput } from "../commands/QueryUserCommand";
|
|
23
23
|
import { QueryUsersCommandInput, QueryUsersCommandOutput } from "../commands/QueryUsersCommand";
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
24
|
+
import { ToggleTranscriptionEmailNotificationsSubscriptionCommandInput, ToggleTranscriptionEmailNotificationsSubscriptionCommandOutput } from "../commands/ToggleTranscriptionEmailNotificationsSubscriptionCommand";
|
|
25
|
+
import { ToggleUnreadEmailNotificationsSubscriptionCommandInput, ToggleUnreadEmailNotificationsSubscriptionCommandOutput } from "../commands/ToggleUnreadEmailNotificationsSubscriptionCommand";
|
|
26
26
|
import { UpdateBotCallbackCommandInput, UpdateBotCallbackCommandOutput } from "../commands/UpdateBotCallbackCommand";
|
|
27
27
|
import { UpdateBotCommandInput, UpdateBotCommandOutput } from "../commands/UpdateBotCommand";
|
|
28
28
|
import { UpdateUserEmailNotificationsSettingsCommandInput, UpdateUserEmailNotificationsSettingsCommandOutput } from "../commands/UpdateUserEmailNotificationsSettingsCommand";
|
|
@@ -125,13 +125,13 @@ export declare const se_QueryUserCommand: (input: QueryUserCommandInput, context
|
|
|
125
125
|
*/
|
|
126
126
|
export declare const se_QueryUsersCommand: (input: QueryUsersCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
127
127
|
/**
|
|
128
|
-
*
|
|
128
|
+
* serializeAws_restJson1ToggleTranscriptionEmailNotificationsSubscriptionCommand
|
|
129
129
|
*/
|
|
130
|
-
export declare const
|
|
130
|
+
export declare const se_ToggleTranscriptionEmailNotificationsSubscriptionCommand: (input: ToggleTranscriptionEmailNotificationsSubscriptionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
131
131
|
/**
|
|
132
|
-
*
|
|
132
|
+
* serializeAws_restJson1ToggleUnreadEmailNotificationsSubscriptionCommand
|
|
133
133
|
*/
|
|
134
|
-
export declare const
|
|
134
|
+
export declare const se_ToggleUnreadEmailNotificationsSubscriptionCommand: (input: ToggleUnreadEmailNotificationsSubscriptionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
135
135
|
/**
|
|
136
136
|
* serializeAws_restJson1UpdateBotCommand
|
|
137
137
|
*/
|
|
@@ -253,13 +253,13 @@ export declare const de_QueryUserCommand: (output: __HttpResponse, context: __Se
|
|
|
253
253
|
*/
|
|
254
254
|
export declare const de_QueryUsersCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<QueryUsersCommandOutput>;
|
|
255
255
|
/**
|
|
256
|
-
*
|
|
256
|
+
* deserializeAws_restJson1ToggleTranscriptionEmailNotificationsSubscriptionCommand
|
|
257
257
|
*/
|
|
258
|
-
export declare const
|
|
258
|
+
export declare const de_ToggleTranscriptionEmailNotificationsSubscriptionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ToggleTranscriptionEmailNotificationsSubscriptionCommandOutput>;
|
|
259
259
|
/**
|
|
260
|
-
*
|
|
260
|
+
* deserializeAws_restJson1ToggleUnreadEmailNotificationsSubscriptionCommand
|
|
261
261
|
*/
|
|
262
|
-
export declare const
|
|
262
|
+
export declare const de_ToggleUnreadEmailNotificationsSubscriptionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ToggleUnreadEmailNotificationsSubscriptionCommandOutput>;
|
|
263
263
|
/**
|
|
264
264
|
* deserializeAws_restJson1UpdateBotCommand
|
|
265
265
|
*/
|
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.31",
|
|
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",
|
|
@@ -17,7 +17,6 @@
|
|
|
17
17
|
"module": "./dist-es/index.js",
|
|
18
18
|
"sideEffects": false,
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"tslib": "^2.6.2",
|
|
21
20
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
21
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
22
|
"@aws-sdk/middleware-user-agent": "3.587.0",
|
|
@@ -46,15 +45,16 @@
|
|
|
46
45
|
"@smithy/util-defaults-mode-node": "^3.0.3",
|
|
47
46
|
"@smithy/util-retry": "^3.0.0",
|
|
48
47
|
"@smithy/util-utf8": "^3.0.0",
|
|
49
|
-
"@wildix/smithy-utils": "^1.0.2"
|
|
48
|
+
"@wildix/smithy-utils": "^1.0.2",
|
|
49
|
+
"tslib": "^2.6.2"
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
52
52
|
"@tsconfig/node16": "16.1.3",
|
|
53
|
+
"@types/node": "^16.18.96",
|
|
53
54
|
"concurrently": "7.0.0",
|
|
54
55
|
"downlevel-dts": "0.10.1",
|
|
55
56
|
"rimraf": "^3.0.0",
|
|
56
|
-
"typescript": "~4.9.5"
|
|
57
|
-
"@types/node": "^16.18.96"
|
|
57
|
+
"typescript": "~4.9.5"
|
|
58
58
|
},
|
|
59
59
|
"engines": {
|
|
60
60
|
"node": ">=16.0.0"
|
|
@@ -76,4 +76,4 @@
|
|
|
76
76
|
"react-native": {
|
|
77
77
|
"./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native"
|
|
78
78
|
}
|
|
79
|
-
}
|
|
79
|
+
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.UnsubscribeFromTranscriptionEmailNotificationsCommand = 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 UnsubscribeFromTranscriptionEmailNotificationsCommand 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", "UnsubscribeFromTranscriptionEmailNotifications", {})
|
|
15
|
-
.n("UsersClient", "UnsubscribeFromTranscriptionEmailNotificationsCommand")
|
|
16
|
-
.f(void 0, void 0)
|
|
17
|
-
.ser(Aws_restJson1_1.se_UnsubscribeFromTranscriptionEmailNotificationsCommand)
|
|
18
|
-
.de(Aws_restJson1_1.de_UnsubscribeFromTranscriptionEmailNotificationsCommand)
|
|
19
|
-
.build() {
|
|
20
|
-
}
|
|
21
|
-
exports.UnsubscribeFromTranscriptionEmailNotificationsCommand = UnsubscribeFromTranscriptionEmailNotificationsCommand;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.UnsubscribeFromUnreadEmailNotificationsCommand = 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 UnsubscribeFromUnreadEmailNotificationsCommand 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", "UnsubscribeFromUnreadEmailNotifications", {})
|
|
15
|
-
.n("UsersClient", "UnsubscribeFromUnreadEmailNotificationsCommand")
|
|
16
|
-
.f(void 0, void 0)
|
|
17
|
-
.ser(Aws_restJson1_1.se_UnsubscribeFromUnreadEmailNotificationsCommand)
|
|
18
|
-
.de(Aws_restJson1_1.de_UnsubscribeFromUnreadEmailNotificationsCommand)
|
|
19
|
-
.build() {
|
|
20
|
-
}
|
|
21
|
-
exports.UnsubscribeFromUnreadEmailNotificationsCommand = UnsubscribeFromUnreadEmailNotificationsCommand;
|
|
@@ -1,17 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
import { ServiceInputTypes, ServiceOutputTypes, UsersClientResolvedConfig } from "../UsersClient";
|
|
2
|
-
import { UnsubscribeFromTranscriptionEmailNotificationsInput, UnsubscribeFromTranscriptionEmailNotificationsOutput } from "../models/models_0";
|
|
3
|
-
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
5
|
-
/**
|
|
6
|
-
* @public
|
|
7
|
-
*/
|
|
8
|
-
export type { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
|
-
/**
|
|
11
|
-
* @public
|
|
12
|
-
*
|
|
13
|
-
* The input for {@link UnsubscribeFromTranscriptionEmailNotificationsCommand}.
|
|
14
|
-
*/
|
|
15
|
-
export interface UnsubscribeFromTranscriptionEmailNotificationsCommandInput extends UnsubscribeFromTranscriptionEmailNotificationsInput {
|
|
16
|
-
}
|
|
17
|
-
/**
|
|
18
|
-
* @public
|
|
19
|
-
*
|
|
20
|
-
* The output of {@link UnsubscribeFromTranscriptionEmailNotificationsCommand}.
|
|
21
|
-
*/
|
|
22
|
-
export interface UnsubscribeFromTranscriptionEmailNotificationsCommandOutput extends UnsubscribeFromTranscriptionEmailNotificationsOutput, __MetadataBearer {
|
|
23
|
-
}
|
|
24
|
-
declare const UnsubscribeFromTranscriptionEmailNotificationsCommand_base: {
|
|
25
|
-
new (input: UnsubscribeFromTranscriptionEmailNotificationsCommandInput): import("@smithy/smithy-client").CommandImpl<UnsubscribeFromTranscriptionEmailNotificationsCommandInput, UnsubscribeFromTranscriptionEmailNotificationsCommandOutput, UsersClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (__0_0: UnsubscribeFromTranscriptionEmailNotificationsCommandInput): import("@smithy/smithy-client").CommandImpl<UnsubscribeFromTranscriptionEmailNotificationsCommandInput, UnsubscribeFromTranscriptionEmailNotificationsCommandOutput, UsersClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
-
};
|
|
29
|
-
/**
|
|
30
|
-
* Unsubscribe from email notifications about AI transcription
|
|
31
|
-
* @example
|
|
32
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
-
* ```javascript
|
|
34
|
-
* import { UsersClient, UnsubscribeFromTranscriptionEmailNotificationsCommand } from "@wildix/xbees-users-client"; // ES Modules import
|
|
35
|
-
* // const { UsersClient, UnsubscribeFromTranscriptionEmailNotificationsCommand } = require("@wildix/xbees-users-client"); // CommonJS import
|
|
36
|
-
* const client = new UsersClient(config);
|
|
37
|
-
* const input = { // UnsubscribeFromTranscriptionEmailNotificationsInput
|
|
38
|
-
* unsubscribeToken: "STRING_VALUE", // required
|
|
39
|
-
* };
|
|
40
|
-
* const command = new UnsubscribeFromTranscriptionEmailNotificationsCommand(input);
|
|
41
|
-
* const response = await client.send(command);
|
|
42
|
-
* // {};
|
|
43
|
-
*
|
|
44
|
-
* ```
|
|
45
|
-
*
|
|
46
|
-
* @param UnsubscribeFromTranscriptionEmailNotificationsCommandInput - {@link UnsubscribeFromTranscriptionEmailNotificationsCommandInput}
|
|
47
|
-
* @returns {@link UnsubscribeFromTranscriptionEmailNotificationsCommandOutput}
|
|
48
|
-
* @see {@link UnsubscribeFromTranscriptionEmailNotificationsCommandInput} for command's `input` shape.
|
|
49
|
-
* @see {@link UnsubscribeFromTranscriptionEmailNotificationsCommandOutput} for command's `response` shape.
|
|
50
|
-
* @see {@link UsersClientResolvedConfig | config} for UsersClient's `config` shape.
|
|
51
|
-
*
|
|
52
|
-
* @throws {@link ForbiddenException} (client fault)
|
|
53
|
-
*
|
|
54
|
-
* @throws {@link ValidationException} (client fault)
|
|
55
|
-
*
|
|
56
|
-
* @throws {@link UsersServiceException}
|
|
57
|
-
* <p>Base exception class for all service exceptions from Users service.</p>
|
|
58
|
-
*
|
|
59
|
-
* @public
|
|
60
|
-
*/
|
|
61
|
-
export declare class UnsubscribeFromTranscriptionEmailNotificationsCommand extends UnsubscribeFromTranscriptionEmailNotificationsCommand_base {
|
|
62
|
-
}
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
import { ServiceInputTypes, ServiceOutputTypes, UsersClientResolvedConfig } from "../UsersClient";
|
|
2
|
-
import { UnsubscribeFromUnreadEmailNotificationsInput, UnsubscribeFromUnreadEmailNotificationsOutput } from "../models/models_0";
|
|
3
|
-
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
5
|
-
/**
|
|
6
|
-
* @public
|
|
7
|
-
*/
|
|
8
|
-
export type { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
|
-
/**
|
|
11
|
-
* @public
|
|
12
|
-
*
|
|
13
|
-
* The input for {@link UnsubscribeFromUnreadEmailNotificationsCommand}.
|
|
14
|
-
*/
|
|
15
|
-
export interface UnsubscribeFromUnreadEmailNotificationsCommandInput extends UnsubscribeFromUnreadEmailNotificationsInput {
|
|
16
|
-
}
|
|
17
|
-
/**
|
|
18
|
-
* @public
|
|
19
|
-
*
|
|
20
|
-
* The output of {@link UnsubscribeFromUnreadEmailNotificationsCommand}.
|
|
21
|
-
*/
|
|
22
|
-
export interface UnsubscribeFromUnreadEmailNotificationsCommandOutput extends UnsubscribeFromUnreadEmailNotificationsOutput, __MetadataBearer {
|
|
23
|
-
}
|
|
24
|
-
declare const UnsubscribeFromUnreadEmailNotificationsCommand_base: {
|
|
25
|
-
new (input: UnsubscribeFromUnreadEmailNotificationsCommandInput): import("@smithy/smithy-client").CommandImpl<UnsubscribeFromUnreadEmailNotificationsCommandInput, UnsubscribeFromUnreadEmailNotificationsCommandOutput, UsersClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (__0_0: UnsubscribeFromUnreadEmailNotificationsCommandInput): import("@smithy/smithy-client").CommandImpl<UnsubscribeFromUnreadEmailNotificationsCommandInput, UnsubscribeFromUnreadEmailNotificationsCommandOutput, UsersClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
-
};
|
|
29
|
-
/**
|
|
30
|
-
* Unsubscribe from email notifications about unread messages
|
|
31
|
-
* @example
|
|
32
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
-
* ```javascript
|
|
34
|
-
* import { UsersClient, UnsubscribeFromUnreadEmailNotificationsCommand } from "@wildix/xbees-users-client"; // ES Modules import
|
|
35
|
-
* // const { UsersClient, UnsubscribeFromUnreadEmailNotificationsCommand } = require("@wildix/xbees-users-client"); // CommonJS import
|
|
36
|
-
* const client = new UsersClient(config);
|
|
37
|
-
* const input = { // UnsubscribeFromUnreadEmailNotificationsInput
|
|
38
|
-
* unsubscribeToken: "STRING_VALUE", // required
|
|
39
|
-
* };
|
|
40
|
-
* const command = new UnsubscribeFromUnreadEmailNotificationsCommand(input);
|
|
41
|
-
* const response = await client.send(command);
|
|
42
|
-
* // {};
|
|
43
|
-
*
|
|
44
|
-
* ```
|
|
45
|
-
*
|
|
46
|
-
* @param UnsubscribeFromUnreadEmailNotificationsCommandInput - {@link UnsubscribeFromUnreadEmailNotificationsCommandInput}
|
|
47
|
-
* @returns {@link UnsubscribeFromUnreadEmailNotificationsCommandOutput}
|
|
48
|
-
* @see {@link UnsubscribeFromUnreadEmailNotificationsCommandInput} for command's `input` shape.
|
|
49
|
-
* @see {@link UnsubscribeFromUnreadEmailNotificationsCommandOutput} for command's `response` shape.
|
|
50
|
-
* @see {@link UsersClientResolvedConfig | config} for UsersClient's `config` shape.
|
|
51
|
-
*
|
|
52
|
-
* @throws {@link ForbiddenException} (client fault)
|
|
53
|
-
*
|
|
54
|
-
* @throws {@link ValidationException} (client fault)
|
|
55
|
-
*
|
|
56
|
-
* @throws {@link UsersServiceException}
|
|
57
|
-
* <p>Base exception class for all service exceptions from Users service.</p>
|
|
58
|
-
*
|
|
59
|
-
* @public
|
|
60
|
-
*/
|
|
61
|
-
export declare class UnsubscribeFromUnreadEmailNotificationsCommand extends UnsubscribeFromUnreadEmailNotificationsCommand_base {
|
|
62
|
-
}
|