@orq-ai/node 4.14.0 → 4.14.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (151) hide show
  1. package/jsr.json +1 -1
  2. package/lib/config.d.ts +2 -2
  3. package/lib/config.js +2 -2
  4. package/models/components/evaluatorresponsefunction.js +2 -2
  5. package/models/components/evaluatorresponsehttp.js +2 -2
  6. package/models/components/evaluatorresponsejsonschema.js +2 -2
  7. package/models/components/evaluatorresponsellm.js +2 -2
  8. package/models/components/evaluatorresponsepython.js +2 -2
  9. package/models/components/evaluatorresponseragas.js +2 -2
  10. package/models/components/evaluatorresponsetypescript.js +2 -2
  11. package/models/components/reasoningpart.js +1 -1
  12. package/models/operations/createannotationqueue.js +1 -1
  13. package/models/operations/createdataset.js +1 -1
  14. package/models/operations/createdatasetitem.js +5 -5
  15. package/models/operations/createtool.js +4 -4
  16. package/models/operations/getalltools.js +4 -4
  17. package/models/operations/geteval.js +16 -16
  18. package/models/operations/getv2humanevalsets.js +2 -2
  19. package/models/operations/getv2humanevalsetsid.js +2 -2
  20. package/models/operations/listannotationqueues.js +1 -1
  21. package/models/operations/listdatasetdatapoints.js +5 -5
  22. package/models/operations/listdatasets.js +1 -1
  23. package/models/operations/patchv2humanevalsetsid.js +2 -2
  24. package/models/operations/postv2feedbackevaluation.js +4 -4
  25. package/models/operations/postv2humanevalsets.js +2 -2
  26. package/models/operations/retrieveannotationqueue.js +1 -1
  27. package/models/operations/retrievedatapoint.js +5 -5
  28. package/models/operations/retrievedataset.js +1 -1
  29. package/models/operations/retrievetool.js +4 -4
  30. package/models/operations/runagent.js +1 -1
  31. package/models/operations/streamrunagent.js +1 -1
  32. package/models/operations/updateannotationqueue.js +1 -1
  33. package/models/operations/updatedatapoint.js +5 -5
  34. package/models/operations/updatedataset.js +1 -1
  35. package/models/operations/updatetool.js +4 -4
  36. package/package.json +1 -1
  37. package/packages/orq-rc/src/funcs/{mcpServersTest.ts → fileSystemsCreate.ts} +13 -13
  38. package/packages/orq-rc/src/funcs/fileSystemsCreateFolder.ts +173 -0
  39. package/packages/orq-rc/src/funcs/fileSystemsDelete.ts +169 -0
  40. package/packages/orq-rc/src/funcs/fileSystemsDeleteFile.ts +183 -0
  41. package/packages/orq-rc/src/funcs/fileSystemsList.ts +172 -0
  42. package/packages/orq-rc/src/funcs/fileSystemsListFiles.ts +177 -0
  43. package/packages/orq-rc/src/funcs/fileSystemsMoveFile.ts +173 -0
  44. package/packages/orq-rc/src/funcs/fileSystemsRetrieve.ts +168 -0
  45. package/packages/orq-rc/src/funcs/fileSystemsStatFile.ts +175 -0
  46. package/packages/orq-rc/src/funcs/fileSystemsUpdate.ts +171 -0
  47. package/packages/orq-rc/src/lib/config.ts +2 -2
  48. package/packages/orq-rc/src/models/components/agenttoolinputcrud.ts +8 -0
  49. package/packages/orq-rc/src/models/components/createfilesystemfolderrequest.ts +36 -0
  50. package/packages/orq-rc/src/models/components/createfilesystemfolderresponse.ts +31 -0
  51. package/packages/orq-rc/src/models/components/createfilesystemrequest.ts +94 -0
  52. package/packages/orq-rc/src/models/components/deletefilesystemfileresponse.ts +49 -0
  53. package/packages/orq-rc/src/models/components/deletefilesystemresponse.ts +27 -0
  54. package/packages/orq-rc/src/models/components/evaluatorresponsefunction.ts +2 -2
  55. package/packages/orq-rc/src/models/components/evaluatorresponsehttp.ts +2 -2
  56. package/packages/orq-rc/src/models/components/evaluatorresponsejsonschema.ts +2 -2
  57. package/packages/orq-rc/src/models/components/evaluatorresponsellm.ts +2 -2
  58. package/packages/orq-rc/src/models/components/evaluatorresponsepython.ts +2 -2
  59. package/packages/orq-rc/src/models/components/evaluatorresponseragas.ts +2 -2
  60. package/packages/orq-rc/src/models/components/evaluatorresponsetypescript.ts +2 -2
  61. package/packages/orq-rc/src/models/components/fileentry.ts +86 -0
  62. package/packages/orq-rc/src/models/components/filesystem.ts +116 -0
  63. package/packages/orq-rc/src/models/components/filesystemexternalaccess.ts +20 -0
  64. package/packages/orq-rc/src/models/components/filesystemtoolinput.ts +51 -0
  65. package/packages/orq-rc/src/models/components/index.ts +16 -3
  66. package/packages/orq-rc/src/models/components/knowledgebasesservicelistresponse.ts +9 -6
  67. package/packages/orq-rc/src/models/components/listfilesystemfilesresponse.ts +57 -0
  68. package/packages/orq-rc/src/models/components/listfilesystemsresponse.ts +51 -0
  69. package/packages/orq-rc/src/models/components/mcpaccess.ts +13 -0
  70. package/packages/orq-rc/src/models/components/movefilesystemfilerequest.ts +40 -0
  71. package/packages/orq-rc/src/models/components/movefilesystemfileresponse.ts +33 -0
  72. package/packages/orq-rc/src/models/components/orqsidekicktool.ts +22 -5
  73. package/packages/orq-rc/src/models/components/publicusage.ts +7 -0
  74. package/packages/orq-rc/src/models/components/reasoningpart.ts +1 -1
  75. package/packages/orq-rc/src/models/components/servertoolusedetails.ts +63 -0
  76. package/packages/orq-rc/src/models/components/statfilesystemfileresponse.ts +63 -0
  77. package/packages/orq-rc/src/models/components/updatefilesystemrequest.ts +83 -0
  78. package/packages/orq-rc/src/models/operations/createannotationqueue.ts +1 -1
  79. package/packages/orq-rc/src/models/operations/createdataset.ts +1 -1
  80. package/packages/orq-rc/src/models/operations/createdatasetitem.ts +5 -5
  81. package/packages/orq-rc/src/models/operations/createfolder.ts +43 -0
  82. package/packages/orq-rc/src/models/operations/createrouterresponse.ts +139 -9
  83. package/packages/orq-rc/src/models/operations/createtool.ts +4 -4
  84. package/packages/orq-rc/src/models/operations/deletefile.ts +42 -0
  85. package/packages/orq-rc/src/models/operations/deletefilesystem.ts +36 -0
  86. package/packages/orq-rc/src/models/operations/getalltools.ts +4 -4
  87. package/packages/orq-rc/src/models/operations/geteval.ts +16 -16
  88. package/packages/orq-rc/src/models/operations/getv2humanevalsets.ts +2 -2
  89. package/packages/orq-rc/src/models/operations/getv2humanevalsetsid.ts +2 -2
  90. package/packages/orq-rc/src/models/operations/index.ts +9 -0
  91. package/packages/orq-rc/src/models/operations/listannotationqueues.ts +1 -1
  92. package/packages/orq-rc/src/models/operations/listdatasetdatapoints.ts +5 -5
  93. package/packages/orq-rc/src/models/operations/listdatasets.ts +1 -1
  94. package/packages/orq-rc/src/models/operations/listfiles.ts +46 -0
  95. package/packages/orq-rc/src/models/operations/listfilesystems.ts +50 -0
  96. package/packages/orq-rc/src/models/operations/movefile.ts +40 -0
  97. package/packages/orq-rc/src/models/operations/patchv2humanevalsetsid.ts +2 -2
  98. package/packages/orq-rc/src/models/operations/postv2feedbackevaluation.ts +4 -4
  99. package/packages/orq-rc/src/models/operations/postv2humanevalsets.ts +2 -2
  100. package/packages/orq-rc/src/models/operations/retrieveannotationqueue.ts +1 -1
  101. package/packages/orq-rc/src/models/operations/retrievedatapoint.ts +5 -5
  102. package/packages/orq-rc/src/models/operations/retrievedataset.ts +1 -1
  103. package/packages/orq-rc/src/models/operations/retrievefilesystem.ts +36 -0
  104. package/packages/orq-rc/src/models/operations/retrievetool.ts +4 -4
  105. package/packages/orq-rc/src/models/operations/runagent.ts +15 -9
  106. package/packages/orq-rc/src/models/operations/statfile.ts +37 -0
  107. package/packages/orq-rc/src/models/operations/streamrunagent.ts +15 -9
  108. package/packages/orq-rc/src/models/operations/updateannotationqueue.ts +1 -1
  109. package/packages/orq-rc/src/models/operations/updatedatapoint.ts +5 -5
  110. package/packages/orq-rc/src/models/operations/updatedataset.ts +1 -1
  111. package/packages/orq-rc/src/models/operations/updatefilesystem.ts +41 -0
  112. package/packages/orq-rc/src/models/operations/updatetool.ts +4 -4
  113. package/packages/orq-rc/src/sdk/filesystems.ts +190 -0
  114. package/packages/orq-rc/src/sdk/mcpservers.ts +0 -18
  115. package/packages/orq-rc/src/sdk/sdk.ts +6 -0
  116. package/src/lib/config.ts +2 -2
  117. package/src/models/components/evaluatorresponsefunction.ts +2 -2
  118. package/src/models/components/evaluatorresponsehttp.ts +2 -2
  119. package/src/models/components/evaluatorresponsejsonschema.ts +2 -2
  120. package/src/models/components/evaluatorresponsellm.ts +2 -2
  121. package/src/models/components/evaluatorresponsepython.ts +2 -2
  122. package/src/models/components/evaluatorresponseragas.ts +2 -2
  123. package/src/models/components/evaluatorresponsetypescript.ts +2 -2
  124. package/src/models/components/reasoningpart.ts +1 -1
  125. package/src/models/operations/createannotationqueue.ts +1 -1
  126. package/src/models/operations/createdataset.ts +1 -1
  127. package/src/models/operations/createdatasetitem.ts +5 -5
  128. package/src/models/operations/createtool.ts +4 -4
  129. package/src/models/operations/getalltools.ts +4 -4
  130. package/src/models/operations/geteval.ts +16 -16
  131. package/src/models/operations/getv2humanevalsets.ts +2 -2
  132. package/src/models/operations/getv2humanevalsetsid.ts +2 -2
  133. package/src/models/operations/listannotationqueues.ts +1 -1
  134. package/src/models/operations/listdatasetdatapoints.ts +5 -5
  135. package/src/models/operations/listdatasets.ts +1 -1
  136. package/src/models/operations/patchv2humanevalsetsid.ts +2 -2
  137. package/src/models/operations/postv2feedbackevaluation.ts +4 -4
  138. package/src/models/operations/postv2humanevalsets.ts +2 -2
  139. package/src/models/operations/retrieveannotationqueue.ts +1 -1
  140. package/src/models/operations/retrievedatapoint.ts +5 -5
  141. package/src/models/operations/retrievedataset.ts +1 -1
  142. package/src/models/operations/retrievetool.ts +4 -4
  143. package/src/models/operations/runagent.ts +1 -1
  144. package/src/models/operations/streamrunagent.ts +1 -1
  145. package/src/models/operations/updateannotationqueue.ts +1 -1
  146. package/src/models/operations/updatedatapoint.ts +5 -5
  147. package/src/models/operations/updatedataset.ts +1 -1
  148. package/src/models/operations/updatetool.ts +4 -4
  149. package/packages/orq-rc/src/models/components/mcptestresult.ts +0 -61
  150. package/packages/orq-rc/src/models/components/testmcpserverrequest.ts +0 -67
  151. package/packages/orq-rc/src/models/components/testmcpserverresponse.ts +0 -32
