@smithery/api 0.45.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 (184) hide show
  1. package/CHANGELOG.md +23 -0
  2. package/README.md +5 -10
  3. package/client.d.mts +5 -5
  4. package/client.d.mts.map +1 -1
  5. package/client.d.ts +5 -5
  6. package/client.d.ts.map +1 -1
  7. package/client.js +3 -3
  8. package/client.js.map +1 -1
  9. package/client.mjs +3 -3
  10. package/client.mjs.map +1 -1
  11. package/lib/mcp-transport.js +3 -3
  12. package/lib/mcp-transport.js.map +1 -1
  13. package/lib/mcp-transport.mjs +3 -3
  14. package/lib/mcp-transport.mjs.map +1 -1
  15. package/package.json +1 -1
  16. package/resources/{experimental/connect → connections}/connections.d.mts +24 -26
  17. package/resources/connections/connections.d.mts.map +1 -0
  18. package/resources/{experimental/connect → connections}/connections.d.ts +24 -26
  19. package/resources/connections/connections.d.ts.map +1 -0
  20. package/resources/{experimental/connect → connections}/connections.js +27 -25
  21. package/resources/connections/connections.js.map +1 -0
  22. package/resources/{experimental/connect → connections}/connections.mjs +26 -25
  23. package/resources/connections/connections.mjs.map +1 -0
  24. package/resources/{experimental/connect → connections}/index.d.mts +0 -1
  25. package/resources/connections/index.d.mts.map +1 -0
  26. package/resources/{experimental/connect → connections}/index.d.ts +0 -1
  27. package/resources/connections/index.d.ts.map +1 -0
  28. package/resources/{experimental/connect → connections}/index.js +1 -3
  29. package/resources/connections/index.js.map +1 -0
  30. package/resources/{experimental/connect → connections}/index.mjs +0 -1
  31. package/resources/connections/index.mjs.map +1 -0
  32. package/resources/{experimental/connect → connections}/mcp.d.mts +7 -8
  33. package/resources/connections/mcp.d.mts.map +1 -0
  34. package/resources/{experimental/connect → connections}/mcp.d.ts +7 -8
  35. package/resources/connections/mcp.d.ts.map +1 -0
  36. package/resources/{experimental/connect → connections}/mcp.js +6 -7
  37. package/resources/connections/mcp.js.map +1 -0
  38. package/resources/{experimental/connect → connections}/mcp.mjs +6 -7
  39. package/resources/connections/mcp.mjs.map +1 -0
  40. package/resources/connections.d.mts +2 -0
  41. package/resources/connections.d.mts.map +1 -0
  42. package/resources/connections.d.ts +2 -0
  43. package/resources/connections.d.ts.map +1 -0
  44. package/resources/{experimental.js → connections.js} +2 -2
  45. package/resources/connections.js.map +1 -0
  46. package/{src/resources/experimental.ts → resources/connections.mjs} +2 -2
  47. package/resources/connections.mjs.map +1 -0
  48. package/resources/index.d.mts +2 -2
  49. package/resources/index.d.mts.map +1 -1
  50. package/resources/index.d.ts +2 -2
  51. package/resources/index.d.ts.map +1 -1
  52. package/resources/index.js +3 -3
  53. package/resources/index.js.map +1 -1
  54. package/resources/index.mjs +1 -1
  55. package/resources/index.mjs.map +1 -1
  56. package/resources/servers/deployments.d.mts +61 -309
  57. package/resources/servers/deployments.d.mts.map +1 -1
  58. package/resources/servers/deployments.d.ts +61 -309
  59. package/resources/servers/deployments.d.ts.map +1 -1
  60. package/resources/servers/deployments.js +25 -112
  61. package/resources/servers/deployments.js.map +1 -1
  62. package/resources/servers/deployments.mjs +25 -112
  63. package/resources/servers/deployments.mjs.map +1 -1
  64. package/resources/servers/domains.d.mts +176 -0
  65. package/resources/servers/domains.d.mts.map +1 -0
  66. package/resources/servers/domains.d.ts +176 -0
  67. package/resources/servers/domains.d.ts.map +1 -0
  68. package/resources/servers/domains.js +67 -0
  69. package/resources/servers/domains.js.map +1 -0
  70. package/resources/servers/domains.mjs +63 -0
  71. package/resources/servers/domains.mjs.map +1 -0
  72. package/resources/servers/index.d.mts +6 -5
  73. package/resources/servers/index.d.mts.map +1 -1
  74. package/resources/servers/index.d.ts +6 -5
  75. package/resources/servers/index.d.ts.map +1 -1
  76. package/resources/servers/index.js +3 -1
  77. package/resources/servers/index.js.map +1 -1
  78. package/resources/servers/index.mjs +2 -1
  79. package/resources/servers/index.mjs.map +1 -1
  80. package/resources/servers/logs.d.mts +5 -79
  81. package/resources/servers/logs.d.mts.map +1 -1
  82. package/resources/servers/logs.d.ts +5 -79
  83. package/resources/servers/logs.d.ts.map +1 -1
  84. package/resources/servers/logs.js +5 -21
  85. package/resources/servers/logs.js.map +1 -1
  86. package/resources/servers/logs.mjs +5 -21
  87. package/resources/servers/logs.mjs.map +1 -1
  88. package/resources/servers/repo.d.mts +13 -103
  89. package/resources/servers/repo.d.mts.map +1 -1
  90. package/resources/servers/repo.d.ts +13 -103
  91. package/resources/servers/repo.d.ts.map +1 -1
  92. package/resources/servers/repo.js +15 -61
  93. package/resources/servers/repo.js.map +1 -1
  94. package/resources/servers/repo.mjs +15 -61
  95. package/resources/servers/repo.mjs.map +1 -1
  96. package/resources/servers/secrets.d.mts +14 -85
  97. package/resources/servers/secrets.d.mts.map +1 -1
  98. package/resources/servers/secrets.d.ts +14 -85
  99. package/resources/servers/secrets.d.ts.map +1 -1
  100. package/resources/servers/secrets.js +13 -63
  101. package/resources/servers/secrets.js.map +1 -1
  102. package/resources/servers/secrets.mjs +13 -63
  103. package/resources/servers/secrets.mjs.map +1 -1
  104. package/resources/servers/servers.d.mts +30 -182
  105. package/resources/servers/servers.d.mts.map +1 -1
  106. package/resources/servers/servers.d.ts +30 -182
  107. package/resources/servers/servers.d.ts.map +1 -1
  108. package/resources/servers/servers.js +26 -79
  109. package/resources/servers/servers.js.map +1 -1
  110. package/resources/servers/servers.mjs +28 -81
  111. package/resources/servers/servers.mjs.map +1 -1
  112. package/src/client.ts +26 -20
  113. package/src/lib/mcp-transport.ts +4 -4
  114. package/src/resources/{experimental/connect → connections}/connections.ts +34 -27
  115. package/src/resources/{experimental/connect → connections}/index.ts +0 -1
  116. package/src/resources/{experimental/connect → connections}/mcp.ts +8 -9
  117. package/src/resources/{experimental/connect.ts → connections.ts} +1 -1
  118. package/src/resources/index.ts +12 -9
  119. package/src/resources/servers/deployments.ts +69 -425
  120. package/src/resources/servers/domains.ts +270 -0
  121. package/src/resources/servers/index.ts +10 -36
  122. package/src/resources/servers/logs.ts +9 -118
  123. package/src/resources/servers/repo.ts +15 -150
  124. package/src/resources/servers/secrets.ts +17 -126
  125. package/src/resources/servers/servers.ts +51 -319
  126. package/src/version.ts +1 -1
  127. package/version.d.mts +1 -1
  128. package/version.d.ts +1 -1
  129. package/version.js +1 -1
  130. package/version.mjs +1 -1
  131. package/resources/experimental/connect/connect.d.mts +0 -14
  132. package/resources/experimental/connect/connect.d.mts.map +0 -1
  133. package/resources/experimental/connect/connect.d.ts +0 -14
  134. package/resources/experimental/connect/connect.d.ts.map +0 -1
  135. package/resources/experimental/connect/connect.js +0 -21
  136. package/resources/experimental/connect/connect.js.map +0 -1
  137. package/resources/experimental/connect/connect.mjs +0 -16
  138. package/resources/experimental/connect/connect.mjs.map +0 -1
  139. package/resources/experimental/connect/connections.d.mts.map +0 -1
  140. package/resources/experimental/connect/connections.d.ts.map +0 -1
  141. package/resources/experimental/connect/connections.js.map +0 -1
  142. package/resources/experimental/connect/connections.mjs.map +0 -1
  143. package/resources/experimental/connect/index.d.mts.map +0 -1
  144. package/resources/experimental/connect/index.d.ts.map +0 -1
  145. package/resources/experimental/connect/index.js.map +0 -1
  146. package/resources/experimental/connect/index.mjs.map +0 -1
  147. package/resources/experimental/connect/mcp.d.mts.map +0 -1
  148. package/resources/experimental/connect/mcp.d.ts.map +0 -1
  149. package/resources/experimental/connect/mcp.js.map +0 -1
  150. package/resources/experimental/connect/mcp.mjs.map +0 -1
  151. package/resources/experimental/connect.d.mts +0 -2
  152. package/resources/experimental/connect.d.mts.map +0 -1
  153. package/resources/experimental/connect.d.ts +0 -2
  154. package/resources/experimental/connect.d.ts.map +0 -1
  155. package/resources/experimental/connect.js +0 -6
  156. package/resources/experimental/connect.js.map +0 -1
  157. package/resources/experimental/connect.mjs +0 -3
  158. package/resources/experimental/connect.mjs.map +0 -1
  159. package/resources/experimental/experimental.d.mts +0 -10
  160. package/resources/experimental/experimental.d.mts.map +0 -1
  161. package/resources/experimental/experimental.d.ts +0 -10
  162. package/resources/experimental/experimental.d.ts.map +0 -1
  163. package/resources/experimental/experimental.js +0 -17
  164. package/resources/experimental/experimental.js.map +0 -1
  165. package/resources/experimental/experimental.mjs +0 -12
  166. package/resources/experimental/experimental.mjs.map +0 -1
  167. package/resources/experimental/index.d.mts +0 -3
  168. package/resources/experimental/index.d.mts.map +0 -1
  169. package/resources/experimental/index.d.ts +0 -3
  170. package/resources/experimental/index.d.ts.map +0 -1
  171. package/resources/experimental/index.js +0 -9
  172. package/resources/experimental/index.js.map +0 -1
  173. package/resources/experimental/index.mjs +0 -4
  174. package/resources/experimental/index.mjs.map +0 -1
  175. package/resources/experimental.d.mts +0 -2
  176. package/resources/experimental.d.mts.map +0 -1
  177. package/resources/experimental.d.ts +0 -2
  178. package/resources/experimental.d.ts.map +0 -1
  179. package/resources/experimental.js.map +0 -1
  180. package/resources/experimental.mjs +0 -3
  181. package/resources/experimental.mjs.map +0 -1
  182. package/src/resources/experimental/connect/connect.ts +0 -48
  183. package/src/resources/experimental/experimental.ts +0 -15
  184. package/src/resources/experimental/index.ts +0 -4
