@smithery/api 0.27.0 → 0.29.0
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/CHANGELOG.md +20 -0
- package/README.md +10 -5
- package/client.d.mts +5 -5
- package/client.d.mts.map +1 -1
- package/client.d.ts +5 -5
- package/client.d.ts.map +1 -1
- package/client.js +1 -1
- package/client.js.map +1 -1
- package/client.mjs +1 -1
- package/client.mjs.map +1 -1
- package/lib/mcp-transport.d.mts +57 -69
- package/lib/mcp-transport.d.mts.map +1 -1
- package/lib/mcp-transport.d.ts +57 -69
- package/lib/mcp-transport.d.ts.map +1 -1
- package/lib/mcp-transport.js +106 -204
- package/lib/mcp-transport.js.map +1 -1
- package/lib/mcp-transport.mjs +103 -202
- package/lib/mcp-transport.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/beta/connect/connect.d.mts +4 -4
- package/resources/beta/connect/connect.d.ts +4 -4
- package/resources/beta/connect/connect.js +4 -4
- package/resources/beta/connect/connect.mjs +4 -4
- package/resources/beta/connect/connections.d.mts +5 -1
- package/resources/beta/connect/connections.d.mts.map +1 -1
- package/resources/beta/connect/connections.d.ts +5 -1
- package/resources/beta/connect/connections.d.ts.map +1 -1
- package/resources/beta/connect/index.d.mts +1 -1
- package/resources/beta/connect/index.d.ts +1 -1
- package/resources/beta/connect/index.js +3 -3
- package/resources/beta/connect/index.mjs +1 -1
- package/resources/beta/connect/{rpc.d.mts → mcp.d.mts} +9 -9
- package/resources/beta/connect/{rpc.d.mts.map → mcp.d.mts.map} +1 -1
- package/resources/beta/connect/{rpc.d.ts → mcp.d.ts} +9 -9
- package/resources/beta/connect/{rpc.d.ts.map → mcp.d.ts.map} +1 -1
- package/resources/beta/connect/{rpc.js → mcp.js} +8 -8
- package/resources/beta/connect/{rpc.js.map → mcp.js.map} +1 -1
- package/resources/beta/connect/{rpc.mjs → mcp.mjs} +6 -6
- package/resources/beta/connect/{rpc.mjs.map → mcp.mjs.map} +1 -1
- package/resources/beta/connect/tools.d.mts +0 -3
- package/resources/beta/connect/tools.d.mts.map +1 -1
- package/resources/beta/connect/tools.d.ts +0 -3
- package/resources/beta/connect/tools.d.ts.map +1 -1
- package/resources/index.d.mts +3 -3
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +3 -3
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +1 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +1 -1
- package/resources/index.mjs.map +1 -1
- package/resources/namespaces/index.d.mts +3 -0
- package/resources/namespaces/index.d.mts.map +1 -0
- package/resources/namespaces/index.d.ts +3 -0
- package/resources/namespaces/index.d.ts.map +1 -0
- package/resources/namespaces/index.js +9 -0
- package/resources/namespaces/index.js.map +1 -0
- package/resources/namespaces/index.mjs +4 -0
- package/resources/namespaces/index.mjs.map +1 -0
- package/resources/namespaces/namespaces.d.mts +60 -0
- package/resources/namespaces/namespaces.d.mts.map +1 -0
- package/resources/namespaces/namespaces.d.ts +60 -0
- package/resources/namespaces/namespaces.d.ts.map +1 -0
- package/resources/namespaces/namespaces.js +54 -0
- package/resources/namespaces/namespaces.js.map +1 -0
- package/resources/namespaces/namespaces.mjs +49 -0
- package/resources/namespaces/namespaces.mjs.map +1 -0
- package/resources/namespaces/servers.d.mts +46 -0
- package/resources/namespaces/servers.d.mts.map +1 -0
- package/resources/namespaces/servers.d.ts +46 -0
- package/resources/namespaces/servers.d.ts.map +1 -0
- package/resources/namespaces/servers.js +25 -0
- package/resources/namespaces/servers.js.map +1 -0
- package/resources/namespaces/servers.mjs +21 -0
- package/resources/namespaces/servers.mjs.map +1 -0
- package/resources/namespaces.d.mts +1 -39
- package/resources/namespaces.d.mts.map +1 -1
- package/resources/namespaces.d.ts +1 -39
- package/resources/namespaces.d.ts.map +1 -1
- package/resources/namespaces.js +2 -26
- package/resources/namespaces.js.map +1 -1
- package/resources/namespaces.mjs +1 -24
- package/resources/namespaces.mjs.map +1 -1
- package/resources/servers/deployments.d.mts +55 -9
- package/resources/servers/deployments.d.mts.map +1 -1
- package/resources/servers/deployments.d.ts +55 -9
- package/resources/servers/deployments.d.ts.map +1 -1
- package/resources/servers/deployments.js +42 -8
- package/resources/servers/deployments.js.map +1 -1
- package/resources/servers/deployments.mjs +42 -8
- package/resources/servers/deployments.mjs.map +1 -1
- package/resources/servers/index.d.mts +4 -3
- package/resources/servers/index.d.mts.map +1 -1
- package/resources/servers/index.d.ts +4 -3
- package/resources/servers/index.d.ts.map +1 -1
- package/resources/servers/index.js +3 -1
- package/resources/servers/index.js.map +1 -1
- package/resources/servers/index.mjs +1 -0
- package/resources/servers/index.mjs.map +1 -1
- package/resources/servers/logs.d.mts +15 -4
- package/resources/servers/logs.d.mts.map +1 -1
- package/resources/servers/logs.d.ts +15 -4
- package/resources/servers/logs.d.ts.map +1 -1
- package/resources/servers/logs.js +10 -2
- package/resources/servers/logs.js.map +1 -1
- package/resources/servers/logs.mjs +10 -2
- package/resources/servers/logs.mjs.map +1 -1
- package/resources/servers/repo.d.mts +98 -0
- package/resources/servers/repo.d.mts.map +1 -0
- package/resources/servers/repo.d.ts +98 -0
- package/resources/servers/repo.d.ts.map +1 -0
- package/resources/servers/repo.js +55 -0
- package/resources/servers/repo.js.map +1 -0
- package/resources/servers/repo.mjs +51 -0
- package/resources/servers/repo.mjs.map +1 -0
- package/resources/servers/secrets.d.mts +46 -4
- package/resources/servers/secrets.d.mts.map +1 -1
- package/resources/servers/secrets.d.ts +46 -4
- package/resources/servers/secrets.d.ts.map +1 -1
- package/resources/servers/secrets.js +36 -6
- package/resources/servers/secrets.js.map +1 -1
- package/resources/servers/secrets.mjs +36 -6
- package/resources/servers/secrets.mjs.map +1 -1
- package/resources/servers/servers.d.mts +57 -10
- package/resources/servers/servers.d.mts.map +1 -1
- package/resources/servers/servers.d.ts +57 -10
- package/resources/servers/servers.d.ts.map +1 -1
- package/resources/servers/servers.js +47 -8
- package/resources/servers/servers.js.map +1 -1
- package/resources/servers/servers.mjs +47 -8
- package/resources/servers/servers.mjs.map +1 -1
- package/resources/tokens.d.mts +18 -18
- package/resources/tokens.d.mts.map +1 -1
- package/resources/tokens.d.ts +18 -18
- package/resources/tokens.d.ts.map +1 -1
- package/src/client.ts +14 -8
- package/src/lib/mcp-transport.ts +131 -236
- package/src/resources/beta/connect/connect.ts +6 -6
- package/src/resources/beta/connect/connections.ts +6 -1
- package/src/resources/beta/connect/index.ts +1 -1
- package/src/resources/beta/connect/{rpc.ts → mcp.ts} +9 -9
- package/src/resources/beta/connect/tools.ts +0 -2
- package/src/resources/index.ts +5 -2
- package/src/resources/namespaces/index.ts +14 -0
- package/src/resources/namespaces/namespaces.ts +92 -0
- package/src/resources/namespaces/servers.ts +71 -0
- package/src/resources/namespaces.ts +1 -61
- package/src/resources/servers/deployments.ts +76 -15
- package/src/resources/servers/index.ts +14 -0
- package/src/resources/servers/logs.ts +18 -9
- package/src/resources/servers/repo.ts +143 -0
- package/src/resources/servers/secrets.ts +55 -7
- package/src/resources/servers/servers.ts +92 -8
- package/src/resources/tokens.ts +17 -17
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { APIResource } from "../../../core/resource.mjs";
|
|
2
2
|
import { APIPromise } from "../../../core/api-promise.mjs";
|
|
3
3
|
import { RequestOptions } from "../../../internal/request-options.mjs";
|
|
4
|
-
export declare class
|
|
4
|
+
export declare class Mcp extends APIResource {
|
|
5
5
|
/**
|
|
6
|
-
*
|
|
7
|
-
* scope.
|
|
6
|
+
* Streamable HTTP MCP endpoint. Accepts JSON-RPC requests and notifications.
|
|
7
|
+
* Requires service token with mcp scope.
|
|
8
8
|
*
|
|
9
9
|
* @example
|
|
10
10
|
* ```ts
|
|
11
|
-
* const jsonRpcResponse = await client.beta.connect.
|
|
11
|
+
* const jsonRpcResponse = await client.beta.connect.mcp.call(
|
|
12
12
|
* 'connectionId',
|
|
13
13
|
* {
|
|
14
14
|
* namespace: 'namespace',
|
|
@@ -18,7 +18,7 @@ export declare class Rpc extends APIResource {
|
|
|
18
18
|
* );
|
|
19
19
|
* ```
|
|
20
20
|
*/
|
|
21
|
-
call(connectionID: string, params:
|
|
21
|
+
call(connectionID: string, params: McpCallParams, options?: RequestOptions): APIPromise<JsonRpcResponse>;
|
|
22
22
|
}
|
|
23
23
|
export interface JsonRpcRequest {
|
|
24
24
|
jsonrpc: '2.0';
|
|
@@ -37,7 +37,7 @@ export interface JsonRpcResponse {
|
|
|
37
37
|
jsonrpc: '2.0';
|
|
38
38
|
result?: unknown;
|
|
39
39
|
}
|
|
40
|
-
export interface
|
|
40
|
+
export interface McpCallParams {
|
|
41
41
|
/**
|
|
42
42
|
* Path param
|
|
43
43
|
*/
|
|
@@ -59,7 +59,7 @@ export interface RpcCallParams {
|
|
|
59
59
|
*/
|
|
60
60
|
params?: unknown;
|
|
61
61
|
}
|
|
62
|
-
export declare namespace
|
|
63
|
-
export { type JsonRpcRequest as JsonRpcRequest, type JsonRpcResponse as JsonRpcResponse, type
|
|
62
|
+
export declare namespace Mcp {
|
|
63
|
+
export { type JsonRpcRequest as JsonRpcRequest, type JsonRpcResponse as JsonRpcResponse, type McpCallParams as McpCallParams, };
|
|
64
64
|
}
|
|
65
|
-
//# sourceMappingURL=
|
|
65
|
+
//# sourceMappingURL=mcp.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"
|
|
1
|
+
{"version":3,"file":"mcp.d.mts","sourceRoot":"","sources":["../../../src/resources/beta/connect/mcp.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB,qBAAa,GAAI,SAAQ,WAAW;IAClC;;;;;;;;;;;;;;;OAeG;IACH,IAAI,CAAC,YAAY,EAAE,MAAM,EAAE,MAAM,EAAE,aAAa,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,eAAe,CAAC;CAIzG;AAED,MAAM,WAAW,cAAc;IAC7B,OAAO,EAAE,KAAK,CAAC;IAEf;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IAEf,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAErB;;OAEG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB;AAED,MAAM,WAAW,eAAe;IAC9B,EAAE,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAAC;IAE3B,OAAO,EAAE,KAAK,CAAC;IAEf,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB;AAED,MAAM,WAAW,aAAa;IAC5B;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,OAAO,EAAE,KAAK,CAAC;IAEf;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAErB;;OAEG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB;AAED,MAAM,CAAC,OAAO,WAAW,GAAG,CAAC;IAC3B,OAAO,EACL,KAAK,cAAc,IAAI,cAAc,EACrC,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,aAAa,IAAI,aAAa,GACpC,CAAC;CACH"}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { APIResource } from "../../../core/resource.js";
|
|
2
2
|
import { APIPromise } from "../../../core/api-promise.js";
|
|
3
3
|
import { RequestOptions } from "../../../internal/request-options.js";
|
|
4
|
-
export declare class
|
|
4
|
+
export declare class Mcp extends APIResource {
|
|
5
5
|
/**
|
|
6
|
-
*
|
|
7
|
-
* scope.
|
|
6
|
+
* Streamable HTTP MCP endpoint. Accepts JSON-RPC requests and notifications.
|
|
7
|
+
* Requires service token with mcp scope.
|
|
8
8
|
*
|
|
9
9
|
* @example
|
|
10
10
|
* ```ts
|
|
11
|
-
* const jsonRpcResponse = await client.beta.connect.
|
|
11
|
+
* const jsonRpcResponse = await client.beta.connect.mcp.call(
|
|
12
12
|
* 'connectionId',
|
|
13
13
|
* {
|
|
14
14
|
* namespace: 'namespace',
|
|
@@ -18,7 +18,7 @@ export declare class Rpc extends APIResource {
|
|
|
18
18
|
* );
|
|
19
19
|
* ```
|
|
20
20
|
*/
|
|
21
|
-
call(connectionID: string, params:
|
|
21
|
+
call(connectionID: string, params: McpCallParams, options?: RequestOptions): APIPromise<JsonRpcResponse>;
|
|
22
22
|
}
|
|
23
23
|
export interface JsonRpcRequest {
|
|
24
24
|
jsonrpc: '2.0';
|
|
@@ -37,7 +37,7 @@ export interface JsonRpcResponse {
|
|
|
37
37
|
jsonrpc: '2.0';
|
|
38
38
|
result?: unknown;
|
|
39
39
|
}
|
|
40
|
-
export interface
|
|
40
|
+
export interface McpCallParams {
|
|
41
41
|
/**
|
|
42
42
|
* Path param
|
|
43
43
|
*/
|
|
@@ -59,7 +59,7 @@ export interface RpcCallParams {
|
|
|
59
59
|
*/
|
|
60
60
|
params?: unknown;
|
|
61
61
|
}
|
|
62
|
-
export declare namespace
|
|
63
|
-
export { type JsonRpcRequest as JsonRpcRequest, type JsonRpcResponse as JsonRpcResponse, type
|
|
62
|
+
export declare namespace Mcp {
|
|
63
|
+
export { type JsonRpcRequest as JsonRpcRequest, type JsonRpcResponse as JsonRpcResponse, type McpCallParams as McpCallParams, };
|
|
64
64
|
}
|
|
65
|
-
//# sourceMappingURL=
|
|
65
|
+
//# sourceMappingURL=mcp.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"
|
|
1
|
+
{"version":3,"file":"mcp.d.ts","sourceRoot":"","sources":["../../../src/resources/beta/connect/mcp.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB,qBAAa,GAAI,SAAQ,WAAW;IAClC;;;;;;;;;;;;;;;OAeG;IACH,IAAI,CAAC,YAAY,EAAE,MAAM,EAAE,MAAM,EAAE,aAAa,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,eAAe,CAAC;CAIzG;AAED,MAAM,WAAW,cAAc;IAC7B,OAAO,EAAE,KAAK,CAAC;IAEf;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IAEf,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAErB;;OAEG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB;AAED,MAAM,WAAW,eAAe;IAC9B,EAAE,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAAC;IAE3B,OAAO,EAAE,KAAK,CAAC;IAEf,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB;AAED,MAAM,WAAW,aAAa;IAC5B;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,OAAO,EAAE,KAAK,CAAC;IAEf;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAErB;;OAEG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB;AAED,MAAM,CAAC,OAAO,WAAW,GAAG,CAAC;IAC3B,OAAO,EACL,KAAK,cAAc,IAAI,cAAc,EACrC,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,aAAa,IAAI,aAAa,GACpC,CAAC;CACH"}
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.
|
|
4
|
+
exports.Mcp = void 0;
|
|
5
5
|
const resource_1 = require("../../../core/resource.js");
|
|
6
6
|
const path_1 = require("../../../internal/utils/path.js");
|
|
7
|
-
class
|
|
7
|
+
class Mcp extends resource_1.APIResource {
|
|
8
8
|
/**
|
|
9
|
-
*
|
|
10
|
-
* scope.
|
|
9
|
+
* Streamable HTTP MCP endpoint. Accepts JSON-RPC requests and notifications.
|
|
10
|
+
* Requires service token with mcp scope.
|
|
11
11
|
*
|
|
12
12
|
* @example
|
|
13
13
|
* ```ts
|
|
14
|
-
* const jsonRpcResponse = await client.beta.connect.
|
|
14
|
+
* const jsonRpcResponse = await client.beta.connect.mcp.call(
|
|
15
15
|
* 'connectionId',
|
|
16
16
|
* {
|
|
17
17
|
* namespace: 'namespace',
|
|
@@ -23,8 +23,8 @@ class Rpc extends resource_1.APIResource {
|
|
|
23
23
|
*/
|
|
24
24
|
call(connectionID, params, options) {
|
|
25
25
|
const { namespace, ...body } = params;
|
|
26
|
-
return this._client.post((0, path_1.path) `/connect/${namespace}/${connectionID}/
|
|
26
|
+
return this._client.post((0, path_1.path) `/connect/${namespace}/${connectionID}/mcp`, { body, ...options });
|
|
27
27
|
}
|
|
28
28
|
}
|
|
29
|
-
exports.
|
|
30
|
-
//# sourceMappingURL=
|
|
29
|
+
exports.Mcp = Mcp;
|
|
30
|
+
//# sourceMappingURL=mcp.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"
|
|
1
|
+
{"version":3,"file":"mcp.js","sourceRoot":"","sources":["../../../src/resources/beta/connect/mcp.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wDAAqD;AAGrD,0DAAoD;AAEpD,MAAa,GAAI,SAAQ,sBAAW;IAClC;;;;;;;;;;;;;;;OAeG;IACH,IAAI,CAAC,YAAoB,EAAE,MAAqB,EAAE,OAAwB;QACxE,MAAM,EAAE,SAAS,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;QACtC,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAA,WAAI,EAAA,YAAY,SAAS,IAAI,YAAY,MAAM,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAClG,CAAC;CACF;AArBD,kBAqBC"}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
import { APIResource } from "../../../core/resource.mjs";
|
|
3
3
|
import { path } from "../../../internal/utils/path.mjs";
|
|
4
|
-
export class
|
|
4
|
+
export class Mcp extends APIResource {
|
|
5
5
|
/**
|
|
6
|
-
*
|
|
7
|
-
* scope.
|
|
6
|
+
* Streamable HTTP MCP endpoint. Accepts JSON-RPC requests and notifications.
|
|
7
|
+
* Requires service token with mcp scope.
|
|
8
8
|
*
|
|
9
9
|
* @example
|
|
10
10
|
* ```ts
|
|
11
|
-
* const jsonRpcResponse = await client.beta.connect.
|
|
11
|
+
* const jsonRpcResponse = await client.beta.connect.mcp.call(
|
|
12
12
|
* 'connectionId',
|
|
13
13
|
* {
|
|
14
14
|
* namespace: 'namespace',
|
|
@@ -20,7 +20,7 @@ export class Rpc extends APIResource {
|
|
|
20
20
|
*/
|
|
21
21
|
call(connectionID, params, options) {
|
|
22
22
|
const { namespace, ...body } = params;
|
|
23
|
-
return this._client.post(path `/connect/${namespace}/${connectionID}/
|
|
23
|
+
return this._client.post(path `/connect/${namespace}/${connectionID}/mcp`, { body, ...options });
|
|
24
24
|
}
|
|
25
25
|
}
|
|
26
|
-
//# sourceMappingURL=
|
|
26
|
+
//# sourceMappingURL=mcp.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"
|
|
1
|
+
{"version":3,"file":"mcp.mjs","sourceRoot":"","sources":["../../../src/resources/beta/connect/mcp.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAGf,EAAE,IAAI,EAAE;AAEf,MAAM,OAAO,GAAI,SAAQ,WAAW;IAClC;;;;;;;;;;;;;;;OAeG;IACH,IAAI,CAAC,YAAoB,EAAE,MAAqB,EAAE,OAAwB;QACxE,MAAM,EAAE,SAAS,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;QACtC,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAA,YAAY,SAAS,IAAI,YAAY,MAAM,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAClG,CAAC;CACF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tools.d.mts","sourceRoot":"","sources":["../../../src/resources/beta/connect/tools.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB,qBAAa,KAAM,SAAQ,WAAW;IACpC;;;;;;;;;;;OAWG;IACH,MAAM,CACJ,SAAS,EAAE,MAAM,EACjB,KAAK,GAAE,gBAAgB,GAAG,IAAI,GAAG,SAAc,EAC/C,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,kBAAkB,CAAC;CAGlC;AAED,MAAM,WAAW,kBAAkB;IACjC,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAE1B,KAAK,EAAE,KAAK,CAAC,kBAAkB,CAAC,IAAI,CAAC,CAAC;CACvC;AAED,yBAAiB,kBAAkB,CAAC;IAClC,UAAiB,IAAI;QACnB,YAAY,EAAE,MAAM,CAAC;QAErB,SAAS,EAAE,MAAM,CAAC;QAElB,IAAI,EAAE,IAAI,CAAC,IAAI,CAAC;QAEhB,KAAK,CAAC,EAAE,MAAM,CAAC;KAChB;IAED,UAAiB,IAAI,CAAC;QACpB,UAAiB,IAAI;YACnB,IAAI,EAAE,MAAM,CAAC;YAEb,WAAW,CAAC,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"tools.d.mts","sourceRoot":"","sources":["../../../src/resources/beta/connect/tools.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB,qBAAa,KAAM,SAAQ,WAAW;IACpC;;;;;;;;;;;OAWG;IACH,MAAM,CACJ,SAAS,EAAE,MAAM,EACjB,KAAK,GAAE,gBAAgB,GAAG,IAAI,GAAG,SAAc,EAC/C,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,kBAAkB,CAAC;CAGlC;AAED,MAAM,WAAW,kBAAkB;IACjC,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAE1B,KAAK,EAAE,KAAK,CAAC,kBAAkB,CAAC,IAAI,CAAC,CAAC;CACvC;AAED,yBAAiB,kBAAkB,CAAC;IAClC,UAAiB,IAAI;QACnB,YAAY,EAAE,MAAM,CAAC;QAErB,SAAS,EAAE,MAAM,CAAC;QAElB,IAAI,EAAE,IAAI,CAAC,IAAI,CAAC;QAEhB,KAAK,CAAC,EAAE,MAAM,CAAC;KAChB;IAED,UAAiB,IAAI,CAAC;QACpB,UAAiB,IAAI;YACnB,IAAI,EAAE,MAAM,CAAC;YAEb,WAAW,CAAC,EAAE,MAAM,CAAC;SACtB;KACF;CACF;AAED,MAAM,WAAW,gBAAgB;IAC/B,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf,CAAC,CAAC,EAAE,MAAM,CAAC;IAEX,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,CAAC,OAAO,WAAW,KAAK,CAAC;IAC7B,OAAO,EAAE,KAAK,kBAAkB,IAAI,kBAAkB,EAAE,KAAK,gBAAgB,IAAI,gBAAgB,EAAE,CAAC;CACrG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tools.d.ts","sourceRoot":"","sources":["../../../src/resources/beta/connect/tools.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB,qBAAa,KAAM,SAAQ,WAAW;IACpC;;;;;;;;;;;OAWG;IACH,MAAM,CACJ,SAAS,EAAE,MAAM,EACjB,KAAK,GAAE,gBAAgB,GAAG,IAAI,GAAG,SAAc,EAC/C,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,kBAAkB,CAAC;CAGlC;AAED,MAAM,WAAW,kBAAkB;IACjC,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAE1B,KAAK,EAAE,KAAK,CAAC,kBAAkB,CAAC,IAAI,CAAC,CAAC;CACvC;AAED,yBAAiB,kBAAkB,CAAC;IAClC,UAAiB,IAAI;QACnB,YAAY,EAAE,MAAM,CAAC;QAErB,SAAS,EAAE,MAAM,CAAC;QAElB,IAAI,EAAE,IAAI,CAAC,IAAI,CAAC;QAEhB,KAAK,CAAC,EAAE,MAAM,CAAC;KAChB;IAED,UAAiB,IAAI,CAAC;QACpB,UAAiB,IAAI;YACnB,IAAI,EAAE,MAAM,CAAC;YAEb,WAAW,CAAC,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"tools.d.ts","sourceRoot":"","sources":["../../../src/resources/beta/connect/tools.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB,qBAAa,KAAM,SAAQ,WAAW;IACpC;;;;;;;;;;;OAWG;IACH,MAAM,CACJ,SAAS,EAAE,MAAM,EACjB,KAAK,GAAE,gBAAgB,GAAG,IAAI,GAAG,SAAc,EAC/C,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,kBAAkB,CAAC;CAGlC;AAED,MAAM,WAAW,kBAAkB;IACjC,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAE1B,KAAK,EAAE,KAAK,CAAC,kBAAkB,CAAC,IAAI,CAAC,CAAC;CACvC;AAED,yBAAiB,kBAAkB,CAAC;IAClC,UAAiB,IAAI;QACnB,YAAY,EAAE,MAAM,CAAC;QAErB,SAAS,EAAE,MAAM,CAAC;QAElB,IAAI,EAAE,IAAI,CAAC,IAAI,CAAC;QAEhB,KAAK,CAAC,EAAE,MAAM,CAAC;KAChB;IAED,UAAiB,IAAI,CAAC;QACpB,UAAiB,IAAI;YACnB,IAAI,EAAE,MAAM,CAAC;YAEb,WAAW,CAAC,EAAE,MAAM,CAAC;SACtB;KACF;CACF;AAED,MAAM,WAAW,gBAAgB;IAC/B,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf,CAAC,CAAC,EAAE,MAAM,CAAC;IAEX,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,CAAC,OAAO,WAAW,KAAK,CAAC;IAC7B,OAAO,EAAE,KAAK,kBAAkB,IAAI,kBAAkB,EAAE,KAAK,gBAAgB,IAAI,gBAAgB,EAAE,CAAC;CACrG"}
|
package/resources/index.d.mts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
export { Beta } from "./beta/beta.mjs";
|
|
2
2
|
export { Health, type HealthCheckResponse } from "./health.mjs";
|
|
3
|
-
export { Namespaces, type NamespaceCreateResponse, type NamespaceListResponse, type NamespaceSetResponse, } from "./namespaces.mjs";
|
|
4
|
-
export { Servers, type BuildConfig, type DeploymentTarget, type ProjectConfig, type ServerListResponse, type ServerDeleteResponse, type ServerGetResponse, type ServerListParams, type ServerListResponsesSmitheryPage, } from "./servers/servers.mjs";
|
|
3
|
+
export { Namespaces, type NamespaceCreateResponse, type NamespaceListResponse, type NamespaceSetResponse, } from "./namespaces/namespaces.mjs";
|
|
4
|
+
export { Servers, type BuildConfig, type DeploymentTarget, type ProjectConfig, type ServerListResponse, type ServerDeleteResponse, type ServerGetResponse, type ServerListParams, type ServerDeleteParams, type ServerDownloadParams, type ServerGetParams, type ServerListResponsesSmitheryPage, } from "./servers/servers.mjs";
|
|
5
5
|
export { Skills, type SkillListResponse, type SkillListParams, type SkillListResponsesSkillsPage, } from "./skills.mjs";
|
|
6
|
-
export { Tokens, type Action, type Allow, type ConnectionScope, type CreateTokenRequest, type CreateTokenResponse, type
|
|
6
|
+
export { Tokens, type Action, type Allow, type ConnectionScope, type CreateTokenRequest, type CreateTokenResponse, type McpScope, type ResourceScope, type TokenCreateParams, } from "./tokens.mjs";
|
|
7
7
|
export { Uplink, type UplinkCreateTokenResponse } from "./uplink.mjs";
|
|
8
8
|
//# sourceMappingURL=index.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"OAEO,EAAE,IAAI,EAAE;OACR,EAAE,MAAM,EAAE,KAAK,mBAAmB,EAAE;OACpC,EACL,UAAU,EACV,KAAK,uBAAuB,EAC5B,KAAK,qBAAqB,EAC1B,KAAK,oBAAoB,GAC1B;OACM,EACL,OAAO,EACP,KAAK,WAAW,EAChB,KAAK,gBAAgB,EACrB,KAAK,aAAa,EAClB,KAAK,kBAAkB,EACvB,KAAK,oBAAoB,EACzB,KAAK,iBAAiB,EACtB,KAAK,gBAAgB,EACrB,KAAK,+BAA+B,GACrC;OACM,EACL,MAAM,EACN,KAAK,iBAAiB,EACtB,KAAK,eAAe,EACpB,KAAK,4BAA4B,GAClC;OACM,EACL,MAAM,EACN,KAAK,MAAM,EACX,KAAK,KAAK,EACV,KAAK,eAAe,EACpB,KAAK,kBAAkB,EACvB,KAAK,mBAAmB,EACxB,KAAK,
|
|
1
|
+
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"OAEO,EAAE,IAAI,EAAE;OACR,EAAE,MAAM,EAAE,KAAK,mBAAmB,EAAE;OACpC,EACL,UAAU,EACV,KAAK,uBAAuB,EAC5B,KAAK,qBAAqB,EAC1B,KAAK,oBAAoB,GAC1B;OACM,EACL,OAAO,EACP,KAAK,WAAW,EAChB,KAAK,gBAAgB,EACrB,KAAK,aAAa,EAClB,KAAK,kBAAkB,EACvB,KAAK,oBAAoB,EACzB,KAAK,iBAAiB,EACtB,KAAK,gBAAgB,EACrB,KAAK,kBAAkB,EACvB,KAAK,oBAAoB,EACzB,KAAK,eAAe,EACpB,KAAK,+BAA+B,GACrC;OACM,EACL,MAAM,EACN,KAAK,iBAAiB,EACtB,KAAK,eAAe,EACpB,KAAK,4BAA4B,GAClC;OACM,EACL,MAAM,EACN,KAAK,MAAM,EACX,KAAK,KAAK,EACV,KAAK,eAAe,EACpB,KAAK,kBAAkB,EACvB,KAAK,mBAAmB,EACxB,KAAK,QAAQ,EACb,KAAK,aAAa,EAClB,KAAK,iBAAiB,GACvB;OACM,EAAE,MAAM,EAAE,KAAK,yBAAyB,EAAE"}
|
package/resources/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
export { Beta } from "./beta/beta.js";
|
|
2
2
|
export { Health, type HealthCheckResponse } from "./health.js";
|
|
3
|
-
export { Namespaces, type NamespaceCreateResponse, type NamespaceListResponse, type NamespaceSetResponse, } from "./namespaces.js";
|
|
4
|
-
export { Servers, type BuildConfig, type DeploymentTarget, type ProjectConfig, type ServerListResponse, type ServerDeleteResponse, type ServerGetResponse, type ServerListParams, type ServerListResponsesSmitheryPage, } from "./servers/servers.js";
|
|
3
|
+
export { Namespaces, type NamespaceCreateResponse, type NamespaceListResponse, type NamespaceSetResponse, } from "./namespaces/namespaces.js";
|
|
4
|
+
export { Servers, type BuildConfig, type DeploymentTarget, type ProjectConfig, type ServerListResponse, type ServerDeleteResponse, type ServerGetResponse, type ServerListParams, type ServerDeleteParams, type ServerDownloadParams, type ServerGetParams, type ServerListResponsesSmitheryPage, } from "./servers/servers.js";
|
|
5
5
|
export { Skills, type SkillListResponse, type SkillListParams, type SkillListResponsesSkillsPage, } from "./skills.js";
|
|
6
|
-
export { Tokens, type Action, type Allow, type ConnectionScope, type CreateTokenRequest, type CreateTokenResponse, type
|
|
6
|
+
export { Tokens, type Action, type Allow, type ConnectionScope, type CreateTokenRequest, type CreateTokenResponse, type McpScope, type ResourceScope, type TokenCreateParams, } from "./tokens.js";
|
|
7
7
|
export { Uplink, type UplinkCreateTokenResponse } from "./uplink.js";
|
|
8
8
|
//# sourceMappingURL=index.d.ts.map
|
package/resources/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"OAEO,EAAE,IAAI,EAAE;OACR,EAAE,MAAM,EAAE,KAAK,mBAAmB,EAAE;OACpC,EACL,UAAU,EACV,KAAK,uBAAuB,EAC5B,KAAK,qBAAqB,EAC1B,KAAK,oBAAoB,GAC1B;OACM,EACL,OAAO,EACP,KAAK,WAAW,EAChB,KAAK,gBAAgB,EACrB,KAAK,aAAa,EAClB,KAAK,kBAAkB,EACvB,KAAK,oBAAoB,EACzB,KAAK,iBAAiB,EACtB,KAAK,gBAAgB,EACrB,KAAK,+BAA+B,GACrC;OACM,EACL,MAAM,EACN,KAAK,iBAAiB,EACtB,KAAK,eAAe,EACpB,KAAK,4BAA4B,GAClC;OACM,EACL,MAAM,EACN,KAAK,MAAM,EACX,KAAK,KAAK,EACV,KAAK,eAAe,EACpB,KAAK,kBAAkB,EACvB,KAAK,mBAAmB,EACxB,KAAK,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"OAEO,EAAE,IAAI,EAAE;OACR,EAAE,MAAM,EAAE,KAAK,mBAAmB,EAAE;OACpC,EACL,UAAU,EACV,KAAK,uBAAuB,EAC5B,KAAK,qBAAqB,EAC1B,KAAK,oBAAoB,GAC1B;OACM,EACL,OAAO,EACP,KAAK,WAAW,EAChB,KAAK,gBAAgB,EACrB,KAAK,aAAa,EAClB,KAAK,kBAAkB,EACvB,KAAK,oBAAoB,EACzB,KAAK,iBAAiB,EACtB,KAAK,gBAAgB,EACrB,KAAK,kBAAkB,EACvB,KAAK,oBAAoB,EACzB,KAAK,eAAe,EACpB,KAAK,+BAA+B,GACrC;OACM,EACL,MAAM,EACN,KAAK,iBAAiB,EACtB,KAAK,eAAe,EACpB,KAAK,4BAA4B,GAClC;OACM,EACL,MAAM,EACN,KAAK,MAAM,EACX,KAAK,KAAK,EACV,KAAK,eAAe,EACpB,KAAK,kBAAkB,EACvB,KAAK,mBAAmB,EACxB,KAAK,QAAQ,EACb,KAAK,aAAa,EAClB,KAAK,iBAAiB,GACvB;OACM,EAAE,MAAM,EAAE,KAAK,yBAAyB,EAAE"}
|
package/resources/index.js
CHANGED
|
@@ -6,7 +6,7 @@ var beta_1 = require("./beta/beta.js");
|
|
|
6
6
|
Object.defineProperty(exports, "Beta", { enumerable: true, get: function () { return beta_1.Beta; } });
|
|
7
7
|
var health_1 = require("./health.js");
|
|
8
8
|
Object.defineProperty(exports, "Health", { enumerable: true, get: function () { return health_1.Health; } });
|
|
9
|
-
var namespaces_1 = require("./namespaces.js");
|
|
9
|
+
var namespaces_1 = require("./namespaces/namespaces.js");
|
|
10
10
|
Object.defineProperty(exports, "Namespaces", { enumerable: true, get: function () { return namespaces_1.Namespaces; } });
|
|
11
11
|
var servers_1 = require("./servers/servers.js");
|
|
12
12
|
Object.defineProperty(exports, "Servers", { enumerable: true, get: function () { return servers_1.Servers; } });
|
package/resources/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,uCAAmC;AAA1B,4FAAA,IAAI,OAAA;AACb,sCAA4D;AAAnD,gGAAA,MAAM,OAAA;AACf,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,uCAAmC;AAA1B,4FAAA,IAAI,OAAA;AACb,sCAA4D;AAAnD,gGAAA,MAAM,OAAA;AACf,yDAKiC;AAJ/B,wGAAA,UAAU,OAAA;AAKZ,gDAa2B;AAZzB,kGAAA,OAAO,OAAA;AAaT,sCAKkB;AAJhB,gGAAA,MAAM,OAAA;AAKR,sCAUkB;AAThB,gGAAA,MAAM,OAAA;AAUR,sCAAkE;AAAzD,gGAAA,MAAM,OAAA"}
|
package/resources/index.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
export { Beta } from "./beta/beta.mjs";
|
|
3
3
|
export { Health } from "./health.mjs";
|
|
4
|
-
export { Namespaces, } from "./namespaces.mjs";
|
|
4
|
+
export { Namespaces, } from "./namespaces/namespaces.mjs";
|
|
5
5
|
export { Servers, } from "./servers/servers.mjs";
|
|
6
6
|
export { Skills, } from "./skills.mjs";
|
|
7
7
|
export { Tokens, } from "./tokens.mjs";
|
package/resources/index.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,IAAI,EAAE;OACR,EAAE,MAAM,EAA4B;OACpC,EACL,UAAU,GAIX;OACM,EACL,OAAO,
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,IAAI,EAAE;OACR,EAAE,MAAM,EAA4B;OACpC,EACL,UAAU,GAIX;OACM,EACL,OAAO,GAYR;OACM,EACL,MAAM,GAIP;OACM,EACL,MAAM,GASP;OACM,EAAE,MAAM,EAAkC"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export { Namespaces, type NamespaceCreateResponse, type NamespaceListResponse, type NamespaceSetResponse, } from "./namespaces.mjs";
|
|
2
|
+
export { Servers, type CreateServerRequest, type CreateServerResponse, type ServerCreateParams, } from "./servers.mjs";
|
|
3
|
+
//# sourceMappingURL=index.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/namespaces/index.ts"],"names":[],"mappings":"OAEO,EACL,UAAU,EACV,KAAK,uBAAuB,EAC5B,KAAK,qBAAqB,EAC1B,KAAK,oBAAoB,GAC1B;OACM,EACL,OAAO,EACP,KAAK,mBAAmB,EACxB,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,GACxB"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export { Namespaces, type NamespaceCreateResponse, type NamespaceListResponse, type NamespaceSetResponse, } from "./namespaces.js";
|
|
2
|
+
export { Servers, type CreateServerRequest, type CreateServerResponse, type ServerCreateParams, } from "./servers.js";
|
|
3
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/namespaces/index.ts"],"names":[],"mappings":"OAEO,EACL,UAAU,EACV,KAAK,uBAAuB,EAC5B,KAAK,qBAAqB,EAC1B,KAAK,oBAAoB,GAC1B;OACM,EACL,OAAO,EACP,KAAK,mBAAmB,EACxB,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,GACxB"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.Servers = exports.Namespaces = void 0;
|
|
5
|
+
var namespaces_1 = require("./namespaces.js");
|
|
6
|
+
Object.defineProperty(exports, "Namespaces", { enumerable: true, get: function () { return namespaces_1.Namespaces; } });
|
|
7
|
+
var servers_1 = require("./servers.js");
|
|
8
|
+
Object.defineProperty(exports, "Servers", { enumerable: true, get: function () { return servers_1.Servers; } });
|
|
9
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/namespaces/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,8CAKsB;AAJpB,wGAAA,UAAU,OAAA;AAKZ,wCAKmB;AAJjB,kGAAA,OAAO,OAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/namespaces/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EACL,UAAU,GAIX;OACM,EACL,OAAO,GAIR"}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import { APIResource } from "../../core/resource.mjs";
|
|
2
|
+
import * as ServersAPI from "./servers.mjs";
|
|
3
|
+
import { CreateServerRequest, CreateServerResponse, ServerCreateParams, Servers } from "./servers.mjs";
|
|
4
|
+
import { APIPromise } from "../../core/api-promise.mjs";
|
|
5
|
+
import { RequestOptions } from "../../internal/request-options.mjs";
|
|
6
|
+
export declare class Namespaces extends APIResource {
|
|
7
|
+
servers: ServersAPI.Servers;
|
|
8
|
+
/**
|
|
9
|
+
* Create a new namespace with a server-generated human-readable name, owned by the
|
|
10
|
+
* authenticated user
|
|
11
|
+
*
|
|
12
|
+
* @example
|
|
13
|
+
* ```ts
|
|
14
|
+
* const namespace = await client.namespaces.create();
|
|
15
|
+
* ```
|
|
16
|
+
*/
|
|
17
|
+
create(options?: RequestOptions): APIPromise<NamespaceCreateResponse>;
|
|
18
|
+
/**
|
|
19
|
+
* Get a list of all namespaces owned by the authenticated user
|
|
20
|
+
*
|
|
21
|
+
* @example
|
|
22
|
+
* ```ts
|
|
23
|
+
* const namespaces = await client.namespaces.list();
|
|
24
|
+
* ```
|
|
25
|
+
*/
|
|
26
|
+
list(options?: RequestOptions): APIPromise<NamespaceListResponse>;
|
|
27
|
+
/**
|
|
28
|
+
* Create a new namespace owned by the authenticated user. This endpoint is
|
|
29
|
+
* idempotent - if the namespace already exists and is owned by the user, returns
|
|
30
|
+
* success.
|
|
31
|
+
*
|
|
32
|
+
* @example
|
|
33
|
+
* ```ts
|
|
34
|
+
* const response = await client.namespaces.set('xxx');
|
|
35
|
+
* ```
|
|
36
|
+
*/
|
|
37
|
+
set(name: string, options?: RequestOptions): APIPromise<NamespaceSetResponse>;
|
|
38
|
+
}
|
|
39
|
+
export interface NamespaceCreateResponse {
|
|
40
|
+
createdAt: string;
|
|
41
|
+
name: string;
|
|
42
|
+
}
|
|
43
|
+
export interface NamespaceListResponse {
|
|
44
|
+
namespaces: Array<NamespaceListResponse.Namespace>;
|
|
45
|
+
}
|
|
46
|
+
export declare namespace NamespaceListResponse {
|
|
47
|
+
interface Namespace {
|
|
48
|
+
createdAt: string;
|
|
49
|
+
name: string;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
export interface NamespaceSetResponse {
|
|
53
|
+
createdAt: string;
|
|
54
|
+
name: string;
|
|
55
|
+
}
|
|
56
|
+
export declare namespace Namespaces {
|
|
57
|
+
export { type NamespaceCreateResponse as NamespaceCreateResponse, type NamespaceListResponse as NamespaceListResponse, type NamespaceSetResponse as NamespaceSetResponse, };
|
|
58
|
+
export { Servers as Servers, type CreateServerRequest as CreateServerRequest, type CreateServerResponse as CreateServerResponse, type ServerCreateParams as ServerCreateParams, };
|
|
59
|
+
}
|
|
60
|
+
//# sourceMappingURL=namespaces.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"namespaces.d.mts","sourceRoot":"","sources":["../../src/resources/namespaces/namespaces.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,UAAU;OACf,EAAE,mBAAmB,EAAE,oBAAoB,EAAE,kBAAkB,EAAE,OAAO,EAAE;OAC1E,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB,qBAAa,UAAW,SAAQ,WAAW;IACzC,OAAO,EAAE,UAAU,CAAC,OAAO,CAAwC;IAEnE;;;;;;;;OAQG;IACH,MAAM,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,uBAAuB,CAAC;IAIrE;;;;;;;OAOG;IACH,IAAI,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,qBAAqB,CAAC;IAIjE;;;;;;;;;OASG;IACH,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,oBAAoB,CAAC;CAG9E;AAED,MAAM,WAAW,uBAAuB;IACtC,SAAS,EAAE,MAAM,CAAC;IAElB,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,qBAAqB;IACpC,UAAU,EAAE,KAAK,CAAC,qBAAqB,CAAC,SAAS,CAAC,CAAC;CACpD;AAED,yBAAiB,qBAAqB,CAAC;IACrC,UAAiB,SAAS;QACxB,SAAS,EAAE,MAAM,CAAC;QAElB,IAAI,EAAE,MAAM,CAAC;KACd;CACF;AAED,MAAM,WAAW,oBAAoB;IACnC,SAAS,EAAE,MAAM,CAAC;IAElB,IAAI,EAAE,MAAM,CAAC;CACd;AAID,MAAM,CAAC,OAAO,WAAW,UAAU,CAAC;IAClC,OAAO,EACL,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,oBAAoB,IAAI,oBAAoB,GAClD,CAAC;IAEF,OAAO,EACL,OAAO,IAAI,OAAO,EAClB,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,kBAAkB,IAAI,kBAAkB,GAC9C,CAAC;CACH"}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import { APIResource } from "../../core/resource.js";
|
|
2
|
+
import * as ServersAPI from "./servers.js";
|
|
3
|
+
import { CreateServerRequest, CreateServerResponse, ServerCreateParams, Servers } from "./servers.js";
|
|
4
|
+
import { APIPromise } from "../../core/api-promise.js";
|
|
5
|
+
import { RequestOptions } from "../../internal/request-options.js";
|
|
6
|
+
export declare class Namespaces extends APIResource {
|
|
7
|
+
servers: ServersAPI.Servers;
|
|
8
|
+
/**
|
|
9
|
+
* Create a new namespace with a server-generated human-readable name, owned by the
|
|
10
|
+
* authenticated user
|
|
11
|
+
*
|
|
12
|
+
* @example
|
|
13
|
+
* ```ts
|
|
14
|
+
* const namespace = await client.namespaces.create();
|
|
15
|
+
* ```
|
|
16
|
+
*/
|
|
17
|
+
create(options?: RequestOptions): APIPromise<NamespaceCreateResponse>;
|
|
18
|
+
/**
|
|
19
|
+
* Get a list of all namespaces owned by the authenticated user
|
|
20
|
+
*
|
|
21
|
+
* @example
|
|
22
|
+
* ```ts
|
|
23
|
+
* const namespaces = await client.namespaces.list();
|
|
24
|
+
* ```
|
|
25
|
+
*/
|
|
26
|
+
list(options?: RequestOptions): APIPromise<NamespaceListResponse>;
|
|
27
|
+
/**
|
|
28
|
+
* Create a new namespace owned by the authenticated user. This endpoint is
|
|
29
|
+
* idempotent - if the namespace already exists and is owned by the user, returns
|
|
30
|
+
* success.
|
|
31
|
+
*
|
|
32
|
+
* @example
|
|
33
|
+
* ```ts
|
|
34
|
+
* const response = await client.namespaces.set('xxx');
|
|
35
|
+
* ```
|
|
36
|
+
*/
|
|
37
|
+
set(name: string, options?: RequestOptions): APIPromise<NamespaceSetResponse>;
|
|
38
|
+
}
|
|
39
|
+
export interface NamespaceCreateResponse {
|
|
40
|
+
createdAt: string;
|
|
41
|
+
name: string;
|
|
42
|
+
}
|
|
43
|
+
export interface NamespaceListResponse {
|
|
44
|
+
namespaces: Array<NamespaceListResponse.Namespace>;
|
|
45
|
+
}
|
|
46
|
+
export declare namespace NamespaceListResponse {
|
|
47
|
+
interface Namespace {
|
|
48
|
+
createdAt: string;
|
|
49
|
+
name: string;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
export interface NamespaceSetResponse {
|
|
53
|
+
createdAt: string;
|
|
54
|
+
name: string;
|
|
55
|
+
}
|
|
56
|
+
export declare namespace Namespaces {
|
|
57
|
+
export { type NamespaceCreateResponse as NamespaceCreateResponse, type NamespaceListResponse as NamespaceListResponse, type NamespaceSetResponse as NamespaceSetResponse, };
|
|
58
|
+
export { Servers as Servers, type CreateServerRequest as CreateServerRequest, type CreateServerResponse as CreateServerResponse, type ServerCreateParams as ServerCreateParams, };
|
|
59
|
+
}
|
|
60
|
+
//# sourceMappingURL=namespaces.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"namespaces.d.ts","sourceRoot":"","sources":["../../src/resources/namespaces/namespaces.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,UAAU;OACf,EAAE,mBAAmB,EAAE,oBAAoB,EAAE,kBAAkB,EAAE,OAAO,EAAE;OAC1E,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB,qBAAa,UAAW,SAAQ,WAAW;IACzC,OAAO,EAAE,UAAU,CAAC,OAAO,CAAwC;IAEnE;;;;;;;;OAQG;IACH,MAAM,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,uBAAuB,CAAC;IAIrE;;;;;;;OAOG;IACH,IAAI,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,qBAAqB,CAAC;IAIjE;;;;;;;;;OASG;IACH,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,oBAAoB,CAAC;CAG9E;AAED,MAAM,WAAW,uBAAuB;IACtC,SAAS,EAAE,MAAM,CAAC;IAElB,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,qBAAqB;IACpC,UAAU,EAAE,KAAK,CAAC,qBAAqB,CAAC,SAAS,CAAC,CAAC;CACpD;AAED,yBAAiB,qBAAqB,CAAC;IACrC,UAAiB,SAAS;QACxB,SAAS,EAAE,MAAM,CAAC;QAElB,IAAI,EAAE,MAAM,CAAC;KACd;CACF;AAED,MAAM,WAAW,oBAAoB;IACnC,SAAS,EAAE,MAAM,CAAC;IAElB,IAAI,EAAE,MAAM,CAAC;CACd;AAID,MAAM,CAAC,OAAO,WAAW,UAAU,CAAC;IAClC,OAAO,EACL,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,oBAAoB,IAAI,oBAAoB,GAClD,CAAC;IAEF,OAAO,EACL,OAAO,IAAI,OAAO,EAClB,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,kBAAkB,IAAI,kBAAkB,GAC9C,CAAC;CACH"}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.Namespaces = void 0;
|
|
5
|
+
const tslib_1 = require("../../internal/tslib.js");
|
|
6
|
+
const resource_1 = require("../../core/resource.js");
|
|
7
|
+
const ServersAPI = tslib_1.__importStar(require("./servers.js"));
|
|
8
|
+
const servers_1 = require("./servers.js");
|
|
9
|
+
const path_1 = require("../../internal/utils/path.js");
|
|
10
|
+
class Namespaces extends resource_1.APIResource {
|
|
11
|
+
constructor() {
|
|
12
|
+
super(...arguments);
|
|
13
|
+
this.servers = new ServersAPI.Servers(this._client);
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* Create a new namespace with a server-generated human-readable name, owned by the
|
|
17
|
+
* authenticated user
|
|
18
|
+
*
|
|
19
|
+
* @example
|
|
20
|
+
* ```ts
|
|
21
|
+
* const namespace = await client.namespaces.create();
|
|
22
|
+
* ```
|
|
23
|
+
*/
|
|
24
|
+
create(options) {
|
|
25
|
+
return this._client.post('/namespaces', options);
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Get a list of all namespaces owned by the authenticated user
|
|
29
|
+
*
|
|
30
|
+
* @example
|
|
31
|
+
* ```ts
|
|
32
|
+
* const namespaces = await client.namespaces.list();
|
|
33
|
+
* ```
|
|
34
|
+
*/
|
|
35
|
+
list(options) {
|
|
36
|
+
return this._client.get('/namespaces', options);
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* Create a new namespace owned by the authenticated user. This endpoint is
|
|
40
|
+
* idempotent - if the namespace already exists and is owned by the user, returns
|
|
41
|
+
* success.
|
|
42
|
+
*
|
|
43
|
+
* @example
|
|
44
|
+
* ```ts
|
|
45
|
+
* const response = await client.namespaces.set('xxx');
|
|
46
|
+
* ```
|
|
47
|
+
*/
|
|
48
|
+
set(name, options) {
|
|
49
|
+
return this._client.put((0, path_1.path) `/namespaces/${name}`, options);
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
exports.Namespaces = Namespaces;
|
|
53
|
+
Namespaces.Servers = servers_1.Servers;
|
|
54
|
+
//# sourceMappingURL=namespaces.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"namespaces.js","sourceRoot":"","sources":["../../src/resources/namespaces/namespaces.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,qDAAkD;AAClD,iEAAwC;AACxC,0CAAmG;AAGnG,uDAAiD;AAEjD,MAAa,UAAW,SAAQ,sBAAW;IAA3C;;QACE,YAAO,GAAuB,IAAI,UAAU,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAwCrE,CAAC;IAtCC;;;;;;;;OAQG;IACH,MAAM,CAAC,OAAwB;QAC7B,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,aAAa,EAAE,OAAO,CAAC,CAAC;IACnD,CAAC;IAED;;;;;;;OAOG;IACH,IAAI,CAAC,OAAwB;QAC3B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,aAAa,EAAE,OAAO,CAAC,CAAC;IAClD,CAAC;IAED;;;;;;;;;OASG;IACH,GAAG,CAAC,IAAY,EAAE,OAAwB;QACxC,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,eAAe,IAAI,EAAE,EAAE,OAAO,CAAC,CAAC;IAC9D,CAAC;CACF;AAzCD,gCAyCC;AA0BD,UAAU,CAAC,OAAO,GAAG,iBAAO,CAAC"}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
import { APIResource } from "../../core/resource.mjs";
|
|
3
|
+
import * as ServersAPI from "./servers.mjs";
|
|
4
|
+
import { Servers } from "./servers.mjs";
|
|
5
|
+
import { path } from "../../internal/utils/path.mjs";
|
|
6
|
+
export class Namespaces extends APIResource {
|
|
7
|
+
constructor() {
|
|
8
|
+
super(...arguments);
|
|
9
|
+
this.servers = new ServersAPI.Servers(this._client);
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* Create a new namespace with a server-generated human-readable name, owned by the
|
|
13
|
+
* authenticated user
|
|
14
|
+
*
|
|
15
|
+
* @example
|
|
16
|
+
* ```ts
|
|
17
|
+
* const namespace = await client.namespaces.create();
|
|
18
|
+
* ```
|
|
19
|
+
*/
|
|
20
|
+
create(options) {
|
|
21
|
+
return this._client.post('/namespaces', options);
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Get a list of all namespaces owned by the authenticated user
|
|
25
|
+
*
|
|
26
|
+
* @example
|
|
27
|
+
* ```ts
|
|
28
|
+
* const namespaces = await client.namespaces.list();
|
|
29
|
+
* ```
|
|
30
|
+
*/
|
|
31
|
+
list(options) {
|
|
32
|
+
return this._client.get('/namespaces', options);
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* Create a new namespace owned by the authenticated user. This endpoint is
|
|
36
|
+
* idempotent - if the namespace already exists and is owned by the user, returns
|
|
37
|
+
* success.
|
|
38
|
+
*
|
|
39
|
+
* @example
|
|
40
|
+
* ```ts
|
|
41
|
+
* const response = await client.namespaces.set('xxx');
|
|
42
|
+
* ```
|
|
43
|
+
*/
|
|
44
|
+
set(name, options) {
|
|
45
|
+
return this._client.put(path `/namespaces/${name}`, options);
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
Namespaces.Servers = Servers;
|
|
49
|
+
//# sourceMappingURL=namespaces.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"namespaces.mjs","sourceRoot":"","sources":["../../src/resources/namespaces/namespaces.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OACf,KAAK,UAAU;OACf,EAAiE,OAAO,EAAE;OAG1E,EAAE,IAAI,EAAE;AAEf,MAAM,OAAO,UAAW,SAAQ,WAAW;IAA3C;;QACE,YAAO,GAAuB,IAAI,UAAU,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAwCrE,CAAC;IAtCC;;;;;;;;OAQG;IACH,MAAM,CAAC,OAAwB;QAC7B,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,aAAa,EAAE,OAAO,CAAC,CAAC;IACnD,CAAC;IAED;;;;;;;OAOG;IACH,IAAI,CAAC,OAAwB;QAC3B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,aAAa,EAAE,OAAO,CAAC,CAAC;IAClD,CAAC;IAED;;;;;;;;;OASG;IACH,GAAG,CAAC,IAAY,EAAE,OAAwB;QACxC,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,eAAe,IAAI,EAAE,EAAE,OAAO,CAAC,CAAC;IAC9D,CAAC;CACF;AA0BD,UAAU,CAAC,OAAO,GAAG,OAAO,CAAC"}
|