@orq-ai/node 3.12.13 → 3.12.16
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 +2 -5
- package/bin/mcp-server.js +114 -113
- package/bin/mcp-server.js.map +33 -33
- 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/lib/url.js +1 -1
- package/lib/url.js.map +1 -1
- 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 +91 -96
- package/packages/orq-rc/docs/sdks/agents/README.md +102 -82
- package/packages/orq-rc/docs/sdks/evals/README.md +2 -0
- 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/lib/url.ts +1 -1
- 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 +167 -28
- package/packages/orq-rc/src/models/operations/createprompt.ts +2 -0
- package/packages/orq-rc/src/models/operations/deploymentgetconfig.ts +1 -0
- package/packages/orq-rc/src/models/operations/deployments.ts +1 -0
- 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/getallprompts.ts +1 -0
- 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/getoneprompt.ts +1 -0
- package/packages/orq-rc/src/models/operations/getpromptversion.ts +1 -0
- 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/listpromptversions.ts +1 -0
- 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 +207 -31
- package/packages/orq-rc/src/models/operations/searchknowledge.ts +2 -2
- package/packages/orq-rc/src/models/operations/streamrunagent.ts +219 -32
- 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 +181 -28
- package/packages/orq-rc/src/models/operations/updateprompt.ts +2 -0
- package/packages/orq-rc/src/sdk/agents.ts +2 -20
- package/src/lib/config.ts +3 -3
- package/src/lib/url.ts +1 -1
- 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
|
@@ -52,6 +52,15 @@ export type CreateEvalRequestBodyEvalsGuardrailConfig =
|
|
|
52
52
|
| CreateEvalGuardrailConfigEvalsNumber
|
|
53
53
|
| CreateEvalGuardrailConfigEvalsBoolean;
|
|
54
54
|
|
|
55
|
+
export const CreateEvalRequestBodyEvalsOutputType = {
|
|
56
|
+
Boolean: "boolean",
|
|
57
|
+
Number: "number",
|
|
58
|
+
String: "string",
|
|
59
|
+
} as const;
|
|
60
|
+
export type CreateEvalRequestBodyEvalsOutputType = ClosedEnum<
|
|
61
|
+
typeof CreateEvalRequestBodyEvalsOutputType
|
|
62
|
+
>;
|
|
63
|
+
|
|
55
64
|
export const CreateEvalRequestBodyEvalsRequestType = {
|
|
56
65
|
PythonEval: "python_eval",
|
|
57
66
|
} as const;
|
|
@@ -64,6 +73,7 @@ export type Python = {
|
|
|
64
73
|
| CreateEvalGuardrailConfigEvalsNumber
|
|
65
74
|
| CreateEvalGuardrailConfigEvalsBoolean
|
|
66
75
|
| undefined;
|
|
76
|
+
outputType: CreateEvalRequestBodyEvalsOutputType;
|
|
67
77
|
code: string;
|
|
68
78
|
type: CreateEvalRequestBodyEvalsRequestType;
|
|
69
79
|
/**
|
|
@@ -117,6 +127,15 @@ export type CreateEvalRequestBodyGuardrailConfig =
|
|
|
117
127
|
| CreateEvalGuardrailConfigNumber
|
|
118
128
|
| CreateEvalGuardrailConfigBoolean;
|
|
119
129
|
|
|
130
|
+
export const CreateEvalRequestBodyOutputType = {
|
|
131
|
+
Boolean: "boolean",
|
|
132
|
+
Number: "number",
|
|
133
|
+
String: "string",
|
|
134
|
+
} as const;
|
|
135
|
+
export type CreateEvalRequestBodyOutputType = ClosedEnum<
|
|
136
|
+
typeof CreateEvalRequestBodyOutputType
|
|
137
|
+
>;
|
|
138
|
+
|
|
120
139
|
export const CreateEvalRequestBodyEvalsType = {
|
|
121
140
|
HttpEval: "http_eval",
|
|
122
141
|
} as const;
|
|
@@ -135,6 +154,7 @@ export type RequestBodyHTTP = {
|
|
|
135
154
|
| CreateEvalGuardrailConfigNumber
|
|
136
155
|
| CreateEvalGuardrailConfigBoolean
|
|
137
156
|
| undefined;
|
|
157
|
+
outputType: CreateEvalRequestBodyOutputType;
|
|
138
158
|
type: CreateEvalRequestBodyEvalsType;
|
|
139
159
|
url: string;
|
|
140
160
|
method: RequestBodyMethod;
|
|
@@ -191,6 +211,11 @@ export type RequestBodyGuardrailConfig =
|
|
|
191
211
|
| GuardrailConfigNumber
|
|
192
212
|
| GuardrailConfigBoolean;
|
|
193
213
|
|
|
214
|
+
export const RequestBodyOutputType = {
|
|
215
|
+
Boolean: "boolean",
|
|
216
|
+
} as const;
|
|
217
|
+
export type RequestBodyOutputType = ClosedEnum<typeof RequestBodyOutputType>;
|
|
218
|
+
|
|
194
219
|
export const CreateEvalRequestBodyType = {
|
|
195
220
|
JsonSchema: "json_schema",
|
|
196
221
|
} as const;
|
|
@@ -200,6 +225,7 @@ export type CreateEvalRequestBodyType = ClosedEnum<
|
|
|
200
225
|
|
|
201
226
|
export type Json = {
|
|
202
227
|
guardrailConfig?: GuardrailConfigNumber | GuardrailConfigBoolean | undefined;
|
|
228
|
+
outputType: RequestBodyOutputType;
|
|
203
229
|
type: CreateEvalRequestBodyType;
|
|
204
230
|
schema: string;
|
|
205
231
|
/**
|
|
@@ -247,6 +273,13 @@ export type Boolean = {
|
|
|
247
273
|
|
|
248
274
|
export type GuardrailConfig = NumberT | Boolean;
|
|
249
275
|
|
|
276
|
+
export const OutputType = {
|
|
277
|
+
Boolean: "boolean",
|
|
278
|
+
Number: "number",
|
|
279
|
+
String: "string",
|
|
280
|
+
} as const;
|
|
281
|
+
export type OutputType = ClosedEnum<typeof OutputType>;
|
|
282
|
+
|
|
250
283
|
export const RequestBodyType = {
|
|
251
284
|
LlmEval: "llm_eval",
|
|
252
285
|
} as const;
|
|
@@ -254,6 +287,7 @@ export type RequestBodyType = ClosedEnum<typeof RequestBodyType>;
|
|
|
254
287
|
|
|
255
288
|
export type Llm = {
|
|
256
289
|
guardrailConfig?: NumberT | Boolean | undefined;
|
|
290
|
+
outputType: OutputType;
|
|
257
291
|
type: RequestBodyType;
|
|
258
292
|
prompt: string;
|
|
259
293
|
/**
|
|
@@ -1636,6 +1670,30 @@ export function createEvalRequestBodyEvalsGuardrailConfigFromJSON(
|
|
|
1636
1670
|
);
|
|
1637
1671
|
}
|
|
1638
1672
|
|
|
1673
|
+
/** @internal */
|
|
1674
|
+
export const CreateEvalRequestBodyEvalsOutputType$inboundSchema:
|
|
1675
|
+
z.ZodNativeEnum<typeof CreateEvalRequestBodyEvalsOutputType> = z.nativeEnum(
|
|
1676
|
+
CreateEvalRequestBodyEvalsOutputType,
|
|
1677
|
+
);
|
|
1678
|
+
|
|
1679
|
+
/** @internal */
|
|
1680
|
+
export const CreateEvalRequestBodyEvalsOutputType$outboundSchema:
|
|
1681
|
+
z.ZodNativeEnum<typeof CreateEvalRequestBodyEvalsOutputType> =
|
|
1682
|
+
CreateEvalRequestBodyEvalsOutputType$inboundSchema;
|
|
1683
|
+
|
|
1684
|
+
/**
|
|
1685
|
+
* @internal
|
|
1686
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1687
|
+
*/
|
|
1688
|
+
export namespace CreateEvalRequestBodyEvalsOutputType$ {
|
|
1689
|
+
/** @deprecated use `CreateEvalRequestBodyEvalsOutputType$inboundSchema` instead. */
|
|
1690
|
+
export const inboundSchema =
|
|
1691
|
+
CreateEvalRequestBodyEvalsOutputType$inboundSchema;
|
|
1692
|
+
/** @deprecated use `CreateEvalRequestBodyEvalsOutputType$outboundSchema` instead. */
|
|
1693
|
+
export const outboundSchema =
|
|
1694
|
+
CreateEvalRequestBodyEvalsOutputType$outboundSchema;
|
|
1695
|
+
}
|
|
1696
|
+
|
|
1639
1697
|
/** @internal */
|
|
1640
1698
|
export const CreateEvalRequestBodyEvalsRequestType$inboundSchema:
|
|
1641
1699
|
z.ZodNativeEnum<typeof CreateEvalRequestBodyEvalsRequestType> = z.nativeEnum(
|
|
@@ -1667,6 +1725,7 @@ export const Python$inboundSchema: z.ZodType<Python, z.ZodTypeDef, unknown> = z
|
|
|
1667
1725
|
z.lazy(() => CreateEvalGuardrailConfigEvalsNumber$inboundSchema),
|
|
1668
1726
|
z.lazy(() => CreateEvalGuardrailConfigEvalsBoolean$inboundSchema),
|
|
1669
1727
|
]).optional(),
|
|
1728
|
+
output_type: CreateEvalRequestBodyEvalsOutputType$inboundSchema,
|
|
1670
1729
|
code: z.string(),
|
|
1671
1730
|
type: CreateEvalRequestBodyEvalsRequestType$inboundSchema,
|
|
1672
1731
|
path: z.string(),
|
|
@@ -1675,6 +1734,7 @@ export const Python$inboundSchema: z.ZodType<Python, z.ZodTypeDef, unknown> = z
|
|
|
1675
1734
|
}).transform((v) => {
|
|
1676
1735
|
return remap$(v, {
|
|
1677
1736
|
"guardrail_config": "guardrailConfig",
|
|
1737
|
+
"output_type": "outputType",
|
|
1678
1738
|
});
|
|
1679
1739
|
});
|
|
1680
1740
|
|
|
@@ -1684,6 +1744,7 @@ export type Python$Outbound = {
|
|
|
1684
1744
|
| CreateEvalGuardrailConfigEvalsNumber$Outbound
|
|
1685
1745
|
| CreateEvalGuardrailConfigEvalsBoolean$Outbound
|
|
1686
1746
|
| undefined;
|
|
1747
|
+
output_type: string;
|
|
1687
1748
|
code: string;
|
|
1688
1749
|
type: string;
|
|
1689
1750
|
path: string;
|
|
@@ -1701,6 +1762,7 @@ export const Python$outboundSchema: z.ZodType<
|
|
|
1701
1762
|
z.lazy(() => CreateEvalGuardrailConfigEvalsNumber$outboundSchema),
|
|
1702
1763
|
z.lazy(() => CreateEvalGuardrailConfigEvalsBoolean$outboundSchema),
|
|
1703
1764
|
]).optional(),
|
|
1765
|
+
outputType: CreateEvalRequestBodyEvalsOutputType$outboundSchema,
|
|
1704
1766
|
code: z.string(),
|
|
1705
1767
|
type: CreateEvalRequestBodyEvalsRequestType$outboundSchema,
|
|
1706
1768
|
path: z.string(),
|
|
@@ -1709,6 +1771,7 @@ export const Python$outboundSchema: z.ZodType<
|
|
|
1709
1771
|
}).transform((v) => {
|
|
1710
1772
|
return remap$(v, {
|
|
1711
1773
|
guardrailConfig: "guardrail_config",
|
|
1774
|
+
outputType: "output_type",
|
|
1712
1775
|
});
|
|
1713
1776
|
});
|
|
1714
1777
|
|
|
@@ -1997,6 +2060,27 @@ export function createEvalRequestBodyGuardrailConfigFromJSON(
|
|
|
1997
2060
|
);
|
|
1998
2061
|
}
|
|
1999
2062
|
|
|
2063
|
+
/** @internal */
|
|
2064
|
+
export const CreateEvalRequestBodyOutputType$inboundSchema: z.ZodNativeEnum<
|
|
2065
|
+
typeof CreateEvalRequestBodyOutputType
|
|
2066
|
+
> = z.nativeEnum(CreateEvalRequestBodyOutputType);
|
|
2067
|
+
|
|
2068
|
+
/** @internal */
|
|
2069
|
+
export const CreateEvalRequestBodyOutputType$outboundSchema: z.ZodNativeEnum<
|
|
2070
|
+
typeof CreateEvalRequestBodyOutputType
|
|
2071
|
+
> = CreateEvalRequestBodyOutputType$inboundSchema;
|
|
2072
|
+
|
|
2073
|
+
/**
|
|
2074
|
+
* @internal
|
|
2075
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2076
|
+
*/
|
|
2077
|
+
export namespace CreateEvalRequestBodyOutputType$ {
|
|
2078
|
+
/** @deprecated use `CreateEvalRequestBodyOutputType$inboundSchema` instead. */
|
|
2079
|
+
export const inboundSchema = CreateEvalRequestBodyOutputType$inboundSchema;
|
|
2080
|
+
/** @deprecated use `CreateEvalRequestBodyOutputType$outboundSchema` instead. */
|
|
2081
|
+
export const outboundSchema = CreateEvalRequestBodyOutputType$outboundSchema;
|
|
2082
|
+
}
|
|
2083
|
+
|
|
2000
2084
|
/** @internal */
|
|
2001
2085
|
export const CreateEvalRequestBodyEvalsType$inboundSchema: z.ZodNativeEnum<
|
|
2002
2086
|
typeof CreateEvalRequestBodyEvalsType
|
|
@@ -2049,6 +2133,7 @@ export const RequestBodyHTTP$inboundSchema: z.ZodType<
|
|
|
2049
2133
|
z.lazy(() => CreateEvalGuardrailConfigNumber$inboundSchema),
|
|
2050
2134
|
z.lazy(() => CreateEvalGuardrailConfigBoolean$inboundSchema),
|
|
2051
2135
|
]).optional(),
|
|
2136
|
+
output_type: CreateEvalRequestBodyOutputType$inboundSchema,
|
|
2052
2137
|
type: CreateEvalRequestBodyEvalsType$inboundSchema,
|
|
2053
2138
|
url: z.string(),
|
|
2054
2139
|
method: RequestBodyMethod$inboundSchema,
|
|
@@ -2060,6 +2145,7 @@ export const RequestBodyHTTP$inboundSchema: z.ZodType<
|
|
|
2060
2145
|
}).transform((v) => {
|
|
2061
2146
|
return remap$(v, {
|
|
2062
2147
|
"guardrail_config": "guardrailConfig",
|
|
2148
|
+
"output_type": "outputType",
|
|
2063
2149
|
});
|
|
2064
2150
|
});
|
|
2065
2151
|
|
|
@@ -2069,6 +2155,7 @@ export type RequestBodyHTTP$Outbound = {
|
|
|
2069
2155
|
| CreateEvalGuardrailConfigNumber$Outbound
|
|
2070
2156
|
| CreateEvalGuardrailConfigBoolean$Outbound
|
|
2071
2157
|
| undefined;
|
|
2158
|
+
output_type: string;
|
|
2072
2159
|
type: string;
|
|
2073
2160
|
url: string;
|
|
2074
2161
|
method: string;
|
|
@@ -2089,6 +2176,7 @@ export const RequestBodyHTTP$outboundSchema: z.ZodType<
|
|
|
2089
2176
|
z.lazy(() => CreateEvalGuardrailConfigNumber$outboundSchema),
|
|
2090
2177
|
z.lazy(() => CreateEvalGuardrailConfigBoolean$outboundSchema),
|
|
2091
2178
|
]).optional(),
|
|
2179
|
+
outputType: CreateEvalRequestBodyOutputType$outboundSchema,
|
|
2092
2180
|
type: CreateEvalRequestBodyEvalsType$outboundSchema,
|
|
2093
2181
|
url: z.string(),
|
|
2094
2182
|
method: RequestBodyMethod$outboundSchema,
|
|
@@ -2100,6 +2188,7 @@ export const RequestBodyHTTP$outboundSchema: z.ZodType<
|
|
|
2100
2188
|
}).transform((v) => {
|
|
2101
2189
|
return remap$(v, {
|
|
2102
2190
|
guardrailConfig: "guardrail_config",
|
|
2191
|
+
outputType: "output_type",
|
|
2103
2192
|
});
|
|
2104
2193
|
});
|
|
2105
2194
|
|
|
@@ -2377,6 +2466,27 @@ export function requestBodyGuardrailConfigFromJSON(
|
|
|
2377
2466
|
);
|
|
2378
2467
|
}
|
|
2379
2468
|
|
|
2469
|
+
/** @internal */
|
|
2470
|
+
export const RequestBodyOutputType$inboundSchema: z.ZodNativeEnum<
|
|
2471
|
+
typeof RequestBodyOutputType
|
|
2472
|
+
> = z.nativeEnum(RequestBodyOutputType);
|
|
2473
|
+
|
|
2474
|
+
/** @internal */
|
|
2475
|
+
export const RequestBodyOutputType$outboundSchema: z.ZodNativeEnum<
|
|
2476
|
+
typeof RequestBodyOutputType
|
|
2477
|
+
> = RequestBodyOutputType$inboundSchema;
|
|
2478
|
+
|
|
2479
|
+
/**
|
|
2480
|
+
* @internal
|
|
2481
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2482
|
+
*/
|
|
2483
|
+
export namespace RequestBodyOutputType$ {
|
|
2484
|
+
/** @deprecated use `RequestBodyOutputType$inboundSchema` instead. */
|
|
2485
|
+
export const inboundSchema = RequestBodyOutputType$inboundSchema;
|
|
2486
|
+
/** @deprecated use `RequestBodyOutputType$outboundSchema` instead. */
|
|
2487
|
+
export const outboundSchema = RequestBodyOutputType$outboundSchema;
|
|
2488
|
+
}
|
|
2489
|
+
|
|
2380
2490
|
/** @internal */
|
|
2381
2491
|
export const CreateEvalRequestBodyType$inboundSchema: z.ZodNativeEnum<
|
|
2382
2492
|
typeof CreateEvalRequestBodyType
|
|
@@ -2405,6 +2515,7 @@ export const Json$inboundSchema: z.ZodType<Json, z.ZodTypeDef, unknown> = z
|
|
|
2405
2515
|
z.lazy(() => GuardrailConfigNumber$inboundSchema),
|
|
2406
2516
|
z.lazy(() => GuardrailConfigBoolean$inboundSchema),
|
|
2407
2517
|
]).optional(),
|
|
2518
|
+
output_type: RequestBodyOutputType$inboundSchema,
|
|
2408
2519
|
type: CreateEvalRequestBodyType$inboundSchema,
|
|
2409
2520
|
schema: z.string(),
|
|
2410
2521
|
path: z.string(),
|
|
@@ -2413,6 +2524,7 @@ export const Json$inboundSchema: z.ZodType<Json, z.ZodTypeDef, unknown> = z
|
|
|
2413
2524
|
}).transform((v) => {
|
|
2414
2525
|
return remap$(v, {
|
|
2415
2526
|
"guardrail_config": "guardrailConfig",
|
|
2527
|
+
"output_type": "outputType",
|
|
2416
2528
|
});
|
|
2417
2529
|
});
|
|
2418
2530
|
|
|
@@ -2422,6 +2534,7 @@ export type Json$Outbound = {
|
|
|
2422
2534
|
| GuardrailConfigNumber$Outbound
|
|
2423
2535
|
| GuardrailConfigBoolean$Outbound
|
|
2424
2536
|
| undefined;
|
|
2537
|
+
output_type: string;
|
|
2425
2538
|
type: string;
|
|
2426
2539
|
schema: string;
|
|
2427
2540
|
path: string;
|
|
@@ -2436,6 +2549,7 @@ export const Json$outboundSchema: z.ZodType<Json$Outbound, z.ZodTypeDef, Json> =
|
|
|
2436
2549
|
z.lazy(() => GuardrailConfigNumber$outboundSchema),
|
|
2437
2550
|
z.lazy(() => GuardrailConfigBoolean$outboundSchema),
|
|
2438
2551
|
]).optional(),
|
|
2552
|
+
outputType: RequestBodyOutputType$outboundSchema,
|
|
2439
2553
|
type: CreateEvalRequestBodyType$outboundSchema,
|
|
2440
2554
|
schema: z.string(),
|
|
2441
2555
|
path: z.string(),
|
|
@@ -2444,6 +2558,7 @@ export const Json$outboundSchema: z.ZodType<Json$Outbound, z.ZodTypeDef, Json> =
|
|
|
2444
2558
|
}).transform((v) => {
|
|
2445
2559
|
return remap$(v, {
|
|
2446
2560
|
guardrailConfig: "guardrail_config",
|
|
2561
|
+
outputType: "output_type",
|
|
2447
2562
|
});
|
|
2448
2563
|
});
|
|
2449
2564
|
|
|
@@ -2696,6 +2811,25 @@ export function guardrailConfigFromJSON(
|
|
|
2696
2811
|
);
|
|
2697
2812
|
}
|
|
2698
2813
|
|
|
2814
|
+
/** @internal */
|
|
2815
|
+
export const OutputType$inboundSchema: z.ZodNativeEnum<typeof OutputType> = z
|
|
2816
|
+
.nativeEnum(OutputType);
|
|
2817
|
+
|
|
2818
|
+
/** @internal */
|
|
2819
|
+
export const OutputType$outboundSchema: z.ZodNativeEnum<typeof OutputType> =
|
|
2820
|
+
OutputType$inboundSchema;
|
|
2821
|
+
|
|
2822
|
+
/**
|
|
2823
|
+
* @internal
|
|
2824
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2825
|
+
*/
|
|
2826
|
+
export namespace OutputType$ {
|
|
2827
|
+
/** @deprecated use `OutputType$inboundSchema` instead. */
|
|
2828
|
+
export const inboundSchema = OutputType$inboundSchema;
|
|
2829
|
+
/** @deprecated use `OutputType$outboundSchema` instead. */
|
|
2830
|
+
export const outboundSchema = OutputType$outboundSchema;
|
|
2831
|
+
}
|
|
2832
|
+
|
|
2699
2833
|
/** @internal */
|
|
2700
2834
|
export const RequestBodyType$inboundSchema: z.ZodNativeEnum<
|
|
2701
2835
|
typeof RequestBodyType
|
|
@@ -2724,6 +2858,7 @@ export const Llm$inboundSchema: z.ZodType<Llm, z.ZodTypeDef, unknown> = z
|
|
|
2724
2858
|
z.lazy(() => NumberT$inboundSchema),
|
|
2725
2859
|
z.lazy(() => Boolean$inboundSchema),
|
|
2726
2860
|
]).optional(),
|
|
2861
|
+
output_type: OutputType$inboundSchema,
|
|
2727
2862
|
type: RequestBodyType$inboundSchema,
|
|
2728
2863
|
prompt: z.string(),
|
|
2729
2864
|
path: z.string(),
|
|
@@ -2733,12 +2868,14 @@ export const Llm$inboundSchema: z.ZodType<Llm, z.ZodTypeDef, unknown> = z
|
|
|
2733
2868
|
}).transform((v) => {
|
|
2734
2869
|
return remap$(v, {
|
|
2735
2870
|
"guardrail_config": "guardrailConfig",
|
|
2871
|
+
"output_type": "outputType",
|
|
2736
2872
|
});
|
|
2737
2873
|
});
|
|
2738
2874
|
|
|
2739
2875
|
/** @internal */
|
|
2740
2876
|
export type Llm$Outbound = {
|
|
2741
2877
|
guardrail_config?: NumberT$Outbound | Boolean$Outbound | undefined;
|
|
2878
|
+
output_type: string;
|
|
2742
2879
|
type: string;
|
|
2743
2880
|
prompt: string;
|
|
2744
2881
|
path: string;
|
|
@@ -2754,6 +2891,7 @@ export const Llm$outboundSchema: z.ZodType<Llm$Outbound, z.ZodTypeDef, Llm> = z
|
|
|
2754
2891
|
z.lazy(() => NumberT$outboundSchema),
|
|
2755
2892
|
z.lazy(() => Boolean$outboundSchema),
|
|
2756
2893
|
]).optional(),
|
|
2894
|
+
outputType: OutputType$outboundSchema,
|
|
2757
2895
|
type: RequestBodyType$outboundSchema,
|
|
2758
2896
|
prompt: z.string(),
|
|
2759
2897
|
path: z.string(),
|
|
@@ -2763,6 +2901,7 @@ export const Llm$outboundSchema: z.ZodType<Llm$Outbound, z.ZodTypeDef, Llm> = z
|
|
|
2763
2901
|
}).transform((v) => {
|
|
2764
2902
|
return remap$(v, {
|
|
2765
2903
|
guardrailConfig: "guardrail_config",
|
|
2904
|
+
outputType: "output_type",
|
|
2766
2905
|
});
|
|
2767
2906
|
});
|
|
2768
2907
|
|
|
@@ -3209,8 +3348,8 @@ export const Typescript$inboundSchema: z.ZodType<
|
|
|
3209
3348
|
> = z.object({
|
|
3210
3349
|
_id: z.string(),
|
|
3211
3350
|
description: z.string(),
|
|
3212
|
-
created: z.string().default("2025-09-
|
|
3213
|
-
updated: z.string().default("2025-09-
|
|
3351
|
+
created: z.string().default("2025-09-24T04:54:54.913Z"),
|
|
3352
|
+
updated: z.string().default("2025-09-24T04:54:54.913Z"),
|
|
3214
3353
|
guardrail_config: z.union([
|
|
3215
3354
|
z.lazy(() =>
|
|
3216
3355
|
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody7Number$inboundSchema
|
|
@@ -3253,8 +3392,8 @@ export const Typescript$outboundSchema: z.ZodType<
|
|
|
3253
3392
|
> = z.object({
|
|
3254
3393
|
id: z.string(),
|
|
3255
3394
|
description: z.string(),
|
|
3256
|
-
created: z.string().default("2025-09-
|
|
3257
|
-
updated: z.string().default("2025-09-
|
|
3395
|
+
created: z.string().default("2025-09-24T04:54:54.913Z"),
|
|
3396
|
+
updated: z.string().default("2025-09-24T04:54:54.913Z"),
|
|
3258
3397
|
guardrailConfig: z.union([
|
|
3259
3398
|
z.lazy(() =>
|
|
3260
3399
|
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody7Number$outboundSchema
|
|
@@ -3671,8 +3810,8 @@ export const Ragas$inboundSchema: z.ZodType<Ragas, z.ZodTypeDef, unknown> = z
|
|
|
3671
3810
|
.object({
|
|
3672
3811
|
_id: z.string(),
|
|
3673
3812
|
description: z.string(),
|
|
3674
|
-
created: z.string().default("2025-09-
|
|
3675
|
-
updated: z.string().default("2025-09-
|
|
3813
|
+
created: z.string().default("2025-09-24T04:54:54.913Z"),
|
|
3814
|
+
updated: z.string().default("2025-09-24T04:54:54.913Z"),
|
|
3676
3815
|
guardrail_config: z.union([
|
|
3677
3816
|
z.lazy(() =>
|
|
3678
3817
|
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody6Number$inboundSchema
|
|
@@ -3718,8 +3857,8 @@ export const Ragas$outboundSchema: z.ZodType<
|
|
|
3718
3857
|
> = z.object({
|
|
3719
3858
|
id: z.string(),
|
|
3720
3859
|
description: z.string(),
|
|
3721
|
-
created: z.string().default("2025-09-
|
|
3722
|
-
updated: z.string().default("2025-09-
|
|
3860
|
+
created: z.string().default("2025-09-24T04:54:54.913Z"),
|
|
3861
|
+
updated: z.string().default("2025-09-24T04:54:54.913Z"),
|
|
3723
3862
|
guardrailConfig: z.union([
|
|
3724
3863
|
z.lazy(() =>
|
|
3725
3864
|
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody6Number$outboundSchema
|
|
@@ -7143,8 +7282,8 @@ export const ResponseBodyFunction$inboundSchema: z.ZodType<
|
|
|
7143
7282
|
> = z.object({
|
|
7144
7283
|
_id: z.string(),
|
|
7145
7284
|
description: z.string(),
|
|
7146
|
-
created: z.string().default("2025-09-
|
|
7147
|
-
updated: z.string().default("2025-09-
|
|
7285
|
+
created: z.string().default("2025-09-24T04:54:54.913Z"),
|
|
7286
|
+
updated: z.string().default("2025-09-24T04:54:54.913Z"),
|
|
7148
7287
|
guardrail_config: z.union([
|
|
7149
7288
|
z.lazy(() =>
|
|
7150
7289
|
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody5Number$inboundSchema
|
|
@@ -7258,8 +7397,8 @@ export const ResponseBodyFunction$outboundSchema: z.ZodType<
|
|
|
7258
7397
|
> = z.object({
|
|
7259
7398
|
id: z.string(),
|
|
7260
7399
|
description: z.string(),
|
|
7261
|
-
created: z.string().default("2025-09-
|
|
7262
|
-
updated: z.string().default("2025-09-
|
|
7400
|
+
created: z.string().default("2025-09-24T04:54:54.913Z"),
|
|
7401
|
+
updated: z.string().default("2025-09-24T04:54:54.913Z"),
|
|
7263
7402
|
guardrailConfig: z.union([
|
|
7264
7403
|
z.lazy(() =>
|
|
7265
7404
|
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody5Number$outboundSchema
|
|
@@ -7698,8 +7837,8 @@ export const ResponseBodyPython$inboundSchema: z.ZodType<
|
|
|
7698
7837
|
> = z.object({
|
|
7699
7838
|
_id: z.string(),
|
|
7700
7839
|
description: z.string(),
|
|
7701
|
-
created: z.string().default("2025-09-
|
|
7702
|
-
updated: z.string().default("2025-09-
|
|
7840
|
+
created: z.string().default("2025-09-24T04:54:54.913Z"),
|
|
7841
|
+
updated: z.string().default("2025-09-24T04:54:54.913Z"),
|
|
7703
7842
|
guardrail_config: z.union([
|
|
7704
7843
|
z.lazy(() =>
|
|
7705
7844
|
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyNumber$inboundSchema
|
|
@@ -7741,8 +7880,8 @@ export const ResponseBodyPython$outboundSchema: z.ZodType<
|
|
|
7741
7880
|
> = z.object({
|
|
7742
7881
|
id: z.string(),
|
|
7743
7882
|
description: z.string(),
|
|
7744
|
-
created: z.string().default("2025-09-
|
|
7745
|
-
updated: z.string().default("2025-09-
|
|
7883
|
+
created: z.string().default("2025-09-24T04:54:54.913Z"),
|
|
7884
|
+
updated: z.string().default("2025-09-24T04:54:54.913Z"),
|
|
7746
7885
|
guardrailConfig: z.union([
|
|
7747
7886
|
z.lazy(() =>
|
|
7748
7887
|
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyNumber$outboundSchema
|
|
@@ -8155,8 +8294,8 @@ export const ResponseBodyHTTP$inboundSchema: z.ZodType<
|
|
|
8155
8294
|
> = z.object({
|
|
8156
8295
|
_id: z.string(),
|
|
8157
8296
|
description: z.string(),
|
|
8158
|
-
created: z.string().default("2025-09-
|
|
8159
|
-
updated: z.string().default("2025-09-
|
|
8297
|
+
created: z.string().default("2025-09-24T04:54:54.913Z"),
|
|
8298
|
+
updated: z.string().default("2025-09-24T04:54:54.913Z"),
|
|
8160
8299
|
guardrail_config: z.union([
|
|
8161
8300
|
z.lazy(() =>
|
|
8162
8301
|
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONNumber$inboundSchema
|
|
@@ -8204,8 +8343,8 @@ export const ResponseBodyHTTP$outboundSchema: z.ZodType<
|
|
|
8204
8343
|
> = z.object({
|
|
8205
8344
|
id: z.string(),
|
|
8206
8345
|
description: z.string(),
|
|
8207
|
-
created: z.string().default("2025-09-
|
|
8208
|
-
updated: z.string().default("2025-09-
|
|
8346
|
+
created: z.string().default("2025-09-24T04:54:54.913Z"),
|
|
8347
|
+
updated: z.string().default("2025-09-24T04:54:54.913Z"),
|
|
8209
8348
|
guardrailConfig: z.union([
|
|
8210
8349
|
z.lazy(() =>
|
|
8211
8350
|
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONNumber$outboundSchema
|
|
@@ -8582,8 +8721,8 @@ export const ResponseBodyJSON$inboundSchema: z.ZodType<
|
|
|
8582
8721
|
> = z.object({
|
|
8583
8722
|
_id: z.string(),
|
|
8584
8723
|
description: z.string(),
|
|
8585
|
-
created: z.string().default("2025-09-
|
|
8586
|
-
updated: z.string().default("2025-09-
|
|
8724
|
+
created: z.string().default("2025-09-24T04:54:54.913Z"),
|
|
8725
|
+
updated: z.string().default("2025-09-24T04:54:54.913Z"),
|
|
8587
8726
|
guardrail_config: z.union([
|
|
8588
8727
|
z.lazy(() => CreateEvalGuardrailConfigEvalsResponse200Number$inboundSchema),
|
|
8589
8728
|
z.lazy(() =>
|
|
@@ -8623,8 +8762,8 @@ export const ResponseBodyJSON$outboundSchema: z.ZodType<
|
|
|
8623
8762
|
> = z.object({
|
|
8624
8763
|
id: z.string(),
|
|
8625
8764
|
description: z.string(),
|
|
8626
|
-
created: z.string().default("2025-09-
|
|
8627
|
-
updated: z.string().default("2025-09-
|
|
8765
|
+
created: z.string().default("2025-09-24T04:54:54.913Z"),
|
|
8766
|
+
updated: z.string().default("2025-09-24T04:54:54.913Z"),
|
|
8628
8767
|
guardrailConfig: z.union([
|
|
8629
8768
|
z.lazy(() =>
|
|
8630
8769
|
CreateEvalGuardrailConfigEvalsResponse200Number$outboundSchema
|
|
@@ -8979,8 +9118,8 @@ export const ResponseBodyLLM$inboundSchema: z.ZodType<
|
|
|
8979
9118
|
> = z.object({
|
|
8980
9119
|
_id: z.string(),
|
|
8981
9120
|
description: z.string(),
|
|
8982
|
-
created: z.string().default("2025-09-
|
|
8983
|
-
updated: z.string().default("2025-09-
|
|
9121
|
+
created: z.string().default("2025-09-24T04:54:54.913Z"),
|
|
9122
|
+
updated: z.string().default("2025-09-24T04:54:54.913Z"),
|
|
8984
9123
|
guardrail_config: z.union([
|
|
8985
9124
|
z.lazy(() => CreateEvalGuardrailConfigEvalsResponseNumber$inboundSchema),
|
|
8986
9125
|
z.lazy(() => CreateEvalGuardrailConfigEvalsResponseBoolean$inboundSchema),
|
|
@@ -9020,8 +9159,8 @@ export const ResponseBodyLLM$outboundSchema: z.ZodType<
|
|
|
9020
9159
|
> = z.object({
|
|
9021
9160
|
id: z.string(),
|
|
9022
9161
|
description: z.string(),
|
|
9023
|
-
created: z.string().default("2025-09-
|
|
9024
|
-
updated: z.string().default("2025-09-
|
|
9162
|
+
created: z.string().default("2025-09-24T04:54:54.913Z"),
|
|
9163
|
+
updated: z.string().default("2025-09-24T04:54:54.913Z"),
|
|
9025
9164
|
guardrailConfig: z.union([
|
|
9026
9165
|
z.lazy(() => CreateEvalGuardrailConfigEvalsResponseNumber$outboundSchema),
|
|
9027
9166
|
z.lazy(() => CreateEvalGuardrailConfigEvalsResponseBoolean$outboundSchema),
|
|
@@ -125,6 +125,7 @@ export type EncodingFormat = ClosedEnum<typeof EncodingFormat>;
|
|
|
125
125
|
*/
|
|
126
126
|
export const ReasoningEffort = {
|
|
127
127
|
Disable: "disable",
|
|
128
|
+
Minimal: "minimal",
|
|
128
129
|
Low: "low",
|
|
129
130
|
Medium: "medium",
|
|
130
131
|
High: "high",
|
|
@@ -621,6 +622,7 @@ export type CreatePromptEncodingFormat = ClosedEnum<
|
|
|
621
622
|
*/
|
|
622
623
|
export const CreatePromptReasoningEffort = {
|
|
623
624
|
Disable: "disable",
|
|
625
|
+
Minimal: "minimal",
|
|
624
626
|
Low: "low",
|
|
625
627
|
Medium: "medium",
|
|
626
628
|
High: "high",
|
|
@@ -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-24T04:54:55.616Z",
|
|
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-24T04:54:55.616Z"))
|
|
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-24T04:54:55.616Z",
|
|
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-24T04:54:55.616Z"))
|
|
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-24T04:54:55.616Z",
|
|
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-24T04:54:55.616Z"))
|
|
288
288
|
.transform(v => v.toISOString()),
|
|
289
289
|
}).transform((v) => {
|
|
290
290
|
return remap$(v, {
|
|
@@ -197,10 +197,6 @@ export type GetAgentResponseBody = {
|
|
|
197
197
|
description: string;
|
|
198
198
|
systemPrompt?: string | undefined;
|
|
199
199
|
instructions: string;
|
|
200
|
-
/**
|
|
201
|
-
* Optional URL to an icon for the agent
|
|
202
|
-
*/
|
|
203
|
-
iconUrl?: string | undefined;
|
|
204
200
|
/**
|
|
205
201
|
* The status of the agent. `Live` is the latest version of the agent. `Draft` is a version that is not yet published. `Pending` is a version that is pending approval. `Published` is a version that was live and has been replaced by a new version.
|
|
206
202
|
*/
|
|
@@ -950,7 +946,7 @@ export const GetAgentKnowledgeBases$inboundSchema: z.ZodType<
|
|
|
950
946
|
z.ZodTypeDef,
|
|
951
947
|
unknown
|
|
952
948
|
> = z.object({
|
|
953
|
-
id: z.string().default("
|
|
949
|
+
id: z.string().default("01K5X16BTDKGNSSN59NJGVDAY6"),
|
|
954
950
|
knowledge_id: z.string(),
|
|
955
951
|
configuration: z.union([
|
|
956
952
|
z.lazy(() => GetAgentConfiguration2$inboundSchema),
|
|
@@ -977,7 +973,7 @@ export const GetAgentKnowledgeBases$outboundSchema: z.ZodType<
|
|
|
977
973
|
z.ZodTypeDef,
|
|
978
974
|
GetAgentKnowledgeBases
|
|
979
975
|
> = z.object({
|
|
980
|
-
id: z.string().default("
|
|
976
|
+
id: z.string().default("01K5X16BTDKGNSSN59NJGVDAY6"),
|
|
981
977
|
knowledgeId: z.string(),
|
|
982
978
|
configuration: z.union([
|
|
983
979
|
z.lazy(() => GetAgentConfiguration2$outboundSchema),
|
|
@@ -1057,7 +1053,6 @@ export const GetAgentResponseBody$inboundSchema: z.ZodType<
|
|
|
1057
1053
|
description: z.string(),
|
|
1058
1054
|
system_prompt: z.string().optional(),
|
|
1059
1055
|
instructions: z.string(),
|
|
1060
|
-
iconUrl: z.string().optional(),
|
|
1061
1056
|
status: GetAgentStatus$inboundSchema,
|
|
1062
1057
|
settings: z.lazy(() => GetAgentSettings$inboundSchema).optional(),
|
|
1063
1058
|
model: z.lazy(() => GetAgentModel$inboundSchema),
|
|
@@ -1100,7 +1095,6 @@ export type GetAgentResponseBody$Outbound = {
|
|
|
1100
1095
|
description: string;
|
|
1101
1096
|
system_prompt?: string | undefined;
|
|
1102
1097
|
instructions: string;
|
|
1103
|
-
iconUrl?: string | undefined;
|
|
1104
1098
|
status: string;
|
|
1105
1099
|
settings?: GetAgentSettings$Outbound | undefined;
|
|
1106
1100
|
model: GetAgentModel$Outbound;
|
|
@@ -1132,7 +1126,6 @@ export const GetAgentResponseBody$outboundSchema: z.ZodType<
|
|
|
1132
1126
|
description: z.string(),
|
|
1133
1127
|
systemPrompt: z.string().optional(),
|
|
1134
1128
|
instructions: z.string(),
|
|
1135
|
-
iconUrl: z.string().optional(),
|
|
1136
1129
|
status: GetAgentStatus$outboundSchema,
|
|
1137
1130
|
settings: z.lazy(() => GetAgentSettings$outboundSchema).optional(),
|
|
1138
1131
|
model: z.lazy(() => GetAgentModel$outboundSchema),
|
|
@@ -351,7 +351,7 @@ export const GetBudgetResponseBody$inboundSchema: z.ZodType<
|
|
|
351
351
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
352
352
|
.optional(),
|
|
353
353
|
updated: z.string().datetime({ offset: true }).default(
|
|
354
|
-
"2025-09-
|
|
354
|
+
"2025-09-24T04:54:52.401Z",
|
|
355
355
|
).transform(v => new Date(v)),
|
|
356
356
|
}).transform((v) => {
|
|
357
357
|
return remap$(v, {
|
|
@@ -386,7 +386,7 @@ export const GetBudgetResponseBody$outboundSchema: z.ZodType<
|
|
|
386
386
|
isActive: z.boolean(),
|
|
387
387
|
consumption: z.lazy(() => GetBudgetConsumption$outboundSchema).optional(),
|
|
388
388
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
389
|
-
updated: z.date().default(() => new Date("2025-09-
|
|
389
|
+
updated: z.date().default(() => new Date("2025-09-24T04:54:52.401Z"))
|
|
390
390
|
.transform(v => v.toISOString()),
|
|
391
391
|
}).transform((v) => {
|
|
392
392
|
return remap$(v, {
|