@arbium/enterprise-agent-connect 0.2.0 → 0.2.1-dev.fd7a648

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.
@@ -680,168 +680,870 @@ export declare const schemas: {
680
680
  }, z.core.$strict>>;
681
681
  }, z.core.$strict>>;
682
682
  }, z.core.$strict>;
683
- Branding: z.ZodObject<{
684
- productName: z.ZodDefault<z.ZodString>;
685
- logoUrl: z.ZodOptional<z.ZodURL>;
686
- resourcePrefix: z.ZodDefault<z.ZodString>;
687
- microsoft: z.ZodDefault<z.ZodObject<{
688
- appName: z.ZodDefault<z.ZodString>;
689
- mailboxGroup: z.ZodDefault<z.ZodString>;
690
- mailboxGroupAlias: z.ZodDefault<z.ZodString>;
691
- botRole: z.ZodDefault<z.ZodString>;
692
- }, z.core.$strict>>;
693
- teams: z.ZodDefault<z.ZodObject<{
694
- resourceGroup: z.ZodDefault<z.ZodString>;
695
- developer: z.ZodOptional<z.ZodObject<{
696
- name: z.ZodString;
697
- websiteUrl: z.ZodURL;
698
- privacyUrl: z.ZodURL;
699
- termsOfUseUrl: z.ZodURL;
700
- }, z.core.$strict>>;
701
- }, z.core.$strict>>;
702
- }, z.core.$strict>;
703
- Provider: z.ZodObject<{
683
+ InternalApp: z.ZodObject<{
704
684
  id: z.ZodString;
705
- name: z.ZodString;
706
- logo: z.ZodString;
707
- identity: z.ZodString;
708
- sharedIdentity: z.ZodOptional<z.ZodString>;
709
- accountKey: z.ZodString;
710
- principalKeys: z.ZodDefault<z.ZodArray<z.ZodString>>;
711
- certificate: z.ZodBoolean;
712
- setup: z.ZodArray<z.ZodObject<{
713
- title: z.ZodString;
714
- body: z.ZodString;
715
- link: z.ZodOptional<z.ZodObject<{
716
- label: z.ZodString;
717
- href: z.ZodURL;
718
- }, z.core.$strict>>;
719
- copy: z.ZodOptional<z.ZodArray<z.ZodString>>;
720
- shell: z.ZodOptional<z.ZodEnum<{
721
- bash: "bash";
722
- powershell: "powershell";
723
- }>>;
724
- permissions: z.ZodOptional<z.ZodBoolean>;
725
- certificate: z.ZodOptional<z.ZodBoolean>;
726
- click: z.ZodOptional<z.ZodArray<z.ZodString>>;
727
- clickUnavailable: z.ZodOptional<z.ZodLiteral<true>>;
728
- siteRole: z.ZodOptional<z.ZodEnum<{
729
- read: "read";
730
- write: "write";
685
+ organizationId: z.ZodString;
686
+ definition: z.ZodRecord<z.ZodString, z.ZodUnknown>;
687
+ problem: z.ZodNullable<z.ZodString>;
688
+ createdBy: z.ZodString;
689
+ createdAt: z.ZodString;
690
+ updatedBy: z.ZodString;
691
+ updatedAt: z.ZodString;
692
+ }, z.core.$strict>;
693
+ InternalAppSaved: z.ZodObject<{
694
+ app: z.ZodObject<{
695
+ id: z.ZodString;
696
+ organizationId: z.ZodString;
697
+ definition: z.ZodRecord<z.ZodString, z.ZodUnknown>;
698
+ problem: z.ZodNullable<z.ZodString>;
699
+ createdBy: z.ZodString;
700
+ createdAt: z.ZodString;
701
+ updatedBy: z.ZodString;
702
+ updatedAt: z.ZodString;
703
+ }, z.core.$strict>;
704
+ connector: z.ZodObject<{
705
+ id: z.ZodString;
706
+ name: z.ZodString;
707
+ description: z.ZodString;
708
+ logo: z.ZodString;
709
+ identity: z.ZodString;
710
+ signsInAs: z.ZodOptional<z.ZodEnum<{
711
+ agentBot: "agentBot";
731
712
  }>>;
732
- agentCheck: z.ZodOptional<z.ZodBoolean>;
733
- confirm: z.ZodOptional<z.ZodString>;
734
- live: z.ZodOptional<z.ZodString>;
735
- settings: z.ZodOptional<z.ZodArray<z.ZodObject<{
713
+ provider: z.ZodOptional<z.ZodString>;
714
+ order: z.ZodOptional<z.ZodNumber>;
715
+ connectionKind: z.ZodEnum<{
716
+ guided: "guided";
717
+ }>;
718
+ accountKey: z.ZodString;
719
+ scopes: z.ZodOptional<z.ZodArray<z.ZodString>>;
720
+ setup: z.ZodArray<z.ZodObject<{
721
+ title: z.ZodString;
722
+ body: z.ZodString;
723
+ link: z.ZodOptional<z.ZodObject<{
724
+ label: z.ZodString;
725
+ href: z.ZodURL;
726
+ }, z.core.$strict>>;
727
+ copy: z.ZodOptional<z.ZodArray<z.ZodString>>;
728
+ shell: z.ZodOptional<z.ZodEnum<{
729
+ bash: "bash";
730
+ powershell: "powershell";
731
+ }>>;
732
+ permissions: z.ZodOptional<z.ZodBoolean>;
733
+ certificate: z.ZodOptional<z.ZodBoolean>;
734
+ click: z.ZodOptional<z.ZodArray<z.ZodString>>;
735
+ clickUnavailable: z.ZodOptional<z.ZodLiteral<true>>;
736
+ siteRole: z.ZodOptional<z.ZodEnum<{
737
+ read: "read";
738
+ write: "write";
739
+ }>>;
740
+ agentCheck: z.ZodOptional<z.ZodBoolean>;
741
+ confirm: z.ZodOptional<z.ZodString>;
742
+ live: z.ZodOptional<z.ZodString>;
743
+ settings: z.ZodOptional<z.ZodArray<z.ZodObject<{
744
+ id: z.ZodString;
745
+ label: z.ZodString;
746
+ help: z.ZodOptional<z.ZodString>;
747
+ placeholder: z.ZodOptional<z.ZodString>;
748
+ pattern: z.ZodString;
749
+ }, z.core.$strict>>>;
750
+ option: z.ZodOptional<z.ZodObject<{
751
+ field: z.ZodString;
752
+ value: z.ZodString;
753
+ }, z.core.$strict>>;
754
+ capabilities: z.ZodOptional<z.ZodArray<z.ZodString>>;
755
+ }, z.core.$strict>>;
756
+ afterConnect: z.ZodArray<z.ZodObject<{
757
+ title: z.ZodString;
758
+ body: z.ZodString;
759
+ link: z.ZodOptional<z.ZodObject<{
760
+ label: z.ZodString;
761
+ href: z.ZodURL;
762
+ }, z.core.$strict>>;
763
+ copy: z.ZodOptional<z.ZodArray<z.ZodString>>;
764
+ shell: z.ZodOptional<z.ZodEnum<{
765
+ bash: "bash";
766
+ powershell: "powershell";
767
+ }>>;
768
+ permissions: z.ZodOptional<z.ZodBoolean>;
769
+ certificate: z.ZodOptional<z.ZodBoolean>;
770
+ click: z.ZodOptional<z.ZodArray<z.ZodString>>;
771
+ clickUnavailable: z.ZodOptional<z.ZodLiteral<true>>;
772
+ siteRole: z.ZodOptional<z.ZodEnum<{
773
+ read: "read";
774
+ write: "write";
775
+ }>>;
776
+ agentCheck: z.ZodOptional<z.ZodBoolean>;
777
+ confirm: z.ZodOptional<z.ZodString>;
778
+ live: z.ZodOptional<z.ZodString>;
779
+ settings: z.ZodOptional<z.ZodArray<z.ZodObject<{
780
+ id: z.ZodString;
781
+ label: z.ZodString;
782
+ help: z.ZodOptional<z.ZodString>;
783
+ placeholder: z.ZodOptional<z.ZodString>;
784
+ pattern: z.ZodString;
785
+ }, z.core.$strict>>>;
786
+ option: z.ZodOptional<z.ZodObject<{
787
+ field: z.ZodString;
788
+ value: z.ZodString;
789
+ }, z.core.$strict>>;
790
+ capabilities: z.ZodOptional<z.ZodArray<z.ZodString>>;
791
+ }, z.core.$strict>>;
792
+ fields: z.ZodArray<z.ZodObject<{
736
793
  id: z.ZodString;
737
794
  label: z.ZodString;
738
795
  help: z.ZodOptional<z.ZodString>;
739
796
  placeholder: z.ZodOptional<z.ZodString>;
740
- pattern: z.ZodString;
741
- }, z.core.$strict>>>;
742
- option: z.ZodOptional<z.ZodObject<{
743
- field: z.ZodString;
744
- value: z.ZodString;
797
+ secret: z.ZodBoolean;
798
+ options: z.ZodOptional<z.ZodArray<z.ZodObject<{
799
+ value: z.ZodString;
800
+ label: z.ZodString;
801
+ description: z.ZodString;
802
+ scopes: z.ZodOptional<z.ZodArray<z.ZodString>>;
803
+ }, z.core.$strict>>>;
804
+ requires: z.ZodOptional<z.ZodObject<{
805
+ field: z.ZodString;
806
+ value: z.ZodString;
807
+ }, z.core.$strict>>;
808
+ optional: z.ZodDefault<z.ZodBoolean>;
745
809
  }, z.core.$strict>>;
746
- }, z.core.$strict>>;
747
- fields: z.ZodArray<z.ZodObject<{
748
- id: z.ZodString;
749
- label: z.ZodString;
750
- help: z.ZodOptional<z.ZodString>;
751
- placeholder: z.ZodOptional<z.ZodString>;
752
- secret: z.ZodBoolean;
753
- options: z.ZodOptional<z.ZodArray<z.ZodObject<{
754
- value: z.ZodString;
810
+ capabilities: z.ZodArray<z.ZodObject<{
811
+ id: z.ZodString;
755
812
  label: z.ZodString;
756
813
  description: z.ZodString;
757
- scopes: z.ZodOptional<z.ZodArray<z.ZodString>>;
758
- }, z.core.$strict>>>;
759
- requires: z.ZodOptional<z.ZodObject<{
760
- field: z.ZodString;
761
- value: z.ZodString;
814
+ required: z.ZodDefault<z.ZodBoolean>;
815
+ destructive: z.ZodDefault<z.ZodBoolean>;
816
+ costs: z.ZodOptional<z.ZodBoolean>;
817
+ scopes: z.ZodArray<z.ZodString>;
818
+ roles: z.ZodOptional<z.ZodArray<z.ZodString>>;
819
+ permissions: z.ZodArray<z.ZodString>;
820
+ fill: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
821
+ note: z.ZodOptional<z.ZodString>;
822
+ forbidden: z.ZodOptional<z.ZodString>;
823
+ claudeKey: z.ZodOptional<z.ZodBoolean>;
824
+ tools: z.ZodArray<z.ZodString>;
762
825
  }, z.core.$strict>>;
763
- optional: z.ZodDefault<z.ZodBoolean>;
764
- }, z.core.$strict>>;
765
- addAgent: z.ZodDefault<z.ZodArray<z.ZodObject<{
766
- title: z.ZodString;
767
- body: z.ZodString;
768
- link: z.ZodOptional<z.ZodObject<{
826
+ limits: z.ZodArray<z.ZodObject<{
827
+ id: z.ZodString;
769
828
  label: z.ZodString;
770
- href: z.ZodURL;
829
+ help: z.ZodString;
830
+ kind: z.ZodEnum<{
831
+ text: "text";
832
+ map: "map";
833
+ list: "list";
834
+ }>;
835
+ required: z.ZodBoolean;
836
+ pattern: z.ZodOptional<z.ZodString>;
837
+ keys: z.ZodOptional<z.ZodString>;
771
838
  }, z.core.$strict>>;
772
- copy: z.ZodOptional<z.ZodArray<z.ZodString>>;
773
- shell: z.ZodOptional<z.ZodEnum<{
774
- bash: "bash";
775
- powershell: "powershell";
776
- }>>;
777
- permissions: z.ZodOptional<z.ZodBoolean>;
778
- certificate: z.ZodOptional<z.ZodBoolean>;
779
- click: z.ZodOptional<z.ZodArray<z.ZodString>>;
780
- clickUnavailable: z.ZodOptional<z.ZodLiteral<true>>;
781
- siteRole: z.ZodOptional<z.ZodEnum<{
782
- read: "read";
783
- write: "write";
784
- }>>;
785
- agentCheck: z.ZodOptional<z.ZodBoolean>;
786
- confirm: z.ZodOptional<z.ZodString>;
787
- live: z.ZodOptional<z.ZodString>;
788
- settings: z.ZodOptional<z.ZodArray<z.ZodObject<{
789
- id: z.ZodString;
839
+ siteAccess: z.ZodOptional<z.ZodObject<{
840
+ grant: z.ZodArray<z.ZodObject<{
841
+ title: z.ZodString;
842
+ body: z.ZodString;
843
+ link: z.ZodOptional<z.ZodObject<{
844
+ label: z.ZodString;
845
+ href: z.ZodURL;
846
+ }, z.core.$strict>>;
847
+ copy: z.ZodOptional<z.ZodArray<z.ZodString>>;
848
+ shell: z.ZodOptional<z.ZodEnum<{
849
+ bash: "bash";
850
+ powershell: "powershell";
851
+ }>>;
852
+ permissions: z.ZodOptional<z.ZodBoolean>;
853
+ certificate: z.ZodOptional<z.ZodBoolean>;
854
+ click: z.ZodOptional<z.ZodArray<z.ZodString>>;
855
+ clickUnavailable: z.ZodOptional<z.ZodLiteral<true>>;
856
+ siteRole: z.ZodOptional<z.ZodEnum<{
857
+ read: "read";
858
+ write: "write";
859
+ }>>;
860
+ agentCheck: z.ZodOptional<z.ZodBoolean>;
861
+ confirm: z.ZodOptional<z.ZodString>;
862
+ live: z.ZodOptional<z.ZodString>;
863
+ settings: z.ZodOptional<z.ZodArray<z.ZodObject<{
864
+ id: z.ZodString;
865
+ label: z.ZodString;
866
+ help: z.ZodOptional<z.ZodString>;
867
+ placeholder: z.ZodOptional<z.ZodString>;
868
+ pattern: z.ZodString;
869
+ }, z.core.$strict>>>;
870
+ option: z.ZodOptional<z.ZodObject<{
871
+ field: z.ZodString;
872
+ value: z.ZodString;
873
+ }, z.core.$strict>>;
874
+ }, z.core.$strict>>;
875
+ request: z.ZodString;
876
+ write: z.ZodDefault<z.ZodArray<z.ZodString>>;
877
+ }, z.core.$strict>>;
878
+ agentAccess: z.ZodOptional<z.ZodObject<{
879
+ limit: z.ZodString;
790
880
  label: z.ZodString;
791
- help: z.ZodOptional<z.ZodString>;
792
- placeholder: z.ZodOptional<z.ZodString>;
793
- pattern: z.ZodString;
794
- }, z.core.$strict>>>;
795
- option: z.ZodOptional<z.ZodObject<{
796
- field: z.ZodString;
797
- value: z.ZodString;
881
+ path: z.ZodString;
882
+ granted: z.ZodString;
883
+ notGranted: z.ZodString;
884
+ notFound: z.ZodString;
885
+ probes: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
886
+ method: z.ZodEnum<{
887
+ GET: "GET";
888
+ POST: "POST";
889
+ PATCH: "PATCH";
890
+ }>;
891
+ path: z.ZodString;
892
+ body: z.ZodOptional<z.ZodUnknown>;
893
+ allowed: z.ZodArray<z.ZodNumber>;
894
+ }, z.core.$strict>>>;
895
+ missing: z.ZodOptional<z.ZodString>;
798
896
  }, z.core.$strict>>;
799
- apps: z.ZodArray<z.ZodString>;
800
- }, z.core.$strict>>>;
801
- revoke: z.ZodString;
802
- approval: z.ZodBoolean;
803
- }, z.core.$strict>;
804
- ProviderConnection: z.ZodObject<{
805
- id: z.ZodString;
806
- organizationId: z.ZodString;
807
- provider: z.ZodString;
808
- status: z.ZodEnum<{
809
- connected: "connected";
810
- needs_reconnect: "needs_reconnect";
811
- pending: "pending";
812
- }>;
813
- config: z.ZodRecord<z.ZodString, z.ZodString>;
814
- accountLabel: z.ZodNullable<z.ZodString>;
815
- connectedBy: z.ZodNullable<z.ZodString>;
816
- connectedAt: z.ZodString;
817
- checkedAt: z.ZodString;
818
- certificate: z.ZodNullable<z.ZodObject<{
819
- thumbprint: z.ZodString;
820
- expiresAt: z.ZodString;
897
+ verify: z.ZodUnion<readonly [z.ZodObject<{
898
+ method: z.ZodEnum<{
899
+ GET: "GET";
900
+ POST: "POST";
901
+ }>;
902
+ path: z.ZodString;
903
+ label: z.ZodString;
904
+ show: z.ZodString;
905
+ name: z.ZodOptional<z.ZodString>;
906
+ match: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
907
+ body: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
908
+ ifEmpty: z.ZodOptional<z.ZodString>;
909
+ }, z.core.$strict>, z.ZodObject<{
910
+ label: z.ZodString;
911
+ check: z.ZodString;
912
+ ifEmpty: z.ZodOptional<z.ZodString>;
913
+ }, z.core.$strict>]>;
914
+ discover: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
915
+ method: z.ZodEnum<{
916
+ GET: "GET";
917
+ POST: "POST";
918
+ }>;
919
+ path: z.ZodString;
920
+ label: z.ZodString;
921
+ show: z.ZodString;
922
+ name: z.ZodOptional<z.ZodString>;
923
+ match: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
924
+ body: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
925
+ ifEmpty: z.ZodOptional<z.ZodString>;
926
+ }, z.core.$strict>, z.ZodObject<{
927
+ label: z.ZodString;
928
+ check: z.ZodString;
929
+ ifEmpty: z.ZodOptional<z.ZodString>;
930
+ }, z.core.$strict>]>>;
931
+ revoke: z.ZodString;
932
+ http: z.ZodOptional<z.ZodObject<{
933
+ baseUrl: z.ZodURL;
934
+ auth: z.ZodDiscriminatedUnion<[z.ZodObject<{
935
+ type: z.ZodLiteral<"header">;
936
+ header: z.ZodString;
937
+ value: z.ZodString;
938
+ prefix: z.ZodOptional<z.ZodString>;
939
+ }, z.core.$strict>, z.ZodObject<{
940
+ type: z.ZodLiteral<"bearer">;
941
+ token: z.ZodString;
942
+ }, z.core.$strict>, z.ZodObject<{
943
+ type: z.ZodLiteral<"basic">;
944
+ username: z.ZodString;
945
+ password: z.ZodString;
946
+ }, z.core.$strict>, z.ZodObject<{
947
+ type: z.ZodLiteral<"oauth2">;
948
+ tokenUrl: z.ZodURL;
949
+ clientId: z.ZodString;
950
+ clientSecret: z.ZodString;
951
+ scope: z.ZodOptional<z.ZodString>;
952
+ }, z.core.$strict>, z.ZodObject<{
953
+ type: z.ZodLiteral<"query">;
954
+ param: z.ZodString;
955
+ value: z.ZodString;
956
+ }, z.core.$strict>], "type">;
957
+ headers: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
958
+ tools: z.ZodArray<z.ZodObject<{
959
+ name: z.ZodString;
960
+ description: z.ZodString;
961
+ method: z.ZodEnum<{
962
+ GET: "GET";
963
+ POST: "POST";
964
+ PUT: "PUT";
965
+ PATCH: "PATCH";
966
+ DELETE: "DELETE";
967
+ }>;
968
+ path: z.ZodString;
969
+ params: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
970
+ type: z.ZodEnum<{
971
+ string: "string";
972
+ number: "number";
973
+ boolean: "boolean";
974
+ array: "array";
975
+ integer: "integer";
976
+ }>;
977
+ description: z.ZodString;
978
+ in: z.ZodEnum<{
979
+ body: "body";
980
+ path: "path";
981
+ query: "query";
982
+ }>;
983
+ name: z.ZodOptional<z.ZodString>;
984
+ required: z.ZodDefault<z.ZodBoolean>;
985
+ default: z.ZodOptional<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>]>>;
986
+ enum: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
987
+ items: z.ZodOptional<z.ZodEnum<{
988
+ string: "string";
989
+ number: "number";
990
+ boolean: "boolean";
991
+ integer: "integer";
992
+ }>>;
993
+ join: z.ZodOptional<z.ZodString>;
994
+ limit: z.ZodOptional<z.ZodString>;
995
+ }, z.core.$strict>>>;
996
+ destructive: z.ZodDefault<z.ZodBoolean>;
997
+ answerLimits: z.ZodDefault<z.ZodArray<z.ZodObject<{
998
+ field: z.ZodString;
999
+ limit: z.ZodString;
1000
+ }, z.core.$strict>>>;
1001
+ result: z.ZodOptional<z.ZodObject<{
1002
+ items: z.ZodOptional<z.ZodString>;
1003
+ fields: z.ZodOptional<z.ZodArray<z.ZodString>>;
1004
+ }, z.core.$strict>>;
1005
+ paging: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
1006
+ param: z.ZodString;
1007
+ body: z.ZodString;
1008
+ }, z.core.$strict>, z.ZodObject<{
1009
+ param: z.ZodString;
1010
+ header: z.ZodString;
1011
+ }, z.core.$strict>, z.ZodObject<{
1012
+ param: z.ZodString;
1013
+ link: z.ZodLiteral<true>;
1014
+ }, z.core.$strict>]>>;
1015
+ }, z.core.$strict>>;
1016
+ allowInsecureHttp: z.ZodDefault<z.ZodBoolean>;
1017
+ }, z.core.$strict>>;
1018
+ soap: z.ZodOptional<z.ZodObject<{
1019
+ endpoint: z.ZodURL;
1020
+ version: z.ZodDefault<z.ZodEnum<{
1021
+ 1.1: "1.1";
1022
+ 1.2: "1.2";
1023
+ }>>;
1024
+ namespaces: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
1025
+ auth: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
1026
+ type: z.ZodLiteral<"header">;
1027
+ header: z.ZodString;
1028
+ value: z.ZodString;
1029
+ prefix: z.ZodOptional<z.ZodString>;
1030
+ }, z.core.$strict>, z.ZodObject<{
1031
+ type: z.ZodLiteral<"bearer">;
1032
+ token: z.ZodString;
1033
+ }, z.core.$strict>, z.ZodObject<{
1034
+ type: z.ZodLiteral<"basic">;
1035
+ username: z.ZodString;
1036
+ password: z.ZodString;
1037
+ }, z.core.$strict>], "type">>;
1038
+ wsSecurity: z.ZodOptional<z.ZodObject<{
1039
+ username: z.ZodString;
1040
+ password: z.ZodString;
1041
+ digest: z.ZodDefault<z.ZodBoolean>;
1042
+ }, z.core.$strict>>;
1043
+ verify: z.ZodOptional<z.ZodObject<{
1044
+ tool: z.ZodString;
1045
+ args: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
1046
+ show: z.ZodString;
1047
+ }, z.core.$strict>>;
1048
+ tools: z.ZodArray<z.ZodObject<{
1049
+ name: z.ZodString;
1050
+ description: z.ZodString;
1051
+ operation: z.ZodString;
1052
+ soapAction: z.ZodOptional<z.ZodString>;
1053
+ body: z.ZodString;
1054
+ params: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
1055
+ type: z.ZodEnum<{
1056
+ string: "string";
1057
+ number: "number";
1058
+ boolean: "boolean";
1059
+ integer: "integer";
1060
+ }>;
1061
+ description: z.ZodString;
1062
+ required: z.ZodDefault<z.ZodBoolean>;
1063
+ limit: z.ZodOptional<z.ZodString>;
1064
+ }, z.core.$strict>>>;
1065
+ result: z.ZodOptional<z.ZodString>;
1066
+ fields: z.ZodOptional<z.ZodArray<z.ZodString>>;
1067
+ readOnly: z.ZodDefault<z.ZodBoolean>;
1068
+ destructive: z.ZodDefault<z.ZodBoolean>;
1069
+ answerLimits: z.ZodDefault<z.ZodArray<z.ZodObject<{
1070
+ field: z.ZodString;
1071
+ limit: z.ZodString;
1072
+ }, z.core.$strict>>>;
1073
+ }, z.core.$strict>>;
1074
+ allowInsecureHttp: z.ZodDefault<z.ZodBoolean>;
1075
+ }, z.core.$strict>>;
1076
+ odata: z.ZodOptional<z.ZodObject<{
1077
+ serviceRoot: z.ZodURL;
1078
+ version: z.ZodEnum<{
1079
+ 2: "2";
1080
+ 4: "4";
1081
+ }>;
1082
+ auth: z.ZodDiscriminatedUnion<[z.ZodObject<{
1083
+ type: z.ZodLiteral<"header">;
1084
+ header: z.ZodString;
1085
+ value: z.ZodString;
1086
+ prefix: z.ZodOptional<z.ZodString>;
1087
+ }, z.core.$strict>, z.ZodObject<{
1088
+ type: z.ZodLiteral<"bearer">;
1089
+ token: z.ZodString;
1090
+ }, z.core.$strict>, z.ZodObject<{
1091
+ type: z.ZodLiteral<"basic">;
1092
+ username: z.ZodString;
1093
+ password: z.ZodString;
1094
+ }, z.core.$strict>, z.ZodObject<{
1095
+ type: z.ZodLiteral<"oauth2">;
1096
+ tokenUrl: z.ZodURL;
1097
+ clientId: z.ZodString;
1098
+ clientSecret: z.ZodString;
1099
+ scope: z.ZodOptional<z.ZodString>;
1100
+ }, z.core.$strict>, z.ZodObject<{
1101
+ type: z.ZodLiteral<"query">;
1102
+ param: z.ZodString;
1103
+ value: z.ZodString;
1104
+ }, z.core.$strict>], "type">;
1105
+ headers: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
1106
+ csrf: z.ZodDefault<z.ZodBoolean>;
1107
+ paging: z.ZodDefault<z.ZodEnum<{
1108
+ skip: "skip";
1109
+ server: "server";
1110
+ }>>;
1111
+ tools: z.ZodArray<z.ZodObject<{
1112
+ name: z.ZodString;
1113
+ description: z.ZodString;
1114
+ kind: z.ZodEnum<{
1115
+ function: "function";
1116
+ list: "list";
1117
+ get: "get";
1118
+ create: "create";
1119
+ update: "update";
1120
+ action: "action";
1121
+ }>;
1122
+ entitySet: z.ZodOptional<z.ZodString>;
1123
+ function: z.ZodOptional<z.ZodString>;
1124
+ key: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
1125
+ type: z.ZodEnum<{
1126
+ string: "string";
1127
+ number: "number";
1128
+ boolean: "boolean";
1129
+ guid: "guid";
1130
+ integer: "integer";
1131
+ decimal: "decimal";
1132
+ datetime: "datetime";
1133
+ datetimeoffset: "datetimeoffset";
1134
+ }>;
1135
+ description: z.ZodString;
1136
+ property: z.ZodOptional<z.ZodString>;
1137
+ required: z.ZodOptional<z.ZodBoolean>;
1138
+ limit: z.ZodOptional<z.ZodString>;
1139
+ }, z.core.$strict>>>;
1140
+ filters: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
1141
+ type: z.ZodEnum<{
1142
+ string: "string";
1143
+ number: "number";
1144
+ boolean: "boolean";
1145
+ guid: "guid";
1146
+ integer: "integer";
1147
+ decimal: "decimal";
1148
+ datetime: "datetime";
1149
+ datetimeoffset: "datetimeoffset";
1150
+ }>;
1151
+ description: z.ZodString;
1152
+ property: z.ZodOptional<z.ZodString>;
1153
+ required: z.ZodOptional<z.ZodBoolean>;
1154
+ limit: z.ZodOptional<z.ZodString>;
1155
+ op: z.ZodDefault<z.ZodEnum<{
1156
+ eq: "eq";
1157
+ ne: "ne";
1158
+ gt: "gt";
1159
+ ge: "ge";
1160
+ lt: "lt";
1161
+ le: "le";
1162
+ contains: "contains";
1163
+ startswith: "startswith";
1164
+ }>>;
1165
+ }, z.core.$strict>>>;
1166
+ fields: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
1167
+ type: z.ZodEnum<{
1168
+ string: "string";
1169
+ number: "number";
1170
+ boolean: "boolean";
1171
+ guid: "guid";
1172
+ integer: "integer";
1173
+ decimal: "decimal";
1174
+ datetime: "datetime";
1175
+ datetimeoffset: "datetimeoffset";
1176
+ }>;
1177
+ description: z.ZodString;
1178
+ property: z.ZodOptional<z.ZodString>;
1179
+ required: z.ZodOptional<z.ZodBoolean>;
1180
+ limit: z.ZodOptional<z.ZodString>;
1181
+ }, z.core.$strict>>>;
1182
+ params: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
1183
+ type: z.ZodEnum<{
1184
+ string: "string";
1185
+ number: "number";
1186
+ boolean: "boolean";
1187
+ guid: "guid";
1188
+ integer: "integer";
1189
+ decimal: "decimal";
1190
+ datetime: "datetime";
1191
+ datetimeoffset: "datetimeoffset";
1192
+ }>;
1193
+ description: z.ZodString;
1194
+ property: z.ZodOptional<z.ZodString>;
1195
+ required: z.ZodOptional<z.ZodBoolean>;
1196
+ limit: z.ZodOptional<z.ZodString>;
1197
+ }, z.core.$strict>>>;
1198
+ select: z.ZodDefault<z.ZodArray<z.ZodString>>;
1199
+ orderBy: z.ZodOptional<z.ZodString>;
1200
+ top: z.ZodDefault<z.ZodNumber>;
1201
+ destructive: z.ZodDefault<z.ZodBoolean>;
1202
+ answerLimits: z.ZodDefault<z.ZodArray<z.ZodObject<{
1203
+ field: z.ZodString;
1204
+ limit: z.ZodString;
1205
+ }, z.core.$strict>>>;
1206
+ }, z.core.$strict>>;
1207
+ allowInsecureHttp: z.ZodDefault<z.ZodBoolean>;
1208
+ }, z.core.$strict>>;
1209
+ sql: z.ZodOptional<z.ZodObject<{
1210
+ engine: z.ZodEnum<{
1211
+ postgres: "postgres";
1212
+ sqlserver: "sqlserver";
1213
+ mysql: "mysql";
1214
+ oracle: "oracle";
1215
+ }>;
1216
+ host: z.ZodString;
1217
+ port: z.ZodOptional<z.ZodNumber>;
1218
+ database: z.ZodString;
1219
+ auth: z.ZodObject<{
1220
+ user: z.ZodString;
1221
+ password: z.ZodString;
1222
+ }, z.core.$strict>;
1223
+ tls: z.ZodDefault<z.ZodEnum<{
1224
+ verify: "verify";
1225
+ insecure: "insecure";
1226
+ off: "off";
1227
+ }>>;
1228
+ timeoutSeconds: z.ZodDefault<z.ZodNumber>;
1229
+ maxRows: z.ZodDefault<z.ZodNumber>;
1230
+ tools: z.ZodArray<z.ZodObject<{
1231
+ name: z.ZodString;
1232
+ description: z.ZodString;
1233
+ sql: z.ZodString;
1234
+ params: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
1235
+ type: z.ZodEnum<{
1236
+ string: "string";
1237
+ number: "number";
1238
+ boolean: "boolean";
1239
+ integer: "integer";
1240
+ }>;
1241
+ description: z.ZodString;
1242
+ required: z.ZodDefault<z.ZodBoolean>;
1243
+ limit: z.ZodOptional<z.ZodString>;
1244
+ }, z.core.$strict>>>;
1245
+ write: z.ZodDefault<z.ZodBoolean>;
1246
+ destructive: z.ZodDefault<z.ZodBoolean>;
1247
+ answerLimits: z.ZodDefault<z.ZodArray<z.ZodObject<{
1248
+ column: z.ZodString;
1249
+ limit: z.ZodString;
1250
+ }, z.core.$strict>>>;
1251
+ }, z.core.$strict>>;
1252
+ }, z.core.$strict>>;
1253
+ events: z.ZodOptional<z.ZodObject<{
1254
+ types: z.ZodArray<z.ZodObject<{
1255
+ id: z.ZodString;
1256
+ label: z.ZodString;
1257
+ }, z.core.$strict>>;
1258
+ fields: z.ZodRecord<z.ZodString, z.ZodString>;
1259
+ limits: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
1260
+ webhook: z.ZodOptional<z.ZodObject<{
1261
+ verify: z.ZodDiscriminatedUnion<[z.ZodObject<{
1262
+ type: z.ZodLiteral<"hmac-sha256">;
1263
+ header: z.ZodString;
1264
+ prefix: z.ZodDefault<z.ZodString>;
1265
+ }, z.core.$strict>, z.ZodObject<{
1266
+ type: z.ZodLiteral<"token">;
1267
+ header: z.ZodString;
1268
+ }, z.core.$strict>, z.ZodObject<{
1269
+ type: z.ZodLiteral<"none">;
1270
+ }, z.core.$strict>], "type">;
1271
+ allowInsecure: z.ZodDefault<z.ZodBoolean>;
1272
+ type: z.ZodUnion<readonly [z.ZodObject<{
1273
+ field: z.ZodString;
1274
+ }, z.core.$strict>, z.ZodObject<{
1275
+ header: z.ZodString;
1276
+ }, z.core.$strict>]>;
1277
+ deliveryId: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
1278
+ field: z.ZodString;
1279
+ }, z.core.$strict>, z.ZodObject<{
1280
+ header: z.ZodString;
1281
+ }, z.core.$strict>]>>;
1282
+ timestamp: z.ZodOptional<z.ZodObject<{
1283
+ at: z.ZodUnion<readonly [z.ZodObject<{
1284
+ field: z.ZodString;
1285
+ }, z.core.$strict>, z.ZodObject<{
1286
+ header: z.ZodString;
1287
+ }, z.core.$strict>]>;
1288
+ unit: z.ZodEnum<{
1289
+ s: "s";
1290
+ ms: "ms";
1291
+ iso: "iso";
1292
+ }>;
1293
+ toleranceSeconds: z.ZodDefault<z.ZodNumber>;
1294
+ }, z.core.$strict>>;
1295
+ setup: z.ZodArray<z.ZodObject<{
1296
+ title: z.ZodString;
1297
+ body: z.ZodString;
1298
+ link: z.ZodOptional<z.ZodObject<{
1299
+ label: z.ZodString;
1300
+ href: z.ZodURL;
1301
+ }, z.core.$strict>>;
1302
+ copy: z.ZodOptional<z.ZodArray<z.ZodString>>;
1303
+ shell: z.ZodOptional<z.ZodEnum<{
1304
+ bash: "bash";
1305
+ powershell: "powershell";
1306
+ }>>;
1307
+ permissions: z.ZodOptional<z.ZodBoolean>;
1308
+ certificate: z.ZodOptional<z.ZodBoolean>;
1309
+ click: z.ZodOptional<z.ZodArray<z.ZodString>>;
1310
+ clickUnavailable: z.ZodOptional<z.ZodLiteral<true>>;
1311
+ siteRole: z.ZodOptional<z.ZodEnum<{
1312
+ read: "read";
1313
+ write: "write";
1314
+ }>>;
1315
+ agentCheck: z.ZodOptional<z.ZodBoolean>;
1316
+ confirm: z.ZodOptional<z.ZodString>;
1317
+ live: z.ZodOptional<z.ZodString>;
1318
+ settings: z.ZodOptional<z.ZodArray<z.ZodObject<{
1319
+ id: z.ZodString;
1320
+ label: z.ZodString;
1321
+ help: z.ZodOptional<z.ZodString>;
1322
+ placeholder: z.ZodOptional<z.ZodString>;
1323
+ pattern: z.ZodString;
1324
+ }, z.core.$strict>>>;
1325
+ option: z.ZodOptional<z.ZodObject<{
1326
+ field: z.ZodString;
1327
+ value: z.ZodString;
1328
+ }, z.core.$strict>>;
1329
+ }, z.core.$strict>>;
1330
+ register: z.ZodOptional<z.ZodObject<{
1331
+ method: z.ZodEnum<{
1332
+ GET: "GET";
1333
+ POST: "POST";
1334
+ PUT: "PUT";
1335
+ }>;
1336
+ path: z.ZodString;
1337
+ body: z.ZodOptional<z.ZodUnknown>;
1338
+ location: z.ZodString;
1339
+ }, z.core.$strict>>;
1340
+ }, z.core.$strict>>;
1341
+ self: z.ZodOptional<z.ZodObject<{
1342
+ request: z.ZodObject<{
1343
+ method: z.ZodEnum<{
1344
+ GET: "GET";
1345
+ POST: "POST";
1346
+ PUT: "PUT";
1347
+ }>;
1348
+ path: z.ZodString;
1349
+ body: z.ZodOptional<z.ZodUnknown>;
1350
+ }, z.core.$strict>;
1351
+ id: z.ZodString;
1352
+ fields: z.ZodArray<z.ZodString>;
1353
+ }, z.core.$strict>>;
1354
+ poll: z.ZodOptional<z.ZodObject<{
1355
+ request: z.ZodObject<{
1356
+ method: z.ZodEnum<{
1357
+ GET: "GET";
1358
+ POST: "POST";
1359
+ PUT: "PUT";
1360
+ }>;
1361
+ path: z.ZodString;
1362
+ body: z.ZodOptional<z.ZodUnknown>;
1363
+ }, z.core.$strict>;
1364
+ filter: z.ZodOptional<z.ZodString>;
1365
+ items: z.ZodString;
1366
+ wrap: z.ZodOptional<z.ZodString>;
1367
+ cursor: z.ZodString;
1368
+ deliveryId: z.ZodArray<z.ZodString>;
1369
+ types: z.ZodArray<z.ZodObject<{
1370
+ type: z.ZodString;
1371
+ since: z.ZodOptional<z.ZodString>;
1372
+ }, z.core.$strict>>;
1373
+ }, z.core.$strict>>;
1374
+ }, z.core.$strict>>;
1375
+ }, z.core.$strict>;
1376
+ created: z.ZodBoolean;
1377
+ disconnected: z.ZodBoolean;
1378
+ grantsRemoved: z.ZodArray<z.ZodString>;
1379
+ }, z.core.$strict>;
1380
+ InternalAppDraft: z.ZodObject<{
1381
+ definition: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1382
+ notes: z.ZodArray<z.ZodString>;
1383
+ problem: z.ZodNullable<z.ZodString>;
1384
+ }, z.core.$strict>;
1385
+ Branding: z.ZodObject<{
1386
+ productName: z.ZodDefault<z.ZodString>;
1387
+ logoUrl: z.ZodOptional<z.ZodURL>;
1388
+ resourcePrefix: z.ZodDefault<z.ZodString>;
1389
+ microsoft: z.ZodDefault<z.ZodObject<{
1390
+ appName: z.ZodDefault<z.ZodString>;
1391
+ mailboxGroup: z.ZodDefault<z.ZodString>;
1392
+ mailboxGroupAlias: z.ZodDefault<z.ZodString>;
1393
+ botRole: z.ZodDefault<z.ZodString>;
821
1394
  }, z.core.$strict>>;
822
- nextCertificate: z.ZodNullable<z.ZodObject<{
823
- thumbprint: z.ZodString;
824
- expiresAt: z.ZodString;
1395
+ teams: z.ZodDefault<z.ZodObject<{
1396
+ resourceGroup: z.ZodDefault<z.ZodString>;
1397
+ developer: z.ZodOptional<z.ZodObject<{
1398
+ name: z.ZodString;
1399
+ websiteUrl: z.ZodURL;
1400
+ privacyUrl: z.ZodURL;
1401
+ termsOfUseUrl: z.ZodURL;
1402
+ }, z.core.$strict>>;
825
1403
  }, z.core.$strict>>;
826
- apps: z.ZodArray<z.ZodString>;
827
1404
  }, z.core.$strict>;
828
- Connection: z.ZodObject<{
1405
+ Provider: z.ZodObject<{
829
1406
  id: z.ZodString;
830
- organizationId: z.ZodString;
831
- connectorId: z.ZodString;
832
- providerId: z.ZodNullable<z.ZodString>;
833
- capabilities: z.ZodArray<z.ZodString>;
834
- config: z.ZodRecord<z.ZodString, z.ZodString>;
835
- status: z.ZodEnum<{
836
- connected: "connected";
837
- needs_reconnect: "needs_reconnect";
838
- }>;
839
- accountLabel: z.ZodNullable<z.ZodString>;
840
- connectedBy: z.ZodNullable<z.ZodString>;
841
- connectedAt: z.ZodString;
842
- checkedAt: z.ZodString;
843
- }, z.core.$strict>;
844
- Check: z.ZodObject<{
1407
+ name: z.ZodString;
1408
+ logo: z.ZodString;
1409
+ identity: z.ZodString;
1410
+ sharedIdentity: z.ZodOptional<z.ZodString>;
1411
+ accountKey: z.ZodString;
1412
+ principalKeys: z.ZodDefault<z.ZodArray<z.ZodString>>;
1413
+ certificate: z.ZodBoolean;
1414
+ setup: z.ZodArray<z.ZodObject<{
1415
+ title: z.ZodString;
1416
+ body: z.ZodString;
1417
+ link: z.ZodOptional<z.ZodObject<{
1418
+ label: z.ZodString;
1419
+ href: z.ZodURL;
1420
+ }, z.core.$strict>>;
1421
+ copy: z.ZodOptional<z.ZodArray<z.ZodString>>;
1422
+ shell: z.ZodOptional<z.ZodEnum<{
1423
+ bash: "bash";
1424
+ powershell: "powershell";
1425
+ }>>;
1426
+ permissions: z.ZodOptional<z.ZodBoolean>;
1427
+ certificate: z.ZodOptional<z.ZodBoolean>;
1428
+ click: z.ZodOptional<z.ZodArray<z.ZodString>>;
1429
+ clickUnavailable: z.ZodOptional<z.ZodLiteral<true>>;
1430
+ siteRole: z.ZodOptional<z.ZodEnum<{
1431
+ read: "read";
1432
+ write: "write";
1433
+ }>>;
1434
+ agentCheck: z.ZodOptional<z.ZodBoolean>;
1435
+ confirm: z.ZodOptional<z.ZodString>;
1436
+ live: z.ZodOptional<z.ZodString>;
1437
+ settings: z.ZodOptional<z.ZodArray<z.ZodObject<{
1438
+ id: z.ZodString;
1439
+ label: z.ZodString;
1440
+ help: z.ZodOptional<z.ZodString>;
1441
+ placeholder: z.ZodOptional<z.ZodString>;
1442
+ pattern: z.ZodString;
1443
+ }, z.core.$strict>>>;
1444
+ option: z.ZodOptional<z.ZodObject<{
1445
+ field: z.ZodString;
1446
+ value: z.ZodString;
1447
+ }, z.core.$strict>>;
1448
+ }, z.core.$strict>>;
1449
+ fields: z.ZodArray<z.ZodObject<{
1450
+ id: z.ZodString;
1451
+ label: z.ZodString;
1452
+ help: z.ZodOptional<z.ZodString>;
1453
+ placeholder: z.ZodOptional<z.ZodString>;
1454
+ secret: z.ZodBoolean;
1455
+ options: z.ZodOptional<z.ZodArray<z.ZodObject<{
1456
+ value: z.ZodString;
1457
+ label: z.ZodString;
1458
+ description: z.ZodString;
1459
+ scopes: z.ZodOptional<z.ZodArray<z.ZodString>>;
1460
+ }, z.core.$strict>>>;
1461
+ requires: z.ZodOptional<z.ZodObject<{
1462
+ field: z.ZodString;
1463
+ value: z.ZodString;
1464
+ }, z.core.$strict>>;
1465
+ optional: z.ZodDefault<z.ZodBoolean>;
1466
+ }, z.core.$strict>>;
1467
+ addAgent: z.ZodDefault<z.ZodArray<z.ZodObject<{
1468
+ title: z.ZodString;
1469
+ body: z.ZodString;
1470
+ link: z.ZodOptional<z.ZodObject<{
1471
+ label: z.ZodString;
1472
+ href: z.ZodURL;
1473
+ }, z.core.$strict>>;
1474
+ copy: z.ZodOptional<z.ZodArray<z.ZodString>>;
1475
+ shell: z.ZodOptional<z.ZodEnum<{
1476
+ bash: "bash";
1477
+ powershell: "powershell";
1478
+ }>>;
1479
+ permissions: z.ZodOptional<z.ZodBoolean>;
1480
+ certificate: z.ZodOptional<z.ZodBoolean>;
1481
+ click: z.ZodOptional<z.ZodArray<z.ZodString>>;
1482
+ clickUnavailable: z.ZodOptional<z.ZodLiteral<true>>;
1483
+ siteRole: z.ZodOptional<z.ZodEnum<{
1484
+ read: "read";
1485
+ write: "write";
1486
+ }>>;
1487
+ agentCheck: z.ZodOptional<z.ZodBoolean>;
1488
+ confirm: z.ZodOptional<z.ZodString>;
1489
+ live: z.ZodOptional<z.ZodString>;
1490
+ settings: z.ZodOptional<z.ZodArray<z.ZodObject<{
1491
+ id: z.ZodString;
1492
+ label: z.ZodString;
1493
+ help: z.ZodOptional<z.ZodString>;
1494
+ placeholder: z.ZodOptional<z.ZodString>;
1495
+ pattern: z.ZodString;
1496
+ }, z.core.$strict>>>;
1497
+ option: z.ZodOptional<z.ZodObject<{
1498
+ field: z.ZodString;
1499
+ value: z.ZodString;
1500
+ }, z.core.$strict>>;
1501
+ apps: z.ZodArray<z.ZodString>;
1502
+ }, z.core.$strict>>>;
1503
+ revoke: z.ZodString;
1504
+ approval: z.ZodBoolean;
1505
+ }, z.core.$strict>;
1506
+ ProviderConnection: z.ZodObject<{
1507
+ id: z.ZodString;
1508
+ organizationId: z.ZodString;
1509
+ provider: z.ZodString;
1510
+ status: z.ZodEnum<{
1511
+ connected: "connected";
1512
+ needs_reconnect: "needs_reconnect";
1513
+ pending: "pending";
1514
+ }>;
1515
+ config: z.ZodRecord<z.ZodString, z.ZodString>;
1516
+ accountLabel: z.ZodNullable<z.ZodString>;
1517
+ connectedBy: z.ZodNullable<z.ZodString>;
1518
+ connectedAt: z.ZodString;
1519
+ checkedAt: z.ZodString;
1520
+ certificate: z.ZodNullable<z.ZodObject<{
1521
+ thumbprint: z.ZodString;
1522
+ expiresAt: z.ZodString;
1523
+ }, z.core.$strict>>;
1524
+ nextCertificate: z.ZodNullable<z.ZodObject<{
1525
+ thumbprint: z.ZodString;
1526
+ expiresAt: z.ZodString;
1527
+ }, z.core.$strict>>;
1528
+ apps: z.ZodArray<z.ZodString>;
1529
+ }, z.core.$strict>;
1530
+ Connection: z.ZodObject<{
1531
+ id: z.ZodString;
1532
+ organizationId: z.ZodString;
1533
+ connectorId: z.ZodString;
1534
+ providerId: z.ZodNullable<z.ZodString>;
1535
+ capabilities: z.ZodArray<z.ZodString>;
1536
+ config: z.ZodRecord<z.ZodString, z.ZodString>;
1537
+ status: z.ZodEnum<{
1538
+ connected: "connected";
1539
+ needs_reconnect: "needs_reconnect";
1540
+ }>;
1541
+ accountLabel: z.ZodNullable<z.ZodString>;
1542
+ connectedBy: z.ZodNullable<z.ZodString>;
1543
+ connectedAt: z.ZodString;
1544
+ checkedAt: z.ZodString;
1545
+ }, z.core.$strict>;
1546
+ Check: z.ZodObject<{
845
1547
  label: z.ZodString;
846
1548
  values: z.ZodArray<z.ZodString>;
847
1549
  warning: z.ZodOptional<z.ZodString>;
@@ -1377,22 +2079,701 @@ export declare const routes: {
1377
2079
  mailboxGroupAlias: z.ZodDefault<z.ZodString>;
1378
2080
  botRole: z.ZodDefault<z.ZodString>;
1379
2081
  }, z.core.$strict>>;
1380
- teams: z.ZodDefault<z.ZodObject<{
1381
- resourceGroup: z.ZodDefault<z.ZodString>;
1382
- developer: z.ZodOptional<z.ZodObject<{
1383
- name: z.ZodString;
1384
- websiteUrl: z.ZodURL;
1385
- privacyUrl: z.ZodURL;
1386
- termsOfUseUrl: z.ZodURL;
2082
+ teams: z.ZodDefault<z.ZodObject<{
2083
+ resourceGroup: z.ZodDefault<z.ZodString>;
2084
+ developer: z.ZodOptional<z.ZodObject<{
2085
+ name: z.ZodString;
2086
+ websiteUrl: z.ZodURL;
2087
+ privacyUrl: z.ZodURL;
2088
+ termsOfUseUrl: z.ZodURL;
2089
+ }, z.core.$strict>>;
2090
+ }, z.core.$strict>>;
2091
+ }, z.core.$strict>;
2092
+ };
2093
+ };
2094
+ readonly connectors: {
2095
+ readonly method: "GET";
2096
+ readonly path: "/connectors";
2097
+ readonly summary: "The apps agents can use";
2098
+ readonly responses: {
2099
+ readonly 200: z.ZodArray<z.ZodObject<{
2100
+ id: z.ZodString;
2101
+ name: z.ZodString;
2102
+ description: z.ZodString;
2103
+ logo: z.ZodString;
2104
+ identity: z.ZodString;
2105
+ signsInAs: z.ZodOptional<z.ZodEnum<{
2106
+ agentBot: "agentBot";
2107
+ }>>;
2108
+ provider: z.ZodOptional<z.ZodString>;
2109
+ order: z.ZodOptional<z.ZodNumber>;
2110
+ connectionKind: z.ZodEnum<{
2111
+ guided: "guided";
2112
+ }>;
2113
+ accountKey: z.ZodString;
2114
+ scopes: z.ZodOptional<z.ZodArray<z.ZodString>>;
2115
+ setup: z.ZodArray<z.ZodObject<{
2116
+ title: z.ZodString;
2117
+ body: z.ZodString;
2118
+ link: z.ZodOptional<z.ZodObject<{
2119
+ label: z.ZodString;
2120
+ href: z.ZodURL;
2121
+ }, z.core.$strict>>;
2122
+ copy: z.ZodOptional<z.ZodArray<z.ZodString>>;
2123
+ shell: z.ZodOptional<z.ZodEnum<{
2124
+ bash: "bash";
2125
+ powershell: "powershell";
2126
+ }>>;
2127
+ permissions: z.ZodOptional<z.ZodBoolean>;
2128
+ certificate: z.ZodOptional<z.ZodBoolean>;
2129
+ click: z.ZodOptional<z.ZodArray<z.ZodString>>;
2130
+ clickUnavailable: z.ZodOptional<z.ZodLiteral<true>>;
2131
+ siteRole: z.ZodOptional<z.ZodEnum<{
2132
+ read: "read";
2133
+ write: "write";
2134
+ }>>;
2135
+ agentCheck: z.ZodOptional<z.ZodBoolean>;
2136
+ confirm: z.ZodOptional<z.ZodString>;
2137
+ live: z.ZodOptional<z.ZodString>;
2138
+ settings: z.ZodOptional<z.ZodArray<z.ZodObject<{
2139
+ id: z.ZodString;
2140
+ label: z.ZodString;
2141
+ help: z.ZodOptional<z.ZodString>;
2142
+ placeholder: z.ZodOptional<z.ZodString>;
2143
+ pattern: z.ZodString;
2144
+ }, z.core.$strict>>>;
2145
+ option: z.ZodOptional<z.ZodObject<{
2146
+ field: z.ZodString;
2147
+ value: z.ZodString;
2148
+ }, z.core.$strict>>;
2149
+ capabilities: z.ZodOptional<z.ZodArray<z.ZodString>>;
2150
+ }, z.core.$strict>>;
2151
+ afterConnect: z.ZodArray<z.ZodObject<{
2152
+ title: z.ZodString;
2153
+ body: z.ZodString;
2154
+ link: z.ZodOptional<z.ZodObject<{
2155
+ label: z.ZodString;
2156
+ href: z.ZodURL;
2157
+ }, z.core.$strict>>;
2158
+ copy: z.ZodOptional<z.ZodArray<z.ZodString>>;
2159
+ shell: z.ZodOptional<z.ZodEnum<{
2160
+ bash: "bash";
2161
+ powershell: "powershell";
2162
+ }>>;
2163
+ permissions: z.ZodOptional<z.ZodBoolean>;
2164
+ certificate: z.ZodOptional<z.ZodBoolean>;
2165
+ click: z.ZodOptional<z.ZodArray<z.ZodString>>;
2166
+ clickUnavailable: z.ZodOptional<z.ZodLiteral<true>>;
2167
+ siteRole: z.ZodOptional<z.ZodEnum<{
2168
+ read: "read";
2169
+ write: "write";
2170
+ }>>;
2171
+ agentCheck: z.ZodOptional<z.ZodBoolean>;
2172
+ confirm: z.ZodOptional<z.ZodString>;
2173
+ live: z.ZodOptional<z.ZodString>;
2174
+ settings: z.ZodOptional<z.ZodArray<z.ZodObject<{
2175
+ id: z.ZodString;
2176
+ label: z.ZodString;
2177
+ help: z.ZodOptional<z.ZodString>;
2178
+ placeholder: z.ZodOptional<z.ZodString>;
2179
+ pattern: z.ZodString;
2180
+ }, z.core.$strict>>>;
2181
+ option: z.ZodOptional<z.ZodObject<{
2182
+ field: z.ZodString;
2183
+ value: z.ZodString;
2184
+ }, z.core.$strict>>;
2185
+ capabilities: z.ZodOptional<z.ZodArray<z.ZodString>>;
2186
+ }, z.core.$strict>>;
2187
+ fields: z.ZodArray<z.ZodObject<{
2188
+ id: z.ZodString;
2189
+ label: z.ZodString;
2190
+ help: z.ZodOptional<z.ZodString>;
2191
+ placeholder: z.ZodOptional<z.ZodString>;
2192
+ secret: z.ZodBoolean;
2193
+ options: z.ZodOptional<z.ZodArray<z.ZodObject<{
2194
+ value: z.ZodString;
2195
+ label: z.ZodString;
2196
+ description: z.ZodString;
2197
+ scopes: z.ZodOptional<z.ZodArray<z.ZodString>>;
2198
+ }, z.core.$strict>>>;
2199
+ requires: z.ZodOptional<z.ZodObject<{
2200
+ field: z.ZodString;
2201
+ value: z.ZodString;
2202
+ }, z.core.$strict>>;
2203
+ optional: z.ZodDefault<z.ZodBoolean>;
2204
+ }, z.core.$strict>>;
2205
+ capabilities: z.ZodArray<z.ZodObject<{
2206
+ id: z.ZodString;
2207
+ label: z.ZodString;
2208
+ description: z.ZodString;
2209
+ required: z.ZodDefault<z.ZodBoolean>;
2210
+ destructive: z.ZodDefault<z.ZodBoolean>;
2211
+ costs: z.ZodOptional<z.ZodBoolean>;
2212
+ scopes: z.ZodArray<z.ZodString>;
2213
+ roles: z.ZodOptional<z.ZodArray<z.ZodString>>;
2214
+ permissions: z.ZodArray<z.ZodString>;
2215
+ fill: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2216
+ note: z.ZodOptional<z.ZodString>;
2217
+ forbidden: z.ZodOptional<z.ZodString>;
2218
+ claudeKey: z.ZodOptional<z.ZodBoolean>;
2219
+ tools: z.ZodArray<z.ZodString>;
2220
+ }, z.core.$strict>>;
2221
+ limits: z.ZodArray<z.ZodObject<{
2222
+ id: z.ZodString;
2223
+ label: z.ZodString;
2224
+ help: z.ZodString;
2225
+ kind: z.ZodEnum<{
2226
+ text: "text";
2227
+ map: "map";
2228
+ list: "list";
2229
+ }>;
2230
+ required: z.ZodBoolean;
2231
+ pattern: z.ZodOptional<z.ZodString>;
2232
+ keys: z.ZodOptional<z.ZodString>;
2233
+ }, z.core.$strict>>;
2234
+ siteAccess: z.ZodOptional<z.ZodObject<{
2235
+ grant: z.ZodArray<z.ZodObject<{
2236
+ title: z.ZodString;
2237
+ body: z.ZodString;
2238
+ link: z.ZodOptional<z.ZodObject<{
2239
+ label: z.ZodString;
2240
+ href: z.ZodURL;
2241
+ }, z.core.$strict>>;
2242
+ copy: z.ZodOptional<z.ZodArray<z.ZodString>>;
2243
+ shell: z.ZodOptional<z.ZodEnum<{
2244
+ bash: "bash";
2245
+ powershell: "powershell";
2246
+ }>>;
2247
+ permissions: z.ZodOptional<z.ZodBoolean>;
2248
+ certificate: z.ZodOptional<z.ZodBoolean>;
2249
+ click: z.ZodOptional<z.ZodArray<z.ZodString>>;
2250
+ clickUnavailable: z.ZodOptional<z.ZodLiteral<true>>;
2251
+ siteRole: z.ZodOptional<z.ZodEnum<{
2252
+ read: "read";
2253
+ write: "write";
2254
+ }>>;
2255
+ agentCheck: z.ZodOptional<z.ZodBoolean>;
2256
+ confirm: z.ZodOptional<z.ZodString>;
2257
+ live: z.ZodOptional<z.ZodString>;
2258
+ settings: z.ZodOptional<z.ZodArray<z.ZodObject<{
2259
+ id: z.ZodString;
2260
+ label: z.ZodString;
2261
+ help: z.ZodOptional<z.ZodString>;
2262
+ placeholder: z.ZodOptional<z.ZodString>;
2263
+ pattern: z.ZodString;
2264
+ }, z.core.$strict>>>;
2265
+ option: z.ZodOptional<z.ZodObject<{
2266
+ field: z.ZodString;
2267
+ value: z.ZodString;
2268
+ }, z.core.$strict>>;
2269
+ }, z.core.$strict>>;
2270
+ request: z.ZodString;
2271
+ write: z.ZodDefault<z.ZodArray<z.ZodString>>;
2272
+ }, z.core.$strict>>;
2273
+ agentAccess: z.ZodOptional<z.ZodObject<{
2274
+ limit: z.ZodString;
2275
+ label: z.ZodString;
2276
+ path: z.ZodString;
2277
+ granted: z.ZodString;
2278
+ notGranted: z.ZodString;
2279
+ notFound: z.ZodString;
2280
+ probes: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
2281
+ method: z.ZodEnum<{
2282
+ GET: "GET";
2283
+ POST: "POST";
2284
+ PATCH: "PATCH";
2285
+ }>;
2286
+ path: z.ZodString;
2287
+ body: z.ZodOptional<z.ZodUnknown>;
2288
+ allowed: z.ZodArray<z.ZodNumber>;
2289
+ }, z.core.$strict>>>;
2290
+ missing: z.ZodOptional<z.ZodString>;
2291
+ }, z.core.$strict>>;
2292
+ verify: z.ZodUnion<readonly [z.ZodObject<{
2293
+ method: z.ZodEnum<{
2294
+ GET: "GET";
2295
+ POST: "POST";
2296
+ }>;
2297
+ path: z.ZodString;
2298
+ label: z.ZodString;
2299
+ show: z.ZodString;
2300
+ name: z.ZodOptional<z.ZodString>;
2301
+ match: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
2302
+ body: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2303
+ ifEmpty: z.ZodOptional<z.ZodString>;
2304
+ }, z.core.$strict>, z.ZodObject<{
2305
+ label: z.ZodString;
2306
+ check: z.ZodString;
2307
+ ifEmpty: z.ZodOptional<z.ZodString>;
2308
+ }, z.core.$strict>]>;
2309
+ discover: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
2310
+ method: z.ZodEnum<{
2311
+ GET: "GET";
2312
+ POST: "POST";
2313
+ }>;
2314
+ path: z.ZodString;
2315
+ label: z.ZodString;
2316
+ show: z.ZodString;
2317
+ name: z.ZodOptional<z.ZodString>;
2318
+ match: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
2319
+ body: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2320
+ ifEmpty: z.ZodOptional<z.ZodString>;
2321
+ }, z.core.$strict>, z.ZodObject<{
2322
+ label: z.ZodString;
2323
+ check: z.ZodString;
2324
+ ifEmpty: z.ZodOptional<z.ZodString>;
2325
+ }, z.core.$strict>]>>;
2326
+ revoke: z.ZodString;
2327
+ http: z.ZodOptional<z.ZodObject<{
2328
+ baseUrl: z.ZodURL;
2329
+ auth: z.ZodDiscriminatedUnion<[z.ZodObject<{
2330
+ type: z.ZodLiteral<"header">;
2331
+ header: z.ZodString;
2332
+ value: z.ZodString;
2333
+ prefix: z.ZodOptional<z.ZodString>;
2334
+ }, z.core.$strict>, z.ZodObject<{
2335
+ type: z.ZodLiteral<"bearer">;
2336
+ token: z.ZodString;
2337
+ }, z.core.$strict>, z.ZodObject<{
2338
+ type: z.ZodLiteral<"basic">;
2339
+ username: z.ZodString;
2340
+ password: z.ZodString;
2341
+ }, z.core.$strict>, z.ZodObject<{
2342
+ type: z.ZodLiteral<"oauth2">;
2343
+ tokenUrl: z.ZodURL;
2344
+ clientId: z.ZodString;
2345
+ clientSecret: z.ZodString;
2346
+ scope: z.ZodOptional<z.ZodString>;
2347
+ }, z.core.$strict>, z.ZodObject<{
2348
+ type: z.ZodLiteral<"query">;
2349
+ param: z.ZodString;
2350
+ value: z.ZodString;
2351
+ }, z.core.$strict>], "type">;
2352
+ headers: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
2353
+ tools: z.ZodArray<z.ZodObject<{
2354
+ name: z.ZodString;
2355
+ description: z.ZodString;
2356
+ method: z.ZodEnum<{
2357
+ GET: "GET";
2358
+ POST: "POST";
2359
+ PUT: "PUT";
2360
+ PATCH: "PATCH";
2361
+ DELETE: "DELETE";
2362
+ }>;
2363
+ path: z.ZodString;
2364
+ params: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
2365
+ type: z.ZodEnum<{
2366
+ string: "string";
2367
+ number: "number";
2368
+ boolean: "boolean";
2369
+ array: "array";
2370
+ integer: "integer";
2371
+ }>;
2372
+ description: z.ZodString;
2373
+ in: z.ZodEnum<{
2374
+ body: "body";
2375
+ path: "path";
2376
+ query: "query";
2377
+ }>;
2378
+ name: z.ZodOptional<z.ZodString>;
2379
+ required: z.ZodDefault<z.ZodBoolean>;
2380
+ default: z.ZodOptional<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>]>>;
2381
+ enum: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
2382
+ items: z.ZodOptional<z.ZodEnum<{
2383
+ string: "string";
2384
+ number: "number";
2385
+ boolean: "boolean";
2386
+ integer: "integer";
2387
+ }>>;
2388
+ join: z.ZodOptional<z.ZodString>;
2389
+ limit: z.ZodOptional<z.ZodString>;
2390
+ }, z.core.$strict>>>;
2391
+ destructive: z.ZodDefault<z.ZodBoolean>;
2392
+ answerLimits: z.ZodDefault<z.ZodArray<z.ZodObject<{
2393
+ field: z.ZodString;
2394
+ limit: z.ZodString;
2395
+ }, z.core.$strict>>>;
2396
+ result: z.ZodOptional<z.ZodObject<{
2397
+ items: z.ZodOptional<z.ZodString>;
2398
+ fields: z.ZodOptional<z.ZodArray<z.ZodString>>;
2399
+ }, z.core.$strict>>;
2400
+ paging: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
2401
+ param: z.ZodString;
2402
+ body: z.ZodString;
2403
+ }, z.core.$strict>, z.ZodObject<{
2404
+ param: z.ZodString;
2405
+ header: z.ZodString;
2406
+ }, z.core.$strict>, z.ZodObject<{
2407
+ param: z.ZodString;
2408
+ link: z.ZodLiteral<true>;
2409
+ }, z.core.$strict>]>>;
2410
+ }, z.core.$strict>>;
2411
+ allowInsecureHttp: z.ZodDefault<z.ZodBoolean>;
2412
+ }, z.core.$strict>>;
2413
+ soap: z.ZodOptional<z.ZodObject<{
2414
+ endpoint: z.ZodURL;
2415
+ version: z.ZodDefault<z.ZodEnum<{
2416
+ 1.1: "1.1";
2417
+ 1.2: "1.2";
2418
+ }>>;
2419
+ namespaces: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
2420
+ auth: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
2421
+ type: z.ZodLiteral<"header">;
2422
+ header: z.ZodString;
2423
+ value: z.ZodString;
2424
+ prefix: z.ZodOptional<z.ZodString>;
2425
+ }, z.core.$strict>, z.ZodObject<{
2426
+ type: z.ZodLiteral<"bearer">;
2427
+ token: z.ZodString;
2428
+ }, z.core.$strict>, z.ZodObject<{
2429
+ type: z.ZodLiteral<"basic">;
2430
+ username: z.ZodString;
2431
+ password: z.ZodString;
2432
+ }, z.core.$strict>], "type">>;
2433
+ wsSecurity: z.ZodOptional<z.ZodObject<{
2434
+ username: z.ZodString;
2435
+ password: z.ZodString;
2436
+ digest: z.ZodDefault<z.ZodBoolean>;
2437
+ }, z.core.$strict>>;
2438
+ verify: z.ZodOptional<z.ZodObject<{
2439
+ tool: z.ZodString;
2440
+ args: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
2441
+ show: z.ZodString;
2442
+ }, z.core.$strict>>;
2443
+ tools: z.ZodArray<z.ZodObject<{
2444
+ name: z.ZodString;
2445
+ description: z.ZodString;
2446
+ operation: z.ZodString;
2447
+ soapAction: z.ZodOptional<z.ZodString>;
2448
+ body: z.ZodString;
2449
+ params: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
2450
+ type: z.ZodEnum<{
2451
+ string: "string";
2452
+ number: "number";
2453
+ boolean: "boolean";
2454
+ integer: "integer";
2455
+ }>;
2456
+ description: z.ZodString;
2457
+ required: z.ZodDefault<z.ZodBoolean>;
2458
+ limit: z.ZodOptional<z.ZodString>;
2459
+ }, z.core.$strict>>>;
2460
+ result: z.ZodOptional<z.ZodString>;
2461
+ fields: z.ZodOptional<z.ZodArray<z.ZodString>>;
2462
+ readOnly: z.ZodDefault<z.ZodBoolean>;
2463
+ destructive: z.ZodDefault<z.ZodBoolean>;
2464
+ answerLimits: z.ZodDefault<z.ZodArray<z.ZodObject<{
2465
+ field: z.ZodString;
2466
+ limit: z.ZodString;
2467
+ }, z.core.$strict>>>;
2468
+ }, z.core.$strict>>;
2469
+ allowInsecureHttp: z.ZodDefault<z.ZodBoolean>;
2470
+ }, z.core.$strict>>;
2471
+ odata: z.ZodOptional<z.ZodObject<{
2472
+ serviceRoot: z.ZodURL;
2473
+ version: z.ZodEnum<{
2474
+ 2: "2";
2475
+ 4: "4";
2476
+ }>;
2477
+ auth: z.ZodDiscriminatedUnion<[z.ZodObject<{
2478
+ type: z.ZodLiteral<"header">;
2479
+ header: z.ZodString;
2480
+ value: z.ZodString;
2481
+ prefix: z.ZodOptional<z.ZodString>;
2482
+ }, z.core.$strict>, z.ZodObject<{
2483
+ type: z.ZodLiteral<"bearer">;
2484
+ token: z.ZodString;
2485
+ }, z.core.$strict>, z.ZodObject<{
2486
+ type: z.ZodLiteral<"basic">;
2487
+ username: z.ZodString;
2488
+ password: z.ZodString;
2489
+ }, z.core.$strict>, z.ZodObject<{
2490
+ type: z.ZodLiteral<"oauth2">;
2491
+ tokenUrl: z.ZodURL;
2492
+ clientId: z.ZodString;
2493
+ clientSecret: z.ZodString;
2494
+ scope: z.ZodOptional<z.ZodString>;
2495
+ }, z.core.$strict>, z.ZodObject<{
2496
+ type: z.ZodLiteral<"query">;
2497
+ param: z.ZodString;
2498
+ value: z.ZodString;
2499
+ }, z.core.$strict>], "type">;
2500
+ headers: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
2501
+ csrf: z.ZodDefault<z.ZodBoolean>;
2502
+ paging: z.ZodDefault<z.ZodEnum<{
2503
+ skip: "skip";
2504
+ server: "server";
2505
+ }>>;
2506
+ tools: z.ZodArray<z.ZodObject<{
2507
+ name: z.ZodString;
2508
+ description: z.ZodString;
2509
+ kind: z.ZodEnum<{
2510
+ function: "function";
2511
+ list: "list";
2512
+ get: "get";
2513
+ create: "create";
2514
+ update: "update";
2515
+ action: "action";
2516
+ }>;
2517
+ entitySet: z.ZodOptional<z.ZodString>;
2518
+ function: z.ZodOptional<z.ZodString>;
2519
+ key: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
2520
+ type: z.ZodEnum<{
2521
+ string: "string";
2522
+ number: "number";
2523
+ boolean: "boolean";
2524
+ guid: "guid";
2525
+ integer: "integer";
2526
+ decimal: "decimal";
2527
+ datetime: "datetime";
2528
+ datetimeoffset: "datetimeoffset";
2529
+ }>;
2530
+ description: z.ZodString;
2531
+ property: z.ZodOptional<z.ZodString>;
2532
+ required: z.ZodOptional<z.ZodBoolean>;
2533
+ limit: z.ZodOptional<z.ZodString>;
2534
+ }, z.core.$strict>>>;
2535
+ filters: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
2536
+ type: z.ZodEnum<{
2537
+ string: "string";
2538
+ number: "number";
2539
+ boolean: "boolean";
2540
+ guid: "guid";
2541
+ integer: "integer";
2542
+ decimal: "decimal";
2543
+ datetime: "datetime";
2544
+ datetimeoffset: "datetimeoffset";
2545
+ }>;
2546
+ description: z.ZodString;
2547
+ property: z.ZodOptional<z.ZodString>;
2548
+ required: z.ZodOptional<z.ZodBoolean>;
2549
+ limit: z.ZodOptional<z.ZodString>;
2550
+ op: z.ZodDefault<z.ZodEnum<{
2551
+ eq: "eq";
2552
+ ne: "ne";
2553
+ gt: "gt";
2554
+ ge: "ge";
2555
+ lt: "lt";
2556
+ le: "le";
2557
+ contains: "contains";
2558
+ startswith: "startswith";
2559
+ }>>;
2560
+ }, z.core.$strict>>>;
2561
+ fields: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
2562
+ type: z.ZodEnum<{
2563
+ string: "string";
2564
+ number: "number";
2565
+ boolean: "boolean";
2566
+ guid: "guid";
2567
+ integer: "integer";
2568
+ decimal: "decimal";
2569
+ datetime: "datetime";
2570
+ datetimeoffset: "datetimeoffset";
2571
+ }>;
2572
+ description: z.ZodString;
2573
+ property: z.ZodOptional<z.ZodString>;
2574
+ required: z.ZodOptional<z.ZodBoolean>;
2575
+ limit: z.ZodOptional<z.ZodString>;
2576
+ }, z.core.$strict>>>;
2577
+ params: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
2578
+ type: z.ZodEnum<{
2579
+ string: "string";
2580
+ number: "number";
2581
+ boolean: "boolean";
2582
+ guid: "guid";
2583
+ integer: "integer";
2584
+ decimal: "decimal";
2585
+ datetime: "datetime";
2586
+ datetimeoffset: "datetimeoffset";
2587
+ }>;
2588
+ description: z.ZodString;
2589
+ property: z.ZodOptional<z.ZodString>;
2590
+ required: z.ZodOptional<z.ZodBoolean>;
2591
+ limit: z.ZodOptional<z.ZodString>;
2592
+ }, z.core.$strict>>>;
2593
+ select: z.ZodDefault<z.ZodArray<z.ZodString>>;
2594
+ orderBy: z.ZodOptional<z.ZodString>;
2595
+ top: z.ZodDefault<z.ZodNumber>;
2596
+ destructive: z.ZodDefault<z.ZodBoolean>;
2597
+ answerLimits: z.ZodDefault<z.ZodArray<z.ZodObject<{
2598
+ field: z.ZodString;
2599
+ limit: z.ZodString;
2600
+ }, z.core.$strict>>>;
2601
+ }, z.core.$strict>>;
2602
+ allowInsecureHttp: z.ZodDefault<z.ZodBoolean>;
2603
+ }, z.core.$strict>>;
2604
+ sql: z.ZodOptional<z.ZodObject<{
2605
+ engine: z.ZodEnum<{
2606
+ postgres: "postgres";
2607
+ sqlserver: "sqlserver";
2608
+ mysql: "mysql";
2609
+ oracle: "oracle";
2610
+ }>;
2611
+ host: z.ZodString;
2612
+ port: z.ZodOptional<z.ZodNumber>;
2613
+ database: z.ZodString;
2614
+ auth: z.ZodObject<{
2615
+ user: z.ZodString;
2616
+ password: z.ZodString;
2617
+ }, z.core.$strict>;
2618
+ tls: z.ZodDefault<z.ZodEnum<{
2619
+ verify: "verify";
2620
+ insecure: "insecure";
2621
+ off: "off";
2622
+ }>>;
2623
+ timeoutSeconds: z.ZodDefault<z.ZodNumber>;
2624
+ maxRows: z.ZodDefault<z.ZodNumber>;
2625
+ tools: z.ZodArray<z.ZodObject<{
2626
+ name: z.ZodString;
2627
+ description: z.ZodString;
2628
+ sql: z.ZodString;
2629
+ params: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
2630
+ type: z.ZodEnum<{
2631
+ string: "string";
2632
+ number: "number";
2633
+ boolean: "boolean";
2634
+ integer: "integer";
2635
+ }>;
2636
+ description: z.ZodString;
2637
+ required: z.ZodDefault<z.ZodBoolean>;
2638
+ limit: z.ZodOptional<z.ZodString>;
2639
+ }, z.core.$strict>>>;
2640
+ write: z.ZodDefault<z.ZodBoolean>;
2641
+ destructive: z.ZodDefault<z.ZodBoolean>;
2642
+ answerLimits: z.ZodDefault<z.ZodArray<z.ZodObject<{
2643
+ column: z.ZodString;
2644
+ limit: z.ZodString;
2645
+ }, z.core.$strict>>>;
2646
+ }, z.core.$strict>>;
2647
+ }, z.core.$strict>>;
2648
+ events: z.ZodOptional<z.ZodObject<{
2649
+ types: z.ZodArray<z.ZodObject<{
2650
+ id: z.ZodString;
2651
+ label: z.ZodString;
2652
+ }, z.core.$strict>>;
2653
+ fields: z.ZodRecord<z.ZodString, z.ZodString>;
2654
+ limits: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
2655
+ webhook: z.ZodOptional<z.ZodObject<{
2656
+ verify: z.ZodDiscriminatedUnion<[z.ZodObject<{
2657
+ type: z.ZodLiteral<"hmac-sha256">;
2658
+ header: z.ZodString;
2659
+ prefix: z.ZodDefault<z.ZodString>;
2660
+ }, z.core.$strict>, z.ZodObject<{
2661
+ type: z.ZodLiteral<"token">;
2662
+ header: z.ZodString;
2663
+ }, z.core.$strict>, z.ZodObject<{
2664
+ type: z.ZodLiteral<"none">;
2665
+ }, z.core.$strict>], "type">;
2666
+ allowInsecure: z.ZodDefault<z.ZodBoolean>;
2667
+ type: z.ZodUnion<readonly [z.ZodObject<{
2668
+ field: z.ZodString;
2669
+ }, z.core.$strict>, z.ZodObject<{
2670
+ header: z.ZodString;
2671
+ }, z.core.$strict>]>;
2672
+ deliveryId: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
2673
+ field: z.ZodString;
2674
+ }, z.core.$strict>, z.ZodObject<{
2675
+ header: z.ZodString;
2676
+ }, z.core.$strict>]>>;
2677
+ timestamp: z.ZodOptional<z.ZodObject<{
2678
+ at: z.ZodUnion<readonly [z.ZodObject<{
2679
+ field: z.ZodString;
2680
+ }, z.core.$strict>, z.ZodObject<{
2681
+ header: z.ZodString;
2682
+ }, z.core.$strict>]>;
2683
+ unit: z.ZodEnum<{
2684
+ s: "s";
2685
+ ms: "ms";
2686
+ iso: "iso";
2687
+ }>;
2688
+ toleranceSeconds: z.ZodDefault<z.ZodNumber>;
2689
+ }, z.core.$strict>>;
2690
+ setup: z.ZodArray<z.ZodObject<{
2691
+ title: z.ZodString;
2692
+ body: z.ZodString;
2693
+ link: z.ZodOptional<z.ZodObject<{
2694
+ label: z.ZodString;
2695
+ href: z.ZodURL;
2696
+ }, z.core.$strict>>;
2697
+ copy: z.ZodOptional<z.ZodArray<z.ZodString>>;
2698
+ shell: z.ZodOptional<z.ZodEnum<{
2699
+ bash: "bash";
2700
+ powershell: "powershell";
2701
+ }>>;
2702
+ permissions: z.ZodOptional<z.ZodBoolean>;
2703
+ certificate: z.ZodOptional<z.ZodBoolean>;
2704
+ click: z.ZodOptional<z.ZodArray<z.ZodString>>;
2705
+ clickUnavailable: z.ZodOptional<z.ZodLiteral<true>>;
2706
+ siteRole: z.ZodOptional<z.ZodEnum<{
2707
+ read: "read";
2708
+ write: "write";
2709
+ }>>;
2710
+ agentCheck: z.ZodOptional<z.ZodBoolean>;
2711
+ confirm: z.ZodOptional<z.ZodString>;
2712
+ live: z.ZodOptional<z.ZodString>;
2713
+ settings: z.ZodOptional<z.ZodArray<z.ZodObject<{
2714
+ id: z.ZodString;
2715
+ label: z.ZodString;
2716
+ help: z.ZodOptional<z.ZodString>;
2717
+ placeholder: z.ZodOptional<z.ZodString>;
2718
+ pattern: z.ZodString;
2719
+ }, z.core.$strict>>>;
2720
+ option: z.ZodOptional<z.ZodObject<{
2721
+ field: z.ZodString;
2722
+ value: z.ZodString;
2723
+ }, z.core.$strict>>;
2724
+ }, z.core.$strict>>;
2725
+ register: z.ZodOptional<z.ZodObject<{
2726
+ method: z.ZodEnum<{
2727
+ GET: "GET";
2728
+ POST: "POST";
2729
+ PUT: "PUT";
2730
+ }>;
2731
+ path: z.ZodString;
2732
+ body: z.ZodOptional<z.ZodUnknown>;
2733
+ location: z.ZodString;
2734
+ }, z.core.$strict>>;
2735
+ }, z.core.$strict>>;
2736
+ self: z.ZodOptional<z.ZodObject<{
2737
+ request: z.ZodObject<{
2738
+ method: z.ZodEnum<{
2739
+ GET: "GET";
2740
+ POST: "POST";
2741
+ PUT: "PUT";
2742
+ }>;
2743
+ path: z.ZodString;
2744
+ body: z.ZodOptional<z.ZodUnknown>;
2745
+ }, z.core.$strict>;
2746
+ id: z.ZodString;
2747
+ fields: z.ZodArray<z.ZodString>;
2748
+ }, z.core.$strict>>;
2749
+ poll: z.ZodOptional<z.ZodObject<{
2750
+ request: z.ZodObject<{
2751
+ method: z.ZodEnum<{
2752
+ GET: "GET";
2753
+ POST: "POST";
2754
+ PUT: "PUT";
2755
+ }>;
2756
+ path: z.ZodString;
2757
+ body: z.ZodOptional<z.ZodUnknown>;
2758
+ }, z.core.$strict>;
2759
+ filter: z.ZodOptional<z.ZodString>;
2760
+ items: z.ZodString;
2761
+ wrap: z.ZodOptional<z.ZodString>;
2762
+ cursor: z.ZodString;
2763
+ deliveryId: z.ZodArray<z.ZodString>;
2764
+ types: z.ZodArray<z.ZodObject<{
2765
+ type: z.ZodString;
2766
+ since: z.ZodOptional<z.ZodString>;
2767
+ }, z.core.$strict>>;
1387
2768
  }, z.core.$strict>>;
