@orq-ai/node 4.11.0-rc.2 → 4.11.0-rc.4
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/hooks/types.d.ts +1 -0
- package/hooks/types.d.ts.map +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/lib/sdks.d.ts.map +1 -1
- package/lib/sdks.js +13 -4
- package/lib/sdks.js.map +1 -1
- package/models/components/reasoningpart.js +1 -1
- package/models/operations/createdataset.js +1 -1
- package/models/operations/createdatasetitem.js +4 -4
- package/models/operations/createdatasource.js +1 -1
- package/models/operations/createeval.d.ts +18 -18
- package/models/operations/createeval.d.ts.map +1 -1
- package/models/operations/createeval.js +28 -28
- package/models/operations/createeval.js.map +1 -1
- package/models/operations/createtool.d.ts +10 -10
- package/models/operations/createtool.d.ts.map +1 -1
- package/models/operations/createtool.js +16 -16
- package/models/operations/createtool.js.map +1 -1
- package/models/operations/getalltools.d.ts +10 -10
- package/models/operations/getalltools.d.ts.map +1 -1
- package/models/operations/getalltools.js +16 -16
- package/models/operations/getalltools.js.map +1 -1
- package/models/operations/getevals.d.ts +6 -6
- package/models/operations/getevals.d.ts.map +1 -1
- package/models/operations/getevals.js +22 -22
- package/models/operations/getevals.js.map +1 -1
- package/models/operations/getv2humanevalsets.js +2 -2
- package/models/operations/getv2humanevalsetsid.js +2 -2
- package/models/operations/listdatasetdatapoints.js +4 -4
- package/models/operations/listdatasets.js +1 -1
- package/models/operations/listdatasources.js +1 -1
- package/models/operations/listknowledgebases.d.ts +2 -5
- package/models/operations/listknowledgebases.d.ts.map +1 -1
- package/models/operations/listknowledgebases.js +1 -1
- package/models/operations/listknowledgebases.js.map +1 -1
- package/models/operations/modelcreateawsbedrock.d.ts +4 -0
- package/models/operations/modelcreateawsbedrock.d.ts.map +1 -1
- package/models/operations/modelcreateawsbedrock.js +4 -0
- package/models/operations/modelcreateawsbedrock.js.map +1 -1
- package/models/operations/modelupdateawsbedrock.d.ts +4 -0
- package/models/operations/modelupdateawsbedrock.d.ts.map +1 -1
- package/models/operations/modelupdateawsbedrock.js +4 -0
- package/models/operations/modelupdateawsbedrock.js.map +1 -1
- package/models/operations/patchv2humanevalsetsid.js +2 -2
- package/models/operations/postv2feedbackevaluation.js +3 -3
- package/models/operations/postv2humanevalsets.js +2 -2
- package/models/operations/retrievedatapoint.js +4 -4
- package/models/operations/retrievedataset.js +1 -1
- package/models/operations/retrievedatasource.js +1 -1
- package/models/operations/retrievetool.d.ts +10 -10
- package/models/operations/retrievetool.d.ts.map +1 -1
- package/models/operations/retrievetool.js +16 -16
- package/models/operations/retrievetool.js.map +1 -1
- package/models/operations/runagent.js +1 -1
- package/models/operations/streamrunagent.js +1 -1
- package/models/operations/updatedatapoint.js +4 -4
- package/models/operations/updatedataset.js +1 -1
- package/models/operations/updatedatasource.js +1 -1
- package/models/operations/updateeval.d.ts +6 -6
- package/models/operations/updateeval.d.ts.map +1 -1
- package/models/operations/updateeval.js +22 -22
- package/models/operations/updateeval.js.map +1 -1
- package/models/operations/updatetool.d.ts +10 -10
- package/models/operations/updatetool.d.ts.map +1 -1
- package/models/operations/updatetool.js +17 -17
- package/models/operations/updatetool.js.map +1 -1
- package/package.json +3 -3
- package/sdk/feedback.d.ts +2 -2
- package/sdk/feedback.js +2 -2
- package/src/hooks/types.ts +1 -0
- package/src/lib/config.ts +3 -3
- package/src/lib/sdks.ts +13 -4
- package/src/models/components/reasoningpart.ts +1 -1
- package/src/models/operations/createdataset.ts +1 -1
- package/src/models/operations/createdatasetitem.ts +4 -4
- package/src/models/operations/createdatasource.ts +1 -1
- package/src/models/operations/createeval.ts +55 -48
- package/src/models/operations/createtool.ts +26 -26
- package/src/models/operations/getalltools.ts +26 -26
- package/src/models/operations/getevals.ts +33 -30
- package/src/models/operations/getv2humanevalsets.ts +2 -2
- package/src/models/operations/getv2humanevalsetsid.ts +2 -2
- package/src/models/operations/listdatasetdatapoints.ts +4 -4
- package/src/models/operations/listdatasets.ts +1 -1
- package/src/models/operations/listdatasources.ts +1 -1
- package/src/models/operations/listknowledgebases.ts +3 -6
- package/src/models/operations/modelcreateawsbedrock.ts +8 -0
- package/src/models/operations/modelupdateawsbedrock.ts +8 -0
- package/src/models/operations/patchv2humanevalsetsid.ts +2 -2
- package/src/models/operations/postv2feedbackevaluation.ts +3 -3
- package/src/models/operations/postv2humanevalsets.ts +2 -2
- package/src/models/operations/retrievedatapoint.ts +4 -4
- package/src/models/operations/retrievedataset.ts +1 -1
- package/src/models/operations/retrievedatasource.ts +1 -1
- package/src/models/operations/retrievetool.ts +26 -26
- package/src/models/operations/runagent.ts +1 -1
- package/src/models/operations/streamrunagent.ts +1 -1
- package/src/models/operations/updatedatapoint.ts +4 -4
- package/src/models/operations/updatedataset.ts +1 -1
- package/src/models/operations/updatedatasource.ts +1 -1
- package/src/models/operations/updateeval.ts +33 -30
- package/src/models/operations/updatetool.ts +27 -27
- package/src/sdk/feedback.ts +2 -2
|
@@ -2358,7 +2358,7 @@ export const UpdateDatapointEvaluations3$inboundSchema: z.ZodType<
|
|
|
2358
2358
|
.default("orq"),
|
|
2359
2359
|
reviewed_by_id: z.string(),
|
|
2360
2360
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
2361
|
-
"2026-06-
|
|
2361
|
+
"2026-06-09T07:16:39.748Z",
|
|
2362
2362
|
).transform(v => new Date(v)),
|
|
2363
2363
|
type: z.literal("string_array"),
|
|
2364
2364
|
values: z.array(z.string()),
|
|
@@ -2404,7 +2404,7 @@ export const UpdateDatapointEvaluations2$inboundSchema: z.ZodType<
|
|
|
2404
2404
|
source: UpdateDatapointEvaluationsDatasetsSource$inboundSchema.default("orq"),
|
|
2405
2405
|
reviewed_by_id: z.string(),
|
|
2406
2406
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
2407
|
-
"2026-06-
|
|
2407
|
+
"2026-06-09T07:16:39.747Z",
|
|
2408
2408
|
).transform(v => new Date(v)),
|
|
2409
2409
|
type: z.literal("number"),
|
|
2410
2410
|
value: z.number(),
|
|
@@ -2449,7 +2449,7 @@ export const UpdateDatapointEvaluations1$inboundSchema: z.ZodType<
|
|
|
2449
2449
|
source: UpdateDatapointEvaluationsSource$inboundSchema.default("orq"),
|
|
2450
2450
|
reviewed_by_id: z.string(),
|
|
2451
2451
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
2452
|
-
"2026-06-
|
|
2452
|
+
"2026-06-09T07:16:39.746Z",
|
|
2453
2453
|
).transform(v => new Date(v)),
|
|
2454
2454
|
type: z.literal("string"),
|
|
2455
2455
|
value: z.string(),
|
|
@@ -2530,7 +2530,7 @@ export const UpdateDatapointResponseBody$inboundSchema: z.ZodType<
|
|
|
2530
2530
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
2531
2531
|
.optional(),
|
|
2532
2532
|
updated: z.string().datetime({ offset: true }).default(
|
|
2533
|
-
"2026-06-
|
|
2533
|
+
"2026-06-09T07:16:24.404Z",
|
|
2534
2534
|
).transform(v => new Date(v)),
|
|
2535
2535
|
}).transform((v) => {
|
|
2536
2536
|
return remap$(v, {
|
|
@@ -182,7 +182,7 @@ export const UpdateDatasetResponseBody$inboundSchema: z.ZodType<
|
|
|
182
182
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
183
183
|
.optional(),
|
|
184
184
|
updated: z.string().datetime({ offset: true }).default(
|
|
185
|
-
"2026-06-
|
|
185
|
+
"2026-06-09T07:16:24.404Z",
|
|
186
186
|
).transform(v => new Date(v)),
|
|
187
187
|
}).transform((v) => {
|
|
188
188
|
return remap$(v, {
|
|
@@ -152,7 +152,7 @@ export const UpdateDatasourceResponseBody$inboundSchema: z.ZodType<
|
|
|
152
152
|
z.ZodTypeDef,
|
|
153
153
|
unknown
|
|
154
154
|
> = z.object({
|
|
155
|
-
_id: z.string().default("
|
|
155
|
+
_id: z.string().default("01KTNKV4JNJP22KV4M91N0RANR"),
|
|
156
156
|
display_name: z.string(),
|
|
157
157
|
description: z.nullable(z.string()).optional(),
|
|
158
158
|
status: UpdateDatasourceStatus$inboundSchema,
|
|
@@ -867,10 +867,13 @@ export type UpdateEvalLlm2 = {
|
|
|
867
867
|
| null
|
|
868
868
|
| undefined;
|
|
869
869
|
type: UpdateEvalLLMEvalsType;
|
|
870
|
-
repetitions?: number | undefined;
|
|
870
|
+
repetitions?: number | null | undefined;
|
|
871
871
|
prompt: string;
|
|
872
|
-
categories?: Array<string> | undefined;
|
|
873
|
-
categoricalLabels?:
|
|
872
|
+
categories?: Array<string> | null | undefined;
|
|
873
|
+
categoricalLabels?:
|
|
874
|
+
| Array<UpdateEvalLLMEvalsCategoricalLabels>
|
|
875
|
+
| null
|
|
876
|
+
| undefined;
|
|
874
877
|
datasetId?: string | undefined;
|
|
875
878
|
key: string;
|
|
876
879
|
mode: "jury";
|
|
@@ -945,10 +948,10 @@ export type UpdateEvalLlm1 = {
|
|
|
945
948
|
| null
|
|
946
949
|
| undefined;
|
|
947
950
|
type: UpdateEvalLLMType;
|
|
948
|
-
repetitions?: number | undefined;
|
|
951
|
+
repetitions?: number | null | undefined;
|
|
949
952
|
prompt: string;
|
|
950
|
-
categories?: Array<string> | undefined;
|
|
951
|
-
categoricalLabels?: Array<UpdateEvalLLMCategoricalLabels> | undefined;
|
|
953
|
+
categories?: Array<string> | null | undefined;
|
|
954
|
+
categoricalLabels?: Array<UpdateEvalLLMCategoricalLabels> | null | undefined;
|
|
952
955
|
datasetId?: string | undefined;
|
|
953
956
|
key: string;
|
|
954
957
|
mode: "single";
|
|
@@ -1550,8 +1553,8 @@ export const ResponseBodyTypescript$inboundSchema: z.ZodType<
|
|
|
1550
1553
|
> = z.object({
|
|
1551
1554
|
_id: z.string(),
|
|
1552
1555
|
description: z.string(),
|
|
1553
|
-
created: z.string().default("2026-06-
|
|
1554
|
-
updated: z.string().default("2026-06-
|
|
1556
|
+
created: z.string().default("2026-06-09T07:16:25.662Z"),
|
|
1557
|
+
updated: z.string().default("2026-06-09T07:16:25.662Z"),
|
|
1555
1558
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
1556
1559
|
guardrail_config: z.nullable(
|
|
1557
1560
|
z.union([
|
|
@@ -1746,8 +1749,8 @@ export const ResponseBodyRagas$inboundSchema: z.ZodType<
|
|
|
1746
1749
|
> = z.object({
|
|
1747
1750
|
_id: z.string(),
|
|
1748
1751
|
description: z.string(),
|
|
1749
|
-
created: z.string().default("2026-06-
|
|
1750
|
-
updated: z.string().default("2026-06-
|
|
1752
|
+
created: z.string().default("2026-06-09T07:16:25.662Z"),
|
|
1753
|
+
updated: z.string().default("2026-06-09T07:16:25.662Z"),
|
|
1751
1754
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
1752
1755
|
guardrail_config: z.nullable(
|
|
1753
1756
|
z.union([
|
|
@@ -2605,8 +2608,8 @@ export const ResponseBodyFunction$inboundSchema: z.ZodType<
|
|
|
2605
2608
|
> = z.object({
|
|
2606
2609
|
_id: z.string(),
|
|
2607
2610
|
description: z.string(),
|
|
2608
|
-
created: z.string().default("2026-06-
|
|
2609
|
-
updated: z.string().default("2026-06-
|
|
2611
|
+
created: z.string().default("2026-06-09T07:16:25.662Z"),
|
|
2612
|
+
updated: z.string().default("2026-06-09T07:16:25.662Z"),
|
|
2610
2613
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
2611
2614
|
guardrail_config: z.nullable(
|
|
2612
2615
|
z.union([
|
|
@@ -2824,8 +2827,8 @@ export const UpdateEvalResponseBodyPython$inboundSchema: z.ZodType<
|
|
|
2824
2827
|
> = z.object({
|
|
2825
2828
|
_id: z.string(),
|
|
2826
2829
|
description: z.string(),
|
|
2827
|
-
created: z.string().default("2026-06-
|
|
2828
|
-
updated: z.string().default("2026-06-
|
|
2830
|
+
created: z.string().default("2026-06-09T07:16:25.662Z"),
|
|
2831
|
+
updated: z.string().default("2026-06-09T07:16:25.662Z"),
|
|
2829
2832
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
2830
2833
|
guardrail_config: z.nullable(
|
|
2831
2834
|
z.union([
|
|
@@ -2993,8 +2996,8 @@ export const ResponseBodyHTTP$inboundSchema: z.ZodType<
|
|
|
2993
2996
|
> = z.object({
|
|
2994
2997
|
_id: z.string(),
|
|
2995
2998
|
description: z.string(),
|
|
2996
|
-
created: z.string().default("2026-06-
|
|
2997
|
-
updated: z.string().default("2026-06-
|
|
2999
|
+
created: z.string().default("2026-06-09T07:16:25.662Z"),
|
|
3000
|
+
updated: z.string().default("2026-06-09T07:16:25.662Z"),
|
|
2998
3001
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
2999
3002
|
guardrail_config: z.nullable(
|
|
3000
3003
|
z.union([
|
|
@@ -3147,8 +3150,8 @@ export const ResponseBodyJSON$inboundSchema: z.ZodType<
|
|
|
3147
3150
|
> = z.object({
|
|
3148
3151
|
_id: z.string(),
|
|
3149
3152
|
description: z.string(),
|
|
3150
|
-
created: z.string().default("2026-06-
|
|
3151
|
-
updated: z.string().default("2026-06-
|
|
3153
|
+
created: z.string().default("2026-06-09T07:16:25.662Z"),
|
|
3154
|
+
updated: z.string().default("2026-06-09T07:16:25.662Z"),
|
|
3152
3155
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
3153
3156
|
guardrail_config: z.nullable(
|
|
3154
3157
|
z.union([
|
|
@@ -3510,8 +3513,8 @@ export const UpdateEvalLlm2$inboundSchema: z.ZodType<
|
|
|
3510
3513
|
> = z.object({
|
|
3511
3514
|
_id: z.string(),
|
|
3512
3515
|
description: z.string(),
|
|
3513
|
-
created: z.string().default("2026-06-
|
|
3514
|
-
updated: z.string().default("2026-06-
|
|
3516
|
+
created: z.string().default("2026-06-09T07:16:25.662Z"),
|
|
3517
|
+
updated: z.string().default("2026-06-09T07:16:25.662Z"),
|
|
3515
3518
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
3516
3519
|
guardrail_config: z.nullable(
|
|
3517
3520
|
z.union([
|
|
@@ -3527,11 +3530,11 @@ export const UpdateEvalLlm2$inboundSchema: z.ZodType<
|
|
|
3527
3530
|
]),
|
|
3528
3531
|
).optional(),
|
|
3529
3532
|
type: UpdateEvalLLMEvalsType$inboundSchema,
|
|
3530
|
-
repetitions: z.number().int().optional(),
|
|
3533
|
+
repetitions: z.nullable(z.number().int()).optional(),
|
|
3531
3534
|
prompt: z.string(),
|
|
3532
|
-
categories: z.array(z.string()).optional(),
|
|
3533
|
-
categorical_labels: z.
|
|
3534
|
-
z.lazy(() => UpdateEvalLLMEvalsCategoricalLabels$inboundSchema),
|
|
3535
|
+
categories: z.nullable(z.array(z.string())).optional(),
|
|
3536
|
+
categorical_labels: z.nullable(
|
|
3537
|
+
z.array(z.lazy(() => UpdateEvalLLMEvalsCategoricalLabels$inboundSchema)),
|
|
3535
3538
|
).optional(),
|
|
3536
3539
|
dataset_id: z.string().optional(),
|
|
3537
3540
|
key: z.string(),
|
|
@@ -3723,8 +3726,8 @@ export const UpdateEvalLlm1$inboundSchema: z.ZodType<
|
|
|
3723
3726
|
> = z.object({
|
|
3724
3727
|
_id: z.string(),
|
|
3725
3728
|
description: z.string(),
|
|
3726
|
-
created: z.string().default("2026-06-
|
|
3727
|
-
updated: z.string().default("2026-06-
|
|
3729
|
+
created: z.string().default("2026-06-09T07:16:25.662Z"),
|
|
3730
|
+
updated: z.string().default("2026-06-09T07:16:25.662Z"),
|
|
3728
3731
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
3729
3732
|
guardrail_config: z.nullable(
|
|
3730
3733
|
z.union([
|
|
@@ -3740,11 +3743,11 @@ export const UpdateEvalLlm1$inboundSchema: z.ZodType<
|
|
|
3740
3743
|
]),
|
|
3741
3744
|
).optional(),
|
|
3742
3745
|
type: UpdateEvalLLMType$inboundSchema,
|
|
3743
|
-
repetitions: z.number().int().optional(),
|
|
3746
|
+
repetitions: z.nullable(z.number().int()).optional(),
|
|
3744
3747
|
prompt: z.string(),
|
|
3745
|
-
categories: z.array(z.string()).optional(),
|
|
3746
|
-
categorical_labels: z.
|
|
3747
|
-
z.lazy(() => UpdateEvalLLMCategoricalLabels$inboundSchema),
|
|
3748
|
+
categories: z.nullable(z.array(z.string())).optional(),
|
|
3749
|
+
categorical_labels: z.nullable(
|
|
3750
|
+
z.array(z.lazy(() => UpdateEvalLLMCategoricalLabels$inboundSchema)),
|
|
3748
3751
|
).optional(),
|
|
3749
3752
|
dataset_id: z.string().optional(),
|
|
3750
3753
|
key: z.string(),
|
|
@@ -736,11 +736,11 @@ export type UpdateToolResponseBodyCodeExecutionTool = {
|
|
|
736
736
|
/**
|
|
737
737
|
* The id of the user that created the tool
|
|
738
738
|
*/
|
|
739
|
-
createdById?: string | undefined;
|
|
739
|
+
createdById?: string | null | undefined;
|
|
740
740
|
/**
|
|
741
741
|
* The id of the user that last updated the tool
|
|
742
742
|
*/
|
|
743
|
-
updatedById?: string | undefined;
|
|
743
|
+
updatedById?: string | null | undefined;
|
|
744
744
|
projectId: string;
|
|
745
745
|
workspaceId: string;
|
|
746
746
|
created: string;
|
|
@@ -860,11 +860,11 @@ export type UpdateToolResponseBodyMCPTool = {
|
|
|
860
860
|
/**
|
|
861
861
|
* The id of the user that created the tool
|
|
862
862
|
*/
|
|
863
|
-
createdById?: string | undefined;
|
|
863
|
+
createdById?: string | null | undefined;
|
|
864
864
|
/**
|
|
865
865
|
* The id of the user that last updated the tool
|
|
866
866
|
*/
|
|
867
|
-
updatedById?: string | undefined;
|
|
867
|
+
updatedById?: string | null | undefined;
|
|
868
868
|
projectId: string;
|
|
869
869
|
workspaceId: string;
|
|
870
870
|
created: string;
|
|
@@ -1019,11 +1019,11 @@ export type UpdateToolResponseBodyHTTPTool = {
|
|
|
1019
1019
|
/**
|
|
1020
1020
|
* The id of the user that created the tool
|
|
1021
1021
|
*/
|
|
1022
|
-
createdById?: string | undefined;
|
|
1022
|
+
createdById?: string | null | undefined;
|
|
1023
1023
|
/**
|
|
1024
1024
|
* The id of the user that last updated the tool
|
|
1025
1025
|
*/
|
|
1026
|
-
updatedById?: string | undefined;
|
|
1026
|
+
updatedById?: string | null | undefined;
|
|
1027
1027
|
projectId: string;
|
|
1028
1028
|
workspaceId: string;
|
|
1029
1029
|
created: string;
|
|
@@ -1120,11 +1120,11 @@ export type UpdateToolResponseBodyJSONSchemaTool = {
|
|
|
1120
1120
|
/**
|
|
1121
1121
|
* The id of the user that created the tool
|
|
1122
1122
|
*/
|
|
1123
|
-
createdById?: string | undefined;
|
|
1123
|
+
createdById?: string | null | undefined;
|
|
1124
1124
|
/**
|
|
1125
1125
|
* The id of the user that last updated the tool
|
|
1126
1126
|
*/
|
|
1127
|
-
updatedById?: string | undefined;
|
|
1127
|
+
updatedById?: string | null | undefined;
|
|
1128
1128
|
projectId: string;
|
|
1129
1129
|
workspaceId: string;
|
|
1130
1130
|
created: string;
|
|
@@ -1233,11 +1233,11 @@ export type UpdateToolResponseBodyFunctionTool = {
|
|
|
1233
1233
|
/**
|
|
1234
1234
|
* The id of the user that created the tool
|
|
1235
1235
|
*/
|
|
1236
|
-
createdById?: string | undefined;
|
|
1236
|
+
createdById?: string | null | undefined;
|
|
1237
1237
|
/**
|
|
1238
1238
|
* The id of the user that last updated the tool
|
|
1239
1239
|
*/
|
|
1240
|
-
updatedById?: string | undefined;
|
|
1240
|
+
updatedById?: string | null | undefined;
|
|
1241
1241
|
projectId: string;
|
|
1242
1242
|
workspaceId: string;
|
|
1243
1243
|
created: string;
|
|
@@ -1472,7 +1472,7 @@ export const RequestBodyTools$outboundSchema: z.ZodType<
|
|
|
1472
1472
|
z.ZodTypeDef,
|
|
1473
1473
|
RequestBodyTools
|
|
1474
1474
|
> = z.object({
|
|
1475
|
-
id: z.string().default("
|
|
1475
|
+
id: z.string().default("01KTNKV4F64GQP7BQX07P37YVP"),
|
|
1476
1476
|
name: z.string(),
|
|
1477
1477
|
description: z.string().optional(),
|
|
1478
1478
|
schema: z.lazy(() => UpdateToolRequestBodyToolsSchema$outboundSchema),
|
|
@@ -2193,13 +2193,13 @@ export const UpdateToolResponseBodyCodeExecutionTool$inboundSchema: z.ZodType<
|
|
|
2193
2193
|
z.ZodTypeDef,
|
|
2194
2194
|
unknown
|
|
2195
2195
|
> = z.object({
|
|
2196
|
-
_id: z.string().default("
|
|
2196
|
+
_id: z.string().default("tool_01KTNKV4EZWPM5P3JFGJFJKG2R"),
|
|
2197
2197
|
path: z.string(),
|
|
2198
2198
|
key: z.string(),
|
|
2199
2199
|
display_name: z.string().optional(),
|
|
2200
2200
|
description: z.string(),
|
|
2201
|
-
created_by_id: z.string().optional(),
|
|
2202
|
-
updated_by_id: z.string().optional(),
|
|
2201
|
+
created_by_id: z.nullable(z.string()).optional(),
|
|
2202
|
+
updated_by_id: z.nullable(z.string()).optional(),
|
|
2203
2203
|
project_id: z.string(),
|
|
2204
2204
|
workspace_id: z.string(),
|
|
2205
2205
|
created: z.string(),
|
|
@@ -2296,7 +2296,7 @@ export const UpdateToolResponseBodyTools$inboundSchema: z.ZodType<
|
|
|
2296
2296
|
z.ZodTypeDef,
|
|
2297
2297
|
unknown
|
|
2298
2298
|
> = z.object({
|
|
2299
|
-
id: z.string().default("
|
|
2299
|
+
id: z.string().default("01KTNKV4EY2NSM0FBXPD4XXR3R"),
|
|
2300
2300
|
name: z.string(),
|
|
2301
2301
|
description: z.string().optional(),
|
|
2302
2302
|
schema: z.lazy(() => UpdateToolResponseBodyToolsSchema$inboundSchema),
|
|
@@ -2354,13 +2354,13 @@ export const UpdateToolResponseBodyMCPTool$inboundSchema: z.ZodType<
|
|
|
2354
2354
|
z.ZodTypeDef,
|
|
2355
2355
|
unknown
|
|
2356
2356
|
> = z.object({
|
|
2357
|
-
_id: z.string().default("
|
|
2357
|
+
_id: z.string().default("tool_01KTNKV4EXZCD1TQ93XQ7JJS40"),
|
|
2358
2358
|
path: z.string(),
|
|
2359
2359
|
key: z.string(),
|
|
2360
2360
|
display_name: z.string().optional(),
|
|
2361
2361
|
description: z.string(),
|
|
2362
|
-
created_by_id: z.string().optional(),
|
|
2363
|
-
updated_by_id: z.string().optional(),
|
|
2362
|
+
created_by_id: z.nullable(z.string()).optional(),
|
|
2363
|
+
updated_by_id: z.nullable(z.string()).optional(),
|
|
2364
2364
|
project_id: z.string(),
|
|
2365
2365
|
workspace_id: z.string(),
|
|
2366
2366
|
created: z.string(),
|
|
@@ -2543,13 +2543,13 @@ export const UpdateToolResponseBodyHTTPTool$inboundSchema: z.ZodType<
|
|
|
2543
2543
|
z.ZodTypeDef,
|
|
2544
2544
|
unknown
|
|
2545
2545
|
> = z.object({
|
|
2546
|
-
_id: z.string().default("
|
|
2546
|
+
_id: z.string().default("tool_01KTNKV4EVXEEXHJXT5N7Y3CVN"),
|
|
2547
2547
|
path: z.string(),
|
|
2548
2548
|
key: z.string(),
|
|
2549
2549
|
display_name: z.string().optional(),
|
|
2550
2550
|
description: z.string(),
|
|
2551
|
-
created_by_id: z.string().optional(),
|
|
2552
|
-
updated_by_id: z.string().optional(),
|
|
2551
|
+
created_by_id: z.nullable(z.string()).optional(),
|
|
2552
|
+
updated_by_id: z.nullable(z.string()).optional(),
|
|
2553
2553
|
project_id: z.string(),
|
|
2554
2554
|
workspace_id: z.string(),
|
|
2555
2555
|
created: z.string(),
|
|
@@ -2638,13 +2638,13 @@ export const UpdateToolResponseBodyJSONSchemaTool$inboundSchema: z.ZodType<
|
|
|
2638
2638
|
z.ZodTypeDef,
|
|
2639
2639
|
unknown
|
|
2640
2640
|
> = z.object({
|
|
2641
|
-
_id: z.string().default("
|
|
2641
|
+
_id: z.string().default("tool_01KTNKV4ET2TXDVW6H5JHK07AD"),
|
|
2642
2642
|
path: z.string(),
|
|
2643
2643
|
key: z.string(),
|
|
2644
2644
|
display_name: z.string().optional(),
|
|
2645
2645
|
description: z.string(),
|
|
2646
|
-
created_by_id: z.string().optional(),
|
|
2647
|
-
updated_by_id: z.string().optional(),
|
|
2646
|
+
created_by_id: z.nullable(z.string()).optional(),
|
|
2647
|
+
updated_by_id: z.nullable(z.string()).optional(),
|
|
2648
2648
|
project_id: z.string(),
|
|
2649
2649
|
workspace_id: z.string(),
|
|
2650
2650
|
created: z.string(),
|
|
@@ -2741,13 +2741,13 @@ export const UpdateToolResponseBodyFunctionTool$inboundSchema: z.ZodType<
|
|
|
2741
2741
|
z.ZodTypeDef,
|
|
2742
2742
|
unknown
|
|
2743
2743
|
> = z.object({
|
|
2744
|
-
_id: z.string().default("
|
|
2744
|
+
_id: z.string().default("tool_01KTNKV4ERVA1WB0JCADZ4EA4T"),
|
|
2745
2745
|
path: z.string(),
|
|
2746
2746
|
key: z.string(),
|
|
2747
2747
|
display_name: z.string().optional(),
|
|
2748
2748
|
description: z.string(),
|
|
2749
|
-
created_by_id: z.string().optional(),
|
|
2750
|
-
updated_by_id: z.string().optional(),
|
|
2749
|
+
created_by_id: z.nullable(z.string()).optional(),
|
|
2750
|
+
updated_by_id: z.nullable(z.string()).optional(),
|
|
2751
2751
|
project_id: z.string(),
|
|
2752
2752
|
workspace_id: z.string(),
|
|
2753
2753
|
created: z.string(),
|
package/src/sdk/feedback.ts
CHANGED
|
@@ -45,10 +45,10 @@ export class Feedback extends ClientSDK {
|
|
|
45
45
|
}
|
|
46
46
|
|
|
47
47
|
/**
|
|
48
|
-
* Create
|
|
48
|
+
* Create a dataset
|
|
49
49
|
*
|
|
50
50
|
* @remarks
|
|
51
|
-
*
|
|
51
|
+
* Creates a new dataset in the specified project.
|
|
52
52
|
*/
|
|
53
53
|
async create(
|
|
54
54
|
request?: operations.PostV2FeedbackRequestBody | undefined,
|