@orq-ai/node 4.0.0-rc.51 → 4.0.0-rc.53
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/README.md +3 -4
- package/bin/mcp-server.js +6167 -1952
- package/bin/mcp-server.js.map +55 -56
- package/docs/sdks/agents/README.md +120 -82
- package/examples/package-lock.json +1 -1
- package/funcs/agentsInvoke.d.ts +1 -1
- package/funcs/agentsInvoke.d.ts.map +1 -1
- package/funcs/agentsInvoke.js +1 -1
- package/funcs/agentsInvoke.js.map +1 -1
- package/funcs/agentsListTasks.d.ts +1 -1
- package/funcs/agentsListTasks.d.ts.map +1 -1
- package/funcs/agentsListTasks.js +1 -1
- package/funcs/agentsListTasks.js.map +1 -1
- package/funcs/agentsRetrieveTask.d.ts +1 -1
- package/funcs/agentsRetrieveTask.d.ts.map +1 -1
- package/funcs/agentsRetrieveTask.js +1 -1
- package/funcs/agentsRetrieveTask.js.map +1 -1
- package/funcs/agentsRun.d.ts +1 -1
- package/funcs/agentsRun.d.ts.map +1 -1
- package/funcs/agentsRun.js +1 -1
- package/funcs/agentsRun.js.map +1 -1
- package/funcs/agentsStream.js +2 -0
- package/funcs/agentsStream.js.map +1 -1
- package/funcs/agentsStreamRun.js +2 -0
- package/funcs/agentsStreamRun.js.map +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 +2 -2
- package/mcp-server/server.js.map +1 -1
- package/models/errors/index.d.ts +0 -1
- package/models/errors/index.d.ts.map +1 -1
- package/models/errors/index.js +0 -1
- package/models/errors/index.js.map +1 -1
- package/models/operations/createagent.d.ts +17 -7
- package/models/operations/createagent.d.ts.map +1 -1
- package/models/operations/createagent.js +12 -4
- package/models/operations/createagent.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.js +8 -8
- package/models/operations/createdatasource.js +2 -2
- package/models/operations/createeval.d.ts +70 -70
- package/models/operations/createeval.d.ts.map +1 -1
- package/models/operations/createeval.js +162 -169
- package/models/operations/createeval.js.map +1 -1
- package/models/operations/createtool.d.ts +25 -25
- package/models/operations/createtool.d.ts.map +1 -1
- package/models/operations/createtool.js +41 -41
- package/models/operations/createtool.js.map +1 -1
- package/models/operations/deploymentinvoke.d.ts +6 -6
- package/models/operations/deploymentinvoke.d.ts.map +1 -1
- package/models/operations/deploymentinvoke.js +9 -9
- package/models/operations/deploymentinvoke.js.map +1 -1
- 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.d.ts +5 -0
- package/models/operations/getagent.d.ts.map +1 -1
- package/models/operations/getagent.js +4 -0
- package/models/operations/getagent.js.map +1 -1
- package/models/operations/getagenttask.d.ts +682 -108
- package/models/operations/getagenttask.d.ts.map +1 -1
- package/models/operations/getagenttask.js +635 -155
- package/models/operations/getagenttask.js.map +1 -1
- package/models/operations/getalltools.d.ts +34 -34
- package/models/operations/getalltools.d.ts.map +1 -1
- package/models/operations/getalltools.js +74 -79
- package/models/operations/getalltools.js.map +1 -1
- package/models/operations/getbudget.js +2 -2
- package/models/operations/getevals.js +28 -28
- package/models/operations/invokeagent.d.ts +143 -123
- package/models/operations/invokeagent.d.ts.map +1 -1
- package/models/operations/invokeagent.js +143 -146
- package/models/operations/invokeagent.js.map +1 -1
- package/models/operations/listagents.d.ts +5 -0
- package/models/operations/listagents.d.ts.map +1 -1
- package/models/operations/listagents.js +4 -0
- package/models/operations/listagents.js.map +1 -1
- package/models/operations/listagenttasks.d.ts +680 -118
- package/models/operations/listagenttasks.d.ts.map +1 -1
- package/models/operations/listagenttasks.js +612 -144
- package/models/operations/listagenttasks.js.map +1 -1
- package/models/operations/listbudgets.js +2 -2
- package/models/operations/listchunks.d.ts +6 -6
- package/models/operations/listchunks.d.ts.map +1 -1
- package/models/operations/listchunks.js +9 -9
- package/models/operations/listchunks.js.map +1 -1
- package/models/operations/listcontacts.js +2 -2
- package/models/operations/listdatasetdatapoints.js +8 -8
- package/models/operations/listdatasets.js +2 -2
- package/models/operations/listdatasources.d.ts +6 -6
- package/models/operations/listdatasources.d.ts.map +1 -1
- package/models/operations/listdatasources.js +12 -11
- package/models/operations/listdatasources.js.map +1 -1
- package/models/operations/retrievecontact.js +2 -2
- package/models/operations/retrievedatapoint.js +8 -8
- package/models/operations/retrievedataset.js +2 -2
- package/models/operations/retrievedatasource.js +2 -2
- package/models/operations/retrievetool.js +12 -12
- package/models/operations/runagent.d.ts +112 -98
- package/models/operations/runagent.d.ts.map +1 -1
- package/models/operations/runagent.js +120 -121
- package/models/operations/runagent.js.map +1 -1
- package/models/operations/streamagent.d.ts +2725 -167
- package/models/operations/streamagent.d.ts.map +1 -1
- package/models/operations/streamagent.js +2948 -17
- package/models/operations/streamagent.js.map +1 -1
- package/models/operations/streamrunagent.d.ts +3274 -722
- package/models/operations/streamrunagent.d.ts.map +1 -1
- package/models/operations/streamrunagent.js +2948 -24
- package/models/operations/streamrunagent.js.map +1 -1
- package/models/operations/updateagent.d.ts +28 -15
- package/models/operations/updateagent.d.ts.map +1 -1
- package/models/operations/updateagent.js +25 -15
- package/models/operations/updateagent.js.map +1 -1
- package/models/operations/updatebudget.js +2 -2
- package/models/operations/updatecontact.js +2 -2
- package/models/operations/updatedatapoint.js +8 -8
- 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/sdk/agents.d.ts +10 -10
- package/sdk/agents.d.ts.map +1 -1
- package/sdk/agents.js +9 -9
- package/sdk/agents.js.map +1 -1
- package/src/funcs/agentsInvoke.ts +4 -4
- package/src/funcs/agentsListTasks.ts +4 -4
- package/src/funcs/agentsRetrieveTask.ts +8 -8
- package/src/funcs/agentsRun.ts +4 -4
- package/src/funcs/agentsStream.ts +1 -0
- package/src/funcs/agentsStreamRun.ts +1 -0
- package/src/lib/config.ts +2 -2
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +2 -2
- package/src/models/errors/index.ts +0 -1
- package/src/models/operations/createagent.ts +31 -13
- 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 +8 -8
- package/src/models/operations/createdatasource.ts +2 -2
- package/src/models/operations/createeval.ts +368 -294
- package/src/models/operations/createtool.ts +76 -76
- package/src/models/operations/deploymentinvoke.ts +17 -24
- 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 +9 -0
- package/src/models/operations/getagenttask.ts +1873 -428
- package/src/models/operations/getalltools.ts +277 -231
- package/src/models/operations/getbudget.ts +2 -2
- package/src/models/operations/getevals.ts +28 -28
- package/src/models/operations/invokeagent.ts +319 -299
- package/src/models/operations/listagents.ts +9 -0
- package/src/models/operations/listagenttasks.ts +2029 -540
- package/src/models/operations/listbudgets.ts +2 -2
- package/src/models/operations/listchunks.ts +14 -14
- package/src/models/operations/listcontacts.ts +2 -2
- package/src/models/operations/listdatasetdatapoints.ts +8 -8
- package/src/models/operations/listdatasets.ts +2 -2
- package/src/models/operations/listdatasources.ts +15 -22
- package/src/models/operations/retrievecontact.ts +2 -2
- package/src/models/operations/retrievedatapoint.ts +8 -8
- package/src/models/operations/retrievedataset.ts +2 -2
- package/src/models/operations/retrievedatasource.ts +2 -2
- package/src/models/operations/retrievetool.ts +12 -12
- package/src/models/operations/runagent.ts +264 -220
- package/src/models/operations/streamagent.ts +7635 -414
- package/src/models/operations/streamrunagent.ts +10745 -3582
- package/src/models/operations/updateagent.ts +56 -31
- package/src/models/operations/updatebudget.ts +2 -2
- package/src/models/operations/updatecontact.ts +2 -2
- package/src/models/operations/updatedatapoint.ts +8 -8
- 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
- package/src/sdk/agents.ts +20 -20
- package/models/errors/getagenttask.d.ts +0 -29
- package/models/errors/getagenttask.d.ts.map +0 -1
- package/models/errors/getagenttask.js +0 -74
- package/models/errors/getagenttask.js.map +0 -1
- package/src/models/errors/getagenttask.ts +0 -67
|
@@ -105,7 +105,7 @@ export type DataCodeTool = {
|
|
|
105
105
|
code: string;
|
|
106
106
|
};
|
|
107
107
|
|
|
108
|
-
export type
|
|
108
|
+
export type GetAllToolsData5 = {
|
|
109
109
|
id?: string | undefined;
|
|
110
110
|
/**
|
|
111
111
|
* Entity storage path in the format: `project/folder/subfolder/...`
|
|
@@ -230,7 +230,7 @@ export type DataMcp = {
|
|
|
230
230
|
connectionType: DataConnectionType;
|
|
231
231
|
};
|
|
232
232
|
|
|
233
|
-
export type
|
|
233
|
+
export type GetAllToolsData4 = {
|
|
234
234
|
id?: string | undefined;
|
|
235
235
|
/**
|
|
236
236
|
* Entity storage path in the format: `project/folder/subfolder/...`
|
|
@@ -392,7 +392,7 @@ export type GetAllToolsDataHttp = {
|
|
|
392
392
|
arguments?: { [k: string]: DataArguments } | undefined;
|
|
393
393
|
};
|
|
394
394
|
|
|
395
|
-
export type
|
|
395
|
+
export type GetAllToolsData3 = {
|
|
396
396
|
id?: string | undefined;
|
|
397
397
|
/**
|
|
398
398
|
* Entity storage path in the format: `project/folder/subfolder/...`
|
|
@@ -496,7 +496,7 @@ export type DataJsonSchema = {
|
|
|
496
496
|
strict?: boolean | undefined;
|
|
497
497
|
};
|
|
498
498
|
|
|
499
|
-
export type
|
|
499
|
+
export type GetAllToolsData2 = {
|
|
500
500
|
id?: string | undefined;
|
|
501
501
|
/**
|
|
502
502
|
* Entity storage path in the format: `project/folder/subfolder/...`
|
|
@@ -612,7 +612,7 @@ export type GetAllToolsDataFunction = {
|
|
|
612
612
|
parameters?: DataParameters | undefined;
|
|
613
613
|
};
|
|
614
614
|
|
|
615
|
-
export type
|
|
615
|
+
export type GetAllToolsData1 = {
|
|
616
616
|
id?: string | undefined;
|
|
617
617
|
/**
|
|
618
618
|
* Entity storage path in the format: `project/folder/subfolder/...`
|
|
@@ -657,14 +657,25 @@ export type Data1 = {
|
|
|
657
657
|
function: GetAllToolsDataFunction;
|
|
658
658
|
};
|
|
659
659
|
|
|
660
|
-
export type GetAllToolsData =
|
|
660
|
+
export type GetAllToolsData =
|
|
661
|
+
| GetAllToolsData1
|
|
662
|
+
| GetAllToolsData2
|
|
663
|
+
| GetAllToolsData3
|
|
664
|
+
| GetAllToolsData4
|
|
665
|
+
| GetAllToolsData5;
|
|
661
666
|
|
|
662
667
|
/**
|
|
663
668
|
* Successfully retrieved the list of tools.
|
|
664
669
|
*/
|
|
665
670
|
export type GetAllToolsResponseBody = {
|
|
666
671
|
object: GetAllToolsObject;
|
|
667
|
-
data: Array<
|
|
672
|
+
data: Array<
|
|
673
|
+
| GetAllToolsData1
|
|
674
|
+
| GetAllToolsData2
|
|
675
|
+
| GetAllToolsData3
|
|
676
|
+
| GetAllToolsData4
|
|
677
|
+
| GetAllToolsData5
|
|
678
|
+
>;
|
|
668
679
|
hasMore: boolean;
|
|
669
680
|
};
|
|
670
681
|
|
|
@@ -874,37 +885,40 @@ export function dataCodeToolFromJSON(
|
|
|
874
885
|
}
|
|
875
886
|
|
|
876
887
|
/** @internal */
|
|
877
|
-
export const
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
888
|
+
export const GetAllToolsData5$inboundSchema: z.ZodType<
|
|
889
|
+
GetAllToolsData5,
|
|
890
|
+
z.ZodTypeDef,
|
|
891
|
+
unknown
|
|
892
|
+
> = z.object({
|
|
893
|
+
_id: z.string().default("tool_01KAG5HR9MC01T19WA0CEBS6M7"),
|
|
894
|
+
path: z.string(),
|
|
895
|
+
key: z.string(),
|
|
896
|
+
display_name: z.string().optional(),
|
|
897
|
+
description: z.string(),
|
|
898
|
+
created_by_id: z.string().optional(),
|
|
899
|
+
updated_by_id: z.string().optional(),
|
|
900
|
+
project_id: z.string(),
|
|
901
|
+
workspace_id: z.string(),
|
|
902
|
+
created: z.string(),
|
|
903
|
+
updated: z.string(),
|
|
904
|
+
status: GetAllToolsDataToolsResponse200Status$inboundSchema.default("live"),
|
|
905
|
+
version_hash: z.string().optional(),
|
|
906
|
+
type: GetAllToolsDataToolsResponse200ApplicationJSONType$inboundSchema,
|
|
907
|
+
code_tool: z.lazy(() => DataCodeTool$inboundSchema),
|
|
908
|
+
}).transform((v) => {
|
|
909
|
+
return remap$(v, {
|
|
910
|
+
"_id": "id",
|
|
911
|
+
"display_name": "displayName",
|
|
912
|
+
"created_by_id": "createdById",
|
|
913
|
+
"updated_by_id": "updatedById",
|
|
914
|
+
"project_id": "projectId",
|
|
915
|
+
"workspace_id": "workspaceId",
|
|
916
|
+
"version_hash": "versionHash",
|
|
917
|
+
"code_tool": "codeTool",
|
|
905
918
|
});
|
|
919
|
+
});
|
|
906
920
|
/** @internal */
|
|
907
|
-
export type
|
|
921
|
+
export type GetAllToolsData5$Outbound = {
|
|
908
922
|
_id: string;
|
|
909
923
|
path: string;
|
|
910
924
|
key: string;
|
|
@@ -923,12 +937,12 @@ export type Data5$Outbound = {
|
|
|
923
937
|
};
|
|
924
938
|
|
|
925
939
|
/** @internal */
|
|
926
|
-
export const
|
|
927
|
-
|
|
940
|
+
export const GetAllToolsData5$outboundSchema: z.ZodType<
|
|
941
|
+
GetAllToolsData5$Outbound,
|
|
928
942
|
z.ZodTypeDef,
|
|
929
|
-
|
|
943
|
+
GetAllToolsData5
|
|
930
944
|
> = z.object({
|
|
931
|
-
id: z.string().default("
|
|
945
|
+
id: z.string().default("tool_01KAG5HR9MC01T19WA0CEBS6M7"),
|
|
932
946
|
path: z.string(),
|
|
933
947
|
key: z.string(),
|
|
934
948
|
displayName: z.string().optional(),
|
|
@@ -956,16 +970,20 @@ export const Data5$outboundSchema: z.ZodType<
|
|
|
956
970
|
});
|
|
957
971
|
});
|
|
958
972
|
|
|
959
|
-
export function
|
|
960
|
-
|
|
973
|
+
export function getAllToolsData5ToJSON(
|
|
974
|
+
getAllToolsData5: GetAllToolsData5,
|
|
975
|
+
): string {
|
|
976
|
+
return JSON.stringify(
|
|
977
|
+
GetAllToolsData5$outboundSchema.parse(getAllToolsData5),
|
|
978
|
+
);
|
|
961
979
|
}
|
|
962
|
-
export function
|
|
980
|
+
export function getAllToolsData5FromJSON(
|
|
963
981
|
jsonString: string,
|
|
964
|
-
): SafeParseResult<
|
|
982
|
+
): SafeParseResult<GetAllToolsData5, SDKValidationError> {
|
|
965
983
|
return safeParse(
|
|
966
984
|
jsonString,
|
|
967
|
-
(x) =>
|
|
968
|
-
`Failed to parse '
|
|
985
|
+
(x) => GetAllToolsData5$inboundSchema.parse(JSON.parse(x)),
|
|
986
|
+
`Failed to parse 'GetAllToolsData5' from JSON`,
|
|
969
987
|
);
|
|
970
988
|
}
|
|
971
989
|
|
|
@@ -1092,7 +1110,7 @@ export const DataTools$inboundSchema: z.ZodType<
|
|
|
1092
1110
|
z.ZodTypeDef,
|
|
1093
1111
|
unknown
|
|
1094
1112
|
> = z.object({
|
|
1095
|
-
id: z.string().default("
|
|
1113
|
+
id: z.string().default("01KAG5HR9KH0GNX2S30T4QJN79"),
|
|
1096
1114
|
name: z.string(),
|
|
1097
1115
|
description: z.string().optional(),
|
|
1098
1116
|
schema: z.lazy(() => GetAllToolsDataSchema$inboundSchema),
|
|
@@ -1111,7 +1129,7 @@ export const DataTools$outboundSchema: z.ZodType<
|
|
|
1111
1129
|
z.ZodTypeDef,
|
|
1112
1130
|
DataTools
|
|
1113
1131
|
> = z.object({
|
|
1114
|
-
id: z.string().default("
|
|
1132
|
+
id: z.string().default("01KAG5HR9KH0GNX2S30T4QJN79"),
|
|
1115
1133
|
name: z.string(),
|
|
1116
1134
|
description: z.string().optional(),
|
|
1117
1135
|
schema: z.lazy(() => GetAllToolsDataSchema$outboundSchema),
|
|
@@ -1191,36 +1209,39 @@ export function dataMcpFromJSON(
|
|
|
1191
1209
|
}
|
|
1192
1210
|
|
|
1193
1211
|
/** @internal */
|
|
1194
|
-
export const
|
|
1195
|
-
|
|
1196
|
-
|
|
1197
|
-
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
|
|
1202
|
-
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
|
-
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
|
|
1212
|
+
export const GetAllToolsData4$inboundSchema: z.ZodType<
|
|
1213
|
+
GetAllToolsData4,
|
|
1214
|
+
z.ZodTypeDef,
|
|
1215
|
+
unknown
|
|
1216
|
+
> = z.object({
|
|
1217
|
+
_id: z.string().default("tool_01KAG5HR9JJE48X0W2Z56S08YG"),
|
|
1218
|
+
path: z.string(),
|
|
1219
|
+
key: z.string(),
|
|
1220
|
+
display_name: z.string().optional(),
|
|
1221
|
+
description: z.string(),
|
|
1222
|
+
created_by_id: z.string().optional(),
|
|
1223
|
+
updated_by_id: z.string().optional(),
|
|
1224
|
+
project_id: z.string(),
|
|
1225
|
+
workspace_id: z.string(),
|
|
1226
|
+
created: z.string(),
|
|
1227
|
+
updated: z.string(),
|
|
1228
|
+
status: GetAllToolsDataToolsResponseStatus$inboundSchema.default("live"),
|
|
1229
|
+
version_hash: z.string().optional(),
|
|
1230
|
+
type: GetAllToolsDataToolsResponse200Type$inboundSchema,
|
|
1231
|
+
mcp: z.lazy(() => DataMcp$inboundSchema),
|
|
1232
|
+
}).transform((v) => {
|
|
1233
|
+
return remap$(v, {
|
|
1234
|
+
"_id": "id",
|
|
1235
|
+
"display_name": "displayName",
|
|
1236
|
+
"created_by_id": "createdById",
|
|
1237
|
+
"updated_by_id": "updatedById",
|
|
1238
|
+
"project_id": "projectId",
|
|
1239
|
+
"workspace_id": "workspaceId",
|
|
1240
|
+
"version_hash": "versionHash",
|
|
1221
1241
|
});
|
|
1242
|
+
});
|
|
1222
1243
|
/** @internal */
|
|
1223
|
-
export type
|
|
1244
|
+
export type GetAllToolsData4$Outbound = {
|
|
1224
1245
|
_id: string;
|
|
1225
1246
|
path: string;
|
|
1226
1247
|
key: string;
|
|
@@ -1239,12 +1260,12 @@ export type Data4$Outbound = {
|
|
|
1239
1260
|
};
|
|
1240
1261
|
|
|
1241
1262
|
/** @internal */
|
|
1242
|
-
export const
|
|
1243
|
-
|
|
1263
|
+
export const GetAllToolsData4$outboundSchema: z.ZodType<
|
|
1264
|
+
GetAllToolsData4$Outbound,
|
|
1244
1265
|
z.ZodTypeDef,
|
|
1245
|
-
|
|
1266
|
+
GetAllToolsData4
|
|
1246
1267
|
> = z.object({
|
|
1247
|
-
id: z.string().default("
|
|
1268
|
+
id: z.string().default("tool_01KAG5HR9JJE48X0W2Z56S08YG"),
|
|
1248
1269
|
path: z.string(),
|
|
1249
1270
|
key: z.string(),
|
|
1250
1271
|
displayName: z.string().optional(),
|
|
@@ -1271,16 +1292,20 @@ export const Data4$outboundSchema: z.ZodType<
|
|
|
1271
1292
|
});
|
|
1272
1293
|
});
|
|
1273
1294
|
|
|
1274
|
-
export function
|
|
1275
|
-
|
|
1295
|
+
export function getAllToolsData4ToJSON(
|
|
1296
|
+
getAllToolsData4: GetAllToolsData4,
|
|
1297
|
+
): string {
|
|
1298
|
+
return JSON.stringify(
|
|
1299
|
+
GetAllToolsData4$outboundSchema.parse(getAllToolsData4),
|
|
1300
|
+
);
|
|
1276
1301
|
}
|
|
1277
|
-
export function
|
|
1302
|
+
export function getAllToolsData4FromJSON(
|
|
1278
1303
|
jsonString: string,
|
|
1279
|
-
): SafeParseResult<
|
|
1304
|
+
): SafeParseResult<GetAllToolsData4, SDKValidationError> {
|
|
1280
1305
|
return safeParse(
|
|
1281
1306
|
jsonString,
|
|
1282
|
-
(x) =>
|
|
1283
|
-
`Failed to parse '
|
|
1307
|
+
(x) => GetAllToolsData4$inboundSchema.parse(JSON.parse(x)),
|
|
1308
|
+
`Failed to parse 'GetAllToolsData4' from JSON`,
|
|
1284
1309
|
);
|
|
1285
1310
|
}
|
|
1286
1311
|
|
|
@@ -1582,36 +1607,39 @@ export function getAllToolsDataHttpFromJSON(
|
|
|
1582
1607
|
}
|
|
1583
1608
|
|
|
1584
1609
|
/** @internal */
|
|
1585
|
-
export const
|
|
1586
|
-
|
|
1587
|
-
|
|
1588
|
-
|
|
1589
|
-
|
|
1590
|
-
|
|
1591
|
-
|
|
1592
|
-
|
|
1593
|
-
|
|
1594
|
-
|
|
1595
|
-
|
|
1596
|
-
|
|
1597
|
-
|
|
1598
|
-
|
|
1599
|
-
|
|
1600
|
-
|
|
1601
|
-
|
|
1602
|
-
|
|
1603
|
-
|
|
1604
|
-
|
|
1605
|
-
|
|
1606
|
-
|
|
1607
|
-
|
|
1608
|
-
|
|
1609
|
-
|
|
1610
|
-
|
|
1611
|
-
|
|
1610
|
+
export const GetAllToolsData3$inboundSchema: z.ZodType<
|
|
1611
|
+
GetAllToolsData3,
|
|
1612
|
+
z.ZodTypeDef,
|
|
1613
|
+
unknown
|
|
1614
|
+
> = z.object({
|
|
1615
|
+
_id: z.string().default("tool_01KAG5HR9G44QTY0JJ3A4S37N7"),
|
|
1616
|
+
path: z.string(),
|
|
1617
|
+
key: z.string(),
|
|
1618
|
+
display_name: z.string().optional(),
|
|
1619
|
+
description: z.string(),
|
|
1620
|
+
created_by_id: z.string().optional(),
|
|
1621
|
+
updated_by_id: z.string().optional(),
|
|
1622
|
+
project_id: z.string(),
|
|
1623
|
+
workspace_id: z.string(),
|
|
1624
|
+
created: z.string(),
|
|
1625
|
+
updated: z.string(),
|
|
1626
|
+
status: GetAllToolsDataToolsStatus$inboundSchema.default("live"),
|
|
1627
|
+
version_hash: z.string().optional(),
|
|
1628
|
+
type: GetAllToolsDataToolsResponseType$inboundSchema,
|
|
1629
|
+
http: z.lazy(() => GetAllToolsDataHttp$inboundSchema),
|
|
1630
|
+
}).transform((v) => {
|
|
1631
|
+
return remap$(v, {
|
|
1632
|
+
"_id": "id",
|
|
1633
|
+
"display_name": "displayName",
|
|
1634
|
+
"created_by_id": "createdById",
|
|
1635
|
+
"updated_by_id": "updatedById",
|
|
1636
|
+
"project_id": "projectId",
|
|
1637
|
+
"workspace_id": "workspaceId",
|
|
1638
|
+
"version_hash": "versionHash",
|
|
1612
1639
|
});
|
|
1640
|
+
});
|
|
1613
1641
|
/** @internal */
|
|
1614
|
-
export type
|
|
1642
|
+
export type GetAllToolsData3$Outbound = {
|
|
1615
1643
|
_id: string;
|
|
1616
1644
|
path: string;
|
|
1617
1645
|
key: string;
|
|
@@ -1630,12 +1658,12 @@ export type Data3$Outbound = {
|
|
|
1630
1658
|
};
|
|
1631
1659
|
|
|
1632
1660
|
/** @internal */
|
|
1633
|
-
export const
|
|
1634
|
-
|
|
1661
|
+
export const GetAllToolsData3$outboundSchema: z.ZodType<
|
|
1662
|
+
GetAllToolsData3$Outbound,
|
|
1635
1663
|
z.ZodTypeDef,
|
|
1636
|
-
|
|
1664
|
+
GetAllToolsData3
|
|
1637
1665
|
> = z.object({
|
|
1638
|
-
id: z.string().default("
|
|
1666
|
+
id: z.string().default("tool_01KAG5HR9G44QTY0JJ3A4S37N7"),
|
|
1639
1667
|
path: z.string(),
|
|
1640
1668
|
key: z.string(),
|
|
1641
1669
|
displayName: z.string().optional(),
|
|
@@ -1662,16 +1690,20 @@ export const Data3$outboundSchema: z.ZodType<
|
|
|
1662
1690
|
});
|
|
1663
1691
|
});
|
|
1664
1692
|
|
|
1665
|
-
export function
|
|
1666
|
-
|
|
1693
|
+
export function getAllToolsData3ToJSON(
|
|
1694
|
+
getAllToolsData3: GetAllToolsData3,
|
|
1695
|
+
): string {
|
|
1696
|
+
return JSON.stringify(
|
|
1697
|
+
GetAllToolsData3$outboundSchema.parse(getAllToolsData3),
|
|
1698
|
+
);
|
|
1667
1699
|
}
|
|
1668
|
-
export function
|
|
1700
|
+
export function getAllToolsData3FromJSON(
|
|
1669
1701
|
jsonString: string,
|
|
1670
|
-
): SafeParseResult<
|
|
1702
|
+
): SafeParseResult<GetAllToolsData3, SDKValidationError> {
|
|
1671
1703
|
return safeParse(
|
|
1672
1704
|
jsonString,
|
|
1673
|
-
(x) =>
|
|
1674
|
-
`Failed to parse '
|
|
1705
|
+
(x) => GetAllToolsData3$inboundSchema.parse(JSON.parse(x)),
|
|
1706
|
+
`Failed to parse 'GetAllToolsData3' from JSON`,
|
|
1675
1707
|
);
|
|
1676
1708
|
}
|
|
1677
1709
|
|
|
@@ -1792,37 +1824,40 @@ export function dataJsonSchemaFromJSON(
|
|
|
1792
1824
|
}
|
|
1793
1825
|
|
|
1794
1826
|
/** @internal */
|
|
1795
|
-
export const
|
|
1796
|
-
|
|
1797
|
-
|
|
1798
|
-
|
|
1799
|
-
|
|
1800
|
-
|
|
1801
|
-
|
|
1802
|
-
|
|
1803
|
-
|
|
1804
|
-
|
|
1805
|
-
|
|
1806
|
-
|
|
1807
|
-
|
|
1808
|
-
|
|
1809
|
-
|
|
1810
|
-
|
|
1811
|
-
|
|
1812
|
-
|
|
1813
|
-
|
|
1814
|
-
|
|
1815
|
-
|
|
1816
|
-
|
|
1817
|
-
|
|
1818
|
-
|
|
1819
|
-
|
|
1820
|
-
|
|
1821
|
-
|
|
1822
|
-
|
|
1827
|
+
export const GetAllToolsData2$inboundSchema: z.ZodType<
|
|
1828
|
+
GetAllToolsData2,
|
|
1829
|
+
z.ZodTypeDef,
|
|
1830
|
+
unknown
|
|
1831
|
+
> = z.object({
|
|
1832
|
+
_id: z.string().default("tool_01KAG5HR9EY7W80JSQMSCY0F1Z"),
|
|
1833
|
+
path: z.string(),
|
|
1834
|
+
key: z.string(),
|
|
1835
|
+
display_name: z.string().optional(),
|
|
1836
|
+
description: z.string(),
|
|
1837
|
+
created_by_id: z.string().optional(),
|
|
1838
|
+
updated_by_id: z.string().optional(),
|
|
1839
|
+
project_id: z.string(),
|
|
1840
|
+
workspace_id: z.string(),
|
|
1841
|
+
created: z.string(),
|
|
1842
|
+
updated: z.string(),
|
|
1843
|
+
status: GetAllToolsDataStatus$inboundSchema.default("live"),
|
|
1844
|
+
version_hash: z.string().optional(),
|
|
1845
|
+
type: GetAllToolsDataToolsType$inboundSchema,
|
|
1846
|
+
json_schema: z.lazy(() => DataJsonSchema$inboundSchema),
|
|
1847
|
+
}).transform((v) => {
|
|
1848
|
+
return remap$(v, {
|
|
1849
|
+
"_id": "id",
|
|
1850
|
+
"display_name": "displayName",
|
|
1851
|
+
"created_by_id": "createdById",
|
|
1852
|
+
"updated_by_id": "updatedById",
|
|
1853
|
+
"project_id": "projectId",
|
|
1854
|
+
"workspace_id": "workspaceId",
|
|
1855
|
+
"version_hash": "versionHash",
|
|
1856
|
+
"json_schema": "jsonSchema",
|
|
1823
1857
|
});
|
|
1858
|
+
});
|
|
1824
1859
|
/** @internal */
|
|
1825
|
-
export type
|
|
1860
|
+
export type GetAllToolsData2$Outbound = {
|
|
1826
1861
|
_id: string;
|
|
1827
1862
|
path: string;
|
|
1828
1863
|
key: string;
|
|
@@ -1841,12 +1876,12 @@ export type Data2$Outbound = {
|
|
|
1841
1876
|
};
|
|
1842
1877
|
|
|
1843
1878
|
/** @internal */
|
|
1844
|
-
export const
|
|
1845
|
-
|
|
1879
|
+
export const GetAllToolsData2$outboundSchema: z.ZodType<
|
|
1880
|
+
GetAllToolsData2$Outbound,
|
|
1846
1881
|
z.ZodTypeDef,
|
|
1847
|
-
|
|
1882
|
+
GetAllToolsData2
|
|
1848
1883
|
> = z.object({
|
|
1849
|
-
id: z.string().default("
|
|
1884
|
+
id: z.string().default("tool_01KAG5HR9EY7W80JSQMSCY0F1Z"),
|
|
1850
1885
|
path: z.string(),
|
|
1851
1886
|
key: z.string(),
|
|
1852
1887
|
displayName: z.string().optional(),
|
|
@@ -1874,16 +1909,20 @@ export const Data2$outboundSchema: z.ZodType<
|
|
|
1874
1909
|
});
|
|
1875
1910
|
});
|
|
1876
1911
|
|
|
1877
|
-
export function
|
|
1878
|
-
|
|
1912
|
+
export function getAllToolsData2ToJSON(
|
|
1913
|
+
getAllToolsData2: GetAllToolsData2,
|
|
1914
|
+
): string {
|
|
1915
|
+
return JSON.stringify(
|
|
1916
|
+
GetAllToolsData2$outboundSchema.parse(getAllToolsData2),
|
|
1917
|
+
);
|
|
1879
1918
|
}
|
|
1880
|
-
export function
|
|
1919
|
+
export function getAllToolsData2FromJSON(
|
|
1881
1920
|
jsonString: string,
|
|
1882
|
-
): SafeParseResult<
|
|
1921
|
+
): SafeParseResult<GetAllToolsData2, SDKValidationError> {
|
|
1883
1922
|
return safeParse(
|
|
1884
1923
|
jsonString,
|
|
1885
|
-
(x) =>
|
|
1886
|
-
`Failed to parse '
|
|
1924
|
+
(x) => GetAllToolsData2$inboundSchema.parse(JSON.parse(x)),
|
|
1925
|
+
`Failed to parse 'GetAllToolsData2' from JSON`,
|
|
1887
1926
|
);
|
|
1888
1927
|
}
|
|
1889
1928
|
|
|
@@ -2022,36 +2061,39 @@ export function getAllToolsDataFunctionFromJSON(
|
|
|
2022
2061
|
}
|
|
2023
2062
|
|
|
2024
2063
|
/** @internal */
|
|
2025
|
-
export const
|
|
2026
|
-
|
|
2027
|
-
|
|
2028
|
-
|
|
2029
|
-
|
|
2030
|
-
|
|
2031
|
-
|
|
2032
|
-
|
|
2033
|
-
|
|
2034
|
-
|
|
2035
|
-
|
|
2036
|
-
|
|
2037
|
-
|
|
2038
|
-
|
|
2039
|
-
|
|
2040
|
-
|
|
2041
|
-
|
|
2042
|
-
|
|
2043
|
-
|
|
2044
|
-
|
|
2045
|
-
|
|
2046
|
-
|
|
2047
|
-
|
|
2048
|
-
|
|
2049
|
-
|
|
2050
|
-
|
|
2051
|
-
|
|
2064
|
+
export const GetAllToolsData1$inboundSchema: z.ZodType<
|
|
2065
|
+
GetAllToolsData1,
|
|
2066
|
+
z.ZodTypeDef,
|
|
2067
|
+
unknown
|
|
2068
|
+
> = z.object({
|
|
2069
|
+
_id: z.string().default("tool_01KAG5HR9DY72M95FX692H01NF"),
|
|
2070
|
+
path: z.string(),
|
|
2071
|
+
key: z.string(),
|
|
2072
|
+
display_name: z.string().optional(),
|
|
2073
|
+
description: z.string(),
|
|
2074
|
+
created_by_id: z.string().optional(),
|
|
2075
|
+
updated_by_id: z.string().optional(),
|
|
2076
|
+
project_id: z.string(),
|
|
2077
|
+
workspace_id: z.string(),
|
|
2078
|
+
created: z.string(),
|
|
2079
|
+
updated: z.string(),
|
|
2080
|
+
status: DataStatus$inboundSchema.default("live"),
|
|
2081
|
+
version_hash: z.string().optional(),
|
|
2082
|
+
type: GetAllToolsDataType$inboundSchema,
|
|
2083
|
+
function: z.lazy(() => GetAllToolsDataFunction$inboundSchema),
|
|
2084
|
+
}).transform((v) => {
|
|
2085
|
+
return remap$(v, {
|
|
2086
|
+
"_id": "id",
|
|
2087
|
+
"display_name": "displayName",
|
|
2088
|
+
"created_by_id": "createdById",
|
|
2089
|
+
"updated_by_id": "updatedById",
|
|
2090
|
+
"project_id": "projectId",
|
|
2091
|
+
"workspace_id": "workspaceId",
|
|
2092
|
+
"version_hash": "versionHash",
|
|
2052
2093
|
});
|
|
2094
|
+
});
|
|
2053
2095
|
/** @internal */
|
|
2054
|
-
export type
|
|
2096
|
+
export type GetAllToolsData1$Outbound = {
|
|
2055
2097
|
_id: string;
|
|
2056
2098
|
path: string;
|
|
2057
2099
|
key: string;
|
|
@@ -2070,12 +2112,12 @@ export type Data1$Outbound = {
|
|
|
2070
2112
|
};
|
|
2071
2113
|
|
|
2072
2114
|
/** @internal */
|
|
2073
|
-
export const
|
|
2074
|
-
|
|
2115
|
+
export const GetAllToolsData1$outboundSchema: z.ZodType<
|
|
2116
|
+
GetAllToolsData1$Outbound,
|
|
2075
2117
|
z.ZodTypeDef,
|
|
2076
|
-
|
|
2118
|
+
GetAllToolsData1
|
|
2077
2119
|
> = z.object({
|
|
2078
|
-
id: z.string().default("
|
|
2120
|
+
id: z.string().default("tool_01KAG5HR9DY72M95FX692H01NF"),
|
|
2079
2121
|
path: z.string(),
|
|
2080
2122
|
key: z.string(),
|
|
2081
2123
|
displayName: z.string().optional(),
|
|
@@ -2102,16 +2144,20 @@ export const Data1$outboundSchema: z.ZodType<
|
|
|
2102
2144
|
});
|
|
2103
2145
|
});
|
|
2104
2146
|
|
|
2105
|
-
export function
|
|
2106
|
-
|
|
2147
|
+
export function getAllToolsData1ToJSON(
|
|
2148
|
+
getAllToolsData1: GetAllToolsData1,
|
|
2149
|
+
): string {
|
|
2150
|
+
return JSON.stringify(
|
|
2151
|
+
GetAllToolsData1$outboundSchema.parse(getAllToolsData1),
|
|
2152
|
+
);
|
|
2107
2153
|
}
|
|
2108
|
-
export function
|
|
2154
|
+
export function getAllToolsData1FromJSON(
|
|
2109
2155
|
jsonString: string,
|
|
2110
|
-
): SafeParseResult<
|
|
2156
|
+
): SafeParseResult<GetAllToolsData1, SDKValidationError> {
|
|
2111
2157
|
return safeParse(
|
|
2112
2158
|
jsonString,
|
|
2113
|
-
(x) =>
|
|
2114
|
-
`Failed to parse '
|
|
2159
|
+
(x) => GetAllToolsData1$inboundSchema.parse(JSON.parse(x)),
|
|
2160
|
+
`Failed to parse 'GetAllToolsData1' from JSON`,
|
|
2115
2161
|
);
|
|
2116
2162
|
}
|
|
2117
2163
|
|
|
@@ -2121,19 +2167,19 @@ export const GetAllToolsData$inboundSchema: z.ZodType<
|
|
|
2121
2167
|
z.ZodTypeDef,
|
|
2122
2168
|
unknown
|
|
2123
2169
|
> = z.union([
|
|
2124
|
-
z.lazy(() =>
|
|
2125
|
-
z.lazy(() =>
|
|
2126
|
-
z.lazy(() =>
|
|
2127
|
-
z.lazy(() =>
|
|
2128
|
-
z.lazy(() =>
|
|
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),
|
|
2129
2175
|
]);
|
|
2130
2176
|
/** @internal */
|
|
2131
2177
|
export type GetAllToolsData$Outbound =
|
|
2132
|
-
|
|
|
2133
|
-
|
|
|
2134
|
-
|
|
|
2135
|
-
|
|
|
2136
|
-
|
|
|
2178
|
+
| GetAllToolsData1$Outbound
|
|
2179
|
+
| GetAllToolsData2$Outbound
|
|
2180
|
+
| GetAllToolsData3$Outbound
|
|
2181
|
+
| GetAllToolsData4$Outbound
|
|
2182
|
+
| GetAllToolsData5$Outbound;
|
|
2137
2183
|
|
|
2138
2184
|
/** @internal */
|
|
2139
2185
|
export const GetAllToolsData$outboundSchema: z.ZodType<
|
|
@@ -2141,11 +2187,11 @@ export const GetAllToolsData$outboundSchema: z.ZodType<
|
|
|
2141
2187
|
z.ZodTypeDef,
|
|
2142
2188
|
GetAllToolsData
|
|
2143
2189
|
> = z.union([
|
|
2144
|
-
z.lazy(() =>
|
|
2145
|
-
z.lazy(() =>
|
|
2146
|
-
z.lazy(() =>
|
|
2147
|
-
z.lazy(() =>
|
|
2148
|
-
z.lazy(() =>
|
|
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),
|
|
2149
2195
|
]);
|
|
2150
2196
|
|
|
2151
2197
|
export function getAllToolsDataToJSON(
|
|
@@ -2172,11 +2218,11 @@ export const GetAllToolsResponseBody$inboundSchema: z.ZodType<
|
|
|
2172
2218
|
object: GetAllToolsObject$inboundSchema,
|
|
2173
2219
|
data: z.array(
|
|
2174
2220
|
z.union([
|
|
2175
|
-
z.lazy(() =>
|
|
2176
|
-
z.lazy(() =>
|
|
2177
|
-
z.lazy(() =>
|
|
2178
|
-
z.lazy(() =>
|
|
2179
|
-
z.lazy(() =>
|
|
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),
|
|
2180
2226
|
]),
|
|
2181
2227
|
),
|
|
2182
2228
|
has_more: z.boolean(),
|
|
@@ -2189,11 +2235,11 @@ export const GetAllToolsResponseBody$inboundSchema: z.ZodType<
|
|
|
2189
2235
|
export type GetAllToolsResponseBody$Outbound = {
|
|
2190
2236
|
object: string;
|
|
2191
2237
|
data: Array<
|
|
2192
|
-
|
|
|
2193
|
-
|
|
|
2194
|
-
|
|
|
2195
|
-
|
|
|
2196
|
-
|
|
|
2238
|
+
| GetAllToolsData1$Outbound
|
|
2239
|
+
| GetAllToolsData2$Outbound
|
|
2240
|
+
| GetAllToolsData3$Outbound
|
|
2241
|
+
| GetAllToolsData4$Outbound
|
|
2242
|
+
| GetAllToolsData5$Outbound
|
|
2197
2243
|
>;
|
|
2198
2244
|
has_more: boolean;
|
|
2199
2245
|
};
|
|
@@ -2207,11 +2253,11 @@ export const GetAllToolsResponseBody$outboundSchema: z.ZodType<
|
|
|
2207
2253
|
object: GetAllToolsObject$outboundSchema,
|
|
2208
2254
|
data: z.array(
|
|
2209
2255
|
z.union([
|
|
2210
|
-
z.lazy(() =>
|
|
2211
|
-
z.lazy(() =>
|
|
2212
|
-
z.lazy(() =>
|
|
2213
|
-
z.lazy(() =>
|
|
2214
|
-
z.lazy(() =>
|
|
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),
|
|
2215
2261
|
]),
|
|
2216
2262
|
),
|
|
2217
2263
|
hasMore: z.boolean(),
|