@orq-ai/node 4.0.0-rc.56 → 4.0.0-rc.58

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 (93) hide show
  1. package/bin/mcp-server.js +316 -316
  2. package/bin/mcp-server.js.map +38 -38
  3. package/examples/package-lock.json +1 -1
  4. package/jsr.json +1 -1
  5. package/lib/config.d.ts +2 -2
  6. package/lib/config.js +2 -2
  7. package/mcp-server/mcp-server.js +1 -1
  8. package/mcp-server/server.js +1 -1
  9. package/models/operations/createbudget.js +2 -2
  10. package/models/operations/createcontact.js +2 -2
  11. package/models/operations/createdataset.js +2 -2
  12. package/models/operations/createdatasetitem.js +8 -8
  13. package/models/operations/createdatasource.js +2 -2
  14. package/models/operations/createeval.js +28 -28
  15. package/models/operations/createknowledge.d.ts +14 -14
  16. package/models/operations/createknowledge.d.ts.map +1 -1
  17. package/models/operations/createknowledge.js +21 -21
  18. package/models/operations/createknowledge.js.map +1 -1
  19. package/models/operations/createtool.d.ts +47 -32
  20. package/models/operations/createtool.d.ts.map +1 -1
  21. package/models/operations/createtool.js +64 -64
  22. package/models/operations/createtool.js.map +1 -1
  23. package/models/operations/fileget.js +2 -2
  24. package/models/operations/filelist.js +2 -2
  25. package/models/operations/fileupload.js +2 -2
  26. package/models/operations/getalltools.d.ts +49 -34
  27. package/models/operations/getalltools.d.ts.map +1 -1
  28. package/models/operations/getalltools.js +74 -74
  29. package/models/operations/getalltools.js.map +1 -1
  30. package/models/operations/getbudget.js +2 -2
  31. package/models/operations/getevals.js +28 -28
  32. package/models/operations/listbudgets.js +2 -2
  33. package/models/operations/listcontacts.js +2 -2
  34. package/models/operations/listdatasetdatapoints.js +8 -8
  35. package/models/operations/listdatasets.js +2 -2
  36. package/models/operations/listdatasources.js +2 -2
  37. package/models/operations/retrievecontact.js +2 -2
  38. package/models/operations/retrievedatapoint.js +8 -8
  39. package/models/operations/retrievedataset.js +2 -2
  40. package/models/operations/retrievedatasource.js +2 -2
  41. package/models/operations/retrievetool.d.ts +47 -32
  42. package/models/operations/retrievetool.d.ts.map +1 -1
  43. package/models/operations/retrievetool.js +64 -64
  44. package/models/operations/retrievetool.js.map +1 -1
  45. package/models/operations/runagent.js +2 -2
  46. package/models/operations/streamrunagent.js +2 -2
  47. package/models/operations/updatebudget.js +2 -2
  48. package/models/operations/updatecontact.js +2 -2
  49. package/models/operations/updatedatapoint.js +8 -8
  50. package/models/operations/updatedataset.js +2 -2
  51. package/models/operations/updatedatasource.js +2 -2
  52. package/models/operations/updateeval.js +28 -28
  53. package/models/operations/updatetool.d.ts +47 -32
  54. package/models/operations/updatetool.d.ts.map +1 -1
  55. package/models/operations/updatetool.js +66 -66
  56. package/models/operations/updatetool.js.map +1 -1
  57. package/package.json +1 -1
  58. package/src/lib/config.ts +2 -2
  59. package/src/mcp-server/mcp-server.ts +1 -1
  60. package/src/mcp-server/server.ts +1 -1
  61. package/src/models/operations/createbudget.ts +2 -2
  62. package/src/models/operations/createcontact.ts +2 -2
  63. package/src/models/operations/createdataset.ts +2 -2
  64. package/src/models/operations/createdatasetitem.ts +8 -8
  65. package/src/models/operations/createdatasource.ts +2 -2
  66. package/src/models/operations/createeval.ts +28 -28
  67. package/src/models/operations/createknowledge.ts +33 -47
  68. package/src/models/operations/createtool.ts +134 -97
  69. package/src/models/operations/fileget.ts +2 -2
  70. package/src/models/operations/filelist.ts +2 -2
  71. package/src/models/operations/fileupload.ts +2 -2
  72. package/src/models/operations/getalltools.ts +135 -128
  73. package/src/models/operations/getbudget.ts +2 -2
  74. package/src/models/operations/getevals.ts +28 -28
  75. package/src/models/operations/listbudgets.ts +2 -2
  76. package/src/models/operations/listcontacts.ts +2 -2
  77. package/src/models/operations/listdatasetdatapoints.ts +8 -8
  78. package/src/models/operations/listdatasets.ts +2 -2
  79. package/src/models/operations/listdatasources.ts +2 -2
  80. package/src/models/operations/retrievecontact.ts +2 -2
  81. package/src/models/operations/retrievedatapoint.ts +8 -8
  82. package/src/models/operations/retrievedataset.ts +2 -2
  83. package/src/models/operations/retrievedatasource.ts +2 -2
  84. package/src/models/operations/retrievetool.ts +168 -132
  85. package/src/models/operations/runagent.ts +2 -2
  86. package/src/models/operations/streamrunagent.ts +2 -2
  87. package/src/models/operations/updatebudget.ts +2 -2
  88. package/src/models/operations/updatecontact.ts +2 -2
  89. package/src/models/operations/updatedatapoint.ts +8 -8
  90. package/src/models/operations/updatedataset.ts +2 -2
  91. package/src/models/operations/updatedatasource.ts +2 -2
  92. package/src/models/operations/updateeval.ts +28 -28
  93. package/src/models/operations/updatetool.ts +138 -104
