@orq-ai/node 4.16.0-rc.12 → 4.16.0-rc.14
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/README.md +1 -1
- package/funcs/apiKeysCreate.d.ts +3 -2
- package/funcs/apiKeysCreate.d.ts.map +1 -1
- package/funcs/apiKeysCreate.js +4 -3
- package/funcs/apiKeysCreate.js.map +1 -1
- package/funcs/apiKeysDelete.js +1 -1
- package/funcs/apiKeysDelete.js.map +1 -1
- package/funcs/apiKeysGet.d.ts +1 -1
- package/funcs/apiKeysGet.js +2 -6
- package/funcs/apiKeysGet.js.map +1 -1
- package/funcs/apiKeysList.d.ts +1 -1
- package/funcs/apiKeysList.js +4 -11
- package/funcs/apiKeysList.js.map +1 -1
- package/funcs/apiKeysListCapabilities.d.ts +3 -3
- package/funcs/apiKeysListCapabilities.d.ts.map +1 -1
- package/funcs/apiKeysListCapabilities.js +3 -3
- package/funcs/apiKeysListCapabilities.js.map +1 -1
- package/funcs/apiKeysUpdate.d.ts +1 -1
- package/funcs/apiKeysUpdate.js +3 -5
- package/funcs/apiKeysUpdate.js.map +1 -1
- package/funcs/routerClassifyCreate.d.ts +1 -1
- package/funcs/routerClassifyCreate.js +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +2 -2
- package/lib/config.js +2 -2
- package/models/components/classifyanswer.d.ts +2 -2
- package/models/components/constraints.d.ts +12 -0
- package/models/components/constraints.d.ts.map +1 -0
- package/models/components/{singleproject.js → constraints.js} +8 -8
- package/models/components/constraints.js.map +1 -0
- package/models/components/domain.d.ts +30 -31
- package/models/components/domain.d.ts.map +1 -1
- package/models/components/domain.js +20 -11
- package/models/components/domain.js.map +1 -1
- package/models/components/index.d.ts +2 -14
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +2 -14
- package/models/components/index.js.map +1 -1
- package/models/components/owner.d.ts +14 -0
- package/models/components/owner.d.ts.map +1 -0
- package/models/components/{userowner.js → owner.js} +8 -7
- package/models/components/owner.js.map +1 -0
- package/models/components/projectscope.d.ts +4 -13
- package/models/components/projectscope.d.ts.map +1 -1
- package/models/components/projectscope.js +7 -4
- package/models/components/projectscope.js.map +1 -1
- package/models/components/reasoningpart.js +1 -1
- package/models/components/wiki.d.ts +1 -1
- package/models/components/wiki.d.ts.map +1 -1
- package/models/components/wiki.js +2 -2
- package/models/components/wiki.js.map +1 -1
- package/models/operations/apikeycreate.d.ts +79 -0
- package/models/operations/apikeycreate.d.ts.map +1 -0
- package/models/{components/createapikeyrequest.js → operations/apikeycreate.js} +35 -21
- package/models/operations/apikeycreate.js.map +1 -0
- package/models/operations/apikeydelete.d.ts +1 -1
- package/models/operations/apikeyget.d.ts +1 -9
- package/models/operations/apikeyget.d.ts.map +1 -1
- package/models/operations/apikeyget.js +0 -2
- package/models/operations/apikeyget.js.map +1 -1
- package/models/operations/apikeylist.d.ts +18 -65
- package/models/operations/apikeylist.d.ts.map +1 -1
- package/models/operations/apikeylist.js +11 -15
- package/models/operations/apikeylist.js.map +1 -1
- package/models/operations/apikeylistcapabilities.d.ts +17 -0
- package/models/operations/apikeylistcapabilities.d.ts.map +1 -0
- package/models/{components/listcapabilitiesresponse.js → operations/apikeylistcapabilities.js} +8 -8
- package/models/operations/apikeylistcapabilities.js.map +1 -0
- package/models/operations/apikeyupdate.d.ts +73 -3
- package/models/operations/apikeyupdate.d.ts.map +1 -1
- package/models/operations/apikeyupdate.js +43 -3
- package/models/operations/apikeyupdate.js.map +1 -1
- package/models/operations/createclassify.d.ts +2 -2
- package/models/operations/createrouterresponse.d.ts +4 -4
- package/models/operations/createrouterresponse.d.ts.map +1 -1
- package/models/operations/createrouterresponse.js +5 -5
- package/models/operations/createrouterresponse.js.map +1 -1
- package/models/operations/createtool.js +4 -4
- package/models/operations/filelist.d.ts +3 -3
- package/models/operations/getalltools.js +4 -4
- package/models/operations/getv2humanevalsets.js +2 -2
- package/models/operations/getv2humanevalsetsid.js +2 -2
- package/models/operations/index.d.ts +2 -0
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +2 -0
- package/models/operations/index.js.map +1 -1
- package/models/operations/modelcataloglist.d.ts +2 -2
- package/models/operations/modelcataloglistofferings.d.ts +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 +1 -1
- package/sdk/apikeys.d.ts +12 -12
- package/sdk/apikeys.d.ts.map +1 -1
- package/sdk/apikeys.js +12 -12
- package/sdk/apikeys.js.map +1 -1
- package/sdk/classify.d.ts +1 -1
- package/sdk/classify.js +1 -1
- package/sdk/sdk.d.ts +2 -2
- package/sdk/sdk.d.ts.map +1 -1
- package/sdk/sdk.js +3 -3
- package/sdk/sdk.js.map +1 -1
- package/src/funcs/apiKeysCreate.ts +6 -5
- package/src/funcs/apiKeysDelete.ts +1 -1
- package/src/funcs/apiKeysGet.ts +3 -8
- package/src/funcs/apiKeysList.ts +4 -11
- package/src/funcs/apiKeysListCapabilities.ts +6 -6
- package/src/funcs/apiKeysUpdate.ts +3 -5
- package/src/funcs/routerClassifyCreate.ts +1 -1
- package/src/lib/config.ts +2 -2
- package/src/models/components/classifyanswer.ts +2 -2
- package/src/models/components/constraints.ts +32 -0
- package/src/models/components/domain.ts +42 -39
- package/src/models/components/index.ts +2 -14
- package/src/models/components/owner.ts +35 -0
- package/src/models/components/projectscope.ts +11 -23
- package/src/models/components/reasoningpart.ts +1 -1
- package/src/models/components/wiki.ts +3 -3
- package/src/models/operations/apikeycreate.ts +116 -0
- package/src/models/operations/apikeydelete.ts +1 -1
- package/src/models/operations/apikeyget.ts +1 -11
- package/src/models/operations/apikeylist.ts +23 -78
- package/src/models/operations/apikeylistcapabilities.ts +39 -0
- package/src/models/operations/apikeyupdate.ts +107 -5
- package/src/models/operations/createclassify.ts +2 -2
- package/src/models/operations/createrouterresponse.ts +6 -6
- package/src/models/operations/createtool.ts +4 -4
- package/src/models/operations/filelist.ts +3 -3
- 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/index.ts +2 -0
- package/src/models/operations/modelcataloglist.ts +2 -2
- package/src/models/operations/modelcataloglistofferings.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 +18 -18
- package/src/sdk/classify.ts +1 -1
- package/src/sdk/sdk.ts +5 -5
- package/models/components/allprojects.d.ts +0 -8
- package/models/components/allprojects.d.ts.map +0 -1
- package/models/components/allprojects.js +0 -47
- package/models/components/allprojects.js.map +0 -1
- package/models/components/apikeyowner.d.ts +0 -26
- package/models/components/apikeyowner.d.ts.map +0 -1
- package/models/components/apikeyowner.js +0 -57
- package/models/components/apikeyowner.js.map +0 -1
- package/models/components/apikeystatus.d.ts +0 -12
- package/models/components/apikeystatus.d.ts.map +0 -1
- package/models/components/apikeystatus.js +0 -49
- package/models/components/apikeystatus.js.map +0 -1
- package/models/components/createapikeyrequest.d.ts +0 -75
- package/models/components/createapikeyrequest.d.ts.map +0 -1
- package/models/components/createapikeyrequest.js.map +0 -1
- package/models/components/domaingroup.d.ts +0 -11
- package/models/components/domaingroup.d.ts.map +0 -1
- package/models/components/domaingroup.js +0 -49
- package/models/components/domaingroup.js.map +0 -1
- package/models/components/listcapabilitiesresponse.d.ts +0 -17
- package/models/components/listcapabilitiesresponse.d.ts.map +0 -1
- package/models/components/listcapabilitiesresponse.js.map +0 -1
- package/models/components/mcpaccess.d.ts +0 -67
- package/models/components/mcpaccess.d.ts.map +0 -1
- package/models/components/mcpaccess.js +0 -60
- package/models/components/mcpaccess.js.map +0 -1
- package/models/components/ownertype.d.ts +0 -11
- package/models/components/ownertype.d.ts.map +0 -1
- package/models/components/ownertype.js +0 -49
- package/models/components/ownertype.js.map +0 -1
- package/models/components/permissionmode.d.ts +0 -12
- package/models/components/permissionmode.d.ts.map +0 -1
- package/models/components/permissionmode.js +0 -49
- package/models/components/permissionmode.js.map +0 -1
- package/models/components/scopemode.d.ts +0 -10
- package/models/components/scopemode.d.ts.map +0 -1
- package/models/components/scopemode.js +0 -48
- package/models/components/scopemode.js.map +0 -1
- package/models/components/serviceaccountowner.d.ts +0 -8
- package/models/components/serviceaccountowner.d.ts.map +0 -1
- package/models/components/serviceaccountowner.js +0 -47
- package/models/components/serviceaccountowner.js.map +0 -1
- package/models/components/singleproject.d.ts +0 -15
- package/models/components/singleproject.d.ts.map +0 -1
- package/models/components/singleproject.js.map +0 -1
- package/models/components/updateapikeyrequest.d.ts +0 -68
- package/models/components/updateapikeyrequest.d.ts.map +0 -1
- package/models/components/updateapikeyrequest.js +0 -70
- package/models/components/updateapikeyrequest.js.map +0 -1
- package/models/components/userowner.d.ts +0 -15
- package/models/components/userowner.d.ts.map +0 -1
- package/models/components/userowner.js.map +0 -1
- package/src/models/components/allprojects.ts +0 -21
- package/src/models/components/apikeyowner.ts +0 -55
- package/src/models/components/apikeystatus.ts +0 -18
- package/src/models/components/createapikeyrequest.ts +0 -116
- package/src/models/components/domaingroup.ts +0 -17
- package/src/models/components/listcapabilitiesresponse.ts +0 -38
- package/src/models/components/mcpaccess.ts +0 -93
- package/src/models/components/ownertype.ts +0 -17
- package/src/models/components/permissionmode.ts +0 -19
- package/src/models/components/scopemode.ts +0 -16
- package/src/models/components/serviceaccountowner.ts +0 -25
- package/src/models/components/singleproject.ts +0 -35
- package/src/models/components/updateapikeyrequest.ts +0 -110
- package/src/models/components/userowner.ts +0 -35
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
import * as z from "zod/v3";
|
|
2
|
-
/**
|
|
3
|
-
* McpAccess optionally restricts which MCP gateways an API key may
|
|
4
|
-
*
|
|
5
|
-
* @remarks
|
|
6
|
-
* reach at the data plane. It is orthogonal to permission_mode /
|
|
7
|
-
* access: the key must still hold the `mcp_gateway.execute` verb and
|
|
8
|
-
* project membership; McpAccess only narrows the reachable gateway set
|
|
9
|
-
* within that grant. Human sessions and keys without an McpAccess are
|
|
10
|
-
* unaffected.
|
|
11
|
-
*
|
|
12
|
-
* Semantics:
|
|
13
|
-
* - absent, or deny_all=false with an empty allowed_mcp_gateway_ids:
|
|
14
|
-
* no restriction — every gateway in the key's project scope is
|
|
15
|
-
* reachable.
|
|
16
|
-
* - deny_all=true: zero gateways are reachable. Wins over
|
|
17
|
-
* allowed_mcp_gateway_ids.
|
|
18
|
-
* - non-empty allowed_mcp_gateway_ids: only the listed gateway ids
|
|
19
|
-
* are reachable. Each id must look like `mcp_gateway_<ULID>`.
|
|
20
|
-
*/
|
|
21
|
-
export type McpAccess = {
|
|
22
|
-
/**
|
|
23
|
-
* When true, the key is denied every MCP gateway regardless of
|
|
24
|
-
*
|
|
25
|
-
* @remarks
|
|
26
|
-
* allowed_mcp_gateway_ids.
|
|
27
|
-
*/
|
|
28
|
-
denyAll?: boolean | undefined;
|
|
29
|
-
/**
|
|
30
|
-
* Allow-list of MCP gateway ids (`mcp_gateway_<ULID>`) the key may
|
|
31
|
-
*
|
|
32
|
-
* @remarks
|
|
33
|
-
* reach. Ignored when deny_all is true. Empty (with deny_all=false)
|
|
34
|
-
* means no restriction.
|
|
35
|
-
*/
|
|
36
|
-
allowedMcpGatewayIds?: Array<string> | undefined;
|
|
37
|
-
/**
|
|
38
|
-
* Allow-list of MCP toolset ids (`mcp_toolset_<ULID>`) the key is
|
|
39
|
-
*
|
|
40
|
-
* @remarks
|
|
41
|
-
* bound to. When non-empty, the key sees and may call only the tools
|
|
42
|
-
* that are both exposed by the target gateway and members of the
|
|
43
|
-
* union of these toolsets. Empty means no toolset restriction.
|
|
44
|
-
*/
|
|
45
|
-
toolsetIds?: Array<string> | undefined;
|
|
46
|
-
/**
|
|
47
|
-
* Allow-list of file system ids (`fsys_<ULID>`) the key may reach over
|
|
48
|
-
*
|
|
49
|
-
* @remarks
|
|
50
|
-
* the file system MCP endpoint. Ignored when deny_all is true. Empty
|
|
51
|
-
* (with deny_all=false) means no restriction. The access mode a key
|
|
52
|
-
* gets on a reachable file system is the file system's own
|
|
53
|
-
* external_access, never something the key carries.
|
|
54
|
-
*/
|
|
55
|
-
allowedFilesystemIds?: Array<string> | undefined;
|
|
56
|
-
};
|
|
57
|
-
/** @internal */
|
|
58
|
-
export type McpAccess$Outbound = {
|
|
59
|
-
deny_all?: boolean | undefined;
|
|
60
|
-
allowed_mcp_gateway_ids?: Array<string> | undefined;
|
|
61
|
-
toolset_ids?: Array<string> | undefined;
|
|
62
|
-
allowed_filesystem_ids?: Array<string> | undefined;
|
|
63
|
-
};
|
|
64
|
-
/** @internal */
|
|
65
|
-
export declare const McpAccess$outboundSchema: z.ZodType<McpAccess$Outbound, z.ZodTypeDef, McpAccess>;
|
|
66
|
-
export declare function mcpAccessToJSON(mcpAccess: McpAccess): string;
|
|
67
|
-
//# sourceMappingURL=mcpaccess.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"mcpaccess.d.ts","sourceRoot":"","sources":["../../src/models/components/mcpaccess.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B;;;;;;;;;;;;;;;;;;GAkBG;AACH,MAAM,MAAM,SAAS,GAAG;IACtB;;;;;OAKG;IACH,OAAO,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC9B;;;;;;OAMG;IACH,oBAAoB,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC;IACjD;;;;;;;OAOG;IACH,UAAU,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC;IACvC;;;;;;;;OAQG;IACH,oBAAoB,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC;CAClD,CAAC;AAEF,gBAAgB;AAChB,MAAM,MAAM,kBAAkB,GAAG;IAC/B,QAAQ,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC/B,uBAAuB,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC;IACpD,WAAW,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC;IACxC,sBAAsB,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC;CACpD,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,wBAAwB,EAAE,CAAC,CAAC,OAAO,CAC9C,kBAAkB,EAClB,CAAC,CAAC,UAAU,EACZ,SAAS,CAaT,CAAC;AAEH,wBAAgB,eAAe,CAAC,SAAS,EAAE,SAAS,GAAG,MAAM,CAE5D"}
|
|
@@ -1,60 +0,0 @@
|
|
|
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.McpAccess$outboundSchema = void 0;
|
|
40
|
-
exports.mcpAccessToJSON = mcpAccessToJSON;
|
|
41
|
-
const z = __importStar(require("zod/v3"));
|
|
42
|
-
const primitives_js_1 = require("../../lib/primitives.js");
|
|
43
|
-
/** @internal */
|
|
44
|
-
exports.McpAccess$outboundSchema = z.object({
|
|
45
|
-
denyAll: z.boolean().optional(),
|
|
46
|
-
allowedMcpGatewayIds: z.array(z.string()).optional(),
|
|
47
|
-
toolsetIds: z.array(z.string()).optional(),
|
|
48
|
-
allowedFilesystemIds: z.array(z.string()).optional(),
|
|
49
|
-
}).transform((v) => {
|
|
50
|
-
return (0, primitives_js_1.remap)(v, {
|
|
51
|
-
denyAll: "deny_all",
|
|
52
|
-
allowedMcpGatewayIds: "allowed_mcp_gateway_ids",
|
|
53
|
-
toolsetIds: "toolset_ids",
|
|
54
|
-
allowedFilesystemIds: "allowed_filesystem_ids",
|
|
55
|
-
});
|
|
56
|
-
});
|
|
57
|
-
function mcpAccessToJSON(mcpAccess) {
|
|
58
|
-
return JSON.stringify(exports.McpAccess$outboundSchema.parse(mcpAccess));
|
|
59
|
-
}
|
|
60
|
-
//# sourceMappingURL=mcpaccess.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"mcpaccess.js","sourceRoot":"","sources":["../../src/models/components/mcpaccess.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAwFH,0CAEC;AAxFD,0CAA4B;AAC5B,2DAA0D;AAkE1D,gBAAgB;AACH,QAAA,wBAAwB,GAIjC,CAAC,CAAC,MAAM,CAAC;IACX,OAAO,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;IAC/B,oBAAoB,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;IACpD,UAAU,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;IAC1C,oBAAoB,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;CACrD,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,OAAO,EAAE,UAAU;QACnB,oBAAoB,EAAE,yBAAyB;QAC/C,UAAU,EAAE,aAAa;QACzB,oBAAoB,EAAE,wBAAwB;KAC/C,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH,SAAgB,eAAe,CAAC,SAAoB;IAClD,OAAO,IAAI,CAAC,SAAS,CAAC,gCAAwB,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC;AACnE,CAAC"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import * as z from "zod/v3";
|
|
2
|
-
import { ClosedEnum } from "../../types/enums.js";
|
|
3
|
-
export declare const OwnerType: {
|
|
4
|
-
readonly OwnerTypeUnspecified: "OWNER_TYPE_UNSPECIFIED";
|
|
5
|
-
readonly OwnerTypeUser: "OWNER_TYPE_USER";
|
|
6
|
-
readonly OwnerTypeServiceAccount: "OWNER_TYPE_SERVICE_ACCOUNT";
|
|
7
|
-
};
|
|
8
|
-
export type OwnerType = ClosedEnum<typeof OwnerType>;
|
|
9
|
-
/** @internal */
|
|
10
|
-
export declare const OwnerType$outboundSchema: z.ZodNativeEnum<typeof OwnerType>;
|
|
11
|
-
//# sourceMappingURL=ownertype.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ownertype.d.ts","sourceRoot":"","sources":["../../src/models/components/ownertype.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAElD,eAAO,MAAM,SAAS;;;;CAIZ,CAAC;AACX,MAAM,MAAM,SAAS,GAAG,UAAU,CAAC,OAAO,SAAS,CAAC,CAAC;AAErD,gBAAgB;AAChB,eAAO,MAAM,wBAAwB,EAAE,CAAC,CAAC,aAAa,CAAC,OAAO,SAAS,CAC/C,CAAC"}
|
|
@@ -1,49 +0,0 @@
|
|
|
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.OwnerType$outboundSchema = exports.OwnerType = void 0;
|
|
40
|
-
const z = __importStar(require("zod/v3"));
|
|
41
|
-
exports.OwnerType = {
|
|
42
|
-
OwnerTypeUnspecified: "OWNER_TYPE_UNSPECIFIED",
|
|
43
|
-
OwnerTypeUser: "OWNER_TYPE_USER",
|
|
44
|
-
OwnerTypeServiceAccount: "OWNER_TYPE_SERVICE_ACCOUNT",
|
|
45
|
-
};
|
|
46
|
-
/** @internal */
|
|
47
|
-
exports.OwnerType$outboundSchema = z
|
|
48
|
-
.nativeEnum(exports.OwnerType);
|
|
49
|
-
//# sourceMappingURL=ownertype.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ownertype.js","sourceRoot":"","sources":["../../src/models/components/ownertype.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,0CAA4B;AAGf,QAAA,SAAS,GAAG;IACvB,oBAAoB,EAAE,wBAAwB;IAC9C,aAAa,EAAE,iBAAiB;IAChC,uBAAuB,EAAE,4BAA4B;CAC7C,CAAC;AAGX,gBAAgB;AACH,QAAA,wBAAwB,GAAsC,CAAC;KACzE,UAAU,CAAC,iBAAS,CAAC,CAAC"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import * as z from "zod/v3";
|
|
2
|
-
import { ClosedEnum } from "../../types/enums.js";
|
|
3
|
-
export declare const PermissionMode: {
|
|
4
|
-
readonly PermissionModeUnspecified: "PERMISSION_MODE_UNSPECIFIED";
|
|
5
|
-
readonly PermissionModeAll: "PERMISSION_MODE_ALL";
|
|
6
|
-
readonly PermissionModeRestricted: "PERMISSION_MODE_RESTRICTED";
|
|
7
|
-
readonly PermissionModeReadOnly: "PERMISSION_MODE_READ_ONLY";
|
|
8
|
-
};
|
|
9
|
-
export type PermissionMode = ClosedEnum<typeof PermissionMode>;
|
|
10
|
-
/** @internal */
|
|
11
|
-
export declare const PermissionMode$outboundSchema: z.ZodNativeEnum<typeof PermissionMode>;
|
|
12
|
-
//# sourceMappingURL=permissionmode.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"permissionmode.d.ts","sourceRoot":"","sources":["../../src/models/components/permissionmode.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAElD,eAAO,MAAM,cAAc;;;;;CAKjB,CAAC;AACX,MAAM,MAAM,cAAc,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAE/D,gBAAgB;AAChB,eAAO,MAAM,6BAA6B,EAAE,CAAC,CAAC,aAAa,CACzD,OAAO,cAAc,CACS,CAAC"}
|
|
@@ -1,49 +0,0 @@
|
|
|
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.PermissionMode$outboundSchema = exports.PermissionMode = void 0;
|
|
40
|
-
const z = __importStar(require("zod/v3"));
|
|
41
|
-
exports.PermissionMode = {
|
|
42
|
-
PermissionModeUnspecified: "PERMISSION_MODE_UNSPECIFIED",
|
|
43
|
-
PermissionModeAll: "PERMISSION_MODE_ALL",
|
|
44
|
-
PermissionModeRestricted: "PERMISSION_MODE_RESTRICTED",
|
|
45
|
-
PermissionModeReadOnly: "PERMISSION_MODE_READ_ONLY",
|
|
46
|
-
};
|
|
47
|
-
/** @internal */
|
|
48
|
-
exports.PermissionMode$outboundSchema = z.nativeEnum(exports.PermissionMode);
|
|
49
|
-
//# sourceMappingURL=permissionmode.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"permissionmode.js","sourceRoot":"","sources":["../../src/models/components/permissionmode.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,0CAA4B;AAGf,QAAA,cAAc,GAAG;IAC5B,yBAAyB,EAAE,6BAA6B;IACxD,iBAAiB,EAAE,qBAAqB;IACxC,wBAAwB,EAAE,4BAA4B;IACtD,sBAAsB,EAAE,2BAA2B;CAC3C,CAAC;AAGX,gBAAgB;AACH,QAAA,6BAA6B,GAEtC,CAAC,CAAC,UAAU,CAAC,sBAAc,CAAC,CAAC"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import * as z from "zod/v3";
|
|
2
|
-
import { ClosedEnum } from "../../types/enums.js";
|
|
3
|
-
export declare const ScopeMode: {
|
|
4
|
-
readonly ScopeModeAll: "SCOPE_MODE_ALL";
|
|
5
|
-
readonly ScopeModeSingle: "SCOPE_MODE_SINGLE";
|
|
6
|
-
};
|
|
7
|
-
export type ScopeMode = ClosedEnum<typeof ScopeMode>;
|
|
8
|
-
/** @internal */
|
|
9
|
-
export declare const ScopeMode$inboundSchema: z.ZodNativeEnum<typeof ScopeMode>;
|
|
10
|
-
//# sourceMappingURL=scopemode.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"scopemode.d.ts","sourceRoot":"","sources":["../../src/models/components/scopemode.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAElD,eAAO,MAAM,SAAS;;;CAGZ,CAAC;AACX,MAAM,MAAM,SAAS,GAAG,UAAU,CAAC,OAAO,SAAS,CAAC,CAAC;AAErD,gBAAgB;AAChB,eAAO,MAAM,uBAAuB,EAAE,CAAC,CAAC,aAAa,CAAC,OAAO,SAAS,CAC9C,CAAC"}
|
|
@@ -1,48 +0,0 @@
|
|
|
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.ScopeMode$inboundSchema = exports.ScopeMode = void 0;
|
|
40
|
-
const z = __importStar(require("zod/v3"));
|
|
41
|
-
exports.ScopeMode = {
|
|
42
|
-
ScopeModeAll: "SCOPE_MODE_ALL",
|
|
43
|
-
ScopeModeSingle: "SCOPE_MODE_SINGLE",
|
|
44
|
-
};
|
|
45
|
-
/** @internal */
|
|
46
|
-
exports.ScopeMode$inboundSchema = z
|
|
47
|
-
.nativeEnum(exports.ScopeMode);
|
|
48
|
-
//# sourceMappingURL=scopemode.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"scopemode.js","sourceRoot":"","sources":["../../src/models/components/scopemode.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,0CAA4B;AAGf,QAAA,SAAS,GAAG;IACvB,YAAY,EAAE,gBAAgB;IAC9B,eAAe,EAAE,mBAAmB;CAC5B,CAAC;AAGX,gBAAgB;AACH,QAAA,uBAAuB,GAAsC,CAAC;KACxE,UAAU,CAAC,iBAAS,CAAC,CAAC"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import * as z from "zod/v3";
|
|
2
|
-
export type ServiceAccountOwner = {};
|
|
3
|
-
/** @internal */
|
|
4
|
-
export type ServiceAccountOwner$Outbound = {};
|
|
5
|
-
/** @internal */
|
|
6
|
-
export declare const ServiceAccountOwner$outboundSchema: z.ZodType<ServiceAccountOwner$Outbound, z.ZodTypeDef, ServiceAccountOwner>;
|
|
7
|
-
export declare function serviceAccountOwnerToJSON(serviceAccountOwner: ServiceAccountOwner): string;
|
|
8
|
-
//# sourceMappingURL=serviceaccountowner.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"serviceaccountowner.d.ts","sourceRoot":"","sources":["../../src/models/components/serviceaccountowner.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,MAAM,MAAM,mBAAmB,GAAG,EAAE,CAAC;AAErC,gBAAgB;AAChB,MAAM,MAAM,4BAA4B,GAAG,EAAE,CAAC;AAE9C,gBAAgB;AAChB,eAAO,MAAM,kCAAkC,EAAE,CAAC,CAAC,OAAO,CACxD,4BAA4B,EAC5B,CAAC,CAAC,UAAU,EACZ,mBAAmB,CACL,CAAC;AAEjB,wBAAgB,yBAAyB,CACvC,mBAAmB,EAAE,mBAAmB,GACvC,MAAM,CAIR"}
|
|
@@ -1,47 +0,0 @@
|
|
|
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.ServiceAccountOwner$outboundSchema = void 0;
|
|
40
|
-
exports.serviceAccountOwnerToJSON = serviceAccountOwnerToJSON;
|
|
41
|
-
const z = __importStar(require("zod/v3"));
|
|
42
|
-
/** @internal */
|
|
43
|
-
exports.ServiceAccountOwner$outboundSchema = z.object({});
|
|
44
|
-
function serviceAccountOwnerToJSON(serviceAccountOwner) {
|
|
45
|
-
return JSON.stringify(exports.ServiceAccountOwner$outboundSchema.parse(serviceAccountOwner));
|
|
46
|
-
}
|
|
47
|
-
//# sourceMappingURL=serviceaccountowner.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"serviceaccountowner.js","sourceRoot":"","sources":["../../src/models/components/serviceaccountowner.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgBH,8DAMC;AApBD,0CAA4B;AAO5B,gBAAgB;AACH,QAAA,kCAAkC,GAI3C,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;AAEjB,SAAgB,yBAAyB,CACvC,mBAAwC;IAExC,OAAO,IAAI,CAAC,SAAS,CACnB,0CAAkC,CAAC,KAAK,CAAC,mBAAmB,CAAC,CAC9D,CAAC;AACJ,CAAC"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import * as z from "zod/v3";
|
|
2
|
-
export type SingleProject = {
|
|
3
|
-
/**
|
|
4
|
-
* Project ID this API key is scoped to.
|
|
5
|
-
*/
|
|
6
|
-
projectId: string;
|
|
7
|
-
};
|
|
8
|
-
/** @internal */
|
|
9
|
-
export type SingleProject$Outbound = {
|
|
10
|
-
project_id: string;
|
|
11
|
-
};
|
|
12
|
-
/** @internal */
|
|
13
|
-
export declare const SingleProject$outboundSchema: z.ZodType<SingleProject$Outbound, z.ZodTypeDef, SingleProject>;
|
|
14
|
-
export declare function singleProjectToJSON(singleProject: SingleProject): string;
|
|
15
|
-
//# sourceMappingURL=singleproject.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"singleproject.d.ts","sourceRoot":"","sources":["../../src/models/components/singleproject.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,MAAM,MAAM,aAAa,GAAG;IAC1B;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF,gBAAgB;AAChB,MAAM,MAAM,sBAAsB,GAAG;IACnC,UAAU,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,4BAA4B,EAAE,CAAC,CAAC,OAAO,CAClD,sBAAsB,EACtB,CAAC,CAAC,UAAU,EACZ,aAAa,CAOb,CAAC;AAEH,wBAAgB,mBAAmB,CAAC,aAAa,EAAE,aAAa,GAAG,MAAM,CAExE"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"singleproject.js","sourceRoot":"","sources":["../../src/models/components/singleproject.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA8BH,kDAEC;AA9BD,0CAA4B;AAC5B,2DAA0D;AAc1D,gBAAgB;AACH,QAAA,4BAA4B,GAIrC,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,mBAAmB,CAAC,aAA4B;IAC9D,OAAO,IAAI,CAAC,SAAS,CAAC,oCAA4B,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC;AAC3E,CAAC"}
|
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
import * as z from "zod/v3";
|
|
2
|
-
import { AccessLevel } from "./accesslevel.js";
|
|
3
|
-
import { ApiKeyStatus } from "./apikeystatus.js";
|
|
4
|
-
import { McpAccess, McpAccess$Outbound } from "./mcpaccess.js";
|
|
5
|
-
import { PermissionMode } from "./permissionmode.js";
|
|
6
|
-
import { ProjectScope, ProjectScope$Outbound } from "./projectscope.js";
|
|
7
|
-
export type UpdateApiKeyRequest = {
|
|
8
|
-
/**
|
|
9
|
-
* New name. Omit to keep current.
|
|
10
|
-
*/
|
|
11
|
-
name?: string | undefined;
|
|
12
|
-
status?: ApiKeyStatus | undefined;
|
|
13
|
-
permissionMode?: PermissionMode | undefined;
|
|
14
|
-
/**
|
|
15
|
-
* Replacement access map. Required when changing to
|
|
16
|
-
*
|
|
17
|
-
* @remarks
|
|
18
|
-
* `PERMISSION_MODE_RESTRICTED`; ignored otherwise. Provide an empty
|
|
19
|
-
* map to clear. See `ApiKey.access` for the full catalog of valid
|
|
20
|
-
* keys (Domain.id) and AccessLevel string values, or fetch the
|
|
21
|
-
* live catalog via the capability catalog endpoint.
|
|
22
|
-
*/
|
|
23
|
-
access?: {
|
|
24
|
-
[k: string]: AccessLevel;
|
|
25
|
-
} | undefined;
|
|
26
|
-
/**
|
|
27
|
-
* New project scope. Omit to keep current.
|
|
28
|
-
*/
|
|
29
|
-
projectScope?: ProjectScope | undefined;
|
|
30
|
-
/**
|
|
31
|
-
* New expiration. Omit to keep current. Set `clear_expires_at = true`
|
|
32
|
-
*
|
|
33
|
-
* @remarks
|
|
34
|
-
* to remove an existing expiration (a zero Timestamp here would still
|
|
35
|
-
* mean "no change" because of optional semantics).
|
|
36
|
-
*/
|
|
37
|
-
expiresAt?: Date | undefined;
|
|
38
|
-
/**
|
|
39
|
-
* Force-clear the expiration. Mutually exclusive with `expires_at`.
|
|
40
|
-
*/
|
|
41
|
-
clearExpiresAt?: boolean | undefined;
|
|
42
|
-
/**
|
|
43
|
-
* Replacement MCP-gateway access restriction. Absent leaves the
|
|
44
|
-
*
|
|
45
|
-
* @remarks
|
|
46
|
-
* current value intact; an explicitly-set McpAccess replaces it —
|
|
47
|
-
* including an empty one (deny_all=false + empty list), which clears
|
|
48
|
-
* any existing restriction. See McpAccess.
|
|
49
|
-
*/
|
|
50
|
-
mcpAccess?: McpAccess | undefined;
|
|
51
|
-
};
|
|
52
|
-
/** @internal */
|
|
53
|
-
export type UpdateApiKeyRequest$Outbound = {
|
|
54
|
-
name?: string | undefined;
|
|
55
|
-
status?: string | undefined;
|
|
56
|
-
permission_mode?: string | undefined;
|
|
57
|
-
access?: {
|
|
58
|
-
[k: string]: string;
|
|
59
|
-
} | undefined;
|
|
60
|
-
project_scope?: ProjectScope$Outbound | undefined;
|
|
61
|
-
expires_at?: string | undefined;
|
|
62
|
-
clear_expires_at?: boolean | undefined;
|
|
63
|
-
mcp_access?: McpAccess$Outbound | undefined;
|
|
64
|
-
};
|
|
65
|
-
/** @internal */
|
|
66
|
-
export declare const UpdateApiKeyRequest$outboundSchema: z.ZodType<UpdateApiKeyRequest$Outbound, z.ZodTypeDef, UpdateApiKeyRequest>;
|
|
67
|
-
export declare function updateApiKeyRequestToJSON(updateApiKeyRequest: UpdateApiKeyRequest): string;
|
|
68
|
-
//# sourceMappingURL=updateapikeyrequest.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"updateapikeyrequest.d.ts","sourceRoot":"","sources":["../../src/models/components/updateapikeyrequest.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,WAAW,EAA8B,MAAM,kBAAkB,CAAC;AAC3E,OAAO,EAAE,YAAY,EAA+B,MAAM,mBAAmB,CAAC;AAC9E,OAAO,EACL,SAAS,EACT,kBAAkB,EAEnB,MAAM,gBAAgB,CAAC;AACxB,OAAO,EACL,cAAc,EAEf,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,YAAY,EACZ,qBAAqB,EAEtB,MAAM,mBAAmB,CAAC;AAE3B,MAAM,MAAM,mBAAmB,GAAG;IAChC;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B,MAAM,CAAC,EAAE,YAAY,GAAG,SAAS,CAAC;IAClC,cAAc,CAAC,EAAE,cAAc,GAAG,SAAS,CAAC;IAC5C;;;;;;;;OAQG;IACH,MAAM,CAAC,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,WAAW,CAAA;KAAE,GAAG,SAAS,CAAC;IAClD;;OAEG;IACH,YAAY,CAAC,EAAE,YAAY,GAAG,SAAS,CAAC;IACxC;;;;;;OAMG;IACH,SAAS,CAAC,EAAE,IAAI,GAAG,SAAS,CAAC;IAC7B;;OAEG;IACH,cAAc,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IACrC;;;;;;;OAOG;IACH,SAAS,CAAC,EAAE,SAAS,GAAG,SAAS,CAAC;CACnC,CAAC;AAEF,gBAAgB;AAChB,MAAM,MAAM,4BAA4B,GAAG;IACzC,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC5B,eAAe,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACrC,MAAM,CAAC,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,GAAG,SAAS,CAAC;IAC7C,aAAa,CAAC,EAAE,qBAAqB,GAAG,SAAS,CAAC;IAClD,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAChC,gBAAgB,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IACvC,UAAU,CAAC,EAAE,kBAAkB,GAAG,SAAS,CAAC;CAC7C,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,kCAAkC,EAAE,CAAC,CAAC,OAAO,CACxD,4BAA4B,EAC5B,CAAC,CAAC,UAAU,EACZ,mBAAmB,CAkBnB,CAAC;AAEH,wBAAgB,yBAAyB,CACvC,mBAAmB,EAAE,mBAAmB,GACvC,MAAM,CAIR"}
|
|
@@ -1,70 +0,0 @@
|
|
|
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.UpdateApiKeyRequest$outboundSchema = void 0;
|
|
40
|
-
exports.updateApiKeyRequestToJSON = updateApiKeyRequestToJSON;
|
|
41
|
-
const z = __importStar(require("zod/v3"));
|
|
42
|
-
const primitives_js_1 = require("../../lib/primitives.js");
|
|
43
|
-
const accesslevel_js_1 = require("./accesslevel.js");
|
|
44
|
-
const apikeystatus_js_1 = require("./apikeystatus.js");
|
|
45
|
-
const mcpaccess_js_1 = require("./mcpaccess.js");
|
|
46
|
-
const permissionmode_js_1 = require("./permissionmode.js");
|
|
47
|
-
const projectscope_js_1 = require("./projectscope.js");
|
|
48
|
-
/** @internal */
|
|
49
|
-
exports.UpdateApiKeyRequest$outboundSchema = z.object({
|
|
50
|
-
name: z.string().optional(),
|
|
51
|
-
status: apikeystatus_js_1.ApiKeyStatus$outboundSchema.optional(),
|
|
52
|
-
permissionMode: permissionmode_js_1.PermissionMode$outboundSchema.optional(),
|
|
53
|
-
access: z.record(accesslevel_js_1.AccessLevel$outboundSchema).optional(),
|
|
54
|
-
projectScope: projectscope_js_1.ProjectScope$outboundSchema.optional(),
|
|
55
|
-
expiresAt: z.date().transform(v => v.toISOString()).optional(),
|
|
56
|
-
clearExpiresAt: z.boolean().optional(),
|
|
57
|
-
mcpAccess: mcpaccess_js_1.McpAccess$outboundSchema.optional(),
|
|
58
|
-
}).transform((v) => {
|
|
59
|
-
return (0, primitives_js_1.remap)(v, {
|
|
60
|
-
permissionMode: "permission_mode",
|
|
61
|
-
projectScope: "project_scope",
|
|
62
|
-
expiresAt: "expires_at",
|
|
63
|
-
clearExpiresAt: "clear_expires_at",
|
|
64
|
-
mcpAccess: "mcp_access",
|
|
65
|
-
});
|
|
66
|
-
});
|
|
67
|
-
function updateApiKeyRequestToJSON(updateApiKeyRequest) {
|
|
68
|
-
return JSON.stringify(exports.UpdateApiKeyRequest$outboundSchema.parse(updateApiKeyRequest));
|
|
69
|
-
}
|
|
70
|
-
//# sourceMappingURL=updateapikeyrequest.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"updateapikeyrequest.js","sourceRoot":"","sources":["../../src/models/components/updateapikeyrequest.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAqGH,8DAMC;AAzGD,0CAA4B;AAC5B,2DAA0D;AAC1D,qDAA2E;AAC3E,uDAA8E;AAC9E,iDAIwB;AACxB,2DAG6B;AAC7B,uDAI2B;AA0D3B,gBAAgB;AACH,QAAA,kCAAkC,GAI3C,CAAC,CAAC,MAAM,CAAC;IACX,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC3B,MAAM,EAAE,6CAA2B,CAAC,QAAQ,EAAE;IAC9C,cAAc,EAAE,iDAA6B,CAAC,QAAQ,EAAE;IACxD,MAAM,EAAE,CAAC,CAAC,MAAM,CAAC,2CAA0B,CAAC,CAAC,QAAQ,EAAE;IACvD,YAAY,EAAE,6CAA2B,CAAC,QAAQ,EAAE;IACpD,SAAS,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,WAAW,EAAE,CAAC,CAAC,QAAQ,EAAE;IAC9D,cAAc,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;IACtC,SAAS,EAAE,uCAAwB,CAAC,QAAQ,EAAE;CAC/C,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,cAAc,EAAE,iBAAiB;QACjC,YAAY,EAAE,eAAe;QAC7B,SAAS,EAAE,YAAY;QACvB,cAAc,EAAE,kBAAkB;QAClC,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"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import * as z from "zod/v3";
|
|
2
|
-
export type UserOwner = {
|
|
3
|
-
/**
|
|
4
|
-
* User ID that owns the API key.
|
|
5
|
-
*/
|
|
6
|
-
userId: string;
|
|
7
|
-
};
|
|
8
|
-
/** @internal */
|
|
9
|
-
export type UserOwner$Outbound = {
|
|
10
|
-
user_id: string;
|
|
11
|
-
};
|
|
12
|
-
/** @internal */
|
|
13
|
-
export declare const UserOwner$outboundSchema: z.ZodType<UserOwner$Outbound, z.ZodTypeDef, UserOwner>;
|
|
14
|
-
export declare function userOwnerToJSON(userOwner: UserOwner): string;
|
|
15
|
-
//# sourceMappingURL=userowner.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"userowner.d.ts","sourceRoot":"","sources":["../../src/models/components/userowner.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,MAAM,MAAM,SAAS,GAAG;IACtB;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,gBAAgB;AAChB,MAAM,MAAM,kBAAkB,GAAG;IAC/B,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,wBAAwB,EAAE,CAAC,CAAC,OAAO,CAC9C,kBAAkB,EAClB,CAAC,CAAC,UAAU,EACZ,SAAS,CAOT,CAAC;AAEH,wBAAgB,eAAe,CAAC,SAAS,EAAE,SAAS,GAAG,MAAM,CAE5D"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"userowner.js","sourceRoot":"","sources":["../../src/models/components/userowner.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA8BH,0CAEC;AA9BD,0CAA4B;AAC5B,2DAA0D;AAc1D,gBAAgB;AACH,QAAA,wBAAwB,GAIjC,CAAC,CAAC,MAAM,CAAC;IACX,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE;CACnB,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,MAAM,EAAE,SAAS;KAClB,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH,SAAgB,eAAe,CAAC,SAAoB;IAClD,OAAO,IAAI,CAAC,SAAS,CAAC,gCAAwB,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC;AACnE,CAAC"}
|
|
@@ -1,21 +0,0 @@
|
|
|
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 AllProjects = {};
|
|
8
|
-
|
|
9
|
-
/** @internal */
|
|
10
|
-
export type AllProjects$Outbound = {};
|
|
11
|
-
|
|
12
|
-
/** @internal */
|
|
13
|
-
export const AllProjects$outboundSchema: z.ZodType<
|
|
14
|
-
AllProjects$Outbound,
|
|
15
|
-
z.ZodTypeDef,
|
|
16
|
-
AllProjects
|
|
17
|
-
> = z.object({});
|
|
18
|
-
|
|
19
|
-
export function allProjectsToJSON(allProjects: AllProjects): string {
|
|
20
|
-
return JSON.stringify(AllProjects$outboundSchema.parse(allProjects));
|
|
21
|
-
}
|