@orq-ai/node 4.16.12 → 4.16.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.
Files changed (69) 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/reasoningpart.js +1 -1
  5. package/models/operations/createtool.js +4 -4
  6. package/models/operations/getalltools.js +4 -4
  7. package/models/operations/getv2humanevalsets.js +2 -2
  8. package/models/operations/getv2humanevalsetsid.js +2 -2
  9. package/models/operations/listdeploymentversions.js +1 -1
  10. package/models/operations/patchv2humanevalsetsid.js +2 -2
  11. package/models/operations/postv2feedbackevaluation.js +4 -4
  12. package/models/operations/postv2humanevalsets.js +2 -2
  13. package/models/operations/retrievetool.js +4 -4
  14. package/models/operations/runagent.js +1 -1
  15. package/models/operations/streamrunagent.js +1 -1
  16. package/models/operations/updatetool.js +4 -4
  17. package/package.json +6 -6
  18. package/packages/orq-rc/src/lib/config.ts +2 -2
  19. package/packages/orq-rc/src/models/components/budgetalert.ts +1 -0
  20. package/packages/orq-rc/src/models/components/budgetalertrestresponse.ts +1 -0
  21. package/packages/orq-rc/src/models/components/budgetscope.ts +1 -1
  22. package/packages/orq-rc/src/models/components/budgetscoperestresponse.ts +1 -1
  23. package/packages/orq-rc/src/models/components/createbudgetrequest.ts +3 -3
  24. package/packages/orq-rc/src/models/components/guardrailruleplugin.ts +1 -1
  25. package/packages/orq-rc/src/models/components/reasoningpart.ts +1 -1
  26. package/packages/orq-rc/src/models/components/routingruleplugin.ts +1 -1
  27. package/packages/orq-rc/src/models/components/spansummary.ts +6 -0
  28. package/packages/orq-rc/src/models/operations/createagentrequest.ts +4 -4
  29. package/packages/orq-rc/src/models/operations/createchatcompletion.ts +2 -2
  30. package/packages/orq-rc/src/models/operations/createcompletion.ts +2 -2
  31. package/packages/orq-rc/src/models/operations/createimage.ts +2 -2
  32. package/packages/orq-rc/src/models/operations/createimageedit.ts +2 -2
  33. package/packages/orq-rc/src/models/operations/createimagevariation.ts +2 -2
  34. package/packages/orq-rc/src/models/operations/createprompt.ts +2 -2
  35. package/packages/orq-rc/src/models/operations/creatererank.ts +2 -2
  36. package/packages/orq-rc/src/models/operations/createtool.ts +4 -4
  37. package/packages/orq-rc/src/models/operations/getallprompts.ts +1 -1
  38. package/packages/orq-rc/src/models/operations/getalltools.ts +4 -4
  39. package/packages/orq-rc/src/models/operations/getoneprompt.ts +1 -1
  40. package/packages/orq-rc/src/models/operations/getpromptversion.ts +1 -1
  41. package/packages/orq-rc/src/models/operations/getv2humanevalsets.ts +2 -2
  42. package/packages/orq-rc/src/models/operations/getv2humanevalsetsid.ts +2 -2
  43. package/packages/orq-rc/src/models/operations/listagents.ts +2 -2
  44. package/packages/orq-rc/src/models/operations/listdeploymentversions.ts +1 -1
  45. package/packages/orq-rc/src/models/operations/listpromptversions.ts +1 -1
  46. package/packages/orq-rc/src/models/operations/patchv2humanevalsetsid.ts +2 -2
  47. package/packages/orq-rc/src/models/operations/postv2feedbackevaluation.ts +4 -4
  48. package/packages/orq-rc/src/models/operations/postv2humanevalsets.ts +2 -2
  49. package/packages/orq-rc/src/models/operations/retrieveagentrequest.ts +2 -2
  50. package/packages/orq-rc/src/models/operations/retrievetool.ts +4 -4
  51. package/packages/orq-rc/src/models/operations/runagent.ts +3 -3
  52. package/packages/orq-rc/src/models/operations/streamrunagent.ts +3 -3
  53. package/packages/orq-rc/src/models/operations/updateagent.ts +4 -4
  54. package/packages/orq-rc/src/models/operations/updateprompt.ts +2 -2
  55. package/packages/orq-rc/src/models/operations/updatetool.ts +4 -4
  56. package/src/lib/config.ts +2 -2
  57. package/src/models/components/reasoningpart.ts +1 -1
  58. package/src/models/operations/createtool.ts +4 -4
  59. package/src/models/operations/getalltools.ts +4 -4
  60. package/src/models/operations/getv2humanevalsets.ts +2 -2
  61. package/src/models/operations/getv2humanevalsetsid.ts +2 -2
  62. package/src/models/operations/listdeploymentversions.ts +1 -1
  63. package/src/models/operations/patchv2humanevalsetsid.ts +2 -2
  64. package/src/models/operations/postv2feedbackevaluation.ts +4 -4
  65. package/src/models/operations/postv2humanevalsets.ts +2 -2
  66. package/src/models/operations/retrievetool.ts +4 -4
  67. package/src/models/operations/runagent.ts +1 -1
  68. package/src/models/operations/streamrunagent.ts +1 -1
  69. package/src/models/operations/updatetool.ts +4 -4