@@ -105,7 +105,10 @@ export type DataCodeTool = {
105
105
  code: string;
106
106
  };
107
107
 
108
- export type GetAllToolsData5 = {
108
+ /**
109
+ * Executes code snippets in a sandboxed environment, currently supporting Python.
110
+ */
111
+ export type DataCodeExecutionTool = {
109
112
  id?: string | undefined;
110
113
  /**
111
114
  * Entity storage path in the format: `project/folder/subfolder/...`
@@ -230,7 +233,10 @@ export type DataMcp = {
230
233
  connectionType: DataConnectionType;
231
234
  };
232
235
 
233
- export type GetAllToolsData4 = {
236
+ /**
237
+ * A tool from a Model Context Protocol (MCP) server that provides standardized access to external capabilities.
238
+ */
239
+ export type DataMCPTool = {
234
240
  id?: string | undefined;
235
241
  /**
236
242
  * Entity storage path in the format: `project/folder/subfolder/...`
@@ -392,7 +398,10 @@ export type GetAllToolsDataHttp = {
392
398
  arguments?: { [k: string]: DataArguments } | undefined;
393
399
  };
394
400
 
395
- export type GetAllToolsData3 = {
401
+ /**
402
+ * Executes HTTP requests to interact with external APIs and web services using customizable blueprints.
403
+ */
404
+ export type DataHTTPTool = {
396
405
  id?: string | undefined;
397
406
  /**
398
407
  * Entity storage path in the format: `project/folder/subfolder/...`
@@ -496,7 +505,10 @@ export type DataJsonSchema = {
496
505
  strict?: boolean | undefined;
497
506
  };
498
507
 
499
- export type GetAllToolsData2 = {
508
+ /**
509
+ * A tool that enforces structured output format using JSON Schema for consistent response formatting.
510
+ */
511
+ export type DataJSONSchemaTool = {
500
512
  id?: string | undefined;
501
513
  /**
502
514
  * Entity storage path in the format: `project/folder/subfolder/...`
@@ -612,7 +624,10 @@ export type GetAllToolsDataFunction = {
612
624
  parameters?: DataParameters | undefined;
613
625
  };
614
626
 
615
- export type GetAllToolsData1 = {
627
+ /**
628
+ * A custom function tool that allows the model to call predefined functions with structured parameters.
629
+ */
630
+ export type DataFunctionTool = {
616
631
  id?: string | undefined;
617
632
  /**
618
633
  * Entity storage path in the format: `project/folder/subfolder/...`
@@ -658,11 +673,11 @@ export type GetAllToolsData1 = {
658
673
  };
659
674
 
660
675
  export type GetAllToolsData =
661
- | GetAllToolsData1
662
- | GetAllToolsData2
663
- | GetAllToolsData3
664
- | GetAllToolsData4
665
- | GetAllToolsData5;
676
+ | DataFunctionTool
677
+ | DataJSONSchemaTool
678
+ | DataHTTPTool
679
+ | DataMCPTool
680
+ | DataCodeExecutionTool;
666
681
 
667
682
  /**
668
683
  * Successfully retrieved the list of tools.
@@ -670,11 +685,11 @@ export type GetAllToolsData =
670
685
  export type GetAllToolsResponseBody = {
671
686
  object: GetAllToolsObject;
672
687
  data: Array<
673
- | GetAllToolsData1
674
- | GetAllToolsData2
675
- | GetAllToolsData3
676
- | GetAllToolsData4
677
- | GetAllToolsData5
688
+ | DataFunctionTool
689
+ | DataJSONSchemaTool
690
+ | DataHTTPTool
691
+ | DataMCPTool
692
+ | DataCodeExecutionTool
678
693
  >;
679
694
  hasMore: boolean;
680
695
  };
@@ -885,12 +900,12 @@ export function dataCodeToolFromJSON(
885
900
  }
886
901
 
887
902
  /** @internal */
888
- export const GetAllToolsData5$inboundSchema: z.ZodType<
889
- GetAllToolsData5,
903
+ export const DataCodeExecutionTool$inboundSchema: z.ZodType<
904
+ DataCodeExecutionTool,
890
905
  z.ZodTypeDef,
891
906
  unknown
892
907
  > = z.object({
893
- _id: z.string().default("tool_01KAGFMWQEP3Z77W9SQER0GRWN"),
908
+ _id: z.string().default("tool_01KAGR8RVA5KSY3KCAMB0VJQ9Y"),
894
909
  path: z.string(),
895
910
  key: z.string(),
896
911
  display_name: z.string().optional(),
@@ -918,7 +933,7 @@ export const GetAllToolsData5$inboundSchema: z.ZodType<
918
933
  });
919
934
  });
920
935
  /** @internal */
921
- export type GetAllToolsData5$Outbound = {
936
+ export type DataCodeExecutionTool$Outbound = {
922
937
  _id: string;
923
938
  path: string;
924
939
  key: string;
@@ -937,12 +952,12 @@ export type GetAllToolsData5$Outbound = {
937
952
  };
938
953
 
939
954
  /** @internal */
940
- export const GetAllToolsData5$outboundSchema: z.ZodType<
941
- GetAllToolsData5$Outbound,
955
+ export const DataCodeExecutionTool$outboundSchema: z.ZodType<
956
+ DataCodeExecutionTool$Outbound,
942
957
  z.ZodTypeDef,
943
- GetAllToolsData5
958
+ DataCodeExecutionTool
944
959
  > = z.object({
945
- id: z.string().default("tool_01KAGFMWQEP3Z77W9SQER0GRWN"),
960
+ id: z.string().default("tool_01KAGR8RVA5KSY3KCAMB0VJQ9Y"),
946
961
  path: z.string(),
947
962
  key: z.string(),
948
963
  displayName: z.string().optional(),
@@ -970,20 +985,20 @@ export const GetAllToolsData5$outboundSchema: z.ZodType<
970
985
  });
971
986
  });
972
987
 
973
- export function getAllToolsData5ToJSON(
974
- getAllToolsData5: GetAllToolsData5,
988
+ export function dataCodeExecutionToolToJSON(
989
+ dataCodeExecutionTool: DataCodeExecutionTool,
975
990
  ): string {
976
991
  return JSON.stringify(
977
- GetAllToolsData5$outboundSchema.parse(getAllToolsData5),
992
+ DataCodeExecutionTool$outboundSchema.parse(dataCodeExecutionTool),
978
993
  );
979
994
  }
980
- export function getAllToolsData5FromJSON(
995
+ export function dataCodeExecutionToolFromJSON(
981
996
  jsonString: string,
982
- ): SafeParseResult<GetAllToolsData5, SDKValidationError> {
997
+ ): SafeParseResult<DataCodeExecutionTool, SDKValidationError> {
983
998
  return safeParse(
984
999
  jsonString,
985
- (x) => GetAllToolsData5$inboundSchema.parse(JSON.parse(x)),
986
- `Failed to parse 'GetAllToolsData5' from JSON`,
1000
+ (x) => DataCodeExecutionTool$inboundSchema.parse(JSON.parse(x)),
1001
+ `Failed to parse 'DataCodeExecutionTool' from JSON`,
987
1002
  );
988
1003
  }
989
1004
 
@@ -1110,7 +1125,7 @@ export const DataTools$inboundSchema: z.ZodType<
1110
1125
  z.ZodTypeDef,
1111
1126
  unknown
1112
1127
  > = z.object({
1113
- id: z.string().default("01KAGFMWQDNC7T4DWAVH662VWW"),
1128
+ id: z.string().default("01KAGR8RV9PD6C1ZVZZZXAHH09"),
1114
1129
  name: z.string(),
1115
1130
  description: z.string().optional(),
1116
1131
  schema: z.lazy(() => GetAllToolsDataSchema$inboundSchema),
@@ -1129,7 +1144,7 @@ export const DataTools$outboundSchema: z.ZodType<
1129
1144
  z.ZodTypeDef,
1130
1145
  DataTools
1131
1146
  > = z.object({
1132
- id: z.string().default("01KAGFMWQDNC7T4DWAVH662VWW"),
1147
+ id: z.string().default("01KAGR8RV9PD6C1ZVZZZXAHH09"),
1133
1148
  name: z.string(),
1134
1149
  description: z.string().optional(),
1135
1150
  schema: z.lazy(() => GetAllToolsDataSchema$outboundSchema),
@@ -1209,12 +1224,12 @@ export function dataMcpFromJSON(
1209
1224
  }
1210
1225
 
1211
1226
  /** @internal */
1212
- export const GetAllToolsData4$inboundSchema: z.ZodType<
1213
- GetAllToolsData4,
1227
+ export const DataMCPTool$inboundSchema: z.ZodType<
1228
+ DataMCPTool,
1214
1229
  z.ZodTypeDef,
1215
1230
  unknown
1216
1231
  > = z.object({
1217
- _id: z.string().default("tool_01KAGFMWQBZ0M6ZQFMXV32HY9C"),
1232
+ _id: z.string().default("tool_01KAGR8RV8XPAWTZNW94X41E0V"),
1218
1233
  path: z.string(),
1219
1234
  key: z.string(),
1220
1235
  display_name: z.string().optional(),
@@ -1241,7 +1256,7 @@ export const GetAllToolsData4$inboundSchema: z.ZodType<
1241
1256
  });
1242
1257
  });
1243
1258
  /** @internal */
1244
- export type GetAllToolsData4$Outbound = {
1259
+ export type DataMCPTool$Outbound = {
1245
1260
  _id: string;
1246
1261
  path: string;
1247
1262
  key: string;
@@ -1260,12 +1275,12 @@ export type GetAllToolsData4$Outbound = {
1260
1275
  };
1261
1276
 
1262
1277
  /** @internal */
1263
- export const GetAllToolsData4$outboundSchema: z.ZodType<
1264
- GetAllToolsData4$Outbound,
1278
+ export const DataMCPTool$outboundSchema: z.ZodType<
1279
+ DataMCPTool$Outbound,
1265
1280
  z.ZodTypeDef,
1266
- GetAllToolsData4
1281
+ DataMCPTool
1267
1282
  > = z.object({
1268
- id: z.string().default("tool_01KAGFMWQBZ0M6ZQFMXV32HY9C"),
1283
+ id: z.string().default("tool_01KAGR8RV8XPAWTZNW94X41E0V"),
1269
1284
  path: z.string(),
1270
1285
  key: z.string(),
1271
1286
  displayName: z.string().optional(),
@@ -1292,20 +1307,16 @@ export const GetAllToolsData4$outboundSchema: z.ZodType<
1292
1307
  });
1293
1308
  });
1294
1309
 
1295
- export function getAllToolsData4ToJSON(
1296
- getAllToolsData4: GetAllToolsData4,
1297
- ): string {
1298
- return JSON.stringify(
1299
- GetAllToolsData4$outboundSchema.parse(getAllToolsData4),
1300
- );
1310
+ export function dataMCPToolToJSON(dataMCPTool: DataMCPTool): string {
1311
+ return JSON.stringify(DataMCPTool$outboundSchema.parse(dataMCPTool));
1301
1312
  }
1302
- export function getAllToolsData4FromJSON(
1313
+ export function dataMCPToolFromJSON(
1303
1314
  jsonString: string,
1304
- ): SafeParseResult<GetAllToolsData4, SDKValidationError> {
1315
+ ): SafeParseResult<DataMCPTool, SDKValidationError> {
1305
1316
  return safeParse(
1306
1317
  jsonString,
1307
- (x) => GetAllToolsData4$inboundSchema.parse(JSON.parse(x)),
1308
- `Failed to parse 'GetAllToolsData4' from JSON`,
1318
+ (x) => DataMCPTool$inboundSchema.parse(JSON.parse(x)),
1319
+ `Failed to parse 'DataMCPTool' from JSON`,
1309
1320
  );
1310
1321
  }
1311
1322
 
@@ -1607,12 +1618,12 @@ export function getAllToolsDataHttpFromJSON(
1607
1618
  }
1608
1619
 
1609
1620
  /** @internal */
1610
- export const GetAllToolsData3$inboundSchema: z.ZodType<
1611
- GetAllToolsData3,
1621
+ export const DataHTTPTool$inboundSchema: z.ZodType<
1622
+ DataHTTPTool,
1612
1623
  z.ZodTypeDef,
1613
1624
  unknown
1614
1625
  > = z.object({
1615
- _id: z.string().default("tool_01KAGFMWQ8H1XAED42CJPP3WX4"),
1626
+ _id: z.string().default("tool_01KAGR8RV661DKRRRH1Y5X9VT3"),
1616
1627
  path: z.string(),
1617
1628
  key: z.string(),
1618
1629
  display_name: z.string().optional(),
@@ -1639,7 +1650,7 @@ export const GetAllToolsData3$inboundSchema: z.ZodType<
1639
1650
  });
1640
1651
  });
1641
1652
  /** @internal */
1642
- export type GetAllToolsData3$Outbound = {
1653
+ export type DataHTTPTool$Outbound = {
1643
1654
  _id: string;
1644
1655
  path: string;
1645
1656
  key: string;
@@ -1658,12 +1669,12 @@ export type GetAllToolsData3$Outbound = {
1658
1669
  };
1659
1670
 
1660
1671
  /** @internal */
1661
- export const GetAllToolsData3$outboundSchema: z.ZodType<
1662
- GetAllToolsData3$Outbound,
1672
+ export const DataHTTPTool$outboundSchema: z.ZodType<
1673
+ DataHTTPTool$Outbound,
1663
1674
  z.ZodTypeDef,
1664
- GetAllToolsData3
1675
+ DataHTTPTool
1665
1676
  > = z.object({
1666
- id: z.string().default("tool_01KAGFMWQ8H1XAED42CJPP3WX4"),
1677
+ id: z.string().default("tool_01KAGR8RV661DKRRRH1Y5X9VT3"),
1667
1678
  path: z.string(),
1668
1679
  key: z.string(),
1669
1680
  displayName: z.string().optional(),
@@ -1690,20 +1701,16 @@ export const GetAllToolsData3$outboundSchema: z.ZodType<
1690
1701
  });
1691
1702
  });
1692
1703
 
1693
- export function getAllToolsData3ToJSON(
1694
- getAllToolsData3: GetAllToolsData3,
1695
- ): string {
1696
- return JSON.stringify(
1697
- GetAllToolsData3$outboundSchema.parse(getAllToolsData3),
1698
- );
1704
+ export function dataHTTPToolToJSON(dataHTTPTool: DataHTTPTool): string {
1705
+ return JSON.stringify(DataHTTPTool$outboundSchema.parse(dataHTTPTool));
1699
1706
  }
1700
- export function getAllToolsData3FromJSON(
1707
+ export function dataHTTPToolFromJSON(
1701
1708
  jsonString: string,
1702
- ): SafeParseResult<GetAllToolsData3, SDKValidationError> {
1709
+ ): SafeParseResult<DataHTTPTool, SDKValidationError> {
1703
1710
  return safeParse(
1704
1711
  jsonString,
1705
- (x) => GetAllToolsData3$inboundSchema.parse(JSON.parse(x)),
1706
- `Failed to parse 'GetAllToolsData3' from JSON`,
1712
+ (x) => DataHTTPTool$inboundSchema.parse(JSON.parse(x)),
1713
+ `Failed to parse 'DataHTTPTool' from JSON`,
1707
1714
  );
1708
1715
  }
1709
1716
 
@@ -1824,12 +1831,12 @@ export function dataJsonSchemaFromJSON(
1824
1831
  }
1825
1832
 
1826
1833
  /** @internal */
1827
- export const GetAllToolsData2$inboundSchema: z.ZodType<
1828
- GetAllToolsData2,
1834
+ export const DataJSONSchemaTool$inboundSchema: z.ZodType<
1835
+ DataJSONSchemaTool,
1829
1836
  z.ZodTypeDef,
1830
1837
  unknown
1831
1838
  > = z.object({
1832
- _id: z.string().default("tool_01KAGFMWQ6HS2J4HKVNBEPQJ9Z"),
1839
+ _id: z.string().default("tool_01KAGR8RV40TPF3H9BSZTQSR5Q"),
1833
1840
  path: z.string(),
1834
1841
  key: z.string(),
1835
1842
  display_name: z.string().optional(),
@@ -1857,7 +1864,7 @@ export const GetAllToolsData2$inboundSchema: z.ZodType<
1857
1864
  });
1858
1865
  });
1859
1866
  /** @internal */
1860
- export type GetAllToolsData2$Outbound = {
1867
+ export type DataJSONSchemaTool$Outbound = {
1861
1868
  _id: string;
1862
1869
  path: string;
1863
1870
  key: string;
@@ -1876,12 +1883,12 @@ export type GetAllToolsData2$Outbound = {
1876
1883
  };
1877
1884
 
1878
1885
  /** @internal */
1879
- export const GetAllToolsData2$outboundSchema: z.ZodType<
1880
- GetAllToolsData2$Outbound,
1886
+ export const DataJSONSchemaTool$outboundSchema: z.ZodType<
1887
+ DataJSONSchemaTool$Outbound,
1881
1888
  z.ZodTypeDef,
1882
- GetAllToolsData2
1889
+ DataJSONSchemaTool
1883
1890
  > = z.object({
1884
- id: z.string().default("tool_01KAGFMWQ6HS2J4HKVNBEPQJ9Z"),
1891
+ id: z.string().default("tool_01KAGR8RV40TPF3H9BSZTQSR5Q"),
1885
1892
  path: z.string(),
1886
1893
  key: z.string(),
1887
1894
  displayName: z.string().optional(),
@@ -1909,20 +1916,20 @@ export const GetAllToolsData2$outboundSchema: z.ZodType<
1909
1916
  });
1910
1917
  });
1911
1918
 
1912
- export function getAllToolsData2ToJSON(
1913
- getAllToolsData2: GetAllToolsData2,
1919
+ export function dataJSONSchemaToolToJSON(
1920
+ dataJSONSchemaTool: DataJSONSchemaTool,
1914
1921
  ): string {
1915
1922
  return JSON.stringify(
1916
- GetAllToolsData2$outboundSchema.parse(getAllToolsData2),
1923
+ DataJSONSchemaTool$outboundSchema.parse(dataJSONSchemaTool),
1917
1924
  );
1918
1925
  }
1919
- export function getAllToolsData2FromJSON(
1926
+ export function dataJSONSchemaToolFromJSON(
1920
1927
  jsonString: string,
1921
- ): SafeParseResult<GetAllToolsData2, SDKValidationError> {
1928
+ ): SafeParseResult<DataJSONSchemaTool, SDKValidationError> {
1922
1929
  return safeParse(
1923
1930
  jsonString,
1924
- (x) => GetAllToolsData2$inboundSchema.parse(JSON.parse(x)),
1925
- `Failed to parse 'GetAllToolsData2' from JSON`,
1931
+ (x) => DataJSONSchemaTool$inboundSchema.parse(JSON.parse(x)),
1932
+ `Failed to parse 'DataJSONSchemaTool' from JSON`,
1926
1933
  );
1927
1934
  }
1928
1935
 
@@ -2061,12 +2068,12 @@ export function getAllToolsDataFunctionFromJSON(
2061
2068
  }
2062
2069
 
2063
2070
  /** @internal */
2064
- export const GetAllToolsData1$inboundSchema: z.ZodType<
2065
- GetAllToolsData1,
2071
+ export const DataFunctionTool$inboundSchema: z.ZodType<
2072
+ DataFunctionTool,
2066
2073
  z.ZodTypeDef,
2067
2074
  unknown
2068
2075
  > = z.object({
2069
- _id: z.string().default("tool_01KAGFMWQ39E4AEPJP28P5GPRF"),
2076
+ _id: z.string().default("tool_01KAGR8RV3BSE7AB0BV9PPRJ3D"),
2070
2077
  path: z.string(),
2071
2078
  key: z.string(),
2072
2079
  display_name: z.string().optional(),
@@ -2093,7 +2100,7 @@ export const GetAllToolsData1$inboundSchema: z.ZodType<
2093
2100
  });
2094
2101
  });
2095
2102
  /** @internal */
2096
- export type GetAllToolsData1$Outbound = {
2103
+ export type DataFunctionTool$Outbound = {
2097
2104
  _id: string;
2098
2105
  path: string;
2099
2106
  key: string;
@@ -2112,12 +2119,12 @@ export type GetAllToolsData1$Outbound = {
2112
2119
  };
2113
2120
 
2114
2121
  /** @internal */
2115
- export const GetAllToolsData1$outboundSchema: z.ZodType<
2116
- GetAllToolsData1$Outbound,
2122
+ export const DataFunctionTool$outboundSchema: z.ZodType<
2123
+ DataFunctionTool$Outbound,
2117
2124
  z.ZodTypeDef,
2118
- GetAllToolsData1
2125
+ DataFunctionTool
2119
2126
  > = z.object({
2120
- id: z.string().default("tool_01KAGFMWQ39E4AEPJP28P5GPRF"),
2127
+ id: z.string().default("tool_01KAGR8RV3BSE7AB0BV9PPRJ3D"),
2121
2128
  path: z.string(),
2122
2129
  key: z.string(),
2123
2130
  displayName: z.string().optional(),
@@ -2144,20 +2151,20 @@ export const GetAllToolsData1$outboundSchema: z.ZodType<
2144
2151
  });
2145
2152
  });
2146
2153
 
2147
- export function getAllToolsData1ToJSON(
2148
- getAllToolsData1: GetAllToolsData1,
2154
+ export function dataFunctionToolToJSON(
2155
+ dataFunctionTool: DataFunctionTool,
2149
2156
  ): string {
2150
2157
  return JSON.stringify(
2151
- GetAllToolsData1$outboundSchema.parse(getAllToolsData1),
2158
+ DataFunctionTool$outboundSchema.parse(dataFunctionTool),
2152
2159
  );
2153
2160
  }
2154
- export function getAllToolsData1FromJSON(
2161
+ export function dataFunctionToolFromJSON(
2155
2162
  jsonString: string,
2156
- ): SafeParseResult<GetAllToolsData1, SDKValidationError> {
2163
+ ): SafeParseResult<DataFunctionTool, SDKValidationError> {
2157
2164
  return safeParse(
2158
2165
  jsonString,
2159
- (x) => GetAllToolsData1$inboundSchema.parse(JSON.parse(x)),
2160
- `Failed to parse 'GetAllToolsData1' from JSON`,
2166
+ (x) => DataFunctionTool$inboundSchema.parse(JSON.parse(x)),
2167
+ `Failed to parse 'DataFunctionTool' from JSON`,
2161
2168
  );
2162
2169
  }
2163
2170
 
@@ -2167,19 +2174,19 @@ export const GetAllToolsData$inboundSchema: z.ZodType<
2167
2174
  z.ZodTypeDef,
2168
2175
  unknown
2169
2176
  > = z.union([
2170
- z.lazy(() => GetAllToolsData1$inboundSchema),
2171
- z.lazy(() => GetAllToolsData2$inboundSchema),
2172
- z.lazy(() => GetAllToolsData3$inboundSchema),
2173
- z.lazy(() => GetAllToolsData4$inboundSchema),
2174
- z.lazy(() => GetAllToolsData5$inboundSchema),
2177
+ z.lazy(() => DataFunctionTool$inboundSchema),
2178
+ z.lazy(() => DataJSONSchemaTool$inboundSchema),
2179
+ z.lazy(() => DataHTTPTool$inboundSchema),
2180
+ z.lazy(() => DataMCPTool$inboundSchema),
2181
+ z.lazy(() => DataCodeExecutionTool$inboundSchema),
2175
2182
  ]);
2176
2183
  /** @internal */
2177
2184
  export type GetAllToolsData$Outbound =
2178
- | GetAllToolsData1$Outbound
2179
- | GetAllToolsData2$Outbound
2180
- | GetAllToolsData3$Outbound
2181
- | GetAllToolsData4$Outbound
2182
- | GetAllToolsData5$Outbound;
2185
+ | DataFunctionTool$Outbound
2186
+ | DataJSONSchemaTool$Outbound
2187
+ | DataHTTPTool$Outbound
2188
+ | DataMCPTool$Outbound
2189
+ | DataCodeExecutionTool$Outbound;
2183
2190
 
2184
2191
  /** @internal */
2185
2192
  export const GetAllToolsData$outboundSchema: z.ZodType<
@@ -2187,11 +2194,11 @@ export const GetAllToolsData$outboundSchema: z.ZodType<
2187
2194
  z.ZodTypeDef,
2188
2195
  GetAllToolsData
2189
2196
  > = z.union([
2190
- z.lazy(() => GetAllToolsData1$outboundSchema),
2191
- z.lazy(() => GetAllToolsData2$outboundSchema),
2192
- z.lazy(() => GetAllToolsData3$outboundSchema),
2193
- z.lazy(() => GetAllToolsData4$outboundSchema),
2194
- z.lazy(() => GetAllToolsData5$outboundSchema),
2197
+ z.lazy(() => DataFunctionTool$outboundSchema),
2198
+ z.lazy(() => DataJSONSchemaTool$outboundSchema),
2199
+ z.lazy(() => DataHTTPTool$outboundSchema),
2200
+ z.lazy(() => DataMCPTool$outboundSchema),
2201
+ z.lazy(() => DataCodeExecutionTool$outboundSchema),
2195
2202
  ]);
2196
2203
 
2197
2204
  export function getAllToolsDataToJSON(
@@ -2218,11 +2225,11 @@ export const GetAllToolsResponseBody$inboundSchema: z.ZodType<
2218
2225
  object: GetAllToolsObject$inboundSchema,
2219
2226
  data: z.array(
2220
2227
  z.union([
2221
- z.lazy(() => GetAllToolsData1$inboundSchema),
2222
- z.lazy(() => GetAllToolsData2$inboundSchema),
2223
- z.lazy(() => GetAllToolsData3$inboundSchema),
2224
- z.lazy(() => GetAllToolsData4$inboundSchema),
2225
- z.lazy(() => GetAllToolsData5$inboundSchema),
2228
+ z.lazy(() => DataFunctionTool$inboundSchema),
2229
+ z.lazy(() => DataJSONSchemaTool$inboundSchema),
2230
+ z.lazy(() => DataHTTPTool$inboundSchema),
2231
+ z.lazy(() => DataMCPTool$inboundSchema),
2232
+ z.lazy(() => DataCodeExecutionTool$inboundSchema),
2226
2233
  ]),
2227
2234
  ),
2228
2235
  has_more: z.boolean(),
@@ -2235,11 +2242,11 @@ export const GetAllToolsResponseBody$inboundSchema: z.ZodType<
2235
2242
  export type GetAllToolsResponseBody$Outbound = {
2236
2243
  object: string;
2237
2244
  data: Array<
2238
- | GetAllToolsData1$Outbound
2239
- | GetAllToolsData2$Outbound
2240
- | GetAllToolsData3$Outbound
2241
- | GetAllToolsData4$Outbound
2242
- | GetAllToolsData5$Outbound
2245
+ | DataFunctionTool$Outbound
2246
+ | DataJSONSchemaTool$Outbound
2247
+ | DataHTTPTool$Outbound
2248
+ | DataMCPTool$Outbound
2249
+ | DataCodeExecutionTool$Outbound
2243
2250
  >;
2244
2251
  has_more: boolean;
2245
2252
  };
@@ -2253,11 +2260,11 @@ export const GetAllToolsResponseBody$outboundSchema: z.ZodType<
2253
2260
  object: GetAllToolsObject$outboundSchema,
2254
2261
  data: z.array(
2255
2262
  z.union([
2256
- z.lazy(() => GetAllToolsData1$outboundSchema),
2257
- z.lazy(() => GetAllToolsData2$outboundSchema),
2258
- z.lazy(() => GetAllToolsData3$outboundSchema),
2259
- z.lazy(() => GetAllToolsData4$outboundSchema),
2260
- z.lazy(() => GetAllToolsData5$outboundSchema),
2263
+ z.lazy(() => DataFunctionTool$outboundSchema),
2264
+ z.lazy(() => DataJSONSchemaTool$outboundSchema),
2265
+ z.lazy(() => DataHTTPTool$outboundSchema),
2266
+ z.lazy(() => DataMCPTool$outboundSchema),
2267
+ z.lazy(() => DataCodeExecutionTool$outboundSchema),
2261
2268
  ]),
2262
2269
  ),
2263
2270
  hasMore: z.boolean(),
@@ -291,7 +291,7 @@ export const GetBudgetResponseBody$inboundSchema: z.ZodType<
291
291
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
292
292
  .optional(),
293
293
  updated: z.string().datetime({ offset: true }).default(
294
- "2025-11-20T11:15:46.091Z",
294
+ "2025-11-20T13:46:28.834Z",
295
295
  ).transform(v => new Date(v)),
296
296
  }).transform((v) => {
297
297
  return remap$(v, {
@@ -328,7 +328,7 @@ export const GetBudgetResponseBody$outboundSchema: z.ZodType<
328
328
  isActive: z.boolean(),
329
329
  consumption: z.lazy(() => GetBudgetConsumption$outboundSchema).optional(),
330
330
  created: z.date().transform(v => v.toISOString()).optional(),
331
- updated: z.date().default(() => new Date("2025-11-20T11:15:46.091Z"))
331
+ updated: z.date().default(() => new Date("2025-11-20T13:46:28.834Z"))
332
332
  .transform(v => v.toISOString()),
333
333
  }).transform((v) => {
334
334
  return remap$(v, {