@@ -0,0 +1,176 @@
1
+ import { APIResource } from "../../core/resource.js";
2
+ import { APIPromise } from "../../core/api-promise.js";
3
+ import { RequestOptions } from "../../internal/request-options.js";
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.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"domains.d.ts","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,GACvB,UAAU,CAAC,oBAAoB,CAAC;IAKnC;;;;;;;;;OASG;IACH,IAAI,CAAC,aAAa,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,kBAAkB,CAAC;IAIrF;;;;;;;;;;OAUG;IACH,MAAM,CACJ,QAAQ,EAAE,MAAM,EAChB,MAAM,EAAE,kBAAkB,EAC1B,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,oBAAoB,CAAC;CAIpC;AAED,MAAM,WAAW,oBAAoB;IACnC,EAAE,EAAE,MAAM,CAAC;IAEX,oBAAoB,EAAE,OAAO,CAAC;IAE9B,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAE3B,SAAS,EAAE,MAAM,CAAC;IAElB,QAAQ,EAAE,MAAM,CAAC;IAEjB,cAAc,EAAE,OAAO,CAAC;IAExB,MAAM,EAAE,oBAAoB,GAAG,SAAS,GAAG,QAAQ,GAAG,QAAQ,GAAG,IAAI,CAAC;IAEtE,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IAEzB,IAAI,EAAE,SA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AoB,CAAC,EAAE,OAAO,CAAC;IAE/B;;OAEG;IACH,cAAc,CAAC,EAAE,OAAO,CAAC;IAEzB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,kBAAkB;IACjC;;;OAGG;IACH,aAAa,EAAE,MAAM,CAAC;CACvB;AAED,MAAM,CAAC,OAAO,WAAW,OAAO,CAAC;IAC/B,OAAO,EACL,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,kBAAkB,IAAI,kBAAkB,GAC9C,CAAC;CACH"}
@@ -0,0 +1,67 @@
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.Domains = void 0;
5
+ const resource_1 = require("../../core/resource.js");
6
+ const path_1 = require("../../internal/utils/path.js");
7
+ class Domains extends resource_1.APIResource {
8
+ /**
9
+ * Add a managed run.tools or custom domain.
10
+ *
11
+ * @example
12
+ * ```ts
13
+ * const domain = await client.servers.domains.create(
14
+ * 'qualifiedName',
15
+ * { subdomain: 'subdomain', type: 'managed' },
16
+ * );
17
+ * ```
18
+ */
19
+ create(qualifiedName, body, options) {
20
+ return this._client.post((0, path_1.path) `/servers/${qualifiedName}/domains`, { body, ...options });
21
+ }
22
+ /**
23
+ * Update domain settings such as subdomain slug or authentication requirements.
24
+ *
25
+ * @example
26
+ * ```ts
27
+ * const domain = await client.servers.domains.update(
28
+ * 'domainId',
29
+ * { qualifiedName: 'qualifiedName' },
30
+ * );
31
+ * ```
32
+ */
33
+ update(domainID, params, options) {
34
+ const { qualifiedName, ...body } = params;
35
+ return this._client.patch((0, path_1.path) `/servers/${qualifiedName}/domains/${domainID}`, { body, ...options });
36
+ }
37
+ /**
38
+ * List all domains, including managed run.tools and custom domains.
39
+ *
40
+ * @example
41
+ * ```ts
42
+ * const domains = await client.servers.domains.list(
43
+ * 'qualifiedName',
44
+ * );
45
+ * ```
46
+ */
47
+ list(qualifiedName, options) {
48
+ return this._client.get((0, path_1.path) `/servers/${qualifiedName}/domains`, options);
49
+ }
50
+ /**
51
+ * Remove a domain and clean up associated DNS records.
52
+ *
53
+ * @example
54
+ * ```ts
55
+ * const domain = await client.servers.domains.delete(
56
+ * 'domainId',
57
+ * { qualifiedName: 'qualifiedName' },
58
+ * );
59
+ * ```
60
+ */
61
+ delete(domainID, params, options) {
62
+ const { qualifiedName } = params;
63
+ return this._client.delete((0, path_1.path) `/servers/${qualifiedName}/domains/${domainID}`, options);
64
+ }
65
+ }
66
+ exports.Domains = Domains;
67
+ //# sourceMappingURL=domains.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"domains.js","sourceRoot":"","sources":["../../src/resources/servers/domains.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qDAAkD;AAGlD,uDAAiD;AAEjD,MAAa,OAAQ,SAAQ,sBAAW;IACtC;;;;;;;;;;OAUG;IACH,MAAM,CACJ,aAAqB,EACrB,IAAwB,EACxB,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAA,WAAI,EAAA,YAAY,aAAa,UAAU,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC1F,CAAC;IAED;;;;;;;;;;OAUG;IACH,MAAM,CACJ,QAAgB,EAChB,MAA0B,EAC1B,OAAwB;QAExB,MAAM,EAAE,aAAa,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;QAC1C,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,IAAA,WAAI,EAAA,YAAY,aAAa,YAAY,QAAQ,EAAE,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACvG,CAAC;IAED;;;;;;;;;OASG;IACH,IAAI,CAAC,aAAqB,EAAE,OAAwB;QAClD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,YAAY,aAAa,UAAU,EAAE,OAAO,CAAC,CAAC;IAC5E,CAAC;IAED;;;;;;;;;;OAUG;IACH,MAAM,CACJ,QAAgB,EAChB,MAA0B,EAC1B,OAAwB;QAExB,MAAM,EAAE,aAAa,EAAE,GAAG,MAAM,CAAC;QACjC,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAA,WAAI,EAAA,YAAY,aAAa,YAAY,QAAQ,EAAE,EAAE,OAAO,CAAC,CAAC;IAC3F,CAAC;CACF;AAzED,0BAyEC"}
@@ -0,0 +1,63 @@
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";
4
+ export 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, body, options) {
17
+ return this._client.post(path `/servers/${qualifiedName}/domains`, { body, ...options });
18
+ }
19
+ /**
20
+ * Update domain settings such as subdomain slug or authentication requirements.
21
+ *
22
+ * @example
23
+ * ```ts
24
+ * const domain = await client.servers.domains.update(
25
+ * 'domainId',
26
+ * { qualifiedName: 'qualifiedName' },
27
+ * );
28
+ * ```
29
+ */
30
+ update(domainID, params, options) {
31
+ const { qualifiedName, ...body } = params;
32
+ return this._client.patch(path `/servers/${qualifiedName}/domains/${domainID}`, { body, ...options });
33
+ }
34
+ /**
35
+ * List all domains, including managed run.tools and custom domains.
36
+ *
37
+ * @example
38
+ * ```ts
39
+ * const domains = await client.servers.domains.list(
40
+ * 'qualifiedName',
41
+ * );
42
+ * ```
43
+ */
44
+ list(qualifiedName, options) {
45
+ return this._client.get(path `/servers/${qualifiedName}/domains`, options);
46
+ }
47
+ /**
48
+ * Remove a domain and clean up associated DNS records.
49
+ *
50
+ * @example
51
+ * ```ts
52
+ * const domain = await client.servers.domains.delete(
53
+ * 'domainId',
54
+ * { qualifiedName: 'qualifiedName' },
55
+ * );
56
+ * ```
57
+ */
58
+ delete(domainID, params, options) {
59
+ const { qualifiedName } = params;
60
+ return this._client.delete(path `/servers/${qualifiedName}/domains/${domainID}`, options);
61
+ }
62
+ }
63
+ //# sourceMappingURL=domains.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"domains.mjs","sourceRoot":"","sources":["../../src/resources/servers/domains.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAGf,EAAE,IAAI,EAAE;AAEf,MAAM,OAAO,OAAQ,SAAQ,WAAW;IACtC;;;;;;;;;;OAUG;IACH,MAAM,CACJ,aAAqB,EACrB,IAAwB,EACxB,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAA,YAAY,aAAa,UAAU,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC1F,CAAC;IAED;;;;;;;;;;OAUG;IACH,MAAM,CACJ,QAAgB,EAChB,MAA0B,EAC1B,OAAwB;QAExB,MAAM,EAAE,aAAa,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;QAC1C,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,CAAA,YAAY,aAAa,YAAY,QAAQ,EAAE,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACvG,CAAC;IAED;;;;;;;;;OASG;IACH,IAAI,CAAC,aAAqB,EAAE,OAAwB;QAClD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,YAAY,aAAa,UAAU,EAAE,OAAO,CAAC,CAAC;IAC5E,CAAC;IAED;;;;;;;;;;OAUG;IACH,MAAM,CACJ,QAAgB,EAChB,MAA0B,EAC1B,OAAwB;QAExB,MAAM,EAAE,aAAa,EAAE,GAAG,MAAM,CAAC;QACjC,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,CAAA,YAAY,aAAa,YAAY,QAAQ,EAAE,EAAE,OAAO,CAAC,CAAC;IAC3F,CAAC;CACF"}
@@ -1,6 +1,7 @@
1
- export { Deployments, type DeployPayload, type ExternalDeployPayload, type HostedDeployPayload, type ServerCard, type StdioDeployPayload, type DeploymentListResponse, type DeploymentDeployResponse, type DeploymentDeployByNamespaceResponse, type DeploymentGetResponse, type DeploymentGetByNamespaceResponse, type DeploymentListByNamespaceResponse, type DeploymentResumeResponse, type DeploymentResumeByNamespaceResponse, type DeploymentStreamResponse, type DeploymentStreamByNamespaceResponse, type DeploymentListParams, type DeploymentDeployParams, type DeploymentDeployByNamespaceParams, type DeploymentGetParams, type DeploymentGetByNamespaceParams, type DeploymentResumeParams, type DeploymentResumeByNamespaceParams, type DeploymentStreamParams, type DeploymentStreamByNamespaceParams, } from "./deployments.mjs";
2
- export { Logs, type LogListResponse, type LogListByNamespaceResponse, type LogListParams, type LogListByNamespaceParams, } from "./logs.mjs";
3
- export { Repo, type RepoDeleteResponse, type RepoDeleteByNamespaceResponse, type RepoGetResponse, type RepoGetByNamespaceResponse, type RepoSetResponse, type RepoSetByNamespaceResponse, type RepoDeleteParams, type RepoGetParams, type RepoSetParams, type RepoSetByNamespaceParams, } from "./repo.mjs";
4
- export { Secrets, type SecretListResponse, type SecretDeleteResponse, type SecretDeleteByNamespaceResponse, type SecretListByNamespaceResponse, type SecretSetResponse, type SecretSetByNamespaceResponse, type SecretListParams, type SecretDeleteParams, type SecretDeleteByNamespaceParams, type SecretSetParams, type SecretSetByNamespaceParams, } from "./secrets.mjs";
5
- 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.mjs";
1
+ export { Deployments, type DeployPayload, type ExternalDeployPayload, type HostedDeployPayload, type ServerCard, type StdioDeployPayload, type DeploymentListResponse, type DeploymentDeployResponse, type DeploymentGetResponse, type DeploymentResumeResponse, type DeploymentStreamResponse, type DeploymentDeployParams, type DeploymentGetParams, type DeploymentResumeParams, type DeploymentStreamParams, } from "./deployments.mjs";
2
+ export { Domains, type DomainCreateResponse, type DomainUpdateResponse, type DomainListResponse, type DomainDeleteResponse, type DomainCreateParams, type DomainUpdateParams, type DomainDeleteParams, } from "./domains.mjs";
3
+ export { Logs, type LogListResponse, type LogListParams } from "./logs.mjs";
4
+ export { Repo, type RepoDeleteResponse, type RepoGetResponse, type RepoSetResponse, type RepoSetParams, } from "./repo.mjs";
5
+ export { Secrets, type SecretListResponse, type SecretDeleteResponse, type SecretSetResponse, type SecretDeleteParams, type SecretSetParams, } from "./secrets.mjs";
6
+ export { Servers, type BuildConfig, type DeploymentTarget, type ProjectConfig, type ServerCreateResponse, type ServerUpdateResponse, type ServerListResponse, type ServerDeleteResponse, type ServerGetResponse, type ServerCreateParams, type ServerUpdateParams, type ServerListParams, type ServerListResponsesSmitheryPage, } from "./servers.mjs";
6
7
  //# sourceMappingURL=index.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/servers/index.ts"],"names":[],"mappings":"OAEO,EACL,WAAW,EACX,KAAK,aAAa,EAClB,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,EACxB,KAAK,U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,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"}
