@wildix/xbees-users-client 1.0.32 → 1.0.34

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (35) hide show
  1. package/dist-cjs/Users.js +0 -12
  2. package/dist-cjs/commands/index.js +0 -6
  3. package/dist-cjs/models/models_0.js +37 -1
  4. package/dist-cjs/protocols/Aws_restJson1.js +120 -182
  5. package/dist-es/Users.js +0 -12
  6. package/dist-es/commands/index.js +0 -6
  7. package/dist-es/models/models_0.js +36 -0
  8. package/dist-es/protocols/Aws_restJson1.js +120 -170
  9. package/dist-types/Users.d.ts +0 -42
  10. package/dist-types/UsersClient.d.ts +2 -8
  11. package/dist-types/commands/CreateBotCommand.d.ts +49 -0
  12. package/dist-types/commands/GetBotCallbackCommand.d.ts +49 -0
  13. package/dist-types/commands/UpdateBotCallbackCommand.d.ts +98 -0
  14. package/dist-types/commands/index.d.ts +0 -6
  15. package/dist-types/models/models_0.d.ts +217 -132
  16. package/dist-types/protocols/Aws_restJson1.d.ts +0 -54
  17. package/package.json +5 -5
  18. package/dist-cjs/commands/BatchGetUsersEmailNotificationsSettingsCommand.js +0 -21
  19. package/dist-cjs/commands/GetUserEmailNotificationsSettingsCommand.js +0 -21
  20. package/dist-cjs/commands/PartialUpdateUserEmailNotificationsSettingsCommand.js +0 -21
  21. package/dist-cjs/commands/ToggleTranscriptionEmailNotificationsSubscriptionCommand.js +0 -21
  22. package/dist-cjs/commands/ToggleUnreadEmailNotificationsSubscriptionCommand.js +0 -21
  23. package/dist-cjs/commands/UpdateUserEmailNotificationsSettingsCommand.js +0 -21
  24. package/dist-es/commands/BatchGetUsersEmailNotificationsSettingsCommand.js +0 -17
  25. package/dist-es/commands/GetUserEmailNotificationsSettingsCommand.js +0 -17
  26. package/dist-es/commands/PartialUpdateUserEmailNotificationsSettingsCommand.js +0 -17
  27. package/dist-es/commands/ToggleTranscriptionEmailNotificationsSubscriptionCommand.js +0 -17
  28. package/dist-es/commands/ToggleUnreadEmailNotificationsSubscriptionCommand.js +0 -17
  29. package/dist-es/commands/UpdateUserEmailNotificationsSettingsCommand.js +0 -17
  30. package/dist-types/commands/BatchGetUsersEmailNotificationsSettingsCommand.d.ts +0 -71
  31. package/dist-types/commands/GetUserEmailNotificationsSettingsCommand.d.ts +0 -69
  32. package/dist-types/commands/PartialUpdateUserEmailNotificationsSettingsCommand.d.ts +0 -69
  33. package/dist-types/commands/ToggleTranscriptionEmailNotificationsSubscriptionCommand.d.ts +0 -63
  34. package/dist-types/commands/ToggleUnreadEmailNotificationsSubscriptionCommand.d.ts +0 -63
  35. package/dist-types/commands/UpdateUserEmailNotificationsSettingsCommand.d.ts +0 -69
@@ -1,5 +1,4 @@
1
1
  import { BatchGetUsersCommandInput, BatchGetUsersCommandOutput } from "../commands/BatchGetUsersCommand";
2
- import { BatchGetUsersEmailNotificationsSettingsCommandInput, BatchGetUsersEmailNotificationsSettingsCommandOutput } from "../commands/BatchGetUsersEmailNotificationsSettingsCommand";
3
2
  import { BatchGetUsersPbxLinkDataCommandInput, BatchGetUsersPbxLinkDataCommandOutput } from "../commands/BatchGetUsersPbxLinkDataCommand";
