@meshery/schemas 1.3.9 → 1.4.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/dist/cloudApi.d.mts +28 -28
- package/dist/cloudApi.d.ts +28 -28
- package/dist/constructs/v1alpha1/capability/Capability.d.ts +106 -111
- package/dist/constructs/v1alpha1/core/Core.d.ts +822 -734
- package/dist/constructs/v1alpha2/catalog/Catalog.d.ts +45 -40
- package/dist/constructs/v1alpha3/relationship/Relationship.d.ts +1829 -1716
- package/dist/constructs/v1beta1/academy/Academy.d.ts +6023 -6642
- package/dist/constructs/v1beta1/badge/Badge.d.ts +439 -600
- package/dist/constructs/v1beta1/capability/Capability.d.ts +106 -111
- package/dist/constructs/v1beta1/catalog/Catalog.d.ts +45 -40
- package/dist/constructs/v1beta1/category/Category.d.ts +38 -26
- package/dist/constructs/v1beta1/component/Component.d.ts +833 -729
- package/dist/constructs/v1beta1/connection/Connection.d.ts +1170 -1357
- package/dist/constructs/v1beta1/core/Core.d.ts +822 -734
- package/dist/constructs/v1beta1/credential/Credential.d.ts +458 -593
- package/dist/constructs/v1beta1/environment/Environment.d.ts +666 -835
- package/dist/constructs/v1beta1/evaluation/Evaluation.d.ts +6142 -5619
- package/dist/constructs/v1beta1/event/Event.d.ts +527 -898
- package/dist/constructs/v1beta1/feature/Feature.d.ts +343 -389
- package/dist/constructs/v1beta1/invitation/Invitation.d.ts +877 -1244
- package/dist/constructs/v1beta1/key/Key.d.ts +444 -589
- package/dist/constructs/v1beta1/keychain/Keychain.d.ts +575 -796
- package/dist/constructs/v1beta1/model/Model.d.ts +598 -572
- package/dist/constructs/v1beta1/organization/Organization.d.ts +1410 -1829
- package/dist/constructs/v1beta1/pattern/Pattern.d.ts +17988 -17171
- package/dist/constructs/v1beta1/plan/Plan.d.ts +115 -159
- package/dist/constructs/v1beta1/role/Role.d.ts +688 -933
- package/dist/constructs/v1beta1/schedule/Schedule.d.ts +315 -425
- package/dist/constructs/v1beta1/subcategory/Subcategory.d.ts +61 -18
- package/dist/constructs/v1beta1/subscription/Subscription.d.ts +674 -839
- package/dist/constructs/v1beta1/support/Support.d.ts +74 -115
- package/dist/constructs/v1beta1/system/System.d.ts +250 -385
- package/dist/constructs/v1beta1/team/Team.d.ts +762 -1028
- package/dist/constructs/v1beta1/token/Token.d.ts +475 -612
- package/dist/constructs/v1beta1/user/User.d.ts +1553 -1722
- package/dist/constructs/v1beta1/view/View.d.ts +664 -833
- package/dist/constructs/v1beta1/workspace/Workspace.d.ts +4705 -4910
- package/dist/constructs/v1beta2/academy/Academy.d.ts +7246 -7864
- package/dist/constructs/v1beta2/badge/Badge.d.ts +453 -610
- package/dist/constructs/v1beta2/catalog/Catalog.d.ts +45 -40
- package/dist/constructs/v1beta2/component/Component.d.ts +851 -747
- package/dist/constructs/v1beta2/connection/Connection.d.ts +1189 -1376
- package/dist/constructs/v1beta2/core/Core.d.ts +856 -768
- package/dist/constructs/v1beta2/credential/Credential.d.ts +437 -572
- package/dist/constructs/v1beta2/design/Design.d.ts +18631 -17846
- package/dist/constructs/v1beta2/event/Event.d.ts +575 -946
- package/dist/constructs/v1beta2/invitation/Invitation.d.ts +901 -1268
- package/dist/constructs/v1beta2/key/Key.d.ts +454 -599
- package/dist/constructs/v1beta2/keychain/Keychain.d.ts +585 -806
- package/dist/constructs/v1beta2/model/Model.d.ts +636 -610
- package/dist/constructs/v1beta2/organization/Organization.d.ts +2017 -2458
- package/dist/constructs/v1beta2/plan/Plan.d.ts +128 -169
- package/dist/constructs/v1beta2/relationship/Relationship.d.ts +2013 -1844
- package/dist/constructs/v1beta2/role/Role.d.ts +695 -940
- package/dist/constructs/v1beta2/schedule/Schedule.d.ts +356 -466
- package/dist/constructs/v1beta2/subscription/Subscription.d.ts +701 -866
- package/dist/constructs/v1beta2/team/Team.d.ts +852 -1118
- package/dist/constructs/v1beta2/token/Token.d.ts +479 -616
- package/dist/constructs/v1beta2/user/User.d.ts +1553 -1722
- package/dist/constructs/v1beta2/view/View.d.ts +669 -838
- package/dist/constructs/v1beta3/academy/Academy.d.ts +7246 -7864
- package/dist/constructs/v1beta3/academy/AcademySchema.js +1 -1
- package/dist/constructs/v1beta3/academy/AcademySchema.mjs +1 -1
- package/dist/constructs/v1beta3/component/Component.d.ts +857 -753
- package/dist/constructs/v1beta3/connection/Connection.d.ts +5559 -5053
- package/dist/constructs/v1beta3/connection/ConnectionSchema.js +6 -6
- package/dist/constructs/v1beta3/connection/ConnectionSchema.mjs +6 -6
- package/dist/constructs/v1beta3/design/Design.d.ts +5297 -5719
- package/dist/constructs/v1beta3/design/DesignSchema.js +2 -2
- package/dist/constructs/v1beta3/design/DesignSchema.mjs +2 -2
- package/dist/constructs/v1beta3/environment/Environment.d.ts +689 -858
- package/dist/constructs/v1beta3/event/Event.d.ts +666 -1041
- package/dist/constructs/v1beta3/event/EventSchema.js +1 -1
- package/dist/constructs/v1beta3/event/EventSchema.mjs +1 -1
- package/dist/constructs/v1beta3/filter/Filter.d.ts +1300 -1438
- package/dist/constructs/v1beta3/filter/FilterSchema.js +7 -7
- package/dist/constructs/v1beta3/filter/FilterSchema.mjs +7 -7
- package/dist/constructs/v1beta3/invitation/Invitation.d.ts +911 -1278
- package/dist/constructs/v1beta3/invitation/InvitationSchema.js +1 -1
- package/dist/constructs/v1beta3/invitation/InvitationSchema.mjs +1 -1
- package/dist/constructs/v1beta3/performance_profile/PerformanceProfile.d.ts +1114 -1412
- package/dist/constructs/v1beta3/performance_profile/PerformanceProfileSchema.js +1 -1
- package/dist/constructs/v1beta3/performance_profile/PerformanceProfileSchema.mjs +1 -1
- package/dist/constructs/v1beta3/plan/Plan.d.ts +156 -197
- package/dist/constructs/v1beta3/relationship/Relationship.d.ts +2013 -1844
- package/dist/constructs/v1beta3/subscription/Subscription.d.ts +804 -969
- package/dist/constructs/v1beta3/token/Token.d.ts +480 -617
- package/dist/constructs/v1beta3/token/TokenSchema.js +1 -1
- package/dist/constructs/v1beta3/token/TokenSchema.mjs +1 -1
- package/dist/constructs/v1beta3/workspace/Workspace.d.ts +4825 -5033
- package/dist/index.d.mts +5032 -5501
- package/dist/index.d.ts +5032 -5501
- package/dist/mesheryApi.d.mts +8 -8
- package/dist/mesheryApi.d.ts +8 -8
- package/dist/mesheryApi.js +1 -1
- package/dist/mesheryApi.mjs +1 -1
- package/dist/permissions.d.mts +25 -1
- package/dist/permissions.d.ts +25 -1
- package/dist/permissions.js +1 -1
- package/dist/permissions.mjs +1 -1
- package/package.json +1 -1
|
@@ -4,109 +4,169 @@
|
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
export interface paths {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
7
|
+
"/api/system/database": {
|
|
8
|
+
/** Returns a paginated summary of Meshery database tables and row counts. */
|
|
9
|
+
get: operations["getSystemDatabase"];
|
|
10
|
+
};
|
|
11
|
+
"/api/system/database/reset": {
|
|
12
|
+
/** Resets the Meshery server database. This is a destructive operation. */
|
|
13
|
+
delete: operations["resetSystemDatabase"];
|
|
14
|
+
};
|
|
15
|
+
"/api/system/version": {
|
|
16
|
+
/** Returns version metadata for the running Meshery service. */
|
|
17
|
+
get: operations["getSystemVersion"];
|
|
18
|
+
};
|
|
19
|
+
"/api/system/sync": {
|
|
20
|
+
/** Returns session bootstrap data for the authenticated user. */
|
|
21
|
+
get: operations["getSystemSync"];
|
|
22
|
+
};
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
export interface components {
|
|
26
|
+
schemas: {
|
|
27
|
+
/** @description Status message response. */
|
|
28
|
+
SystemMessageResponse: {
|
|
29
|
+
/** @description Human-readable status message. */
|
|
30
|
+
message: string;
|
|
31
|
+
};
|
|
32
|
+
/** @description Database table summary. */
|
|
33
|
+
SystemDatabaseTable: {
|
|
34
|
+
/** @description Name of the table. */
|
|
35
|
+
name: string;
|
|
36
|
+
/** @description SQLite object type (e.g. `table`). */
|
|
37
|
+
type: string;
|
|
38
|
+
/**
|
|
39
|
+
* Format: int64
|
|
40
|
+
* @description Number of rows currently in the table.
|
|
41
|
+
*/
|
|
42
|
+
count: number;
|
|
43
|
+
};
|
|
44
|
+
/** @description Paginated summary of the Meshery server's embedded database. */
|
|
45
|
+
SystemDatabaseSummary: {
|
|
46
|
+
/** @description Zero-based page index of the returned table slice. */
|
|
47
|
+
page: number;
|
|
48
|
+
/** @description Number of tables included in this page. */
|
|
49
|
+
pageSize: number;
|
|
50
|
+
/** @description Total number of tables in the database matching the search filter. */
|
|
51
|
+
totalTables: number;
|
|
52
|
+
/** @description Aggregate row count across the tables returned in this page. */
|
|
53
|
+
recordCount: number;
|
|
54
|
+
/** @description Tables included in this page, with per-table row counts. */
|
|
55
|
+
tables: {
|
|
56
|
+
/** @description Name of the table. */
|
|
57
|
+
name: string;
|
|
58
|
+
/** @description SQLite object type (e.g. `table`). */
|
|
59
|
+
type: string;
|
|
14
60
|
/**
|
|
15
|
-
*
|
|
16
|
-
* @description
|
|
61
|
+
* Format: int64
|
|
62
|
+
* @description Number of rows currently in the table.
|
|
17
63
|
*/
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
post?: never;
|
|
21
|
-
delete?: never;
|
|
22
|
-
options?: never;
|
|
23
|
-
head?: never;
|
|
24
|
-
patch?: never;
|
|
25
|
-
trace?: never;
|
|
64
|
+
count: number;
|
|
65
|
+
}[];
|
|
26
66
|
};
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
67
|
+
/** @description Version metadata for a running Meshery service. */
|
|
68
|
+
SystemVersion: {
|
|
69
|
+
/** @description Meshery Cloud deployment version. */
|
|
70
|
+
version?: string;
|
|
71
|
+
/** @description Build identifier (typically the git tag of the running binary). */
|
|
72
|
+
build?: string;
|
|
73
|
+
/** @description Latest available Meshery release tag fetched from GitHub. */
|
|
74
|
+
latest?: string;
|
|
75
|
+
/** @description True when the running build is older than the latest available release. */
|
|
76
|
+
outdated?: boolean;
|
|
77
|
+
/** @description Git commit SHA of the running service. The wire field is `commitsha`. */
|
|
78
|
+
commitsha?: string;
|
|
79
|
+
/** @description Release channel of the running binary (e.g. `stable`, `edge`). */
|
|
80
|
+
releaseChannel?: string;
|
|
81
|
+
};
|
|
82
|
+
/** @description Kubernetes context tracked by Meshery. */
|
|
83
|
+
SystemSessionSyncK8sContext: {
|
|
84
|
+
/** @description Stable identifier for the Kubernetes context. */
|
|
85
|
+
id?: string;
|
|
86
|
+
/** @description Human-readable name of the Kubernetes context. */
|
|
87
|
+
name?: string;
|
|
88
|
+
/** @description True when Meshery has a usable kubeconfig for this context. */
|
|
89
|
+
clusterConfigured?: boolean;
|
|
90
|
+
/** @description API server URL for the Kubernetes context. */
|
|
91
|
+
server?: string;
|
|
92
|
+
/**
|
|
93
|
+
* Format: uuid
|
|
94
|
+
* @description Kubernetes server ID associated with this context.
|
|
95
|
+
*/
|
|
96
|
+
clusterId?: string;
|
|
97
|
+
/**
|
|
98
|
+
* Format: date-time
|
|
99
|
+
* @description When the context was first registered with Meshery.
|
|
100
|
+
*/
|
|
101
|
+
createdAt?: string;
|
|
102
|
+
/**
|
|
103
|
+
* Format: date-time
|
|
104
|
+
* @description When the context was last updated.
|
|
105
|
+
*/
|
|
106
|
+
updatedAt?: string;
|
|
107
|
+
};
|
|
108
|
+
/** @description Session bootstrap payload for the authenticated user. */
|
|
109
|
+
SystemSessionSync: {
|
|
110
|
+
/** @description Kubernetes contexts currently tracked by the Meshery server. */
|
|
111
|
+
k8sConfig?: {
|
|
112
|
+
/** @description Stable identifier for the Kubernetes context. */
|
|
113
|
+
id?: string;
|
|
114
|
+
/** @description Human-readable name of the Kubernetes context. */
|
|
115
|
+
name?: string;
|
|
116
|
+
/** @description True when Meshery has a usable kubeconfig for this context. */
|
|
117
|
+
clusterConfigured?: boolean;
|
|
118
|
+
/** @description API server URL for the Kubernetes context. */
|
|
119
|
+
server?: string;
|
|
37
120
|
/**
|
|
38
|
-
*
|
|
39
|
-
* @description
|
|
121
|
+
* Format: uuid
|
|
122
|
+
* @description Kubernetes server ID associated with this context.
|
|
40
123
|
*/
|
|
41
|
-
|
|
42
|
-
options?: never;
|
|
43
|
-
head?: never;
|
|
44
|
-
patch?: never;
|
|
45
|
-
trace?: never;
|
|
46
|
-
};
|
|
47
|
-
"/api/system/version": {
|
|
48
|
-
parameters: {
|
|
49
|
-
query?: never;
|
|
50
|
-
header?: never;
|
|
51
|
-
path?: never;
|
|
52
|
-
cookie?: never;
|
|
53
|
-
};
|
|
124
|
+
clusterId?: string;
|
|
54
125
|
/**
|
|
55
|
-
*
|
|
56
|
-
* @description
|
|
126
|
+
* Format: date-time
|
|
127
|
+
* @description When the context was first registered with Meshery.
|
|
57
128
|
*/
|
|
58
|
-
|
|
59
|
-
put?: never;
|
|
60
|
-
post?: never;
|
|
61
|
-
delete?: never;
|
|
62
|
-
options?: never;
|
|
63
|
-
head?: never;
|
|
64
|
-
patch?: never;
|
|
65
|
-
trace?: never;
|
|
66
|
-
};
|
|
67
|
-
"/api/system/sync": {
|
|
68
|
-
parameters: {
|
|
69
|
-
query?: never;
|
|
70
|
-
header?: never;
|
|
71
|
-
path?: never;
|
|
72
|
-
cookie?: never;
|
|
73
|
-
};
|
|
129
|
+
createdAt?: string;
|
|
74
130
|
/**
|
|
75
|
-
*
|
|
76
|
-
* @description
|
|
131
|
+
* Format: date-time
|
|
132
|
+
* @description When the context was last updated.
|
|
77
133
|
*/
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
134
|
+
updatedAt?: string;
|
|
135
|
+
}[];
|
|
136
|
+
} & { [key: string]: unknown };
|
|
137
|
+
};
|
|
138
|
+
responses: {
|
|
139
|
+
/** Expired JWT token used or insufficient privilege */
|
|
140
|
+
401: {
|
|
141
|
+
content: {
|
|
142
|
+
"text/plain": string;
|
|
143
|
+
};
|
|
86
144
|
};
|
|
145
|
+
};
|
|
87
146
|
}
|
|
88
|
-
|
|
89
|
-
export interface
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
/**
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
147
|
+
|
|
148
|
+
export interface operations {
|
|
149
|
+
/** Returns a paginated summary of Meshery database tables and row counts. */
|
|
150
|
+
getSystemDatabase: {
|
|
151
|
+
parameters: {
|
|
152
|
+
query: {
|
|
153
|
+
/** Zero-based page index for the table list. */
|
|
154
|
+
page?: number;
|
|
155
|
+
/** Number of tables to include per page. */
|
|
156
|
+
pageSize?: number;
|
|
157
|
+
/** Substring filter applied to table names. */
|
|
158
|
+
search?: string;
|
|
159
|
+
/** Column to order the table list by. */
|
|
160
|
+
sort?: "name";
|
|
161
|
+
/** Sort direction for the `sort` column. */
|
|
162
|
+
order?: "asc" | "desc";
|
|
163
|
+
};
|
|
164
|
+
};
|
|
165
|
+
responses: {
|
|
166
|
+
/** Database summary */
|
|
167
|
+
200: {
|
|
168
|
+
content: {
|
|
169
|
+
"application/json": {
|
|
110
170
|
/** @description Zero-based page index of the returned table slice. */
|
|
111
171
|
page: number;
|
|
112
172
|
/** @description Number of tables included in this page. */
|
|
@@ -117,19 +177,58 @@ export interface components {
|
|
|
117
177
|
recordCount: number;
|
|
118
178
|
/** @description Tables included in this page, with per-table row counts. */
|
|
119
179
|
tables: {
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
180
|
+
/** @description Name of the table. */
|
|
181
|
+
name: string;
|
|
182
|
+
/** @description SQLite object type (e.g. `table`). */
|
|
183
|
+
type: string;
|
|
184
|
+
/**
|
|
185
|
+
* Format: int64
|
|
186
|
+
* @description Number of rows currently in the table.
|
|
187
|
+
*/
|
|
188
|
+
count: number;
|
|
129
189
|
}[];
|
|
190
|
+
};
|
|
191
|
+
};
|
|
192
|
+
};
|
|
193
|
+
/** Expired JWT token used or insufficient privilege */
|
|
194
|
+
401: {
|
|
195
|
+
content: {
|
|
196
|
+
"text/plain": string;
|
|
130
197
|
};
|
|
131
|
-
|
|
132
|
-
|
|
198
|
+
};
|
|
199
|
+
/** Internal server error */
|
|
200
|
+
500: unknown;
|
|
201
|
+
};
|
|
202
|
+
};
|
|
203
|
+
/** Resets the Meshery server database. This is a destructive operation. */
|
|
204
|
+
resetSystemDatabase: {
|
|
205
|
+
responses: {
|
|
206
|
+
/** Database reset */
|
|
207
|
+
200: {
|
|
208
|
+
content: {
|
|
209
|
+
"application/json": {
|
|
210
|
+
/** @description Human-readable status message. */
|
|
211
|
+
message: string;
|
|
212
|
+
};
|
|
213
|
+
};
|
|
214
|
+
};
|
|
215
|
+
/** Expired JWT token used or insufficient privilege */
|
|
216
|
+
401: {
|
|
217
|
+
content: {
|
|
218
|
+
"text/plain": string;
|
|
219
|
+
};
|
|
220
|
+
};
|
|
221
|
+
/** Internal server error during reset (archive, drop, migrate, or reseed). */
|
|
222
|
+
500: unknown;
|
|
223
|
+
};
|
|
224
|
+
};
|
|
225
|
+
/** Returns version metadata for the running Meshery service. */
|
|
226
|
+
getSystemVersion: {
|
|
227
|
+
responses: {
|
|
228
|
+
/** Server version metadata */
|
|
229
|
+
200: {
|
|
230
|
+
content: {
|
|
231
|
+
"application/json": {
|
|
133
232
|
/** @description Meshery Cloud deployment version. */
|
|
134
233
|
version?: string;
|
|
135
234
|
/** @description Build identifier (typically the git tag of the running binary). */
|
|
@@ -142,293 +241,59 @@ export interface components {
|
|
|
142
241
|
commitsha?: string;
|
|
143
242
|
/** @description Release channel of the running binary (e.g. `stable`, `edge`). */
|
|
144
243
|
releaseChannel?: string;
|
|
244
|
+
};
|
|
145
245
|
};
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
* @description Kubernetes server ID associated with this context.
|
|
159
|
-
*/
|
|
160
|
-
clusterId?: string;
|
|
161
|
-
/**
|
|
162
|
-
* Format: date-time
|
|
163
|
-
* @description When the context was first registered with Meshery.
|
|
164
|
-
*/
|
|
165
|
-
createdAt?: string;
|
|
166
|
-
/**
|
|
167
|
-
* Format: date-time
|
|
168
|
-
* @description When the context was last updated.
|
|
169
|
-
*/
|
|
170
|
-
updatedAt?: string;
|
|
171
|
-
};
|
|
172
|
-
/** @description Session bootstrap payload for the authenticated user. */
|
|
173
|
-
SystemSessionSync: {
|
|
246
|
+
};
|
|
247
|
+
/** Encoding error while serializing the version payload. */
|
|
248
|
+
500: unknown;
|
|
249
|
+
};
|
|
250
|
+
};
|
|
251
|
+
/** Returns session bootstrap data for the authenticated user. */
|
|
252
|
+
getSystemSync: {
|
|
253
|
+
responses: {
|
|
254
|
+
/** Session sync payload */
|
|
255
|
+
200: {
|
|
256
|
+
content: {
|
|
257
|
+
"application/json": {
|
|
174
258
|
/** @description Kubernetes contexts currently tracked by the Meshery server. */
|
|
175
259
|
k8sConfig?: {
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
260
|
+
/** @description Stable identifier for the Kubernetes context. */
|
|
261
|
+
id?: string;
|
|
262
|
+
/** @description Human-readable name of the Kubernetes context. */
|
|
263
|
+
name?: string;
|
|
264
|
+
/** @description True when Meshery has a usable kubeconfig for this context. */
|
|
265
|
+
clusterConfigured?: boolean;
|
|
266
|
+
/** @description API server URL for the Kubernetes context. */
|
|
267
|
+
server?: string;
|
|
268
|
+
/**
|
|
269
|
+
* Format: uuid
|
|
270
|
+
* @description Kubernetes server ID associated with this context.
|
|
271
|
+
*/
|
|
272
|
+
clusterId?: string;
|
|
273
|
+
/**
|
|
274
|
+
* Format: date-time
|
|
275
|
+
* @description When the context was first registered with Meshery.
|
|
276
|
+
*/
|
|
277
|
+
createdAt?: string;
|
|
278
|
+
/**
|
|
279
|
+
* Format: date-time
|
|
280
|
+
* @description When the context was last updated.
|
|
281
|
+
*/
|
|
282
|
+
updatedAt?: string;
|
|
199
283
|
}[];
|
|
200
|
-
|
|
201
|
-
[key: string]: unknown;
|
|
284
|
+
} & { [key: string]: unknown };
|
|
202
285
|
};
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
[name: string]: unknown;
|
|
209
|
-
};
|
|
210
|
-
content: {
|
|
211
|
-
"text/plain": string;
|
|
212
|
-
};
|
|
213
|
-
};
|
|
214
|
-
};
|
|
215
|
-
parameters: never;
|
|
216
|
-
requestBodies: never;
|
|
217
|
-
headers: never;
|
|
218
|
-
pathItems: never;
|
|
219
|
-
}
|
|
220
|
-
export type $defs = Record<string, never>;
|
|
221
|
-
export interface operations {
|
|
222
|
-
getSystemDatabase: {
|
|
223
|
-
parameters: {
|
|
224
|
-
query?: {
|
|
225
|
-
/** @description Zero-based page index for the table list. */
|
|
226
|
-
page?: number;
|
|
227
|
-
/** @description Number of tables to include per page. */
|
|
228
|
-
pageSize?: number;
|
|
229
|
-
/** @description Substring filter applied to table names. */
|
|
230
|
-
search?: string;
|
|
231
|
-
/** @description Column to order the table list by. */
|
|
232
|
-
sort?: "name";
|
|
233
|
-
/** @description Sort direction for the `sort` column. */
|
|
234
|
-
order?: "asc" | "desc";
|
|
235
|
-
};
|
|
236
|
-
header?: never;
|
|
237
|
-
path?: never;
|
|
238
|
-
cookie?: never;
|
|
239
|
-
};
|
|
240
|
-
requestBody?: never;
|
|
241
|
-
responses: {
|
|
242
|
-
/** @description Database summary */
|
|
243
|
-
200: {
|
|
244
|
-
headers: {
|
|
245
|
-
[name: string]: unknown;
|
|
246
|
-
};
|
|
247
|
-
content: {
|
|
248
|
-
"application/json": {
|
|
249
|
-
/** @description Zero-based page index of the returned table slice. */
|
|
250
|
-
page: number;
|
|
251
|
-
/** @description Number of tables included in this page. */
|
|
252
|
-
pageSize: number;
|
|
253
|
-
/** @description Total number of tables in the database matching the search filter. */
|
|
254
|
-
totalTables: number;
|
|
255
|
-
/** @description Aggregate row count across the tables returned in this page. */
|
|
256
|
-
recordCount: number;
|
|
257
|
-
/** @description Tables included in this page, with per-table row counts. */
|
|
258
|
-
tables: {
|
|
259
|
-
/** @description Name of the table. */
|
|
260
|
-
name: string;
|
|
261
|
-
/** @description SQLite object type (e.g. `table`). */
|
|
262
|
-
type: string;
|
|
263
|
-
/**
|
|
264
|
-
* Format: int64
|
|
265
|
-
* @description Number of rows currently in the table.
|
|
266
|
-
*/
|
|
267
|
-
count: number;
|
|
268
|
-
}[];
|
|
269
|
-
};
|
|
270
|
-
};
|
|
271
|
-
};
|
|
272
|
-
/** @description Expired JWT token used or insufficient privilege */
|
|
273
|
-
401: {
|
|
274
|
-
headers: {
|
|
275
|
-
[name: string]: unknown;
|
|
276
|
-
};
|
|
277
|
-
content: {
|
|
278
|
-
"text/plain": string;
|
|
279
|
-
};
|
|
280
|
-
};
|
|
281
|
-
/** @description Internal server error */
|
|
282
|
-
500: {
|
|
283
|
-
headers: {
|
|
284
|
-
[name: string]: unknown;
|
|
285
|
-
};
|
|
286
|
-
content?: never;
|
|
287
|
-
};
|
|
288
|
-
};
|
|
289
|
-
};
|
|
290
|
-
resetSystemDatabase: {
|
|
291
|
-
parameters: {
|
|
292
|
-
query?: never;
|
|
293
|
-
header?: never;
|
|
294
|
-
path?: never;
|
|
295
|
-
cookie?: never;
|
|
296
|
-
};
|
|
297
|
-
requestBody?: never;
|
|
298
|
-
responses: {
|
|
299
|
-
/** @description Database reset */
|
|
300
|
-
200: {
|
|
301
|
-
headers: {
|
|
302
|
-
[name: string]: unknown;
|
|
303
|
-
};
|
|
304
|
-
content: {
|
|
305
|
-
"application/json": {
|
|
306
|
-
/** @description Human-readable status message. */
|
|
307
|
-
message: string;
|
|
308
|
-
};
|
|
309
|
-
};
|
|
310
|
-
};
|
|
311
|
-
/** @description Expired JWT token used or insufficient privilege */
|
|
312
|
-
401: {
|
|
313
|
-
headers: {
|
|
314
|
-
[name: string]: unknown;
|
|
315
|
-
};
|
|
316
|
-
content: {
|
|
317
|
-
"text/plain": string;
|
|
318
|
-
};
|
|
319
|
-
};
|
|
320
|
-
/** @description Internal server error during reset (archive, drop, migrate, or reseed). */
|
|
321
|
-
500: {
|
|
322
|
-
headers: {
|
|
323
|
-
[name: string]: unknown;
|
|
324
|
-
};
|
|
325
|
-
content?: never;
|
|
326
|
-
};
|
|
327
|
-
};
|
|
328
|
-
};
|
|
329
|
-
getSystemVersion: {
|
|
330
|
-
parameters: {
|
|
331
|
-
query?: never;
|
|
332
|
-
header?: never;
|
|
333
|
-
path?: never;
|
|
334
|
-
cookie?: never;
|
|
335
|
-
};
|
|
336
|
-
requestBody?: never;
|
|
337
|
-
responses: {
|
|
338
|
-
/** @description Server version metadata */
|
|
339
|
-
200: {
|
|
340
|
-
headers: {
|
|
341
|
-
[name: string]: unknown;
|
|
342
|
-
};
|
|
343
|
-
content: {
|
|
344
|
-
"application/json": {
|
|
345
|
-
/** @description Meshery Cloud deployment version. */
|
|
346
|
-
version?: string;
|
|
347
|
-
/** @description Build identifier (typically the git tag of the running binary). */
|
|
348
|
-
build?: string;
|
|
349
|
-
/** @description Latest available Meshery release tag fetched from GitHub. */
|
|
350
|
-
latest?: string;
|
|
351
|
-
/** @description True when the running build is older than the latest available release. */
|
|
352
|
-
outdated?: boolean;
|
|
353
|
-
/** @description Git commit SHA of the running service. The wire field is `commitsha`. */
|
|
354
|
-
commitsha?: string;
|
|
355
|
-
/** @description Release channel of the running binary (e.g. `stable`, `edge`). */
|
|
356
|
-
releaseChannel?: string;
|
|
357
|
-
};
|
|
358
|
-
};
|
|
359
|
-
};
|
|
360
|
-
/** @description Encoding error while serializing the version payload. */
|
|
361
|
-
500: {
|
|
362
|
-
headers: {
|
|
363
|
-
[name: string]: unknown;
|
|
364
|
-
};
|
|
365
|
-
content?: never;
|
|
366
|
-
};
|
|
367
|
-
};
|
|
368
|
-
};
|
|
369
|
-
getSystemSync: {
|
|
370
|
-
parameters: {
|
|
371
|
-
query?: never;
|
|
372
|
-
header?: never;
|
|
373
|
-
path?: never;
|
|
374
|
-
cookie?: never;
|
|
375
|
-
};
|
|
376
|
-
requestBody?: never;
|
|
377
|
-
responses: {
|
|
378
|
-
/** @description Session sync payload */
|
|
379
|
-
200: {
|
|
380
|
-
headers: {
|
|
381
|
-
[name: string]: unknown;
|
|
382
|
-
};
|
|
383
|
-
content: {
|
|
384
|
-
"application/json": {
|
|
385
|
-
/** @description Kubernetes contexts currently tracked by the Meshery server. */
|
|
386
|
-
k8sConfig?: {
|
|
387
|
-
/** @description Stable identifier for the Kubernetes context. */
|
|
388
|
-
id?: string;
|
|
389
|
-
/** @description Human-readable name of the Kubernetes context. */
|
|
390
|
-
name?: string;
|
|
391
|
-
/** @description True when Meshery has a usable kubeconfig for this context. */
|
|
392
|
-
clusterConfigured?: boolean;
|
|
393
|
-
/** @description API server URL for the Kubernetes context. */
|
|
394
|
-
server?: string;
|
|
395
|
-
/**
|
|
396
|
-
* Format: uuid
|
|
397
|
-
* @description Kubernetes server ID associated with this context.
|
|
398
|
-
*/
|
|
399
|
-
clusterId?: string;
|
|
400
|
-
/**
|
|
401
|
-
* Format: date-time
|
|
402
|
-
* @description When the context was first registered with Meshery.
|
|
403
|
-
*/
|
|
404
|
-
createdAt?: string;
|
|
405
|
-
/**
|
|
406
|
-
* Format: date-time
|
|
407
|
-
* @description When the context was last updated.
|
|
408
|
-
*/
|
|
409
|
-
updatedAt?: string;
|
|
410
|
-
}[];
|
|
411
|
-
} & {
|
|
412
|
-
[key: string]: unknown;
|
|
413
|
-
};
|
|
414
|
-
};
|
|
415
|
-
};
|
|
416
|
-
/** @description Expired JWT token used or insufficient privilege */
|
|
417
|
-
401: {
|
|
418
|
-
headers: {
|
|
419
|
-
[name: string]: unknown;
|
|
420
|
-
};
|
|
421
|
-
content: {
|
|
422
|
-
"text/plain": string;
|
|
423
|
-
};
|
|
424
|
-
};
|
|
425
|
-
/** @description Marshal error while serializing the session sync payload. */
|
|
426
|
-
500: {
|
|
427
|
-
headers: {
|
|
428
|
-
[name: string]: unknown;
|
|
429
|
-
};
|
|
430
|
-
content?: never;
|
|
431
|
-
};
|
|
286
|
+
};
|
|
287
|
+
/** Expired JWT token used or insufficient privilege */
|
|
288
|
+
401: {
|
|
289
|
+
content: {
|
|
290
|
+
"text/plain": string;
|
|
432
291
|
};
|
|
292
|
+
};
|
|
293
|
+
/** Marshal error while serializing the session sync payload. */
|
|
294
|
+
500: unknown;
|
|
433
295
|
};
|
|
296
|
+
};
|
|
434
297
|
}
|
|
298
|
+
|
|
299
|
+
export interface external {}
|