1
+ {"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/servers/index.ts"],"names":[],"mappings":"OAEO,EACL,WAAW,EACX,KAAK,aAAa,EAClB,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,EACxB,KAAK,UAAU,EACf,KAAK,kBAAkB,EACvB,KAAK,sBAAsB,EAC3B,KAAK,wBAAwB,EAC7B,KAAK,qBAAqB,EAC1B,KAAK,wBAAwB,EAC7B,KAAK,wBAAwB,EAC7B,KAAK,sBAAsB,EAC3B,KAAK,mBAAmB,EACxB,KAAK,sBAAsB,EAC3B,KAAK,sBAAsB,GAC5B;OACM,EACL,OAAO,EACP,KAAK,oBAAoB,EACzB,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,kBAAkB,EACvB,KAAK,kBAAkB,GACxB;OACM,EAAE,IAAI,EAAE,KAAK,eAAe,EAAE,KAAK,aAAa,EAAE;OAClD,EACL,IAAI,EACJ,KAAK,kBAAkB,EACvB,KAAK,eAAe,EACpB,KAAK,eAAe,EACpB,KAAK,aAAa,GACnB;OACM,EACL,OAAO,EACP,KAAK,kBAAkB,EACvB,KAAK,oBAAoB,EACzB,KAAK,iBAAiB,EACtB,KAAK,kBAAkB,EACvB,KAAK,eAAe,GACrB;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,iBAAiB,EACtB,KAAK,kBAAkB,EACvB,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,EACrB,KAAK,+BAA+B,GACrC"}
@@ -1,6 +1,7 @@
1
- export { Deployments, type DeployPayload, type ExternalDeployPayload, type HostedDeployPayload, type ServerCard, type StdioDeployPayload, type DeploymentListResponse, type DeploymentDeployResponse, type DeploymentDeployByNamespaceResponse, type DeploymentGetResponse, type DeploymentGetByNamespaceResponse, type DeploymentListByNamespaceResponse, type DeploymentResumeResponse, type DeploymentResumeByNamespaceResponse, type DeploymentStreamResponse, type DeploymentStreamByNamespaceResponse, type DeploymentListParams, type DeploymentDeployParams, type DeploymentDeployByNamespaceParams, type DeploymentGetParams, type DeploymentGetByNamespaceParams, type DeploymentResumeParams, type DeploymentResumeByNamespaceParams, type DeploymentStreamParams, type DeploymentStreamByNamespaceParams, } from "./deployments.js";
2
- export { Logs, type LogListResponse, type LogListByNamespaceResponse, type LogListParams, type LogListByNamespaceParams, } from "./logs.js";
3
- export { Repo, type RepoDeleteResponse, type RepoDeleteByNamespaceResponse, type RepoGetResponse, type RepoGetByNamespaceResponse, type RepoSetResponse, type RepoSetByNamespaceResponse, type RepoDeleteParams, type RepoGetParams, type RepoSetParams, type RepoSetByNamespaceParams, } from "./repo.js";
4
- export { Secrets, type SecretListResponse, type SecretDeleteResponse, type SecretDeleteByNamespaceResponse, type SecretListByNamespaceResponse, type SecretSetResponse, type SecretSetByNamespaceResponse, type SecretListParams, type SecretDeleteParams, type SecretDeleteByNamespaceParams, type SecretSetParams, type SecretSetByNamespaceParams, } from "./secrets.js";
5
- 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.js";
1
+ export { Deployments, type DeployPayload, type ExternalDeployPayload, type HostedDeployPayload, type ServerCard, type StdioDeployPayload, type DeploymentListResponse, type DeploymentDeployResponse, type DeploymentGetResponse, type DeploymentResumeResponse, type DeploymentStreamResponse, type DeploymentDeployParams, type DeploymentGetParams, type DeploymentResumeParams, type DeploymentStreamParams, } from "./deployments.js";
2
+ export { Domains, type DomainCreateResponse, type DomainUpdateResponse, type DomainListResponse, type DomainDeleteResponse, type DomainCreateParams, type DomainUpdateParams, type DomainDeleteParams, } from "./domains.js";
3
+ export { Logs, type LogListResponse, type LogListParams } from "./logs.js";
4
+ export { Repo, type RepoDeleteResponse, type RepoGetResponse, type RepoSetResponse, type RepoSetParams, } from "./repo.js";
5
+ export { Secrets, type SecretListResponse, type SecretDeleteResponse, type SecretSetResponse, type SecretDeleteParams, type SecretSetParams, } from "./secrets.js";
6
+ export { Servers, type BuildConfig, type DeploymentTarget, type ProjectConfig, type ServerCreateResponse, type ServerUpdateResponse, type ServerListResponse, type ServerDeleteResponse, type ServerGetResponse, type ServerCreateParams, type ServerUpdateParams, type ServerListParams, type ServerListResponsesSmitheryPage, } from "./servers.js";
6
7
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/servers/index.ts"],"names":[],"mappings":"OAEO,EACL,WAAW,EACX,KAAK,aAAa,EAClB,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,EACxB,KAAK,UAAU,EACf,KAAK,kBAAkB,EACvB,KAAK,sBAAsB,EAC3B,KAAK,wBAAwB,EAC7B,KAAK,mCAAmC,EACxC,KAAK,qBAAqB,EAC1B,KAAK,gCAAgC,EACrC,KAAK,iCAAiC,EACtC,KAAK,wBAAwB,EAC7B,KAAK,mCAAmC,EACxC,KAAK,wBAAwB,EAC7B,KAAK,mCAAmC,EACxC,KAAK,oBAAoB,EACzB,KAAK,sBAAsB,EAC3B,KAAK,iCAAiC,EACtC,KAAK,mBAAmB,EACxB,KAAK,8BAA8B,EACnC,KAAK,sBAAsB,EAC3B,KAAK,iCAAiC,EACtC,KAAK,sBAAsB,EAC3B,KAAK,iCAAiC,GACvC;OACM,EACL,IAAI,EACJ,KAAK,eAAe,EACpB,KAAK,0BAA0B,EAC/B,KAAK,aAAa,EAClB,KAAK,wBAAwB,GAC9B;OACM,EACL,IAAI,EACJ,KAAK,kBAAkB,EACvB,KAAK,6BAA6B,EAClC,KAAK,eAAe,EACpB,KAAK,0BAA0B,EAC/B,KAAK,eAAe,EACpB,KAAK,0BAA0B,EAC/B,KAAK,gBAAgB,EACrB,KAAK,aAAa,EAClB,KAAK,aAAa,EAClB,KAAK,wBAAwB,GAC9B;OACM,EACL,OAAO,EACP,KAAK,kBAAkB,EACvB,KAAK,oBAAoB,EACzB,KAAK,+BAA+B,EACpC,KAAK,6BAA6B,EAClC,KAAK,iBAAiB,EACtB,KAAK,4BAA4B,EACjC,KAAK,gBAAgB,EACrB,KAAK,kBAAkB,EACvB,KAAK,6BAA6B,EAClC,KAAK,eAAe,EACpB,KAAK,0BAA0B,GAChC;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"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/servers/index.ts"],"names":[],"mappings":"OAEO,EACL,WAAW,EACX,KAAK,aAAa,EAClB,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,EACxB,KAAK,UAAU,EACf,KAAK,kBAAkB,EACvB,KAAK,sBAAsB,EAC3B,KAAK,wBAAwB,EAC7B,KAAK,qBAAqB,EAC1B,KAAK,wBAAwB,EAC7B,KAAK,wBAAwB,EAC7B,KAAK,sBAAsB,EAC3B,KAAK,mBAAmB,EACxB,KAAK,sBAAsB,EAC3B,KAAK,sBAAsB,GAC5B;OACM,EACL,OAAO,EACP,KAAK,oBAAoB,EACzB,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,kBAAkB,EACvB,KAAK,kBAAkB,GACxB;OACM,EAAE,IAAI,EAAE,KAAK,eAAe,EAAE,KAAK,aAAa,EAAE;OAClD,EACL,IAAI,EACJ,KAAK,kBAAkB,EACvB,KAAK,eAAe,EACpB,KAAK,eAAe,EACpB,KAAK,aAAa,GACnB;OACM,EACL,OAAO,EACP,KAAK,kBAAkB,EACvB,KAAK,oBAAoB,EACzB,KAAK,iBAAiB,EACtB,KAAK,kBAAkB,EACvB,KAAK,eAAe,GACrB;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,iBAAiB,EACtB,KAAK,kBAAkB,EACvB,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,EACrB,KAAK,+BAA+B,GACrC"}
@@ -1,9 +1,11 @@
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.Servers = exports.Secrets = exports.Repo = exports.Logs = exports.Deployments = void 0;
4
+ exports.Servers = exports.Secrets = exports.Repo = exports.Logs = exports.Domains = exports.Deployments = void 0;
5
5
  var deployments_1 = require("./deployments.js");
