@smithery/api 0.45.0 → 0.46.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.
Files changed (120) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/client.d.mts +3 -3
  3. package/client.d.mts.map +1 -1
  4. package/client.d.ts +3 -3
  5. package/client.d.ts.map +1 -1
  6. package/client.js +3 -3
  7. package/client.js.map +1 -1
  8. package/client.mjs +3 -3
  9. package/client.mjs.map +1 -1
  10. package/lib/mcp-transport.js +3 -3
  11. package/lib/mcp-transport.js.map +1 -1
  12. package/lib/mcp-transport.mjs +3 -3
  13. package/lib/mcp-transport.mjs.map +1 -1
  14. package/package.json +1 -1
  15. package/resources/{experimental/connect → connections}/connections.d.mts +24 -26
  16. package/resources/connections/connections.d.mts.map +1 -0
  17. package/resources/{experimental/connect → connections}/connections.d.ts +24 -26
  18. package/resources/connections/connections.d.ts.map +1 -0
  19. package/resources/{experimental/connect → connections}/connections.js +27 -25
  20. package/resources/connections/connections.js.map +1 -0
  21. package/resources/{experimental/connect → connections}/connections.mjs +26 -25
  22. package/resources/connections/connections.mjs.map +1 -0
  23. package/resources/{experimental/connect → connections}/index.d.mts +0 -1
  24. package/resources/connections/index.d.mts.map +1 -0
  25. package/resources/{experimental/connect → connections}/index.d.ts +0 -1
  26. package/resources/connections/index.d.ts.map +1 -0
  27. package/resources/{experimental/connect → connections}/index.js +1 -3
  28. package/resources/connections/index.js.map +1 -0
  29. package/resources/{experimental/connect → connections}/index.mjs +0 -1
  30. package/resources/connections/index.mjs.map +1 -0
  31. package/resources/{experimental/connect → connections}/mcp.d.mts +7 -8
  32. package/resources/connections/mcp.d.mts.map +1 -0
  33. package/resources/{experimental/connect → connections}/mcp.d.ts +7 -8
  34. package/resources/connections/mcp.d.ts.map +1 -0
  35. package/resources/{experimental/connect → connections}/mcp.js +6 -7
  36. package/resources/connections/mcp.js.map +1 -0
  37. package/resources/{experimental/connect → connections}/mcp.mjs +6 -7
  38. package/resources/connections/mcp.mjs.map +1 -0
  39. package/resources/connections.d.mts +2 -0
  40. package/resources/connections.d.mts.map +1 -0
  41. package/resources/connections.d.ts +2 -0
  42. package/resources/connections.d.ts.map +1 -0
  43. package/resources/{experimental.js → connections.js} +2 -2
  44. package/resources/connections.js.map +1 -0
  45. package/{src/resources/experimental.ts → resources/connections.mjs} +2 -2
  46. package/resources/connections.mjs.map +1 -0
  47. package/resources/index.d.mts +1 -1
  48. package/resources/index.d.mts.map +1 -1
  49. package/resources/index.d.ts +1 -1
  50. package/resources/index.d.ts.map +1 -1
  51. package/resources/index.js +3 -3
  52. package/resources/index.js.map +1 -1
  53. package/resources/index.mjs +1 -1
  54. package/resources/index.mjs.map +1 -1
  55. package/src/client.ts +26 -4
  56. package/src/lib/mcp-transport.ts +4 -4
  57. package/src/resources/{experimental/connect → connections}/connections.ts +34 -27
  58. package/src/resources/{experimental/connect → connections}/index.ts +0 -1
  59. package/src/resources/{experimental/connect → connections}/mcp.ts +8 -9
  60. package/src/resources/{experimental/connect.ts → connections.ts} +1 -1
  61. package/src/resources/index.ts +12 -1
  62. package/src/version.ts +1 -1
  63. package/version.d.mts +1 -1
  64. package/version.d.ts +1 -1
  65. package/version.js +1 -1
  66. package/version.mjs +1 -1
  67. package/resources/experimental/connect/connect.d.mts +0 -14
  68. package/resources/experimental/connect/connect.d.mts.map +0 -1
  69. package/resources/experimental/connect/connect.d.ts +0 -14
  70. package/resources/experimental/connect/connect.d.ts.map +0 -1
  71. package/resources/experimental/connect/connect.js +0 -21
  72. package/resources/experimental/connect/connect.js.map +0 -1
  73. package/resources/experimental/connect/connect.mjs +0 -16
  74. package/resources/experimental/connect/connect.mjs.map +0 -1
  75. package/resources/experimental/connect/connections.d.mts.map +0 -1
  76. package/resources/experimental/connect/connections.d.ts.map +0 -1
  77. package/resources/experimental/connect/connections.js.map +0 -1
  78. package/resources/experimental/connect/connections.mjs.map +0 -1
  79. package/resources/experimental/connect/index.d.mts.map +0 -1
  80. package/resources/experimental/connect/index.d.ts.map +0 -1
  81. package/resources/experimental/connect/index.js.map +0 -1
  82. package/resources/experimental/connect/index.mjs.map +0 -1
  83. package/resources/experimental/connect/mcp.d.mts.map +0 -1
  84. package/resources/experimental/connect/mcp.d.ts.map +0 -1
  85. package/resources/experimental/connect/mcp.js.map +0 -1
  86. package/resources/experimental/connect/mcp.mjs.map +0 -1
  87. package/resources/experimental/connect.d.mts +0 -2
  88. package/resources/experimental/connect.d.mts.map +0 -1
  89. package/resources/experimental/connect.d.ts +0 -2
  90. package/resources/experimental/connect.d.ts.map +0 -1
  91. package/resources/experimental/connect.js +0 -6
  92. package/resources/experimental/connect.js.map +0 -1
  93. package/resources/experimental/connect.mjs +0 -3
  94. package/resources/experimental/connect.mjs.map +0 -1
  95. package/resources/experimental/experimental.d.mts +0 -10
  96. package/resources/experimental/experimental.d.mts.map +0 -1
  97. package/resources/experimental/experimental.d.ts +0 -10
  98. package/resources/experimental/experimental.d.ts.map +0 -1
  99. package/resources/experimental/experimental.js +0 -17
  100. package/resources/experimental/experimental.js.map +0 -1
  101. package/resources/experimental/experimental.mjs +0 -12
  102. package/resources/experimental/experimental.mjs.map +0 -1
  103. package/resources/experimental/index.d.mts +0 -3
  104. package/resources/experimental/index.d.mts.map +0 -1
  105. package/resources/experimental/index.d.ts +0 -3
  106. package/resources/experimental/index.d.ts.map +0 -1
  107. package/resources/experimental/index.js +0 -9
  108. package/resources/experimental/index.js.map +0 -1
  109. package/resources/experimental/index.mjs +0 -4
  110. package/resources/experimental/index.mjs.map +0 -1
  111. package/resources/experimental.d.mts +0 -2
  112. package/resources/experimental.d.mts.map +0 -1
  113. package/resources/experimental.d.ts +0 -2
  114. package/resources/experimental.d.ts.map +0 -1
  115. package/resources/experimental.js.map +0 -1
  116. package/resources/experimental.mjs +0 -3
  117. package/resources/experimental.mjs.map +0 -1
  118. package/src/resources/experimental/connect/connect.ts +0 -48
  119. package/src/resources/experimental/experimental.ts +0 -15
  120. package/src/resources/experimental/index.ts +0 -4
