@docbrasil/api-systemmanager 1.1.35 → 1.1.36

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/bundle.cjs CHANGED
@@ -14018,7 +14018,7 @@ class MyndAI {
14018
14018
  * @param {object} params.context The context to apply to a prompt
14019
14019
  * @param {string} params.text The text to add to the prompt
14020
14020
  * @param {array<base64>} params.medias Medias to add to the case in base64 (PDF, Image, Video, Audio)
14021
- * @param {string} params.propmpt The actual prompt with context and text to apply to
14021
+ * @param {string} params.prompt The actual prompt with context and text to apply to
14022
14022
  * @return {Promise<object>} data
14023
14023
  * @return {boolean} data.success true|false for success
14024
14024
  * @return {object} data.result the result of the AI call
@@ -14045,7 +14045,7 @@ class MyndAI {
14045
14045
 
14046
14046
  try {
14047
14047
  Joi__default["default"].assert(params, Joi__default["default"].object().required().error(new Error('params is required')));
14048
- Joi__default["default"].assert(params.propmpt, Joi__default["default"].string().required().error(new Error('Provide a prompt')));
14048
+ Joi__default["default"].assert(params.prompt, Joi__default["default"].string().required().error(new Error('Provide a prompt')));
14049
14049
 
14050
14050
  const apiCall = self._client
14051
14051
  .post('/agents/explain', params, self._setHeader(authorization));