6
6
  Object.defineProperty(exports, "Deployments", { enumerable: true, get: function () { return deployments_1.Deployments; } });
7
+ var domains_1 = require("./domains.js");
8
+ Object.defineProperty(exports, "Domains", { enumerable: true, get: function () { return domains_1.Domains; } });
7
9
  var logs_1 = require("./logs.js");
8
10
  Object.defineProperty(exports, "Logs", { enumerable: true, get: function () { return logs_1.Logs; } });
9
11
  var repo_1 = require("./repo.js");
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/servers/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,gDA0BuB;AAzBrB,0GAAA,WAAW,OAAA;AA0Bb,kCAMgB;AALd,4FAAA,IAAI,OAAA;AAMN,kCAYgB;AAXd,4FAAA,IAAI,OAAA;AAYN,wCAamB;AAZjB,kGAAA,OAAO,OAAA;AAaT,wCAsBmB;AArBjB,kGAAA,OAAO,OAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/servers/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,gDAgBuB;AAfrB,0GAAA,WAAW,OAAA;AAgBb,wCASmB;AARjB,kGAAA,OAAO,OAAA;AAST,kCAAwE;AAA/D,4FAAA,IAAI,OAAA;AACb,kCAMgB;AALd,4FAAA,IAAI,OAAA;AAMN,wCAOmB;AANjB,kGAAA,OAAO,OAAA;AAOT,wCAcmB;AAbjB,kGAAA,OAAO,OAAA"}
@@ -1,6 +1,7 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
  export { Deployments, } from "./deployments.mjs";
