@orq-ai/node 3.13.8 → 3.13.9

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 (170) hide show
  1. package/bin/mcp-server.js +215 -229
  2. package/bin/mcp-server.js.map +44 -44
  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/components/deployments.d.ts +0 -6
  10. package/models/components/deployments.d.ts.map +1 -1
  11. package/models/components/deployments.js +0 -2
  12. package/models/components/deployments.js.map +1 -1
  13. package/models/operations/createbudget.js +2 -2
  14. package/models/operations/createcontact.js +2 -2
  15. package/models/operations/createdataset.js +2 -2
  16. package/models/operations/createdatasetitem.d.ts +0 -6
  17. package/models/operations/createdatasetitem.d.ts.map +1 -1
  18. package/models/operations/createdatasetitem.js +2 -4
  19. package/models/operations/createdatasetitem.js.map +1 -1
  20. package/models/operations/createdatasource.js +2 -2
  21. package/models/operations/createeval.js +28 -28
  22. package/models/operations/createtool.js +14 -14
  23. package/models/operations/deploymentcreatemetric.d.ts +0 -6
  24. package/models/operations/deploymentcreatemetric.d.ts.map +1 -1
  25. package/models/operations/deploymentcreatemetric.js +0 -2
  26. package/models/operations/deploymentcreatemetric.js.map +1 -1
  27. package/models/operations/deploymentgetconfig.d.ts +0 -6
  28. package/models/operations/deploymentgetconfig.d.ts.map +1 -1
  29. package/models/operations/deploymentgetconfig.js +0 -2
  30. package/models/operations/deploymentgetconfig.js.map +1 -1
  31. package/models/operations/deploymentstream.d.ts +0 -6
  32. package/models/operations/deploymentstream.d.ts.map +1 -1
  33. package/models/operations/deploymentstream.js +0 -2
  34. package/models/operations/deploymentstream.js.map +1 -1
  35. package/models/operations/duplicatetool.js +10 -10
  36. package/models/operations/fileget.js +2 -2
  37. package/models/operations/filelist.js +2 -2
  38. package/models/operations/fileupload.js +2 -2
  39. package/models/operations/getagent.js +2 -2
  40. package/models/operations/getalltools.js +10 -10
  41. package/models/operations/getbudget.js +2 -2
  42. package/models/operations/getevals.js +28 -28
  43. package/models/operations/listagents.js +2 -2
  44. package/models/operations/listbudgets.js +2 -2
  45. package/models/operations/listcontacts.js +2 -2
  46. package/models/operations/listdatasetdatapoints.d.ts +0 -3
  47. package/models/operations/listdatasetdatapoints.d.ts.map +1 -1
  48. package/models/operations/listdatasetdatapoints.js +2 -3
  49. package/models/operations/listdatasetdatapoints.js.map +1 -1
  50. package/models/operations/listdatasets.js +2 -2
  51. package/models/operations/listdatasources.js +2 -2
  52. package/models/operations/retrievecontact.js +2 -2
  53. package/models/operations/retrievedatapoint.d.ts +0 -3
  54. package/models/operations/retrievedatapoint.d.ts.map +1 -1
  55. package/models/operations/retrievedatapoint.js +2 -3
  56. package/models/operations/retrievedatapoint.js.map +1 -1
  57. package/models/operations/retrievedataset.js +2 -2
  58. package/models/operations/retrievedatasource.js +2 -2
  59. package/models/operations/retrievetool.js +10 -10
  60. package/models/operations/runagent.js +2 -2
  61. package/models/operations/streamrunagent.js +2 -2
  62. package/models/operations/updatebudget.js +2 -2
  63. package/models/operations/updatecontact.js +2 -2
  64. package/models/operations/updatedatapoint.d.ts +0 -6
  65. package/models/operations/updatedatapoint.d.ts.map +1 -1
  66. package/models/operations/updatedatapoint.js +2 -4
  67. package/models/operations/updatedatapoint.js.map +1 -1
  68. package/models/operations/updatedataset.js +2 -2
  69. package/models/operations/updatedatasource.js +2 -2
  70. package/models/operations/updateeval.js +28 -28
  71. package/models/operations/updatetool.js +14 -14
  72. package/package.json +1 -1
  73. package/packages/orq-rc/docs/sdks/knowledge/README.md +6 -0
  74. package/packages/orq-rc/examples/package-lock.json +1 -1
  75. package/packages/orq-rc/jsr.json +1 -1
  76. package/packages/orq-rc/package-lock.json +2 -2
  77. package/packages/orq-rc/package.json +1 -1
  78. package/packages/orq-rc/src/lib/config.ts +2 -2
  79. package/packages/orq-rc/src/mcp-server/mcp-server.ts +1 -1
  80. package/packages/orq-rc/src/mcp-server/server.ts +1 -1
  81. package/packages/orq-rc/src/models/components/deployments.ts +0 -2
  82. package/packages/orq-rc/src/models/operations/createbudget.ts +2 -2
  83. package/packages/orq-rc/src/models/operations/createcontact.ts +2 -2
  84. package/packages/orq-rc/src/models/operations/createdataset.ts +9 -3
  85. package/packages/orq-rc/src/models/operations/createdatasetitem.ts +8 -10
  86. package/packages/orq-rc/src/models/operations/createdatasource.ts +2 -2
  87. package/packages/orq-rc/src/models/operations/createeval.ts +236 -201
  88. package/packages/orq-rc/src/models/operations/createknowledge.ts +1231 -275
  89. package/packages/orq-rc/src/models/operations/creatememorystore.ts +7 -1
  90. package/packages/orq-rc/src/models/operations/createprompt.ts +7 -1
  91. package/packages/orq-rc/src/models/operations/createtool.ts +192 -116
  92. package/packages/orq-rc/src/models/operations/deploymentcreatemetric.ts +0 -2
  93. package/packages/orq-rc/src/models/operations/deploymentgetconfig.ts +0 -2
  94. package/packages/orq-rc/src/models/operations/deploymentstream.ts +0 -2
  95. package/packages/orq-rc/src/models/operations/duplicatetool.ts +45 -15
  96. package/packages/orq-rc/src/models/operations/fileget.ts +2 -2
  97. package/packages/orq-rc/src/models/operations/filelist.ts +2 -2
  98. package/packages/orq-rc/src/models/operations/fileupload.ts +2 -2
  99. package/packages/orq-rc/src/models/operations/getagent.ts +9 -3
  100. package/packages/orq-rc/src/models/operations/getalltools.ts +167 -118
  101. package/packages/orq-rc/src/models/operations/getbudget.ts +2 -2
  102. package/packages/orq-rc/src/models/operations/getevals.ts +157 -143
  103. package/packages/orq-rc/src/models/operations/getoneknowledge.ts +912 -166
  104. package/packages/orq-rc/src/models/operations/listagents.ts +9 -3
  105. package/packages/orq-rc/src/models/operations/listbudgets.ts +2 -2
  106. package/packages/orq-rc/src/models/operations/listcontacts.ts +2 -2
  107. package/packages/orq-rc/src/models/operations/listdatasetdatapoints.ts +8 -9
  108. package/packages/orq-rc/src/models/operations/listdatasets.ts +2 -2
  109. package/packages/orq-rc/src/models/operations/listdatasources.ts +2 -2
  110. package/packages/orq-rc/src/models/operations/listknowledgebases.ts +755 -150
  111. package/packages/orq-rc/src/models/operations/retrievecontact.ts +2 -2
  112. package/packages/orq-rc/src/models/operations/retrievedatapoint.ts +8 -9
  113. package/packages/orq-rc/src/models/operations/retrievedataset.ts +2 -2
  114. package/packages/orq-rc/src/models/operations/retrievedatasource.ts +2 -2
  115. package/packages/orq-rc/src/models/operations/retrievetool.ts +45 -15
  116. package/packages/orq-rc/src/models/operations/runagent.ts +7 -1
  117. package/packages/orq-rc/src/models/operations/searchknowledge.ts +49 -62
  118. package/packages/orq-rc/src/models/operations/streamrunagent.ts +7 -1
  119. package/packages/orq-rc/src/models/operations/updatebudget.ts +2 -2
  120. package/packages/orq-rc/src/models/operations/updatecontact.ts +2 -2
  121. package/packages/orq-rc/src/models/operations/updatedatapoint.ts +8 -10
  122. package/packages/orq-rc/src/models/operations/updatedataset.ts +9 -3
  123. package/packages/orq-rc/src/models/operations/updatedatasource.ts +2 -2
  124. package/packages/orq-rc/src/models/operations/updateeval.ts +56 -32
  125. package/packages/orq-rc/src/models/operations/updateknowledge.ts +1710 -367
  126. package/packages/orq-rc/src/models/operations/updatememorystore.ts +7 -1
  127. package/packages/orq-rc/src/models/operations/updateprompt.ts +7 -1
  128. package/packages/orq-rc/src/models/operations/updatetool.ts +80 -20
  129. package/src/lib/config.ts +2 -2
  130. package/src/mcp-server/mcp-server.ts +1 -1
  131. package/src/mcp-server/server.ts +1 -1
  132. package/src/models/components/deployments.ts +0 -2
  133. package/src/models/operations/createbudget.ts +2 -2
  134. package/src/models/operations/createcontact.ts +2 -2
  135. package/src/models/operations/createdataset.ts +2 -2
  136. package/src/models/operations/createdatasetitem.ts +2 -4
  137. package/src/models/operations/createdatasource.ts +2 -2
  138. package/src/models/operations/createeval.ts +28 -28
  139. package/src/models/operations/createtool.ts +14 -14
  140. package/src/models/operations/deploymentcreatemetric.ts +0 -2
  141. package/src/models/operations/deploymentgetconfig.ts +0 -2
  142. package/src/models/operations/deploymentstream.ts +0 -2
  143. package/src/models/operations/duplicatetool.ts +10 -10
  144. package/src/models/operations/fileget.ts +2 -2
  145. package/src/models/operations/filelist.ts +2 -2
  146. package/src/models/operations/fileupload.ts +2 -2
  147. package/src/models/operations/getagent.ts +2 -2
  148. package/src/models/operations/getalltools.ts +10 -10
  149. package/src/models/operations/getbudget.ts +2 -2
  150. package/src/models/operations/getevals.ts +28 -28
  151. package/src/models/operations/listagents.ts +2 -2
  152. package/src/models/operations/listbudgets.ts +2 -2
  153. package/src/models/operations/listcontacts.ts +2 -2
  154. package/src/models/operations/listdatasetdatapoints.ts +2 -3
  155. package/src/models/operations/listdatasets.ts +2 -2
  156. package/src/models/operations/listdatasources.ts +2 -2
  157. package/src/models/operations/retrievecontact.ts +2 -2
  158. package/src/models/operations/retrievedatapoint.ts +2 -3
  159. package/src/models/operations/retrievedataset.ts +2 -2
  160. package/src/models/operations/retrievedatasource.ts +2 -2
  161. package/src/models/operations/retrievetool.ts +10 -10
  162. package/src/models/operations/runagent.ts +2 -2
  163. package/src/models/operations/streamrunagent.ts +2 -2
  164. package/src/models/operations/updatebudget.ts +2 -2
  165. package/src/models/operations/updatecontact.ts +2 -2
  166. package/src/models/operations/updatedatapoint.ts +2 -4
  167. package/src/models/operations/updatedataset.ts +2 -2
  168. package/src/models/operations/updatedatasource.ts +2 -2
  169. package/src/models/operations/updateeval.ts +28 -28
  170. package/src/models/operations/updatetool.ts +14 -14
