@orq-ai/node 4.16.9 → 4.16.10

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 (56) 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/lib/config.js.map +1 -1
  5. package/models/components/reasoningpart.js +1 -1
  6. package/models/operations/createtool.js +4 -4
  7. package/models/operations/getalltools.js +4 -4
  8. package/models/operations/getv2humanevalsets.js +2 -2
  9. package/models/operations/getv2humanevalsetsid.js +2 -2
  10. package/models/operations/listdeploymentversions.js +1 -1
  11. package/models/operations/patchv2humanevalsetsid.js +2 -2
  12. package/models/operations/postv2feedbackevaluation.js +4 -4
  13. package/models/operations/postv2humanevalsets.js +2 -2
  14. package/models/operations/retrievetool.js +4 -4
  15. package/models/operations/runagent.js +1 -1
  16. package/models/operations/streamrunagent.js +1 -1
  17. package/models/operations/updatetool.js +4 -4
  18. package/package.json +1 -1
  19. package/packages/orq-rc/src/lib/config.ts +2 -2
  20. package/packages/orq-rc/src/models/components/index.ts +2 -0
  21. package/packages/orq-rc/src/models/components/mcpauthconfig.ts +11 -0
  22. package/packages/orq-rc/src/models/components/mcpauthconfigoutput.ts +9 -0
  23. package/packages/orq-rc/src/models/components/mcpauthtype.ts +1 -0
  24. package/packages/orq-rc/src/models/components/mcpenterpriseauthconfig.ts +72 -0
  25. package/packages/orq-rc/src/models/components/mcpenterpriseauthconfigoutput.ts +62 -0
  26. package/packages/orq-rc/src/models/components/pricing.ts +6 -0
  27. package/packages/orq-rc/src/models/components/pricingvariant.ts +6 -0
  28. package/packages/orq-rc/src/models/components/publicusage.ts +23 -0
  29. package/packages/orq-rc/src/models/components/reasoningpart.ts +1 -1
  30. package/packages/orq-rc/src/models/operations/createrouterresponse.ts +23 -0
  31. package/packages/orq-rc/src/models/operations/createtool.ts +4 -4
  32. package/packages/orq-rc/src/models/operations/getalltools.ts +4 -4
  33. package/packages/orq-rc/src/models/operations/getv2humanevalsets.ts +2 -2
  34. package/packages/orq-rc/src/models/operations/getv2humanevalsetsid.ts +2 -2
  35. package/packages/orq-rc/src/models/operations/listdeploymentversions.ts +1 -1
  36. package/packages/orq-rc/src/models/operations/patchv2humanevalsetsid.ts +2 -2
  37. package/packages/orq-rc/src/models/operations/postv2feedbackevaluation.ts +4 -4
  38. package/packages/orq-rc/src/models/operations/postv2humanevalsets.ts +2 -2
  39. package/packages/orq-rc/src/models/operations/retrievetool.ts +4 -4
  40. package/packages/orq-rc/src/models/operations/runagent.ts +1 -1
  41. package/packages/orq-rc/src/models/operations/streamrunagent.ts +1 -1
  42. package/packages/orq-rc/src/models/operations/updatetool.ts +4 -4
  43. package/src/lib/config.ts +2 -2
  44. package/src/models/components/reasoningpart.ts +1 -1
  45. package/src/models/operations/createtool.ts +4 -4
  46. package/src/models/operations/getalltools.ts +4 -4
  47. package/src/models/operations/getv2humanevalsets.ts +2 -2
  48. package/src/models/operations/getv2humanevalsetsid.ts +2 -2
  49. package/src/models/operations/listdeploymentversions.ts +1 -1
  50. package/src/models/operations/patchv2humanevalsetsid.ts +2 -2
  51. package/src/models/operations/postv2feedbackevaluation.ts +4 -4
  52. package/src/models/operations/postv2humanevalsets.ts +2 -2
  53. package/src/models/operations/retrievetool.ts +4 -4
  54. package/src/models/operations/runagent.ts +1 -1
  55. package/src/models/operations/streamrunagent.ts +1 -1
  56. 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.9",
