@orq-ai/node 4.12.0-rc.10 → 4.12.0-rc.13
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/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/lib/http.d.ts +1 -1
- package/lib/http.d.ts.map +1 -1
- package/lib/http.js +1 -1
- package/lib/http.js.map +1 -1
- package/lib/security.d.ts +5 -4
- package/lib/security.d.ts.map +1 -1
- package/lib/security.js +6 -7
- package/lib/security.js.map +1 -1
- package/models/components/config.d.ts +14 -0
- package/models/components/config.d.ts.map +1 -0
- package/models/components/config.js +63 -0
- package/models/components/config.js.map +1 -0
- package/models/components/evaluatorresponsefunction.js +2 -2
- package/models/components/evaluatorresponsehttp.js +2 -2
- package/models/components/evaluatorresponsejsonschema.js +2 -2
- package/models/components/evaluatorresponsellm.js +2 -2
- package/models/components/evaluatorresponsepython.js +2 -2
- package/models/components/evaluatorresponseragas.js +2 -2
- package/models/components/evaluatorresponsetypescript.js +2 -2
- package/models/components/index.d.ts +1 -0
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +1 -0
- package/models/components/index.js.map +1 -1
- package/models/components/modeldocument.d.ts +2 -0
- package/models/components/modeldocument.d.ts.map +1 -1
- package/models/components/modeldocument.js +2 -0
- package/models/components/modeldocument.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 +88 -88
- package/models/operations/createeval.d.ts.map +1 -1
- package/models/operations/createeval.js +78 -78
- package/models/operations/createeval.js.map +1 -1
- package/models/operations/createknowledge.d.ts +6 -6
- package/models/operations/createknowledge.d.ts.map +1 -1
- package/models/operations/createknowledge.js +6 -6
- package/models/operations/createknowledge.js.map +1 -1
- package/models/operations/createprompt.d.ts +1 -0
- package/models/operations/createprompt.d.ts.map +1 -1
- package/models/operations/createprompt.js +1 -0
- package/models/operations/createprompt.js.map +1 -1
- package/models/operations/createtool.js +6 -6
- package/models/operations/deploymentinvoke.d.ts +1 -0
- package/models/operations/deploymentinvoke.d.ts.map +1 -1
- package/models/operations/deploymentinvoke.js +1 -0
- package/models/operations/deploymentinvoke.js.map +1 -1
- package/models/operations/deployments.d.ts +1 -0
- package/models/operations/deployments.d.ts.map +1 -1
- package/models/operations/deployments.js +1 -0
- package/models/operations/deployments.js.map +1 -1
- package/models/operations/deploymentstream.d.ts +1 -0
- package/models/operations/deploymentstream.d.ts.map +1 -1
- package/models/operations/deploymentstream.js +1 -0
- package/models/operations/deploymentstream.js.map +1 -1
- package/models/operations/getallmemories.d.ts +1 -1
- package/models/operations/getallmemorydocuments.d.ts +1 -1
- package/models/operations/getallmemorystores.d.ts +1 -1
- package/models/operations/getallprompts.d.ts +2 -1
- package/models/operations/getallprompts.d.ts.map +1 -1
- package/models/operations/getallprompts.js +1 -0
- package/models/operations/getallprompts.js.map +1 -1
- package/models/operations/getalltools.js +6 -6
- package/models/operations/getevals.d.ts +1 -1
- package/models/operations/getoneprompt.d.ts +1 -0
- package/models/operations/getoneprompt.d.ts.map +1 -1
- package/models/operations/getoneprompt.js +1 -0
- package/models/operations/getoneprompt.js.map +1 -1
- package/models/operations/getpromptversion.d.ts +1 -0
- package/models/operations/getpromptversion.d.ts.map +1 -1
- package/models/operations/getpromptversion.js +1 -0
- package/models/operations/getpromptversion.js.map +1 -1
- package/models/operations/getv2evaluatorsidversions.d.ts +1 -1
- package/models/operations/getv2humanevalsets.js +2 -2
- package/models/operations/getv2humanevalsetsid.js +2 -2
- package/models/operations/getv2toolstoolidversions.d.ts +1 -1
- package/models/operations/listchunks.d.ts +1 -1
- package/models/operations/listdatasetdatapoints.d.ts +1 -1
- package/models/operations/listdatasetdatapoints.js +4 -4
- package/models/operations/listdatasets.d.ts +1 -1
- package/models/operations/listdatasets.js +1 -1
- package/models/operations/listdatasources.js +1 -1
- package/models/operations/listpromptversions.d.ts +2 -1
- package/models/operations/listpromptversions.d.ts.map +1 -1
- package/models/operations/listpromptversions.js +1 -0
- package/models/operations/listpromptversions.js.map +1 -1
- package/models/operations/modelcreate.d.ts +1 -0
- package/models/operations/modelcreate.d.ts.map +1 -1
- package/models/operations/modelcreate.js +1 -0
- package/models/operations/modelcreate.js.map +1 -1
- package/models/operations/modelcreateautorouter.d.ts +1 -0
- package/models/operations/modelcreateautorouter.d.ts.map +1 -1
- package/models/operations/modelcreateautorouter.js +1 -0
- package/models/operations/modelcreateautorouter.js.map +1 -1
- package/models/operations/modelcreateawsbedrock.d.ts +1 -0
- package/models/operations/modelcreateawsbedrock.d.ts.map +1 -1
- package/models/operations/modelcreateawsbedrock.js +1 -0
- package/models/operations/modelcreateawsbedrock.js.map +1 -1
- package/models/operations/modelcreateopenailike.d.ts +1 -0
- package/models/operations/modelcreateopenailike.d.ts.map +1 -1
- package/models/operations/modelcreateopenailike.js +1 -0
- package/models/operations/modelcreateopenailike.js.map +1 -1
- package/models/operations/modelcreatevertex.d.ts +1 -0
- package/models/operations/modelcreatevertex.d.ts.map +1 -1
- package/models/operations/modelcreatevertex.js +1 -0
- package/models/operations/modelcreatevertex.js.map +1 -1
- package/models/operations/modelupdate.d.ts +1 -0
- package/models/operations/modelupdate.d.ts.map +1 -1
- package/models/operations/modelupdate.js +1 -0
- package/models/operations/modelupdate.js.map +1 -1
- package/models/operations/modelupdateautorouter.d.ts +1 -0
- package/models/operations/modelupdateautorouter.d.ts.map +1 -1
- package/models/operations/modelupdateautorouter.js +1 -0
- package/models/operations/modelupdateautorouter.js.map +1 -1
- package/models/operations/modelupdateawsbedrock.d.ts +1 -0
- package/models/operations/modelupdateawsbedrock.d.ts.map +1 -1
- package/models/operations/modelupdateawsbedrock.js +1 -0
- package/models/operations/modelupdateawsbedrock.js.map +1 -1
- package/models/operations/modelupdateopenailike.d.ts +1 -0
- package/models/operations/modelupdateopenailike.d.ts.map +1 -1
- package/models/operations/modelupdateopenailike.js +1 -0
- package/models/operations/modelupdateopenailike.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.js +6 -6
- 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/updateprompt.d.ts +1 -0
- package/models/operations/updateprompt.d.ts.map +1 -1
- package/models/operations/updateprompt.js +1 -0
- package/models/operations/updateprompt.js.map +1 -1
- package/models/operations/updatetool.js +7 -7
- package/package.json +7 -7
- package/sdk/feedback.d.ts +2 -2
- package/sdk/feedback.js +2 -2
- package/src/lib/config.ts +3 -3
- package/src/lib/http.ts +3 -1
- package/src/lib/security.ts +10 -5
- package/src/models/components/config.ts +44 -0
- package/src/models/components/evaluatorresponsefunction.ts +2 -2
- package/src/models/components/evaluatorresponsehttp.ts +2 -2
- package/src/models/components/evaluatorresponsejsonschema.ts +2 -2
- package/src/models/components/evaluatorresponsellm.ts +2 -2
- package/src/models/components/evaluatorresponsepython.ts +2 -2
- package/src/models/components/evaluatorresponseragas.ts +2 -2
- package/src/models/components/evaluatorresponsetypescript.ts +2 -2
- package/src/models/components/index.ts +1 -0
- package/src/models/components/modeldocument.ts +3 -0
- 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 +179 -175
- package/src/models/operations/createknowledge.ts +18 -10
- package/src/models/operations/createprompt.ts +1 -0
- package/src/models/operations/createtool.ts +6 -6
- package/src/models/operations/deploymentinvoke.ts +1 -0
- package/src/models/operations/deployments.ts +1 -0
- package/src/models/operations/deploymentstream.ts +1 -0
- package/src/models/operations/getallmemories.ts +1 -1
- package/src/models/operations/getallmemorydocuments.ts +1 -1
- package/src/models/operations/getallmemorystores.ts +1 -1
- package/src/models/operations/getallprompts.ts +2 -1
- package/src/models/operations/getalltools.ts +6 -6
- package/src/models/operations/getevals.ts +1 -1
- package/src/models/operations/getoneprompt.ts +1 -0
- package/src/models/operations/getpromptversion.ts +1 -0
- package/src/models/operations/getv2evaluatorsidversions.ts +1 -1
- package/src/models/operations/getv2humanevalsets.ts +2 -2
- package/src/models/operations/getv2humanevalsetsid.ts +2 -2
- package/src/models/operations/getv2toolstoolidversions.ts +1 -1
- package/src/models/operations/listchunks.ts +1 -1
- package/src/models/operations/listdatasetdatapoints.ts +5 -5
- package/src/models/operations/listdatasets.ts +2 -2
- package/src/models/operations/listdatasources.ts +1 -1
- package/src/models/operations/listpromptversions.ts +2 -1
- package/src/models/operations/modelcreate.ts +2 -0
- package/src/models/operations/modelcreateautorouter.ts +2 -0
- package/src/models/operations/modelcreateawsbedrock.ts +2 -0
- package/src/models/operations/modelcreateopenailike.ts +2 -0
- package/src/models/operations/modelcreatevertex.ts +2 -0
- package/src/models/operations/modelupdate.ts +2 -0
- package/src/models/operations/modelupdateautorouter.ts +2 -0
- package/src/models/operations/modelupdateawsbedrock.ts +2 -0
- package/src/models/operations/modelupdateopenailike.ts +2 -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 +6 -6
- 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/updateprompt.ts +1 -0
- package/src/models/operations/updatetool.ts +7 -7
- package/src/sdk/feedback.ts +2 -2
|
@@ -125,7 +125,7 @@ export type RetrievalSettings = {
|
|
|
125
125
|
| undefined;
|
|
126
126
|
};
|
|
127
127
|
|
|
128
|
-
export type
|
|
128
|
+
export type CreateKnowledgeRequestBody1 = {
|
|
129
129
|
type?: CreateKnowledgeRequestBodyType | undefined;
|
|
130
130
|
key: string;
|
|
131
131
|
description?: string | undefined;
|
|
@@ -149,7 +149,9 @@ export type RequestBody1 = {
|
|
|
149
149
|
path: string;
|
|
150
150
|
};
|
|
151
151
|
|
|
152
|
-
export type CreateKnowledgeRequestBody =
|
|
152
|
+
export type CreateKnowledgeRequestBody =
|
|
153
|
+
| CreateKnowledgeRequestBody1
|
|
154
|
+
| RequestBody2;
|
|
153
155
|
|
|
154
156
|
export const CreateKnowledgeResponseBodyKnowledgeType = {
|
|
155
157
|
External: "external",
|
|
@@ -579,7 +581,7 @@ export function retrievalSettingsToJSON(
|
|
|
579
581
|
}
|
|
580
582
|
|
|
581
583
|
/** @internal */
|
|
582
|
-
export type
|
|
584
|
+
export type CreateKnowledgeRequestBody1$Outbound = {
|
|
583
585
|
type: string;
|
|
584
586
|
key: string;
|
|
585
587
|
description?: string | undefined;
|
|
@@ -589,10 +591,10 @@ export type RequestBody1$Outbound = {
|
|
|
589
591
|
};
|
|
590
592
|
|
|
591
593
|
/** @internal */
|
|
592
|
-
export const
|
|
593
|
-
|
|
594
|
+
export const CreateKnowledgeRequestBody1$outboundSchema: z.ZodType<
|
|
595
|
+
CreateKnowledgeRequestBody1$Outbound,
|
|
594
596
|
z.ZodTypeDef,
|
|
595
|
-
|
|
597
|
+
CreateKnowledgeRequestBody1
|
|
596
598
|
> = z.object({
|
|
597
599
|
type: CreateKnowledgeRequestBodyType$outboundSchema.default("internal"),
|
|
598
600
|
key: z.string(),
|
|
@@ -607,13 +609,19 @@ export const RequestBody1$outboundSchema: z.ZodType<
|
|
|
607
609
|
});
|
|
608
610
|
});
|
|
609
611
|
|
|
610
|
-
export function
|
|
611
|
-
|
|
612
|
+
export function createKnowledgeRequestBody1ToJSON(
|
|
613
|
+
createKnowledgeRequestBody1: CreateKnowledgeRequestBody1,
|
|
614
|
+
): string {
|
|
615
|
+
return JSON.stringify(
|
|
616
|
+
CreateKnowledgeRequestBody1$outboundSchema.parse(
|
|
617
|
+
createKnowledgeRequestBody1,
|
|
618
|
+
),
|
|
619
|
+
);
|
|
612
620
|
}
|
|
613
621
|
|
|
614
622
|
/** @internal */
|
|
615
623
|
export type CreateKnowledgeRequestBody$Outbound =
|
|
616
|
-
|
|
|
624
|
+
| CreateKnowledgeRequestBody1$Outbound
|
|
617
625
|
| RequestBody2$Outbound;
|
|
618
626
|
|
|
619
627
|
/** @internal */
|
|
@@ -622,7 +630,7 @@ export const CreateKnowledgeRequestBody$outboundSchema: z.ZodType<
|
|
|
622
630
|
z.ZodTypeDef,
|
|
623
631
|
CreateKnowledgeRequestBody
|
|
624
632
|
> = z.union([
|
|
625
|
-
z.lazy(() =>
|
|
633
|
+
z.lazy(() => CreateKnowledgeRequestBody1$outboundSchema),
|
|
626
634
|
z.lazy(() => RequestBody2$outboundSchema),
|
|
627
635
|
]);
|
|
628
636
|
|
|
@@ -1896,7 +1896,7 @@ export const ResponseBodyCodeExecutionTool$inboundSchema: z.ZodType<
|
|
|
1896
1896
|
z.ZodTypeDef,
|
|
1897
1897
|
unknown
|
|
1898
1898
|
> = z.object({
|
|
1899
|
-
_id: z.string().default("
|
|
1899
|
+
_id: z.string().default("tool_01KX5DJECZMYDP48RC89PDQ7RX"),
|
|
1900
1900
|
path: z.string(),
|
|
1901
1901
|
key: z.string(),
|
|
1902
1902
|
display_name: z.string().optional(),
|
|
@@ -1993,7 +1993,7 @@ export const ResponseBodyTools$inboundSchema: z.ZodType<
|
|
|
1993
1993
|
z.ZodTypeDef,
|
|
1994
1994
|
unknown
|
|
1995
1995
|
> = z.object({
|
|
1996
|
-
id: z.string().default("
|
|
1996
|
+
id: z.string().default("01KX5DJECYWYP8DGJND4SV1PXM"),
|
|
1997
1997
|
name: z.string(),
|
|
1998
1998
|
description: z.string().optional(),
|
|
1999
1999
|
schema: z.lazy(() => CreateToolResponseBodySchema$inboundSchema),
|
|
@@ -2049,7 +2049,7 @@ export const ResponseBodyMCPTool$inboundSchema: z.ZodType<
|
|
|
2049
2049
|
z.ZodTypeDef,
|
|
2050
2050
|
unknown
|
|
2051
2051
|
> = z.object({
|
|
2052
|
-
_id: z.string().default("
|
|
2052
|
+
_id: z.string().default("tool_01KX5DJECWJ503NCEJKTB1CSE1"),
|
|
2053
2053
|
path: z.string(),
|
|
2054
2054
|
key: z.string(),
|
|
2055
2055
|
display_name: z.string().optional(),
|
|
@@ -2235,7 +2235,7 @@ export const ResponseBodyHTTPTool$inboundSchema: z.ZodType<
|
|
|
2235
2235
|
z.ZodTypeDef,
|
|
2236
2236
|
unknown
|
|
2237
2237
|
> = z.object({
|
|
2238
|
-
_id: z.string().default("
|
|
2238
|
+
_id: z.string().default("tool_01KX5DJECT1YQ3PTFNG40RPWAK"),
|
|
2239
2239
|
path: z.string(),
|
|
2240
2240
|
key: z.string(),
|
|
2241
2241
|
display_name: z.string().optional(),
|
|
@@ -2328,7 +2328,7 @@ export const ResponseBodyJSONSchemaTool$inboundSchema: z.ZodType<
|
|
|
2328
2328
|
z.ZodTypeDef,
|
|
2329
2329
|
unknown
|
|
2330
2330
|
> = z.object({
|
|
2331
|
-
_id: z.string().default("
|
|
2331
|
+
_id: z.string().default("tool_01KX5DJECRZE074PR48F5MXE3K"),
|
|
2332
2332
|
path: z.string(),
|
|
2333
2333
|
key: z.string(),
|
|
2334
2334
|
display_name: z.string().optional(),
|
|
@@ -2429,7 +2429,7 @@ export const ResponseBodyFunctionTool$inboundSchema: z.ZodType<
|
|
|
2429
2429
|
z.ZodTypeDef,
|
|
2430
2430
|
unknown
|
|
2431
2431
|
> = z.object({
|
|
2432
|
-
_id: z.string().default("
|
|
2432
|
+
_id: z.string().default("tool_01KX5DJECPZXT0ZN03RJ1Z59BZ"),
|
|
2433
2433
|
path: z.string(),
|
|
2434
2434
|
key: z.string(),
|
|
2435
2435
|
display_name: z.string().optional(),
|
|
@@ -15,7 +15,7 @@ export type GetAllMemoriesRequest = {
|
|
|
15
15
|
*/
|
|
16
16
|
memoryStoreKey: string;
|
|
17
17
|
/**
|
|
18
|
-
* A limit on the number of objects to be returned. Limit can range between 1 and
|
|
18
|
+
* A limit on the number of objects to be returned. Limit can range between 1 and 200, and the default is 10
|
|
19
19
|
*/
|
|
20
20
|
limit?: number | undefined;
|
|
21
21
|
/**
|
|
@@ -19,7 +19,7 @@ export type GetAllMemoryDocumentsRequest = {
|
|
|
19
19
|
*/
|
|
20
20
|
memoryEntityId: string;
|
|
21
21
|
/**
|
|
22
|
-
* A limit on the number of objects to be returned. Limit can range between 1 and
|
|
22
|
+
* A limit on the number of objects to be returned. Limit can range between 1 and 200, and the default is 10
|
|
23
23
|
*/
|
|
24
24
|
limit?: number | undefined;
|
|
25
25
|
/**
|
|
@@ -11,7 +11,7 @@ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
|
11
11
|
|
|
12
12
|
export type GetAllMemoryStoresRequest = {
|
|
13
13
|
/**
|
|
14
|
-
* A limit on the number of objects to be returned. Limit can range between 1 and
|
|
14
|
+
* A limit on the number of objects to be returned. Limit can range between 1 and 200, and the default is 10
|
|
15
15
|
*/
|
|
16
16
|
limit?: number | undefined;
|
|
17
17
|
/**
|
|
@@ -12,7 +12,7 @@ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
|
12
12
|
|
|
13
13
|
export type GetAllPromptsRequest = {
|
|
14
14
|
/**
|
|
15
|
-
* A limit on the number of objects to be returned. Limit can range between 1 and
|
|
15
|
+
* A limit on the number of objects to be returned. Limit can range between 1 and 200, and the default is 10
|
|
16
16
|
*/
|
|
17
17
|
limit?: number | undefined;
|
|
18
18
|
/**
|
|
@@ -439,6 +439,7 @@ export const GetAllPromptsProvider = {
|
|
|
439
439
|
Wafer: "wafer",
|
|
440
440
|
Poolside: "poolside",
|
|
441
441
|
Tencent: "tencent",
|
|
442
|
+
Reson8: "reson8",
|
|
442
443
|
Slack: "slack",
|
|
443
444
|
Orq: "orq",
|
|
444
445
|
} as const;
|
|
@@ -766,7 +766,7 @@ export const DataCodeExecutionTool$inboundSchema: z.ZodType<
|
|
|
766
766
|
z.ZodTypeDef,
|
|
767
767
|
unknown
|
|
768
768
|
> = z.object({
|
|
769
|
-
_id: z.string().default("
|
|
769
|
+
_id: z.string().default("tool_01KX5DJEC9KG3DRT9H31EJTHPN"),
|
|
770
770
|
path: z.string(),
|
|
771
771
|
key: z.string(),
|
|
772
772
|
display_name: z.string().optional(),
|
|
@@ -863,7 +863,7 @@ export const DataTools$inboundSchema: z.ZodType<
|
|
|
863
863
|
z.ZodTypeDef,
|
|
864
864
|
unknown
|
|
865
865
|
> = z.object({
|
|
866
|
-
id: z.string().default("
|
|
866
|
+
id: z.string().default("01KX5DJEC89SPZ6P92R7SHHC37"),
|
|
867
867
|
name: z.string(),
|
|
868
868
|
description: z.string().optional(),
|
|
869
869
|
schema: z.lazy(() => GetAllToolsDataSchema$inboundSchema),
|
|
@@ -916,7 +916,7 @@ export const DataMCPTool$inboundSchema: z.ZodType<
|
|
|
916
916
|
z.ZodTypeDef,
|
|
917
917
|
unknown
|
|
918
918
|
> = z.object({
|
|
919
|
-
_id: z.string().default("
|
|
919
|
+
_id: z.string().default("tool_01KX5DJEC63JYE55ESK2EZTKKT"),
|
|
920
920
|
path: z.string(),
|
|
921
921
|
key: z.string(),
|
|
922
922
|
display_name: z.string().optional(),
|
|
@@ -1100,7 +1100,7 @@ export const DataHTTPTool$inboundSchema: z.ZodType<
|
|
|
1100
1100
|
z.ZodTypeDef,
|
|
1101
1101
|
unknown
|
|
1102
1102
|
> = z.object({
|
|
1103
|
-
_id: z.string().default("
|
|
1103
|
+
_id: z.string().default("tool_01KX5DJEC22AK79MKCT0NN620J"),
|
|
1104
1104
|
path: z.string(),
|
|
1105
1105
|
key: z.string(),
|
|
1106
1106
|
display_name: z.string().optional(),
|
|
@@ -1193,7 +1193,7 @@ export const DataJSONSchemaTool$inboundSchema: z.ZodType<
|
|
|
1193
1193
|
z.ZodTypeDef,
|
|
1194
1194
|
unknown
|
|
1195
1195
|
> = z.object({
|
|
1196
|
-
_id: z.string().default("
|
|
1196
|
+
_id: z.string().default("tool_01KX5DJEBZ6TZRM59DE38JN7JK"),
|
|
1197
1197
|
path: z.string(),
|
|
1198
1198
|
key: z.string(),
|
|
1199
1199
|
display_name: z.string().optional(),
|
|
@@ -1291,7 +1291,7 @@ export const DataFunctionTool$inboundSchema: z.ZodType<
|
|
|
1291
1291
|
z.ZodTypeDef,
|
|
1292
1292
|
unknown
|
|
1293
1293
|
> = z.object({
|
|
1294
|
-
_id: z.string().default("
|
|
1294
|
+
_id: z.string().default("tool_01KX5DJEBXNMNZ4TC5M2YWEAW0"),
|
|
1295
1295
|
path: z.string(),
|
|
1296
1296
|
key: z.string(),
|
|
1297
1297
|
display_name: z.string().optional(),
|
|
@@ -18,7 +18,7 @@ export type Sort = ClosedEnum<typeof Sort>;
|
|
|
18
18
|
|
|
19
19
|
export type GetEvalsRequest = {
|
|
20
20
|
/**
|
|
21
|
-
* A limit on the number of objects to be returned. Limit can range between 1 and
|
|
21
|
+
* A limit on the number of objects to be returned. Limit can range between 1 and 200, and the default is 10
|
|
22
22
|
*/
|
|
23
23
|
limit?: number | undefined;
|
|
24
24
|
/**
|
|
@@ -12,7 +12,7 @@ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
|
12
12
|
export type GetV2EvaluatorsIdVersionsRequest = {
|
|
13
13
|
id: string;
|
|
14
14
|
/**
|
|
15
|
-
* A limit on the number of objects to be returned. Limit can range between 1 and
|
|
15
|
+
* A limit on the number of objects to be returned. Limit can range between 1 and 200, and the default is 10
|
|
16
16
|
*/
|
|
17
17
|
limit?: number | undefined;
|
|
18
18
|
/**
|
|
@@ -140,7 +140,7 @@ export const GetV2HumanEvalSetsResponseBody2$inboundSchema: z.ZodType<
|
|
|
140
140
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
141
141
|
.optional(),
|
|
142
142
|
updated: z.string().datetime({ offset: true }).default(
|
|
143
|
-
"2026-07-
|
|
143
|
+
"2026-07-10T07:05:59.667Z",
|
|
144
144
|
).transform(v => new Date(v)),
|
|
145
145
|
filter_type: z.literal("name"),
|
|
146
146
|
filter_value: z.string(),
|
|
@@ -185,7 +185,7 @@ export const GetV2HumanEvalSetsResponseBody1$inboundSchema: z.ZodType<
|
|
|
185
185
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
186
186
|
.optional(),
|
|
187
187
|
updated: z.string().datetime({ offset: true }).default(
|
|
188
|
-
"2026-07-
|
|
188
|
+
"2026-07-10T07:05:59.667Z",
|
|
189
189
|
).transform(v => new Date(v)),
|
|
190
190
|
filter_type: z.literal("span_type"),
|
|
191
191
|
filter_values: z.array(z.string()),
|
|
@@ -141,7 +141,7 @@ export const GetV2HumanEvalSetsIdResponseBody2$inboundSchema: z.ZodType<
|
|
|
141
141
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
142
142
|
.optional(),
|
|
143
143
|
updated: z.string().datetime({ offset: true }).default(
|
|
144
|
-
"2026-07-
|
|
144
|
+
"2026-07-10T07:05:59.667Z",
|
|
145
145
|
).transform(v => new Date(v)),
|
|
146
146
|
filter_type: z.literal("name"),
|
|
147
147
|
filter_value: z.string(),
|
|
@@ -186,7 +186,7 @@ export const GetV2HumanEvalSetsIdResponseBody1$inboundSchema: z.ZodType<
|
|
|
186
186
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
187
187
|
.optional(),
|
|
188
188
|
updated: z.string().datetime({ offset: true }).default(
|
|
189
|
-
"2026-07-
|
|
189
|
+
"2026-07-10T07:05:59.667Z",
|
|
190
190
|
).transform(v => new Date(v)),
|
|
191
191
|
filter_type: z.literal("span_type"),
|
|
192
192
|
filter_values: z.array(z.string()),
|
|
@@ -12,7 +12,7 @@ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
|
12
12
|
export type GetV2ToolsToolIdVersionsRequest = {
|
|
13
13
|
toolId: string;
|
|
14
14
|
/**
|
|
15
|
-
* A limit on the number of objects to be returned. Limit can range between 1 and
|
|
15
|
+
* A limit on the number of objects to be returned. Limit can range between 1 and 200, and the default is 10
|
|
16
16
|
*/
|
|
17
17
|
limit?: number | undefined;
|
|
18
18
|
/**
|
|
@@ -42,7 +42,7 @@ export type ListChunksRequest = {
|
|
|
42
42
|
*/
|
|
43
43
|
datasourceId: string;
|
|
44
44
|
/**
|
|
45
|
-
* A limit on the number of objects to be returned. Limit can range between 1 and
|
|
45
|
+
* A limit on the number of objects to be returned. Limit can range between 1 and 200, and the default is 10
|
|
46
46
|
*/
|
|
47
47
|
limit?: number | undefined;
|
|
48
48
|
/**
|
|
@@ -16,7 +16,7 @@ export type ListDatasetDatapointsRequest = {
|
|
|
16
16
|
*/
|
|
17
17
|
datasetId: string;
|
|
18
18
|
/**
|
|
19
|
-
* A limit on the number of objects to be returned. Limit can range between 1 and
|
|
19
|
+
* A limit on the number of objects to be returned. Limit can range between 1 and 200, and the default is 10
|
|
20
20
|
*/
|
|
21
21
|
limit?: number | undefined;
|
|
22
22
|
/**
|
|
@@ -1522,7 +1522,7 @@ export const ListDatasetDatapointsEvaluations3$inboundSchema: z.ZodType<
|
|
|
1522
1522
|
explanation: z.string().optional(),
|
|
1523
1523
|
reviewed_by_id: z.string(),
|
|
1524
1524
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
1525
|
-
"2026-07-
|
|
1525
|
+
"2026-07-10T07:06:18.099Z",
|
|
1526
1526
|
).transform(v => new Date(v)),
|
|
1527
1527
|
type: z.literal("string_array"),
|
|
1528
1528
|
values: z.array(z.string()),
|
|
@@ -1626,7 +1626,7 @@ export const ListDatasetDatapointsEvaluations2$inboundSchema: z.ZodType<
|
|
|
1626
1626
|
explanation: z.string().optional(),
|
|
1627
1627
|
reviewed_by_id: z.string(),
|
|
1628
1628
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
1629
|
-
"2026-07-
|
|
1629
|
+
"2026-07-10T07:06:18.098Z",
|
|
1630
1630
|
).transform(v => new Date(v)),
|
|
1631
1631
|
type: z.literal("number"),
|
|
1632
1632
|
value: z.number(),
|
|
@@ -1726,7 +1726,7 @@ export const ListDatasetDatapointsEvaluations1$inboundSchema: z.ZodType<
|
|
|
1726
1726
|
explanation: z.string().optional(),
|
|
1727
1727
|
reviewed_by_id: z.string(),
|
|
1728
1728
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
1729
|
-
"2026-07-
|
|
1729
|
+
"2026-07-10T07:06:18.097Z",
|
|
1730
1730
|
).transform(v => new Date(v)),
|
|
1731
1731
|
type: z.literal("string"),
|
|
1732
1732
|
value: z.string(),
|
|
@@ -1807,7 +1807,7 @@ export const ListDatasetDatapointsData$inboundSchema: z.ZodType<
|
|
|
1807
1807
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
1808
1808
|
.optional(),
|
|
1809
1809
|
updated: z.string().datetime({ offset: true }).default(
|
|
1810
|
-
"2026-07-
|
|
1810
|
+
"2026-07-10T07:05:59.667Z",
|
|
1811
1811
|
).transform(v => new Date(v)),
|
|
1812
1812
|
}).transform((v) => {
|
|
1813
1813
|
return remap$(v, {
|
|
@@ -11,7 +11,7 @@ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
|
11
11
|
|
|
12
12
|
export type ListDatasetsRequest = {
|
|
13
13
|
/**
|
|
14
|
-
* A limit on the number of objects to be returned. Limit can range between 1 and
|
|
14
|
+
* A limit on the number of objects to be returned. Limit can range between 1 and 200, and the default is 10
|
|
15
15
|
*/
|
|
16
16
|
limit?: number | undefined;
|
|
17
17
|
/**
|
|
@@ -169,7 +169,7 @@ export const ListDatasetsData$inboundSchema: z.ZodType<
|
|
|
169
169
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
170
170
|
.optional(),
|
|
171
171
|
updated: z.string().datetime({ offset: true }).default(
|
|
172
|
-
"2026-07-
|
|
172
|
+
"2026-07-10T07:05:59.667Z",
|
|
173
173
|
).transform(v => new Date(v)),
|
|
174
174
|
}).transform((v) => {
|
|
175
175
|
return remap$(v, {
|
|
@@ -182,7 +182,7 @@ export const ListDatasourcesData$inboundSchema: z.ZodType<
|
|
|
182
182
|
z.ZodTypeDef,
|
|
183
183
|
unknown
|
|
184
184
|
> = z.object({
|
|
185
|
-
_id: z.string().default("
|
|
185
|
+
_id: z.string().default("01KX5DJEHJ8FA5CPZ20VQTP9J6"),
|
|
186
186
|
display_name: z.string(),
|
|
187
187
|
description: z.nullable(z.string()).optional(),
|
|
188
188
|
status: ListDatasourcesStatus$inboundSchema,
|
|
@@ -13,7 +13,7 @@ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
|
13
13
|
export type ListPromptVersionsRequest = {
|
|
14
14
|
promptId: string;
|
|
15
15
|
/**
|
|
16
|
-
* A limit on the number of objects to be returned. Limit can range between 1 and
|
|
16
|
+
* A limit on the number of objects to be returned. Limit can range between 1 and 200, and the default is 10
|
|
17
17
|
*/
|
|
18
18
|
limit?: number | undefined;
|
|
19
19
|
/**
|
|
@@ -443,6 +443,7 @@ export const ListPromptVersionsProvider = {
|
|
|
443
443
|
Wafer: "wafer",
|
|
444
444
|
Poolside: "poolside",
|
|
445
445
|
Tencent: "tencent",
|
|
446
|
+
Reson8: "reson8",
|
|
446
447
|
Slack: "slack",
|
|
447
448
|
Orq: "orq",
|
|
448
449
|
} as const;
|
|
@@ -55,6 +55,7 @@ export type ModelCreateResponseBody = {
|
|
|
55
55
|
pricingUrl: string | null;
|
|
56
56
|
provider: string;
|
|
57
57
|
refId: string;
|
|
58
|
+
sharing?: components.Config | undefined;
|
|
58
59
|
updated: Date;
|
|
59
60
|
};
|
|
60
61
|
|
|
@@ -151,6 +152,7 @@ export const ModelCreateResponseBody$inboundSchema: z.ZodType<
|
|
|
151
152
|
pricing_url: z.nullable(z.string()),
|
|
152
153
|
provider: z.string(),
|
|
153
154
|
refId: z.string(),
|
|
155
|
+
sharing: components.Config$inboundSchema.optional(),
|
|
154
156
|
updated: z.string().datetime({ offset: true }).transform(v => new Date(v)),
|
|
155
157
|
}).transform((v) => {
|
|
156
158
|
return remap$(v, {
|
|
@@ -46,6 +46,7 @@ export type ModelCreateAutorouterResponseBody = {
|
|
|
46
46
|
pricingUrl: string | null;
|
|
47
47
|
provider: string;
|
|
48
48
|
refId: string;
|
|
49
|
+
sharing?: components.Config | undefined;
|
|
49
50
|
updated: Date;
|
|
50
51
|
};
|
|
51
52
|
|
|
@@ -118,6 +119,7 @@ export const ModelCreateAutorouterResponseBody$inboundSchema: z.ZodType<
|
|
|
118
119
|
pricing_url: z.nullable(z.string()),
|
|
119
120
|
provider: z.string(),
|
|
120
121
|
refId: z.string(),
|
|
122
|
+
sharing: components.Config$inboundSchema.optional(),
|
|
121
123
|
updated: z.string().datetime({ offset: true }).transform(v => new Date(v)),
|
|
122
124
|
}).transform((v) => {
|
|
123
125
|
return remap$(v, {
|
|
@@ -67,6 +67,7 @@ export type ModelCreateAwsBedrockResponseBody = {
|
|
|
67
67
|
pricingUrl: string | null;
|
|
68
68
|
provider: string;
|
|
69
69
|
refId: string;
|
|
70
|
+
sharing?: components.Config | undefined;
|
|
70
71
|
updated: Date;
|
|
71
72
|
};
|
|
72
73
|
|
|
@@ -201,6 +202,7 @@ export const ModelCreateAwsBedrockResponseBody$inboundSchema: z.ZodType<
|
|
|
201
202
|
pricing_url: z.nullable(z.string()),
|
|
202
203
|
provider: z.string(),
|
|
203
204
|
refId: z.string(),
|
|
205
|
+
sharing: components.Config$inboundSchema.optional(),
|
|
204
206
|
updated: z.string().datetime({ offset: true }).transform(v => new Date(v)),
|
|
205
207
|
}).transform((v) => {
|
|
206
208
|
return remap$(v, {
|
|
@@ -59,6 +59,7 @@ export type ModelCreateOpenAILikeResponseBody = {
|
|
|
59
59
|
pricingUrl: string | null;
|
|
60
60
|
provider: string;
|
|
61
61
|
refId: string;
|
|
62
|
+
sharing?: components.Config | undefined;
|
|
62
63
|
updated: Date;
|
|
63
64
|
};
|
|
64
65
|
|
|
@@ -169,6 +170,7 @@ export const ModelCreateOpenAILikeResponseBody$inboundSchema: z.ZodType<
|
|
|
169
170
|
pricing_url: z.nullable(z.string()),
|
|
170
171
|
provider: z.string(),
|
|
171
172
|
refId: z.string(),
|
|
173
|
+
sharing: components.Config$inboundSchema.optional(),
|
|
172
174
|
updated: z.string().datetime({ offset: true }).transform(v => new Date(v)),
|
|
173
175
|
}).transform((v) => {
|
|
174
176
|
return remap$(v, {
|
|
@@ -44,6 +44,7 @@ export type ModelCreateVertexResponseBody = {
|
|
|
44
44
|
pricingUrl: string | null;
|
|
45
45
|
provider: string;
|
|
46
46
|
refId: string;
|
|
47
|
+
sharing?: components.Config | undefined;
|
|
47
48
|
updated: Date;
|
|
48
49
|
};
|
|
49
50
|
|
|
@@ -111,6 +112,7 @@ export const ModelCreateVertexResponseBody$inboundSchema: z.ZodType<
|
|
|
111
112
|
pricing_url: z.nullable(z.string()),
|
|
112
113
|
provider: z.string(),
|
|
113
114
|
refId: z.string(),
|
|
115
|
+
sharing: components.Config$inboundSchema.optional(),
|
|
114
116
|
updated: z.string().datetime({ offset: true }).transform(v => new Date(v)),
|
|
115
117
|
}).transform((v) => {
|
|
116
118
|
return remap$(v, {
|
|
@@ -57,6 +57,7 @@ export type ModelUpdateResponseBody = {
|
|
|
57
57
|
pricingUrl: string | null;
|
|
58
58
|
provider: string;
|
|
59
59
|
refId: string;
|
|
60
|
+
sharing?: components.Config | undefined;
|
|
60
61
|
updated: Date;
|
|
61
62
|
};
|
|
62
63
|
|
|
@@ -165,6 +166,7 @@ export const ModelUpdateResponseBody$inboundSchema: z.ZodType<
|
|
|
165
166
|
pricing_url: z.nullable(z.string()),
|
|
166
167
|
provider: z.string(),
|
|
167
168
|
refId: z.string(),
|
|
169
|
+
sharing: components.Config$inboundSchema.optional(),
|
|
168
170
|
updated: z.string().datetime({ offset: true }).transform(v => new Date(v)),
|
|
169
171
|
}).transform((v) => {
|
|
170
172
|
return remap$(v, {
|
|
@@ -54,6 +54,7 @@ export type ModelUpdateAutorouterResponseBody = {
|
|
|
54
54
|
pricingUrl: string | null;
|
|
55
55
|
provider: string;
|
|
56
56
|
refId: string;
|
|
57
|
+
sharing?: components.Config | undefined;
|
|
57
58
|
updated: Date;
|
|
58
59
|
};
|
|
59
60
|
|
|
@@ -156,6 +157,7 @@ export const ModelUpdateAutorouterResponseBody$inboundSchema: z.ZodType<
|
|
|
156
157
|
pricing_url: z.nullable(z.string()),
|
|
157
158
|
provider: z.string(),
|
|
158
159
|
refId: z.string(),
|
|
160
|
+
sharing: components.Config$inboundSchema.optional(),
|
|
159
161
|
updated: z.string().datetime({ offset: true }).transform(v => new Date(v)),
|
|
160
162
|
}).transform((v) => {
|
|
161
163
|
return remap$(v, {
|
|
@@ -72,6 +72,7 @@ export type ModelUpdateAwsBedrockResponseBody = {
|
|
|
72
72
|
pricingUrl: string | null;
|
|
73
73
|
provider: string;
|
|
74
74
|
refId: string;
|
|
75
|
+
sharing?: components.Config | undefined;
|
|
75
76
|
updated: Date;
|
|
76
77
|
};
|
|
77
78
|
|
|
@@ -227,6 +228,7 @@ export const ModelUpdateAwsBedrockResponseBody$inboundSchema: z.ZodType<
|
|
|
227
228
|
pricing_url: z.nullable(z.string()),
|
|
228
229
|
provider: z.string(),
|
|
229
230
|
refId: z.string(),
|
|
231
|
+
sharing: components.Config$inboundSchema.optional(),
|
|
230
232
|
updated: z.string().datetime({ offset: true }).transform(v => new Date(v)),
|
|
231
233
|
}).transform((v) => {
|
|
232
234
|
return remap$(v, {
|
|
@@ -66,6 +66,7 @@ export type ModelUpdateOpenAILikeResponseBody = {
|
|
|
66
66
|
pricingUrl: string | null;
|
|
67
67
|
provider: string;
|
|
68
68
|
refId: string;
|
|
69
|
+
sharing?: components.Config | undefined;
|
|
69
70
|
updated: Date;
|
|
70
71
|
};
|
|
71
72
|
|
|
@@ -203,6 +204,7 @@ export const ModelUpdateOpenAILikeResponseBody$inboundSchema: z.ZodType<
|
|
|
203
204
|
pricing_url: z.nullable(z.string()),
|
|
204
205
|
provider: z.string(),
|
|
205
206
|
refId: z.string(),
|
|
207
|
+
sharing: components.Config$inboundSchema.optional(),
|
|
206
208
|
updated: z.string().datetime({ offset: true }).transform(v => new Date(v)),
|
|
207
209
|
}).transform((v) => {
|
|
208
210
|
return remap$(v, {
|
|
@@ -318,7 +318,7 @@ export const PatchV2HumanEvalSetsIdResponseBody2$inboundSchema: z.ZodType<
|
|
|
318
318
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
319
319
|
.optional(),
|
|
320
320
|
updated: z.string().datetime({ offset: true }).default(
|
|
321
|
-
"2026-07-
|
|
321
|
+
"2026-07-10T07:05:59.667Z",
|
|
322
322
|
).transform(v => new Date(v)),
|
|
323
323
|
filter_type: z.literal("name"),
|
|
324
324
|
filter_value: z.string(),
|
|
@@ -364,7 +364,7 @@ export const PatchV2HumanEvalSetsIdResponseBody1$inboundSchema: z.ZodType<
|
|
|
364
364
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
365
365
|
.optional(),
|
|
366
366
|
updated: z.string().datetime({ offset: true }).default(
|
|
367
|
-
"2026-07-
|
|
367
|
+
"2026-07-10T07:05:59.667Z",
|
|
368
368
|
).transform(v => new Date(v)),
|
|
369
369
|
filter_type: z.literal("span_type"),
|
|
370
370
|
filter_values: z.array(z.string()),
|
|
@@ -193,7 +193,7 @@ export const RequestBody3$outboundSchema: z.ZodType<
|
|
|
193
193
|
source: PostV2FeedbackEvaluationRequestBodyFeedbackSource$outboundSchema
|
|
194
194
|
.default("orq"),
|
|
195
195
|
explanation: z.string().optional(),
|
|
196
|
-
reviewedAt: z.date().default(() => new Date("2026-07-
|
|
196
|
+
reviewedAt: z.date().default(() => new Date("2026-07-10T07:06:18.269Z"))
|
|
197
197
|
.transform(v => v.toISOString()),
|
|
198
198
|
type: z.literal("string_array"),
|
|
199
199
|
values: z.array(z.string()),
|
|
@@ -247,7 +247,7 @@ export const PostV2FeedbackEvaluationRequestBody2$outboundSchema: z.ZodType<
|
|
|
247
247
|
"orq",
|
|
248
248
|
),
|
|
249
249
|
explanation: z.string().optional(),
|
|
250
|
-
reviewedAt: z.date().default(() => new Date("2026-07-
|
|
250
|
+
reviewedAt: z.date().default(() => new Date("2026-07-10T07:06:18.268Z"))
|
|
251
251
|
.transform(v => v.toISOString()),
|
|
252
252
|
type: z.literal("number"),
|
|
253
253
|
value: z.number(),
|
|
@@ -305,7 +305,7 @@ export const PostV2FeedbackEvaluationRequestBody1$outboundSchema: z.ZodType<
|
|
|
305
305
|
humanReviewId: z.string().optional(),
|
|
306
306
|
source: RequestBodySource$outboundSchema.default("orq"),
|
|
307
307
|
explanation: z.string().optional(),
|
|
308
|
-
reviewedAt: z.date().default(() => new Date("2026-07-
|
|
308
|
+
reviewedAt: z.date().default(() => new Date("2026-07-10T07:06:18.268Z"))
|
|
309
309
|
.transform(v => v.toISOString()),
|
|
310
310
|
type: z.literal("string"),
|
|
311
311
|
value: z.string(),
|