@helpai/elements 0.16.0 → 0.17.1
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/configurator.mjs +3 -3
- package/elements-web-component.esm.js +18 -18
- package/elements-web-component.esm.js.map +3 -3
- package/elements.cjs.js +18 -18
- package/elements.cjs.js.map +3 -3
- package/elements.esm.js +18 -18
- package/elements.esm.js.map +3 -3
- package/elements.js +18 -18
- package/elements.js.map +3 -3
- package/index.d.ts +9 -7
- package/index.mjs +10 -4
- package/package.json +1 -1
- package/schema.d.ts +49 -49
- package/schema.json +3 -1
- package/schema.mjs +3 -3
- package/style.css +1 -1
- package/web-component.mjs +10 -4
package/configurator.mjs
CHANGED
|
@@ -778,15 +778,15 @@ var startConversationResponseSchema = z17.object({
|
|
|
778
778
|
/**
|
|
779
779
|
* Form submissions recorded for this conversation — echoed like
|
|
780
780
|
* `messages` so the widget reconstructs the collapsed "form submitted"
|
|
781
|
-
* timeline markers on resume. `createdAt` is
|
|
782
|
-
* message `createdAt`).
|
|
781
|
+
* timeline markers on resume. `createdAt` is ISO-8601 (a serialized
|
|
782
|
+
* Mongo ISODate — same format as message `createdAt`).
|
|
783
783
|
*/
|
|
784
784
|
formSubmissions: z17.array(
|
|
785
785
|
z17.object({
|
|
786
786
|
formId: z17.string(),
|
|
787
787
|
trigger: z17.string(),
|
|
788
788
|
skipped: z17.boolean().optional(),
|
|
789
|
-
createdAt: z17.
|
|
789
|
+
createdAt: z17.iso.datetime().optional()
|
|
790
790
|
}).loose()
|
|
791
791
|
).optional(),
|
|
792
792
|
/**
|