@@ -1,18 +1,20 @@
1
- import { APIResource } from "../../../core/resource.js";
2
- import { APIPromise } from "../../../core/api-promise.js";
3
- import { RequestOptions } from "../../../internal/request-options.js";
1
+ import { APIResource } from "../../core/resource.js";
2
+ import * as McpAPI from "./mcp.js";
3
+ import { JsonRpcRequest, JsonRpcResponse, Mcp, McpCallParams } from "./mcp.js";
4
+ import { APIPromise } from "../../core/api-promise.js";
5
+ import { RequestOptions } from "../../internal/request-options.js";
4
6
  export declare class Connections extends APIResource {
7
+ mcp: McpAPI.Mcp;
5
8
  /**
6
9
  * Create a new MCP connection with an auto-generated ID. Requires API key and
7
10
  * namespace ownership.
8
11
  *
9
12
  * @example
10
13
  * ```ts
11
- * const connection =
12
- * await client.experimental.connect.connections.create(
13
- * 'namespace',
14
- * { mcpUrl: 'https://mcp.example.com/sse' },
15
- * );
14
+ * const connection = await client.connections.create(
15
+ * 'namespace',
16
+ * { mcpUrl: 'https://mcp.example.com/sse' },
17
+ * );
16
18
  * ```
17
19
  */
18
20
  create(namespace: string, body: ConnectionCreateParams, options?: RequestOptions): APIPromise<Connection>;
@@ -23,9 +25,7 @@ export declare class Connections extends APIResource {
23
25
  * @example
24
26
  * ```ts
25
27
  * const connectionsListResponse =
26
- * await client.experimental.connect.connections.list(
27
- * 'namespace',
28
- * );
28
+ * await client.connections.list('namespace');
29
29
  * ```
30
30
  */
31
31
  list(namespace: string, query?: ConnectionListParams | null | undefined, options?: RequestOptions): APIPromise<ConnectionsListResponse>;
@@ -35,11 +35,10 @@ export declare class Connections extends APIResource {
35
35
  *
36
36
  * @example
37
37
  * ```ts
38
- * const connection =
39
- * await client.experimental.connect.connections.delete(
40
- * 'connectionId',
41
- * { namespace: 'namespace' },
42
- * );
38
+ * const connection = await client.connections.delete(
39
+ * 'connectionId',
40
+ * { namespace: 'namespace' },
41
+ * );
43
42
  * ```
44
43
  */
45
44
  delete(connectionID: string, params: ConnectionDeleteParams, options?: RequestOptions): APIPromise<ConnectionDeleteResponse>;
@@ -49,11 +48,10 @@ export declare class Connections extends APIResource {
49
48
  *
50
49
  * @example
51
50
  * ```ts
52
- * const connection =
53
- * await client.experimental.connect.connections.get(
54
- * 'connectionId',
55
- * { namespace: 'namespace' },
56
- * );
51
+ * const connection = await client.connections.get(
52
+ * 'connectionId',
53
+ * { namespace: 'namespace' },
54
+ * );
57
55
  * ```
58
56
  */
59
57
  get(connectionID: string, params: ConnectionGetParams, options?: RequestOptions): APIPromise<Connection>;
@@ -65,11 +63,10 @@ export declare class Connections extends APIResource {
65
63
  *
66
64
  * @example
67
65
  * ```ts
68
- * const connection =
69
- * await client.experimental.connect.connections.set(
70
- * 'connectionId',
71
- * { namespace: 'namespace' },
72
- * );
66
+ * const connection = await client.connections.set(
67
+ * 'connectionId',
68
+ * { namespace: 'namespace' },
69
+ * );
73
70
  * ```
74
71
  */
75
72
  set(connectionID: string, params: ConnectionSetParams, options?: RequestOptions): APIPromise<Connection>;
@@ -252,5 +249,6 @@ export interface ConnectionSetParams {
252
249
  }
253
250
  export declare namespace Connections {
254
251
  export { type Connection as Connection, type ConnectionsListResponse as ConnectionsListResponse, type CreateConnectionRequest as CreateConnectionRequest, type ConnectionDeleteResponse as ConnectionDeleteResponse, type ConnectionCreateParams as ConnectionCreateParams, type ConnectionListParams as ConnectionListParams, type ConnectionDeleteParams as ConnectionDeleteParams, type ConnectionGetParams as ConnectionGetParams, type ConnectionSetParams as ConnectionSetParams, };
252
+ export { Mcp as Mcp, type JsonRpcRequest as JsonRpcRequest, type JsonRpcResponse as JsonRpcResponse, type McpCallParams as McpCallParams, };
255
253
  }
256
254
  //# sourceMappingURL=connections.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"connections.d.ts","sourceRoot":"","sources":["../../src/resources/connections/connections.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,MAAM;OACX,EAAE,cAAc,EAAE,eAAe,EAAE,GAAG,EAAE,aAAa,EAAE;OACvD,EAAE,UA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EtC;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAID,MAAM,CAAC,OAAO,WAAW,WAAW,CAAC;IACnC,OAAO,EACL,KAAK,UAAU,IAAI,UAAU,EAC7B,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,mBAAmB,IAAI,mBAAmB,GAChD,CAAC;IAEF,OAAO,EACL,GAAG,IAAI,GAAG,EACV,KAAK,cAAc,IAAI,cAAc,EACrC,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,aAAa,IAAI,aAAa,GACpC,CAAC;CACH"}
@@ -2,20 +2,26 @@
2
2
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
  exports.Connections = void 0;
5
- const resource_1 = require("../../../core/resource.js");
6
- const path_1 = require("../../../internal/utils/path.js");
5
+ const tslib_1 = require("../../internal/tslib.js");
6
+ const resource_1 = require("../../core/resource.js");
7
+ const McpAPI = tslib_1.__importStar(require("./mcp.js"));
8
+ const mcp_1 = require("./mcp.js");
9
+ const path_1 = require("../../internal/utils/path.js");
7
10
  class Connections extends resource_1.APIResource {
11
+ constructor() {
12
+ super(...arguments);
13
+ this.mcp = new McpAPI.Mcp(this._client);
14
+ }
8
15
  /**
9
16
  * Create a new MCP connection with an auto-generated ID. Requires API key and
10
17
  * namespace ownership.
11
18
  *
12
19
  * @example
13
20
  * ```ts
14
- * const connection =
15
- * await client.experimental.connect.connections.create(
16
- * 'namespace',
17
- * { mcpUrl: 'https://mcp.example.com/sse' },
18
- * );
21
+ * const connection = await client.connections.create(
22
+ * 'namespace',
23
+ * { mcpUrl: 'https://mcp.example.com/sse' },
24
+ * );
19
25
  * ```
20
26
  */
21
27
  create(namespace, body, options) {
@@ -28,9 +34,7 @@ class Connections extends resource_1.APIResource {
28
34
  * @example
29
35
  * ```ts
30
36
  * const connectionsListResponse =
31
- * await client.experimental.connect.connections.list(
32
- * 'namespace',
33
- * );
37
+ * await client.connections.list('namespace');
34
38
  * ```
35
39
  */
36
40
  list(namespace, query = {}, options) {
@@ -42,11 +46,10 @@ class Connections extends resource_1.APIResource {
42
46
  *
43
47
  * @example
44
48
  * ```ts
45
- * const connection =
46
- * await client.experimental.connect.connections.delete(
47
- * 'connectionId',
48
- * { namespace: 'namespace' },
49
- * );
49
+ * const connection = await client.connections.delete(
50
+ * 'connectionId',
51
+ * { namespace: 'namespace' },
52
+ * );
50
53
  * ```
51
54
  */
52
55
  delete(connectionID, params, options) {
@@ -59,11 +62,10 @@ class Connections extends resource_1.APIResource {
59
62
  *
60
63
  * @example
61
64
  * ```ts
62
- * const connection =
63
- * await client.experimental.connect.connections.get(
64
- * 'connectionId',
65
- * { namespace: 'namespace' },
66
- * );
65
+ * const connection = await client.connections.get(
66
+ * 'connectionId',
67
+ * { namespace: 'namespace' },
68
+ * );
67
69
  * ```
68
70
  */
69
71
  get(connectionID, params, options) {
@@ -78,11 +80,10 @@ class Connections extends resource_1.APIResource {
78
80
  *
79
81
  * @example
80
82
  * ```ts
81
- * const connection =
82
- * await client.experimental.connect.connections.set(
83
- * 'connectionId',
84
- * { namespace: 'namespace' },
85
- * );
83
+ * const connection = await client.connections.set(
84
+ * 'connectionId',
85
+ * { namespace: 'namespace' },
86
+ * );
86
87
  * ```
87
88
  */
88
89
  set(connectionID, params, options) {
@@ -91,4 +92,5 @@ class Connections extends resource_1.APIResource {
91
92
  }
92
93
  }
93
94
  exports.Connections = Connections;
95
+ Connections.Mcp = mcp_1.Mcp;
94
96
  //# sourceMappingURL=connections.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"connections.js","sourceRoot":"","s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;;;OAaG;IACH,GAAG,CAAC,YAAoB,EAAE,MAA2B,EAAE,OAAwB;QAC7E,MAAM,EAAE,SAAS,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;QACtC,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,YAAY,SAAS,IAAI,YAAY,EAAE,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC7F,CAAC;CACF;AA7FD,kCA6FC;AAoND,WAAW,CAAC,GAAG,GAAG,SAAG,CAAC"}
@@ -1,18 +1,23 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
- import { APIResource } from "../../../core/resource.mjs";
3
- import { path } from "../../../internal/utils/path.mjs";
2
+ import { APIResource } from "../../core/resource.mjs";
3
+ import * as McpAPI from "./mcp.mjs";
4
+ import { Mcp } from "./mcp.mjs";
5
+ import { path } from "../../internal/utils/path.mjs";
4
6
  export class Connections extends APIResource {
7
+ constructor() {
8
+ super(...arguments);
9
+ this.mcp = new McpAPI.Mcp(this._client);
10
+ }
5
11
  /**
6
12
  * Create a new MCP connection with an auto-generated ID. Requires API key and
7
13
  * namespace ownership.
8
14
  *
9
15
  * @example
10
16
  * ```ts
11
- * const connection =
12
- * await client.experimental.connect.connections.create(
13
- * 'namespace',
14
- * { mcpUrl: 'https://mcp.example.com/sse' },
15
- * );
17
+ * const connection = await client.connections.create(
18
+ * 'namespace',
19
+ * { mcpUrl: 'https://mcp.example.com/sse' },
20
+ * );
16
21
  * ```
17
22
  */
18
23
  create(namespace, body, options) {
@@ -25,9 +30,7 @@ export class Connections extends APIResource {
25
30
  * @example
26
31
  * ```ts
27
32
  * const connectionsListResponse =
28
- * await client.experimental.connect.connections.list(
29
- * 'namespace',
30
- * );
33
+ * await client.connections.list('namespace');
31
34
  * ```
32
35
  */
33
36
  list(namespace, query = {}, options) {
@@ -39,11 +42,10 @@ export class Connections extends APIResource {
39
42
  *
40
43
  * @example
41
44
  * ```ts
42
- * const connection =
43
- * await client.experimental.connect.connections.delete(
44
- * 'connectionId',
45
- * { namespace: 'namespace' },
46
- * );
45
+ * const connection = await client.connections.delete(
46
+ * 'connectionId',
47
+ * { namespace: 'namespace' },
48
+ * );
47
49
  * ```
48
50
  */
49
51
  delete(connectionID, params, options) {
@@ -56,11 +58,10 @@ export class Connections extends APIResource {
56
58
  *
57
59
  * @example
58
60
  * ```ts
59
- * const connection =
60
- * await client.experimental.connect.connections.get(
61
- * 'connectionId',
62
- * { namespace: 'namespace' },
63
- * );
61
+ * const connection = await client.connections.get(
62
+ * 'connectionId',
63
+ * { namespace: 'namespace' },
64
+ * );
64
65
  * ```
65
66
  */
66
67
  get(connectionID, params, options) {
@@ -75,11 +76,10 @@ export class Connections extends APIResource {
75
76
  *
76
77
  * @example
77
78
  * ```ts
78
- * const connection =
79
- * await client.experimental.connect.connections.set(
80
- * 'connectionId',
81
- * { namespace: 'namespace' },
82
- * );
79
+ * const connection = await client.connections.set(
80
+ * 'connectionId',
81
+ * { namespace: 'namespace' },
82
+ * );
83
83
  * ```
84
84
  */
85
85
  set(connectionID, params, options) {
@@ -87,4 +87,5 @@ export class Connections extends APIResource {
87
87
  return this._client.put(path `/connect/${namespace}/${connectionID}`, { body, ...options });
88
88
  }
89
89
  }
90
+ Connections.Mcp = Mcp;
90
91
  //# sourceMappingURL=connections.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"connections.mjs","sourceRoot":"","sources":["../../src/resources/connections/connections.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OACf,KAAK,MAAM;OACX,EAAmC,GAAG,EAAiB;OAGvD,EAAE,IAAI,EAAE;AAEf,MAAM,OAAO,WAAY,SAAQ,WAAW;IAA5C;;QACE,QAAG,GAAe,IAAI,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IA4FjD,CAAC;IA1FC;;;;;;;;;;;OAWG;IAC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,CAAC,GAAG,GAAG,GAAG,CAAC"}
@@ -1,4 +1,3 @@
1
- export { Connect } from "./connect.mjs";
2
1
  export { Connections, type Connection, type ConnectionsListResponse, type CreateConnectionRequest, type ConnectionDeleteResponse, type ConnectionCreateParams, type ConnectionListParams, type ConnectionDeleteParams, type ConnectionGetParams, type ConnectionSetParams, } from "./connections.mjs";
3
2
  export { Mcp, type JsonRpcRequest, type JsonRpcResponse, type McpCallParams } from "./mcp.mjs";
4
3
  //# sourceMappingURL=index.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/connections/index.ts"],"names":[],"mappings":"OAEO,EACL,WAAW,EACX,KAAK,UAAU,EACf,KAAK,uBAAuB,EAC5B,KAAK,uBAAuB,EAC5B,KAAK,wBAAwB,EAC7B,KAAK,sBAAsB,EAC3B,KAAK,oBAAoB,EACzB,KAAK,sBAAsB,EAC3B,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,GACzB;OACM,EAAE,GAAG,EAAE,KAAK,cAAc,EAAE,KAAK,eAAe,EAAE,KAAK,aAAa,EAAE"}
@@ -1,4 +1,3 @@
1
- export { Connect } from "./connect.js";
2
1
  export { Connections, type Connection, type ConnectionsListResponse, type CreateConnectionRequest, type ConnectionDeleteResponse, type ConnectionCreateParams, type ConnectionListParams, type ConnectionDeleteParams, type ConnectionGetParams, type ConnectionSetParams, } from "./connections.js";
3
2
  export { Mcp, type JsonRpcRequest, type JsonRpcResponse, type McpCallParams } from "./mcp.js";
4
3
  //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/connections/index.ts"],"names":[],"mappings":"OAEO,EACL,WAAW,EACX,KAAK,UAAU,EACf,KAAK,uBAAuB,EAC5B,KAAK,uBAAuB,EAC5B,KAAK,wBAAwB,EAC7B,KAAK,sBAAsB,EAC3B,KAAK,oBAAoB,EACzB,KAAK,sBAAsB,EAC3B,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,GACzB;OACM,EAAE,GAAG,EAAE,KAAK,cAAc,EAAE,KAAK,eAAe,EAAE,KAAK,aAAa,EAAE"}
@@ -1,9 +1,7 @@
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.Mcp = exports.Connections = exports.Connect = void 0;
5
- var connect_1 = require("./connect.js");
6
- Object.defineProperty(exports, "Connect", { enumerable: true, get: function () { return connect_1.Connect; } });
4
+ exports.Mcp = exports.Connections = void 0;
7
5
  var connections_1 = require("./connections.js");
8
6
  Object.defineProperty(exports, "Connections", { enumerable: true, get: function () { return connections_1.Connections; } });
9
7
  var mcp_1 = require("./mcp.js");
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/connections/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,gDAWuB;AAVrB,0GAAA,WAAW,OAAA;AAWb,gCAA2F;AAAlF,0FAAA,GAAG,OAAA"}
@@ -1,5 +1,4 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
- export { Connect } from "./connect.mjs";
3
2
  export { Connections, } from "./connections.mjs";
4
3
  export { Mcp } from "./mcp.mjs";
5
4
  //# sourceMappingURL=index.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/connections/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EACL,WAAW,GAUZ;OACM,EAAE,GAAG,EAAiE"}
@@ -1,6 +1,6 @@
1
- import { APIResource } from "../../../core/resource.mjs";
2
- import { APIPromise } from "../../../core/api-promise.mjs";
3
- import { RequestOptions } from "../../../internal/request-options.mjs";
1
+ import { APIResource } from "../../core/resource.mjs";
2
+ import { APIPromise } from "../../core/api-promise.mjs";
3
+ import { RequestOptions } from "../../internal/request-options.mjs";
4
4
  export declare class Mcp extends APIResource {
5
5
  /**
6
6
  * Stateless MCP endpoint using Streamable HTTP transport. Accepts JSON-RPC
@@ -10,11 +10,10 @@ export declare class Mcp extends APIResource {
10
10
  *
11
11
  * @example
12
12
  * ```ts
13
- * const jsonRpcResponse =
14
- * await client.experimental.connect.mcp.call(
15
- * 'connectionId',
16
- * { namespace: 'namespace' },
17
- * );
13
+ * const jsonRpcResponse = await client.connections.mcp.call(
14
+ * 'connectionId',
15
+ * { namespace: 'namespace' },
16
+ * );
18
17
  * ```
19
18
  */
20
19
  call(connectionID: string, params: McpCallParams, options?: RequestOptions): APIPromise<JsonRpcResponse>;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mcp.d.mts","sourceRoot":"","sources":["../../src/resources/connections/mcp.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB,qBAAa,GAAI,SAAQ,WAAW;IAClC;;;;;;;;;;;;;OAaG;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,SAAS,EAAE,MAAM,CAAC;CACnB;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,6 +1,6 @@
1
- import { APIResource } from "../../../core/resource.js";
2
- import { APIPromise } from "../../../core/api-promise.js";
3
- import { RequestOptions } from "../../../internal/request-options.js";
1
+ import { APIResource } from "../../core/resource.js";
2
+ import { APIPromise } from "../../core/api-promise.js";
3
+ import { RequestOptions } from "../../internal/request-options.js";
4
4
  export declare class Mcp extends APIResource {
5
5
  /**
6
6
  * Stateless MCP endpoint using Streamable HTTP transport. Accepts JSON-RPC
@@ -10,11 +10,10 @@ export declare class Mcp extends APIResource {
10
10
  *
11
11
  * @example
12
12
  * ```ts
13
- * const jsonRpcResponse =
14
- * await client.experimental.connect.mcp.call(
15
- * 'connectionId',
16
- * { namespace: 'namespace' },
17
- * );
13
+ * const jsonRpcResponse = await client.connections.mcp.call(
14
+ * 'connectionId',
15
+ * { namespace: 'namespace' },
16
+ * );
18
17
  * ```
19
18
  */
20
19
  call(connectionID: string, params: McpCallParams, options?: RequestOptions): APIPromise<JsonRpcResponse>;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mcp.d.ts","sourceRoot":"","sources":["../../src/resources/connections/mcp.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB,qBAAa,GAAI,SAAQ,WAAW;IAClC;;;;;;;;;;;;;OAaG;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,SAAS,EAAE,MAAM,CAAC;CACnB;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"}
@@ -2,8 +2,8 @@
2
2
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
  exports.Mcp = void 0;
5
- const resource_1 = require("../../../core/resource.js");
6
- const path_1 = require("../../../internal/utils/path.js");
5
+ const resource_1 = require("../../core/resource.js");
6
+ const path_1 = require("../../internal/utils/path.js");
7
7
  class Mcp extends resource_1.APIResource {
8
8
  /**
9
9
  * Stateless MCP endpoint using Streamable HTTP transport. Accepts JSON-RPC
@@ -13,11 +13,10 @@ class Mcp extends resource_1.APIResource {
13
13
  *
14
14
  * @example
15
15
  * ```ts
16
- * const jsonRpcResponse =
17
- * await client.experimental.connect.mcp.call(
18
- * 'connectionId',
19
- * { namespace: 'namespace' },
20
- * );
16
+ * const jsonRpcResponse = await client.connections.mcp.call(
17
+ * 'connectionId',
18
+ * { namespace: 'namespace' },
19
+ * );
21
20
  * ```
22
21
  */
23
22
  call(connectionID, params, options) {
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mcp.js","sourceRoot":"","sources":["../../src/resources/connections/mcp.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qDAAkD;AAGlD,uDAAiD;AAEjD,MAAa,GAAI,SAAQ,sBAAW;IAClC;;;;;;;;;;;;;OAaG;IACH,IAAI,CAAC,YAAoB,EAAE,MAAqB,EAAE,OAAwB;QACxE,MAAM,EAAE,SAAS,EAAE,GAAG,MAAM,CAAC;QAC7B,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAA,WAAI,EAAA,YAAY,SAAS,IAAI,YAAY,MAAM,EAAE,OAAO,CAAC,CAAC;IACrF,CAAC;CACF;AAnBD,kBAmBC"}
@@ -1,6 +1,6 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
- import { APIResource } from "../../../core/resource.mjs";
3
- import { path } from "../../../internal/utils/path.mjs";
2
+ import { APIResource } from "../../core/resource.mjs";
3
+ import { path } from "../../internal/utils/path.mjs";
4
4
  export class Mcp extends APIResource {
5
5
  /**
6
6
  * Stateless MCP endpoint using Streamable HTTP transport. Accepts JSON-RPC
@@ -10,11 +10,10 @@ export class Mcp extends APIResource {
10
10
  *
11
11
  * @example
12
12
  * ```ts
13
- * const jsonRpcResponse =
14
- * await client.experimental.connect.mcp.call(
15
- * 'connectionId',
16
- * { namespace: 'namespace' },
17
- * );
13
+ * const jsonRpcResponse = await client.connections.mcp.call(
14
+ * 'connectionId',
15
+ * { namespace: 'namespace' },
16
+ * );
18
17
  * ```
19
18
  */
20
19
  call(connectionID, params, options) {
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mcp.mjs","sourceRoot":"","sources":["../../src/resources/connections/mcp.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAGf,EAAE,IAAI,EAAE;AAEf,MAAM,OAAO,GAAI,SAAQ,WAAW;IAClC;;;;;;;;;;;;;OAaG;IACH,IAAI,CAAC,YAAoB,EAAE,MAAqB,EAAE,OAAwB;QACxE,MAAM,EAAE,SAAS,EAAE,GAAG,MAAM,CAAC;QAC7B,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAA,YAAY,SAAS,IAAI,YAAY,MAAM,EAAE,OAAO,CAAC,CAAC;IACrF,CAAC;CACF"}
@@ -0,0 +1,2 @@
1
+ export * from "./connections/index.mjs";
2
+ //# sourceMappingURL=connections.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"connections.d.mts","sourceRoot":"","sources":["../src/resources/connections.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export * from "./connections/index.js";
2
+ //# sourceMappingURL=connections.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"connections.d.ts","sourceRoot":"","sources":["../src/resources/connections.ts"],"names":[],"mappings":""}
@@ -2,5 +2,5 @@
2
2
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
  const tslib_1 = require("../internal/tslib.js");
5
- tslib_1.__exportStar(require("./experimental/index.js"), exports);
6
- //# sourceMappingURL=experimental.js.map
5
+ tslib_1.__exportStar(require("./connections/index.js"), exports);
6
+ //# sourceMappingURL=connections.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"connections.js","sourceRoot":"","sources":["../src/resources/connections.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,iEAAoC"}
@@ -1,3 +1,3 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
-
3
- export * from './experimental/index';
2
+ export * from "./connections/index.mjs";
3
+ //# sourceMappingURL=connections.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"connections.mjs","sourceRoot":"","sources":["../src/resources/connections.ts"],"names":[],"mappings":"AAAA,sFAAsF"}
@@ -1,4 +1,4 @@
1
- export { Experimental } from "./experimental/experimental.mjs";
1
+ export { Connections, type Connection, type ConnectionsListResponse, type CreateConnectionRequest, type ConnectionDeleteResponse, type ConnectionCreateParams, type ConnectionListParams, type ConnectionDeleteParams, type ConnectionGetParams, type ConnectionSetParams, } from "./connections/connections.mjs";
2
2
  export { Health, type HealthCheckResponse } from "./health.mjs";
3
3
  export { Namespaces, type NamespaceCreateResponse, type NamespaceListResponse, type NamespaceDeleteResponse, type NamespaceSetResponse, type NamespaceListParams, type NamespaceListResponsesNamespacesPage, } from "./namespaces/namespaces.mjs";
4
4
  export { Servers, type BuildConfig, type DeploymentTarget, type ProjectConfig, type ServerCreateResponse, type ServerUpdateResponse, type ServerListResponse, type ServerDeleteResponse, type ServerCreateByNamespaceResponse, type ServerGetResponse, type ServerGetByNamespaceResponse, type ServerUpdateByNamespaceResponse, type ServerCreateParams, type ServerUpdateParams, type ServerListParams, type ServerDeleteParams, type ServerCreateByNamespaceParams, type ServerDownloadParams, type ServerGetParams, type ServerUpdateByNamespaceParams, type ServerListResponsesSmitheryPage, } from "./servers/servers.mjs";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"OAEO,EAAE,YAAY,EAAE;OAChB,EAAE,MAAM,EAAE,KAAK,mBAAmB,EAAE;OACpC,EACL,UAAU,EACV,KAAK,uBAAuB,EAC5B,KAAK,qBAAqB,EAC1B,KAAK,uBAAuB,EAC5B,KAAK,oBAAoB,EACzB,KAAK,mBAAmB,EACxB,KAAK,oCAAoC,GAC1C;OACM,EACL,OAAO,EACP,KAAK,WAAW,EAChB,KAAK,gBAAgB,EACrB,KAAK,aAAa,EAClB,KAAK,oBAAoB,EACzB,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,oBAAoB,EACzB,KAAK,+BAA+B,EACpC,KAAK,iBAAiB,EACtB,KAAK,4BAA4B,EACjC,KAAK,+BAA+B,EACpC,KAAK,kBAAkB,EACvB,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,EACrB,KAAK,kBAAkB,EACvB,KAAK,6BAA6B,EAClC,KAAK,oBAAoB,EACzB,KAAK,eAAe,EACpB,KAAK,6BAA6B,EAClC,KAAK,+BAA+B,GACrC;OACM,EACL,MAAM,EACN,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EACxB,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,EACrB,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,EACtB,KAAK,eAAe,EACpB,KAAK,iBAAiB,EACtB,KAAK,cAAc,EACnB,KAAK,cAAc,EACnB,KAAK,eAAe,EACpB,KAAK,4BAA4B,GAClC;OACM,EACL,MAAM,EACN,KAAK,UAAU,EACf,KAAK,kBAAkB,EACvB,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,GACvB;OACM,EAAE,MAAM,EAAE,KAAK,yBAAyB,EAAE"}
1
+ {"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"OAEO,EACL,WAAW,EACX,KAAK,UAAU,EACf,KAAK,uBAAuB,EAC5B,KAAK,uBAAuB,EAC5B,KAAK,wBAAwB,EAC7B,KAAK,sBAAsB,EAC3B,KAAK,oBAAoB,EACzB,KAAK,sBAAsB,EAC3B,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,GACzB;OACM,EAAE,MAAM,EAAE,KAAK,mBAAmB,EAAE;OACpC,EACL,UAAU,EACV,KAAK,uBAAuB,EAC5B,KAAK,qBAAqB,EAC1B,KAAK,uBAAuB,EAC5B,KAAK,oBAAoB,EACzB,KAAK,mBAAmB,EACxB,KAAK,oCAAoC,GAC1C;OACM,EACL,OAAO,EACP,KAAK,WAAW,EAChB,KAAK,gBAAgB,EACrB,KAAK,aAAa,EAClB,KAAK,oBAAoB,EACzB,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,oBAAoB,EACzB,KAAK,+BAA+B,EACpC,KAAK,iBAAiB,EACtB,KAAK,4BAA4B,EACjC,KAAK,+BAA+B,EACpC,KAAK,kBAAkB,EACvB,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,EACrB,KAAK,kBAAkB,EACvB,KAAK,6BAA6B,EAClC,KAAK,oBAAoB,EACzB,KAAK,eAAe,EACpB,KAAK,6BAA6B,EAClC,KAAK,+BAA+B,GACrC;OACM,EACL,MAAM,EACN,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EACxB,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,EACrB,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,EACtB,KAAK,eAAe,EACpB,KAAK,iBAAiB,EACtB,KAAK,cAAc,EACnB,KAAK,cAAc,EACnB,KAAK,eAAe,EACpB,KAAK,4BAA4B,GAClC;OACM,EACL,MAAM,EACN,KAAK,UAAU,EACf,KAAK,kBAAkB,EACvB,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,GACvB;OACM,EAAE,MAAM,EAAE,KAAK,yBAAyB,EAAE"}
@@ -1,4 +1,4 @@
1
- export { Experimental } from "./experimental/experimental.js";
1
+ export { Connections, type Connection, type ConnectionsListResponse, type CreateConnectionRequest, type ConnectionDeleteResponse, type ConnectionCreateParams, type ConnectionListParams, type ConnectionDeleteParams, type ConnectionGetParams, type ConnectionSetParams, } from "./connections/connections.js";
2
2
  export { Health, type HealthCheckResponse } from "./health.js";
3
3
  export { Namespaces, type NamespaceCreateResponse, type NamespaceListResponse, type NamespaceDeleteResponse, type NamespaceSetResponse, type NamespaceListParams, type NamespaceListResponsesNamespacesPage, } from "./namespaces/namespaces.js";
4
4
  export { Servers, type BuildConfig, type DeploymentTarget, type ProjectConfig, type ServerCreateResponse, type ServerUpdateResponse, type ServerListResponse, type ServerDeleteResponse, type ServerCreateByNamespaceResponse, type ServerGetResponse, type ServerGetByNamespaceResponse, type ServerUpdateByNamespaceResponse, type ServerCreateParams, type ServerUpdateParams, type ServerListParams, type ServerDeleteParams, type ServerCreateByNamespaceParams, type ServerDownloadParams, type ServerGetParams, type ServerUpdateByNamespaceParams, type ServerListResponsesSmitheryPage, } from "./servers/servers.js";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"OAEO,EAAE,YAAY,EAAE;OAChB,EAAE,MAAM,EAAE,KAAK,mBAAmB,EAAE;OACpC,EACL,UAAU,EACV,KAAK,uBAAuB,EAC5B,KAAK,qBAAqB,EAC1B,KAAK,uBAAuB,EAC5B,KAAK,oBAAoB,EACzB,KAAK,mBAAmB,EACxB,KAAK,oCAAoC,GAC1C;OACM,EACL,OAAO,EACP,KAAK,WAAW,EAChB,KAAK,gBAAgB,EACrB,KAAK,aAAa,EAClB,KAAK,oBAAoB,EACzB,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,oBAAoB,EACzB,KAAK,+BAA+B,EACpC,KAAK,iBAAiB,EACtB,KAAK,4BAA4B,EACjC,KAAK,+BAA+B,EACpC,KAAK,kBAAkB,EACvB,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,EACrB,KAAK,kBAAkB,EACvB,KAAK,6BAA6B,EAClC,KAAK,oBAAoB,EACzB,KAAK,eAAe,EACpB,KAAK,6BAA6B,EAClC,KAAK,+BAA+B,GACrC;OACM,EACL,MAAM,EACN,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EACxB,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,EACrB,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,EACtB,KAAK,eAAe,EACpB,KAAK,iBAAiB,EACtB,KAAK,cAAc,EACnB,KAAK,cAAc,EACnB,KAAK,eAAe,EACpB,KAAK,4BAA4B,GAClC;OACM,EACL,MAAM,EACN,KAAK,UAAU,EACf,KAAK,kBAAkB,EACvB,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,GACvB;OACM,EAAE,MAAM,EAAE,KAAK,yBAAyB,EAAE"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"OAEO,EACL,WAAW,EACX,KAAK,UAAU,EACf,KAAK,uBAAuB,EAC5B,KAAK,uBAAuB,EAC5B,KAAK,wBAAwB,EAC7B,KAAK,sBAAsB,EAC3B,KAAK,oBAAoB,EACzB,KAAK,sBAAsB,EAC3B,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,GACzB;OACM,EAAE,MAAM,EAAE,KAAK,mBAAmB,EAAE;OACpC,EACL,UAAU,EACV,KAAK,uBAAuB,EAC5B,KAAK,qBAAqB,EAC1B,KAAK,uBAAuB,EAC5B,KAAK,oBAAoB,EACzB,KAAK,mBAAmB,EACxB,KAAK,oCAAoC,GAC1C;OACM,EACL,OAAO,EACP,KAAK,WAAW,EAChB,KAAK,gBAAgB,EACrB,KAAK,aAAa,EAClB,KAAK,oBAAoB,EACzB,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,oBAAoB,EACzB,KAAK,+BAA+B,EACpC,KAAK,iBAAiB,EACtB,KAAK,4BAA4B,EACjC,KAAK,+BAA+B,EACpC,KAAK,kBAAkB,EACvB,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,EACrB,KAAK,kBAAkB,EACvB,KAAK,6BAA6B,EAClC,KAAK,oBAAoB,EACzB,KAAK,eAAe,EACpB,KAAK,6BAA6B,EAClC,KAAK,+BAA+B,GACrC;OACM,EACL,MAAM,EACN,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EACxB,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,EACrB,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,EACtB,KAAK,eAAe,EACpB,KAAK,iBAAiB,EACtB,KAAK,cAAc,EACnB,KAAK,cAAc,EACnB,KAAK,eAAe,EACpB,KAAK,4BAA4B,GAClC;OACM,EACL,MAAM,EACN,KAAK,UAAU,EACf,KAAK,kBAAkB,EACvB,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,GACvB;OACM,EAAE,MAAM,EAAE,KAAK,yBAAyB,EAAE"}
@@ -1,9 +1,9 @@
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.Uplink = exports.Tokens = exports.Skills = exports.Servers = exports.Namespaces = exports.Health = exports.Experimental = void 0;
5
- var experimental_1 = require("./experimental/experimental.js");
6
- Object.defineProperty(exports, "Experimental", { enumerable: true, get: function () { return experimental_1.Experimental; } });
4
+ exports.Uplink = exports.Tokens = exports.Skills = exports.Servers = exports.Namespaces = exports.Health = exports.Connections = void 0;
5
+ var connections_1 = require("./connections/connections.js");
6
+ Object.defineProperty(exports, "Connections", { enumerable: true, get: function () { return connections_1.Connections; } });
7
7
  var health_1 = require("./health.js");
8
8
  Object.defineProperty(exports, "Health", { enumerable: true, get: function () { return health_1.Health; } });
9
9
  var namespaces_1 = require("./namespaces/namespaces.js");
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,+DAA2D;AAAlD,4GAAA,YAAY,OAAA;AACrB,sCAA4D;AAAnD,gGAAA,MAAM,OAAA;AACf,yDAQiC;AAP/B,wGAAA,UAAU,OAAA;AAQZ,gDAsB2B;AArBzB,kGAAA,OAAO,OAAA;AAsBT,6CAeyB;AAdvB,gGAAA,MAAM,OAAA;AAeR,sCAMkB;AALhB,gGAAA,MAAM,OAAA;AAMR,sCAAkE;AAAzD,gGAAA,MAAM,OAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,4DAWmC;AAVjC,0GAAA,WAAW,OAAA;AAWb,sCAA4D;AAAnD,gGAAA,MAAM,OAAA;AACf,yDAQiC;AAP/B,wGAAA,UAAU,OAAA;AAQZ,gDAsB2B;AArBzB,kGAAA,OAAO,OAAA;AAsBT,6CAeyB;AAdvB,gGAAA,MAAM,OAAA;AAeR,sCAMkB;AALhB,gGAAA,MAAM,OAAA;AAMR,sCAAkE;AAAzD,gGAAA,MAAM,OAAA"}
@@ -1,5 +1,5 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
- export { Experimental } from "./experimental/experimental.mjs";
2
+ export { Connections, } from "./connections/connections.mjs";
3
3
  export { Health } from "./health.mjs";
4
4
  export { Namespaces, } from "./namespaces/namespaces.mjs";
5
5
  export { Servers, } from "./servers/servers.mjs";
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,YAAY,EAAE;OAChB,EAAE,MAAM,EAA4B;OACpC,EACL,UAAU,GAOX;OACM,EACL,OAAO,GAqBR;OACM,EACL,MAAM,GAcP;OACM,EACL,MAAM,GAKP;OACM,EAAE,MAAM,EAAkC"}
1
+ {"version":3,"file":"index.mjs","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EACL,WAAW,GAUZ;OACM,EAAE,MAAM,EAA4B;OACpC,EACL,UAAU,GAOX;OACM,EACL,OAAO,GAqBR;OACM,EACL,MAAM,GAcP;OACM,EACL,MAAM,GAKP;OACM,EAAE,MAAM,EAAkC"}