@orq-ai/node 4.16.0-rc.34 → 4.16.0-rc.35
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/funcs/apiKeysCreate.d.ts +1 -1
- package/funcs/apiKeysCreate.js +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +2 -2
- package/lib/config.js +2 -2
- package/models/components/aggregatetracesrequest.d.ts +5 -0
- package/models/components/aggregatetracesrequest.d.ts.map +1 -1
- package/models/components/aggregatetracesrequest.js +1 -0
- package/models/components/aggregatetracesrequest.js.map +1 -1
- package/models/components/allprojectsscope.d.ts +8 -0
- package/models/components/allprojectsscope.d.ts.map +1 -0
- package/models/components/allprojectsscope.js +47 -0
- package/models/components/allprojectsscope.js.map +1 -0
- package/models/components/index.d.ts +3 -1
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +3 -1
- package/models/components/index.js.map +1 -1
- package/models/components/querytelemetryrequest.d.ts +10 -0
- package/models/components/querytelemetryrequest.d.ts.map +1 -1
- package/models/components/querytelemetryrequest.js +4 -0
- package/models/components/querytelemetryrequest.js.map +1 -1
- package/models/components/reasoningpart.js +1 -1
- package/models/components/requestprojectscope.d.ts +30 -0
- package/models/components/requestprojectscope.d.ts.map +1 -0
- package/models/components/requestprojectscope.js +67 -0
- package/models/components/requestprojectscope.js.map +1 -0
- package/models/components/singleprojectscope.d.ts +12 -0
- package/models/components/singleprojectscope.d.ts.map +1 -0
- package/models/components/{projectscope.js → singleprojectscope.js} +7 -8
- package/models/components/singleprojectscope.js.map +1 -0
- package/models/operations/apikeycreate.d.ts +5 -20
- package/models/operations/apikeycreate.d.ts.map +1 -1
- package/models/operations/apikeycreate.js +5 -12
- package/models/operations/apikeycreate.js.map +1 -1
- package/models/operations/apikeyupdate.d.ts +5 -2
- package/models/operations/apikeyupdate.d.ts.map +1 -1
- package/models/operations/apikeyupdate.js +4 -1
- package/models/operations/apikeyupdate.js.map +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/patchv2humanevalsetsid.js +2 -2
- package/models/operations/postv2feedbackevaluation.js +4 -4
- 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 +7 -7
- package/sdk/apikeys.d.ts +1 -1
- package/sdk/apikeys.js +1 -1
- package/src/funcs/apiKeysCreate.ts +1 -1
- package/src/lib/config.ts +2 -2
- package/src/models/components/aggregatetracesrequest.ts +6 -0
- package/src/models/components/allprojectsscope.ts +25 -0
- package/src/models/components/index.ts +3 -1
- package/src/models/components/querytelemetryrequest.ts +14 -0
- package/src/models/components/reasoningpart.ts +1 -1
- package/src/models/components/requestprojectscope.ts +71 -0
- package/src/models/components/singleprojectscope.ts +36 -0
- package/src/models/operations/apikeycreate.ts +6 -26
- package/src/models/operations/apikeyupdate.ts +6 -3
- 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/patchv2humanevalsetsid.ts +2 -2
- package/src/models/operations/postv2feedbackevaluation.ts +4 -4
- 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/src/sdk/apikeys.ts +1 -1
- package/models/components/projectscope.d.ts +0 -14
- package/models/components/projectscope.d.ts.map +0 -1
- package/models/components/projectscope.js.map +0 -1
- package/src/models/components/projectscope.ts +0 -35
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"singleprojectscope.js","sourceRoot":"","sources":["../../src/models/components/singleprojectscope.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA2BH,4DAMC;AA/BD,0CAA4B;AAC5B,2DAA0D;AAW1D,gBAAgB;AACH,QAAA,iCAAiC,GAI1C,CAAC,CAAC,MAAM,CAAC;IACX,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE;CACtB,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,SAAS,EAAE,YAAY;KACxB,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH,SAAgB,wBAAwB,CACtC,kBAAsC;IAEtC,OAAO,IAAI,CAAC,SAAS,CACnB,yCAAiC,CAAC,KAAK,CAAC,kBAAkB,CAAC,CAC5D,CAAC;AACJ,CAAC"}
|
|
@@ -8,22 +8,14 @@ export declare const PermissionMode: {
|
|
|
8
8
|
readonly All: "all";
|
|
9
9
|
readonly Restricted: "restricted";
|
|
10
10
|
readonly ReadOnly: "read_only";
|
|
11
|
+
readonly PermissionModeAll: "PERMISSION_MODE_ALL";
|
|
12
|
+
readonly PermissionModeRestricted: "PERMISSION_MODE_RESTRICTED";
|
|
13
|
+
readonly PermissionModeReadOnly: "PERMISSION_MODE_READ_ONLY";
|
|
11
14
|
};
|
|
12
15
|
/**
|
|
13
16
|
* Permission preset; restricted keys hold only the domains granted in access.
|
|
14
17
|
*/
|
|
15
18
|
export type PermissionMode = ClosedEnum<typeof PermissionMode>;
|
|
16
|
-
/**
|
|
17
|
-
* Origin of the key; router keys are minted for the AI router.
|
|
18
|
-
*/
|
|
19
|
-
export declare const ApiKeyCreateSource: {
|
|
20
|
-
readonly Workspace: "workspace";
|
|
21
|
-
readonly Router: "router";
|
|
22
|
-
};
|
|
23
|
-
/**
|
|
24
|
-
* Origin of the key; router keys are minted for the AI router.
|
|
25
|
-
*/
|
|
26
|
-
export type ApiKeyCreateSource = ClosedEnum<typeof ApiKeyCreateSource>;
|
|
27
19
|
export type ApiKeyCreateRequestBody = {
|
|
28
20
|
/**
|
|
29
21
|
* Per-domain access level (none, read or write) for restricted keys; domain ids come from the capability catalog.
|
|
@@ -45,21 +37,15 @@ export type ApiKeyCreateRequestBody = {
|
|
|
45
37
|
* Permission preset; restricted keys hold only the domains granted in access.
|
|
46
38
|
*/
|
|
47
39
|
permissionMode?: PermissionMode | undefined;
|
|
48
|
-
projectScope?: components.
|
|
40
|
+
projectScope?: components.RequestProjectScope | undefined;
|
|
49
41
|
/**
|
|
50
42
|
* Legacy single-project binding; prefer project_scope.
|
|
51
43
|
*/
|
|
52
44
|
projects?: Array<string> | null | undefined;
|
|
53
|
-
/**
|
|
54
|
-
* Origin of the key; router keys are minted for the AI router.
|
|
55
|
-
*/
|
|
56
|
-
source?: ApiKeyCreateSource | undefined;
|
|
57
45
|
};
|
|
58
46
|
/** @internal */
|
|
59
47
|
export declare const PermissionMode$outboundSchema: z.ZodNativeEnum<typeof PermissionMode>;
|
|
60
48
|
/** @internal */
|
|
61
|
-
export declare const ApiKeyCreateSource$outboundSchema: z.ZodNativeEnum<typeof ApiKeyCreateSource>;
|
|
62
|
-
/** @internal */
|
|
63
49
|
export type ApiKeyCreateRequestBody$Outbound = {
|
|
64
50
|
access?: {
|
|
65
51
|
[k: string]: string;
|
|
@@ -69,9 +55,8 @@ export type ApiKeyCreateRequestBody$Outbound = {
|
|
|
69
55
|
name: string;
|
|
70
56
|
owner?: components.Owner$Outbound | undefined;
|
|
71
57
|
permission_mode?: string | undefined;
|
|
72
|
-
project_scope?: components.
|
|
58
|
+
project_scope?: components.RequestProjectScope$Outbound | undefined;
|
|
73
59
|
projects?: Array<string> | null | undefined;
|
|
74
|
-
source?: string | undefined;
|
|
75
60
|
};
|
|
76
61
|
/** @internal */
|
|
77
62
|
export declare const ApiKeyCreateRequestBody$outboundSchema: z.ZodType<ApiKeyCreateRequestBody$Outbound, z.ZodTypeDef, ApiKeyCreateRequestBody>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"apikeycreate.d.ts","sourceRoot":"","sources":["../../src/models/operations/apikeycreate.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,KAAK,UAAU,MAAM,wBAAwB,CAAC;AAErD;;GAEG;AACH,eAAO,MAAM,cAAc
|
|
1
|
+
{"version":3,"file":"apikeycreate.d.ts","sourceRoot":"","sources":["../../src/models/operations/apikeycreate.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,KAAK,UAAU,MAAM,wBAAwB,CAAC;AAErD;;GAEG;AACH,eAAO,MAAM,cAAc;;;;;;;CAOjB,CAAC;AACX;;GAEG;AACH,MAAM,MAAM,cAAc,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAE/D,MAAM,MAAM,uBAAuB,GAAG;IACpC;;OAEG;IACH,MAAM,CAAC,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,GAAG,SAAS,CAAC;IAC7C,WAAW,CAAC,EAAE,UAAU,CAAC,WAAW,GAAG,SAAS,CAAC;IACjD;;OAEG;IACH,UAAU,CAAC,EAAE,IAAI,GAAG,SAAS,CAAC;IAC9B;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,UAAU,CAAC,KAAK,GAAG,SAAS,CAAC;IACrC;;OAEG;IACH,cAAc,CAAC,EAAE,cAAc,GAAG,SAAS,CAAC;IAC5C,YAAY,CAAC,EAAE,UAAU,CAAC,mBAAmB,GAAG,SAAS,CAAC;IAC1D;;OAEG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,IAAI,GAAG,SAAS,CAAC;CAC7C,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,6BAA6B,EAAE,CAAC,CAAC,aAAa,CACzD,OAAO,cAAc,CACS,CAAC;AAEjC,gBAAgB;AAChB,MAAM,MAAM,gCAAgC,GAAG;IAC7C,MAAM,CAAC,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,GAAG,SAAS,CAAC;IAC7C,WAAW,CAAC,EAAE,UAAU,CAAC,oBAAoB,GAAG,SAAS,CAAC;IAC1D,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAChC,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,UAAU,CAAC,cAAc,GAAG,SAAS,CAAC;IAC9C,eAAe,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACrC,aAAa,CAAC,EAAE,UAAU,CAAC,4BAA4B,GAAG,SAAS,CAAC;IACpE,QAAQ,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,IAAI,GAAG,SAAS,CAAC;CAC7C,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,sCAAsC,EAAE,CAAC,CAAC,OAAO,CAC5D,gCAAgC,EAChC,CAAC,CAAC,UAAU,EACZ,uBAAuB,CAevB,CAAC;AAEH,wBAAgB,6BAA6B,CAC3C,uBAAuB,EAAE,uBAAuB,GAC/C,MAAM,CAIR"}
|
|
@@ -36,7 +36,7 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
};
|
|
37
37
|
})();
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.ApiKeyCreateRequestBody$outboundSchema = exports.
|
|
39
|
+
exports.ApiKeyCreateRequestBody$outboundSchema = exports.PermissionMode$outboundSchema = exports.PermissionMode = void 0;
|
|
40
40
|
exports.apiKeyCreateRequestBodyToJSON = apiKeyCreateRequestBodyToJSON;
|
|
41
41
|
const z = __importStar(require("zod/v3"));
|
|
42
42
|
const primitives_js_1 = require("../../lib/primitives.js");
|
|
@@ -48,19 +48,13 @@ exports.PermissionMode = {
|
|
|
48
48
|
All: "all",
|
|
49
49
|
Restricted: "restricted",
|
|
50
50
|
ReadOnly: "read_only",
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
*/
|
|
55
|
-
exports.ApiKeyCreateSource = {
|
|
56
|
-
Workspace: "workspace",
|
|
57
|
-
Router: "router",
|
|
51
|
+
PermissionModeAll: "PERMISSION_MODE_ALL",
|
|
52
|
+
PermissionModeRestricted: "PERMISSION_MODE_RESTRICTED",
|
|
53
|
+
PermissionModeReadOnly: "PERMISSION_MODE_READ_ONLY",
|
|
58
54
|
};
|
|
59
55
|
/** @internal */
|
|
60
56
|
exports.PermissionMode$outboundSchema = z.nativeEnum(exports.PermissionMode);
|
|
61
57
|
/** @internal */
|
|
62
|
-
exports.ApiKeyCreateSource$outboundSchema = z.nativeEnum(exports.ApiKeyCreateSource);
|
|
63
|
-
/** @internal */
|
|
64
58
|
exports.ApiKeyCreateRequestBody$outboundSchema = z.object({
|
|
65
59
|
access: z.record(z.string()).optional(),
|
|
66
60
|
constraints: components.Constraints$outboundSchema.optional(),
|
|
@@ -68,9 +62,8 @@ exports.ApiKeyCreateRequestBody$outboundSchema = z.object({
|
|
|
68
62
|
name: z.string(),
|
|
69
63
|
owner: components.Owner$outboundSchema.optional(),
|
|
70
64
|
permissionMode: exports.PermissionMode$outboundSchema.optional(),
|
|
71
|
-
projectScope: components.
|
|
65
|
+
projectScope: components.RequestProjectScope$outboundSchema.optional(),
|
|
72
66
|
projects: z.nullable(z.array(z.string())).optional(),
|
|
73
|
-
source: exports.ApiKeyCreateSource$outboundSchema.optional(),
|
|
74
67
|
}).transform((v) => {
|
|
75
68
|
return (0, primitives_js_1.remap)(v, {
|
|
76
69
|
permissionMode: "permission_mode",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"apikeycreate.js","sourceRoot":"","sources":["../../src/models/operations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AC,CAAC,CAAC,QAAQ,EAAE;CACrD,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,cAAc,EAAE,iBAAiB;QACjC,YAAY,EAAE,eAAe;KAC9B,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH,SAAgB,6BAA6B,CAC3C,uBAAgD;IAEhD,OAAO,IAAI,CAAC,SAAS,CACnB,8CAAsC,CAAC,KAAK,CAAC,uBAAuB,CAAC,CACtE,CAAC;AACJ,CAAC"}
|
|
@@ -8,6 +8,9 @@ export declare const ApiKeyUpdatePermissionMode: {
|
|
|
8
8
|
readonly All: "all";
|
|
9
9
|
readonly Restricted: "restricted";
|
|
10
10
|
readonly ReadOnly: "read_only";
|
|
11
|
+
readonly PermissionModeAll: "PERMISSION_MODE_ALL";
|
|
12
|
+
readonly PermissionModeRestricted: "PERMISSION_MODE_RESTRICTED";
|
|
13
|
+
readonly PermissionModeReadOnly: "PERMISSION_MODE_READ_ONLY";
|
|
11
14
|
};
|
|
12
15
|
/**
|
|
13
16
|
* Permission preset; a restricted key must keep at least one granted domain.
|
|
@@ -45,7 +48,7 @@ export type ApiKeyUpdateRequestBody = {
|
|
|
45
48
|
* Permission preset; a restricted key must keep at least one granted domain.
|
|
46
49
|
*/
|
|
47
50
|
permissionMode?: ApiKeyUpdatePermissionMode | undefined;
|
|
48
|
-
projectScope?: components.
|
|
51
|
+
projectScope?: components.RequestProjectScope | undefined;
|
|
49
52
|
/**
|
|
50
53
|
* Lifecycle status; revoked is terminal.
|
|
51
54
|
*/
|
|
@@ -71,7 +74,7 @@ export type ApiKeyUpdateRequestBody$Outbound = {
|
|
|
71
74
|
constraints?: components.Constraints$Outbound | undefined;
|
|
72
75
|
name?: string | undefined;
|
|
73
76
|
permission_mode?: string | undefined;
|
|
74
|
-
project_scope?: components.
|
|
77
|
+
project_scope?: components.RequestProjectScope$Outbound | undefined;
|
|
75
78
|
status?: string | undefined;
|
|
76
79
|
};
|
|
77
80
|
/** @internal */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"apikeyupdate.d.ts","sourceRoot":"","sources":["../../src/models/operations/apikeyupdate.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,KAAK,UAAU,MAAM,wBAAwB,CAAC;AAErD;;GAEG;AACH,eAAO,MAAM,0BAA0B
|
|
1
|
+
{"version":3,"file":"apikeyupdate.d.ts","sourceRoot":"","sources":["../../src/models/operations/apikeyupdate.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,KAAK,UAAU,MAAM,wBAAwB,CAAC;AAErD;;GAEG;AACH,eAAO,MAAM,0BAA0B;;;;;;;CAO7B,CAAC;AACX;;GAEG;AACH,MAAM,MAAM,0BAA0B,GAAG,UAAU,CACjD,OAAO,0BAA0B,CAClC,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,MAAM;;;;CAIT,CAAC;AACX;;GAEG;AACH,MAAM,MAAM,MAAM,GAAG,UAAU,CAAC,OAAO,MAAM,CAAC,CAAC;AAE/C,MAAM,MAAM,uBAAuB,GAAG;IACpC;;OAEG;IACH,MAAM,CAAC,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,GAAG,SAAS,CAAC;IAC7C;;OAEG;IACH,MAAM,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC7B,WAAW,CAAC,EAAE,UAAU,CAAC,WAAW,GAAG,SAAS,CAAC;IACjD;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B;;OAEG;IACH,cAAc,CAAC,EAAE,0BAA0B,GAAG,SAAS,CAAC;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CAAgC,CAAC;CAC/C,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,kCAAkC,EAAE,CAAC,CAAC,OAAO,CACxD,4BAA4B,EAC5B,CAAC,CAAC,UAAU,EACZ,mBAAmB,CASnB,CAAC;AAEH,wBAAgB,yBAAyB,CACvC,mBAAmB,EAAE,mBAAmB,GACvC,MAAM,CAIR"}
|
|
@@ -49,6 +49,9 @@ exports.ApiKeyUpdatePermissionMode = {
|
|
|
49
49
|
All: "all",
|
|
50
50
|
Restricted: "restricted",
|
|
51
51
|
ReadOnly: "read_only",
|
|
52
|
+
PermissionModeAll: "PERMISSION_MODE_ALL",
|
|
53
|
+
PermissionModeRestricted: "PERMISSION_MODE_RESTRICTED",
|
|
54
|
+
PermissionModeReadOnly: "PERMISSION_MODE_READ_ONLY",
|
|
52
55
|
};
|
|
53
56
|
/**
|
|
54
57
|
* Lifecycle status; revoked is terminal.
|
|
@@ -70,7 +73,7 @@ exports.ApiKeyUpdateRequestBody$outboundSchema = z.object({
|
|
|
70
73
|
constraints: components.Constraints$outboundSchema.optional(),
|
|
71
74
|
name: z.string().optional(),
|
|
72
75
|
permissionMode: exports.ApiKeyUpdatePermissionMode$outboundSchema.optional(),
|
|
73
|
-
projectScope: components.
|
|
76
|
+
projectScope: components.RequestProjectScope$outboundSchema.optional(),
|
|
74
77
|
status: exports.Status$outboundSchema.optional(),
|
|
75
78
|
}).transform((v) => {
|
|
76
79
|
return (0, primitives_js_1.remap)(v, {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"apikeyupdate.js","sourceRoot":"","sources":["../../src/models/operations/apikeyupdate.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"apikeyupdate.js","sourceRoot":"","sources":["../../src/models/operations/apikeyupdate.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA+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,CAAC,CAAC,CAAC;AAEH,SAAgB,6BAA6B,CAC3C,uBAAgD;IAEhD,OAAO,IAAI,CAAC,SAAS,CACnB,8CAAsC,CAAC,KAAK,CAAC,uBAAuB,CAAC,CACtE,CAAC;AACJ,CAAC;AAQD,gBAAgB;AACH,QAAA,kCAAkC,GAI3C,CAAC,CAAC,MAAM,CAAC;IACX,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE;IACpB,WAAW,EAAE,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,8CAAsC,CAAC;CAClE,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,QAAQ,EAAE,YAAY;QACtB,WAAW,EAAE,aAAa;KAC3B,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH,SAAgB,yBAAyB,CACvC,mBAAwC;IAExC,OAAO,IAAI,CAAC,SAAS,CACnB,0CAAkC,CAAC,KAAK,CAAC,mBAAmB,CAAC,CAC9D,CAAC;AACJ,CAAC"}
|
|
@@ -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_01M3SP100P46KJFT4Q32DK0D4W"),
|
|
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_01M3SP100PZW58414R5XE9HBXN"),
|
|
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_01M3SP100PWKSZ2ZFSEFESDZ4E"),
|
|
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_01M3SP100NKNX8Q34M66GE0EG2"),
|
|
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_01M3SP100K4Y8TRAGHPVSC752P"),
|
|
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_01M3SP100KW6NSHEZM9PXD4V27"),
|
|
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_01M3SP100JJCMJRR9G84RJDTFR"),
|
|
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_01M3SP100JNAKANS841PZ05C6S"),
|
|
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-09-
|
|
70
|
+
updated: z.string().datetime({ offset: true }).default("2026-09-30T17:32:57.755Z").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-09-
|
|
101
|
+
updated: z.string().datetime({ offset: true }).default("2026-09-30T17:32:57.755Z").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-09-
|
|
66
|
+
updated: z.string().datetime({ offset: true }).default("2026-09-30T17:32:57.755Z").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-09-
|
|
97
|
+
updated: z.string().datetime({ offset: true }).default("2026-09-30T17:32:57.755Z").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) => {
|
|
@@ -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-09-
|
|
125
|
+
updated: z.string().datetime({ offset: true }).default("2026-09-30T17:32:57.755Z").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-09-
|
|
156
|
+
updated: z.string().datetime({ offset: true }).default("2026-09-30T17:32:57.755Z").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-09-
|
|
99
|
+
reviewedAt: z.date().default(() => new Date("2026-09-30T17:33:02.900Z"))
|
|
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-09-
|
|
129
|
+
reviewedAt: z.date().default(() => new Date("2026-09-30T17:33:02.900Z"))
|
|
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-09-
|
|
157
|
+
reviewedAt: z.date().default(() => new Date("2026-09-30T17:33:02.900Z"))
|
|
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-09-
|
|
184
|
+
reviewedAt: z.date().default(() => new Date("2026-09-30T17:33:02.900Z"))
|
|
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-09-
|
|
109
|
+
updated: z.string().datetime({ offset: true }).default("2026-09-30T17:32:57.755Z").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-09-
|
|
140
|
+
updated: z.string().datetime({ offset: true }).default("2026-09-30T17:32:57.755Z").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_01M3SP100XQV3JKQTZ78EDNVF6"),
|
|
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_01M3SP100XZD7E6QK4VHNR363R"),
|
|
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_01M3SP100WGQFHEZ63QB3CVZP6"),
|
|
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_01M3SP100WVVYHE6ZVEMPFD7EA"),
|
|
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("
|
|
1101
|
+
id: z.string().default("01M3SP0ZZDWV9XBX6EGJTNG4BE"),
|
|
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("
|
|
1067
|
+
id: z.string().default("01M3SP0ZZR8MVV595EVH6WW96N"),
|
|
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("
|
|
539
|
+
_id: z.string().default("tool_01M3SP100SCR6H959P7TV4H3JX"),
|
|
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_01M3SP100RBAKQJQQ058VQJJB3"),
|
|
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_01M3SP100R3DR61CTPF3SWBTFT"),
|
|
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_01M3SP100RBPZG8TWV1NMC3P7H"),
|
|
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.0-rc.
|
|
3
|
+
"version": "4.16.0-rc.35",
|
|
4
4
|
"author": "Orq",
|
|
5
5
|
"exports": {
|
|
6
|
-
"./*": "./*",
|
|
7
|
-
"./langchain": {
|
|
8
|
-
"require": "./langchain/index.js",
|
|
9
|
-
"types": "./langchain/index.d.mts",
|
|
10
|
-
"import": "./langchain/index.mjs"
|
|
11
|
-
},
|
|
12
6
|
".": {
|
|
13
7
|
"import": "./index.js",
|
|
14
8
|
"require": "./index.js",
|
|
15
9
|
"types": "./index.d.ts"
|
|
10
|
+
},
|
|
11
|
+
"./*": "./*",
|
|
12
|
+
"./langchain": {
|
|
13
|
+
"import": "./langchain/index.mjs",
|
|
14
|
+
"require": "./langchain/index.js",
|
|
15
|
+
"types": "./langchain/index.d.mts"
|
|
16
16
|
}
|
|
17
17
|
},
|
|
18
18
|
"main": "./index.js",
|
package/sdk/apikeys.d.ts
CHANGED
|
@@ -13,7 +13,7 @@ export declare class ApiKeys extends ClientSDK {
|
|
|
13
13
|
* Create a new API key
|
|
14
14
|
*
|
|
15
15
|
* @remarks
|
|
16
|
-
* Mints
|
|
16
|
+
* Mints an opaque `sk-orq-` API key. Use `project_scope` to bind it to a single project and `permission_mode` with `access` to restrict permissions. A management key with API-key write access can create keys. The legacy `projects` field is also accepted. The raw token is returned once in the `token` field and is never retrievable afterwards. Unknown body fields are rejected.
|
|
17
17
|
*/
|
|
18
18
|
create(request: operations.ApiKeyCreateRequestBody, options?: RequestOptions): Promise<components.ApiKeyRestResponse>;
|
|
19
19
|
/**
|
package/sdk/apikeys.js
CHANGED
|
@@ -26,7 +26,7 @@ class ApiKeys extends sdks_js_1.ClientSDK {
|
|
|
26
26
|
* Create a new API key
|
|
27
27
|
*
|
|
28
28
|
* @remarks
|
|
29
|
-
* Mints
|
|
29
|
+
* Mints an opaque `sk-orq-` API key. Use `project_scope` to bind it to a single project and `permission_mode` with `access` to restrict permissions. A management key with API-key write access can create keys. The legacy `projects` field is also accepted. The raw token is returned once in the `token` field and is never retrievable afterwards. Unknown body fields are rejected.
|
|
30
30
|
*/
|
|
31
31
|
async create(request, options) {
|
|
32
32
|
return (0, fp_js_1.unwrapAsync)((0, apiKeysCreate_js_1.apiKeysCreate)(this, request, options));
|
|
@@ -30,7 +30,7 @@ import { Result } from "../types/fp.js";
|
|
|
30
30
|
* Create a new API key
|
|
31
31
|
*
|
|
32
32
|
* @remarks
|
|
33
|
-
* Mints
|
|
33
|
+
* Mints an opaque `sk-orq-` API key. Use `project_scope` to bind it to a single project and `permission_mode` with `access` to restrict permissions. A management key with API-key write access can create keys. The legacy `projects` field is also accepted. The raw token is returned once in the `token` field and is never retrievable afterwards. Unknown body fields are rejected.
|
|
34
34
|
*/
|
|
35
35
|
export function apiKeysCreate(
|
|
36
36
|
client: OrqCore,
|
package/src/lib/config.ts
CHANGED
|
@@ -58,7 +58,7 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
|
|
|
58
58
|
export const SDK_METADATA = {
|
|
59
59
|
language: "typescript",
|
|
60
60
|
openapiDocVersion: "2.0",
|
|
61
|
-
sdkVersion: "4.16.0-rc.
|
|
61
|
+
sdkVersion: "4.16.0-rc.35",
|
|
62
62
|
genVersion: "2.943.0",
|
|
63
|
-
userAgent: "speakeasy-sdk/typescript 4.16.0-rc.
|
|
63
|
+
userAgent: "speakeasy-sdk/typescript 4.16.0-rc.35 2.943.0 2.0 @orq-ai/node",
|
|
64
64
|
} as const;
|
|
@@ -23,6 +23,10 @@ export type AggregateTracesRequest = {
|
|
|
23
23
|
compute?: Array<TraceCompute> | undefined;
|
|
24
24
|
limit?: number | undefined;
|
|
25
25
|
filterOperator?: string | undefined;
|
|
26
|
+
/**
|
|
27
|
+
* Free-text search with the same matching as SearchTracesRequest.query.
|
|
28
|
+
*/
|
|
29
|
+
query?: string | undefined;
|
|
26
30
|
};
|
|
27
31
|
|
|
28
32
|
/** @internal */
|
|
@@ -34,6 +38,7 @@ export type AggregateTracesRequest$Outbound = {
|
|
|
34
38
|
compute?: Array<TraceCompute$Outbound> | undefined;
|
|
35
39
|
limit?: number | undefined;
|
|
36
40
|
filter_operator?: string | undefined;
|
|
41
|
+
query?: string | undefined;
|
|
37
42
|
};
|
|
38
43
|
|
|
39
44
|
/** @internal */
|
|
@@ -49,6 +54,7 @@ export const AggregateTracesRequest$outboundSchema: z.ZodType<
|
|
|
49
54
|
compute: z.array(TraceCompute$outboundSchema).optional(),
|
|
50
55
|
limit: z.number().int().optional(),
|
|
51
56
|
filterOperator: z.string().optional(),
|
|
57
|
+
query: z.string().optional(),
|
|
52
58
|
}).transform((v) => {
|
|
53
59
|
return remap$(v, {
|
|
54
60
|
groupBy: "group_by",
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
|
|
7
|
+
export type AllProjectsScope = {};
|
|
8
|
+
|
|
9
|
+
/** @internal */
|
|
10
|
+
export type AllProjectsScope$Outbound = {};
|
|
11
|
+
|
|
12
|
+
/** @internal */
|
|
13
|
+
export const AllProjectsScope$outboundSchema: z.ZodType<
|
|
14
|
+
AllProjectsScope$Outbound,
|
|
15
|
+
z.ZodTypeDef,
|
|
16
|
+
AllProjectsScope
|
|
17
|
+
> = z.object({});
|
|
18
|
+
|
|
19
|
+
export function allProjectsScopeToJSON(
|
|
20
|
+
allProjectsScope: AllProjectsScope,
|
|
21
|
+
): string {
|
|
22
|
+
return JSON.stringify(
|
|
23
|
+
AllProjectsScope$outboundSchema.parse(allProjectsScope),
|
|
24
|
+
);
|
|
25
|
+
}
|
|
@@ -33,6 +33,7 @@ export * from "./alertquery.js";
|
|
|
33
33
|
export * from "./alertrun.js";
|
|
34
34
|
export * from "./alerttrigger.js";
|
|
35
35
|
export * from "./alerttriggerevent.js";
|
|
36
|
+
export * from "./allprojectsscope.js";
|
|
36
37
|
export * from "./annotationfilter.js";
|
|
37
38
|
export * from "./annotationqueue.js";
|
|
38
39
|
export * from "./annotationqueueitem.js";
|
|
@@ -431,7 +432,6 @@ export * from "./processingerror.js";
|
|
|
431
432
|
export * from "./project.js";
|
|
432
433
|
export * from "./projectbudgetscope.js";
|
|
433
434
|
export * from "./projectbudgetscoperestresponse.js";
|
|
434
|
-
export * from "./projectscope.js";
|
|
435
435
|
export * from "./providerbudgetscope.js";
|
|
436
436
|
export * from "./providertoolinput.js";
|
|
437
437
|
export * from "./publiccompactionitem.js";
|
|
@@ -475,6 +475,7 @@ export * from "./refreshwikiresponse.js";
|
|
|
475
475
|
export * from "./refusalpartschema.js";
|
|
476
476
|
export * from "./removeannotationqueueitemsrequest.js";
|
|
477
477
|
export * from "./requestlimit.js";
|
|
478
|
+
export * from "./requestprojectscope.js";
|
|
478
479
|
export * from "./rerankconfig.js";
|
|
479
480
|
export * from "./rerankmodelparameters.js";
|
|
480
481
|
export * from "./resetbudgetconsumptionrequest.js";
|
|
@@ -581,6 +582,7 @@ export * from "./sharing.js";
|
|
|
581
582
|
export * from "./sharingallprojects.js";
|
|
582
583
|
export * from "./sharingselectedprojects.js";
|
|
583
584
|
export * from "./sidekicktoolinput.js";
|
|
585
|
+
export * from "./singleprojectscope.js";
|
|
584
586
|
export * from "./skill.js";
|
|
585
587
|
export * from "./smartrouter.js";
|
|
586
588
|
export * from "./smartrouterprofile.js";
|