@wildix/xbees-users-client 1.0.50 → 1.0.52

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
@@ -12,6 +12,7 @@ const CreateBotCommand_1 = require("./commands/CreateBotCommand");
12
12
  const CreateSystemBotCommand_1 = require("./commands/CreateSystemBotCommand");
13
13
  const DeleteBotApiKeyCommand_1 = require("./commands/DeleteBotApiKeyCommand");
14
14
  const DeleteBotCommand_1 = require("./commands/DeleteBotCommand");
15
+ const GetAppVersionCommand_1 = require("./commands/GetAppVersionCommand");
15
16
  const GetBotCallbackCommand_1 = require("./commands/GetBotCallbackCommand");
16
17
  const GetBotCommand_1 = require("./commands/GetBotCommand");
17
18
  const GetUserCommand_1 = require("./commands/GetUserCommand");
@@ -47,6 +48,7 @@ const commands = {
47
48
  CreateSystemBotCommand: CreateSystemBotCommand_1.CreateSystemBotCommand,
48
49
  DeleteBotCommand: DeleteBotCommand_1.DeleteBotCommand,
49
50
  DeleteBotApiKeyCommand: DeleteBotApiKeyCommand_1.DeleteBotApiKeyCommand,
51
+ GetAppVersionCommand: GetAppVersionCommand_1.GetAppVersionCommand,
50
52
  GetBotCommand: GetBotCommand_1.GetBotCommand,
51
53
  GetBotCallbackCommand: GetBotCallbackCommand_1.GetBotCallbackCommand,
52
54
  GetUserCommand: GetUserCommand_1.GetUserCommand,
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GetAppVersionCommand = 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 GetAppVersionCommand 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", "GetAppVersion", {})
15
+ .n("UsersClient", "GetAppVersionCommand")
16
+ .f(void 0, void 0)
17
+ .ser(Aws_restJson1_1.se_GetAppVersionCommand)
18
+ .de(Aws_restJson1_1.de_GetAppVersionCommand)
19
+ .build() {
20
+ }
21
+ exports.GetAppVersionCommand = GetAppVersionCommand;
@@ -11,6 +11,7 @@ tslib_1.__exportStar(require("./CreateBotApiKeyCommand"), exports);
11
11
  tslib_1.__exportStar(require("./CreateSystemBotCommand"), exports);
12
12
  tslib_1.__exportStar(require("./DeleteBotCommand"), exports);
13
13
  tslib_1.__exportStar(require("./DeleteBotApiKeyCommand"), exports);
14
+ tslib_1.__exportStar(require("./GetAppVersionCommand"), exports);
14
15
  tslib_1.__exportStar(require("./GetBotCommand"), exports);
15
16
  tslib_1.__exportStar(require("./GetBotCallbackCommand"), exports);
16
17
  tslib_1.__exportStar(require("./GetUserCommand"), exports);
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.UserQueryPredicateNotMetException = exports.UserQuery = exports.UserNotFoundException = exports.UserCompanyNotValidException = exports.BotSecretKeyNotValidException = exports.BotNotFoundException = exports.BotEndpoint = exports.BotLlmToolType = exports.BotLlmFunctionIntegration = exports.BotLlmFunctionIntegrationMethod = exports.BotLlmFunctionIntegrationWebhookAuthorization = exports.BotLlmEmbeddedToolType = exports.BotCapability = exports.BotToolVariableHandler = exports.BotCapabilityToolPipelineType = exports.BotApiKeyNotFoundException = exports.BotIntegrationType = exports.BotAccess = exports.PbxColleaguesSearchStrategy = exports.PbxColleaguesQueryField = exports.GetPbxColleaguesDir = exports.PbxColleagueRole = exports.PbxLicenseType = exports.ValidationException = exports.ForbiddenException = void 0;
3
+ exports.UserQueryPredicateNotMetException = exports.UserQuery = exports.UserNotFoundException = exports.UserCompanyNotValidException = exports.BotSecretKeyNotValidException = exports.BotNotFoundException = exports.BotEndpoint = exports.BotLlmToolType = exports.BotLlmFunctionIntegration = exports.BotLlmFunctionIntegrationMethod = exports.BotLlmFunctionIntegrationWebhookAuthorization = exports.BotLlmEmbeddedToolType = exports.BotCapability = exports.BotToolVariableHandler = exports.BotCapabilityToolPipelineType = exports.BotApiKeyNotFoundException = exports.BotIntegrationType = exports.BotAccess = exports.AppType = exports.PbxColleaguesSearchStrategy = exports.PbxColleaguesQueryField = exports.GetPbxColleaguesDir = exports.PbxColleagueRole = exports.PbxLicenseType = exports.ValidationException = exports.ForbiddenException = void 0;
4
4
  const UsersServiceException_1 = require("./UsersServiceException");
5
5
  class ForbiddenException extends UsersServiceException_1.UsersServiceException {
6
6
  name = "ForbiddenException";
@@ -69,6 +69,11 @@ exports.PbxColleaguesSearchStrategy = {
69
69
  CONTAIN: "contain",
70
70
  STARTS_WITH: "startsWith",
71
71
  };
72
+ exports.AppType = {
73
+ COLLABORATION: "collaboration",
74
+ XBEES: "xbees",
75
+ XHOPPERS: "xhoppers",
76
+ };
72
77
  exports.BotAccess = {
73
78
  EVERYBODY: "EVERYBODY",
74
79
  ORGANIZATION: "ORGANIZATION",
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.de_GetUserPbxLinkSuggestionV1Command = exports.de_GetUserPbxLinkSuggestionCommand = exports.de_GetUserPbxLinkDataCommand = exports.de_GetUserEmailNotificationsSettingsCommand = exports.de_GetUserCommand = exports.de_GetBotCallbackCommand = exports.de_GetBotCommand = exports.de_DeleteBotApiKeyCommand = exports.de_DeleteBotCommand = exports.de_CreateSystemBotCommand = exports.de_CreateBotApiKeyCommand = exports.de_CreateBotCommand = exports.de_ChangeUserEmailCommand = exports.de_BatchGetUsersPbxLinkDataV1Command = exports.de_BatchGetUsersPbxLinkDataCommand = exports.de_BatchGetUsersEmailNotificationsSettingsCommand = exports.de_BatchGetUsersCommand = exports.se_VerifyBotSecretKeyV1Command = exports.se_VerifyBotSecretKeyCommand = exports.se_UploadPictureV1Command = exports.se_UploadPictureCommand = exports.se_UpdateUserEmailNotificationsSettingsCommand = exports.se_UpdateBotCallbackCommand = exports.se_UpdateBotCommand = exports.se_ToggleUnreadEmailNotificationsSubscriptionCommand = exports.se_ToggleTranscriptionEmailNotificationsSubscriptionCommand = exports.se_QueryUsersCommand = exports.se_QueryUserCommand = exports.se_QueryColleaguesCommand = exports.se_PartialUpdateUserEmailNotificationsSettingsCommand = exports.se_ListBotsCommand = exports.se_ListBotApiKeysCommand = exports.se_IntelligenceSearchCommand = exports.se_GetUserPbxLinkSuggestionV1Command = exports.se_GetUserPbxLinkSuggestionCommand = exports.se_GetUserPbxLinkDataCommand = exports.se_GetUserEmailNotificationsSettingsCommand = exports.se_GetUserCommand = exports.se_GetBotCallbackCommand = exports.se_GetBotCommand = exports.se_DeleteBotApiKeyCommand = exports.se_DeleteBotCommand = exports.se_CreateSystemBotCommand = exports.se_CreateBotApiKeyCommand = exports.se_CreateBotCommand = exports.se_ChangeUserEmailCommand = exports.se_BatchGetUsersPbxLinkDataV1Command = exports.se_BatchGetUsersPbxLinkDataCommand = exports.se_BatchGetUsersEmailNotificationsSettingsCommand = exports.se_BatchGetUsersCommand = void 0;
4
- exports.de_VerifyBotSecretKeyV1Command = exports.de_VerifyBotSecretKeyCommand = exports.de_UploadPictureV1Command = exports.de_UploadPictureCommand = exports.de_UpdateUserEmailNotificationsSettingsCommand = exports.de_UpdateBotCallbackCommand = exports.de_UpdateBotCommand = exports.de_ToggleUnreadEmailNotificationsSubscriptionCommand = exports.de_ToggleTranscriptionEmailNotificationsSubscriptionCommand = exports.de_QueryUsersCommand = exports.de_QueryUserCommand = exports.de_QueryColleaguesCommand = exports.de_PartialUpdateUserEmailNotificationsSettingsCommand = exports.de_ListBotsCommand = exports.de_ListBotApiKeysCommand = exports.de_IntelligenceSearchCommand = void 0;
3
+ exports.de_GetUserPbxLinkDataCommand = exports.de_GetUserEmailNotificationsSettingsCommand = exports.de_GetUserCommand = exports.de_GetBotCallbackCommand = exports.de_GetBotCommand = exports.de_GetAppVersionCommand = exports.de_DeleteBotApiKeyCommand = exports.de_DeleteBotCommand = exports.de_CreateSystemBotCommand = exports.de_CreateBotApiKeyCommand = exports.de_CreateBotCommand = exports.de_ChangeUserEmailCommand = exports.de_BatchGetUsersPbxLinkDataV1Command = exports.de_BatchGetUsersPbxLinkDataCommand = exports.de_BatchGetUsersEmailNotificationsSettingsCommand = exports.de_BatchGetUsersCommand = exports.se_VerifyBotSecretKeyV1Command = exports.se_VerifyBotSecretKeyCommand = exports.se_UploadPictureV1Command = exports.se_UploadPictureCommand = exports.se_UpdateUserEmailNotificationsSettingsCommand = exports.se_UpdateBotCallbackCommand = exports.se_UpdateBotCommand = exports.se_ToggleUnreadEmailNotificationsSubscriptionCommand = exports.se_ToggleTranscriptionEmailNotificationsSubscriptionCommand = exports.se_QueryUsersCommand = exports.se_QueryUserCommand = exports.se_QueryColleaguesCommand = exports.se_PartialUpdateUserEmailNotificationsSettingsCommand = exports.se_ListBotsCommand = exports.se_ListBotApiKeysCommand = exports.se_IntelligenceSearchCommand = exports.se_GetUserPbxLinkSuggestionV1Command = exports.se_GetUserPbxLinkSuggestionCommand = exports.se_GetUserPbxLinkDataCommand = exports.se_GetUserEmailNotificationsSettingsCommand = exports.se_GetUserCommand = exports.se_GetBotCallbackCommand = exports.se_GetBotCommand = exports.se_GetAppVersionCommand = exports.se_DeleteBotApiKeyCommand = exports.se_DeleteBotCommand = exports.se_CreateSystemBotCommand = exports.se_CreateBotApiKeyCommand = exports.se_CreateBotCommand = exports.se_ChangeUserEmailCommand = exports.se_BatchGetUsersPbxLinkDataV1Command = exports.se_BatchGetUsersPbxLinkDataCommand = exports.se_BatchGetUsersEmailNotificationsSettingsCommand = exports.se_BatchGetUsersCommand = void 0;
4
+ exports.de_VerifyBotSecretKeyV1Command = exports.de_VerifyBotSecretKeyCommand = exports.de_UploadPictureV1Command = exports.de_UploadPictureCommand = exports.de_UpdateUserEmailNotificationsSettingsCommand = exports.de_UpdateBotCallbackCommand = exports.de_UpdateBotCommand = exports.de_ToggleUnreadEmailNotificationsSubscriptionCommand = exports.de_ToggleTranscriptionEmailNotificationsSubscriptionCommand = exports.de_QueryUsersCommand = exports.de_QueryUserCommand = exports.de_QueryColleaguesCommand = exports.de_PartialUpdateUserEmailNotificationsSettingsCommand = exports.de_ListBotsCommand = exports.de_ListBotApiKeysCommand = exports.de_IntelligenceSearchCommand = exports.de_GetUserPbxLinkSuggestionV1Command = exports.de_GetUserPbxLinkSuggestionCommand = 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("@aws-sdk/core");
@@ -188,6 +188,21 @@ const se_DeleteBotApiKeyCommand = async (input, context) => {
188
188
  return b.build();
189
189
  };
190
190
  exports.se_DeleteBotApiKeyCommand = se_DeleteBotApiKeyCommand;
191
+ const se_GetAppVersionCommand = async (input, context) => {
192
+ const b = (0, core_2.requestBuilder)(input, context);
193
+ const headers = {};
194
+ b.bp("/v2/users/app-version");
195
+ const query = (0, smithy_client_1.map)({
196
+ [_aT]: [, (0, smithy_client_1.expectNonNull)(input[_aT], `appType`)],
197
+ });
198
+ let body;
199
+ b.m("GET")
200
+ .h(headers)
201
+ .q(query)
202
+ .b(body);
203
+ return b.build();
204
+ };
205
+ exports.se_GetAppVersionCommand = se_GetAppVersionCommand;
191
206
  const se_GetBotCommand = async (input, context) => {
192
207
  const b = (0, core_2.requestBuilder)(input, context);
193
208
  const headers = {};
@@ -712,6 +727,21 @@ const de_DeleteBotApiKeyCommand = async (output, context) => {
712
727
  return contents;
713
728
  };
714
729
  exports.de_DeleteBotApiKeyCommand = de_DeleteBotApiKeyCommand;
730
+ const de_GetAppVersionCommand = async (output, context) => {
731
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
732
+ return de_CommandError(output, context);
733
+ }
734
+ const contents = (0, smithy_client_1.map)({
735
+ $metadata: deserializeMetadata(output),
736
+ });
737
+ const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
738
+ const doc = (0, smithy_client_1.take)(data, {
739
+ 'version': smithy_client_1.expectString,
740
+ });
741
+ Object.assign(contents, doc);
742
+ return contents;
743
+ };
744
+ exports.de_GetAppVersionCommand = de_GetAppVersionCommand;
715
745
  const de_GetBotCommand = async (output, context) => {
716
746
  if (output.statusCode !== 200 && output.statusCode >= 300) {
717
747
  return de_CommandError(output, context);
@@ -1240,6 +1270,7 @@ const se_BotLlmEndpoint = (input, context) => {
1240
1270
  return (0, smithy_client_1.take)(input, {
1241
1271
  'capabilities': smithy_client_1._json,
1242
1272
  'embeddedTools': _ => se_BotLlmEmbeddedToolsList(_, context),
1273
+ 'guidelines': smithy_client_1._json,
1243
1274
  'model': [],
1244
1275
  'prompt': [],
1245
1276
  'tools': _ => se_BotLlmToolsList(_, context),
@@ -1342,6 +1373,7 @@ const de_BotLlmEndpoint = (output, context) => {
1342
1373
  return (0, smithy_client_1.take)(output, {
1343
1374
  'capabilities': smithy_client_1._json,
1344
1375
  'embeddedTools': (_) => de_BotLlmEmbeddedToolsList(_, context),
1376
+ 'guidelines': smithy_client_1._json,
1345
1377
  'model': smithy_client_1.expectString,
1346
1378
  'prompt': smithy_client_1.expectString,
1347
1379
  'tools': (_) => de_BotLlmToolsList(_, context),
@@ -1393,6 +1425,7 @@ const deserializeMetadata = (output) => ({
1393
1425
  cfId: output.headers["x-amz-cf-id"],
1394
1426
  });
1395
1427
  const collectBodyString = (streamBody, context) => (0, smithy_client_1.collectBody)(streamBody, context).then(body => context.utf8Encoder(body));
1428
+ const _aT = "appType";
1396
1429
  const _c = "company";
1397
1430
  const _e = "email";
1398
1431
  const _eE = "excludeExtension";
package/dist-es/Users.js CHANGED
@@ -9,6 +9,7 @@ import { CreateBotCommand, } from "./commands/CreateBotCommand";
9
9
  import { CreateSystemBotCommand, } from "./commands/CreateSystemBotCommand";
10
10
  import { DeleteBotApiKeyCommand, } from "./commands/DeleteBotApiKeyCommand";
11
11
  import { DeleteBotCommand, } from "./commands/DeleteBotCommand";
12
+ import { GetAppVersionCommand, } from "./commands/GetAppVersionCommand";
12
13
  import { GetBotCallbackCommand, } from "./commands/GetBotCallbackCommand";
13
14
  import { GetBotCommand, } from "./commands/GetBotCommand";
14
15
  import { GetUserCommand, } from "./commands/GetUserCommand";
@@ -44,6 +45,7 @@ const commands = {
44
45
  CreateSystemBotCommand,
45
46
  DeleteBotCommand,
46
47
  DeleteBotApiKeyCommand,
48
+ GetAppVersionCommand,
47
49
  GetBotCommand,
48
50
  GetBotCallbackCommand,
49
51
  GetUserCommand,
@@ -0,0 +1,17 @@
1
+ import { de_GetAppVersionCommand, se_GetAppVersionCommand, } 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 GetAppVersionCommand extends $Command.classBuilder()
6
+ .m(function (Command, cs, config, o) {
7
+ return [
8
+ getSerdePlugin(config, this.serialize, this.deserialize),
9
+ ];
10
+ })
11
+ .s("Users", "GetAppVersion", {})
12
+ .n("UsersClient", "GetAppVersionCommand")
13
+ .f(void 0, void 0)
14
+ .ser(se_GetAppVersionCommand)
15
+ .de(de_GetAppVersionCommand)
16
+ .build() {
17
+ }
@@ -8,6 +8,7 @@ export * from "./CreateBotApiKeyCommand";
8
8
  export * from "./CreateSystemBotCommand";
9
9
  export * from "./DeleteBotCommand";
10
10
  export * from "./DeleteBotApiKeyCommand";
11
+ export * from "./GetAppVersionCommand";
11
12
  export * from "./GetBotCommand";
12
13
  export * from "./GetBotCallbackCommand";
13
14
  export * from "./GetUserCommand";
@@ -64,6 +64,11 @@ export const PbxColleaguesSearchStrategy = {
64
64
  CONTAIN: "contain",
65
65
  STARTS_WITH: "startsWith",
66
66
  };
67
+ export const AppType = {
68
+ COLLABORATION: "collaboration",
69
+ XBEES: "xbees",
70
+ XHOPPERS: "xhoppers",
71
+ };
67
72
  export const BotAccess = {
68
73
  EVERYBODY: "EVERYBODY",
69
74
  ORGANIZATION: "ORGANIZATION",
@@ -174,6 +174,20 @@ export const se_DeleteBotApiKeyCommand = async (input, context) => {
174
174
  .b(body);
175
175
  return b.build();
176
176
  };
177
+ export const se_GetAppVersionCommand = async (input, context) => {
178
+ const b = rb(input, context);
179
+ const headers = {};
180
+ b.bp("/v2/users/app-version");
181
+ const query = map({
182
+ [_aT]: [, __expectNonNull(input[_aT], `appType`)],
183
+ });
184
+ let body;
185
+ b.m("GET")
186
+ .h(headers)
187
+ .q(query)
188
+ .b(body);
189
+ return b.build();
190
+ };
177
191
  export const se_GetBotCommand = async (input, context) => {
178
192
  const b = rb(input, context);
179
193
  const headers = {};
@@ -665,6 +679,20 @@ export const de_DeleteBotApiKeyCommand = async (output, context) => {
665
679
  await collectBody(output.body, context);
666
680
  return contents;
667
681
  };
682
+ export const de_GetAppVersionCommand = async (output, context) => {
683
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
684
+ return de_CommandError(output, context);
685
+ }
686
+ const contents = map({
687
+ $metadata: deserializeMetadata(output),
688
+ });
689
+ const data = __expectNonNull((__expectObject(await parseBody(output.body, context))), "body");
690
+ const doc = take(data, {
691
+ 'version': __expectString,
692
+ });
693
+ Object.assign(contents, doc);
694
+ return contents;
695
+ };
668
696
  export const de_GetBotCommand = async (output, context) => {
669
697
  if (output.statusCode !== 200 && output.statusCode >= 300) {
670
698
  return de_CommandError(output, context);
@@ -1170,6 +1198,7 @@ const se_BotLlmEndpoint = (input, context) => {
1170
1198
  return take(input, {
1171
1199
  'capabilities': _json,
1172
1200
  'embeddedTools': _ => se_BotLlmEmbeddedToolsList(_, context),
1201
+ 'guidelines': _json,
1173
1202
  'model': [],
1174
1203
  'prompt': [],
1175
1204
  'tools': _ => se_BotLlmToolsList(_, context),
@@ -1272,6 +1301,7 @@ const de_BotLlmEndpoint = (output, context) => {
1272
1301
  return take(output, {
1273
1302
  'capabilities': _json,
1274
1303
  'embeddedTools': (_) => de_BotLlmEmbeddedToolsList(_, context),
1304
+ 'guidelines': _json,
1275
1305
  'model': __expectString,
1276
1306
  'prompt': __expectString,
1277
1307
  'tools': (_) => de_BotLlmToolsList(_, context),
@@ -1323,6 +1353,7 @@ const deserializeMetadata = (output) => ({
1323
1353
  cfId: output.headers["x-amz-cf-id"],
1324
1354
  });
1325
1355
  const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then(body => context.utf8Encoder(body));
1356
+ const _aT = "appType";
1326
1357
  const _c = "company";
1327
1358
  const _e = "email";
1328
1359
  const _eE = "excludeExtension";
@@ -9,6 +9,7 @@ import { CreateBotCommandInput, CreateBotCommandOutput } from "./commands/Create
9
9
  import { CreateSystemBotCommandInput, CreateSystemBotCommandOutput } from "./commands/CreateSystemBotCommand";
10
10
  import { DeleteBotApiKeyCommandInput, DeleteBotApiKeyCommandOutput } from "./commands/DeleteBotApiKeyCommand";
11
11
  import { DeleteBotCommandInput, DeleteBotCommandOutput } from "./commands/DeleteBotCommand";
12
+ import { GetAppVersionCommandInput, GetAppVersionCommandOutput } from "./commands/GetAppVersionCommand";
12
13
  import { GetBotCallbackCommandInput, GetBotCallbackCommandOutput } from "./commands/GetBotCallbackCommand";
13
14
  import { GetBotCommandInput, GetBotCommandOutput } from "./commands/GetBotCommand";
14
15
  import { GetUserCommandInput, GetUserCommandOutput } from "./commands/GetUserCommand";
@@ -94,6 +95,12 @@ export interface Users {
94
95
  deleteBotApiKey(args: DeleteBotApiKeyCommandInput, options?: __HttpHandlerOptions): Promise<DeleteBotApiKeyCommandOutput>;
95
96
  deleteBotApiKey(args: DeleteBotApiKeyCommandInput, cb: (err: any, data?: DeleteBotApiKeyCommandOutput) => void): void;
96
97
  deleteBotApiKey(args: DeleteBotApiKeyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteBotApiKeyCommandOutput) => void): void;
98
+ /**
99
+ * @see {@link GetAppVersionCommand}
100
+ */
101
+ getAppVersion(args: GetAppVersionCommandInput, options?: __HttpHandlerOptions): Promise<GetAppVersionCommandOutput>;
102
+ getAppVersion(args: GetAppVersionCommandInput, cb: (err: any, data?: GetAppVersionCommandOutput) => void): void;
103
+ getAppVersion(args: GetAppVersionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetAppVersionCommandOutput) => void): void;
97
104
  /**
98
105
  * @see {@link GetBotCommand}
99
106
  */
@@ -8,6 +8,7 @@ import { CreateBotCommandInput, CreateBotCommandOutput } from "./commands/Create
8
8
  import { CreateSystemBotCommandInput, CreateSystemBotCommandOutput } from "./commands/CreateSystemBotCommand";
9
9
  import { DeleteBotApiKeyCommandInput, DeleteBotApiKeyCommandOutput } from "./commands/DeleteBotApiKeyCommand";
10
10
  import { DeleteBotCommandInput, DeleteBotCommandOutput } from "./commands/DeleteBotCommand";
11
+ import { GetAppVersionCommandInput, GetAppVersionCommandOutput } from "./commands/GetAppVersionCommand";
11
12
  import { GetBotCallbackCommandInput, GetBotCallbackCommandOutput } from "./commands/GetBotCallbackCommand";
12
13
  import { GetBotCommandInput, GetBotCommandOutput } from "./commands/GetBotCommand";
13
14
  import { GetUserCommandInput, GetUserCommandOutput } from "./commands/GetUserCommand";
@@ -42,11 +43,11 @@ export { __Client };
42
43
  /**
43
44
  * @public
44
45
  */
45
- export type ServiceInputTypes = BatchGetUsersCommandInput | BatchGetUsersEmailNotificationsSettingsCommandInput | BatchGetUsersPbxLinkDataCommandInput | BatchGetUsersPbxLinkDataV1CommandInput | ChangeUserEmailCommandInput | CreateBotApiKeyCommandInput | CreateBotCommandInput | CreateSystemBotCommandInput | DeleteBotApiKeyCommandInput | DeleteBotCommandInput | GetBotCallbackCommandInput | GetBotCommandInput | GetUserCommandInput | GetUserEmailNotificationsSettingsCommandInput | GetUserPbxLinkDataCommandInput | GetUserPbxLinkSuggestionCommandInput | GetUserPbxLinkSuggestionV1CommandInput | IntelligenceSearchCommandInput | ListBotApiKeysCommandInput | ListBotsCommandInput | PartialUpdateUserEmailNotificationsSettingsCommandInput | QueryColleaguesCommandInput | QueryUserCommandInput | QueryUsersCommandInput | ToggleTranscriptionEmailNotificationsSubscriptionCommandInput | ToggleUnreadEmailNotificationsSubscriptionCommandInput | UpdateBotCallbackCommandInput | UpdateBotCommandInput | UpdateUserEmailNotificationsSettingsCommandInput | UploadPictureCommandInput | UploadPictureV1CommandInput | VerifyBotSecretKeyCommandInput | VerifyBotSecretKeyV1CommandInput;
46
+ export type ServiceInputTypes = BatchGetUsersCommandInput | BatchGetUsersEmailNotificationsSettingsCommandInput | BatchGetUsersPbxLinkDataCommandInput | BatchGetUsersPbxLinkDataV1CommandInput | ChangeUserEmailCommandInput | CreateBotApiKeyCommandInput | CreateBotCommandInput | CreateSystemBotCommandInput | DeleteBotApiKeyCommandInput | DeleteBotCommandInput | GetAppVersionCommandInput | GetBotCallbackCommandInput | GetBotCommandInput | GetUserCommandInput | GetUserEmailNotificationsSettingsCommandInput | GetUserPbxLinkDataCommandInput | GetUserPbxLinkSuggestionCommandInput | GetUserPbxLinkSuggestionV1CommandInput | IntelligenceSearchCommandInput | ListBotApiKeysCommandInput | ListBotsCommandInput | PartialUpdateUserEmailNotificationsSettingsCommandInput | QueryColleaguesCommandInput | QueryUserCommandInput | QueryUsersCommandInput | ToggleTranscriptionEmailNotificationsSubscriptionCommandInput | ToggleUnreadEmailNotificationsSubscriptionCommandInput | UpdateBotCallbackCommandInput | UpdateBotCommandInput | UpdateUserEmailNotificationsSettingsCommandInput | UploadPictureCommandInput | UploadPictureV1CommandInput | VerifyBotSecretKeyCommandInput | VerifyBotSecretKeyV1CommandInput;
46
47
  /**
47
48
  * @public
48
49
  */
49
- export type ServiceOutputTypes = BatchGetUsersCommandOutput | BatchGetUsersEmailNotificationsSettingsCommandOutput | BatchGetUsersPbxLinkDataCommandOutput | BatchGetUsersPbxLinkDataV1CommandOutput | ChangeUserEmailCommandOutput | CreateBotApiKeyCommandOutput | CreateBotCommandOutput | CreateSystemBotCommandOutput | DeleteBotApiKeyCommandOutput | DeleteBotCommandOutput | GetBotCallbackCommandOutput | GetBotCommandOutput | GetUserCommandOutput | GetUserEmailNotificationsSettingsCommandOutput | GetUserPbxLinkDataCommandOutput | GetUserPbxLinkSuggestionCommandOutput | GetUserPbxLinkSuggestionV1CommandOutput | IntelligenceSearchCommandOutput | ListBotApiKeysCommandOutput | ListBotsCommandOutput | PartialUpdateUserEmailNotificationsSettingsCommandOutput | QueryColleaguesCommandOutput | QueryUserCommandOutput | QueryUsersCommandOutput | ToggleTranscriptionEmailNotificationsSubscriptionCommandOutput | ToggleUnreadEmailNotificationsSubscriptionCommandOutput | UpdateBotCallbackCommandOutput | UpdateBotCommandOutput | UpdateUserEmailNotificationsSettingsCommandOutput | UploadPictureCommandOutput | UploadPictureV1CommandOutput | VerifyBotSecretKeyCommandOutput | VerifyBotSecretKeyV1CommandOutput;
50
+ export type ServiceOutputTypes = BatchGetUsersCommandOutput | BatchGetUsersEmailNotificationsSettingsCommandOutput | BatchGetUsersPbxLinkDataCommandOutput | BatchGetUsersPbxLinkDataV1CommandOutput | ChangeUserEmailCommandOutput | CreateBotApiKeyCommandOutput | CreateBotCommandOutput | CreateSystemBotCommandOutput | DeleteBotApiKeyCommandOutput | DeleteBotCommandOutput | GetAppVersionCommandOutput | GetBotCallbackCommandOutput | GetBotCommandOutput | GetUserCommandOutput | GetUserEmailNotificationsSettingsCommandOutput | GetUserPbxLinkDataCommandOutput | GetUserPbxLinkSuggestionCommandOutput | GetUserPbxLinkSuggestionV1CommandOutput | IntelligenceSearchCommandOutput | ListBotApiKeysCommandOutput | ListBotsCommandOutput | PartialUpdateUserEmailNotificationsSettingsCommandOutput | QueryColleaguesCommandOutput | QueryUserCommandOutput | QueryUsersCommandOutput | ToggleTranscriptionEmailNotificationsSubscriptionCommandOutput | ToggleUnreadEmailNotificationsSubscriptionCommandOutput | UpdateBotCallbackCommandOutput | UpdateBotCommandOutput | UpdateUserEmailNotificationsSettingsCommandOutput | UploadPictureCommandOutput | UploadPictureV1CommandOutput | VerifyBotSecretKeyCommandOutput | VerifyBotSecretKeyV1CommandOutput;
50
51
  /**
51
52
  * @public
52
53
  */
@@ -45,6 +45,9 @@ declare const CreateBotCommand_base: {
45
45
  * endpoint: { // BotEndpoint Union: only one key present
46
46
  * llm: { // BotLlmEndpoint
47
47
  * prompt: "STRING_VALUE", // required
48
+ * guidelines: [ // AgentGuidelinesList
49
+ * "STRING_VALUE",
50
+ * ],
48
51
  * model: "STRING_VALUE",
49
52
  * embeddedTools: [ // BotLlmEmbeddedToolsList
50
53
  * { // BotLlmEmbeddedTool
@@ -0,0 +1,76 @@
1
+ import { ServiceInputTypes, ServiceOutputTypes, UsersClientResolvedConfig } from "../UsersClient";
2
+ import { GetAppVersionInput, GetAppVersionOutput } 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 GetAppVersionCommand}.
14
+ */
15
+ export interface GetAppVersionCommandInput extends GetAppVersionInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link GetAppVersionCommand}.
21
+ */
22
+ export interface GetAppVersionCommandOutput extends GetAppVersionOutput, __MetadataBearer {
23
+ }
24
+ declare const GetAppVersionCommand_base: {
25
+ new (input: GetAppVersionCommandInput): import("@smithy/smithy-client").CommandImpl<GetAppVersionCommandInput, GetAppVersionCommandOutput, UsersClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: GetAppVersionCommandInput): import("@smithy/smithy-client").CommandImpl<GetAppVersionCommandInput, GetAppVersionCommandOutput, UsersClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * Returns an actual PlayMarket version of the X-Bees Android app.
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { UsersClient, GetAppVersionCommand } from "@wildix/xbees-users-client"; // ES Modules import
35
+ * // const { UsersClient, GetAppVersionCommand } = require("@wildix/xbees-users-client"); // CommonJS import
36
+ * const client = new UsersClient(config);
37
+ * const input = { // GetAppVersionInput
38
+ * appType: "xbees" || "xhoppers" || "collaboration", // required
39
+ * };
40
+ * const command = new GetAppVersionCommand(input);
41
+ * const response = await client.send(command);
42
+ * // { // GetAppVersionOutput
43
+ * // version: "STRING_VALUE", // required
44
+ * // };
45
+ *
46
+ * ```
47
+ *
48
+ * @param GetAppVersionCommandInput - {@link GetAppVersionCommandInput}
49
+ * @returns {@link GetAppVersionCommandOutput}
50
+ * @see {@link GetAppVersionCommandInput} for command's `input` shape.
51
+ * @see {@link GetAppVersionCommandOutput} for command's `response` shape.
52
+ * @see {@link UsersClientResolvedConfig | config} for UsersClient's `config` shape.
53
+ *
54
+ * @throws {@link ForbiddenException} (client fault)
55
+ *
56
+ * @throws {@link ValidationException} (client fault)
57
+ *
58
+ * @throws {@link UsersServiceException}
59
+ * <p>Base exception class for all service exceptions from Users service.</p>
60
+ *
61
+ *
62
+ * @public
63
+ */
64
+ export declare class GetAppVersionCommand extends GetAppVersionCommand_base {
65
+ /** @internal type navigation helper, not in runtime. */
66
+ protected static __types: {
67
+ api: {
68
+ input: GetAppVersionInput;
69
+ output: GetAppVersionOutput;
70
+ };
71
+ sdk: {
72
+ input: GetAppVersionCommandInput;
73
+ output: GetAppVersionCommandOutput;
74
+ };
75
+ };
76
+ }
@@ -45,6 +45,9 @@ declare const GetBotCallbackCommand_base: {
45
45
  * // endpoint: { // BotEndpoint Union: only one key present
46
46
  * // llm: { // BotLlmEndpoint
47
47
  * // prompt: "STRING_VALUE", // required
48
+ * // guidelines: [ // AgentGuidelinesList
49
+ * // "STRING_VALUE",
50
+ * // ],
48
51
  * // model: "STRING_VALUE",
49
52
  * // embeddedTools: [ // BotLlmEmbeddedToolsList
50
53
  * // { // BotLlmEmbeddedTool
@@ -41,6 +41,9 @@ declare const UpdateBotCallbackCommand_base: {
41
41
  * endpoint: { // BotEndpoint Union: only one key present
42
42
  * llm: { // BotLlmEndpoint
43
43
  * prompt: "STRING_VALUE", // required
44
+ * guidelines: [ // AgentGuidelinesList
45
+ * "STRING_VALUE",
46
+ * ],
44
47
  * model: "STRING_VALUE",
45
48
  * embeddedTools: [ // BotLlmEmbeddedToolsList
46
49
  * { // BotLlmEmbeddedTool
@@ -148,6 +151,9 @@ declare const UpdateBotCallbackCommand_base: {
148
151
  * // endpoint: { // BotEndpoint Union: only one key present
149
152
  * // llm: { // BotLlmEndpoint
150
153
  * // prompt: "STRING_VALUE", // required
154
+ * // guidelines: [ // AgentGuidelinesList
155
+ * // "STRING_VALUE",
156
+ * // ],
151
157
  * // model: "STRING_VALUE",
152
158
  * // embeddedTools: [ // BotLlmEmbeddedToolsList
153
159
  * // { // BotLlmEmbeddedTool
@@ -8,6 +8,7 @@ export * from "./CreateBotApiKeyCommand";
8
8
  export * from "./CreateSystemBotCommand";
9
9
  export * from "./DeleteBotCommand";
10
10
  export * from "./DeleteBotApiKeyCommand";
11
+ export * from "./GetAppVersionCommand";
11
12
  export * from "./GetBotCommand";
12
13
  export * from "./GetBotCallbackCommand";
13
14
  export * from "./GetUserCommand";
@@ -199,6 +199,19 @@ export declare const PbxColleaguesSearchStrategy: {
199
199
  * @public
200
200
  */
201
201
  export type PbxColleaguesSearchStrategy = typeof PbxColleaguesSearchStrategy[keyof typeof PbxColleaguesSearchStrategy];
202
+ /**
203
+ * @public
204
+ * @enum
205
+ */
206
+ export declare const AppType: {
207
+ readonly COLLABORATION: "collaboration";
208
+ readonly XBEES: "xbees";
209
+ readonly XHOPPERS: "xhoppers";
210
+ };
211
+ /**
212
+ * @public
213
+ */
214
+ export type AppType = typeof AppType[keyof typeof AppType];
202
215
  /**
203
216
  * @public
204
217
  */
@@ -952,6 +965,7 @@ export interface BotLlmTool {
952
965
  */
953
966
  export interface BotLlmEndpoint {
954
967
  prompt: string;
968
+ guidelines?: (string)[] | undefined;
955
969
  /**
956
970
  * The AI model to use for generating responses. If not specified, uses the default model.
957
971
  * @public
@@ -1233,6 +1247,18 @@ export interface DirectoryItem {
1233
1247
  department?: string | undefined;
1234
1248
  group?: string | undefined;
1235
1249
  }
1250
+ /**
1251
+ * @public
1252
+ */
1253
+ export interface GetAppVersionInput {
1254
+ appType: AppType;
1255
+ }
1256
+ /**
1257
+ * @public
1258
+ */
1259
+ export interface GetAppVersionOutput {
1260
+ version: string;
1261
+ }
1236
1262
  /**
1237
1263
  * @public
1238
1264
  */
@@ -8,6 +8,7 @@ import { CreateBotCommandInput, CreateBotCommandOutput } from "../commands/Creat
8
8
  import { CreateSystemBotCommandInput, CreateSystemBotCommandOutput } from "../commands/CreateSystemBotCommand";
9
9
  import { DeleteBotApiKeyCommandInput, DeleteBotApiKeyCommandOutput } from "../commands/DeleteBotApiKeyCommand";
10
10
  import { DeleteBotCommandInput, DeleteBotCommandOutput } from "../commands/DeleteBotCommand";
11
+ import { GetAppVersionCommandInput, GetAppVersionCommandOutput } from "../commands/GetAppVersionCommand";
11
12
  import { GetBotCallbackCommandInput, GetBotCallbackCommandOutput } from "../commands/GetBotCallbackCommand";
12
13
  import { GetBotCommandInput, GetBotCommandOutput } from "../commands/GetBotCommand";
13
14
  import { GetUserCommandInput, GetUserCommandOutput } from "../commands/GetUserCommand";
@@ -73,6 +74,10 @@ export declare const se_DeleteBotCommand: (input: DeleteBotCommandInput, context
73
74
  * serializeAws_restJson1DeleteBotApiKeyCommand
74
75
  */
75
76
  export declare const se_DeleteBotApiKeyCommand: (input: DeleteBotApiKeyCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
77
+ /**
78
+ * serializeAws_restJson1GetAppVersionCommand
79
+ */
80
+ export declare const se_GetAppVersionCommand: (input: GetAppVersionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
76
81
  /**
77
82
  * serializeAws_restJson1GetBotCommand
78
83
  */
@@ -205,6 +210,10 @@ export declare const de_DeleteBotCommand: (output: __HttpResponse, context: __Se
205
210
  * deserializeAws_restJson1DeleteBotApiKeyCommand
206
211
  */
207
212
  export declare const de_DeleteBotApiKeyCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteBotApiKeyCommandOutput>;
213
+ /**
214
+ * deserializeAws_restJson1GetAppVersionCommand
215
+ */
216
+ export declare const de_GetAppVersionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetAppVersionCommandOutput>;
208
217
  /**
209
218
  * deserializeAws_restJson1GetBotCommand
210
219
  */
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.50",
4
+ "version": "1.0.52",
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",