@wildix/xbees-users-client 1.0.45 → 1.0.46

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 +11 -13
  2. package/dist-cjs/protocols/Aws_restJson1.js +2 -6
  3. package/dist-es/models/models_0.js +8 -10
  4. package/dist-es/protocols/Aws_restJson1.js +2 -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 +3 -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 +3 -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 +4 -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 +28 -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.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",
@@ -122,8 +122,6 @@ var BotLlmFunctionIntegration;
122
122
  BotLlmFunctionIntegration.visit = (value, visitor) => {
123
123
  if (value.webhook !== undefined)
124
124
  return visitor.webhook(value.webhook);
125
- if (value.tool !== undefined)
126
- return visitor.tool(value.tool);
127
125
  return visitor._(value.$unknown[0], value.$unknown[1]);
128
126
  };
129
127
  })(BotLlmFunctionIntegration || (exports.BotLlmFunctionIntegration = BotLlmFunctionIntegration = {}));
@@ -1237,6 +1237,7 @@ const se_BotLlmEmbeddedToolsList = (input, context) => {
1237
1237
  const se_BotLlmEndpoint = (input, context) => {
1238
1238
  return (0, smithy_client_1.take)(input, {
1239
1239
  'embeddedTools': _ => se_BotLlmEmbeddedToolsList(_, context),
1240
+ 'model': [],
1240
1241
  'prompt': [],
1241
1242
  'tools': _ => se_BotLlmToolsList(_, context),
1242
1243
  });
@@ -1251,7 +1252,6 @@ const se_BotLlmFunctionDefinition = (input, context) => {
1251
1252
  };
1252
1253
  const se_BotLlmFunctionIntegration = (input, context) => {
1253
1254
  return models_0_1.BotLlmFunctionIntegration.visit(input, {
1254
- tool: value => ({ "tool": (0, smithy_client_1._json)(value) }),
1255
1255
  webhook: value => ({ "webhook": se_BotLlmFunctionIntegrationWebhook(value, context) }),
1256
1256
  _: (name, value) => ({ [name]: value })
1257
1257
  });
@@ -1338,6 +1338,7 @@ const de_BotLlmEmbeddedToolsList = (output, context) => {
1338
1338
  const de_BotLlmEndpoint = (output, context) => {
1339
1339
  return (0, smithy_client_1.take)(output, {
1340
1340
  'embeddedTools': (_) => de_BotLlmEmbeddedToolsList(_, context),
1341
+ 'model': smithy_client_1.expectString,
1341
1342
  'prompt': smithy_client_1.expectString,
1342
1343
  'tools': (_) => de_BotLlmToolsList(_, context),
1343
1344
  });
@@ -1351,11 +1352,6 @@ const de_BotLlmFunctionDefinition = (output, context) => {
1351
1352
  });
1352
1353
  };
1353
1354
  const de_BotLlmFunctionIntegration = (output, context) => {
1354
- if (output.tool != null) {
1355
- return {
1356
- tool: (0, smithy_client_1._json)(output.tool)
1357
- };
1358
- }
1359
1355
  if (output.webhook != null) {
1360
1356
  return {
1361
1357
  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 = {
@@ -116,8 +116,6 @@ export var BotLlmFunctionIntegration;
116
116
  BotLlmFunctionIntegration.visit = (value, visitor) => {
117
117
  if (value.webhook !== undefined)
118
118
  return visitor.webhook(value.webhook);
119
- if (value.tool !== undefined)
120
- return visitor.tool(value.tool);
121
119
  return visitor._(value.$unknown[0], value.$unknown[1]);
122
120
  };
123
121
  })(BotLlmFunctionIntegration || (BotLlmFunctionIntegration = {}));
@@ -1167,6 +1167,7 @@ const se_BotLlmEmbeddedToolsList = (input, context) => {
1167
1167
  const se_BotLlmEndpoint = (input, context) => {
1168
1168
  return take(input, {
1169
1169
  'embeddedTools': _ => se_BotLlmEmbeddedToolsList(_, context),
1170
+ 'model': [],
1170
1171
  'prompt': [],
1171
1172
  'tools': _ => se_BotLlmToolsList(_, context),
1172
1173
  });
@@ -1181,7 +1182,6 @@ const se_BotLlmFunctionDefinition = (input, context) => {
1181
1182
  };
1182
1183
  const se_BotLlmFunctionIntegration = (input, context) => {
1183
1184
  return BotLlmFunctionIntegration.visit(input, {
1184
- tool: value => ({ "tool": _json(value) }),
1185
1185
  webhook: value => ({ "webhook": se_BotLlmFunctionIntegrationWebhook(value, context) }),
1186
1186
  _: (name, value) => ({ [name]: value })
1187
1187
  });
@@ -1268,6 +1268,7 @@ const de_BotLlmEmbeddedToolsList = (output, context) => {
1268
1268
  const de_BotLlmEndpoint = (output, context) => {
1269
1269
  return take(output, {
1270
1270
  'embeddedTools': (_) => de_BotLlmEmbeddedToolsList(_, context),
1271
+ 'model': __expectString,
1271
1272
  'prompt': __expectString,
1272
1273
  'tools': (_) => de_BotLlmToolsList(_, context),
1273
1274
  });
@@ -1281,11 +1282,6 @@ const de_BotLlmFunctionDefinition = (output, context) => {
1281
1282
  });
1282
1283
  };
1283
1284
  const de_BotLlmFunctionIntegration = (output, context) => {
1284
- if (output.tool != null) {
1285
- return {
1286
- tool: _json(output.tool)
1287
- };
1288
- }
1289
1285
  if (output.webhook != null) {
1290
1286
  return {
1291
1287
  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,9 +88,6 @@ 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
  * },
@@ -150,6 +147,7 @@ declare const CreateBotCommand_base: {
150
147
  * <p>Base exception class for all service exceptions from Users service.</p>
151
148
  *
152
149
  *
150
+ * @public
153
151
  */
154
152
  export declare class CreateBotCommand extends CreateBotCommand_base {
155
153
  /** @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,9 +89,6 @@ 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
  * // },
@@ -138,6 +135,7 @@ declare const GetBotCallbackCommand_base: {
138
135
  * <p>Base exception class for all service exceptions from Users service.</p>
139
136
  *
140
137
  *
138
+ * @public
141
139
  */
142
140
  export declare class GetBotCallbackCommand extends GetBotCallbackCommand_base {
143
141
  /** @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,9 +85,6 @@ 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
  * },
@@ -122,6 +119,7 @@ declare const UpdateBotCallbackCommand_base: {
122
119
  * // endpoint: { // BotEndpoint Union: only one key present
123
120
  * // llm: { // BotLlmEndpoint
124
121
  * // prompt: "STRING_VALUE", // required
122
+ * // model: "STRING_VALUE",
125
123
  * // embeddedTools: [ // BotLlmEmbeddedToolsList
126
124
  * // { // BotLlmEmbeddedTool
127
125
  * // type: "HANDOVER" || "DELEGATE" || "SUGGESTIONS", // required
@@ -165,9 +163,6 @@ declare const UpdateBotCallbackCommand_base: {
165
163
  * // timeout: Number("int"),
166
164
  * // parameters: "DOCUMENT_VALUE",
167
165
  * // },
168
- * // tool: { // BotLlmFunctionIntegrationTool
169
- * // toolId: "STRING_VALUE", // required
170
- * // },
171
166
  * // },
172
167
  * // },
173
168
  * // },
@@ -212,6 +207,7 @@ declare const UpdateBotCallbackCommand_base: {
212
207
  * <p>Base exception class for all service exceptions from Users service.</p>
213
208
  *
214
209
  *
210
+ * @public
215
211
  */
216
212
  export declare class UpdateBotCallbackCommand extends UpdateBotCallbackCommand_base {
217
213
  /** @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
  */
@@ -618,16 +619,6 @@ export interface BotLlmEmbeddedTool {
618
619
  */
619
620
  parameters?: __DocumentType | undefined;
620
621
  }
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
622
  /**
632
623
  * @public
633
624
  */
@@ -734,19 +725,13 @@ export interface BotLlmFunctionIntegrationWebhook {
734
725
  /**
735
726
  * @public
736
727
  */
737
- export type BotLlmFunctionIntegration = BotLlmFunctionIntegration.ToolMember | BotLlmFunctionIntegration.WebhookMember | BotLlmFunctionIntegration.$UnknownMember;
728
+ export type BotLlmFunctionIntegration = BotLlmFunctionIntegration.WebhookMember | BotLlmFunctionIntegration.$UnknownMember;
738
729
  /**
739
730
  * @public
740
731
  */
741
732
  export declare namespace BotLlmFunctionIntegration {
742
733
  interface WebhookMember {
743
734
  webhook: BotLlmFunctionIntegrationWebhook;
744
- tool?: never;
745
- $unknown?: never;
746
- }
747
- interface ToolMember {
748
- webhook?: never;
749
- tool: BotLlmFunctionIntegrationTool;
750
735
  $unknown?: never;
751
736
  }
752
737
  /**
@@ -754,12 +739,10 @@ export declare namespace BotLlmFunctionIntegration {
754
739
  */
755
740
  interface $UnknownMember {
756
741
  webhook?: never;
757
- tool?: never;
758
742
  $unknown: [string, any];
759
743
  }
760
744
  interface Visitor<T> {
761
745
  webhook: (value: BotLlmFunctionIntegrationWebhook) => T;
762
- tool: (value: BotLlmFunctionIntegrationTool) => T;
763
746
  _: (name: string, value: any) => T;
764
747
  }
765
748
  const visit: <T>(value: BotLlmFunctionIntegration, visitor: Visitor<T>) => T;
@@ -808,6 +791,11 @@ export interface BotLlmTool {
808
791
  */
809
792
  export interface BotLlmEndpoint {
810
793
  prompt: string;
794
+ /**
795
+ * The AI model to use for generating responses. If not specified, uses the default model.
796
+ * @public
797
+ */
798
+ model?: string | undefined;
811
799
  /**
812
800
  * Embedded functions to use within chat session.
813
801
  * @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.46",
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",