1388
2769
  }, z.core.$strict>>;
1389
- }, z.core.$strict>;
2770
+ }, z.core.$strict>>;
1390
2771
  };
1391
2772
  };
1392
- readonly connectors: {
2773
+ readonly orgConnectors: {
1393
2774
  readonly method: "GET";
1394
- readonly path: "/connectors";
1395
- readonly summary: "The apps agents can use";
2775
+ readonly path: "/orgs/{org}/connectors";
2776
+ readonly summary: "The apps the organization can use: the deployment's and its own internal apps";
1396
2777
  readonly responses: {
1397
2778
  readonly 200: z.ZodArray<z.ZodObject<{
1398
2779
  id: z.ZodString;
@@ -1560,432 +2941,708 @@ export declare const routes: {
1560
2941
  placeholder: z.ZodOptional<z.ZodString>;
1561
2942
  pattern: z.ZodString;
1562
2943
  }, z.core.$strict>>>;
1563
- option: z.ZodOptional<z.ZodObject<{
2944
+ option: z.ZodOptional<z.ZodObject<{
2945
+ field: z.ZodString;
2946
+ value: z.ZodString;
2947
+ }, z.core.$strict>>;
2948
+ }, z.core.$strict>>;
2949
+ request: z.ZodString;
2950
+ write: z.ZodDefault<z.ZodArray<z.ZodString>>;
2951
+ }, z.core.$strict>>;
2952
+ agentAccess: z.ZodOptional<z.ZodObject<{
2953
+ limit: z.ZodString;
2954
+ label: z.ZodString;
2955
+ path: z.ZodString;
2956
+ granted: z.ZodString;
2957
+ notGranted: z.ZodString;
2958
+ notFound: z.ZodString;
2959
+ probes: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
2960
+ method: z.ZodEnum<{
2961
+ GET: "GET";
2962
+ POST: "POST";
2963
+ PATCH: "PATCH";
2964
+ }>;
2965
+ path: z.ZodString;
2966
+ body: z.ZodOptional<z.ZodUnknown>;
2967
+ allowed: z.ZodArray<z.ZodNumber>;
2968
+ }, z.core.$strict>>>;
2969
+ missing: z.ZodOptional<z.ZodString>;
2970
+ }, z.core.$strict>>;
2971
+ verify: z.ZodUnion<readonly [z.ZodObject<{
2972
+ method: z.ZodEnum<{
2973
+ GET: "GET";
2974
+ POST: "POST";
2975
+ }>;
2976
+ path: z.ZodString;
2977
+ label: z.ZodString;
2978
+ show: z.ZodString;
2979
+ name: z.ZodOptional<z.ZodString>;
2980
+ match: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
2981
+ body: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2982
+ ifEmpty: z.ZodOptional<z.ZodString>;
2983
+ }, z.core.$strict>, z.ZodObject<{
2984
+ label: z.ZodString;
2985
+ check: z.ZodString;
2986
+ ifEmpty: z.ZodOptional<z.ZodString>;
2987
+ }, z.core.$strict>]>;
2988
+ discover: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
2989
+ method: z.ZodEnum<{
2990
+ GET: "GET";
2991
+ POST: "POST";
2992
+ }>;
2993
+ path: z.ZodString;
2994
+ label: z.ZodString;
2995
+ show: z.ZodString;
2996
+ name: z.ZodOptional<z.ZodString>;
2997
+ match: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
2998
+ body: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2999
+ ifEmpty: z.ZodOptional<z.ZodString>;
3000
+ }, z.core.$strict>, z.ZodObject<{
3001
+ label: z.ZodString;
3002
+ check: z.ZodString;
3003
+ ifEmpty: z.ZodOptional<z.ZodString>;
3004
+ }, z.core.$strict>]>>;
3005
+ revoke: z.ZodString;
3006
+ http: z.ZodOptional<z.ZodObject<{
3007
+ baseUrl: z.ZodURL;
3008
+ auth: z.ZodDiscriminatedUnion<[z.ZodObject<{
3009
+ type: z.ZodLiteral<"header">;
3010
+ header: z.ZodString;
3011
+ value: z.ZodString;
3012
+ prefix: z.ZodOptional<z.ZodString>;
3013
+ }, z.core.$strict>, z.ZodObject<{
3014
+ type: z.ZodLiteral<"bearer">;
3015
+ token: z.ZodString;
3016
+ }, z.core.$strict>, z.ZodObject<{
3017
+ type: z.ZodLiteral<"basic">;
3018
+ username: z.ZodString;
3019
+ password: z.ZodString;
3020
+ }, z.core.$strict>, z.ZodObject<{
3021
+ type: z.ZodLiteral<"oauth2">;
3022
+ tokenUrl: z.ZodURL;
3023
+ clientId: z.ZodString;
3024
+ clientSecret: z.ZodString;
3025
+ scope: z.ZodOptional<z.ZodString>;
3026
+ }, z.core.$strict>, z.ZodObject<{
3027
+ type: z.ZodLiteral<"query">;
3028
+ param: z.ZodString;
3029
+ value: z.ZodString;
3030
+ }, z.core.$strict>], "type">;
3031
+ headers: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
3032
+ tools: z.ZodArray<z.ZodObject<{
3033
+ name: z.ZodString;
3034
+ description: z.ZodString;
3035
+ method: z.ZodEnum<{
3036
+ GET: "GET";
3037
+ POST: "POST";
3038
+ PUT: "PUT";
3039
+ PATCH: "PATCH";
3040
+ DELETE: "DELETE";
3041
+ }>;
3042
+ path: z.ZodString;
3043
+ params: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
3044
+ type: z.ZodEnum<{
3045
+ string: "string";
3046
+ number: "number";
3047
+ boolean: "boolean";
3048
+ array: "array";
3049
+ integer: "integer";
3050
+ }>;
3051
+ description: z.ZodString;
3052
+ in: z.ZodEnum<{
3053
+ body: "body";
3054
+ path: "path";
3055
+ query: "query";
3056
+ }>;
3057
+ name: z.ZodOptional<z.ZodString>;
3058
+ required: z.ZodDefault<z.ZodBoolean>;
3059
+ default: z.ZodOptional<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>]>>;
3060
+ enum: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
3061
+ items: z.ZodOptional<z.ZodEnum<{
3062
+ string: "string";
3063
+ number: "number";
3064
+ boolean: "boolean";
3065
+ integer: "integer";
3066
+ }>>;
3067
+ join: z.ZodOptional<z.ZodString>;
3068
+ limit: z.ZodOptional<z.ZodString>;
3069
+ }, z.core.$strict>>>;
3070
+ destructive: z.ZodDefault<z.ZodBoolean>;
3071
+ answerLimits: z.ZodDefault<z.ZodArray<z.ZodObject<{
1564
3072
  field: z.ZodString;
1565
- value: z.ZodString;
3073
+ limit: z.ZodString;
3074
+ }, z.core.$strict>>>;
3075
+ result: z.ZodOptional<z.ZodObject<{
3076
+ items: z.ZodOptional<z.ZodString>;
3077
+ fields: z.ZodOptional<z.ZodArray<z.ZodString>>;
1566
3078
  }, z.core.$strict>>;
