@orq-ai/node 4.15.0-rc.26 → 4.15.0-rc.28
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/funcs/budgetsCreate.d.ts +1 -1
- package/funcs/budgetsCreate.js +1 -1
- package/funcs/budgetsDelete.d.ts +1 -1
- package/funcs/budgetsDelete.js +1 -1
- package/funcs/budgetsGet.d.ts +1 -1
- package/funcs/budgetsGet.js +1 -1
- package/funcs/budgetsList.d.ts +1 -1
- package/funcs/budgetsList.js +1 -1
- package/funcs/budgetsResetConsumption.d.ts +1 -1
- package/funcs/budgetsResetConsumption.js +1 -1
- package/funcs/budgetsUpdate.d.ts +1 -1
- package/funcs/budgetsUpdate.js +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +2 -2
- package/lib/config.js +2 -2
- package/models/components/managementkey.d.ts +3 -4
- package/models/components/managementkey.d.ts.map +1 -1
- package/models/components/managementkey.js.map +1 -1
- package/models/components/modelmetadata.d.ts +2 -0
- package/models/components/modelmetadata.d.ts.map +1 -1
- package/models/components/modelmetadata.js +4 -0
- package/models/components/modelmetadata.js.map +1 -1
- package/models/components/reasoningpart.js +1 -1
- package/models/operations/createdataset.js +1 -1
- package/models/operations/createdatasetitem.js +5 -5
- package/models/operations/createtool.js +4 -4
- package/models/operations/getalltools.js +4 -4
- package/models/operations/getv2humanevalsets.js +2 -2
- package/models/operations/getv2humanevalsetsid.js +2 -2
- package/models/operations/listdatasetdatapoints.js +5 -5
- package/models/operations/listdatasets.js +1 -1
- package/models/operations/patchv2humanevalsetsid.js +2 -2
- package/models/operations/postv2feedbackevaluation.js +4 -4
- package/models/operations/postv2humanevalsets.js +2 -2
- package/models/operations/retrievedatapoint.js +5 -5
- package/models/operations/retrievedataset.js +1 -1
- package/models/operations/retrievetool.js +4 -4
- package/models/operations/runagent.js +1 -1
- package/models/operations/streamrunagent.js +1 -1
- package/models/operations/updatedatapoint.js +5 -5
- package/models/operations/updatedataset.js +1 -1
- package/models/operations/updatetool.js +4 -4
- package/package.json +1 -1
- package/sdk/budgets.d.ts +6 -6
- package/sdk/budgets.js +6 -6
- package/src/funcs/budgetsCreate.ts +1 -1
- package/src/funcs/budgetsDelete.ts +1 -1
- package/src/funcs/budgetsGet.ts +1 -1
- package/src/funcs/budgetsList.ts +1 -1
- package/src/funcs/budgetsResetConsumption.ts +1 -1
- package/src/funcs/budgetsUpdate.ts +1 -1
- package/src/lib/config.ts +2 -2
- package/src/models/components/managementkey.ts +3 -4
- package/src/models/components/modelmetadata.ts +6 -0
- package/src/models/components/reasoningpart.ts +1 -1
- package/src/models/operations/createdataset.ts +1 -1
- package/src/models/operations/createdatasetitem.ts +5 -5
- package/src/models/operations/createtool.ts +4 -4
- package/src/models/operations/getalltools.ts +4 -4
- package/src/models/operations/getv2humanevalsets.ts +2 -2
- package/src/models/operations/getv2humanevalsetsid.ts +2 -2
- package/src/models/operations/listdatasetdatapoints.ts +5 -5
- package/src/models/operations/listdatasets.ts +1 -1
- package/src/models/operations/patchv2humanevalsetsid.ts +2 -2
- package/src/models/operations/postv2feedbackevaluation.ts +4 -4
- package/src/models/operations/postv2humanevalsets.ts +2 -2
- package/src/models/operations/retrievedatapoint.ts +5 -5
- package/src/models/operations/retrievedataset.ts +1 -1
- package/src/models/operations/retrievetool.ts +4 -4
- package/src/models/operations/runagent.ts +1 -1
- package/src/models/operations/streamrunagent.ts +1 -1
- package/src/models/operations/updatedatapoint.ts +5 -5
- package/src/models/operations/updatedataset.ts +1 -1
- package/src/models/operations/updatetool.ts +4 -4
- package/src/sdk/budgets.ts +6 -6
|
@@ -529,7 +529,7 @@ exports.ListDatasetDatapointsEvaluations4$inboundSchema = z.object({
|
|
|
529
529
|
parent_annotation_id: z.string().optional(),
|
|
530
530
|
explanation: z.string().optional(),
|
|
531
531
|
reviewed_by_id: z.string(),
|
|
532
|
-
reviewed_at: z.string().datetime({ offset: true }).default("2026-09-
|
|
532
|
+
reviewed_at: z.string().datetime({ offset: true }).default("2026-09-08T14:04:03.563Z").transform(v => new Date(v)),
|
|
533
533
|
type: z.literal("string_array"),
|
|
534
534
|
values: z.array(z.string()),
|
|
535
535
|
}).transform((v) => {
|
|
@@ -581,7 +581,7 @@ exports.ListDatasetDatapointsEvaluations3$inboundSchema = z.object({
|
|
|
581
581
|
parent_annotation_id: z.string().optional(),
|
|
582
582
|
explanation: z.string().optional(),
|
|
583
583
|
reviewed_by_id: z.string(),
|
|
584
|
-
reviewed_at: z.string().datetime({ offset: true }).default("2026-09-
|
|
584
|
+
reviewed_at: z.string().datetime({ offset: true }).default("2026-09-08T14:04:03.563Z").transform(v => new Date(v)),
|
|
585
585
|
type: z.literal("boolean"),
|
|
586
586
|
value: z.boolean(),
|
|
587
587
|
}).transform((v) => {
|
|
@@ -630,7 +630,7 @@ exports.ListDatasetDatapointsEvaluations2$inboundSchema = z.object({
|
|
|
630
630
|
parent_annotation_id: z.string().optional(),
|
|
631
631
|
explanation: z.string().optional(),
|
|
632
632
|
reviewed_by_id: z.string(),
|
|
633
|
-
reviewed_at: z.string().datetime({ offset: true }).default("2026-09-
|
|
633
|
+
reviewed_at: z.string().datetime({ offset: true }).default("2026-09-08T14:04:03.563Z").transform(v => new Date(v)),
|
|
634
634
|
type: z.literal("number"),
|
|
635
635
|
value: z.number(),
|
|
636
636
|
}).transform((v) => {
|
|
@@ -680,7 +680,7 @@ exports.ListDatasetDatapointsEvaluations1$inboundSchema = z.object({
|
|
|
680
680
|
parent_annotation_id: z.string().optional(),
|
|
681
681
|
explanation: z.string().optional(),
|
|
682
682
|
reviewed_by_id: z.string(),
|
|
683
|
-
reviewed_at: z.string().datetime({ offset: true }).default("2026-09-
|
|
683
|
+
reviewed_at: z.string().datetime({ offset: true }).default("2026-09-08T14:04:03.562Z").transform(v => new Date(v)),
|
|
684
684
|
type: z.literal("string"),
|
|
685
685
|
value: z.string(),
|
|
686
686
|
}).transform((v) => {
|
|
@@ -731,7 +731,7 @@ exports.ListDatasetDatapointsData$inboundSchema = z.object({
|
|
|
731
731
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
732
732
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
733
733
|
.optional(),
|
|
734
|
-
updated: z.string().datetime({ offset: true }).default("2026-09-
|
|
734
|
+
updated: z.string().datetime({ offset: true }).default("2026-09-08T14:03:54.711Z").transform(v => new Date(v)),
|
|
735
735
|
}).transform((v) => {
|
|
736
736
|
return (0, primitives_js_1.remap)(v, {
|
|
737
737
|
"_id": "id",
|
|
@@ -90,7 +90,7 @@ exports.ListDatasetsData$inboundSchema = z.object({
|
|
|
90
90
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
91
91
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
92
92
|
.optional(),
|
|
93
|
-
updated: z.string().datetime({ offset: true }).default("2026-09-
|
|
93
|
+
updated: z.string().datetime({ offset: true }).default("2026-09-08T14:03:54.711Z").transform(v => new Date(v)),
|
|
94
94
|
}).transform((v) => {
|
|
95
95
|
return (0, primitives_js_1.remap)(v, {
|
|
96
96
|
"_id": "id",
|
|
@@ -122,7 +122,7 @@ exports.PatchV2HumanEvalSetsIdResponseBody2$inboundSchema = z.object({
|
|
|
122
122
|
updated_by_id: z.string().optional(),
|
|
123
123
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
124
124
|
.optional(),
|
|
125
|
-
updated: z.string().datetime({ offset: true }).default("2026-09-
|
|
125
|
+
updated: z.string().datetime({ offset: true }).default("2026-09-08T14:03:54.711Z").transform(v => new Date(v)),
|
|
126
126
|
filter_type: z.literal("name"),
|
|
127
127
|
filter_value: z.string(),
|
|
128
128
|
}).transform((v) => {
|
|
@@ -153,7 +153,7 @@ exports.PatchV2HumanEvalSetsIdResponseBody1$inboundSchema = z.object({
|
|
|
153
153
|
updated_by_id: z.string().optional(),
|
|
154
154
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
155
155
|
.optional(),
|
|
156
|
-
updated: z.string().datetime({ offset: true }).default("2026-09-
|
|
156
|
+
updated: z.string().datetime({ offset: true }).default("2026-09-08T14:03:54.711Z").transform(v => new Date(v)),
|
|
157
157
|
filter_type: z.literal("span_type"),
|
|
158
158
|
filter_values: z.array(z.string()),
|
|
159
159
|
}).transform((v) => {
|
|
@@ -96,7 +96,7 @@ exports.RequestBody4$outboundSchema = z.object({
|
|
|
96
96
|
source: exports.PostV2FeedbackEvaluationRequestBodyFeedbackRequestSource$outboundSchema
|
|
97
97
|
.default("orq"),
|
|
98
98
|
explanation: z.string().optional(),
|
|
99
|
-
reviewedAt: z.date().default(() => new Date("2026-09-
|
|
99
|
+
reviewedAt: z.date().default(() => new Date("2026-09-08T14:04:03.632Z"))
|
|
100
100
|
.transform(v => v.toISOString()),
|
|
101
101
|
type: z.literal("string_array"),
|
|
102
102
|
values: z.array(z.string()),
|
|
@@ -126,7 +126,7 @@ exports.Three$outboundSchema = z.object({
|
|
|
126
126
|
source: exports.PostV2FeedbackEvaluationRequestBodyFeedbackSource$outboundSchema
|
|
127
127
|
.default("orq"),
|
|
128
128
|
explanation: z.string().optional(),
|
|
129
|
-
reviewedAt: z.date().default(() => new Date("2026-09-
|
|
129
|
+
reviewedAt: z.date().default(() => new Date("2026-09-08T14:04:03.632Z"))
|
|
130
130
|
.transform(v => v.toISOString()),
|
|
131
131
|
type: z.literal("boolean"),
|
|
132
132
|
value: z.boolean(),
|
|
@@ -154,7 +154,7 @@ exports.RequestBody2$outboundSchema = z.object({
|
|
|
154
154
|
humanReviewId: z.string().optional(),
|
|
155
155
|
source: exports.PostV2FeedbackEvaluationRequestBodySource$outboundSchema.default("orq"),
|
|
156
156
|
explanation: z.string().optional(),
|
|
157
|
-
reviewedAt: z.date().default(() => new Date("2026-09-
|
|
157
|
+
reviewedAt: z.date().default(() => new Date("2026-09-08T14:04:03.631Z"))
|
|
158
158
|
.transform(v => v.toISOString()),
|
|
159
159
|
type: z.literal("number"),
|
|
160
160
|
value: z.number(),
|
|
@@ -181,7 +181,7 @@ exports.RequestBody1$outboundSchema = z.object({
|
|
|
181
181
|
humanReviewId: z.string().optional(),
|
|
182
182
|
source: exports.RequestBodySource$outboundSchema.default("orq"),
|
|
183
183
|
explanation: z.string().optional(),
|
|
184
|
-
reviewedAt: z.date().default(() => new Date("2026-09-
|
|
184
|
+
reviewedAt: z.date().default(() => new Date("2026-09-08T14:04:03.631Z"))
|
|
185
185
|
.transform(v => v.toISOString()),
|
|
186
186
|
type: z.literal("string"),
|
|
187
187
|
value: z.string(),
|
|
@@ -106,7 +106,7 @@ exports.PostV2HumanEvalSetsResponseBody2$inboundSchema = z.object({
|
|
|
106
106
|
updated_by_id: z.string().optional(),
|
|
107
107
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
108
108
|
.optional(),
|
|
109
|
-
updated: z.string().datetime({ offset: true }).default("2026-09-
|
|
109
|
+
updated: z.string().datetime({ offset: true }).default("2026-09-08T14:03:54.711Z").transform(v => new Date(v)),
|
|
110
110
|
filter_type: z.literal("name"),
|
|
111
111
|
filter_value: z.string(),
|
|
112
112
|
}).transform((v) => {
|
|
@@ -137,7 +137,7 @@ exports.PostV2HumanEvalSetsResponseBody1$inboundSchema = z.object({
|
|
|
137
137
|
updated_by_id: z.string().optional(),
|
|
138
138
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
139
139
|
.optional(),
|
|
140
|
-
updated: z.string().datetime({ offset: true }).default("2026-09-
|
|
140
|
+
updated: z.string().datetime({ offset: true }).default("2026-09-08T14:03:54.711Z").transform(v => new Date(v)),
|
|
141
141
|
filter_type: z.literal("span_type"),
|
|
142
142
|
filter_values: z.array(z.string()),
|
|
143
143
|
}).transform((v) => {
|
|
@@ -520,7 +520,7 @@ exports.RetrieveDatapointEvaluations4$inboundSchema = z.object({
|
|
|
520
520
|
parent_annotation_id: z.string().optional(),
|
|
521
521
|
explanation: z.string().optional(),
|
|
522
522
|
reviewed_by_id: z.string(),
|
|
523
|
-
reviewed_at: z.string().datetime({ offset: true }).default("2026-09-
|
|
523
|
+
reviewed_at: z.string().datetime({ offset: true }).default("2026-09-08T14:04:03.569Z").transform(v => new Date(v)),
|
|
524
524
|
type: z.literal("string_array"),
|
|
525
525
|
values: z.array(z.string()),
|
|
526
526
|
}).transform((v) => {
|
|
@@ -571,7 +571,7 @@ exports.Evaluations3$inboundSchema = z.object({
|
|
|
571
571
|
parent_annotation_id: z.string().optional(),
|
|
572
572
|
explanation: z.string().optional(),
|
|
573
573
|
reviewed_by_id: z.string(),
|
|
574
|
-
reviewed_at: z.string().datetime({ offset: true }).default("2026-09-
|
|
574
|
+
reviewed_at: z.string().datetime({ offset: true }).default("2026-09-08T14:04:03.568Z").transform(v => new Date(v)),
|
|
575
575
|
type: z.literal("boolean"),
|
|
576
576
|
value: z.boolean(),
|
|
577
577
|
}).transform((v) => {
|
|
@@ -623,7 +623,7 @@ exports.RetrieveDatapointEvaluations2$inboundSchema = z.object({
|
|
|
623
623
|
parent_annotation_id: z.string().optional(),
|
|
624
624
|
explanation: z.string().optional(),
|
|
625
625
|
reviewed_by_id: z.string(),
|
|
626
|
-
reviewed_at: z.string().datetime({ offset: true }).default("2026-09-
|
|
626
|
+
reviewed_at: z.string().datetime({ offset: true }).default("2026-09-08T14:04:03.567Z").transform(v => new Date(v)),
|
|
627
627
|
type: z.literal("number"),
|
|
628
628
|
value: z.number(),
|
|
629
629
|
}).transform((v) => {
|
|
@@ -674,7 +674,7 @@ exports.RetrieveDatapointEvaluations1$inboundSchema = z.object({
|
|
|
674
674
|
parent_annotation_id: z.string().optional(),
|
|
675
675
|
explanation: z.string().optional(),
|
|
676
676
|
reviewed_by_id: z.string(),
|
|
677
|
-
reviewed_at: z.string().datetime({ offset: true }).default("2026-09-
|
|
677
|
+
reviewed_at: z.string().datetime({ offset: true }).default("2026-09-08T14:04:03.566Z").transform(v => new Date(v)),
|
|
678
678
|
type: z.literal("string"),
|
|
679
679
|
value: z.string(),
|
|
680
680
|
}).transform((v) => {
|
|
@@ -725,7 +725,7 @@ exports.RetrieveDatapointResponseBody$inboundSchema = z.object({
|
|
|
725
725
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
726
726
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
727
727
|
.optional(),
|
|
728
|
-
updated: z.string().datetime({ offset: true }).default("2026-09-
|
|
728
|
+
updated: z.string().datetime({ offset: true }).default("2026-09-08T14:03:54.711Z").transform(v => new Date(v)),
|
|
729
729
|
}).transform((v) => {
|
|
730
730
|
return (0, primitives_js_1.remap)(v, {
|
|
731
731
|
"_id": "id",
|
|
@@ -78,7 +78,7 @@ exports.RetrieveDatasetResponseBody$inboundSchema = z.object({
|
|
|
78
78
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
79
79
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
80
80
|
.optional(),
|
|
81
|
-
updated: z.string().datetime({ offset: true }).default("2026-09-
|
|
81
|
+
updated: z.string().datetime({ offset: true }).default("2026-09-08T14:03:54.711Z").transform(v => new Date(v)),
|
|
82
82
|
}).transform((v) => {
|
|
83
83
|
return (0, primitives_js_1.remap)(v, {
|
|
84
84
|
"_id": "id",
|
|
@@ -164,7 +164,7 @@ function retrieveToolResponseBodyCodeToolFromJSON(jsonString) {
|
|
|
164
164
|
}
|
|
165
165
|
/** @internal */
|
|
166
166
|
exports.RetrieveToolResponseBodyCodeExecutionTool$inboundSchema = z.object({
|
|
167
|
-
_id: z.string().default("
|
|
167
|
+
_id: z.string().default("tool_01M20NAGJZPBWR6P8K3VRTA5FK"),
|
|
168
168
|
path: z.string(),
|
|
169
169
|
key: z.string(),
|
|
170
170
|
display_name: z.string().optional(),
|
|
@@ -253,7 +253,7 @@ function retrieveToolResponseBodyHttpFromJSON(jsonString) {
|
|
|
253
253
|
}
|
|
254
254
|
/** @internal */
|
|
255
255
|
exports.RetrieveToolResponseBodyHTTPTool$inboundSchema = z.object({
|
|
256
|
-
_id: z.string().default("
|
|
256
|
+
_id: z.string().default("tool_01M20NAGJYD0839RYAZB5H6J29"),
|
|
257
257
|
path: z.string(),
|
|
258
258
|
key: z.string(),
|
|
259
259
|
display_name: z.string().optional(),
|
|
@@ -303,7 +303,7 @@ function retrieveToolResponseBodyJsonSchemaFromJSON(jsonString) {
|
|
|
303
303
|
}
|
|
304
304
|
/** @internal */
|
|
305
305
|
exports.RetrieveToolResponseBodyJSONSchemaTool$inboundSchema = z.object({
|
|
306
|
-
_id: z.string().default("
|
|
306
|
+
_id: z.string().default("tool_01M20NAGJXG4V5XMVQ5XMRDKBN"),
|
|
307
307
|
path: z.string(),
|
|
308
308
|
key: z.string(),
|
|
309
309
|
display_name: z.string().optional(),
|
|
@@ -357,7 +357,7 @@ function retrieveToolResponseBodyFunctionFromJSON(jsonString) {
|
|
|
357
357
|
}
|
|
358
358
|
/** @internal */
|
|
359
359
|
exports.RetrieveToolResponseBodyFunctionTool$inboundSchema = z.object({
|
|
360
|
-
_id: z.string().default("
|
|
360
|
+
_id: z.string().default("tool_01M20NAGJX3WFEWCZGSVMQ1Z27"),
|
|
361
361
|
path: z.string(),
|
|
362
362
|
key: z.string(),
|
|
363
363
|
display_name: z.string().optional(),
|
|
@@ -1098,7 +1098,7 @@ function agentToolInputRunSchemaToJSON(agentToolInputRunSchema) {
|
|
|
1098
1098
|
}
|
|
1099
1099
|
/** @internal */
|
|
1100
1100
|
exports.Tools$outboundSchema = z.object({
|
|
1101
|
-
id: z.string().default("
|
|
1101
|
+
id: z.string().default("01M20NAGFTZKPYK8927B3YBGWE"),
|
|
1102
1102
|
name: z.string(),
|
|
1103
1103
|
description: z.string().optional(),
|
|
1104
1104
|
schema: z.lazy(() => exports.AgentToolInputRunSchema$outboundSchema),
|
|
@@ -1064,7 +1064,7 @@ function streamRunAgentAgentToolInputRunAgentsSchemaToJSON(streamRunAgentAgentTo
|
|
|
1064
1064
|
}
|
|
1065
1065
|
/** @internal */
|
|
1066
1066
|
exports.AgentToolInputRunTools$outboundSchema = z.object({
|
|
1067
|
-
id: z.string().default("
|
|
1067
|
+
id: z.string().default("01M20NAGGHXHJA3Y6DTV2XQ292"),
|
|
1068
1068
|
name: z.string(),
|
|
1069
1069
|
description: z.string().optional(),
|
|
1070
1070
|
schema: z.lazy(() => exports.StreamRunAgentAgentToolInputRunAgentsSchema$outboundSchema),
|
|
@@ -866,7 +866,7 @@ exports.UpdateDatapointEvaluations4$inboundSchema = z.object({
|
|
|
866
866
|
parent_annotation_id: z.string().optional(),
|
|
867
867
|
explanation: z.string().optional(),
|
|
868
868
|
reviewed_by_id: z.string(),
|
|
869
|
-
reviewed_at: z.string().datetime({ offset: true }).default("2026-09-
|
|
869
|
+
reviewed_at: z.string().datetime({ offset: true }).default("2026-09-08T14:04:03.584Z").transform(v => new Date(v)),
|
|
870
870
|
type: z.literal("string_array"),
|
|
871
871
|
values: z.array(z.string()),
|
|
872
872
|
}).transform((v) => {
|
|
@@ -917,7 +917,7 @@ exports.UpdateDatapointEvaluations3$inboundSchema = z.object({
|
|
|
917
917
|
parent_annotation_id: z.string().optional(),
|
|
918
918
|
explanation: z.string().optional(),
|
|
919
919
|
reviewed_by_id: z.string(),
|
|
920
|
-
reviewed_at: z.string().datetime({ offset: true }).default("2026-09-
|
|
920
|
+
reviewed_at: z.string().datetime({ offset: true }).default("2026-09-08T14:04:03.583Z").transform(v => new Date(v)),
|
|
921
921
|
type: z.literal("boolean"),
|
|
922
922
|
value: z.boolean(),
|
|
923
923
|
}).transform((v) => {
|
|
@@ -968,7 +968,7 @@ exports.UpdateDatapointEvaluations2$inboundSchema = z.object({
|
|
|
968
968
|
parent_annotation_id: z.string().optional(),
|
|
969
969
|
explanation: z.string().optional(),
|
|
970
970
|
reviewed_by_id: z.string(),
|
|
971
|
-
reviewed_at: z.string().datetime({ offset: true }).default("2026-09-
|
|
971
|
+
reviewed_at: z.string().datetime({ offset: true }).default("2026-09-08T14:04:03.583Z").transform(v => new Date(v)),
|
|
972
972
|
type: z.literal("number"),
|
|
973
973
|
value: z.number(),
|
|
974
974
|
}).transform((v) => {
|
|
@@ -1018,7 +1018,7 @@ exports.UpdateDatapointEvaluations1$inboundSchema = z.object({
|
|
|
1018
1018
|
parent_annotation_id: z.string().optional(),
|
|
1019
1019
|
explanation: z.string().optional(),
|
|
1020
1020
|
reviewed_by_id: z.string(),
|
|
1021
|
-
reviewed_at: z.string().datetime({ offset: true }).default("2026-09-
|
|
1021
|
+
reviewed_at: z.string().datetime({ offset: true }).default("2026-09-08T14:04:03.583Z").transform(v => new Date(v)),
|
|
1022
1022
|
type: z.literal("string"),
|
|
1023
1023
|
value: z.string(),
|
|
1024
1024
|
}).transform((v) => {
|
|
@@ -1069,7 +1069,7 @@ exports.UpdateDatapointResponseBody$inboundSchema = z.object({
|
|
|
1069
1069
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
1070
1070
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
1071
1071
|
.optional(),
|
|
1072
|
-
updated: z.string().datetime({ offset: true }).default("2026-09-
|
|
1072
|
+
updated: z.string().datetime({ offset: true }).default("2026-09-08T14:03:54.711Z").transform(v => new Date(v)),
|
|
1073
1073
|
}).transform((v) => {
|
|
1074
1074
|
return (0, primitives_js_1.remap)(v, {
|
|
1075
1075
|
"_id": "id",
|
|
@@ -95,7 +95,7 @@ exports.UpdateDatasetResponseBody$inboundSchema = z.object({
|
|
|
95
95
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
96
96
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
97
97
|
.optional(),
|
|
98
|
-
updated: z.string().datetime({ offset: true }).default("2026-09-
|
|
98
|
+
updated: z.string().datetime({ offset: true }).default("2026-09-08T14:03:54.711Z").transform(v => new Date(v)),
|
|
99
99
|
}).transform((v) => {
|
|
100
100
|
return (0, primitives_js_1.remap)(v, {
|
|
101
101
|
"_id": "id",
|
|
@@ -536,7 +536,7 @@ function updateToolResponseBodyCodeToolFromJSON(jsonString) {
|
|
|
536
536
|
}
|
|
537
537
|
/** @internal */
|
|
538
538
|
exports.UpdateToolResponseBodyCodeExecutionTool$inboundSchema = z.object({
|
|
539
|
-
_id: z.string().default("
|
|
539
|
+
_id: z.string().default("tool_01M20NAGJP0DMKF9J2MBA730AD"),
|
|
540
540
|
path: z.string(),
|
|
541
541
|
key: z.string(),
|
|
542
542
|
display_name: z.string().optional(),
|
|
@@ -625,7 +625,7 @@ function updateToolResponseBodyHttpFromJSON(jsonString) {
|
|
|
625
625
|
}
|
|
626
626
|
/** @internal */
|
|
627
627
|
exports.UpdateToolResponseBodyHTTPTool$inboundSchema = z.object({
|
|
628
|
-
_id: z.string().default("
|
|
628
|
+
_id: z.string().default("tool_01M20NAGJNDYKZ4C3MP3KPKNBF"),
|
|
629
629
|
path: z.string(),
|
|
630
630
|
key: z.string(),
|
|
631
631
|
display_name: z.string().optional(),
|
|
@@ -675,7 +675,7 @@ function updateToolResponseBodyJsonSchemaFromJSON(jsonString) {
|
|
|
675
675
|
}
|
|
676
676
|
/** @internal */
|
|
677
677
|
exports.UpdateToolResponseBodyJSONSchemaTool$inboundSchema = z.object({
|
|
678
|
-
_id: z.string().default("
|
|
678
|
+
_id: z.string().default("tool_01M20NAGJMPZWT7V88D0MSPXCQ"),
|
|
679
679
|
path: z.string(),
|
|
680
680
|
key: z.string(),
|
|
681
681
|
display_name: z.string().optional(),
|
|
@@ -729,7 +729,7 @@ function updateToolResponseBodyFunctionFromJSON(jsonString) {
|
|
|
729
729
|
}
|
|
730
730
|
/** @internal */
|
|
731
731
|
exports.UpdateToolResponseBodyFunctionTool$inboundSchema = z.object({
|
|
732
|
-
_id: z.string().default("
|
|
732
|
+
_id: z.string().default("tool_01M20NAGJMQJGG6EFZP6CFYW36"),
|
|
733
733
|
path: z.string(),
|
|
734
734
|
key: z.string(),
|
|
735
735
|
display_name: z.string().optional(),
|
package/package.json
CHANGED
package/sdk/budgets.d.ts
CHANGED
|
@@ -6,42 +6,42 @@ export declare class Budgets extends ClientSDK {
|
|
|
6
6
|
* List budgets
|
|
7
7
|
*
|
|
8
8
|
* @remarks
|
|
9
|
-
* Returns budgets visible to the current workspace, ordered by creation time with the newest first. Supports filtering by scope kind, scope target id, period, and active state, plus an optional free-text query that searches across denormalized target names via Typesense.
|
|
9
|
+
* Returns budgets visible to the current workspace, ordered by creation time with the newest first. Supports filtering by scope kind, scope target id, period, and active state, plus an optional free-text query that searches across denormalized target names via Typesense. Requires a Management Key with the Budgets permission; project-scoped API keys cannot manage budgets.
|
|
10
10
|
*/
|
|
11
11
|
list(request?: operations.BudgetListRequest | undefined, options?: RequestOptions): Promise<components.ListBudgetsResponse>;
|
|
12
12
|
/**
|
|
13
13
|
* Create a new budget
|
|
14
14
|
*
|
|
15
15
|
* @remarks
|
|
16
|
-
* Creates a new budget in the workspace. Exactly one scope variant must be set (workspace / project / identity / api_key / provider / model). At least one of `limits.amount`, `limits.token_limit`, or `rate_limit.requests_per_minute` MUST be provided. Uniqueness is enforced across (workspace_id, scope_kind, scope_target_id).
|
|
16
|
+
* Creates a new budget in the workspace. Exactly one scope variant must be set (workspace / project / identity / api_key / provider / model). At least one of `limits.amount`, `limits.token_limit`, or `rate_limit.requests_per_minute` MUST be provided. Uniqueness is enforced across (workspace_id, scope_kind, scope_target_id). Requires a Management Key with the Budgets permission; project-scoped API keys cannot manage budgets.
|
|
17
17
|
*/
|
|
18
18
|
create(request: components.CreateBudgetRequest, options?: RequestOptions): Promise<components.CreateBudgetResponse>;
|
|
19
19
|
/**
|
|
20
20
|
* Retrieve a budget
|
|
21
21
|
*
|
|
22
22
|
* @remarks
|
|
23
|
-
* Retrieves the metadata for an existing budget by its unique identifier. Returns `NotFound` when the budget does not exist in the caller's workspace.
|
|
23
|
+
* Retrieves the metadata for an existing budget by its unique identifier. Returns `NotFound` when the budget does not exist in the caller's workspace. Requires a Management Key with the Budgets permission; project-scoped API keys cannot manage budgets.
|
|
24
24
|
*/
|
|
25
25
|
get(request: operations.BudgetGetRequest, options?: RequestOptions): Promise<components.GetBudgetResponse>;
|
|
26
26
|
/**
|
|
27
27
|
* Delete a budget
|
|
28
28
|
*
|
|
29
29
|
* @remarks
|
|
30
|
-
* Permanently deletes a budget. Its consumption counters are cleared immediately. The response body is empty on success.
|
|
30
|
+
* Permanently deletes a budget. Its consumption counters are cleared immediately. The response body is empty on success. Requires a Management Key with the Budgets permission; project-scoped API keys cannot manage budgets.
|
|
31
31
|
*/
|
|
32
32
|
delete(request: operations.BudgetDeleteRequest, options?: RequestOptions): Promise<components.DeleteBudgetResponse>;
|
|
33
33
|
/**
|
|
34
34
|
* Update a budget
|
|
35
35
|
*
|
|
36
36
|
* @remarks
|
|
37
|
-
* Updates mutable fields of a budget: limits, rate limit, activation, and expiration. The scope is immutable — to change a budget's target, delete and recreate it. Omitted fields keep their current values.
|
|
37
|
+
* Updates mutable fields of a budget: limits, rate limit, activation, and expiration. The scope is immutable — to change a budget's target, delete and recreate it. Omitted fields keep their current values. Requires a Management Key with the Budgets permission; project-scoped API keys cannot manage budgets.
|
|
38
38
|
*/
|
|
39
39
|
update(request: operations.BudgetUpdateRequest, options?: RequestOptions): Promise<components.UpdateBudgetResponse>;
|
|
40
40
|
/**
|
|
41
41
|
* Reset budget consumption
|
|
42
42
|
*
|
|
43
43
|
* @remarks
|
|
44
|
-
* Clears the current-period cost, token, and request counters for the budget. The budget record itself is preserved.
|
|
44
|
+
* Clears the current-period cost, token, and request counters for the budget. The budget record itself is preserved. Requires a Management Key with the Budgets permission; project-scoped API keys cannot manage budgets.
|
|
45
45
|
*/
|
|
46
46
|
resetConsumption(request: operations.BudgetResetConsumptionRequest, options?: RequestOptions): Promise<components.ResetBudgetConsumptionResponse>;
|
|
47
47
|
}
|
package/sdk/budgets.js
CHANGED
|
@@ -17,7 +17,7 @@ class Budgets extends sdks_js_1.ClientSDK {
|
|
|
17
17
|
* List budgets
|
|
18
18
|
*
|
|
19
19
|
* @remarks
|
|
20
|
-
* Returns budgets visible to the current workspace, ordered by creation time with the newest first. Supports filtering by scope kind, scope target id, period, and active state, plus an optional free-text query that searches across denormalized target names via Typesense.
|
|
20
|
+
* Returns budgets visible to the current workspace, ordered by creation time with the newest first. Supports filtering by scope kind, scope target id, period, and active state, plus an optional free-text query that searches across denormalized target names via Typesense. Requires a Management Key with the Budgets permission; project-scoped API keys cannot manage budgets.
|
|
21
21
|
*/
|
|
22
22
|
async list(request, options) {
|
|
23
23
|
return (0, fp_js_1.unwrapAsync)((0, budgetsList_js_1.budgetsList)(this, request, options));
|
|
@@ -26,7 +26,7 @@ class Budgets extends sdks_js_1.ClientSDK {
|
|
|
26
26
|
* Create a new budget
|
|
27
27
|
*
|
|
28
28
|
* @remarks
|
|
29
|
-
* Creates a new budget in the workspace. Exactly one scope variant must be set (workspace / project / identity / api_key / provider / model). At least one of `limits.amount`, `limits.token_limit`, or `rate_limit.requests_per_minute` MUST be provided. Uniqueness is enforced across (workspace_id, scope_kind, scope_target_id).
|
|
29
|
+
* Creates a new budget in the workspace. Exactly one scope variant must be set (workspace / project / identity / api_key / provider / model). At least one of `limits.amount`, `limits.token_limit`, or `rate_limit.requests_per_minute` MUST be provided. Uniqueness is enforced across (workspace_id, scope_kind, scope_target_id). Requires a Management Key with the Budgets permission; project-scoped API keys cannot manage budgets.
|
|
30
30
|
*/
|
|
31
31
|
async create(request, options) {
|
|
32
32
|
return (0, fp_js_1.unwrapAsync)((0, budgetsCreate_js_1.budgetsCreate)(this, request, options));
|
|
@@ -35,7 +35,7 @@ class Budgets extends sdks_js_1.ClientSDK {
|
|
|
35
35
|
* Retrieve a budget
|
|
36
36
|
*
|
|
37
37
|
* @remarks
|
|
38
|
-
* Retrieves the metadata for an existing budget by its unique identifier. Returns `NotFound` when the budget does not exist in the caller's workspace.
|
|
38
|
+
* Retrieves the metadata for an existing budget by its unique identifier. Returns `NotFound` when the budget does not exist in the caller's workspace. Requires a Management Key with the Budgets permission; project-scoped API keys cannot manage budgets.
|
|
39
39
|
*/
|
|
40
40
|
async get(request, options) {
|
|
41
41
|
return (0, fp_js_1.unwrapAsync)((0, budgetsGet_js_1.budgetsGet)(this, request, options));
|
|
@@ -44,7 +44,7 @@ class Budgets extends sdks_js_1.ClientSDK {
|
|
|
44
44
|
* Delete a budget
|
|
45
45
|
*
|
|
46
46
|
* @remarks
|
|
47
|
-
* Permanently deletes a budget. Its consumption counters are cleared immediately. The response body is empty on success.
|
|
47
|
+
* Permanently deletes a budget. Its consumption counters are cleared immediately. The response body is empty on success. Requires a Management Key with the Budgets permission; project-scoped API keys cannot manage budgets.
|
|
48
48
|
*/
|
|
49
49
|
async delete(request, options) {
|
|
50
50
|
return (0, fp_js_1.unwrapAsync)((0, budgetsDelete_js_1.budgetsDelete)(this, request, options));
|
|
@@ -53,7 +53,7 @@ class Budgets extends sdks_js_1.ClientSDK {
|
|
|
53
53
|
* Update a budget
|
|
54
54
|
*
|
|
55
55
|
* @remarks
|
|
56
|
-
* Updates mutable fields of a budget: limits, rate limit, activation, and expiration. The scope is immutable — to change a budget's target, delete and recreate it. Omitted fields keep their current values.
|
|
56
|
+
* Updates mutable fields of a budget: limits, rate limit, activation, and expiration. The scope is immutable — to change a budget's target, delete and recreate it. Omitted fields keep their current values. Requires a Management Key with the Budgets permission; project-scoped API keys cannot manage budgets.
|
|
57
57
|
*/
|
|
58
58
|
async update(request, options) {
|
|
59
59
|
return (0, fp_js_1.unwrapAsync)((0, budgetsUpdate_js_1.budgetsUpdate)(this, request, options));
|
|
@@ -62,7 +62,7 @@ class Budgets extends sdks_js_1.ClientSDK {
|
|
|
62
62
|
* Reset budget consumption
|
|
63
63
|
*
|
|
64
64
|
* @remarks
|
|
65
|
-
* Clears the current-period cost, token, and request counters for the budget. The budget record itself is preserved.
|
|
65
|
+
* Clears the current-period cost, token, and request counters for the budget. The budget record itself is preserved. Requires a Management Key with the Budgets permission; project-scoped API keys cannot manage budgets.
|
|
66
66
|
*/
|
|
67
67
|
async resetConsumption(request, options) {
|
|
68
68
|
return (0, fp_js_1.unwrapAsync)((0, budgetsResetConsumption_js_1.budgetsResetConsumption)(this, request, options));
|
|
@@ -29,7 +29,7 @@ import { Result } from "../types/fp.js";
|
|
|
29
29
|
* Create a new budget
|
|
30
30
|
*
|
|
31
31
|
* @remarks
|
|
32
|
-
* Creates a new budget in the workspace. Exactly one scope variant must be set (workspace / project / identity / api_key / provider / model). At least one of `limits.amount`, `limits.token_limit`, or `rate_limit.requests_per_minute` MUST be provided. Uniqueness is enforced across (workspace_id, scope_kind, scope_target_id).
|
|
32
|
+
* Creates a new budget in the workspace. Exactly one scope variant must be set (workspace / project / identity / api_key / provider / model). At least one of `limits.amount`, `limits.token_limit`, or `rate_limit.requests_per_minute` MUST be provided. Uniqueness is enforced across (workspace_id, scope_kind, scope_target_id). Requires a Management Key with the Budgets permission; project-scoped API keys cannot manage budgets.
|
|
33
33
|
*/
|
|
34
34
|
export function budgetsCreate(
|
|
35
35
|
client: OrqCore,
|
|
@@ -30,7 +30,7 @@ import { Result } from "../types/fp.js";
|
|
|
30
30
|
* Delete a budget
|
|
31
31
|
*
|
|
32
32
|
* @remarks
|
|
33
|
-
* Permanently deletes a budget. Its consumption counters are cleared immediately. The response body is empty on success.
|
|
33
|
+
* Permanently deletes a budget. Its consumption counters are cleared immediately. The response body is empty on success. Requires a Management Key with the Budgets permission; project-scoped API keys cannot manage budgets.
|
|
34
34
|
*/
|
|
35
35
|
export function budgetsDelete(
|
|
36
36
|
client: OrqCore,
|
package/src/funcs/budgetsGet.ts
CHANGED
|
@@ -30,7 +30,7 @@ import { Result } from "../types/fp.js";
|
|
|
30
30
|
* Retrieve a budget
|
|
31
31
|
*
|
|
32
32
|
* @remarks
|
|
33
|
-
* Retrieves the metadata for an existing budget by its unique identifier. Returns `NotFound` when the budget does not exist in the caller's workspace.
|
|
33
|
+
* Retrieves the metadata for an existing budget by its unique identifier. Returns `NotFound` when the budget does not exist in the caller's workspace. Requires a Management Key with the Budgets permission; project-scoped API keys cannot manage budgets.
|
|
34
34
|
*/
|
|
35
35
|
export function budgetsGet(
|
|
36
36
|
client: OrqCore,
|
package/src/funcs/budgetsList.ts
CHANGED
|
@@ -30,7 +30,7 @@ import { Result } from "../types/fp.js";
|
|
|
30
30
|
* List budgets
|
|
31
31
|
*
|
|
32
32
|
* @remarks
|
|
33
|
-
* Returns budgets visible to the current workspace, ordered by creation time with the newest first. Supports filtering by scope kind, scope target id, period, and active state, plus an optional free-text query that searches across denormalized target names via Typesense.
|
|
33
|
+
* Returns budgets visible to the current workspace, ordered by creation time with the newest first. Supports filtering by scope kind, scope target id, period, and active state, plus an optional free-text query that searches across denormalized target names via Typesense. Requires a Management Key with the Budgets permission; project-scoped API keys cannot manage budgets.
|
|
34
34
|
*/
|
|
35
35
|
export function budgetsList(
|
|
36
36
|
client: OrqCore,
|
|
@@ -30,7 +30,7 @@ import { Result } from "../types/fp.js";
|
|
|
30
30
|
* Reset budget consumption
|
|
31
31
|
*
|
|
32
32
|
* @remarks
|
|
33
|
-
* Clears the current-period cost, token, and request counters for the budget. The budget record itself is preserved.
|
|
33
|
+
* Clears the current-period cost, token, and request counters for the budget. The budget record itself is preserved. Requires a Management Key with the Budgets permission; project-scoped API keys cannot manage budgets.
|
|
34
34
|
*/
|
|
35
35
|
export function budgetsResetConsumption(
|
|
36
36
|
client: OrqCore,
|
|
@@ -30,7 +30,7 @@ import { Result } from "../types/fp.js";
|
|
|
30
30
|
* Update a budget
|
|
31
31
|
*
|
|
32
32
|
* @remarks
|
|
33
|
-
* Updates mutable fields of a budget: limits, rate limit, activation, and expiration. The scope is immutable — to change a budget's target, delete and recreate it. Omitted fields keep their current values.
|
|
33
|
+
* Updates mutable fields of a budget: limits, rate limit, activation, and expiration. The scope is immutable — to change a budget's target, delete and recreate it. Omitted fields keep their current values. Requires a Management Key with the Budgets permission; project-scoped API keys cannot manage budgets.
|
|
34
34
|
*/
|
|
35
35
|
export function budgetsUpdate(
|
|
36
36
|
client: OrqCore,
|
package/src/lib/config.ts
CHANGED
|
@@ -58,7 +58,7 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
|
|
|
58
58
|
export const SDK_METADATA = {
|
|
59
59
|
language: "typescript",
|
|
60
60
|
openapiDocVersion: "2.0",
|
|
61
|
-
sdkVersion: "4.15.0-rc.
|
|
61
|
+
sdkVersion: "4.15.0-rc.28",
|
|
62
62
|
genVersion: "2.935.1",
|
|
63
|
-
userAgent: "speakeasy-sdk/typescript 4.15.0-rc.
|
|
63
|
+
userAgent: "speakeasy-sdk/typescript 4.15.0-rc.28 2.935.1 2.0 @orq-ai/node",
|
|
64
64
|
} as const;
|
|
@@ -43,10 +43,9 @@ export type ManagementKey = {
|
|
|
43
43
|
* Per-domain access map. Only populated when `permission_mode` is
|
|
44
44
|
*
|
|
45
45
|
* @remarks
|
|
46
|
-
* `MANAGEMENT_PERMISSION_MODE_RESTRICTED`.
|
|
47
|
-
* values
|
|
48
|
-
*
|
|
49
|
-
* list.
|
|
46
|
+
* `MANAGEMENT_PERMISSION_MODE_RESTRICTED`. The authoritative list of
|
|
47
|
+
* valid keys (Domain.id values) is returned by the List management
|
|
48
|
+
* capability catalog endpoint (GET /v2/management-keys/capabilities).
|
|
50
49
|
*/
|
|
51
50
|
access?: { [k: string]: AccessLevel } | undefined;
|
|
52
51
|
/**
|
|
@@ -41,6 +41,7 @@ export type ModelMetadata = {
|
|
|
41
41
|
embeddingDimensions?: number | undefined;
|
|
42
42
|
extendedContextPricingMode?: string | undefined;
|
|
43
43
|
extendedContextThreshold?: number | undefined;
|
|
44
|
+
functionToolsRequireEffortNone?: boolean | undefined;
|
|
44
45
|
generateAudio?: boolean | undefined;
|
|
45
46
|
imageInputCost?: number | undefined;
|
|
46
47
|
imageOutputCost?: number | undefined;
|
|
@@ -172,6 +173,7 @@ export const ModelMetadata$inboundSchema: z.ZodType<
|
|
|
172
173
|
embedding_dimensions: z.number().int().optional(),
|
|
173
174
|
extended_context_pricing_mode: z.string().optional(),
|
|
174
175
|
extended_context_threshold: z.number().int().optional(),
|
|
176
|
+
function_tools_require_effort_none: z.boolean().optional(),
|
|
175
177
|
generate_audio: z.boolean().optional(),
|
|
176
178
|
image_input_cost: z.number().optional(),
|
|
177
179
|
image_output_cost: z.number().optional(),
|
|
@@ -297,6 +299,7 @@ export const ModelMetadata$inboundSchema: z.ZodType<
|
|
|
297
299
|
"embedding_dimensions": "embeddingDimensions",
|
|
298
300
|
"extended_context_pricing_mode": "extendedContextPricingMode",
|
|
299
301
|
"extended_context_threshold": "extendedContextThreshold",
|
|
302
|
+
"function_tools_require_effort_none": "functionToolsRequireEffortNone",
|
|
300
303
|
"generate_audio": "generateAudio",
|
|
301
304
|
"image_input_cost": "imageInputCost",
|
|
302
305
|
"image_output_cost": "imageOutputCost",
|
|
@@ -424,6 +427,7 @@ export type ModelMetadata$Outbound = {
|
|
|
424
427
|
embedding_dimensions?: number | undefined;
|
|
425
428
|
extended_context_pricing_mode?: string | undefined;
|
|
426
429
|
extended_context_threshold?: number | undefined;
|
|
430
|
+
function_tools_require_effort_none?: boolean | undefined;
|
|
427
431
|
generate_audio?: boolean | undefined;
|
|
428
432
|
image_input_cost?: number | undefined;
|
|
429
433
|
image_output_cost?: number | undefined;
|
|
@@ -557,6 +561,7 @@ export const ModelMetadata$outboundSchema: z.ZodType<
|
|
|
557
561
|
embeddingDimensions: z.number().int().optional(),
|
|
558
562
|
extendedContextPricingMode: z.string().optional(),
|
|
559
563
|
extendedContextThreshold: z.number().int().optional(),
|
|
564
|
+
functionToolsRequireEffortNone: z.boolean().optional(),
|
|
560
565
|
generateAudio: z.boolean().optional(),
|
|
561
566
|
imageInputCost: z.number().optional(),
|
|
562
567
|
imageOutputCost: z.number().optional(),
|
|
@@ -682,6 +687,7 @@ export const ModelMetadata$outboundSchema: z.ZodType<
|
|
|
682
687
|
embeddingDimensions: "embedding_dimensions",
|
|
683
688
|
extendedContextPricingMode: "extended_context_pricing_mode",
|
|
684
689
|
extendedContextThreshold: "extended_context_threshold",
|
|
690
|
+
functionToolsRequireEffortNone: "function_tools_require_effort_none",
|
|
685
691
|
generateAudio: "generate_audio",
|
|
686
692
|
imageInputCost: "image_input_cost",
|
|
687
693
|
imageOutputCost: "image_output_cost",
|
|
@@ -40,7 +40,7 @@ export const ReasoningPart$inboundSchema: z.ZodType<
|
|
|
40
40
|
z.ZodTypeDef,
|
|
41
41
|
unknown
|
|
42
42
|
> = z.object({
|
|
43
|
-
_id: z.string().default("
|
|
43
|
+
_id: z.string().default("reasoning_01m20nagdx0r815xs5ny48aw4m"),
|
|
44
44
|
metadata: z.record(z.any()).optional(),
|
|
45
45
|
kind: z.literal("reasoning"),
|
|
46
46
|
reasoning: z.string(),
|
|
@@ -138,7 +138,7 @@ export const CreateDatasetResponseBody$inboundSchema: z.ZodType<
|
|
|
138
138
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
139
139
|
.optional(),
|
|
140
140
|
updated: z.string().datetime({ offset: true }).default(
|
|
141
|
-
"2026-09-
|
|
141
|
+
"2026-09-08T14:03:54.711Z",
|
|
142
142
|
).transform(v => new Date(v)),
|
|
143
143
|
}).transform((v) => {
|
|
144
144
|
return remap$(v, {
|