@@ -646,9 +646,19 @@ export type Network = {
646
646
  };
647
647
 
648
648
  /**
649
- * The orq.ai tool type.
649
+ * The orq.ai tool type. orq:web_search, orq:web_fetch, and orq:datetime are the canonical names for orq:google_search, orq:web_scraper, and orq:current_date.
650
650
  */
651
651
  export const CreateRouterResponseToolsResponsesType = {
652
+ OrqWebSearch: "orq:web_search",
653
+ OrqWebFetch: "orq:web_fetch",
654
+ OrqDatetime: "orq:datetime",
655
+ OrqSearchModels: "orq:search_models",
656
+ OrqImageGeneration: "orq:image_generation",
657
+ OrqApplyPatch: "orq:apply_patch",
658
+ OrqFusion: "orq:fusion",
659
+ OrqShell: "orq:shell",
660
+ OrqQueryKnowledgeBase: "orq:query_knowledge_base",
661
+ OrqRetrieveKnowledgeBases: "orq:retrieve_knowledge_bases",
652
662
  OrqCurrentDate: "orq:current_date",
653
663
  OrqGoogleSearch: "orq:google_search",
654
664
  OrqWebScraper: "orq:web_scraper",
@@ -658,7 +668,7 @@ export const CreateRouterResponseToolsResponsesType = {
658
668
  OrqFunction: "orq:function",
659
669
  } as const;
660
670
  /**
661
- * The orq.ai tool type.
671
+ * The orq.ai tool type. orq:web_search, orq:web_fetch, and orq:datetime are the canonical names for orq:google_search, orq:web_scraper, and orq:current_date.
662
672
  */
663
673
  export type CreateRouterResponseToolsResponsesType = ClosedEnum<
664
674
  typeof CreateRouterResponseToolsResponsesType
@@ -676,12 +686,16 @@ export type OrqAiTool = {
676
686
  * Network access intent for orq:code_interpreter. Stored and validated today; runtime enforcement by the sandbox egress layer is rolling out and until then sandbox executions retain default public internet egress.
677
687
  */
678
688
  network?: Network | undefined;
689
+ /**
690
+ * Default IANA timezone for orq:datetime (e.g., "Europe/Amsterdam").
691
+ */
692
+ timezone?: string | undefined;
679
693
  /**
680
694
  * The tool ID (for orq:mcp, orq:http, orq:function).
681
695
  */
682
696
  toolId?: string | undefined;
683
697
  /**
684
- * The orq.ai tool type.
698
+ * The orq.ai tool type. orq:web_search, orq:web_fetch, and orq:datetime are the canonical names for orq:google_search, orq:web_scraper, and orq:current_date.
685
699
  */
686
700
  type: CreateRouterResponseToolsResponsesType;
687
701
  };
@@ -771,7 +785,18 @@ export type ToolsFunction = {
771
785
  export type CreateRouterResponseTools =
772
786
  | ToolsFunction
773
787
  | components.OrqAdvisorTool
774
- | components.OrqSidekickTool
788
+ | (components.OrqSidekickTool & { type: "orq:subagent" })
789
+ | (components.OrqSidekickTool & { type: "orq:sidekick" })
790
+ | (OrqAiTool & { type: "orq:web_search" })
791
+ | (OrqAiTool & { type: "orq:web_fetch" })
792
+ | (OrqAiTool & { type: "orq:datetime" })
793
+ | (OrqAiTool & { type: "orq:search_models" })
794
+ | (OrqAiTool & { type: "orq:image_generation" })
795
+ | (OrqAiTool & { type: "orq:apply_patch" })
796
+ | (OrqAiTool & { type: "orq:fusion" })
797
+ | (OrqAiTool & { type: "orq:shell" })
798
+ | (OrqAiTool & { type: "orq:query_knowledge_base" })
799
+ | (OrqAiTool & { type: "orq:retrieve_knowledge_bases" })
775
800
  | (OrqAiTool & { type: "orq:current_date" })
776
801
  | (OrqAiTool & { type: "orq:google_search" })
777
802
  | (OrqAiTool & { type: "orq:web_scraper" })
@@ -909,7 +934,18 @@ export type CreateRouterResponseRequestBody = {
909
934
  | Array<
910
935
  | ToolsFunction
911
936
  | components.OrqAdvisorTool
912
- | components.OrqSidekickTool
937
+ | (components.OrqSidekickTool & { type: "orq:subagent" })
938
+ | (components.OrqSidekickTool & { type: "orq:sidekick" })
939
+ | (OrqAiTool & { type: "orq:web_search" })
940
+ | (OrqAiTool & { type: "orq:web_fetch" })
941
+ | (OrqAiTool & { type: "orq:datetime" })
942
+ | (OrqAiTool & { type: "orq:search_models" })
943
+ | (OrqAiTool & { type: "orq:image_generation" })
944
+ | (OrqAiTool & { type: "orq:apply_patch" })
945
+ | (OrqAiTool & { type: "orq:fusion" })
946
+ | (OrqAiTool & { type: "orq:shell" })
947
+ | (OrqAiTool & { type: "orq:query_knowledge_base" })
948
+ | (OrqAiTool & { type: "orq:retrieve_knowledge_bases" })
913
949
  | (OrqAiTool & { type: "orq:current_date" })
914
950
  | (OrqAiTool & { type: "orq:google_search" })
915
951
  | (OrqAiTool & { type: "orq:web_scraper" })
@@ -1732,6 +1768,7 @@ export const CreateRouterResponseToolsResponsesType$outboundSchema:
1732
1768
  export type OrqAiTool$Outbound = {
1733
1769
  files?: Array<Files$Outbound> | undefined;
1734
1770
  network?: Network$Outbound | undefined;
1771
+ timezone?: string | undefined;
1735
1772
  tool_id?: string | undefined;
1736
1773
  type: string;
1737
1774
  };
@@ -1744,6 +1781,7 @@ export const OrqAiTool$outboundSchema: z.ZodType<
1744
1781
  > = z.object({
1745
1782
  files: z.array(z.lazy(() => Files$outboundSchema)).optional(),
1746
1783
  network: z.lazy(() => Network$outboundSchema).optional(),
1784
+ timezone: z.string().optional(),
1747
1785
  toolId: z.string().optional(),
1748
1786
  type: CreateRouterResponseToolsResponsesType$outboundSchema,
1749
1787
  }).transform((v) => {
@@ -1824,7 +1862,18 @@ export function toolsFunctionToJSON(toolsFunction: ToolsFunction): string {
1824
1862
  export type CreateRouterResponseTools$Outbound =
1825
1863
  | ToolsFunction$Outbound
1826
1864
  | components.OrqAdvisorTool$Outbound
1827
- | components.OrqSidekickTool$Outbound
1865
+ | (components.OrqSidekickTool$Outbound & { type: "orq:subagent" })
1866
+ | (components.OrqSidekickTool$Outbound & { type: "orq:sidekick" })
1867
+ | (OrqAiTool$Outbound & { type: "orq:web_search" })
1868
+ | (OrqAiTool$Outbound & { type: "orq:web_fetch" })
1869
+ | (OrqAiTool$Outbound & { type: "orq:datetime" })
1870
+ | (OrqAiTool$Outbound & { type: "orq:search_models" })
1871
+ | (OrqAiTool$Outbound & { type: "orq:image_generation" })
1872
+ | (OrqAiTool$Outbound & { type: "orq:apply_patch" })
1873
+ | (OrqAiTool$Outbound & { type: "orq:fusion" })
1874
+ | (OrqAiTool$Outbound & { type: "orq:shell" })
1875
+ | (OrqAiTool$Outbound & { type: "orq:query_knowledge_base" })
1876
+ | (OrqAiTool$Outbound & { type: "orq:retrieve_knowledge_bases" })
1828
1877
  | (OrqAiTool$Outbound & { type: "orq:current_date" })
1829
1878
  | (OrqAiTool$Outbound & { type: "orq:google_search" })
1830
1879
  | (OrqAiTool$Outbound & { type: "orq:web_scraper" })
@@ -1842,7 +1891,42 @@ export const CreateRouterResponseTools$outboundSchema: z.ZodType<
1842
1891
  > = z.union([
1843
1892
  z.lazy(() => ToolsFunction$outboundSchema),
1844
1893
  components.OrqAdvisorTool$outboundSchema,
1845
- components.OrqSidekickTool$outboundSchema,
1894
+ components.OrqSidekickTool$outboundSchema.and(
1895
+ z.object({ type: z.literal("orq:subagent") }),
1896
+ ),
1897
+ components.OrqSidekickTool$outboundSchema.and(
1898
+ z.object({ type: z.literal("orq:sidekick") }),
1899
+ ),
1900
+ z.lazy(() => OrqAiTool$outboundSchema).and(
1901
+ z.object({ type: z.literal("orq:web_search") }),
1902
+ ),
1903
+ z.lazy(() => OrqAiTool$outboundSchema).and(
1904
+ z.object({ type: z.literal("orq:web_fetch") }),
1905
+ ),
1906
+ z.lazy(() => OrqAiTool$outboundSchema).and(
1907
+ z.object({ type: z.literal("orq:datetime") }),
1908
+ ),
1909
+ z.lazy(() => OrqAiTool$outboundSchema).and(
1910
+ z.object({ type: z.literal("orq:search_models") }),
1911
+ ),
1912
+ z.lazy(() => OrqAiTool$outboundSchema).and(
1913
+ z.object({ type: z.literal("orq:image_generation") }),
1914
+ ),
1915
+ z.lazy(() => OrqAiTool$outboundSchema).and(
1916
+ z.object({ type: z.literal("orq:apply_patch") }),
1917
+ ),
1918
+ z.lazy(() => OrqAiTool$outboundSchema).and(
1919
+ z.object({ type: z.literal("orq:fusion") }),
1920
+ ),
1921
+ z.lazy(() => OrqAiTool$outboundSchema).and(
1922
+ z.object({ type: z.literal("orq:shell") }),
1923
+ ),
1924
+ z.lazy(() => OrqAiTool$outboundSchema).and(
1925
+ z.object({ type: z.literal("orq:query_knowledge_base") }),
1926
+ ),
1927
+ z.lazy(() => OrqAiTool$outboundSchema).and(
1928
+ z.object({ type: z.literal("orq:retrieve_knowledge_bases") }),
1929
+ ),
1846
1930
  z.lazy(() => OrqAiTool$outboundSchema).and(
1847
1931
  z.object({ type: z.literal("orq:current_date") }),
1848
1932
  ),
@@ -1920,7 +2004,18 @@ export type CreateRouterResponseRequestBody$Outbound = {
1920
2004
  | Array<
1921
2005
  | ToolsFunction$Outbound
1922
2006
  | components.OrqAdvisorTool$Outbound
1923
- | components.OrqSidekickTool$Outbound
2007
+ | (components.OrqSidekickTool$Outbound & { type: "orq:subagent" })
2008
+ | (components.OrqSidekickTool$Outbound & { type: "orq:sidekick" })
2009
+ | (OrqAiTool$Outbound & { type: "orq:web_search" })
2010
+ | (OrqAiTool$Outbound & { type: "orq:web_fetch" })
2011
+ | (OrqAiTool$Outbound & { type: "orq:datetime" })
2012
+ | (OrqAiTool$Outbound & { type: "orq:search_models" })
2013
+ | (OrqAiTool$Outbound & { type: "orq:image_generation" })
2014
+ | (OrqAiTool$Outbound & { type: "orq:apply_patch" })
2015
+ | (OrqAiTool$Outbound & { type: "orq:fusion" })
2016
+ | (OrqAiTool$Outbound & { type: "orq:shell" })
2017
+ | (OrqAiTool$Outbound & { type: "orq:query_knowledge_base" })
2018
+ | (OrqAiTool$Outbound & { type: "orq:retrieve_knowledge_bases" })
1924
2019
  | (OrqAiTool$Outbound & { type: "orq:current_date" })
1925
2020
  | (OrqAiTool$Outbound & { type: "orq:google_search" })
1926
2021
  | (OrqAiTool$Outbound & { type: "orq:web_scraper" })
@@ -1995,7 +2090,42 @@ export const CreateRouterResponseRequestBody$outboundSchema: z.ZodType<
1995
2090
  z.union([
1996
2091
  z.lazy(() => ToolsFunction$outboundSchema),
1997
2092
  components.OrqAdvisorTool$outboundSchema,
1998
- components.OrqSidekickTool$outboundSchema,
2093
+ components.OrqSidekickTool$outboundSchema.and(
2094
+ z.object({ type: z.literal("orq:subagent") }),
2095
+ ),
2096
+ components.OrqSidekickTool$outboundSchema.and(
2097
+ z.object({ type: z.literal("orq:sidekick") }),
2098
+ ),
2099
+ z.lazy(() => OrqAiTool$outboundSchema).and(
2100
+ z.object({ type: z.literal("orq:web_search") }),
2101
+ ),
2102
+ z.lazy(() => OrqAiTool$outboundSchema).and(
2103
+ z.object({ type: z.literal("orq:web_fetch") }),
2104
+ ),
2105
+ z.lazy(() => OrqAiTool$outboundSchema).and(
2106
+ z.object({ type: z.literal("orq:datetime") }),
2107
+ ),
2108
+ z.lazy(() => OrqAiTool$outboundSchema).and(
2109
+ z.object({ type: z.literal("orq:search_models") }),
2110
+ ),
2111
+ z.lazy(() => OrqAiTool$outboundSchema).and(
2112
+ z.object({ type: z.literal("orq:image_generation") }),
2113
+ ),
2114
+ z.lazy(() => OrqAiTool$outboundSchema).and(
2115
+ z.object({ type: z.literal("orq:apply_patch") }),
2116
+ ),
2117
+ z.lazy(() => OrqAiTool$outboundSchema).and(
2118
+ z.object({ type: z.literal("orq:fusion") }),
2119
+ ),
2120
+ z.lazy(() => OrqAiTool$outboundSchema).and(
2121
+ z.object({ type: z.literal("orq:shell") }),
2122
+ ),
2123
+ z.lazy(() => OrqAiTool$outboundSchema).and(
2124
+ z.object({ type: z.literal("orq:query_knowledge_base") }),
2125
+ ),
2126
+ z.lazy(() => OrqAiTool$outboundSchema).and(
2127
+ z.object({ type: z.literal("orq:retrieve_knowledge_bases") }),
2128
+ ),
1999
2129
  z.lazy(() => OrqAiTool$outboundSchema).and(
2000
2130
  z.object({ type: z.literal("orq:current_date") }),
2001
2131
  ),
@@ -1573,7 +1573,7 @@ export const ResponseBodyCodeExecutionTool$inboundSchema: z.ZodType<
1573
1573
  z.ZodTypeDef,
1574
1574
  unknown
1575
1575
  > = z.object({
1576
- _id: z.string().default("tool_01M0WP2820WS2WWZZ6B5QM9NEY"),
1576
+ _id: z.string().default("tool_01M0YW8CA6RQF94W48FX334TCY"),
1577
1577
  path: z.string(),
1578
1578
  key: z.string(),
1579
1579
  display_name: z.string().optional(),
@@ -1760,7 +1760,7 @@ export const ResponseBodyHTTPTool$inboundSchema: z.ZodType<
1760
1760
  z.ZodTypeDef,
1761
1761
  unknown
1762
1762
  > = z.object({
1763
- _id: z.string().default("tool_01M0WP281ZD3QEPC3FEX7SNB5T"),
1763
+ _id: z.string().default("tool_01M0YW8CA5DA2M3TQNW7PCGD93"),
1764
1764
  path: z.string(),
1765
1765
  key: z.string(),
1766
1766
  display_name: z.string().optional(),
@@ -1853,7 +1853,7 @@ export const ResponseBodyJSONSchemaTool$inboundSchema: z.ZodType<
1853
1853
  z.ZodTypeDef,
1854
1854
  unknown
1855
1855
  > = z.object({
1856
- _id: z.string().default("tool_01M0WP281YH35WVE40HZK41PX7"),
1856
+ _id: z.string().default("tool_01M0YW8CA4JTKKW4JZAEG8JDQC"),
1857
1857
  path: z.string(),
1858
1858
  key: z.string(),
1859
1859
  display_name: z.string().optional(),
@@ -1954,7 +1954,7 @@ export const ResponseBodyFunctionTool$inboundSchema: z.ZodType<
1954
1954
  z.ZodTypeDef,
1955
1955
  unknown
1956
1956
  > = z.object({
1957
- _id: z.string().default("tool_01M0WP281XJQQ22Y4PS9RF0RZV"),
1957
+ _id: z.string().default("tool_01M0YW8CA3Y08PD7AHC5K629WG"),
1958
1958
  path: z.string(),
1959
1959
  key: z.string(),
1960
1960
  display_name: z.string().optional(),
@@ -0,0 +1,42 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod/v3";
6
+ import { remap as remap$ } from "../../lib/primitives.js";
7
+
8
+ export type DeleteFileRequest = {
9
+ fileSystemKey: string;
10
+ path?: string | undefined;
11
+ recursive?: boolean | undefined;
12
+ };
13
+
14
+ /** @internal */
15
+ export type DeleteFileRequest$Outbound = {
16
+ file_system_key: string;
17
+ path?: string | undefined;
18
+ recursive?: boolean | undefined;
19
+ };
20
+
21
+ /** @internal */
22
+ export const DeleteFileRequest$outboundSchema: z.ZodType<
23
+ DeleteFileRequest$Outbound,
24
+ z.ZodTypeDef,
25
+ DeleteFileRequest
26
+ > = z.object({
27
+ fileSystemKey: z.string(),
28
+ path: z.string().optional(),
29
+ recursive: z.boolean().optional(),
30
+ }).transform((v) => {
31
+ return remap$(v, {
32
+ fileSystemKey: "file_system_key",
33
+ });
34
+ });
35
+
36
+ export function deleteFileRequestToJSON(
37
+ deleteFileRequest: DeleteFileRequest,
38
+ ): string {
39
+ return JSON.stringify(
40
+ DeleteFileRequest$outboundSchema.parse(deleteFileRequest),
41
+ );
42
+ }
@@ -0,0 +1,36 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod/v3";
6
+ import { remap as remap$ } from "../../lib/primitives.js";
7
+
8
+ export type DeleteFileSystemRequest = {
9
+ fileSystemKey: string;
10
+ };
11
+
12
+ /** @internal */
13
+ export type DeleteFileSystemRequest$Outbound = {
14
+ file_system_key: string;
15
+ };
16
+
17
+ /** @internal */
18
+ export const DeleteFileSystemRequest$outboundSchema: z.ZodType<
19
+ DeleteFileSystemRequest$Outbound,
20
+ z.ZodTypeDef,
21
+ DeleteFileSystemRequest
22
+ > = z.object({
23
+ fileSystemKey: z.string(),
24
+ }).transform((v) => {
25
+ return remap$(v, {
26
+ fileSystemKey: "file_system_key",
27
+ });
28
+ });
29
+
30
+ export function deleteFileSystemRequestToJSON(
31
+ deleteFileSystemRequest: DeleteFileSystemRequest,
32
+ ): string {
33
+ return JSON.stringify(
34
+ DeleteFileSystemRequest$outboundSchema.parse(deleteFileSystemRequest),
35
+ );
36
+ }
@@ -639,7 +639,7 @@ export const DataCodeExecutionTool$inboundSchema: z.ZodType<
639
639
  z.ZodTypeDef,
640
640
  unknown
641
641
  > = z.object({
642
- _id: z.string().default("tool_01M0WP281PQRAEWVT4BDJ3A5EQ"),
642
+ _id: z.string().default("tool_01M0YW8C9XKPPEV3ZCGD5CDXXK"),
643
643
  path: z.string(),
644
644
  key: z.string(),
645
645
  display_name: z.string().optional(),
@@ -821,7 +821,7 @@ export const DataHTTPTool$inboundSchema: z.ZodType<
821
821
  z.ZodTypeDef,
822
822
  unknown
823
823
  > = z.object({
824
- _id: z.string().default("tool_01M0WP281NMR09B6J7MA80ZMTZ"),
824
+ _id: z.string().default("tool_01M0YW8C9VFJSYVXTM4JY1JMGB"),
825
825
  path: z.string(),
826
826
  key: z.string(),
827
827
  display_name: z.string().optional(),
@@ -914,7 +914,7 @@ export const DataJSONSchemaTool$inboundSchema: z.ZodType<
914
914
  z.ZodTypeDef,
915
915
  unknown
916
916
  > = z.object({
917
- _id: z.string().default("tool_01M0WP281MGX8MQJSP4WBE20X3"),
917
+ _id: z.string().default("tool_01M0YW8C9T6RXQWTW9D83ZAR3G"),
918
918
  path: z.string(),
919
919
  key: z.string(),
920
920
  display_name: z.string().optional(),
@@ -1012,7 +1012,7 @@ export const DataFunctionTool$inboundSchema: z.ZodType<
1012
1012
  z.ZodTypeDef,
1013
1013
  unknown
1014
1014
  > = z.object({
1015
- _id: z.string().default("tool_01M0WP281KTA3K47YGN3X61CX8"),
1015
+ _id: z.string().default("tool_01M0YW8C9S0QR0V336GN7AD4V7"),
1016
1016
  path: z.string(),
1017
1017
  key: z.string(),
1018
1018
  display_name: z.string().optional(),
@@ -846,8 +846,8 @@ export const BedrockGuardrail$inboundSchema: z.ZodType<
846
846
  display_name: z.string(),
847
847
  description: z.string(),
848
848
  owner: z.string(),
849
- created: z.string().default("2026-08-25T14:44:12.908Z"),
850
- updated: z.string().default("2026-08-25T14:44:12.908Z"),
849
+ created: z.string().default("2026-08-26T11:10:54.428Z"),
850
+ updated: z.string().default("2026-08-26T11:10:54.428Z"),
851
851
  created_by_id: z.nullable(z.string()).optional(),
852
852
  updated_by_id: z.nullable(z.string()).optional(),
853
853
  domain_id: z.string(),
@@ -949,8 +949,8 @@ export const Typescript$inboundSchema: z.ZodType<
949
949
  display_name: z.string(),
950
950
  description: z.string(),
951
951
  owner: z.string(),
952
- created: z.string().default("2026-08-25T14:44:12.908Z"),
953
- updated: z.string().default("2026-08-25T14:44:12.908Z"),
952
+ created: z.string().default("2026-08-26T11:10:54.428Z"),
953
+ updated: z.string().default("2026-08-26T11:10:54.428Z"),
954
954
  created_by_id: z.nullable(z.string()).optional(),
955
955
  updated_by_id: z.nullable(z.string()).optional(),
956
956
  domain_id: z.string(),
@@ -1046,8 +1046,8 @@ export const ResponseBodyPython$inboundSchema: z.ZodType<
1046
1046
  display_name: z.string(),
1047
1047
  description: z.string(),
1048
1048
  owner: z.string(),
1049
- created: z.string().default("2026-08-25T14:44:12.908Z"),
1050
- updated: z.string().default("2026-08-25T14:44:12.908Z"),
1049
+ created: z.string().default("2026-08-26T11:10:54.428Z"),
1050
+ updated: z.string().default("2026-08-26T11:10:54.428Z"),
1051
1051
  created_by_id: z.nullable(z.string()).optional(),
1052
1052
  updated_by_id: z.nullable(z.string()).optional(),
1053
1053
  domain_id: z.string(),
@@ -1144,8 +1144,8 @@ export const ResponseBodyHTTP$inboundSchema: z.ZodType<
1144
1144
  display_name: z.string(),
1145
1145
  description: z.string(),
1146
1146
  owner: z.string(),
1147
- created: z.string().default("2026-08-25T14:44:12.908Z"),
1148
- updated: z.string().default("2026-08-25T14:44:12.908Z"),
1147
+ created: z.string().default("2026-08-26T11:10:54.428Z"),
1148
+ updated: z.string().default("2026-08-26T11:10:54.428Z"),
1149
1149
  created_by_id: z.nullable(z.string()).optional(),
1150
1150
  updated_by_id: z.nullable(z.string()).optional(),
1151
1151
  domain_id: z.string(),
@@ -1228,8 +1228,8 @@ export const Json$inboundSchema: z.ZodType<Json, z.ZodTypeDef, unknown> = z
1228
1228
  display_name: z.string(),
1229
1229
  description: z.string(),
1230
1230
  owner: z.string(),
1231
- created: z.string().default("2026-08-25T14:44:12.908Z"),
1232
- updated: z.string().default("2026-08-25T14:44:12.908Z"),
1231
+ created: z.string().default("2026-08-26T11:10:54.428Z"),
1232
+ updated: z.string().default("2026-08-26T11:10:54.428Z"),
1233
1233
  created_by_id: z.nullable(z.string()).optional(),
1234
1234
  updated_by_id: z.nullable(z.string()).optional(),
1235
1235
  domain_id: z.string(),
@@ -1337,8 +1337,8 @@ export const Ragas$inboundSchema: z.ZodType<Ragas, z.ZodTypeDef, unknown> = z
1337
1337
  display_name: z.string(),
1338
1338
  description: z.string(),
1339
1339
  owner: z.string(),
1340
- created: z.string().default("2026-08-25T14:44:12.908Z"),
1341
- updated: z.string().default("2026-08-25T14:44:12.908Z"),
1340
+ created: z.string().default("2026-08-26T11:10:54.428Z"),
1341
+ updated: z.string().default("2026-08-26T11:10:54.428Z"),
1342
1342
  created_by_id: z.nullable(z.string()).optional(),
1343
1343
  updated_by_id: z.nullable(z.string()).optional(),
1344
1344
  domain_id: z.string(),
@@ -2056,8 +2056,8 @@ export const ResponseBodyFunction$inboundSchema: z.ZodType<
2056
2056
  display_name: z.string(),
2057
2057
  description: z.string(),
2058
2058
  owner: z.string(),
2059
- created: z.string().default("2026-08-25T14:44:12.908Z"),
2060
- updated: z.string().default("2026-08-25T14:44:12.908Z"),
2059
+ created: z.string().default("2026-08-26T11:10:54.428Z"),
2060
+ updated: z.string().default("2026-08-26T11:10:54.428Z"),
2061
2061
  created_by_id: z.nullable(z.string()).optional(),
2062
2062
  updated_by_id: z.nullable(z.string()).optional(),
2063
2063
  domain_id: z.string(),
@@ -2726,8 +2726,8 @@ export const ResponseBodyLLM$inboundSchema: z.ZodType<
2726
2726
  display_name: z.string(),
2727
2727
  description: z.string(),
2728
2728
  owner: z.string(),
2729
- created: z.string().default("2026-08-25T14:44:12.908Z"),
2730
- updated: z.string().default("2026-08-25T14:44:12.908Z"),
2729
+ created: z.string().default("2026-08-26T11:10:54.428Z"),
2730
+ updated: z.string().default("2026-08-26T11:10:54.428Z"),
2731
2731
  created_by_id: z.nullable(z.string()).optional(),
2732
2732
  updated_by_id: z.nullable(z.string()).optional(),
2733
2733
  domain_id: z.string(),
@@ -140,7 +140,7 @@ export const GetV2HumanEvalSetsResponseBody2$inboundSchema: z.ZodType<
140
140
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
141
141
  .optional(),
142
142
  updated: z.string().datetime({ offset: true }).default(
143
- "2026-08-25T14:44:11.279Z",
143
+ "2026-08-26T11:10:52.849Z",
144
144
  ).transform(v => new Date(v)),
145
145
  filter_type: z.literal("name"),
146
146
  filter_value: z.string(),
@@ -185,7 +185,7 @@ export const GetV2HumanEvalSetsResponseBody1$inboundSchema: z.ZodType<
185
185
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
186
186
  .optional(),
187
187
  updated: z.string().datetime({ offset: true }).default(
188
- "2026-08-25T14:44:11.279Z",
188
+ "2026-08-26T11:10:52.849Z",
189
189
  ).transform(v => new Date(v)),
190
190
  filter_type: z.literal("span_type"),
191
191
  filter_values: z.array(z.string()),
@@ -141,7 +141,7 @@ export const GetV2HumanEvalSetsIdResponseBody2$inboundSchema: z.ZodType<
141
141
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
142
142
  .optional(),
143
143
  updated: z.string().datetime({ offset: true }).default(
144
- "2026-08-25T14:44:11.279Z",
144
+ "2026-08-26T11:10:52.849Z",
145
145
  ).transform(v => new Date(v)),
146
146
  filter_type: z.literal("name"),
147
147
  filter_value: z.string(),
@@ -186,7 +186,7 @@ export const GetV2HumanEvalSetsIdResponseBody1$inboundSchema: z.ZodType<
186
186
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
187
187
  .optional(),
188
188
  updated: z.string().datetime({ offset: true }).default(
189
- "2026-08-25T14:44:11.279Z",
189
+ "2026-08-26T11:10:52.849Z",
190
190
  ).transform(v => new Date(v)),
191
191
  filter_type: z.literal("span_type"),
192
192
  filter_values: z.array(z.string()),
@@ -33,6 +33,7 @@ export * from "./createdatasetitem.js";
33
33
  export * from "./createdatasource.js";
34
34
  export * from "./createembedding.js";
35
35
  export * from "./createeval.js";
36
+ export * from "./createfolder.js";
36
37
  export * from "./createidentity.js";
37
38
  export * from "./createimage.js";
38
39
  export * from "./createimageedit.js";
@@ -57,6 +58,8 @@ export * from "./deletedatapoint.js";
57
58
  export * from "./deletedataset.js";
58
59
  export * from "./deletedatasource.js";
59
60
  export * from "./deleteeval.js";
61
+ export * from "./deletefile.js";
62
+ export * from "./deletefilesystem.js";
60
63
  export * from "./deleteidentity.js";
61
64
  export * from "./deleteknowledge.js";
62
65
  export * from "./deletememory.js";
@@ -112,6 +115,8 @@ export * from "./listchunkspaginated.js";
112
115
  export * from "./listdatasetdatapoints.js";
113
116
  export * from "./listdatasets.js";
114
117
  export * from "./listdatasources.js";
118
+ export * from "./listfiles.js";
119
+ export * from "./listfilesystems.js";
115
120
  export * from "./listidentities.js";
116
121
  export * from "./listknowledgebases.js";
117
122
  export * from "./listlogfacets.js";
@@ -150,6 +155,7 @@ export * from "./modelupdateawsbedrock.js";
150
155
  export * from "./modelupdateopenailike.js";
151
156
  export * from "./modelvalidate.js";
152
157
  export * from "./modelvalidateawsbedrock.js";
158
+ export * from "./movefile.js";
153
159
  export * from "./notifierdelete.js";
154
160
  export * from "./notifierget.js";
155
161
  export * from "./notifierlist.js";
@@ -179,6 +185,7 @@ export * from "./retrieveannotationqueueitem.js";
179
185
  export * from "./retrievedatapoint.js";
180
186
  export * from "./retrievedataset.js";
181
187
  export * from "./retrievedatasource.js";
188
+ export * from "./retrievefilesystem.js";
182
189
  export * from "./retrieveidentity.js";
183
190
  export * from "./retrievememory.js";
184
191
  export * from "./retrievememorydocument.js";
@@ -200,6 +207,7 @@ export * from "./smartrouterdelete.js";
200
207
  export * from "./smartrouterget.js";
201
208
  export * from "./smartrouterlist.js";
202
209
  export * from "./smartrouterupdate.js";
210
+ export * from "./statfile.js";
203
211
  export * from "./streamagent.js";
204
212
  export * from "./streamrunagent.js";
205
213
  export * from "./tracesget.js";
@@ -216,6 +224,7 @@ export * from "./updatedatapoint.js";
216
224
  export * from "./updatedataset.js";
217
225
  export * from "./updatedatasource.js";
218
226
  export * from "./updateeval.js";
227
+ export * from "./updatefilesystem.js";
219
228
  export * from "./updateidentity.js";
220
229
  export * from "./updateknowledge.js";
221
230
  export * from "./updatememory.js";
@@ -183,7 +183,7 @@ export const ListAnnotationQueuesData$inboundSchema: z.ZodType<
183
183
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
184
184
  .optional(),
185
185
  updated: z.string().datetime({ offset: true }).default(
186
- "2026-08-25T14:44:11.279Z",
186
+ "2026-08-26T11:10:52.849Z",
187
187
  ).transform(v => new Date(v)),
188
188
  }).transform((v) => {
189
189
  return remap$(v, {
@@ -1653,7 +1653,7 @@ export const ListDatasetDatapointsEvaluations4$inboundSchema: z.ZodType<
1653
1653
  explanation: z.string().optional(),
1654
1654
  reviewed_by_id: z.string(),
1655
1655
  reviewed_at: z.string().datetime({ offset: true }).default(
1656
- "2026-08-25T14:44:21.744Z",
1656
+ "2026-08-26T11:11:03.029Z",
1657
1657
  ).transform(v => new Date(v)),
1658
1658
  type: z.literal("string_array"),
1659
1659
  values: z.array(z.string()),
@@ -1749,7 +1749,7 @@ export const ListDatasetDatapointsEvaluations3$inboundSchema: z.ZodType<
1749
1749
  explanation: z.string().optional(),
1750
1750
  reviewed_by_id: z.string(),
1751
1751
  reviewed_at: z.string().datetime({ offset: true }).default(
1752
- "2026-08-25T14:44:21.743Z",
1752
+ "2026-08-26T11:11:03.029Z",
1753
1753
  ).transform(v => new Date(v)),
1754
1754
  type: z.literal("boolean"),
1755
1755
  value: z.boolean(),
@@ -1853,7 +1853,7 @@ export const ListDatasetDatapointsEvaluations2$inboundSchema: z.ZodType<
1853
1853
  explanation: z.string().optional(),
1854
1854
  reviewed_by_id: z.string(),
1855
1855
  reviewed_at: z.string().datetime({ offset: true }).default(
1856
- "2026-08-25T14:44:21.742Z",
1856
+ "2026-08-26T11:11:03.028Z",
1857
1857
  ).transform(v => new Date(v)),
1858
1858
  type: z.literal("number"),
1859
1859
  value: z.number(),
@@ -1959,7 +1959,7 @@ export const ListDatasetDatapointsEvaluations1$inboundSchema: z.ZodType<
1959
1959
  explanation: z.string().optional(),
1960
1960
  reviewed_by_id: z.string(),
1961
1961
  reviewed_at: z.string().datetime({ offset: true }).default(
1962
- "2026-08-25T14:44:21.742Z",
1962
+ "2026-08-26T11:11:03.027Z",
1963
1963
  ).transform(v => new Date(v)),
1964
1964
  type: z.literal("string"),
1965
1965
  value: z.string(),
@@ -2042,7 +2042,7 @@ export const ListDatasetDatapointsData$inboundSchema: z.ZodType<
2042
2042
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
2043
2043
  .optional(),
2044
2044
  updated: z.string().datetime({ offset: true }).default(
2045
- "2026-08-25T14:44:11.279Z",
2045
+ "2026-08-26T11:10:52.849Z",
2046
2046
  ).transform(v => new Date(v)),
2047
2047
  }).transform((v) => {
2048
2048
  return remap$(v, {
@@ -169,7 +169,7 @@ export const ListDatasetsData$inboundSchema: z.ZodType<
169
169
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
170
170
  .optional(),
171
171
  updated: z.string().datetime({ offset: true }).default(
172
- "2026-08-25T14:44:11.279Z",
172
+ "2026-08-26T11:10:52.849Z",
173
173
  ).transform(v => new Date(v)),
174
174
  }).transform((v) => {
175
175
  return remap$(v, {