3079
+ paging: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
3080
+ param: z.ZodString;
3081
+ body: z.ZodString;
3082
+ }, z.core.$strict>, z.ZodObject<{
3083
+ param: z.ZodString;
3084
+ header: z.ZodString;
3085
+ }, z.core.$strict>, z.ZodObject<{
3086
+ param: z.ZodString;
3087
+ link: z.ZodLiteral<true>;
3088
+ }, z.core.$strict>]>>;
1567
3089
  }, z.core.$strict>>;
1568
- request: z.ZodString;
1569
- write: z.ZodDefault<z.ZodArray<z.ZodString>>;
3090
+ allowInsecureHttp: z.ZodDefault<z.ZodBoolean>;
1570
3091
  }, z.core.$strict>>;
1571
- agentAccess: z.ZodOptional<z.ZodObject<{
1572
- limit: z.ZodString;
1573
- label: z.ZodString;
1574
- path: z.ZodString;
1575
- granted: z.ZodString;
1576
- notGranted: z.ZodString;
1577
- notFound: z.ZodString;
1578
- probes: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
1579
- method: z.ZodEnum<{
1580
- GET: "GET";
1581
- POST: "POST";
1582
- PATCH: "PATCH";
1583
- }>;
1584
- path: z.ZodString;
1585
- body: z.ZodOptional<z.ZodUnknown>;
1586
- allowed: z.ZodArray<z.ZodNumber>;
1587
- }, z.core.$strict>>>;
1588
- missing: z.ZodOptional<z.ZodString>;
3092
+ soap: z.ZodOptional<z.ZodObject<{
3093
+ endpoint: z.ZodURL;
3094
+ version: z.ZodDefault<z.ZodEnum<{
3095
+ 1.1: "1.1";
3096
+ 1.2: "1.2";
3097
+ }>>;
3098
+ namespaces: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
3099
+ auth: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
3100
+ type: z.ZodLiteral<"header">;
3101
+ header: z.ZodString;
3102
+ value: z.ZodString;
3103
+ prefix: z.ZodOptional<z.ZodString>;
3104
+ }, z.core.$strict>, z.ZodObject<{
3105
+ type: z.ZodLiteral<"bearer">;
3106
+ token: z.ZodString;
3107
+ }, z.core.$strict>, z.ZodObject<{
3108
+ type: z.ZodLiteral<"basic">;
3109
+ username: z.ZodString;
3110
+ password: z.ZodString;
3111
+ }, z.core.$strict>], "type">>;
3112
+ wsSecurity: z.ZodOptional<z.ZodObject<{
3113
+ username: z.ZodString;
3114
+ password: z.ZodString;
3115
+ digest: z.ZodDefault<z.ZodBoolean>;
3116
+ }, z.core.$strict>>;
3117
+ verify: z.ZodOptional<z.ZodObject<{
3118
+ tool: z.ZodString;
3119
+ args: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
3120
+ show: z.ZodString;
3121
+ }, z.core.$strict>>;
3122
+ tools: z.ZodArray<z.ZodObject<{
3123
+ name: z.ZodString;
3124
+ description: z.ZodString;
3125
+ operation: z.ZodString;
3126
+ soapAction: z.ZodOptional<z.ZodString>;
3127
+ body: z.ZodString;
3128
+ params: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
3129
+ type: z.ZodEnum<{
3130
+ string: "string";
3131
+ number: "number";
3132
+ boolean: "boolean";
3133
+ integer: "integer";
3134
+ }>;
3135
+ description: z.ZodString;
3136
+ required: z.ZodDefault<z.ZodBoolean>;
3137
+ limit: z.ZodOptional<z.ZodString>;
3138
+ }, z.core.$strict>>>;
3139
+ result: z.ZodOptional<z.ZodString>;
3140
+ fields: z.ZodOptional<z.ZodArray<z.ZodString>>;
3141
+ readOnly: z.ZodDefault<z.ZodBoolean>;
3142
+ destructive: z.ZodDefault<z.ZodBoolean>;
3143
+ answerLimits: z.ZodDefault<z.ZodArray<z.ZodObject<{
3144
+ field: z.ZodString;
3145
+ limit: z.ZodString;
3146
+ }, z.core.$strict>>>;
3147
+ }, z.core.$strict>>;
3148
+ allowInsecureHttp: z.ZodDefault<z.ZodBoolean>;
1589
3149
  }, z.core.$strict>>;
