@orq-ai/node 4.17.14 → 4.17.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/lib/config.js.map +1 -1
- package/models/components/reasoningpart.js +1 -1
- package/models/operations/createtool.js +4 -4
- package/models/operations/getalltools.js +4 -4
- package/models/operations/getv2humanevalsets.js +2 -2
- package/models/operations/getv2humanevalsetsid.js +2 -2
- package/models/operations/listdeploymentversions.js +1 -1
- package/models/operations/patchv2humanevalsetsid.js +2 -2
- package/models/operations/postv2humanevalsets.js +2 -2
- package/models/operations/retrievetool.js +4 -4
- package/models/operations/runagent.js +1 -1
- package/models/operations/streamrunagent.js +1 -1
- package/models/operations/updatetool.js +4 -4
- package/package.json +5 -5
- package/packages/orq-rc/src/lib/config.ts +3 -3
- package/packages/orq-rc/src/models/components/createmcpgatewayrequest.ts +11 -0
- package/packages/orq-rc/src/models/components/index.ts +0 -27
- package/packages/orq-rc/src/models/components/mcpauthconfig.ts +67 -10
- package/packages/orq-rc/src/models/components/mcpauthconfigoutput.ts +57 -8
- package/packages/orq-rc/src/models/components/mcpgateway.ts +15 -0
- package/packages/orq-rc/src/models/components/mcpoauthconfig.ts +19 -1
- package/packages/orq-rc/src/models/components/mcpoauthconfigoutput.ts +17 -1
- package/packages/orq-rc/src/models/components/reasoningpart.ts +1 -1
- package/packages/orq-rc/src/models/components/spansummary.ts +22 -0
- package/packages/orq-rc/src/models/components/updatemcpgatewayrequest.ts +11 -0
- package/packages/orq-rc/src/models/components/updateworkspacerequest.ts +4 -0
- package/packages/orq-rc/src/models/operations/createtool.ts +4 -4
- package/packages/orq-rc/src/models/operations/getalltools.ts +4 -4
- package/packages/orq-rc/src/models/operations/getv2humanevalsets.ts +2 -2
- package/packages/orq-rc/src/models/operations/getv2humanevalsetsid.ts +2 -2
- package/packages/orq-rc/src/models/operations/index.ts +0 -10
- package/packages/orq-rc/src/models/operations/listdeploymentversions.ts +1 -1
- package/packages/orq-rc/src/models/operations/patchv2humanevalsetsid.ts +2 -2
- package/packages/orq-rc/src/models/operations/postv2humanevalsets.ts +2 -2
- package/packages/orq-rc/src/models/operations/retrievetool.ts +4 -4
- package/packages/orq-rc/src/models/operations/runagent.ts +1 -1
- package/packages/orq-rc/src/models/operations/streamrunagent.ts +1 -1
- package/packages/orq-rc/src/models/operations/updatetool.ts +4 -4
- package/packages/orq-rc/src/sdk/sdk.ts +0 -6
- package/src/lib/config.ts +3 -3
- package/src/models/components/reasoningpart.ts +1 -1
- package/src/models/operations/createtool.ts +4 -4
- package/src/models/operations/getalltools.ts +4 -4
- package/src/models/operations/getv2humanevalsets.ts +2 -2
- package/src/models/operations/getv2humanevalsetsid.ts +2 -2
- package/src/models/operations/listdeploymentversions.ts +1 -1
- package/src/models/operations/patchv2humanevalsetsid.ts +2 -2
- package/src/models/operations/postv2humanevalsets.ts +2 -2
- package/src/models/operations/retrievetool.ts +4 -4
- package/src/models/operations/runagent.ts +1 -1
- package/src/models/operations/streamrunagent.ts +1 -1
- package/src/models/operations/updatetool.ts +4 -4
- package/packages/orq-rc/src/funcs/wikisCreate.ts +0 -165
- package/packages/orq-rc/src/funcs/wikisDelete.ts +0 -171
- package/packages/orq-rc/src/funcs/wikisGet.ts +0 -171
- package/packages/orq-rc/src/funcs/wikisGetPage.ts +0 -177
- package/packages/orq-rc/src/funcs/wikisGetTree.ts +0 -171
- package/packages/orq-rc/src/funcs/wikisInspectRepository.ts +0 -166
- package/packages/orq-rc/src/funcs/wikisList.ts +0 -176
- package/packages/orq-rc/src/funcs/wikisListRuns.ts +0 -176
- package/packages/orq-rc/src/funcs/wikisRefresh.ts +0 -174
- package/packages/orq-rc/src/funcs/wikisSearch.ts +0 -177
- package/packages/orq-rc/src/funcs/wikisUpdate.ts +0 -172
- package/packages/orq-rc/src/funcs/wikisUpdatePage.ts +0 -174
- package/packages/orq-rc/src/models/components/createwikirequest.ts +0 -67
- package/packages/orq-rc/src/models/components/createwikiresponse.ts +0 -32
- package/packages/orq-rc/src/models/components/deletewikiresponse.ts +0 -27
- package/packages/orq-rc/src/models/components/getwikipageresponse.ts +0 -32
- package/packages/orq-rc/src/models/components/getwikiresponse.ts +0 -32
- package/packages/orq-rc/src/models/components/getwikitreeresponse.ts +0 -32
- package/packages/orq-rc/src/models/components/inspectrepositorywikirequest.ts +0 -45
- package/packages/orq-rc/src/models/components/inspectrepositorywikiresponse.ts +0 -38
- package/packages/orq-rc/src/models/components/listwikirunsresponse.ts +0 -32
- package/packages/orq-rc/src/models/components/listwikisresponse.ts +0 -39
- package/packages/orq-rc/src/models/components/mcpenterpriseauthconfig.ts +0 -72
- package/packages/orq-rc/src/models/components/mcpenterpriseauthconfigoutput.ts +0 -62
- package/packages/orq-rc/src/models/components/refreshwikirequest.ts +0 -31
- package/packages/orq-rc/src/models/components/refreshwikiresponse.ts +0 -32
- package/packages/orq-rc/src/models/components/searchwikiresponse.ts +0 -32
- package/packages/orq-rc/src/models/components/updatewikipagerequest.ts +0 -42
- package/packages/orq-rc/src/models/components/updatewikipageresponse.ts +0 -32
- package/packages/orq-rc/src/models/components/updatewikirequest.ts +0 -48
- package/packages/orq-rc/src/models/components/updatewikiresponse.ts +0 -32
- package/packages/orq-rc/src/models/components/wiki.ts +0 -91
- package/packages/orq-rc/src/models/components/wikipage.ts +0 -58
- package/packages/orq-rc/src/models/components/wikirepository.ts +0 -72
- package/packages/orq-rc/src/models/components/wikirun.ts +0 -71
- package/packages/orq-rc/src/models/components/wikirunstats.ts +0 -44
- package/packages/orq-rc/src/models/components/wikisearchhit.ts +0 -45
- package/packages/orq-rc/src/models/components/wikisettings.ts +0 -76
- package/packages/orq-rc/src/models/components/wikitreepage.ts +0 -47
- package/packages/orq-rc/src/models/operations/deletewiki.ts +0 -36
- package/packages/orq-rc/src/models/operations/getwiki.ts +0 -32
- package/packages/orq-rc/src/models/operations/getwikipage.ts +0 -43
- package/packages/orq-rc/src/models/operations/getwikitree.ts +0 -36
- package/packages/orq-rc/src/models/operations/listwikiruns.ts +0 -39
- package/packages/orq-rc/src/models/operations/listwikis.ts +0 -54
- package/packages/orq-rc/src/models/operations/refreshwiki.ts +0 -41
- package/packages/orq-rc/src/models/operations/searchwiki.ts +0 -42
- package/packages/orq-rc/src/models/operations/updatewiki.ts +0 -41
- package/packages/orq-rc/src/models/operations/updatewikipage.ts +0 -41
- package/packages/orq-rc/src/sdk/wikis.ts +0 -154
package/jsr.json
CHANGED
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.17.
|
|
35
|
-
readonly genVersion: "2.
|
|
36
|
-
readonly userAgent: "speakeasy-sdk/typescript 4.17.
|
|
34
|
+
readonly sdkVersion: "4.17.16";
|
|
35
|
+
readonly genVersion: "2.954.8";
|
|
36
|
+
readonly userAgent: "speakeasy-sdk/typescript 4.17.16 2.954.8 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.17.
|
|
32
|
-
genVersion: "2.
|
|
33
|
-
userAgent: "speakeasy-sdk/typescript 4.17.
|
|
31
|
+
sdkVersion: "4.17.16",
|
|
32
|
+
genVersion: "2.954.8",
|
|
33
|
+
userAgent: "speakeasy-sdk/typescript 4.17.16 2.954.8 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,SAAS;IACrB,UAAU,EAAE,
|
|
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("
|
|
46
|
+
_id: z.string().default("reasoning_01m61daq0m2r608s1thgm01r66"),
|
|
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("
|
|
475
|
+
_id: z.string().default("tool_01M61DAQ4X9AH9ARSM8FYHHGGZ"),
|
|
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("
|
|
565
|
+
_id: z.string().default("tool_01M61DAQ4W974GDXH5G1V3BQYS"),
|
|
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("
|
|
615
|
+
_id: z.string().default("tool_01M61DAQ4VSJ1S5SAQYMYZ5JQG"),
|
|
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("
|
|
668
|
+
_id: z.string().default("tool_01M61DAQ4VW7S7502694PYMTDR"),
|
|
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("
|
|
175
|
+
_id: z.string().default("tool_01M61DAQ4QJKRX8N3BEZ9RBB54"),
|
|
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("
|
|
264
|
+
_id: z.string().default("tool_01M61DAQ4PNP16QWQYTSQE5SD1"),
|
|
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("
|
|
314
|
+
_id: z.string().default("tool_01M61DAQ4NNVZ6GQ5Q0E8NTHH5"),
|
|
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("
|
|
369
|
+
_id: z.string().default("tool_01M61DAQ4M6PQ9PXC6CS4FTNYJ"),
|
|
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-
|
|
70
|
+
updated: z.string().datetime({ offset: true }).default("2026-10-28T14:06:15.307Z").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-
|
|
101
|
+
updated: z.string().datetime({ offset: true }).default("2026-10-28T14:06:15.307Z").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-
|
|
66
|
+
updated: z.string().datetime({ offset: true }).default("2026-10-28T14:06:15.307Z").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-
|
|
97
|
+
updated: z.string().datetime({ offset: true }).default("2026-10-28T14:06:15.307Z").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) => {
|
|
@@ -1013,7 +1013,7 @@ function knowledgeBaseConfigurationFromJSON(jsonString) {
|
|
|
1013
1013
|
}
|
|
1014
1014
|
/** @internal */
|
|
1015
1015
|
exports.ListDeploymentVersionsKnowledgeBases$inboundSchema = z.object({
|
|
1016
|
-
id: z.string().default("
|
|
1016
|
+
id: z.string().default("01M61DAPZDSJQBMYYR6TWA9N04"),
|
|
1017
1017
|
knowledge_id: z.string(),
|
|
1018
1018
|
configuration: z.union([
|
|
1019
1019
|
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-
|
|
125
|
+
updated: z.string().datetime({ offset: true }).default("2026-10-28T14:06:15.307Z").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-
|
|
156
|
+
updated: z.string().datetime({ offset: true }).default("2026-10-28T14:06:15.307Z").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-
|
|
109
|
+
updated: z.string().datetime({ offset: true }).default("2026-10-28T14:06:15.307Z").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-
|
|
140
|
+
updated: z.string().datetime({ offset: true }).default("2026-10-28T14:06:15.307Z").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("
|
|
167
|
+
_id: z.string().default("tool_01M61DAQ5D8JJ2YYZTC2DD4T6R"),
|
|
168
168
|
path: z.string(),
|
|
169
169
|
key: z.string(),
|
|
170
170
|
display_name: z.string().optional(),
|
|
@@ -253,7 +253,7 @@ function retrieveToolResponseBodyHttpFromJSON(jsonString) {
|
|
|
253
253
|
}
|
|
254
254
|
/** @internal */
|
|
255
255
|
exports.RetrieveToolResponseBodyHTTPTool$inboundSchema = z.object({
|
|
256
|
-
_id: z.string().default("
|
|
256
|
+
_id: z.string().default("tool_01M61DAQ5CNYHAJYXC2228WYBD"),
|
|
257
257
|
path: z.string(),
|
|
258
258
|
key: z.string(),
|
|
259
259
|
display_name: z.string().optional(),
|
|
@@ -303,7 +303,7 @@ function retrieveToolResponseBodyJsonSchemaFromJSON(jsonString) {
|
|
|
303
303
|
}
|
|
304
304
|
/** @internal */
|
|
305
305
|
exports.RetrieveToolResponseBodyJSONSchemaTool$inboundSchema = z.object({
|
|
306
|
-
_id: z.string().default("
|
|
306
|
+
_id: z.string().default("tool_01M61DAQ594Y3QHTQ9T8HKFCS7"),
|
|
307
307
|
path: z.string(),
|
|
308
308
|
key: z.string(),
|
|
309
309
|
display_name: z.string().optional(),
|
|
@@ -357,7 +357,7 @@ function retrieveToolResponseBodyFunctionFromJSON(jsonString) {
|
|
|
357
357
|
}
|
|
358
358
|
/** @internal */
|
|
359
359
|
exports.RetrieveToolResponseBodyFunctionTool$inboundSchema = z.object({
|
|
360
|
-
_id: z.string().default("
|
|
360
|
+
_id: z.string().default("tool_01M61DAQ5932G56GNKNQ7KTQ7V"),
|
|
361
361
|
path: z.string(),
|
|
362
362
|
key: z.string(),
|
|
363
363
|
display_name: z.string().optional(),
|
|
@@ -1104,7 +1104,7 @@ function agentToolInputRunSchemaToJSON(agentToolInputRunSchema) {
|
|
|
1104
1104
|
}
|
|
1105
1105
|
/** @internal */
|
|
1106
1106
|
exports.Tools$outboundSchema = z.object({
|
|
1107
|
-
id: z.string().default("
|
|
1107
|
+
id: z.string().default("01M61DAQ2BWBYGP0XRCA7HC858"),
|
|
1108
1108
|
name: z.string(),
|
|
1109
1109
|
description: z.string().optional(),
|
|
1110
1110
|
schema: z.lazy(() => exports.AgentToolInputRunSchema$outboundSchema),
|
|
@@ -1070,7 +1070,7 @@ function streamRunAgentAgentToolInputRunAgentsSchemaToJSON(streamRunAgentAgentTo
|
|
|
1070
1070
|
}
|
|
1071
1071
|
/** @internal */
|
|
1072
1072
|
exports.AgentToolInputRunTools$outboundSchema = z.object({
|
|
1073
|
-
id: z.string().default("
|
|
1073
|
+
id: z.string().default("01M61DAQ31NZP453PJ1XRC51TR"),
|
|
1074
1074
|
name: z.string(),
|
|
1075
1075
|
description: z.string().optional(),
|
|
1076
1076
|
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("
|
|
539
|
+
_id: z.string().default("tool_01M61DAQ528HWM2S08R7RJC4P4"),
|
|
540
540
|
path: z.string(),
|
|
541
541
|
key: z.string(),
|
|
542
542
|
display_name: z.string().optional(),
|
|
@@ -625,7 +625,7 @@ function updateToolResponseBodyHttpFromJSON(jsonString) {
|
|
|
625
625
|
}
|
|
626
626
|
/** @internal */
|
|
627
627
|
exports.UpdateToolResponseBodyHTTPTool$inboundSchema = z.object({
|
|
628
|
-
_id: z.string().default("
|
|
628
|
+
_id: z.string().default("tool_01M61DAQ51EHCRBE58F2K469K1"),
|
|
629
629
|
path: z.string(),
|
|
630
630
|
key: z.string(),
|
|
631
631
|
display_name: z.string().optional(),
|
|
@@ -675,7 +675,7 @@ function updateToolResponseBodyJsonSchemaFromJSON(jsonString) {
|
|
|
675
675
|
}
|
|
676
676
|
/** @internal */
|
|
677
677
|
exports.UpdateToolResponseBodyJSONSchemaTool$inboundSchema = z.object({
|
|
678
|
-
_id: z.string().default("
|
|
678
|
+
_id: z.string().default("tool_01M61DAQ51T3YMC4CREA0JTF5P"),
|
|
679
679
|
path: z.string(),
|
|
680
680
|
key: z.string(),
|
|
681
681
|
display_name: z.string().optional(),
|
|
@@ -729,7 +729,7 @@ function updateToolResponseBodyFunctionFromJSON(jsonString) {
|
|
|
729
729
|
}
|
|
730
730
|
/** @internal */
|
|
731
731
|
exports.UpdateToolResponseBodyFunctionTool$inboundSchema = z.object({
|
|
732
|
-
_id: z.string().default("
|
|
732
|
+
_id: z.string().default("tool_01M61DAQ50SJJRD5K2H5EBZZ30"),
|
|
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.17.
|
|
3
|
+
"version": "4.17.16",
|
|
4
4
|
"author": "Orq",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": {
|
|
7
|
-
"import": "./index.js",
|
|
8
7
|
"require": "./index.js",
|
|
9
|
-
"types": "./index.d.ts"
|
|
8
|
+
"types": "./index.d.ts",
|
|
9
|
+
"import": "./index.js"
|
|
10
10
|
},
|
|
11
11
|
"./*": "./*",
|
|
12
12
|
"./langchain": {
|
|
13
|
+
"import": "./langchain/index.mjs",
|
|
13
14
|
"require": "./langchain/index.js",
|
|
14
|
-
"types": "./langchain/index.d.mts"
|
|
15
|
-
"import": "./langchain/index.mjs"
|
|
15
|
+
"types": "./langchain/index.d.mts"
|
|
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.18.0-rc.
|
|
62
|
-
genVersion: "2.
|
|
63
|
-
userAgent: "speakeasy-sdk/typescript 4.18.0-rc.
|
|
61
|
+
sdkVersion: "4.18.0-rc.10",
|
|
62
|
+
genVersion: "2.952.5",
|
|
63
|
+
userAgent: "speakeasy-sdk/typescript 4.18.0-rc.10 2.952.5 2.0 @orq-ai/node",
|
|
64
64
|
} as const;
|
|
@@ -4,6 +4,11 @@
|
|
|
4
4
|
|
|
5
5
|
import * as z from "zod/v3";
|
|
6
6
|
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
|
+
import {
|
|
8
|
+
GuardrailRuleGuardrail,
|
|
9
|
+
GuardrailRuleGuardrail$Outbound,
|
|
10
|
+
GuardrailRuleGuardrail$outboundSchema,
|
|
11
|
+
} from "./guardrailruleguardrail.js";
|
|
7
12
|
import {
|
|
8
13
|
McpGatewayMode,
|
|
9
14
|
McpGatewayMode$outboundSchema,
|
|
@@ -72,6 +77,10 @@ export type CreateMcpGatewayRequest = {
|
|
|
72
77
|
* Website advertised to MCP clients; defaults to ORQ documentation when empty.
|
|
73
78
|
*/
|
|
74
79
|
websiteUrl?: string | undefined;
|
|
80
|
+
/**
|
|
81
|
+
* Guardrails run on the arguments and result of every tool call this gateway serves.
|
|
82
|
+
*/
|
|
83
|
+
guardrails?: Array<GuardrailRuleGuardrail> | undefined;
|
|
75
84
|
};
|
|
76
85
|
|
|
77
86
|
/** @internal */
|
|
@@ -87,6 +96,7 @@ export type CreateMcpGatewayRequest$Outbound = {
|
|
|
87
96
|
skill_ids?: Array<string> | undefined;
|
|
88
97
|
icons?: Array<McpIcon$Outbound> | undefined;
|
|
89
98
|
website_url?: string | undefined;
|
|
99
|
+
guardrails?: Array<GuardrailRuleGuardrail$Outbound> | undefined;
|
|
90
100
|
};
|
|
91
101
|
|
|
92
102
|
/** @internal */
|
|
@@ -106,6 +116,7 @@ export const CreateMcpGatewayRequest$outboundSchema: z.ZodType<
|
|
|
106
116
|
skillIds: z.array(z.string()).optional(),
|
|
107
117
|
icons: z.array(McpIcon$outboundSchema).optional(),
|
|
108
118
|
websiteUrl: z.string().optional(),
|
|
119
|
+
guardrails: z.array(GuardrailRuleGuardrail$outboundSchema).optional(),
|
|
109
120
|
}).transform((v) => {
|
|
110
121
|
return remap$(v, {
|
|
111
122
|
displayName: "display_name",
|
|
@@ -165,8 +165,6 @@ export * from "./createusersresponse.js";
|
|
|
165
165
|
export * from "./createviewrequest.js";
|
|
166
166
|
export * from "./createviewresponse.js";
|
|
167
167
|
export * from "./createwebhookrequest.js";
|
|
168
|
-
export * from "./createwikirequest.js";
|
|
169
|
-
export * from "./createwikiresponse.js";
|
|
170
168
|
export * from "./currentdatetoolinput.js";
|
|
171
169
|
export * from "./datapart.js";
|
|
172
170
|
export * from "./datapoint.js";
|
|
@@ -207,7 +205,6 @@ export * from "./deletesmartrouterresponse.js";
|
|
|
207
205
|
export * from "./deleteuserresponse.js";
|
|
208
206
|
export * from "./deleteviewresponse.js";
|
|
209
207
|
export * from "./deletewebhookresponse.js";
|
|
210
|
-
export * from "./deletewikiresponse.js";
|
|
211
208
|
export * from "./detectrequest.js";
|
|
212
209
|
export * from "./detectresponse.js";
|
|
213
210
|
export * from "./domain.js";
|
|
@@ -298,9 +295,6 @@ export * from "./gettracespanresponse.js";
|
|
|
298
295
|
export * from "./getuploadfileurlresponse.js";
|
|
299
296
|
export * from "./getuserresponse.js";
|
|
300
297
|
export * from "./getviewresponse.js";
|
|
301
|
-
export * from "./getwikipageresponse.js";
|
|
302
|
-
export * from "./getwikiresponse.js";
|
|
303
|
-
export * from "./getwikitreeresponse.js";
|
|
304
298
|
export * from "./getworkspaceresponse.js";
|
|
305
299
|
export * from "./getworkspacesettingsresponse.js";
|
|
306
300
|
export * from "./googlesearchtoolinput.js";
|
|
@@ -320,8 +314,6 @@ export * from "./identitysortfield.js";
|
|
|
320
314
|
export * from "./imagecontentpartschema.js";
|
|
321
315
|
export * from "./incompletedetails.js";
|
|
322
316
|
export * from "./inputtokensdetails.js";
|
|
323
|
-
export * from "./inspectrepositorywikirequest.js";
|
|
324
|
-
export * from "./inspectrepositorywikiresponse.js";
|
|
325
317
|
export * from "./invokedeploymentrequest.js";
|
|
326
318
|
export * from "./invokeevaluatorrequest.js";
|
|
327
319
|
export * from "./ipallowlist.js";
|
|
@@ -393,8 +385,6 @@ export * from "./listtracespansresponse.js";
|
|
|
393
385
|
export * from "./listusersresponse.js";
|
|
394
386
|
export * from "./listviewsresponse.js";
|
|
395
387
|
export * from "./listwebhooksresponse.js";
|
|
396
|
-
export * from "./listwikirunsresponse.js";
|
|
397
|
-
export * from "./listwikisresponse.js";
|
|
398
388
|
export * from "./listworkspacesresponse.js";
|
|
399
389
|
export * from "./litellmmodel.js";
|
|
400
390
|
export * from "./litellmmodelinfo.js";
|
|
@@ -413,8 +403,6 @@ export * from "./mcpauthconfigoutput.js";
|
|
|
413
403
|
export * from "./mcpauthtype.js";
|
|
414
404
|
export * from "./mcpconnection.js";
|
|
415
405
|
export * from "./mcpconnectiontype.js";
|
|
416
|
-
export * from "./mcpenterpriseauthconfig.js";
|
|
417
|
-
export * from "./mcpenterpriseauthconfigoutput.js";
|
|
418
406
|
export * from "./mcpgateway.js";
|
|
419
407
|
export * from "./mcpgatewaymode.js";
|
|
420
408
|
export * from "./mcpgatewayplugin.js";
|
|
@@ -539,8 +527,6 @@ export * from "./redactrequest.js";
|
|
|
539
527
|
export * from "./redactresponse.js";
|
|
540
528
|
export * from "./refreshexternalagentcardrequest.js";
|
|
541
529
|
export * from "./refreshexternalagentcardresponse.js";
|
|
542
|
-
export * from "./refreshwikirequest.js";
|
|
543
|
-
export * from "./refreshwikiresponse.js";
|
|
544
530
|
export * from "./refusalpartschema.js";
|
|
545
531
|
export * from "./removeannotationqueueitemsrequest.js";
|
|
546
532
|
export * from "./replayauditlogdeliveriesrequest.js";
|
|
@@ -648,7 +634,6 @@ export * from "./searchretrievalconfig.js";
|
|
|
648
634
|
export * from "./searchtracesrequest.js";
|
|
649
635
|
export * from "./searchtracesresponse.js";
|
|
650
636
|
export * from "./searchtype.js";
|
|
651
|
-
export * from "./searchwikiresponse.js";
|
|
652
637
|
export * from "./security.js";
|
|
653
638
|
export * from "./securityconfig.js";
|
|
654
639
|
export * from "./servertoolusedetails.js";
|
|
@@ -783,10 +768,6 @@ export * from "./updateuserrequest.js";
|
|
|
783
768
|
export * from "./updateuserresponse.js";
|
|
784
769
|
export * from "./updateviewrequest.js";
|
|
785
770
|
export * from "./updateviewresponse.js";
|
|
786
|
-
export * from "./updatewikipagerequest.js";
|
|
787
|
-
export * from "./updatewikipageresponse.js";
|
|
788
|
-
export * from "./updatewikirequest.js";
|
|
789
|
-
export * from "./updatewikiresponse.js";
|
|
790
771
|
export * from "./updateworkspacerequest.js";
|
|
791
772
|
export * from "./updateworkspaceresponse.js";
|
|
792
773
|
export * from "./updateworkspacesettingsrequest.js";
|
|
@@ -805,14 +786,6 @@ export * from "./vertexparamrangeint.js";
|
|
|
805
786
|
export * from "./view.js";
|
|
806
787
|
export * from "./webhook.js";
|
|
807
788
|
export * from "./webscrapertoolinput.js";
|
|
808
|
-
export * from "./wiki.js";
|
|
809
|
-
export * from "./wikipage.js";
|
|
810
|
-
export * from "./wikirepository.js";
|
|
811
|
-
export * from "./wikirun.js";
|
|
812
|
-
export * from "./wikirunstats.js";
|
|
813
|
-
export * from "./wikisearchhit.js";
|
|
814
|
-
export * from "./wikisettings.js";
|
|
815
|
-
export * from "./wikitreepage.js";
|
|
816
789
|
export * from "./workspace.js";
|
|
817
790
|
export * from "./workspacebudgetscope.js";
|
|
818
791
|
export * from "./workspacecapabilities.js";
|
|
@@ -5,11 +5,6 @@
|
|
|
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";
|
|
13
8
|
import {
|
|
14
9
|
McpHeaderSecret,
|
|
15
10
|
McpHeaderSecret$Outbound,
|
|
@@ -21,6 +16,34 @@ import {
|
|
|
21
16
|
McpOAuthConfig$outboundSchema,
|
|
22
17
|
} from "./mcpoauthconfig.js";
|
|
23
18
|
|
|
19
|
+
/**
|
|
20
|
+
* Superseded by `oauth` for ENTERPRISE_MANAGED; accepted on write and mirrored on read.
|
|
21
|
+
*
|
|
22
|
+
* @deprecated class: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
23
|
+
*/
|
|
24
|
+
export type Enterprise = {
|
|
25
|
+
/**
|
|
26
|
+
* RFC 9728 resource identifier the tokens are bound to; defaults to the connection URL.
|
|
27
|
+
*/
|
|
28
|
+
resource?: string | undefined;
|
|
29
|
+
/**
|
|
30
|
+
* OAuth client identifier registered at the upstream authorization server.
|
|
31
|
+
*/
|
|
32
|
+
clientId?: string | undefined;
|
|
33
|
+
/**
|
|
34
|
+
* OAuth client secret; accepted on write and never returned.
|
|
35
|
+
*/
|
|
36
|
+
clientSecret?: string | undefined;
|
|
37
|
+
/**
|
|
38
|
+
* Redacted preview of `client_secret`, returned in its place.
|
|
39
|
+
*/
|
|
40
|
+
maskedValue?: string | undefined;
|
|
41
|
+
/**
|
|
42
|
+
* Scopes requested when redeeming the identity assertion grant.
|
|
43
|
+
*/
|
|
44
|
+
scopes?: Array<string> | undefined;
|
|
45
|
+
};
|
|
46
|
+
|
|
24
47
|
export type McpAuthConfig = {
|
|
25
48
|
type: McpAuthType;
|
|
26
49
|
/**
|
|
@@ -28,21 +51,55 @@ export type McpAuthConfig = {
|
|
|
28
51
|
*/
|
|
29
52
|
staticHeaders?: Array<McpHeaderSecret> | undefined;
|
|
30
53
|
/**
|
|
31
|
-
* OAuth client
|
|
54
|
+
* OAuth client for the upstream authorization server; set when type is OAUTH_CLIENT_CREDENTIALS, PER_USER_OAUTH or ENTERPRISE_MANAGED.
|
|
32
55
|
*/
|
|
33
56
|
oauth?: McpOAuthConfig | undefined;
|
|
34
57
|
/**
|
|
35
|
-
*
|
|
58
|
+
* Superseded by `oauth` for ENTERPRISE_MANAGED; accepted on write and mirrored on read.
|
|
59
|
+
*
|
|
60
|
+
* @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
36
61
|
*/
|
|
37
|
-
enterprise?:
|
|
62
|
+
enterprise?: Enterprise | undefined;
|
|
38
63
|
};
|
|
39
64
|
|
|
65
|
+
/** @internal */
|
|
66
|
+
export type Enterprise$Outbound = {
|
|
67
|
+
resource?: string | undefined;
|
|
68
|
+
client_id?: string | undefined;
|
|
69
|
+
client_secret?: string | undefined;
|
|
70
|
+
masked_value?: string | undefined;
|
|
71
|
+
scopes?: Array<string> | undefined;
|
|
72
|
+
};
|
|
73
|
+
|
|
74
|
+
/** @internal */
|
|
75
|
+
export const Enterprise$outboundSchema: z.ZodType<
|
|
76
|
+
Enterprise$Outbound,
|
|
77
|
+
z.ZodTypeDef,
|
|
78
|
+
Enterprise
|
|
79
|
+
> = z.object({
|
|
80
|
+
resource: z.string().optional(),
|
|
81
|
+
clientId: z.string().optional(),
|
|
82
|
+
clientSecret: z.string().optional(),
|
|
83
|
+
maskedValue: z.string().optional(),
|
|
84
|
+
scopes: z.array(z.string()).optional(),
|
|
85
|
+
}).transform((v) => {
|
|
86
|
+
return remap$(v, {
|
|
87
|
+
clientId: "client_id",
|
|
88
|
+
clientSecret: "client_secret",
|
|
89
|
+
maskedValue: "masked_value",
|
|
90
|
+
});
|
|
91
|
+
});
|
|
92
|
+
|
|
93
|
+
export function enterpriseToJSON(enterprise: Enterprise): string {
|
|
94
|
+
return JSON.stringify(Enterprise$outboundSchema.parse(enterprise));
|
|
95
|
+
}
|
|
96
|
+
|
|
40
97
|
/** @internal */
|
|
41
98
|
export type McpAuthConfig$Outbound = {
|
|
42
99
|
type: string;
|
|
43
100
|
static_headers?: Array<McpHeaderSecret$Outbound> | undefined;
|
|
44
101
|
oauth?: McpOAuthConfig$Outbound | undefined;
|
|
45
|
-
enterprise?:
|
|
102
|
+
enterprise?: Enterprise$Outbound | undefined;
|
|
46
103
|
};
|
|
47
104
|
|
|
48
105
|
/** @internal */
|
|
@@ -54,7 +111,7 @@ export const McpAuthConfig$outboundSchema: z.ZodType<
|
|
|
54
111
|
type: McpAuthType$outboundSchema,
|
|
55
112
|
staticHeaders: z.array(McpHeaderSecret$outboundSchema).optional(),
|
|
56
113
|
oauth: McpOAuthConfig$outboundSchema.optional(),
|
|
57
|
-
enterprise:
|
|
114
|
+
enterprise: z.lazy(() => Enterprise$outboundSchema).optional(),
|
|
58
115
|
}).transform((v) => {
|
|
59
116
|
return remap$(v, {
|
|
60
117
|
staticHeaders: "static_headers",
|