@vendasta/ai-assistants 0.28.0 → 0.29.0
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/esm2020/lib/_internal/interfaces/assistant.interface.mjs +1 -1
- package/esm2020/lib/_internal/objects/assistant.mjs +4 -1
- package/fesm2015/vendasta-ai-assistants.mjs +3 -0
- package/fesm2015/vendasta-ai-assistants.mjs.map +1 -1
- package/fesm2020/vendasta-ai-assistants.mjs +3 -0
- package/fesm2020/vendasta-ai-assistants.mjs.map +1 -1
- package/lib/_internal/interfaces/assistant.interface.d.ts +1 -0
- package/lib/_internal/objects/assistant.d.ts +1 -0
- package/package.json +1 -1
|
@@ -922,6 +922,9 @@ class Assistant {
|
|
|
922
922
|
if (typeof this.configurableGoals !== 'undefined' && this.configurableGoals !== null) {
|
|
923
923
|
toReturn['configurableGoals'] = 'toApiJson' in this.configurableGoals ? this.configurableGoals.toApiJson() : this.configurableGoals;
|
|
924
924
|
}
|
|
925
|
+
if (typeof this.userId !== 'undefined') {
|
|
926
|
+
toReturn['userId'] = this.userId;
|
|
927
|
+
}
|
|
925
928
|
return toReturn;
|
|
926
929
|
}
|
|
927
930
|
}
|