3
- export { Logs, } from "./logs.mjs";
3
+ export { Domains, } from "./domains.mjs";
4
+ export { Logs } from "./logs.mjs";
4
5
  export { Repo, } from "./repo.mjs";
5
6
  export { Secrets, } from "./secrets.mjs";
6
7
  export { Servers, } from "./servers.mjs";
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/servers/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EACL,WAAW,GAyBZ;OACM,EACL,IAAI,GAKL;OACM,EACL,IAAI,GAWL;OACM,EACL,OAAO,GAYR;OACM,EACL,OAAO,GAqBR"}
1
+ {"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/servers/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EACL,WAAW,GAeZ;OACM,EACL,OAAO,GAQR;OACM,EAAE,IAAI,EAA4C;OAClD,EACL,IAAI,GAKL;OACM,EACL,OAAO,GAMR;OACM,EACL,OAAO,GAaR"}
@@ -3,29 +3,16 @@ import { APIPromise } from "../../core/api-promise.mjs";
3
3
  import { RequestOptions } from "../../internal/request-options.mjs";
4
4
  export declare class Logs extends APIResource {
5
5
  /**
6
- * Fetch recent runtime logs for the server's deployed Worker, grouped by
7
- * invocation (requires ownership).
6
+ * Fetch recent runtime logs grouped by invocation.
8
7
  *
9
8
  * @example
10
9
  * ```ts
11
- * const logs = await client.servers.logs.list('server', {
12
- * namespace: 'namespace',
13
- * });
14
- * ```
15
- */
16
- list(server: string, params: LogListParams, options?: RequestOptions): APIPromise<LogListResponse>;
17
- /**
18
- * Fetch recent runtime logs for the server's deployed Worker, grouped by
19
- * invocation (requires ownership).
20
- *
21
- * @example
22
- * ```ts
23
- * const response = await client.servers.logs.listByNamespace(
24
- * 'namespace',
10
+ * const logs = await client.servers.logs.list(
11
+ * 'qualifiedName',
25
12
  * );
26
13
  * ```
27
14
  */
28
- listByNamespace(namespace: string, query?: LogListByNamespaceParams | null | undefined, options?: RequestOptions): APIPromise<LogListByNamespaceResponse>;
15
+ list(qualifiedName: string, query?: LogListParams | null | undefined, options?: RequestOptions): APIPromise<LogListResponse>;
29
16
  }
