@orq-ai/node 4.0.0-rc.33 → 4.0.0-rc.35
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 +397 -235
- package/bin/mcp-server.js.map +44 -44
- package/docs/sdks/agents/README.md +2 -0
- package/examples/package-lock.json +2 -10
- 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/operations/createagent.d.ts +61 -3
- package/models/operations/createagent.d.ts.map +1 -1
- package/models/operations/createagent.js +63 -6
- package/models/operations/createagent.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 +8 -8
- package/models/operations/createdatasource.js +2 -2
- package/models/operations/createeval.js +28 -28
- package/models/operations/createtool.js +10 -10
- package/models/operations/duplicateagent.d.ts +29 -0
- package/models/operations/duplicateagent.d.ts.map +1 -1
- package/models/operations/duplicateagent.js +30 -2
- package/models/operations/duplicateagent.js.map +1 -1
- package/models/operations/duplicatetool.js +10 -10
- package/models/operations/fileget.js +2 -2
- package/models/operations/filelist.js +2 -2
- package/models/operations/fileupload.js +2 -2
- package/models/operations/getagent.d.ts +29 -0
- package/models/operations/getagent.d.ts.map +1 -1
- package/models/operations/getagent.js +30 -2
- package/models/operations/getagent.js.map +1 -1
- package/models/operations/getalltools.js +10 -10
- package/models/operations/getbudget.js +2 -2
- package/models/operations/getevals.js +28 -28
- package/models/operations/listagents.d.ts +29 -0
- package/models/operations/listagents.d.ts.map +1 -1
- package/models/operations/listagents.js +31 -2
- package/models/operations/listagents.js.map +1 -1
- package/models/operations/listbudgets.js +2 -2
- package/models/operations/listcontacts.js +2 -2
- package/models/operations/listdatasetdatapoints.js +8 -8
- 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 +8 -8
- package/models/operations/retrievedataset.js +2 -2
- package/models/operations/retrievedatasource.js +2 -2
- package/models/operations/retrievetool.js +10 -10
- package/models/operations/runagent.d.ts +30 -1
- package/models/operations/runagent.d.ts.map +1 -1
- package/models/operations/runagent.js +35 -6
- package/models/operations/runagent.js.map +1 -1
- package/models/operations/streamrunagent.d.ts +30 -1
- package/models/operations/streamrunagent.d.ts.map +1 -1
- package/models/operations/streamrunagent.js +36 -6
- package/models/operations/streamrunagent.js.map +1 -1
- package/models/operations/syncmcptool.js +10 -10
- package/models/operations/updateagent.d.ts +61 -3
- package/models/operations/updateagent.d.ts.map +1 -1
- package/models/operations/updateagent.js +62 -6
- package/models/operations/updateagent.js.map +1 -1
- package/models/operations/updatebudget.js +2 -2
- package/models/operations/updatecontact.js +2 -2
- package/models/operations/updatedatapoint.js +8 -8
- package/models/operations/updatedataset.js +2 -2
- package/models/operations/updatedatasource.js +2 -2
- package/models/operations/updateeval.js +28 -28
- package/models/operations/updatetool.js +10 -10
- package/package.json +3 -6
- 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/operations/createagent.ts +138 -3
- 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 +8 -8
- package/src/models/operations/createdatasource.ts +2 -2
- package/src/models/operations/createeval.ts +28 -28
- package/src/models/operations/createtool.ts +10 -10
- package/src/models/operations/duplicateagent.ts +71 -0
- package/src/models/operations/duplicatetool.ts +10 -10
- 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/getagent.ts +67 -0
- package/src/models/operations/getalltools.ts +10 -10
- package/src/models/operations/getbudget.ts +2 -2
- package/src/models/operations/getevals.ts +28 -28
- package/src/models/operations/listagents.ts +69 -0
- package/src/models/operations/listbudgets.ts +2 -2
- package/src/models/operations/listcontacts.ts +2 -2
- package/src/models/operations/listdatasetdatapoints.ts +8 -8
- 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 +8 -8
- package/src/models/operations/retrievedataset.ts +2 -2
- package/src/models/operations/retrievedatasource.ts +2 -2
- package/src/models/operations/retrievetool.ts +10 -10
- package/src/models/operations/runagent.ts +75 -1
- package/src/models/operations/streamrunagent.ts +77 -1
- package/src/models/operations/syncmcptool.ts +10 -10
- package/src/models/operations/updateagent.ts +145 -3
- package/src/models/operations/updatebudget.ts +2 -2
- package/src/models/operations/updatecontact.ts +2 -2
- package/src/models/operations/updatedatapoint.ts +8 -8
- 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/updatetool.ts +10 -10
|
@@ -516,7 +516,7 @@ export const CreateBudgetResponseBody$inboundSchema: z.ZodType<
|
|
|
516
516
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
517
517
|
.optional(),
|
|
518
518
|
updated: z.string().datetime({ offset: true }).default(
|
|
519
|
-
"2025-11-
|
|
519
|
+
"2025-11-14T14:39:28.555Z",
|
|
520
520
|
).transform(v => new Date(v)),
|
|
521
521
|
}).transform((v) => {
|
|
522
522
|
return remap$(v, {
|
|
@@ -553,7 +553,7 @@ export const CreateBudgetResponseBody$outboundSchema: z.ZodType<
|
|
|
553
553
|
isActive: z.boolean(),
|
|
554
554
|
consumption: z.lazy(() => Consumption$outboundSchema).optional(),
|
|
555
555
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
556
|
-
updated: z.date().default(() => new Date("2025-11-
|
|
556
|
+
updated: z.date().default(() => new Date("2025-11-14T14:39:28.555Z"))
|
|
557
557
|
.transform(v => v.toISOString()),
|
|
558
558
|
}).transform((v) => {
|
|
559
559
|
return remap$(v, {
|
|
@@ -167,7 +167,7 @@ export const CreateContactResponseBody$inboundSchema: z.ZodType<
|
|
|
167
167
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
168
168
|
.optional(),
|
|
169
169
|
updated: z.string().datetime({ offset: true }).default(
|
|
170
|
-
"2025-11-
|
|
170
|
+
"2025-11-14T14:39:28.175Z",
|
|
171
171
|
).transform(v => new Date(v)),
|
|
172
172
|
}).transform((v) => {
|
|
173
173
|
return remap$(v, {
|
|
@@ -207,7 +207,7 @@ export const CreateContactResponseBody$outboundSchema: z.ZodType<
|
|
|
207
207
|
tags: z.array(z.string()).optional(),
|
|
208
208
|
metadata: z.record(z.any()).optional(),
|
|
209
209
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
210
|
-
updated: z.date().default(() => new Date("2025-11-
|
|
210
|
+
updated: z.date().default(() => new Date("2025-11-14T14:39:28.175Z"))
|
|
211
211
|
.transform(v => v.toISOString()),
|
|
212
212
|
}).transform((v) => {
|
|
213
213
|
return remap$(v, {
|
|
@@ -187,7 +187,7 @@ export const CreateDatasetResponseBody$inboundSchema: z.ZodType<
|
|
|
187
187
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
188
188
|
.optional(),
|
|
189
189
|
updated: z.string().datetime({ offset: true }).default(
|
|
190
|
-
"2025-11-
|
|
190
|
+
"2025-11-14T14:39:28.175Z",
|
|
191
191
|
).transform(v => new Date(v)),
|
|
192
192
|
}).transform((v) => {
|
|
193
193
|
return remap$(v, {
|
|
@@ -226,7 +226,7 @@ export const CreateDatasetResponseBody$outboundSchema: z.ZodType<
|
|
|
226
226
|
createdById: z.string().optional(),
|
|
227
227
|
updatedById: z.string().optional(),
|
|
228
228
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
229
|
-
updated: z.date().default(() => new Date("2025-11-
|
|
229
|
+
updated: z.date().default(() => new Date("2025-11-14T14:39:28.175Z"))
|
|
230
230
|
.transform(v => v.toISOString()),
|
|
231
231
|
}).transform((v) => {
|
|
232
232
|
return remap$(v, {
|
|
@@ -4929,7 +4929,7 @@ export const Evaluations3$inboundSchema: z.ZodType<
|
|
|
4929
4929
|
source: CreateDatasetItemEvaluationsSource$inboundSchema.default("orq"),
|
|
4930
4930
|
reviewed_by_id: z.string(),
|
|
4931
4931
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
4932
|
-
"2025-11-
|
|
4932
|
+
"2025-11-14T14:39:41.851Z",
|
|
4933
4933
|
).transform(v => new Date(v)),
|
|
4934
4934
|
type: CreateDatasetItemEvaluationsDatasetsType$inboundSchema,
|
|
4935
4935
|
values: z.array(z.string()),
|
|
@@ -4964,7 +4964,7 @@ export const Evaluations3$outboundSchema: z.ZodType<
|
|
|
4964
4964
|
humanReviewId: z.string(),
|
|
4965
4965
|
source: CreateDatasetItemEvaluationsSource$outboundSchema.default("orq"),
|
|
4966
4966
|
reviewedById: z.string(),
|
|
4967
|
-
reviewedAt: z.date().default(() => new Date("2025-11-
|
|
4967
|
+
reviewedAt: z.date().default(() => new Date("2025-11-14T14:39:41.851Z"))
|
|
4968
4968
|
.transform(v => v.toISOString()),
|
|
4969
4969
|
type: CreateDatasetItemEvaluationsDatasetsType$outboundSchema,
|
|
4970
4970
|
values: z.array(z.string()),
|
|
@@ -5029,7 +5029,7 @@ export const Evaluations2$inboundSchema: z.ZodType<
|
|
|
5029
5029
|
source: EvaluationsSource$inboundSchema.default("orq"),
|
|
5030
5030
|
reviewed_by_id: z.string(),
|
|
5031
5031
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
5032
|
-
"2025-11-
|
|
5032
|
+
"2025-11-14T14:39:41.851Z",
|
|
5033
5033
|
).transform(v => new Date(v)),
|
|
5034
5034
|
type: CreateDatasetItemEvaluationsType$inboundSchema,
|
|
5035
5035
|
value: z.number(),
|
|
@@ -5064,7 +5064,7 @@ export const Evaluations2$outboundSchema: z.ZodType<
|
|
|
5064
5064
|
humanReviewId: z.string(),
|
|
5065
5065
|
source: EvaluationsSource$outboundSchema.default("orq"),
|
|
5066
5066
|
reviewedById: z.string(),
|
|
5067
|
-
reviewedAt: z.date().default(() => new Date("2025-11-
|
|
5067
|
+
reviewedAt: z.date().default(() => new Date("2025-11-14T14:39:41.851Z"))
|
|
5068
5068
|
.transform(v => v.toISOString()),
|
|
5069
5069
|
type: CreateDatasetItemEvaluationsType$outboundSchema,
|
|
5070
5070
|
value: z.number(),
|
|
@@ -5127,7 +5127,7 @@ export const Evaluations1$inboundSchema: z.ZodType<
|
|
|
5127
5127
|
source: Source$inboundSchema.default("orq"),
|
|
5128
5128
|
reviewed_by_id: z.string(),
|
|
5129
5129
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
5130
|
-
"2025-11-
|
|
5130
|
+
"2025-11-14T14:39:41.850Z",
|
|
5131
5131
|
).transform(v => new Date(v)),
|
|
5132
5132
|
type: EvaluationsType$inboundSchema,
|
|
5133
5133
|
value: z.string(),
|
|
@@ -5162,7 +5162,7 @@ export const Evaluations1$outboundSchema: z.ZodType<
|
|
|
5162
5162
|
humanReviewId: z.string(),
|
|
5163
5163
|
source: Source$outboundSchema.default("orq"),
|
|
5164
5164
|
reviewedById: z.string(),
|
|
5165
|
-
reviewedAt: z.date().default(() => new Date("2025-11-
|
|
5165
|
+
reviewedAt: z.date().default(() => new Date("2025-11-14T14:39:41.850Z"))
|
|
5166
5166
|
.transform(v => v.toISOString()),
|
|
5167
5167
|
type: EvaluationsType$outboundSchema,
|
|
5168
5168
|
value: z.string(),
|
|
@@ -5267,7 +5267,7 @@ export const CreateDatasetItemResponseBody$inboundSchema: z.ZodType<
|
|
|
5267
5267
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
5268
5268
|
.optional(),
|
|
5269
5269
|
updated: z.string().datetime({ offset: true }).default(
|
|
5270
|
-
"2025-11-
|
|
5270
|
+
"2025-11-14T14:39:28.175Z",
|
|
5271
5271
|
).transform(v => new Date(v)),
|
|
5272
5272
|
}).transform((v) => {
|
|
5273
5273
|
return remap$(v, {
|
|
@@ -5345,7 +5345,7 @@ export const CreateDatasetItemResponseBody$outboundSchema: z.ZodType<
|
|
|
5345
5345
|
createdById: z.string().optional(),
|
|
5346
5346
|
updatedById: z.string().optional(),
|
|
5347
5347
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
5348
|
-
updated: z.date().default(() => new Date("2025-11-
|
|
5348
|
+
updated: z.date().default(() => new Date("2025-11-14T14:39:28.175Z"))
|
|
5349
5349
|
.transform(v => v.toISOString()),
|
|
5350
5350
|
}).transform((v) => {
|
|
5351
5351
|
return remap$(v, {
|
|
@@ -608,7 +608,7 @@ export const CreateDatasourceResponseBody$inboundSchema: z.ZodType<
|
|
|
608
608
|
z.ZodTypeDef,
|
|
609
609
|
unknown
|
|
610
610
|
> = z.object({
|
|
611
|
-
_id: z.string().default("
|
|
611
|
+
_id: z.string().default("01KA1CXJNHJH6YC2WKWHJNQ5D1"),
|
|
612
612
|
display_name: z.string(),
|
|
613
613
|
description: z.string().optional(),
|
|
614
614
|
status: CreateDatasourceStatus$inboundSchema,
|
|
@@ -651,7 +651,7 @@ export const CreateDatasourceResponseBody$outboundSchema: z.ZodType<
|
|
|
651
651
|
z.ZodTypeDef,
|
|
652
652
|
CreateDatasourceResponseBody
|
|
653
653
|
> = z.object({
|
|
654
|
-
id: z.string().default("
|
|
654
|
+
id: z.string().default("01KA1CXJNHJH6YC2WKWHJNQ5D1"),
|
|
655
655
|
displayName: z.string(),
|
|
656
656
|
description: z.string().optional(),
|
|
657
657
|
status: CreateDatasourceStatus$outboundSchema,
|
|
@@ -2756,8 +2756,8 @@ export const Typescript$inboundSchema: z.ZodType<
|
|
|
2756
2756
|
> = z.object({
|
|
2757
2757
|
_id: z.string(),
|
|
2758
2758
|
description: z.string(),
|
|
2759
|
-
created: z.string().default("2025-11-
|
|
2760
|
-
updated: z.string().default("2025-11-
|
|
2759
|
+
created: z.string().default("2025-11-14T14:39:30.872Z"),
|
|
2760
|
+
updated: z.string().default("2025-11-14T14:39:30.872Z"),
|
|
2761
2761
|
guardrail_config: z.union([
|
|
2762
2762
|
z.lazy(() =>
|
|
2763
2763
|
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody7Number$inboundSchema
|
|
@@ -2799,8 +2799,8 @@ export const Typescript$outboundSchema: z.ZodType<
|
|
|
2799
2799
|
> = z.object({
|
|
2800
2800
|
id: z.string(),
|
|
2801
2801
|
description: z.string(),
|
|
2802
|
-
created: z.string().default("2025-11-
|
|
2803
|
-
updated: z.string().default("2025-11-
|
|
2802
|
+
created: z.string().default("2025-11-14T14:39:30.872Z"),
|
|
2803
|
+
updated: z.string().default("2025-11-14T14:39:30.872Z"),
|
|
2804
2804
|
guardrailConfig: z.union([
|
|
2805
2805
|
z.lazy(() =>
|
|
2806
2806
|
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody7Number$outboundSchema
|
|
@@ -3081,8 +3081,8 @@ export const Ragas$inboundSchema: z.ZodType<Ragas, z.ZodTypeDef, unknown> = z
|
|
|
3081
3081
|
.object({
|
|
3082
3082
|
_id: z.string(),
|
|
3083
3083
|
description: z.string(),
|
|
3084
|
-
created: z.string().default("2025-11-
|
|
3085
|
-
updated: z.string().default("2025-11-
|
|
3084
|
+
created: z.string().default("2025-11-14T14:39:30.872Z"),
|
|
3085
|
+
updated: z.string().default("2025-11-14T14:39:30.872Z"),
|
|
3086
3086
|
guardrail_config: z.union([
|
|
3087
3087
|
z.lazy(() =>
|
|
3088
3088
|
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody6Number$inboundSchema
|
|
@@ -3127,8 +3127,8 @@ export const Ragas$outboundSchema: z.ZodType<
|
|
|
3127
3127
|
> = z.object({
|
|
3128
3128
|
id: z.string(),
|
|
3129
3129
|
description: z.string(),
|
|
3130
|
-
created: z.string().default("2025-11-
|
|
3131
|
-
updated: z.string().default("2025-11-
|
|
3130
|
+
created: z.string().default("2025-11-14T14:39:30.872Z"),
|
|
3131
|
+
updated: z.string().default("2025-11-14T14:39:30.872Z"),
|
|
3132
3132
|
guardrailConfig: z.union([
|
|
3133
3133
|
z.lazy(() =>
|
|
3134
3134
|
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody6Number$outboundSchema
|
|
@@ -5416,8 +5416,8 @@ export const CreateEvalResponseBodyFunction$inboundSchema: z.ZodType<
|
|
|
5416
5416
|
> = z.object({
|
|
5417
5417
|
_id: z.string(),
|
|
5418
5418
|
description: z.string(),
|
|
5419
|
-
created: z.string().default("2025-11-
|
|
5420
|
-
updated: z.string().default("2025-11-
|
|
5419
|
+
created: z.string().default("2025-11-14T14:39:30.872Z"),
|
|
5420
|
+
updated: z.string().default("2025-11-14T14:39:30.872Z"),
|
|
5421
5421
|
guardrail_config: z.union([
|
|
5422
5422
|
z.lazy(() =>
|
|
5423
5423
|
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody5Number$inboundSchema
|
|
@@ -5530,8 +5530,8 @@ export const CreateEvalResponseBodyFunction$outboundSchema: z.ZodType<
|
|
|
5530
5530
|
> = z.object({
|
|
5531
5531
|
id: z.string(),
|
|
5532
5532
|
description: z.string(),
|
|
5533
|
-
created: z.string().default("2025-11-
|
|
5534
|
-
updated: z.string().default("2025-11-
|
|
5533
|
+
created: z.string().default("2025-11-14T14:39:30.872Z"),
|
|
5534
|
+
updated: z.string().default("2025-11-14T14:39:30.872Z"),
|
|
5535
5535
|
guardrailConfig: z.union([
|
|
5536
5536
|
z.lazy(() =>
|
|
5537
5537
|
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody5Number$outboundSchema
|
|
@@ -5848,8 +5848,8 @@ export const ResponseBodyPython$inboundSchema: z.ZodType<
|
|
|
5848
5848
|
> = z.object({
|
|
5849
5849
|
_id: z.string(),
|
|
5850
5850
|
description: z.string(),
|
|
5851
|
-
created: z.string().default("2025-11-
|
|
5852
|
-
updated: z.string().default("2025-11-
|
|
5851
|
+
created: z.string().default("2025-11-14T14:39:30.872Z"),
|
|
5852
|
+
updated: z.string().default("2025-11-14T14:39:30.872Z"),
|
|
5853
5853
|
guardrail_config: z.union([
|
|
5854
5854
|
z.lazy(() =>
|
|
5855
5855
|
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyNumber$inboundSchema
|
|
@@ -5890,8 +5890,8 @@ export const ResponseBodyPython$outboundSchema: z.ZodType<
|
|
|
5890
5890
|
> = z.object({
|
|
5891
5891
|
id: z.string(),
|
|
5892
5892
|
description: z.string(),
|
|
5893
|
-
created: z.string().default("2025-11-
|
|
5894
|
-
updated: z.string().default("2025-11-
|
|
5893
|
+
created: z.string().default("2025-11-14T14:39:30.872Z"),
|
|
5894
|
+
updated: z.string().default("2025-11-14T14:39:30.872Z"),
|
|
5895
5895
|
guardrailConfig: z.union([
|
|
5896
5896
|
z.lazy(() =>
|
|
5897
5897
|
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyNumber$outboundSchema
|
|
@@ -6171,8 +6171,8 @@ export const ResponseBodyHTTP$inboundSchema: z.ZodType<
|
|
|
6171
6171
|
> = z.object({
|
|
6172
6172
|
_id: z.string(),
|
|
6173
6173
|
description: z.string(),
|
|
6174
|
-
created: z.string().default("2025-11-
|
|
6175
|
-
updated: z.string().default("2025-11-
|
|
6174
|
+
created: z.string().default("2025-11-14T14:39:30.872Z"),
|
|
6175
|
+
updated: z.string().default("2025-11-14T14:39:30.872Z"),
|
|
6176
6176
|
guardrail_config: z.union([
|
|
6177
6177
|
z.lazy(() =>
|
|
6178
6178
|
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONNumber$inboundSchema
|
|
@@ -6219,8 +6219,8 @@ export const ResponseBodyHTTP$outboundSchema: z.ZodType<
|
|
|
6219
6219
|
> = z.object({
|
|
6220
6220
|
id: z.string(),
|
|
6221
6221
|
description: z.string(),
|
|
6222
|
-
created: z.string().default("2025-11-
|
|
6223
|
-
updated: z.string().default("2025-11-
|
|
6222
|
+
created: z.string().default("2025-11-14T14:39:30.872Z"),
|
|
6223
|
+
updated: z.string().default("2025-11-14T14:39:30.872Z"),
|
|
6224
6224
|
guardrailConfig: z.union([
|
|
6225
6225
|
z.lazy(() =>
|
|
6226
6226
|
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONNumber$outboundSchema
|
|
@@ -6476,8 +6476,8 @@ export const ResponseBodyJSON$inboundSchema: z.ZodType<
|
|
|
6476
6476
|
> = z.object({
|
|
6477
6477
|
_id: z.string(),
|
|
6478
6478
|
description: z.string(),
|
|
6479
|
-
created: z.string().default("2025-11-
|
|
6480
|
-
updated: z.string().default("2025-11-
|
|
6479
|
+
created: z.string().default("2025-11-14T14:39:30.872Z"),
|
|
6480
|
+
updated: z.string().default("2025-11-14T14:39:30.872Z"),
|
|
6481
6481
|
guardrail_config: z.union([
|
|
6482
6482
|
z.lazy(() => CreateEvalGuardrailConfigEvalsResponse200Number$inboundSchema),
|
|
6483
6483
|
z.lazy(() =>
|
|
@@ -6516,8 +6516,8 @@ export const ResponseBodyJSON$outboundSchema: z.ZodType<
|
|
|
6516
6516
|
> = z.object({
|
|
6517
6517
|
id: z.string(),
|
|
6518
6518
|
description: z.string(),
|
|
6519
|
-
created: z.string().default("2025-11-
|
|
6520
|
-
updated: z.string().default("2025-11-
|
|
6519
|
+
created: z.string().default("2025-11-14T14:39:30.872Z"),
|
|
6520
|
+
updated: z.string().default("2025-11-14T14:39:30.872Z"),
|
|
6521
6521
|
guardrailConfig: z.union([
|
|
6522
6522
|
z.lazy(() =>
|
|
6523
6523
|
CreateEvalGuardrailConfigEvalsResponse200Number$outboundSchema
|
|
@@ -6755,8 +6755,8 @@ export const ResponseBodyLLM$inboundSchema: z.ZodType<
|
|
|
6755
6755
|
> = z.object({
|
|
6756
6756
|
_id: z.string(),
|
|
6757
6757
|
description: z.string(),
|
|
6758
|
-
created: z.string().default("2025-11-
|
|
6759
|
-
updated: z.string().default("2025-11-
|
|
6758
|
+
created: z.string().default("2025-11-14T14:39:30.872Z"),
|
|
6759
|
+
updated: z.string().default("2025-11-14T14:39:30.872Z"),
|
|
6760
6760
|
guardrail_config: z.union([
|
|
6761
6761
|
z.lazy(() => CreateEvalGuardrailConfigEvalsResponseNumber$inboundSchema),
|
|
6762
6762
|
z.lazy(() => CreateEvalGuardrailConfigEvalsResponseBoolean$inboundSchema),
|
|
@@ -6795,8 +6795,8 @@ export const ResponseBodyLLM$outboundSchema: z.ZodType<
|
|
|
6795
6795
|
> = z.object({
|
|
6796
6796
|
id: z.string(),
|
|
6797
6797
|
description: z.string(),
|
|
6798
|
-
created: z.string().default("2025-11-
|
|
6799
|
-
updated: z.string().default("2025-11-
|
|
6798
|
+
created: z.string().default("2025-11-14T14:39:30.872Z"),
|
|
6799
|
+
updated: z.string().default("2025-11-14T14:39:30.872Z"),
|
|
6800
6800
|
guardrailConfig: z.union([
|
|
6801
6801
|
z.lazy(() => CreateEvalGuardrailConfigEvalsResponseNumber$outboundSchema),
|
|
6802
6802
|
z.lazy(() => CreateEvalGuardrailConfigEvalsResponseBoolean$outboundSchema),
|
|
@@ -2570,7 +2570,7 @@ export const ResponseBody5$inboundSchema: z.ZodType<
|
|
|
2570
2570
|
z.ZodTypeDef,
|
|
2571
2571
|
unknown
|
|
2572
2572
|
> = z.object({
|
|
2573
|
-
_id: z.string().default("
|
|
2573
|
+
_id: z.string().default("tool_01KA1CXJGHQYCY7BGXKKH0NW09"),
|
|
2574
2574
|
path: z.string(),
|
|
2575
2575
|
key: z.string(),
|
|
2576
2576
|
display_name: z.string().optional(),
|
|
@@ -2624,7 +2624,7 @@ export const ResponseBody5$outboundSchema: z.ZodType<
|
|
|
2624
2624
|
z.ZodTypeDef,
|
|
2625
2625
|
ResponseBody5
|
|
2626
2626
|
> = z.object({
|
|
2627
|
-
id: z.string().default("
|
|
2627
|
+
id: z.string().default("tool_01KA1CXJGHQYCY7BGXKKH0NW09"),
|
|
2628
2628
|
path: z.string(),
|
|
2629
2629
|
key: z.string(),
|
|
2630
2630
|
displayName: z.string().optional(),
|
|
@@ -2905,7 +2905,7 @@ export const ResponseBody4$inboundSchema: z.ZodType<
|
|
|
2905
2905
|
z.ZodTypeDef,
|
|
2906
2906
|
unknown
|
|
2907
2907
|
> = z.object({
|
|
2908
|
-
_id: z.string().default("
|
|
2908
|
+
_id: z.string().default("tool_01KA1CXJGE9GQKK0Q238M4GV93"),
|
|
2909
2909
|
path: z.string(),
|
|
2910
2910
|
key: z.string(),
|
|
2911
2911
|
display_name: z.string().optional(),
|
|
@@ -2958,7 +2958,7 @@ export const ResponseBody4$outboundSchema: z.ZodType<
|
|
|
2958
2958
|
z.ZodTypeDef,
|
|
2959
2959
|
ResponseBody4
|
|
2960
2960
|
> = z.object({
|
|
2961
|
-
id: z.string().default("
|
|
2961
|
+
id: z.string().default("tool_01KA1CXJGE9GQKK0Q238M4GV93"),
|
|
2962
2962
|
path: z.string(),
|
|
2963
2963
|
key: z.string(),
|
|
2964
2964
|
displayName: z.string().optional(),
|
|
@@ -3314,7 +3314,7 @@ export const ResponseBody3$inboundSchema: z.ZodType<
|
|
|
3314
3314
|
z.ZodTypeDef,
|
|
3315
3315
|
unknown
|
|
3316
3316
|
> = z.object({
|
|
3317
|
-
_id: z.string().default("
|
|
3317
|
+
_id: z.string().default("tool_01KA1CXJGARPWGND5W59TFRZY0"),
|
|
3318
3318
|
path: z.string(),
|
|
3319
3319
|
key: z.string(),
|
|
3320
3320
|
display_name: z.string().optional(),
|
|
@@ -3365,7 +3365,7 @@ export const ResponseBody3$outboundSchema: z.ZodType<
|
|
|
3365
3365
|
z.ZodTypeDef,
|
|
3366
3366
|
ResponseBody3
|
|
3367
3367
|
> = z.object({
|
|
3368
|
-
id: z.string().default("
|
|
3368
|
+
id: z.string().default("tool_01KA1CXJGARPWGND5W59TFRZY0"),
|
|
3369
3369
|
path: z.string(),
|
|
3370
3370
|
key: z.string(),
|
|
3371
3371
|
displayName: z.string().optional(),
|
|
@@ -3535,7 +3535,7 @@ export const ResponseBody2$inboundSchema: z.ZodType<
|
|
|
3535
3535
|
z.ZodTypeDef,
|
|
3536
3536
|
unknown
|
|
3537
3537
|
> = z.object({
|
|
3538
|
-
_id: z.string().default("
|
|
3538
|
+
_id: z.string().default("tool_01KA1CXJG8FFFQVCDQRW0RWWJ7"),
|
|
3539
3539
|
path: z.string(),
|
|
3540
3540
|
key: z.string(),
|
|
3541
3541
|
display_name: z.string().optional(),
|
|
@@ -3587,7 +3587,7 @@ export const ResponseBody2$outboundSchema: z.ZodType<
|
|
|
3587
3587
|
z.ZodTypeDef,
|
|
3588
3588
|
ResponseBody2
|
|
3589
3589
|
> = z.object({
|
|
3590
|
-
id: z.string().default("
|
|
3590
|
+
id: z.string().default("tool_01KA1CXJG8FFFQVCDQRW0RWWJ7"),
|
|
3591
3591
|
path: z.string(),
|
|
3592
3592
|
key: z.string(),
|
|
3593
3593
|
displayName: z.string().optional(),
|
|
@@ -3773,7 +3773,7 @@ export const ResponseBody1$inboundSchema: z.ZodType<
|
|
|
3773
3773
|
z.ZodTypeDef,
|
|
3774
3774
|
unknown
|
|
3775
3775
|
> = z.object({
|
|
3776
|
-
_id: z.string().default("
|
|
3776
|
+
_id: z.string().default("tool_01KA1CXJG5N44NMZWXWT5AK38Q"),
|
|
3777
3777
|
path: z.string(),
|
|
3778
3778
|
key: z.string(),
|
|
3779
3779
|
display_name: z.string().optional(),
|
|
@@ -3824,7 +3824,7 @@ export const ResponseBody1$outboundSchema: z.ZodType<
|
|
|
3824
3824
|
z.ZodTypeDef,
|
|
3825
3825
|
ResponseBody1
|
|
3826
3826
|
> = z.object({
|
|
3827
|
-
id: z.string().default("
|
|
3827
|
+
id: z.string().default("tool_01KA1CXJG5N44NMZWXWT5AK38Q"),
|
|
3828
3828
|
path: z.string(),
|
|
3829
3829
|
key: z.string(),
|
|
3830
3830
|
displayName: z.string().optional(),
|
|
@@ -474,6 +474,20 @@ export type DuplicateAgentParameters = {
|
|
|
474
474
|
modalities?: Array<DuplicateAgentModalities> | null | undefined;
|
|
475
475
|
};
|
|
476
476
|
|
|
477
|
+
/**
|
|
478
|
+
* Retry configuration for model requests. Allows customizing retry count (1-5) and HTTP status codes that trigger retries. Default codes: [429]. Common codes: 500 (internal error), 429 (rate limit), 502/503/504 (gateway errors).
|
|
479
|
+
*/
|
|
480
|
+
export type DuplicateAgentRetry = {
|
|
481
|
+
/**
|
|
482
|
+
* Number of retry attempts (1-5)
|
|
483
|
+
*/
|
|
484
|
+
count?: number | undefined;
|
|
485
|
+
/**
|
|
486
|
+
* HTTP status codes that trigger retry logic
|
|
487
|
+
*/
|
|
488
|
+
onCodes?: Array<number> | undefined;
|
|
489
|
+
};
|
|
490
|
+
|
|
477
491
|
/**
|
|
478
492
|
* The voice the model uses to respond. Supported voices are alloy, echo, fable, onyx, nova, and shimmer.
|
|
479
493
|
*/
|
|
@@ -836,6 +850,10 @@ export type DuplicateAgentModel = {
|
|
|
836
850
|
* Model behavior parameters (snake_case) stored as part of the agent configuration. These become the default parameters used when the agent is executed. Commonly used: temperature (0-1, controls randomness), max_completion_tokens (response length), top_p (nucleus sampling). Advanced: frequency_penalty, presence_penalty, response_format (JSON/structured output), reasoning_effort (for o1/thinking models), seed (reproducibility), stop sequences. Model-specific support varies. Runtime parameters in agent execution requests can override these defaults.
|
|
837
851
|
*/
|
|
838
852
|
parameters?: DuplicateAgentParameters | undefined;
|
|
853
|
+
/**
|
|
854
|
+
* Retry configuration for model requests. Allows customizing retry count (1-5) and HTTP status codes that trigger retries. Default codes: [429]. Common codes: 500 (internal error), 429 (rate limit), 502/503/504 (gateway errors).
|
|
855
|
+
*/
|
|
856
|
+
retry?: DuplicateAgentRetry | undefined;
|
|
839
857
|
/**
|
|
840
858
|
* Optional array of fallback models (string IDs or config objects) that will be used automatically in order if the primary model fails
|
|
841
859
|
*/
|
|
@@ -2076,6 +2094,56 @@ export function duplicateAgentParametersFromJSON(
|
|
|
2076
2094
|
);
|
|
2077
2095
|
}
|
|
2078
2096
|
|
|
2097
|
+
/** @internal */
|
|
2098
|
+
export const DuplicateAgentRetry$inboundSchema: z.ZodType<
|
|
2099
|
+
DuplicateAgentRetry,
|
|
2100
|
+
z.ZodTypeDef,
|
|
2101
|
+
unknown
|
|
2102
|
+
> = z.object({
|
|
2103
|
+
count: z.number().default(3),
|
|
2104
|
+
on_codes: z.array(z.number()).optional(),
|
|
2105
|
+
}).transform((v) => {
|
|
2106
|
+
return remap$(v, {
|
|
2107
|
+
"on_codes": "onCodes",
|
|
2108
|
+
});
|
|
2109
|
+
});
|
|
2110
|
+
/** @internal */
|
|
2111
|
+
export type DuplicateAgentRetry$Outbound = {
|
|
2112
|
+
count: number;
|
|
2113
|
+
on_codes?: Array<number> | undefined;
|
|
2114
|
+
};
|
|
2115
|
+
|
|
2116
|
+
/** @internal */
|
|
2117
|
+
export const DuplicateAgentRetry$outboundSchema: z.ZodType<
|
|
2118
|
+
DuplicateAgentRetry$Outbound,
|
|
2119
|
+
z.ZodTypeDef,
|
|
2120
|
+
DuplicateAgentRetry
|
|
2121
|
+
> = z.object({
|
|
2122
|
+
count: z.number().default(3),
|
|
2123
|
+
onCodes: z.array(z.number()).optional(),
|
|
2124
|
+
}).transform((v) => {
|
|
2125
|
+
return remap$(v, {
|
|
2126
|
+
onCodes: "on_codes",
|
|
2127
|
+
});
|
|
2128
|
+
});
|
|
2129
|
+
|
|
2130
|
+
export function duplicateAgentRetryToJSON(
|
|
2131
|
+
duplicateAgentRetry: DuplicateAgentRetry,
|
|
2132
|
+
): string {
|
|
2133
|
+
return JSON.stringify(
|
|
2134
|
+
DuplicateAgentRetry$outboundSchema.parse(duplicateAgentRetry),
|
|
2135
|
+
);
|
|
2136
|
+
}
|
|
2137
|
+
export function duplicateAgentRetryFromJSON(
|
|
2138
|
+
jsonString: string,
|
|
2139
|
+
): SafeParseResult<DuplicateAgentRetry, SDKValidationError> {
|
|
2140
|
+
return safeParse(
|
|
2141
|
+
jsonString,
|
|
2142
|
+
(x) => DuplicateAgentRetry$inboundSchema.parse(JSON.parse(x)),
|
|
2143
|
+
`Failed to parse 'DuplicateAgentRetry' from JSON`,
|
|
2144
|
+
);
|
|
2145
|
+
}
|
|
2146
|
+
|
|
2079
2147
|
/** @internal */
|
|
2080
2148
|
export const DuplicateAgentFallbackModelConfigurationVoice$inboundSchema:
|
|
2081
2149
|
z.ZodNativeEnum<typeof DuplicateAgentFallbackModelConfigurationVoice> = z
|
|
@@ -3112,6 +3180,7 @@ export const DuplicateAgentModel$inboundSchema: z.ZodType<
|
|
|
3112
3180
|
id: z.string(),
|
|
3113
3181
|
integration_id: z.nullable(z.string()).optional(),
|
|
3114
3182
|
parameters: z.lazy(() => DuplicateAgentParameters$inboundSchema).optional(),
|
|
3183
|
+
retry: z.lazy(() => DuplicateAgentRetry$inboundSchema).optional(),
|
|
3115
3184
|
fallback_models: z.nullable(
|
|
3116
3185
|
z.array(z.union([
|
|
3117
3186
|
z.lazy(() => DuplicateAgentFallbackModelConfiguration2$inboundSchema),
|
|
@@ -3129,6 +3198,7 @@ export type DuplicateAgentModel$Outbound = {
|
|
|
3129
3198
|
id: string;
|
|
3130
3199
|
integration_id?: string | null | undefined;
|
|
3131
3200
|
parameters?: DuplicateAgentParameters$Outbound | undefined;
|
|
3201
|
+
retry?: DuplicateAgentRetry$Outbound | undefined;
|
|
3132
3202
|
fallback_models?:
|
|
3133
3203
|
| Array<DuplicateAgentFallbackModelConfiguration2$Outbound | string>
|
|
3134
3204
|
| null
|
|
@@ -3144,6 +3214,7 @@ export const DuplicateAgentModel$outboundSchema: z.ZodType<
|
|
|
3144
3214
|
id: z.string(),
|
|
3145
3215
|
integrationId: z.nullable(z.string()).optional(),
|
|
3146
3216
|
parameters: z.lazy(() => DuplicateAgentParameters$outboundSchema).optional(),
|
|
3217
|
+
retry: z.lazy(() => DuplicateAgentRetry$outboundSchema).optional(),
|
|
3147
3218
|
fallbackModels: z.nullable(
|
|
3148
3219
|
z.array(z.union([
|
|
3149
3220
|
z.lazy(() => DuplicateAgentFallbackModelConfiguration2$outboundSchema),
|
|
@@ -955,7 +955,7 @@ export const DuplicateToolResponseBody5$inboundSchema: z.ZodType<
|
|
|
955
955
|
z.ZodTypeDef,
|
|
956
956
|
unknown
|
|
957
957
|
> = z.object({
|
|
958
|
-
_id: z.string().default("
|
|
958
|
+
_id: z.string().default("tool_01KA1CXJHTJJMFNA8V078H5M26"),
|
|
959
959
|
path: z.string(),
|
|
960
960
|
key: z.string(),
|
|
961
961
|
display_name: z.string().optional(),
|
|
@@ -1010,7 +1010,7 @@ export const DuplicateToolResponseBody5$outboundSchema: z.ZodType<
|
|
|
1010
1010
|
z.ZodTypeDef,
|
|
1011
1011
|
DuplicateToolResponseBody5
|
|
1012
1012
|
> = z.object({
|
|
1013
|
-
id: z.string().default("
|
|
1013
|
+
id: z.string().default("tool_01KA1CXJHTJJMFNA8V078H5M26"),
|
|
1014
1014
|
path: z.string(),
|
|
1015
1015
|
key: z.string(),
|
|
1016
1016
|
displayName: z.string().optional(),
|
|
@@ -1312,7 +1312,7 @@ export const DuplicateToolResponseBody4$inboundSchema: z.ZodType<
|
|
|
1312
1312
|
z.ZodTypeDef,
|
|
1313
1313
|
unknown
|
|
1314
1314
|
> = z.object({
|
|
1315
|
-
_id: z.string().default("
|
|
1315
|
+
_id: z.string().default("tool_01KA1CXJHR6BG4MCQGJYJFZ6PZ"),
|
|
1316
1316
|
path: z.string(),
|
|
1317
1317
|
key: z.string(),
|
|
1318
1318
|
display_name: z.string().optional(),
|
|
@@ -1365,7 +1365,7 @@ export const DuplicateToolResponseBody4$outboundSchema: z.ZodType<
|
|
|
1365
1365
|
z.ZodTypeDef,
|
|
1366
1366
|
DuplicateToolResponseBody4
|
|
1367
1367
|
> = z.object({
|
|
1368
|
-
id: z.string().default("
|
|
1368
|
+
id: z.string().default("tool_01KA1CXJHR6BG4MCQGJYJFZ6PZ"),
|
|
1369
1369
|
path: z.string(),
|
|
1370
1370
|
key: z.string(),
|
|
1371
1371
|
displayName: z.string().optional(),
|
|
@@ -1746,7 +1746,7 @@ export const DuplicateToolResponseBody3$inboundSchema: z.ZodType<
|
|
|
1746
1746
|
z.ZodTypeDef,
|
|
1747
1747
|
unknown
|
|
1748
1748
|
> = z.object({
|
|
1749
|
-
_id: z.string().default("
|
|
1749
|
+
_id: z.string().default("tool_01KA1CXJHP0S5KP16DVH4AY2AB"),
|
|
1750
1750
|
path: z.string(),
|
|
1751
1751
|
key: z.string(),
|
|
1752
1752
|
display_name: z.string().optional(),
|
|
@@ -1799,7 +1799,7 @@ export const DuplicateToolResponseBody3$outboundSchema: z.ZodType<
|
|
|
1799
1799
|
z.ZodTypeDef,
|
|
1800
1800
|
DuplicateToolResponseBody3
|
|
1801
1801
|
> = z.object({
|
|
1802
|
-
id: z.string().default("
|
|
1802
|
+
id: z.string().default("tool_01KA1CXJHP0S5KP16DVH4AY2AB"),
|
|
1803
1803
|
path: z.string(),
|
|
1804
1804
|
key: z.string(),
|
|
1805
1805
|
displayName: z.string().optional(),
|
|
@@ -1981,7 +1981,7 @@ export const DuplicateToolResponseBody2$inboundSchema: z.ZodType<
|
|
|
1981
1981
|
z.ZodTypeDef,
|
|
1982
1982
|
unknown
|
|
1983
1983
|
> = z.object({
|
|
1984
|
-
_id: z.string().default("
|
|
1984
|
+
_id: z.string().default("tool_01KA1CXJHDF4JC2N9T1A3NJXD5"),
|
|
1985
1985
|
path: z.string(),
|
|
1986
1986
|
key: z.string(),
|
|
1987
1987
|
display_name: z.string().optional(),
|
|
@@ -2033,7 +2033,7 @@ export const DuplicateToolResponseBody2$outboundSchema: z.ZodType<
|
|
|
2033
2033
|
z.ZodTypeDef,
|
|
2034
2034
|
DuplicateToolResponseBody2
|
|
2035
2035
|
> = z.object({
|
|
2036
|
-
id: z.string().default("
|
|
2036
|
+
id: z.string().default("tool_01KA1CXJHDF4JC2N9T1A3NJXD5"),
|
|
2037
2037
|
path: z.string(),
|
|
2038
2038
|
key: z.string(),
|
|
2039
2039
|
displayName: z.string().optional(),
|
|
@@ -2231,7 +2231,7 @@ export const DuplicateToolResponseBody1$inboundSchema: z.ZodType<
|
|
|
2231
2231
|
z.ZodTypeDef,
|
|
2232
2232
|
unknown
|
|
2233
2233
|
> = z.object({
|
|
2234
|
-
_id: z.string().default("
|
|
2234
|
+
_id: z.string().default("tool_01KA1CXJHBYPHR69AFEZ5J6NGZ"),
|
|
2235
2235
|
path: z.string(),
|
|
2236
2236
|
key: z.string(),
|
|
2237
2237
|
display_name: z.string().optional(),
|
|
@@ -2282,7 +2282,7 @@ export const DuplicateToolResponseBody1$outboundSchema: z.ZodType<
|
|
|
2282
2282
|
z.ZodTypeDef,
|
|
2283
2283
|
DuplicateToolResponseBody1
|
|
2284
2284
|
> = z.object({
|
|
2285
|
-
id: z.string().default("
|
|
2285
|
+
id: z.string().default("tool_01KA1CXJHBYPHR69AFEZ5J6NGZ"),
|
|
2286
2286
|
path: z.string(),
|
|
2287
2287
|
key: z.string(),
|
|
2288
2288
|
displayName: z.string().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-11-
|
|
122
|
+
"2025-11-14T14:39:31.806Z",
|
|
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-11-
|
|
155
|
+
created: z.date().default(() => new Date("2025-11-14T14:39:31.806Z"))
|
|
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-11-
|
|
160
|
+
"2025-11-14T14:39:31.806Z",
|
|
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-11-
|
|
193
|
+
created: z.date().default(() => new Date("2025-11-14T14:39:31.806Z"))
|
|
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-11-
|
|
199
|
+
"2025-11-14T14:39:31.806Z",
|
|
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-11-
|
|
232
|
+
created: z.date().default(() => new Date("2025-11-14T14:39:31.806Z"))
|
|
233
233
|
.transform(v => v.toISOString()),
|
|
234
234
|
}).transform((v) => {
|
|
235
235
|
return remap$(v, {
|