@helpai/elements 0.16.0 → 0.17.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/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 epoch ms (same clock as
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.number().optional()
789
+ createdAt: z17.iso.datetime().optional()
790
790
  }).loose()
791
791
  ).optional(),
792
792
  /**