30
17
  export interface LogListResponse {
31
18
  invocations: Array<LogListResponse.Invocation>;
@@ -70,68 +57,7 @@ export declare namespace LogListResponse {
70
57
  }
71
58
  }
72
59
  }
73
- export interface LogListByNamespaceResponse {
74
- invocations: Array<LogListByNamespaceResponse.Invocation>;
75
- /**
76
- * Total invocations matching query
77
- */
78
- total: number;
79
- }
80
- export declare namespace LogListByNamespaceResponse {
81
- interface Invocation {
82
- id: string;
83
- duration: Invocation.Duration;
84
- exceptions: Array<Invocation.Exception>;
85
- logs: Array<Invocation.Log>;
86
- request: Invocation.Request;
87
- response: Invocation.Response;
88
- timestamp: string;
89
- }
90
- namespace Invocation {
91
- interface Duration {
92
- cpuMs: number;
93
- wallMs: number;
94
- }
95
- interface Exception {
96
- message: string;
97
- name: string;
98
- timestamp: string;
99
- stack?: string;
100
- }
101
- interface Log {
102
- level: string;
103
- message: string;
104
- timestamp: string;
105
- }
106
- interface Request {
107
- method: string;
108
- url: string;
109
- }
110
- interface Response {
111
- outcome: string;
112
- status: number;
113
- }
114
- }
115
- }
116
60
  export interface LogListParams {
117
- /**
118
- * Path param
119
- */
120
- namespace: string;
121
- /**
122
- * Query param: Start of time range (ISO 8601).
123
- */
124
- from?: string;
125
- /**
126
- * Query param: Max invocations to return. Defaults to 50.
127
- */
128
- limit?: number;
129
- /**
130
- * Query param: End of time range (ISO 8601).
131
- */
132
- to?: string;
133
- }
134
- export interface LogListByNamespaceParams {
135
61
  /**
136
62
  * Start of time range (ISO 8601).
137
63
  */
@@ -146,6 +72,6 @@ export interface LogListByNamespaceParams {
146
72
  to?: string;
147
73
  }
148
74
  export declare namespace Logs {
149
- export { type LogListResponse as LogListResponse, type LogListByNamespaceResponse as LogListByNamespaceResponse, type LogListParams as LogListParams, type LogListByNamespaceParams as LogListByNamespaceParams, };
75
+ export { type LogListResponse as LogListResponse, type LogListParams as LogListParams };
150
76
  }
151
77
  //# sourceMappingURL=logs.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"logs.d.mts","sourceRoot":"","sources":["../../src/resources/servers/logs.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB,qBAAa,IAAK,SAAQ,WAAW;IACnC;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QAExC,IAAI,EAAE,KAAK,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC;QAE5B,OAAO,EAAE,UAAU,CAAC,OAAO,CAAC;QAE5B,QAAQ,EAAE,UAAU,CAAC,QAAQ,CAAC;QAE9B,SAAS,EAAE,MAAM,CAAC;KACnB;IAED,UAAiB,UAAU,CAAC;QAC1B,UAAiB,QAAQ;YACvB,KAAK,EAAE,MAAM,CAAC;YAEd,MAAM,EAAE,MAAM,CAAC;SAChB;QAED,UAAiB,SAAS;YACxB,OAAO,EAAE,MAAM,CAAC;YAEhB,IAAI,EAAE,MAAM,CAAC;YAEb,SAAS,EAAE,MAAM,CAAC;YAElB,KAAK,CAAC,EAAE,MAAM,CAAC;SAChB;QAED,UAAiB,GAAG;YAClB,KAAK,EAAE,MAAM,CAAC;YAEd,OAAO,EAAE,MAAM,CAAC;YAEhB,SAAS,EAAE,MAAM,CAAC;SACnB;QAED,UAAiB,OAAO;YACtB,MAAM,EAAE,MAAM,CAAC;YAEf,GAAG,EAAE,MAAM,CAAC;SACb;QAED,UAAiB,QAAQ;YACvB,OAAO,EAAE,MAAM,CAAC;YAEhB,MAAM,EAAE,MAAM,CAAC;SAChB;KACF;CACF;AAED,MAAM,WAAW,aAAa;IAC5B;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC;CACb;AAED,MAAM,CAAC,OAAO,WAAW,IAAI,CAAC;IAC5B,OAAO,EAAE,KAAK,eAAe,IAAI,eAAe,EAAE,KAAK,aAAa,IAAI,aAAa,EAAE,CAAC;CACzF"}
@@ -3,29 +3,16 @@ import { APIPromise } from "../../core/api-promise.js";
3
3
  import { RequestOptions } from "../../internal/request-options.js";
4
4
  export declare class Logs extends APIResource {
5
5
  /**
6
- * Fetch recent runtime logs for the server's deployed Worker, grouped by
7
- * invocation (requires ownership).
6
+ * Fetch recent runtime logs grouped by invocation.
8
7
  *
9
8
  * @example
10
9
  * ```ts
11
- * const logs = await client.servers.logs.list('server', {
12
- * namespace: 'namespace',
13
- * });
14
- * ```
15
- */
16
- list(server: string, params: LogListParams, options?: RequestOptions): APIPromise<LogListResponse>;
17
- /**
18
- * Fetch recent runtime logs for the server's deployed Worker, grouped by
19
- * invocation (requires ownership).
20
- *
21
- * @example
22
- * ```ts
23
- * const response = await client.servers.logs.listByNamespace(
24
- * 'namespace',
10
+ * const logs = await client.servers.logs.list(
11
+ * 'qualifiedName',
25
12
  * );
26
13
  * ```
27
14
  */
28
- listByNamespace(namespace: string, query?: LogListByNamespaceParams | null | undefined, options?: RequestOptions): APIPromise<LogListByNamespaceResponse>;
15
+ list(qualifiedName: string, query?: LogListParams | null | undefined, options?: RequestOptions): APIPromise<LogListResponse>;
29
16
  }
30
17
  export interface LogListResponse {
31
18
  invocations: Array<LogListResponse.Invocation>;
@@ -70,68 +57,7 @@ export declare namespace LogListResponse {
70
57
  }
71
58
  }
72
59
  }
