@orq-ai/node 3.2.0-rc.12 → 3.2.0-rc.13
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 +71 -51
- package/bin/mcp-server.js.map +26 -26
- package/jsr.json +1 -1
- package/lib/config.d.ts +2 -2
- package/lib/config.js +2 -2
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/server.js +1 -1
- package/models/operations/bulkcreatedatapoints.js +2 -2
- package/models/operations/createcontact.js +2 -2
- package/models/operations/createdataset.js +2 -2
- package/models/operations/createdatasetitem.js +2 -2
- package/models/operations/createprompt.d.ts +10 -0
- package/models/operations/createprompt.d.ts.map +1 -1
- package/models/operations/createprompt.js +4 -0
- package/models/operations/createprompt.js.map +1 -1
- package/models/operations/deploymentgetconfig.d.ts +5 -0
- package/models/operations/deploymentgetconfig.d.ts.map +1 -1
- package/models/operations/deploymentgetconfig.js +2 -0
- package/models/operations/deploymentgetconfig.js.map +1 -1
- package/models/operations/deployments.d.ts +5 -0
- package/models/operations/deployments.d.ts.map +1 -1
- package/models/operations/deployments.js +2 -0
- package/models/operations/deployments.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/getallprompts.d.ts +5 -0
- package/models/operations/getallprompts.d.ts.map +1 -1
- package/models/operations/getallprompts.js +2 -0
- package/models/operations/getallprompts.js.map +1 -1
- package/models/operations/getoneprompt.d.ts +5 -0
- package/models/operations/getoneprompt.d.ts.map +1 -1
- package/models/operations/getoneprompt.js +2 -0
- package/models/operations/getoneprompt.js.map +1 -1
- package/models/operations/getpromptversion.d.ts +5 -0
- package/models/operations/getpromptversion.d.ts.map +1 -1
- package/models/operations/getpromptversion.js +2 -0
- package/models/operations/getpromptversion.js.map +1 -1
- package/models/operations/listdatasetdatapoints.js +2 -2
- package/models/operations/listdatasets.js +2 -2
- package/models/operations/listpromptversions.d.ts +5 -0
- package/models/operations/listpromptversions.d.ts.map +1 -1
- package/models/operations/listpromptversions.js +2 -0
- package/models/operations/listpromptversions.js.map +1 -1
- package/models/operations/retrievedatapoint.js +2 -2
- package/models/operations/retrievedataset.js +2 -2
- package/models/operations/updatedatapoint.js +2 -2
- package/models/operations/updatedataset.js +2 -2
- package/models/operations/updateprompt.d.ts +10 -0
- package/models/operations/updateprompt.d.ts.map +1 -1
- package/models/operations/updateprompt.js +4 -0
- package/models/operations/updateprompt.js.map +1 -1
- package/package.json +1 -1
- package/src/lib/config.ts +2 -2
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/models/operations/bulkcreatedatapoints.ts +2 -2
- package/src/models/operations/createcontact.ts +2 -2
- package/src/models/operations/createdataset.ts +2 -2
- package/src/models/operations/createdatasetitem.ts +2 -2
- package/src/models/operations/createprompt.ts +14 -0
- package/src/models/operations/deploymentgetconfig.ts +7 -0
- package/src/models/operations/deployments.ts +7 -0
- 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/getallprompts.ts +7 -0
- package/src/models/operations/getoneprompt.ts +7 -0
- package/src/models/operations/getpromptversion.ts +7 -0
- package/src/models/operations/listdatasetdatapoints.ts +2 -2
- package/src/models/operations/listdatasets.ts +2 -2
- package/src/models/operations/listpromptversions.ts +7 -0
- package/src/models/operations/retrievedatapoint.ts +2 -2
- package/src/models/operations/retrievedataset.ts +2 -2
- package/src/models/operations/updatedatapoint.ts +2 -2
- package/src/models/operations/updatedataset.ts +2 -2
- package/src/models/operations/updateprompt.ts +14 -0
package/src/lib/config.ts
CHANGED
|
@@ -64,7 +64,7 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
|
|
|
64
64
|
export const SDK_METADATA = {
|
|
65
65
|
language: "typescript",
|
|
66
66
|
openapiDocVersion: "2.0",
|
|
67
|
-
sdkVersion: "3.2.0-rc.
|
|
67
|
+
sdkVersion: "3.2.0-rc.13",
|
|
68
68
|
genVersion: "2.524.1",
|
|
69
|
-
userAgent: "speakeasy-sdk/typescript 3.2.0-rc.
|
|
69
|
+
userAgent: "speakeasy-sdk/typescript 3.2.0-rc.13 2.524.1 2.0 @orq-ai/node",
|
|
70
70
|
} as const;
|
package/src/mcp-server/server.ts
CHANGED
|
@@ -1731,7 +1731,7 @@ export const ResponseBody$inboundSchema: z.ZodType<
|
|
|
1731
1731
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
1732
1732
|
.optional(),
|
|
1733
1733
|
updated: z.string().datetime({ offset: true }).default(
|
|
1734
|
-
"2025-02-
|
|
1734
|
+
"2025-02-25T11:29:25.365Z",
|
|
1735
1735
|
).transform(v => new Date(v)),
|
|
1736
1736
|
}).transform((v) => {
|
|
1737
1737
|
return remap$(v, {
|
|
@@ -1775,7 +1775,7 @@ export const ResponseBody$outboundSchema: z.ZodType<
|
|
|
1775
1775
|
createdById: z.string().optional(),
|
|
1776
1776
|
updatedById: z.string().optional(),
|
|
1777
1777
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
1778
|
-
updated: z.date().default(() => new Date("2025-02-
|
|
1778
|
+
updated: z.date().default(() => new Date("2025-02-25T11:29:25.365Z"))
|
|
1779
1779
|
.transform(v => v.toISOString()),
|
|
1780
1780
|
}).transform((v) => {
|
|
1781
1781
|
return remap$(v, {
|
|
@@ -177,7 +177,7 @@ export const CreateContactResponseBody$inboundSchema: z.ZodType<
|
|
|
177
177
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
178
178
|
.optional(),
|
|
179
179
|
updated: z.string().datetime({ offset: true }).default(
|
|
180
|
-
"2025-02-
|
|
180
|
+
"2025-02-25T11:29:25.365Z",
|
|
181
181
|
).transform(v => new Date(v)),
|
|
182
182
|
}).transform((v) => {
|
|
183
183
|
return remap$(v, {
|
|
@@ -214,7 +214,7 @@ export const CreateContactResponseBody$outboundSchema: z.ZodType<
|
|
|
214
214
|
tags: z.array(z.string()).optional(),
|
|
215
215
|
metadata: z.record(z.any()).optional(),
|
|
216
216
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
217
|
-
updated: z.date().default(() => new Date("2025-02-
|
|
217
|
+
updated: z.date().default(() => new Date("2025-02-25T11:29:25.365Z"))
|
|
218
218
|
.transform(v => v.toISOString()),
|
|
219
219
|
}).transform((v) => {
|
|
220
220
|
return remap$(v, {
|
|
@@ -211,7 +211,7 @@ export const CreateDatasetResponseBody$inboundSchema: z.ZodType<
|
|
|
211
211
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
212
212
|
.optional(),
|
|
213
213
|
updated: z.string().datetime({ offset: true }).default(
|
|
214
|
-
"2025-02-
|
|
214
|
+
"2025-02-25T11:29:25.365Z",
|
|
215
215
|
).transform(v => new Date(v)),
|
|
216
216
|
}).transform((v) => {
|
|
217
217
|
return remap$(v, {
|
|
@@ -251,7 +251,7 @@ export const CreateDatasetResponseBody$outboundSchema: z.ZodType<
|
|
|
251
251
|
updatedById: z.string().optional(),
|
|
252
252
|
metadata: z.lazy(() => CreateDatasetMetadata$outboundSchema),
|
|
253
253
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
254
|
-
updated: z.date().default(() => new Date("2025-02-
|
|
254
|
+
updated: z.date().default(() => new Date("2025-02-25T11:29:25.365Z"))
|
|
255
255
|
.transform(v => v.toISOString()),
|
|
256
256
|
}).transform((v) => {
|
|
257
257
|
return remap$(v, {
|
|
@@ -1649,7 +1649,7 @@ export const CreateDatasetItemResponseBody$inboundSchema: z.ZodType<
|
|
|
1649
1649
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
1650
1650
|
.optional(),
|
|
1651
1651
|
updated: z.string().datetime({ offset: true }).default(
|
|
1652
|
-
"2025-02-
|
|
1652
|
+
"2025-02-25T11:29:25.365Z",
|
|
1653
1653
|
).transform(v => new Date(v)),
|
|
1654
1654
|
}).transform((v) => {
|
|
1655
1655
|
return remap$(v, {
|
|
@@ -1693,7 +1693,7 @@ export const CreateDatasetItemResponseBody$outboundSchema: z.ZodType<
|
|
|
1693
1693
|
createdById: z.string().optional(),
|
|
1694
1694
|
updatedById: z.string().optional(),
|
|
1695
1695
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
1696
|
-
updated: z.date().default(() => new Date("2025-02-
|
|
1696
|
+
updated: z.date().default(() => new Date("2025-02-25T11:29:25.365Z"))
|
|
1697
1697
|
.transform(v => v.toISOString()),
|
|
1698
1698
|
}).transform((v) => {
|
|
1699
1699
|
return remap$(v, {
|
|
@@ -207,6 +207,10 @@ export type ModelParameters = {
|
|
|
207
207
|
* Constrains effort on reasoning for reasoning models. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
|
|
208
208
|
*/
|
|
209
209
|
reasoningEffort?: ReasoningEffort | undefined;
|
|
210
|
+
/**
|
|
211
|
+
* Gives the model enhanced reasoning capabilities for complex tasks. A value of 0 disables thinking. The minimum budget tokens for thinking are 1024. The Budget Tokens should never exceed the Max Tokens parameter. Only supported by `Anthropic`
|
|
212
|
+
*/
|
|
213
|
+
budgetTokens?: number | undefined;
|
|
210
214
|
};
|
|
211
215
|
|
|
212
216
|
export const Provider = {
|
|
@@ -635,6 +639,10 @@ export type CreatePromptModelParameters = {
|
|
|
635
639
|
* Constrains effort on reasoning for reasoning models. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
|
|
636
640
|
*/
|
|
637
641
|
reasoningEffort?: CreatePromptReasoningEffort | undefined;
|
|
642
|
+
/**
|
|
643
|
+
* Gives the model enhanced reasoning capabilities for complex tasks. A value of 0 disables thinking. The minimum budget tokens for thinking are 1024. The Budget Tokens should never exceed the Max Tokens parameter. Only supported by `Anthropic`
|
|
644
|
+
*/
|
|
645
|
+
budgetTokens?: number | undefined;
|
|
638
646
|
};
|
|
639
647
|
|
|
640
648
|
export const CreatePromptProvider = {
|
|
@@ -1283,6 +1291,7 @@ export const ModelParameters$inboundSchema: z.ZodType<
|
|
|
1283
1291
|
photoRealVersion: PhotoRealVersion$inboundSchema.optional(),
|
|
1284
1292
|
encoding_format: EncodingFormat$inboundSchema.optional(),
|
|
1285
1293
|
reasoningEffort: ReasoningEffort$inboundSchema.optional(),
|
|
1294
|
+
budgetTokens: z.number().optional(),
|
|
1286
1295
|
}).transform((v) => {
|
|
1287
1296
|
return remap$(v, {
|
|
1288
1297
|
"encoding_format": "encodingFormat",
|
|
@@ -1311,6 +1320,7 @@ export type ModelParameters$Outbound = {
|
|
|
1311
1320
|
photoRealVersion?: string | undefined;
|
|
1312
1321
|
encoding_format?: string | undefined;
|
|
1313
1322
|
reasoningEffort?: string | undefined;
|
|
1323
|
+
budgetTokens?: number | undefined;
|
|
1314
1324
|
};
|
|
1315
1325
|
|
|
1316
1326
|
/** @internal */
|
|
@@ -1340,6 +1350,7 @@ export const ModelParameters$outboundSchema: z.ZodType<
|
|
|
1340
1350
|
photoRealVersion: PhotoRealVersion$outboundSchema.optional(),
|
|
1341
1351
|
encodingFormat: EncodingFormat$outboundSchema.optional(),
|
|
1342
1352
|
reasoningEffort: ReasoningEffort$outboundSchema.optional(),
|
|
1353
|
+
budgetTokens: z.number().optional(),
|
|
1343
1354
|
}).transform((v) => {
|
|
1344
1355
|
return remap$(v, {
|
|
1345
1356
|
encodingFormat: "encoding_format",
|
|
@@ -2691,6 +2702,7 @@ export const CreatePromptModelParameters$inboundSchema: z.ZodType<
|
|
|
2691
2702
|
photoRealVersion: CreatePromptPhotoRealVersion$inboundSchema.optional(),
|
|
2692
2703
|
encoding_format: CreatePromptEncodingFormat$inboundSchema.optional(),
|
|
2693
2704
|
reasoningEffort: CreatePromptReasoningEffort$inboundSchema.optional(),
|
|
2705
|
+
budgetTokens: z.number().optional(),
|
|
2694
2706
|
}).transform((v) => {
|
|
2695
2707
|
return remap$(v, {
|
|
2696
2708
|
"encoding_format": "encodingFormat",
|
|
@@ -2719,6 +2731,7 @@ export type CreatePromptModelParameters$Outbound = {
|
|
|
2719
2731
|
photoRealVersion?: string | undefined;
|
|
2720
2732
|
encoding_format?: string | undefined;
|
|
2721
2733
|
reasoningEffort?: string | undefined;
|
|
2734
|
+
budgetTokens?: number | undefined;
|
|
2722
2735
|
};
|
|
2723
2736
|
|
|
2724
2737
|
/** @internal */
|
|
@@ -2748,6 +2761,7 @@ export const CreatePromptModelParameters$outboundSchema: z.ZodType<
|
|
|
2748
2761
|
photoRealVersion: CreatePromptPhotoRealVersion$outboundSchema.optional(),
|
|
2749
2762
|
encodingFormat: CreatePromptEncodingFormat$outboundSchema.optional(),
|
|
2750
2763
|
reasoningEffort: CreatePromptReasoningEffort$outboundSchema.optional(),
|
|
2764
|
+
budgetTokens: z.number().optional(),
|
|
2751
2765
|
}).transform((v) => {
|
|
2752
2766
|
return remap$(v, {
|
|
2753
2767
|
encodingFormat: "encoding_format",
|
|
@@ -618,6 +618,10 @@ export type ParametersT = {
|
|
|
618
618
|
* Constrains effort on reasoning for reasoning models. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
|
|
619
619
|
*/
|
|
620
620
|
reasoningEffort?: DeploymentGetConfigReasoningEffort | undefined;
|
|
621
|
+
/**
|
|
622
|
+
* Gives the model enhanced reasoning capabilities for complex tasks. A value of 0 disables thinking. The minimum budget tokens for thinking are 1024. The Budget Tokens should never exceed the Max Tokens parameter. Only supported by `Anthropic`
|
|
623
|
+
*/
|
|
624
|
+
budgetTokens?: number | undefined;
|
|
621
625
|
};
|
|
622
626
|
|
|
623
627
|
/**
|
|
@@ -3217,6 +3221,7 @@ export const ParametersT$inboundSchema: z.ZodType<
|
|
|
3217
3221
|
.optional(),
|
|
3218
3222
|
encoding_format: DeploymentGetConfigEncodingFormat$inboundSchema.optional(),
|
|
3219
3223
|
reasoningEffort: DeploymentGetConfigReasoningEffort$inboundSchema.optional(),
|
|
3224
|
+
budgetTokens: z.number().optional(),
|
|
3220
3225
|
}).transform((v) => {
|
|
3221
3226
|
return remap$(v, {
|
|
3222
3227
|
"encoding_format": "encodingFormat",
|
|
@@ -3245,6 +3250,7 @@ export type ParametersT$Outbound = {
|
|
|
3245
3250
|
photoRealVersion?: string | undefined;
|
|
3246
3251
|
encoding_format?: string | undefined;
|
|
3247
3252
|
reasoningEffort?: string | undefined;
|
|
3253
|
+
budgetTokens?: number | undefined;
|
|
3248
3254
|
};
|
|
3249
3255
|
|
|
3250
3256
|
/** @internal */
|
|
@@ -3275,6 +3281,7 @@ export const ParametersT$outboundSchema: z.ZodType<
|
|
|
3275
3281
|
.optional(),
|
|
3276
3282
|
encodingFormat: DeploymentGetConfigEncodingFormat$outboundSchema.optional(),
|
|
3277
3283
|
reasoningEffort: DeploymentGetConfigReasoningEffort$outboundSchema.optional(),
|
|
3284
|
+
budgetTokens: z.number().optional(),
|
|
3278
3285
|
}).transform((v) => {
|
|
3279
3286
|
return remap$(v, {
|
|
3280
3287
|
encodingFormat: "encoding_format",
|
|
@@ -302,6 +302,10 @@ export type DeploymentsModelParameters = {
|
|
|
302
302
|
* Constrains effort on reasoning for reasoning models. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
|
|
303
303
|
*/
|
|
304
304
|
reasoningEffort?: DeploymentsReasoningEffort | undefined;
|
|
305
|
+
/**
|
|
306
|
+
* Gives the model enhanced reasoning capabilities for complex tasks. A value of 0 disables thinking. The minimum budget tokens for thinking are 1024. The Budget Tokens should never exceed the Max Tokens parameter. Only supported by `Anthropic`
|
|
307
|
+
*/
|
|
308
|
+
budgetTokens?: number | undefined;
|
|
305
309
|
};
|
|
306
310
|
|
|
307
311
|
export const DeploymentsProvider = {
|
|
@@ -1235,6 +1239,7 @@ export const DeploymentsModelParameters$inboundSchema: z.ZodType<
|
|
|
1235
1239
|
photoRealVersion: DeploymentsPhotoRealVersion$inboundSchema.optional(),
|
|
1236
1240
|
encoding_format: DeploymentsEncodingFormat$inboundSchema.optional(),
|
|
1237
1241
|
reasoningEffort: DeploymentsReasoningEffort$inboundSchema.optional(),
|
|
1242
|
+
budgetTokens: z.number().optional(),
|
|
1238
1243
|
}).transform((v) => {
|
|
1239
1244
|
return remap$(v, {
|
|
1240
1245
|
"encoding_format": "encodingFormat",
|
|
@@ -1263,6 +1268,7 @@ export type DeploymentsModelParameters$Outbound = {
|
|
|
1263
1268
|
photoRealVersion?: string | undefined;
|
|
1264
1269
|
encoding_format?: string | undefined;
|
|
1265
1270
|
reasoningEffort?: string | undefined;
|
|
1271
|
+
budgetTokens?: number | undefined;
|
|
1266
1272
|
};
|
|
1267
1273
|
|
|
1268
1274
|
/** @internal */
|
|
@@ -1292,6 +1298,7 @@ export const DeploymentsModelParameters$outboundSchema: z.ZodType<
|
|
|
1292
1298
|
photoRealVersion: DeploymentsPhotoRealVersion$outboundSchema.optional(),
|
|
1293
1299
|
encodingFormat: DeploymentsEncodingFormat$outboundSchema.optional(),
|
|
1294
1300
|
reasoningEffort: DeploymentsReasoningEffort$outboundSchema.optional(),
|
|
1301
|
+
budgetTokens: z.number().optional(),
|
|
1295
1302
|
}).transform((v) => {
|
|
1296
1303
|
return remap$(v, {
|
|
1297
1304
|
encodingFormat: "encoding_format",
|
|
@@ -145,7 +145,7 @@ export const FileGetResponseBody$inboundSchema: z.ZodType<
|
|
|
145
145
|
file_name: z.string(),
|
|
146
146
|
workspace_id: z.string(),
|
|
147
147
|
created: z.string().datetime({ offset: true }).default(
|
|
148
|
-
"2025-02-
|
|
148
|
+
"2025-02-25T11:29:26.431Z",
|
|
149
149
|
).transform(v => new Date(v)),
|
|
150
150
|
}).transform((v) => {
|
|
151
151
|
return remap$(v, {
|
|
@@ -179,7 +179,7 @@ export const FileGetResponseBody$outboundSchema: z.ZodType<
|
|
|
179
179
|
bytes: z.number(),
|
|
180
180
|
fileName: z.string(),
|
|
181
181
|
workspaceId: z.string(),
|
|
182
|
-
created: z.date().default(() => new Date("2025-02-
|
|
182
|
+
created: z.date().default(() => new Date("2025-02-25T11:29:26.431Z"))
|
|
183
183
|
.transform(v => v.toISOString()),
|
|
184
184
|
}).transform((v) => {
|
|
185
185
|
return remap$(v, {
|
|
@@ -195,7 +195,7 @@ export const FileListData$inboundSchema: z.ZodType<
|
|
|
195
195
|
file_name: z.string(),
|
|
196
196
|
workspace_id: z.string(),
|
|
197
197
|
created: z.string().datetime({ offset: true }).default(
|
|
198
|
-
"2025-02-
|
|
198
|
+
"2025-02-25T11:29:26.431Z",
|
|
199
199
|
).transform(v => new Date(v)),
|
|
200
200
|
}).transform((v) => {
|
|
201
201
|
return remap$(v, {
|
|
@@ -229,7 +229,7 @@ export const FileListData$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-02-
|
|
232
|
+
created: z.date().default(() => new Date("2025-02-25T11:29:26.431Z"))
|
|
233
233
|
.transform(v => v.toISOString()),
|
|
234
234
|
}).transform((v) => {
|
|
235
235
|
return remap$(v, {
|
|
@@ -245,7 +245,7 @@ export const FileUploadResponseBody$inboundSchema: z.ZodType<
|
|
|
245
245
|
file_name: z.string(),
|
|
246
246
|
workspace_id: z.string(),
|
|
247
247
|
created: z.string().datetime({ offset: true }).default(
|
|
248
|
-
"2025-02-
|
|
248
|
+
"2025-02-25T11:29:26.431Z",
|
|
249
249
|
).transform(v => new Date(v)),
|
|
250
250
|
}).transform((v) => {
|
|
251
251
|
return remap$(v, {
|
|
@@ -279,7 +279,7 @@ export const FileUploadResponseBody$outboundSchema: z.ZodType<
|
|
|
279
279
|
bytes: z.number(),
|
|
280
280
|
fileName: z.string(),
|
|
281
281
|
workspaceId: z.string(),
|
|
282
|
-
created: z.date().default(() => new Date("2025-02-
|
|
282
|
+
created: z.date().default(() => new Date("2025-02-25T11:29:26.431Z"))
|
|
283
283
|
.transform(v => v.toISOString()),
|
|
284
284
|
}).transform((v) => {
|
|
285
285
|
return remap$(v, {
|
|
@@ -246,6 +246,10 @@ export type GetAllPromptsModelParameters = {
|
|
|
246
246
|
* Constrains effort on reasoning for reasoning models. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
|
|
247
247
|
*/
|
|
248
248
|
reasoningEffort?: GetAllPromptsReasoningEffort | undefined;
|
|
249
|
+
/**
|
|
250
|
+
* Gives the model enhanced reasoning capabilities for complex tasks. A value of 0 disables thinking. The minimum budget tokens for thinking are 1024. The Budget Tokens should never exceed the Max Tokens parameter. Only supported by `Anthropic`
|
|
251
|
+
*/
|
|
252
|
+
budgetTokens?: number | undefined;
|
|
249
253
|
};
|
|
250
254
|
|
|
251
255
|
export const GetAllPromptsProvider = {
|
|
@@ -1042,6 +1046,7 @@ export const GetAllPromptsModelParameters$inboundSchema: z.ZodType<
|
|
|
1042
1046
|
photoRealVersion: GetAllPromptsPhotoRealVersion$inboundSchema.optional(),
|
|
1043
1047
|
encoding_format: GetAllPromptsEncodingFormat$inboundSchema.optional(),
|
|
1044
1048
|
reasoningEffort: GetAllPromptsReasoningEffort$inboundSchema.optional(),
|
|
1049
|
+
budgetTokens: z.number().optional(),
|
|
1045
1050
|
}).transform((v) => {
|
|
1046
1051
|
return remap$(v, {
|
|
1047
1052
|
"encoding_format": "encodingFormat",
|
|
@@ -1070,6 +1075,7 @@ export type GetAllPromptsModelParameters$Outbound = {
|
|
|
1070
1075
|
photoRealVersion?: string | undefined;
|
|
1071
1076
|
encoding_format?: string | undefined;
|
|
1072
1077
|
reasoningEffort?: string | undefined;
|
|
1078
|
+
budgetTokens?: number | undefined;
|
|
1073
1079
|
};
|
|
1074
1080
|
|
|
1075
1081
|
/** @internal */
|
|
@@ -1099,6 +1105,7 @@ export const GetAllPromptsModelParameters$outboundSchema: z.ZodType<
|
|
|
1099
1105
|
photoRealVersion: GetAllPromptsPhotoRealVersion$outboundSchema.optional(),
|
|
1100
1106
|
encodingFormat: GetAllPromptsEncodingFormat$outboundSchema.optional(),
|
|
1101
1107
|
reasoningEffort: GetAllPromptsReasoningEffort$outboundSchema.optional(),
|
|
1108
|
+
budgetTokens: z.number().optional(),
|
|
1102
1109
|
}).transform((v) => {
|
|
1103
1110
|
return remap$(v, {
|
|
1104
1111
|
encodingFormat: "encoding_format",
|
|
@@ -233,6 +233,10 @@ export type GetOnePromptModelParameters = {
|
|
|
233
233
|
* Constrains effort on reasoning for reasoning models. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
|
|
234
234
|
*/
|
|
235
235
|
reasoningEffort?: GetOnePromptReasoningEffort | undefined;
|
|
236
|
+
/**
|
|
237
|
+
* Gives the model enhanced reasoning capabilities for complex tasks. A value of 0 disables thinking. The minimum budget tokens for thinking are 1024. The Budget Tokens should never exceed the Max Tokens parameter. Only supported by `Anthropic`
|
|
238
|
+
*/
|
|
239
|
+
budgetTokens?: number | undefined;
|
|
236
240
|
};
|
|
237
241
|
|
|
238
242
|
export const GetOnePromptProvider = {
|
|
@@ -980,6 +984,7 @@ export const GetOnePromptModelParameters$inboundSchema: z.ZodType<
|
|
|
980
984
|
photoRealVersion: GetOnePromptPhotoRealVersion$inboundSchema.optional(),
|
|
981
985
|
encoding_format: GetOnePromptEncodingFormat$inboundSchema.optional(),
|
|
982
986
|
reasoningEffort: GetOnePromptReasoningEffort$inboundSchema.optional(),
|
|
987
|
+
budgetTokens: z.number().optional(),
|
|
983
988
|
}).transform((v) => {
|
|
984
989
|
return remap$(v, {
|
|
985
990
|
"encoding_format": "encodingFormat",
|
|
@@ -1008,6 +1013,7 @@ export type GetOnePromptModelParameters$Outbound = {
|
|
|
1008
1013
|
photoRealVersion?: string | undefined;
|
|
1009
1014
|
encoding_format?: string | undefined;
|
|
1010
1015
|
reasoningEffort?: string | undefined;
|
|
1016
|
+
budgetTokens?: number | undefined;
|
|
1011
1017
|
};
|
|
1012
1018
|
|
|
1013
1019
|
/** @internal */
|
|
@@ -1037,6 +1043,7 @@ export const GetOnePromptModelParameters$outboundSchema: z.ZodType<
|
|
|
1037
1043
|
photoRealVersion: GetOnePromptPhotoRealVersion$outboundSchema.optional(),
|
|
1038
1044
|
encodingFormat: GetOnePromptEncodingFormat$outboundSchema.optional(),
|
|
1039
1045
|
reasoningEffort: GetOnePromptReasoningEffort$outboundSchema.optional(),
|
|
1046
|
+
budgetTokens: z.number().optional(),
|
|
1040
1047
|
}).transform((v) => {
|
|
1041
1048
|
return remap$(v, {
|
|
1042
1049
|
encodingFormat: "encoding_format",
|
|
@@ -236,6 +236,10 @@ export type GetPromptVersionModelParameters = {
|
|
|
236
236
|
* Constrains effort on reasoning for reasoning models. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
|
|
237
237
|
*/
|
|
238
238
|
reasoningEffort?: GetPromptVersionReasoningEffort | undefined;
|
|
239
|
+
/**
|
|
240
|
+
* Gives the model enhanced reasoning capabilities for complex tasks. A value of 0 disables thinking. The minimum budget tokens for thinking are 1024. The Budget Tokens should never exceed the Max Tokens parameter. Only supported by `Anthropic`
|
|
241
|
+
*/
|
|
242
|
+
budgetTokens?: number | undefined;
|
|
239
243
|
};
|
|
240
244
|
|
|
241
245
|
export const GetPromptVersionProvider = {
|
|
@@ -983,6 +987,7 @@ export const GetPromptVersionModelParameters$inboundSchema: z.ZodType<
|
|
|
983
987
|
photoRealVersion: GetPromptVersionPhotoRealVersion$inboundSchema.optional(),
|
|
984
988
|
encoding_format: GetPromptVersionEncodingFormat$inboundSchema.optional(),
|
|
985
989
|
reasoningEffort: GetPromptVersionReasoningEffort$inboundSchema.optional(),
|
|
990
|
+
budgetTokens: z.number().optional(),
|
|
986
991
|
}).transform((v) => {
|
|
987
992
|
return remap$(v, {
|
|
988
993
|
"encoding_format": "encodingFormat",
|
|
@@ -1011,6 +1016,7 @@ export type GetPromptVersionModelParameters$Outbound = {
|
|
|
1011
1016
|
photoRealVersion?: string | undefined;
|
|
1012
1017
|
encoding_format?: string | undefined;
|
|
1013
1018
|
reasoningEffort?: string | undefined;
|
|
1019
|
+
budgetTokens?: number | undefined;
|
|
1014
1020
|
};
|
|
1015
1021
|
|
|
1016
1022
|
/** @internal */
|
|
@@ -1040,6 +1046,7 @@ export const GetPromptVersionModelParameters$outboundSchema: z.ZodType<
|
|
|
1040
1046
|
photoRealVersion: GetPromptVersionPhotoRealVersion$outboundSchema.optional(),
|
|
1041
1047
|
encodingFormat: GetPromptVersionEncodingFormat$outboundSchema.optional(),
|
|
1042
1048
|
reasoningEffort: GetPromptVersionReasoningEffort$outboundSchema.optional(),
|
|
1049
|
+
budgetTokens: z.number().optional(),
|
|
1043
1050
|
}).transform((v) => {
|
|
1044
1051
|
return remap$(v, {
|
|
1045
1052
|
encodingFormat: "encoding_format",
|
|
@@ -912,7 +912,7 @@ export const ListDatasetDatapointsData$inboundSchema: z.ZodType<
|
|
|
912
912
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
913
913
|
.optional(),
|
|
914
914
|
updated: z.string().datetime({ offset: true }).default(
|
|
915
|
-
"2025-02-
|
|
915
|
+
"2025-02-25T11:29:25.365Z",
|
|
916
916
|
).transform(v => new Date(v)),
|
|
917
917
|
}).transform((v) => {
|
|
918
918
|
return remap$(v, {
|
|
@@ -955,7 +955,7 @@ export const ListDatasetDatapointsData$outboundSchema: z.ZodType<
|
|
|
955
955
|
createdById: z.string().optional(),
|
|
956
956
|
updatedById: z.string().optional(),
|
|
957
957
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
958
|
-
updated: z.date().default(() => new Date("2025-02-
|
|
958
|
+
updated: z.date().default(() => new Date("2025-02-25T11:29:25.365Z"))
|
|
959
959
|
.transform(v => v.toISOString()),
|
|
960
960
|
}).transform((v) => {
|
|
961
961
|
return remap$(v, {
|
|
@@ -253,7 +253,7 @@ export const ListDatasetsData$inboundSchema: z.ZodType<
|
|
|
253
253
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
254
254
|
.optional(),
|
|
255
255
|
updated: z.string().datetime({ offset: true }).default(
|
|
256
|
-
"2025-02-
|
|
256
|
+
"2025-02-25T11:29:25.365Z",
|
|
257
257
|
).transform(v => new Date(v)),
|
|
258
258
|
}).transform((v) => {
|
|
259
259
|
return remap$(v, {
|
|
@@ -293,7 +293,7 @@ export const ListDatasetsData$outboundSchema: z.ZodType<
|
|
|
293
293
|
updatedById: z.string().optional(),
|
|
294
294
|
metadata: z.lazy(() => ListDatasetsMetadata$outboundSchema),
|
|
295
295
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
296
|
-
updated: z.date().default(() => new Date("2025-02-
|
|
296
|
+
updated: z.date().default(() => new Date("2025-02-25T11:29:25.365Z"))
|
|
297
297
|
.transform(v => v.toISOString()),
|
|
298
298
|
}).transform((v) => {
|
|
299
299
|
return remap$(v, {
|
|
@@ -250,6 +250,10 @@ export type ListPromptVersionsModelParameters = {
|
|
|
250
250
|
* Constrains effort on reasoning for reasoning models. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
|
|
251
251
|
*/
|
|
252
252
|
reasoningEffort?: ListPromptVersionsReasoningEffort | undefined;
|
|
253
|
+
/**
|
|
254
|
+
* Gives the model enhanced reasoning capabilities for complex tasks. A value of 0 disables thinking. The minimum budget tokens for thinking are 1024. The Budget Tokens should never exceed the Max Tokens parameter. Only supported by `Anthropic`
|
|
255
|
+
*/
|
|
256
|
+
budgetTokens?: number | undefined;
|
|
253
257
|
};
|
|
254
258
|
|
|
255
259
|
export const ListPromptVersionsProvider = {
|
|
@@ -1041,6 +1045,7 @@ export const ListPromptVersionsModelParameters$inboundSchema: z.ZodType<
|
|
|
1041
1045
|
photoRealVersion: ListPromptVersionsPhotoRealVersion$inboundSchema.optional(),
|
|
1042
1046
|
encoding_format: ListPromptVersionsEncodingFormat$inboundSchema.optional(),
|
|
1043
1047
|
reasoningEffort: ListPromptVersionsReasoningEffort$inboundSchema.optional(),
|
|
1048
|
+
budgetTokens: z.number().optional(),
|
|
1044
1049
|
}).transform((v) => {
|
|
1045
1050
|
return remap$(v, {
|
|
1046
1051
|
"encoding_format": "encodingFormat",
|
|
@@ -1069,6 +1074,7 @@ export type ListPromptVersionsModelParameters$Outbound = {
|
|
|
1069
1074
|
photoRealVersion?: string | undefined;
|
|
1070
1075
|
encoding_format?: string | undefined;
|
|
1071
1076
|
reasoningEffort?: string | undefined;
|
|
1077
|
+
budgetTokens?: number | undefined;
|
|
1072
1078
|
};
|
|
1073
1079
|
|
|
1074
1080
|
/** @internal */
|
|
@@ -1099,6 +1105,7 @@ export const ListPromptVersionsModelParameters$outboundSchema: z.ZodType<
|
|
|
1099
1105
|
.optional(),
|
|
1100
1106
|
encodingFormat: ListPromptVersionsEncodingFormat$outboundSchema.optional(),
|
|
1101
1107
|
reasoningEffort: ListPromptVersionsReasoningEffort$outboundSchema.optional(),
|
|
1108
|
+
budgetTokens: z.number().optional(),
|
|
1102
1109
|
}).transform((v) => {
|
|
1103
1110
|
return remap$(v, {
|
|
1104
1111
|
encodingFormat: "encoding_format",
|
|
@@ -834,7 +834,7 @@ export const RetrieveDatapointResponseBody$inboundSchema: z.ZodType<
|
|
|
834
834
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
835
835
|
.optional(),
|
|
836
836
|
updated: z.string().datetime({ offset: true }).default(
|
|
837
|
-
"2025-02-
|
|
837
|
+
"2025-02-25T11:29:25.365Z",
|
|
838
838
|
).transform(v => new Date(v)),
|
|
839
839
|
}).transform((v) => {
|
|
840
840
|
return remap$(v, {
|
|
@@ -877,7 +877,7 @@ export const RetrieveDatapointResponseBody$outboundSchema: z.ZodType<
|
|
|
877
877
|
createdById: z.string().optional(),
|
|
878
878
|
updatedById: z.string().optional(),
|
|
879
879
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
880
|
-
updated: z.date().default(() => new Date("2025-02-
|
|
880
|
+
updated: z.date().default(() => new Date("2025-02-25T11:29:25.365Z"))
|
|
881
881
|
.transform(v => v.toISOString()),
|
|
882
882
|
}).transform((v) => {
|
|
883
883
|
return remap$(v, {
|
|
@@ -201,7 +201,7 @@ export const RetrieveDatasetResponseBody$inboundSchema: z.ZodType<
|
|
|
201
201
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
202
202
|
.optional(),
|
|
203
203
|
updated: z.string().datetime({ offset: true }).default(
|
|
204
|
-
"2025-02-
|
|
204
|
+
"2025-02-25T11:29:25.365Z",
|
|
205
205
|
).transform(v => new Date(v)),
|
|
206
206
|
}).transform((v) => {
|
|
207
207
|
return remap$(v, {
|
|
@@ -241,7 +241,7 @@ export const RetrieveDatasetResponseBody$outboundSchema: z.ZodType<
|
|
|
241
241
|
updatedById: z.string().optional(),
|
|
242
242
|
metadata: z.lazy(() => RetrieveDatasetMetadata$outboundSchema),
|
|
243
243
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
244
|
-
updated: z.date().default(() => new Date("2025-02-
|
|
244
|
+
updated: z.date().default(() => new Date("2025-02-25T11:29:25.365Z"))
|
|
245
245
|
.transform(v => v.toISOString()),
|
|
246
246
|
}).transform((v) => {
|
|
247
247
|
return remap$(v, {
|
|
@@ -1638,7 +1638,7 @@ export const UpdateDatapointResponseBody$inboundSchema: z.ZodType<
|
|
|
1638
1638
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
1639
1639
|
.optional(),
|
|
1640
1640
|
updated: z.string().datetime({ offset: true }).default(
|
|
1641
|
-
"2025-02-
|
|
1641
|
+
"2025-02-25T11:29:25.365Z",
|
|
1642
1642
|
).transform(v => new Date(v)),
|
|
1643
1643
|
}).transform((v) => {
|
|
1644
1644
|
return remap$(v, {
|
|
@@ -1682,7 +1682,7 @@ export const UpdateDatapointResponseBody$outboundSchema: z.ZodType<
|
|
|
1682
1682
|
createdById: z.string().optional(),
|
|
1683
1683
|
updatedById: z.string().optional(),
|
|
1684
1684
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
1685
|
-
updated: z.date().default(() => new Date("2025-02-
|
|
1685
|
+
updated: z.date().default(() => new Date("2025-02-25T11:29:25.365Z"))
|
|
1686
1686
|
.transform(v => v.toISOString()),
|
|
1687
1687
|
}).transform((v) => {
|
|
1688
1688
|
return remap$(v, {
|
|
@@ -283,7 +283,7 @@ export const UpdateDatasetResponseBody$inboundSchema: z.ZodType<
|
|
|
283
283
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
284
284
|
.optional(),
|
|
285
285
|
updated: z.string().datetime({ offset: true }).default(
|
|
286
|
-
"2025-02-
|
|
286
|
+
"2025-02-25T11:29:25.365Z",
|
|
287
287
|
).transform(v => new Date(v)),
|
|
288
288
|
}).transform((v) => {
|
|
289
289
|
return remap$(v, {
|
|
@@ -328,7 +328,7 @@ export const UpdateDatasetResponseBody$outboundSchema: z.ZodType<
|
|
|
328
328
|
parentId: z.string().optional(),
|
|
329
329
|
version: z.string().optional(),
|
|
330
330
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
331
|
-
updated: z.date().default(() => new Date("2025-02-
|
|
331
|
+
updated: z.date().default(() => new Date("2025-02-25T11:29:25.365Z"))
|
|
332
332
|
.transform(v => v.toISOString()),
|
|
333
333
|
}).transform((v) => {
|
|
334
334
|
return remap$(v, {
|
|
@@ -221,6 +221,10 @@ export type UpdatePromptModelParameters = {
|
|
|
221
221
|
* Constrains effort on reasoning for reasoning models. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
|
|
222
222
|
*/
|
|
223
223
|
reasoningEffort?: UpdatePromptReasoningEffort | undefined;
|
|
224
|
+
/**
|
|
225
|
+
* Gives the model enhanced reasoning capabilities for complex tasks. A value of 0 disables thinking. The minimum budget tokens for thinking are 1024. The Budget Tokens should never exceed the Max Tokens parameter. Only supported by `Anthropic`
|
|
226
|
+
*/
|
|
227
|
+
budgetTokens?: number | undefined;
|
|
224
228
|
};
|
|
225
229
|
|
|
226
230
|
export const UpdatePromptProvider = {
|
|
@@ -665,6 +669,10 @@ export type UpdatePromptPromptsModelParameters = {
|
|
|
665
669
|
* Constrains effort on reasoning for reasoning models. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
|
|
666
670
|
*/
|
|
667
671
|
reasoningEffort?: UpdatePromptPromptsReasoningEffort | undefined;
|
|
672
|
+
/**
|
|
673
|
+
* Gives the model enhanced reasoning capabilities for complex tasks. A value of 0 disables thinking. The minimum budget tokens for thinking are 1024. The Budget Tokens should never exceed the Max Tokens parameter. Only supported by `Anthropic`
|
|
674
|
+
*/
|
|
675
|
+
budgetTokens?: number | undefined;
|
|
668
676
|
};
|
|
669
677
|
|
|
670
678
|
export const UpdatePromptPromptsProvider = {
|
|
@@ -1344,6 +1352,7 @@ export const UpdatePromptModelParameters$inboundSchema: z.ZodType<
|
|
|
1344
1352
|
photoRealVersion: UpdatePromptPhotoRealVersion$inboundSchema.optional(),
|
|
1345
1353
|
encoding_format: UpdatePromptEncodingFormat$inboundSchema.optional(),
|
|
1346
1354
|
reasoningEffort: UpdatePromptReasoningEffort$inboundSchema.optional(),
|
|
1355
|
+
budgetTokens: z.number().optional(),
|
|
1347
1356
|
}).transform((v) => {
|
|
1348
1357
|
return remap$(v, {
|
|
1349
1358
|
"encoding_format": "encodingFormat",
|
|
@@ -1372,6 +1381,7 @@ export type UpdatePromptModelParameters$Outbound = {
|
|
|
1372
1381
|
photoRealVersion?: string | undefined;
|
|
1373
1382
|
encoding_format?: string | undefined;
|
|
1374
1383
|
reasoningEffort?: string | undefined;
|
|
1384
|
+
budgetTokens?: number | undefined;
|
|
1375
1385
|
};
|
|
1376
1386
|
|
|
1377
1387
|
/** @internal */
|
|
@@ -1401,6 +1411,7 @@ export const UpdatePromptModelParameters$outboundSchema: z.ZodType<
|
|
|
1401
1411
|
photoRealVersion: UpdatePromptPhotoRealVersion$outboundSchema.optional(),
|
|
1402
1412
|
encodingFormat: UpdatePromptEncodingFormat$outboundSchema.optional(),
|
|
1403
1413
|
reasoningEffort: UpdatePromptReasoningEffort$outboundSchema.optional(),
|
|
1414
|
+
budgetTokens: z.number().optional(),
|
|
1404
1415
|
}).transform((v) => {
|
|
1405
1416
|
return remap$(v, {
|
|
1406
1417
|
encodingFormat: "encoding_format",
|
|
@@ -2867,6 +2878,7 @@ export const UpdatePromptPromptsModelParameters$inboundSchema: z.ZodType<
|
|
|
2867
2878
|
.optional(),
|
|
2868
2879
|
encoding_format: UpdatePromptPromptsEncodingFormat$inboundSchema.optional(),
|
|
2869
2880
|
reasoningEffort: UpdatePromptPromptsReasoningEffort$inboundSchema.optional(),
|
|
2881
|
+
budgetTokens: z.number().optional(),
|
|
2870
2882
|
}).transform((v) => {
|
|
2871
2883
|
return remap$(v, {
|
|
2872
2884
|
"encoding_format": "encodingFormat",
|
|
@@ -2895,6 +2907,7 @@ export type UpdatePromptPromptsModelParameters$Outbound = {
|
|
|
2895
2907
|
photoRealVersion?: string | undefined;
|
|
2896
2908
|
encoding_format?: string | undefined;
|
|
2897
2909
|
reasoningEffort?: string | undefined;
|
|
2910
|
+
budgetTokens?: number | undefined;
|
|
2898
2911
|
};
|
|
2899
2912
|
|
|
2900
2913
|
/** @internal */
|
|
@@ -2925,6 +2938,7 @@ export const UpdatePromptPromptsModelParameters$outboundSchema: z.ZodType<
|
|
|
2925
2938
|
.optional(),
|
|
2926
2939
|
encodingFormat: UpdatePromptPromptsEncodingFormat$outboundSchema.optional(),
|
|
2927
2940
|
reasoningEffort: UpdatePromptPromptsReasoningEffort$outboundSchema.optional(),
|
|
2941
|
+
budgetTokens: z.number().optional(),
|
|
2928
2942
|
}).transform((v) => {
|
|
2929
2943
|
return remap$(v, {
|
|
2930
2944
|
encodingFormat: "encoding_format",
|