1590
- verify: z.ZodUnion<readonly [z.ZodObject<{
1591
- method: z.ZodEnum<{
1592
- GET: "GET";
1593
- POST: "POST";
3150
+ odata: z.ZodOptional<z.ZodObject<{
3151
+ serviceRoot: z.ZodURL;
3152
+ version: z.ZodEnum<{
3153
+ 2: "2";
3154
+ 4: "4";
1594
3155
  }>;
1595
- path: z.ZodString;
1596
- label: z.ZodString;
1597
- show: z.ZodString;
1598
- name: z.ZodOptional<z.ZodString>;
1599
- match: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
1600
- body: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1601
- ifEmpty: z.ZodOptional<z.ZodString>;
1602
- }, z.core.$strict>, z.ZodObject<{
1603
- label: z.ZodString;
1604
- check: z.ZodString;
1605
- ifEmpty: z.ZodOptional<z.ZodString>;
1606
- }, z.core.$strict>]>;
1607
- discover: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
1608
- method: z.ZodEnum<{
1609
- GET: "GET";
1610
- POST: "POST";
3156
+ auth: z.ZodDiscriminatedUnion<[z.ZodObject<{
3157
+ type: z.ZodLiteral<"header">;
3158
+ header: z.ZodString;
3159
+ value: z.ZodString;
3160
+ prefix: z.ZodOptional<z.ZodString>;
3161
+ }, z.core.$strict>, z.ZodObject<{
3162
+ type: z.ZodLiteral<"bearer">;
3163
+ token: z.ZodString;
3164
+ }, z.core.$strict>, z.ZodObject<{
3165
+ type: z.ZodLiteral<"basic">;
3166
+ username: z.ZodString;
3167
+ password: z.ZodString;
3168
+ }, z.core.$strict>, z.ZodObject<{
3169
+ type: z.ZodLiteral<"oauth2">;
3170
+ tokenUrl: z.ZodURL;
3171
+ clientId: z.ZodString;
3172
+ clientSecret: z.ZodString;
3173
+ scope: z.ZodOptional<z.ZodString>;
3174
+ }, z.core.$strict>, z.ZodObject<{
3175
+ type: z.ZodLiteral<"query">;
3176
+ param: z.ZodString;
3177
+ value: z.ZodString;
3178
+ }, z.core.$strict>], "type">;
3179
+ headers: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
3180
+ csrf: z.ZodDefault<z.ZodBoolean>;
3181
+ paging: z.ZodDefault<z.ZodEnum<{
3182
+ skip: "skip";
3183
+ server: "server";
3184
+ }>>;
3185
+ tools: z.ZodArray<z.ZodObject<{
3186
+ name: z.ZodString;
3187
+ description: z.ZodString;
3188
+ kind: z.ZodEnum<{
3189
+ function: "function";
3190
+ list: "list";
3191
+ get: "get";
3192
+ create: "create";
3193
+ update: "update";
3194
+ action: "action";
3195
+ }>;
3196
+ entitySet: z.ZodOptional<z.ZodString>;
3197
+ function: z.ZodOptional<z.ZodString>;
3198
+ key: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
3199
+ type: z.ZodEnum<{
3200
+ string: "string";
3201
+ number: "number";
3202
+ boolean: "boolean";
3203
+ guid: "guid";
3204
+ integer: "integer";
3205
+ decimal: "decimal";
3206
+ datetime: "datetime";
3207
+ datetimeoffset: "datetimeoffset";
3208
+ }>;
3209
+ description: z.ZodString;
3210
+ property: z.ZodOptional<z.ZodString>;
3211
+ required: z.ZodOptional<z.ZodBoolean>;
3212
+ limit: z.ZodOptional<z.ZodString>;
3213
+ }, z.core.$strict>>>;
3214
+ filters: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
3215
+ type: z.ZodEnum<{
3216
+ string: "string";
3217
+ number: "number";
3218
+ boolean: "boolean";
3219
+ guid: "guid";
3220
+ integer: "integer";
3221
+ decimal: "decimal";
3222
+ datetime: "datetime";
3223
+ datetimeoffset: "datetimeoffset";
3224
+ }>;
3225
+ description: z.ZodString;
3226
+ property: z.ZodOptional<z.ZodString>;
3227
+ required: z.ZodOptional<z.ZodBoolean>;
3228
+ limit: z.ZodOptional<z.ZodString>;
3229
+ op: z.ZodDefault<z.ZodEnum<{
3230
+ eq: "eq";
3231
+ ne: "ne";
3232
+ gt: "gt";
3233
+ ge: "ge";
3234
+ lt: "lt";
3235
+ le: "le";
3236
+ contains: "contains";
3237
+ startswith: "startswith";
3238
+ }>>;
3239
+ }, z.core.$strict>>>;
3240
+ fields: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
3241
+ type: z.ZodEnum<{
3242
+ string: "string";
3243
+ number: "number";
3244
+ boolean: "boolean";
3245
+ guid: "guid";
3246
+ integer: "integer";
3247
+ decimal: "decimal";
3248
+ datetime: "datetime";
3249
+ datetimeoffset: "datetimeoffset";
3250
+ }>;
3251
+ description: z.ZodString;
3252
+ property: z.ZodOptional<z.ZodString>;
3253
+ required: z.ZodOptional<z.ZodBoolean>;
3254
+ limit: z.ZodOptional<z.ZodString>;
3255
+ }, z.core.$strict>>>;
3256
+ params: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
3257
+ type: z.ZodEnum<{
3258
+ string: "string";
3259
+ number: "number";
3260
+ boolean: "boolean";
3261
+ guid: "guid";
3262
+ integer: "integer";
3263
+ decimal: "decimal";
3264
+ datetime: "datetime";
3265
+ datetimeoffset: "datetimeoffset";
3266
+ }>;
3267
+ description: z.ZodString;
3268
+ property: z.ZodOptional<z.ZodString>;
3269
+ required: z.ZodOptional<z.ZodBoolean>;
3270
+ limit: z.ZodOptional<z.ZodString>;
3271
+ }, z.core.$strict>>>;
3272
+ select: z.ZodDefault<z.ZodArray<z.ZodString>>;
3273
+ orderBy: z.ZodOptional<z.ZodString>;
3274
+ top: z.ZodDefault<z.ZodNumber>;
3275
+ destructive: z.ZodDefault<z.ZodBoolean>;
3276
+ answerLimits: z.ZodDefault<z.ZodArray<z.ZodObject<{
3277
+ field: z.ZodString;
3278
+ limit: z.ZodString;
3279
+ }, z.core.$strict>>>;
3280
+ }, z.core.$strict>>;
3281
+ allowInsecureHttp: z.ZodDefault<z.ZodBoolean>;
3282
+ }, z.core.$strict>>;
3283
+ sql: z.ZodOptional<z.ZodObject<{
3284
+ engine: z.ZodEnum<{
3285
+ postgres: "postgres";
3286
+ sqlserver: "sqlserver";
3287
+ mysql: "mysql";
3288
+ oracle: "oracle";
1611
3289
  }>;
1612
- path: z.ZodString;
1613
- label: z.ZodString;
1614
- show: z.ZodString;
1615
- name: z.ZodOptional<z.ZodString>;
1616
- match: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
1617
- body: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1618
- ifEmpty: z.ZodOptional<z.ZodString>;
1619
- }, z.core.$strict>, z.ZodObject<{
1620
- label: z.ZodString;
1621
- check: z.ZodString;
1622
- ifEmpty: z.ZodOptional<z.ZodString>;
1623
- }, z.core.$strict>]>>;
1624
- revoke: z.ZodString;
1625
- http: z.ZodOptional<z.ZodObject<{
1626
- baseUrl: z.ZodURL;
1627
- auth: z.ZodDiscriminatedUnion<[z.ZodObject<{
1628
- type: z.ZodLiteral<"header">;
1629
- header: z.ZodString;
1630
- value: z.ZodString;
1631
- prefix: z.ZodOptional<z.ZodString>;
1632
- }, z.core.$strict>, z.ZodObject<{
1633
- type: z.ZodLiteral<"bearer">;
1634
- token: z.ZodString;
1635
- }, z.core.$strict>, z.ZodObject<{
1636
- type: z.ZodLiteral<"basic">;
1637
- username: z.ZodString;
3290
+ host: z.ZodString;
3291
+ port: z.ZodOptional<z.ZodNumber>;
3292
+ database: z.ZodString;
3293
+ auth: z.ZodObject<{
3294
+ user: z.ZodString;
1638
3295
  password: z.ZodString;
1639
- }, z.core.$strict>, z.ZodObject<{
1640
- type: z.ZodLiteral<"oauth2">;
1641
- tokenUrl: z.ZodURL;
1642
- clientId: z.ZodString;
1643
- clientSecret: z.ZodString;
1644
- scope: z.ZodOptional<z.ZodString>;
1645
- }, z.core.$strict>, z.ZodObject<{
1646
- type: z.ZodLiteral<"query">;
1647
- param: z.ZodString;
1648
- value: z.ZodString;
1649
- }, z.core.$strict>], "type">;
1650
- headers: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
3296
+ }, z.core.$strict>;
3297
+ tls: z.ZodDefault<z.ZodEnum<{
3298
+ verify: "verify";
3299
+ insecure: "insecure";
3300
+ off: "off";
3301
+ }>>;
3302
+ timeoutSeconds: z.ZodDefault<z.ZodNumber>;
3303
+ maxRows: z.ZodDefault<z.ZodNumber>;
1651
3304
  tools: z.ZodArray<z.ZodObject<{
1652
3305
  name: z.ZodString;
1653
3306
  description: z.ZodString;
1654
- method: z.ZodEnum<{
1655
- GET: "GET";
1656
- POST: "POST";
1657
- PUT: "PUT";
1658
- PATCH: "PATCH";
1659
- DELETE: "DELETE";
1660
- }>;
1661
- path: z.ZodString;
3307
+ sql: z.ZodString;
1662
3308
  params: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
1663
3309
  type: z.ZodEnum<{
1664
3310
  string: "string";
1665
3311
  number: "number";
1666
3312
  boolean: "boolean";
1667
- array: "array";
1668
3313
  integer: "integer";
1669
3314
  }>;
1670
3315
  description: z.ZodString;
1671
- in: z.ZodEnum<{
1672
- body: "body";
1673
- path: "path";
1674
- query: "query";
1675
- }>;
1676
- name: z.ZodOptional<z.ZodString>;
1677
3316
  required: z.ZodDefault<z.ZodBoolean>;
1678
- default: z.ZodOptional<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>]>>;
1679
- enum: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
1680
- items: z.ZodOptional<z.ZodEnum<{
1681
- string: "string";
1682
- number: "number";
1683
- boolean: "boolean";
1684
- integer: "integer";
1685
- }>>;
1686
- join: z.ZodOptional<z.ZodString>;
1687
3317
  limit: z.ZodOptional<z.ZodString>;
1688
3318
  }, z.core.$strict>>>;