73
- export interface LogListByNamespaceResponse {
74
- invocations: Array<LogListByNamespaceResponse.Invocation>;
75
- /**
76
- * Total invocations matching query
77
- */
78
- total: number;
79
- }
80
- export declare namespace LogListByNamespaceResponse {
81
- interface Invocation {
82
- id: string;
83
- duration: Invocation.Duration;
84
- exceptions: Array<Invocation.Exception>;
85
- logs: Array<Invocation.Log>;
86
- request: Invocation.Request;
87
- response: Invocation.Response;
88
- timestamp: string;
89
- }
90
- namespace Invocation {
91
- interface Duration {
92
- cpuMs: number;
93
- wallMs: number;
94
- }
95
- interface Exception {
96
- message: string;
97
- name: string;
98
- timestamp: string;
99
- stack?: string;
100
- }
101
- interface Log {
102
- level: string;
103
- message: string;
104
- timestamp: string;
105
- }
106
- interface Request {
107
- method: string;
108
- url: string;
109
- }
110
- interface Response {
111
- outcome: string;
112
- status: number;
113
- }
114
- }
115
- }
116
60
  export interface LogListParams {
117
- /**
118
- * Path param
119
- */
120
- namespace: string;
121
- /**
122
- * Query param: Start of time range (ISO 8601).
123
- */
124
- from?: string;
125
- /**
126
- * Query param: Max invocations to return. Defaults to 50.
127
- */
128
- limit?: number;
129
- /**
130
- * Query param: End of time range (ISO 8601).
131
- */
132
- to?: string;
133
- }
134
- export interface LogListByNamespaceParams {
135
61
  /**
136
62
  * Start of time range (ISO 8601).
137
63
  */
@@ -146,6 +72,6 @@ export interface LogListByNamespaceParams {
146
72
  to?: string;
147
73
  }
148
74
  export declare namespace Logs {
149
- export { type LogListResponse as LogListResponse, type LogListByNamespaceResponse as LogListByNamespaceResponse, type LogListParams as LogListParams, type LogListByNamespaceParams as LogListByNamespaceParams, };
75
+ export { type LogListResponse as LogListResponse, type LogListParams as LogListParams };
150
76
  }
151
77
  //# sourceMappingURL=logs.d.ts.map