@wildix/xbees-users-client 1.0.50 → 1.0.51

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,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,17 @@ 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
+ let body;
196
+ b.m("GET")
197
+ .h(headers)
198
+ .b(body);
199
+ return b.build();
200
+ };
201
+ exports.se_GetAppVersionCommand = se_GetAppVersionCommand;
191
202
  const se_GetBotCommand = async (input, context) => {
192
203
  const b = (0, core_2.requestBuilder)(input, context);
193
204
  const headers = {};
@@ -712,6 +723,21 @@ const de_DeleteBotApiKeyCommand = async (output, context) => {
712
723
  return contents;
713
724
  };
714
725
  exports.de_DeleteBotApiKeyCommand = de_DeleteBotApiKeyCommand;
726
+ const de_GetAppVersionCommand = async (output, context) => {
727
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
728
+ return de_CommandError(output, context);
729
+ }
730
+ const contents = (0, smithy_client_1.map)({
731
+ $metadata: deserializeMetadata(output),
732
+ });
733
+ const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
734
+ const doc = (0, smithy_client_1.take)(data, {
735
+ 'version': smithy_client_1.expectString,
736
+ });
737
+ Object.assign(contents, doc);
738
+ return contents;
739
+ };
740
+ exports.de_GetAppVersionCommand = de_GetAppVersionCommand;
715
741
  const de_GetBotCommand = async (output, context) => {
716
742
  if (output.statusCode !== 200 && output.statusCode >= 300) {
717
743
  return de_CommandError(output, context);
@@ -1240,6 +1266,7 @@ const se_BotLlmEndpoint = (input, context) => {
1240
1266
  return (0, smithy_client_1.take)(input, {
1241
1267
  'capabilities': smithy_client_1._json,
1242
1268
  'embeddedTools': _ => se_BotLlmEmbeddedToolsList(_, context),
1269
+ 'guidelines': smithy_client_1._json,
1243
1270
  'model': [],
1244
1271
  'prompt': [],
1245
1272
  'tools': _ => se_BotLlmToolsList(_, context),
@@ -1342,6 +1369,7 @@ const de_BotLlmEndpoint = (output, context) => {
1342
1369
  return (0, smithy_client_1.take)(output, {
1343
1370
  'capabilities': smithy_client_1._json,
1344
1371
  'embeddedTools': (_) => de_BotLlmEmbeddedToolsList(_, context),
1372
+ 'guidelines': smithy_client_1._json,
1345
1373
  'model': smithy_client_1.expectString,
1346
1374
  'prompt': smithy_client_1.expectString,
1347
1375
  'tools': (_) => de_BotLlmToolsList(_, context),
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";
@@ -174,6 +174,16 @@ 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
+ let body;
182
+ b.m("GET")
183
+ .h(headers)
184
+ .b(body);
185
+ return b.build();
186
+ };
177
187
  export const se_GetBotCommand = async (input, context) => {
178
188
  const b = rb(input, context);
179
189
  const headers = {};
@@ -665,6 +675,20 @@ export const de_DeleteBotApiKeyCommand = async (output, context) => {
665
675
  await collectBody(output.body, context);
666
676
  return contents;
667
677
  };
678
+ export const de_GetAppVersionCommand = async (output, context) => {
679
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
680
+ return de_CommandError(output, context);
681
+ }
682
+ const contents = map({
683
+ $metadata: deserializeMetadata(output),
684
+ });
685
+ const data = __expectNonNull((__expectObject(await parseBody(output.body, context))), "body");
686
+ const doc = take(data, {
687
+ 'version': __expectString,
688
+ });
689
+ Object.assign(contents, doc);
690
+ return contents;
691
+ };
668
692
  export const de_GetBotCommand = async (output, context) => {
669
693
  if (output.statusCode !== 200 && output.statusCode >= 300) {
670
694
  return de_CommandError(output, context);
@@ -1170,6 +1194,7 @@ const se_BotLlmEndpoint = (input, context) => {
1170
1194
  return take(input, {
1171
1195
  'capabilities': _json,
1172
1196
  'embeddedTools': _ => se_BotLlmEmbeddedToolsList(_, context),
1197
+ 'guidelines': _json,
1173
1198
  'model': [],
1174
1199
  'prompt': [],
1175
1200
  'tools': _ => se_BotLlmToolsList(_, context),
@@ -1272,6 +1297,7 @@ const de_BotLlmEndpoint = (output, context) => {
1272
1297
  return take(output, {
1273
1298
  'capabilities': _json,
1274
1299
  'embeddedTools': (_) => de_BotLlmEmbeddedToolsList(_, context),
1300
+ 'guidelines': _json,
1275
1301
  'model': __expectString,
1276
1302
  'prompt': __expectString,
1277
1303
  'tools': (_) => de_BotLlmToolsList(_, context),
@@ -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,13 @@ 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(): Promise<GetAppVersionCommandOutput>;
102
+ getAppVersion(args: GetAppVersionCommandInput, options?: __HttpHandlerOptions): Promise<GetAppVersionCommandOutput>;
103
+ getAppVersion(args: GetAppVersionCommandInput, cb: (err: any, data?: GetAppVersionCommandOutput) => void): void;
104
+ getAppVersion(args: GetAppVersionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetAppVersionCommandOutput) => void): void;
97
105
  /**
98
106
  * @see {@link GetBotCommand}
99
107
  */
@@ -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,74 @@
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 (...[input]: [] | [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 = {};
38
+ * const command = new GetAppVersionCommand(input);
39
+ * const response = await client.send(command);
40
+ * // { // GetAppVersionOutput
41
+ * // version: "STRING_VALUE", // required
42
+ * // };
43
+ *
44
+ * ```
45
+ *
46
+ * @param GetAppVersionCommandInput - {@link GetAppVersionCommandInput}
47
+ * @returns {@link GetAppVersionCommandOutput}
48
+ * @see {@link GetAppVersionCommandInput} for command's `input` shape.
49
+ * @see {@link GetAppVersionCommandOutput} for command's `response` shape.
50
+ * @see {@link UsersClientResolvedConfig | config} for UsersClient's `config` shape.
51
+ *
52
+ * @throws {@link ForbiddenException} (client fault)
53
+ *
54
+ * @throws {@link ValidationException} (client fault)
55
+ *
56
+ * @throws {@link UsersServiceException}
57
+ * <p>Base exception class for all service exceptions from Users service.</p>
58
+ *
59
+ *
60
+ * @public
61
+ */
62
+ export declare class GetAppVersionCommand extends GetAppVersionCommand_base {
63
+ /** @internal type navigation helper, not in runtime. */
64
+ protected static __types: {
65
+ api: {
66
+ input: {};
67
+ output: GetAppVersionOutput;
68
+ };
69
+ sdk: {
70
+ input: GetAppVersionCommandInput;
71
+ output: GetAppVersionCommandOutput;
72
+ };
73
+ };
74
+ }
@@ -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";
@@ -952,6 +952,7 @@ export interface BotLlmTool {
952
952
  */
953
953
  export interface BotLlmEndpoint {
954
954
  prompt: string;
955
+ guidelines?: (string)[] | undefined;
955
956
  /**
956
957
  * The AI model to use for generating responses. If not specified, uses the default model.
957
958
  * @public
@@ -1233,6 +1234,17 @@ export interface DirectoryItem {
1233
1234
  department?: string | undefined;
1234
1235
  group?: string | undefined;
1235
1236
  }
1237
+ /**
1238
+ * @public
1239
+ */
1240
+ export interface GetAppVersionInput {
1241
+ }
1242
+ /**
1243
+ * @public
1244
+ */
1245
+ export interface GetAppVersionOutput {
1246
+ version: string;
1247
+ }
1236
1248
  /**
1237
1249
  * @public
1238
1250
  */
@@ -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.51",
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",