1689
- destructive: z.ZodDefault<z.ZodBoolean>;
1690
- answerLimits: z.ZodDefault<z.ZodArray<z.ZodObject<{
3319
+ write: z.ZodDefault<z.ZodBoolean>;
3320
+ destructive: z.ZodDefault<z.ZodBoolean>;
3321
+ answerLimits: z.ZodDefault<z.ZodArray<z.ZodObject<{
3322
+ column: z.ZodString;
3323
+ limit: z.ZodString;
3324
+ }, z.core.$strict>>>;
3325
+ }, z.core.$strict>>;
3326
+ }, z.core.$strict>>;
3327
+ events: z.ZodOptional<z.ZodObject<{
3328
+ types: z.ZodArray<z.ZodObject<{
3329
+ id: z.ZodString;
3330
+ label: z.ZodString;
3331
+ }, z.core.$strict>>;
3332
+ fields: z.ZodRecord<z.ZodString, z.ZodString>;
3333
+ limits: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
3334
+ webhook: z.ZodOptional<z.ZodObject<{
3335
+ verify: z.ZodDiscriminatedUnion<[z.ZodObject<{
3336
+ type: z.ZodLiteral<"hmac-sha256">;
3337
+ header: z.ZodString;
3338
+ prefix: z.ZodDefault<z.ZodString>;
3339
+ }, z.core.$strict>, z.ZodObject<{
3340
+ type: z.ZodLiteral<"token">;
3341
+ header: z.ZodString;
3342
+ }, z.core.$strict>, z.ZodObject<{
3343
+ type: z.ZodLiteral<"none">;
3344
+ }, z.core.$strict>], "type">;
3345
+ allowInsecure: z.ZodDefault<z.ZodBoolean>;
3346
+ type: z.ZodUnion<readonly [z.ZodObject<{
3347
+ field: z.ZodString;
3348
+ }, z.core.$strict>, z.ZodObject<{
3349
+ header: z.ZodString;
3350
+ }, z.core.$strict>]>;
3351
+ deliveryId: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
3352
+ field: z.ZodString;
3353
+ }, z.core.$strict>, z.ZodObject<{
3354
+ header: z.ZodString;
3355
+ }, z.core.$strict>]>>;
3356
+ timestamp: z.ZodOptional<z.ZodObject<{
3357
+ at: z.ZodUnion<readonly [z.ZodObject<{
3358
+ field: z.ZodString;
3359
+ }, z.core.$strict>, z.ZodObject<{
3360
+ header: z.ZodString;
3361
+ }, z.core.$strict>]>;
3362
+ unit: z.ZodEnum<{
3363
+ s: "s";
3364
+ ms: "ms";
3365
+ iso: "iso";
3366
+ }>;
3367
+ toleranceSeconds: z.ZodDefault<z.ZodNumber>;
3368
+ }, z.core.$strict>>;
3369
+ setup: z.ZodArray<z.ZodObject<{
3370
+ title: z.ZodString;
3371
+ body: z.ZodString;
3372
+ link: z.ZodOptional<z.ZodObject<{
3373
+ label: z.ZodString;
3374
+ href: z.ZodURL;
3375
+ }, z.core.$strict>>;
3376
+ copy: z.ZodOptional<z.ZodArray<z.ZodString>>;
3377
+ shell: z.ZodOptional<z.ZodEnum<{
3378
+ bash: "bash";
3379
+ powershell: "powershell";
3380
+ }>>;
3381
+ permissions: z.ZodOptional<z.ZodBoolean>;
3382
+ certificate: z.ZodOptional<z.ZodBoolean>;
3383
+ click: z.ZodOptional<z.ZodArray<z.ZodString>>;
3384
+ clickUnavailable: z.ZodOptional<z.ZodLiteral<true>>;
3385
+ siteRole: z.ZodOptional<z.ZodEnum<{
3386
+ read: "read";
3387
+ write: "write";
3388
+ }>>;
3389
+ agentCheck: z.ZodOptional<z.ZodBoolean>;
3390
+ confirm: z.ZodOptional<z.ZodString>;
3391
+ live: z.ZodOptional<z.ZodString>;
3392
+ settings: z.ZodOptional<z.ZodArray<z.ZodObject<{
3393
+ id: z.ZodString;
3394
+ label: z.ZodString;
3395
+ help: z.ZodOptional<z.ZodString>;
3396
+ placeholder: z.ZodOptional<z.ZodString>;
3397
+ pattern: z.ZodString;
3398
+ }, z.core.$strict>>>;
3399
+ option: z.ZodOptional<z.ZodObject<{
3400
+ field: z.ZodString;
3401
+ value: z.ZodString;
3402
+ }, z.core.$strict>>;
3403
+ }, z.core.$strict>>;
3404
+ register: z.ZodOptional<z.ZodObject<{
3405
+ method: z.ZodEnum<{
3406
+ GET: "GET";
3407
+ POST: "POST";
3408
+ PUT: "PUT";
3409
+ }>;
3410
+ path: z.ZodString;
3411
+ body: z.ZodOptional<z.ZodUnknown>;
3412
+ location: z.ZodString;
3413
+ }, z.core.$strict>>;
3414
+ }, z.core.$strict>>;
3415
+ self: z.ZodOptional<z.ZodObject<{
3416
+ request: z.ZodObject<{
3417
+ method: z.ZodEnum<{
3418
+ GET: "GET";
3419
+ POST: "POST";
3420
+ PUT: "PUT";
3421
+ }>;
3422
+ path: z.ZodString;
3423
+ body: z.ZodOptional<z.ZodUnknown>;
3424
+ }, z.core.$strict>;
3425
+ id: z.ZodString;
3426
+ fields: z.ZodArray<z.ZodString>;
3427
+ }, z.core.$strict>>;
3428
+ poll: z.ZodOptional<z.ZodObject<{
3429
+ request: z.ZodObject<{
3430
+ method: z.ZodEnum<{
3431
+ GET: "GET";
3432
+ POST: "POST";
3433
+ PUT: "PUT";
3434
+ }>;
3435
+ path: z.ZodString;
3436
+ body: z.ZodOptional<z.ZodUnknown>;
3437
+ }, z.core.$strict>;
3438
+ filter: z.ZodOptional<z.ZodString>;
3439
+ items: z.ZodString;
3440
+ wrap: z.ZodOptional<z.ZodString>;
3441
+ cursor: z.ZodString;
3442
+ deliveryId: z.ZodArray<z.ZodString>;
3443
+ types: z.ZodArray<z.ZodObject<{
3444
+ type: z.ZodString;
3445
+ since: z.ZodOptional<z.ZodString>;
3446
+ }, z.core.$strict>>;
3447
+ }, z.core.$strict>>;
3448
+ }, z.core.$strict>>;
3449
+ }, z.core.$strict>>;
3450
+ };
3451
+ };
3452
+ readonly internalApps: {
3453
+ readonly method: "GET";
3454
+ readonly path: "/orgs/{org}/internal-apps";
3455
+ readonly summary: "The organization's own apps, as saved";
3456
+ readonly responses: {
3457
+ readonly 200: z.ZodArray<z.ZodObject<{
3458
+ id: z.ZodString;
3459
+ organizationId: z.ZodString;
3460
+ definition: z.ZodRecord<z.ZodString, z.ZodUnknown>;
3461
+ problem: z.ZodNullable<z.ZodString>;
3462
+ createdBy: z.ZodString;
3463
+ createdAt: z.ZodString;
3464
+ updatedBy: z.ZodString;
3465
+ updatedAt: z.ZodString;
3466
+ }, z.core.$strict>>;
3467
+ };
3468
+ };
3469
+ readonly internalApp: {
3470
+ readonly method: "GET";
3471
+ readonly path: "/orgs/{org}/internal-apps/{app}";
3472
+ readonly summary: "One of the organization's own apps, as saved";
3473
+ readonly responses: {
3474
+ readonly 404: z.ZodObject<{
3475
+ error: z.ZodString;
3476
+ }, z.core.$strict>;
3477
+ readonly 200: z.ZodObject<{
3478
+ id: z.ZodString;
3479
+ organizationId: z.ZodString;
3480
+ definition: z.ZodRecord<z.ZodString, z.ZodUnknown>;
3481
+ problem: z.ZodNullable<z.ZodString>;
3482
+ createdBy: z.ZodString;
3483
+ createdAt: z.ZodString;
3484
+ updatedBy: z.ZodString;
3485
+ updatedAt: z.ZodString;
3486
+ }, z.core.$strict>;
3487
+ };
3488
+ };
3489
+ readonly saveInternalApp: {
3490
+ readonly method: "PUT";
3491
+ readonly path: "/orgs/{org}/internal-apps/{app}";
3492
+ readonly summary: "Adds or replaces one of the organization's own apps; a replace may cut or remove its connection and agents' access";
3493
+ readonly body: z.ZodObject<{
3494
+ definition: z.ZodRecord<z.ZodString, z.ZodUnknown>;
3495
+ by: z.ZodString;
3496
+ }, z.core.$strip>;
3497
+ readonly responses: {
3498
+ readonly 200: z.ZodObject<{
3499
+ app: z.ZodObject<{
3500
+ id: z.ZodString;
3501
+ organizationId: z.ZodString;
3502
+ definition: z.ZodRecord<z.ZodString, z.ZodUnknown>;
3503
+ problem: z.ZodNullable<z.ZodString>;
3504
+ createdBy: z.ZodString;
3505
+ createdAt: z.ZodString;
3506
+ updatedBy: z.ZodString;
3507
+ updatedAt: z.ZodString;
3508
+ }, z.core.$strict>;
3509
+ connector: z.ZodObject<{
3510
+ id: z.ZodString;
3511
+ name: z.ZodString;
3512
+ description: z.ZodString;
3513
+ logo: z.ZodString;
3514
+ identity: z.ZodString;
3515
+ signsInAs: z.ZodOptional<z.ZodEnum<{
3516
+ agentBot: "agentBot";
3517
+ }>>;
3518
+ provider: z.ZodOptional<z.ZodString>;
3519
+ order: z.ZodOptional<z.ZodNumber>;
3520
+ connectionKind: z.ZodEnum<{
3521
+ guided: "guided";
3522
+ }>;
3523
+ accountKey: z.ZodString;
3524
+ scopes: z.ZodOptional<z.ZodArray<z.ZodString>>;
3525
+ setup: z.ZodArray<z.ZodObject<{
3526
+ title: z.ZodString;
3527
+ body: z.ZodString;
3528
+ link: z.ZodOptional<z.ZodObject<{
3529
+ label: z.ZodString;
3530
+ href: z.ZodURL;
3531
+ }, z.core.$strict>>;
3532
+ copy: z.ZodOptional<z.ZodArray<z.ZodString>>;
3533
+ shell: z.ZodOptional<z.ZodEnum<{
3534
+ bash: "bash";
3535
+ powershell: "powershell";
3536
+ }>>;
3537
+ permissions: z.ZodOptional<z.ZodBoolean>;
3538
+ certificate: z.ZodOptional<z.ZodBoolean>;
3539
+ click: z.ZodOptional<z.ZodArray<z.ZodString>>;
3540
+ clickUnavailable: z.ZodOptional<z.ZodLiteral<true>>;
3541
+ siteRole: z.ZodOptional<z.ZodEnum<{
3542
+ read: "read";
3543
+ write: "write";
3544
+ }>>;
3545
+ agentCheck: z.ZodOptional<z.ZodBoolean>;
3546
+ confirm: z.ZodOptional<z.ZodString>;
3547
+ live: z.ZodOptional<z.ZodString>;
3548
+ settings: z.ZodOptional<z.ZodArray<z.ZodObject<{
3549
+ id: z.ZodString;
3550
+ label: z.ZodString;
3551
+ help: z.ZodOptional<z.ZodString>;
3552
+ placeholder: z.ZodOptional<z.ZodString>;
3553
+ pattern: z.ZodString;
3554
+ }, z.core.$strict>>>;
3555
+ option: z.ZodOptional<z.ZodObject<{
1691
3556
  field: z.ZodString;
1692
- limit: z.ZodString;
1693
- }, z.core.$strict>>>;
1694
- result: z.ZodOptional<z.ZodObject<{
1695
- items: z.ZodOptional<z.ZodString>;
1696
- fields: z.ZodOptional<z.ZodArray<z.ZodString>>;
3557
+ value: z.ZodString;
1697
3558
  }, z.core.$strict>>;
1698
- paging: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
1699
- param: z.ZodString;
1700
- body: z.ZodString;
1701
- }, z.core.$strict>, z.ZodObject<{
1702
- param: z.ZodString;
1703
- header: z.ZodString;
1704
- }, z.core.$strict>, z.ZodObject<{
1705
- param: z.ZodString;
1706
- link: z.ZodLiteral<true>;
1707
- }, z.core.$strict>]>>;
1708
- }, z.core.$strict>>;
1709
- allowInsecureHttp: z.ZodDefault<z.ZodBoolean>;
1710
- }, z.core.$strict>>;
1711
- soap: z.ZodOptional<z.ZodObject<{
1712
- endpoint: z.ZodURL;
1713
- version: z.ZodDefault<z.ZodEnum<{
1714
- 1.1: "1.1";
1715
- 1.2: "1.2";
1716
- }>>;
1717
- namespaces: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
1718
- auth: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
1719
- type: z.ZodLiteral<"header">;
1720
- header: z.ZodString;
1721
- value: z.ZodString;
1722
- prefix: z.ZodOptional<z.ZodString>;
1723
- }, z.core.$strict>, z.ZodObject<{
1724
- type: z.ZodLiteral<"bearer">;
1725
- token: z.ZodString;
1726
- }, z.core.$strict>, z.ZodObject<{
1727
- type: z.ZodLiteral<"basic">;
1728
- username: z.ZodString;
1729
- password: z.ZodString;
1730
- }, z.core.$strict>], "type">>;
1731
- wsSecurity: z.ZodOptional<z.ZodObject<{
1732
- username: z.ZodString;
1733
- password: z.ZodString;
1734
- digest: z.ZodDefault<z.ZodBoolean>;
1735
- }, z.core.$strict>>;
1736
- verify: z.ZodOptional<z.ZodObject<{
1737
- tool: z.ZodString;
1738
- args: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
1739
- show: z.ZodString;
3559
+ capabilities: z.ZodOptional<z.ZodArray<z.ZodString>>;
1740
3560
  }, z.core.$strict>>;
