@wildix/xbees-users-client 1.0.45 → 1.0.47

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (34) hide show
  1. package/dist-cjs/models/models_0.js +33 -13
  2. package/dist-cjs/protocols/Aws_restJson1.js +4 -6
  3. package/dist-es/models/models_0.js +30 -10
  4. package/dist-es/protocols/Aws_restJson1.js +4 -6
  5. package/dist-types/commands/BatchGetUsersCommand.d.ts +3 -2
  6. package/dist-types/commands/BatchGetUsersPbxLinkDataCommand.d.ts +2 -2
  7. package/dist-types/commands/BatchGetUsersPbxLinkDataV1Command.d.ts +2 -2
  8. package/dist-types/commands/CreateBotApiKeyCommand.d.ts +2 -2
  9. package/dist-types/commands/CreateBotCommand.d.ts +28 -5
  10. package/dist-types/commands/CreateSystemBotCommand.d.ts +2 -2
  11. package/dist-types/commands/DeleteBotApiKeyCommand.d.ts +2 -2
  12. package/dist-types/commands/DeleteBotCommand.d.ts +2 -2
  13. package/dist-types/commands/GetBotCallbackCommand.d.ts +28 -5
  14. package/dist-types/commands/GetBotCommand.d.ts +2 -2
  15. package/dist-types/commands/GetUserCommand.d.ts +3 -2
  16. package/dist-types/commands/GetUserPbxLinkDataCommand.d.ts +2 -2
  17. package/dist-types/commands/GetUserPbxLinkSuggestionCommand.d.ts +2 -2
  18. package/dist-types/commands/GetUserPbxLinkSuggestionV1Command.d.ts +2 -2
  19. package/dist-types/commands/ListBotApiKeysCommand.d.ts +2 -2
  20. package/dist-types/commands/ListBotsCommand.d.ts +2 -2
  21. package/dist-types/commands/QueryColleaguesCommand.d.ts +3 -2
  22. package/dist-types/commands/QueryUserCommand.d.ts +3 -2
  23. package/dist-types/commands/QueryUsersCommand.d.ts +3 -2
  24. package/dist-types/commands/UpdateBotCallbackCommand.d.ts +54 -8
  25. package/dist-types/commands/UpdateBotCommand.d.ts +2 -2
  26. package/dist-types/commands/UploadPictureCommand.d.ts +2 -2
  27. package/dist-types/commands/UploadPictureV1Command.d.ts +3 -2
  28. package/dist-types/commands/VerifyBotSecretKeyCommand.d.ts +2 -2
  29. package/dist-types/commands/VerifyBotSecretKeyV1Command.d.ts +2 -2
  30. package/dist-types/models/models_0.d.ts +155 -40
  31. package/dist-types/runtimeConfig.browser.d.ts +6 -1
  32. package/dist-types/runtimeConfig.d.ts +6 -1
  33. package/dist-types/runtimeConfig.native.d.ts +6 -1
  34. package/package.json +1 -1
@@ -1,33 +1,33 @@
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.BotApiKeyNotFoundException = exports.BotIntegrationType = exports.BotAccess = exports.PbxColleaguesSearchStrategy = exports.PbxColleaguesQueryField = exports.GetPbxColleaguesDir = exports.PbxColleagueRole = exports.PbxLicenseType = exports.ForbiddenException = exports.ValidationException = 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.BotApiKeyNotFoundException = exports.BotIntegrationType = exports.BotAccess = exports.PbxColleaguesSearchStrategy = exports.PbxColleaguesQueryField = exports.GetPbxColleaguesDir = exports.PbxColleagueRole = exports.PbxLicenseType = exports.ValidationException = exports.ForbiddenException = void 0;
4
4
  const UsersServiceException_1 = require("./UsersServiceException");
5
- class ValidationException extends UsersServiceException_1.UsersServiceException {
6
- name = "ValidationException";
5
+ class ForbiddenException extends UsersServiceException_1.UsersServiceException {
6
+ name = "ForbiddenException";
7
7
  $fault = "client";
8
8
  constructor(opts) {
9
9
  super({
10
- name: "ValidationException",
10
+ name: "ForbiddenException",
11
11
  $fault: "client",
12
12
  ...opts
13
13
  });
14
- Object.setPrototypeOf(this, ValidationException.prototype);
14
+ Object.setPrototypeOf(this, ForbiddenException.prototype);
15
15
  }
16
16
  }
17
- exports.ValidationException = ValidationException;
18
- class ForbiddenException extends UsersServiceException_1.UsersServiceException {
19
- name = "ForbiddenException";
17
+ exports.ForbiddenException = ForbiddenException;
18
+ class ValidationException extends UsersServiceException_1.UsersServiceException {
19
+ name = "ValidationException";
20
20
  $fault = "client";
21
21
  constructor(opts) {
22
22
  super({
23
- name: "ForbiddenException",
23
+ name: "ValidationException",
24
24
  $fault: "client",
25
25
  ...opts
26
26
  });
27
- Object.setPrototypeOf(this, ForbiddenException.prototype);
27
+ Object.setPrototypeOf(this, ValidationException.prototype);
28
28
  }
29
29
  }
30
- exports.ForbiddenException = ForbiddenException;
30
+ exports.ValidationException = ValidationException;
31
31
  exports.PbxLicenseType = {
32
32
  BASIC: "basic",
33
33
  BUSINESS: "business",
@@ -93,6 +93,28 @@ class BotApiKeyNotFoundException extends UsersServiceException_1.UsersServiceExc
93
93
  }
94
94
  }
95
95
  exports.BotApiKeyNotFoundException = BotApiKeyNotFoundException;
96
+ var BotToolVariableHandler;
97
+ (function (BotToolVariableHandler) {
98
+ BotToolVariableHandler.visit = (value, visitor) => {
99
+ if (value.auto !== undefined)
100
+ return visitor.auto(value.auto);
101
+ if (value.guided !== undefined)
102
+ return visitor.guided(value.guided);
103
+ if (value.predefined !== undefined)
104
+ return visitor.predefined(value.predefined);
105
+ return visitor._(value.$unknown[0], value.$unknown[1]);
106
+ };
107
+ })(BotToolVariableHandler || (exports.BotToolVariableHandler = BotToolVariableHandler = {}));
108
+ var BotCapability;
109
+ (function (BotCapability) {
110
+ BotCapability.visit = (value, visitor) => {
111
+ if (value.tool !== undefined)
112
+ return visitor.tool(value.tool);
113
+ if (value.kb !== undefined)
114
+ return visitor.kb(value.kb);
115
+ return visitor._(value.$unknown[0], value.$unknown[1]);
116
+ };
117
+ })(BotCapability || (exports.BotCapability = BotCapability = {}));
96
118
  exports.BotLlmEmbeddedToolType = {
97
119
  DELEGATE: "DELEGATE",
98
120
  HANDOVER: "HANDOVER",
@@ -122,8 +144,6 @@ var BotLlmFunctionIntegration;
122
144
  BotLlmFunctionIntegration.visit = (value, visitor) => {
123
145
  if (value.webhook !== undefined)
124
146
  return visitor.webhook(value.webhook);
125
- if (value.tool !== undefined)
126
- return visitor.tool(value.tool);
127
147
  return visitor._(value.$unknown[0], value.$unknown[1]);
128
148
  };
129
149
  })(BotLlmFunctionIntegration || (exports.BotLlmFunctionIntegration = BotLlmFunctionIntegration = {}));
