@smithery/api 0.56.1 → 0.57.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +177 -0
- package/client.d.mts +3 -0
- package/client.d.mts.map +1 -1
- package/client.d.ts +3 -0
- package/client.d.ts.map +1 -1
- package/client.js +3 -0
- package/client.js.map +1 -1
- package/client.mjs +3 -0
- package/client.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/connections/connections.d.mts +0 -19
- package/resources/connections/connections.d.mts.map +1 -1
- package/resources/connections/connections.d.ts +0 -19
- package/resources/connections/connections.d.ts.map +1 -1
- package/resources/connections/connections.js.map +1 -1
- package/resources/connections/connections.mjs.map +1 -1
- package/resources/index.d.mts +1 -0
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +1 -0
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +3 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +1 -0
- package/resources/index.mjs.map +1 -1
- package/resources/namespaces/namespaces.d.mts +4 -3
- package/resources/namespaces/namespaces.d.mts.map +1 -1
- package/resources/namespaces/namespaces.d.ts +4 -3
- package/resources/namespaces/namespaces.d.ts.map +1 -1
- package/resources/namespaces/namespaces.js +4 -3
- package/resources/namespaces/namespaces.js.map +1 -1
- package/resources/namespaces/namespaces.mjs +4 -3
- package/resources/namespaces/namespaces.mjs.map +1 -1
- package/resources/organizations/api-keys.d.mts +43 -0
- package/resources/organizations/api-keys.d.mts.map +1 -0
- package/resources/organizations/api-keys.d.ts +43 -0
- package/resources/organizations/api-keys.d.ts.map +1 -0
- package/resources/organizations/api-keys.js +30 -0
- package/resources/organizations/api-keys.js.map +1 -0
- package/resources/organizations/api-keys.mjs +26 -0
- package/resources/organizations/api-keys.mjs.map +1 -0
- package/resources/organizations/index.d.mts +3 -0
- package/resources/organizations/index.d.mts.map +1 -0
- package/resources/organizations/index.d.ts +3 -0
- package/resources/organizations/index.d.ts.map +1 -0
- package/resources/organizations/index.js +9 -0
- package/resources/organizations/index.js.map +1 -0
- package/resources/organizations/index.mjs +4 -0
- package/resources/organizations/index.mjs.map +1 -0
- package/resources/organizations/organizations.d.mts +10 -0
- package/resources/organizations/organizations.d.mts.map +1 -0
- package/resources/organizations/organizations.d.ts +10 -0
- package/resources/organizations/organizations.d.ts.map +1 -0
- package/resources/organizations/organizations.js +17 -0
- package/resources/organizations/organizations.js.map +1 -0
- package/resources/organizations/organizations.mjs +12 -0
- package/resources/organizations/organizations.mjs.map +1 -0
- package/resources/organizations.d.mts +2 -0
- package/resources/organizations.d.mts.map +1 -0
- package/resources/organizations.d.ts +2 -0
- package/resources/organizations.d.ts.map +1 -0
- package/resources/organizations.js +6 -0
- package/resources/organizations.js.map +1 -0
- package/resources/organizations.mjs +3 -0
- package/resources/organizations.mjs.map +1 -0
- package/resources/servers/domains.d.mts +13 -122
- package/resources/servers/domains.d.mts.map +1 -1
- package/resources/servers/domains.d.ts +13 -122
- package/resources/servers/domains.d.ts.map +1 -1
- package/resources/servers/domains.js +6 -32
- package/resources/servers/domains.js.map +1 -1
- package/resources/servers/domains.mjs +6 -32
- package/resources/servers/domains.mjs.map +1 -1
- package/resources/servers/index.d.mts +1 -1
- package/resources/servers/index.d.mts.map +1 -1
- package/resources/servers/index.d.ts +1 -1
- package/resources/servers/index.d.ts.map +1 -1
- package/resources/servers/index.js.map +1 -1
- package/resources/servers/index.mjs.map +1 -1
- package/resources/servers/releases.d.mts +0 -12
- package/resources/servers/releases.d.mts.map +1 -1
- package/resources/servers/releases.d.ts +0 -12
- package/resources/servers/releases.d.ts.map +1 -1
- package/resources/servers/servers.d.mts +2 -14
- package/resources/servers/servers.d.mts.map +1 -1
- package/resources/servers/servers.d.ts +2 -14
- package/resources/servers/servers.d.ts.map +1 -1
- package/resources/servers/servers.js.map +1 -1
- package/resources/servers/servers.mjs +1 -1
- package/resources/servers/servers.mjs.map +1 -1
- package/resources/skills/skills.d.mts +2 -2
- package/resources/skills/skills.d.ts +2 -2
- package/resources/tokens.d.mts +17 -0
- package/resources/tokens.d.mts.map +1 -1
- package/resources/tokens.d.ts +17 -0
- package/resources/tokens.d.ts.map +1 -1
- package/resources/tokens.js +5 -0
- package/resources/tokens.js.map +1 -1
- package/resources/tokens.mjs +5 -0
- package/resources/tokens.mjs.map +1 -1
- package/src/client.ts +5 -0
- package/src/resources/connections/connections.ts +0 -22
- package/src/resources/index.ts +1 -0
- package/src/resources/namespaces/namespaces.ts +4 -3
- package/src/resources/organizations/api-keys.ts +78 -0
- package/src/resources/organizations/index.ts +11 -0
- package/src/resources/organizations/organizations.ts +29 -0
- package/src/resources/organizations.ts +3 -0
- package/src/resources/servers/domains.ts +12 -182
- package/src/resources/servers/index.ts +0 -4
- package/src/resources/servers/releases.ts +0 -14
- package/src/resources/servers/servers.ts +1 -28
- package/src/resources/skills/skills.ts +2 -2
- package/src/resources/tokens.ts +19 -0
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"organizations.mjs","sourceRoot":"","sources":["../../src/resources/organizations/organizations.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OACf,KAAK,UAAU;OACf,EAML,OAAO,GACR;AAED,MAAM,OAAO,aAAc,SAAQ,WAAW;IAA9C;;QACE,YAAO,GAAuB,IAAI,UAAU,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IACrE,CAAC;CAAA;AAED,aAAa,CAAC,OAAO,GAAG,OAAO,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"organizations.d.mts","sourceRoot":"","sources":["../src/resources/organizations.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"organizations.d.ts","sourceRoot":"","sources":["../src/resources/organizations.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,6 @@
|
|
|
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
|
+
const tslib_1 = require("../internal/tslib.js");
|
|
5
|
+
tslib_1.__exportStar(require("./organizations/index.js"), exports);
|
|
6
|
+
//# sourceMappingURL=organizations.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"organizations.js","sourceRoot":"","sources":["../src/resources/organizations.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,mEAAsC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"organizations.mjs","sourceRoot":"","sources":["../src/resources/organizations.ts"],"names":[],"mappings":"AAAA,sFAAsF"}
|
|
@@ -3,31 +3,22 @@ import { APIPromise } from "../../core/api-promise.mjs";
|
|
|
3
3
|
import { RequestOptions } from "../../internal/request-options.mjs";
|
|
4
4
|
export declare class Domains extends APIResource {
|
|
5
5
|
/**
|
|
6
|
-
*
|
|
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.
|
|
6
|
+
* Update the managed run.tools slug for a server.
|
|
19
7
|
*
|
|
20
8
|
* @example
|
|
21
9
|
* ```ts
|
|
22
10
|
* const domain = await client.servers.domains.update(
|
|
23
11
|
* 'domainId',
|
|
24
|
-
* {
|
|
12
|
+
* {
|
|
13
|
+
* qualifiedName: 'qualifiedName',
|
|
14
|
+
* subdomain: 'subdomain',
|
|
15
|
+
* },
|
|
25
16
|
* );
|
|
26
17
|
* ```
|
|
27
18
|
*/
|
|
28
19
|
update(domainID: string, params: DomainUpdateParams, options?: RequestOptions): APIPromise<DomainUpdateResponse>;
|
|
29
20
|
/**
|
|
30
|
-
* List
|
|
21
|
+
* List the domains for a server.
|
|
31
22
|
*
|
|
32
23
|
* @example
|
|
33
24
|
* ```ts
|
|
@@ -37,111 +28,26 @@ export declare class Domains extends APIResource {
|
|
|
37
28
|
* ```
|
|
38
29
|
*/
|
|
39
30
|
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
31
|
}
|
|
78
32
|
export interface DomainUpdateResponse {
|
|
79
|
-
id:
|
|
80
|
-
allowUnauthenticated: boolean;
|
|
81
|
-
cnameTarget: string | null;
|
|
33
|
+
id: 'managed';
|
|
82
34
|
createdAt: string;
|
|
83
35
|
hostname: string;
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
subdomain: string | null;
|
|
87
|
-
type: 'managed' | 'custom';
|
|
36
|
+
subdomain: string;
|
|
37
|
+
type: 'managed';
|
|
88
38
|
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
39
|
}
|
|
103
40
|
export interface DomainListResponse {
|
|
104
41
|
domains: Array<DomainListResponse.Domain>;
|
|
105
42
|
}
|
|
106
43
|
export declare namespace DomainListResponse {
|
|
107
44
|
interface Domain {
|
|
108
|
-
id:
|
|
109
|
-
allowUnauthenticated: boolean;
|
|
110
|
-
cnameTarget: string | null;
|
|
45
|
+
id: 'managed';
|
|
111
46
|
createdAt: string;
|
|
112
47
|
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
48
|
subdomain: string;
|
|
140
49
|
type: 'managed';
|
|
141
|
-
|
|
142
|
-
interface Variant1 {
|
|
143
|
-
hostname: string;
|
|
144
|
-
type: 'custom';
|
|
50
|
+
updatedAt: string;
|
|
145
51
|
}
|
|
146
52
|
}
|
|
147
53
|
export interface DomainUpdateParams {
|
|
@@ -153,24 +59,9 @@ export interface DomainUpdateParams {
|
|
|
153
59
|
/**
|
|
154
60
|
* Body param
|
|
155
61
|
*/
|
|
156
|
-
|
|
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;
|
|
62
|
+
subdomain: string;
|
|
172
63
|
}
|
|
173
64
|
export declare namespace Domains {
|
|
174
|
-
export { type
|
|
65
|
+
export { type DomainUpdateResponse as DomainUpdateResponse, type DomainListResponse as DomainListResponse, type DomainUpdateParams as DomainUpdateParams, };
|
|
175
66
|
}
|
|
176
67
|
//# sourceMappingURL=domains.d.mts.map
|
|
@@ -1 +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
|
|
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;;;;;;;;;;;;;OAaG;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;CAGtF;AAED,MAAM,WAAW,oBAAoB;IACnC,EAAE,EAAE,SAAS,CAAC;IAEd,SAAS,EAAE,MAAM,CAAC;IAElB,QAAQ,EAAE,MAAM,CAAC;IAEjB,SAAS,EAAE,MAAM,CAAC;IAElB,IAAI,EAAE,SAAS,CAAC;IAEhB,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,kBAAkB;IACjC,OAAO,EAAE,KAAK,CAAC,kBAAkB,CAAC,MAAM,CAAC,CAAC;CAC3C;AAED,yBAAiB,kBAAkB,CAAC;IAClC,UAAiB,MAAM;QACrB,EAAE,EAAE,SAAS,CAAC;QAEd,SAAS,EAAE,MAAM,CAAC;QAElB,QAAQ,EAAE,MAAM,CAAC;QAEjB,SAAS,EAAE,MAAM,CAAC;QAElB,IAAI,EAAE,SAAS,CAAC;QAEhB,SAAS,EAAE,MAAM,CAAC;KACnB;CACF;AAED,MAAM,WAAW,kBAAkB;IACjC;;;OAGG;IACH,aAAa,EAAE,MAAM,CAAC;IAEtB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,CAAC,OAAO,WAAW,OAAO,CAAC;IAC/B,OAAO,EACL,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,kBAAkB,IAAI,kBAAkB,GAC9C,CAAC;CACH"}
|
|
@@ -3,31 +3,22 @@ import { APIPromise } from "../../core/api-promise.js";
|
|
|
3
3
|
import { RequestOptions } from "../../internal/request-options.js";
|
|
4
4
|
export declare class Domains extends APIResource {
|
|
5
5
|
/**
|
|
6
|
-
*
|
|
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.
|
|
6
|
+
* Update the managed run.tools slug for a server.
|
|
19
7
|
*
|
|
20
8
|
* @example
|
|
21
9
|
* ```ts
|
|
22
10
|
* const domain = await client.servers.domains.update(
|
|
23
11
|
* 'domainId',
|
|
24
|
-
* {
|
|
12
|
+
* {
|
|
13
|
+
* qualifiedName: 'qualifiedName',
|
|
14
|
+
* subdomain: 'subdomain',
|
|
15
|
+
* },
|
|
25
16
|
* );
|
|
26
17
|
* ```
|
|
27
18
|
*/
|
|
28
19
|
update(domainID: string, params: DomainUpdateParams, options?: RequestOptions): APIPromise<DomainUpdateResponse>;
|
|
29
20
|
/**
|
|
30
|
-
* List
|
|
21
|
+
* List the domains for a server.
|
|
31
22
|
*
|
|
32
23
|
* @example
|
|
33
24
|
* ```ts
|
|
@@ -37,111 +28,26 @@ export declare class Domains extends APIResource {
|
|
|
37
28
|
* ```
|
|
38
29
|
*/
|
|
39
30
|
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
31
|
}
|
|
78
32
|
export interface DomainUpdateResponse {
|
|
79
|
-
id:
|
|
80
|
-
allowUnauthenticated: boolean;
|
|
81
|
-
cnameTarget: string | null;
|
|
33
|
+
id: 'managed';
|
|
82
34
|
createdAt: string;
|
|
83
35
|
hostname: string;
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
subdomain: string | null;
|
|
87
|
-
type: 'managed' | 'custom';
|
|
36
|
+
subdomain: string;
|
|
37
|
+
type: 'managed';
|
|
88
38
|
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
39
|
}
|
|
103
40
|
export interface DomainListResponse {
|
|
104
41
|
domains: Array<DomainListResponse.Domain>;
|
|
105
42
|
}
|
|
106
43
|
export declare namespace DomainListResponse {
|
|
107
44
|
interface Domain {
|
|
108
|
-
id:
|
|
109
|
-
allowUnauthenticated: boolean;
|
|
110
|
-
cnameTarget: string | null;
|
|
45
|
+
id: 'managed';
|
|
111
46
|
createdAt: string;
|
|
112
47
|
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
48
|
subdomain: string;
|
|
140
49
|
type: 'managed';
|
|
141
|
-
|
|
142
|
-
interface Variant1 {
|
|
143
|
-
hostname: string;
|
|
144
|
-
type: 'custom';
|
|
50
|
+
updatedAt: string;
|
|
145
51
|
}
|
|
146
52
|
}
|
|
147
53
|
export interface DomainUpdateParams {
|
|
@@ -153,24 +59,9 @@ export interface DomainUpdateParams {
|
|
|
153
59
|
/**
|
|
154
60
|
* Body param
|
|
155
61
|
*/
|
|
156
|
-
|
|
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;
|
|
62
|
+
subdomain: string;
|
|
172
63
|
}
|
|
173
64
|
export declare namespace Domains {
|
|
174
|
-
export { type
|
|
65
|
+
export { type DomainUpdateResponse as DomainUpdateResponse, type DomainListResponse as DomainListResponse, type DomainUpdateParams as DomainUpdateParams, };
|
|
175
66
|
}
|
|
176
67
|
//# sourceMappingURL=domains.d.ts.map
|
|
@@ -1 +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
|
|
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;;;;;;;;;;;;;OAaG;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;CAGtF;AAED,MAAM,WAAW,oBAAoB;IACnC,EAAE,EAAE,SAAS,CAAC;IAEd,SAAS,EAAE,MAAM,CAAC;IAElB,QAAQ,EAAE,MAAM,CAAC;IAEjB,SAAS,EAAE,MAAM,CAAC;IAElB,IAAI,EAAE,SAAS,CAAC;IAEhB,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,kBAAkB;IACjC,OAAO,EAAE,KAAK,CAAC,kBAAkB,CAAC,MAAM,CAAC,CAAC;CAC3C;AAED,yBAAiB,kBAAkB,CAAC;IAClC,UAAiB,MAAM;QACrB,EAAE,EAAE,SAAS,CAAC;QAEd,SAAS,EAAE,MAAM,CAAC;QAElB,QAAQ,EAAE,MAAM,CAAC;QAEjB,SAAS,EAAE,MAAM,CAAC;QAElB,IAAI,EAAE,SAAS,CAAC;QAEhB,SAAS,EAAE,MAAM,CAAC;KACnB;CACF;AAED,MAAM,WAAW,kBAAkB;IACjC;;;OAGG;IACH,aAAa,EAAE,MAAM,CAAC;IAEtB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,CAAC,OAAO,WAAW,OAAO,CAAC;IAC/B,OAAO,EACL,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,kBAAkB,IAAI,kBAAkB,GAC9C,CAAC;CACH"}
|
|
@@ -6,27 +6,16 @@ const resource_1 = require("../../core/resource.js");
|
|
|
6
6
|
const path_1 = require("../../internal/utils/path.js");
|
|
7
7
|
class Domains extends resource_1.APIResource {
|
|
8
8
|
/**
|
|
9
|
-
*
|
|
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.
|
|
9
|
+
* Update the managed run.tools slug for a server.
|
|
24
10
|
*
|
|
25
11
|
* @example
|
|
26
12
|
* ```ts
|
|
27
13
|
* const domain = await client.servers.domains.update(
|
|
28
14
|
* 'domainId',
|
|
29
|
-
* {
|
|
15
|
+
* {
|
|
16
|
+
* qualifiedName: 'qualifiedName',
|
|
17
|
+
* subdomain: 'subdomain',
|
|
18
|
+
* },
|
|
30
19
|
* );
|
|
31
20
|
* ```
|
|
32
21
|
*/
|
|
@@ -35,7 +24,7 @@ class Domains extends resource_1.APIResource {
|
|
|
35
24
|
return this._client.patch((0, path_1.path) `/servers/${qualifiedName}/domains/${domainID}`, { body, ...options });
|
|
36
25
|
}
|
|
37
26
|
/**
|
|
38
|
-
* List
|
|
27
|
+
* List the domains for a server.
|
|
39
28
|
*
|
|
40
29
|
* @example
|
|
41
30
|
* ```ts
|
|
@@ -47,21 +36,6 @@ class Domains extends resource_1.APIResource {
|
|
|
47
36
|
list(qualifiedName, options) {
|
|
48
37
|
return this._client.get((0, path_1.path) `/servers/${qualifiedName}/domains`, options);
|
|
49
38
|
}
|
|
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
39
|
}
|
|
66
40
|
exports.Domains = Domains;
|
|
67
41
|
//# sourceMappingURL=domains.js.map
|
|
@@ -1 +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
|
|
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;;;;;;;;;;;;;OAaG;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;CACF;AArCD,0BAqCC"}
|
|
@@ -3,27 +3,16 @@ import { APIResource } from "../../core/resource.mjs";
|
|
|
3
3
|
import { path } from "../../internal/utils/path.mjs";
|
|
4
4
|
export class Domains extends APIResource {
|
|
5
5
|
/**
|
|
6
|
-
*
|
|
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.
|
|
6
|
+
* Update the managed run.tools slug for a server.
|
|
21
7
|
*
|
|
22
8
|
* @example
|
|
23
9
|
* ```ts
|
|
24
10
|
* const domain = await client.servers.domains.update(
|
|
25
11
|
* 'domainId',
|
|
26
|
-
* {
|
|
12
|
+
* {
|
|
13
|
+
* qualifiedName: 'qualifiedName',
|
|
14
|
+
* subdomain: 'subdomain',
|
|
15
|
+
* },
|
|
27
16
|
* );
|
|
28
17
|
* ```
|
|
29
18
|
*/
|
|
@@ -32,7 +21,7 @@ export class Domains extends APIResource {
|
|
|
32
21
|
return this._client.patch(path `/servers/${qualifiedName}/domains/${domainID}`, { body, ...options });
|
|
33
22
|
}
|
|
34
23
|
/**
|
|
35
|
-
* List
|
|
24
|
+
* List the domains for a server.
|
|
36
25
|
*
|
|
37
26
|
* @example
|
|
38
27
|
* ```ts
|
|
@@ -44,20 +33,5 @@ export class Domains extends APIResource {
|
|
|
44
33
|
list(qualifiedName, options) {
|
|
45
34
|
return this._client.get(path `/servers/${qualifiedName}/domains`, options);
|
|
46
35
|
}
|
|
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
36
|
}
|
|
63
37
|
//# sourceMappingURL=domains.mjs.map
|
|
@@ -1 +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
|
|
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;;;;;;;;;;;;;OAaG;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;CACF"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { Domains, type
|
|
1
|
+
export { Domains, type DomainUpdateResponse, type DomainListResponse, type DomainUpdateParams, } from "./domains.mjs";
|
|
2
2
|
export { Icon, type IconDeleteResponse, type IconUploadResponse } from "./icon.mjs";
|
|
3
3
|
export { Logs, type LogListResponse, type LogListParams } from "./logs.mjs";
|
|
4
4
|
export { Releases, type DeployPayload, type ExternalDeployPayload, type HostedDeployPayload, type ServerCard, type ReleaseListResponse, type ReleaseDeployResponse, type ReleaseGetResponse, type ReleaseResumeResponse, type ReleaseStreamResponse, type ReleaseListParams, type ReleaseDeployParams, type ReleaseGetParams, type ReleaseResumeParams, type ReleaseStreamParams, type ReleaseListResponsesReleasesPage, } from "./releases.mjs";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/servers/index.ts"],"names":[],"mappings":"OAEO,EACL,OAAO,EACP,KAAK,oBAAoB,EACzB,KAAK,
|
|
1
|
+
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/servers/index.ts"],"names":[],"mappings":"OAEO,EACL,OAAO,EACP,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,kBAAkB,GACxB;OACM,EAAE,IAAI,EAAE,KAAK,kBAAkB,EAAE,KAAK,kBAAkB,EAAE;OAC1D,EAAE,IAAI,EAAE,KAAK,eAAe,EAAE,KAAK,aAAa,EAAE;OAClD,EACL,QAAQ,EACR,KAAK,aAAa,EAClB,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,EACxB,KAAK,UAAU,EACf,KAAK,mBAAmB,EACxB,KAAK,qBAAqB,EAC1B,KAAK,kBAAkB,EACvB,KAAK,qBAAqB,EAC1B,KAAK,qBAAqB,EAC1B,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EACxB,KAAK,gBAAgB,EACrB,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,EACxB,KAAK,gCAAgC,GACtC;OACM,EACL,IAAI,EACJ,KAAK,kBAAkB,EACvB,KAAK,kBAAkB,EACvB,KAAK,eAAe,EACpB,KAAK,eAAe,EACpB,KAAK,gBAAgB,EACrB,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,4 +1,4 @@
|
|
|
1
|
-
export { Domains, type
|
|
1
|
+
export { Domains, type DomainUpdateResponse, type DomainListResponse, type DomainUpdateParams, } from "./domains.js";
|
|
2
2
|
export { Icon, type IconDeleteResponse, type IconUploadResponse } from "./icon.js";
|
|
3
3
|
export { Logs, type LogListResponse, type LogListParams } from "./logs.js";
|
|
4
4
|
export { Releases, type DeployPayload, type ExternalDeployPayload, type HostedDeployPayload, type ServerCard, type ReleaseListResponse, type ReleaseDeployResponse, type ReleaseGetResponse, type ReleaseResumeResponse, type ReleaseStreamResponse, type ReleaseListParams, type ReleaseDeployParams, type ReleaseGetParams, type ReleaseResumeParams, type ReleaseStreamParams, type ReleaseListResponsesReleasesPage, } from "./releases.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/servers/index.ts"],"names":[],"mappings":"OAEO,EACL,OAAO,EACP,KAAK,oBAAoB,EACzB,KAAK,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/servers/index.ts"],"names":[],"mappings":"OAEO,EACL,OAAO,EACP,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,kBAAkB,GACxB;OACM,EAAE,IAAI,EAAE,KAAK,kBAAkB,EAAE,KAAK,kBAAkB,EAAE;OAC1D,EAAE,IAAI,EAAE,KAAK,eAAe,EAAE,KAAK,aAAa,EAAE;OAClD,EACL,QAAQ,EACR,KAAK,aAAa,EAClB,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,EACxB,KAAK,UAAU,EACf,KAAK,mBAAmB,EACxB,KAAK,qBAAqB,EAC1B,KAAK,kBAAkB,EACvB,KAAK,qBAAqB,EAC1B,KAAK,qBAAqB,EAC1B,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EACxB,KAAK,gBAAgB,EACrB,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,EACxB,KAAK,gCAAgC,GACtC;OACM,EACL,IAAI,EACJ,KAAK,kBAAkB,EACvB,KAAK,kBAAkB,EACvB,KAAK,eAAe,EACpB,KAAK,eAAe,EACpB,KAAK,gBAAgB,EACrB,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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/servers/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/servers/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wCAKmB;AAJjB,kGAAA,OAAO,OAAA;AAKT,kCAAgF;AAAvE,4FAAA,IAAI,OAAA;AACb,kCAAwE;AAA/D,4FAAA,IAAI,OAAA;AACb,0CAiBoB;AAhBlB,oGAAA,QAAQ,OAAA;AAiBV,kCAQgB;AAPd,4FAAA,IAAI,OAAA;AAQN,wCAOmB;AANjB,kGAAA,OAAO,OAAA;AAOT,wCAcmB;AAbjB,kGAAA,OAAO,OAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/servers/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EACL,OAAO,
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/servers/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EACL,OAAO,GAIR;OACM,EAAE,IAAI,EAAoD;OAC1D,EAAE,IAAI,EAA4C;OAClD,EACL,QAAQ,GAgBT;OACM,EACL,IAAI,GAOL;OACM,EACL,OAAO,GAMR;OACM,EACL,OAAO,GAaR"}
|
|
@@ -113,7 +113,6 @@ export declare namespace HostedDeployPayload {
|
|
|
113
113
|
}
|
|
114
114
|
export interface ServerCard {
|
|
115
115
|
serverInfo: ServerCard.ServerInfo;
|
|
116
|
-
eventTopics?: Array<ServerCard.EventTopic>;
|
|
117
116
|
prompts?: Array<ServerCard.Prompt>;
|
|
118
117
|
resources?: Array<ServerCard.Resource>;
|
|
119
118
|
tools?: Array<ServerCard.Tool>;
|
|
@@ -136,17 +135,6 @@ export declare namespace ServerCard {
|
|
|
136
135
|
theme?: 'light' | 'dark';
|
|
137
136
|
}
|
|
138
137
|
}
|
|
139
|
-
interface EventTopic {
|
|
140
|
-
name: string;
|
|
141
|
-
topic: string;
|
|
142
|
-
description?: string;
|
|
143
|
-
eventSchema?: {
|
|
144
|
-
[key: string]: unknown;
|
|
145
|
-
};
|
|
146
|
-
inputSchema?: {
|
|
147
|
-
[key: string]: unknown;
|
|
148
|
-
};
|
|
149
|
-
}
|
|
150
138
|
interface Prompt {
|
|
151
139
|
name: string;
|
|
152
140
|
_meta?: {
|