1741
- tools: z.ZodArray<z.ZodObject<{
1742
- name: z.ZodString;
1743
- description: z.ZodString;
1744
- operation: z.ZodString;
1745
- soapAction: z.ZodOptional<z.ZodString>;
3561
+ afterConnect: z.ZodArray<z.ZodObject<{
3562
+ title: z.ZodString;
1746
3563
  body: z.ZodString;
1747
- params: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
1748
- type: z.ZodEnum<{
1749
- string: "string";
1750
- number: "number";
1751
- boolean: "boolean";
1752
- integer: "integer";
1753
- }>;
1754
- description: z.ZodString;
1755
- required: z.ZodDefault<z.ZodBoolean>;
1756
- limit: z.ZodOptional<z.ZodString>;
3564
+ link: z.ZodOptional<z.ZodObject<{
3565
+ label: z.ZodString;
3566
+ href: z.ZodURL;
3567
+ }, z.core.$strict>>;
3568
+ copy: z.ZodOptional<z.ZodArray<z.ZodString>>;
3569
+ shell: z.ZodOptional<z.ZodEnum<{
3570
+ bash: "bash";
3571
+ powershell: "powershell";
3572
+ }>>;
3573
+ permissions: z.ZodOptional<z.ZodBoolean>;
3574
+ certificate: z.ZodOptional<z.ZodBoolean>;
3575
+ click: z.ZodOptional<z.ZodArray<z.ZodString>>;
3576
+ clickUnavailable: z.ZodOptional<z.ZodLiteral<true>>;
3577
+ siteRole: z.ZodOptional<z.ZodEnum<{
3578
+ read: "read";
3579
+ write: "write";
3580
+ }>>;
3581
+ agentCheck: z.ZodOptional<z.ZodBoolean>;
3582
+ confirm: z.ZodOptional<z.ZodString>;
3583
+ live: z.ZodOptional<z.ZodString>;
3584
+ settings: z.ZodOptional<z.ZodArray<z.ZodObject<{
3585
+ id: z.ZodString;
3586
+ label: z.ZodString;
3587
+ help: z.ZodOptional<z.ZodString>;
3588
+ placeholder: z.ZodOptional<z.ZodString>;
3589
+ pattern: z.ZodString;
1757
3590
  }, z.core.$strict>>>;
1758
- result: z.ZodOptional<z.ZodString>;
1759
- fields: z.ZodOptional<z.ZodArray<z.ZodString>>;
1760
- readOnly: z.ZodDefault<z.ZodBoolean>;
1761
- destructive: z.ZodDefault<z.ZodBoolean>;
1762
- answerLimits: z.ZodDefault<z.ZodArray<z.ZodObject<{
3591
+ option: z.ZodOptional<z.ZodObject<{
1763
3592
  field: z.ZodString;
1764
- limit: z.ZodString;
1765
- }, z.core.$strict>>>;
3593
+ value: z.ZodString;
3594
+ }, z.core.$strict>>;
3595
+ capabilities: z.ZodOptional<z.ZodArray<z.ZodString>>;
1766
3596
  }, z.core.$strict>>;
1767
- allowInsecureHttp: z.ZodDefault<z.ZodBoolean>;
1768
- }, z.core.$strict>>;
1769
- odata: z.ZodOptional<z.ZodObject<{
1770
- serviceRoot: z.ZodURL;
1771
- version: z.ZodEnum<{
1772
- 2: "2";
1773
- 4: "4";
1774
- }>;
1775
- auth: z.ZodDiscriminatedUnion<[z.ZodObject<{
1776
- type: z.ZodLiteral<"header">;
1777
- header: z.ZodString;
1778
- value: z.ZodString;
1779
- prefix: z.ZodOptional<z.ZodString>;
1780
- }, z.core.$strict>, z.ZodObject<{
1781
- type: z.ZodLiteral<"bearer">;
1782
- token: z.ZodString;
1783
- }, z.core.$strict>, z.ZodObject<{
1784
- type: z.ZodLiteral<"basic">;
1785
- username: z.ZodString;
1786
- password: z.ZodString;
1787
- }, z.core.$strict>, z.ZodObject<{
1788
- type: z.ZodLiteral<"oauth2">;
1789
- tokenUrl: z.ZodURL;
1790
- clientId: z.ZodString;
1791
- clientSecret: z.ZodString;
1792
- scope: z.ZodOptional<z.ZodString>;
1793
- }, z.core.$strict>, z.ZodObject<{
1794
- type: z.ZodLiteral<"query">;
1795
- param: z.ZodString;
1796
- value: z.ZodString;
1797
- }, z.core.$strict>], "type">;
1798
- headers: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
1799
- csrf: z.ZodDefault<z.ZodBoolean>;
1800
- paging: z.ZodDefault<z.ZodEnum<{
1801
- skip: "skip";
1802
- server: "server";
1803
- }>>;
1804
- tools: z.ZodArray<z.ZodObject<{
1805
- name: z.ZodString;
1806
- description: z.ZodString;
1807
- kind: z.ZodEnum<{
1808
- function: "function";
1809
- list: "list";
1810
- get: "get";
1811
- create: "create";
1812
- update: "update";
1813
- action: "action";
1814
- }>;
1815
- entitySet: z.ZodOptional<z.ZodString>;
1816
- function: z.ZodOptional<z.ZodString>;
1817
- key: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
1818
- type: z.ZodEnum<{
1819
- string: "string";
1820
- number: "number";
1821
- boolean: "boolean";
1822
- guid: "guid";
1823
- integer: "integer";
1824
- decimal: "decimal";
1825
- datetime: "datetime";
1826
- datetimeoffset: "datetimeoffset";
1827
- }>;
1828
- description: z.ZodString;
1829
- property: z.ZodOptional<z.ZodString>;
1830
- required: z.ZodOptional<z.ZodBoolean>;
1831
- limit: z.ZodOptional<z.ZodString>;
1832
- }, z.core.$strict>>>;
1833
- filters: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
1834
- type: z.ZodEnum<{
1835
- string: "string";
1836
- number: "number";
1837
- boolean: "boolean";
1838
- guid: "guid";
1839
- integer: "integer";
1840
- decimal: "decimal";
1841
- datetime: "datetime";
1842
- datetimeoffset: "datetimeoffset";
1843
- }>;
1844
- description: z.ZodString;
1845
- property: z.ZodOptional<z.ZodString>;
1846
- required: z.ZodOptional<z.ZodBoolean>;
1847
- limit: z.ZodOptional<z.ZodString>;
1848
- op: z.ZodDefault<z.ZodEnum<{
1849
- eq: "eq";
1850
- ne: "ne";
1851
- gt: "gt";
1852
- ge: "ge";
1853
- lt: "lt";
1854
- le: "le";
1855
- contains: "contains";
1856
- startswith: "startswith";
1857
- }>>;
1858
- }, z.core.$strict>>>;
1859
- fields: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
1860
- type: z.ZodEnum<{
1861
- string: "string";
1862
- number: "number";
1863
- boolean: "boolean";
1864
- guid: "guid";
1865
- integer: "integer";
1866
- decimal: "decimal";
1867
- datetime: "datetime";
1868
- datetimeoffset: "datetimeoffset";
1869
- }>;
1870
- description: z.ZodString;
1871
- property: z.ZodOptional<z.ZodString>;
1872
- required: z.ZodOptional<z.ZodBoolean>;
1873
- limit: z.ZodOptional<z.ZodString>;
1874
- }, z.core.$strict>>>;
1875
- params: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
1876
- type: z.ZodEnum<{
1877
- string: "string";
1878
- number: "number";
1879
- boolean: "boolean";
1880
- guid: "guid";
1881
- integer: "integer";
1882
- decimal: "decimal";
1883
- datetime: "datetime";
1884
- datetimeoffset: "datetimeoffset";
1885
- }>;
3597
+ fields: z.ZodArray<z.ZodObject<{
3598
+ id: z.ZodString;
3599
+ label: z.ZodString;
3600
+ help: z.ZodOptional<z.ZodString>;
3601
+ placeholder: z.ZodOptional<z.ZodString>;
3602
+ secret: z.ZodBoolean;
3603
+ options: z.ZodOptional<z.ZodArray<z.ZodObject<{
3604
+ value: z.ZodString;
3605
+ label: z.ZodString;
1886
3606
  description: z.ZodString;
1887
- property: z.ZodOptional<z.ZodString>;
1888
- required: z.ZodOptional<z.ZodBoolean>;
1889
- limit: z.ZodOptional<z.ZodString>;
3607
+ scopes: z.ZodOptional<z.ZodArray<z.ZodString>>;
1890
3608
  }, z.core.$strict>>>;
1891
- select: z.ZodDefault<z.ZodArray<z.ZodString>>;
1892
- orderBy: z.ZodOptional<z.ZodString>;
1893
- top: z.ZodDefault<z.ZodNumber>;
1894
- destructive: z.ZodDefault<z.ZodBoolean>;
1895
- answerLimits: z.ZodDefault<z.ZodArray<z.ZodObject<{
3609
+ requires: z.ZodOptional<z.ZodObject<{
1896
3610
  field: z.ZodString;
1897
- limit: z.ZodString;
1898
- }, z.core.$strict>>>;
3611
+ value: z.ZodString;
3612
+ }, z.core.$strict>>;
3613
+ optional: z.ZodDefault<z.ZodBoolean>;
1899
3614
  }, z.core.$strict>>;