4
3
  import { BatchGetUsersPbxLinkDataV1CommandInput, BatchGetUsersPbxLinkDataV1CommandOutput } from "../commands/BatchGetUsersPbxLinkDataV1Command";
5
4
  import { ChangeUserEmailCommandInput, ChangeUserEmailCommandOutput } from "../commands/ChangeUserEmailCommand";
@@ -11,21 +10,16 @@ import { DeleteBotCommandInput, DeleteBotCommandOutput } from "../commands/Delet
11
10
  import { GetBotCallbackCommandInput, GetBotCallbackCommandOutput } from "../commands/GetBotCallbackCommand";
12
11
  import { GetBotCommandInput, GetBotCommandOutput } from "../commands/GetBotCommand";
13
12
  import { GetUserCommandInput, GetUserCommandOutput } from "../commands/GetUserCommand";
14
- import { GetUserEmailNotificationsSettingsCommandInput, GetUserEmailNotificationsSettingsCommandOutput } from "../commands/GetUserEmailNotificationsSettingsCommand";
15
13
  import { GetUserPbxLinkDataCommandInput, GetUserPbxLinkDataCommandOutput } from "../commands/GetUserPbxLinkDataCommand";
16
14
  import { GetUserPbxLinkSuggestionCommandInput, GetUserPbxLinkSuggestionCommandOutput } from "../commands/GetUserPbxLinkSuggestionCommand";
17
15
  import { GetUserPbxLinkSuggestionV1CommandInput, GetUserPbxLinkSuggestionV1CommandOutput } from "../commands/GetUserPbxLinkSuggestionV1Command";
18
16
  import { ListBotApiKeysCommandInput, ListBotApiKeysCommandOutput } from "../commands/ListBotApiKeysCommand";
19
17
  import { ListBotsCommandInput, ListBotsCommandOutput } from "../commands/ListBotsCommand";
20
- import { PartialUpdateUserEmailNotificationsSettingsCommandInput, PartialUpdateUserEmailNotificationsSettingsCommandOutput } from "../commands/PartialUpdateUserEmailNotificationsSettingsCommand";
21
18
  import { QueryColleaguesCommandInput, QueryColleaguesCommandOutput } from "../commands/QueryColleaguesCommand";
22
19
  import { QueryUserCommandInput, QueryUserCommandOutput } from "../commands/QueryUserCommand";
23
20
  import { QueryUsersCommandInput, QueryUsersCommandOutput } from "../commands/QueryUsersCommand";
24
- import { ToggleTranscriptionEmailNotificationsSubscriptionCommandInput, ToggleTranscriptionEmailNotificationsSubscriptionCommandOutput } from "../commands/ToggleTranscriptionEmailNotificationsSubscriptionCommand";
25
- import { ToggleUnreadEmailNotificationsSubscriptionCommandInput, ToggleUnreadEmailNotificationsSubscriptionCommandOutput } from "../commands/ToggleUnreadEmailNotificationsSubscriptionCommand";
26
21
  import { UpdateBotCallbackCommandInput, UpdateBotCallbackCommandOutput } from "../commands/UpdateBotCallbackCommand";
27
22
  import { UpdateBotCommandInput, UpdateBotCommandOutput } from "../commands/UpdateBotCommand";
28
- import { UpdateUserEmailNotificationsSettingsCommandInput, UpdateUserEmailNotificationsSettingsCommandOutput } from "../commands/UpdateUserEmailNotificationsSettingsCommand";
29
23
  import { UploadPictureCommandInput, UploadPictureCommandOutput } from "../commands/UploadPictureCommand";
30
24
  import { UploadPictureV1CommandInput, UploadPictureV1CommandOutput } from "../commands/UploadPictureV1Command";
31
25
  import { VerifyBotSecretKeyCommandInput, VerifyBotSecretKeyCommandOutput } from "../commands/VerifyBotSecretKeyCommand";
