@wildix/xbees-users-client 1.0.27 → 1.0.28

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 CHANGED
@@ -17,8 +17,10 @@ const GetUserCommand_1 = require("./commands/GetUserCommand");
17
17
  const GetUserPbxLinkDataCommand_1 = require("./commands/GetUserPbxLinkDataCommand");
18
18
  const GetUserPbxLinkSuggestionCommand_1 = require("./commands/GetUserPbxLinkSuggestionCommand");
19
19
  const GetUserPbxLinkSuggestionV1Command_1 = require("./commands/GetUserPbxLinkSuggestionV1Command");
20
+ const GetUserSettingsCommand_1 = require("./commands/GetUserSettingsCommand");
20
21
  const ListBotApiKeysCommand_1 = require("./commands/ListBotApiKeysCommand");
21
22
  const ListBotsCommand_1 = require("./commands/ListBotsCommand");
23
+ const PartialUpdateUserSettingsCommand_1 = require("./commands/PartialUpdateUserSettingsCommand");
22
24
  const QueryColleaguesCommand_1 = require("./commands/QueryColleaguesCommand");
23
25
  const QueryUserCommand_1 = require("./commands/QueryUserCommand");
24
26
  const QueryUsersCommand_1 = require("./commands/QueryUsersCommand");
@@ -45,8 +47,10 @@ const commands = {
45
47
  GetUserPbxLinkDataCommand: GetUserPbxLinkDataCommand_1.GetUserPbxLinkDataCommand,
46
48
  GetUserPbxLinkSuggestionCommand: GetUserPbxLinkSuggestionCommand_1.GetUserPbxLinkSuggestionCommand,
47
49
  GetUserPbxLinkSuggestionV1Command: GetUserPbxLinkSuggestionV1Command_1.GetUserPbxLinkSuggestionV1Command,
50
+ GetUserSettingsCommand: GetUserSettingsCommand_1.GetUserSettingsCommand,
48
51
  ListBotApiKeysCommand: ListBotApiKeysCommand_1.ListBotApiKeysCommand,
49
52
  ListBotsCommand: ListBotsCommand_1.ListBotsCommand,
53
+ PartialUpdateUserSettingsCommand: PartialUpdateUserSettingsCommand_1.PartialUpdateUserSettingsCommand,
50
54
  QueryColleaguesCommand: QueryColleaguesCommand_1.QueryColleaguesCommand,
51
55
  QueryUserCommand: QueryUserCommand_1.QueryUserCommand,
52
56
  QueryUsersCommand: QueryUsersCommand_1.QueryUsersCommand,
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GetUserSettingsCommand = 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 GetUserSettingsCommand 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", "GetUserSettings", {})
15
+ .n("UsersClient", "GetUserSettingsCommand")
16
+ .f(void 0, void 0)
17
+ .ser(Aws_restJson1_1.se_GetUserSettingsCommand)
18
+ .de(Aws_restJson1_1.de_GetUserSettingsCommand)
19
+ .build() {
20
+ }
21
+ exports.GetUserSettingsCommand = GetUserSettingsCommand;
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PartialUpdateUserSettingsCommand = 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 PartialUpdateUserSettingsCommand 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", "PartialUpdateUserSettings", {})
15
+ .n("UsersClient", "PartialUpdateUserSettingsCommand")
16
+ .f(void 0, void 0)
17
+ .ser(Aws_restJson1_1.se_PartialUpdateUserSettingsCommand)
18
+ .de(Aws_restJson1_1.de_PartialUpdateUserSettingsCommand)
19
+ .build() {
20
+ }
21
+ exports.PartialUpdateUserSettingsCommand = PartialUpdateUserSettingsCommand;
@@ -16,8 +16,10 @@ tslib_1.__exportStar(require("./GetUserCommand"), exports);
16
16
  tslib_1.__exportStar(require("./GetUserPbxLinkDataCommand"), exports);
17
17
  tslib_1.__exportStar(require("./GetUserPbxLinkSuggestionCommand"), exports);
18
18
  tslib_1.__exportStar(require("./GetUserPbxLinkSuggestionV1Command"), exports);
19
+ tslib_1.__exportStar(require("./GetUserSettingsCommand"), exports);
19
20
  tslib_1.__exportStar(require("./ListBotApiKeysCommand"), exports);
20
21
  tslib_1.__exportStar(require("./ListBotsCommand"), exports);
22
+ tslib_1.__exportStar(require("./PartialUpdateUserSettingsCommand"), exports);
21
23
  tslib_1.__exportStar(require("./QueryColleaguesCommand"), exports);
22
24
  tslib_1.__exportStar(require("./QueryUserCommand"), exports);
23
25
  tslib_1.__exportStar(require("./QueryUsersCommand"), exports);
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.de_UploadPictureV1Command = exports.de_UploadPictureCommand = exports.de_UpdateBotCallbackCommand = exports.de_UpdateBotCommand = exports.de_QueryUsersCommand = exports.de_QueryUserCommand = exports.de_QueryColleaguesCommand = exports.de_ListBotsCommand = exports.de_ListBotApiKeysCommand = exports.de_GetUserPbxLinkSuggestionV1Command = exports.de_GetUserPbxLinkSuggestionCommand = exports.de_GetUserPbxLinkDataCommand = 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_BatchGetUsersCommand = exports.se_VerifyBotSecretKeyV1Command = exports.se_VerifyBotSecretKeyCommand = exports.se_UploadPictureV1Command = exports.se_UploadPictureCommand = exports.se_UpdateBotCallbackCommand = exports.se_UpdateBotCommand = exports.se_QueryUsersCommand = exports.se_QueryUserCommand = exports.se_QueryColleaguesCommand = exports.se_ListBotsCommand = exports.se_ListBotApiKeysCommand = exports.se_GetUserPbxLinkSuggestionV1Command = exports.se_GetUserPbxLinkSuggestionCommand = exports.se_GetUserPbxLinkDataCommand = 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_BatchGetUsersCommand = void 0;
4
- exports.de_VerifyBotSecretKeyV1Command = exports.de_VerifyBotSecretKeyCommand = void 0;
3
+ exports.de_QueryUsersCommand = exports.de_QueryUserCommand = exports.de_QueryColleaguesCommand = exports.de_PartialUpdateUserSettingsCommand = exports.de_ListBotsCommand = exports.de_ListBotApiKeysCommand = exports.de_GetUserSettingsCommand = exports.de_GetUserPbxLinkSuggestionV1Command = exports.de_GetUserPbxLinkSuggestionCommand = exports.de_GetUserPbxLinkDataCommand = 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_BatchGetUsersCommand = exports.se_VerifyBotSecretKeyV1Command = exports.se_VerifyBotSecretKeyCommand = exports.se_UploadPictureV1Command = exports.se_UploadPictureCommand = exports.se_UpdateBotCallbackCommand = exports.se_UpdateBotCommand = exports.se_QueryUsersCommand = exports.se_QueryUserCommand = exports.se_QueryColleaguesCommand = exports.se_PartialUpdateUserSettingsCommand = exports.se_ListBotsCommand = exports.se_ListBotApiKeysCommand = exports.se_GetUserSettingsCommand = exports.se_GetUserPbxLinkSuggestionV1Command = exports.se_GetUserPbxLinkSuggestionCommand = exports.se_GetUserPbxLinkDataCommand = 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_BatchGetUsersCommand = void 0;
4
+ exports.de_VerifyBotSecretKeyV1Command = exports.de_VerifyBotSecretKeyCommand = exports.de_UploadPictureV1Command = exports.de_UploadPictureCommand = exports.de_UpdateBotCallbackCommand = exports.de_UpdateBotCommand = 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");
@@ -255,6 +255,21 @@ const se_GetUserPbxLinkSuggestionV1Command = async (input, context) => {
255
255
  return b.build();
256
256
  };
257
257
  exports.se_GetUserPbxLinkSuggestionV1Command = se_GetUserPbxLinkSuggestionV1Command;
258
+ const se_GetUserSettingsCommand = async (input, context) => {
259
+ const b = (0, core_1.requestBuilder)(input, context);
260
+ const headers = {};
261
+ b.bp("/v2/users/settings");
262
+ const query = (0, smithy_client_1.map)({
263
+ [_u]: [, input[_uI]],
264
+ });
265
+ let body;
266
+ b.m("GET")
267
+ .h(headers)
268
+ .q(query)
269
+ .b(body);
270
+ return b.build();
271
+ };
272
+ exports.se_GetUserSettingsCommand = se_GetUserSettingsCommand;
258
273
  const se_ListBotApiKeysCommand = async (input, context) => {
259
274
  const b = (0, core_1.requestBuilder)(input, context);
260
275
  const headers = {};
@@ -286,6 +301,27 @@ const se_ListBotsCommand = async (input, context) => {
286
301
  return b.build();
287
302
  };
288
303
  exports.se_ListBotsCommand = se_ListBotsCommand;
304
+ const se_PartialUpdateUserSettingsCommand = async (input, context) => {
305
+ const b = (0, core_1.requestBuilder)(input, context);
306
+ const headers = {
307
+ 'content-type': 'application/json',
308
+ };
309
+ b.bp("/v2/users/settings");
310
+ const query = (0, smithy_client_1.map)({
311
+ [_t]: [, input[_t]],
312
+ });
313
+ let body;
314
+ body = JSON.stringify((0, smithy_client_1.take)(input, {
315
+ 'settings': _ => (0, smithy_client_1._json)(_),
316
+ 'userId': [],
317
+ }));
318
+ b.m("PATCH")
319
+ .h(headers)
320
+ .q(query)
321
+ .b(body);
322
+ return b.build();
323
+ };
324
+ exports.se_PartialUpdateUserSettingsCommand = se_PartialUpdateUserSettingsCommand;
289
325
  const se_QueryColleaguesCommand = async (input, context) => {
290
326
  const b = (0, core_1.requestBuilder)(input, context);
291
327
  const headers = {
@@ -666,6 +702,21 @@ const de_GetUserPbxLinkSuggestionV1Command = async (output, context) => {
666
702
  return contents;
667
703
  };
668
704
  exports.de_GetUserPbxLinkSuggestionV1Command = de_GetUserPbxLinkSuggestionV1Command;
705
+ const de_GetUserSettingsCommand = async (output, context) => {
706
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
707
+ return de_CommandError(output, context);
708
+ }
709
+ const contents = (0, smithy_client_1.map)({
710
+ $metadata: deserializeMetadata(output),
711
+ });
712
+ const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await parseBody(output.body, context))), "body");
713
+ const doc = (0, smithy_client_1.take)(data, {
714
+ 'emailNotifications': smithy_client_1._json,
715
+ });
716
+ Object.assign(contents, doc);
717
+ return contents;
718
+ };
719
+ exports.de_GetUserSettingsCommand = de_GetUserSettingsCommand;
669
720
  const de_ListBotApiKeysCommand = async (output, context) => {
670
721
  if (output.statusCode !== 200 && output.statusCode >= 300) {
671
722
  return de_CommandError(output, context);
@@ -696,6 +747,21 @@ const de_ListBotsCommand = async (output, context) => {
696
747
  return contents;
697
748
  };
698
749
  exports.de_ListBotsCommand = de_ListBotsCommand;
750
+ const de_PartialUpdateUserSettingsCommand = async (output, context) => {
751
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
752
+ return de_CommandError(output, context);
753
+ }
754
+ const contents = (0, smithy_client_1.map)({
755
+ $metadata: deserializeMetadata(output),
756
+ });
757
+ const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await parseBody(output.body, context))), "body");
758
+ const doc = (0, smithy_client_1.take)(data, {
759
+ 'emailNotifications': smithy_client_1._json,
760
+ });
761
+ Object.assign(contents, doc);
762
+ return contents;
763
+ };
764
+ exports.de_PartialUpdateUserSettingsCommand = de_PartialUpdateUserSettingsCommand;
699
765
  const de_QueryColleaguesCommand = async (output, context) => {
700
766
  if (output.statusCode !== 200 && output.statusCode >= 300) {
701
767
  return de_CommandError(output, context);
@@ -1059,6 +1125,9 @@ const isSerializableHeaderValue = (value) => value !== undefined &&
1059
1125
  (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0);
1060
1126
  const _c = "company";
1061
1127
  const _e = "email";
1128
+ const _t = "token";
1129
+ const _u = "user";
1130
+ const _uI = "userId";
1062
1131
  const parseBody = (streamBody, context) => collectBodyString(streamBody, context).then(encoded => {
1063
1132
  if (encoded.length) {
1064
1133
  return JSON.parse(encoded);
package/dist-es/Users.js CHANGED
@@ -14,8 +14,10 @@ import { GetUserCommand, } from "./commands/GetUserCommand";
14
14
  import { GetUserPbxLinkDataCommand, } from "./commands/GetUserPbxLinkDataCommand";
15
15
  import { GetUserPbxLinkSuggestionCommand, } from "./commands/GetUserPbxLinkSuggestionCommand";
16
16
  import { GetUserPbxLinkSuggestionV1Command, } from "./commands/GetUserPbxLinkSuggestionV1Command";
17
+ import { GetUserSettingsCommand, } from "./commands/GetUserSettingsCommand";
17
18
  import { ListBotApiKeysCommand, } from "./commands/ListBotApiKeysCommand";
18
19
  import { ListBotsCommand, } from "./commands/ListBotsCommand";
20
+ import { PartialUpdateUserSettingsCommand, } from "./commands/PartialUpdateUserSettingsCommand";
19
21
  import { QueryColleaguesCommand, } from "./commands/QueryColleaguesCommand";
20
22
  import { QueryUserCommand, } from "./commands/QueryUserCommand";
21
23
  import { QueryUsersCommand, } from "./commands/QueryUsersCommand";
@@ -42,8 +44,10 @@ const commands = {
42
44
  GetUserPbxLinkDataCommand,
43
45
  GetUserPbxLinkSuggestionCommand,
44
46
  GetUserPbxLinkSuggestionV1Command,
47
+ GetUserSettingsCommand,
45
48
  ListBotApiKeysCommand,
46
49
  ListBotsCommand,
50
+ PartialUpdateUserSettingsCommand,
47
51
  QueryColleaguesCommand,
48
52
  QueryUserCommand,
49
53
  QueryUsersCommand,
@@ -0,0 +1,17 @@
1
+ import { de_GetUserSettingsCommand, se_GetUserSettingsCommand, } 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 GetUserSettingsCommand extends $Command.classBuilder()
6
+ .m(function (Command, cs, config, o) {
7
+ return [
8
+ getSerdePlugin(config, this.serialize, this.deserialize),
9
+ ];
10
+ })
11
+ .s("Users", "GetUserSettings", {})
12
+ .n("UsersClient", "GetUserSettingsCommand")
13
+ .f(void 0, void 0)
14
+ .ser(se_GetUserSettingsCommand)
15
+ .de(de_GetUserSettingsCommand)
16
+ .build() {
17
+ }
@@ -0,0 +1,17 @@
1
+ import { de_PartialUpdateUserSettingsCommand, se_PartialUpdateUserSettingsCommand, } 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 PartialUpdateUserSettingsCommand extends $Command.classBuilder()
6
+ .m(function (Command, cs, config, o) {
7
+ return [
8
+ getSerdePlugin(config, this.serialize, this.deserialize),
9
+ ];
10
+ })
11
+ .s("Users", "PartialUpdateUserSettings", {})
12
+ .n("UsersClient", "PartialUpdateUserSettingsCommand")
13
+ .f(void 0, void 0)
14
+ .ser(se_PartialUpdateUserSettingsCommand)
15
+ .de(de_PartialUpdateUserSettingsCommand)
16
+ .build() {
17
+ }
@@ -13,8 +13,10 @@ export * from "./GetUserCommand";
13
13
  export * from "./GetUserPbxLinkDataCommand";
14
14
  export * from "./GetUserPbxLinkSuggestionCommand";
15
15
  export * from "./GetUserPbxLinkSuggestionV1Command";
16
+ export * from "./GetUserSettingsCommand";
16
17
  export * from "./ListBotApiKeysCommand";
17
18
  export * from "./ListBotsCommand";
19
+ export * from "./PartialUpdateUserSettingsCommand";
18
20
  export * from "./QueryColleaguesCommand";
19
21
  export * from "./QueryUserCommand";
20
22
  export * from "./QueryUsersCommand";
@@ -236,6 +236,20 @@ export const se_GetUserPbxLinkSuggestionV1Command = async (input, context) => {
236
236
  .b(body);
237
237
  return b.build();
238
238
  };
239
+ export const se_GetUserSettingsCommand = async (input, context) => {
240
+ const b = rb(input, context);
241
+ const headers = {};
242
+ b.bp("/v2/users/settings");
243
+ const query = map({
244
+ [_u]: [, input[_uI]],
245
+ });
246
+ let body;
247
+ b.m("GET")
248
+ .h(headers)
249
+ .q(query)
250
+ .b(body);
251
+ return b.build();
252
+ };
239
253
  export const se_ListBotApiKeysCommand = async (input, context) => {
240
254
  const b = rb(input, context);
241
255
  const headers = {};
@@ -265,6 +279,26 @@ export const se_ListBotsCommand = async (input, context) => {
265
279
  .b(body);
266
280
  return b.build();
267
281
  };
282
+ export const se_PartialUpdateUserSettingsCommand = async (input, context) => {
283
+ const b = rb(input, context);
284
+ const headers = {
285
+ 'content-type': 'application/json',
286
+ };
287
+ b.bp("/v2/users/settings");
288
+ const query = map({
289
+ [_t]: [, input[_t]],
290
+ });
291
+ let body;
292
+ body = JSON.stringify(take(input, {
293
+ 'settings': _ => _json(_),
294
+ 'userId': [],
295
+ }));
296
+ b.m("PATCH")
297
+ .h(headers)
298
+ .q(query)
299
+ .b(body);
300
+ return b.build();
301
+ };
268
302
  export const se_QueryColleaguesCommand = async (input, context) => {
269
303
  const b = rb(input, context);
270
304
  const headers = {
@@ -621,6 +655,20 @@ export const de_GetUserPbxLinkSuggestionV1Command = async (output, context) => {
621
655
  Object.assign(contents, doc);
622
656
  return contents;
623
657
  };
658
+ export const de_GetUserSettingsCommand = async (output, context) => {
659
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
660
+ return de_CommandError(output, context);
661
+ }
662
+ const contents = map({
663
+ $metadata: deserializeMetadata(output),
664
+ });
665
+ const data = __expectNonNull((__expectObject(await parseBody(output.body, context))), "body");
666
+ const doc = take(data, {
667
+ 'emailNotifications': _json,
668
+ });
669
+ Object.assign(contents, doc);
670
+ return contents;
671
+ };
624
672
  export const de_ListBotApiKeysCommand = async (output, context) => {
625
673
  if (output.statusCode !== 200 && output.statusCode >= 300) {
626
674
  return de_CommandError(output, context);
@@ -649,6 +697,20 @@ export const de_ListBotsCommand = async (output, context) => {
649
697
  Object.assign(contents, doc);
650
698
  return contents;
651
699
  };
700
+ export const de_PartialUpdateUserSettingsCommand = async (output, context) => {
701
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
702
+ return de_CommandError(output, context);
703
+ }
704
+ const contents = map({
705
+ $metadata: deserializeMetadata(output),
706
+ });
707
+ const data = __expectNonNull((__expectObject(await parseBody(output.body, context))), "body");
708
+ const doc = take(data, {
709
+ 'emailNotifications': _json,
710
+ });
711
+ Object.assign(contents, doc);
712
+ return contents;
713
+ };
652
714
  export const de_QueryColleaguesCommand = async (output, context) => {
653
715
  if (output.statusCode !== 200 && output.statusCode >= 300) {
654
716
  return de_CommandError(output, context);
@@ -1003,6 +1065,9 @@ const isSerializableHeaderValue = (value) => value !== undefined &&
1003
1065
  (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0);
1004
1066
  const _c = "company";
1005
1067
  const _e = "email";
1068
+ const _t = "token";
1069
+ const _u = "user";
1070
+ const _uI = "userId";
1006
1071
  const parseBody = (streamBody, context) => collectBodyString(streamBody, context).then(encoded => {
1007
1072
  if (encoded.length) {
1008
1073
  return JSON.parse(encoded);
@@ -14,8 +14,10 @@ import { GetUserCommandInput, GetUserCommandOutput } from "./commands/GetUserCom
14
14
  import { GetUserPbxLinkDataCommandInput, GetUserPbxLinkDataCommandOutput } from "./commands/GetUserPbxLinkDataCommand";
15
15
  import { GetUserPbxLinkSuggestionCommandInput, GetUserPbxLinkSuggestionCommandOutput } from "./commands/GetUserPbxLinkSuggestionCommand";
16
16
  import { GetUserPbxLinkSuggestionV1CommandInput, GetUserPbxLinkSuggestionV1CommandOutput } from "./commands/GetUserPbxLinkSuggestionV1Command";
17
+ import { GetUserSettingsCommandInput, GetUserSettingsCommandOutput } from "./commands/GetUserSettingsCommand";
17
18
  import { ListBotApiKeysCommandInput, ListBotApiKeysCommandOutput } from "./commands/ListBotApiKeysCommand";
18
19
  import { ListBotsCommandInput, ListBotsCommandOutput } from "./commands/ListBotsCommand";
20
+ import { PartialUpdateUserSettingsCommandInput, PartialUpdateUserSettingsCommandOutput } from "./commands/PartialUpdateUserSettingsCommand";
19
21
  import { QueryColleaguesCommandInput, QueryColleaguesCommandOutput } from "./commands/QueryColleaguesCommand";
20
22
  import { QueryUserCommandInput, QueryUserCommandOutput } from "./commands/QueryUserCommand";
21
23
  import { QueryUsersCommandInput, QueryUsersCommandOutput } from "./commands/QueryUsersCommand";
@@ -119,6 +121,13 @@ export interface Users {
119
121
  getUserPbxLinkSuggestionV1(args: GetUserPbxLinkSuggestionV1CommandInput, options?: __HttpHandlerOptions): Promise<GetUserPbxLinkSuggestionV1CommandOutput>;
120
122
  getUserPbxLinkSuggestionV1(args: GetUserPbxLinkSuggestionV1CommandInput, cb: (err: any, data?: GetUserPbxLinkSuggestionV1CommandOutput) => void): void;
121
123
  getUserPbxLinkSuggestionV1(args: GetUserPbxLinkSuggestionV1CommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetUserPbxLinkSuggestionV1CommandOutput) => void): void;
124
+ /**
125
+ * @see {@link GetUserSettingsCommand}
126
+ */
127
+ getUserSettings(): Promise<GetUserSettingsCommandOutput>;
128
+ getUserSettings(args: GetUserSettingsCommandInput, options?: __HttpHandlerOptions): Promise<GetUserSettingsCommandOutput>;
129
+ getUserSettings(args: GetUserSettingsCommandInput, cb: (err: any, data?: GetUserSettingsCommandOutput) => void): void;
130
+ getUserSettings(args: GetUserSettingsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetUserSettingsCommandOutput) => void): void;
122
131
  /**
123
132
  * @see {@link ListBotApiKeysCommand}
124
133
  */
@@ -132,6 +141,12 @@ export interface Users {
132
141
  listBots(args: ListBotsCommandInput, options?: __HttpHandlerOptions): Promise<ListBotsCommandOutput>;
133
142
  listBots(args: ListBotsCommandInput, cb: (err: any, data?: ListBotsCommandOutput) => void): void;
134
143
  listBots(args: ListBotsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListBotsCommandOutput) => void): void;
144
+ /**
145
+ * @see {@link PartialUpdateUserSettingsCommand}
146
+ */
147
+ partialUpdateUserSettings(args: PartialUpdateUserSettingsCommandInput, options?: __HttpHandlerOptions): Promise<PartialUpdateUserSettingsCommandOutput>;
148
+ partialUpdateUserSettings(args: PartialUpdateUserSettingsCommandInput, cb: (err: any, data?: PartialUpdateUserSettingsCommandOutput) => void): void;
149
+ partialUpdateUserSettings(args: PartialUpdateUserSettingsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PartialUpdateUserSettingsCommandOutput) => void): void;
135
150
  /**
136
151
  * @see {@link QueryColleaguesCommand}
137
152
  */
@@ -13,8 +13,10 @@ import { GetUserCommandInput, GetUserCommandOutput } from "./commands/GetUserCom
13
13
  import { GetUserPbxLinkDataCommandInput, GetUserPbxLinkDataCommandOutput } from "./commands/GetUserPbxLinkDataCommand";
14
14
  import { GetUserPbxLinkSuggestionCommandInput, GetUserPbxLinkSuggestionCommandOutput } from "./commands/GetUserPbxLinkSuggestionCommand";
15
15
  import { GetUserPbxLinkSuggestionV1CommandInput, GetUserPbxLinkSuggestionV1CommandOutput } from "./commands/GetUserPbxLinkSuggestionV1Command";
16
+ import { GetUserSettingsCommandInput, GetUserSettingsCommandOutput } from "./commands/GetUserSettingsCommand";
16
17
  import { ListBotApiKeysCommandInput, ListBotApiKeysCommandOutput } from "./commands/ListBotApiKeysCommand";
17
18
  import { ListBotsCommandInput, ListBotsCommandOutput } from "./commands/ListBotsCommand";
19
+ import { PartialUpdateUserSettingsCommandInput, PartialUpdateUserSettingsCommandOutput } from "./commands/PartialUpdateUserSettingsCommand";
18
20
  import { QueryColleaguesCommandInput, QueryColleaguesCommandOutput } from "./commands/QueryColleaguesCommand";
19
21
  import { QueryUserCommandInput, QueryUserCommandOutput } from "./commands/QueryUserCommand";
20
22
  import { QueryUsersCommandInput, QueryUsersCommandOutput } from "./commands/QueryUsersCommand";
@@ -35,11 +37,11 @@ export { __Client };
35
37
  /**
36
38
  * @public
37
39
  */
38
- export type ServiceInputTypes = BatchGetUsersCommandInput | BatchGetUsersPbxLinkDataCommandInput | BatchGetUsersPbxLinkDataV1CommandInput | ChangeUserEmailCommandInput | CreateBotApiKeyCommandInput | CreateBotCommandInput | CreateSystemBotCommandInput | DeleteBotApiKeyCommandInput | DeleteBotCommandInput | GetBotCallbackCommandInput | GetBotCommandInput | GetUserCommandInput | GetUserPbxLinkDataCommandInput | GetUserPbxLinkSuggestionCommandInput | GetUserPbxLinkSuggestionV1CommandInput | ListBotApiKeysCommandInput | ListBotsCommandInput | QueryColleaguesCommandInput | QueryUserCommandInput | QueryUsersCommandInput | UpdateBotCallbackCommandInput | UpdateBotCommandInput | UploadPictureCommandInput | UploadPictureV1CommandInput | VerifyBotSecretKeyCommandInput | VerifyBotSecretKeyV1CommandInput;
40
+ export type ServiceInputTypes = BatchGetUsersCommandInput | BatchGetUsersPbxLinkDataCommandInput | BatchGetUsersPbxLinkDataV1CommandInput | ChangeUserEmailCommandInput | CreateBotApiKeyCommandInput | CreateBotCommandInput | CreateSystemBotCommandInput | DeleteBotApiKeyCommandInput | DeleteBotCommandInput | GetBotCallbackCommandInput | GetBotCommandInput | GetUserCommandInput | GetUserPbxLinkDataCommandInput | GetUserPbxLinkSuggestionCommandInput | GetUserPbxLinkSuggestionV1CommandInput | GetUserSettingsCommandInput | ListBotApiKeysCommandInput | ListBotsCommandInput | PartialUpdateUserSettingsCommandInput | QueryColleaguesCommandInput | QueryUserCommandInput | QueryUsersCommandInput | UpdateBotCallbackCommandInput | UpdateBotCommandInput | UploadPictureCommandInput | UploadPictureV1CommandInput | VerifyBotSecretKeyCommandInput | VerifyBotSecretKeyV1CommandInput;
39
41
  /**
40
42
  * @public
41
43
  */
42
- export type ServiceOutputTypes = BatchGetUsersCommandOutput | BatchGetUsersPbxLinkDataCommandOutput | BatchGetUsersPbxLinkDataV1CommandOutput | ChangeUserEmailCommandOutput | CreateBotApiKeyCommandOutput | CreateBotCommandOutput | CreateSystemBotCommandOutput | DeleteBotApiKeyCommandOutput | DeleteBotCommandOutput | GetBotCallbackCommandOutput | GetBotCommandOutput | GetUserCommandOutput | GetUserPbxLinkDataCommandOutput | GetUserPbxLinkSuggestionCommandOutput | GetUserPbxLinkSuggestionV1CommandOutput | ListBotApiKeysCommandOutput | ListBotsCommandOutput | QueryColleaguesCommandOutput | QueryUserCommandOutput | QueryUsersCommandOutput | UpdateBotCallbackCommandOutput | UpdateBotCommandOutput | UploadPictureCommandOutput | UploadPictureV1CommandOutput | VerifyBotSecretKeyCommandOutput | VerifyBotSecretKeyV1CommandOutput;
44
+ export type ServiceOutputTypes = BatchGetUsersCommandOutput | BatchGetUsersPbxLinkDataCommandOutput | BatchGetUsersPbxLinkDataV1CommandOutput | ChangeUserEmailCommandOutput | CreateBotApiKeyCommandOutput | CreateBotCommandOutput | CreateSystemBotCommandOutput | DeleteBotApiKeyCommandOutput | DeleteBotCommandOutput | GetBotCallbackCommandOutput | GetBotCommandOutput | GetUserCommandOutput | GetUserPbxLinkDataCommandOutput | GetUserPbxLinkSuggestionCommandOutput | GetUserPbxLinkSuggestionV1CommandOutput | GetUserSettingsCommandOutput | ListBotApiKeysCommandOutput | ListBotsCommandOutput | PartialUpdateUserSettingsCommandOutput | QueryColleaguesCommandOutput | QueryUserCommandOutput | QueryUsersCommandOutput | UpdateBotCallbackCommandOutput | UpdateBotCommandOutput | UploadPictureCommandOutput | UploadPictureV1CommandOutput | VerifyBotSecretKeyCommandOutput | VerifyBotSecretKeyV1CommandOutput;
43
45
  /**
44
46
  * @public
45
47
  */
@@ -0,0 +1,69 @@
1
+ import { ServiceInputTypes, ServiceOutputTypes, UsersClientResolvedConfig } from "../UsersClient";
2
+ import { GetUserSettingsInput, GetUserSettingsOutput } 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 GetUserSettingsCommand}.
14
+ */
15
+ export interface GetUserSettingsCommandInput extends GetUserSettingsInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link GetUserSettingsCommand}.
21
+ */
22
+ export interface GetUserSettingsCommandOutput extends GetUserSettingsOutput, __MetadataBearer {
23
+ }
24
+ declare const GetUserSettingsCommand_base: {
25
+ new (input: GetUserSettingsCommandInput): import("@smithy/smithy-client").CommandImpl<GetUserSettingsCommandInput, GetUserSettingsCommandOutput, UsersClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (...[input]: [] | [GetUserSettingsCommandInput]): import("@smithy/smithy-client").CommandImpl<GetUserSettingsCommandInput, GetUserSettingsCommandOutput, UsersClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * Getting settings for the user.
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { UsersClient, GetUserSettingsCommand } from "@wildix/xbees-users-client"; // ES Modules import
35
+ * // const { UsersClient, GetUserSettingsCommand } = require("@wildix/xbees-users-client"); // CommonJS import
36
+ * const client = new UsersClient(config);
37
+ * const input = { // GetUserSettingsInput
38
+ * userId: "STRING_VALUE",
39
+ * };
40
+ * const command = new GetUserSettingsCommand(input);
41
+ * const response = await client.send(command);
42
+ * // { // GetUserSettingsOutput
43
+ * // emailNotifications: { // EmailNotificationsSettings
44
+ * // unread: true || false, // required
45
+ * // transcription: true || false, // required
46
+ * // },
47
+ * // };
48
+ *
49
+ * ```
50
+ *
51
+ * @param GetUserSettingsCommandInput - {@link GetUserSettingsCommandInput}
52
+ * @returns {@link GetUserSettingsCommandOutput}
53
+ * @see {@link GetUserSettingsCommandInput} for command's `input` shape.
54
+ * @see {@link GetUserSettingsCommandOutput} 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 GetUserSettingsCommand extends GetUserSettingsCommand_base {
69
+ }
@@ -0,0 +1,76 @@
1
+ import { ServiceInputTypes, ServiceOutputTypes, UsersClientResolvedConfig } from "../UsersClient";
2
+ import { PartialUpdateUserSettingsInput, PartialUpdateUserSettingsOutput } 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 PartialUpdateUserSettingsCommand}.
14
+ */
15
+ export interface PartialUpdateUserSettingsCommandInput extends PartialUpdateUserSettingsInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link PartialUpdateUserSettingsCommand}.
21
+ */
22
+ export interface PartialUpdateUserSettingsCommandOutput extends PartialUpdateUserSettingsOutput, __MetadataBearer {
23
+ }
24
+ declare const PartialUpdateUserSettingsCommand_base: {
25
+ new (input: PartialUpdateUserSettingsCommandInput): import("@smithy/smithy-client").CommandImpl<PartialUpdateUserSettingsCommandInput, PartialUpdateUserSettingsCommandOutput, UsersClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: PartialUpdateUserSettingsCommandInput): import("@smithy/smithy-client").CommandImpl<PartialUpdateUserSettingsCommandInput, PartialUpdateUserSettingsCommandOutput, UsersClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * Getting settings for the user.
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { UsersClient, PartialUpdateUserSettingsCommand } from "@wildix/xbees-users-client"; // ES Modules import
35
+ * // const { UsersClient, PartialUpdateUserSettingsCommand } = require("@wildix/xbees-users-client"); // CommonJS import
36
+ * const client = new UsersClient(config);
37
+ * const input = { // PartialUpdateUserSettingsInput
38
+ * userId: "STRING_VALUE",
39
+ * token: "STRING_VALUE",
40
+ * settings: { // PartialUserSettings
41
+ * emailNotifications: { // PartialEmailNotificationsSettings
42
+ * unread: true || false,
43
+ * transcription: true || false,
44
+ * },
45
+ * },
46
+ * };
47
+ * const command = new PartialUpdateUserSettingsCommand(input);
48
+ * const response = await client.send(command);
49
+ * // { // PartialUpdateUserSettingsOutput
50
+ * // emailNotifications: { // EmailNotificationsSettings
51
+ * // unread: true || false, // required
52
+ * // transcription: true || false, // required
53
+ * // },
54
+ * // };
55
+ *
56
+ * ```
57
+ *
58
+ * @param PartialUpdateUserSettingsCommandInput - {@link PartialUpdateUserSettingsCommandInput}
59
+ * @returns {@link PartialUpdateUserSettingsCommandOutput}
60
+ * @see {@link PartialUpdateUserSettingsCommandInput} for command's `input` shape.
61
+ * @see {@link PartialUpdateUserSettingsCommandOutput} for command's `response` shape.
62
+ * @see {@link UsersClientResolvedConfig | config} for UsersClient's `config` shape.
63
+ *
64
+ * @throws {@link UserNotFoundException} (client fault)
65
+ *
66
+ * @throws {@link ForbiddenException} (client fault)
67
+ *
68
+ * @throws {@link ValidationException} (client fault)
69
+ *
70
+ * @throws {@link UsersServiceException}
71
+ * <p>Base exception class for all service exceptions from Users service.</p>
72
+ *
73
+ * @public
74
+ */
75
+ export declare class PartialUpdateUserSettingsCommand extends PartialUpdateUserSettingsCommand_base {
76
+ }
@@ -13,8 +13,10 @@ export * from "./GetUserCommand";
13
13
  export * from "./GetUserPbxLinkDataCommand";
14
14
  export * from "./GetUserPbxLinkSuggestionCommand";
15
15
  export * from "./GetUserPbxLinkSuggestionV1Command";
16
+ export * from "./GetUserSettingsCommand";
16
17
  export * from "./ListBotApiKeysCommand";
17
18
  export * from "./ListBotsCommand";
19
+ export * from "./PartialUpdateUserSettingsCommand";
18
20
  export * from "./QueryColleaguesCommand";
19
21
  export * from "./QueryUserCommand";
20
22
  export * from "./QueryUsersCommand";
@@ -751,6 +751,21 @@ export interface DeleteBotApiKeyInput {
751
751
  */
752
752
  export interface DeleteBotApiKeyOutput {
753
753
  }
754
+ /**
755
+ * @public
756
+ */
757
+ export interface EmailNotificationsSettings {
758
+ /**
759
+ * Indicates whether the user wants to receive email notifications about unread messages.
760
+ * @public
761
+ */
762
+ unread: boolean;
763
+ /**
764
+ * Indicates whether the user wants to receive email notifications about AI transcription.
765
+ * @public
766
+ */
767
+ transcription: boolean;
768
+ }
754
769
  /**
755
770
  * @public
756
771
  */
@@ -864,6 +879,26 @@ export interface GetUserPbxLinkSuggestionV1Output {
864
879
  */
865
880
  suggestion?: UserPbxLinkSuggestion;
866
881
  }
882
+ /**
883
+ * @public
884
+ */
885
+ export interface GetUserSettingsInput {
886
+ /**
887
+ * The unique identifier of the user (Cloud ID, not ID of the user on PBX).
888
+ * @public
889
+ */
890
+ userId?: string;
891
+ }
892
+ /**
893
+ * @public
894
+ */
895
+ export interface GetUserSettingsOutput {
896
+ /**
897
+ * Indicates whether the user wants to receive email notifications.
898
+ * @public
899
+ */
900
+ emailNotifications?: EmailNotificationsSettings;
901
+ }
867
902
  /**
868
903
  * @public
869
904
  */
@@ -889,6 +924,53 @@ export interface ListBotsInput {
889
924
  export interface ListBotsOutput {
890
925
  bots: (Bot)[];
891
926
  }
927
+ /**
928
+ * @public
929
+ */
930
+ export interface PartialEmailNotificationsSettings {
931
+ /**
932
+ * Indicates whether the user wants to receive email notifications about unread messages.
933
+ * @public
934
+ */
935
+ unread?: boolean;
936
+ /**
937
+ * Indicates whether the user wants to receive email notifications about AI transcription.
938
+ * @public
939
+ */
940
+ transcription?: boolean;
941
+ }
942
+ /**
943
+ * @public
944
+ */
945
+ export interface PartialUserSettings {
946
+ /**
947
+ * Indicates whether the user wants to receive email notifications.
948
+ * @public
949
+ */
950
+ emailNotifications?: PartialEmailNotificationsSettings;
951
+ }
952
+ /**
953
+ * @public
954
+ */
955
+ export interface PartialUpdateUserSettingsInput {
956
+ /**
957
+ * The unique identifier of the user (Cloud ID, not ID of the user on PBX).
958
+ * @public
959
+ */
960
+ userId?: string;
961
+ /**
962
+ * Email unsubscribe token.
963
+ * @public
964
+ */
965
+ token?: string;
966
+ settings: PartialUserSettings;
967
+ }
968
+ /**
969
+ * @public
970
+ */
971
+ export interface PartialUpdateUserSettingsOutput {
972
+ emailNotifications?: EmailNotificationsSettings;
973
+ }
892
974
  /**
893
975
  * @public
894
976
  */
@@ -13,8 +13,10 @@ import { GetUserCommandInput, GetUserCommandOutput } from "../commands/GetUserCo
13
13
  import { GetUserPbxLinkDataCommandInput, GetUserPbxLinkDataCommandOutput } from "../commands/GetUserPbxLinkDataCommand";
14
14
  import { GetUserPbxLinkSuggestionCommandInput, GetUserPbxLinkSuggestionCommandOutput } from "../commands/GetUserPbxLinkSuggestionCommand";
15
15
  import { GetUserPbxLinkSuggestionV1CommandInput, GetUserPbxLinkSuggestionV1CommandOutput } from "../commands/GetUserPbxLinkSuggestionV1Command";
16
+ import { GetUserSettingsCommandInput, GetUserSettingsCommandOutput } from "../commands/GetUserSettingsCommand";
16
17
  import { ListBotApiKeysCommandInput, ListBotApiKeysCommandOutput } from "../commands/ListBotApiKeysCommand";
17
18
  import { ListBotsCommandInput, ListBotsCommandOutput } from "../commands/ListBotsCommand";
19
+ import { PartialUpdateUserSettingsCommandInput, PartialUpdateUserSettingsCommandOutput } from "../commands/PartialUpdateUserSettingsCommand";
18
20
  import { QueryColleaguesCommandInput, QueryColleaguesCommandOutput } from "../commands/QueryColleaguesCommand";
19
21
  import { QueryUserCommandInput, QueryUserCommandOutput } from "../commands/QueryUserCommand";
20
22
  import { QueryUsersCommandInput, QueryUsersCommandOutput } from "../commands/QueryUsersCommand";
@@ -86,6 +88,10 @@ export declare const se_GetUserPbxLinkSuggestionCommand: (input: GetUserPbxLinkS
86
88
  * serializeAws_restJson1GetUserPbxLinkSuggestionV1Command
87
89
  */
88
90
  export declare const se_GetUserPbxLinkSuggestionV1Command: (input: GetUserPbxLinkSuggestionV1CommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
91
+ /**
92
+ * serializeAws_restJson1GetUserSettingsCommand
93
+ */
94
+ export declare const se_GetUserSettingsCommand: (input: GetUserSettingsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
89
95
  /**
90
96
  * serializeAws_restJson1ListBotApiKeysCommand
91
97
  */
@@ -94,6 +100,10 @@ export declare const se_ListBotApiKeysCommand: (input: ListBotApiKeysCommandInpu
94
100
  * serializeAws_restJson1ListBotsCommand
95
101
  */
96
102
  export declare const se_ListBotsCommand: (input: ListBotsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
103
+ /**
104
+ * serializeAws_restJson1PartialUpdateUserSettingsCommand
105
+ */
106
+ export declare const se_PartialUpdateUserSettingsCommand: (input: PartialUpdateUserSettingsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
97
107
  /**
98
108
  * serializeAws_restJson1QueryColleaguesCommand
99
109
  */
@@ -190,6 +200,10 @@ export declare const de_GetUserPbxLinkSuggestionCommand: (output: __HttpResponse
190
200
  * deserializeAws_restJson1GetUserPbxLinkSuggestionV1Command
191
201
  */
192
202
  export declare const de_GetUserPbxLinkSuggestionV1Command: (output: __HttpResponse, context: __SerdeContext) => Promise<GetUserPbxLinkSuggestionV1CommandOutput>;
203
+ /**
204
+ * deserializeAws_restJson1GetUserSettingsCommand
205
+ */
206
+ export declare const de_GetUserSettingsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetUserSettingsCommandOutput>;
193
207
  /**
194
208
  * deserializeAws_restJson1ListBotApiKeysCommand
195
209
  */
@@ -198,6 +212,10 @@ export declare const de_ListBotApiKeysCommand: (output: __HttpResponse, context:
198
212
  * deserializeAws_restJson1ListBotsCommand
199
213
  */
200
214
  export declare const de_ListBotsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListBotsCommandOutput>;
215
+ /**
216
+ * deserializeAws_restJson1PartialUpdateUserSettingsCommand
217
+ */
218
+ export declare const de_PartialUpdateUserSettingsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<PartialUpdateUserSettingsCommandOutput>;
201
219
  /**
202
220
  * deserializeAws_restJson1QueryColleaguesCommand
203
221
  */
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.27",
4
+ "version": "1.0.28",
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",