@@ -1236,7 +1236,9 @@ const se_BotLlmEmbeddedToolsList = (input, context) => {
1236
1236
  };
1237
1237
  const se_BotLlmEndpoint = (input, context) => {
1238
1238
  return (0, smithy_client_1.take)(input, {
1239
+ 'capabilities': smithy_client_1._json,
1239
1240
  'embeddedTools': _ => se_BotLlmEmbeddedToolsList(_, context),
1241
+ 'model': [],
1240
1242
  'prompt': [],
1241
1243
  'tools': _ => se_BotLlmToolsList(_, context),
1242
1244
  });
@@ -1251,7 +1253,6 @@ const se_BotLlmFunctionDefinition = (input, context) => {
1251
1253
  };
1252
1254
  const se_BotLlmFunctionIntegration = (input, context) => {
1253
1255
  return models_0_1.BotLlmFunctionIntegration.visit(input, {
1254
- tool: value => ({ "tool": (0, smithy_client_1._json)(value) }),
1255
1256
  webhook: value => ({ "webhook": se_BotLlmFunctionIntegrationWebhook(value, context) }),
1256
1257
  _: (name, value) => ({ [name]: value })
1257
1258
  });
@@ -1337,7 +1338,9 @@ const de_BotLlmEmbeddedToolsList = (output, context) => {
1337
1338
  };
1338
1339
  const de_BotLlmEndpoint = (output, context) => {
1339
1340
  return (0, smithy_client_1.take)(output, {
1341
+ 'capabilities': smithy_client_1._json,
1340
1342
  'embeddedTools': (_) => de_BotLlmEmbeddedToolsList(_, context),
1343
+ 'model': smithy_client_1.expectString,
1341
1344
  'prompt': smithy_client_1.expectString,
1342
1345
  'tools': (_) => de_BotLlmToolsList(_, context),
1343
1346
  });
@@ -1351,11 +1354,6 @@ const de_BotLlmFunctionDefinition = (output, context) => {
1351
1354
  });
1352
1355
  };
1353
1356
  const de_BotLlmFunctionIntegration = (output, context) => {
1354
- if (output.tool != null) {
1355
- return {
1356
- tool: (0, smithy_client_1._json)(output.tool)
1357
- };
1358
- }
1359
1357
  if (output.webhook != null) {
1360
1358
  return {
1361
1359
  webhook: de_BotLlmFunctionIntegrationWebhook(output.webhook, context)
@@ -1,26 +1,26 @@
1
1
  import { UsersServiceException as __BaseException } from "./UsersServiceException";
2
- export class ValidationException extends __BaseException {
3
- name = "ValidationException";
2
+ export class ForbiddenException extends __BaseException {
3
+ name = "ForbiddenException";
4
4
  $fault = "client";
5
5
  constructor(opts) {
6
6
  super({
7
- name: "ValidationException",
7
+ name: "ForbiddenException",
8
8
  $fault: "client",
9
9
  ...opts
10
10
  });
11
- Object.setPrototypeOf(this, ValidationException.prototype);
11
+ Object.setPrototypeOf(this, ForbiddenException.prototype);
12
12
  }
13
13
  }
14
- export class ForbiddenException extends __BaseException {
15
- name = "ForbiddenException";
14
+ export class ValidationException extends __BaseException {
15
+ name = "ValidationException";
16
16
  $fault = "client";
17
17
  constructor(opts) {
18
18
  super({
19
- name: "ForbiddenException",
19
+ name: "ValidationException",
20
20
  $fault: "client",
21
21
  ...opts
22
22
  });
23
- Object.setPrototypeOf(this, ForbiddenException.prototype);
23
+ Object.setPrototypeOf(this, ValidationException.prototype);
24
24
  }
25
25
  }
26
26
  export const PbxLicenseType = {
@@ -87,6 +87,28 @@ export class BotApiKeyNotFoundException extends __BaseException {
87
87
  Object.setPrototypeOf(this, BotApiKeyNotFoundException.prototype);
88
88
  }
89
89
  }
90
+ export var BotToolVariableHandler;
91
+ (function (BotToolVariableHandler) {
92
+ BotToolVariableHandler.visit = (value, visitor) => {
93
+ if (value.auto !== undefined)
94
+ return visitor.auto(value.auto);
95
+ if (value.guided !== undefined)
96
+ return visitor.guided(value.guided);
97
+ if (value.predefined !== undefined)
98
+ return visitor.predefined(value.predefined);
99
+ return visitor._(value.$unknown[0], value.$unknown[1]);
100
+ };
101
+ })(BotToolVariableHandler || (BotToolVariableHandler = {}));
102
+ export var BotCapability;
103
+ (function (BotCapability) {
104
+ BotCapability.visit = (value, visitor) => {
105
+ if (value.tool !== undefined)
106
+ return visitor.tool(value.tool);
107
+ if (value.kb !== undefined)
108
+ return visitor.kb(value.kb);
109
+ return visitor._(value.$unknown[0], value.$unknown[1]);
110
+ };
111
+ })(BotCapability || (BotCapability = {}));
90
112
  export const BotLlmEmbeddedToolType = {
91
113
  DELEGATE: "DELEGATE",
92
114
  HANDOVER: "HANDOVER",
@@ -116,8 +138,6 @@ export var BotLlmFunctionIntegration;
116
138
  BotLlmFunctionIntegration.visit = (value, visitor) => {
117
139
  if (value.webhook !== undefined)
118
140
  return visitor.webhook(value.webhook);
119
- if (value.tool !== undefined)
120
- return visitor.tool(value.tool);
121
141
  return visitor._(value.$unknown[0], value.$unknown[1]);
122
142
  };
123
143
  })(BotLlmFunctionIntegration || (BotLlmFunctionIntegration = {}));
@@ -1166,7 +1166,9 @@ const se_BotLlmEmbeddedToolsList = (input, context) => {
1166
1166
  };
1167
1167
  const se_BotLlmEndpoint = (input, context) => {
1168
1168
  return take(input, {
1169
+ 'capabilities': _json,
1169
1170
  'embeddedTools': _ => se_BotLlmEmbeddedToolsList(_, context),
1171
+ 'model': [],
1170
1172
  'prompt': [],
1171
1173
  'tools': _ => se_BotLlmToolsList(_, context),
1172
1174
  });
@@ -1181,7 +1183,6 @@ const se_BotLlmFunctionDefinition = (input, context) => {
1181
1183
  };
1182
1184
  const se_BotLlmFunctionIntegration = (input, context) => {
1183
1185
  return BotLlmFunctionIntegration.visit(input, {
1184
- tool: value => ({ "tool": _json(value) }),
1185
1186
  webhook: value => ({ "webhook": se_BotLlmFunctionIntegrationWebhook(value, context) }),
1186
1187
  _: (name, value) => ({ [name]: value })
1187
1188
  });
@@ -1267,7 +1268,9 @@ const de_BotLlmEmbeddedToolsList = (output, context) => {
1267
1268
  };
1268
1269
  const de_BotLlmEndpoint = (output, context) => {
1269
1270
  return take(output, {
1271
+ 'capabilities': _json,
1270
1272
  'embeddedTools': (_) => de_BotLlmEmbeddedToolsList(_, context),
1273
+ 'model': __expectString,
1271
1274
  'prompt': __expectString,
1272
1275
  'tools': (_) => de_BotLlmToolsList(_, context),
1273
1276
  });
@@ -1281,11 +1284,6 @@ const de_BotLlmFunctionDefinition = (output, context) => {
1281
1284
  });
1282
1285
  };
1283
1286
  const de_BotLlmFunctionIntegration = (output, context) => {
1284
- if (output.tool != null) {
1285
- return {
1286
- tool: _json(output.tool)
1287
- };
1288
- }
1289
1287
  if (output.webhook != null) {
1290
1288
  return {
1291
1289
  webhook: de_BotLlmFunctionIntegrationWebhook(output.webhook, context)
@@ -27,8 +27,7 @@ declare const BatchGetUsersCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * @public
31
- *
30
+ * Retrieves details of multiple users in a single batch operation.
32
31
  * @example
33
32
  * Use a bare-bones client and the command you need to make an API call.
34
33
  * ```javascript
@@ -59,6 +58,7 @@ declare const BatchGetUsersCommand_base: {
59
58
  * // pbxExtension: "STRING_VALUE",
60
59
  * // pbxSerial: "STRING_VALUE",
61
60
  * // pbxUserId: "STRING_VALUE",
61
+ * // pbxGroupId: "STRING_VALUE",
62
62
  * // createdAt: "STRING_VALUE",
63
63
  * // updatedAt: "STRING_VALUE",
64
64
  * // },
@@ -81,6 +81,7 @@ declare const BatchGetUsersCommand_base: {
81
81
  * <p>Base exception class for all service exceptions from Users service.</p>
82
82
  *
83
83
  *
84
+ * @public
84
85
  */
85
86
  export declare class BatchGetUsersCommand extends BatchGetUsersCommand_base {
86
87
  /** @internal type navigation helper, not in runtime. */
@@ -27,8 +27,7 @@ declare const BatchGetUsersPbxLinkDataCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * @public
31
- *
30
+ * Retrieves PBX link data for multiple users in a single batch operation.
32
31
  * @example
33
32
  * Use a bare-bones client and the command you need to make an API call.
34
33
  * ```javascript
@@ -118,6 +117,7 @@ declare const BatchGetUsersPbxLinkDataCommand_base: {
118
117
  * <p>Base exception class for all service exceptions from Users service.</p>
119
118
  *
120
119
  *
120
+ * @public
121
121
  */
122
122
  export declare class BatchGetUsersPbxLinkDataCommand extends BatchGetUsersPbxLinkDataCommand_base {
123
123
  /** @internal type navigation helper, not in runtime. */
@@ -27,8 +27,7 @@ declare const BatchGetUsersPbxLinkDataV1Command_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * @public
31
- *
30
+ * Retrieves PBX link data for multiple users in a single batch operation. This is a deprecated operation - use BatchGetUsersPbxLinkData instead.
32
31
  * @example
33
32
  * Use a bare-bones client and the command you need to make an API call.
34
33
  * ```javascript
@@ -118,6 +117,7 @@ declare const BatchGetUsersPbxLinkDataV1Command_base: {
118
117
  * <p>Base exception class for all service exceptions from Users service.</p>
119
118
  *
120
119
  *
120
+ * @public
121
121
  */
122
122
  export declare class BatchGetUsersPbxLinkDataV1Command extends BatchGetUsersPbxLinkDataV1Command_base {
123
123
  /** @internal type navigation helper, not in runtime. */
@@ -27,8 +27,7 @@ declare const CreateBotApiKeyCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * @public
31
- *
30
+ * Creates a new API key for a specific bot.
32
31
  * @example
33
32
  * Use a bare-bones client and the command you need to make an API call.
34
33
  * ```javascript
@@ -79,6 +78,7 @@ declare const CreateBotApiKeyCommand_base: {
79
78
  * <p>Base exception class for all service exceptions from Users service.</p>
80
79
  *
81
80
  *
81
+ * @public
82
82
  */
83
83
  export declare class CreateBotApiKeyCommand extends CreateBotApiKeyCommand_base {
84
84
  /** @internal type navigation helper, not in runtime. */
@@ -27,8 +27,7 @@ declare const CreateBotCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * @public
31
- *
30
+ * Creates a new bot with the specified configuration and callback settings.
32
31
  * @example
33
32
  * Use a bare-bones client and the command you need to make an API call.
34
33
  * ```javascript
@@ -45,6 +44,7 @@ declare const CreateBotCommand_base: {
45
44
  * endpoint: { // BotEndpoint Union: only one key present
46
45
  * llm: { // BotLlmEndpoint
47
46
  * prompt: "STRING_VALUE", // required
47
+ * model: "STRING_VALUE",
48
48
  * embeddedTools: [ // BotLlmEmbeddedToolsList
49
49
  * { // BotLlmEmbeddedTool
50
50
  * type: "HANDOVER" || "DELEGATE" || "SUGGESTIONS", // required
@@ -88,13 +88,35 @@ declare const CreateBotCommand_base: {
88
88
  * timeout: Number("int"),
89
89
  * parameters: "DOCUMENT_VALUE",
90
90
  * },
91
- * tool: { // BotLlmFunctionIntegrationTool
92
- * toolId: "STRING_VALUE", // required
93
- * },
94
91
  * },
95
92
  * },
96
93
  * },
97
94
  * ],
95
+ * capabilities: [ // BotCapabilitiesList
96
+ * { // BotCapability Union: only one key present
97
+ * tool: { // BotCapabilityTool
98
+ * id: "STRING_VALUE", // required
99
+ * variables: [ // BotToolVariablesList
100
+ * { // BotToolVariable
101
+ * name: "STRING_VALUE", // required
102
+ * handler: { // BotToolVariableHandler Union: only one key present
103
+ * auto: {},
104
+ * guided: { // BotToolVariableGuidedHandler
105
+ * description: "STRING_VALUE", // required
106
+ * },
107
+ * predefined: { // BotToolVariablePredefinedHandler
108
+ * description: "STRING_VALUE", // required
109
+ * },
110
+ * },
111
+ * },
112
+ * ],
113
+ * },
114
+ * kb: { // BotKnowledgeBase
115
+ * knowledgeBaseId: "STRING_VALUE",
116
+ * instructions: "STRING_VALUE",
117
+ * },
118
+ * },
119
+ * ],
98
120
  * },
99
121
  * dialogflowCx: { // BotDialogflowCxEndpoint
100
122
  * credentials: "DOCUMENT_VALUE", // required
@@ -150,6 +172,7 @@ declare const CreateBotCommand_base: {
150
172
  * <p>Base exception class for all service exceptions from Users service.</p>
151
173
  *
152
174
  *
175
+ * @public
153
176
  */
154
177
  export declare class CreateBotCommand extends CreateBotCommand_base {
155
178
  /** @internal type navigation helper, not in runtime. */
@@ -27,8 +27,7 @@ declare const CreateSystemBotCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * @public
31
- *
30
+ * Creates a new system bot with basic configuration for internal use.
32
31
  * @example
33
32
  * Use a bare-bones client and the command you need to make an API call.
34
33
  * ```javascript
@@ -62,6 +61,7 @@ declare const CreateSystemBotCommand_base: {
62
61
  * <p>Base exception class for all service exceptions from Users service.</p>
63
62
  *
64
63
  *
64
+ * @public
65
65
  */
66
66
  export declare class CreateSystemBotCommand extends CreateSystemBotCommand_base {
67
67
  /** @internal type navigation helper, not in runtime. */
@@ -27,8 +27,7 @@ declare const DeleteBotApiKeyCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * @public
31
- *
30
+ * Deletes an existing API key for a specific bot.
32
31
  * @example
33
32
  * Use a bare-bones client and the command you need to make an API call.
34
33
  * ```javascript
@@ -64,6 +63,7 @@ declare const DeleteBotApiKeyCommand_base: {
64
63
  * <p>Base exception class for all service exceptions from Users service.</p>
65
64
  *
66
65
  *
66
+ * @public
67
67
  */
68
68
  export declare class DeleteBotApiKeyCommand extends DeleteBotApiKeyCommand_base {
69
69
  /** @internal type navigation helper, not in runtime. */
@@ -27,8 +27,7 @@ declare const DeleteBotCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * @public
31
- *
30
+ * Deletes an existing bot and all its associated data.
32
31
  * @example
33
32
  * Use a bare-bones client and the command you need to make an API call.
34
33
  * ```javascript
@@ -61,6 +60,7 @@ declare const DeleteBotCommand_base: {
61
60
  * <p>Base exception class for all service exceptions from Users service.</p>
62
61
  *
63
62
  *
63
+ * @public
64
64
  */
65
65
  export declare class DeleteBotCommand extends DeleteBotCommand_base {
66
66
  /** @internal type navigation helper, not in runtime. */
@@ -27,8 +27,7 @@ declare const GetBotCallbackCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * @public
31
- *
30
+ * Retrieves the callback configuration for a specific bot.
32
31
  * @example
33
32
  * Use a bare-bones client and the command you need to make an API call.
34
33
  * ```javascript
@@ -46,6 +45,7 @@ declare const GetBotCallbackCommand_base: {
46
45
  * // endpoint: { // BotEndpoint Union: only one key present
47
46
  * // llm: { // BotLlmEndpoint
48
47
  * // prompt: "STRING_VALUE", // required
48
+ * // model: "STRING_VALUE",
49
49
  * // embeddedTools: [ // BotLlmEmbeddedToolsList
50
50
  * // { // BotLlmEmbeddedTool
51
51
  * // type: "HANDOVER" || "DELEGATE" || "SUGGESTIONS", // required
@@ -89,13 +89,35 @@ declare const GetBotCallbackCommand_base: {
89
89
  * // timeout: Number("int"),
90
90
  * // parameters: "DOCUMENT_VALUE",
91
91
  * // },
92
- * // tool: { // BotLlmFunctionIntegrationTool
93
- * // toolId: "STRING_VALUE", // required
94
- * // },
95
92
  * // },
96
93
  * // },
97
94
  * // },
98
95
  * // ],
96
+ * // capabilities: [ // BotCapabilitiesList
97
+ * // { // BotCapability Union: only one key present
98
+ * // tool: { // BotCapabilityTool
99
+ * // id: "STRING_VALUE", // required
100
+ * // variables: [ // BotToolVariablesList
101
+ * // { // BotToolVariable
102
+ * // name: "STRING_VALUE", // required
103
+ * // handler: { // BotToolVariableHandler Union: only one key present
104
+ * // auto: {},
105
+ * // guided: { // BotToolVariableGuidedHandler
106
+ * // description: "STRING_VALUE", // required
107
+ * // },
108
+ * // predefined: { // BotToolVariablePredefinedHandler
109
+ * // description: "STRING_VALUE", // required
110
+ * // },
111
+ * // },
112
+ * // },
113
+ * // ],
114
+ * // },
115
+ * // kb: { // BotKnowledgeBase
116
+ * // knowledgeBaseId: "STRING_VALUE",
117
+ * // instructions: "STRING_VALUE",
118
+ * // },
119
+ * // },
120
+ * // ],
99
121
  * // },
100
122
  * // dialogflowCx: { // BotDialogflowCxEndpoint
101
123
  * // credentials: "DOCUMENT_VALUE", // required
@@ -138,6 +160,7 @@ declare const GetBotCallbackCommand_base: {
138
160
  * <p>Base exception class for all service exceptions from Users service.</p>
139
161
  *
140
162
  *
163
+ * @public
141
164
  */
142
165
  export declare class GetBotCallbackCommand extends GetBotCallbackCommand_base {
143
166
  /** @internal type navigation helper, not in runtime. */
@@ -27,8 +27,7 @@ declare const GetBotCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * @public
31
- *
30
+ * Retrieves details of a specific bot by its unique identifier.
32
31
  * @example
33
32
  * Use a bare-bones client and the command you need to make an API call.
34
33
  * ```javascript
@@ -73,6 +72,7 @@ declare const GetBotCommand_base: {
73
72
  * <p>Base exception class for all service exceptions from Users service.</p>
74
73
  *
75
74
  *
75
+ * @public
76
76
  */
77
77
  export declare class GetBotCommand extends GetBotCommand_base {
78
78
  /** @internal type navigation helper, not in runtime. */
@@ -27,8 +27,7 @@ declare const GetUserCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * @public
31
- *
30
+ * Retrieves details of a specific user by their unique identifier.
32
31
  * @example
33
32
  * Use a bare-bones client and the command you need to make an API call.
34
33
  * ```javascript
@@ -56,6 +55,7 @@ declare const GetUserCommand_base: {
56
55
  * // pbxExtension: "STRING_VALUE",
57
56
  * // pbxSerial: "STRING_VALUE",
58
57
  * // pbxUserId: "STRING_VALUE",
58
+ * // pbxGroupId: "STRING_VALUE",
59
59
  * // createdAt: "STRING_VALUE",
60
60
  * // updatedAt: "STRING_VALUE",
61
61
  * // },
@@ -79,6 +79,7 @@ declare const GetUserCommand_base: {
79
79
  * <p>Base exception class for all service exceptions from Users service.</p>
80
80
  *
81
81
  *
82
+ * @public
82
83
  */
83
84
  export declare class GetUserCommand extends GetUserCommand_base {
84
85
  /** @internal type navigation helper, not in runtime. */
@@ -27,8 +27,7 @@ declare const GetUserPbxLinkDataCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * @public
31
- *
30
+ * Retrieves PBX link data for a specific user.
32
31
  * @example
33
32
  * Use a bare-bones client and the command you need to make an API call.
34
33
  * ```javascript
@@ -116,6 +115,7 @@ declare const GetUserPbxLinkDataCommand_base: {
116
115
  * <p>Base exception class for all service exceptions from Users service.</p>
117
116
  *
118
117
  *
118
+ * @public
119
119
  */
120
120
  export declare class GetUserPbxLinkDataCommand extends GetUserPbxLinkDataCommand_base {
121
121
  /** @internal type navigation helper, not in runtime. */
@@ -27,8 +27,7 @@ declare const GetUserPbxLinkSuggestionCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * @public
31
- *
30
+ * Retrieves PBX link suggestion information for a user based on their email address.
32
31
  * @example
33
32
  * Use a bare-bones client and the command you need to make an API call.
34
33
  * ```javascript
@@ -63,6 +62,7 @@ declare const GetUserPbxLinkSuggestionCommand_base: {
63
62
  * <p>Base exception class for all service exceptions from Users service.</p>
64
63
  *
65
64
  *
65
+ * @public
66
66
  */
67
67
  export declare class GetUserPbxLinkSuggestionCommand extends GetUserPbxLinkSuggestionCommand_base {
68
68
  /** @internal type navigation helper, not in runtime. */
@@ -27,8 +27,7 @@ declare const GetUserPbxLinkSuggestionV1Command_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * @public
31
- *
30
+ * Retrieves PBX link suggestion information for a user based on their email address. This is a deprecated operation - use GetUserPbxLinkSuggestion instead.
32
31
  * @example
33
32
  * Use a bare-bones client and the command you need to make an API call.
34
33
  * ```javascript
@@ -63,6 +62,7 @@ declare const GetUserPbxLinkSuggestionV1Command_base: {
63
62
  * <p>Base exception class for all service exceptions from Users service.</p>
64
63
  *
65
64
  *
65
+ * @public
66
66
  */
67
67
  export declare class GetUserPbxLinkSuggestionV1Command extends GetUserPbxLinkSuggestionV1Command_base {
68
68
  /** @internal type navigation helper, not in runtime. */
@@ -27,8 +27,7 @@ declare const ListBotApiKeysCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * @public
31
- *
30
+ * Retrieves a list of API keys associated with a specific bot.
32
31
  * @example
33
32
  * Use a bare-bones client and the command you need to make an API call.
34
33
  * ```javascript
@@ -67,6 +66,7 @@ declare const ListBotApiKeysCommand_base: {
67
66
  * <p>Base exception class for all service exceptions from Users service.</p>
68
67
  *
69
68
  *
69
+ * @public
70
70
  */
71
71
  export declare class ListBotApiKeysCommand extends ListBotApiKeysCommand_base {
72
72
  /** @internal type navigation helper, not in runtime. */
@@ -27,8 +27,7 @@ declare const ListBotsCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * @public
31
- *
30
+ * Retrieves a list of all bots for the specified company.
32
31
  * @example
33
32
  * Use a bare-bones client and the command you need to make an API call.
34
33
  * ```javascript
@@ -72,6 +71,7 @@ declare const ListBotsCommand_base: {
72
71
  * <p>Base exception class for all service exceptions from Users service.</p>
73
72
  *
74
73
  *
74
+ * @public
75
75
  */
76
76
  export declare class ListBotsCommand extends ListBotsCommand_base {
77
77
  /** @internal type navigation helper, not in runtime. */
@@ -27,8 +27,7 @@ declare const QueryColleaguesCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * @public
31
- *
30
+ * Searches for colleagues using various filters and search criteria, with optional auto-invitation for new users.
32
31
  * @example
33
32
  * Use a bare-bones client and the command you need to make an API call.
34
33
  * ```javascript
@@ -89,6 +88,7 @@ declare const QueryColleaguesCommand_base: {
89
88
  * // pbxExtension: "STRING_VALUE",
90
89
  * // pbxSerial: "STRING_VALUE",
91
90
  * // pbxUserId: "STRING_VALUE",
91
+ * // pbxGroupId: "STRING_VALUE",
92
92
  * // createdAt: "STRING_VALUE",
93
93
  * // updatedAt: "STRING_VALUE",
94
94
  * // },
@@ -135,6 +135,7 @@ declare const QueryColleaguesCommand_base: {
135
135
  * <p>Base exception class for all service exceptions from Users service.</p>
136
136
  *
137
137
  *
138
+ * @public
138
139
  */
139
140
  export declare class QueryColleaguesCommand extends QueryColleaguesCommand_base {
140
141
  /** @internal type navigation helper, not in runtime. */
@@ -27,8 +27,7 @@ declare const QueryUserCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * @public
31
- *
30
+ * Searches for a single user using a query with optional predicate validation.
32
31
  * @example
33
32
  * Use a bare-bones client and the command you need to make an API call.
34
33
  * ```javascript
@@ -63,6 +62,7 @@ declare const QueryUserCommand_base: {
63
62
  * // pbxExtension: "STRING_VALUE",
64
63
  * // pbxSerial: "STRING_VALUE",
65
64
  * // pbxUserId: "STRING_VALUE",
65
+ * // pbxGroupId: "STRING_VALUE",
66
66
  * // createdAt: "STRING_VALUE",
67
67
  * // updatedAt: "STRING_VALUE",
68
68
  * // },
@@ -88,6 +88,7 @@ declare const QueryUserCommand_base: {
88
88
  * <p>Base exception class for all service exceptions from Users service.</p>
89
89
  *
90
90
  *
91
+ * @public
91
92
  */
92
93
  export declare class QueryUserCommand extends QueryUserCommand_base {
93
94
  /** @internal type navigation helper, not in runtime. */
@@ -27,8 +27,7 @@ declare const QueryUsersCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * @public
31
- *
30
+ * Searches for multiple users using queries with optional predicate validation.
32
31
  * @example
33
32
  * Use a bare-bones client and the command you need to make an API call.
34
33
  * ```javascript
@@ -66,6 +65,7 @@ declare const QueryUsersCommand_base: {
66
65
  * // pbxExtension: "STRING_VALUE",
67
66
  * // pbxSerial: "STRING_VALUE",
68
67
  * // pbxUserId: "STRING_VALUE",
68
+ * // pbxGroupId: "STRING_VALUE",
69
69
  * // createdAt: "STRING_VALUE",
70
70
  * // updatedAt: "STRING_VALUE",
71
71
  * // },
@@ -88,6 +88,7 @@ declare const QueryUsersCommand_base: {
88
88
  * <p>Base exception class for all service exceptions from Users service.</p>
89
89
  *
90
90
  *
91
+ * @public
91
92
  */
92
93
  export declare class QueryUsersCommand extends QueryUsersCommand_base {
93
94
  /** @internal type navigation helper, not in runtime. */
@@ -27,8 +27,7 @@ declare const UpdateBotCallbackCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * @public
31
- *
30
+ * Updates the callback configuration for a specific bot.
32
31
  * @example
33
32
  * Use a bare-bones client and the command you need to make an API call.
34
33
  * ```javascript
@@ -42,6 +41,7 @@ declare const UpdateBotCallbackCommand_base: {
42
41
  * endpoint: { // BotEndpoint Union: only one key present
43
42
  * llm: { // BotLlmEndpoint
44
43
  * prompt: "STRING_VALUE", // required
44
+ * model: "STRING_VALUE",
45
45
  * embeddedTools: [ // BotLlmEmbeddedToolsList
46
46
  * { // BotLlmEmbeddedTool
47
47
  * type: "HANDOVER" || "DELEGATE" || "SUGGESTIONS", // required
@@ -85,13 +85,35 @@ declare const UpdateBotCallbackCommand_base: {
85
85
  * timeout: Number("int"),
86
86
  * parameters: "DOCUMENT_VALUE",
87
87
  * },
88
- * tool: { // BotLlmFunctionIntegrationTool
89
- * toolId: "STRING_VALUE", // required
90
- * },
91
88
  * },
92
89
  * },
93
90
  * },
94
91
  * ],
92
+ * capabilities: [ // BotCapabilitiesList
93
+ * { // BotCapability Union: only one key present
94
+ * tool: { // BotCapabilityTool
95
+ * id: "STRING_VALUE", // required
96
+ * variables: [ // BotToolVariablesList
97
+ * { // BotToolVariable
98
+ * name: "STRING_VALUE", // required
99
+ * handler: { // BotToolVariableHandler Union: only one key present
100
+ * auto: {},
101
+ * guided: { // BotToolVariableGuidedHandler
102
+ * description: "STRING_VALUE", // required
103
+ * },
104
+ * predefined: { // BotToolVariablePredefinedHandler
105
+ * description: "STRING_VALUE", // required
106
+ * },
107
+ * },
108
+ * },
109
+ * ],
110
+ * },
111
+ * kb: { // BotKnowledgeBase
112
+ * knowledgeBaseId: "STRING_VALUE",
113
+ * instructions: "STRING_VALUE",
114
+ * },
115
+ * },
116
+ * ],
95
117
  * },
96
118
  * dialogflowCx: { // BotDialogflowCxEndpoint
97
119
  * credentials: "DOCUMENT_VALUE", // required
@@ -122,6 +144,7 @@ declare const UpdateBotCallbackCommand_base: {
122
144
  * // endpoint: { // BotEndpoint Union: only one key present
123
145
  * // llm: { // BotLlmEndpoint
124
146
  * // prompt: "STRING_VALUE", // required
147
+ * // model: "STRING_VALUE",
125
148
  * // embeddedTools: [ // BotLlmEmbeddedToolsList
126
149
  * // { // BotLlmEmbeddedTool
127
150
  * // type: "HANDOVER" || "DELEGATE" || "SUGGESTIONS", // required
@@ -165,13 +188,35 @@ declare const UpdateBotCallbackCommand_base: {
165
188
  * // timeout: Number("int"),
166
189
  * // parameters: "DOCUMENT_VALUE",
167
190
  * // },
168
- * // tool: { // BotLlmFunctionIntegrationTool
169
- * // toolId: "STRING_VALUE", // required
170
- * // },
171
191
  * // },
172
192
  * // },
173
193
  * // },
174
194
  * // ],
195
+ * // capabilities: [ // BotCapabilitiesList
196
+ * // { // BotCapability Union: only one key present
197
+ * // tool: { // BotCapabilityTool
198
+ * // id: "STRING_VALUE", // required
199
+ * // variables: [ // BotToolVariablesList
200
+ * // { // BotToolVariable
201
+ * // name: "STRING_VALUE", // required
202
+ * // handler: { // BotToolVariableHandler Union: only one key present
203
+ * // auto: {},
204
+ * // guided: { // BotToolVariableGuidedHandler
205
+ * // description: "STRING_VALUE", // required
206
+ * // },
207
+ * // predefined: { // BotToolVariablePredefinedHandler
208
+ * // description: "STRING_VALUE", // required
209
+ * // },
210
+ * // },
211
+ * // },
212
+ * // ],
213
+ * // },
214
+ * // kb: { // BotKnowledgeBase
215
+ * // knowledgeBaseId: "STRING_VALUE",
216
+ * // instructions: "STRING_VALUE",
217
+ * // },
218
+ * // },
219
+ * // ],
175
220
  * // },
176
221
  * // dialogflowCx: { // BotDialogflowCxEndpoint
177
222
  * // credentials: "DOCUMENT_VALUE", // required
@@ -212,6 +257,7 @@ declare const UpdateBotCallbackCommand_base: {
212
257
  * <p>Base exception class for all service exceptions from Users service.</p>
213
258
  *
214
259
  *
260
+ * @public
215
261
  */
216
262
  export declare class UpdateBotCallbackCommand extends UpdateBotCallbackCommand_base {
217
263
  /** @internal type navigation helper, not in runtime. */
@@ -27,8 +27,7 @@ declare const UpdateBotCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * @public
31
- *
30
+ * Updates the configuration of an existing bot.
32
31
  * @example
33
32
  * Use a bare-bones client and the command you need to make an API call.
34
33
  * ```javascript
@@ -75,6 +74,7 @@ declare const UpdateBotCommand_base: {
75
74
  * <p>Base exception class for all service exceptions from Users service.</p>
76
75
  *
77
76
  *
77
+ * @public
78
78
  */
79
79
  export declare class UpdateBotCommand extends UpdateBotCommand_base {
80
80
  /** @internal type navigation helper, not in runtime. */
@@ -27,8 +27,7 @@ declare const UploadPictureCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * @public
31
- *
30
+ * Uploads a user profile picture in base64 format and returns the URL where it can be accessed.
32
31
  * @example
33
32
  * Use a bare-bones client and the command you need to make an API call.
34
33
  * ```javascript
@@ -60,6 +59,7 @@ declare const UploadPictureCommand_base: {
60
59
  * <p>Base exception class for all service exceptions from Users service.</p>
61
60
  *
62
61
  *
62
+ * @public
63
63
  */
64
64
  export declare class UploadPictureCommand extends UploadPictureCommand_base {
65
65
  /** @internal type navigation helper, not in runtime. */
@@ -27,9 +27,9 @@ declare const UploadPictureV1Command_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * @public
31
- * @deprecated
30
+ * Uploads a user profile picture in base64 format and returns the URL where it can be accessed. This is a deprecated operation - use UploadPicture instead.
32
31
  *
32
+ * @deprecated
33
33
  * @example
34
34
  * Use a bare-bones client and the command you need to make an API call.
35
35
  * ```javascript
@@ -61,6 +61,7 @@ declare const UploadPictureV1Command_base: {
61
61
  * <p>Base exception class for all service exceptions from Users service.</p>
62
62
  *
63
63
  *
64
+ * @public
64
65
  */
65
66
  export declare class UploadPictureV1Command extends UploadPictureV1Command_base {
66
67
  /** @internal type navigation helper, not in runtime. */
@@ -27,8 +27,7 @@ declare const VerifyBotSecretKeyCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * @public
31
- *
30
+ * Verifies a bot secret key and returns bot information if valid.
32
31
  * @example
33
32
  * Use a bare-bones client and the command you need to make an API call.
34
33
  * ```javascript
@@ -64,6 +63,7 @@ declare const VerifyBotSecretKeyCommand_base: {
64
63
  * <p>Base exception class for all service exceptions from Users service.</p>
65
64
  *
66
65
  *
66
+ * @public
67
67
  */
68
68
  export declare class VerifyBotSecretKeyCommand extends VerifyBotSecretKeyCommand_base {
69
69
  /** @internal type navigation helper, not in runtime. */
@@ -27,8 +27,7 @@ declare const VerifyBotSecretKeyV1Command_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * @public
31
- *
30
+ * Verifies a bot secret key and returns bot information if valid. This is a deprecated operation - use VerifyBotSecretKey instead.
32
31
  * @example
33
32
  * Use a bare-bones client and the command you need to make an API call.
34
33
  * ```javascript
@@ -64,6 +63,7 @@ declare const VerifyBotSecretKeyV1Command_base: {
64
63
  * <p>Base exception class for all service exceptions from Users service.</p>
65
64
  *
66
65
  *
66
+ * @public
67
67
  */
68
68
  export declare class VerifyBotSecretKeyV1Command extends VerifyBotSecretKeyV1Command_base {
69
69
  /** @internal type navigation helper, not in runtime. */
@@ -4,40 +4,25 @@ import { DocumentType as __DocumentType } from "@smithy/types";
4
4
  /**
5
5
  * @public
6
6
  */
7
- export declare class ValidationException extends __BaseException {
8
- readonly name: "ValidationException";
7
+ export declare class ForbiddenException extends __BaseException {
8
+ readonly name: "ForbiddenException";
9
9
  readonly $fault: "client";
10
10
  /**
11
11
  * @internal
12
12
  */
13
- constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
13
+ constructor(opts: __ExceptionOptionType<ForbiddenException, __BaseException>);
14
14
  }
15
15
  /**
16
16
  * @public
17
17
  */
18
- export declare class ForbiddenException extends __BaseException {
19
- readonly name: "ForbiddenException";
18
+ export declare class ValidationException extends __BaseException {
19
+ readonly name: "ValidationException";
20
20
  readonly $fault: "client";
21
21
  /**
22
22
  * @internal
23
23
  */
24
- constructor(opts: __ExceptionOptionType<ForbiddenException, __BaseException>);
24
+ constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
25
25
  }
26
- /**
27
- * @public
28
- * @enum
29
- */
30
- export declare const PbxLicenseType: {
31
- readonly BASIC: "basic";
32
- readonly BUSINESS: "business";
33
- readonly ESSENTIAL: "essential";
34
- readonly PREMIUM: "premium";
35
- readonly WIZYCONF: "wizyconf";
36
- };
37
- /**
38
- * @public
39
- */
40
- export type PbxLicenseType = typeof PbxLicenseType[keyof typeof PbxLicenseType];
41
26
  /**
42
27
  * @public
43
28
  */
@@ -56,9 +41,25 @@ export interface User {
56
41
  pbxExtension?: string | undefined;
57
42
  pbxSerial?: string | undefined;
58
43
  pbxUserId?: string | undefined;
44
+ pbxGroupId?: string | undefined;
59
45
  createdAt?: string | undefined;
60
46
  updatedAt?: string | undefined;
61
47
  }
48
+ /**
49
+ * @public
50
+ * @enum
51
+ */
52
+ export declare const PbxLicenseType: {
53
+ readonly BASIC: "basic";
54
+ readonly BUSINESS: "business";
55
+ readonly ESSENTIAL: "essential";
56
+ readonly PREMIUM: "premium";
57
+ readonly WIZYCONF: "wizyconf";
58
+ };
59
+ /**
60
+ * @public
61
+ */
62
+ export type PbxLicenseType = typeof PbxLicenseType[keyof typeof PbxLicenseType];
62
63
  /**
63
64
  * @public
64
65
  */
@@ -593,6 +594,132 @@ export declare class BotApiKeyNotFoundException extends __BaseException {
593
594
  */
594
595
  constructor(opts: __ExceptionOptionType<BotApiKeyNotFoundException, __BaseException>);
595
596
  }
597
+ /**
598
+ * @public
599
+ */
600
+ export interface BotKnowledgeBase {
601
+ knowledgeBaseId?: string | undefined;
602
+ /**
603
+ * Additional instructions for when the bot should use this knowledge base.
604
+ * @public
605
+ */
606
+ instructions?: string | undefined;
607
+ }
608
+ /**
609
+ * @public
610
+ */
611
+ export interface BotToolVariableAutoHandler {
612
+ }
613
+ /**
614
+ * @public
615
+ */
616
+ export interface BotToolVariableGuidedHandler {
617
+ description: string;
618
+ }
619
+ /**
620
+ * @public
621
+ */
622
+ export interface BotToolVariablePredefinedHandler {
623
+ description: string;
624
+ }
625
+ /**
626
+ * @public
627
+ */
628
+ export type BotToolVariableHandler = BotToolVariableHandler.AutoMember | BotToolVariableHandler.GuidedMember | BotToolVariableHandler.PredefinedMember | BotToolVariableHandler.$UnknownMember;
629
+ /**
630
+ * @public
631
+ */
632
+ export declare namespace BotToolVariableHandler {
633
+ interface AutoMember {
634
+ auto: BotToolVariableAutoHandler;
635
+ guided?: never;
636
+ predefined?: never;
637
+ $unknown?: never;
638
+ }
639
+ interface GuidedMember {
640
+ auto?: never;
641
+ guided: BotToolVariableGuidedHandler;
642
+ predefined?: never;
643
+ $unknown?: never;
644
+ }
645
+ interface PredefinedMember {
646
+ auto?: never;
647
+ guided?: never;
648
+ predefined: BotToolVariablePredefinedHandler;
649
+ $unknown?: never;
650
+ }
651
+ /**
652
+ * @public
653
+ */
654
+ interface $UnknownMember {
655
+ auto?: never;
656
+ guided?: never;
657
+ predefined?: never;
658
+ $unknown: [string, any];
659
+ }
660
+ interface Visitor<T> {
661
+ auto: (value: BotToolVariableAutoHandler) => T;
662
+ guided: (value: BotToolVariableGuidedHandler) => T;
663
+ predefined: (value: BotToolVariablePredefinedHandler) => T;
664
+ _: (name: string, value: any) => T;
665
+ }
666
+ const visit: <T>(value: BotToolVariableHandler, visitor: Visitor<T>) => T;
667
+ }
668
+ /**
669
+ * @public
670
+ */
671
+ export interface BotToolVariable {
672
+ /**
673
+ * Name of the tool variable, e.g.: 'myvar'
674
+ * @public
675
+ */
676
+ name: string;
677
+ handler?: BotToolVariableHandler | undefined;
678
+ }
679
+ /**
680
+ * @public
681
+ */
682
+ export interface BotCapabilityTool {
683
+ /**
684
+ * Unique identifier of the tool using nanoid format
685
+ * @public
686
+ */
687
+ id: string;
688
+ variables?: (BotToolVariable)[] | undefined;
689
+ }
690
+ /**
691
+ * @public
692
+ */
693
+ export type BotCapability = BotCapability.KbMember | BotCapability.ToolMember | BotCapability.$UnknownMember;
694
+ /**
695
+ * @public
696
+ */
697
+ export declare namespace BotCapability {
698
+ interface ToolMember {
699
+ tool: BotCapabilityTool;
700
+ kb?: never;
701
+ $unknown?: never;
702
+ }
703
+ interface KbMember {
704
+ tool?: never;
705
+ kb: BotKnowledgeBase;
706
+ $unknown?: never;
707
+ }
708
+ /**
709
+ * @public
710
+ */
711
+ interface $UnknownMember {
712
+ tool?: never;
713
+ kb?: never;
714
+ $unknown: [string, any];
715
+ }
716
+ interface Visitor<T> {
717
+ tool: (value: BotCapabilityTool) => T;
718
+ kb: (value: BotKnowledgeBase) => T;
719
+ _: (name: string, value: any) => T;
720
+ }
721
+ const visit: <T>(value: BotCapability, visitor: Visitor<T>) => T;
722
+ }
596
723
  /**
597
724
  * @public
598
725
  * @enum
@@ -618,16 +745,6 @@ export interface BotLlmEmbeddedTool {
618
745
  */
619
746
  parameters?: __DocumentType | undefined;
620
747
  }
621
- /**
622
- * @public
623
- */
624
- export interface BotLlmFunctionIntegrationTool {
625
- /**
626
- * The ID of the AI Tool from wim-tools service
627
- * @public
628
- */
629
- toolId: string;
630
- }
631
748
  /**
632
749
  * @public
633
750
  */
@@ -734,19 +851,13 @@ export interface BotLlmFunctionIntegrationWebhook {
734
851
  /**
735
852
  * @public
736
853
  */
737
- export type BotLlmFunctionIntegration = BotLlmFunctionIntegration.ToolMember | BotLlmFunctionIntegration.WebhookMember | BotLlmFunctionIntegration.$UnknownMember;
854
+ export type BotLlmFunctionIntegration = BotLlmFunctionIntegration.WebhookMember | BotLlmFunctionIntegration.$UnknownMember;
738
855
  /**
739
856
  * @public
740
857
  */
741
858
  export declare namespace BotLlmFunctionIntegration {
742
859
  interface WebhookMember {
743
860
  webhook: BotLlmFunctionIntegrationWebhook;
744
- tool?: never;
745
- $unknown?: never;
746
- }
747
- interface ToolMember {
748
- webhook?: never;
749
- tool: BotLlmFunctionIntegrationTool;
750
861
  $unknown?: never;
751
862
  }
752
863
  /**
@@ -754,12 +865,10 @@ export declare namespace BotLlmFunctionIntegration {
754
865
  */
755
866
  interface $UnknownMember {
756
867
  webhook?: never;
757
- tool?: never;
758
868
  $unknown: [string, any];
759
869
  }
760
870
  interface Visitor<T> {
761
871
  webhook: (value: BotLlmFunctionIntegrationWebhook) => T;
762
- tool: (value: BotLlmFunctionIntegrationTool) => T;
763
872
  _: (name: string, value: any) => T;
764
873
  }
765
874
  const visit: <T>(value: BotLlmFunctionIntegration, visitor: Visitor<T>) => T;
@@ -808,6 +917,11 @@ export interface BotLlmTool {
808
917
  */
809
918
  export interface BotLlmEndpoint {
810
919
  prompt: string;
920
+ /**
921
+ * The AI model to use for generating responses. If not specified, uses the default model.
922
+ * @public
923
+ */
924
+ model?: string | undefined;
811
925
  /**
812
926
  * Embedded functions to use within chat session.
813
927
  * @public
@@ -818,6 +932,7 @@ export interface BotLlmEndpoint {
818
932
  * @public
819
933
  */
820
934
  tools?: (BotLlmTool)[] | undefined;
935
+ capabilities?: (BotCapability)[] | undefined;
821
936
  }
822
937
  /**
823
938
  * @public
@@ -15,8 +15,13 @@ export declare const getRuntimeConfig: (config: UsersClientConfig) => {
15
15
  streamCollector: import("@smithy/types").StreamCollector;
16
16
  env?: "stage" | "stable" | "prod" | undefined;
17
17
  token: import("@wildix/smithy-utils").TokenProvider;
18
- apiVersion: string;
19
18
  cacheMiddleware?: boolean | undefined;
19
+ protocol?: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").$ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | import("@smithy/types").$ClientProtocolCtor<any, any> | undefined;
20
+ protocolSettings?: {
21
+ [setting: string]: unknown;
22
+ defaultNamespace?: string | undefined;
23
+ } | undefined;
24
+ apiVersion: string;
20
25
  urlParser: import("@smithy/types").UrlParser;
21
26
  base64Decoder: import("@smithy/types").Decoder;
22
27
  base64Encoder: (_input: string | Uint8Array) => string;
@@ -16,8 +16,13 @@ export declare const getRuntimeConfig: (config: UsersClientConfig) => {
16
16
  userAgentAppId: string | import("@smithy/types").Provider<string | undefined>;
17
17
  env?: "stage" | "stable" | "prod" | undefined;
18
18
  token: import("@wildix/smithy-utils").TokenProvider;
19
- apiVersion: string;
20
19
  cacheMiddleware?: boolean | undefined;
20
+ protocol?: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").$ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | import("@smithy/types").$ClientProtocolCtor<any, any> | undefined;
21
+ protocolSettings?: {
22
+ [setting: string]: unknown;
23
+ defaultNamespace?: string | undefined;
24
+ } | undefined;
25
+ apiVersion: string;
21
26
  urlParser: import("@smithy/types").UrlParser;
22
27
  base64Decoder: import("@smithy/types").Decoder;
23
28
  base64Encoder: (_input: string | Uint8Array) => string;
@@ -8,8 +8,13 @@ export declare const getRuntimeConfig: (config: UsersClientConfig) => {
8
8
  env?: "stage" | "stable" | "prod" | undefined;
9
9
  token: import("@wildix/smithy-utils").TokenProvider;
10
10
  requestHandler: import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions | Record<string, unknown> | import("@smithy/protocol-http").HttpHandler<any> | import("@smithy/fetch-http-handler").FetchHttpHandler;
11
- apiVersion: string;
12
11
  cacheMiddleware?: boolean | undefined;
12
+ protocol?: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").$ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | import("@smithy/types").$ClientProtocolCtor<any, any> | undefined;
13
+ protocolSettings?: {
14
+ [setting: string]: unknown;
15
+ defaultNamespace?: string | undefined;
16
+ } | undefined;
17
+ apiVersion: string;
13
18
  urlParser: import("@smithy/types").UrlParser;
14
19
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
15
20
  streamCollector: import("@smithy/types").StreamCollector;
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.45",
4
+ "version": "1.0.47",
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",