@orq-ai/node 3.12.13 → 3.12.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/bin/mcp-server.js +113 -112
- package/bin/mcp-server.js.map +32 -32
- package/examples/package-lock.json +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/server.js +1 -1
- package/models/errors/index.d.ts +1 -0
- package/models/errors/index.d.ts.map +1 -1
- package/models/errors/index.js +1 -0
- package/models/errors/index.js.map +1 -1
- package/models/operations/createbudget.js +2 -2
- package/models/operations/createcontact.js +2 -2
- package/models/operations/createdataset.js +2 -2
- package/models/operations/createdatasetitem.js +2 -2
- package/models/operations/createdatasource.js +2 -2
- package/models/operations/createeval.js +16 -16
- package/models/operations/fileget.js +2 -2
- package/models/operations/filelist.js +2 -2
- package/models/operations/fileupload.js +2 -2
- package/models/operations/getbudget.js +2 -2
- package/models/operations/getevals.js +28 -28
- package/models/operations/listbudgets.js +2 -2
- package/models/operations/listcontacts.js +2 -2
- package/models/operations/listdatasetdatapoints.js +2 -2
- package/models/operations/listdatasets.js +2 -2
- package/models/operations/listdatasources.js +2 -2
- package/models/operations/retrievecontact.js +2 -2
- package/models/operations/retrievedatapoint.js +2 -2
- package/models/operations/retrievedataset.js +2 -2
- package/models/operations/retrievedatasource.js +2 -2
- package/models/operations/updatebudget.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/package.json +1 -1
- package/packages/orq-rc/README.md +90 -92
- package/packages/orq-rc/docs/sdks/agents/README.md +94 -80
- package/packages/orq-rc/examples/package-lock.json +1 -1
- package/packages/orq-rc/jsr.json +1 -1
- package/packages/orq-rc/package-lock.json +2 -2
- package/packages/orq-rc/package.json +1 -1
- package/packages/orq-rc/src/funcs/agentsRun.ts +1 -1
- package/packages/orq-rc/src/funcs/agentsStreamRun.ts +1 -1
- package/packages/orq-rc/src/lib/config.ts +3 -3
- package/packages/orq-rc/src/mcp-server/mcp-server.ts +1 -1
- package/packages/orq-rc/src/mcp-server/server.ts +1 -3
- package/packages/orq-rc/src/mcp-server/tools/agentsRun.ts +1 -1
- package/packages/orq-rc/src/mcp-server/tools/agentsStreamRun.ts +1 -1
- package/packages/orq-rc/src/models/errors/index.ts +1 -0
- package/packages/orq-rc/src/models/operations/createbudget.ts +2 -2
- package/packages/orq-rc/src/models/operations/createcontact.ts +2 -2
- package/packages/orq-rc/src/models/operations/createdataset.ts +2 -2
- package/packages/orq-rc/src/models/operations/createdatasetitem.ts +2 -2
- package/packages/orq-rc/src/models/operations/createdatasource.ts +2 -2
- package/packages/orq-rc/src/models/operations/createeval.ts +28 -28
- package/packages/orq-rc/src/models/operations/fileget.ts +2 -2
- package/packages/orq-rc/src/models/operations/filelist.ts +2 -2
- package/packages/orq-rc/src/models/operations/fileupload.ts +2 -2
- package/packages/orq-rc/src/models/operations/getagent.ts +2 -9
- package/packages/orq-rc/src/models/operations/getbudget.ts +2 -2
- package/packages/orq-rc/src/models/operations/getevals.ts +28 -28
- package/packages/orq-rc/src/models/operations/index.ts +0 -1
- package/packages/orq-rc/src/models/operations/listagents.ts +2 -9
- package/packages/orq-rc/src/models/operations/listbudgets.ts +2 -2
- package/packages/orq-rc/src/models/operations/listcontacts.ts +2 -2
- package/packages/orq-rc/src/models/operations/listdatasetdatapoints.ts +2 -2
- package/packages/orq-rc/src/models/operations/listdatasets.ts +2 -2
- package/packages/orq-rc/src/models/operations/listdatasources.ts +2 -2
- package/packages/orq-rc/src/models/operations/retrieveaction.ts +14 -16
- package/packages/orq-rc/src/models/operations/retrievecontact.ts +2 -2
- package/packages/orq-rc/src/models/operations/retrievedatapoint.ts +2 -2
- package/packages/orq-rc/src/models/operations/retrievedataset.ts +2 -2
- package/packages/orq-rc/src/models/operations/retrievedatasource.ts +2 -2
- package/packages/orq-rc/src/models/operations/runagent.ts +183 -14
- package/packages/orq-rc/src/models/operations/streamrunagent.ts +194 -14
- package/packages/orq-rc/src/models/operations/updatebudget.ts +2 -2
- package/packages/orq-rc/src/models/operations/updatecontact.ts +2 -2
- package/packages/orq-rc/src/models/operations/updatedatapoint.ts +2 -2
- package/packages/orq-rc/src/models/operations/updatedataset.ts +2 -2
- package/packages/orq-rc/src/models/operations/updatedatasource.ts +2 -2
- package/packages/orq-rc/src/models/operations/updateeval.ts +28 -28
- package/packages/orq-rc/src/sdk/agents.ts +2 -20
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/models/errors/index.ts +1 -0
- package/src/models/operations/createbudget.ts +2 -2
- package/src/models/operations/createcontact.ts +2 -2
- package/src/models/operations/createdataset.ts +2 -2
- package/src/models/operations/createdatasetitem.ts +2 -2
- package/src/models/operations/createdatasource.ts +2 -2
- package/src/models/operations/createeval.ts +16 -16
- 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/getbudget.ts +2 -2
- package/src/models/operations/getevals.ts +28 -28
- package/src/models/operations/listbudgets.ts +2 -2
- package/src/models/operations/listcontacts.ts +2 -2
- package/src/models/operations/listdatasetdatapoints.ts +2 -2
- package/src/models/operations/listdatasets.ts +2 -2
- package/src/models/operations/listdatasources.ts +2 -2
- package/src/models/operations/retrievecontact.ts +2 -2
- package/src/models/operations/retrievedatapoint.ts +2 -2
- package/src/models/operations/retrievedataset.ts +2 -2
- package/src/models/operations/retrievedatasource.ts +2 -2
- package/src/models/operations/updatebudget.ts +2 -2
- package/src/models/operations/updatecontact.ts +2 -2
- package/src/models/operations/updatedatapoint.ts +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/packages/orq-rc/src/funcs/agentsReviewAction.ts +0 -177
- package/packages/orq-rc/src/mcp-server/tools/agentsReviewAction.ts +0 -37
- package/packages/orq-rc/src/models/operations/reviewaction.ts +0 -258
|
@@ -3484,8 +3484,8 @@ export const ResponseBodyTypescript$inboundSchema: z.ZodType<
|
|
|
3484
3484
|
> = z.object({
|
|
3485
3485
|
_id: z.string(),
|
|
3486
3486
|
description: z.string(),
|
|
3487
|
-
created: z.string().default("2025-09-
|
|
3488
|
-
updated: z.string().default("2025-09-
|
|
3487
|
+
created: z.string().default("2025-09-22T14:20:43.147Z"),
|
|
3488
|
+
updated: z.string().default("2025-09-22T14:20:43.148Z"),
|
|
3489
3489
|
guardrail_config: z.union([
|
|
3490
3490
|
z.lazy(() =>
|
|
3491
3491
|
UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody7Number$inboundSchema
|
|
@@ -3528,8 +3528,8 @@ export const ResponseBodyTypescript$outboundSchema: z.ZodType<
|
|
|
3528
3528
|
> = z.object({
|
|
3529
3529
|
id: z.string(),
|
|
3530
3530
|
description: z.string(),
|
|
3531
|
-
created: z.string().default("2025-09-
|
|
3532
|
-
updated: z.string().default("2025-09-
|
|
3531
|
+
created: z.string().default("2025-09-22T14:20:43.147Z"),
|
|
3532
|
+
updated: z.string().default("2025-09-22T14:20:43.148Z"),
|
|
3533
3533
|
guardrailConfig: z.union([
|
|
3534
3534
|
z.lazy(() =>
|
|
3535
3535
|
UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody7Number$outboundSchema
|
|
@@ -3955,8 +3955,8 @@ export const ResponseBodyRagas$inboundSchema: z.ZodType<
|
|
|
3955
3955
|
> = z.object({
|
|
3956
3956
|
_id: z.string(),
|
|
3957
3957
|
description: z.string(),
|
|
3958
|
-
created: z.string().default("2025-09-
|
|
3959
|
-
updated: z.string().default("2025-09-
|
|
3958
|
+
created: z.string().default("2025-09-22T14:20:43.147Z"),
|
|
3959
|
+
updated: z.string().default("2025-09-22T14:20:43.148Z"),
|
|
3960
3960
|
guardrail_config: z.union([
|
|
3961
3961
|
z.lazy(() =>
|
|
3962
3962
|
UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody6Number$inboundSchema
|
|
@@ -4002,8 +4002,8 @@ export const ResponseBodyRagas$outboundSchema: z.ZodType<
|
|
|
4002
4002
|
> = z.object({
|
|
4003
4003
|
id: z.string(),
|
|
4004
4004
|
description: z.string(),
|
|
4005
|
-
created: z.string().default("2025-09-
|
|
4006
|
-
updated: z.string().default("2025-09-
|
|
4005
|
+
created: z.string().default("2025-09-22T14:20:43.147Z"),
|
|
4006
|
+
updated: z.string().default("2025-09-22T14:20:43.148Z"),
|
|
4007
4007
|
guardrailConfig: z.union([
|
|
4008
4008
|
z.lazy(() =>
|
|
4009
4009
|
UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody6Number$outboundSchema
|
|
@@ -7510,8 +7510,8 @@ export const UpdateEvalResponseBodyFunction$inboundSchema: z.ZodType<
|
|
|
7510
7510
|
> = z.object({
|
|
7511
7511
|
_id: z.string(),
|
|
7512
7512
|
description: z.string(),
|
|
7513
|
-
created: z.string().default("2025-09-
|
|
7514
|
-
updated: z.string().default("2025-09-
|
|
7513
|
+
created: z.string().default("2025-09-22T14:20:43.147Z"),
|
|
7514
|
+
updated: z.string().default("2025-09-22T14:20:43.148Z"),
|
|
7515
7515
|
guardrail_config: z.union([
|
|
7516
7516
|
z.lazy(() =>
|
|
7517
7517
|
UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody5Number$inboundSchema
|
|
@@ -7625,8 +7625,8 @@ export const UpdateEvalResponseBodyFunction$outboundSchema: z.ZodType<
|
|
|
7625
7625
|
> = z.object({
|
|
7626
7626
|
id: z.string(),
|
|
7627
7627
|
description: z.string(),
|
|
7628
|
-
created: z.string().default("2025-09-
|
|
7629
|
-
updated: z.string().default("2025-09-
|
|
7628
|
+
created: z.string().default("2025-09-22T14:20:43.147Z"),
|
|
7629
|
+
updated: z.string().default("2025-09-22T14:20:43.148Z"),
|
|
7630
7630
|
guardrailConfig: z.union([
|
|
7631
7631
|
z.lazy(() =>
|
|
7632
7632
|
UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody5Number$outboundSchema
|
|
@@ -8068,8 +8068,8 @@ export const UpdateEvalResponseBodyPython$inboundSchema: z.ZodType<
|
|
|
8068
8068
|
> = z.object({
|
|
8069
8069
|
_id: z.string(),
|
|
8070
8070
|
description: z.string(),
|
|
8071
|
-
created: z.string().default("2025-09-
|
|
8072
|
-
updated: z.string().default("2025-09-
|
|
8071
|
+
created: z.string().default("2025-09-22T14:20:43.147Z"),
|
|
8072
|
+
updated: z.string().default("2025-09-22T14:20:43.148Z"),
|
|
8073
8073
|
guardrail_config: z.union([
|
|
8074
8074
|
z.lazy(() =>
|
|
8075
8075
|
UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyNumber$inboundSchema
|
|
@@ -8111,8 +8111,8 @@ export const UpdateEvalResponseBodyPython$outboundSchema: z.ZodType<
|
|
|
8111
8111
|
> = z.object({
|
|
8112
8112
|
id: z.string(),
|
|
8113
8113
|
description: z.string(),
|
|
8114
|
-
created: z.string().default("2025-09-
|
|
8115
|
-
updated: z.string().default("2025-09-
|
|
8114
|
+
created: z.string().default("2025-09-22T14:20:43.147Z"),
|
|
8115
|
+
updated: z.string().default("2025-09-22T14:20:43.148Z"),
|
|
8116
8116
|
guardrailConfig: z.union([
|
|
8117
8117
|
z.lazy(() =>
|
|
8118
8118
|
UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyNumber$outboundSchema
|
|
@@ -8533,8 +8533,8 @@ export const UpdateEvalResponseBodyHTTP$inboundSchema: z.ZodType<
|
|
|
8533
8533
|
> = z.object({
|
|
8534
8534
|
_id: z.string(),
|
|
8535
8535
|
description: z.string(),
|
|
8536
|
-
created: z.string().default("2025-09-
|
|
8537
|
-
updated: z.string().default("2025-09-
|
|
8536
|
+
created: z.string().default("2025-09-22T14:20:43.147Z"),
|
|
8537
|
+
updated: z.string().default("2025-09-22T14:20:43.148Z"),
|
|
8538
8538
|
guardrail_config: z.union([
|
|
8539
8539
|
z.lazy(() =>
|
|
8540
8540
|
UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONNumber$inboundSchema
|
|
@@ -8582,8 +8582,8 @@ export const UpdateEvalResponseBodyHTTP$outboundSchema: z.ZodType<
|
|
|
8582
8582
|
> = z.object({
|
|
8583
8583
|
id: z.string(),
|
|
8584
8584
|
description: z.string(),
|
|
8585
|
-
created: z.string().default("2025-09-
|
|
8586
|
-
updated: z.string().default("2025-09-
|
|
8585
|
+
created: z.string().default("2025-09-22T14:20:43.147Z"),
|
|
8586
|
+
updated: z.string().default("2025-09-22T14:20:43.148Z"),
|
|
8587
8587
|
guardrailConfig: z.union([
|
|
8588
8588
|
z.lazy(() =>
|
|
8589
8589
|
UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONNumber$outboundSchema
|
|
@@ -8973,8 +8973,8 @@ export const UpdateEvalResponseBodyJSON$inboundSchema: z.ZodType<
|
|
|
8973
8973
|
> = z.object({
|
|
8974
8974
|
_id: z.string(),
|
|
8975
8975
|
description: z.string(),
|
|
8976
|
-
created: z.string().default("2025-09-
|
|
8977
|
-
updated: z.string().default("2025-09-
|
|
8976
|
+
created: z.string().default("2025-09-22T14:20:43.147Z"),
|
|
8977
|
+
updated: z.string().default("2025-09-22T14:20:43.148Z"),
|
|
8978
8978
|
guardrail_config: z.union([
|
|
8979
8979
|
z.lazy(() => UpdateEvalGuardrailConfigEvalsResponse200Number$inboundSchema),
|
|
8980
8980
|
z.lazy(() =>
|
|
@@ -9014,8 +9014,8 @@ export const UpdateEvalResponseBodyJSON$outboundSchema: z.ZodType<
|
|
|
9014
9014
|
> = z.object({
|
|
9015
9015
|
id: z.string(),
|
|
9016
9016
|
description: z.string(),
|
|
9017
|
-
created: z.string().default("2025-09-
|
|
9018
|
-
updated: z.string().default("2025-09-
|
|
9017
|
+
created: z.string().default("2025-09-22T14:20:43.147Z"),
|
|
9018
|
+
updated: z.string().default("2025-09-22T14:20:43.148Z"),
|
|
9019
9019
|
guardrailConfig: z.union([
|
|
9020
9020
|
z.lazy(() =>
|
|
9021
9021
|
UpdateEvalGuardrailConfigEvalsResponse200Number$outboundSchema
|
|
@@ -9373,8 +9373,8 @@ export const UpdateEvalResponseBodyLLM$inboundSchema: z.ZodType<
|
|
|
9373
9373
|
> = z.object({
|
|
9374
9374
|
_id: z.string(),
|
|
9375
9375
|
description: z.string(),
|
|
9376
|
-
created: z.string().default("2025-09-
|
|
9377
|
-
updated: z.string().default("2025-09-
|
|
9376
|
+
created: z.string().default("2025-09-22T14:20:43.147Z"),
|
|
9377
|
+
updated: z.string().default("2025-09-22T14:20:43.148Z"),
|
|
9378
9378
|
guardrail_config: z.union([
|
|
9379
9379
|
z.lazy(() => UpdateEvalGuardrailConfigEvalsResponseNumber$inboundSchema),
|
|
9380
9380
|
z.lazy(() => UpdateEvalGuardrailConfigEvalsResponseBoolean$inboundSchema),
|
|
@@ -9414,8 +9414,8 @@ export const UpdateEvalResponseBodyLLM$outboundSchema: z.ZodType<
|
|
|
9414
9414
|
> = z.object({
|
|
9415
9415
|
id: z.string(),
|
|
9416
9416
|
description: z.string(),
|
|
9417
|
-
created: z.string().default("2025-09-
|
|
9418
|
-
updated: z.string().default("2025-09-
|
|
9417
|
+
created: z.string().default("2025-09-22T14:20:43.147Z"),
|
|
9418
|
+
updated: z.string().default("2025-09-22T14:20:43.148Z"),
|
|
9419
9419
|
guardrailConfig: z.union([
|
|
9420
9420
|
z.lazy(() => UpdateEvalGuardrailConfigEvalsResponseNumber$outboundSchema),
|
|
9421
9421
|
z.lazy(() => UpdateEvalGuardrailConfigEvalsResponseBoolean$outboundSchema),
|
|
@@ -7,7 +7,6 @@ import { agentsListActions } from "../funcs/agentsListActions.js";
|
|
|
7
7
|
import { agentsRetrieve } from "../funcs/agentsRetrieve.js";
|
|
8
8
|
import { agentsRetrieveAction } from "../funcs/agentsRetrieveAction.js";
|
|
9
9
|
import { agentsRetrieveTask } from "../funcs/agentsRetrieveTask.js";
|
|
10
|
-
import { agentsReviewAction } from "../funcs/agentsReviewAction.js";
|
|
11
10
|
import { agentsRun } from "../funcs/agentsRun.js";
|
|
12
11
|
import { agentsStreamRun } from "../funcs/agentsStreamRun.js";
|
|
13
12
|
import { EventStream } from "../lib/event-streams.js";
|
|
@@ -71,7 +70,7 @@ export class Agents extends ClientSDK {
|
|
|
71
70
|
* Run an agent
|
|
72
71
|
*
|
|
73
72
|
* @remarks
|
|
74
|
-
* Executes an agent with the provided configuration using A2A message format. If the agent already exists with the same configuration, it will be reused. If the configuration differs, a new version is created. The fallback model is configured at the agent level and will be used automatically if the primary model fails during execution.
|
|
73
|
+
* Executes an agent with the provided configuration using A2A message format. If the agent already exists with the same configuration, it will be reused. If the configuration differs, a new version is created. The fallback model is configured at the agent level and will be used automatically if the primary model fails during execution.
|
|
75
74
|
*/
|
|
76
75
|
async run(
|
|
77
76
|
request?: operations.RunAgentRequestBody | undefined,
|
|
@@ -88,7 +87,7 @@ export class Agents extends ClientSDK {
|
|
|
88
87
|
* Run and stream agent execution
|
|
89
88
|
*
|
|
90
89
|
* @remarks
|
|
91
|
-
* Creates or updates an agent with the provided configuration, then streams execution events via Server-Sent Events (SSE). If the agent already exists with the same configuration, it will be reused. If the configuration differs, a new version is created. The stream will continue until the agent completes, errors, or reaches the configured timeout.
|
|
90
|
+
* Creates or updates an agent with the provided configuration, then streams execution events via Server-Sent Events (SSE). If the agent already exists with the same configuration, it will be reused. If the configuration differs, a new version is created. The stream will continue until the agent completes, errors, or reaches the configured timeout.
|
|
92
91
|
*/
|
|
93
92
|
async streamRun(
|
|
94
93
|
request?: operations.StreamRunAgentRequestBody | undefined,
|
|
@@ -128,21 +127,4 @@ export class Agents extends ClientSDK {
|
|
|
128
127
|
options,
|
|
129
128
|
));
|
|
130
129
|
}
|
|
131
|
-
|
|
132
|
-
/**
|
|
133
|
-
* Review a tool execution
|
|
134
|
-
*
|
|
135
|
-
* @remarks
|
|
136
|
-
* Review a tool execution and approve, reject or mock it. This will trigger the next step in the agent execution.
|
|
137
|
-
*/
|
|
138
|
-
async reviewAction(
|
|
139
|
-
request: operations.ReviewActionRequest,
|
|
140
|
-
options?: RequestOptions,
|
|
141
|
-
): Promise<operations.ReviewActionResponseBody> {
|
|
142
|
-
return unwrapAsync(agentsReviewAction(
|
|
143
|
-
this,
|
|
144
|
-
request,
|
|
145
|
-
options,
|
|
146
|
-
));
|
|
147
|
-
}
|
|
148
130
|
}
|
package/src/lib/config.ts
CHANGED
|
@@ -68,7 +68,7 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
|
|
|
68
68
|
export const SDK_METADATA = {
|
|
69
69
|
language: "typescript",
|
|
70
70
|
openapiDocVersion: "2.0",
|
|
71
|
-
sdkVersion: "3.12.
|
|
72
|
-
genVersion: "2.
|
|
73
|
-
userAgent: "speakeasy-sdk/typescript 3.12.
|
|
71
|
+
sdkVersion: "3.12.14",
|
|
72
|
+
genVersion: "2.709.0",
|
|
73
|
+
userAgent: "speakeasy-sdk/typescript 3.12.14 2.709.0 2.0 @orq-ai/node",
|
|
74
74
|
} as const;
|
package/src/mcp-server/server.ts
CHANGED
|
@@ -48,6 +48,7 @@ export * from "./getpromptversion.js";
|
|
|
48
48
|
export * from "./honoapierror.js";
|
|
49
49
|
export * from "./httpclienterrors.js";
|
|
50
50
|
export * from "./invokeeval.js";
|
|
51
|
+
export * from "./orqerror.js";
|
|
51
52
|
export * from "./responsevalidationerror.js";
|
|
52
53
|
export * from "./retrievecontact.js";
|
|
53
54
|
export * from "./sdkvalidationerror.js";
|
|
@@ -655,7 +655,7 @@ export const CreateBudgetResponseBody$inboundSchema: z.ZodType<
|
|
|
655
655
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
656
656
|
.optional(),
|
|
657
657
|
updated: z.string().datetime({ offset: true }).default(
|
|
658
|
-
"2025-09-
|
|
658
|
+
"2025-09-22T21:25:50.768Z",
|
|
659
659
|
).transform(v => new Date(v)),
|
|
660
660
|
}).transform((v) => {
|
|
661
661
|
return remap$(v, {
|
|
@@ -693,7 +693,7 @@ export const CreateBudgetResponseBody$outboundSchema: z.ZodType<
|
|
|
693
693
|
isActive: z.boolean(),
|
|
694
694
|
consumption: z.lazy(() => Consumption$outboundSchema).optional(),
|
|
695
695
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
696
|
-
updated: z.date().default(() => new Date("2025-09-
|
|
696
|
+
updated: z.date().default(() => new Date("2025-09-22T21:25:50.768Z"))
|
|
697
697
|
.transform(v => v.toISOString()),
|
|
698
698
|
}).transform((v) => {
|
|
699
699
|
return remap$(v, {
|
|
@@ -182,7 +182,7 @@ export const CreateContactResponseBody$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
|
-
"2025-09-
|
|
185
|
+
"2025-09-22T21:25:50.768Z",
|
|
186
186
|
).transform(v => new Date(v)),
|
|
187
187
|
}).transform((v) => {
|
|
188
188
|
return remap$(v, {
|
|
@@ -223,7 +223,7 @@ export const CreateContactResponseBody$outboundSchema: z.ZodType<
|
|
|
223
223
|
tags: z.array(z.string()).optional(),
|
|
224
224
|
metadata: z.record(z.any()).optional(),
|
|
225
225
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
226
|
-
updated: z.date().default(() => new Date("2025-09-
|
|
226
|
+
updated: z.date().default(() => new Date("2025-09-22T21:25:50.768Z"))
|
|
227
227
|
.transform(v => v.toISOString()),
|
|
228
228
|
}).transform((v) => {
|
|
229
229
|
return remap$(v, {
|
|
@@ -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-09-
|
|
214
|
+
"2025-09-22T21:25:50.768Z",
|
|
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-09-
|
|
254
|
+
updated: z.date().default(() => new Date("2025-09-22T21:25:50.768Z"))
|
|
255
255
|
.transform(v => v.toISOString()),
|
|
256
256
|
}).transform((v) => {
|
|
257
257
|
return remap$(v, {
|
|
@@ -6081,7 +6081,7 @@ export const ResponseBody$inboundSchema: z.ZodType<
|
|
|
6081
6081
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
6082
6082
|
.optional(),
|
|
6083
6083
|
updated: z.string().datetime({ offset: true }).default(
|
|
6084
|
-
"2025-09-
|
|
6084
|
+
"2025-09-22T21:25:50.768Z",
|
|
6085
6085
|
).transform(v => new Date(v)),
|
|
6086
6086
|
}).transform((v) => {
|
|
6087
6087
|
return remap$(v, {
|
|
@@ -6145,7 +6145,7 @@ export const ResponseBody$outboundSchema: z.ZodType<
|
|
|
6145
6145
|
createdById: z.string().optional(),
|
|
6146
6146
|
updatedById: z.string().optional(),
|
|
6147
6147
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
6148
|
-
updated: z.date().default(() => new Date("2025-09-
|
|
6148
|
+
updated: z.date().default(() => new Date("2025-09-22T21:25:50.768Z"))
|
|
6149
6149
|
.transform(v => v.toISOString()),
|
|
6150
6150
|
}).transform((v) => {
|
|
6151
6151
|
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("01K5SN3DZ2HVR4RJ8F13BBQR82"),
|
|
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("01K5SN3DZ2HVR4RJ8F13BBQR82"),
|
|
799
799
|
displayName: z.string(),
|
|
800
800
|
description: z.string().optional(),
|
|
801
801
|
status: CreateDatasourceStatus$outboundSchema,
|
|
@@ -2538,8 +2538,8 @@ export const ResponseBodyPython$inboundSchema: z.ZodType<
|
|
|
2538
2538
|
> = z.object({
|
|
2539
2539
|
_id: z.string(),
|
|
2540
2540
|
description: z.string(),
|
|
2541
|
-
created: z.string().default("2025-09-
|
|
2542
|
-
updated: z.string().default("2025-09-
|
|
2541
|
+
created: z.string().default("2025-09-22T21:25:53.087Z"),
|
|
2542
|
+
updated: z.string().default("2025-09-22T21:25:53.087Z"),
|
|
2543
2543
|
guardrail_config: z.union([
|
|
2544
2544
|
z.lazy(() =>
|
|
2545
2545
|
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyNumber$inboundSchema
|
|
@@ -2581,8 +2581,8 @@ export const ResponseBodyPython$outboundSchema: z.ZodType<
|
|
|
2581
2581
|
> = z.object({
|
|
2582
2582
|
id: z.string(),
|
|
2583
2583
|
description: z.string(),
|
|
2584
|
-
created: z.string().default("2025-09-
|
|
2585
|
-
updated: z.string().default("2025-09-
|
|
2584
|
+
created: z.string().default("2025-09-22T21:25:53.087Z"),
|
|
2585
|
+
updated: z.string().default("2025-09-22T21:25:53.087Z"),
|
|
2586
2586
|
guardrailConfig: z.union([
|
|
2587
2587
|
z.lazy(() =>
|
|
2588
2588
|
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyNumber$outboundSchema
|
|
@@ -2995,8 +2995,8 @@ export const ResponseBodyHTTP$inboundSchema: z.ZodType<
|
|
|
2995
2995
|
> = z.object({
|
|
2996
2996
|
_id: z.string(),
|
|
2997
2997
|
description: z.string(),
|
|
2998
|
-
created: z.string().default("2025-09-
|
|
2999
|
-
updated: z.string().default("2025-09-
|
|
2998
|
+
created: z.string().default("2025-09-22T21:25:53.087Z"),
|
|
2999
|
+
updated: z.string().default("2025-09-22T21:25:53.087Z"),
|
|
3000
3000
|
guardrail_config: z.union([
|
|
3001
3001
|
z.lazy(() =>
|
|
3002
3002
|
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONNumber$inboundSchema
|
|
@@ -3044,8 +3044,8 @@ export const ResponseBodyHTTP$outboundSchema: z.ZodType<
|
|
|
3044
3044
|
> = z.object({
|
|
3045
3045
|
id: z.string(),
|
|
3046
3046
|
description: z.string(),
|
|
3047
|
-
created: z.string().default("2025-09-
|
|
3048
|
-
updated: z.string().default("2025-09-
|
|
3047
|
+
created: z.string().default("2025-09-22T21:25:53.087Z"),
|
|
3048
|
+
updated: z.string().default("2025-09-22T21:25:53.087Z"),
|
|
3049
3049
|
guardrailConfig: z.union([
|
|
3050
3050
|
z.lazy(() =>
|
|
3051
3051
|
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONNumber$outboundSchema
|
|
@@ -3422,8 +3422,8 @@ export const ResponseBodyJSON$inboundSchema: z.ZodType<
|
|
|
3422
3422
|
> = z.object({
|
|
3423
3423
|
_id: z.string(),
|
|
3424
3424
|
description: z.string(),
|
|
3425
|
-
created: z.string().default("2025-09-
|
|
3426
|
-
updated: z.string().default("2025-09-
|
|
3425
|
+
created: z.string().default("2025-09-22T21:25:53.087Z"),
|
|
3426
|
+
updated: z.string().default("2025-09-22T21:25:53.087Z"),
|
|
3427
3427
|
guardrail_config: z.union([
|
|
3428
3428
|
z.lazy(() => CreateEvalGuardrailConfigEvalsResponse200Number$inboundSchema),
|
|
3429
3429
|
z.lazy(() =>
|
|
@@ -3463,8 +3463,8 @@ export const ResponseBodyJSON$outboundSchema: z.ZodType<
|
|
|
3463
3463
|
> = z.object({
|
|
3464
3464
|
id: z.string(),
|
|
3465
3465
|
description: z.string(),
|
|
3466
|
-
created: z.string().default("2025-09-
|
|
3467
|
-
updated: z.string().default("2025-09-
|
|
3466
|
+
created: z.string().default("2025-09-22T21:25:53.087Z"),
|
|
3467
|
+
updated: z.string().default("2025-09-22T21:25:53.087Z"),
|
|
3468
3468
|
guardrailConfig: z.union([
|
|
3469
3469
|
z.lazy(() =>
|
|
3470
3470
|
CreateEvalGuardrailConfigEvalsResponse200Number$outboundSchema
|
|
@@ -3819,8 +3819,8 @@ export const ResponseBodyLLM$inboundSchema: z.ZodType<
|
|
|
3819
3819
|
> = z.object({
|
|
3820
3820
|
_id: z.string(),
|
|
3821
3821
|
description: z.string(),
|
|
3822
|
-
created: z.string().default("2025-09-
|
|
3823
|
-
updated: z.string().default("2025-09-
|
|
3822
|
+
created: z.string().default("2025-09-22T21:25:53.087Z"),
|
|
3823
|
+
updated: z.string().default("2025-09-22T21:25:53.087Z"),
|
|
3824
3824
|
guardrail_config: z.union([
|
|
3825
3825
|
z.lazy(() => CreateEvalGuardrailConfigEvalsResponseNumber$inboundSchema),
|
|
3826
3826
|
z.lazy(() => CreateEvalGuardrailConfigEvalsResponseBoolean$inboundSchema),
|
|
@@ -3860,8 +3860,8 @@ export const ResponseBodyLLM$outboundSchema: z.ZodType<
|
|
|
3860
3860
|
> = z.object({
|
|
3861
3861
|
id: z.string(),
|
|
3862
3862
|
description: z.string(),
|
|
3863
|
-
created: z.string().default("2025-09-
|
|
3864
|
-
updated: z.string().default("2025-09-
|
|
3863
|
+
created: z.string().default("2025-09-22T21:25:53.087Z"),
|
|
3864
|
+
updated: z.string().default("2025-09-22T21:25:53.087Z"),
|
|
3865
3865
|
guardrailConfig: z.union([
|
|
3866
3866
|
z.lazy(() => CreateEvalGuardrailConfigEvalsResponseNumber$outboundSchema),
|
|
3867
3867
|
z.lazy(() => CreateEvalGuardrailConfigEvalsResponseBoolean$outboundSchema),
|
|
@@ -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-09-
|
|
149
|
+
"2025-09-22T21:25:54.012Z",
|
|
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-09-
|
|
183
|
+
created: z.date().default(() => new Date("2025-09-22T21:25:54.012Z"))
|
|
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-09-
|
|
199
|
+
"2025-09-22T21:25:54.012Z",
|
|
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-09-
|
|
233
|
+
created: z.date().default(() => new Date("2025-09-22T21:25:54.012Z"))
|
|
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-09-
|
|
253
|
+
"2025-09-22T21:25:54.012Z",
|
|
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-09-
|
|
287
|
+
created: z.date().default(() => new Date("2025-09-22T21:25:54.012Z"))
|
|
288
288
|
.transform(v => v.toISOString()),
|
|
289
289
|
}).transform((v) => {
|
|
290
290
|
return remap$(v, {
|
|
@@ -356,7 +356,7 @@ export const GetBudgetResponseBody$inboundSchema: z.ZodType<
|
|
|
356
356
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
357
357
|
.optional(),
|
|
358
358
|
updated: z.string().datetime({ offset: true }).default(
|
|
359
|
-
"2025-09-
|
|
359
|
+
"2025-09-22T21:25:50.768Z",
|
|
360
360
|
).transform(v => new Date(v)),
|
|
361
361
|
}).transform((v) => {
|
|
362
362
|
return remap$(v, {
|
|
@@ -394,7 +394,7 @@ export const GetBudgetResponseBody$outboundSchema: z.ZodType<
|
|
|
394
394
|
isActive: z.boolean(),
|
|
395
395
|
consumption: z.lazy(() => GetBudgetConsumption$outboundSchema).optional(),
|
|
396
396
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
397
|
-
updated: z.date().default(() => new Date("2025-09-
|
|
397
|
+
updated: z.date().default(() => new Date("2025-09-22T21:25:50.768Z"))
|
|
398
398
|
.transform(v => v.toISOString()),
|
|
399
399
|
}).transform((v) => {
|
|
400
400
|
return remap$(v, {
|