@smithery/api 0.46.0 → 0.47.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 (85) hide show
  1. package/CHANGELOG.md +9 -0
  2. package/README.md +5 -10
  3. package/client.d.mts +2 -2
  4. package/client.d.mts.map +1 -1
  5. package/client.d.ts +2 -2
  6. package/client.d.ts.map +1 -1
  7. package/client.js.map +1 -1
  8. package/client.mjs.map +1 -1
  9. package/package.json +1 -1
  10. package/resources/index.d.mts +1 -1
  11. package/resources/index.d.mts.map +1 -1
  12. package/resources/index.d.ts +1 -1
  13. package/resources/index.d.ts.map +1 -1
  14. package/resources/index.js.map +1 -1
  15. package/resources/index.mjs.map +1 -1
  16. package/resources/servers/deployments.d.mts +61 -309
  17. package/resources/servers/deployments.d.mts.map +1 -1
  18. package/resources/servers/deployments.d.ts +61 -309
  19. package/resources/servers/deployments.d.ts.map +1 -1
  20. package/resources/servers/deployments.js +25 -112
  21. package/resources/servers/deployments.js.map +1 -1
  22. package/resources/servers/deployments.mjs +25 -112
  23. package/resources/servers/deployments.mjs.map +1 -1
  24. package/resources/servers/domains.d.mts +176 -0
  25. package/resources/servers/domains.d.mts.map +1 -0
  26. package/resources/servers/domains.d.ts +176 -0
  27. package/resources/servers/domains.d.ts.map +1 -0
  28. package/resources/servers/domains.js +67 -0
  29. package/resources/servers/domains.js.map +1 -0
  30. package/resources/servers/domains.mjs +63 -0
  31. package/resources/servers/domains.mjs.map +1 -0
  32. package/resources/servers/index.d.mts +6 -5
  33. package/resources/servers/index.d.mts.map +1 -1
  34. package/resources/servers/index.d.ts +6 -5
  35. package/resources/servers/index.d.ts.map +1 -1
  36. package/resources/servers/index.js +3 -1
  37. package/resources/servers/index.js.map +1 -1
  38. package/resources/servers/index.mjs +2 -1
  39. package/resources/servers/index.mjs.map +1 -1
  40. package/resources/servers/logs.d.mts +5 -79
  41. package/resources/servers/logs.d.mts.map +1 -1
  42. package/resources/servers/logs.d.ts +5 -79
  43. package/resources/servers/logs.d.ts.map +1 -1
  44. package/resources/servers/logs.js +5 -21
  45. package/resources/servers/logs.js.map +1 -1
  46. package/resources/servers/logs.mjs +5 -21
  47. package/resources/servers/logs.mjs.map +1 -1
  48. package/resources/servers/repo.d.mts +13 -103
  49. package/resources/servers/repo.d.mts.map +1 -1
  50. package/resources/servers/repo.d.ts +13 -103
  51. package/resources/servers/repo.d.ts.map +1 -1
  52. package/resources/servers/repo.js +15 -61
  53. package/resources/servers/repo.js.map +1 -1
  54. package/resources/servers/repo.mjs +15 -61
  55. package/resources/servers/repo.mjs.map +1 -1
  56. package/resources/servers/secrets.d.mts +14 -85
  57. package/resources/servers/secrets.d.mts.map +1 -1
  58. package/resources/servers/secrets.d.ts +14 -85
  59. package/resources/servers/secrets.d.ts.map +1 -1
  60. package/resources/servers/secrets.js +13 -63
  61. package/resources/servers/secrets.js.map +1 -1
  62. package/resources/servers/secrets.mjs +13 -63
  63. package/resources/servers/secrets.mjs.map +1 -1
  64. package/resources/servers/servers.d.mts +30 -182
  65. package/resources/servers/servers.d.mts.map +1 -1
  66. package/resources/servers/servers.d.ts +30 -182
  67. package/resources/servers/servers.d.ts.map +1 -1
  68. package/resources/servers/servers.js +26 -79
  69. package/resources/servers/servers.js.map +1 -1
  70. package/resources/servers/servers.mjs +28 -81
  71. package/resources/servers/servers.mjs.map +1 -1
  72. package/src/client.ts +0 -16
  73. package/src/resources/index.ts +0 -8
  74. package/src/resources/servers/deployments.ts +69 -425
  75. package/src/resources/servers/domains.ts +270 -0
  76. package/src/resources/servers/index.ts +10 -36
  77. package/src/resources/servers/logs.ts +9 -118
  78. package/src/resources/servers/repo.ts +15 -150
  79. package/src/resources/servers/secrets.ts +17 -126
  80. package/src/resources/servers/servers.ts +51 -319
  81. package/src/version.ts +1 -1
  82. package/version.d.mts +1 -1
  83. package/version.d.ts +1 -1
  84. package/version.js +1 -1
  85. package/version.mjs +1 -1