@@ -72,7 +72,13 @@ export type DataCodeTool = {
72
72
  export type Data5 = {
73
73
  id?: string | undefined;
74
74
  /**
75
- * The path where the entity is stored in the project structure. The first element of the path always represents the project name. Any subsequent path element after the project will be created as a folder in the project if it does not exists.
75
+ * Entity storage path in the format: `project/folder/subfolder/...`
76
+ *
77
+ * @remarks
78
+ *
79
+ * The first element identifies the project, followed by nested folders (auto-created as needed).
80
+ *
81
+ * With project-based API keys, the first element is treated as a folder name, as the project is predetermined by the API key.
76
82
  */
77
83
  path: string;
78
84
  /**
@@ -195,7 +201,13 @@ export type DataMcp = {
195
201
  export type Data4 = {
196
202
  id?: string | undefined;
197
203
  /**
198
- * The path where the entity is stored in the project structure. The first element of the path always represents the project name. Any subsequent path element after the project will be created as a folder in the project if it does not exists.
204
+ * Entity storage path in the format: `project/folder/subfolder/...`
205
+ *
206
+ * @remarks
207
+ *
208
+ * The first element identifies the project, followed by nested folders (auto-created as needed).
209
+ *
210
+ * With project-based API keys, the first element is treated as a folder name, as the project is predetermined by the API key.
199
211
  */
200
212
  path: string;
201
213
  /**
@@ -344,7 +356,13 @@ export type GetAllToolsDataHttp = {
344
356
  export type Data3 = {
345
357
  id?: string | undefined;
346
358
  /**
347
- * The path where the entity is stored in the project structure. The first element of the path always represents the project name. Any subsequent path element after the project will be created as a folder in the project if it does not exists.
359
+ * Entity storage path in the format: `project/folder/subfolder/...`
360
+ *
361
+ * @remarks
362
+ *
363
+ * The first element identifies the project, followed by nested folders (auto-created as needed).
364
+ *
365
+ * With project-based API keys, the first element is treated as a folder name, as the project is predetermined by the API key.
348
366
  */
349
367
  path: string;
350
368
  /**
@@ -420,10 +438,16 @@ export type DataJsonSchema = {
420
438
  strict?: boolean | null | undefined;
421
439
  };
422
440
 
423
- export type Data2 = {
441
+ export type GetAllToolsData2 = {
424
442
  id?: string | undefined;
425
443
  /**
426
- * The path where the entity is stored in the project structure. The first element of the path always represents the project name. Any subsequent path element after the project will be created as a folder in the project if it does not exists.
444
+ * Entity storage path in the format: `project/folder/subfolder/...`
445
+ *
446
+ * @remarks
447
+ *
448
+ * The first element identifies the project, followed by nested folders (auto-created as needed).
449
+ *
450
+ * With project-based API keys, the first element is treated as a folder name, as the project is predetermined by the API key.
427
451
  */
428
452
  path: string;
429
453
  /**
@@ -497,10 +521,16 @@ export type GetAllToolsDataFunction = {
497
521
  parameters?: { [k: string]: any } | undefined;
498
522
  };
499
523
 
500
- export type Data1 = {
524
+ export type GetAllToolsData1 = {
501
525
  id?: string | undefined;
502
526
  /**
503
- * The path where the entity is stored in the project structure. The first element of the path always represents the project name. Any subsequent path element after the project will be created as a folder in the project if it does not exists.
527
+ * Entity storage path in the format: `project/folder/subfolder/...`
528
+ *
529
+ * @remarks
530
+ *
531
+ * The first element identifies the project, followed by nested folders (auto-created as needed).
532
+ *
533
+ * With project-based API keys, the first element is treated as a folder name, as the project is predetermined by the API key.
504
534
  */
505
535
  path: string;
506
536
  /**
@@ -536,14 +566,19 @@ export type Data1 = {
536
566
  function: GetAllToolsDataFunction;
537
567
  };
538
568
 
539
- export type GetAllToolsData = Data1 | Data2 | Data3 | Data4 | Data5;
569
+ export type GetAllToolsData =
570
+ | GetAllToolsData1
571
+ | GetAllToolsData2
572
+ | Data3
573
+ | Data4
574
+ | Data5;
540
575
 
541
576
  /**
542
577
  * Successfully retrieved the list of tools.
543
578
  */
544
579
  export type GetAllToolsResponseBody = {
545
580
  object: GetAllToolsObject;
546
- data: Array<Data1 | Data2 | Data3 | Data4 | Data5>;
581
+ data: Array<GetAllToolsData1 | GetAllToolsData2 | Data3 | Data4 | Data5>;
547
582
  hasMore: boolean;
548
583
  };
549
584
 
@@ -763,7 +798,7 @@ export function dataCodeToolFromJSON(
763
798
  /** @internal */
764
799
  export const Data5$inboundSchema: z.ZodType<Data5, z.ZodTypeDef, unknown> = z
765
800
  .object({
766
- _id: z.string().default("01K7GJX61NNHKB4YGGJ4HXH0JP"),
801
+ _id: z.string().default("01K7K4ZPHFHCGK25VM927DMB6T"),
767
802
  path: z.string(),
768
803
  key: z.string(),
769
804
  display_name: z.string(),
@@ -816,7 +851,7 @@ export const Data5$outboundSchema: z.ZodType<
816
851
  z.ZodTypeDef,
817
852
  Data5
818
853
  > = z.object({
819
- id: z.string().default("01K7GJX61NNHKB4YGGJ4HXH0JP"),
854
+ id: z.string().default("01K7K4ZPHFHCGK25VM927DMB6T"),
820
855
  path: z.string(),
821
856
  key: z.string(),
822
857
  displayName: z.string(),
@@ -1159,7 +1194,7 @@ export function dataMcpFromJSON(
1159
1194
  /** @internal */
1160
1195
  export const Data4$inboundSchema: z.ZodType<Data4, z.ZodTypeDef, unknown> = z
1161
1196
  .object({
1162
- _id: z.string().default("01K7GJX61NEESE52G05H1NDWRG"),
1197
+ _id: z.string().default("01K7K4ZPHER3A7X8JKKRGGGP7H"),
1163
1198
  path: z.string(),
1164
1199
  key: z.string(),
1165
1200
  display_name: z.string(),
@@ -1211,7 +1246,7 @@ export const Data4$outboundSchema: z.ZodType<
1211
1246
  z.ZodTypeDef,
1212
1247
  Data4
1213
1248
  > = z.object({
1214
- id: z.string().default("01K7GJX61NEESE52G05H1NDWRG"),
1249
+ id: z.string().default("01K7K4ZPHER3A7X8JKKRGGGP7H"),
1215
1250
  path: z.string(),
1216
1251
  key: z.string(),
1217
1252
  displayName: z.string(),
@@ -1594,7 +1629,7 @@ export function getAllToolsDataHttpFromJSON(
1594
1629
  /** @internal */
1595
1630
  export const Data3$inboundSchema: z.ZodType<Data3, z.ZodTypeDef, unknown> = z
1596
1631
  .object({
1597
- _id: z.string().default("01K7GJX61MA5SVARKP5MJ4Z0QJ"),
1632
+ _id: z.string().default("01K7K4ZPHES0V7FZHBGD4B00QA"),
1598
1633
  path: z.string(),
1599
1634
  key: z.string(),
1600
1635
  display_name: z.string(),
@@ -1646,7 +1681,7 @@ export const Data3$outboundSchema: z.ZodType<
1646
1681
  z.ZodTypeDef,
1647
1682
  Data3
1648
1683
  > = z.object({
1649
- id: z.string().default("01K7GJX61MA5SVARKP5MJ4Z0QJ"),
1684
+ id: z.string().default("01K7K4ZPHES0V7FZHBGD4B00QA"),
1650
1685
  path: z.string(),
1651
1686
  key: z.string(),
1652
1687
  displayName: z.string(),
@@ -1802,38 +1837,41 @@ export function dataJsonSchemaFromJSON(
1802
1837
  }
1803
1838
 
1804
1839
  /** @internal */
1805
- export const Data2$inboundSchema: z.ZodType<Data2, z.ZodTypeDef, unknown> = z
1806
- .object({
1807
- _id: z.string().default("01K7GJX61MY9RPR7DG1TTDNNW1"),
1808
- path: z.string(),
1809
- key: z.string(),
1810
- display_name: z.string(),
1811
- description: z.string(),
1812
- created_by_id: z.string().optional(),
1813
- updated_by_id: z.string().optional(),
1814
- project_id: z.string(),
1815
- workspace_id: z.string(),
1816
- created: z.string(),
1817
- updated: z.string(),
1818
- status: GetAllToolsDataStatus$inboundSchema.default("live"),
1819
- version_hash: z.string().optional(),
1820
- type: GetAllToolsDataToolsType$inboundSchema,
1821
- json_schema: z.lazy(() => DataJsonSchema$inboundSchema),
1822
- }).transform((v) => {
1823
- return remap$(v, {
1824
- "_id": "id",
1825
- "display_name": "displayName",
1826
- "created_by_id": "createdById",
1827
- "updated_by_id": "updatedById",
1828
- "project_id": "projectId",
1829
- "workspace_id": "workspaceId",
1830
- "version_hash": "versionHash",
1831
- "json_schema": "jsonSchema",
1832
- });
1840
+ export const GetAllToolsData2$inboundSchema: z.ZodType<
1841
+ GetAllToolsData2,
1842
+ z.ZodTypeDef,
1843
+ unknown
1844
+ > = z.object({
1845
+ _id: z.string().default("01K7K4ZPHEWSAZ3WFFM10TY1SX"),
1846
+ path: z.string(),
1847
+ key: z.string(),
1848
+ display_name: z.string(),
1849
+ description: z.string(),
1850
+ created_by_id: z.string().optional(),
1851
+ updated_by_id: z.string().optional(),
1852
+ project_id: z.string(),
1853
+ workspace_id: z.string(),
1854
+ created: z.string(),
1855
+ updated: z.string(),
1856
+ status: GetAllToolsDataStatus$inboundSchema.default("live"),
1857
+ version_hash: z.string().optional(),
1858
+ type: GetAllToolsDataToolsType$inboundSchema,
1859
+ json_schema: z.lazy(() => DataJsonSchema$inboundSchema),
1860
+ }).transform((v) => {
1861
+ return remap$(v, {
1862
+ "_id": "id",
1863
+ "display_name": "displayName",
1864
+ "created_by_id": "createdById",
1865
+ "updated_by_id": "updatedById",
1866
+ "project_id": "projectId",
1867
+ "workspace_id": "workspaceId",
1868
+ "version_hash": "versionHash",
1869
+ "json_schema": "jsonSchema",
1833
1870
  });
1871
+ });
1834
1872
 
1835
1873
  /** @internal */
1836
- export type Data2$Outbound = {
1874
+ export type GetAllToolsData2$Outbound = {
1837
1875
  _id: string;
1838
1876
  path: string;
1839
1877
  key: string;
@@ -1852,12 +1890,12 @@ export type Data2$Outbound = {
1852
1890
  };
1853
1891
 
1854
1892
  /** @internal */
1855
- export const Data2$outboundSchema: z.ZodType<
1856
- Data2$Outbound,
1893
+ export const GetAllToolsData2$outboundSchema: z.ZodType<
1894
+ GetAllToolsData2$Outbound,
1857
1895
  z.ZodTypeDef,
1858
- Data2
1896
+ GetAllToolsData2
1859
1897
  > = z.object({
1860
- id: z.string().default("01K7GJX61MY9RPR7DG1TTDNNW1"),
1898
+ id: z.string().default("01K7K4ZPHEWSAZ3WFFM10TY1SX"),
1861
1899
  path: z.string(),
1862
1900
  key: z.string(),
1863
1901
  displayName: z.string(),
@@ -1889,26 +1927,30 @@ export const Data2$outboundSchema: z.ZodType<
1889
1927
  * @internal
1890
1928
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1891
1929
  */
1892
- export namespace Data2$ {
1893
- /** @deprecated use `Data2$inboundSchema` instead. */
1894
- export const inboundSchema = Data2$inboundSchema;
1895
- /** @deprecated use `Data2$outboundSchema` instead. */
1896
- export const outboundSchema = Data2$outboundSchema;
1897
- /** @deprecated use `Data2$Outbound` instead. */
1898
- export type Outbound = Data2$Outbound;
1930
+ export namespace GetAllToolsData2$ {
1931
+ /** @deprecated use `GetAllToolsData2$inboundSchema` instead. */
1932
+ export const inboundSchema = GetAllToolsData2$inboundSchema;
1933
+ /** @deprecated use `GetAllToolsData2$outboundSchema` instead. */
1934
+ export const outboundSchema = GetAllToolsData2$outboundSchema;
1935
+ /** @deprecated use `GetAllToolsData2$Outbound` instead. */
1936
+ export type Outbound = GetAllToolsData2$Outbound;
1899
1937
  }
1900
1938
 
1901
- export function data2ToJSON(data2: Data2): string {
1902
- return JSON.stringify(Data2$outboundSchema.parse(data2));
1939
+ export function getAllToolsData2ToJSON(
1940
+ getAllToolsData2: GetAllToolsData2,
1941
+ ): string {
1942
+ return JSON.stringify(
1943
+ GetAllToolsData2$outboundSchema.parse(getAllToolsData2),
1944
+ );
1903
1945
  }
1904
1946
 
1905
- export function data2FromJSON(
1947
+ export function getAllToolsData2FromJSON(
1906
1948
  jsonString: string,
1907
- ): SafeParseResult<Data2, SDKValidationError> {
1949
+ ): SafeParseResult<GetAllToolsData2, SDKValidationError> {
1908
1950
  return safeParse(
1909
1951
  jsonString,
1910
- (x) => Data2$inboundSchema.parse(JSON.parse(x)),
1911
- `Failed to parse 'Data2' from JSON`,
1952
+ (x) => GetAllToolsData2$inboundSchema.parse(JSON.parse(x)),
1953
+ `Failed to parse 'GetAllToolsData2' from JSON`,
1912
1954
  );
1913
1955
  }
1914
1956
 
@@ -2016,37 +2058,40 @@ export function getAllToolsDataFunctionFromJSON(
2016
2058
  }
2017
2059
 
2018
2060
  /** @internal */
2019
- export const Data1$inboundSchema: z.ZodType<Data1, z.ZodTypeDef, unknown> = z
2020
- .object({
2021
- _id: z.string().default("01K7GJX61MPE8SY0Y2GC4NNMTA"),
2022
- path: z.string(),
2023
- key: z.string(),
2024
- display_name: z.string(),
2025
- description: z.string(),
2026
- created_by_id: z.string().optional(),
2027
- updated_by_id: z.string().optional(),
2028
- project_id: z.string(),
2029
- workspace_id: z.string(),
2030
- created: z.string(),
2031
- updated: z.string(),
2032
- status: DataStatus$inboundSchema.default("live"),
2033
- version_hash: z.string().optional(),
2034
- type: GetAllToolsDataType$inboundSchema,
2035
- function: z.lazy(() => GetAllToolsDataFunction$inboundSchema),
2036
- }).transform((v) => {
2037
- return remap$(v, {
2038
- "_id": "id",
2039
- "display_name": "displayName",
2040
- "created_by_id": "createdById",
2041
- "updated_by_id": "updatedById",
2042
- "project_id": "projectId",
2043
- "workspace_id": "workspaceId",
2044
- "version_hash": "versionHash",
2045
- });
2061
+ export const GetAllToolsData1$inboundSchema: z.ZodType<
2062
+ GetAllToolsData1,
2063
+ z.ZodTypeDef,
2064
+ unknown
2065
+ > = z.object({
2066
+ _id: z.string().default("01K7K4ZPHDEQ2RGHNT4RG6J9KA"),
2067
+ path: z.string(),
2068
+ key: z.string(),
2069
+ display_name: z.string(),
2070
+ description: z.string(),
2071
+ created_by_id: z.string().optional(),
2072
+ updated_by_id: z.string().optional(),
2073
+ project_id: z.string(),
2074
+ workspace_id: z.string(),
2075
+ created: z.string(),
2076
+ updated: z.string(),
2077
+ status: DataStatus$inboundSchema.default("live"),
2078
+ version_hash: z.string().optional(),
2079
+ type: GetAllToolsDataType$inboundSchema,
2080
+ function: z.lazy(() => GetAllToolsDataFunction$inboundSchema),
2081
+ }).transform((v) => {
2082
+ return remap$(v, {
2083
+ "_id": "id",
2084
+ "display_name": "displayName",
2085
+ "created_by_id": "createdById",
2086
+ "updated_by_id": "updatedById",
2087
+ "project_id": "projectId",
2088
+ "workspace_id": "workspaceId",
2089
+ "version_hash": "versionHash",
2046
2090
  });
2091
+ });
2047
2092
 
2048
2093
  /** @internal */
2049
- export type Data1$Outbound = {
2094
+ export type GetAllToolsData1$Outbound = {
2050
2095
  _id: string;
2051
2096
  path: string;
2052
2097
  key: string;
@@ -2065,12 +2110,12 @@ export type Data1$Outbound = {
2065
2110
  };
2066
2111
 
2067
2112
  /** @internal */
2068
- export const Data1$outboundSchema: z.ZodType<
2069
- Data1$Outbound,
2113
+ export const GetAllToolsData1$outboundSchema: z.ZodType<
2114
+ GetAllToolsData1$Outbound,
2070
2115
  z.ZodTypeDef,
2071
- Data1
2116
+ GetAllToolsData1
2072
2117
  > = z.object({
2073
- id: z.string().default("01K7GJX61MPE8SY0Y2GC4NNMTA"),
2118
+ id: z.string().default("01K7K4ZPHDEQ2RGHNT4RG6J9KA"),
2074
2119
  path: z.string(),
2075
2120
  key: z.string(),
2076
2121
  displayName: z.string(),
@@ -2101,26 +2146,30 @@ export const Data1$outboundSchema: z.ZodType<
2101
2146
  * @internal
2102
2147
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2103
2148
  */
2104
- export namespace Data1$ {
2105
- /** @deprecated use `Data1$inboundSchema` instead. */
2106
- export const inboundSchema = Data1$inboundSchema;
2107
- /** @deprecated use `Data1$outboundSchema` instead. */
2108
- export const outboundSchema = Data1$outboundSchema;
2109
- /** @deprecated use `Data1$Outbound` instead. */
2110
- export type Outbound = Data1$Outbound;
2149
+ export namespace GetAllToolsData1$ {
2150
+ /** @deprecated use `GetAllToolsData1$inboundSchema` instead. */
2151
+ export const inboundSchema = GetAllToolsData1$inboundSchema;
2152
+ /** @deprecated use `GetAllToolsData1$outboundSchema` instead. */
2153
+ export const outboundSchema = GetAllToolsData1$outboundSchema;
2154
+ /** @deprecated use `GetAllToolsData1$Outbound` instead. */
2155
+ export type Outbound = GetAllToolsData1$Outbound;
2111
2156
  }
2112
2157
 
2113
- export function data1ToJSON(data1: Data1): string {
2114
- return JSON.stringify(Data1$outboundSchema.parse(data1));
2158
+ export function getAllToolsData1ToJSON(
2159
+ getAllToolsData1: GetAllToolsData1,
2160
+ ): string {
2161
+ return JSON.stringify(
2162
+ GetAllToolsData1$outboundSchema.parse(getAllToolsData1),
2163
+ );
2115
2164
  }
2116
2165
 
2117
- export function data1FromJSON(
2166
+ export function getAllToolsData1FromJSON(
2118
2167
  jsonString: string,
2119
- ): SafeParseResult<Data1, SDKValidationError> {
2168
+ ): SafeParseResult<GetAllToolsData1, SDKValidationError> {
2120
2169
  return safeParse(
2121
2170
  jsonString,
2122
- (x) => Data1$inboundSchema.parse(JSON.parse(x)),
2123
- `Failed to parse 'Data1' from JSON`,
2171
+ (x) => GetAllToolsData1$inboundSchema.parse(JSON.parse(x)),
2172
+ `Failed to parse 'GetAllToolsData1' from JSON`,
2124
2173
  );
2125
2174
  }
2126
2175
 
@@ -2130,8 +2179,8 @@ export const GetAllToolsData$inboundSchema: z.ZodType<
2130
2179
  z.ZodTypeDef,
2131
2180
  unknown
2132
2181
  > = z.union([
2133
- z.lazy(() => Data1$inboundSchema),
2134
- z.lazy(() => Data2$inboundSchema),
2182
+ z.lazy(() => GetAllToolsData1$inboundSchema),
2183
+ z.lazy(() => GetAllToolsData2$inboundSchema),
2135
2184
  z.lazy(() => Data3$inboundSchema),
2136
2185
  z.lazy(() => Data4$inboundSchema),
2137
2186
  z.lazy(() => Data5$inboundSchema),
@@ -2139,8 +2188,8 @@ export const GetAllToolsData$inboundSchema: z.ZodType<
2139
2188
 
2140
2189
  /** @internal */
2141
2190
  export type GetAllToolsData$Outbound =
2142
- | Data1$Outbound
2143
- | Data2$Outbound
2191
+ | GetAllToolsData1$Outbound
2192
+ | GetAllToolsData2$Outbound
2144
2193
  | Data3$Outbound
2145
2194
  | Data4$Outbound
2146
2195
  | Data5$Outbound;
@@ -2151,8 +2200,8 @@ export const GetAllToolsData$outboundSchema: z.ZodType<
2151
2200
  z.ZodTypeDef,
2152
2201
  GetAllToolsData
2153
2202
  > = z.union([
2154
- z.lazy(() => Data1$outboundSchema),
2155
- z.lazy(() => Data2$outboundSchema),
2203
+ z.lazy(() => GetAllToolsData1$outboundSchema),
2204
+ z.lazy(() => GetAllToolsData2$outboundSchema),
2156
2205
  z.lazy(() => Data3$outboundSchema),
2157
2206
  z.lazy(() => Data4$outboundSchema),
2158
2207
  z.lazy(() => Data5$outboundSchema),
@@ -2196,8 +2245,8 @@ export const GetAllToolsResponseBody$inboundSchema: z.ZodType<
2196
2245
  object: GetAllToolsObject$inboundSchema,
2197
2246
  data: z.array(
2198
2247
  z.union([
2199
- z.lazy(() => Data1$inboundSchema),
2200
- z.lazy(() => Data2$inboundSchema),
2248
+ z.lazy(() => GetAllToolsData1$inboundSchema),
2249
+ z.lazy(() => GetAllToolsData2$inboundSchema),
2201
2250
  z.lazy(() => Data3$inboundSchema),
2202
2251
  z.lazy(() => Data4$inboundSchema),
2203
2252
  z.lazy(() => Data5$inboundSchema),
@@ -2214,8 +2263,8 @@ export const GetAllToolsResponseBody$inboundSchema: z.ZodType<
2214
2263
  export type GetAllToolsResponseBody$Outbound = {
2215
2264
  object: string;
2216
2265
  data: Array<
2217
- | Data1$Outbound
2218
- | Data2$Outbound
2266
+ | GetAllToolsData1$Outbound
2267
+ | GetAllToolsData2$Outbound
2219
2268
  | Data3$Outbound
2220
2269
  | Data4$Outbound
2221
2270
  | Data5$Outbound
@@ -2232,8 +2281,8 @@ export const GetAllToolsResponseBody$outboundSchema: z.ZodType<
2232
2281
  object: GetAllToolsObject$outboundSchema,
2233
2282
  data: z.array(
2234
2283
  z.union([
2235
- z.lazy(() => Data1$outboundSchema),
2236
- z.lazy(() => Data2$outboundSchema),
2284
+ z.lazy(() => GetAllToolsData1$outboundSchema),
2285
+ z.lazy(() => GetAllToolsData2$outboundSchema),
2237
2286
  z.lazy(() => Data3$outboundSchema),
2238
2287
  z.lazy(() => Data4$outboundSchema),
2239
2288
  z.lazy(() => Data5$outboundSchema),
@@ -351,7 +351,7 @@ export const GetBudgetResponseBody$inboundSchema: z.ZodType<
351
351
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
352
352
  .optional(),
353
353
  updated: z.string().datetime({ offset: true }).default(
354
- "2025-10-14T05:25:41.367Z",
354
+ "2025-10-15T05:20:08.470Z",
355
355
  ).transform(v => new Date(v)),
356
356
  }).transform((v) => {
357
357
  return remap$(v, {
@@ -386,7 +386,7 @@ export const GetBudgetResponseBody$outboundSchema: z.ZodType<
386
386
  isActive: z.boolean(),
387
387
  consumption: z.lazy(() => GetBudgetConsumption$outboundSchema).optional(),
388
388
  created: z.date().transform(v => v.toISOString()).optional(),
389
- updated: z.date().default(() => new Date("2025-10-14T05:25:41.367Z"))
389
+ updated: z.date().default(() => new Date("2025-10-15T05:20:08.470Z"))
390
390
  .transform(v => v.toISOString()),
391
391
  }).transform((v) => {
392
392
  return remap$(v, {