@orq-ai/node 4.17.0-rc.44 → 4.17.0-rc.46

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.
Files changed (88) hide show
  1. package/jsr.json +1 -1
  2. package/lib/config.d.ts +2 -2
  3. package/lib/config.js +2 -2
  4. package/models/components/index.d.ts +1 -0
  5. package/models/components/index.d.ts.map +1 -1
  6. package/models/components/index.js +1 -0
  7. package/models/components/index.js.map +1 -1
  8. package/models/components/litellmmodel.d.ts +2 -0
  9. package/models/components/litellmmodel.d.ts.map +1 -1
  10. package/models/components/litellmmodel.js +2 -0
  11. package/models/components/litellmmodel.js.map +1 -1
  12. package/models/components/modelconfigurationresponse.d.ts +1 -0
  13. package/models/components/modelconfigurationresponse.d.ts.map +1 -1
  14. package/models/components/modelconfigurationresponse.js +2 -0
  15. package/models/components/modelconfigurationresponse.js.map +1 -1
  16. package/models/components/modelmetadata.d.ts +2 -0
  17. package/models/components/modelmetadata.d.ts.map +1 -1
  18. package/models/components/modelmetadata.js +4 -0
  19. package/models/components/modelmetadata.js.map +1 -1
  20. package/models/components/privatemodelconfiguration.d.ts +15 -0
  21. package/models/components/privatemodelconfiguration.d.ts.map +1 -0
  22. package/models/components/privatemodelconfiguration.js +54 -0
  23. package/models/components/privatemodelconfiguration.js.map +1 -0
  24. package/models/components/reasoningpart.js +1 -1
  25. package/models/operations/createtool.js +4 -4
  26. package/models/operations/getalltools.js +4 -4
  27. package/models/operations/getv2humanevalsets.js +2 -2
  28. package/models/operations/getv2humanevalsetsid.js +2 -2
  29. package/models/operations/listdeploymentversions.js +1 -1
  30. package/models/operations/modelcreate.d.ts +3 -0
  31. package/models/operations/modelcreate.d.ts.map +1 -1
  32. package/models/operations/modelcreate.js.map +1 -1
  33. package/models/operations/modelcreateawsbedrock.d.ts +5 -0
  34. package/models/operations/modelcreateawsbedrock.d.ts.map +1 -1
  35. package/models/operations/modelcreateawsbedrock.js +1 -0
  36. package/models/operations/modelcreateawsbedrock.js.map +1 -1
  37. package/models/operations/modelcreateopenailike.d.ts +5 -0
  38. package/models/operations/modelcreateopenailike.d.ts.map +1 -1
  39. package/models/operations/modelcreateopenailike.js +1 -0
  40. package/models/operations/modelcreateopenailike.js.map +1 -1
  41. package/models/operations/modelcreatevertex.d.ts +5 -0
  42. package/models/operations/modelcreatevertex.d.ts.map +1 -1
  43. package/models/operations/modelcreatevertex.js +2 -0
  44. package/models/operations/modelcreatevertex.js.map +1 -1
  45. package/models/operations/modelupdate.d.ts +5 -0
  46. package/models/operations/modelupdate.d.ts.map +1 -1
  47. package/models/operations/modelupdate.js +2 -0
  48. package/models/operations/modelupdate.js.map +1 -1
  49. package/models/operations/modelupdateawsbedrock.d.ts +2 -0
  50. package/models/operations/modelupdateawsbedrock.d.ts.map +1 -1
  51. package/models/operations/modelupdateawsbedrock.js +1 -0
  52. package/models/operations/modelupdateawsbedrock.js.map +1 -1
  53. package/models/operations/modelupdateopenailike.d.ts +2 -0
  54. package/models/operations/modelupdateopenailike.d.ts.map +1 -1
  55. package/models/operations/modelupdateopenailike.js +1 -0
  56. package/models/operations/modelupdateopenailike.js.map +1 -1
  57. package/models/operations/patchv2humanevalsetsid.js +2 -2
  58. package/models/operations/postv2humanevalsets.js +2 -2
  59. package/models/operations/retrievetool.js +4 -4
  60. package/models/operations/runagent.js +1 -1
  61. package/models/operations/streamrunagent.js +1 -1
  62. package/models/operations/updatetool.js +4 -4
  63. package/package.json +7 -7
  64. package/src/lib/config.ts +2 -2
  65. package/src/models/components/index.ts +1 -0
  66. package/src/models/components/litellmmodel.ts +4 -0
  67. package/src/models/components/modelconfigurationresponse.ts +3 -0
  68. package/src/models/components/modelmetadata.ts +6 -0
  69. package/src/models/components/privatemodelconfiguration.ts +39 -0
  70. package/src/models/components/reasoningpart.ts +1 -1
  71. package/src/models/operations/createtool.ts +4 -4
  72. package/src/models/operations/getalltools.ts +4 -4
  73. package/src/models/operations/getv2humanevalsets.ts +2 -2
  74. package/src/models/operations/getv2humanevalsetsid.ts +2 -2
  75. package/src/models/operations/listdeploymentversions.ts +1 -1
  76. package/src/models/operations/modelcreate.ts +3 -0
  77. package/src/models/operations/modelcreateawsbedrock.ts +6 -0
  78. package/src/models/operations/modelcreateopenailike.ts +6 -0
  79. package/src/models/operations/modelcreatevertex.ts +7 -0
  80. package/src/models/operations/modelupdate.ts +7 -0
  81. package/src/models/operations/modelupdateawsbedrock.ts +3 -0
  82. package/src/models/operations/modelupdateopenailike.ts +3 -0
  83. package/src/models/operations/patchv2humanevalsetsid.ts +2 -2
  84. package/src/models/operations/postv2humanevalsets.ts +2 -2
  85. package/src/models/operations/retrievetool.ts +4 -4
  86. package/src/models/operations/runagent.ts +1 -1
  87. package/src/models/operations/streamrunagent.ts +1 -1
  88. package/src/models/operations/updatetool.ts +4 -4
