@deepintel-ltd/farmpro-contracts 1.2.0 → 1.3.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.
@@ -516,5 +516,1013 @@ export declare const agentsRouter: {
516
516
  }>;
517
517
  };
518
518
  };
519
+ getConversationHistory: {
520
+ pathParams: z.ZodObject<{
521
+ conversationId: z.ZodString;
522
+ }, "strip", z.ZodTypeAny, {
523
+ conversationId: string;
524
+ }, {
525
+ conversationId: string;
526
+ }>;
527
+ query: z.ZodObject<{
528
+ limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
529
+ }, "strip", z.ZodTypeAny, {
530
+ limit: number;
531
+ }, {
532
+ limit?: number | undefined;
533
+ }>;
534
+ summary: "Get conversation history";
535
+ description: "Retrieve the message history for a specific conversation";
536
+ method: "GET";
537
+ path: "/agents/agronomics/conversations/:conversationId/history";
538
+ responses: {
539
+ 200: z.ZodObject<{
540
+ data: z.ZodObject<{
541
+ type: z.ZodLiteral<string>;
542
+ id: z.ZodString;
543
+ attributes: z.ZodObject<{
544
+ messages: z.ZodArray<z.ZodObject<{
545
+ role: z.ZodEnum<["user", "assistant"]>;
546
+ content: z.ZodString;
547
+ createdAt: z.ZodOptional<z.ZodString>;
548
+ }, "strip", z.ZodTypeAny, {
549
+ role: "user" | "assistant";
550
+ content: string;
551
+ createdAt?: string | undefined;
552
+ }, {
553
+ role: "user" | "assistant";
554
+ content: string;
555
+ createdAt?: string | undefined;
556
+ }>, "many">;
557
+ conversationId: z.ZodString;
558
+ }, "strip", z.ZodTypeAny, {
559
+ conversationId: string;
560
+ messages: {
561
+ role: "user" | "assistant";
562
+ content: string;
563
+ createdAt?: string | undefined;
564
+ }[];
565
+ }, {
566
+ conversationId: string;
567
+ messages: {
568
+ role: "user" | "assistant";
569
+ content: string;
570
+ createdAt?: string | undefined;
571
+ }[];
572
+ }>;
573
+ relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
574
+ links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
575
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
576
+ }, "strip", z.ZodTypeAny, {
577
+ type: string;
578
+ id: string;
579
+ attributes: {
580
+ conversationId: string;
581
+ messages: {
582
+ role: "user" | "assistant";
583
+ content: string;
584
+ createdAt?: string | undefined;
585
+ }[];
586
+ };
587
+ relationships?: Record<string, unknown> | undefined;
588
+ links?: Record<string, string> | undefined;
589
+ meta?: Record<string, unknown> | undefined;
590
+ }, {
591
+ type: string;
592
+ id: string;
593
+ attributes: {
594
+ conversationId: string;
595
+ messages: {
596
+ role: "user" | "assistant";
597
+ content: string;
598
+ createdAt?: string | undefined;
599
+ }[];
600
+ };
601
+ relationships?: Record<string, unknown> | undefined;
602
+ links?: Record<string, string> | undefined;
603
+ meta?: Record<string, unknown> | undefined;
604
+ }>;
605
+ included: z.ZodOptional<z.ZodArray<z.ZodObject<{
606
+ type: z.ZodString;
607
+ id: z.ZodString;
608
+ attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
609
+ relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
610
+ links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
611
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
612
+ }, "strip", z.ZodTypeAny, {
613
+ type: string;
614
+ id: string;
615
+ attributes?: Record<string, unknown> | undefined;
616
+ relationships?: Record<string, unknown> | undefined;
617
+ links?: Record<string, string> | undefined;
618
+ meta?: Record<string, unknown> | undefined;
619
+ }, {
620
+ type: string;
621
+ id: string;
622
+ attributes?: Record<string, unknown> | undefined;
623
+ relationships?: Record<string, unknown> | undefined;
624
+ links?: Record<string, string> | undefined;
625
+ meta?: Record<string, unknown> | undefined;
626
+ }>, "many">>;
627
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
628
+ links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
629
+ }, "strip", z.ZodTypeAny, {
630
+ data: {
631
+ type: string;
632
+ id: string;
633
+ attributes: {
634
+ conversationId: string;
635
+ messages: {
636
+ role: "user" | "assistant";
637
+ content: string;
638
+ createdAt?: string | undefined;
639
+ }[];
640
+ };
641
+ relationships?: Record<string, unknown> | undefined;
642
+ links?: Record<string, string> | undefined;
643
+ meta?: Record<string, unknown> | undefined;
644
+ };
645
+ links?: Record<string, string> | undefined;
646
+ meta?: Record<string, unknown> | undefined;
647
+ included?: {
648
+ type: string;
649
+ id: string;
650
+ attributes?: Record<string, unknown> | undefined;
651
+ relationships?: Record<string, unknown> | undefined;
652
+ links?: Record<string, string> | undefined;
653
+ meta?: Record<string, unknown> | undefined;
654
+ }[] | undefined;
655
+ }, {
656
+ data: {
657
+ type: string;
658
+ id: string;
659
+ attributes: {
660
+ conversationId: string;
661
+ messages: {
662
+ role: "user" | "assistant";
663
+ content: string;
664
+ createdAt?: string | undefined;
665
+ }[];
666
+ };
667
+ relationships?: Record<string, unknown> | undefined;
668
+ links?: Record<string, string> | undefined;
669
+ meta?: Record<string, unknown> | undefined;
670
+ };
671
+ links?: Record<string, string> | undefined;
672
+ meta?: Record<string, unknown> | undefined;
673
+ included?: {
674
+ type: string;
675
+ id: string;
676
+ attributes?: Record<string, unknown> | undefined;
677
+ relationships?: Record<string, unknown> | undefined;
678
+ links?: Record<string, string> | undefined;
679
+ meta?: Record<string, unknown> | undefined;
680
+ }[] | undefined;
681
+ }>;
682
+ 400: z.ZodObject<{
683
+ errors: z.ZodArray<z.ZodObject<{
684
+ id: z.ZodOptional<z.ZodString>;
685
+ links: z.ZodOptional<z.ZodObject<{
686
+ about: z.ZodOptional<z.ZodString>;
687
+ }, "strip", z.ZodTypeAny, {
688
+ about?: string | undefined;
689
+ }, {
690
+ about?: string | undefined;
691
+ }>>;
692
+ status: z.ZodOptional<z.ZodString>;
693
+ code: z.ZodOptional<z.ZodString>;
694
+ title: z.ZodOptional<z.ZodString>;
695
+ detail: z.ZodOptional<z.ZodString>;
696
+ source: z.ZodOptional<z.ZodObject<{
697
+ pointer: z.ZodOptional<z.ZodString>;
698
+ parameter: z.ZodOptional<z.ZodString>;
699
+ }, "strip", z.ZodTypeAny, {
700
+ pointer?: string | undefined;
701
+ parameter?: string | undefined;
702
+ }, {
703
+ pointer?: string | undefined;
704
+ parameter?: string | undefined;
705
+ }>>;
706
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
707
+ }, "strip", z.ZodTypeAny, {
708
+ status?: string | undefined;
709
+ code?: string | undefined;
710
+ id?: string | undefined;
711
+ links?: {
712
+ about?: string | undefined;
713
+ } | undefined;
714
+ meta?: Record<string, unknown> | undefined;
715
+ title?: string | undefined;
716
+ detail?: string | undefined;
717
+ source?: {
718
+ pointer?: string | undefined;
719
+ parameter?: string | undefined;
720
+ } | undefined;
721
+ }, {
722
+ status?: string | undefined;
723
+ code?: string | undefined;
724
+ id?: string | undefined;
725
+ links?: {
726
+ about?: string | undefined;
727
+ } | undefined;
728
+ meta?: Record<string, unknown> | undefined;
729
+ title?: string | undefined;
730
+ detail?: string | undefined;
731
+ source?: {
732
+ pointer?: string | undefined;
733
+ parameter?: string | undefined;
734
+ } | undefined;
735
+ }>, "many">;
736
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
737
+ }, "strip", z.ZodTypeAny, {
738
+ errors: {
739
+ status?: string | undefined;
740
+ code?: string | undefined;
741
+ id?: string | undefined;
742
+ links?: {
743
+ about?: string | undefined;
744
+ } | undefined;
745
+ meta?: Record<string, unknown> | undefined;
746
+ title?: string | undefined;
747
+ detail?: string | undefined;
748
+ source?: {
749
+ pointer?: string | undefined;
750
+ parameter?: string | undefined;
751
+ } | undefined;
752
+ }[];
753
+ meta?: Record<string, unknown> | undefined;
754
+ }, {
755
+ errors: {
756
+ status?: string | undefined;
757
+ code?: string | undefined;
758
+ id?: string | undefined;
759
+ links?: {
760
+ about?: string | undefined;
761
+ } | undefined;
762
+ meta?: Record<string, unknown> | undefined;
763
+ title?: string | undefined;
764
+ detail?: string | undefined;
765
+ source?: {
766
+ pointer?: string | undefined;
767
+ parameter?: string | undefined;
768
+ } | undefined;
769
+ }[];
770
+ meta?: Record<string, unknown> | undefined;
771
+ }>;
772
+ 401: z.ZodObject<{
773
+ errors: z.ZodArray<z.ZodObject<{
774
+ id: z.ZodOptional<z.ZodString>;
775
+ links: z.ZodOptional<z.ZodObject<{
776
+ about: z.ZodOptional<z.ZodString>;
777
+ }, "strip", z.ZodTypeAny, {
778
+ about?: string | undefined;
779
+ }, {
780
+ about?: string | undefined;
781
+ }>>;
782
+ status: z.ZodOptional<z.ZodString>;
783
+ code: z.ZodOptional<z.ZodString>;
784
+ title: z.ZodOptional<z.ZodString>;
785
+ detail: z.ZodOptional<z.ZodString>;
786
+ source: z.ZodOptional<z.ZodObject<{
787
+ pointer: z.ZodOptional<z.ZodString>;
788
+ parameter: z.ZodOptional<z.ZodString>;
789
+ }, "strip", z.ZodTypeAny, {
790
+ pointer?: string | undefined;
791
+ parameter?: string | undefined;
792
+ }, {
793
+ pointer?: string | undefined;
794
+ parameter?: string | undefined;
795
+ }>>;
796
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
797
+ }, "strip", z.ZodTypeAny, {
798
+ status?: string | undefined;
799
+ code?: string | undefined;
800
+ id?: string | undefined;
801
+ links?: {
802
+ about?: string | undefined;
803
+ } | undefined;
804
+ meta?: Record<string, unknown> | undefined;
805
+ title?: string | undefined;
806
+ detail?: string | undefined;
807
+ source?: {
808
+ pointer?: string | undefined;
809
+ parameter?: string | undefined;
810
+ } | undefined;
811
+ }, {
812
+ status?: string | undefined;
813
+ code?: string | undefined;
814
+ id?: string | undefined;
815
+ links?: {
816
+ about?: string | undefined;
817
+ } | undefined;
818
+ meta?: Record<string, unknown> | undefined;
819
+ title?: string | undefined;
820
+ detail?: string | undefined;
821
+ source?: {
822
+ pointer?: string | undefined;
823
+ parameter?: string | undefined;
824
+ } | undefined;
825
+ }>, "many">;
826
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
827
+ }, "strip", z.ZodTypeAny, {
828
+ errors: {
829
+ status?: string | undefined;
830
+ code?: string | undefined;
831
+ id?: string | undefined;
832
+ links?: {
833
+ about?: string | undefined;
834
+ } | undefined;
835
+ meta?: Record<string, unknown> | undefined;
836
+ title?: string | undefined;
837
+ detail?: string | undefined;
838
+ source?: {
839
+ pointer?: string | undefined;
840
+ parameter?: string | undefined;
841
+ } | undefined;
842
+ }[];
843
+ meta?: Record<string, unknown> | undefined;
844
+ }, {
845
+ errors: {
846
+ status?: string | undefined;
847
+ code?: string | undefined;
848
+ id?: string | undefined;
849
+ links?: {
850
+ about?: string | undefined;
851
+ } | undefined;
852
+ meta?: Record<string, unknown> | undefined;
853
+ title?: string | undefined;
854
+ detail?: string | undefined;
855
+ source?: {
856
+ pointer?: string | undefined;
857
+ parameter?: string | undefined;
858
+ } | undefined;
859
+ }[];
860
+ meta?: Record<string, unknown> | undefined;
861
+ }>;
862
+ 404: z.ZodObject<{
863
+ errors: z.ZodArray<z.ZodObject<{
864
+ id: z.ZodOptional<z.ZodString>;
865
+ links: z.ZodOptional<z.ZodObject<{
866
+ about: z.ZodOptional<z.ZodString>;
867
+ }, "strip", z.ZodTypeAny, {
868
+ about?: string | undefined;
869
+ }, {
870
+ about?: string | undefined;
871
+ }>>;
872
+ status: z.ZodOptional<z.ZodString>;
873
+ code: z.ZodOptional<z.ZodString>;
874
+ title: z.ZodOptional<z.ZodString>;
875
+ detail: z.ZodOptional<z.ZodString>;
876
+ source: z.ZodOptional<z.ZodObject<{
877
+ pointer: z.ZodOptional<z.ZodString>;
878
+ parameter: z.ZodOptional<z.ZodString>;
879
+ }, "strip", z.ZodTypeAny, {
880
+ pointer?: string | undefined;
881
+ parameter?: string | undefined;
882
+ }, {
883
+ pointer?: string | undefined;
884
+ parameter?: string | undefined;
885
+ }>>;
886
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
887
+ }, "strip", z.ZodTypeAny, {
888
+ status?: string | undefined;
889
+ code?: string | undefined;
890
+ id?: string | undefined;
891
+ links?: {
892
+ about?: string | undefined;
893
+ } | undefined;
894
+ meta?: Record<string, unknown> | undefined;
895
+ title?: string | undefined;
896
+ detail?: string | undefined;
897
+ source?: {
898
+ pointer?: string | undefined;
899
+ parameter?: string | undefined;
900
+ } | undefined;
901
+ }, {
902
+ status?: string | undefined;
903
+ code?: string | undefined;
904
+ id?: string | undefined;
905
+ links?: {
906
+ about?: string | undefined;
907
+ } | undefined;
908
+ meta?: Record<string, unknown> | undefined;
909
+ title?: string | undefined;
910
+ detail?: string | undefined;
911
+ source?: {
912
+ pointer?: string | undefined;
913
+ parameter?: string | undefined;
914
+ } | undefined;
915
+ }>, "many">;
916
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
917
+ }, "strip", z.ZodTypeAny, {
918
+ errors: {
919
+ status?: string | undefined;
920
+ code?: string | undefined;
921
+ id?: string | undefined;
922
+ links?: {
923
+ about?: string | undefined;
924
+ } | undefined;
925
+ meta?: Record<string, unknown> | undefined;
926
+ title?: string | undefined;
927
+ detail?: string | undefined;
928
+ source?: {
929
+ pointer?: string | undefined;
930
+ parameter?: string | undefined;
931
+ } | undefined;
932
+ }[];
933
+ meta?: Record<string, unknown> | undefined;
934
+ }, {
935
+ errors: {
936
+ status?: string | undefined;
937
+ code?: string | undefined;
938
+ id?: string | undefined;
939
+ links?: {
940
+ about?: string | undefined;
941
+ } | undefined;
942
+ meta?: Record<string, unknown> | undefined;
943
+ title?: string | undefined;
944
+ detail?: string | undefined;
945
+ source?: {
946
+ pointer?: string | undefined;
947
+ parameter?: string | undefined;
948
+ } | undefined;
949
+ }[];
950
+ meta?: Record<string, unknown> | undefined;
951
+ }>;
952
+ 500: z.ZodObject<{
953
+ errors: z.ZodArray<z.ZodObject<{
954
+ id: z.ZodOptional<z.ZodString>;
955
+ links: z.ZodOptional<z.ZodObject<{
956
+ about: z.ZodOptional<z.ZodString>;
957
+ }, "strip", z.ZodTypeAny, {
958
+ about?: string | undefined;
959
+ }, {
960
+ about?: string | undefined;
961
+ }>>;
962
+ status: z.ZodOptional<z.ZodString>;
963
+ code: z.ZodOptional<z.ZodString>;
964
+ title: z.ZodOptional<z.ZodString>;
965
+ detail: z.ZodOptional<z.ZodString>;
966
+ source: z.ZodOptional<z.ZodObject<{
967
+ pointer: z.ZodOptional<z.ZodString>;
968
+ parameter: z.ZodOptional<z.ZodString>;
969
+ }, "strip", z.ZodTypeAny, {
970
+ pointer?: string | undefined;
971
+ parameter?: string | undefined;
972
+ }, {
973
+ pointer?: string | undefined;
974
+ parameter?: string | undefined;
975
+ }>>;
976
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
977
+ }, "strip", z.ZodTypeAny, {
978
+ status?: string | undefined;
979
+ code?: string | undefined;
980
+ id?: string | undefined;
981
+ links?: {
982
+ about?: string | undefined;
983
+ } | undefined;
984
+ meta?: Record<string, unknown> | undefined;
985
+ title?: string | undefined;
986
+ detail?: string | undefined;
987
+ source?: {
988
+ pointer?: string | undefined;
989
+ parameter?: string | undefined;
990
+ } | undefined;
991
+ }, {
992
+ status?: string | undefined;
993
+ code?: string | undefined;
994
+ id?: string | undefined;
995
+ links?: {
996
+ about?: string | undefined;
997
+ } | undefined;
998
+ meta?: Record<string, unknown> | undefined;
999
+ title?: string | undefined;
1000
+ detail?: string | undefined;
1001
+ source?: {
1002
+ pointer?: string | undefined;
1003
+ parameter?: string | undefined;
1004
+ } | undefined;
1005
+ }>, "many">;
1006
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1007
+ }, "strip", z.ZodTypeAny, {
1008
+ errors: {
1009
+ status?: string | undefined;
1010
+ code?: string | undefined;
1011
+ id?: string | undefined;
1012
+ links?: {
1013
+ about?: string | undefined;
1014
+ } | undefined;
1015
+ meta?: Record<string, unknown> | undefined;
1016
+ title?: string | undefined;
1017
+ detail?: string | undefined;
1018
+ source?: {
1019
+ pointer?: string | undefined;
1020
+ parameter?: string | undefined;
1021
+ } | undefined;
1022
+ }[];
1023
+ meta?: Record<string, unknown> | undefined;
1024
+ }, {
1025
+ errors: {
1026
+ status?: string | undefined;
1027
+ code?: string | undefined;
1028
+ id?: string | undefined;
1029
+ links?: {
1030
+ about?: string | undefined;
1031
+ } | undefined;
1032
+ meta?: Record<string, unknown> | undefined;
1033
+ title?: string | undefined;
1034
+ detail?: string | undefined;
1035
+ source?: {
1036
+ pointer?: string | undefined;
1037
+ parameter?: string | undefined;
1038
+ } | undefined;
1039
+ }[];
1040
+ meta?: Record<string, unknown> | undefined;
1041
+ }>;
1042
+ };
1043
+ };
1044
+ listConversations: {
1045
+ pathParams: z.ZodObject<{
1046
+ farmId: z.ZodString;
1047
+ }, "strip", z.ZodTypeAny, {
1048
+ farmId: string;
1049
+ }, {
1050
+ farmId: string;
1051
+ }>;
1052
+ query: z.ZodObject<{
1053
+ limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1054
+ offset: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1055
+ }, "strip", z.ZodTypeAny, {
1056
+ limit: number;
1057
+ offset: number;
1058
+ }, {
1059
+ limit?: number | undefined;
1060
+ offset?: number | undefined;
1061
+ }>;
1062
+ summary: "List all conversations for a farm";
1063
+ description: "Retrieve a list of all conversations for a specific farm, ordered by most recent first";
1064
+ method: "GET";
1065
+ path: "/farms/:farmId/agents/conversations";
1066
+ responses: {
1067
+ 200: z.ZodObject<{
1068
+ data: z.ZodObject<{
1069
+ type: z.ZodLiteral<string>;
1070
+ id: z.ZodString;
1071
+ attributes: z.ZodObject<{
1072
+ conversations: z.ZodArray<z.ZodObject<{
1073
+ id: z.ZodString;
1074
+ title: z.ZodNullable<z.ZodString>;
1075
+ summary: z.ZodNullable<z.ZodString>;
1076
+ farmId: z.ZodNullable<z.ZodString>;
1077
+ messageCount: z.ZodNumber;
1078
+ lastMessageAt: z.ZodNullable<z.ZodString>;
1079
+ createdAt: z.ZodString;
1080
+ updatedAt: z.ZodString;
1081
+ }, "strip", z.ZodTypeAny, {
1082
+ id: string;
1083
+ title: string | null;
1084
+ createdAt: string;
1085
+ updatedAt: string;
1086
+ summary: string | null;
1087
+ farmId: string | null;
1088
+ messageCount: number;
1089
+ lastMessageAt: string | null;
1090
+ }, {
1091
+ id: string;
1092
+ title: string | null;
1093
+ createdAt: string;
1094
+ updatedAt: string;
1095
+ summary: string | null;
1096
+ farmId: string | null;
1097
+ messageCount: number;
1098
+ lastMessageAt: string | null;
1099
+ }>, "many">;
1100
+ total: z.ZodNumber;
1101
+ }, "strip", z.ZodTypeAny, {
1102
+ conversations: {
1103
+ id: string;
1104
+ title: string | null;
1105
+ createdAt: string;
1106
+ updatedAt: string;
1107
+ summary: string | null;
1108
+ farmId: string | null;
1109
+ messageCount: number;
1110
+ lastMessageAt: string | null;
1111
+ }[];
1112
+ total: number;
1113
+ }, {
1114
+ conversations: {
1115
+ id: string;
1116
+ title: string | null;
1117
+ createdAt: string;
1118
+ updatedAt: string;
1119
+ summary: string | null;
1120
+ farmId: string | null;
1121
+ messageCount: number;
1122
+ lastMessageAt: string | null;
1123
+ }[];
1124
+ total: number;
1125
+ }>;
1126
+ relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1127
+ links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1128
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1129
+ }, "strip", z.ZodTypeAny, {
1130
+ type: string;
1131
+ id: string;
1132
+ attributes: {
1133
+ conversations: {
1134
+ id: string;
1135
+ title: string | null;
1136
+ createdAt: string;
1137
+ updatedAt: string;
1138
+ summary: string | null;
1139
+ farmId: string | null;
1140
+ messageCount: number;
1141
+ lastMessageAt: string | null;
1142
+ }[];
1143
+ total: number;
1144
+ };
1145
+ relationships?: Record<string, unknown> | undefined;
1146
+ links?: Record<string, string> | undefined;
1147
+ meta?: Record<string, unknown> | undefined;
1148
+ }, {
1149
+ type: string;
1150
+ id: string;
1151
+ attributes: {
1152
+ conversations: {
1153
+ id: string;
1154
+ title: string | null;
1155
+ createdAt: string;
1156
+ updatedAt: string;
1157
+ summary: string | null;
1158
+ farmId: string | null;
1159
+ messageCount: number;
1160
+ lastMessageAt: string | null;
1161
+ }[];
1162
+ total: number;
1163
+ };
1164
+ relationships?: Record<string, unknown> | undefined;
1165
+ links?: Record<string, string> | undefined;
1166
+ meta?: Record<string, unknown> | undefined;
1167
+ }>;
1168
+ included: z.ZodOptional<z.ZodArray<z.ZodObject<{
1169
+ type: z.ZodString;
1170
+ id: z.ZodString;
1171
+ attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1172
+ relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1173
+ links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1174
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1175
+ }, "strip", z.ZodTypeAny, {
1176
+ type: string;
1177
+ id: string;
1178
+ attributes?: Record<string, unknown> | undefined;
1179
+ relationships?: Record<string, unknown> | undefined;
1180
+ links?: Record<string, string> | undefined;
1181
+ meta?: Record<string, unknown> | undefined;
1182
+ }, {
1183
+ type: string;
1184
+ id: string;
1185
+ attributes?: Record<string, unknown> | undefined;
1186
+ relationships?: Record<string, unknown> | undefined;
1187
+ links?: Record<string, string> | undefined;
1188
+ meta?: Record<string, unknown> | undefined;
1189
+ }>, "many">>;
1190
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1191
+ links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1192
+ }, "strip", z.ZodTypeAny, {
1193
+ data: {
1194
+ type: string;
1195
+ id: string;
1196
+ attributes: {
1197
+ conversations: {
1198
+ id: string;
1199
+ title: string | null;
1200
+ createdAt: string;
1201
+ updatedAt: string;
1202
+ summary: string | null;
1203
+ farmId: string | null;
1204
+ messageCount: number;
1205
+ lastMessageAt: string | null;
1206
+ }[];
1207
+ total: number;
1208
+ };
1209
+ relationships?: Record<string, unknown> | undefined;
1210
+ links?: Record<string, string> | undefined;
1211
+ meta?: Record<string, unknown> | undefined;
1212
+ };
1213
+ links?: Record<string, string> | undefined;
1214
+ meta?: Record<string, unknown> | undefined;
1215
+ included?: {
1216
+ type: string;
1217
+ id: string;
1218
+ attributes?: Record<string, unknown> | undefined;
1219
+ relationships?: Record<string, unknown> | undefined;
1220
+ links?: Record<string, string> | undefined;
1221
+ meta?: Record<string, unknown> | undefined;
1222
+ }[] | undefined;
1223
+ }, {
1224
+ data: {
1225
+ type: string;
1226
+ id: string;
1227
+ attributes: {
1228
+ conversations: {
1229
+ id: string;
1230
+ title: string | null;
1231
+ createdAt: string;
1232
+ updatedAt: string;
1233
+ summary: string | null;
1234
+ farmId: string | null;
1235
+ messageCount: number;
1236
+ lastMessageAt: string | null;
1237
+ }[];
1238
+ total: number;
1239
+ };
1240
+ relationships?: Record<string, unknown> | undefined;
1241
+ links?: Record<string, string> | undefined;
1242
+ meta?: Record<string, unknown> | undefined;
1243
+ };
1244
+ links?: Record<string, string> | undefined;
1245
+ meta?: Record<string, unknown> | undefined;
1246
+ included?: {
1247
+ type: string;
1248
+ id: string;
1249
+ attributes?: Record<string, unknown> | undefined;
1250
+ relationships?: Record<string, unknown> | undefined;
1251
+ links?: Record<string, string> | undefined;
1252
+ meta?: Record<string, unknown> | undefined;
1253
+ }[] | undefined;
1254
+ }>;
1255
+ 400: z.ZodObject<{
1256
+ errors: z.ZodArray<z.ZodObject<{
1257
+ id: z.ZodOptional<z.ZodString>;
1258
+ links: z.ZodOptional<z.ZodObject<{
1259
+ about: z.ZodOptional<z.ZodString>;
1260
+ }, "strip", z.ZodTypeAny, {
1261
+ about?: string | undefined;
1262
+ }, {
1263
+ about?: string | undefined;
1264
+ }>>;
1265
+ status: z.ZodOptional<z.ZodString>;
1266
+ code: z.ZodOptional<z.ZodString>;
1267
+ title: z.ZodOptional<z.ZodString>;
1268
+ detail: z.ZodOptional<z.ZodString>;
1269
+ source: z.ZodOptional<z.ZodObject<{
1270
+ pointer: z.ZodOptional<z.ZodString>;
1271
+ parameter: z.ZodOptional<z.ZodString>;
1272
+ }, "strip", z.ZodTypeAny, {
1273
+ pointer?: string | undefined;
1274
+ parameter?: string | undefined;
1275
+ }, {
1276
+ pointer?: string | undefined;
1277
+ parameter?: string | undefined;
1278
+ }>>;
1279
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1280
+ }, "strip", z.ZodTypeAny, {
1281
+ status?: string | undefined;
1282
+ code?: string | undefined;
1283
+ id?: string | undefined;
1284
+ links?: {
1285
+ about?: string | undefined;
1286
+ } | undefined;
1287
+ meta?: Record<string, unknown> | undefined;
1288
+ title?: string | undefined;
1289
+ detail?: string | undefined;
1290
+ source?: {
1291
+ pointer?: string | undefined;
1292
+ parameter?: string | undefined;
1293
+ } | undefined;
1294
+ }, {
1295
+ status?: string | undefined;
1296
+ code?: string | undefined;
1297
+ id?: string | undefined;
1298
+ links?: {
1299
+ about?: string | undefined;
1300
+ } | undefined;
1301
+ meta?: Record<string, unknown> | undefined;
1302
+ title?: string | undefined;
1303
+ detail?: string | undefined;
1304
+ source?: {
1305
+ pointer?: string | undefined;
1306
+ parameter?: string | undefined;
1307
+ } | undefined;
1308
+ }>, "many">;
1309
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1310
+ }, "strip", z.ZodTypeAny, {
1311
+ errors: {
1312
+ status?: string | undefined;
1313
+ code?: string | undefined;
1314
+ id?: string | undefined;
1315
+ links?: {
1316
+ about?: string | undefined;
1317
+ } | undefined;
1318
+ meta?: Record<string, unknown> | undefined;
1319
+ title?: string | undefined;
1320
+ detail?: string | undefined;
1321
+ source?: {
1322
+ pointer?: string | undefined;
1323
+ parameter?: string | undefined;
1324
+ } | undefined;
1325
+ }[];
1326
+ meta?: Record<string, unknown> | undefined;
1327
+ }, {
1328
+ errors: {
1329
+ status?: string | undefined;
1330
+ code?: string | undefined;
1331
+ id?: string | undefined;
1332
+ links?: {
1333
+ about?: string | undefined;
1334
+ } | undefined;
1335
+ meta?: Record<string, unknown> | undefined;
1336
+ title?: string | undefined;
1337
+ detail?: string | undefined;
1338
+ source?: {
1339
+ pointer?: string | undefined;
1340
+ parameter?: string | undefined;
1341
+ } | undefined;
1342
+ }[];
1343
+ meta?: Record<string, unknown> | undefined;
1344
+ }>;
1345
+ 401: z.ZodObject<{
1346
+ errors: z.ZodArray<z.ZodObject<{
1347
+ id: z.ZodOptional<z.ZodString>;
1348
+ links: z.ZodOptional<z.ZodObject<{
1349
+ about: z.ZodOptional<z.ZodString>;
1350
+ }, "strip", z.ZodTypeAny, {
1351
+ about?: string | undefined;
1352
+ }, {
1353
+ about?: string | undefined;
1354
+ }>>;
1355
+ status: z.ZodOptional<z.ZodString>;
1356
+ code: z.ZodOptional<z.ZodString>;
1357
+ title: z.ZodOptional<z.ZodString>;
1358
+ detail: z.ZodOptional<z.ZodString>;
1359
+ source: z.ZodOptional<z.ZodObject<{
1360
+ pointer: z.ZodOptional<z.ZodString>;
1361
+ parameter: z.ZodOptional<z.ZodString>;
1362
+ }, "strip", z.ZodTypeAny, {
1363
+ pointer?: string | undefined;
1364
+ parameter?: string | undefined;
1365
+ }, {
1366
+ pointer?: string | undefined;
1367
+ parameter?: string | undefined;
1368
+ }>>;
1369
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1370
+ }, "strip", z.ZodTypeAny, {
1371
+ status?: string | undefined;
1372
+ code?: string | undefined;
1373
+ id?: string | undefined;
1374
+ links?: {
1375
+ about?: string | undefined;
1376
+ } | undefined;
1377
+ meta?: Record<string, unknown> | undefined;
1378
+ title?: string | undefined;
1379
+ detail?: string | undefined;
1380
+ source?: {
1381
+ pointer?: string | undefined;
1382
+ parameter?: string | undefined;
1383
+ } | undefined;
1384
+ }, {
1385
+ status?: string | undefined;
1386
+ code?: string | undefined;
1387
+ id?: string | undefined;
1388
+ links?: {
1389
+ about?: string | undefined;
1390
+ } | undefined;
1391
+ meta?: Record<string, unknown> | undefined;
1392
+ title?: string | undefined;
1393
+ detail?: string | undefined;
1394
+ source?: {
1395
+ pointer?: string | undefined;
1396
+ parameter?: string | undefined;
1397
+ } | undefined;
1398
+ }>, "many">;
1399
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1400
+ }, "strip", z.ZodTypeAny, {
1401
+ errors: {
1402
+ status?: string | undefined;
1403
+ code?: string | undefined;
1404
+ id?: string | undefined;
1405
+ links?: {
1406
+ about?: string | undefined;
1407
+ } | undefined;
1408
+ meta?: Record<string, unknown> | undefined;
1409
+ title?: string | undefined;
1410
+ detail?: string | undefined;
1411
+ source?: {
1412
+ pointer?: string | undefined;
1413
+ parameter?: string | undefined;
1414
+ } | undefined;
1415
+ }[];
1416
+ meta?: Record<string, unknown> | undefined;
1417
+ }, {
1418
+ errors: {
1419
+ status?: string | undefined;
1420
+ code?: string | undefined;
1421
+ id?: string | undefined;
1422
+ links?: {
1423
+ about?: string | undefined;
1424
+ } | undefined;
1425
+ meta?: Record<string, unknown> | undefined;
1426
+ title?: string | undefined;
1427
+ detail?: string | undefined;
1428
+ source?: {
1429
+ pointer?: string | undefined;
1430
+ parameter?: string | undefined;
1431
+ } | undefined;
1432
+ }[];
1433
+ meta?: Record<string, unknown> | undefined;
1434
+ }>;
1435
+ 500: z.ZodObject<{
1436
+ errors: z.ZodArray<z.ZodObject<{
1437
+ id: z.ZodOptional<z.ZodString>;
1438
+ links: z.ZodOptional<z.ZodObject<{
1439
+ about: z.ZodOptional<z.ZodString>;
1440
+ }, "strip", z.ZodTypeAny, {
1441
+ about?: string | undefined;
1442
+ }, {
1443
+ about?: string | undefined;
1444
+ }>>;
1445
+ status: z.ZodOptional<z.ZodString>;
1446
+ code: z.ZodOptional<z.ZodString>;
1447
+ title: z.ZodOptional<z.ZodString>;
1448
+ detail: z.ZodOptional<z.ZodString>;
1449
+ source: z.ZodOptional<z.ZodObject<{
1450
+ pointer: z.ZodOptional<z.ZodString>;
1451
+ parameter: z.ZodOptional<z.ZodString>;
1452
+ }, "strip", z.ZodTypeAny, {
1453
+ pointer?: string | undefined;
1454
+ parameter?: string | undefined;
1455
+ }, {
1456
+ pointer?: string | undefined;
1457
+ parameter?: string | undefined;
1458
+ }>>;
1459
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1460
+ }, "strip", z.ZodTypeAny, {
1461
+ status?: string | undefined;
1462
+ code?: string | undefined;
1463
+ id?: string | undefined;
1464
+ links?: {
1465
+ about?: string | undefined;
1466
+ } | undefined;
1467
+ meta?: Record<string, unknown> | undefined;
1468
+ title?: string | undefined;
1469
+ detail?: string | undefined;
1470
+ source?: {
1471
+ pointer?: string | undefined;
1472
+ parameter?: string | undefined;
1473
+ } | undefined;
1474
+ }, {
1475
+ status?: string | undefined;
1476
+ code?: string | undefined;
1477
+ id?: string | undefined;
1478
+ links?: {
1479
+ about?: string | undefined;
1480
+ } | undefined;
1481
+ meta?: Record<string, unknown> | undefined;
1482
+ title?: string | undefined;
1483
+ detail?: string | undefined;
1484
+ source?: {
1485
+ pointer?: string | undefined;
1486
+ parameter?: string | undefined;
1487
+ } | undefined;
1488
+ }>, "many">;
1489
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1490
+ }, "strip", z.ZodTypeAny, {
1491
+ errors: {
1492
+ status?: string | undefined;
1493
+ code?: string | undefined;
1494
+ id?: string | undefined;
1495
+ links?: {
1496
+ about?: string | undefined;
1497
+ } | undefined;
1498
+ meta?: Record<string, unknown> | undefined;
1499
+ title?: string | undefined;
1500
+ detail?: string | undefined;
1501
+ source?: {
1502
+ pointer?: string | undefined;
1503
+ parameter?: string | undefined;
1504
+ } | undefined;
1505
+ }[];
1506
+ meta?: Record<string, unknown> | undefined;
1507
+ }, {
1508
+ errors: {
1509
+ status?: string | undefined;
1510
+ code?: string | undefined;
1511
+ id?: string | undefined;
1512
+ links?: {
1513
+ about?: string | undefined;
1514
+ } | undefined;
1515
+ meta?: Record<string, unknown> | undefined;
1516
+ title?: string | undefined;
1517
+ detail?: string | undefined;
1518
+ source?: {
1519
+ pointer?: string | undefined;
1520
+ parameter?: string | undefined;
1521
+ } | undefined;
1522
+ }[];
1523
+ meta?: Record<string, unknown> | undefined;
1524
+ }>;
1525
+ };
1526
+ };
519
1527
  };
520
1528
  //# sourceMappingURL=agents.routes.d.ts.map