@orq-ai/node 3.8.0-rc.21 → 3.8.0-rc.22
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 +131 -131
- package/bin/mcp-server.js.map +36 -36
- 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/createcontact.js +2 -2
- package/models/operations/createdataset.js +2 -2
- package/models/operations/createdatasetitem.js +2 -2
- package/models/operations/createdatasource.js +2 -2
- package/models/operations/createeval.js +16 -16
- package/models/operations/createfeedback.d.ts +8 -8
- package/models/operations/createfeedback.d.ts.map +1 -1
- package/models/operations/createfeedback.js +8 -8
- package/models/operations/createfeedback.js.map +1 -1
- package/models/operations/createprompt.d.ts +4 -4
- package/models/operations/createprompt.d.ts.map +1 -1
- package/models/operations/createprompt.js +4 -4
- package/models/operations/createprompt.js.map +1 -1
- package/models/operations/deploymentgetconfig.d.ts +2 -2
- package/models/operations/deploymentgetconfig.d.ts.map +1 -1
- package/models/operations/deploymentgetconfig.js +2 -2
- package/models/operations/deploymentgetconfig.js.map +1 -1
- package/models/operations/deployments.d.ts +2 -2
- package/models/operations/deployments.d.ts.map +1 -1
- package/models/operations/deployments.js +2 -2
- package/models/operations/deployments.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/getallprompts.d.ts +2 -2
- package/models/operations/getallprompts.d.ts.map +1 -1
- package/models/operations/getallprompts.js +2 -2
- package/models/operations/getallprompts.js.map +1 -1
- package/models/operations/getevals.js +28 -28
- package/models/operations/getoneprompt.d.ts +2 -2
- package/models/operations/getoneprompt.d.ts.map +1 -1
- package/models/operations/getoneprompt.js +2 -2
- package/models/operations/getoneprompt.js.map +1 -1
- package/models/operations/getpromptversion.d.ts +2 -2
- package/models/operations/getpromptversion.d.ts.map +1 -1
- package/models/operations/getpromptversion.js +2 -2
- package/models/operations/getpromptversion.js.map +1 -1
- package/models/operations/listcontacts.js +2 -2
- package/models/operations/listdatasetdatapoints.js +2 -2
- package/models/operations/listdatasets.js +2 -2
- package/models/operations/listdatasources.js +2 -2
- package/models/operations/listpromptversions.d.ts +2 -2
- package/models/operations/listpromptversions.d.ts.map +1 -1
- package/models/operations/listpromptversions.js +2 -2
- package/models/operations/listpromptversions.js.map +1 -1
- package/models/operations/retrievecontact.js +2 -2
- package/models/operations/retrievedatapoint.js +2 -2
- package/models/operations/retrievedataset.js +2 -2
- package/models/operations/retrievedatasource.js +2 -2
- package/models/operations/updatecontact.js +2 -2
- package/models/operations/updatedatapoint.js +2 -2
- package/models/operations/updatedataset.js +2 -2
- package/models/operations/updatedatasource.js +2 -2
- package/models/operations/updateeval.js +16 -16
- package/models/operations/updateprompt.d.ts +4 -4
- package/models/operations/updateprompt.d.ts.map +1 -1
- package/models/operations/updateprompt.js +4 -4
- package/models/operations/updateprompt.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/createcontact.ts +2 -2
- package/src/models/operations/createdataset.ts +2 -2
- package/src/models/operations/createdatasetitem.ts +2 -2
- package/src/models/operations/createdatasource.ts +2 -2
- package/src/models/operations/createeval.ts +16 -16
- package/src/models/operations/createfeedback.ts +16 -16
- package/src/models/operations/createprompt.ts +8 -8
- package/src/models/operations/deploymentgetconfig.ts +4 -4
- package/src/models/operations/deployments.ts +4 -4
- 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/getallprompts.ts +4 -4
- package/src/models/operations/getevals.ts +28 -28
- package/src/models/operations/getoneprompt.ts +4 -4
- package/src/models/operations/getpromptversion.ts +4 -4
- package/src/models/operations/listcontacts.ts +2 -2
- package/src/models/operations/listdatasetdatapoints.ts +2 -2
- package/src/models/operations/listdatasets.ts +2 -2
- package/src/models/operations/listdatasources.ts +2 -2
- package/src/models/operations/listpromptversions.ts +4 -4
- package/src/models/operations/retrievecontact.ts +2 -2
- package/src/models/operations/retrievedatapoint.ts +2 -2
- package/src/models/operations/retrievedataset.ts +2 -2
- package/src/models/operations/retrievedatasource.ts +2 -2
- package/src/models/operations/updatecontact.ts +2 -2
- package/src/models/operations/updatedatapoint.ts +2 -2
- package/src/models/operations/updatedataset.ts +2 -2
- package/src/models/operations/updatedatasource.ts +2 -2
- package/src/models/operations/updateeval.ts +16 -16
- package/src/models/operations/updateprompt.ts +8 -8
|
@@ -211,7 +211,7 @@ export const CreateDatasetResponseBody$inboundSchema: z.ZodType<
|
|
|
211
211
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
212
212
|
.optional(),
|
|
213
213
|
updated: z.string().datetime({ offset: true }).default(
|
|
214
|
-
"2025-06-
|
|
214
|
+
"2025-06-12T21:43:40.411Z",
|
|
215
215
|
).transform(v => new Date(v)),
|
|
216
216
|
}).transform((v) => {
|
|
217
217
|
return remap$(v, {
|
|
@@ -251,7 +251,7 @@ export const CreateDatasetResponseBody$outboundSchema: z.ZodType<
|
|
|
251
251
|
updatedById: z.string().optional(),
|
|
252
252
|
metadata: z.lazy(() => CreateDatasetMetadata$outboundSchema),
|
|
253
253
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
254
|
-
updated: z.date().default(() => new Date("2025-06-
|
|
254
|
+
updated: z.date().default(() => new Date("2025-06-12T21:43:40.411Z"))
|
|
255
255
|
.transform(v => v.toISOString()),
|
|
256
256
|
}).transform((v) => {
|
|
257
257
|
return remap$(v, {
|
|
@@ -5111,7 +5111,7 @@ export const CreateDatasetItemResponseBody$inboundSchema: z.ZodType<
|
|
|
5111
5111
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
5112
5112
|
.optional(),
|
|
5113
5113
|
updated: z.string().datetime({ offset: true }).default(
|
|
5114
|
-
"2025-06-
|
|
5114
|
+
"2025-06-12T21:43:40.411Z",
|
|
5115
5115
|
).transform(v => new Date(v)),
|
|
5116
5116
|
}).transform((v) => {
|
|
5117
5117
|
return remap$(v, {
|
|
@@ -5175,7 +5175,7 @@ export const CreateDatasetItemResponseBody$outboundSchema: z.ZodType<
|
|
|
5175
5175
|
createdById: z.string().optional(),
|
|
5176
5176
|
updatedById: z.string().optional(),
|
|
5177
5177
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
5178
|
-
updated: z.date().default(() => new Date("2025-06-
|
|
5178
|
+
updated: z.date().default(() => new Date("2025-06-12T21:43:40.411Z"))
|
|
5179
5179
|
.transform(v => v.toISOString()),
|
|
5180
5180
|
}).transform((v) => {
|
|
5181
5181
|
return remap$(v, {
|
|
@@ -751,7 +751,7 @@ export const CreateDatasourceResponseBody$inboundSchema: z.ZodType<
|
|
|
751
751
|
z.ZodTypeDef,
|
|
752
752
|
unknown
|
|
753
753
|
> = z.object({
|
|
754
|
-
_id: z.string().default("
|
|
754
|
+
_id: z.string().default("01JXK1JQAZ4DR811N9ASP841WA"),
|
|
755
755
|
display_name: z.string(),
|
|
756
756
|
description: z.string().optional(),
|
|
757
757
|
status: CreateDatasourceStatus$inboundSchema,
|
|
@@ -795,7 +795,7 @@ export const CreateDatasourceResponseBody$outboundSchema: z.ZodType<
|
|
|
795
795
|
z.ZodTypeDef,
|
|
796
796
|
CreateDatasourceResponseBody
|
|
797
797
|
> = z.object({
|
|
798
|
-
id: z.string().default("
|
|
798
|
+
id: z.string().default("01JXK1JQAZ4DR811N9ASP841WA"),
|
|
799
799
|
displayName: z.string(),
|
|
800
800
|
description: z.string().optional(),
|
|
801
801
|
status: CreateDatasourceStatus$outboundSchema,
|
|
@@ -2399,8 +2399,8 @@ export const ResponseBodyPython$inboundSchema: z.ZodType<
|
|
|
2399
2399
|
> = z.object({
|
|
2400
2400
|
_id: z.string(),
|
|
2401
2401
|
description: z.string(),
|
|
2402
|
-
created: z.string().default("2025-06-
|
|
2403
|
-
updated: z.string().default("2025-06-
|
|
2402
|
+
created: z.string().default("2025-06-12T21:43:42.613Z"),
|
|
2403
|
+
updated: z.string().default("2025-06-12T21:43:42.613Z"),
|
|
2404
2404
|
guardrail_config: z.union([
|
|
2405
2405
|
z.lazy(() =>
|
|
2406
2406
|
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyBoolean$inboundSchema
|
|
@@ -2442,8 +2442,8 @@ export const ResponseBodyPython$outboundSchema: z.ZodType<
|
|
|
2442
2442
|
> = z.object({
|
|
2443
2443
|
id: z.string(),
|
|
2444
2444
|
description: z.string(),
|
|
2445
|
-
created: z.string().default("2025-06-
|
|
2446
|
-
updated: z.string().default("2025-06-
|
|
2445
|
+
created: z.string().default("2025-06-12T21:43:42.613Z"),
|
|
2446
|
+
updated: z.string().default("2025-06-12T21:43:42.613Z"),
|
|
2447
2447
|
guardrailConfig: z.union([
|
|
2448
2448
|
z.lazy(() =>
|
|
2449
2449
|
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyBoolean$outboundSchema
|
|
@@ -2856,8 +2856,8 @@ export const ResponseBodyHTTP$inboundSchema: z.ZodType<
|
|
|
2856
2856
|
> = z.object({
|
|
2857
2857
|
_id: z.string(),
|
|
2858
2858
|
description: z.string(),
|
|
2859
|
-
created: z.string().default("2025-06-
|
|
2860
|
-
updated: z.string().default("2025-06-
|
|
2859
|
+
created: z.string().default("2025-06-12T21:43:42.613Z"),
|
|
2860
|
+
updated: z.string().default("2025-06-12T21:43:42.613Z"),
|
|
2861
2861
|
guardrail_config: z.union([
|
|
2862
2862
|
z.lazy(() =>
|
|
2863
2863
|
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONBoolean$inboundSchema
|
|
@@ -2905,8 +2905,8 @@ export const ResponseBodyHTTP$outboundSchema: z.ZodType<
|
|
|
2905
2905
|
> = z.object({
|
|
2906
2906
|
id: z.string(),
|
|
2907
2907
|
description: z.string(),
|
|
2908
|
-
created: z.string().default("2025-06-
|
|
2909
|
-
updated: z.string().default("2025-06-
|
|
2908
|
+
created: z.string().default("2025-06-12T21:43:42.613Z"),
|
|
2909
|
+
updated: z.string().default("2025-06-12T21:43:42.613Z"),
|
|
2910
2910
|
guardrailConfig: z.union([
|
|
2911
2911
|
z.lazy(() =>
|
|
2912
2912
|
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONBoolean$outboundSchema
|
|
@@ -3283,8 +3283,8 @@ export const ResponseBodyJSON$inboundSchema: z.ZodType<
|
|
|
3283
3283
|
> = z.object({
|
|
3284
3284
|
_id: z.string(),
|
|
3285
3285
|
description: z.string(),
|
|
3286
|
-
created: z.string().default("2025-06-
|
|
3287
|
-
updated: z.string().default("2025-06-
|
|
3286
|
+
created: z.string().default("2025-06-12T21:43:42.613Z"),
|
|
3287
|
+
updated: z.string().default("2025-06-12T21:43:42.613Z"),
|
|
3288
3288
|
guardrail_config: z.union([
|
|
3289
3289
|
z.lazy(() =>
|
|
3290
3290
|
CreateEvalGuardrailConfigEvalsResponse200Boolean$inboundSchema
|
|
@@ -3324,8 +3324,8 @@ export const ResponseBodyJSON$outboundSchema: z.ZodType<
|
|
|
3324
3324
|
> = z.object({
|
|
3325
3325
|
id: z.string(),
|
|
3326
3326
|
description: z.string(),
|
|
3327
|
-
created: z.string().default("2025-06-
|
|
3328
|
-
updated: z.string().default("2025-06-
|
|
3327
|
+
created: z.string().default("2025-06-12T21:43:42.613Z"),
|
|
3328
|
+
updated: z.string().default("2025-06-12T21:43:42.613Z"),
|
|
3329
3329
|
guardrailConfig: z.union([
|
|
3330
3330
|
z.lazy(() =>
|
|
3331
3331
|
CreateEvalGuardrailConfigEvalsResponse200Boolean$outboundSchema
|
|
@@ -3680,8 +3680,8 @@ export const ResponseBodyLLM$inboundSchema: z.ZodType<
|
|
|
3680
3680
|
> = z.object({
|
|
3681
3681
|
_id: z.string(),
|
|
3682
3682
|
description: z.string(),
|
|
3683
|
-
created: z.string().default("2025-06-
|
|
3684
|
-
updated: z.string().default("2025-06-
|
|
3683
|
+
created: z.string().default("2025-06-12T21:43:42.613Z"),
|
|
3684
|
+
updated: z.string().default("2025-06-12T21:43:42.613Z"),
|
|
3685
3685
|
guardrail_config: z.union([
|
|
3686
3686
|
z.lazy(() => CreateEvalGuardrailConfigEvalsResponseBoolean$inboundSchema),
|
|
3687
3687
|
z.lazy(() => CreateEvalGuardrailConfigEvalsResponseNumber$inboundSchema),
|
|
@@ -3721,8 +3721,8 @@ export const ResponseBodyLLM$outboundSchema: z.ZodType<
|
|
|
3721
3721
|
> = z.object({
|
|
3722
3722
|
id: z.string(),
|
|
3723
3723
|
description: z.string(),
|
|
3724
|
-
created: z.string().default("2025-06-
|
|
3725
|
-
updated: z.string().default("2025-06-
|
|
3724
|
+
created: z.string().default("2025-06-12T21:43:42.613Z"),
|
|
3725
|
+
updated: z.string().default("2025-06-12T21:43:42.613Z"),
|
|
3726
3726
|
guardrailConfig: z.union([
|
|
3727
3727
|
z.lazy(() => CreateEvalGuardrailConfigEvalsResponseBoolean$outboundSchema),
|
|
3728
3728
|
z.lazy(() => CreateEvalGuardrailConfigEvalsResponseNumber$outboundSchema),
|
|
@@ -11,7 +11,7 @@ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
|
11
11
|
/**
|
|
12
12
|
* The feedback value. For single selection of multiple choice, the value should be an array of strings. For `correction`, the value should be a string.
|
|
13
13
|
*/
|
|
14
|
-
export type Value = string | Array<string>;
|
|
14
|
+
export type Value = string | number | Array<string>;
|
|
15
15
|
|
|
16
16
|
/**
|
|
17
17
|
* Feedback submission payload
|
|
@@ -24,7 +24,7 @@ export type CreateFeedbackRequestBody = {
|
|
|
24
24
|
/**
|
|
25
25
|
* The feedback value. For single selection of multiple choice, the value should be an array of strings. For `correction`, the value should be a string.
|
|
26
26
|
*/
|
|
27
|
-
value: string | Array<string>;
|
|
27
|
+
value: string | number | Array<string>;
|
|
28
28
|
/**
|
|
29
29
|
* The id returned by the [`get_config`]() or [`invoke`](https://docs.orq.ai/reference/post_deployments-invoke-1) endpoints
|
|
30
30
|
*/
|
|
@@ -34,7 +34,7 @@ export type CreateFeedbackRequestBody = {
|
|
|
34
34
|
/**
|
|
35
35
|
* The feedback value. For single selection of multiple choice, the value should be an array of strings. For `correction`, the value should be a string.
|
|
36
36
|
*/
|
|
37
|
-
export type CreateFeedbackValue = string | Array<string>;
|
|
37
|
+
export type CreateFeedbackValue = string | number | Array<string>;
|
|
38
38
|
|
|
39
39
|
/**
|
|
40
40
|
* Successful operation
|
|
@@ -47,7 +47,7 @@ export type CreateFeedbackResponseBody = {
|
|
|
47
47
|
/**
|
|
48
48
|
* The feedback value. For single selection of multiple choice, the value should be an array of strings. For `correction`, the value should be a string.
|
|
49
49
|
*/
|
|
50
|
-
value: string | Array<string>;
|
|
50
|
+
value: string | number | Array<string>;
|
|
51
51
|
/**
|
|
52
52
|
* The id returned by the [`get_config`]() or [`invoke`](https://docs.orq.ai/reference/post_deployments-invoke-1) endpoints
|
|
53
53
|
*/
|
|
@@ -57,17 +57,17 @@ export type CreateFeedbackResponseBody = {
|
|
|
57
57
|
|
|
58
58
|
/** @internal */
|
|
59
59
|
export const Value$inboundSchema: z.ZodType<Value, z.ZodTypeDef, unknown> = z
|
|
60
|
-
.union([z.string(), z.array(z.string())]);
|
|
60
|
+
.union([z.string(), z.number(), z.array(z.string())]);
|
|
61
61
|
|
|
62
62
|
/** @internal */
|
|
63
|
-
export type Value$Outbound = string | Array<string>;
|
|
63
|
+
export type Value$Outbound = string | number | Array<string>;
|
|
64
64
|
|
|
65
65
|
/** @internal */
|
|
66
66
|
export const Value$outboundSchema: z.ZodType<
|
|
67
67
|
Value$Outbound,
|
|
68
68
|
z.ZodTypeDef,
|
|
69
69
|
Value
|
|
70
|
-
> = z.union([z.string(), z.array(z.string())]);
|
|
70
|
+
> = z.union([z.string(), z.number(), z.array(z.string())]);
|
|
71
71
|
|
|
72
72
|
/**
|
|
73
73
|
* @internal
|
|
@@ -103,7 +103,7 @@ export const CreateFeedbackRequestBody$inboundSchema: z.ZodType<
|
|
|
103
103
|
unknown
|
|
104
104
|
> = z.object({
|
|
105
105
|
property: z.string(),
|
|
106
|
-
value: z.union([z.string(), z.array(z.string())]),
|
|
106
|
+
value: z.union([z.string(), z.number(), z.array(z.string())]),
|
|
107
107
|
trace_id: z.string(),
|
|
108
108
|
}).transform((v) => {
|
|
109
109
|
return remap$(v, {
|
|
@@ -115,7 +115,7 @@ export const CreateFeedbackRequestBody$inboundSchema: z.ZodType<
|
|
|
115
115
|
/** @internal */
|
|
116
116
|
export type CreateFeedbackRequestBody$Outbound = {
|
|
117
117
|
property: string;
|
|
118
|
-
value: string | Array<string>;
|
|
118
|
+
value: string | number | Array<string>;
|
|
119
119
|
trace_id: string;
|
|
120
120
|
};
|
|
121
121
|
|
|
@@ -126,7 +126,7 @@ export const CreateFeedbackRequestBody$outboundSchema: z.ZodType<
|
|
|
126
126
|
CreateFeedbackRequestBody
|
|
127
127
|
> = z.object({
|
|
128
128
|
field: z.string(),
|
|
129
|
-
value: z.union([z.string(), z.array(z.string())]),
|
|
129
|
+
value: z.union([z.string(), z.number(), z.array(z.string())]),
|
|
130
130
|
traceId: z.string(),
|
|
131
131
|
}).transform((v) => {
|
|
132
132
|
return remap$(v, {
|
|
@@ -171,17 +171,17 @@ export const CreateFeedbackValue$inboundSchema: z.ZodType<
|
|
|
171
171
|
CreateFeedbackValue,
|
|
172
172
|
z.ZodTypeDef,
|
|
173
173
|
unknown
|
|
174
|
-
> = z.union([z.string(), z.array(z.string())]);
|
|
174
|
+
> = z.union([z.string(), z.number(), z.array(z.string())]);
|
|
175
175
|
|
|
176
176
|
/** @internal */
|
|
177
|
-
export type CreateFeedbackValue$Outbound = string | Array<string>;
|
|
177
|
+
export type CreateFeedbackValue$Outbound = string | number | Array<string>;
|
|
178
178
|
|
|
179
179
|
/** @internal */
|
|
180
180
|
export const CreateFeedbackValue$outboundSchema: z.ZodType<
|
|
181
181
|
CreateFeedbackValue$Outbound,
|
|
182
182
|
z.ZodTypeDef,
|
|
183
183
|
CreateFeedbackValue
|
|
184
|
-
> = z.union([z.string(), z.array(z.string())]);
|
|
184
|
+
> = z.union([z.string(), z.number(), z.array(z.string())]);
|
|
185
185
|
|
|
186
186
|
/**
|
|
187
187
|
* @internal
|
|
@@ -221,7 +221,7 @@ export const CreateFeedbackResponseBody$inboundSchema: z.ZodType<
|
|
|
221
221
|
unknown
|
|
222
222
|
> = z.object({
|
|
223
223
|
property: z.string(),
|
|
224
|
-
value: z.union([z.string(), z.array(z.string())]),
|
|
224
|
+
value: z.union([z.string(), z.number(), z.array(z.string())]),
|
|
225
225
|
trace_id: z.string(),
|
|
226
226
|
id: z.string(),
|
|
227
227
|
}).transform((v) => {
|
|
@@ -233,7 +233,7 @@ export const CreateFeedbackResponseBody$inboundSchema: z.ZodType<
|
|
|
233
233
|
/** @internal */
|
|
234
234
|
export type CreateFeedbackResponseBody$Outbound = {
|
|
235
235
|
property: string;
|
|
236
|
-
value: string | Array<string>;
|
|
236
|
+
value: string | number | Array<string>;
|
|
237
237
|
trace_id: string;
|
|
238
238
|
id: string;
|
|
239
239
|
};
|
|
@@ -245,7 +245,7 @@ export const CreateFeedbackResponseBody$outboundSchema: z.ZodType<
|
|
|
245
245
|
CreateFeedbackResponseBody
|
|
246
246
|
> = z.object({
|
|
247
247
|
property: z.string(),
|
|
248
|
-
value: z.union([z.string(), z.array(z.string())]),
|
|
248
|
+
value: z.union([z.string(), z.number(), z.array(z.string())]),
|
|
249
249
|
traceId: z.string(),
|
|
250
250
|
id: z.string(),
|
|
251
251
|
}).transform((v) => {
|
|
@@ -60,7 +60,7 @@ export type ResponseFormatType = ClosedEnum<typeof ResponseFormatType>;
|
|
|
60
60
|
|
|
61
61
|
export type JsonSchema = {
|
|
62
62
|
name: string;
|
|
63
|
-
strict
|
|
63
|
+
strict?: boolean | undefined;
|
|
64
64
|
schema: { [k: string]: any };
|
|
65
65
|
};
|
|
66
66
|
|
|
@@ -511,7 +511,7 @@ export type CreatePromptResponseFormatPromptsType = ClosedEnum<
|
|
|
511
511
|
|
|
512
512
|
export type CreatePromptResponseFormatJsonSchema = {
|
|
513
513
|
name: string;
|
|
514
|
-
strict
|
|
514
|
+
strict?: boolean | undefined;
|
|
515
515
|
schema: { [k: string]: any };
|
|
516
516
|
};
|
|
517
517
|
|
|
@@ -1084,14 +1084,14 @@ export const JsonSchema$inboundSchema: z.ZodType<
|
|
|
1084
1084
|
unknown
|
|
1085
1085
|
> = z.object({
|
|
1086
1086
|
name: z.string(),
|
|
1087
|
-
strict: z.boolean(),
|
|
1087
|
+
strict: z.boolean().optional(),
|
|
1088
1088
|
schema: z.record(z.any()),
|
|
1089
1089
|
});
|
|
1090
1090
|
|
|
1091
1091
|
/** @internal */
|
|
1092
1092
|
export type JsonSchema$Outbound = {
|
|
1093
1093
|
name: string;
|
|
1094
|
-
strict
|
|
1094
|
+
strict?: boolean | undefined;
|
|
1095
1095
|
schema: { [k: string]: any };
|
|
1096
1096
|
};
|
|
1097
1097
|
|
|
@@ -1102,7 +1102,7 @@ export const JsonSchema$outboundSchema: z.ZodType<
|
|
|
1102
1102
|
JsonSchema
|
|
1103
1103
|
> = z.object({
|
|
1104
1104
|
name: z.string(),
|
|
1105
|
-
strict: z.boolean(),
|
|
1105
|
+
strict: z.boolean().optional(),
|
|
1106
1106
|
schema: z.record(z.any()),
|
|
1107
1107
|
});
|
|
1108
1108
|
|
|
@@ -2616,14 +2616,14 @@ export const CreatePromptResponseFormatJsonSchema$inboundSchema: z.ZodType<
|
|
|
2616
2616
|
unknown
|
|
2617
2617
|
> = z.object({
|
|
2618
2618
|
name: z.string(),
|
|
2619
|
-
strict: z.boolean(),
|
|
2619
|
+
strict: z.boolean().optional(),
|
|
2620
2620
|
schema: z.record(z.any()),
|
|
2621
2621
|
});
|
|
2622
2622
|
|
|
2623
2623
|
/** @internal */
|
|
2624
2624
|
export type CreatePromptResponseFormatJsonSchema$Outbound = {
|
|
2625
2625
|
name: string;
|
|
2626
|
-
strict
|
|
2626
|
+
strict?: boolean | undefined;
|
|
2627
2627
|
schema: { [k: string]: any };
|
|
2628
2628
|
};
|
|
2629
2629
|
|
|
@@ -2634,7 +2634,7 @@ export const CreatePromptResponseFormatJsonSchema$outboundSchema: z.ZodType<
|
|
|
2634
2634
|
CreatePromptResponseFormatJsonSchema
|
|
2635
2635
|
> = z.object({
|
|
2636
2636
|
name: z.string(),
|
|
2637
|
-
strict: z.boolean(),
|
|
2637
|
+
strict: z.boolean().optional(),
|
|
2638
2638
|
schema: z.record(z.any()),
|
|
2639
2639
|
});
|
|
2640
2640
|
|
|
@@ -1436,7 +1436,7 @@ export type DeploymentGetConfigResponseFormatDeploymentsType = ClosedEnum<
|
|
|
1436
1436
|
|
|
1437
1437
|
export type DeploymentGetConfigResponseFormatJsonSchema = {
|
|
1438
1438
|
name: string;
|
|
1439
|
-
strict
|
|
1439
|
+
strict?: boolean | undefined;
|
|
1440
1440
|
schema: { [k: string]: any };
|
|
1441
1441
|
};
|
|
1442
1442
|
|
|
@@ -8780,14 +8780,14 @@ export const DeploymentGetConfigResponseFormatJsonSchema$inboundSchema:
|
|
|
8780
8780
|
unknown
|
|
8781
8781
|
> = z.object({
|
|
8782
8782
|
name: z.string(),
|
|
8783
|
-
strict: z.boolean(),
|
|
8783
|
+
strict: z.boolean().optional(),
|
|
8784
8784
|
schema: z.record(z.any()),
|
|
8785
8785
|
});
|
|
8786
8786
|
|
|
8787
8787
|
/** @internal */
|
|
8788
8788
|
export type DeploymentGetConfigResponseFormatJsonSchema$Outbound = {
|
|
8789
8789
|
name: string;
|
|
8790
|
-
strict
|
|
8790
|
+
strict?: boolean | undefined;
|
|
8791
8791
|
schema: { [k: string]: any };
|
|
8792
8792
|
};
|
|
8793
8793
|
|
|
@@ -8799,7 +8799,7 @@ export const DeploymentGetConfigResponseFormatJsonSchema$outboundSchema:
|
|
|
8799
8799
|
DeploymentGetConfigResponseFormatJsonSchema
|
|
8800
8800
|
> = z.object({
|
|
8801
8801
|
name: z.string(),
|
|
8802
|
-
strict: z.boolean(),
|
|
8802
|
+
strict: z.boolean().optional(),
|
|
8803
8803
|
schema: z.record(z.any()),
|
|
8804
8804
|
});
|
|
8805
8805
|
|
|
@@ -143,7 +143,7 @@ export type DeploymentsResponseFormatDeploymentsType = ClosedEnum<
|
|
|
143
143
|
|
|
144
144
|
export type DeploymentsResponseFormatJsonSchema = {
|
|
145
145
|
name: string;
|
|
146
|
-
strict
|
|
146
|
+
strict?: boolean | undefined;
|
|
147
147
|
schema: { [k: string]: any };
|
|
148
148
|
};
|
|
149
149
|
|
|
@@ -975,14 +975,14 @@ export const DeploymentsResponseFormatJsonSchema$inboundSchema: z.ZodType<
|
|
|
975
975
|
unknown
|
|
976
976
|
> = z.object({
|
|
977
977
|
name: z.string(),
|
|
978
|
-
strict: z.boolean(),
|
|
978
|
+
strict: z.boolean().optional(),
|
|
979
979
|
schema: z.record(z.any()),
|
|
980
980
|
});
|
|
981
981
|
|
|
982
982
|
/** @internal */
|
|
983
983
|
export type DeploymentsResponseFormatJsonSchema$Outbound = {
|
|
984
984
|
name: string;
|
|
985
|
-
strict
|
|
985
|
+
strict?: boolean | undefined;
|
|
986
986
|
schema: { [k: string]: any };
|
|
987
987
|
};
|
|
988
988
|
|
|
@@ -993,7 +993,7 @@ export const DeploymentsResponseFormatJsonSchema$outboundSchema: z.ZodType<
|
|
|
993
993
|
DeploymentsResponseFormatJsonSchema
|
|
994
994
|
> = z.object({
|
|
995
995
|
name: z.string(),
|
|
996
|
-
strict: z.boolean(),
|
|
996
|
+
strict: z.boolean().optional(),
|
|
997
997
|
schema: z.record(z.any()),
|
|
998
998
|
});
|
|
999
999
|
|
|
@@ -146,7 +146,7 @@ export const FileGetResponseBody$inboundSchema: z.ZodType<
|
|
|
146
146
|
file_name: z.string(),
|
|
147
147
|
workspace_id: z.string(),
|
|
148
148
|
created: z.string().datetime({ offset: true }).default(
|
|
149
|
-
"2025-06-
|
|
149
|
+
"2025-06-12T21:43:43.392Z",
|
|
150
150
|
).transform(v => new Date(v)),
|
|
151
151
|
}).transform((v) => {
|
|
152
152
|
return remap$(v, {
|
|
@@ -180,7 +180,7 @@ export const FileGetResponseBody$outboundSchema: z.ZodType<
|
|
|
180
180
|
bytes: z.number(),
|
|
181
181
|
fileName: z.string(),
|
|
182
182
|
workspaceId: z.string(),
|
|
183
|
-
created: z.date().default(() => new Date("2025-06-
|
|
183
|
+
created: z.date().default(() => new Date("2025-06-12T21:43:43.392Z"))
|
|
184
184
|
.transform(v => v.toISOString()),
|
|
185
185
|
}).transform((v) => {
|
|
186
186
|
return remap$(v, {
|
|
@@ -196,7 +196,7 @@ export const FileListData$inboundSchema: z.ZodType<
|
|
|
196
196
|
file_name: z.string(),
|
|
197
197
|
workspace_id: z.string(),
|
|
198
198
|
created: z.string().datetime({ offset: true }).default(
|
|
199
|
-
"2025-06-
|
|
199
|
+
"2025-06-12T21:43:43.392Z",
|
|
200
200
|
).transform(v => new Date(v)),
|
|
201
201
|
}).transform((v) => {
|
|
202
202
|
return remap$(v, {
|
|
@@ -230,7 +230,7 @@ export const FileListData$outboundSchema: z.ZodType<
|
|
|
230
230
|
bytes: z.number(),
|
|
231
231
|
fileName: z.string(),
|
|
232
232
|
workspaceId: z.string(),
|
|
233
|
-
created: z.date().default(() => new Date("2025-06-
|
|
233
|
+
created: z.date().default(() => new Date("2025-06-12T21:43:43.392Z"))
|
|
234
234
|
.transform(v => v.toISOString()),
|
|
235
235
|
}).transform((v) => {
|
|
236
236
|
return remap$(v, {
|
|
@@ -250,7 +250,7 @@ export const FileUploadResponseBody$inboundSchema: z.ZodType<
|
|
|
250
250
|
file_name: z.string(),
|
|
251
251
|
workspace_id: z.string(),
|
|
252
252
|
created: z.string().datetime({ offset: true }).default(
|
|
253
|
-
"2025-06-
|
|
253
|
+
"2025-06-12T21:43:43.392Z",
|
|
254
254
|
).transform(v => new Date(v)),
|
|
255
255
|
}).transform((v) => {
|
|
256
256
|
return remap$(v, {
|
|
@@ -284,7 +284,7 @@ export const FileUploadResponseBody$outboundSchema: z.ZodType<
|
|
|
284
284
|
bytes: z.number(),
|
|
285
285
|
fileName: z.string(),
|
|
286
286
|
workspaceId: z.string(),
|
|
287
|
-
created: z.date().default(() => new Date("2025-06-
|
|
287
|
+
created: z.date().default(() => new Date("2025-06-12T21:43:43.392Z"))
|
|
288
288
|
.transform(v => v.toISOString()),
|
|
289
289
|
}).transform((v) => {
|
|
290
290
|
return remap$(v, {
|
|
@@ -87,7 +87,7 @@ export type GetAllPromptsResponseFormatType = ClosedEnum<
|
|
|
87
87
|
|
|
88
88
|
export type GetAllPromptsResponseFormatJsonSchema = {
|
|
89
89
|
name: string;
|
|
90
|
-
strict
|
|
90
|
+
strict?: boolean | undefined;
|
|
91
91
|
schema: { [k: string]: any };
|
|
92
92
|
};
|
|
93
93
|
|
|
@@ -777,14 +777,14 @@ export const GetAllPromptsResponseFormatJsonSchema$inboundSchema: z.ZodType<
|
|
|
777
777
|
unknown
|
|
778
778
|
> = z.object({
|
|
779
779
|
name: z.string(),
|
|
780
|
-
strict: z.boolean(),
|
|
780
|
+
strict: z.boolean().optional(),
|
|
781
781
|
schema: z.record(z.any()),
|
|
782
782
|
});
|
|
783
783
|
|
|
784
784
|
/** @internal */
|
|
785
785
|
export type GetAllPromptsResponseFormatJsonSchema$Outbound = {
|
|
786
786
|
name: string;
|
|
787
|
-
strict
|
|
787
|
+
strict?: boolean | undefined;
|
|
788
788
|
schema: { [k: string]: any };
|
|
789
789
|
};
|
|
790
790
|
|
|
@@ -795,7 +795,7 @@ export const GetAllPromptsResponseFormatJsonSchema$outboundSchema: z.ZodType<
|
|
|
795
795
|
GetAllPromptsResponseFormatJsonSchema
|
|
796
796
|
> = z.object({
|
|
797
797
|
name: z.string(),
|
|
798
|
-
strict: z.boolean(),
|
|
798
|
+
strict: z.boolean().optional(),
|
|
799
799
|
schema: z.record(z.any()),
|
|
800
800
|
});
|
|
801
801
|
|
|
@@ -1372,8 +1372,8 @@ export const Typescript$inboundSchema: z.ZodType<
|
|
|
1372
1372
|
> = z.object({
|
|
1373
1373
|
_id: z.string(),
|
|
1374
1374
|
description: z.string(),
|
|
1375
|
-
created: z.string().default("2025-06-
|
|
1376
|
-
updated: z.string().default("2025-06-
|
|
1375
|
+
created: z.string().default("2025-06-12T21:43:42.613Z"),
|
|
1376
|
+
updated: z.string().default("2025-06-12T21:43:42.613Z"),
|
|
1377
1377
|
guardrail_config: z.union([
|
|
1378
1378
|
z.lazy(() =>
|
|
1379
1379
|
GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONBoolean$inboundSchema
|
|
@@ -1416,8 +1416,8 @@ export const Typescript$outboundSchema: z.ZodType<
|
|
|
1416
1416
|
> = z.object({
|
|
1417
1417
|
id: z.string(),
|
|
1418
1418
|
description: z.string(),
|
|
1419
|
-
created: z.string().default("2025-06-
|
|
1420
|
-
updated: z.string().default("2025-06-
|
|
1419
|
+
created: z.string().default("2025-06-12T21:43:42.613Z"),
|
|
1420
|
+
updated: z.string().default("2025-06-12T21:43:42.613Z"),
|
|
1421
1421
|
guardrailConfig: z.union([
|
|
1422
1422
|
z.lazy(() =>
|
|
1423
1423
|
GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONBoolean$outboundSchema
|
|
@@ -1813,8 +1813,8 @@ export const Ragas$inboundSchema: z.ZodType<Ragas, z.ZodTypeDef, unknown> = z
|
|
|
1813
1813
|
.object({
|
|
1814
1814
|
_id: z.string(),
|
|
1815
1815
|
description: z.string(),
|
|
1816
|
-
created: z.string().default("2025-06-
|
|
1817
|
-
updated: z.string().default("2025-06-
|
|
1816
|
+
created: z.string().default("2025-06-12T21:43:42.613Z"),
|
|
1817
|
+
updated: z.string().default("2025-06-12T21:43:42.613Z"),
|
|
1818
1818
|
guardrail_config: z.union([
|
|
1819
1819
|
z.lazy(() =>
|
|
1820
1820
|
GetEvalsGuardrailConfigEvalsResponse200Boolean$inboundSchema
|
|
@@ -1857,8 +1857,8 @@ export const Ragas$outboundSchema: z.ZodType<
|
|
|
1857
1857
|
> = z.object({
|
|
1858
1858
|
id: z.string(),
|
|
1859
1859
|
description: z.string(),
|
|
1860
|
-
created: z.string().default("2025-06-
|
|
1861
|
-
updated: z.string().default("2025-06-
|
|
1860
|
+
created: z.string().default("2025-06-12T21:43:42.613Z"),
|
|
1861
|
+
updated: z.string().default("2025-06-12T21:43:42.613Z"),
|
|
1862
1862
|
guardrailConfig: z.union([
|
|
1863
1863
|
z.lazy(() => GetEvalsGuardrailConfigEvalsResponse200Boolean$outboundSchema),
|
|
1864
1864
|
z.lazy(() => GetEvalsGuardrailConfigEvalsResponse200Number$outboundSchema),
|
|
@@ -4221,8 +4221,8 @@ export const DataFunction$inboundSchema: z.ZodType<
|
|
|
4221
4221
|
> = z.object({
|
|
4222
4222
|
_id: z.string(),
|
|
4223
4223
|
description: z.string(),
|
|
4224
|
-
created: z.string().default("2025-06-
|
|
4225
|
-
updated: z.string().default("2025-06-
|
|
4224
|
+
created: z.string().default("2025-06-12T21:43:42.613Z"),
|
|
4225
|
+
updated: z.string().default("2025-06-12T21:43:42.613Z"),
|
|
4226
4226
|
guardrail_config: z.union([
|
|
4227
4227
|
z.lazy(() => GetEvalsGuardrailConfigEvalsResponseBoolean$inboundSchema),
|
|
4228
4228
|
z.lazy(() => GetEvalsGuardrailConfigEvalsResponseNumber$inboundSchema),
|
|
@@ -4310,8 +4310,8 @@ export const DataFunction$outboundSchema: z.ZodType<
|
|
|
4310
4310
|
> = z.object({
|
|
4311
4311
|
id: z.string(),
|
|
4312
4312
|
description: z.string(),
|
|
4313
|
-
created: z.string().default("2025-06-
|
|
4314
|
-
updated: z.string().default("2025-06-
|
|
4313
|
+
created: z.string().default("2025-06-12T21:43:42.613Z"),
|
|
4314
|
+
updated: z.string().default("2025-06-12T21:43:42.613Z"),
|
|
4315
4315
|
guardrailConfig: z.union([
|
|
4316
4316
|
z.lazy(() => GetEvalsGuardrailConfigEvalsResponseBoolean$outboundSchema),
|
|
4317
4317
|
z.lazy(() => GetEvalsGuardrailConfigEvalsResponseNumber$outboundSchema),
|
|
@@ -4682,8 +4682,8 @@ export const DataPython$inboundSchema: z.ZodType<
|
|
|
4682
4682
|
> = z.object({
|
|
4683
4683
|
_id: z.string(),
|
|
4684
4684
|
description: z.string(),
|
|
4685
|
-
created: z.string().default("2025-06-
|
|
4686
|
-
updated: z.string().default("2025-06-
|
|
4685
|
+
created: z.string().default("2025-06-12T21:43:42.613Z"),
|
|
4686
|
+
updated: z.string().default("2025-06-12T21:43:42.613Z"),
|
|
4687
4687
|
guardrail_config: z.union([
|
|
4688
4688
|
z.lazy(() => GetEvalsGuardrailConfigEvalsBoolean$inboundSchema),
|
|
4689
4689
|
z.lazy(() => GetEvalsGuardrailConfigEvalsNumber$inboundSchema),
|
|
@@ -4721,8 +4721,8 @@ export const DataPython$outboundSchema: z.ZodType<
|
|
|
4721
4721
|
> = z.object({
|
|
4722
4722
|
id: z.string(),
|
|
4723
4723
|
description: z.string(),
|
|
4724
|
-
created: z.string().default("2025-06-
|
|
4725
|
-
updated: z.string().default("2025-06-
|
|
4724
|
+
created: z.string().default("2025-06-12T21:43:42.613Z"),
|
|
4725
|
+
updated: z.string().default("2025-06-12T21:43:42.613Z"),
|
|
4726
4726
|
guardrailConfig: z.union([
|
|
4727
4727
|
z.lazy(() => GetEvalsGuardrailConfigEvalsBoolean$outboundSchema),
|
|
4728
4728
|
z.lazy(() => GetEvalsGuardrailConfigEvalsNumber$outboundSchema),
|
|
@@ -5068,8 +5068,8 @@ export const DataHTTP$inboundSchema: z.ZodType<
|
|
|
5068
5068
|
> = z.object({
|
|
5069
5069
|
_id: z.string(),
|
|
5070
5070
|
description: z.string(),
|
|
5071
|
-
created: z.string().default("2025-06-
|
|
5072
|
-
updated: z.string().default("2025-06-
|
|
5071
|
+
created: z.string().default("2025-06-12T21:43:42.613Z"),
|
|
5072
|
+
updated: z.string().default("2025-06-12T21:43:42.613Z"),
|
|
5073
5073
|
guardrail_config: z.union([
|
|
5074
5074
|
z.lazy(() => GetEvalsGuardrailConfigBoolean$inboundSchema),
|
|
5075
5075
|
z.lazy(() => GetEvalsGuardrailConfigNumber$inboundSchema),
|
|
@@ -5113,8 +5113,8 @@ export const DataHTTP$outboundSchema: z.ZodType<
|
|
|
5113
5113
|
> = z.object({
|
|
5114
5114
|
id: z.string(),
|
|
5115
5115
|
description: z.string(),
|
|
5116
|
-
created: z.string().default("2025-06-
|
|
5117
|
-
updated: z.string().default("2025-06-
|
|
5116
|
+
created: z.string().default("2025-06-12T21:43:42.613Z"),
|
|
5117
|
+
updated: z.string().default("2025-06-12T21:43:42.613Z"),
|
|
5118
5118
|
guardrailConfig: z.union([
|
|
5119
5119
|
z.lazy(() => GetEvalsGuardrailConfigBoolean$outboundSchema),
|
|
5120
5120
|
z.lazy(() => GetEvalsGuardrailConfigNumber$outboundSchema),
|
|
@@ -5479,8 +5479,8 @@ export const DataJSON$inboundSchema: z.ZodType<
|
|
|
5479
5479
|
> = z.object({
|
|
5480
5480
|
_id: z.string(),
|
|
5481
5481
|
description: z.string(),
|
|
5482
|
-
created: z.string().default("2025-06-
|
|
5483
|
-
updated: z.string().default("2025-06-
|
|
5482
|
+
created: z.string().default("2025-06-12T21:43:42.613Z"),
|
|
5483
|
+
updated: z.string().default("2025-06-12T21:43:42.613Z"),
|
|
5484
5484
|
guardrail_config: z.union([
|
|
5485
5485
|
z.lazy(() =>
|
|
5486
5486
|
GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyDataBoolean$inboundSchema
|
|
@@ -5522,8 +5522,8 @@ export const DataJSON$outboundSchema: z.ZodType<
|
|
|
5522
5522
|
> = z.object({
|
|
5523
5523
|
id: z.string(),
|
|
5524
5524
|
description: z.string(),
|
|
5525
|
-
created: z.string().default("2025-06-
|
|
5526
|
-
updated: z.string().default("2025-06-
|
|
5525
|
+
created: z.string().default("2025-06-12T21:43:42.613Z"),
|
|
5526
|
+
updated: z.string().default("2025-06-12T21:43:42.613Z"),
|
|
5527
5527
|
guardrailConfig: z.union([
|
|
5528
5528
|
z.lazy(() =>
|
|
5529
5529
|
GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyDataBoolean$outboundSchema
|
|
@@ -5905,8 +5905,8 @@ export const DataLLM$inboundSchema: z.ZodType<DataLLM, z.ZodTypeDef, unknown> =
|
|
|
5905
5905
|
z.object({
|
|
5906
5906
|
_id: z.string(),
|
|
5907
5907
|
description: z.string(),
|
|
5908
|
-
created: z.string().default("2025-06-
|
|
5909
|
-
updated: z.string().default("2025-06-
|
|
5908
|
+
created: z.string().default("2025-06-12T21:43:42.613Z"),
|
|
5909
|
+
updated: z.string().default("2025-06-12T21:43:42.613Z"),
|
|
5910
5910
|
guardrail_config: z.union([
|
|
5911
5911
|
z.lazy(() =>
|
|
5912
5912
|
GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyBoolean$inboundSchema
|
|
@@ -5950,8 +5950,8 @@ export const DataLLM$outboundSchema: z.ZodType<
|
|
|
5950
5950
|
> = z.object({
|
|
5951
5951
|
id: z.string(),
|
|
5952
5952
|
description: z.string(),
|
|
5953
|
-
created: z.string().default("2025-06-
|
|
5954
|
-
updated: z.string().default("2025-06-
|
|
5953
|
+
created: z.string().default("2025-06-12T21:43:42.613Z"),
|
|
5954
|
+
updated: z.string().default("2025-06-12T21:43:42.613Z"),
|
|
5955
5955
|
guardrailConfig: z.union([
|
|
5956
5956
|
z.lazy(() =>
|
|
5957
5957
|
GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyBoolean$outboundSchema
|