@@ -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-10-20T10:09:06.014Z").transform(v => new Date(v)),
125
+ updated: z.string().datetime({ offset: true }).default("2026-10-20T11:35:57.378Z").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-10-20T10:09:06.014Z").transform(v => new Date(v)),
156
+ updated: z.string().datetime({ offset: true }).default("2026-10-20T11:35:57.378Z").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) => {
@@ -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-10-20T10:09:06.014Z").transform(v => new Date(v)),
109
+ updated: z.string().datetime({ offset: true }).default("2026-10-20T11:35:57.378Z").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-10-20T10:09:06.014Z").transform(v => new Date(v)),
140
+ updated: z.string().datetime({ offset: true }).default("2026-10-20T11:35:57.378Z").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) => {
@@ -164,7 +164,7 @@ function retrieveToolResponseBodyCodeToolFromJSON(jsonString) {
164
164
  }
165
165
  /** @internal */
166
166
  exports.RetrieveToolResponseBodyCodeExecutionTool$inboundSchema = z.object({
167
- _id: z.string().default("tool_01M5CCJQ824B2PRSTWYK53HXH5"),
167
+ _id: z.string().default("tool_01M5CHHNFNQQT7GP1ABNHM011D"),
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("tool_01M5CCJQ81EF4VPNZ0H5YGRJZD"),
256
+ _id: z.string().default("tool_01M5CHHNFME6TYFJDHK42NE52K"),
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("tool_01M5CCJQ80P04QV8FJZY6E3QJ5"),
306
+ _id: z.string().default("tool_01M5CHHNFMBGWSQZPGRAYZ2GN3"),
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("tool_01M5CCJQ80A77C2WBGV3VZV4R2"),
360
+ _id: z.string().default("tool_01M5CHHNFMVZSDEP6V67JBDTCW"),
361
361
  path: z.string(),
362
362
  key: z.string(),
363
363
  display_name: z.string().optional(),
@@ -1102,7 +1102,7 @@ function agentToolInputRunSchemaToJSON(agentToolInputRunSchema) {
1102
1102
  }
1103
1103
  /** @internal */
1104
1104
  exports.Tools$outboundSchema = z.object({
1105
- id: z.string().default("01M5CCJQ4QT034FD2Y107WVFKM"),
1105
+ id: z.string().default("01M5CHHNDPPSBVD2MQB4BTGA74"),
1106
1106
  name: z.string(),
1107
1107
  description: z.string().optional(),
1108
1108
  schema: z.lazy(() => exports.AgentToolInputRunSchema$outboundSchema),
@@ -1068,7 +1068,7 @@ function streamRunAgentAgentToolInputRunAgentsSchemaToJSON(streamRunAgentAgentTo
1068
1068
  }
1069
1069
  /** @internal */
1070
1070
  exports.AgentToolInputRunTools$outboundSchema = z.object({
1071
- id: z.string().default("01M5CCJQ5FP8CMSVE3JJYP9ASZ"),
1071
+ id: z.string().default("01M5CHHNE3TMR0KK2EYQ0SV7WS"),
1072
1072
  name: z.string(),
1073
1073
  description: z.string().optional(),
1074
1074
  schema: z.lazy(() => exports.StreamRunAgentAgentToolInputRunAgentsSchema$outboundSchema),
@@ -536,7 +536,7 @@ function updateToolResponseBodyCodeToolFromJSON(jsonString) {
536
536
  }
537
537
  /** @internal */
538
538
  exports.UpdateToolResponseBodyCodeExecutionTool$inboundSchema = z.object({
539
- _id: z.string().default("tool_01M5CCJQ7R05K19VJM38B2V81N"),
539
+ _id: z.string().default("tool_01M5CHHNFG97929Y3X32KJDQP8"),
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("tool_01M5CCJQ7QCFT6TKRKYHMY7PS8"),
628
+ _id: z.string().default("tool_01M5CHHNFGHA054QFS9XC1VR7F"),
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("tool_01M5CCJQ7Q0P9ESA451KP7JEJ8"),
678
+ _id: z.string().default("tool_01M5CHHNFDNJAFPTN4HNQGWNPY"),
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("tool_01M5CCJQ7PMXCD3KB222WRWS96"),
732
+ _id: z.string().default("tool_01M5CHHNFCYKH9K4ZYK4PVPH60"),
733
733
  path: z.string(),
734
734
  key: z.string(),
735
735
  display_name: z.string().optional(),
package/package.json CHANGED
@@ -1,19 +1,19 @@
1
1
  {
2
2
  "name": "@orq-ai/node",
3
- "version": "4.17.0-rc.44",
3
+ "version": "4.17.0-rc.46",
4
4
  "author": "Orq",
5
5
  "exports": {
6
+ "./langchain": {
7
+ "import": "./langchain/index.mjs",
8
+ "require": "./langchain/index.js",
9
+ "types": "./langchain/index.d.mts"
10
+ },
6
11
  ".": {
7
12
  "types": "./index.d.ts",
8
13
  "import": "./index.js",
9
14
  "require": "./index.js"
10
15
  },
11
- "./*": "./*",
12
- "./langchain": {
13
- "import": "./langchain/index.mjs",
14
- "require": "./langchain/index.js",
15
- "types": "./langchain/index.d.mts"
16
- }
16
+ "./*": "./*"
17
17
  },
18
18
  "main": "./index.js",
19
19
  "sideEffects": false,
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.17.0-rc.44",
61
+ sdkVersion: "4.17.0-rc.46",
62
62
  genVersion: "2.950.2",
63
- userAgent: "speakeasy-sdk/typescript 4.17.0-rc.44 2.950.2 2.0 @orq-ai/node",
63
+ userAgent: "speakeasy-sdk/typescript 4.17.0-rc.46 2.950.2 2.0 @orq-ai/node",
64
64
  } as const;
@@ -488,6 +488,7 @@ export * from "./previewchunksmetadata.js";
488
488
  export * from "./price.js";
489
489
  export * from "./pricing.js";
490
490
  export * from "./pricingvariant.js";
491
+ export * from "./privatemodelconfiguration.js";
491
492
  export * from "./processingattempt.js";
492
493
  export * from "./processingerror.js";
493
494
  export * from "./project.js";
@@ -17,6 +17,7 @@ import {
17
17
 
18
18
  export type LiteLLMModel = {
19
19
  litellmParams: LiteLLMParams;
20
+ modelId?: string | undefined;
20
21
  modelInfo: LiteLLMModelInfo;
21
22
  modelName: string;
22
23
  };
@@ -24,6 +25,7 @@ export type LiteLLMModel = {
24
25
  /** @internal */
25
26
  export type LiteLLMModel$Outbound = {
26
27
  litellm_params: LiteLLMParams$Outbound;
28
+ model_id?: string | undefined;
27
29
  model_info: LiteLLMModelInfo$Outbound;
28
30
  model_name: string;
29
31
  };
@@ -35,11 +37,13 @@ export const LiteLLMModel$outboundSchema: z.ZodType<
35
37
  LiteLLMModel
36
38
  > = z.object({
37
39
  litellmParams: LiteLLMParams$outboundSchema,
40
+ modelId: z.string().optional(),
38
41
  modelInfo: LiteLLMModelInfo$outboundSchema,
39
42
  modelName: z.string(),
40
43
  }).transform((v) => {
41
44
  return remap$(v, {
42
45
  litellmParams: "litellm_params",
46
+ modelId: "model_id",
43
47
  modelInfo: "model_info",
44
48
  modelName: "model_name",
45
49
  });
@@ -21,6 +21,7 @@ export type ModelConfigurationResponse = {
21
21
  isOpenaiCompatible?: boolean | undefined;
22
22
  isTunedModel?: boolean | undefined;
23
23
  location?: string | undefined;
24
+ modelId?: string | undefined;
24
25
  projectId?: string | undefined;
25
26
  provider: string;
26
27
  region?: string | undefined;
@@ -47,6 +48,7 @@ export const ModelConfigurationResponse$inboundSchema: z.ZodType<
47
48
  is_openai_compatible: z.boolean().optional(),
48
49
  is_tuned_model: z.boolean().optional(),
49
50
  location: z.string().optional(),
51
+ model_id: z.string().optional(),
50
52
  project_id: z.string().optional(),
51
53
  provider: z.string(),
52
54
  region: z.string().optional(),
@@ -65,6 +67,7 @@ export const ModelConfigurationResponse$inboundSchema: z.ZodType<
65
67
  "integration_id": "integrationId",
66
68
  "is_openai_compatible": "isOpenaiCompatible",
67
69
  "is_tuned_model": "isTunedModel",
70
+ "model_id": "modelId",
68
71
  "project_id": "projectId",
69
72
  "should_use_beta_features": "shouldUseBetaFeatures",
70
73
  "workspace_id": "workspaceId",
@@ -43,6 +43,7 @@ export type ModelMetadata = {
43
43
  contextWindow?: number | undefined;
44
44
  costEfficiencyRating?: number | undefined;
45
45
  costPerImage?: number | undefined;
46
+ defaultSpeechResponseFormat?: string | undefined;
46
47
  deprecationDate?: string | undefined;
47
48
  embeddingDimensions?: number | undefined;
48
49
  extendedContextPricingMode?: string | undefined;
@@ -179,6 +180,7 @@ export const ModelMetadata$inboundSchema: z.ZodType<
179
180
  context_window: z.number().int().optional(),
180
181
  cost_efficiency_rating: z.number().int().optional(),
181
182
  cost_per_image: z.number().optional(),
183
+ default_speech_response_format: z.string().optional(),
182
184
  deprecation_date: z.string().optional(),
183
185
  embedding_dimensions: z.number().int().optional(),
184
186
  extended_context_pricing_mode: z.string().optional(),
@@ -309,6 +311,7 @@ export const ModelMetadata$inboundSchema: z.ZodType<
309
311
  "context_window": "contextWindow",
310
312
  "cost_efficiency_rating": "costEfficiencyRating",
311
313
  "cost_per_image": "costPerImage",
314
+ "default_speech_response_format": "defaultSpeechResponseFormat",
312
315
  "deprecation_date": "deprecationDate",
313
316
  "embedding_dimensions": "embeddingDimensions",
314
317
  "extended_context_pricing_mode": "extendedContextPricingMode",
@@ -440,6 +443,7 @@ export type ModelMetadata$Outbound = {
440
443
  context_window?: number | undefined;
441
444
  cost_efficiency_rating?: number | undefined;
442
445
  cost_per_image?: number | undefined;
446
+ default_speech_response_format?: string | undefined;
443
447
  deprecation_date?: string | undefined;
444
448
  embedding_dimensions?: number | undefined;
445
449
  extended_context_pricing_mode?: string | undefined;
@@ -578,6 +582,7 @@ export const ModelMetadata$outboundSchema: z.ZodType<
578
582
  contextWindow: z.number().int().optional(),
579
583
  costEfficiencyRating: z.number().int().optional(),
580
584
  costPerImage: z.number().optional(),
585
+ defaultSpeechResponseFormat: z.string().optional(),
581
586
  deprecationDate: z.string().optional(),
582
587
  embeddingDimensions: z.number().int().optional(),
583
588
  extendedContextPricingMode: z.string().optional(),
@@ -708,6 +713,7 @@ export const ModelMetadata$outboundSchema: z.ZodType<
708
713
  contextWindow: "context_window",
709
714
  costEfficiencyRating: "cost_efficiency_rating",
710
715
  costPerImage: "cost_per_image",
716
+ defaultSpeechResponseFormat: "default_speech_response_format",
711
717
  deprecationDate: "deprecation_date",
712
718
  embeddingDimensions: "embedding_dimensions",
713
719
  extendedContextPricingMode: "extended_context_pricing_mode",
@@ -0,0 +1,39 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod/v3";
6
+ import { remap as remap$ } from "../../lib/primitives.js";
7
+
8
+ export type PrivateModelConfiguration = {
9
+ /**
10
+ * Model identifier sent to the provider.
11
+ */
12
+ modelId: string;
13
+ };
14
+
15
+ /** @internal */
16
+ export type PrivateModelConfiguration$Outbound = {
17
+ model_id: string;
18
+ };
19
+
20
+ /** @internal */
21
+ export const PrivateModelConfiguration$outboundSchema: z.ZodType<
22
+ PrivateModelConfiguration$Outbound,
23
+ z.ZodTypeDef,
24
+ PrivateModelConfiguration
25
+ > = z.object({
26
+ modelId: z.string(),
27
+ }).transform((v) => {
28
+ return remap$(v, {
29
+ modelId: "model_id",
30
+ });
31
+ });
32
+
33
+ export function privateModelConfigurationToJSON(
34
+ privateModelConfiguration: PrivateModelConfiguration,
35
+ ): string {
36
+ return JSON.stringify(
37
+ PrivateModelConfiguration$outboundSchema.parse(privateModelConfiguration),
38
+ );
39
+ }
@@ -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("reasoning_01m5ccjq2se6kr17ct5f68yyh5"),
43
+ _id: z.string().default("reasoning_01m5chhncjnsp9j84m1049t3ky"),
44
44
  metadata: z.record(z.any()).optional(),
45
45
  kind: z.literal("reasoning"),
46
46
  reasoning: z.string(),
@@ -1575,7 +1575,7 @@ export const ResponseBodyCodeExecutionTool$inboundSchema: z.ZodType<
1575
1575
  z.ZodTypeDef,
1576
1576
  unknown
1577
1577
  > = z.object({
1578
- _id: z.string().default("tool_01M5CCJQ7K0NQ90ADTS3T57SKZ"),
1578
+ _id: z.string().default("tool_01M5CHHNFAZ2DZ06KPAAAB4TBF"),
1579
1579
  path: z.string(),
1580
1580
  key: z.string(),
1581
1581
  display_name: z.string().optional(),
@@ -1761,7 +1761,7 @@ export const ResponseBodyHTTPTool$inboundSchema: z.ZodType<
1761
1761
  z.ZodTypeDef,
1762
1762
  unknown
1763
1763
  > = z.object({
1764
- _id: z.string().default("tool_01M5CCJQ7JXSSNCZVPF0DPYRJ7"),
1764
+ _id: z.string().default("tool_01M5CHHNFA70F3W2VAN6CPJGA1"),
1765
1765
  path: z.string(),
1766
1766
  key: z.string(),
1767
1767
  display_name: z.string().optional(),
@@ -1854,7 +1854,7 @@ export const ResponseBodyJSONSchemaTool$inboundSchema: z.ZodType<
1854
1854
  z.ZodTypeDef,
1855
1855
  unknown
1856
1856
  > = z.object({
1857
- _id: z.string().default("tool_01M5CCJQ7H4FDD5A988ZEZPS3G"),
1857
+ _id: z.string().default("tool_01M5CHHNF95E8SVK420KGQGRKP"),
1858
1858
  path: z.string(),
1859
1859
  key: z.string(),
1860
1860
  display_name: z.string().optional(),
@@ -1955,7 +1955,7 @@ export const ResponseBodyFunctionTool$inboundSchema: z.ZodType<
1955
1955
  z.ZodTypeDef,
1956
1956
  unknown
1957
1957
  > = z.object({
1958
- _id: z.string().default("tool_01M5CCJQ7G0DRNNNRJPFBXZM8D"),
1958
+ _id: z.string().default("tool_01M5CHHNF97KN0R9T51RTSPTHG"),
1959
1959
  path: z.string(),
1960
1960
  key: z.string(),
1961
1961
  display_name: z.string().optional(),
@@ -639,7 +639,7 @@ export const DataCodeExecutionTool$inboundSchema: z.ZodType<
639
639
  z.ZodTypeDef,
640
640
  unknown
641
641
  > = z.object({
642
- _id: z.string().default("tool_01M5CCJQ7AAAX62AVAEWJDVV50"),
642
+ _id: z.string().default("tool_01M5CHHNF5R3BMDBF0M7JW1BEJ"),
643
643
  path: z.string(),
644
644
  key: z.string(),
645
645
  display_name: z.string().optional(),
@@ -821,7 +821,7 @@ export const DataHTTPTool$inboundSchema: z.ZodType<
821
821
  z.ZodTypeDef,
822
822
  unknown
823
823
  > = z.object({
824
- _id: z.string().default("tool_01M5CCJQ79R2Q41WYSNJ74TG8X"),
824
+ _id: z.string().default("tool_01M5CHHNF5P1TKMEN8AH0XEEHR"),
825
825
  path: z.string(),
826
826
  key: z.string(),
827
827
  display_name: z.string().optional(),
@@ -914,7 +914,7 @@ export const DataJSONSchemaTool$inboundSchema: z.ZodType<
914
914
  z.ZodTypeDef,
915
915
  unknown
916
916
  > = z.object({
917
- _id: z.string().default("tool_01M5CCJQ78M38A0HJ709SWT1SC"),
917
+ _id: z.string().default("tool_01M5CHHNF491BDJ5117KF98BX4"),
918
918
  path: z.string(),
919
919
  key: z.string(),
920
920
  display_name: z.string().optional(),
@@ -1012,7 +1012,7 @@ export const DataFunctionTool$inboundSchema: z.ZodType<
1012
1012
  z.ZodTypeDef,
1013
1013
  unknown
1014
1014
  > = z.object({
1015
- _id: z.string().default("tool_01M5CCJQ77Q248BDQ1CSX3HQND"),
1015
+ _id: z.string().default("tool_01M5CHHNF46BY52XTSQVTRAND7"),
1016
1016
  path: z.string(),
1017
1017
  key: z.string(),
1018
1018
  display_name: z.string().optional(),
@@ -140,7 +140,7 @@ export const GetV2HumanEvalSetsResponseBody2$inboundSchema: z.ZodType<
140
140
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
141
141
  .optional(),
142
142
  updated: z.string().datetime({ offset: true }).default(
143
- "2026-10-20T10:09:06.014Z",
143
+ "2026-10-20T11:35:57.378Z",
144
144
  ).transform(v => new Date(v)),
145
145
  filter_type: z.literal("name"),
146
146
  filter_value: z.string(),
@@ -185,7 +185,7 @@ export const GetV2HumanEvalSetsResponseBody1$inboundSchema: z.ZodType<
185
185
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
186
186
  .optional(),
187
187
  updated: z.string().datetime({ offset: true }).default(
188
- "2026-10-20T10:09:06.014Z",
188
+ "2026-10-20T11:35:57.378Z",
189
189
  ).transform(v => new Date(v)),
190
190
  filter_type: z.literal("span_type"),
191
191
  filter_values: z.array(z.string()),
@@ -141,7 +141,7 @@ export const GetV2HumanEvalSetsIdResponseBody2$inboundSchema: z.ZodType<
141
141
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
142
142
  .optional(),
143
143
  updated: z.string().datetime({ offset: true }).default(
144
- "2026-10-20T10:09:06.014Z",
144
+ "2026-10-20T11:35:57.378Z",
145
145
  ).transform(v => new Date(v)),
146
146
  filter_type: z.literal("name"),
147
147
  filter_value: z.string(),
@@ -186,7 +186,7 @@ export const GetV2HumanEvalSetsIdResponseBody1$inboundSchema: z.ZodType<
186
186
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
187
187
  .optional(),
188
188
  updated: z.string().datetime({ offset: true }).default(
189
- "2026-10-20T10:09:06.014Z",
189
+ "2026-10-20T11:35:57.378Z",
190
190
  ).transform(v => new Date(v)),
191
191
  filter_type: z.literal("span_type"),
192
192
  filter_values: z.array(z.string()),
@@ -2525,7 +2525,7 @@ export const ListDeploymentVersionsKnowledgeBases$inboundSchema: z.ZodType<
2525
2525
  z.ZodTypeDef,
2526
2526
  unknown
2527
2527
  > = z.object({
2528
- id: z.string().default("01M5CCJQ1E45QMEEDH9EP6YB2F"),
2528
+ id: z.string().default("01M5CHHNBVM9HPK40GGZHZNT33"),
2529
2529
  knowledge_id: z.string(),
2530
2530
  configuration: z.union([
2531
2531
  z.lazy(() => KnowledgeBaseLastUserMessage$inboundSchema),
@@ -19,6 +19,9 @@ export type ModelCreateRequestBody = {
19
19
  metadata: components.ModelMetadata;
20
20
  modelDeveloper: string;
21
21
  modelFamily: string;
22
+ /**
23
+ * Immutable workspace-unique slug when configuration.model_id is supplied.
24
+ */
22
25
  modelId: string;
23
26
  modelType: string;
24
27
  outputCost: number;
@@ -18,6 +18,7 @@ export type ModelCreateAwsBedrockRequestBody = {
18
18
  benchmarkModel?: string | undefined;
19
19
  cacheReadCost?: number | undefined;
20
20
  cacheWriteCost?: number | undefined;
21
+ configuration?: components.PrivateModelConfiguration | undefined;
21
22
  description?: string | undefined;
22
23
  displayName: string;
23
24
  hasReasoning?: boolean | undefined;
@@ -26,6 +27,9 @@ export type ModelCreateAwsBedrockRequestBody = {
26
27
  maxTokens?: number | undefined;
27
28
  modelDeveloper: string;
28
29
  modelFamily?: string | undefined;
30
+ /**
31
+ * Immutable workspace-unique slug when configuration.model_id is supplied.
32
+ */
29
33
  modelId: string;
30
34
  modelType?: string | undefined;
31
35
  outputCost?: number | undefined;
@@ -88,6 +92,7 @@ export type ModelCreateAwsBedrockRequestBody$Outbound = {
88
92
  benchmark_model?: string | undefined;
89
93
  cache_read_cost?: number | undefined;
90
94
  cache_write_cost?: number | undefined;
95
+ configuration?: components.PrivateModelConfiguration$Outbound | undefined;
91
96
  description?: string | undefined;
92
97
  display_name: string;
93
98
  has_reasoning?: boolean | undefined;
@@ -124,6 +129,7 @@ export const ModelCreateAwsBedrockRequestBody$outboundSchema: z.ZodType<
124
129
  benchmarkModel: z.string().optional(),
125
130
  cacheReadCost: z.number().optional(),
126
131
  cacheWriteCost: z.number().optional(),
132
+ configuration: components.PrivateModelConfiguration$outboundSchema.optional(),
127
133
  description: z.string().optional(),
128
134
  displayName: z.string(),
129
135
  hasReasoning: z.boolean().optional(),
@@ -15,12 +15,16 @@ export type ModelCreateOpenAILikeRequestBody = {
15
15
  benchmarkModel?: string | undefined;
16
16
  cacheReadCost?: number | undefined;
17
17
  cacheWriteCost?: number | undefined;
18
+ configuration?: components.PrivateModelConfiguration | undefined;
18
19
  costPerImage?: number | undefined;
19
20
  description?: string | undefined;
20
21
  displayName: string;
21
22
  hasReasoning?: boolean | undefined;
22
23
  inputCost?: number | undefined;
23
24
  maxTokens?: number | undefined;
25
+ /**
26
+ * Immutable workspace-unique slug when configuration.model_id is supplied.
27
+ */
24
28
  modelId: string;
25
29
  modelType: string;
26
30
  outputCost?: number | undefined;
@@ -77,6 +81,7 @@ export type ModelCreateOpenAILikeRequestBody$Outbound = {
77
81
  benchmark_model?: string | undefined;
78
82
  cache_read_cost?: number | undefined;
79
83
  cache_write_cost?: number | undefined;
84
+ configuration?: components.PrivateModelConfiguration$Outbound | undefined;
80
85
  cost_per_image?: number | undefined;
81
86
  description?: string | undefined;
82
87
  display_name: string;
@@ -105,6 +110,7 @@ export const ModelCreateOpenAILikeRequestBody$outboundSchema: z.ZodType<
105
110
  benchmarkModel: z.string().optional(),
106
111
  cacheReadCost: z.number().optional(),
107
112
  cacheWriteCost: z.number().optional(),
113
+ configuration: components.PrivateModelConfiguration$outboundSchema.optional(),
108
114
  costPerImage: z.number().optional(),
109
115
  description: z.string().optional(),
110
116
  displayName: z.string(),
@@ -13,6 +13,10 @@ export type ModelCreateVertexRequestBody = {
13
13
  benchmarkModel?: string | undefined;
14
14
  configuration: components.VertexConfiguration;
15
15
  displayName: string;
16
+ /**
17
+ * Immutable private-model slug; defaults to display_name.
18
+ */
19
+ modelId?: string | undefined;
16
20
  };
17
21
 
18
22
  /**
@@ -58,6 +62,7 @@ export type ModelCreateVertexRequestBody$Outbound = {
58
62
  benchmark_model?: string | undefined;
59
63
  configuration: components.VertexConfiguration$Outbound;
60
64
  display_name: string;
65
+ model_id?: string | undefined;
61
66
  };
62
67
 
63
68
  /** @internal */
@@ -69,10 +74,12 @@ export const ModelCreateVertexRequestBody$outboundSchema: z.ZodType<
69
74
  benchmarkModel: z.string().optional(),
70
75
  configuration: components.VertexConfiguration$outboundSchema,
71
76
  displayName: z.string(),
77
+ modelId: z.string().optional(),
72
78
  }).transform((v) => {
73
79
  return remap$(v, {
74
80
  benchmarkModel: "benchmark_model",
75
81
  displayName: "display_name",
82
+ modelId: "model_id",
76
83
  });
77
84
  });
78
85
 
@@ -15,6 +15,10 @@ export type ModelUpdateRequestBody = {
15
15
  hasFunctions?: boolean | undefined;
16
16
  inputCost?: number | undefined;
17
17
  metadata?: components.ModelMetadata | undefined;
18
+ /**
19
+ * Immutable private-model slug.
20
+ */
21
+ modelId?: string | undefined;
18
22
  modelType?: string | undefined;
19
23
  outputCost?: number | undefined;
20
24
  parameters?: Array<components.UpdateModelParameter> | undefined;
@@ -73,6 +77,7 @@ export type ModelUpdateRequestBody$Outbound = {
73
77
  has_functions?: boolean | undefined;
74
78
  input_cost?: number | undefined;
75
79
  metadata?: components.ModelMetadata$Outbound | undefined;
80
+ model_id?: string | undefined;
76
81
  model_type?: string | undefined;
77
82
  output_cost?: number | undefined;
78
83
  parameters?: Array<components.UpdateModelParameter$Outbound> | undefined;
@@ -89,6 +94,7 @@ export const ModelUpdateRequestBody$outboundSchema: z.ZodType<
89
94
  hasFunctions: z.boolean().optional(),
90
95
  inputCost: z.number().optional(),
91
96
  metadata: components.ModelMetadata$outboundSchema.optional(),
97
+ modelId: z.string().optional(),
92
98
  modelType: z.string().optional(),
93
99
  outputCost: z.number().optional(),
94
100
  parameters: z.array(components.UpdateModelParameter$outboundSchema)
@@ -99,6 +105,7 @@ export const ModelUpdateRequestBody$outboundSchema: z.ZodType<
99
105
  displayName: "display_name",
100
106
  hasFunctions: "has_functions",
101
107
  inputCost: "input_cost",
108
+ modelId: "model_id",
102
109
  modelType: "model_type",
103
110
  outputCost: "output_cost",
104
111
  });
@@ -17,6 +17,7 @@ export type ModelUpdateAwsBedrockRequestBody = {
17
17
  benchmarkModel?: string | undefined;
18
18
  cacheReadCost?: number | undefined;
19
19
  cacheWriteCost?: number | undefined;
20
+ configuration?: components.PrivateModelConfiguration | undefined;
20
21
  description?: string | undefined;
21
22
  displayName?: string | undefined;
22
23
  hasReasoning?: boolean | undefined;
@@ -92,6 +93,7 @@ export type ModelUpdateAwsBedrockRequestBody$Outbound = {
92
93
  benchmark_model?: string | undefined;
93
94
  cache_read_cost?: number | undefined;
94
95
  cache_write_cost?: number | undefined;
96
+ configuration?: components.PrivateModelConfiguration$Outbound | undefined;
95
97
  description?: string | undefined;
96
98
  display_name?: string | undefined;
97
99
  has_reasoning?: boolean | undefined;
@@ -125,6 +127,7 @@ export const ModelUpdateAwsBedrockRequestBody$outboundSchema: z.ZodType<
125
127
  benchmarkModel: z.string().optional(),
126
128
  cacheReadCost: z.number().optional(),
127
129
  cacheWriteCost: z.number().optional(),
130
+ configuration: components.PrivateModelConfiguration$outboundSchema.optional(),
128
131
  description: z.string().optional(),
129
132
  displayName: z.string().optional(),
130
133
  hasReasoning: z.boolean().optional(),
@@ -14,6 +14,7 @@ export type ModelUpdateOpenAILikeRequestBody = {
14
14
  benchmarkModel?: string | undefined;
15
15
  cacheReadCost?: number | undefined;
16
16
  cacheWriteCost?: number | undefined;
17
+ configuration?: components.PrivateModelConfiguration | undefined;
17
18
  costPerImage?: number | undefined;
18
19
  description?: string | undefined;
19
20
  displayName: string;
@@ -83,6 +84,7 @@ export type ModelUpdateOpenAILikeRequestBody$Outbound = {
83
84
  benchmark_model?: string | undefined;
84
85
  cache_read_cost?: number | undefined;
85
86
  cache_write_cost?: number | undefined;
87
+ configuration?: components.PrivateModelConfiguration$Outbound | undefined;
86
88
  cost_per_image?: number | undefined;
87
89
  description?: string | undefined;
88
90
  display_name: string;
@@ -110,6 +112,7 @@ export const ModelUpdateOpenAILikeRequestBody$outboundSchema: z.ZodType<
110
112
  benchmarkModel: z.string().optional(),
111
113
  cacheReadCost: z.number().optional(),
112
114
  cacheWriteCost: z.number().optional(),
115
+ configuration: components.PrivateModelConfiguration$outboundSchema.optional(),
113
116
  costPerImage: z.number().optional(),
114
117
  description: z.string().optional(),
115
118
  displayName: z.string(),