@orq-ai/node 4.16.0-rc.34 → 4.16.0-rc.36
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/fieldinfo.d.ts +1 -0
- package/models/components/fieldinfo.d.ts.map +1 -1
- package/models/components/fieldinfo.js +1 -0
- package/models/components/fieldinfo.js.map +1 -1
- 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/publicresponseresource.d.ts +1 -0
- package/models/components/publicresponseresource.d.ts.map +1 -1
- package/models/components/publicresponseresource.js +1 -0
- package/models/components/publicresponseresource.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/servertoolusedetails.d.ts +1 -0
- package/models/components/servertoolusedetails.d.ts.map +1 -1
- package/models/components/servertoolusedetails.js +2 -0
- package/models/components/servertoolusedetails.js.map +1 -1
- 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/createagentrequest.d.ts +8 -0
- package/models/operations/createagentrequest.d.ts.map +1 -1
- package/models/operations/createagentrequest.js +14 -3
- package/models/operations/createagentrequest.js.map +1 -1
- package/models/operations/createrouterresponse.d.ts +24 -3
- package/models/operations/createrouterresponse.d.ts.map +1 -1
- package/models/operations/createrouterresponse.js +10 -1
- package/models/operations/createrouterresponse.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/listagents.d.ts +8 -0
- package/models/operations/listagents.d.ts.map +1 -1
- package/models/operations/listagents.js +15 -3
- package/models/operations/listagents.js.map +1 -1
- package/models/operations/patchv2humanevalsetsid.js +2 -2
- package/models/operations/postv2feedbackevaluation.js +4 -4
- package/models/operations/postv2humanevalsets.js +2 -2
- package/models/operations/retrieveagentrequest.d.ts +8 -0
- package/models/operations/retrieveagentrequest.d.ts.map +1 -1
- package/models/operations/retrieveagentrequest.js +14 -3
- package/models/operations/retrieveagentrequest.js.map +1 -1
- package/models/operations/retrieveresponse.d.ts +1 -0
- package/models/operations/retrieveresponse.d.ts.map +1 -1
- package/models/operations/retrieveresponse.js +1 -0
- package/models/operations/retrieveresponse.js.map +1 -1
- package/models/operations/retrievetool.js +4 -4
- package/models/operations/runagent.js +1 -1
- package/models/operations/streamrunagent.js +1 -1
- package/models/operations/updateagent.d.ts +22 -0
- package/models/operations/updateagent.d.ts.map +1 -1
- package/models/operations/updateagent.js +27 -3
- package/models/operations/updateagent.js.map +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/fieldinfo.ts +2 -0
- package/src/models/components/index.ts +3 -1
- package/src/models/components/publicresponseresource.ts +1 -0
- 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/servertoolusedetails.ts +3 -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/createagentrequest.ts +30 -0
- package/src/models/operations/createrouterresponse.ts +30 -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/listagents.ts +29 -0
- 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/retrieveagentrequest.ts +30 -0
- package/src/models/operations/retrieveresponse.ts +1 -0
- 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/updateagent.ts +59 -0
- 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,67 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.RequestProjectScope$outboundSchema = exports.RequestProjectScopeMode$outboundSchema = exports.RequestProjectScopeMode = void 0;
|
|
40
|
+
exports.requestProjectScopeToJSON = requestProjectScopeToJSON;
|
|
41
|
+
const z = __importStar(require("zod/v3"));
|
|
42
|
+
const primitives_js_1 = require("../../lib/primitives.js");
|
|
43
|
+
const allprojectsscope_js_1 = require("./allprojectsscope.js");
|
|
44
|
+
const singleprojectscope_js_1 = require("./singleprojectscope.js");
|
|
45
|
+
exports.RequestProjectScopeMode = {
|
|
46
|
+
All: "all",
|
|
47
|
+
Single: "single",
|
|
48
|
+
ProjectScopeModeAll: "PROJECT_SCOPE_MODE_ALL",
|
|
49
|
+
ProjectScopeModeSingle: "PROJECT_SCOPE_MODE_SINGLE",
|
|
50
|
+
};
|
|
51
|
+
/** @internal */
|
|
52
|
+
exports.RequestProjectScopeMode$outboundSchema = z.nativeEnum(exports.RequestProjectScopeMode);
|
|
53
|
+
/** @internal */
|
|
54
|
+
exports.RequestProjectScope$outboundSchema = z.object({
|
|
55
|
+
all: allprojectsscope_js_1.AllProjectsScope$outboundSchema.optional(),
|
|
56
|
+
mode: exports.RequestProjectScopeMode$outboundSchema.optional(),
|
|
57
|
+
projectId: z.string().optional(),
|
|
58
|
+
single: singleprojectscope_js_1.SingleProjectScope$outboundSchema.optional(),
|
|
59
|
+
}).transform((v) => {
|
|
60
|
+
return (0, primitives_js_1.remap)(v, {
|
|
61
|
+
projectId: "project_id",
|
|
62
|
+
});
|
|
63
|
+
});
|
|
64
|
+
function requestProjectScopeToJSON(requestProjectScope) {
|
|
65
|
+
return JSON.stringify(exports.RequestProjectScope$outboundSchema.parse(requestProjectScope));
|
|
66
|
+
}
|
|
67
|
+
//# sourceMappingURL=requestprojectscope.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"requestprojectscope.js","sourceRoot":"","sources":["../../src/models/components/requestprojectscope.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA8DH,8DAMC;AAlED,0CAA4B;AAC5B,2DAA0D;AAE1D,+DAI+B;AAC/B,mEAIiC;AAEpB,QAAA,uBAAuB,GAAG;IACrC,GAAG,EAAE,KAAK;IACV,MAAM,EAAE,QAAQ;IAChB,mBAAmB,EAAE,wBAAwB;IAC7C,sBAAsB,EAAE,2BAA2B;CAC3C,CAAC;AAYX,gBAAgB;AACH,QAAA,sCAAsC,GAE/C,CAAC,CAAC,UAAU,CAAC,+BAAuB,CAAC,CAAC;AAU1C,gBAAgB;AACH,QAAA,kCAAkC,GAI3C,CAAC,CAAC,MAAM,CAAC;IACX,GAAG,EAAE,qDAA+B,CAAC,QAAQ,EAAE;IAC/C,IAAI,EAAE,8CAAsC,CAAC,QAAQ,EAAE;IACvD,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAChC,MAAM,EAAE,yDAAiC,CAAC,QAAQ,EAAE;CACrD,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,yBAAyB,CACvC,mBAAwC;IAExC,OAAO,IAAI,CAAC,SAAS,CACnB,0CAAkC,CAAC,KAAK,CAAC,mBAAmB,CAAC,CAC9D,CAAC;AACJ,CAAC"}
|
|
@@ -10,6 +10,7 @@ export type ServerToolUseDetails = {
|
|
|
10
10
|
searchModelsRequests?: number | undefined;
|
|
11
11
|
shellCommands?: number | undefined;
|
|
12
12
|
subagentRequests?: number | undefined;
|
|
13
|
+
toolSearchRequests?: number | undefined;
|
|
13
14
|
webFetchRequests?: number | undefined;
|
|
14
15
|
webSearchRequests?: number | undefined;
|
|
15
16
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"servertoolusedetails.d.ts","sourceRoot":"","sources":["../../src/models/components/servertoolusedetails.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE,MAAM,MAAM,oBAAoB,GAAG;IACjC,eAAe,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACrC,uBAAuB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC7C,gBAAgB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACtC,cAAc,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACpC,oBAAoB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1C,oBAAoB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1C,aAAa,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACnC,gBAAgB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACtC,gBAAgB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACtC,iBAAiB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACxC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,kCAAkC,EAAE,CAAC,CAAC,OAAO,CACxD,oBAAoB,EACpB,CAAC,CAAC,UAAU,EACZ,OAAO,
|
|
1
|
+
{"version":3,"file":"servertoolusedetails.d.ts","sourceRoot":"","sources":["../../src/models/components/servertoolusedetails.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE,MAAM,MAAM,oBAAoB,GAAG;IACjC,eAAe,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACrC,uBAAuB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC7C,gBAAgB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACtC,cAAc,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACpC,oBAAoB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1C,oBAAoB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1C,aAAa,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACnC,gBAAgB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACtC,kBAAkB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACxC,gBAAgB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACtC,iBAAiB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACxC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,kCAAkC,EAAE,CAAC,CAAC,OAAO,CACxD,oBAAoB,EACpB,CAAC,CAAC,UAAU,EACZ,OAAO,CA2BP,CAAC;AAEH,wBAAgB,4BAA4B,CAC1C,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,oBAAoB,EAAE,kBAAkB,CAAC,CAM3D"}
|
|
@@ -51,6 +51,7 @@ exports.ServerToolUseDetails$inboundSchema = z.object({
|
|
|
51
51
|
search_models_requests: z.number().int().optional(),
|
|
52
52
|
shell_commands: z.number().int().optional(),
|
|
53
53
|
subagent_requests: z.number().int().optional(),
|
|
54
|
+
tool_search_requests: z.number().int().optional(),
|
|
54
55
|
web_fetch_requests: z.number().int().optional(),
|
|
55
56
|
web_search_requests: z.number().int().optional(),
|
|
56
57
|
}).transform((v) => {
|
|
@@ -63,6 +64,7 @@ exports.ServerToolUseDetails$inboundSchema = z.object({
|
|
|
63
64
|
"search_models_requests": "searchModelsRequests",
|
|
64
65
|
"shell_commands": "shellCommands",
|
|
65
66
|
"subagent_requests": "subagentRequests",
|
|
67
|
+
"tool_search_requests": "toolSearchRequests",
|
|
66
68
|
"web_fetch_requests": "webFetchRequests",
|
|
67
69
|
"web_search_requests": "webSearchRequests",
|
|
68
70
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"servertoolusedetails.js","sourceRoot":"","sources":["../../src/models/components/servertoolusedetails.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"servertoolusedetails.js","sourceRoot":"","sources":["../../src/models/components/servertoolusedetails.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAuDH,oEAQC;AA7DD,0CAA4B;AAC5B,2DAA0D;AAC1D,qDAAiD;AAkBjD,gBAAgB;AACH,QAAA,kCAAkC,GAI3C,CAAC,CAAC,MAAM,CAAC;IACX,gBAAgB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE;IAC7C,yBAAyB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE;IACtD,iBAAiB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE;IAC9C,eAAe,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE;IAC5C,sBAAsB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE;IACnD,sBAAsB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE;IACnD,cAAc,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE;IAC3C,iBAAiB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE;IAC9C,oBAAoB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE;IACjD,kBAAkB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE;IAC/C,mBAAmB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE;CACjD,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,kBAAkB,EAAE,iBAAiB;QACrC,2BAA2B,EAAE,yBAAyB;QACtD,mBAAmB,EAAE,kBAAkB;QACvC,iBAAiB,EAAE,gBAAgB;QACnC,wBAAwB,EAAE,sBAAsB;QAChD,wBAAwB,EAAE,sBAAsB;QAChD,gBAAgB,EAAE,eAAe;QACjC,mBAAmB,EAAE,kBAAkB;QACvC,sBAAsB,EAAE,oBAAoB;QAC5C,oBAAoB,EAAE,kBAAkB;QACxC,qBAAqB,EAAE,mBAAmB;KAC3C,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH,SAAgB,4BAA4B,CAC1C,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,0CAAkC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC9D,kDAAkD,CACnD,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as z from "zod/v3";
|
|
2
|
+
export type SingleProjectScope = {
|
|
3
|
+
projectId: string;
|
|
4
|
+
};
|
|
5
|
+
/** @internal */
|
|
6
|
+
export type SingleProjectScope$Outbound = {
|
|
7
|
+
project_id: string;
|
|
8
|
+
};
|
|
9
|
+
/** @internal */
|
|
10
|
+
export declare const SingleProjectScope$outboundSchema: z.ZodType<SingleProjectScope$Outbound, z.ZodTypeDef, SingleProjectScope>;
|
|
11
|
+
export declare function singleProjectScopeToJSON(singleProjectScope: SingleProjectScope): string;
|
|
12
|
+
//# sourceMappingURL=singleprojectscope.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"singleprojectscope.d.ts","sourceRoot":"","sources":["../../src/models/components/singleprojectscope.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,MAAM,MAAM,kBAAkB,GAAG;IAC/B,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF,gBAAgB;AAChB,MAAM,MAAM,2BAA2B,GAAG;IACxC,UAAU,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,iCAAiC,EAAE,CAAC,CAAC,OAAO,CACvD,2BAA2B,EAC3B,CAAC,CAAC,UAAU,EACZ,kBAAkB,CAOlB,CAAC;AAEH,wBAAgB,wBAAwB,CACtC,kBAAkB,EAAE,kBAAkB,GACrC,MAAM,CAIR"}
|
|
@@ -36,20 +36,19 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
};
|
|
37
37
|
})();
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.
|
|
40
|
-
exports.
|
|
39
|
+
exports.SingleProjectScope$outboundSchema = void 0;
|
|
40
|
+
exports.singleProjectScopeToJSON = singleProjectScopeToJSON;
|
|
41
41
|
const z = __importStar(require("zod/v3"));
|
|
42
42
|
const primitives_js_1 = require("../../lib/primitives.js");
|
|
43
43
|
/** @internal */
|
|
44
|
-
exports.
|
|
45
|
-
|
|
46
|
-
projectId: z.string().optional(),
|
|
44
|
+
exports.SingleProjectScope$outboundSchema = z.object({
|
|
45
|
+
projectId: z.string(),
|
|
47
46
|
}).transform((v) => {
|
|
48
47
|
return (0, primitives_js_1.remap)(v, {
|
|
49
48
|
projectId: "project_id",
|
|
50
49
|
});
|
|
51
50
|
});
|
|
52
|
-
function
|
|
53
|
-
return JSON.stringify(exports.
|
|
51
|
+
function singleProjectScopeToJSON(singleProjectScope) {
|
|
52
|
+
return JSON.stringify(exports.SingleProjectScope$outboundSchema.parse(singleProjectScope));
|
|
54
53
|
}
|
|
55
|
-
//# sourceMappingURL=
|
|
54
|
+
//# sourceMappingURL=singleprojectscope.js.map
|
|
@@ -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/apikeycreate.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"apikeycreate.js","sourceRoot":"","sources":["../../src/models/operations/apikeycreate.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAuFH,sEAMC;AA3FD,0CAA4B;AAC5B,2DAA0D;AAE1D,mEAAqD;AAErD;;GAEG;AACU,QAAA,cAAc,GAAG;IAC5B,GAAG,EAAE,KAAK;IACV,UAAU,EAAE,YAAY;IACxB,QAAQ,EAAE,WAAW;IACrB,iBAAiB,EAAE,qBAAqB;IACxC,wBAAwB,EAAE,4BAA4B;IACtD,sBAAsB,EAAE,2BAA2B;CAC3C,CAAC;AAgCX,gBAAgB;AACH,QAAA,6BAA6B,GAEtC,CAAC,CAAC,UAAU,CAAC,sBAAc,CAAC,CAAC;AAcjC,gBAAgB;AACH,QAAA,sCAAsC,GAI/C,CAAC,CAAC,MAAM,CAAC;IACX,MAAM,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;IACvC,WAAW,EAAE,UAAU,CAAC,0BAA0B,CAAC,QAAQ,EAAE;IAC7D,UAAU,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,WAAW,EAAE,CAAC,CAAC,QAAQ,EAAE;IAC/D,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,KAAK,EAAE,UAAU,CAAC,oBAAoB,CAAC,QAAQ,EAAE;IACjD,cAAc,EAAE,qCAA6B,CAAC,QAAQ,EAAE;IACxD,YAAY,EAAE,UAAU,CAAC,kCAAkC,CAAC,QAAQ,EAAE;IACtE,QAAQ,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,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;IACxD,YAAY,CAAC,EAAE,UAAU,CAAC,mBAAmB,GAAG,SAAS,CAAC;IAC1D;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC7B,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAAG;IAChC;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,EAAE,uBAAuB,CAAC;CACtC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,yCAAyC,EAAE,CAAC,CAAC,aAAa,CACrE,OAAO,0BAA0B,CACS,CAAC;AAE7C,gBAAgB;AAChB,eAAO,MAAM,qBAAqB,EAAE,CAAC,CAAC,aAAa,CAAC,OAAO,MAAM,CAC5C,CAAC;AAEtB,gBAAgB;AAChB,MAAM,MAAM,gCAAgC,GAAG;IAC7C,MAAM,CAAC,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,GAAG,SAAS,CAAC;IAC7C,MAAM,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC7B,WAAW,CAAC,EAAE,UAAU,CAAC,oBAAoB,GAAG,SAAS,CAAC;IAC1D,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B,eAAe,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACrC,aAAa,CAAC,EAAE,UAAU,CAAC,4BAA4B,GAAG,SAAS,CAAC;IACpE,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC7B,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,sCAAsC,EAAE,CAAC,CAAC,OAAO,CAC5D,gCAAgC,EAChC,CAAC,CAAC,UAAU,EACZ,uBAAuB,CAcvB,CAAC;AAEH,wBAAgB,6BAA6B,CAC3C,uBAAuB,EAAE,uBAAuB,GAC/C,MAAM,CAIR;AAED,gBAAgB;AAChB,MAAM,MAAM,4BAA4B,GAAG;IACzC,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,gCAAgC,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+GH,sEAMC;AAuBD,8DAMC;AAhJD,0CAA4B;AAC5B,2DAA0D;AAE1D,mEAAqD;AAErD;;GAEG;AACU,QAAA,0BAA0B,GAAG;IACxC,GAAG,EAAE,KAAK;IACV,UAAU,EAAE,YAAY;IACxB,QAAQ,EAAE,WAAW;IACrB,iBAAiB,EAAE,qBAAqB;IACxC,wBAAwB,EAAE,4BAA4B;IACtD,sBAAsB,EAAE,2BAA2B;CAC3C,CAAC;AAQX;;GAEG;AACU,QAAA,MAAM,GAAG;IACpB,MAAM,EAAE,QAAQ;IAChB,QAAQ,EAAE,UAAU;IACpB,OAAO,EAAE,SAAS;CACV,CAAC;AAuCX,gBAAgB;AACH,QAAA,yCAAyC,GAElD,CAAC,CAAC,UAAU,CAAC,kCAA0B,CAAC,CAAC;AAE7C,gBAAgB;AACH,QAAA,qBAAqB,GAAmC,CAAC;KACnE,UAAU,CAAC,cAAM,CAAC,CAAC;AAatB,gBAAgB;AACH,QAAA,sCAAsC,GAI/C,CAAC,CAAC,MAAM,CAAC;IACX,MAAM,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;IACvC,MAAM,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;IAC9B,WAAW,EAAE,UAAU,CAAC,0BAA0B,CAAC,QAAQ,EAAE;IAC7D,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC3B,cAAc,EAAE,iDAAyC,CAAC,QAAQ,EAAE;IACpE,YAAY,EAAE,UAAU,CAAC,kCAAkC,CAAC,QAAQ,EAAE;IACtE,MAAM,EAAE,6BAAqB,CAAC,QAAQ,EAAE;CACzC,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;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"}
|
|
@@ -1066,6 +1066,10 @@ export type CreateAgentRequestTeamOfAgents = {
|
|
|
1066
1066
|
*/
|
|
1067
1067
|
role?: string | undefined;
|
|
1068
1068
|
};
|
|
1069
|
+
export type CreateAgentRequestAgentPlugins = {
|
|
1070
|
+
id: string;
|
|
1071
|
+
version: string;
|
|
1072
|
+
};
|
|
1069
1073
|
export type Metrics = {
|
|
1070
1074
|
totalCost: number;
|
|
1071
1075
|
};
|
|
@@ -2127,6 +2131,7 @@ export type CreateAgentRequestResponseBody = {
|
|
|
2127
2131
|
* List of skills that the agent can utilize. This field allows you to specify which skills the agent has access to, enabling more complex and dynamic behavior.
|
|
2128
2132
|
*/
|
|
2129
2133
|
skills?: Array<string> | undefined;
|
|
2134
|
+
agentPlugins?: Array<CreateAgentRequestAgentPlugins> | undefined;
|
|
2130
2135
|
metrics?: Metrics | undefined;
|
|
2131
2136
|
/**
|
|
2132
2137
|
* Extracted variables from agent instructions
|
|
@@ -2671,6 +2676,9 @@ export declare const CreateAgentRequestStatus$inboundSchema: z.ZodNativeEnum<typ
|
|
|
2671
2676
|
export declare const CreateAgentRequestTeamOfAgents$inboundSchema: z.ZodType<CreateAgentRequestTeamOfAgents, z.ZodTypeDef, unknown>;
|
|
2672
2677
|
export declare function createAgentRequestTeamOfAgentsFromJSON(jsonString: string): SafeParseResult<CreateAgentRequestTeamOfAgents, SDKValidationError>;
|
|
2673
2678
|
/** @internal */
|
|
2679
|
+
export declare const CreateAgentRequestAgentPlugins$inboundSchema: z.ZodType<CreateAgentRequestAgentPlugins, z.ZodTypeDef, unknown>;
|
|
2680
|
+
export declare function createAgentRequestAgentPluginsFromJSON(jsonString: string): SafeParseResult<CreateAgentRequestAgentPlugins, SDKValidationError>;
|
|
2681
|
+
/** @internal */
|
|
2674
2682
|
export declare const Metrics$inboundSchema: z.ZodType<Metrics, z.ZodTypeDef, unknown>;
|
|
2675
2683
|
export declare function metricsFromJSON(jsonString: string): SafeParseResult<Metrics, SDKValidationError>;
|
|
2676
2684
|
/** @internal */
|