@marketrix.ai/widget 4.0.108 → 4.0.110

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.
@@ -1,4 +1,7 @@
1
1
  import { z } from 'zod';
2
+ import { type ActivityLogType, ActivityLogTypeSchema, type ApplicationType, ApplicationTypeSchema, type WidgetType, WidgetTypeSchema } from './activityLogVocabulary';
3
+ export { ActivityLogTypeSchema, ApplicationTypeSchema, WidgetTypeSchema };
4
+ export type { ActivityLogType, ApplicationType, WidgetType };
2
5
  export declare const WorkspacePackageSchema: z.ZodEnum<{
3
6
  free: "free";
4
7
  startup: "startup";
@@ -27,15 +30,6 @@ export declare const RevenueStatusSchema: z.ZodEnum<{
27
30
  zero: "zero";
28
31
  }>;
29
32
  export type RevenueStatus = z.infer<typeof RevenueStatusSchema>;
30
- export declare const ApplicationTypeSchema: z.ZodEnum<{
31
- app: "app";
32
- website: "website";
33
- }>;
34
- export type ApplicationType = z.infer<typeof ApplicationTypeSchema>;
35
- export declare const WidgetTypeSchema: z.ZodEnum<{
36
- widget: "widget";
37
- }>;
38
- export type WidgetType = z.infer<typeof WidgetTypeSchema>;
39
33
  export declare const InstructionTypeSchema: z.ZodEnum<{
40
34
  tell: "tell";
41
35
  show: "show";
@@ -63,7 +57,7 @@ export declare const UserEntitySchema: z.ZodObject<{
63
57
  suspended: "suspended";
64
58
  }>;
65
59
  email: z.ZodEmail;
66
- external_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
60
+ external_id: z.ZodString;
67
61
  first_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
68
62
  last_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
69
63
  image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -79,12 +73,12 @@ export declare const UserEntitySchema: z.ZodObject<{
79
73
  }, z.core.$strip>;
80
74
  export declare const UserSummarySchema: z.ZodObject<{
81
75
  id: z.ZodNumber;
82
- is_super: z.ZodBoolean;
83
76
  status: z.ZodEnum<{
84
77
  created: "created";
85
78
  active: "active";
86
79
  suspended: "suspended";
87
80
  }>;
81
+ is_super: z.ZodBoolean;
88
82
  email: z.ZodEmail;
89
83
  first_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
90
84
  last_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -368,58 +362,394 @@ export declare const WidgetPublicSchema: z.ZodObject<{
368
362
  }, z.core.$strip>;
369
363
  }, z.core.$strip>;
370
364
  export type WidgetPublicData = z.infer<typeof WidgetPublicSchema>;
371
- export declare const ActivityLogTypeSchema: z.ZodEnum<{
372
- update_workspace: "update_workspace";
373
- update_user: "update_user";
374
- create_application: "create_application";
375
- update_application: "update_application";
376
- delete_application: "delete_application";
377
- create_widget: "create_widget";
378
- update_widget: "update_widget";
379
- delete_widget: "delete_widget";
380
- create_knowledge: "create_knowledge";
381
- update_knowledge: "update_knowledge";
382
- delete_knowledge: "delete_knowledge";
383
- request_membership: "request_membership";
384
- invite_user: "invite_user";
385
- create_workspace: "create_workspace";
386
- trial_started: "trial_started";
387
- trial_ending_soon: "trial_ending_soon";
388
- trial_ended: "trial_ended";
389
- subscription_created: "subscription_created";
390
- subscription_canceled: "subscription_canceled";
391
- plan_changed: "plan_changed";
392
- payment_succeeded: "payment_succeeded";
393
- payment_failed: "payment_failed";
394
- widget_question: "widget_question";
395
- start_simulation: "start_simulation";
396
- create_workflow: "create_workflow";
397
- update_workflow: "update_workflow";
398
- delete_workflow: "delete_workflow";
399
- toggle_workflow: "toggle_workflow";
400
- slack_command: "slack_command";
401
- publish_survey: "publish_survey";
402
- unpublish_survey: "unpublish_survey";
403
- delete_survey_response: "delete_survey_response";
404
- }>;
405
- export type ActivityLogType = z.infer<typeof ActivityLogTypeSchema>;
406
- export declare const ActivityLogMetadataSchema: z.ZodObject<{
407
- details: z.ZodOptional<z.ZodString>;
408
- id: z.ZodOptional<z.ZodNumber>;
409
- type: z.ZodOptional<z.ZodString>;
410
- name: z.ZodOptional<z.ZodString>;
411
- target_user_id: z.ZodOptional<z.ZodNumber>;
412
- target_user_email: z.ZodOptional<z.ZodString>;
413
- reason: z.ZodOptional<z.ZodString>;
414
- widget_type: z.ZodOptional<z.ZodEnum<{
365
+ export declare const ActivityLogMetadataSchema: z.ZodUnion<[z.ZodObject<{
366
+ details: z.ZodString;
367
+ }, z.core.$strict> | z.ZodUnion<readonly [z.ZodObject<{
368
+ target_user_id: z.ZodNumber;
369
+ target_user_email: z.ZodString;
370
+ reason: z.ZodString;
371
+ details: z.ZodString;
372
+ }, z.core.$strict>, z.ZodObject<{
373
+ target_user_id: z.ZodNumber;
374
+ details: z.ZodString;
375
+ }, z.core.$strict>]> | z.ZodObject<{
376
+ id: z.ZodNumber;
377
+ name: z.ZodString;
378
+ type: z.ZodEnum<{
379
+ app: "app";
380
+ website: "website";
381
+ }>;
382
+ }, z.core.$strict> | z.ZodObject<{
383
+ application_id: z.ZodNumber;
384
+ widget_type: z.ZodEnum<{
385
+ widget: "widget";
386
+ }>;
387
+ details: z.ZodString;
388
+ }, z.core.$strict> | z.ZodObject<{
389
+ application_id: z.ZodNumber;
390
+ file_name: z.ZodString;
391
+ file_size: z.ZodNumber;
392
+ file_type: z.ZodString;
393
+ file_url: z.ZodString;
394
+ source_url: z.ZodOptional<z.ZodString>;
395
+ }, z.core.$strict> | z.ZodObject<{
396
+ id: z.ZodNumber;
397
+ file_name: z.ZodString;
398
+ source_url: z.ZodString;
399
+ action: z.ZodLiteral<"refreshed">;
400
+ }, z.core.$strict> | z.ZodObject<{
401
+ id: z.ZodNumber;
402
+ file_name: z.ZodString;
403
+ file_type: z.ZodString;
404
+ }, z.core.$strict> | z.ZodObject<{
405
+ target_user_email: z.ZodString;
406
+ reminder: z.ZodOptional<z.ZodLiteral<true>>;
407
+ details: z.ZodString;
408
+ }, z.core.$strict> | z.ZodObject<{
409
+ target_user_email: z.ZodString;
410
+ details: z.ZodString;
411
+ }, z.core.$strict> | z.ZodObject<{
412
+ slug: z.ZodString;
413
+ details: z.ZodString;
414
+ }, z.core.$strict> | z.ZodObject<{
415
+ subscription_id: z.ZodString;
416
+ plan: z.ZodOptional<z.ZodString>;
417
+ details: z.ZodString;
418
+ }, z.core.$strict> | z.ZodObject<{
419
+ subscription_id: z.ZodString;
420
+ plan: z.ZodOptional<z.ZodString>;
421
+ details: z.ZodString;
422
+ }, z.core.$strict> | z.ZodObject<{
423
+ subscription_id: z.ZodString;
424
+ plan: z.ZodOptional<z.ZodString>;
425
+ details: z.ZodString;
426
+ }, z.core.$strict> | z.ZodObject<{
427
+ subscription_id: z.ZodString;
428
+ plan: z.ZodOptional<z.ZodString>;
429
+ details: z.ZodString;
430
+ }, z.core.$strict> | z.ZodObject<{
431
+ subscription_id: z.ZodString;
432
+ plan: z.ZodOptional<z.ZodString>;
433
+ details: z.ZodString;
434
+ }, z.core.$strict> | z.ZodObject<{
435
+ session_id: z.ZodString;
436
+ plan: z.ZodOptional<z.ZodString>;
437
+ details: z.ZodString;
438
+ }, z.core.$strict> | z.ZodObject<{
439
+ invoice_id: z.ZodString;
440
+ plan: z.ZodOptional<z.ZodString>;
441
+ details: z.ZodString;
442
+ }, z.core.$strict> | z.ZodObject<{
443
+ invoice_id: z.ZodString;
444
+ plan: z.ZodOptional<z.ZodString>;
445
+ details: z.ZodString;
446
+ }, z.core.$strict> | z.ZodObject<{
447
+ application_id: z.ZodNumber;
448
+ chat_id: z.ZodString;
449
+ mode: z.ZodString;
450
+ question: z.ZodString;
451
+ timestamp: z.ZodString;
452
+ user_id: z.ZodOptional<z.ZodNumber>;
453
+ }, z.core.$strict> | z.ZodObject<{
454
+ application_id: z.ZodNumber;
455
+ simulation_id: z.ZodNumber;
456
+ }, z.core.$strict> | z.ZodObject<{
457
+ id: z.ZodNumber;
458
+ name: z.ZodString;
459
+ details: z.ZodString;
460
+ }, z.core.$strict> | z.ZodObject<{
461
+ enabled: z.ZodBoolean;
462
+ id: z.ZodNumber;
463
+ name: z.ZodString;
464
+ details: z.ZodString;
465
+ }, z.core.$strict> | z.ZodObject<{
466
+ slack_user_id: z.ZodString;
467
+ slack_channel_id: z.ZodNullable<z.ZodString>;
468
+ raw_text: z.ZodString;
469
+ detected_intent: z.ZodString;
470
+ extracted_params: z.ZodObject<{
471
+ qaFlowId: z.ZodOptional<z.ZodNumber>;
472
+ appId: z.ZodOptional<z.ZodNumber>;
473
+ instructions: z.ZodOptional<z.ZodString>;
474
+ query: z.ZodOptional<z.ZodString>;
475
+ channel: z.ZodOptional<z.ZodString>;
476
+ text: z.ZodOptional<z.ZodString>;
477
+ name: z.ZodOptional<z.ZodString>;
478
+ workflowName: z.ZodOptional<z.ZodString>;
479
+ }, z.core.$strict>;
480
+ status: z.ZodEnum<{
481
+ received: "received";
482
+ classifying: "classifying";
483
+ dispatched: "dispatched";
484
+ completed: "completed";
485
+ failed: "failed";
486
+ }>;
487
+ response_text: z.ZodNullable<z.ZodString>;
488
+ error_message: z.ZodNullable<z.ZodString>;
489
+ duration_ms: z.ZodNullable<z.ZodNumber>;
490
+ }, z.core.$strict> | z.ZodObject<{
491
+ survey_id: z.ZodNumber;
492
+ details: z.ZodString;
493
+ }, z.core.$strict>, z.ZodObject<{
494
+ details: z.ZodString;
495
+ }, z.core.$strict> | z.ZodUnion<readonly [z.ZodObject<{
496
+ target_user_id: z.ZodNumber;
497
+ target_user_email: z.ZodString;
498
+ reason: z.ZodString;
499
+ details: z.ZodString;
500
+ }, z.core.$strict>, z.ZodObject<{
501
+ target_user_id: z.ZodNumber;
502
+ details: z.ZodString;
503
+ }, z.core.$strict>]> | z.ZodObject<{
504
+ id: z.ZodNumber;
505
+ name: z.ZodString;
506
+ type: z.ZodEnum<{
507
+ app: "app";
508
+ website: "website";
509
+ }>;
510
+ }, z.core.$strict> | z.ZodObject<{
511
+ application_id: z.ZodNumber;
512
+ widget_type: z.ZodEnum<{
513
+ widget: "widget";
514
+ }>;
515
+ details: z.ZodString;
516
+ }, z.core.$strict> | z.ZodObject<{
517
+ application_id: z.ZodNumber;
518
+ file_name: z.ZodString;
519
+ file_size: z.ZodNumber;
520
+ file_type: z.ZodString;
521
+ file_url: z.ZodString;
522
+ source_url: z.ZodOptional<z.ZodString>;
523
+ }, z.core.$strict> | z.ZodObject<{
524
+ id: z.ZodNumber;
525
+ file_name: z.ZodString;
526
+ source_url: z.ZodString;
527
+ action: z.ZodLiteral<"refreshed">;
528
+ }, z.core.$strict> | z.ZodObject<{
529
+ id: z.ZodNumber;
530
+ file_name: z.ZodString;
531
+ file_type: z.ZodString;
532
+ }, z.core.$strict> | z.ZodObject<{
533
+ target_user_email: z.ZodString;
534
+ reminder: z.ZodOptional<z.ZodLiteral<true>>;
535
+ details: z.ZodString;
536
+ }, z.core.$strict> | z.ZodObject<{
537
+ target_user_email: z.ZodString;
538
+ details: z.ZodString;
539
+ }, z.core.$strict> | z.ZodObject<{
540
+ slug: z.ZodString;
541
+ details: z.ZodString;
542
+ }, z.core.$strict> | z.ZodObject<{
543
+ subscription_id: z.ZodString;
544
+ plan: z.ZodOptional<z.ZodString>;
545
+ details: z.ZodString;
546
+ }, z.core.$strict> | z.ZodObject<{
547
+ subscription_id: z.ZodString;
548
+ plan: z.ZodOptional<z.ZodString>;
549
+ details: z.ZodString;
550
+ }, z.core.$strict> | z.ZodObject<{
551
+ subscription_id: z.ZodString;
552
+ plan: z.ZodOptional<z.ZodString>;
553
+ details: z.ZodString;
554
+ }, z.core.$strict> | z.ZodObject<{
555
+ subscription_id: z.ZodString;
556
+ plan: z.ZodOptional<z.ZodString>;
557
+ details: z.ZodString;
558
+ }, z.core.$strict> | z.ZodObject<{
559
+ subscription_id: z.ZodString;
560
+ plan: z.ZodOptional<z.ZodString>;
561
+ details: z.ZodString;
562
+ }, z.core.$strict> | z.ZodObject<{
563
+ session_id: z.ZodString;
564
+ plan: z.ZodOptional<z.ZodString>;
565
+ details: z.ZodString;
566
+ }, z.core.$strict> | z.ZodObject<{
567
+ invoice_id: z.ZodString;
568
+ plan: z.ZodOptional<z.ZodString>;
569
+ details: z.ZodString;
570
+ }, z.core.$strict> | z.ZodObject<{
571
+ invoice_id: z.ZodString;
572
+ plan: z.ZodOptional<z.ZodString>;
573
+ details: z.ZodString;
574
+ }, z.core.$strict> | z.ZodObject<{
575
+ application_id: z.ZodNumber;
576
+ chat_id: z.ZodString;
577
+ mode: z.ZodString;
578
+ question: z.ZodString;
579
+ timestamp: z.ZodString;
580
+ user_id: z.ZodOptional<z.ZodNumber>;
581
+ }, z.core.$strict> | z.ZodObject<{
582
+ application_id: z.ZodNumber;
583
+ simulation_id: z.ZodNumber;
584
+ }, z.core.$strict> | z.ZodObject<{
585
+ id: z.ZodNumber;
586
+ name: z.ZodString;
587
+ details: z.ZodString;
588
+ }, z.core.$strict> | z.ZodObject<{
589
+ enabled: z.ZodBoolean;
590
+ id: z.ZodNumber;
591
+ name: z.ZodString;
592
+ details: z.ZodString;
593
+ }, z.core.$strict> | z.ZodObject<{
594
+ slack_user_id: z.ZodString;
595
+ slack_channel_id: z.ZodNullable<z.ZodString>;
596
+ raw_text: z.ZodString;
597
+ detected_intent: z.ZodString;
598
+ extracted_params: z.ZodObject<{
599
+ qaFlowId: z.ZodOptional<z.ZodNumber>;
600
+ appId: z.ZodOptional<z.ZodNumber>;
601
+ instructions: z.ZodOptional<z.ZodString>;
602
+ query: z.ZodOptional<z.ZodString>;
603
+ channel: z.ZodOptional<z.ZodString>;
604
+ text: z.ZodOptional<z.ZodString>;
605
+ name: z.ZodOptional<z.ZodString>;
606
+ workflowName: z.ZodOptional<z.ZodString>;
607
+ }, z.core.$strict>;
608
+ status: z.ZodEnum<{
609
+ received: "received";
610
+ classifying: "classifying";
611
+ dispatched: "dispatched";
612
+ completed: "completed";
613
+ failed: "failed";
614
+ }>;
615
+ response_text: z.ZodNullable<z.ZodString>;
616
+ error_message: z.ZodNullable<z.ZodString>;
617
+ duration_ms: z.ZodNullable<z.ZodNumber>;
618
+ }, z.core.$strict> | z.ZodObject<{
619
+ survey_id: z.ZodNumber;
620
+ details: z.ZodString;
621
+ }, z.core.$strict>, ...(z.ZodObject<{
622
+ details: z.ZodString;
623
+ }, z.core.$strict> | z.ZodUnion<readonly [z.ZodObject<{
624
+ target_user_id: z.ZodNumber;
625
+ target_user_email: z.ZodString;
626
+ reason: z.ZodString;
627
+ details: z.ZodString;
628
+ }, z.core.$strict>, z.ZodObject<{
629
+ target_user_id: z.ZodNumber;
630
+ details: z.ZodString;
631
+ }, z.core.$strict>]> | z.ZodObject<{
632
+ id: z.ZodNumber;
633
+ name: z.ZodString;
634
+ type: z.ZodEnum<{
635
+ app: "app";
636
+ website: "website";
637
+ }>;
638
+ }, z.core.$strict> | z.ZodObject<{
639
+ application_id: z.ZodNumber;
640
+ widget_type: z.ZodEnum<{
415
641
  widget: "widget";
416
- }>>;
642
+ }>;
643
+ details: z.ZodString;
644
+ }, z.core.$strict> | z.ZodObject<{
645
+ application_id: z.ZodNumber;
646
+ file_name: z.ZodString;
647
+ file_size: z.ZodNumber;
648
+ file_type: z.ZodString;
649
+ file_url: z.ZodString;
650
+ source_url: z.ZodOptional<z.ZodString>;
651
+ }, z.core.$strict> | z.ZodObject<{
652
+ id: z.ZodNumber;
653
+ file_name: z.ZodString;
654
+ source_url: z.ZodString;
655
+ action: z.ZodLiteral<"refreshed">;
656
+ }, z.core.$strict> | z.ZodObject<{
657
+ id: z.ZodNumber;
658
+ file_name: z.ZodString;
659
+ file_type: z.ZodString;
660
+ }, z.core.$strict> | z.ZodObject<{
661
+ target_user_email: z.ZodString;
417
662
  reminder: z.ZodOptional<z.ZodLiteral<true>>;
418
- }, z.core.$loose>;
663
+ details: z.ZodString;
664
+ }, z.core.$strict> | z.ZodObject<{
665
+ target_user_email: z.ZodString;
666
+ details: z.ZodString;
667
+ }, z.core.$strict> | z.ZodObject<{
668
+ slug: z.ZodString;
669
+ details: z.ZodString;
670
+ }, z.core.$strict> | z.ZodObject<{
671
+ subscription_id: z.ZodString;
672
+ plan: z.ZodOptional<z.ZodString>;
673
+ details: z.ZodString;
674
+ }, z.core.$strict> | z.ZodObject<{
675
+ subscription_id: z.ZodString;
676
+ plan: z.ZodOptional<z.ZodString>;
677
+ details: z.ZodString;
678
+ }, z.core.$strict> | z.ZodObject<{
679
+ subscription_id: z.ZodString;
680
+ plan: z.ZodOptional<z.ZodString>;
681
+ details: z.ZodString;
682
+ }, z.core.$strict> | z.ZodObject<{
683
+ subscription_id: z.ZodString;
684
+ plan: z.ZodOptional<z.ZodString>;
685
+ details: z.ZodString;
686
+ }, z.core.$strict> | z.ZodObject<{
687
+ subscription_id: z.ZodString;
688
+ plan: z.ZodOptional<z.ZodString>;
689
+ details: z.ZodString;
690
+ }, z.core.$strict> | z.ZodObject<{
691
+ session_id: z.ZodString;
692
+ plan: z.ZodOptional<z.ZodString>;
693
+ details: z.ZodString;
694
+ }, z.core.$strict> | z.ZodObject<{
695
+ invoice_id: z.ZodString;
696
+ plan: z.ZodOptional<z.ZodString>;
697
+ details: z.ZodString;
698
+ }, z.core.$strict> | z.ZodObject<{
699
+ invoice_id: z.ZodString;
700
+ plan: z.ZodOptional<z.ZodString>;
701
+ details: z.ZodString;
702
+ }, z.core.$strict> | z.ZodObject<{
703
+ application_id: z.ZodNumber;
704
+ chat_id: z.ZodString;
705
+ mode: z.ZodString;
706
+ question: z.ZodString;
707
+ timestamp: z.ZodString;
708
+ user_id: z.ZodOptional<z.ZodNumber>;
709
+ }, z.core.$strict> | z.ZodObject<{
710
+ application_id: z.ZodNumber;
711
+ simulation_id: z.ZodNumber;
712
+ }, z.core.$strict> | z.ZodObject<{
713
+ id: z.ZodNumber;
714
+ name: z.ZodString;
715
+ details: z.ZodString;
716
+ }, z.core.$strict> | z.ZodObject<{
717
+ enabled: z.ZodBoolean;
718
+ id: z.ZodNumber;
719
+ name: z.ZodString;
720
+ details: z.ZodString;
721
+ }, z.core.$strict> | z.ZodObject<{
722
+ slack_user_id: z.ZodString;
723
+ slack_channel_id: z.ZodNullable<z.ZodString>;
724
+ raw_text: z.ZodString;
725
+ detected_intent: z.ZodString;
726
+ extracted_params: z.ZodObject<{
727
+ qaFlowId: z.ZodOptional<z.ZodNumber>;
728
+ appId: z.ZodOptional<z.ZodNumber>;
729
+ instructions: z.ZodOptional<z.ZodString>;
730
+ query: z.ZodOptional<z.ZodString>;
731
+ channel: z.ZodOptional<z.ZodString>;
732
+ text: z.ZodOptional<z.ZodString>;
733
+ name: z.ZodOptional<z.ZodString>;
734
+ workflowName: z.ZodOptional<z.ZodString>;
735
+ }, z.core.$strict>;
736
+ status: z.ZodEnum<{
737
+ received: "received";
738
+ classifying: "classifying";
739
+ dispatched: "dispatched";
740
+ completed: "completed";
741
+ failed: "failed";
742
+ }>;
743
+ response_text: z.ZodNullable<z.ZodString>;
744
+ error_message: z.ZodNullable<z.ZodString>;
745
+ duration_ms: z.ZodNullable<z.ZodNumber>;
746
+ }, z.core.$strict> | z.ZodObject<{
747
+ survey_id: z.ZodNumber;
748
+ details: z.ZodString;
749
+ }, z.core.$strict>)[]]>;
419
750
  export declare const ActivityLogEntitySchema: z.ZodObject<{
420
751
  id: z.ZodNumber;
421
752
  created_at: z.ZodCoercedDate<unknown>;
422
- updated_at: z.ZodCoercedDate<unknown>;
423
753
  workspace_id: z.ZodNumber;
424
754
  user_id: z.ZodNullable<z.ZodNumber>;
425
755
  type: z.ZodEnum<{
@@ -456,19 +786,391 @@ export declare const ActivityLogEntitySchema: z.ZodObject<{
456
786
  unpublish_survey: "unpublish_survey";
457
787
  delete_survey_response: "delete_survey_response";
458
788
  }>;
459
- metadata: z.ZodOptional<z.ZodObject<{
460
- details: z.ZodOptional<z.ZodString>;
461
- id: z.ZodOptional<z.ZodNumber>;
462
- type: z.ZodOptional<z.ZodString>;
463
- name: z.ZodOptional<z.ZodString>;
464
- target_user_id: z.ZodOptional<z.ZodNumber>;
465
- target_user_email: z.ZodOptional<z.ZodString>;
466
- reason: z.ZodOptional<z.ZodString>;
467
- widget_type: z.ZodOptional<z.ZodEnum<{
789
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodObject<{
790
+ details: z.ZodString;
791
+ }, z.core.$strict> | z.ZodUnion<readonly [z.ZodObject<{
792
+ target_user_id: z.ZodNumber;
793
+ target_user_email: z.ZodString;
794
+ reason: z.ZodString;
795
+ details: z.ZodString;
796
+ }, z.core.$strict>, z.ZodObject<{
797
+ target_user_id: z.ZodNumber;
798
+ details: z.ZodString;
799
+ }, z.core.$strict>]> | z.ZodObject<{
800
+ id: z.ZodNumber;
801
+ name: z.ZodString;
802
+ type: z.ZodEnum<{
803
+ app: "app";
804
+ website: "website";
805
+ }>;
806
+ }, z.core.$strict> | z.ZodObject<{
807
+ application_id: z.ZodNumber;
808
+ widget_type: z.ZodEnum<{
468
809
  widget: "widget";
469
- }>>;
810
+ }>;
811
+ details: z.ZodString;
812
+ }, z.core.$strict> | z.ZodObject<{
813
+ application_id: z.ZodNumber;
814
+ file_name: z.ZodString;
815
+ file_size: z.ZodNumber;
816
+ file_type: z.ZodString;
817
+ file_url: z.ZodString;
818
+ source_url: z.ZodOptional<z.ZodString>;
819
+ }, z.core.$strict> | z.ZodObject<{
820
+ id: z.ZodNumber;
821
+ file_name: z.ZodString;
822
+ source_url: z.ZodString;
823
+ action: z.ZodLiteral<"refreshed">;
824
+ }, z.core.$strict> | z.ZodObject<{
825
+ id: z.ZodNumber;
826
+ file_name: z.ZodString;
827
+ file_type: z.ZodString;
828
+ }, z.core.$strict> | z.ZodObject<{
829
+ target_user_email: z.ZodString;
470
830
  reminder: z.ZodOptional<z.ZodLiteral<true>>;
471
- }, z.core.$loose>>;
831
+ details: z.ZodString;
832
+ }, z.core.$strict> | z.ZodObject<{
833
+ target_user_email: z.ZodString;
834
+ details: z.ZodString;
835
+ }, z.core.$strict> | z.ZodObject<{
836
+ slug: z.ZodString;
837
+ details: z.ZodString;
838
+ }, z.core.$strict> | z.ZodObject<{
839
+ subscription_id: z.ZodString;
840
+ plan: z.ZodOptional<z.ZodString>;
841
+ details: z.ZodString;
842
+ }, z.core.$strict> | z.ZodObject<{
843
+ subscription_id: z.ZodString;
844
+ plan: z.ZodOptional<z.ZodString>;
845
+ details: z.ZodString;
846
+ }, z.core.$strict> | z.ZodObject<{
847
+ subscription_id: z.ZodString;
848
+ plan: z.ZodOptional<z.ZodString>;
849
+ details: z.ZodString;
850
+ }, z.core.$strict> | z.ZodObject<{
851
+ subscription_id: z.ZodString;
852
+ plan: z.ZodOptional<z.ZodString>;
853
+ details: z.ZodString;
854
+ }, z.core.$strict> | z.ZodObject<{
855
+ subscription_id: z.ZodString;
856
+ plan: z.ZodOptional<z.ZodString>;
857
+ details: z.ZodString;
858
+ }, z.core.$strict> | z.ZodObject<{
859
+ session_id: z.ZodString;
860
+ plan: z.ZodOptional<z.ZodString>;
861
+ details: z.ZodString;
862
+ }, z.core.$strict> | z.ZodObject<{
863
+ invoice_id: z.ZodString;
864
+ plan: z.ZodOptional<z.ZodString>;
865
+ details: z.ZodString;
866
+ }, z.core.$strict> | z.ZodObject<{
867
+ invoice_id: z.ZodString;
868
+ plan: z.ZodOptional<z.ZodString>;
869
+ details: z.ZodString;
870
+ }, z.core.$strict> | z.ZodObject<{
871
+ application_id: z.ZodNumber;
872
+ chat_id: z.ZodString;
873
+ mode: z.ZodString;
874
+ question: z.ZodString;
875
+ timestamp: z.ZodString;
876
+ user_id: z.ZodOptional<z.ZodNumber>;
877
+ }, z.core.$strict> | z.ZodObject<{
878
+ application_id: z.ZodNumber;
879
+ simulation_id: z.ZodNumber;
880
+ }, z.core.$strict> | z.ZodObject<{
881
+ id: z.ZodNumber;
882
+ name: z.ZodString;
883
+ details: z.ZodString;
884
+ }, z.core.$strict> | z.ZodObject<{
885
+ enabled: z.ZodBoolean;
886
+ id: z.ZodNumber;
887
+ name: z.ZodString;
888
+ details: z.ZodString;
889
+ }, z.core.$strict> | z.ZodObject<{
890
+ slack_user_id: z.ZodString;
891
+ slack_channel_id: z.ZodNullable<z.ZodString>;
892
+ raw_text: z.ZodString;
893
+ detected_intent: z.ZodString;
894
+ extracted_params: z.ZodObject<{
895
+ qaFlowId: z.ZodOptional<z.ZodNumber>;
896
+ appId: z.ZodOptional<z.ZodNumber>;
897
+ instructions: z.ZodOptional<z.ZodString>;
898
+ query: z.ZodOptional<z.ZodString>;
899
+ channel: z.ZodOptional<z.ZodString>;
900
+ text: z.ZodOptional<z.ZodString>;
901
+ name: z.ZodOptional<z.ZodString>;
902
+ workflowName: z.ZodOptional<z.ZodString>;
903
+ }, z.core.$strict>;
904
+ status: z.ZodEnum<{
905
+ received: "received";
906
+ classifying: "classifying";
907
+ dispatched: "dispatched";
908
+ completed: "completed";
909
+ failed: "failed";
910
+ }>;
911
+ response_text: z.ZodNullable<z.ZodString>;
912
+ error_message: z.ZodNullable<z.ZodString>;
913
+ duration_ms: z.ZodNullable<z.ZodNumber>;
914
+ }, z.core.$strict> | z.ZodObject<{
915
+ survey_id: z.ZodNumber;
916
+ details: z.ZodString;
917
+ }, z.core.$strict>, z.ZodObject<{
918
+ details: z.ZodString;
919
+ }, z.core.$strict> | z.ZodUnion<readonly [z.ZodObject<{
920
+ target_user_id: z.ZodNumber;
921
+ target_user_email: z.ZodString;
922
+ reason: z.ZodString;
923
+ details: z.ZodString;
924
+ }, z.core.$strict>, z.ZodObject<{
925
+ target_user_id: z.ZodNumber;
926
+ details: z.ZodString;
927
+ }, z.core.$strict>]> | z.ZodObject<{
928
+ id: z.ZodNumber;
929
+ name: z.ZodString;
930
+ type: z.ZodEnum<{
931
+ app: "app";
932
+ website: "website";
933
+ }>;
934
+ }, z.core.$strict> | z.ZodObject<{
935
+ application_id: z.ZodNumber;
936
+ widget_type: z.ZodEnum<{
937
+ widget: "widget";
938
+ }>;
939
+ details: z.ZodString;
940
+ }, z.core.$strict> | z.ZodObject<{
941
+ application_id: z.ZodNumber;
942
+ file_name: z.ZodString;
943
+ file_size: z.ZodNumber;
944
+ file_type: z.ZodString;
945
+ file_url: z.ZodString;
946
+ source_url: z.ZodOptional<z.ZodString>;
947
+ }, z.core.$strict> | z.ZodObject<{
948
+ id: z.ZodNumber;
949
+ file_name: z.ZodString;
950
+ source_url: z.ZodString;
951
+ action: z.ZodLiteral<"refreshed">;
952
+ }, z.core.$strict> | z.ZodObject<{
953
+ id: z.ZodNumber;
954
+ file_name: z.ZodString;
955
+ file_type: z.ZodString;
956
+ }, z.core.$strict> | z.ZodObject<{
957
+ target_user_email: z.ZodString;
958
+ reminder: z.ZodOptional<z.ZodLiteral<true>>;
959
+ details: z.ZodString;
960
+ }, z.core.$strict> | z.ZodObject<{
961
+ target_user_email: z.ZodString;
962
+ details: z.ZodString;
963
+ }, z.core.$strict> | z.ZodObject<{
964
+ slug: z.ZodString;
965
+ details: z.ZodString;
966
+ }, z.core.$strict> | z.ZodObject<{
967
+ subscription_id: z.ZodString;
968
+ plan: z.ZodOptional<z.ZodString>;
969
+ details: z.ZodString;
970
+ }, z.core.$strict> | z.ZodObject<{
971
+ subscription_id: z.ZodString;
972
+ plan: z.ZodOptional<z.ZodString>;
973
+ details: z.ZodString;
974
+ }, z.core.$strict> | z.ZodObject<{
975
+ subscription_id: z.ZodString;
976
+ plan: z.ZodOptional<z.ZodString>;
977
+ details: z.ZodString;
978
+ }, z.core.$strict> | z.ZodObject<{
979
+ subscription_id: z.ZodString;
980
+ plan: z.ZodOptional<z.ZodString>;
981
+ details: z.ZodString;
982
+ }, z.core.$strict> | z.ZodObject<{
983
+ subscription_id: z.ZodString;
984
+ plan: z.ZodOptional<z.ZodString>;
985
+ details: z.ZodString;
986
+ }, z.core.$strict> | z.ZodObject<{
987
+ session_id: z.ZodString;
988
+ plan: z.ZodOptional<z.ZodString>;
989
+ details: z.ZodString;
990
+ }, z.core.$strict> | z.ZodObject<{
991
+ invoice_id: z.ZodString;
992
+ plan: z.ZodOptional<z.ZodString>;
993
+ details: z.ZodString;
994
+ }, z.core.$strict> | z.ZodObject<{
995
+ invoice_id: z.ZodString;
996
+ plan: z.ZodOptional<z.ZodString>;
997
+ details: z.ZodString;
998
+ }, z.core.$strict> | z.ZodObject<{
999
+ application_id: z.ZodNumber;
1000
+ chat_id: z.ZodString;
1001
+ mode: z.ZodString;
1002
+ question: z.ZodString;
1003
+ timestamp: z.ZodString;
1004
+ user_id: z.ZodOptional<z.ZodNumber>;
1005
+ }, z.core.$strict> | z.ZodObject<{
1006
+ application_id: z.ZodNumber;
1007
+ simulation_id: z.ZodNumber;
1008
+ }, z.core.$strict> | z.ZodObject<{
1009
+ id: z.ZodNumber;
1010
+ name: z.ZodString;
1011
+ details: z.ZodString;
1012
+ }, z.core.$strict> | z.ZodObject<{
1013
+ enabled: z.ZodBoolean;
1014
+ id: z.ZodNumber;
1015
+ name: z.ZodString;
1016
+ details: z.ZodString;
1017
+ }, z.core.$strict> | z.ZodObject<{
1018
+ slack_user_id: z.ZodString;
1019
+ slack_channel_id: z.ZodNullable<z.ZodString>;
1020
+ raw_text: z.ZodString;
1021
+ detected_intent: z.ZodString;
1022
+ extracted_params: z.ZodObject<{
1023
+ qaFlowId: z.ZodOptional<z.ZodNumber>;
1024
+ appId: z.ZodOptional<z.ZodNumber>;
1025
+ instructions: z.ZodOptional<z.ZodString>;
1026
+ query: z.ZodOptional<z.ZodString>;
1027
+ channel: z.ZodOptional<z.ZodString>;
1028
+ text: z.ZodOptional<z.ZodString>;
1029
+ name: z.ZodOptional<z.ZodString>;
1030
+ workflowName: z.ZodOptional<z.ZodString>;
1031
+ }, z.core.$strict>;
1032
+ status: z.ZodEnum<{
1033
+ received: "received";
1034
+ classifying: "classifying";
1035
+ dispatched: "dispatched";
1036
+ completed: "completed";
1037
+ failed: "failed";
1038
+ }>;
1039
+ response_text: z.ZodNullable<z.ZodString>;
1040
+ error_message: z.ZodNullable<z.ZodString>;
1041
+ duration_ms: z.ZodNullable<z.ZodNumber>;
1042
+ }, z.core.$strict> | z.ZodObject<{
1043
+ survey_id: z.ZodNumber;
1044
+ details: z.ZodString;
1045
+ }, z.core.$strict>, ...(z.ZodObject<{
1046
+ details: z.ZodString;
1047
+ }, z.core.$strict> | z.ZodUnion<readonly [z.ZodObject<{
1048
+ target_user_id: z.ZodNumber;
1049
+ target_user_email: z.ZodString;
1050
+ reason: z.ZodString;
1051
+ details: z.ZodString;
1052
+ }, z.core.$strict>, z.ZodObject<{
1053
+ target_user_id: z.ZodNumber;
1054
+ details: z.ZodString;
1055
+ }, z.core.$strict>]> | z.ZodObject<{
1056
+ id: z.ZodNumber;
1057
+ name: z.ZodString;
1058
+ type: z.ZodEnum<{
1059
+ app: "app";
1060
+ website: "website";
1061
+ }>;
1062
+ }, z.core.$strict> | z.ZodObject<{
1063
+ application_id: z.ZodNumber;
1064
+ widget_type: z.ZodEnum<{
1065
+ widget: "widget";
1066
+ }>;
1067
+ details: z.ZodString;
1068
+ }, z.core.$strict> | z.ZodObject<{
1069
+ application_id: z.ZodNumber;
1070
+ file_name: z.ZodString;
1071
+ file_size: z.ZodNumber;
1072
+ file_type: z.ZodString;
1073
+ file_url: z.ZodString;
1074
+ source_url: z.ZodOptional<z.ZodString>;
1075
+ }, z.core.$strict> | z.ZodObject<{
1076
+ id: z.ZodNumber;
1077
+ file_name: z.ZodString;
1078
+ source_url: z.ZodString;
1079
+ action: z.ZodLiteral<"refreshed">;
1080
+ }, z.core.$strict> | z.ZodObject<{
1081
+ id: z.ZodNumber;
1082
+ file_name: z.ZodString;
1083
+ file_type: z.ZodString;
1084
+ }, z.core.$strict> | z.ZodObject<{
1085
+ target_user_email: z.ZodString;
1086
+ reminder: z.ZodOptional<z.ZodLiteral<true>>;
1087
+ details: z.ZodString;
1088
+ }, z.core.$strict> | z.ZodObject<{
1089
+ target_user_email: z.ZodString;
1090
+ details: z.ZodString;
1091
+ }, z.core.$strict> | z.ZodObject<{
1092
+ slug: z.ZodString;
1093
+ details: z.ZodString;
1094
+ }, z.core.$strict> | z.ZodObject<{
1095
+ subscription_id: z.ZodString;
1096
+ plan: z.ZodOptional<z.ZodString>;
1097
+ details: z.ZodString;
1098
+ }, z.core.$strict> | z.ZodObject<{
1099
+ subscription_id: z.ZodString;
1100
+ plan: z.ZodOptional<z.ZodString>;
1101
+ details: z.ZodString;
1102
+ }, z.core.$strict> | z.ZodObject<{
1103
+ subscription_id: z.ZodString;
1104
+ plan: z.ZodOptional<z.ZodString>;
1105
+ details: z.ZodString;
1106
+ }, z.core.$strict> | z.ZodObject<{
1107
+ subscription_id: z.ZodString;
1108
+ plan: z.ZodOptional<z.ZodString>;
1109
+ details: z.ZodString;
1110
+ }, z.core.$strict> | z.ZodObject<{
1111
+ subscription_id: z.ZodString;
1112
+ plan: z.ZodOptional<z.ZodString>;
1113
+ details: z.ZodString;
1114
+ }, z.core.$strict> | z.ZodObject<{
1115
+ session_id: z.ZodString;
1116
+ plan: z.ZodOptional<z.ZodString>;
1117
+ details: z.ZodString;
1118
+ }, z.core.$strict> | z.ZodObject<{
1119
+ invoice_id: z.ZodString;
1120
+ plan: z.ZodOptional<z.ZodString>;
1121
+ details: z.ZodString;
1122
+ }, z.core.$strict> | z.ZodObject<{
1123
+ invoice_id: z.ZodString;
1124
+ plan: z.ZodOptional<z.ZodString>;
1125
+ details: z.ZodString;
1126
+ }, z.core.$strict> | z.ZodObject<{
1127
+ application_id: z.ZodNumber;
1128
+ chat_id: z.ZodString;
1129
+ mode: z.ZodString;
1130
+ question: z.ZodString;
1131
+ timestamp: z.ZodString;
1132
+ user_id: z.ZodOptional<z.ZodNumber>;
1133
+ }, z.core.$strict> | z.ZodObject<{
1134
+ application_id: z.ZodNumber;
1135
+ simulation_id: z.ZodNumber;
1136
+ }, z.core.$strict> | z.ZodObject<{
1137
+ id: z.ZodNumber;
1138
+ name: z.ZodString;
1139
+ details: z.ZodString;
1140
+ }, z.core.$strict> | z.ZodObject<{
1141
+ enabled: z.ZodBoolean;
1142
+ id: z.ZodNumber;
1143
+ name: z.ZodString;
1144
+ details: z.ZodString;
1145
+ }, z.core.$strict> | z.ZodObject<{
1146
+ slack_user_id: z.ZodString;
1147
+ slack_channel_id: z.ZodNullable<z.ZodString>;
1148
+ raw_text: z.ZodString;
1149
+ detected_intent: z.ZodString;
1150
+ extracted_params: z.ZodObject<{
1151
+ qaFlowId: z.ZodOptional<z.ZodNumber>;
1152
+ appId: z.ZodOptional<z.ZodNumber>;
1153
+ instructions: z.ZodOptional<z.ZodString>;
1154
+ query: z.ZodOptional<z.ZodString>;
1155
+ channel: z.ZodOptional<z.ZodString>;
1156
+ text: z.ZodOptional<z.ZodString>;
1157
+ name: z.ZodOptional<z.ZodString>;
1158
+ workflowName: z.ZodOptional<z.ZodString>;
1159
+ }, z.core.$strict>;
1160
+ status: z.ZodEnum<{
1161
+ received: "received";
1162
+ classifying: "classifying";
1163
+ dispatched: "dispatched";
1164
+ completed: "completed";
1165
+ failed: "failed";
1166
+ }>;
1167
+ response_text: z.ZodNullable<z.ZodString>;
1168
+ error_message: z.ZodNullable<z.ZodString>;
1169
+ duration_ms: z.ZodNullable<z.ZodNumber>;
1170
+ }, z.core.$strict> | z.ZodObject<{
1171
+ survey_id: z.ZodNumber;
1172
+ details: z.ZodString;
1173
+ }, z.core.$strict>)[]]>>>;
472
1174
  }, z.core.$strip>;
473
1175
  export type ActivityLogData = z.infer<typeof ActivityLogEntitySchema>;
474
1176
  export declare const WidgetQuestionLogSchema: z.ZodObject<{