1900
- allowInsecureHttp: z.ZodDefault<z.ZodBoolean>;
1901
- }, z.core.$strict>>;
1902
- sql: z.ZodOptional<z.ZodObject<{
1903
- engine: z.ZodEnum<{
1904
- postgres: "postgres";
1905
- sqlserver: "sqlserver";
1906
- mysql: "mysql";
1907
- oracle: "oracle";
1908
- }>;
1909
- host: z.ZodString;
1910
- port: z.ZodOptional<z.ZodNumber>;
1911
- database: z.ZodString;
1912
- auth: z.ZodObject<{
1913
- user: z.ZodString;
1914
- password: z.ZodString;
1915
- }, z.core.$strict>;
1916
- tls: z.ZodDefault<z.ZodEnum<{
1917
- verify: "verify";
1918
- insecure: "insecure";
1919
- off: "off";
1920
- }>>;
1921
- timeoutSeconds: z.ZodDefault<z.ZodNumber>;
1922
- maxRows: z.ZodDefault<z.ZodNumber>;
1923
- tools: z.ZodArray<z.ZodObject<{
1924
- name: z.ZodString;
3615
+ capabilities: z.ZodArray<z.ZodObject<{
3616
+ id: z.ZodString;
3617
+ label: z.ZodString;
1925
3618
  description: z.ZodString;
1926
- sql: z.ZodString;
1927
- params: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
1928
- type: z.ZodEnum<{
1929
- string: "string";
1930
- number: "number";
1931
- boolean: "boolean";
1932
- integer: "integer";
1933
- }>;
1934
- description: z.ZodString;
1935
- required: z.ZodDefault<z.ZodBoolean>;
1936
- limit: z.ZodOptional<z.ZodString>;
1937
- }, z.core.$strict>>>;
1938
- write: z.ZodDefault<z.ZodBoolean>;
3619
+ required: z.ZodDefault<z.ZodBoolean>;
1939
3620
  destructive: z.ZodDefault<z.ZodBoolean>;
1940
- answerLimits: z.ZodDefault<z.ZodArray<z.ZodObject<{
1941
- column: z.ZodString;
1942
- limit: z.ZodString;
1943
- }, z.core.$strict>>>;
3621
+ costs: z.ZodOptional<z.ZodBoolean>;
3622
+ scopes: z.ZodArray<z.ZodString>;
3623
+ roles: z.ZodOptional<z.ZodArray<z.ZodString>>;
3624
+ permissions: z.ZodArray<z.ZodString>;
3625
+ fill: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
3626
+ note: z.ZodOptional<z.ZodString>;
3627
+ forbidden: z.ZodOptional<z.ZodString>;
3628
+ claudeKey: z.ZodOptional<z.ZodBoolean>;
3629
+ tools: z.ZodArray<z.ZodString>;
1944
3630
  }, z.core.$strict>>;
1945
- }, z.core.$strict>>;
1946
- events: z.ZodOptional<z.ZodObject<{
1947
- types: z.ZodArray<z.ZodObject<{
3631
+ limits: z.ZodArray<z.ZodObject<{
1948
3632
  id: z.ZodString;
1949
3633
  label: z.ZodString;
3634
+ help: z.ZodString;
3635
+ kind: z.ZodEnum<{
3636
+ text: "text";
3637
+ map: "map";
3638
+ list: "list";
3639
+ }>;
3640
+ required: z.ZodBoolean;
3641
+ pattern: z.ZodOptional<z.ZodString>;
3642
+ keys: z.ZodOptional<z.ZodString>;
1950
3643
  }, z.core.$strict>>;
1951
- fields: z.ZodRecord<z.ZodString, z.ZodString>;
1952
- limits: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
1953
- webhook: z.ZodOptional<z.ZodObject<{
1954
- verify: z.ZodDiscriminatedUnion<[z.ZodObject<{
1955
- type: z.ZodLiteral<"hmac-sha256">;
1956
- header: z.ZodString;
1957
- prefix: z.ZodDefault<z.ZodString>;
1958
- }, z.core.$strict>, z.ZodObject<{
1959
- type: z.ZodLiteral<"token">;
1960
- header: z.ZodString;
1961
- }, z.core.$strict>, z.ZodObject<{
1962
- type: z.ZodLiteral<"none">;
1963
- }, z.core.$strict>], "type">;
1964
- allowInsecure: z.ZodDefault<z.ZodBoolean>;
1965
- type: z.ZodUnion<readonly [z.ZodObject<{
1966
- field: z.ZodString;
1967
- }, z.core.$strict>, z.ZodObject<{
1968
- header: z.ZodString;
1969
- }, z.core.$strict>]>;
1970
- deliveryId: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
1971
- field: z.ZodString;
1972
- }, z.core.$strict>, z.ZodObject<{
1973
- header: z.ZodString;
1974
- }, z.core.$strict>]>>;
1975
- timestamp: z.ZodOptional<z.ZodObject<{
1976
- at: z.ZodUnion<readonly [z.ZodObject<{
1977
- field: z.ZodString;
1978
- }, z.core.$strict>, z.ZodObject<{
1979
- header: z.ZodString;
1980
- }, z.core.$strict>]>;
1981
- unit: z.ZodEnum<{
1982
- s: "s";
1983
- ms: "ms";
1984
- iso: "iso";
1985
- }>;
1986
- toleranceSeconds: z.ZodDefault<z.ZodNumber>;
1987
- }, z.core.$strict>>;
1988
- setup: z.ZodArray<z.ZodObject<{
3644
+ siteAccess: z.ZodOptional<z.ZodObject<{
3645
+ grant: z.ZodArray<z.ZodObject<{
1989
3646
  title: z.ZodString;
1990
3647
  body: z.ZodString;
1991
3648
  link: z.ZodOptional<z.ZodObject<{
@@ -2020,52 +3677,543 @@ export declare const routes: {
2020
3677
  value: z.ZodString;
2021
3678
  }, z.core.$strict>>;
2022
3679
  }, z.core.$strict>>;
2023
- register: z.ZodOptional<z.ZodObject<{
3680
+ request: z.ZodString;
3681
+ write: z.ZodDefault<z.ZodArray<z.ZodString>>;
3682
+ }, z.core.$strict>>;
3683
+ agentAccess: z.ZodOptional<z.ZodObject<{
3684
+ limit: z.ZodString;
3685
+ label: z.ZodString;
3686
+ path: z.ZodString;
3687
+ granted: z.ZodString;
3688
+ notGranted: z.ZodString;
3689
+ notFound: z.ZodString;
3690
+ probes: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
2024
3691
  method: z.ZodEnum<{
2025
3692
  GET: "GET";
2026
3693
  POST: "POST";
2027
- PUT: "PUT";
3694
+ PATCH: "PATCH";
2028
3695
  }>;
2029
3696
  path: z.ZodString;
2030
3697
  body: z.ZodOptional<z.ZodUnknown>;
2031
- location: z.ZodString;
2032
- }, z.core.$strict>>;
3698
+ allowed: z.ZodArray<z.ZodNumber>;
3699
+ }, z.core.$strict>>>;
3700
+ missing: z.ZodOptional<z.ZodString>;
2033
3701
  }, z.core.$strict>>;
2034
- self: z.ZodOptional<z.ZodObject<{
2035
- request: z.ZodObject<{
3702
+ verify: z.ZodUnion<readonly [z.ZodObject<{
3703
+ method: z.ZodEnum<{
3704
+ GET: "GET";
3705
+ POST: "POST";
3706
+ }>;
3707
+ path: z.ZodString;
3708
+ label: z.ZodString;
3709
+ show: z.ZodString;
3710
+ name: z.ZodOptional<z.ZodString>;
3711
+ match: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
3712
+ body: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3713
+ ifEmpty: z.ZodOptional<z.ZodString>;
3714
+ }, z.core.$strict>, z.ZodObject<{
3715
+ label: z.ZodString;
3716
+ check: z.ZodString;
3717
+ ifEmpty: z.ZodOptional<z.ZodString>;
3718
+ }, z.core.$strict>]>;
3719
+ discover: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
3720
+ method: z.ZodEnum<{
3721
+ GET: "GET";
3722
+ POST: "POST";
3723
+ }>;
3724
+ path: z.ZodString;
3725
+ label: z.ZodString;
3726
+ show: z.ZodString;
3727
+ name: z.ZodOptional<z.ZodString>;
3728
+ match: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
3729
+ body: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3730
+ ifEmpty: z.ZodOptional<z.ZodString>;
3731
+ }, z.core.$strict>, z.ZodObject<{
3732
+ label: z.ZodString;
3733
+ check: z.ZodString;
3734
+ ifEmpty: z.ZodOptional<z.ZodString>;
3735
+ }, z.core.$strict>]>>;
3736
+ revoke: z.ZodString;
3737
+ http: z.ZodOptional<z.ZodObject<{
3738
+ baseUrl: z.ZodURL;
3739
+ auth: z.ZodDiscriminatedUnion<[z.ZodObject<{
3740
+ type: z.ZodLiteral<"header">;
3741
+ header: z.ZodString;
3742
+ value: z.ZodString;
3743
+ prefix: z.ZodOptional<z.ZodString>;
3744
+ }, z.core.$strict>, z.ZodObject<{
3745
+ type: z.ZodLiteral<"bearer">;
3746
+ token: z.ZodString;
3747
+ }, z.core.$strict>, z.ZodObject<{
3748
+ type: z.ZodLiteral<"basic">;
3749
+ username: z.ZodString;
3750
+ password: z.ZodString;
3751
+ }, z.core.$strict>, z.ZodObject<{
3752
+ type: z.ZodLiteral<"oauth2">;
3753
+ tokenUrl: z.ZodURL;
3754
+ clientId: z.ZodString;
3755
+ clientSecret: z.ZodString;
3756
+ scope: z.ZodOptional<z.ZodString>;
3757
+ }, z.core.$strict>, z.ZodObject<{
3758
+ type: z.ZodLiteral<"query">;
3759
+ param: z.ZodString;
3760
+ value: z.ZodString;
3761
+ }, z.core.$strict>], "type">;
3762
+ headers: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
3763
+ tools: z.ZodArray<z.ZodObject<{
3764
+ name: z.ZodString;
3765
+ description: z.ZodString;
2036
3766
  method: z.ZodEnum<{
2037
3767
  GET: "GET";
2038
3768
  POST: "POST";
2039
3769
  PUT: "PUT";
3770
+ PATCH: "PATCH";
3771
+ DELETE: "DELETE";
2040
3772
  }>;
2041
3773
  path: z.ZodString;
2042
- body: z.ZodOptional<z.ZodUnknown>;
2043
- }, z.core.$strict>;
2044
- id: z.ZodString;
2045
- fields: z.ZodArray<z.ZodString>;
3774
+ params: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
3775
+ type: z.ZodEnum<{
3776
+ string: "string";
3777
+ number: "number";
3778
+ boolean: "boolean";
3779
+ array: "array";
3780
+ integer: "integer";
3781
+ }>;
3782
+ description: z.ZodString;
3783
+ in: z.ZodEnum<{
3784
+ body: "body";
3785
+ path: "path";
3786
+ query: "query";
3787
+ }>;
3788
+ name: z.ZodOptional<z.ZodString>;
3789
+ required: z.ZodDefault<z.ZodBoolean>;
3790
+ default: z.ZodOptional<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>]>>;
3791
+ enum: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
3792
+ items: z.ZodOptional<z.ZodEnum<{
3793
+ string: "string";
3794
+ number: "number";
3795
+ boolean: "boolean";
3796
+ integer: "integer";
3797
+ }>>;
3798
+ join: z.ZodOptional<z.ZodString>;
3799
+ limit: z.ZodOptional<z.ZodString>;
3800
+ }, z.core.$strict>>>;
3801
+ destructive: z.ZodDefault<z.ZodBoolean>;
3802
+ answerLimits: z.ZodDefault<z.ZodArray<z.ZodObject<{
3803
+ field: z.ZodString;
3804
+ limit: z.ZodString;
3805
+ }, z.core.$strict>>>;
3806
+ result: z.ZodOptional<z.ZodObject<{
3807
+ items: z.ZodOptional<z.ZodString>;
3808
+ fields: z.ZodOptional<z.ZodArray<z.ZodString>>;
3809
+ }, z.core.$strict>>;
3810
+ paging: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
3811
+ param: z.ZodString;
3812
+ body: z.ZodString;
3813
+ }, z.core.$strict>, z.ZodObject<{
3814
+ param: z.ZodString;
3815
+ header: z.ZodString;
3816
+ }, z.core.$strict>, z.ZodObject<{
3817
+ param: z.ZodString;
3818
+ link: z.ZodLiteral<true>;
3819
+ }, z.core.$strict>]>>;
3820
+ }, z.core.$strict>>;
3821
+ allowInsecureHttp: z.ZodDefault<z.ZodBoolean>;
2046
3822
  }, z.core.$strict>>;
