impact-chatbot 3.1.1 → 3.1.3
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/index.cjs.js +3 -1
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +3 -1
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -766,7 +766,7 @@ const uploadFile = async (payload) => {
|
|
|
766
766
|
* serve it and answers {name, version, characters, files, missing_files, trigger, trigger_said, turn_on}; a
|
|
767
767
|
* skill it refuses is a 422 whose detail says why. Errors reach the caller, which shows them. */
|
|
768
768
|
const uploadSkill = async (files, baseUrl) => {
|
|
769
|
-
return
|
|
769
|
+
return httpRequest({
|
|
770
770
|
url: `${baseUrl}/chatbot/agent/skills`,
|
|
771
771
|
method: 'POST',
|
|
772
772
|
data: { files },
|
|
@@ -13117,6 +13117,8 @@ const TabularContent = ({ steps: initialSteps, currentTabValue, children, questi
|
|
|
13117
13117
|
return jsx(DateRangePickerContent, { bodyText: parsedData.bodyText, isFormDisabled: isFormDisabled }, key);
|
|
13118
13118
|
case "html":
|
|
13119
13119
|
return jsx(HtmlContent, { bodyText: parsedData.bodyText }, key);
|
|
13120
|
+
case "allocation_plan_card":
|
|
13121
|
+
return jsx(AllocationPlanCard, { bodyText: parsedData.bodyText }, key);
|
|
13120
13122
|
default:
|
|
13121
13123
|
return null;
|
|
13122
13124
|
}
|