package/jsr.json CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  {
4
4
  "name": "@orq-ai/node",
5
- "version": "4.16.12",
5
+ "version": "4.16.13",
6
6
  "exports": {
7
7
  ".": "./src/index.ts",
8
8
  "./models/errors": "./src/models/errors/index.ts",
package/lib/config.d.ts CHANGED
@@ -31,8 +31,8 @@ export declare function serverURLFromOptions(options: SDKOptions): URL | null;
31
31
  export declare const SDK_METADATA: {
32
32
  readonly language: "typescript";
33
33
  readonly openapiDocVersion: "2.0";
34
- readonly sdkVersion: "4.16.12";
34
+ readonly sdkVersion: "4.16.13";
35
35
  readonly genVersion: "2.948.4";
36
- readonly userAgent: "speakeasy-sdk/typescript 4.16.12 2.948.4 2.0 @orq-ai/node";
36
+ readonly userAgent: "speakeasy-sdk/typescript 4.16.13 2.948.4 2.0 @orq-ai/node";
37
37
  };
38
38
  //# sourceMappingURL=config.d.ts.map
package/lib/config.js CHANGED
@@ -28,8 +28,8 @@ function serverURLFromOptions(options) {
28
28
  exports.SDK_METADATA = {
29
29
  language: "typescript",
30
30
  openapiDocVersion: "2.0",
31
- sdkVersion: "4.16.12",
31
+ sdkVersion: "4.16.13",
32
32
  genVersion: "2.948.4",
33
- userAgent: "speakeasy-sdk/typescript 4.16.12 2.948.4 2.0 @orq-ai/node",
33
+ userAgent: "speakeasy-sdk/typescript 4.16.13 2.948.4 2.0 @orq-ai/node",
34
34
  };
35
35
  //# sourceMappingURL=config.js.map
@@ -43,7 +43,7 @@ const primitives_js_1 = require("../../lib/primitives.js");
43
43
  const schemas_js_1 = require("../../lib/schemas.js");
44
44
  /** @internal */
45
45
  exports.ReasoningPart$inboundSchema = z.object({
46
- _id: z.string().default("reasoning_01m57sw3e4vgb6d1hztcjvdqcn"),
46
+ _id: z.string().default("reasoning_01m5c6jcgczwv8xr6esd3smbpm"),
47
47
  metadata: z.record(z.any()).optional(),
48
48
  kind: z.literal("reasoning"),
49
49
  reasoning: z.string(),
@@ -472,7 +472,7 @@ function responseBodyCodeToolFromJSON(jsonString) {
472
472
  }
473
473
  /** @internal */
474
474
  exports.ResponseBodyCodeExecutionTool$inboundSchema = z.object({
475
- _id: z.string().default("tool_01M57SW3GGP28B8XQW4VRPGVG8"),
475
+ _id: z.string().default("tool_01M5C6JCN04JVJTYS9BM2G40S9"),
476
476
  path: z.string(),
477
477
  key: z.string(),
478
478
  display_name: z.string().optional(),
@@ -562,7 +562,7 @@ function responseBodyHttpFromJSON(jsonString) {
562
562
  }
563
563
  /** @internal */
564
564
  exports.ResponseBodyHTTPTool$inboundSchema = z.object({
565
- _id: z.string().default("tool_01M57SW3GG58A0SXCKDSBEBPA8"),
565
+ _id: z.string().default("tool_01M5C6JCMZPBQTAKYKTV41V4FZ"),
566
566
  path: z.string(),
567
567
  key: z.string(),
568
568
  display_name: z.string().optional(),
@@ -612,7 +612,7 @@ function responseBodyJsonSchemaFromJSON(jsonString) {
612
612
  }
613
613
  /** @internal */
614
614
  exports.ResponseBodyJSONSchemaTool$inboundSchema = z.object({
615
- _id: z.string().default("tool_01M57SW3GEM0F0Y29Z2Q3ZPJ4E"),
615
+ _id: z.string().default("tool_01M5C6JCMYT4G43HS8DJ3ZG7HE"),
616
616
  path: z.string(),
617
617
  key: z.string(),
618
618
  display_name: z.string().optional(),
@@ -665,7 +665,7 @@ function responseBodyFunctionFromJSON(jsonString) {
665
665
  }
666
666
  /** @internal */
667
667
  exports.ResponseBodyFunctionTool$inboundSchema = z.object({
668
- _id: z.string().default("tool_01M57SW3GEYWYN7WS3ZS6SM13B"),
668
+ _id: z.string().default("tool_01M5C6JCMY9QWHRMNEDRTK5T13"),
669
669
  path: z.string(),
670
670
  key: z.string(),
671
671
  display_name: z.string().optional(),
@@ -172,7 +172,7 @@ function dataCodeToolFromJSON(jsonString) {
172
172
  }
173
173
  /** @internal */
174
174
  exports.DataCodeExecutionTool$inboundSchema = z.object({
175
- _id: z.string().default("tool_01M57SW3GCSA8KQGRS32JA8RYP"),
175
+ _id: z.string().default("tool_01M5C6JCMS40VD638WSG9T41CW"),
176
176
  path: z.string(),
177
177
  key: z.string(),
178
178
  display_name: z.string().optional(),
@@ -261,7 +261,7 @@ function dataHttpFromJSON(jsonString) {
261
261
  }
262
262
  /** @internal */
263
263
  exports.DataHTTPTool$inboundSchema = z.object({
264
- _id: z.string().default("tool_01M57SW3GBBPF0GRAJQB7ZA9V1"),
264
+ _id: z.string().default("tool_01M5C6JCMRFYXW5AEBA3YS92YE"),
265
265
  path: z.string(),
266
266
  key: z.string(),
267
267
  display_name: z.string().optional(),
@@ -311,7 +311,7 @@ function dataJsonSchemaFromJSON(jsonString) {
311
311
  }
312
312
  /** @internal */
313
313
  exports.DataJSONSchemaTool$inboundSchema = z.object({
314
- _id: z.string().default("tool_01M57SW3GBJMJPFKWRJVWK72AR"),
314
+ _id: z.string().default("tool_01M5C6JCMQBK23CNW38H4H7PEX"),
315
315
  path: z.string(),
316
316
  key: z.string(),
317
317
  display_name: z.string().optional(),
@@ -366,7 +366,7 @@ function dataFunctionFromJSON(jsonString) {
366
366
  }
367
367
  /** @internal */
368
368
  exports.DataFunctionTool$inboundSchema = z.object({
369
- _id: z.string().default("tool_01M57SW3GAG1D6FXAWJQ1X7C2F"),
369
+ _id: z.string().default("tool_01M5C6JCMP8G81RW2QKFN0E64C"),
370
370
  path: z.string(),
371
371
  key: z.string(),
372
372
  display_name: z.string().optional(),
@@ -67,7 +67,7 @@ exports.GetV2HumanEvalSetsResponseBody2$inboundSchema = z.object({
67
67
  updated_by_id: z.string().optional(),
68
68
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
69
69
  .optional(),
70
- updated: z.string().datetime({ offset: true }).default("2026-10-18T15:25:15.997Z").transform(v => new Date(v)),
70
+ updated: z.string().datetime({ offset: true }).default("2026-10-20T08:24:03.277Z").transform(v => new Date(v)),
71
71
  filter_type: z.literal("name"),
72
72
  filter_value: z.string(),
73
73
  }).transform((v) => {
@@ -98,7 +98,7 @@ exports.GetV2HumanEvalSetsResponseBody1$inboundSchema = z.object({
98
98
  updated_by_id: z.string().optional(),
99
99
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
100
100
  .optional(),
101
- updated: z.string().datetime({ offset: true }).default("2026-10-18T15:25:15.997Z").transform(v => new Date(v)),
101
+ updated: z.string().datetime({ offset: true }).default("2026-10-20T08:24:03.277Z").transform(v => new Date(v)),
102
102
  filter_type: z.literal("span_type"),
103
103
  filter_values: z.array(z.string()),
104
104
  }).transform((v) => {
@@ -63,7 +63,7 @@ exports.GetV2HumanEvalSetsIdResponseBody2$inboundSchema = z.object({
63
63
  updated_by_id: z.string().optional(),
64
64
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
65
65
  .optional(),
66
- updated: z.string().datetime({ offset: true }).default("2026-10-18T15:25:15.997Z").transform(v => new Date(v)),
66
+ updated: z.string().datetime({ offset: true }).default("2026-10-20T08:24:03.277Z").transform(v => new Date(v)),
67
67
  filter_type: z.literal("name"),
68
68
  filter_value: z.string(),
69
69
  }).transform((v) => {
@@ -94,7 +94,7 @@ exports.GetV2HumanEvalSetsIdResponseBody1$inboundSchema = z.object({
94
94
  updated_by_id: z.string().optional(),
95
95
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
96
96
  .optional(),
97
- updated: z.string().datetime({ offset: true }).default("2026-10-18T15:25:15.997Z").transform(v => new Date(v)),
97
+ updated: z.string().datetime({ offset: true }).default("2026-10-20T08:24:03.277Z").transform(v => new Date(v)),
98
98
  filter_type: z.literal("span_type"),
99
99
  filter_values: z.array(z.string()),
100
100
  }).transform((v) => {
@@ -1011,7 +1011,7 @@ function knowledgeBaseConfigurationFromJSON(jsonString) {
1011
1011
  }
1012
1012
  /** @internal */
1013
1013
  exports.ListDeploymentVersionsKnowledgeBases$inboundSchema = z.object({
1014
- id: z.string().default("01M57SW3DFQV4TE2RWH8MJWBSS"),
1014
+ id: z.string().default("01M5C6JCEY405X0R3VMJE0SJT0"),
1015
1015
  knowledge_id: z.string(),
1016
1016
  configuration: z.union([
1017
1017
  z.lazy(() => exports.KnowledgeBaseLastUserMessage$inboundSchema),
@@ -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-18T15:25:15.997Z").transform(v => new Date(v)),
125
+ updated: z.string().datetime({ offset: true }).default("2026-10-20T08:24:03.277Z").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-18T15:25:15.997Z").transform(v => new Date(v)),
156
+ updated: z.string().datetime({ offset: true }).default("2026-10-20T08:24:03.277Z").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-10-18T15:25:20.816Z"))
99
+ reviewedAt: z.date().default(() => new Date("2026-10-20T08:24:11.743Z"))
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-10-18T15:25:20.816Z"))
129
+ reviewedAt: z.date().default(() => new Date("2026-10-20T08:24:11.743Z"))
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-10-18T15:25:20.816Z"))
157
+ reviewedAt: z.date().default(() => new Date("2026-10-20T08:24:11.743Z"))
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-10-18T15:25:20.816Z"))
184
+ reviewedAt: z.date().default(() => new Date("2026-10-20T08:24:11.742Z"))
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-10-18T15:25:15.997Z").transform(v => new Date(v)),
109
+ updated: z.string().datetime({ offset: true }).default("2026-10-20T08:24:03.277Z").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-18T15:25:15.997Z").transform(v => new Date(v)),
140
+ updated: z.string().datetime({ offset: true }).default("2026-10-20T08:24:03.277Z").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_01M57SW3GRMEYKNVJ6MHG1CXY3"),
167
+ _id: z.string().default("tool_01M5C6JCNF5E8WZHWDP2RYCMA6"),
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_01M57SW3GQ18MKEDRARB5BRWD5"),
256
+ _id: z.string().default("tool_01M5C6JCNEHXRSXQK9XHMVHDNM"),
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_01M57SW3GQE7XJYYE9X7D459V5"),
306
+ _id: z.string().default("tool_01M5C6JCNDZ3Q680K259ZQEC26"),
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_01M57SW3GPVA6RAQWNM5XNWRA7"),
360
+ _id: z.string().default("tool_01M5C6JCNDA9Q8K2P1N768BJS0"),
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("01M57SW3F260HSJB3M81RDW1KD"),
1101
+ id: z.string().default("01M5C6JCJ8QQYX8AWRBS918N8N"),
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("01M57SW3FE7C4NPND3X1WQG6ZP"),
1067
+ id: z.string().default("01M5C6JCK06FTQXJ7MFGB7D939"),
1068
1068
  name: z.string(),
1069
1069
  description: z.string().optional(),
1070
1070
  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_01M57SW3GK4F90N2KKK43545E0"),
539
+ _id: z.string().default("tool_01M5C6JCN5WESWVHGJPNKGJ87F"),
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_01M57SW3GJZWR3CKYFET87YRPS"),
628
+ _id: z.string().default("tool_01M5C6JCN48E3PATTHTMG1QBD8"),
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_01M57SW3GJX0NPNZM7TTCVKM09"),
678
+ _id: z.string().default("tool_01M5C6JCN4MXHMEPTNTQZE2RFN"),
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_01M57SW3GJGM35GZVQ65V1CHE9"),
732
+ _id: z.string().default("tool_01M5C6JCN3M2FJ3ZX9V3VW7TW0"),
733
733
  path: z.string(),
734
734
  key: z.string(),
735
735
  display_name: z.string().optional(),
package/package.json CHANGED
@@ -1,18 +1,18 @@
1
1
  {
2
2
  "name": "@orq-ai/node",
3
- "version": "4.16.12",
3
+ "version": "4.16.13",
4
4
  "author": "Orq",
5
5
  "exports": {
6
- ".": {
7
- "import": "./index.js",
8
- "require": "./index.js",
9
- "types": "./index.d.ts"
10
- },
11
6
  "./*": "./*",
12
7
  "./langchain": {
13
8
  "import": "./langchain/index.mjs",
14
9
  "require": "./langchain/index.js",
15
10
  "types": "./langchain/index.d.mts"
11
+ },
12
+ ".": {
13
+ "import": "./index.js",
14
+ "require": "./index.js",
15
+ "types": "./index.d.ts"
16
16
  }
17
17
  },
18
18
  "main": "./index.js",
@@ -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.34",
61
+ sdkVersion: "4.17.0-rc.41",
62
62
  genVersion: "2.948.4",
63
- userAgent: "speakeasy-sdk/typescript 4.17.0-rc.34 2.948.4 2.0 @orq-ai/node",
63
+ userAgent: "speakeasy-sdk/typescript 4.17.0-rc.41 2.948.4 2.0 @orq-ai/node",
64
64
  } as const;
@@ -20,6 +20,7 @@ import {
20
20
  * `dimension` reaches `threshold_percent` of the matching limit. Each alert
21
21
  * fires at most once per period, re-arming on rollover or a limit change.
22
22
  * The dimension must have a limit set, or the write is rejected.
23
+ * A TOKENS alert is rejected.
23
24
  */
24
25
  export type BudgetAlert = {
25
26
  /**
@@ -18,6 +18,7 @@ import {
18
18
  * `dimension` reaches `threshold_percent` of the matching limit. Each alert
19
19
  * fires at most once per period, re-arming on rollover or a limit change.
20
20
  * The dimension must have a limit set, or the write is rejected.
21
+ * A TOKENS alert is rejected.
21
22
  */
22
23
  export type BudgetAlertRestResponse = {
23
24
  /**
@@ -45,7 +45,7 @@ import {
45
45
  } from "./workspacebudgetscope.js";
46
46
 
47
47
  /**
48
- * Closed oneof of workspace, project, identity, api_key, provider, or model. Exactly one variant must be set. Variants are ordered by enforcement precedence (most specific to most general).
48
+ * Closed oneof of workspace, project, identity, api_key, provider, or model. Exactly one variant must be set.
49
49
  */
50
50
  export type BudgetScope = {
51
51
  /**
@@ -32,7 +32,7 @@ import {
32
32
  } from "./workspacebudgetscope.js";
33
33
 
34
34
  /**
35
- * Closed oneof of workspace, project, identity, api_key, provider, or model. Exactly one variant must be set. Variants are ordered by enforcement precedence (most specific to most general).
35
+ * Closed oneof of workspace, project, identity, api_key, provider, or model. Exactly one variant must be set.
36
36
  */
37
37
  export type BudgetScopeRestResponse = {
38
38
  /**
@@ -37,7 +37,7 @@ export type CreateBudgetRequest = {
37
37
  * @remarks
38
38
  * for the six canonical kinds (the server derives the matching CEL),
39
39
  * or provide `match` for a dynamic budget. Exactly one of the two
40
- * must be set; the handler enforces that invariant.
40
+ * must be set.
41
41
  */
42
42
  scope?: BudgetScope | undefined;
43
43
  /**
@@ -52,7 +52,7 @@ export type CreateBudgetRequest = {
52
52
  * At least one of amount / token_limit / rate_limit.requests_per_minute
53
53
  *
54
54
  * @remarks
55
- * must be provided on the budget; the handler enforces that invariant.
55
+ * must be provided on the budget.
56
56
  */
57
57
  limits?: BudgetLimits | undefined;
58
58
  /**
@@ -63,7 +63,7 @@ export type CreateBudgetRequest = {
63
63
  * Whether the budget should be active immediately. Defaults to true
64
64
  *
65
65
  * @remarks
66
- * when omitted (handler enforces).
66
+ * when omitted.
67
67
  */
68
68
  isActive?: boolean | undefined;
69
69
  /**
@@ -19,7 +19,7 @@ export type GuardrailRulePlugin = {
19
19
  * @remarks
20
20
  * pii-detection capabilities catalog when the rule is saved, not pinned
21
21
  * here, so a language or region the detector gains becomes writable without
22
- * a proto change.
22
+ * a future update.
23
23
  */
24
24
  language?: string | undefined;
25
25
  /**
@@ -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_01m57ntt13n9k451sa9nhqmb4n"),
43
+ _id: z.string().default("reasoning_01m5bw40bh25ndffer0kdarrj7"),
44
44
  metadata: z.record(z.any()).optional(),
45
45
  kind: z.literal("reasoning"),
46
46
  reasoning: z.string(),
@@ -31,7 +31,7 @@ export type RoutingRulePlugin = {
31
31
  * @remarks
32
32
  * pii-detection capabilities catalog when the rule is saved, not pinned
33
33
  * here, so a language or region the detector gains becomes writable without
34
- * a proto change.
34
+ * a future update.
35
35
  */
36
36
  language?: string | undefined;
37
37
  /**
@@ -39,6 +39,10 @@ export type SpanSummary = {
39
39
  traceFramework?: string | undefined;
40
40
  leadingSpanType?: string | undefined;
41
41
  guardrailEnabled?: boolean | undefined;
42
+ /**
43
+ * Why the span's generation stopped, for example stop, length or content_filter.
44
+ */
45
+ finishReasons?: Array<string> | undefined;
42
46
  };
43
47
 
44
48
  /** @internal */
@@ -70,6 +74,7 @@ export const SpanSummary$inboundSchema: z.ZodType<
70
74
  trace_framework: z.string().optional(),
71
75
  leading_span_type: z.string().optional(),
72
76
  guardrail_enabled: z.boolean().optional(),
77
+ finish_reasons: z.array(z.string()).optional(),
73
78
  }).transform((v) => {
74
79
  return remap$(v, {
75
80
  "trace_id": "traceId",
@@ -83,6 +88,7 @@ export const SpanSummary$inboundSchema: z.ZodType<
83
88
  "trace_framework": "traceFramework",
84
89
  "leading_span_type": "leadingSpanType",
85
90
  "guardrail_enabled": "guardrailEnabled",
91
+ "finish_reasons": "finishReasons",
86
92
  });
87
93
  });
88
94
 
@@ -2834,7 +2834,7 @@ export const Cache$outboundSchema: z.ZodType<
2834
2834
  z.ZodTypeDef,
2835
2835
  Cache
2836
2836
  > = z.object({
2837
- ttl: z.number().default(1800),
2837
+ ttl: z.number().default(3600),
2838
2838
  type: ModelConfigurationType$outboundSchema,
2839
2839
  });
2840
2840
 
@@ -3558,7 +3558,7 @@ export const FallbackModelConfigurationCache$outboundSchema: z.ZodType<
3558
3558
  z.ZodTypeDef,
3559
3559
  FallbackModelConfigurationCache
3560
3560
  > = z.object({
3561
- ttl: z.number().default(1800),
3561
+ ttl: z.number().default(3600),
3562
3562
  type: FallbackModelConfigurationType$outboundSchema,
3563
3563
  });
3564
3564
 
@@ -4811,7 +4811,7 @@ export const CreateAgentRequestCache$inboundSchema: z.ZodType<
4811
4811
  z.ZodTypeDef,
4812
4812
  unknown
4813
4813
  > = z.object({
4814
- ttl: z.number().default(1800),
4814
+ ttl: z.number().default(3600),
4815
4815
  type: CreateAgentRequestAgentsType$inboundSchema,
4816
4816
  });
4817
4817
 
@@ -5492,7 +5492,7 @@ export const CreateAgentRequestFallbackModelConfigurationCache$inboundSchema:
5492
5492
  z.ZodTypeDef,
5493
5493
  unknown
5494
5494
  > = z.object({
5495
- ttl: z.number().default(1800),
5495
+ ttl: z.number().default(3600),
5496
5496
  type: CreateAgentRequestFallbackModelConfigurationAgentsType$inboundSchema,
5497
5497
  });
5498
5498
 
@@ -3630,7 +3630,7 @@ export const CreateChatCompletionCache$outboundSchema: z.ZodType<
3630
3630
  z.ZodTypeDef,
3631
3631
  CreateChatCompletionCache
3632
3632
  > = z.object({
3633
- ttl: z.number().default(1800),
3633
+ ttl: z.number().default(3600),
3634
3634
  type: CreateChatCompletionRouterChatCompletionsRequestType$outboundSchema,
3635
3635
  });
3636
3636
 
@@ -3959,7 +3959,7 @@ export const CreateChatCompletionRouterChatCompletionsCache$outboundSchema:
3959
3959
  z.ZodTypeDef,
3960
3960
  CreateChatCompletionRouterChatCompletionsCache
3961
3961
  > = z.object({
3962
- ttl: z.number().default(1800),
3962
+ ttl: z.number().default(3600),
3963
3963
  type:
3964
3964
  CreateChatCompletionRouterChatCompletionsRequestRequestBodyOrqType$outboundSchema,
3965
3965
  });
@@ -1095,7 +1095,7 @@ export const CreateCompletionCache$outboundSchema: z.ZodType<
1095
1095
  z.ZodTypeDef,
1096
1096
  CreateCompletionCache
1097
1097
  > = z.object({
1098
- ttl: z.number().default(1800),
1098
+ ttl: z.number().default(3600),
1099
1099
  type: CreateCompletionType$outboundSchema,
1100
1100
  });
1101
1101
 
@@ -1419,7 +1419,7 @@ export const CreateCompletionRouterCompletionsCache$outboundSchema: z.ZodType<
1419
1419
  z.ZodTypeDef,
1420
1420
  CreateCompletionRouterCompletionsCache
1421
1421
  > = z.object({
1422
- ttl: z.number().default(1800),
1422
+ ttl: z.number().default(3600),
1423
1423
  type: CreateCompletionRouterCompletionsType$outboundSchema,
1424
1424
  });
1425
1425
 
@@ -506,7 +506,7 @@ export const CreateImageCache$outboundSchema: z.ZodType<
506
506
  z.ZodTypeDef,
507
507
  CreateImageCache
508
508
  > = z.object({
509
- ttl: z.number().default(1800),
509
+ ttl: z.number().default(3600),
510
510
  type: CreateImageType$outboundSchema,
511
511
  });
512
512
 
@@ -693,7 +693,7 @@ export const CreateImageRouterImagesGenerationsCache$outboundSchema: z.ZodType<
693
693
  z.ZodTypeDef,
694
694
  CreateImageRouterImagesGenerationsCache
695
695
  > = z.object({
696
- ttl: z.number().default(1800),
696
+ ttl: z.number().default(3600),
697
697
  type: CreateImageRouterImagesGenerationsType$outboundSchema,
698
698
  });
699
699
 
@@ -511,7 +511,7 @@ export const CreateImageEditCache$outboundSchema: z.ZodType<
511
511
  z.ZodTypeDef,
512
512
  CreateImageEditCache
513
513
  > = z.object({
514
- ttl: z.number().default(1800),
514
+ ttl: z.number().default(3600),
515
515
  type: CreateImageEditType$outboundSchema,
516
516
  });
517
517
 
@@ -732,7 +732,7 @@ export const CreateImageEditRouterImagesEditsCache$outboundSchema: z.ZodType<
732
732
  z.ZodTypeDef,
733
733
  CreateImageEditRouterImagesEditsCache
734
734
  > = z.object({
735
- ttl: z.number().default(1800),
735
+ ttl: z.number().default(3600),
736
736
  type: CreateImageEditRouterImagesEditsType$outboundSchema,
737
737
  });
738
738
 
@@ -518,7 +518,7 @@ export const CreateImageVariationCache$outboundSchema: z.ZodType<
518
518
  z.ZodTypeDef,
519
519
  CreateImageVariationCache
520
520
  > = z.object({
521
- ttl: z.number().default(1800),
521
+ ttl: z.number().default(3600),
522
522
  type: CreateImageVariationType$outboundSchema,
523
523
  });
524
524
 
@@ -745,7 +745,7 @@ export const CreateImageVariationRouterImagesVariationsCache$outboundSchema:
745
745
  z.ZodTypeDef,
746
746
  CreateImageVariationRouterImagesVariationsCache
747
747
  > = z.object({
748
- ttl: z.number().default(1800),
748
+ ttl: z.number().default(3600),
749
749
  type: CreateImageVariationRouterImagesVariationsType$outboundSchema,
750
750
  });
751
751
 
@@ -3765,7 +3765,7 @@ export const CreatePromptCache$outboundSchema: z.ZodType<
3765
3765
  z.ZodTypeDef,
3766
3766
  CreatePromptCache
3767
3767
  > = z.object({
3768
- ttl: z.number().default(1800),
3768
+ ttl: z.number().default(3600),
3769
3769
  type: CreatePromptType$outboundSchema,
3770
3770
  });
3771
3771
 
@@ -5118,7 +5118,7 @@ export const CreatePromptPromptsCache$inboundSchema: z.ZodType<
5118
5118
  z.ZodTypeDef,
5119
5119
  unknown
5120
5120
  > = z.object({
5121
- ttl: z.number().default(1800),
5121
+ ttl: z.number().default(3600),
5122
5122
  type: CreatePromptPromptsResponse200Type$inboundSchema,
5123
5123
  });
5124
5124