@smithery/api 0.17.0 → 0.20.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 +40 -0
- package/package.json +1 -1
- package/resources/beta/connect/connect.d.mts +4 -8
- package/resources/beta/connect/connect.d.mts.map +1 -1
- package/resources/beta/connect/connect.d.ts +4 -8
- package/resources/beta/connect/connect.d.ts.map +1 -1
- package/resources/beta/connect/connect.js +0 -4
- package/resources/beta/connect/connect.js.map +1 -1
- package/resources/beta/connect/connect.mjs +1 -5
- package/resources/beta/connect/connect.mjs.map +1 -1
- package/resources/beta/connect/connections.d.mts +27 -92
- package/resources/beta/connect/connections.d.mts.map +1 -1
- package/resources/beta/connect/connections.d.ts +27 -92
- package/resources/beta/connect/connections.d.ts.map +1 -1
- package/resources/beta/connect/connections.js +0 -72
- package/resources/beta/connect/connections.js.map +1 -1
- package/resources/beta/connect/connections.mjs +0 -72
- package/resources/beta/connect/connections.mjs.map +1 -1
- package/resources/beta/connect/index.d.mts +2 -3
- package/resources/beta/connect/index.d.mts.map +1 -1
- package/resources/beta/connect/index.d.ts +2 -3
- package/resources/beta/connect/index.d.ts.map +1 -1
- package/resources/beta/connect/index.js +1 -3
- package/resources/beta/connect/index.js.map +1 -1
- package/resources/beta/connect/index.mjs +0 -1
- package/resources/beta/connect/index.mjs.map +1 -1
- package/resources/beta/connect/rpc.d.mts +1 -42
- package/resources/beta/connect/rpc.d.mts.map +1 -1
- package/resources/beta/connect/rpc.d.ts +1 -42
- package/resources/beta/connect/rpc.d.ts.map +1 -1
- package/resources/beta/connect/rpc.js +0 -24
- package/resources/beta/connect/rpc.js.map +1 -1
- package/resources/beta/connect/rpc.mjs +0 -24
- package/resources/beta/connect/rpc.mjs.map +1 -1
- package/resources/beta/tools.d.mts +0 -10
- package/resources/beta/tools.d.mts.map +1 -1
- package/resources/beta/tools.d.ts +0 -10
- package/resources/beta/tools.d.ts.map +1 -1
- package/resources/beta/tools.js +0 -10
- package/resources/beta/tools.js.map +1 -1
- package/resources/beta/tools.mjs +0 -10
- package/resources/beta/tools.mjs.map +1 -1
- package/src/resources/beta/connect/connect.ts +3 -27
- package/src/resources/beta/connect/connections.ts +36 -132
- package/src/resources/beta/connect/index.ts +1 -6
- package/src/resources/beta/connect/rpc.ts +2 -60
- package/src/resources/beta/tools.ts +0 -10
- 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
- package/resources/beta/connect/namespaces.d.mts +0 -21
- package/resources/beta/connect/namespaces.d.mts.map +0 -1
- package/resources/beta/connect/namespaces.d.ts +0 -21
- package/resources/beta/connect/namespaces.d.ts.map +0 -1
- package/resources/beta/connect/namespaces.js +0 -9
- package/resources/beta/connect/namespaces.js.map +0 -1
- package/resources/beta/connect/namespaces.mjs +0 -5
- package/resources/beta/connect/namespaces.mjs.map +0 -1
- package/src/resources/beta/connect/namespaces.ts +0 -26
|
@@ -1,102 +1,12 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
3
|
import { APIResource } from '../../../core/resource';
|
|
4
|
-
import { APIPromise } from '../../../core/api-promise';
|
|
5
|
-
import { RequestOptions } from '../../../internal/request-options';
|
|
6
|
-
import { path } from '../../../internal/utils/path';
|
|
7
4
|
|
|
8
|
-
export class Connections extends APIResource {
|
|
9
|
-
/**
|
|
10
|
-
* Create a new MCP connection with the given ID. Requires API key and namespace
|
|
11
|
-
* ownership.
|
|
12
|
-
*
|
|
13
|
-
* @example
|
|
14
|
-
* ```ts
|
|
15
|
-
* const connection =
|
|
16
|
-
* await client.beta.connect.connections.create(
|
|
17
|
-
* 'connectionId',
|
|
18
|
-
* {
|
|
19
|
-
* namespaceId: 'namespaceId',
|
|
20
|
-
* mcpUrl: 'https://mcp.example.com/sse',
|
|
21
|
-
* name: 'My MCP Server',
|
|
22
|
-
* },
|
|
23
|
-
* );
|
|
24
|
-
* ```
|
|
25
|
-
*/
|
|
26
|
-
create(
|
|
27
|
-
connectionID: string,
|
|
28
|
-
params: ConnectionCreateParams,
|
|
29
|
-
options?: RequestOptions,
|
|
30
|
-
): APIPromise<Connection> {
|
|
31
|
-
const { namespaceId, ...body } = params;
|
|
32
|
-
return this._client.put(path`/connect/namespaces/${namespaceId}/connections/${connectionID}`, {
|
|
33
|
-
body,
|
|
34
|
-
...options,
|
|
35
|
-
});
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
/**
|
|
39
|
-
* Get details for a specific connection. Requires service token with
|
|
40
|
-
* connections:read scope.
|
|
41
|
-
*
|
|
42
|
-
* @example
|
|
43
|
-
* ```ts
|
|
44
|
-
* const connection =
|
|
45
|
-
* await client.beta.connect.connections.retrieve(
|
|
46
|
-
* 'connectionId',
|
|
47
|
-
* { namespaceId: 'namespaceId' },
|
|
48
|
-
* );
|
|
49
|
-
* ```
|
|
50
|
-
*/
|
|
51
|
-
retrieve(
|
|
52
|
-
connectionID: string,
|
|
53
|
-
params: ConnectionRetrieveParams,
|
|
54
|
-
options?: RequestOptions,
|
|
55
|
-
): APIPromise<Connection> {
|
|
56
|
-
const { namespaceId } = params;
|
|
57
|
-
return this._client.get(path`/connect/namespaces/${namespaceId}/connections/${connectionID}`, options);
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
/**
|
|
61
|
-
* List all connections in a namespace. Requires service token with
|
|
62
|
-
* connections:read scope.
|
|
63
|
-
*
|
|
64
|
-
* @example
|
|
65
|
-
* ```ts
|
|
66
|
-
* const connectionsListResponse =
|
|
67
|
-
* await client.beta.connect.connections.list('namespaceId');
|
|
68
|
-
* ```
|
|
69
|
-
*/
|
|
70
|
-
list(namespaceID: string, options?: RequestOptions): APIPromise<ConnectionsListResponse> {
|
|
71
|
-
return this._client.get(path`/connect/namespaces/${namespaceID}/connections`, options);
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
/**
|
|
75
|
-
* Delete a connection and terminate its MCP session. Requires API key and
|
|
76
|
-
* namespace ownership.
|
|
77
|
-
*
|
|
78
|
-
* @example
|
|
79
|
-
* ```ts
|
|
80
|
-
* const connection =
|
|
81
|
-
* await client.beta.connect.connections.delete(
|
|
82
|
-
* 'connectionId',
|
|
83
|
-
* { namespaceId: 'namespaceId' },
|
|
84
|
-
* );
|
|
85
|
-
* ```
|
|
86
|
-
*/
|
|
87
|
-
delete(
|
|
88
|
-
connectionID: string,
|
|
89
|
-
params: ConnectionDeleteParams,
|
|
90
|
-
options?: RequestOptions,
|
|
91
|
-
): APIPromise<ConnectionDeleteResponse> {
|
|
92
|
-
const { namespaceId } = params;
|
|
93
|
-
return this._client.delete(path`/connect/namespaces/${namespaceId}/connections/${connectionID}`, options);
|
|
94
|
-
}
|
|
95
|
-
}
|
|
5
|
+
export class Connections extends APIResource {}
|
|
96
6
|
|
|
97
7
|
export interface Connection {
|
|
98
8
|
/**
|
|
99
|
-
*
|
|
9
|
+
* Connection ID (auto-generated or developer-defined)
|
|
100
10
|
*/
|
|
101
11
|
connectionId: string;
|
|
102
12
|
|
|
@@ -118,6 +28,38 @@ export interface Connection {
|
|
|
118
28
|
createdAt?: string;
|
|
119
29
|
|
|
120
30
|
iconUrl?: string | null;
|
|
31
|
+
|
|
32
|
+
/**
|
|
33
|
+
* Connection status after initialization (only returned on create)
|
|
34
|
+
*/
|
|
35
|
+
status?:
|
|
36
|
+
| Connection.ConnectConnectionStatusConnected
|
|
37
|
+
| Connection.ConnectConnectionStatusAuthRequired
|
|
38
|
+
| Connection.ConnectConnectionStatusError;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
export namespace Connection {
|
|
42
|
+
export interface ConnectConnectionStatusConnected {
|
|
43
|
+
state: 'connected';
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
export interface ConnectConnectionStatusAuthRequired {
|
|
47
|
+
state: 'auth_required';
|
|
48
|
+
|
|
49
|
+
/**
|
|
50
|
+
* URL to redirect user for OAuth authorization
|
|
51
|
+
*/
|
|
52
|
+
authorizationUrl?: string;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
export interface ConnectConnectionStatusError {
|
|
56
|
+
/**
|
|
57
|
+
* Error message
|
|
58
|
+
*/
|
|
59
|
+
message: string;
|
|
60
|
+
|
|
61
|
+
state: 'error';
|
|
62
|
+
}
|
|
121
63
|
}
|
|
122
64
|
|
|
123
65
|
export interface ConnectionsListResponse {
|
|
@@ -135,49 +77,15 @@ export interface CreateConnectionRequest {
|
|
|
135
77
|
*/
|
|
136
78
|
mcpUrl: string;
|
|
137
79
|
|
|
138
|
-
/**
|
|
139
|
-
* Human-readable name
|
|
140
|
-
*/
|
|
141
|
-
name: string;
|
|
142
|
-
|
|
143
80
|
/**
|
|
144
81
|
* Custom metadata for filtering connections
|
|
145
82
|
*/
|
|
146
83
|
metadata?: { [key: string]: unknown };
|
|
147
|
-
}
|
|
148
|
-
|
|
149
|
-
export interface ConnectionDeleteResponse {
|
|
150
|
-
success: true;
|
|
151
|
-
}
|
|
152
|
-
|
|
153
|
-
export interface ConnectionCreateParams {
|
|
154
|
-
/**
|
|
155
|
-
* Path param
|
|
156
|
-
*/
|
|
157
|
-
namespaceId: string;
|
|
158
84
|
|
|
159
85
|
/**
|
|
160
|
-
*
|
|
86
|
+
* Human-readable name (optional, defaults to connection ID)
|
|
161
87
|
*/
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
/**
|
|
165
|
-
* Body param: Human-readable name
|
|
166
|
-
*/
|
|
167
|
-
name: string;
|
|
168
|
-
|
|
169
|
-
/**
|
|
170
|
-
* Body param: Custom metadata for filtering connections
|
|
171
|
-
*/
|
|
172
|
-
metadata?: { [key: string]: unknown };
|
|
173
|
-
}
|
|
174
|
-
|
|
175
|
-
export interface ConnectionRetrieveParams {
|
|
176
|
-
namespaceId: string;
|
|
177
|
-
}
|
|
178
|
-
|
|
179
|
-
export interface ConnectionDeleteParams {
|
|
180
|
-
namespaceId: string;
|
|
88
|
+
name?: string;
|
|
181
89
|
}
|
|
182
90
|
|
|
183
91
|
export declare namespace Connections {
|
|
@@ -185,9 +93,5 @@ export declare namespace Connections {
|
|
|
185
93
|
type Connection as Connection,
|
|
186
94
|
type ConnectionsListResponse as ConnectionsListResponse,
|
|
187
95
|
type CreateConnectionRequest as CreateConnectionRequest,
|
|
188
|
-
type ConnectionDeleteResponse as ConnectionDeleteResponse,
|
|
189
|
-
type ConnectionCreateParams as ConnectionCreateParams,
|
|
190
|
-
type ConnectionRetrieveParams as ConnectionRetrieveParams,
|
|
191
|
-
type ConnectionDeleteParams as ConnectionDeleteParams,
|
|
192
96
|
};
|
|
193
97
|
}
|
|
@@ -6,10 +6,5 @@ export {
|
|
|
6
6
|
type Connection,
|
|
7
7
|
type ConnectionsListResponse,
|
|
8
8
|
type CreateConnectionRequest,
|
|
9
|
-
type ConnectionDeleteResponse,
|
|
10
|
-
type ConnectionCreateParams,
|
|
11
|
-
type ConnectionRetrieveParams,
|
|
12
|
-
type ConnectionDeleteParams,
|
|
13
9
|
} from './connections';
|
|
14
|
-
export {
|
|
15
|
-
export { Rpc, type JsonRpcRequest, type JsonRpcResponse, type RpcCallParams } from './rpc';
|
|
10
|
+
export { Rpc, type JsonRpcRequest, type JsonRpcResponse } from './rpc';
|
|
@@ -1,35 +1,8 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
3
|
import { APIResource } from '../../../core/resource';
|
|
4
|
-
import { APIPromise } from '../../../core/api-promise';
|
|
5
|
-
import { RequestOptions } from '../../../internal/request-options';
|
|
6
|
-
import { path } from '../../../internal/utils/path';
|
|
7
4
|
|
|
8
|
-
export class Rpc extends APIResource {
|
|
9
|
-
/**
|
|
10
|
-
* Execute a JSON-RPC call on an MCP connection. Requires service token with rpc
|
|
11
|
-
* scope.
|
|
12
|
-
*
|
|
13
|
-
* @example
|
|
14
|
-
* ```ts
|
|
15
|
-
* const jsonRpcResponse = await client.beta.connect.rpc.call(
|
|
16
|
-
* 'connectionId',
|
|
17
|
-
* {
|
|
18
|
-
* namespaceId: 'namespaceId',
|
|
19
|
-
* jsonrpc: '2.0',
|
|
20
|
-
* method: 'tools/list',
|
|
21
|
-
* },
|
|
22
|
-
* );
|
|
23
|
-
* ```
|
|
24
|
-
*/
|
|
25
|
-
call(connectionID: string, params: RpcCallParams, options?: RequestOptions): APIPromise<JsonRpcResponse> {
|
|
26
|
-
const { namespaceId, ...body } = params;
|
|
27
|
-
return this._client.post(path`/connect/namespaces/${namespaceId}/connections/${connectionID}/rpc`, {
|
|
28
|
-
body,
|
|
29
|
-
...options,
|
|
30
|
-
});
|
|
31
|
-
}
|
|
32
|
-
}
|
|
5
|
+
export class Rpc extends APIResource {}
|
|
33
6
|
|
|
34
7
|
export interface JsonRpcRequest {
|
|
35
8
|
jsonrpc: '2.0';
|
|
@@ -55,37 +28,6 @@ export interface JsonRpcResponse {
|
|
|
55
28
|
result?: unknown;
|
|
56
29
|
}
|
|
57
30
|
|
|
58
|
-
export interface RpcCallParams {
|
|
59
|
-
/**
|
|
60
|
-
* Path param
|
|
61
|
-
*/
|
|
62
|
-
namespaceId: string;
|
|
63
|
-
|
|
64
|
-
/**
|
|
65
|
-
* Body param
|
|
66
|
-
*/
|
|
67
|
-
jsonrpc: '2.0';
|
|
68
|
-
|
|
69
|
-
/**
|
|
70
|
-
* Body param: MCP method to call
|
|
71
|
-
*/
|
|
72
|
-
method: string;
|
|
73
|
-
|
|
74
|
-
/**
|
|
75
|
-
* Body param
|
|
76
|
-
*/
|
|
77
|
-
id?: string | number;
|
|
78
|
-
|
|
79
|
-
/**
|
|
80
|
-
* Body param: Method parameters
|
|
81
|
-
*/
|
|
82
|
-
params?: unknown;
|
|
83
|
-
}
|
|
84
|
-
|
|
85
31
|
export declare namespace Rpc {
|
|
86
|
-
export {
|
|
87
|
-
type JsonRpcRequest as JsonRpcRequest,
|
|
88
|
-
type JsonRpcResponse as JsonRpcResponse,
|
|
89
|
-
type RpcCallParams as RpcCallParams,
|
|
90
|
-
};
|
|
32
|
+
export { type JsonRpcRequest as JsonRpcRequest, type JsonRpcResponse as JsonRpcResponse };
|
|
91
33
|
}
|
|
@@ -8,16 +8,6 @@ export class Tools extends APIResource {
|
|
|
8
8
|
/**
|
|
9
9
|
* Get a paginated list of all MCP tools across servers. Use the `q` parameter for
|
|
10
10
|
* semantic search.
|
|
11
|
-
*
|
|
12
|
-
* @example
|
|
13
|
-
* ```ts
|
|
14
|
-
* // Automatically fetches more pages as needed.
|
|
15
|
-
* for await (const toolListResponse of client.beta.tools.list(
|
|
16
|
-
* { q: 'x' },
|
|
17
|
-
* )) {
|
|
18
|
-
* // ...
|
|
19
|
-
* }
|
|
20
|
-
* ```
|
|
21
11
|
*/
|
|
22
12
|
list(
|
|
23
13
|
query: ToolListParams,
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '0.
|
|
1
|
+
export const VERSION = '0.20.0'; // x-release-please-version
|
package/version.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.
|
|
1
|
+
export declare const VERSION = "0.20.0";
|
|
2
2
|
//# sourceMappingURL=version.d.mts.map
|
package/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.
|
|
1
|
+
export declare const VERSION = "0.20.0";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/version.js
CHANGED
package/version.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = '0.
|
|
1
|
+
export const VERSION = '0.20.0'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { APIResource } from "../../../core/resource.mjs";
|
|
2
|
-
export declare class Namespaces extends APIResource {
|
|
3
|
-
}
|
|
4
|
-
export interface Namespace {
|
|
5
|
-
/**
|
|
6
|
-
* ISO 8601 timestamp
|
|
7
|
-
*/
|
|
8
|
-
createdAt: string;
|
|
9
|
-
/**
|
|
10
|
-
* Namespace name (also the unique ID)
|
|
11
|
-
*/
|
|
12
|
-
name: string;
|
|
13
|
-
/**
|
|
14
|
-
* ISO 8601 timestamp
|
|
15
|
-
*/
|
|
16
|
-
updatedAt?: string;
|
|
17
|
-
}
|
|
18
|
-
export declare namespace Namespaces {
|
|
19
|
-
export { type Namespace as Namespace };
|
|
20
|
-
}
|
|
21
|
-
//# sourceMappingURL=namespaces.d.mts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"namespaces.d.mts","sourceRoot":"","sources":["../../../src/resources/beta/connect/namespaces.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;AAEtB,qBAAa,UAAW,SAAQ,WAAW;CAAG;AAE9C,MAAM,WAAW,SAAS;IACxB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,CAAC,OAAO,WAAW,UAAU,CAAC;IAClC,OAAO,EAAE,KAAK,SAAS,IAAI,SAAS,EAAE,CAAC;CACxC"}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { APIResource } from "../../../core/resource.js";
|
|
2
|
-
export declare class Namespaces extends APIResource {
|
|
3
|
-
}
|
|
4
|
-
export interface Namespace {
|
|
5
|
-
/**
|
|
6
|
-
* ISO 8601 timestamp
|
|
7
|
-
*/
|
|
8
|
-
createdAt: string;
|
|
9
|
-
/**
|
|
10
|
-
* Namespace name (also the unique ID)
|
|
11
|
-
*/
|
|
12
|
-
name: string;
|
|
13
|
-
/**
|
|
14
|
-
* ISO 8601 timestamp
|
|
15
|
-
*/
|
|
16
|
-
updatedAt?: string;
|
|
17
|
-
}
|
|
18
|
-
export declare namespace Namespaces {
|
|
19
|
-
export { type Namespace as Namespace };
|
|
20
|
-
}
|
|
21
|
-
//# sourceMappingURL=namespaces.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"namespaces.d.ts","sourceRoot":"","sources":["../../../src/resources/beta/connect/namespaces.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;AAEtB,qBAAa,UAAW,SAAQ,WAAW;CAAG;AAE9C,MAAM,WAAW,SAAS;IACxB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,CAAC,OAAO,WAAW,UAAU,CAAC;IAClC,OAAO,EAAE,KAAK,SAAS,IAAI,SAAS,EAAE,CAAC;CACxC"}
|
|
@@ -1,9 +0,0 @@
|
|
|
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 resource_1 = require("../../../core/resource.js");
|
|
6
|
-
class Namespaces extends resource_1.APIResource {
|
|
7
|
-
}
|
|
8
|
-
exports.Namespaces = Namespaces;
|
|
9
|
-
//# sourceMappingURL=namespaces.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"namespaces.js","sourceRoot":"","sources":["../../../src/resources/beta/connect/namespaces.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wDAAqD;AAErD,MAAa,UAAW,SAAQ,sBAAW;CAAG;AAA9C,gCAA8C"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"namespaces.mjs","sourceRoot":"","sources":["../../../src/resources/beta/connect/namespaces.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;AAEtB,MAAM,OAAO,UAAW,SAAQ,WAAW;CAAG"}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
-
|
|
3
|
-
import { APIResource } from '../../../core/resource';
|
|
4
|
-
|
|
5
|
-
export class Namespaces extends APIResource {}
|
|
6
|
-
|
|
7
|
-
export interface Namespace {
|
|
8
|
-
/**
|
|
9
|
-
* ISO 8601 timestamp
|
|
10
|
-
*/
|
|
11
|
-
createdAt: string;
|
|
12
|
-
|
|
13
|
-
/**
|
|
14
|
-
* Namespace name (also the unique ID)
|
|
15
|
-
*/
|
|
16
|
-
name: string;
|
|
17
|
-
|
|
18
|
-
/**
|
|
19
|
-
* ISO 8601 timestamp
|
|
20
|
-
*/
|
|
21
|
-
updatedAt?: string;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
export declare namespace Namespaces {
|
|
25
|
-
export { type Namespace as Namespace };
|
|
26
|
-
}
|