5
+ "version": "4.16.10",
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.9";
34
+ readonly sdkVersion: "4.16.10";
35
35
  readonly genVersion: "2.948.4";
36
- readonly userAgent: "speakeasy-sdk/typescript 4.16.9 2.948.4 2.0 @orq-ai/node";
36
+ readonly userAgent: "speakeasy-sdk/typescript 4.16.10 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.9",
31
+ sdkVersion: "4.16.10",
32
32
  genVersion: "2.948.4",
33
- userAgent: "speakeasy-sdk/typescript 4.16.9 2.948.4 2.0 @orq-ai/node",
33
+ userAgent: "speakeasy-sdk/typescript 4.16.10 2.948.4 2.0 @orq-ai/node",
34
34
  };
35
35
  //# sourceMappingURL=config.js.map
package/lib/config.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"config.js","sourceRoot":"","sources":["../src/lib/config.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAsCH,oDAeC;AAhDD,qCAA8C;AAE9C;;GAEG;AACU,QAAA,UAAU,GAAG;IACxB,mBAAmB;CACX,CAAC;AA0BX,SAAgB,oBAAoB,CAAC,OAAmB;IACtD,IAAI,SAAS,GAAG,OAAO,CAAC,SAAS,CAAC;IAElC,MAAM,MAAM,GAAW,EAAE,CAAC;IAE1B,IAAI,CAAC,SAAS,EAAE,CAAC;QACf,MAAM,SAAS,GAAG,OAAO,CAAC,SAAS,IAAI,CAAC,CAAC;QACzC,IAAI,SAAS,GAAG,CAAC,IAAI,SAAS,IAAI,kBAAU,CAAC,MAAM,EAAE,CAAC;YACpD,MAAM,IAAI,KAAK,CAAC,wBAAwB,SAAS,EAAE,CAAC,CAAC;QACvD,CAAC;QACD,SAAS,GAAG,kBAAU,CAAC,SAAS,CAAC,IAAI,EAAE,CAAC;IAC1C,CAAC;IAED,MAAM,CAAC,GAAG,IAAA,mBAAU,EAAC,SAAS,CAAC,CAAC,MAAM,CAAC,CAAC;IACxC,OAAO,IAAI,GAAG,CAAC,CAAC,CAAC,CAAC;AACpB,CAAC;AAEY,QAAA,YAAY,GAAG;IAC1B,QAAQ,EAAE,YAAY;IACtB,iBAAiB,EAAE,KAAK;IACxB,UAAU,EAAE,QAAQ;IACpB,UAAU,EAAE,SAAS;IACrB,SAAS,EAAE,0DAA0D;CAC7D,CAAC"}
1
+ {"version":3,"file":"config.js","sourceRoot":"","sources":["../src/lib/config.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAsCH,oDAeC;AAhDD,qCAA8C;AAE9C;;GAEG;AACU,QAAA,UAAU,GAAG;IACxB,mBAAmB;CACX,CAAC;AA0BX,SAAgB,oBAAoB,CAAC,OAAmB;IACtD,IAAI,SAAS,GAAG,OAAO,CAAC,SAAS,CAAC;IAElC,MAAM,MAAM,GAAW,EAAE,CAAC;IAE1B,IAAI,CAAC,SAAS,EAAE,CAAC;QACf,MAAM,SAAS,GAAG,OAAO,CAAC,SAAS,IAAI,CAAC,CAAC;QACzC,IAAI,SAAS,GAAG,CAAC,IAAI,SAAS,IAAI,kBAAU,CAAC,MAAM,EAAE,CAAC;YACpD,MAAM,IAAI,KAAK,CAAC,wBAAwB,SAAS,EAAE,CAAC,CAAC;QACvD,CAAC;QACD,SAAS,GAAG,kBAAU,CAAC,SAAS,CAAC,IAAI,EAAE,CAAC;IAC1C,CAAC;IAED,MAAM,CAAC,GAAG,IAAA,mBAAU,EAAC,SAAS,CAAC,CAAC,MAAM,CAAC,CAAC;IACxC,OAAO,IAAI,GAAG,CAAC,CAAC,CAAC,CAAC;AACpB,CAAC;AAEY,QAAA,YAAY,GAAG;IAC1B,QAAQ,EAAE,YAAY;IACtB,iBAAiB,EAAE,KAAK;IACxB,UAAU,EAAE,SAAS;IACrB,UAAU,EAAE,SAAS;IACrB,SAAS,EAAE,2DAA2D;CAC9D,CAAC"}
@@ -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_01m50nfztawghjzm018mkr4pyx"),
46
+ _id: z.string().default("reasoning_01m51xdkbevdtsxm3nkdb52x8j"),
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_01M50NFZYZW4TNRKE56NREQQ1J"),
475
+ _id: z.string().default("tool_01M51XDKEBC0ZKYM47SXRW57B2"),
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_01M50NFZYYE0A2ZKM3Q2B94YZ2"),
565
+ _id: z.string().default("tool_01M51XDKEBJY708BKDMF8SKEWV"),
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_01M50NFZYX1709AT88JBJA4BCP"),
615
+ _id: z.string().default("tool_01M51XDKEBC55KCJDZ639RNW5Z"),
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_01M50NFZYWFZX0T430KH4GPNQ7"),
668
+ _id: z.string().default("tool_01M51XDKEA6XD1A9308ZV70BDQ"),
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_01M50NFZYRXKS2S5XY68AN3ANJ"),
175
+ _id: z.string().default("tool_01M51XDKE8EMT415V2YPAD3P2C"),
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_01M50NFZYQS8Z347F46YVDZNQ6"),
264
+ _id: z.string().default("tool_01M51XDKE79FM6FVM86WGQKP06"),
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_01M50NFZYPFGF9EQN9C0800GXS"),
314
+ _id: z.string().default("tool_01M51XDKE77PA146QRBCNVHM4R"),
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_01M50NFZYNR5XMVX31RPZ1F368"),
369
+ _id: z.string().default("tool_01M51XDKE7HQ228MQTQAH0ZXKS"),
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-15T20:54:00.282Z").transform(v => new Date(v)),
70
+ updated: z.string().datetime({ offset: true }).default("2026-10-16T08:31:47.759Z").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-15T20:54:00.282Z").transform(v => new Date(v)),
101
+ updated: z.string().datetime({ offset: true }).default("2026-10-16T08:31:47.759Z").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-15T20:54:00.282Z").transform(v => new Date(v)),
66
+ updated: z.string().datetime({ offset: true }).default("2026-10-16T08:31:47.759Z").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-15T20:54:00.282Z").transform(v => new Date(v)),
97
+ updated: z.string().datetime({ offset: true }).default("2026-10-16T08:31:47.759Z").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("01M50NFZRXJMKVGVV5QXDE9SDS"),
1014
+ id: z.string().default("01M51XDKAKX1E6BQ12YQMDEWMC"),
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-15T20:54:00.282Z").transform(v => new Date(v)),
125
+ updated: z.string().datetime({ offset: true }).default("2026-10-16T08:31:47.759Z").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-15T20:54:00.282Z").transform(v => new Date(v)),
156
+ updated: z.string().datetime({ offset: true }).default("2026-10-16T08:31:47.759Z").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-15T20:54:08.669Z"))
99
+ reviewedAt: z.date().default(() => new Date("2026-10-16T08:31:53.329Z"))
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-15T20:54:08.669Z"))
129
+ reviewedAt: z.date().default(() => new Date("2026-10-16T08:31:53.329Z"))
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-15T20:54:08.669Z"))
157
+ reviewedAt: z.date().default(() => new Date("2026-10-16T08:31:53.329Z"))
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-15T20:54:08.669Z"))
184
+ reviewedAt: z.date().default(() => new Date("2026-10-16T08:31:53.329Z"))
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-15T20:54:00.282Z").transform(v => new Date(v)),
109
+ updated: z.string().datetime({ offset: true }).default("2026-10-16T08:31:47.759Z").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-15T20:54:00.282Z").transform(v => new Date(v)),
140
+ updated: z.string().datetime({ offset: true }).default("2026-10-16T08:31:47.759Z").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_01M50NFZZFY2N8QX0432CBYT5N"),
167
+ _id: z.string().default("tool_01M51XDKEN3YMZ3F1MBZ8R2KMT"),
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_01M50NFZZEY9D67NPG49D806QS"),
256
+ _id: z.string().default("tool_01M51XDKENGX3R6EVQFTPP9W27"),
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_01M50NFZZCTEK3GW36S6S3NYCT"),
306
+ _id: z.string().default("tool_01M51XDKEMV4JZ3K70QPTB19EN"),
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_01M50NFZZBPJ6HQ1K056X9648V"),
360
+ _id: z.string().default("tool_01M51XDKEM626605M5DMKHV3BD"),
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("01M50NFZW62HKMBTRQWD9VX4F9"),
1101
+ id: z.string().default("01M51XDKCMJ6Z12YZJ8NGW793T"),
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("01M50NFZWYZ9HARK13DJGNTYH4"),
1067
+ id: z.string().default("01M51XDKD5R0AKMXNGSHYNJ5DD"),
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_01M50NFZZ5A425E18RWMHQ9K7N"),
539
+ _id: z.string().default("tool_01M51XDKEGF08M07PJK077P702"),
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_01M50NFZZ3F7AFXAAR332J8A5T"),
628
+ _id: z.string().default("tool_01M51XDKEGNK9MXNMZ3X9XGPXZ"),
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_01M50NFZZ3BPB9YS3DB6XGR6NX"),
678
+ _id: z.string().default("tool_01M51XDKEFD922V6PVXZQV7ZVH"),
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_01M50NFZZ239V4FKAJC2WVBNBV"),
732
+ _id: z.string().default("tool_01M51XDKEF2NC4T16XKHT4YJB2"),
733
733
  path: z.string(),
734
734
  key: z.string(),
735
735
  display_name: z.string().optional(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@orq-ai/node",
3
- "version": "4.16.9",
3
+ "version": "4.16.10",
4
4
  "author": "Orq",
5
5
  "exports": {
6
6
  ".": {
@@ -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.29",
61
+ sdkVersion: "4.17.0-rc.32",
62
62
  genVersion: "2.948.4",
63
- userAgent: "speakeasy-sdk/typescript 4.17.0-rc.29 2.948.4 2.0 @orq-ai/node",
63
+ userAgent: "speakeasy-sdk/typescript 4.17.0-rc.32 2.948.4 2.0 @orq-ai/node",
64
64
  } as const;
@@ -397,6 +397,8 @@ export * from "./mcpauthconfigoutput.js";
397
397
  export * from "./mcpauthtype.js";
398
398
  export * from "./mcpconnection.js";
399
399
  export * from "./mcpconnectiontype.js";
400
+ export * from "./mcpenterpriseauthconfig.js";
401
+ export * from "./mcpenterpriseauthconfigoutput.js";
400
402
  export * from "./mcpgateway.js";
401
403
  export * from "./mcpgatewaymode.js";
402
404
  export * from "./mcpgatewayplugin.js";
@@ -5,6 +5,11 @@
5
5
  import * as z from "zod/v3";
6
6
  import { remap as remap$ } from "../../lib/primitives.js";
7
7
  import { McpAuthType, McpAuthType$outboundSchema } from "./mcpauthtype.js";
8
+ import {
9
+ McpEnterpriseAuthConfig,
10
+ McpEnterpriseAuthConfig$Outbound,
11
+ McpEnterpriseAuthConfig$outboundSchema,
12
+ } from "./mcpenterpriseauthconfig.js";
8
13
  import {
9
14
  McpHeaderSecret,
10
15
  McpHeaderSecret$Outbound,
@@ -26,6 +31,10 @@ export type McpAuthConfig = {
26
31
  * OAuth client credentials the gateway presents to the upstream authorization server; set when type is OAUTH_CLIENT_CREDENTIALS.
27
32
  */
28
33
  oauth?: McpOAuthConfig | undefined;
34
+ /**
35
+ * Client for the upstream authorization server; set when type is ENTERPRISE_MANAGED.
36
+ */
37
+ enterprise?: McpEnterpriseAuthConfig | undefined;
29
38
  };
30
39
 
31
40
  /** @internal */
@@ -33,6 +42,7 @@ export type McpAuthConfig$Outbound = {
33
42
  type: string;
34
43
  static_headers?: Array<McpHeaderSecret$Outbound> | undefined;
35
44
  oauth?: McpOAuthConfig$Outbound | undefined;
45
+ enterprise?: McpEnterpriseAuthConfig$Outbound | undefined;
36
46
  };
37
47
 
38
48
  /** @internal */
@@ -44,6 +54,7 @@ export const McpAuthConfig$outboundSchema: z.ZodType<
44
54
  type: McpAuthType$outboundSchema,
45
55
  staticHeaders: z.array(McpHeaderSecret$outboundSchema).optional(),
46
56
  oauth: McpOAuthConfig$outboundSchema.optional(),
57
+ enterprise: McpEnterpriseAuthConfig$outboundSchema.optional(),
47
58
  }).transform((v) => {
48
59
  return remap$(v, {
49
60
  staticHeaders: "static_headers",
@@ -8,6 +8,10 @@ import { safeParse } from "../../lib/schemas.js";
8
8
  import { Result as SafeParseResult } from "../../types/fp.js";
9
9
  import { SDKValidationError } from "../errors/sdkvalidationerror.js";
10
10
  import { McpAuthType, McpAuthType$inboundSchema } from "./mcpauthtype.js";
11
+ import {
12
+ McpEnterpriseAuthConfigOutput,
13
+ McpEnterpriseAuthConfigOutput$inboundSchema,
14
+ } from "./mcpenterpriseauthconfigoutput.js";
11
15
  import {
12
16
  McpHeaderSecretOutput,
13
17
  McpHeaderSecretOutput$inboundSchema,
@@ -27,6 +31,10 @@ export type McpAuthConfigOutput = {
27
31
  * OAuth client credentials the gateway presents to the upstream authorization server; set when type is OAUTH_CLIENT_CREDENTIALS.
28
32
  */
29
33
  oauth?: McpOAuthConfigOutput | undefined;
34
+ /**
35
+ * Client for the upstream authorization server; set when type is ENTERPRISE_MANAGED.
36
+ */
37
+ enterprise?: McpEnterpriseAuthConfigOutput | undefined;
30
38
  };
31
39
 
32
40
  /** @internal */
@@ -38,6 +46,7 @@ export const McpAuthConfigOutput$inboundSchema: z.ZodType<
38
46
  type: McpAuthType$inboundSchema,
39
47
  static_headers: z.array(McpHeaderSecretOutput$inboundSchema).optional(),
40
48
  oauth: McpOAuthConfigOutput$inboundSchema.optional(),
49
+ enterprise: McpEnterpriseAuthConfigOutput$inboundSchema.optional(),
41
50
  }).transform((v) => {
42
51
  return remap$(v, {
43
52
  "static_headers": "staticHeaders",
@@ -11,6 +11,7 @@ export const McpAuthType = {
11
11
  McpAuthTypeStaticHeaders: "MCP_AUTH_TYPE_STATIC_HEADERS",
12
12
  McpAuthTypeOauthClientCredentials: "MCP_AUTH_TYPE_OAUTH_CLIENT_CREDENTIALS",
13
13
  McpAuthTypePerUserOauth: "MCP_AUTH_TYPE_PER_USER_OAUTH",
14
+ McpAuthTypeEnterpriseManaged: "MCP_AUTH_TYPE_ENTERPRISE_MANAGED",
14
15
  } as const;
15
16
  export type McpAuthType = ClosedEnum<typeof McpAuthType>;
16
17
 
@@ -0,0 +1,72 @@
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
+ /**
9
+ * McpEnterpriseAuthConfig is the client orq registered at the upstream's authorization
10
+ *
11
+ * @remarks
12
+ * server for enterprise-managed authorization (ID-JAG). Access policy lives in the
13
+ * workspace's SSO identity provider; users must sign in through SSO to use the server.
14
+ */
15
+ export type McpEnterpriseAuthConfig = {
16
+ /**
17
+ * RFC 9728 resource identifier the tokens are bound to; defaults to the connection URL.
18
+ */
19
+ resource?: string | undefined;
20
+ /**
21
+ * OAuth client identifier registered at the upstream authorization server.
22
+ */
23
+ clientId?: string | undefined;
24
+ /**
25
+ * OAuth client secret; accepted on write and never returned.
26
+ */
27
+ clientSecret?: string | undefined;
28
+ /**
29
+ * Redacted preview of `client_secret`, returned in its place.
30
+ */
31
+ maskedValue?: string | undefined;
32
+ /**
33
+ * Scopes requested when redeeming the identity assertion grant.
34
+ */
35
+ scopes?: Array<string> | undefined;
36
+ };
37
+
38
+ /** @internal */
39
+ export type McpEnterpriseAuthConfig$Outbound = {
40
+ resource?: string | undefined;
41
+ client_id?: string | undefined;
42
+ client_secret?: string | undefined;
43
+ masked_value?: string | undefined;
44
+ scopes?: Array<string> | undefined;
45
+ };
46
+
47
+ /** @internal */
48
+ export const McpEnterpriseAuthConfig$outboundSchema: z.ZodType<
49
+ McpEnterpriseAuthConfig$Outbound,
50
+ z.ZodTypeDef,
51
+ McpEnterpriseAuthConfig
52
+ > = z.object({
53
+ resource: z.string().optional(),
54
+ clientId: z.string().optional(),
55
+ clientSecret: z.string().optional(),
56
+ maskedValue: z.string().optional(),
57
+ scopes: z.array(z.string()).optional(),
58
+ }).transform((v) => {
59
+ return remap$(v, {
60
+ clientId: "client_id",
61
+ clientSecret: "client_secret",
62
+ maskedValue: "masked_value",
63
+ });
64
+ });
65
+
66
+ export function mcpEnterpriseAuthConfigToJSON(
67
+ mcpEnterpriseAuthConfig: McpEnterpriseAuthConfig,
68
+ ): string {
69
+ return JSON.stringify(
70
+ McpEnterpriseAuthConfig$outboundSchema.parse(mcpEnterpriseAuthConfig),
71
+ );
72
+ }
@@ -0,0 +1,62 @@
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
+ import { safeParse } from "../../lib/schemas.js";
8
+ import { Result as SafeParseResult } from "../../types/fp.js";
9
+ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
10
+
11
+ /**
12
+ * McpEnterpriseAuthConfig is the client orq registered at the upstream's authorization
13
+ *
14
+ * @remarks
15
+ * server for enterprise-managed authorization (ID-JAG). Access policy lives in the
16
+ * workspace's SSO identity provider; users must sign in through SSO to use the server.
17
+ */
18
+ export type McpEnterpriseAuthConfigOutput = {
19
+ /**
20
+ * RFC 9728 resource identifier the tokens are bound to; defaults to the connection URL.
21
+ */
22
+ resource?: string | undefined;
23
+ /**
24
+ * OAuth client identifier registered at the upstream authorization server.
25
+ */
26
+ clientId?: string | undefined;
27
+ /**
28
+ * Redacted preview of `client_secret`, returned in its place.
29
+ */
30
+ maskedValue?: string | undefined;
31
+ /**
32
+ * Scopes requested when redeeming the identity assertion grant.
33
+ */
34
+ scopes?: Array<string> | undefined;
35
+ };
36
+
37
+ /** @internal */
38
+ export const McpEnterpriseAuthConfigOutput$inboundSchema: z.ZodType<
39
+ McpEnterpriseAuthConfigOutput,
40
+ z.ZodTypeDef,
41
+ unknown
42
+ > = z.object({
43
+ resource: z.string().optional(),
44
+ client_id: z.string().optional(),
45
+ masked_value: z.string().optional(),
46
+ scopes: z.array(z.string()).optional(),
47
+ }).transform((v) => {
48
+ return remap$(v, {
49
+ "client_id": "clientId",
50
+ "masked_value": "maskedValue",
51
+ });
52
+ });
53
+
54
+ export function mcpEnterpriseAuthConfigOutputFromJSON(
55
+ jsonString: string,
56
+ ): SafeParseResult<McpEnterpriseAuthConfigOutput, SDKValidationError> {
57
+ return safeParse(
58
+ jsonString,
59
+ (x) => McpEnterpriseAuthConfigOutput$inboundSchema.parse(JSON.parse(x)),
60
+ `Failed to parse 'McpEnterpriseAuthConfigOutput' from JSON`,
61
+ );
62
+ }
@@ -26,6 +26,7 @@ export type Pricing = {
26
26
  audioSession?: Price | undefined;
27
27
  cacheRead?: Price | undefined;
28
28
  cacheWrite1h?: Price | undefined;
29
+ cacheWrite30m?: Price | undefined;
29
30
  cacheWrite5m?: Price | undefined;
30
31
  fetch?: Price | undefined;
31
32
  input?: Price | undefined;
@@ -44,6 +45,7 @@ export const Pricing$inboundSchema: z.ZodType<Pricing, z.ZodTypeDef, unknown> =
44
45
  audio_session: Price$inboundSchema.optional(),
45
46
  cache_read: Price$inboundSchema.optional(),
46
47
  cache_write_1h: Price$inboundSchema.optional(),
48
+ cache_write_30m: Price$inboundSchema.optional(),
47
49
  cache_write_5m: Price$inboundSchema.optional(),
48
50
  fetch: Price$inboundSchema.optional(),
49
51
  input: Price$inboundSchema.optional(),
@@ -59,6 +61,7 @@ export const Pricing$inboundSchema: z.ZodType<Pricing, z.ZodTypeDef, unknown> =
59
61
  "audio_session": "audioSession",
60
62
  "cache_read": "cacheRead",
61
63
  "cache_write_1h": "cacheWrite1h",
64
+ "cache_write_30m": "cacheWrite30m",
62
65
  "cache_write_5m": "cacheWrite5m",
63
66
  "text_input": "textInput",
64
67
  });
@@ -70,6 +73,7 @@ export type Pricing$Outbound = {
70
73
  audio_session?: Price$Outbound | undefined;
71
74
  cache_read?: Price$Outbound | undefined;
72
75
  cache_write_1h?: Price$Outbound | undefined;
76
+ cache_write_30m?: Price$Outbound | undefined;
73
77
  cache_write_5m?: Price$Outbound | undefined;
74
78
  fetch?: Price$Outbound | undefined;
75
79
  input?: Price$Outbound | undefined;
@@ -91,6 +95,7 @@ export const Pricing$outboundSchema: z.ZodType<
91
95
  audioSession: Price$outboundSchema.optional(),
92
96
  cacheRead: Price$outboundSchema.optional(),
93
97
  cacheWrite1h: Price$outboundSchema.optional(),
98
+ cacheWrite30m: Price$outboundSchema.optional(),
94
99
  cacheWrite5m: Price$outboundSchema.optional(),
95
100
  fetch: Price$outboundSchema.optional(),
96
101
  input: Price$outboundSchema.optional(),
@@ -106,6 +111,7 @@ export const Pricing$outboundSchema: z.ZodType<
106
111
  audioSession: "audio_session",
107
112
  cacheRead: "cache_read",
108
113
  cacheWrite1h: "cache_write_1h",
114
+ cacheWrite30m: "cache_write_30m",
109
115
  cacheWrite5m: "cache_write_5m",
110
116
  textInput: "text_input",
111
117
  });