@@ -36,10 +30,6 @@ import { SerdeContext as __SerdeContext } from "@smithy/types";
36
30
  * serializeAws_restJson1BatchGetUsersCommand
37
31
  */
38
32
  export declare const se_BatchGetUsersCommand: (input: BatchGetUsersCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
39
- /**
40
- * serializeAws_restJson1BatchGetUsersEmailNotificationsSettingsCommand
41
- */
42
- export declare const se_BatchGetUsersEmailNotificationsSettingsCommand: (input: BatchGetUsersEmailNotificationsSettingsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
43
33
  /**
44
34
  * serializeAws_restJson1BatchGetUsersPbxLinkDataCommand
45
35
  */
@@ -84,10 +74,6 @@ export declare const se_GetBotCallbackCommand: (input: GetBotCallbackCommandInpu
84
74
  * serializeAws_restJson1GetUserCommand
85
75
  */
86
76
  export declare const se_GetUserCommand: (input: GetUserCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
87
- /**
88
- * serializeAws_restJson1GetUserEmailNotificationsSettingsCommand
89
- */
90
- export declare const se_GetUserEmailNotificationsSettingsCommand: (input: GetUserEmailNotificationsSettingsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
91
77
  /**
92
78
  * serializeAws_restJson1GetUserPbxLinkDataCommand
93
79
  */
@@ -108,10 +94,6 @@ export declare const se_ListBotApiKeysCommand: (input: ListBotApiKeysCommandInpu
108
94
  * serializeAws_restJson1ListBotsCommand
109
95
  */
110
96
  export declare const se_ListBotsCommand: (input: ListBotsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
111
- /**
112
- * serializeAws_restJson1PartialUpdateUserEmailNotificationsSettingsCommand
113
- */
114
- export declare const se_PartialUpdateUserEmailNotificationsSettingsCommand: (input: PartialUpdateUserEmailNotificationsSettingsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
115
97
  /**
116
98
  * serializeAws_restJson1QueryColleaguesCommand
117
99
  */
@@ -124,14 +106,6 @@ export declare const se_QueryUserCommand: (input: QueryUserCommandInput, context
124
106
  * serializeAws_restJson1QueryUsersCommand
125
107
  */
126
108
  export declare const se_QueryUsersCommand: (input: QueryUsersCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
127
- /**
128
- * serializeAws_restJson1ToggleTranscriptionEmailNotificationsSubscriptionCommand
129
- */
130
- export declare const se_ToggleTranscriptionEmailNotificationsSubscriptionCommand: (input: ToggleTranscriptionEmailNotificationsSubscriptionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
131
- /**
132
- * serializeAws_restJson1ToggleUnreadEmailNotificationsSubscriptionCommand
133
- */
134
- export declare const se_ToggleUnreadEmailNotificationsSubscriptionCommand: (input: ToggleUnreadEmailNotificationsSubscriptionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
135
109
  /**
136
110
  * serializeAws_restJson1UpdateBotCommand
137
111
  */
@@ -140,10 +114,6 @@ export declare const se_UpdateBotCommand: (input: UpdateBotCommandInput, context
140
114
  * serializeAws_restJson1UpdateBotCallbackCommand
141
115
  */
142
116
  export declare const se_UpdateBotCallbackCommand: (input: UpdateBotCallbackCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
143
- /**
144
- * serializeAws_restJson1UpdateUserEmailNotificationsSettingsCommand
145
- */
146
- export declare const se_UpdateUserEmailNotificationsSettingsCommand: (input: UpdateUserEmailNotificationsSettingsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
147
117
  /**
148
118
  * serializeAws_restJson1UploadPictureCommand
149
119
  */
@@ -164,10 +134,6 @@ export declare const se_VerifyBotSecretKeyV1Command: (input: VerifyBotSecretKeyV
164
134
  * deserializeAws_restJson1BatchGetUsersCommand
165
135
  */
166
136
  export declare const de_BatchGetUsersCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<BatchGetUsersCommandOutput>;
167
- /**
168
- * deserializeAws_restJson1BatchGetUsersEmailNotificationsSettingsCommand
169
- */
170
- export declare const de_BatchGetUsersEmailNotificationsSettingsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<BatchGetUsersEmailNotificationsSettingsCommandOutput>;
171
137
  /**
172
138
  * deserializeAws_restJson1BatchGetUsersPbxLinkDataCommand
173
139
  */
@@ -212,10 +178,6 @@ export declare const de_GetBotCallbackCommand: (output: __HttpResponse, context:
212
178
  * deserializeAws_restJson1GetUserCommand
213
179
  */
214
180
  export declare const de_GetUserCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetUserCommandOutput>;
215
- /**
216
- * deserializeAws_restJson1GetUserEmailNotificationsSettingsCommand
217
- */
218
- export declare const de_GetUserEmailNotificationsSettingsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetUserEmailNotificationsSettingsCommandOutput>;
219
181
  /**
220
182
  * deserializeAws_restJson1GetUserPbxLinkDataCommand
221
183
  */
@@ -236,10 +198,6 @@ export declare const de_ListBotApiKeysCommand: (output: __HttpResponse, context:
236
198
  * deserializeAws_restJson1ListBotsCommand
237
199
  */
238
200
  export declare const de_ListBotsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListBotsCommandOutput>;
239
- /**
240
- * deserializeAws_restJson1PartialUpdateUserEmailNotificationsSettingsCommand
241
- */
242
- export declare const de_PartialUpdateUserEmailNotificationsSettingsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<PartialUpdateUserEmailNotificationsSettingsCommandOutput>;
243
201
  /**
244
202
  * deserializeAws_restJson1QueryColleaguesCommand
245
203
  */
@@ -252,14 +210,6 @@ export declare const de_QueryUserCommand: (output: __HttpResponse, context: __Se
252
210
  * deserializeAws_restJson1QueryUsersCommand
253
211
  */
254
212
  export declare const de_QueryUsersCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<QueryUsersCommandOutput>;
255
- /**
256
- * deserializeAws_restJson1ToggleTranscriptionEmailNotificationsSubscriptionCommand
257
- */
258
- export declare const de_ToggleTranscriptionEmailNotificationsSubscriptionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ToggleTranscriptionEmailNotificationsSubscriptionCommandOutput>;
259
- /**
260
- * deserializeAws_restJson1ToggleUnreadEmailNotificationsSubscriptionCommand
261
- */
262
- export declare const de_ToggleUnreadEmailNotificationsSubscriptionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ToggleUnreadEmailNotificationsSubscriptionCommandOutput>;
263
213
  /**
264
214
  * deserializeAws_restJson1UpdateBotCommand
265
215
  */
@@ -268,10 +218,6 @@ export declare const de_UpdateBotCommand: (output: __HttpResponse, context: __Se
268
218
  * deserializeAws_restJson1UpdateBotCallbackCommand
269
219
  */
270
220
  export declare const de_UpdateBotCallbackCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateBotCallbackCommandOutput>;
271
- /**
272
- * deserializeAws_restJson1UpdateUserEmailNotificationsSettingsCommand
273
- */
274
- export declare const de_UpdateUserEmailNotificationsSettingsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateUserEmailNotificationsSettingsCommandOutput>;
275
221
  /**
276
222
  * deserializeAws_restJson1UploadPictureCommand
277
223
  */
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.32",
4
+ "version": "1.0.34",
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,6 +17,7 @@
17
17
  "module": "./dist-es/index.js",
18
18
  "sideEffects": false,
19
19
  "dependencies": {
20
+ "tslib": "^2.6.2",
20
21
  "@aws-crypto/sha256-browser": "3.0.0",
21
22
  "@aws-crypto/sha256-js": "3.0.0",
22
23
  "@aws-sdk/middleware-user-agent": "3.587.0",
@@ -45,16 +46,15 @@
45
46
  "@smithy/util-defaults-mode-node": "^3.0.3",
46
47
  "@smithy/util-retry": "^3.0.0",
47
48
  "@smithy/util-utf8": "^3.0.0",
48
- "@wildix/smithy-utils": "^1.0.2",
49
- "tslib": "^2.6.2"
49
+ "@wildix/smithy-utils": "^1.0.2"
50
50
  },
51
51
  "devDependencies": {
52
52
  "@tsconfig/node16": "16.1.3",
53
- "@types/node": "^16.18.96",
54
53
  "concurrently": "7.0.0",
55
54
  "downlevel-dts": "0.10.1",
56
55
  "rimraf": "^3.0.0",
57
- "typescript": "~4.9.5"
56
+ "typescript": "~4.9.5",
57
+ "@types/node": "^16.18.96"
58
58
  },
59
59
  "engines": {
60
60
  "node": ">=16.0.0"
@@ -1,21 +0,0 @@
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;
@@ -1,21 +0,0 @@
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;
@@ -1,21 +0,0 @@
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;
@@ -1,21 +0,0 @@
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;
@@ -1,21 +0,0 @@
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;
@@ -1,21 +0,0 @@
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;
@@ -1,17 +0,0 @@
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
- }
@@ -1,17 +0,0 @@
1
- import { de_GetUserEmailNotificationsSettingsCommand, se_GetUserEmailNotificationsSettingsCommand, } from "../protocols/Aws_restJson1";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
- import { Command as $Command } from "@smithy/smithy-client";
4
- export { $Command };
5
- export class GetUserEmailNotificationsSettingsCommand extends $Command.classBuilder()
6
- .m(function (Command, cs, config, o) {
7
- return [
8
- getSerdePlugin(config, this.serialize, this.deserialize),
9
- ];
10
- })
11
- .s("Users", "GetUserEmailNotificationsSettings", {})
12
- .n("UsersClient", "GetUserEmailNotificationsSettingsCommand")
13
- .f(void 0, void 0)
14
- .ser(se_GetUserEmailNotificationsSettingsCommand)
15
- .de(de_GetUserEmailNotificationsSettingsCommand)
16
- .build() {
17
- }
@@ -1,17 +0,0 @@
1
- import { de_PartialUpdateUserEmailNotificationsSettingsCommand, se_PartialUpdateUserEmailNotificationsSettingsCommand, } from "../protocols/Aws_restJson1";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
- import { Command as $Command } from "@smithy/smithy-client";
4
- export { $Command };
5
- export class PartialUpdateUserEmailNotificationsSettingsCommand extends $Command.classBuilder()
6
- .m(function (Command, cs, config, o) {
7
- return [
8
- getSerdePlugin(config, this.serialize, this.deserialize),
9
- ];
10
- })
11
- .s("Users", "PartialUpdateUserEmailNotificationsSettings", {})
12
- .n("UsersClient", "PartialUpdateUserEmailNotificationsSettingsCommand")
13
- .f(void 0, void 0)
14
- .ser(se_PartialUpdateUserEmailNotificationsSettingsCommand)
15
- .de(de_PartialUpdateUserEmailNotificationsSettingsCommand)
16
- .build() {
17
- }
@@ -1,17 +0,0 @@
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
- }
@@ -1,17 +0,0 @@
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
- }
@@ -1,17 +0,0 @@
1
- import { de_UpdateUserEmailNotificationsSettingsCommand, se_UpdateUserEmailNotificationsSettingsCommand, } from "../protocols/Aws_restJson1";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
- import { Command as $Command } from "@smithy/smithy-client";
4
- export { $Command };
5
- export class UpdateUserEmailNotificationsSettingsCommand extends $Command.classBuilder()
6
- .m(function (Command, cs, config, o) {
7
- return [
8
- getSerdePlugin(config, this.serialize, this.deserialize),
9
- ];
10
- })
11
- .s("Users", "UpdateUserEmailNotificationsSettings", {})
12
- .n("UsersClient", "UpdateUserEmailNotificationsSettingsCommand")
13
- .f(void 0, void 0)
14
- .ser(se_UpdateUserEmailNotificationsSettingsCommand)
15
- .de(de_UpdateUserEmailNotificationsSettingsCommand)
16
- .build() {
17
- }
@@ -1,71 +0,0 @@
1
- import { ServiceInputTypes, ServiceOutputTypes, UsersClientResolvedConfig } from "../UsersClient";
2
- import { BatchGetUsersEmailNotificationsSettingsInput, BatchGetUsersEmailNotificationsSettingsOutput } 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 BatchGetUsersEmailNotificationsSettingsCommand}.
14
- */
15
- export interface BatchGetUsersEmailNotificationsSettingsCommandInput extends BatchGetUsersEmailNotificationsSettingsInput {
16
- }
17
- /**
18
- * @public
19
- *
20
- * The output of {@link BatchGetUsersEmailNotificationsSettingsCommand}.
21
- */
22
- export interface BatchGetUsersEmailNotificationsSettingsCommandOutput extends BatchGetUsersEmailNotificationsSettingsOutput, __MetadataBearer {
23
- }
24
- declare const BatchGetUsersEmailNotificationsSettingsCommand_base: {
25
- new (input: BatchGetUsersEmailNotificationsSettingsCommandInput): import("@smithy/smithy-client").CommandImpl<BatchGetUsersEmailNotificationsSettingsCommandInput, BatchGetUsersEmailNotificationsSettingsCommandOutput, UsersClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (__0_0: BatchGetUsersEmailNotificationsSettingsCommandInput): import("@smithy/smithy-client").CommandImpl<BatchGetUsersEmailNotificationsSettingsCommandInput, BatchGetUsersEmailNotificationsSettingsCommandOutput, UsersClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
- };
29
- /**
30
- * Get multiple user settings by their IDs
31
- * @example
32
- * Use a bare-bones client and the command you need to make an API call.
33
- * ```javascript
34
- * import { UsersClient, BatchGetUsersEmailNotificationsSettingsCommand } from "@wildix/xbees-users-client"; // ES Modules import
35
- * // const { UsersClient, BatchGetUsersEmailNotificationsSettingsCommand } = require("@wildix/xbees-users-client"); // CommonJS import
36
- * const client = new UsersClient(config);
37
- * const input = { // BatchGetUsersEmailNotificationsSettingsInput
38
- * usersIds: [ // UsersIdList // required
39
- * "STRING_VALUE",
40
- * ],
41
- * };
42
- * const command = new BatchGetUsersEmailNotificationsSettingsCommand(input);
43
- * const response = await client.send(command);
44
- * // { // BatchGetUsersEmailNotificationsSettingsOutput
45
- * // notifications: { // UsersEmailNotificationsSettingsMap // required
46
- * // "<keys>": { // UserEmailNotificationsSettings
47
- * // unread: true || false, // required
48
- * // transcription: true || false, // required
49
- * // },
50
- * // },
51
- * // };
52
- *
53
- * ```
54
- *
55
- * @param BatchGetUsersEmailNotificationsSettingsCommandInput - {@link BatchGetUsersEmailNotificationsSettingsCommandInput}
56
- * @returns {@link BatchGetUsersEmailNotificationsSettingsCommandOutput}
57
- * @see {@link BatchGetUsersEmailNotificationsSettingsCommandInput} for command's `input` shape.
58
- * @see {@link BatchGetUsersEmailNotificationsSettingsCommandOutput} for command's `response` shape.
59
- * @see {@link UsersClientResolvedConfig | config} for UsersClient's `config` shape.
60
- *
61
- * @throws {@link ForbiddenException} (client fault)
62
- *
63
- * @throws {@link ValidationException} (client fault)
64
- *
65
- * @throws {@link UsersServiceException}
66
- * <p>Base exception class for all service exceptions from Users service.</p>
67
- *
68
- * @public
69
- */
70
- export declare class BatchGetUsersEmailNotificationsSettingsCommand extends BatchGetUsersEmailNotificationsSettingsCommand_base {
71
- }
@@ -1,69 +0,0 @@
1
- import { ServiceInputTypes, ServiceOutputTypes, UsersClientResolvedConfig } from "../UsersClient";
2
- import { GetUserEmailNotificationsSettingsInput, GetUserEmailNotificationsSettingsOutput } 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 GetUserEmailNotificationsSettingsCommand}.
14
- */
15
- export interface GetUserEmailNotificationsSettingsCommandInput extends GetUserEmailNotificationsSettingsInput {
16
- }
17
- /**
18
- * @public
19
- *
20
- * The output of {@link GetUserEmailNotificationsSettingsCommand}.
21
- */
22
- export interface GetUserEmailNotificationsSettingsCommandOutput extends GetUserEmailNotificationsSettingsOutput, __MetadataBearer {
23
- }
24
- declare const GetUserEmailNotificationsSettingsCommand_base: {
25
- new (input: GetUserEmailNotificationsSettingsCommandInput): import("@smithy/smithy-client").CommandImpl<GetUserEmailNotificationsSettingsCommandInput, GetUserEmailNotificationsSettingsCommandOutput, UsersClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (__0_0: GetUserEmailNotificationsSettingsCommandInput): import("@smithy/smithy-client").CommandImpl<GetUserEmailNotificationsSettingsCommandInput, GetUserEmailNotificationsSettingsCommandOutput, UsersClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
- };
29
- /**
30
- * Getting user email notifications settings
31
- * @example
32
- * Use a bare-bones client and the command you need to make an API call.
33
- * ```javascript
34
- * import { UsersClient, GetUserEmailNotificationsSettingsCommand } from "@wildix/xbees-users-client"; // ES Modules import
35
- * // const { UsersClient, GetUserEmailNotificationsSettingsCommand } = require("@wildix/xbees-users-client"); // CommonJS import
36
- * const client = new UsersClient(config);
37
- * const input = { // GetUserEmailNotificationsSettingsInput
38
- * userId: "STRING_VALUE", // required
39
- * };
40
- * const command = new GetUserEmailNotificationsSettingsCommand(input);
41
- * const response = await client.send(command);
42
- * // { // GetUserEmailNotificationsSettingsOutput
43
- * // notifications: { // UserEmailNotificationsSettings
44
- * // unread: true || false, // required
45
- * // transcription: true || false, // required
46
- * // },
47
- * // };
48
- *
49
- * ```
50
- *
51
- * @param GetUserEmailNotificationsSettingsCommandInput - {@link GetUserEmailNotificationsSettingsCommandInput}
52
- * @returns {@link GetUserEmailNotificationsSettingsCommandOutput}
53
- * @see {@link GetUserEmailNotificationsSettingsCommandInput} for command's `input` shape.
54
- * @see {@link GetUserEmailNotificationsSettingsCommandOutput} for command's `response` shape.
55
- * @see {@link UsersClientResolvedConfig | config} for UsersClient's `config` shape.
56
- *
57
- * @throws {@link UserNotFoundException} (client fault)
58
- *
59
- * @throws {@link ForbiddenException} (client fault)
60
- *
61
- * @throws {@link ValidationException} (client fault)
62
- *
63
- * @throws {@link UsersServiceException}
64
- * <p>Base exception class for all service exceptions from Users service.</p>
65
- *
66
- * @public
67
- */
68
- export declare class GetUserEmailNotificationsSettingsCommand extends GetUserEmailNotificationsSettingsCommand_base {
69
- }
@@ -1,69 +0,0 @@
1
- import { ServiceInputTypes, ServiceOutputTypes, UsersClientResolvedConfig } from "../UsersClient";
2
- import { PartialUpdateUserEmailNotificationsSettingsInput, PartialUpdateUserEmailNotificationsSettingsOutput } 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 PartialUpdateUserEmailNotificationsSettingsCommand}.
14
- */
15
- export interface PartialUpdateUserEmailNotificationsSettingsCommandInput extends PartialUpdateUserEmailNotificationsSettingsInput {
16
- }
17
- /**
18
- * @public
19
- *
20
- * The output of {@link PartialUpdateUserEmailNotificationsSettingsCommand}.
21
- */
22
- export interface PartialUpdateUserEmailNotificationsSettingsCommandOutput extends PartialUpdateUserEmailNotificationsSettingsOutput, __MetadataBearer {
23
- }
24
- declare const PartialUpdateUserEmailNotificationsSettingsCommand_base: {
25
- new (input: PartialUpdateUserEmailNotificationsSettingsCommandInput): import("@smithy/smithy-client").CommandImpl<PartialUpdateUserEmailNotificationsSettingsCommandInput, PartialUpdateUserEmailNotificationsSettingsCommandOutput, UsersClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (__0_0: PartialUpdateUserEmailNotificationsSettingsCommandInput): import("@smithy/smithy-client").CommandImpl<PartialUpdateUserEmailNotificationsSettingsCommandInput, PartialUpdateUserEmailNotificationsSettingsCommandOutput, UsersClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
- };
29
- /**
30
- * Partially update user email notifications settings
31
- * @example
32
- * Use a bare-bones client and the command you need to make an API call.
33
- * ```javascript
34
- * import { UsersClient, PartialUpdateUserEmailNotificationsSettingsCommand } from "@wildix/xbees-users-client"; // ES Modules import
35
- * // const { UsersClient, PartialUpdateUserEmailNotificationsSettingsCommand } = require("@wildix/xbees-users-client"); // CommonJS import
36
- * const client = new UsersClient(config);
37
- * const input = { // PartialUpdateUserEmailNotificationsSettingsInput
38
- * unread: true || false,
39
- * transcription: true || false,
40
- * userId: "STRING_VALUE", // required
41
- * };
42
- * const command = new PartialUpdateUserEmailNotificationsSettingsCommand(input);
43
- * const response = await client.send(command);
44
- * // { // PartialUpdateUserEmailNotificationsSettingsOutput
45
- * // notifications: { // UserEmailNotificationsSettings
46
- * // unread: true || false, // required
47
- * // transcription: true || false, // required
48
- * // },
49
- * // };
50
- *
51
- * ```
52
- *
53
- * @param PartialUpdateUserEmailNotificationsSettingsCommandInput - {@link PartialUpdateUserEmailNotificationsSettingsCommandInput}
54
- * @returns {@link PartialUpdateUserEmailNotificationsSettingsCommandOutput}
55
- * @see {@link PartialUpdateUserEmailNotificationsSettingsCommandInput} for command's `input` shape.
56
- * @see {@link PartialUpdateUserEmailNotificationsSettingsCommandOutput} for command's `response` shape.
57
- * @see {@link UsersClientResolvedConfig | config} for UsersClient's `config` shape.
58
- *
59
- * @throws {@link ForbiddenException} (client fault)
60
- *
61
- * @throws {@link ValidationException} (client fault)
62
- *
63
- * @throws {@link UsersServiceException}
64
- * <p>Base exception class for all service exceptions from Users service.</p>
65
- *
66
- * @public
67
- */
68
- export declare class PartialUpdateUserEmailNotificationsSettingsCommand extends PartialUpdateUserEmailNotificationsSettingsCommand_base {
69
- }