@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.
- package/bin/mcp-server.js +215 -229
- package/bin/mcp-server.js.map +44 -44
- package/examples/package-lock.json +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +2 -2
- package/lib/config.js +2 -2
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/server.js +1 -1
- package/models/components/deployments.d.ts +0 -6
- package/models/components/deployments.d.ts.map +1 -1
- package/models/components/deployments.js +0 -2
- package/models/components/deployments.js.map +1 -1
- package/models/operations/createbudget.js +2 -2
- package/models/operations/createcontact.js +2 -2
- package/models/operations/createdataset.js +2 -2
- package/models/operations/createdatasetitem.d.ts +0 -6
- package/models/operations/createdatasetitem.d.ts.map +1 -1
- package/models/operations/createdatasetitem.js +2 -4
- package/models/operations/createdatasetitem.js.map +1 -1
- package/models/operations/createdatasource.js +2 -2
- package/models/operations/createeval.js +28 -28
- package/models/operations/createtool.js +14 -14
- package/models/operations/deploymentcreatemetric.d.ts +0 -6
- package/models/operations/deploymentcreatemetric.d.ts.map +1 -1
- package/models/operations/deploymentcreatemetric.js +0 -2
- package/models/operations/deploymentcreatemetric.js.map +1 -1
- package/models/operations/deploymentgetconfig.d.ts +0 -6
- package/models/operations/deploymentgetconfig.d.ts.map +1 -1
- package/models/operations/deploymentgetconfig.js +0 -2
- package/models/operations/deploymentgetconfig.js.map +1 -1
- package/models/operations/deploymentstream.d.ts +0 -6
- package/models/operations/deploymentstream.d.ts.map +1 -1
- package/models/operations/deploymentstream.js +0 -2
- package/models/operations/deploymentstream.js.map +1 -1
- package/models/operations/duplicatetool.js +10 -10
- package/models/operations/fileget.js +2 -2
- package/models/operations/filelist.js +2 -2
- package/models/operations/fileupload.js +2 -2
- package/models/operations/getagent.js +2 -2
- package/models/operations/getalltools.js +10 -10
- package/models/operations/getbudget.js +2 -2
- package/models/operations/getevals.js +28 -28
- package/models/operations/listagents.js +2 -2
- package/models/operations/listbudgets.js +2 -2
- package/models/operations/listcontacts.js +2 -2
- package/models/operations/listdatasetdatapoints.d.ts +0 -3
- package/models/operations/listdatasetdatapoints.d.ts.map +1 -1
- package/models/operations/listdatasetdatapoints.js +2 -3
- package/models/operations/listdatasetdatapoints.js.map +1 -1
- package/models/operations/listdatasets.js +2 -2
- package/models/operations/listdatasources.js +2 -2
- package/models/operations/retrievecontact.js +2 -2
- package/models/operations/retrievedatapoint.d.ts +0 -3
- package/models/operations/retrievedatapoint.d.ts.map +1 -1
- package/models/operations/retrievedatapoint.js +2 -3
- package/models/operations/retrievedatapoint.js.map +1 -1
- package/models/operations/retrievedataset.js +2 -2
- package/models/operations/retrievedatasource.js +2 -2
- package/models/operations/retrievetool.js +10 -10
- package/models/operations/runagent.js +2 -2
- package/models/operations/streamrunagent.js +2 -2
- package/models/operations/updatebudget.js +2 -2
- package/models/operations/updatecontact.js +2 -2
- package/models/operations/updatedatapoint.d.ts +0 -6
- package/models/operations/updatedatapoint.d.ts.map +1 -1
- package/models/operations/updatedatapoint.js +2 -4
- package/models/operations/updatedatapoint.js.map +1 -1
- package/models/operations/updatedataset.js +2 -2
- package/models/operations/updatedatasource.js +2 -2
- package/models/operations/updateeval.js +28 -28
- package/models/operations/updatetool.js +14 -14
- package/package.json +1 -1
- package/packages/orq-rc/docs/sdks/knowledge/README.md +6 -0
- package/packages/orq-rc/examples/package-lock.json +1 -1
- package/packages/orq-rc/jsr.json +1 -1
- package/packages/orq-rc/package-lock.json +2 -2
- package/packages/orq-rc/package.json +1 -1
- package/packages/orq-rc/src/lib/config.ts +2 -2
- package/packages/orq-rc/src/mcp-server/mcp-server.ts +1 -1
- package/packages/orq-rc/src/mcp-server/server.ts +1 -1
- package/packages/orq-rc/src/models/components/deployments.ts +0 -2
- package/packages/orq-rc/src/models/operations/createbudget.ts +2 -2
- package/packages/orq-rc/src/models/operations/createcontact.ts +2 -2
- package/packages/orq-rc/src/models/operations/createdataset.ts +9 -3
- package/packages/orq-rc/src/models/operations/createdatasetitem.ts +8 -10
- package/packages/orq-rc/src/models/operations/createdatasource.ts +2 -2
- package/packages/orq-rc/src/models/operations/createeval.ts +236 -201
- package/packages/orq-rc/src/models/operations/createknowledge.ts +1231 -275
- package/packages/orq-rc/src/models/operations/creatememorystore.ts +7 -1
- package/packages/orq-rc/src/models/operations/createprompt.ts +7 -1
- package/packages/orq-rc/src/models/operations/createtool.ts +192 -116
- package/packages/orq-rc/src/models/operations/deploymentcreatemetric.ts +0 -2
- package/packages/orq-rc/src/models/operations/deploymentgetconfig.ts +0 -2
- package/packages/orq-rc/src/models/operations/deploymentstream.ts +0 -2
- package/packages/orq-rc/src/models/operations/duplicatetool.ts +45 -15
- package/packages/orq-rc/src/models/operations/fileget.ts +2 -2
- package/packages/orq-rc/src/models/operations/filelist.ts +2 -2
- package/packages/orq-rc/src/models/operations/fileupload.ts +2 -2
- package/packages/orq-rc/src/models/operations/getagent.ts +9 -3
- package/packages/orq-rc/src/models/operations/getalltools.ts +167 -118
- package/packages/orq-rc/src/models/operations/getbudget.ts +2 -2
- package/packages/orq-rc/src/models/operations/getevals.ts +157 -143
- package/packages/orq-rc/src/models/operations/getoneknowledge.ts +912 -166
- package/packages/orq-rc/src/models/operations/listagents.ts +9 -3
- package/packages/orq-rc/src/models/operations/listbudgets.ts +2 -2
- package/packages/orq-rc/src/models/operations/listcontacts.ts +2 -2
- package/packages/orq-rc/src/models/operations/listdatasetdatapoints.ts +8 -9
- package/packages/orq-rc/src/models/operations/listdatasets.ts +2 -2
- package/packages/orq-rc/src/models/operations/listdatasources.ts +2 -2
- package/packages/orq-rc/src/models/operations/listknowledgebases.ts +755 -150
- package/packages/orq-rc/src/models/operations/retrievecontact.ts +2 -2
- package/packages/orq-rc/src/models/operations/retrievedatapoint.ts +8 -9
- package/packages/orq-rc/src/models/operations/retrievedataset.ts +2 -2
- package/packages/orq-rc/src/models/operations/retrievedatasource.ts +2 -2
- package/packages/orq-rc/src/models/operations/retrievetool.ts +45 -15
- package/packages/orq-rc/src/models/operations/runagent.ts +7 -1
- package/packages/orq-rc/src/models/operations/searchknowledge.ts +49 -62
- package/packages/orq-rc/src/models/operations/streamrunagent.ts +7 -1
- package/packages/orq-rc/src/models/operations/updatebudget.ts +2 -2
- package/packages/orq-rc/src/models/operations/updatecontact.ts +2 -2
- package/packages/orq-rc/src/models/operations/updatedatapoint.ts +8 -10
- package/packages/orq-rc/src/models/operations/updatedataset.ts +9 -3
- package/packages/orq-rc/src/models/operations/updatedatasource.ts +2 -2
- package/packages/orq-rc/src/models/operations/updateeval.ts +56 -32
- package/packages/orq-rc/src/models/operations/updateknowledge.ts +1710 -367
- package/packages/orq-rc/src/models/operations/updatememorystore.ts +7 -1
- package/packages/orq-rc/src/models/operations/updateprompt.ts +7 -1
- package/packages/orq-rc/src/models/operations/updatetool.ts +80 -20
- package/src/lib/config.ts +2 -2
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/models/components/deployments.ts +0 -2
- package/src/models/operations/createbudget.ts +2 -2
- package/src/models/operations/createcontact.ts +2 -2
- package/src/models/operations/createdataset.ts +2 -2
- package/src/models/operations/createdatasetitem.ts +2 -4
- package/src/models/operations/createdatasource.ts +2 -2
- package/src/models/operations/createeval.ts +28 -28
- package/src/models/operations/createtool.ts +14 -14
- package/src/models/operations/deploymentcreatemetric.ts +0 -2
- package/src/models/operations/deploymentgetconfig.ts +0 -2
- package/src/models/operations/deploymentstream.ts +0 -2
- package/src/models/operations/duplicatetool.ts +10 -10
- package/src/models/operations/fileget.ts +2 -2
- package/src/models/operations/filelist.ts +2 -2
- package/src/models/operations/fileupload.ts +2 -2
- package/src/models/operations/getagent.ts +2 -2
- package/src/models/operations/getalltools.ts +10 -10
- package/src/models/operations/getbudget.ts +2 -2
- package/src/models/operations/getevals.ts +28 -28
- package/src/models/operations/listagents.ts +2 -2
- package/src/models/operations/listbudgets.ts +2 -2
- package/src/models/operations/listcontacts.ts +2 -2
- package/src/models/operations/listdatasetdatapoints.ts +2 -3
- package/src/models/operations/listdatasets.ts +2 -2
- package/src/models/operations/listdatasources.ts +2 -2
- package/src/models/operations/retrievecontact.ts +2 -2
- package/src/models/operations/retrievedatapoint.ts +2 -3
- package/src/models/operations/retrievedataset.ts +2 -2
- package/src/models/operations/retrievedatasource.ts +2 -2
- package/src/models/operations/retrievetool.ts +10 -10
- package/src/models/operations/runagent.ts +2 -2
- package/src/models/operations/streamrunagent.ts +2 -2
- package/src/models/operations/updatebudget.ts +2 -2
- package/src/models/operations/updatecontact.ts +2 -2
- package/src/models/operations/updatedatapoint.ts +2 -4
- package/src/models/operations/updatedataset.ts +2 -2
- package/src/models/operations/updatedatasource.ts +2 -2
- package/src/models/operations/updateeval.ts +28 -28
- 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
|
-
*
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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
|
|
441
|
+
export type GetAllToolsData2 = {
|
|
424
442
|
id?: string | undefined;
|
|
425
443
|
/**
|
|
426
|
-
*
|
|
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
|
|
524
|
+
export type GetAllToolsData1 = {
|
|
501
525
|
id?: string | undefined;
|
|
502
526
|
/**
|
|
503
|
-
*
|
|
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 =
|
|
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<
|
|
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("
|
|
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("
|
|
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("
|
|
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("
|
|
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("
|
|
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("
|
|
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
|
|
1806
|
-
|
|
1807
|
-
|
|
1808
|
-
|
|
1809
|
-
|
|
1810
|
-
|
|
1811
|
-
|
|
1812
|
-
|
|
1813
|
-
|
|
1814
|
-
|
|
1815
|
-
|
|
1816
|
-
|
|
1817
|
-
|
|
1818
|
-
|
|
1819
|
-
|
|
1820
|
-
|
|
1821
|
-
|
|
1822
|
-
|
|
1823
|
-
|
|
1824
|
-
|
|
1825
|
-
|
|
1826
|
-
|
|
1827
|
-
|
|
1828
|
-
|
|
1829
|
-
|
|
1830
|
-
|
|
1831
|
-
|
|
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
|
|
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
|
|
1856
|
-
|
|
1893
|
+
export const GetAllToolsData2$outboundSchema: z.ZodType<
|
|
1894
|
+
GetAllToolsData2$Outbound,
|
|
1857
1895
|
z.ZodTypeDef,
|
|
1858
|
-
|
|
1896
|
+
GetAllToolsData2
|
|
1859
1897
|
> = z.object({
|
|
1860
|
-
id: z.string().default("
|
|
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
|
|
1893
|
-
/** @deprecated use `
|
|
1894
|
-
export const inboundSchema =
|
|
1895
|
-
/** @deprecated use `
|
|
1896
|
-
export const outboundSchema =
|
|
1897
|
-
/** @deprecated use `
|
|
1898
|
-
export type 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
|
|
1902
|
-
|
|
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
|
|
1947
|
+
export function getAllToolsData2FromJSON(
|
|
1906
1948
|
jsonString: string,
|
|
1907
|
-
): SafeParseResult<
|
|
1949
|
+
): SafeParseResult<GetAllToolsData2, SDKValidationError> {
|
|
1908
1950
|
return safeParse(
|
|
1909
1951
|
jsonString,
|
|
1910
|
-
(x) =>
|
|
1911
|
-
`Failed to parse '
|
|
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
|
|
2020
|
-
|
|
2021
|
-
|
|
2022
|
-
|
|
2023
|
-
|
|
2024
|
-
|
|
2025
|
-
|
|
2026
|
-
|
|
2027
|
-
|
|
2028
|
-
|
|
2029
|
-
|
|
2030
|
-
|
|
2031
|
-
|
|
2032
|
-
|
|
2033
|
-
|
|
2034
|
-
|
|
2035
|
-
|
|
2036
|
-
|
|
2037
|
-
|
|
2038
|
-
|
|
2039
|
-
|
|
2040
|
-
|
|
2041
|
-
|
|
2042
|
-
|
|
2043
|
-
|
|
2044
|
-
|
|
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
|
|
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
|
|
2069
|
-
|
|
2113
|
+
export const GetAllToolsData1$outboundSchema: z.ZodType<
|
|
2114
|
+
GetAllToolsData1$Outbound,
|
|
2070
2115
|
z.ZodTypeDef,
|
|
2071
|
-
|
|
2116
|
+
GetAllToolsData1
|
|
2072
2117
|
> = z.object({
|
|
2073
|
-
id: z.string().default("
|
|
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
|
|
2105
|
-
/** @deprecated use `
|
|
2106
|
-
export const inboundSchema =
|
|
2107
|
-
/** @deprecated use `
|
|
2108
|
-
export const outboundSchema =
|
|
2109
|
-
/** @deprecated use `
|
|
2110
|
-
export type 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
|
|
2114
|
-
|
|
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
|
|
2166
|
+
export function getAllToolsData1FromJSON(
|
|
2118
2167
|
jsonString: string,
|
|
2119
|
-
): SafeParseResult<
|
|
2168
|
+
): SafeParseResult<GetAllToolsData1, SDKValidationError> {
|
|
2120
2169
|
return safeParse(
|
|
2121
2170
|
jsonString,
|
|
2122
|
-
(x) =>
|
|
2123
|
-
`Failed to parse '
|
|
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(() =>
|
|
2134
|
-
z.lazy(() =>
|
|
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
|
-
|
|
|
2143
|
-
|
|
|
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(() =>
|
|
2155
|
-
z.lazy(() =>
|
|
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(() =>
|
|
2200
|
-
z.lazy(() =>
|
|
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
|
-
|
|
|
2218
|
-
|
|
|
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(() =>
|
|
2236
|
-
z.lazy(() =>
|
|
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-
|
|
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-
|
|
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, {
|