@@ -8,167 +8,80 @@ const uploads_1 = require("../../internal/uploads.js");
8
8
  const path_1 = require("../../internal/utils/path.js");
9
9
  class Deployments extends resource_1.APIResource {
10
10
  /**
11
- * List all deployments for a server, ordered by most recent first. Does not
12
- * include deployment logs — fetch a specific deployment to see logs.
11
+ * List releases ordered by most recent first. Logs are omitted — fetch a specific
12
+ * release to see logs.
13
13
  *
14
14
  * @example
15
15
  * ```ts
16
16
  * const deployments = await client.servers.deployments.list(
17
- * 'server',
18
- * { namespace: 'namespace' },
17
+ * 'qualifiedName',
19
18
  * );
20
19
  * ```
21
20
  */
22
- list(server, params, options) {
23
- const { namespace } = params;
24
- return this._client.get((0, path_1.path) `/servers/${namespace}/${server}/deployments`, options);
21
+ list(qualifiedName, options) {
22
+ return this._client.get((0, path_1.path) `/servers/${qualifiedName}/deployments`, options);
25
23
  }
26
24
  /**
27
- * Deploy an MCP server via multipart form. Supports hosted deployments (upload a
28
- * JS module), external deployments (register a URL), stdio deployments (upload an
29
- * MCPB bundle), and repo deployments (build from a connected GitHub repository).
25
+ * Submit a release via multipart form. Supports hosted (JS module upload),
26
+ * external (URL), stdio (MCPB bundle), and repo (GitHub build) release types.
30
27
  *
31
28
  * @example
32
29
  * ```ts
33
30
  * const response = await client.servers.deployments.deploy(
34
- * 'server',
35
- * { namespace: 'namespace', payload: 'payload' },
31
+ * 'qualifiedName',
32
+ * { payload: 'payload' },
36
33
  * );
37
34
  * ```
38
35
  */
39
- deploy(server, params, options) {
40
- const { namespace, ...body } = params;
41
- return this._client.put((0, path_1.path) `/servers/${namespace}/${server}/deployments`, (0, uploads_1.multipartFormRequestOptions)({ body, ...options }, this._client));
36
+ deploy(qualifiedName, body, options) {
37
+ return this._client.put((0, path_1.path) `/servers/${qualifiedName}/deployments`, (0, uploads_1.multipartFormRequestOptions)({ body, ...options }, this._client));
42
38
  }
43
39
  /**
44
- * Deploy an MCP server via multipart form. Supports hosted deployments (upload a
45
- * JS module), external deployments (register a URL), stdio deployments (upload an
46
- * MCPB bundle), and repo deployments (build from a connected GitHub repository).
47
- *
48
- * @example
49
- * ```ts
50
- * const response =
51
- * await client.servers.deployments.deployByNamespace(
52
- * 'namespace',
53
- * { payload: 'payload' },
54
- * );
55
- * ```
56
- */
57
- deployByNamespace(namespace, body, options) {
58
- return this._client.put((0, path_1.path) `/servers/${namespace}/deployments`, (0, uploads_1.multipartFormRequestOptions)({ body, ...options }, this._client));
59
- }
60
- /**
61
- * Get full details for a specific deployment, including status, type, git
62
- * metadata, pipeline logs, and MCP endpoint URL.
40
+ * Retrieve release details including status, git metadata, pipeline logs, and MCP
41
+ * endpoint URL.
63
42
  *
64
43
  * @example
65
44
  * ```ts
66
45
  * const deployment = await client.servers.deployments.get(
67
46
  * 'id',
68
- * { namespace: 'namespace', server: 'server' },
47
+ * { qualifiedName: 'qualifiedName' },
69
48
  * );
70
49
  * ```
71
50
  */
72
51
  get(id, params, options) {
73
- const { namespace, server } = params;
74
- return this._client.get((0, path_1.path) `/servers/${namespace}/${server}/deployments/${id}`, options);
75
- }
76
- /**
77
- * Get full details for a specific deployment, including status, type, git
78
- * metadata, pipeline logs, and MCP endpoint URL.
79
- *
80
- * @example
81
- * ```ts
82
- * const response =
83
- * await client.servers.deployments.getByNamespace('id', {
84
- * namespace: 'namespace',
85
- * });
86
- * ```
87
- */
88
- getByNamespace(id, params, options) {
89
- const { namespace } = params;
90
- return this._client.get((0, path_1.path) `/servers/${namespace}/deployments/${id}`, options);
52
+ const { qualifiedName } = params;
53
+ return this._client.get((0, path_1.path) `/servers/${qualifiedName}/deployments/${id}`, options);
91
54
  }
92
55
  /**
93
- * List all deployments for a server, ordered by most recent first. Does not
94
- * include deployment logs fetch a specific deployment to see logs.
95
- *
96
- * @example
97
- * ```ts
98
- * const response =
99
- * await client.servers.deployments.listByNamespace(
100
- * 'namespace',
101
- * );
102
- * ```
103
- */
104
- listByNamespace(namespace, options) {
105
- return this._client.get((0, path_1.path) `/servers/${namespace}/deployments`, options);
106
- }
107
- /**
108
- * Use id='latest' to resume the most recent deployment
56
+ * Resume a paused release (e.g. after OAuth authorization). Use id='latest' to
57
+ * resume the most recent one.
109
58
  *
110
59
  * @example
111
60
  * ```ts
112
61
  * const response = await client.servers.deployments.resume(
113
62
  * 'id',
114
- * { namespace: 'namespace', server: 'server' },
63
+ * { qualifiedName: 'qualifiedName' },
115
64
  * );
116
65
  * ```
117
66
  */
118
67
  resume(id, params, options) {
119
- const { namespace, server } = params;
120
- return this._client.post((0, path_1.path) `/servers/${namespace}/${server}/deployments/${id}/resume`, options);
121
- }
122
- /**
123
- * Use id='latest' to resume the most recent deployment
124
- *
125
- * @example
126
- * ```ts
127
- * const response =
128
- * await client.servers.deployments.resumeByNamespace('id', {
129
- * namespace: 'namespace',
130
- * });
131
- * ```
132
- */
133
- resumeByNamespace(id, params, options) {
134
- const { namespace } = params;
135
- return this._client.post((0, path_1.path) `/servers/${namespace}/deployments/${id}/resume`, options);
68
+ const { qualifiedName } = params;
69
+ return this._client.post((0, path_1.path) `/servers/${qualifiedName}/deployments/${id}/resume`, options);
136
70
  }
137
71
  /**
138
- * Returns a real-time SSE stream of deployment logs and status updates. Connect to
139
- * this endpoint to receive live updates as the deployment progresses.
72
+ * Real-time SSE stream of release logs and status updates.
140
73
  *
141
74
  * @example
142
75
  * ```ts
143
76
  * const response = await client.servers.deployments.stream(
144
77
  * 'id',
145
- * { namespace: 'namespace', server: 'server' },
78
+ * { qualifiedName: 'qualifiedName' },
146
79
  * );
147
80
  * ```
148
81
  */
149
82
  stream(id, params, options) {
150
- const { namespace, server } = params;
151
- return this._client.get((0, path_1.path) `/servers/${namespace}/${server}/deployments/${id}/stream`, {
152
- ...options,
153
- headers: (0, headers_1.buildHeaders)([{ Accept: 'text/event-stream' }, options?.headers]),
154
- stream: true,
155
- });
156
- }
157
- /**
158
- * Returns a real-time SSE stream of deployment logs and status updates. Connect to
159
- * this endpoint to receive live updates as the deployment progresses.
160
- *
161
- * @example
162
- * ```ts
163
- * const response =
164
- * await client.servers.deployments.streamByNamespace('id', {
165
- * namespace: 'namespace',
166
- * });
167
- * ```
168
- */
169
- streamByNamespace(id, params, options) {
170
- const { namespace } = params;
171
- return this._client.get((0, path_1.path) `/servers/${namespace}/deployments/${id}/stream`, {
83
+ const { qualifiedName } = params;
84
+ return this._client.get((0, path_1.path) `/servers/${qualifiedName}/deployments/${id}/stream`, {
172
85
  ...options,
173
86
  headers: (0, headers_1.buildHeaders)([{ Accept: 'text/event-stream' }, options?.headers]),
174
87
  stream: true,
@@ -1 +1 @@
1
- {"version":3,"file":"deployments.js","sourceRoot":"","sources":["../../src/resources/servers/deployments.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qDAAkD;AAIlD,uDAAsD;AAEtD,uDAAqE;AACrE,uDAAiD;AAEjD,MAAa,WAAY,SAAQ,sBAAW;IAC1C;;;;;;;;;;;OAWG;IACH,IAAI,CACF,MAAc,EACd,MAA4B,EAC5B,OAAwB;QAExB,MAAM,EAAE,SAAS,EAAE,GAAG,MAAM,CAAC;QAC7B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,YAAY,SAAS,IAAI,MAAM,cAAc,EAAE,OAAO,CAAC,CAAC;IACtF,CAAC;IAED;;;;;;;;;;;;OAYG;IACH,MAAM,CACJ,MAAc,EACd,MAA8B,EAC9B,OAAwB;QAExB,MAAM,EAAE,SAAS,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;QACtC,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CACrB,IAAA,WAAI,EAAA,YAAY,SAAS,IAAI,MAAM,cAAc,EACjD,IAAA,qCAA2B,EAAC,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,EAAE,IAAI,CAAC,OAAO,CAAC,CAChE,CAAC;IACJ,CAAC;IAED;;;;;;;;;;;;;OAaG;IACH,iBAAiB,CACf,SAAiB,EACjB,IAAuC,EACvC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CACrB,IAAA,WAAI,EAAA,Y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,MAAM,EAAE,mBAAmB,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;YAC1E,MAAM,EAAE,IAAI;SACb,CAAiD,CAAC;IACrD,CAAC;CACF;AApGD,kCAoGC"}
@@ -5,167 +5,80 @@ import { multipartFormRequestOptions } from "../../internal/uploads.mjs";
5
5
  import { path } from "../../internal/utils/path.mjs";
6
6
  export class Deployments extends APIResource {
7
7
  /**
8
- * List all deployments for a server, ordered by most recent first. Does not
9
- * include deployment logs — fetch a specific deployment to see logs.
8
+ * List releases ordered by most recent first. Logs are omitted — fetch a specific
9
+ * release to see logs.
10
10
  *
11
11
  * @example
12
12
  * ```ts
13
13
  * const deployments = await client.servers.deployments.list(
14
- * 'server',
15
- * { namespace: 'namespace' },
14
+ * 'qualifiedName',
16
15
  * );
17
16
  * ```
18
17
  */
19
- list(server, params, options) {
20
- const { namespace } = params;
21
- return this._client.get(path `/servers/${namespace}/${server}/deployments`, options);
18
+ list(qualifiedName, options) {
19
+ return this._client.get(path `/servers/${qualifiedName}/deployments`, options);
22
20
  }
23
21
  /**
24
- * Deploy an MCP server via multipart form. Supports hosted deployments (upload a
25
- * JS module), external deployments (register a URL), stdio deployments (upload an
26
- * MCPB bundle), and repo deployments (build from a connected GitHub repository).
22
+ * Submit a release via multipart form. Supports hosted (JS module upload),
23
+ * external (URL), stdio (MCPB bundle), and repo (GitHub build) release types.
27
24
  *
28
25
  * @example
29
26
  * ```ts
30
27
  * const response = await client.servers.deployments.deploy(
31
- * 'server',
32
- * { namespace: 'namespace', payload: 'payload' },
28
+ * 'qualifiedName',
29
+ * { payload: 'payload' },
33
30
  * );
34
31
  * ```
35
32
  */
36
- deploy(server, params, options) {
37
- const { namespace, ...body } = params;
38
- return this._client.put(path `/servers/${namespace}/${server}/deployments`, multipartFormRequestOptions({ body, ...options }, this._client));
33
+ deploy(qualifiedName, body, options) {
34
+ return this._client.put(path `/servers/${qualifiedName}/deployments`, multipartFormRequestOptions({ body, ...options }, this._client));
39
35
  }
40
36
  /**
41
- * Deploy an MCP server via multipart form. Supports hosted deployments (upload a
42
- * JS module), external deployments (register a URL), stdio deployments (upload an
43
- * MCPB bundle), and repo deployments (build from a connected GitHub repository).
44
- *
45
- * @example
46
- * ```ts
47
- * const response =
48
- * await client.servers.deployments.deployByNamespace(
49
- * 'namespace',
50
- * { payload: 'payload' },
51
- * );
52
- * ```
53
- */
54
- deployByNamespace(namespace, body, options) {
55
- return this._client.put(path `/servers/${namespace}/deployments`, multipartFormRequestOptions({ body, ...options }, this._client));
56
- }
57
- /**
58
- * Get full details for a specific deployment, including status, type, git
59
- * metadata, pipeline logs, and MCP endpoint URL.
37
+ * Retrieve release details including status, git metadata, pipeline logs, and MCP
38
+ * endpoint URL.
60
39
  *
61
40
  * @example
62
41
  * ```ts
63
42
  * const deployment = await client.servers.deployments.get(
64
43
  * 'id',
65
- * { namespace: 'namespace', server: 'server' },
44
+ * { qualifiedName: 'qualifiedName' },
66
45
  * );
67
46
  * ```
68
47
  */
69
48
  get(id, params, options) {
70
- const { namespace, server } = params;
71
- return this._client.get(path `/servers/${namespace}/${server}/deployments/${id}`, options);
72
- }
73
- /**
74
- * Get full details for a specific deployment, including status, type, git
75
- * metadata, pipeline logs, and MCP endpoint URL.
76
- *
77
- * @example
78
- * ```ts
79
- * const response =
80
- * await client.servers.deployments.getByNamespace('id', {
81
- * namespace: 'namespace',
82
- * });
83
- * ```
84
- */
85
- getByNamespace(id, params, options) {
86
- const { namespace } = params;
87
- return this._client.get(path `/servers/${namespace}/deployments/${id}`, options);
49
+ const { qualifiedName } = params;
50
+ return this._client.get(path `/servers/${qualifiedName}/deployments/${id}`, options);
88
51
  }
89
52
  /**
90
- * List all deployments for a server, ordered by most recent first. Does not
91
- * include deployment logs fetch a specific deployment to see logs.
92
- *
93
- * @example
94
- * ```ts
95
- * const response =
96
- * await client.servers.deployments.listByNamespace(
97
- * 'namespace',
98
- * );
99
- * ```
100
- */
101
- listByNamespace(namespace, options) {
102
- return this._client.get(path `/servers/${namespace}/deployments`, options);
103
- }
104
- /**
105
- * Use id='latest' to resume the most recent deployment
53
+ * Resume a paused release (e.g. after OAuth authorization). Use id='latest' to
54
+ * resume the most recent one.
106
55
  *
107
56
  * @example
108
57
  * ```ts
109
58
  * const response = await client.servers.deployments.resume(
110
59
  * 'id',
111
- * { namespace: 'namespace', server: 'server' },
60
+ * { qualifiedName: 'qualifiedName' },
112
61
  * );
113
62
  * ```
114
63
  */
115
64
  resume(id, params, options) {
116
- const { namespace, server } = params;
117
- return this._client.post(path `/servers/${namespace}/${server}/deployments/${id}/resume`, options);
118
- }
119
- /**
120
- * Use id='latest' to resume the most recent deployment
121
- *
122
- * @example
123
- * ```ts
124
- * const response =
125
- * await client.servers.deployments.resumeByNamespace('id', {
126
- * namespace: 'namespace',
127
- * });
128
- * ```
129
- */
130
- resumeByNamespace(id, params, options) {
131
- const { namespace } = params;
132
- return this._client.post(path `/servers/${namespace}/deployments/${id}/resume`, options);
65
+ const { qualifiedName } = params;
66
+ return this._client.post(path `/servers/${qualifiedName}/deployments/${id}/resume`, options);
133
67
  }
134
68
  /**
135
- * Returns a real-time SSE stream of deployment logs and status updates. Connect to
136
- * this endpoint to receive live updates as the deployment progresses.
69
+ * Real-time SSE stream of release logs and status updates.
137
70
  *
138
71
  * @example
139
72
  * ```ts
140
73
  * const response = await client.servers.deployments.stream(
141
74
  * 'id',
142
- * { namespace: 'namespace', server: 'server' },
75
+ * { qualifiedName: 'qualifiedName' },
143
76
  * );
144
77
  * ```
145
78
  */
146
79
  stream(id, params, options) {
147
- const { namespace, server } = params;
148
- return this._client.get(path `/servers/${namespace}/${server}/deployments/${id}/stream`, {
149
- ...options,
150
- headers: buildHeaders([{ Accept: 'text/event-stream' }, options?.headers]),
151
- stream: true,
152
- });
153
- }
154
- /**
155
- * Returns a real-time SSE stream of deployment logs and status updates. Connect to
156
- * this endpoint to receive live updates as the deployment progresses.
157
- *
158
- * @example
159
- * ```ts
160
- * const response =
161
- * await client.servers.deployments.streamByNamespace('id', {
162
- * namespace: 'namespace',
163
- * });
164
- * ```
165
- */
166
- streamByNamespace(id, params, options) {
167
- const { namespace } = params;
168
- return this._client.get(path `/servers/${namespace}/deployments/${id}/stream`, {
80
+ const { qualifiedName } = params;
81
+ return this._client.get(path `/servers/${qualifiedName}/deployments/${id}/stream`, {
169
82
  ...options,
170
83
  headers: buildHeaders([{ Accept: 'text/event-stream' }, options?.headers]),
171
84
  stream: true,
@@ -1 +1 @@
1
- {"version":3,"file":"deployments.mjs","sourceRoot":"","sources":["../../src/resources/servers/deployments.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAIf,EAAE,YAAY,EAAE;OAEhB,EAAE,2BAA2B,EAAE;OAC/B,EAAE,IAAI,EAAE;AAEf,MAAM,OAAO,WAAY,SAAQ,WAAW;IAC1C;;;;;;;;;;;OAWG;IACH,IAAI,CACF,MAAc,EACd,MAA4B,EAC5B,OAAwB;QAExB,MAAM,EAAE,SAAS,EAAE,GAAG,MAAM,CAAC;QAC7B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,YAAY,SAAS,IAAI,MAAM,cAAc,EAAE,OAAO,CAAC,CAAC;IACtF,CAAC;IAED;;;;;;;;;;;;OAYG;IACH,MAAM,CACJ,MAAc,EACd,MAA8B,EAC9B,OAAwB;QAExB,MAAM,EAAE,SAAS,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;QACtC,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CACrB,IAAI,CAAA,YAAY,SAAS,IAAI,MAAM,cAAc,EACjD,2BAA2B,CAAC,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,EAAE,IAAI,CAAC,OAAO,CAAC,CAChE,CAAC;IACJ,CAAC;IAED;;;;;;;;;;;;;OAaG;IACH,iBAAiB,CACf,SAAiB,EACjB,IAAuC,EACvC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,C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AAC;YAC1E,MAAM,EAAE,IAAI;SACb,CAAiD,CAAC;IACrD,CAAC;CACF"}
@@ -0,0 +1,176 @@
1
+ import { APIResource } from "../../core/resource.mjs";
2
+ import { APIPromise } from "../../core/api-promise.mjs";
3
+ import { RequestOptions } from "../../internal/request-options.mjs";
4
+ export declare class Domains extends APIResource {
5
+ /**
6
+ * Add a managed run.tools or custom domain.
7
+ *
8
+ * @example
9
+ * ```ts
10
+ * const domain = await client.servers.domains.create(
11
+ * 'qualifiedName',
12
+ * { subdomain: 'subdomain', type: 'managed' },
13
+ * );
14
+ * ```
15
+ */
16
+ create(qualifiedName: string, body: DomainCreateParams, options?: RequestOptions): APIPromise<DomainCreateResponse>;
17
+ /**
18
+ * Update domain settings such as subdomain slug or authentication requirements.
19
+ *
20
+ * @example
21
+ * ```ts
22
+ * const domain = await client.servers.domains.update(
23
+ * 'domainId',
24
+ * { qualifiedName: 'qualifiedName' },
25
+ * );
26
+ * ```
27
+ */
28
+ update(domainID: string, params: DomainUpdateParams, options?: RequestOptions): APIPromise<DomainUpdateResponse>;
29
+ /**
30
+ * List all domains, including managed run.tools and custom domains.
31
+ *
32
+ * @example
33
+ * ```ts
34
+ * const domains = await client.servers.domains.list(
35
+ * 'qualifiedName',
36
+ * );
37
+ * ```
38
+ */
39
+ list(qualifiedName: string, options?: RequestOptions): APIPromise<DomainListResponse>;
40
+ /**
41
+ * Remove a domain and clean up associated DNS records.
42
+ *
43
+ * @example
44
+ * ```ts
45
+ * const domain = await client.servers.domains.delete(
46
+ * 'domainId',
47
+ * { qualifiedName: 'qualifiedName' },
48
+ * );
49
+ * ```
50
+ */
51
+ delete(domainID: string, params: DomainDeleteParams, options?: RequestOptions): APIPromise<DomainDeleteResponse>;
52
+ }
53
+ export interface DomainCreateResponse {
54
+ id: string;
55
+ allowUnauthenticated: boolean;
56
+ cnameTarget: string | null;
57
+ createdAt: string;
58
+ hostname: string;
59
+ requiresConfig: boolean;
60
+ status: 'pending_validation' | 'pending' | 'active' | 'failed' | null;
61
+ subdomain: string | null;
62
+ type: 'managed' | 'custom';
63
+ updatedAt: string;
64
+ validation: DomainCreateResponse.Validation | null;
65
+ }
66
+ export declare namespace DomainCreateResponse {
67
+ interface Validation {
68
+ records: Array<Validation.Record>;
69
+ type: string;
70
+ }
71
+ namespace Validation {
72
+ interface Record {
73
+ name: string;
74
+ value: string;
75
+ }
76
+ }
77
+ }
78
+ export interface DomainUpdateResponse {
79
+ id: string;
80
+ allowUnauthenticated: boolean;
81
+ cnameTarget: string | null;
82
+ createdAt: string;
83
+ hostname: string;
84
+ requiresConfig: boolean;
85
+ status: 'pending_validation' | 'pending' | 'active' | 'failed' | null;
86
+ subdomain: string | null;
87
+ type: 'managed' | 'custom';
88
+ updatedAt: string;
89
+ validation: DomainUpdateResponse.Validation | null;
90
+ }
91
+ export declare namespace DomainUpdateResponse {
92
+ interface Validation {
93
+ records: Array<Validation.Record>;
94
+ type: string;
95
+ }
96
+ namespace Validation {
97
+ interface Record {
98
+ name: string;
99
+ value: string;
100
+ }
101
+ }
102
+ }
103
+ export interface DomainListResponse {
104
+ domains: Array<DomainListResponse.Domain>;
105
+ }
106
+ export declare namespace DomainListResponse {
107
+ interface Domain {
108
+ id: string;
109
+ allowUnauthenticated: boolean;
110
+ cnameTarget: string | null;
111
+ createdAt: string;
112
+ hostname: string;
113
+ requiresConfig: boolean;
114
+ status: 'pending_validation' | 'pending' | 'active' | 'failed' | null;
115
+ subdomain: string | null;
116
+ type: 'managed' | 'custom';
117
+ updatedAt: string;
118
+ validation: Domain.Validation | null;
119
+ }
120
+ namespace Domain {
121
+ interface Validation {
122
+ records: Array<Validation.Record>;
123
+ type: string;
124
+ }
125
+ namespace Validation {
126
+ interface Record {
127
+ name: string;
128
+ value: string;
129
+ }
130
+ }
131
+ }
132
+ }
133
+ export interface DomainDeleteResponse {
134
+ success: boolean;
135
+ }
136
+ export type DomainCreateParams = DomainCreateParams.Variant0 | DomainCreateParams.Variant1;
137
+ export declare namespace DomainCreateParams {
138
+ interface Variant0 {
139
+ subdomain: string;
140
+ type: 'managed';
141
+ }
142
+ interface Variant1 {
143
+ hostname: string;
144
+ type: 'custom';
145
+ }
146
+ }
147
+ export interface DomainUpdateParams {
148
+ /**
149
+ * Path param: The server's qualified name (e.g. 'namespace/server' or 'namespace'
150
+ * for namespace-only servers). Use %2F to encode the slash.
151
+ */
152
+ qualifiedName: string;
153
+ /**
154
+ * Body param
155
+ */
156
+ allowUnauthenticated?: boolean;
157
+ /**
158
+ * Body param
159
+ */
160
+ requiresConfig?: boolean;
161
+ /**
162
+ * Body param
163
+ */
164
+ subdomain?: string;
165
+ }
166
+ export interface DomainDeleteParams {
167
+ /**
168
+ * The server's qualified name (e.g. 'namespace/server' or 'namespace' for
169
+ * namespace-only servers). Use %2F to encode the slash.
170
+ */
171
+ qualifiedName: string;
172
+ }
173
+ export declare namespace Domains {
174
+ export { type DomainCreateResponse as DomainCreateResponse, type DomainUpdateResponse as DomainUpdateResponse, type DomainListResponse as DomainListResponse, type DomainDeleteResponse as DomainDeleteResponse, type DomainCreateParams as DomainCreateParams, type DomainUpdateParams as DomainUpdateParams, type DomainDeleteParams as DomainDeleteParams, };
175
+ }
176
+ //# sourceMappingURL=domains.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"domains.d.mts","sourceRoot":"","sources":["../../src/resources/servers/domains.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB,qBAAa,OAAQ,SAAQ,WAAW;IACtC;;;;;;;;;;OAUG;IACH,MAAM,CACJ,aAAa,EAAE,MAAM,EACrB,IAAI,EAAE,kBAAkB,EACxB,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,oBAAoB,CAAC;IAInC;;;;;;;;;;OAUG;IACH,MAAM,CACJ,QAAQ,EAAE,MAAM,EAChB,MAAM,EAAE,kBAAkB,EAC1B,OAAO,CAAC,EAAE,cAAc,GACv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