@orq-ai/node 4.0.0-rc.57 → 4.0.0-rc.59
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 +316 -316
- package/bin/mcp-server.js.map +38 -38
- 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/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.js +28 -28
- package/models/operations/createknowledge.d.ts +14 -14
- package/models/operations/createknowledge.d.ts.map +1 -1
- package/models/operations/createknowledge.js +21 -21
- package/models/operations/createknowledge.js.map +1 -1
- package/models/operations/createtool.d.ts +47 -32
- package/models/operations/createtool.d.ts.map +1 -1
- package/models/operations/createtool.js +64 -64
- package/models/operations/createtool.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/getalltools.d.ts +49 -34
- package/models/operations/getalltools.d.ts.map +1 -1
- package/models/operations/getalltools.js +74 -74
- 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/listbudgets.js +2 -2
- 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.js +2 -2
- 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.d.ts +47 -32
- package/models/operations/retrievetool.d.ts.map +1 -1
- package/models/operations/retrievetool.js +64 -64
- package/models/operations/retrievetool.js.map +1 -1
- 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.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.d.ts +47 -32
- package/models/operations/updatetool.d.ts.map +1 -1
- package/models/operations/updatetool.js +66 -66
- package/models/operations/updatetool.js.map +1 -1
- package/package.json +1 -1
- 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/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 +28 -28
- package/src/models/operations/createknowledge.ts +33 -47
- package/src/models/operations/createtool.ts +134 -97
- 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/getalltools.ts +135 -128
- package/src/models/operations/getbudget.ts +2 -2
- package/src/models/operations/getevals.ts +28 -28
- package/src/models/operations/listbudgets.ts +2 -2
- 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 +2 -2
- 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 +168 -132
- 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 +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 +138 -104
|
@@ -687,7 +687,10 @@ export type UpdateToolResponseBodyCodeTool = {
|
|
|
687
687
|
code: string;
|
|
688
688
|
};
|
|
689
689
|
|
|
690
|
-
|
|
690
|
+
/**
|
|
691
|
+
* Executes code snippets in a sandboxed environment, currently supporting Python.
|
|
692
|
+
*/
|
|
693
|
+
export type UpdateToolResponseBodyCodeExecutionTool = {
|
|
691
694
|
id?: string | undefined;
|
|
692
695
|
/**
|
|
693
696
|
* Entity storage path in the format: `project/folder/subfolder/...`
|
|
@@ -814,7 +817,10 @@ export type UpdateToolResponseBodyMcp = {
|
|
|
814
817
|
connectionType: UpdateToolResponseBodyConnectionType;
|
|
815
818
|
};
|
|
816
819
|
|
|
817
|
-
|
|
820
|
+
/**
|
|
821
|
+
* A tool from a Model Context Protocol (MCP) server that provides standardized access to external capabilities.
|
|
822
|
+
*/
|
|
823
|
+
export type UpdateToolResponseBodyMCPTool = {
|
|
818
824
|
id?: string | undefined;
|
|
819
825
|
/**
|
|
820
826
|
* Entity storage path in the format: `project/folder/subfolder/...`
|
|
@@ -978,7 +984,10 @@ export type UpdateToolResponseBodyHttp = {
|
|
|
978
984
|
arguments?: { [k: string]: UpdateToolResponseBodyArguments } | undefined;
|
|
979
985
|
};
|
|
980
986
|
|
|
981
|
-
|
|
987
|
+
/**
|
|
988
|
+
* Executes HTTP requests to interact with external APIs and web services using customizable blueprints.
|
|
989
|
+
*/
|
|
990
|
+
export type UpdateToolResponseBodyHTTPTool = {
|
|
982
991
|
id?: string | undefined;
|
|
983
992
|
/**
|
|
984
993
|
* Entity storage path in the format: `project/folder/subfolder/...`
|
|
@@ -1084,7 +1093,10 @@ export type UpdateToolResponseBodyJsonSchema = {
|
|
|
1084
1093
|
strict?: boolean | undefined;
|
|
1085
1094
|
};
|
|
1086
1095
|
|
|
1087
|
-
|
|
1096
|
+
/**
|
|
1097
|
+
* A tool that enforces structured output format using JSON Schema for consistent response formatting.
|
|
1098
|
+
*/
|
|
1099
|
+
export type UpdateToolResponseBodyJSONSchemaTool = {
|
|
1088
1100
|
id?: string | undefined;
|
|
1089
1101
|
/**
|
|
1090
1102
|
* Entity storage path in the format: `project/folder/subfolder/...`
|
|
@@ -1202,7 +1214,10 @@ export type UpdateToolResponseBodyFunction = {
|
|
|
1202
1214
|
parameters?: UpdateToolResponseBodyParameters | undefined;
|
|
1203
1215
|
};
|
|
1204
1216
|
|
|
1205
|
-
|
|
1217
|
+
/**
|
|
1218
|
+
* A custom function tool that allows the model to call predefined functions with structured parameters.
|
|
1219
|
+
*/
|
|
1220
|
+
export type UpdateToolResponseBodyFunctionTool = {
|
|
1206
1221
|
id?: string | undefined;
|
|
1207
1222
|
/**
|
|
1208
1223
|
* Entity storage path in the format: `project/folder/subfolder/...`
|
|
@@ -1251,11 +1266,11 @@ export type UpdateToolResponseBody1 = {
|
|
|
1251
1266
|
* Successfully updated the tool.
|
|
1252
1267
|
*/
|
|
1253
1268
|
export type UpdateToolResponseBody =
|
|
1254
|
-
|
|
|
1255
|
-
|
|
|
1256
|
-
|
|
|
1257
|
-
|
|
|
1258
|
-
|
|
|
1269
|
+
| UpdateToolResponseBodyFunctionTool
|
|
1270
|
+
| UpdateToolResponseBodyJSONSchemaTool
|
|
1271
|
+
| UpdateToolResponseBodyHTTPTool
|
|
1272
|
+
| UpdateToolResponseBodyMCPTool
|
|
1273
|
+
| UpdateToolResponseBodyCodeExecutionTool;
|
|
1259
1274
|
|
|
1260
1275
|
/** @internal */
|
|
1261
1276
|
export const UpdateToolRequestBodyToolsRequest5Status$inboundSchema:
|
|
@@ -1602,7 +1617,7 @@ export const RequestBodyTools$inboundSchema: z.ZodType<
|
|
|
1602
1617
|
z.ZodTypeDef,
|
|
1603
1618
|
unknown
|
|
1604
1619
|
> = z.object({
|
|
1605
|
-
id: z.string().default("
|
|
1620
|
+
id: z.string().default("01KAGTP1XSV5X2VYPGG7T48V1M"),
|
|
1606
1621
|
name: z.string(),
|
|
1607
1622
|
description: z.string().optional(),
|
|
1608
1623
|
schema: z.lazy(() => UpdateToolRequestBodyToolsSchema$inboundSchema),
|
|
@@ -1621,7 +1636,7 @@ export const RequestBodyTools$outboundSchema: z.ZodType<
|
|
|
1621
1636
|
z.ZodTypeDef,
|
|
1622
1637
|
RequestBodyTools
|
|
1623
1638
|
> = z.object({
|
|
1624
|
-
id: z.string().default("
|
|
1639
|
+
id: z.string().default("01KAGTP1XSV5X2VYPGG7T48V1M"),
|
|
1625
1640
|
name: z.string(),
|
|
1626
1641
|
description: z.string().optional(),
|
|
1627
1642
|
schema: z.lazy(() => UpdateToolRequestBodyToolsSchema$outboundSchema),
|
|
@@ -2837,12 +2852,12 @@ export function updateToolResponseBodyCodeToolFromJSON(
|
|
|
2837
2852
|
}
|
|
2838
2853
|
|
|
2839
2854
|
/** @internal */
|
|
2840
|
-
export const
|
|
2841
|
-
|
|
2855
|
+
export const UpdateToolResponseBodyCodeExecutionTool$inboundSchema: z.ZodType<
|
|
2856
|
+
UpdateToolResponseBodyCodeExecutionTool,
|
|
2842
2857
|
z.ZodTypeDef,
|
|
2843
2858
|
unknown
|
|
2844
2859
|
> = z.object({
|
|
2845
|
-
_id: z.string().default("
|
|
2860
|
+
_id: z.string().default("tool_01KAGTP1XMFZSE05J1HEEP1Z3K"),
|
|
2846
2861
|
path: z.string(),
|
|
2847
2862
|
key: z.string(),
|
|
2848
2863
|
display_name: z.string().optional(),
|
|
@@ -2872,7 +2887,7 @@ export const UpdateToolResponseBody5$inboundSchema: z.ZodType<
|
|
|
2872
2887
|
});
|
|
2873
2888
|
});
|
|
2874
2889
|
/** @internal */
|
|
2875
|
-
export type
|
|
2890
|
+
export type UpdateToolResponseBodyCodeExecutionTool$Outbound = {
|
|
2876
2891
|
_id: string;
|
|
2877
2892
|
path: string;
|
|
2878
2893
|
key: string;
|
|
@@ -2891,12 +2906,12 @@ export type UpdateToolResponseBody5$Outbound = {
|
|
|
2891
2906
|
};
|
|
2892
2907
|
|
|
2893
2908
|
/** @internal */
|
|
2894
|
-
export const
|
|
2895
|
-
|
|
2909
|
+
export const UpdateToolResponseBodyCodeExecutionTool$outboundSchema: z.ZodType<
|
|
2910
|
+
UpdateToolResponseBodyCodeExecutionTool$Outbound,
|
|
2896
2911
|
z.ZodTypeDef,
|
|
2897
|
-
|
|
2912
|
+
UpdateToolResponseBodyCodeExecutionTool
|
|
2898
2913
|
> = z.object({
|
|
2899
|
-
id: z.string().default("
|
|
2914
|
+
id: z.string().default("tool_01KAGTP1XMFZSE05J1HEEP1Z3K"),
|
|
2900
2915
|
path: z.string(),
|
|
2901
2916
|
key: z.string(),
|
|
2902
2917
|
displayName: z.string().optional(),
|
|
@@ -2927,20 +2942,29 @@ export const UpdateToolResponseBody5$outboundSchema: z.ZodType<
|
|
|
2927
2942
|
});
|
|
2928
2943
|
});
|
|
2929
2944
|
|
|
2930
|
-
export function
|
|
2931
|
-
|
|
2945
|
+
export function updateToolResponseBodyCodeExecutionToolToJSON(
|
|
2946
|
+
updateToolResponseBodyCodeExecutionTool:
|
|
2947
|
+
UpdateToolResponseBodyCodeExecutionTool,
|
|
2932
2948
|
): string {
|
|
2933
2949
|
return JSON.stringify(
|
|
2934
|
-
|
|
2950
|
+
UpdateToolResponseBodyCodeExecutionTool$outboundSchema.parse(
|
|
2951
|
+
updateToolResponseBodyCodeExecutionTool,
|
|
2952
|
+
),
|
|
2935
2953
|
);
|
|
2936
2954
|
}
|
|
2937
|
-
export function
|
|
2955
|
+
export function updateToolResponseBodyCodeExecutionToolFromJSON(
|
|
2938
2956
|
jsonString: string,
|
|
2939
|
-
): SafeParseResult<
|
|
2957
|
+
): SafeParseResult<
|
|
2958
|
+
UpdateToolResponseBodyCodeExecutionTool,
|
|
2959
|
+
SDKValidationError
|
|
2960
|
+
> {
|
|
2940
2961
|
return safeParse(
|
|
2941
2962
|
jsonString,
|
|
2942
|
-
(x) =>
|
|
2943
|
-
|
|
2963
|
+
(x) =>
|
|
2964
|
+
UpdateToolResponseBodyCodeExecutionTool$inboundSchema.parse(
|
|
2965
|
+
JSON.parse(x),
|
|
2966
|
+
),
|
|
2967
|
+
`Failed to parse 'UpdateToolResponseBodyCodeExecutionTool' from JSON`,
|
|
2944
2968
|
);
|
|
2945
2969
|
}
|
|
2946
2970
|
|
|
@@ -3072,7 +3096,7 @@ export const UpdateToolResponseBodyTools$inboundSchema: z.ZodType<
|
|
|
3072
3096
|
z.ZodTypeDef,
|
|
3073
3097
|
unknown
|
|
3074
3098
|
> = z.object({
|
|
3075
|
-
id: z.string().default("
|
|
3099
|
+
id: z.string().default("01KAGTP1XKVPE7FQ460AWF7XKG"),
|
|
3076
3100
|
name: z.string(),
|
|
3077
3101
|
description: z.string().optional(),
|
|
3078
3102
|
schema: z.lazy(() => UpdateToolResponseBodyToolsSchema$inboundSchema),
|
|
@@ -3091,7 +3115,7 @@ export const UpdateToolResponseBodyTools$outboundSchema: z.ZodType<
|
|
|
3091
3115
|
z.ZodTypeDef,
|
|
3092
3116
|
UpdateToolResponseBodyTools
|
|
3093
3117
|
> = z.object({
|
|
3094
|
-
id: z.string().default("
|
|
3118
|
+
id: z.string().default("01KAGTP1XKVPE7FQ460AWF7XKG"),
|
|
3095
3119
|
name: z.string(),
|
|
3096
3120
|
description: z.string().optional(),
|
|
3097
3121
|
schema: z.lazy(() => UpdateToolResponseBodyToolsSchema$outboundSchema),
|
|
@@ -3187,12 +3211,12 @@ export function updateToolResponseBodyMcpFromJSON(
|
|
|
3187
3211
|
}
|
|
3188
3212
|
|
|
3189
3213
|
/** @internal */
|
|
3190
|
-
export const
|
|
3191
|
-
|
|
3214
|
+
export const UpdateToolResponseBodyMCPTool$inboundSchema: z.ZodType<
|
|
3215
|
+
UpdateToolResponseBodyMCPTool,
|
|
3192
3216
|
z.ZodTypeDef,
|
|
3193
3217
|
unknown
|
|
3194
3218
|
> = z.object({
|
|
3195
|
-
_id: z.string().default("
|
|
3219
|
+
_id: z.string().default("tool_01KAGTP1XJZ5TAY7ZYJK03D0HZ"),
|
|
3196
3220
|
path: z.string(),
|
|
3197
3221
|
key: z.string(),
|
|
3198
3222
|
display_name: z.string().optional(),
|
|
@@ -3221,7 +3245,7 @@ export const UpdateToolResponseBody4$inboundSchema: z.ZodType<
|
|
|
3221
3245
|
});
|
|
3222
3246
|
});
|
|
3223
3247
|
/** @internal */
|
|
3224
|
-
export type
|
|
3248
|
+
export type UpdateToolResponseBodyMCPTool$Outbound = {
|
|
3225
3249
|
_id: string;
|
|
3226
3250
|
path: string;
|
|
3227
3251
|
key: string;
|
|
@@ -3240,12 +3264,12 @@ export type UpdateToolResponseBody4$Outbound = {
|
|
|
3240
3264
|
};
|
|
3241
3265
|
|
|
3242
3266
|
/** @internal */
|
|
3243
|
-
export const
|
|
3244
|
-
|
|
3267
|
+
export const UpdateToolResponseBodyMCPTool$outboundSchema: z.ZodType<
|
|
3268
|
+
UpdateToolResponseBodyMCPTool$Outbound,
|
|
3245
3269
|
z.ZodTypeDef,
|
|
3246
|
-
|
|
3270
|
+
UpdateToolResponseBodyMCPTool
|
|
3247
3271
|
> = z.object({
|
|
3248
|
-
id: z.string().default("
|
|
3272
|
+
id: z.string().default("tool_01KAGTP1XJZ5TAY7ZYJK03D0HZ"),
|
|
3249
3273
|
path: z.string(),
|
|
3250
3274
|
key: z.string(),
|
|
3251
3275
|
displayName: z.string().optional(),
|
|
@@ -3274,20 +3298,22 @@ export const UpdateToolResponseBody4$outboundSchema: z.ZodType<
|
|
|
3274
3298
|
});
|
|
3275
3299
|
});
|
|
3276
3300
|
|
|
3277
|
-
export function
|
|
3278
|
-
|
|
3301
|
+
export function updateToolResponseBodyMCPToolToJSON(
|
|
3302
|
+
updateToolResponseBodyMCPTool: UpdateToolResponseBodyMCPTool,
|
|
3279
3303
|
): string {
|
|
3280
3304
|
return JSON.stringify(
|
|
3281
|
-
|
|
3305
|
+
UpdateToolResponseBodyMCPTool$outboundSchema.parse(
|
|
3306
|
+
updateToolResponseBodyMCPTool,
|
|
3307
|
+
),
|
|
3282
3308
|
);
|
|
3283
3309
|
}
|
|
3284
|
-
export function
|
|
3310
|
+
export function updateToolResponseBodyMCPToolFromJSON(
|
|
3285
3311
|
jsonString: string,
|
|
3286
|
-
): SafeParseResult<
|
|
3312
|
+
): SafeParseResult<UpdateToolResponseBodyMCPTool, SDKValidationError> {
|
|
3287
3313
|
return safeParse(
|
|
3288
3314
|
jsonString,
|
|
3289
|
-
(x) =>
|
|
3290
|
-
`Failed to parse '
|
|
3315
|
+
(x) => UpdateToolResponseBodyMCPTool$inboundSchema.parse(JSON.parse(x)),
|
|
3316
|
+
`Failed to parse 'UpdateToolResponseBodyMCPTool' from JSON`,
|
|
3291
3317
|
);
|
|
3292
3318
|
}
|
|
3293
3319
|
|
|
@@ -3615,12 +3641,12 @@ export function updateToolResponseBodyHttpFromJSON(
|
|
|
3615
3641
|
}
|
|
3616
3642
|
|
|
3617
3643
|
/** @internal */
|
|
3618
|
-
export const
|
|
3619
|
-
|
|
3644
|
+
export const UpdateToolResponseBodyHTTPTool$inboundSchema: z.ZodType<
|
|
3645
|
+
UpdateToolResponseBodyHTTPTool,
|
|
3620
3646
|
z.ZodTypeDef,
|
|
3621
3647
|
unknown
|
|
3622
3648
|
> = z.object({
|
|
3623
|
-
_id: z.string().default("
|
|
3649
|
+
_id: z.string().default("tool_01KAGTP1XGD6XC6945P3RB1SYW"),
|
|
3624
3650
|
path: z.string(),
|
|
3625
3651
|
key: z.string(),
|
|
3626
3652
|
display_name: z.string().optional(),
|
|
@@ -3649,7 +3675,7 @@ export const UpdateToolResponseBody3$inboundSchema: z.ZodType<
|
|
|
3649
3675
|
});
|
|
3650
3676
|
});
|
|
3651
3677
|
/** @internal */
|
|
3652
|
-
export type
|
|
3678
|
+
export type UpdateToolResponseBodyHTTPTool$Outbound = {
|
|
3653
3679
|
_id: string;
|
|
3654
3680
|
path: string;
|
|
3655
3681
|
key: string;
|
|
@@ -3668,12 +3694,12 @@ export type UpdateToolResponseBody3$Outbound = {
|
|
|
3668
3694
|
};
|
|
3669
3695
|
|
|
3670
3696
|
/** @internal */
|
|
3671
|
-
export const
|
|
3672
|
-
|
|
3697
|
+
export const UpdateToolResponseBodyHTTPTool$outboundSchema: z.ZodType<
|
|
3698
|
+
UpdateToolResponseBodyHTTPTool$Outbound,
|
|
3673
3699
|
z.ZodTypeDef,
|
|
3674
|
-
|
|
3700
|
+
UpdateToolResponseBodyHTTPTool
|
|
3675
3701
|
> = z.object({
|
|
3676
|
-
id: z.string().default("
|
|
3702
|
+
id: z.string().default("tool_01KAGTP1XGD6XC6945P3RB1SYW"),
|
|
3677
3703
|
path: z.string(),
|
|
3678
3704
|
key: z.string(),
|
|
3679
3705
|
displayName: z.string().optional(),
|
|
@@ -3702,20 +3728,22 @@ export const UpdateToolResponseBody3$outboundSchema: z.ZodType<
|
|
|
3702
3728
|
});
|
|
3703
3729
|
});
|
|
3704
3730
|
|
|
3705
|
-
export function
|
|
3706
|
-
|
|
3731
|
+
export function updateToolResponseBodyHTTPToolToJSON(
|
|
3732
|
+
updateToolResponseBodyHTTPTool: UpdateToolResponseBodyHTTPTool,
|
|
3707
3733
|
): string {
|
|
3708
3734
|
return JSON.stringify(
|
|
3709
|
-
|
|
3735
|
+
UpdateToolResponseBodyHTTPTool$outboundSchema.parse(
|
|
3736
|
+
updateToolResponseBodyHTTPTool,
|
|
3737
|
+
),
|
|
3710
3738
|
);
|
|
3711
3739
|
}
|
|
3712
|
-
export function
|
|
3740
|
+
export function updateToolResponseBodyHTTPToolFromJSON(
|
|
3713
3741
|
jsonString: string,
|
|
3714
|
-
): SafeParseResult<
|
|
3742
|
+
): SafeParseResult<UpdateToolResponseBodyHTTPTool, SDKValidationError> {
|
|
3715
3743
|
return safeParse(
|
|
3716
3744
|
jsonString,
|
|
3717
|
-
(x) =>
|
|
3718
|
-
`Failed to parse '
|
|
3745
|
+
(x) => UpdateToolResponseBodyHTTPTool$inboundSchema.parse(JSON.parse(x)),
|
|
3746
|
+
`Failed to parse 'UpdateToolResponseBodyHTTPTool' from JSON`,
|
|
3719
3747
|
);
|
|
3720
3748
|
}
|
|
3721
3749
|
|
|
@@ -3848,12 +3876,12 @@ export function updateToolResponseBodyJsonSchemaFromJSON(
|
|
|
3848
3876
|
}
|
|
3849
3877
|
|
|
3850
3878
|
/** @internal */
|
|
3851
|
-
export const
|
|
3852
|
-
|
|
3879
|
+
export const UpdateToolResponseBodyJSONSchemaTool$inboundSchema: z.ZodType<
|
|
3880
|
+
UpdateToolResponseBodyJSONSchemaTool,
|
|
3853
3881
|
z.ZodTypeDef,
|
|
3854
3882
|
unknown
|
|
3855
3883
|
> = z.object({
|
|
3856
|
-
_id: z.string().default("
|
|
3884
|
+
_id: z.string().default("tool_01KAGTP1XE2T6CZTG2RM11TDRN"),
|
|
3857
3885
|
path: z.string(),
|
|
3858
3886
|
key: z.string(),
|
|
3859
3887
|
display_name: z.string().optional(),
|
|
@@ -3881,7 +3909,7 @@ export const UpdateToolResponseBody2$inboundSchema: z.ZodType<
|
|
|
3881
3909
|
});
|
|
3882
3910
|
});
|
|
3883
3911
|
/** @internal */
|
|
3884
|
-
export type
|
|
3912
|
+
export type UpdateToolResponseBodyJSONSchemaTool$Outbound = {
|
|
3885
3913
|
_id: string;
|
|
3886
3914
|
path: string;
|
|
3887
3915
|
key: string;
|
|
@@ -3900,12 +3928,12 @@ export type UpdateToolResponseBody2$Outbound = {
|
|
|
3900
3928
|
};
|
|
3901
3929
|
|
|
3902
3930
|
/** @internal */
|
|
3903
|
-
export const
|
|
3904
|
-
|
|
3931
|
+
export const UpdateToolResponseBodyJSONSchemaTool$outboundSchema: z.ZodType<
|
|
3932
|
+
UpdateToolResponseBodyJSONSchemaTool$Outbound,
|
|
3905
3933
|
z.ZodTypeDef,
|
|
3906
|
-
|
|
3934
|
+
UpdateToolResponseBodyJSONSchemaTool
|
|
3907
3935
|
> = z.object({
|
|
3908
|
-
id: z.string().default("
|
|
3936
|
+
id: z.string().default("tool_01KAGTP1XE2T6CZTG2RM11TDRN"),
|
|
3909
3937
|
path: z.string(),
|
|
3910
3938
|
key: z.string(),
|
|
3911
3939
|
displayName: z.string().optional(),
|
|
@@ -3933,20 +3961,23 @@ export const UpdateToolResponseBody2$outboundSchema: z.ZodType<
|
|
|
3933
3961
|
});
|
|
3934
3962
|
});
|
|
3935
3963
|
|
|
3936
|
-
export function
|
|
3937
|
-
|
|
3964
|
+
export function updateToolResponseBodyJSONSchemaToolToJSON(
|
|
3965
|
+
updateToolResponseBodyJSONSchemaTool: UpdateToolResponseBodyJSONSchemaTool,
|
|
3938
3966
|
): string {
|
|
3939
3967
|
return JSON.stringify(
|
|
3940
|
-
|
|
3968
|
+
UpdateToolResponseBodyJSONSchemaTool$outboundSchema.parse(
|
|
3969
|
+
updateToolResponseBodyJSONSchemaTool,
|
|
3970
|
+
),
|
|
3941
3971
|
);
|
|
3942
3972
|
}
|
|
3943
|
-
export function
|
|
3973
|
+
export function updateToolResponseBodyJSONSchemaToolFromJSON(
|
|
3944
3974
|
jsonString: string,
|
|
3945
|
-
): SafeParseResult<
|
|
3975
|
+
): SafeParseResult<UpdateToolResponseBodyJSONSchemaTool, SDKValidationError> {
|
|
3946
3976
|
return safeParse(
|
|
3947
3977
|
jsonString,
|
|
3948
|
-
(x) =>
|
|
3949
|
-
|
|
3978
|
+
(x) =>
|
|
3979
|
+
UpdateToolResponseBodyJSONSchemaTool$inboundSchema.parse(JSON.parse(x)),
|
|
3980
|
+
`Failed to parse 'UpdateToolResponseBodyJSONSchemaTool' from JSON`,
|
|
3950
3981
|
);
|
|
3951
3982
|
}
|
|
3952
3983
|
|
|
@@ -4094,12 +4125,12 @@ export function updateToolResponseBodyFunctionFromJSON(
|
|
|
4094
4125
|
}
|
|
4095
4126
|
|
|
4096
4127
|
/** @internal */
|
|
4097
|
-
export const
|
|
4098
|
-
|
|
4128
|
+
export const UpdateToolResponseBodyFunctionTool$inboundSchema: z.ZodType<
|
|
4129
|
+
UpdateToolResponseBodyFunctionTool,
|
|
4099
4130
|
z.ZodTypeDef,
|
|
4100
4131
|
unknown
|
|
4101
4132
|
> = z.object({
|
|
4102
|
-
_id: z.string().default("
|
|
4133
|
+
_id: z.string().default("tool_01KAGTP1XBNDH3GQT78537CBB0"),
|
|
4103
4134
|
path: z.string(),
|
|
4104
4135
|
key: z.string(),
|
|
4105
4136
|
display_name: z.string().optional(),
|
|
@@ -4126,7 +4157,7 @@ export const UpdateToolResponseBody1$inboundSchema: z.ZodType<
|
|
|
4126
4157
|
});
|
|
4127
4158
|
});
|
|
4128
4159
|
/** @internal */
|
|
4129
|
-
export type
|
|
4160
|
+
export type UpdateToolResponseBodyFunctionTool$Outbound = {
|
|
4130
4161
|
_id: string;
|
|
4131
4162
|
path: string;
|
|
4132
4163
|
key: string;
|
|
@@ -4145,12 +4176,12 @@ export type UpdateToolResponseBody1$Outbound = {
|
|
|
4145
4176
|
};
|
|
4146
4177
|
|
|
4147
4178
|
/** @internal */
|
|
4148
|
-
export const
|
|
4149
|
-
|
|
4179
|
+
export const UpdateToolResponseBodyFunctionTool$outboundSchema: z.ZodType<
|
|
4180
|
+
UpdateToolResponseBodyFunctionTool$Outbound,
|
|
4150
4181
|
z.ZodTypeDef,
|
|
4151
|
-
|
|
4182
|
+
UpdateToolResponseBodyFunctionTool
|
|
4152
4183
|
> = z.object({
|
|
4153
|
-
id: z.string().default("
|
|
4184
|
+
id: z.string().default("tool_01KAGTP1XBNDH3GQT78537CBB0"),
|
|
4154
4185
|
path: z.string(),
|
|
4155
4186
|
key: z.string(),
|
|
4156
4187
|
displayName: z.string().optional(),
|
|
@@ -4177,20 +4208,23 @@ export const UpdateToolResponseBody1$outboundSchema: z.ZodType<
|
|
|
4177
4208
|
});
|
|
4178
4209
|
});
|
|
4179
4210
|
|
|
4180
|
-
export function
|
|
4181
|
-
|
|
4211
|
+
export function updateToolResponseBodyFunctionToolToJSON(
|
|
4212
|
+
updateToolResponseBodyFunctionTool: UpdateToolResponseBodyFunctionTool,
|
|
4182
4213
|
): string {
|
|
4183
4214
|
return JSON.stringify(
|
|
4184
|
-
|
|
4215
|
+
UpdateToolResponseBodyFunctionTool$outboundSchema.parse(
|
|
4216
|
+
updateToolResponseBodyFunctionTool,
|
|
4217
|
+
),
|
|
4185
4218
|
);
|
|
4186
4219
|
}
|
|
4187
|
-
export function
|
|
4220
|
+
export function updateToolResponseBodyFunctionToolFromJSON(
|
|
4188
4221
|
jsonString: string,
|
|
4189
|
-
): SafeParseResult<
|
|
4222
|
+
): SafeParseResult<UpdateToolResponseBodyFunctionTool, SDKValidationError> {
|
|
4190
4223
|
return safeParse(
|
|
4191
4224
|
jsonString,
|
|
4192
|
-
(x) =>
|
|
4193
|
-
|
|
4225
|
+
(x) =>
|
|
4226
|
+
UpdateToolResponseBodyFunctionTool$inboundSchema.parse(JSON.parse(x)),
|
|
4227
|
+
`Failed to parse 'UpdateToolResponseBodyFunctionTool' from JSON`,
|
|
4194
4228
|
);
|
|
4195
4229
|
}
|
|
4196
4230
|
|
|
@@ -4200,19 +4234,19 @@ export const UpdateToolResponseBody$inboundSchema: z.ZodType<
|
|
|
4200
4234
|
z.ZodTypeDef,
|
|
4201
4235
|
unknown
|
|
4202
4236
|
> = z.union([
|
|
4203
|
-
z.lazy(() =>
|
|
4204
|
-
z.lazy(() =>
|
|
4205
|
-
z.lazy(() =>
|
|
4206
|
-
z.lazy(() =>
|
|
4207
|
-
z.lazy(() =>
|
|
4237
|
+
z.lazy(() => UpdateToolResponseBodyFunctionTool$inboundSchema),
|
|
4238
|
+
z.lazy(() => UpdateToolResponseBodyJSONSchemaTool$inboundSchema),
|
|
4239
|
+
z.lazy(() => UpdateToolResponseBodyHTTPTool$inboundSchema),
|
|
4240
|
+
z.lazy(() => UpdateToolResponseBodyMCPTool$inboundSchema),
|
|
4241
|
+
z.lazy(() => UpdateToolResponseBodyCodeExecutionTool$inboundSchema),
|
|
4208
4242
|
]);
|
|
4209
4243
|
/** @internal */
|
|
4210
4244
|
export type UpdateToolResponseBody$Outbound =
|
|
4211
|
-
|
|
|
4212
|
-
|
|
|
4213
|
-
|
|
|
4214
|
-
|
|
|
4215
|
-
|
|
|
4245
|
+
| UpdateToolResponseBodyFunctionTool$Outbound
|
|
4246
|
+
| UpdateToolResponseBodyJSONSchemaTool$Outbound
|
|
4247
|
+
| UpdateToolResponseBodyHTTPTool$Outbound
|
|
4248
|
+
| UpdateToolResponseBodyMCPTool$Outbound
|
|
4249
|
+
| UpdateToolResponseBodyCodeExecutionTool$Outbound;
|
|
4216
4250
|
|
|
4217
4251
|
/** @internal */
|
|
4218
4252
|
export const UpdateToolResponseBody$outboundSchema: z.ZodType<
|
|
@@ -4220,11 +4254,11 @@ export const UpdateToolResponseBody$outboundSchema: z.ZodType<
|
|
|
4220
4254
|
z.ZodTypeDef,
|
|
4221
4255
|
UpdateToolResponseBody
|
|
4222
4256
|
> = z.union([
|
|
4223
|
-
z.lazy(() =>
|
|
4224
|
-
z.lazy(() =>
|
|
4225
|
-
z.lazy(() =>
|
|
4226
|
-
z.lazy(() =>
|
|
4227
|
-
z.lazy(() =>
|
|
4257
|
+
z.lazy(() => UpdateToolResponseBodyFunctionTool$outboundSchema),
|
|
4258
|
+
z.lazy(() => UpdateToolResponseBodyJSONSchemaTool$outboundSchema),
|
|
4259
|
+
z.lazy(() => UpdateToolResponseBodyHTTPTool$outboundSchema),
|
|
4260
|
+
z.lazy(() => UpdateToolResponseBodyMCPTool$outboundSchema),
|
|
4261
|
+
z.lazy(() => UpdateToolResponseBodyCodeExecutionTool$outboundSchema),
|
|
4228
4262
|
]);
|
|
4229
4263
|
|
|
4230
4264
|
export function updateToolResponseBodyToJSON(
|