@orq-ai/node 4.1.0-rc.36 → 4.1.0-rc.38
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 +297 -310
- package/bin/mcp-server.js.map +61 -61
- package/examples/package-lock.json +1 -1
- package/funcs/budgetsCreate.d.ts +1 -1
- package/funcs/budgetsCreate.js +1 -1
- package/funcs/budgetsList.d.ts +1 -1
- package/funcs/budgetsList.js +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/mcp-server/tools/budgetsCreate.js +1 -1
- package/mcp-server/tools/budgetsCreate.js.map +1 -1
- package/mcp-server/tools/budgetsList.js +1 -1
- package/mcp-server/tools/budgetsList.js.map +1 -1
- package/models/components/conversationresponse.js +2 -2
- package/models/components/invokedeploymentrequest.d.ts +4 -4
- package/models/components/invokedeploymentrequest.d.ts.map +1 -1
- package/models/components/invokedeploymentrequest.js +4 -4
- package/models/components/invokedeploymentrequest.js.map +1 -1
- package/models/components/partdoneevent.js +2 -2
- package/models/components/reasoningpart.js +2 -2
- package/models/operations/createbudget.d.ts +8 -55
- package/models/operations/createbudget.d.ts.map +1 -1
- package/models/operations/createbudget.js +8 -44
- package/models/operations/createbudget.js.map +1 -1
- package/models/operations/createcontact.js +2 -2
- package/models/operations/createconversation.js +2 -2
- package/models/operations/createdataset.js +2 -2
- package/models/operations/createdatasetitem.d.ts +4 -4
- package/models/operations/createdatasetitem.d.ts.map +1 -1
- package/models/operations/createdatasetitem.js +12 -12
- package/models/operations/createdatasetitem.js.map +1 -1
- package/models/operations/createdatasource.js +2 -2
- package/models/operations/createeval.js +28 -28
- package/models/operations/createprompt.d.ts +3 -2
- package/models/operations/createprompt.d.ts.map +1 -1
- package/models/operations/createprompt.js +3 -2
- package/models/operations/createprompt.js.map +1 -1
- package/models/operations/createtool.js +12 -12
- package/models/operations/deploymentcreatemetric.d.ts +4 -4
- package/models/operations/deploymentcreatemetric.d.ts.map +1 -1
- package/models/operations/deploymentcreatemetric.js +4 -4
- package/models/operations/deploymentcreatemetric.js.map +1 -1
- package/models/operations/deploymentgetconfig.d.ts +4 -4
- package/models/operations/deploymentgetconfig.d.ts.map +1 -1
- package/models/operations/deploymentgetconfig.js +4 -4
- package/models/operations/deploymentgetconfig.js.map +1 -1
- package/models/operations/deploymentinvoke.d.ts +1 -0
- package/models/operations/deploymentinvoke.d.ts.map +1 -1
- package/models/operations/deploymentinvoke.js +1 -0
- package/models/operations/deploymentinvoke.js.map +1 -1
- package/models/operations/deployments.d.ts +1 -0
- package/models/operations/deployments.d.ts.map +1 -1
- package/models/operations/deployments.js +1 -0
- package/models/operations/deployments.js.map +1 -1
- package/models/operations/deploymentstream.d.ts +5 -4
- package/models/operations/deploymentstream.d.ts.map +1 -1
- package/models/operations/deploymentstream.js +5 -4
- package/models/operations/deploymentstream.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/generateconversationname.js +2 -2
- package/models/operations/getallprompts.d.ts +1 -0
- package/models/operations/getallprompts.d.ts.map +1 -1
- package/models/operations/getallprompts.js +1 -0
- package/models/operations/getallprompts.js.map +1 -1
- package/models/operations/getalltools.js +12 -12
- package/models/operations/getbudget.d.ts +0 -1
- package/models/operations/getbudget.d.ts.map +1 -1
- package/models/operations/getbudget.js +2 -3
- package/models/operations/getbudget.js.map +1 -1
- package/models/operations/getevals.js +28 -28
- package/models/operations/getoneprompt.d.ts +1 -0
- package/models/operations/getoneprompt.d.ts.map +1 -1
- package/models/operations/getoneprompt.js +1 -0
- package/models/operations/getoneprompt.js.map +1 -1
- package/models/operations/getpromptversion.d.ts +1 -0
- package/models/operations/getpromptversion.d.ts.map +1 -1
- package/models/operations/getpromptversion.js +1 -0
- package/models/operations/getpromptversion.js.map +1 -1
- package/models/operations/listbudgets.d.ts +4 -5
- package/models/operations/listbudgets.d.ts.map +1 -1
- package/models/operations/listbudgets.js +4 -5
- package/models/operations/listbudgets.js.map +1 -1
- package/models/operations/listcontacts.js +2 -2
- package/models/operations/listdatasetdatapoints.d.ts +2 -2
- package/models/operations/listdatasetdatapoints.d.ts.map +1 -1
- package/models/operations/listdatasetdatapoints.js +10 -10
- package/models/operations/listdatasetdatapoints.js.map +1 -1
- package/models/operations/listdatasets.js +2 -2
- package/models/operations/listdatasources.js +2 -2
- package/models/operations/listpromptversions.d.ts +1 -0
- package/models/operations/listpromptversions.d.ts.map +1 -1
- package/models/operations/listpromptversions.js +1 -0
- package/models/operations/listpromptversions.js.map +1 -1
- package/models/operations/retrievecontact.js +2 -2
- package/models/operations/retrieveconversation.js +2 -2
- package/models/operations/retrievedatapoint.d.ts +2 -2
- package/models/operations/retrievedatapoint.d.ts.map +1 -1
- package/models/operations/retrievedatapoint.js +10 -10
- package/models/operations/retrievedatapoint.js.map +1 -1
- package/models/operations/retrievedataset.js +2 -2
- package/models/operations/retrievedatasource.js +2 -2
- package/models/operations/retrievetool.js +12 -12
- package/models/operations/runagent.js +2 -2
- package/models/operations/streamrunagent.js +2 -2
- package/models/operations/updatebudget.d.ts +0 -1
- package/models/operations/updatebudget.d.ts.map +1 -1
- package/models/operations/updatebudget.js +2 -3
- package/models/operations/updatebudget.js.map +1 -1
- package/models/operations/updatecontact.js +2 -2
- package/models/operations/updateconversation.js +2 -2
- package/models/operations/updatedatapoint.d.ts +4 -4
- package/models/operations/updatedatapoint.d.ts.map +1 -1
- package/models/operations/updatedatapoint.js +12 -12
- package/models/operations/updatedatapoint.js.map +1 -1
- package/models/operations/updatedataset.js +2 -2
- package/models/operations/updatedatasource.js +2 -2
- package/models/operations/updateeval.js +28 -28
- package/models/operations/updatememorystore.d.ts +1 -0
- package/models/operations/updatememorystore.d.ts.map +1 -1
- package/models/operations/updatememorystore.js +1 -0
- package/models/operations/updatememorystore.js.map +1 -1
- package/models/operations/updateprompt.d.ts +4 -2
- package/models/operations/updateprompt.d.ts.map +1 -1
- package/models/operations/updateprompt.js +4 -2
- package/models/operations/updateprompt.js.map +1 -1
- package/models/operations/updatetool.js +14 -14
- package/package.json +1 -1
- package/sdk/budgets.d.ts +2 -2
- package/sdk/budgets.js +2 -2
- package/src/funcs/budgetsCreate.ts +1 -1
- package/src/funcs/budgetsList.ts +1 -1
- 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/mcp-server/tools/budgetsCreate.ts +1 -1
- package/src/mcp-server/tools/budgetsList.ts +1 -1
- package/src/models/components/conversationresponse.ts +2 -2
- package/src/models/components/invokedeploymentrequest.ts +8 -8
- package/src/models/components/partdoneevent.ts +2 -2
- package/src/models/components/reasoningpart.ts +2 -2
- package/src/models/operations/createbudget.ts +17 -111
- package/src/models/operations/createcontact.ts +2 -2
- package/src/models/operations/createconversation.ts +2 -2
- package/src/models/operations/createdataset.ts +2 -2
- package/src/models/operations/createdatasetitem.ts +16 -16
- package/src/models/operations/createdatasource.ts +2 -2
- package/src/models/operations/createeval.ts +28 -28
- package/src/models/operations/createprompt.ts +5 -4
- package/src/models/operations/createtool.ts +12 -12
- package/src/models/operations/deploymentcreatemetric.ts +8 -8
- package/src/models/operations/deploymentgetconfig.ts +8 -8
- package/src/models/operations/deploymentinvoke.ts +1 -0
- package/src/models/operations/deployments.ts +1 -0
- package/src/models/operations/deploymentstream.ts +9 -8
- 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/generateconversationname.ts +2 -2
- package/src/models/operations/getallprompts.ts +1 -0
- package/src/models/operations/getalltools.ts +12 -12
- package/src/models/operations/getbudget.ts +2 -3
- package/src/models/operations/getevals.ts +28 -28
- package/src/models/operations/getoneprompt.ts +1 -0
- package/src/models/operations/getpromptversion.ts +1 -0
- package/src/models/operations/listbudgets.ts +6 -7
- package/src/models/operations/listcontacts.ts +2 -2
- package/src/models/operations/listdatasetdatapoints.ts +12 -12
- package/src/models/operations/listdatasets.ts +2 -2
- package/src/models/operations/listdatasources.ts +2 -2
- package/src/models/operations/listpromptversions.ts +1 -0
- package/src/models/operations/retrievecontact.ts +2 -2
- package/src/models/operations/retrieveconversation.ts +2 -2
- package/src/models/operations/retrievedatapoint.ts +12 -12
- package/src/models/operations/retrievedataset.ts +2 -2
- package/src/models/operations/retrievedatasource.ts +2 -2
- package/src/models/operations/retrievetool.ts +12 -12
- package/src/models/operations/runagent.ts +2 -2
- package/src/models/operations/streamrunagent.ts +2 -2
- package/src/models/operations/updatebudget.ts +2 -3
- package/src/models/operations/updatecontact.ts +2 -2
- package/src/models/operations/updateconversation.ts +2 -2
- package/src/models/operations/updatedatapoint.ts +16 -16
- package/src/models/operations/updatedataset.ts +2 -2
- package/src/models/operations/updatedatasource.ts +2 -2
- package/src/models/operations/updateeval.ts +28 -28
- package/src/models/operations/updatememorystore.ts +1 -0
- package/src/models/operations/updateprompt.ts +6 -4
- package/src/models/operations/updatetool.ts +14 -14
- package/src/sdk/budgets.ts +2 -2
|
@@ -1992,8 +1992,8 @@ export const Typescript$inboundSchema: z.ZodType<
|
|
|
1992
1992
|
> = z.object({
|
|
1993
1993
|
_id: z.string(),
|
|
1994
1994
|
description: z.string(),
|
|
1995
|
-
created: z.string().default("2025-12-
|
|
1996
|
-
updated: z.string().default("2025-12-
|
|
1995
|
+
created: z.string().default("2025-12-11T11:32:36.674Z"),
|
|
1996
|
+
updated: z.string().default("2025-12-11T11:32:36.674Z"),
|
|
1997
1997
|
guardrail_config: z.union([
|
|
1998
1998
|
z.lazy(() =>
|
|
1999
1999
|
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody7Boolean$inboundSchema
|
|
@@ -2034,8 +2034,8 @@ export const Typescript$outboundSchema: z.ZodType<
|
|
|
2034
2034
|
> = z.object({
|
|
2035
2035
|
id: z.string(),
|
|
2036
2036
|
description: z.string(),
|
|
2037
|
-
created: z.string().default("2025-12-
|
|
2038
|
-
updated: z.string().default("2025-12-
|
|
2037
|
+
created: z.string().default("2025-12-11T11:32:36.674Z"),
|
|
2038
|
+
updated: z.string().default("2025-12-11T11:32:36.674Z"),
|
|
2039
2039
|
guardrailConfig: z.union([
|
|
2040
2040
|
z.lazy(() =>
|
|
2041
2041
|
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody7Boolean$outboundSchema
|
|
@@ -2272,8 +2272,8 @@ export const Ragas$inboundSchema: z.ZodType<Ragas, z.ZodTypeDef, unknown> = z
|
|
|
2272
2272
|
.object({
|
|
2273
2273
|
_id: z.string(),
|
|
2274
2274
|
description: z.string(),
|
|
2275
|
-
created: z.string().default("2025-12-
|
|
2276
|
-
updated: z.string().default("2025-12-
|
|
2275
|
+
created: z.string().default("2025-12-11T11:32:36.674Z"),
|
|
2276
|
+
updated: z.string().default("2025-12-11T11:32:36.674Z"),
|
|
2277
2277
|
guardrail_config: z.union([
|
|
2278
2278
|
z.lazy(() =>
|
|
2279
2279
|
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody6Boolean$inboundSchema
|
|
@@ -2317,8 +2317,8 @@ export const Ragas$outboundSchema: z.ZodType<
|
|
|
2317
2317
|
> = z.object({
|
|
2318
2318
|
id: z.string(),
|
|
2319
2319
|
description: z.string(),
|
|
2320
|
-
created: z.string().default("2025-12-
|
|
2321
|
-
updated: z.string().default("2025-12-
|
|
2320
|
+
created: z.string().default("2025-12-11T11:32:36.674Z"),
|
|
2321
|
+
updated: z.string().default("2025-12-11T11:32:36.674Z"),
|
|
2322
2322
|
guardrailConfig: z.union([
|
|
2323
2323
|
z.lazy(() =>
|
|
2324
2324
|
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody6Boolean$outboundSchema
|
|
@@ -3824,8 +3824,8 @@ export const CreateEvalResponseBodyFunction$inboundSchema: z.ZodType<
|
|
|
3824
3824
|
> = z.object({
|
|
3825
3825
|
_id: z.string(),
|
|
3826
3826
|
description: z.string(),
|
|
3827
|
-
created: z.string().default("2025-12-
|
|
3828
|
-
updated: z.string().default("2025-12-
|
|
3827
|
+
created: z.string().default("2025-12-11T11:32:36.674Z"),
|
|
3828
|
+
updated: z.string().default("2025-12-11T11:32:36.674Z"),
|
|
3829
3829
|
guardrail_config: z.union([
|
|
3830
3830
|
z.lazy(() =>
|
|
3831
3831
|
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody5Boolean$inboundSchema
|
|
@@ -3932,8 +3932,8 @@ export const CreateEvalResponseBodyFunction$outboundSchema: z.ZodType<
|
|
|
3932
3932
|
> = z.object({
|
|
3933
3933
|
id: z.string(),
|
|
3934
3934
|
description: z.string(),
|
|
3935
|
-
created: z.string().default("2025-12-
|
|
3936
|
-
updated: z.string().default("2025-12-
|
|
3935
|
+
created: z.string().default("2025-12-11T11:32:36.674Z"),
|
|
3936
|
+
updated: z.string().default("2025-12-11T11:32:36.674Z"),
|
|
3937
3937
|
guardrailConfig: z.union([
|
|
3938
3938
|
z.lazy(() =>
|
|
3939
3939
|
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody5Boolean$outboundSchema
|
|
@@ -4206,8 +4206,8 @@ export const ResponseBodyPython$inboundSchema: z.ZodType<
|
|
|
4206
4206
|
> = z.object({
|
|
4207
4207
|
_id: z.string(),
|
|
4208
4208
|
description: z.string(),
|
|
4209
|
-
created: z.string().default("2025-12-
|
|
4210
|
-
updated: z.string().default("2025-12-
|
|
4209
|
+
created: z.string().default("2025-12-11T11:32:36.674Z"),
|
|
4210
|
+
updated: z.string().default("2025-12-11T11:32:36.674Z"),
|
|
4211
4211
|
guardrail_config: z.union([
|
|
4212
4212
|
z.lazy(() =>
|
|
4213
4213
|
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyBoolean$inboundSchema
|
|
@@ -4248,8 +4248,8 @@ export const ResponseBodyPython$outboundSchema: z.ZodType<
|
|
|
4248
4248
|
> = z.object({
|
|
4249
4249
|
id: z.string(),
|
|
4250
4250
|
description: z.string(),
|
|
4251
|
-
created: z.string().default("2025-12-
|
|
4252
|
-
updated: z.string().default("2025-12-
|
|
4251
|
+
created: z.string().default("2025-12-11T11:32:36.674Z"),
|
|
4252
|
+
updated: z.string().default("2025-12-11T11:32:36.674Z"),
|
|
4253
4253
|
guardrailConfig: z.union([
|
|
4254
4254
|
z.lazy(() =>
|
|
4255
4255
|
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyBoolean$outboundSchema
|
|
@@ -4488,8 +4488,8 @@ export const ResponseBodyHTTP$inboundSchema: z.ZodType<
|
|
|
4488
4488
|
> = z.object({
|
|
4489
4489
|
_id: z.string(),
|
|
4490
4490
|
description: z.string(),
|
|
4491
|
-
created: z.string().default("2025-12-
|
|
4492
|
-
updated: z.string().default("2025-12-
|
|
4491
|
+
created: z.string().default("2025-12-11T11:32:36.674Z"),
|
|
4492
|
+
updated: z.string().default("2025-12-11T11:32:36.674Z"),
|
|
4493
4493
|
guardrail_config: z.union([
|
|
4494
4494
|
z.lazy(() =>
|
|
4495
4495
|
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONBoolean$inboundSchema
|
|
@@ -4536,8 +4536,8 @@ export const ResponseBodyHTTP$outboundSchema: z.ZodType<
|
|
|
4536
4536
|
> = z.object({
|
|
4537
4537
|
id: z.string(),
|
|
4538
4538
|
description: z.string(),
|
|
4539
|
-
created: z.string().default("2025-12-
|
|
4540
|
-
updated: z.string().default("2025-12-
|
|
4539
|
+
created: z.string().default("2025-12-11T11:32:36.674Z"),
|
|
4540
|
+
updated: z.string().default("2025-12-11T11:32:36.674Z"),
|
|
4541
4541
|
guardrailConfig: z.union([
|
|
4542
4542
|
z.lazy(() =>
|
|
4543
4543
|
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONBoolean$outboundSchema
|
|
@@ -4752,8 +4752,8 @@ export const ResponseBodyJSON$inboundSchema: z.ZodType<
|
|
|
4752
4752
|
> = z.object({
|
|
4753
4753
|
_id: z.string(),
|
|
4754
4754
|
description: z.string(),
|
|
4755
|
-
created: z.string().default("2025-12-
|
|
4756
|
-
updated: z.string().default("2025-12-
|
|
4755
|
+
created: z.string().default("2025-12-11T11:32:36.674Z"),
|
|
4756
|
+
updated: z.string().default("2025-12-11T11:32:36.674Z"),
|
|
4757
4757
|
guardrail_config: z.union([
|
|
4758
4758
|
z.lazy(() =>
|
|
4759
4759
|
CreateEvalGuardrailConfigEvalsResponse200Boolean$inboundSchema
|
|
@@ -4792,8 +4792,8 @@ export const ResponseBodyJSON$outboundSchema: z.ZodType<
|
|
|
4792
4792
|
> = z.object({
|
|
4793
4793
|
id: z.string(),
|
|
4794
4794
|
description: z.string(),
|
|
4795
|
-
created: z.string().default("2025-12-
|
|
4796
|
-
updated: z.string().default("2025-12-
|
|
4795
|
+
created: z.string().default("2025-12-11T11:32:36.674Z"),
|
|
4796
|
+
updated: z.string().default("2025-12-11T11:32:36.674Z"),
|
|
4797
4797
|
guardrailConfig: z.union([
|
|
4798
4798
|
z.lazy(() =>
|
|
4799
4799
|
CreateEvalGuardrailConfigEvalsResponse200Boolean$outboundSchema
|
|
@@ -5004,8 +5004,8 @@ export const ResponseBodyLLM$inboundSchema: z.ZodType<
|
|
|
5004
5004
|
> = z.object({
|
|
5005
5005
|
_id: z.string(),
|
|
5006
5006
|
description: z.string(),
|
|
5007
|
-
created: z.string().default("2025-12-
|
|
5008
|
-
updated: z.string().default("2025-12-
|
|
5007
|
+
created: z.string().default("2025-12-11T11:32:36.674Z"),
|
|
5008
|
+
updated: z.string().default("2025-12-11T11:32:36.674Z"),
|
|
5009
5009
|
guardrail_config: z.union([
|
|
5010
5010
|
z.lazy(() => CreateEvalGuardrailConfigEvalsResponseBoolean$inboundSchema),
|
|
5011
5011
|
z.lazy(() => CreateEvalGuardrailConfigEvalsResponseNumber$inboundSchema),
|
|
@@ -5044,8 +5044,8 @@ export const ResponseBodyLLM$outboundSchema: z.ZodType<
|
|
|
5044
5044
|
> = z.object({
|
|
5045
5045
|
id: z.string(),
|
|
5046
5046
|
description: z.string(),
|
|
5047
|
-
created: z.string().default("2025-12-
|
|
5048
|
-
updated: z.string().default("2025-12-
|
|
5047
|
+
created: z.string().default("2025-12-11T11:32:36.674Z"),
|
|
5048
|
+
updated: z.string().default("2025-12-11T11:32:36.674Z"),
|
|
5049
5049
|
guardrailConfig: z.union([
|
|
5050
5050
|
z.lazy(() => CreateEvalGuardrailConfigEvalsResponseBoolean$outboundSchema),
|
|
5051
5051
|
z.lazy(() => CreateEvalGuardrailConfigEvalsResponseNumber$outboundSchema),
|
|
@@ -538,7 +538,7 @@ export type CreatePromptMessagesToolMessage = {
|
|
|
538
538
|
/**
|
|
539
539
|
* Tool call that this message is responding to.
|
|
540
540
|
*/
|
|
541
|
-
toolCallId: string;
|
|
541
|
+
toolCallId: string | null;
|
|
542
542
|
cacheControl?: CreatePromptMessagesCacheControl | undefined;
|
|
543
543
|
};
|
|
544
544
|
|
|
@@ -1243,6 +1243,7 @@ export const CreatePromptProvider = {
|
|
|
1243
1243
|
Deepseek: "deepseek",
|
|
1244
1244
|
Contextualai: "contextualai",
|
|
1245
1245
|
Moonshotai: "moonshotai",
|
|
1246
|
+
Zai: "zai",
|
|
1246
1247
|
} as const;
|
|
1247
1248
|
export type CreatePromptProvider = ClosedEnum<typeof CreatePromptProvider>;
|
|
1248
1249
|
|
|
@@ -2709,7 +2710,7 @@ export const CreatePromptMessagesToolMessage$inboundSchema: z.ZodType<
|
|
|
2709
2710
|
z.string(),
|
|
2710
2711
|
z.array(components.TextContentPartSchema$inboundSchema),
|
|
2711
2712
|
]),
|
|
2712
|
-
tool_call_id: z.string(),
|
|
2713
|
+
tool_call_id: z.nullable(z.string()),
|
|
2713
2714
|
cache_control: z.lazy(() => CreatePromptMessagesCacheControl$inboundSchema)
|
|
2714
2715
|
.optional(),
|
|
2715
2716
|
}).transform((v) => {
|
|
@@ -2722,7 +2723,7 @@ export const CreatePromptMessagesToolMessage$inboundSchema: z.ZodType<
|
|
|
2722
2723
|
export type CreatePromptMessagesToolMessage$Outbound = {
|
|
2723
2724
|
role: "tool";
|
|
2724
2725
|
content: string | Array<components.TextContentPartSchema$Outbound>;
|
|
2725
|
-
tool_call_id: string;
|
|
2726
|
+
tool_call_id: string | null;
|
|
2726
2727
|
cache_control?: CreatePromptMessagesCacheControl$Outbound | undefined;
|
|
2727
2728
|
};
|
|
2728
2729
|
|
|
@@ -2737,7 +2738,7 @@ export const CreatePromptMessagesToolMessage$outboundSchema: z.ZodType<
|
|
|
2737
2738
|
z.string(),
|
|
2738
2739
|
z.array(components.TextContentPartSchema$outboundSchema),
|
|
2739
2740
|
]),
|
|
2740
|
-
toolCallId: z.string(),
|
|
2741
|
+
toolCallId: z.nullable(z.string()),
|
|
2741
2742
|
cacheControl: z.lazy(() => CreatePromptMessagesCacheControl$outboundSchema)
|
|
2742
2743
|
.optional(),
|
|
2743
2744
|
}).transform((v) => {
|
|
@@ -2458,7 +2458,7 @@ export const ResponseBodyCodeExecutionTool$inboundSchema: z.ZodType<
|
|
|
2458
2458
|
z.ZodTypeDef,
|
|
2459
2459
|
unknown
|
|
2460
2460
|
> = z.object({
|
|
2461
|
-
_id: z.string().default("
|
|
2461
|
+
_id: z.string().default("tool_01KC6JYP9F6PGWT24GKD5VKXQQ"),
|
|
2462
2462
|
path: z.string(),
|
|
2463
2463
|
key: z.string(),
|
|
2464
2464
|
display_name: z.string().optional(),
|
|
@@ -2512,7 +2512,7 @@ export const ResponseBodyCodeExecutionTool$outboundSchema: z.ZodType<
|
|
|
2512
2512
|
z.ZodTypeDef,
|
|
2513
2513
|
ResponseBodyCodeExecutionTool
|
|
2514
2514
|
> = z.object({
|
|
2515
|
-
id: z.string().default("
|
|
2515
|
+
id: z.string().default("tool_01KC6JYP9F6PGWT24GKD5VKXQQ"),
|
|
2516
2516
|
path: z.string(),
|
|
2517
2517
|
key: z.string(),
|
|
2518
2518
|
displayName: z.string().optional(),
|
|
@@ -2678,7 +2678,7 @@ export const ResponseBodyTools$inboundSchema: z.ZodType<
|
|
|
2678
2678
|
z.ZodTypeDef,
|
|
2679
2679
|
unknown
|
|
2680
2680
|
> = z.object({
|
|
2681
|
-
id: z.string().default("
|
|
2681
|
+
id: z.string().default("01KC6JYP9DAK7N8D9CK1M9PQQ8"),
|
|
2682
2682
|
name: z.string(),
|
|
2683
2683
|
description: z.string().optional(),
|
|
2684
2684
|
schema: z.lazy(() => CreateToolResponseBodySchema$inboundSchema),
|
|
@@ -2697,7 +2697,7 @@ export const ResponseBodyTools$outboundSchema: z.ZodType<
|
|
|
2697
2697
|
z.ZodTypeDef,
|
|
2698
2698
|
ResponseBodyTools
|
|
2699
2699
|
> = z.object({
|
|
2700
|
-
id: z.string().default("
|
|
2700
|
+
id: z.string().default("01KC6JYP9DAK7N8D9CK1M9PQQ8"),
|
|
2701
2701
|
name: z.string(),
|
|
2702
2702
|
description: z.string().optional(),
|
|
2703
2703
|
schema: z.lazy(() => CreateToolResponseBodySchema$outboundSchema),
|
|
@@ -2792,7 +2792,7 @@ export const ResponseBodyMCPTool$inboundSchema: z.ZodType<
|
|
|
2792
2792
|
z.ZodTypeDef,
|
|
2793
2793
|
unknown
|
|
2794
2794
|
> = z.object({
|
|
2795
|
-
_id: z.string().default("
|
|
2795
|
+
_id: z.string().default("tool_01KC6JYP9CV9W1216BS5YDTAJ5"),
|
|
2796
2796
|
path: z.string(),
|
|
2797
2797
|
key: z.string(),
|
|
2798
2798
|
display_name: z.string().optional(),
|
|
@@ -2845,7 +2845,7 @@ export const ResponseBodyMCPTool$outboundSchema: z.ZodType<
|
|
|
2845
2845
|
z.ZodTypeDef,
|
|
2846
2846
|
ResponseBodyMCPTool
|
|
2847
2847
|
> = z.object({
|
|
2848
|
-
id: z.string().default("
|
|
2848
|
+
id: z.string().default("tool_01KC6JYP9CV9W1216BS5YDTAJ5"),
|
|
2849
2849
|
path: z.string(),
|
|
2850
2850
|
key: z.string(),
|
|
2851
2851
|
displayName: z.string().optional(),
|
|
@@ -3196,7 +3196,7 @@ export const ResponseBodyHTTPTool$inboundSchema: z.ZodType<
|
|
|
3196
3196
|
z.ZodTypeDef,
|
|
3197
3197
|
unknown
|
|
3198
3198
|
> = z.object({
|
|
3199
|
-
_id: z.string().default("
|
|
3199
|
+
_id: z.string().default("tool_01KC6JYP99KC52EJWCNYZZYK16"),
|
|
3200
3200
|
path: z.string(),
|
|
3201
3201
|
key: z.string(),
|
|
3202
3202
|
display_name: z.string().optional(),
|
|
@@ -3247,7 +3247,7 @@ export const ResponseBodyHTTPTool$outboundSchema: z.ZodType<
|
|
|
3247
3247
|
z.ZodTypeDef,
|
|
3248
3248
|
ResponseBodyHTTPTool
|
|
3249
3249
|
> = z.object({
|
|
3250
|
-
id: z.string().default("
|
|
3250
|
+
id: z.string().default("tool_01KC6JYP99KC52EJWCNYZZYK16"),
|
|
3251
3251
|
path: z.string(),
|
|
3252
3252
|
key: z.string(),
|
|
3253
3253
|
displayName: z.string().optional(),
|
|
@@ -3412,7 +3412,7 @@ export const ResponseBodyJSONSchemaTool$inboundSchema: z.ZodType<
|
|
|
3412
3412
|
z.ZodTypeDef,
|
|
3413
3413
|
unknown
|
|
3414
3414
|
> = z.object({
|
|
3415
|
-
_id: z.string().default("
|
|
3415
|
+
_id: z.string().default("tool_01KC6JYP967DWNS331HPV2GBJ2"),
|
|
3416
3416
|
path: z.string(),
|
|
3417
3417
|
key: z.string(),
|
|
3418
3418
|
display_name: z.string().optional(),
|
|
@@ -3464,7 +3464,7 @@ export const ResponseBodyJSONSchemaTool$outboundSchema: z.ZodType<
|
|
|
3464
3464
|
z.ZodTypeDef,
|
|
3465
3465
|
ResponseBodyJSONSchemaTool
|
|
3466
3466
|
> = z.object({
|
|
3467
|
-
id: z.string().default("
|
|
3467
|
+
id: z.string().default("tool_01KC6JYP967DWNS331HPV2GBJ2"),
|
|
3468
3468
|
path: z.string(),
|
|
3469
3469
|
key: z.string(),
|
|
3470
3470
|
displayName: z.string().optional(),
|
|
@@ -3645,7 +3645,7 @@ export const ResponseBodyFunctionTool$inboundSchema: z.ZodType<
|
|
|
3645
3645
|
z.ZodTypeDef,
|
|
3646
3646
|
unknown
|
|
3647
3647
|
> = z.object({
|
|
3648
|
-
_id: z.string().default("
|
|
3648
|
+
_id: z.string().default("tool_01KC6JYP94V3CBF9TZS0ASMR5Z"),
|
|
3649
3649
|
path: z.string(),
|
|
3650
3650
|
key: z.string(),
|
|
3651
3651
|
display_name: z.string().optional(),
|
|
@@ -3696,7 +3696,7 @@ export const ResponseBodyFunctionTool$outboundSchema: z.ZodType<
|
|
|
3696
3696
|
z.ZodTypeDef,
|
|
3697
3697
|
ResponseBodyFunctionTool
|
|
3698
3698
|
> = z.object({
|
|
3699
|
-
id: z.string().default("
|
|
3699
|
+
id: z.string().default("tool_01KC6JYP94V3CBF9TZS0ASMR5Z"),
|
|
3700
3700
|
path: z.string(),
|
|
3701
3701
|
key: z.string(),
|
|
3702
3702
|
displayName: z.string().optional(),
|
|
@@ -120,7 +120,7 @@ export type DeploymentCreateMetricMessagesToolMessage = {
|
|
|
120
120
|
/**
|
|
121
121
|
* Tool call that this message is responding to.
|
|
122
122
|
*/
|
|
123
|
-
toolCallId: string;
|
|
123
|
+
toolCallId: string | null;
|
|
124
124
|
cacheControl?: DeploymentCreateMetricMessagesCacheControl | undefined;
|
|
125
125
|
};
|
|
126
126
|
|
|
@@ -472,7 +472,7 @@ export type ChoicesToolMessage = {
|
|
|
472
472
|
/**
|
|
473
473
|
* Tool call that this message is responding to.
|
|
474
474
|
*/
|
|
475
|
-
toolCallId: string;
|
|
475
|
+
toolCallId: string | null;
|
|
476
476
|
cacheControl?: ChoicesCacheControl | undefined;
|
|
477
477
|
};
|
|
478
478
|
|
|
@@ -1088,7 +1088,7 @@ export const DeploymentCreateMetricMessagesToolMessage$inboundSchema: z.ZodType<
|
|
|
1088
1088
|
z.string(),
|
|
1089
1089
|
z.array(components.TextContentPartSchema$inboundSchema),
|
|
1090
1090
|
]),
|
|
1091
|
-
tool_call_id: z.string(),
|
|
1091
|
+
tool_call_id: z.nullable(z.string()),
|
|
1092
1092
|
cache_control: z.lazy(() =>
|
|
1093
1093
|
DeploymentCreateMetricMessagesCacheControl$inboundSchema
|
|
1094
1094
|
).optional(),
|
|
@@ -1102,7 +1102,7 @@ export const DeploymentCreateMetricMessagesToolMessage$inboundSchema: z.ZodType<
|
|
|
1102
1102
|
export type DeploymentCreateMetricMessagesToolMessage$Outbound = {
|
|
1103
1103
|
role: "tool";
|
|
1104
1104
|
content: string | Array<components.TextContentPartSchema$Outbound>;
|
|
1105
|
-
tool_call_id: string;
|
|
1105
|
+
tool_call_id: string | null;
|
|
1106
1106
|
cache_control?:
|
|
1107
1107
|
| DeploymentCreateMetricMessagesCacheControl$Outbound
|
|
1108
1108
|
| undefined;
|
|
@@ -1120,7 +1120,7 @@ export const DeploymentCreateMetricMessagesToolMessage$outboundSchema:
|
|
|
1120
1120
|
z.string(),
|
|
1121
1121
|
z.array(components.TextContentPartSchema$outboundSchema),
|
|
1122
1122
|
]),
|
|
1123
|
-
toolCallId: z.string(),
|
|
1123
|
+
toolCallId: z.nullable(z.string()),
|
|
1124
1124
|
cacheControl: z.lazy(() =>
|
|
1125
1125
|
DeploymentCreateMetricMessagesCacheControl$outboundSchema
|
|
1126
1126
|
).optional(),
|
|
@@ -2342,7 +2342,7 @@ export const ChoicesToolMessage$inboundSchema: z.ZodType<
|
|
|
2342
2342
|
z.string(),
|
|
2343
2343
|
z.array(components.TextContentPartSchema$inboundSchema),
|
|
2344
2344
|
]),
|
|
2345
|
-
tool_call_id: z.string(),
|
|
2345
|
+
tool_call_id: z.nullable(z.string()),
|
|
2346
2346
|
cache_control: z.lazy(() => ChoicesCacheControl$inboundSchema).optional(),
|
|
2347
2347
|
}).transform((v) => {
|
|
2348
2348
|
return remap$(v, {
|
|
@@ -2354,7 +2354,7 @@ export const ChoicesToolMessage$inboundSchema: z.ZodType<
|
|
|
2354
2354
|
export type ChoicesToolMessage$Outbound = {
|
|
2355
2355
|
role: "tool";
|
|
2356
2356
|
content: string | Array<components.TextContentPartSchema$Outbound>;
|
|
2357
|
-
tool_call_id: string;
|
|
2357
|
+
tool_call_id: string | null;
|
|
2358
2358
|
cache_control?: ChoicesCacheControl$Outbound | undefined;
|
|
2359
2359
|
};
|
|
2360
2360
|
|
|
@@ -2369,7 +2369,7 @@ export const ChoicesToolMessage$outboundSchema: z.ZodType<
|
|
|
2369
2369
|
z.string(),
|
|
2370
2370
|
z.array(components.TextContentPartSchema$outboundSchema),
|
|
2371
2371
|
]),
|
|
2372
|
-
toolCallId: z.string(),
|
|
2372
|
+
toolCallId: z.nullable(z.string()),
|
|
2373
2373
|
cacheControl: z.lazy(() => ChoicesCacheControl$outboundSchema).optional(),
|
|
2374
2374
|
}).transform((v) => {
|
|
2375
2375
|
return remap$(v, {
|
|
@@ -89,7 +89,7 @@ export type ToolMessage = {
|
|
|
89
89
|
/**
|
|
90
90
|
* Tool call that this message is responding to.
|
|
91
91
|
*/
|
|
92
|
-
toolCallId: string;
|
|
92
|
+
toolCallId: string | null;
|
|
93
93
|
cacheControl?: PrefixMessagesCacheControl | undefined;
|
|
94
94
|
};
|
|
95
95
|
|
|
@@ -437,7 +437,7 @@ export type MessagesToolMessage = {
|
|
|
437
437
|
/**
|
|
438
438
|
* Tool call that this message is responding to.
|
|
439
439
|
*/
|
|
440
|
-
toolCallId: string;
|
|
440
|
+
toolCallId: string | null;
|
|
441
441
|
cacheControl?: MessagesCacheControl | undefined;
|
|
442
442
|
};
|
|
443
443
|
|
|
@@ -1785,7 +1785,7 @@ export const ToolMessage$inboundSchema: z.ZodType<
|
|
|
1785
1785
|
z.string(),
|
|
1786
1786
|
z.array(components.TextContentPartSchema$inboundSchema),
|
|
1787
1787
|
]),
|
|
1788
|
-
tool_call_id: z.string(),
|
|
1788
|
+
tool_call_id: z.nullable(z.string()),
|
|
1789
1789
|
cache_control: z.lazy(() => PrefixMessagesCacheControl$inboundSchema)
|
|
1790
1790
|
.optional(),
|
|
1791
1791
|
}).transform((v) => {
|
|
@@ -1798,7 +1798,7 @@ export const ToolMessage$inboundSchema: z.ZodType<
|
|
|
1798
1798
|
export type ToolMessage$Outbound = {
|
|
1799
1799
|
role: "tool";
|
|
1800
1800
|
content: string | Array<components.TextContentPartSchema$Outbound>;
|
|
1801
|
-
tool_call_id: string;
|
|
1801
|
+
tool_call_id: string | null;
|
|
1802
1802
|
cache_control?: PrefixMessagesCacheControl$Outbound | undefined;
|
|
1803
1803
|
};
|
|
1804
1804
|
|
|
@@ -1813,7 +1813,7 @@ export const ToolMessage$outboundSchema: z.ZodType<
|
|
|
1813
1813
|
z.string(),
|
|
1814
1814
|
z.array(components.TextContentPartSchema$outboundSchema),
|
|
1815
1815
|
]),
|
|
1816
|
-
toolCallId: z.string(),
|
|
1816
|
+
toolCallId: z.nullable(z.string()),
|
|
1817
1817
|
cacheControl: z.lazy(() => PrefixMessagesCacheControl$outboundSchema)
|
|
1818
1818
|
.optional(),
|
|
1819
1819
|
}).transform((v) => {
|
|
@@ -2889,7 +2889,7 @@ export const MessagesToolMessage$inboundSchema: z.ZodType<
|
|
|
2889
2889
|
z.string(),
|
|
2890
2890
|
z.array(components.TextContentPartSchema$inboundSchema),
|
|
2891
2891
|
]),
|
|
2892
|
-
tool_call_id: z.string(),
|
|
2892
|
+
tool_call_id: z.nullable(z.string()),
|
|
2893
2893
|
cache_control: z.lazy(() => MessagesCacheControl$inboundSchema).optional(),
|
|
2894
2894
|
}).transform((v) => {
|
|
2895
2895
|
return remap$(v, {
|
|
@@ -2901,7 +2901,7 @@ export const MessagesToolMessage$inboundSchema: z.ZodType<
|
|
|
2901
2901
|
export type MessagesToolMessage$Outbound = {
|
|
2902
2902
|
role: "tool";
|
|
2903
2903
|
content: string | Array<components.TextContentPartSchema$Outbound>;
|
|
2904
|
-
tool_call_id: string;
|
|
2904
|
+
tool_call_id: string | null;
|
|
2905
2905
|
cache_control?: MessagesCacheControl$Outbound | undefined;
|
|
2906
2906
|
};
|
|
2907
2907
|
|
|
@@ -2916,7 +2916,7 @@ export const MessagesToolMessage$outboundSchema: z.ZodType<
|
|
|
2916
2916
|
z.string(),
|
|
2917
2917
|
z.array(components.TextContentPartSchema$outboundSchema),
|
|
2918
2918
|
]),
|
|
2919
|
-
toolCallId: z.string(),
|
|
2919
|
+
toolCallId: z.nullable(z.string()),
|
|
2920
2920
|
cacheControl: z.lazy(() => MessagesCacheControl$outboundSchema).optional(),
|
|
2921
2921
|
}).transform((v) => {
|
|
2922
2922
|
return remap$(v, {
|
|
@@ -96,7 +96,7 @@ export type PrefixMessagesToolMessage = {
|
|
|
96
96
|
/**
|
|
97
97
|
* Tool call that this message is responding to.
|
|
98
98
|
*/
|
|
99
|
-
toolCallId: string;
|
|
99
|
+
toolCallId: string | null;
|
|
100
100
|
cacheControl?: DeploymentStreamPrefixMessagesCacheControl | undefined;
|
|
101
101
|
};
|
|
102
102
|
|
|
@@ -448,7 +448,7 @@ export type DeploymentStreamMessagesToolMessage = {
|
|
|
448
448
|
/**
|
|
449
449
|
* Tool call that this message is responding to.
|
|
450
450
|
*/
|
|
451
|
-
toolCallId: string;
|
|
451
|
+
toolCallId: string | null;
|
|
452
452
|
cacheControl?: DeploymentStreamMessagesCacheControl | undefined;
|
|
453
453
|
};
|
|
454
454
|
|
|
@@ -1198,6 +1198,7 @@ export const DeploymentStreamProvider = {
|
|
|
1198
1198
|
Deepseek: "deepseek",
|
|
1199
1199
|
Contextualai: "contextualai",
|
|
1200
1200
|
Moonshotai: "moonshotai",
|
|
1201
|
+
Zai: "zai",
|
|
1201
1202
|
} as const;
|
|
1202
1203
|
/**
|
|
1203
1204
|
* The provider used to generate the response
|
|
@@ -1677,7 +1678,7 @@ export const PrefixMessagesToolMessage$inboundSchema: z.ZodType<
|
|
|
1677
1678
|
z.string(),
|
|
1678
1679
|
z.array(components.TextContentPartSchema$inboundSchema),
|
|
1679
1680
|
]),
|
|
1680
|
-
tool_call_id: z.string(),
|
|
1681
|
+
tool_call_id: z.nullable(z.string()),
|
|
1681
1682
|
cache_control: z.lazy(() =>
|
|
1682
1683
|
DeploymentStreamPrefixMessagesCacheControl$inboundSchema
|
|
1683
1684
|
).optional(),
|
|
@@ -1691,7 +1692,7 @@ export const PrefixMessagesToolMessage$inboundSchema: z.ZodType<
|
|
|
1691
1692
|
export type PrefixMessagesToolMessage$Outbound = {
|
|
1692
1693
|
role: "tool";
|
|
1693
1694
|
content: string | Array<components.TextContentPartSchema$Outbound>;
|
|
1694
|
-
tool_call_id: string;
|
|
1695
|
+
tool_call_id: string | null;
|
|
1695
1696
|
cache_control?:
|
|
1696
1697
|
| DeploymentStreamPrefixMessagesCacheControl$Outbound
|
|
1697
1698
|
| undefined;
|
|
@@ -1708,7 +1709,7 @@ export const PrefixMessagesToolMessage$outboundSchema: z.ZodType<
|
|
|
1708
1709
|
z.string(),
|
|
1709
1710
|
z.array(components.TextContentPartSchema$outboundSchema),
|
|
1710
1711
|
]),
|
|
1711
|
-
toolCallId: z.string(),
|
|
1712
|
+
toolCallId: z.nullable(z.string()),
|
|
1712
1713
|
cacheControl: z.lazy(() =>
|
|
1713
1714
|
DeploymentStreamPrefixMessagesCacheControl$outboundSchema
|
|
1714
1715
|
).optional(),
|
|
@@ -2870,7 +2871,7 @@ export const DeploymentStreamMessagesToolMessage$inboundSchema: z.ZodType<
|
|
|
2870
2871
|
z.string(),
|
|
2871
2872
|
z.array(components.TextContentPartSchema$inboundSchema),
|
|
2872
2873
|
]),
|
|
2873
|
-
tool_call_id: z.string(),
|
|
2874
|
+
tool_call_id: z.nullable(z.string()),
|
|
2874
2875
|
cache_control: z.lazy(() =>
|
|
2875
2876
|
DeploymentStreamMessagesCacheControl$inboundSchema
|
|
2876
2877
|
).optional(),
|
|
@@ -2884,7 +2885,7 @@ export const DeploymentStreamMessagesToolMessage$inboundSchema: z.ZodType<
|
|
|
2884
2885
|
export type DeploymentStreamMessagesToolMessage$Outbound = {
|
|
2885
2886
|
role: "tool";
|
|
2886
2887
|
content: string | Array<components.TextContentPartSchema$Outbound>;
|
|
2887
|
-
tool_call_id: string;
|
|
2888
|
+
tool_call_id: string | null;
|
|
2888
2889
|
cache_control?: DeploymentStreamMessagesCacheControl$Outbound | undefined;
|
|
2889
2890
|
};
|
|
2890
2891
|
|
|
@@ -2899,7 +2900,7 @@ export const DeploymentStreamMessagesToolMessage$outboundSchema: z.ZodType<
|
|
|
2899
2900
|
z.string(),
|
|
2900
2901
|
z.array(components.TextContentPartSchema$outboundSchema),
|
|
2901
2902
|
]),
|
|
2902
|
-
toolCallId: z.string(),
|
|
2903
|
+
toolCallId: z.nullable(z.string()),
|
|
2903
2904
|
cacheControl: z.lazy(() =>
|
|
2904
2905
|
DeploymentStreamMessagesCacheControl$outboundSchema
|
|
2905
2906
|
).optional(),
|
|
@@ -119,7 +119,7 @@ export const FileGetResponseBody$inboundSchema: z.ZodType<
|
|
|
119
119
|
file_name: z.string(),
|
|
120
120
|
workspace_id: z.string(),
|
|
121
121
|
created: z.string().datetime({ offset: true }).default(
|
|
122
|
-
"2025-12-
|
|
122
|
+
"2025-12-11T11:32:37.634Z",
|
|
123
123
|
).transform(v => new Date(v)),
|
|
124
124
|
}).transform((v) => {
|
|
125
125
|
return remap$(v, {
|
|
@@ -152,7 +152,7 @@ export const FileGetResponseBody$outboundSchema: z.ZodType<
|
|
|
152
152
|
bytes: z.number(),
|
|
153
153
|
fileName: z.string(),
|
|
154
154
|
workspaceId: z.string(),
|
|
155
|
-
created: z.date().default(() => new Date("2025-12-
|
|
155
|
+
created: z.date().default(() => new Date("2025-12-11T11:32:37.634Z"))
|
|
156
156
|
.transform(v => v.toISOString()),
|
|
157
157
|
}).transform((v) => {
|
|
158
158
|
return remap$(v, {
|
|
@@ -157,7 +157,7 @@ export const FileListData$inboundSchema: z.ZodType<
|
|
|
157
157
|
file_name: z.string(),
|
|
158
158
|
workspace_id: z.string(),
|
|
159
159
|
created: z.string().datetime({ offset: true }).default(
|
|
160
|
-
"2025-12-
|
|
160
|
+
"2025-12-11T11:32:37.634Z",
|
|
161
161
|
).transform(v => new Date(v)),
|
|
162
162
|
}).transform((v) => {
|
|
163
163
|
return remap$(v, {
|
|
@@ -190,7 +190,7 @@ export const FileListData$outboundSchema: z.ZodType<
|
|
|
190
190
|
bytes: z.number(),
|
|
191
191
|
fileName: z.string(),
|
|
192
192
|
workspaceId: z.string(),
|
|
193
|
-
created: z.date().default(() => new Date("2025-12-
|
|
193
|
+
created: z.date().default(() => new Date("2025-12-11T11:32:37.634Z"))
|
|
194
194
|
.transform(v => v.toISOString()),
|
|
195
195
|
}).transform((v) => {
|
|
196
196
|
return remap$(v, {
|
|
@@ -196,7 +196,7 @@ export const FileUploadResponseBody$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-12-
|
|
199
|
+
"2025-12-11T11:32:37.634Z",
|
|
200
200
|
).transform(v => new Date(v)),
|
|
201
201
|
}).transform((v) => {
|
|
202
202
|
return remap$(v, {
|
|
@@ -229,7 +229,7 @@ export const FileUploadResponseBody$outboundSchema: z.ZodType<
|
|
|
229
229
|
bytes: z.number(),
|
|
230
230
|
fileName: z.string(),
|
|
231
231
|
workspaceId: z.string(),
|
|
232
|
-
created: z.date().default(() => new Date("2025-12-
|
|
232
|
+
created: z.date().default(() => new Date("2025-12-11T11:32:37.634Z"))
|
|
233
233
|
.transform(v => v.toISOString()),
|
|
234
234
|
}).transform((v) => {
|
|
235
235
|
return remap$(v, {
|
|
@@ -258,7 +258,7 @@ export const GenerateConversationNameResponseBody$inboundSchema: z.ZodType<
|
|
|
258
258
|
z.ZodTypeDef,
|
|
259
259
|
unknown
|
|
260
260
|
> = z.object({
|
|
261
|
-
_id: z.string().default("
|
|
261
|
+
_id: z.string().default("conv_01kc6jyp2kaycs972pmtm493b7"),
|
|
262
262
|
entity_id: z.string(),
|
|
263
263
|
kind: GenerateConversationNameKind$inboundSchema,
|
|
264
264
|
display_name: z.string(),
|
|
@@ -298,7 +298,7 @@ export const GenerateConversationNameResponseBody$outboundSchema: z.ZodType<
|
|
|
298
298
|
z.ZodTypeDef,
|
|
299
299
|
GenerateConversationNameResponseBody
|
|
300
300
|
> = z.object({
|
|
301
|
-
id: z.string().default("
|
|
301
|
+
id: z.string().default("conv_01kc6jyp2kaycs972pmtm493b7"),
|
|
302
302
|
entityId: z.string(),
|
|
303
303
|
kind: GenerateConversationNameKind$outboundSchema,
|
|
304
304
|
displayName: z.string(),
|