2047
- poll: z.ZodOptional<z.ZodObject<{
2048
- request: z.ZodObject<{
2049
- method: z.ZodEnum<{
2050
- GET: "GET";
2051
- POST: "POST";
2052
- PUT: "PUT";
3823
+ soap: z.ZodOptional<z.ZodObject<{
3824
+ endpoint: z.ZodURL;
3825
+ version: z.ZodDefault<z.ZodEnum<{
3826
+ 1.1: "1.1";
3827
+ 1.2: "1.2";
3828
+ }>>;
3829
+ namespaces: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
3830
+ auth: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
3831
+ type: z.ZodLiteral<"header">;
3832
+ header: z.ZodString;
3833
+ value: z.ZodString;
3834
+ prefix: z.ZodOptional<z.ZodString>;
3835
+ }, z.core.$strict>, z.ZodObject<{
3836
+ type: z.ZodLiteral<"bearer">;
3837
+ token: z.ZodString;
3838
+ }, z.core.$strict>, z.ZodObject<{
3839
+ type: z.ZodLiteral<"basic">;
3840
+ username: z.ZodString;
3841
+ password: z.ZodString;
3842
+ }, z.core.$strict>], "type">>;
3843
+ wsSecurity: z.ZodOptional<z.ZodObject<{
3844
+ username: z.ZodString;
3845
+ password: z.ZodString;
3846
+ digest: z.ZodDefault<z.ZodBoolean>;
3847
+ }, z.core.$strict>>;
3848
+ verify: z.ZodOptional<z.ZodObject<{
3849
+ tool: z.ZodString;
3850
+ args: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
3851
+ show: z.ZodString;
3852
+ }, z.core.$strict>>;
3853
+ tools: z.ZodArray<z.ZodObject<{
3854
+ name: z.ZodString;
3855
+ description: z.ZodString;
3856
+ operation: z.ZodString;
3857
+ soapAction: z.ZodOptional<z.ZodString>;
3858
+ body: z.ZodString;
3859
+ params: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
3860
+ type: z.ZodEnum<{
3861
+ string: "string";
3862
+ number: "number";
3863
+ boolean: "boolean";
3864
+ integer: "integer";
3865
+ }>;
3866
+ description: z.ZodString;
3867
+ required: z.ZodDefault<z.ZodBoolean>;
3868
+ limit: z.ZodOptional<z.ZodString>;
3869
+ }, z.core.$strict>>>;
3870
+ result: z.ZodOptional<z.ZodString>;
3871
+ fields: z.ZodOptional<z.ZodArray<z.ZodString>>;
3872
+ readOnly: z.ZodDefault<z.ZodBoolean>;
3873
+ destructive: z.ZodDefault<z.ZodBoolean>;
3874
+ answerLimits: z.ZodDefault<z.ZodArray<z.ZodObject<{
3875
+ field: z.ZodString;
3876
+ limit: z.ZodString;
3877
+ }, z.core.$strict>>>;
3878
+ }, z.core.$strict>>;
3879
+ allowInsecureHttp: z.ZodDefault<z.ZodBoolean>;
3880
+ }, z.core.$strict>>;
3881
+ odata: z.ZodOptional<z.ZodObject<{
3882
+ serviceRoot: z.ZodURL;
3883
+ version: z.ZodEnum<{
3884
+ 2: "2";
3885
+ 4: "4";
3886
+ }>;
3887
+ auth: z.ZodDiscriminatedUnion<[z.ZodObject<{
3888
+ type: z.ZodLiteral<"header">;
3889
+ header: z.ZodString;
3890
+ value: z.ZodString;
3891
+ prefix: z.ZodOptional<z.ZodString>;
3892
+ }, z.core.$strict>, z.ZodObject<{
3893
+ type: z.ZodLiteral<"bearer">;
3894
+ token: z.ZodString;
3895
+ }, z.core.$strict>, z.ZodObject<{
3896
+ type: z.ZodLiteral<"basic">;
3897
+ username: z.ZodString;
3898
+ password: z.ZodString;
3899
+ }, z.core.$strict>, z.ZodObject<{
3900
+ type: z.ZodLiteral<"oauth2">;
3901
+ tokenUrl: z.ZodURL;
3902
+ clientId: z.ZodString;
3903
+ clientSecret: z.ZodString;
3904
+ scope: z.ZodOptional<z.ZodString>;
3905
+ }, z.core.$strict>, z.ZodObject<{
3906
+ type: z.ZodLiteral<"query">;
3907
+ param: z.ZodString;
3908
+ value: z.ZodString;
3909
+ }, z.core.$strict>], "type">;
3910
+ headers: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
3911
+ csrf: z.ZodDefault<z.ZodBoolean>;
3912
+ paging: z.ZodDefault<z.ZodEnum<{
3913
+ skip: "skip";
3914
+ server: "server";
3915
+ }>>;
3916
+ tools: z.ZodArray<z.ZodObject<{
3917
+ name: z.ZodString;
3918
+ description: z.ZodString;
3919
+ kind: z.ZodEnum<{
3920
+ function: "function";
3921
+ list: "list";
3922
+ get: "get";
3923
+ create: "create";
3924
+ update: "update";
3925
+ action: "action";
2053
3926
  }>;
2054
- path: z.ZodString;
2055
- body: z.ZodOptional<z.ZodUnknown>;
3927
+ entitySet: z.ZodOptional<z.ZodString>;
3928
+ function: z.ZodOptional<z.ZodString>;
3929
+ key: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
3930
+ type: z.ZodEnum<{
3931
+ string: "string";
3932
+ number: "number";
3933
+ boolean: "boolean";
3934
+ guid: "guid";
3935
+ integer: "integer";
3936
+ decimal: "decimal";
3937
+ datetime: "datetime";
3938
+ datetimeoffset: "datetimeoffset";
3939
+ }>;
3940
+ description: z.ZodString;
3941
+ property: z.ZodOptional<z.ZodString>;
3942
+ required: z.ZodOptional<z.ZodBoolean>;
3943
+ limit: z.ZodOptional<z.ZodString>;
3944
+ }, z.core.$strict>>>;
3945
+ filters: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
3946
+ type: z.ZodEnum<{
3947
+ string: "string";
3948
+ number: "number";
3949
+ boolean: "boolean";
3950
+ guid: "guid";
3951
+ integer: "integer";
3952
+ decimal: "decimal";
3953
+ datetime: "datetime";
3954
+ datetimeoffset: "datetimeoffset";
3955
+ }>;
3956
+ description: z.ZodString;
3957
+ property: z.ZodOptional<z.ZodString>;
3958
+ required: z.ZodOptional<z.ZodBoolean>;
3959
+ limit: z.ZodOptional<z.ZodString>;
3960
+ op: z.ZodDefault<z.ZodEnum<{
3961
+ eq: "eq";
3962
+ ne: "ne";
3963
+ gt: "gt";
3964
+ ge: "ge";
3965
+ lt: "lt";
3966
+ le: "le";
3967
+ contains: "contains";
3968
+ startswith: "startswith";
3969
+ }>>;
3970
+ }, z.core.$strict>>>;
3971
+ fields: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
3972
+ type: z.ZodEnum<{
3973
+ string: "string";
3974
+ number: "number";
3975
+ boolean: "boolean";
3976
+ guid: "guid";
3977
+ integer: "integer";
3978
+ decimal: "decimal";
3979
+ datetime: "datetime";
3980
+ datetimeoffset: "datetimeoffset";
3981
+ }>;
3982
+ description: z.ZodString;
3983
+ property: z.ZodOptional<z.ZodString>;
3984
+ required: z.ZodOptional<z.ZodBoolean>;
3985
+ limit: z.ZodOptional<z.ZodString>;
3986
+ }, z.core.$strict>>>;
3987
+ params: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
3988
+ type: z.ZodEnum<{
3989
+ string: "string";
3990
+ number: "number";
3991
+ boolean: "boolean";
3992
+ guid: "guid";
3993
+ integer: "integer";
3994
+ decimal: "decimal";
3995
+ datetime: "datetime";
3996
+ datetimeoffset: "datetimeoffset";
3997
+ }>;
3998
+ description: z.ZodString;
3999
+ property: z.ZodOptional<z.ZodString>;
4000
+ required: z.ZodOptional<z.ZodBoolean>;
4001
+ limit: z.ZodOptional<z.ZodString>;
4002
+ }, z.core.$strict>>>;
4003
+ select: z.ZodDefault<z.ZodArray<z.ZodString>>;
4004
+ orderBy: z.ZodOptional<z.ZodString>;
4005
+ top: z.ZodDefault<z.ZodNumber>;
4006
+ destructive: z.ZodDefault<z.ZodBoolean>;
4007
+ answerLimits: z.ZodDefault<z.ZodArray<z.ZodObject<{
4008
+ field: z.ZodString;
4009
+ limit: z.ZodString;
4010
+ }, z.core.$strict>>>;
4011
+ }, z.core.$strict>>;
4012
+ allowInsecureHttp: z.ZodDefault<z.ZodBoolean>;
4013
+ }, z.core.$strict>>;
4014
+ sql: z.ZodOptional<z.ZodObject<{
4015
+ engine: z.ZodEnum<{
4016
+ postgres: "postgres";
4017
+ sqlserver: "sqlserver";
4018
+ mysql: "mysql";
4019
+ oracle: "oracle";
4020
+ }>;
4021
+ host: z.ZodString;
4022
+ port: z.ZodOptional<z.ZodNumber>;
4023
+ database: z.ZodString;
4024
+ auth: z.ZodObject<{
4025
+ user: z.ZodString;
4026
+ password: z.ZodString;
2056
4027
  }, z.core.$strict>;
2057
- filter: z.ZodOptional<z.ZodString>;
2058
- items: z.ZodString;
2059
- wrap: z.ZodOptional<z.ZodString>;
2060
- cursor: z.ZodString;
2061
- deliveryId: z.ZodArray<z.ZodString>;
4028
+ tls: z.ZodDefault<z.ZodEnum<{
4029
+ verify: "verify";
4030
+ insecure: "insecure";
4031
+ off: "off";
4032
+ }>>;
4033
+ timeoutSeconds: z.ZodDefault<z.ZodNumber>;
4034
+ maxRows: z.ZodDefault<z.ZodNumber>;
4035
+ tools: z.ZodArray<z.ZodObject<{
4036
+ name: z.ZodString;
4037
+ description: z.ZodString;
4038
+ sql: z.ZodString;
4039
+ params: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
4040
+ type: z.ZodEnum<{
4041
+ string: "string";
4042
+ number: "number";
4043
+ boolean: "boolean";
4044
+ integer: "integer";
4045
+ }>;
4046
+ description: z.ZodString;
4047
+ required: z.ZodDefault<z.ZodBoolean>;
4048
+ limit: z.ZodOptional<z.ZodString>;
4049
+ }, z.core.$strict>>>;
4050
+ write: z.ZodDefault<z.ZodBoolean>;
4051
+ destructive: z.ZodDefault<z.ZodBoolean>;
4052
+ answerLimits: z.ZodDefault<z.ZodArray<z.ZodObject<{
4053
+ column: z.ZodString;
4054
+ limit: z.ZodString;
4055
+ }, z.core.$strict>>>;
4056
+ }, z.core.$strict>>;
4057
+ }, z.core.$strict>>;
4058
+ events: z.ZodOptional<z.ZodObject<{
2062
4059
  types: z.ZodArray<z.ZodObject<{
2063
- type: z.ZodString;
2064
- since: z.ZodOptional<z.ZodString>;
4060
+ id: z.ZodString;
4061
+ label: z.ZodString;
4062
+ }, z.core.$strict>>;
4063
+ fields: z.ZodRecord<z.ZodString, z.ZodString>;
4064
+ limits: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
4065
+ webhook: z.ZodOptional<z.ZodObject<{
4066
+ verify: z.ZodDiscriminatedUnion<[z.ZodObject<{
4067
+ type: z.ZodLiteral<"hmac-sha256">;
4068
+ header: z.ZodString;
4069
+ prefix: z.ZodDefault<z.ZodString>;
4070
+ }, z.core.$strict>, z.ZodObject<{
4071
+ type: z.ZodLiteral<"token">;
4072
+ header: z.ZodString;
4073
+ }, z.core.$strict>, z.ZodObject<{
4074
+ type: z.ZodLiteral<"none">;
4075
+ }, z.core.$strict>], "type">;
4076
+ allowInsecure: z.ZodDefault<z.ZodBoolean>;
4077
+ type: z.ZodUnion<readonly [z.ZodObject<{
4078
+ field: z.ZodString;
4079
+ }, z.core.$strict>, z.ZodObject<{
4080
+ header: z.ZodString;
4081
+ }, z.core.$strict>]>;
4082
+ deliveryId: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
4083
+ field: z.ZodString;
4084
+ }, z.core.$strict>, z.ZodObject<{
4085
+ header: z.ZodString;
4086
+ }, z.core.$strict>]>>;
4087
+ timestamp: z.ZodOptional<z.ZodObject<{
4088
+ at: z.ZodUnion<readonly [z.ZodObject<{
4089
+ field: z.ZodString;
4090
+ }, z.core.$strict>, z.ZodObject<{
4091
+ header: z.ZodString;
4092
+ }, z.core.$strict>]>;
4093
+ unit: z.ZodEnum<{
4094
+ s: "s";
4095
+ ms: "ms";
4096
+ iso: "iso";
4097
+ }>;
4098
+ toleranceSeconds: z.ZodDefault<z.ZodNumber>;
4099
+ }, z.core.$strict>>;
4100
+ setup: z.ZodArray<z.ZodObject<{
4101
+ title: z.ZodString;
4102
+ body: z.ZodString;
4103
+ link: z.ZodOptional<z.ZodObject<{
4104
+ label: z.ZodString;
4105
+ href: z.ZodURL;
4106
+ }, z.core.$strict>>;
4107
+ copy: z.ZodOptional<z.ZodArray<z.ZodString>>;
4108
+ shell: z.ZodOptional<z.ZodEnum<{
4109
+ bash: "bash";
4110
+ powershell: "powershell";
4111
+ }>>;
4112
+ permissions: z.ZodOptional<z.ZodBoolean>;
4113
+ certificate: z.ZodOptional<z.ZodBoolean>;
4114
+ click: z.ZodOptional<z.ZodArray<z.ZodString>>;
4115
+ clickUnavailable: z.ZodOptional<z.ZodLiteral<true>>;
4116
+ siteRole: z.ZodOptional<z.ZodEnum<{
4117
+ read: "read";
4118
+ write: "write";
4119
+ }>>;
4120
+ agentCheck: z.ZodOptional<z.ZodBoolean>;
4121
+ confirm: z.ZodOptional<z.ZodString>;
4122
+ live: z.ZodOptional<z.ZodString>;
4123
+ settings: z.ZodOptional<z.ZodArray<z.ZodObject<{
4124
+ id: z.ZodString;
4125
+ label: z.ZodString;
4126
+ help: z.ZodOptional<z.ZodString>;
4127
+ placeholder: z.ZodOptional<z.ZodString>;
4128
+ pattern: z.ZodString;
4129
+ }, z.core.$strict>>>;
4130
+ option: z.ZodOptional<z.ZodObject<{
4131
+ field: z.ZodString;
4132
+ value: z.ZodString;
4133
+ }, z.core.$strict>>;
4134
+ }, z.core.$strict>>;
4135
+ register: z.ZodOptional<z.ZodObject<{
4136
+ method: z.ZodEnum<{
4137
+ GET: "GET";
4138
+ POST: "POST";
4139
+ PUT: "PUT";
4140
+ }>;
4141
+ path: z.ZodString;
4142
+ body: z.ZodOptional<z.ZodUnknown>;
4143
+ location: z.ZodString;
4144
+ }, z.core.$strict>>;
4145
+ }, z.core.$strict>>;
4146
+ self: z.ZodOptional<z.ZodObject<{
4147
+ request: z.ZodObject<{
4148
+ method: z.ZodEnum<{
4149
+ GET: "GET";
4150
+ POST: "POST";
4151
+ PUT: "PUT";
4152
+ }>;
4153
+ path: z.ZodString;
4154
+ body: z.ZodOptional<z.ZodUnknown>;
4155
+ }, z.core.$strict>;
4156
+ id: z.ZodString;
4157
+ fields: z.ZodArray<z.ZodString>;
4158
+ }, z.core.$strict>>;
4159
+ poll: z.ZodOptional<z.ZodObject<{
4160
+ request: z.ZodObject<{
4161
+ method: z.ZodEnum<{
4162
+ GET: "GET";
4163
+ POST: "POST";
4164
+ PUT: "PUT";
4165
+ }>;
4166
+ path: z.ZodString;
4167
+ body: z.ZodOptional<z.ZodUnknown>;
4168
+ }, z.core.$strict>;
4169
+ filter: z.ZodOptional<z.ZodString>;
4170
+ items: z.ZodString;
4171
+ wrap: z.ZodOptional<z.ZodString>;
4172
+ cursor: z.ZodString;
4173
+ deliveryId: z.ZodArray<z.ZodString>;
4174
+ types: z.ZodArray<z.ZodObject<{
4175
+ type: z.ZodString;
4176
+ since: z.ZodOptional<z.ZodString>;
4177
+ }, z.core.$strict>>;
2065
4178
  }, z.core.$strict>>;
2066
4179
  }, z.core.$strict>>;
2067
- }, z.core.$strict>>;
2068
- }, z.core.$strict>>;
4180
+ }, z.core.$strict>;
4181
+ created: z.ZodBoolean;
4182
+ disconnected: z.ZodBoolean;
4183
+ grantsRemoved: z.ZodArray<z.ZodString>;
4184
+ }, z.core.$strict>;
4185
+ };
4186
+ };
4187
+ readonly deleteInternalApp: {
4188
+ readonly method: "DELETE";
4189
+ readonly path: "/orgs/{org}/internal-apps/{app}";
4190
+ readonly summary: "Removes one of the organization's own apps, its connection and every agent's access to it";
4191
+ readonly body: z.ZodObject<{
4192
+ by: z.ZodString;
4193
+ }, z.core.$strip>;
4194
+ readonly responses: {
4195
+ readonly 404: z.ZodObject<{
4196
+ error: z.ZodString;
4197
+ }, z.core.$strict>;
4198
+ readonly 204: null;
4199
+ };
4200
+ };
4201
+ readonly draftInternalApp: {
4202
+ readonly method: "POST";
4203
+ readonly path: "/internal-apps/draft";
4204
+ readonly summary: "Drafts an internal app's definition from an OpenAPI 3.x spec (JSON)";
4205
+ readonly body: z.ZodObject<{
4206
+ spec: z.ZodRecord<z.ZodString, z.ZodUnknown>;
4207
+ id: z.ZodString;
4208
+ operations: z.ZodOptional<z.ZodArray<z.ZodString>>;
4209
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
4210
+ }, z.core.$strip>;
4211
+ readonly responses: {
4212
+ readonly 200: z.ZodObject<{
4213
+ definition: z.ZodRecord<z.ZodString, z.ZodUnknown>;
4214
+ notes: z.ZodArray<z.ZodString>;
4215
+ problem: z.ZodNullable<z.ZodString>;
4216
+ }, z.core.$strict>;
2069
4217
  };
2070
4218
  };
2071
4219
  readonly providers: {