@meshery/schemas 1.2.15 → 1.2.16

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 (147) hide show
  1. package/dist/constructs/v1alpha1/capability/Capability.d.ts +114 -0
  2. package/dist/constructs/v1alpha1/capability/CapabilitySchema.d.ts +2 -0
  3. package/dist/constructs/v1alpha1/core/Core.d.ts +832 -0
  4. package/dist/constructs/v1alpha1/core/CoreSchema.d.ts +2 -0
  5. package/dist/constructs/v1alpha2/catalog/Catalog.d.ts +53 -0
  6. package/dist/constructs/v1alpha2/catalog/CatalogSchema.d.ts +2 -0
  7. package/dist/constructs/v1alpha3/relationship/Relationship.d.ts +1937 -0
  8. package/dist/constructs/v1alpha3/relationship/RelationshipSchema.d.ts +2 -0
  9. package/dist/constructs/v1beta1/academy/Academy.d.ts +6417 -0
  10. package/dist/constructs/v1beta1/academy/AcademySchema.d.ts +2 -0
  11. package/dist/constructs/v1beta1/badge/Badge.d.ts +546 -0
  12. package/dist/constructs/v1beta1/badge/BadgeSchema.d.ts +2 -0
  13. package/dist/constructs/v1beta1/capability/Capability.d.ts +114 -0
  14. package/dist/constructs/v1beta1/capability/CapabilitySchema.d.ts +2 -0
  15. package/dist/constructs/v1beta1/catalog/Catalog.d.ts +53 -0
  16. package/dist/constructs/v1beta1/catalog/CatalogSchema.d.ts +2 -0
  17. package/dist/constructs/v1beta1/category/Category.d.ts +46 -0
  18. package/dist/constructs/v1beta1/category/CategorySchema.d.ts +2 -0
  19. package/dist/constructs/v1beta1/component/Component.d.ts +869 -0
  20. package/dist/constructs/v1beta1/component/ComponentSchema.d.ts +2 -0
  21. package/dist/constructs/v1beta1/connection/Connection.d.ts +1300 -0
  22. package/dist/constructs/v1beta1/connection/ConnectionSchema.d.ts +2 -0
  23. package/dist/constructs/v1beta1/core/Core.d.ts +832 -0
  24. package/dist/constructs/v1beta1/core/CoreSchema.d.ts +2 -0
  25. package/dist/constructs/v1beta1/credential/Credential.d.ts +530 -0
  26. package/dist/constructs/v1beta1/credential/CredentialSchema.d.ts +2 -0
  27. package/dist/constructs/v1beta1/environment/Environment.d.ts +759 -0
  28. package/dist/constructs/v1beta1/environment/EnvironmentSchema.d.ts +2 -0
  29. package/dist/constructs/v1beta1/evaluation/Evaluation.d.ts +6338 -0
  30. package/dist/constructs/v1beta1/evaluation/EvaluationSchema.d.ts +2 -0
  31. package/dist/constructs/v1beta1/event/Event.d.ts +570 -0
  32. package/dist/constructs/v1beta1/event/EventSchema.d.ts +2 -0
  33. package/dist/constructs/v1beta1/feature/Feature.d.ts +308 -0
  34. package/dist/constructs/v1beta1/feature/FeatureSchema.d.ts +2 -0
  35. package/dist/constructs/v1beta1/invitation/Invitation.d.ts +983 -0
  36. package/dist/constructs/v1beta1/invitation/InvitationSchema.d.ts +2 -0
  37. package/dist/constructs/v1beta1/key/Key.d.ts +514 -0
  38. package/dist/constructs/v1beta1/key/KeySchema.d.ts +2 -0
  39. package/dist/constructs/v1beta1/keychain/Keychain.d.ts +642 -0
  40. package/dist/constructs/v1beta1/keychain/KeychainSchema.d.ts +2 -0
  41. package/dist/constructs/v1beta1/model/Model.d.ts +659 -0
  42. package/dist/constructs/v1beta1/model/ModelSchema.d.ts +2 -0
  43. package/dist/constructs/v1beta1/organization/Organization.d.ts +1598 -0
  44. package/dist/constructs/v1beta1/organization/OrganizationSchema.d.ts +2 -0
  45. package/dist/constructs/v1beta1/pattern/Pattern.d.ts +18407 -0
  46. package/dist/constructs/v1beta1/pattern/PatternSchema.d.ts +2 -0
  47. package/dist/constructs/v1beta1/plan/Plan.d.ts +149 -0
  48. package/dist/constructs/v1beta1/plan/PlanSchema.d.ts +2 -0
  49. package/dist/constructs/v1beta1/relationship/Relationship.d.ts +1921 -0
  50. package/dist/constructs/v1beta1/relationship/RelationshipSchema.d.ts +2 -0
  51. package/dist/constructs/v1beta1/role/Role.d.ts +745 -0
  52. package/dist/constructs/v1beta1/role/RoleSchema.d.ts +2 -0
  53. package/dist/constructs/v1beta1/schedule/Schedule.d.ts +374 -0
  54. package/dist/constructs/v1beta1/schedule/ScheduleSchema.d.ts +2 -0
  55. package/dist/constructs/v1beta1/subcategory/Subcategory.d.ts +68 -0
  56. package/dist/constructs/v1beta1/subcategory/SubcategorySchema.d.ts +2 -0
  57. package/dist/constructs/v1beta1/subscription/Subscription.d.ts +752 -0
  58. package/dist/constructs/v1beta1/subscription/SubscriptionSchema.d.ts +2 -0
  59. package/dist/constructs/v1beta1/support/Support.d.ts +91 -0
  60. package/dist/constructs/v1beta1/support/SupportSchema.d.ts +2 -0
  61. package/dist/constructs/v1beta1/team/Team.d.ts +846 -0
  62. package/dist/constructs/v1beta1/team/TeamSchema.d.ts +2 -0
  63. package/dist/constructs/v1beta1/token/Token.d.ts +539 -0
  64. package/dist/constructs/v1beta1/token/TokenSchema.d.ts +2 -0
  65. package/dist/constructs/v1beta1/user/User.d.ts +1677 -0
  66. package/dist/constructs/v1beta1/user/UserSchema.d.ts +2 -0
  67. package/dist/constructs/v1beta1/view/View.d.ts +759 -0
  68. package/dist/constructs/v1beta1/view/ViewSchema.d.ts +2 -0
  69. package/dist/constructs/v1beta1/workspace/Workspace.d.ts +4947 -0
  70. package/dist/constructs/v1beta1/workspace/WorkspaceSchema.d.ts +2 -0
  71. package/dist/constructs/v1beta2/academy/Academy.d.ts +7762 -0
  72. package/dist/constructs/v1beta2/academy/AcademySchema.d.ts +2 -0
  73. package/dist/constructs/v1beta2/badge/Badge.d.ts +563 -0
  74. package/dist/constructs/v1beta2/badge/BadgeSchema.d.ts +2 -0
  75. package/dist/constructs/v1beta2/catalog/Catalog.d.ts +53 -0
  76. package/dist/constructs/v1beta2/catalog/CatalogSchema.d.ts +2 -0
  77. package/dist/constructs/v1beta2/component/Component.d.ts +887 -0
  78. package/dist/constructs/v1beta2/component/ComponentSchema.d.ts +2 -0
  79. package/dist/constructs/v1beta2/connection/Connection.d.ts +1330 -0
  80. package/dist/constructs/v1beta2/connection/ConnectionSchema.d.ts +2 -0
  81. package/dist/constructs/v1beta2/core/Core.d.ts +866 -0
  82. package/dist/constructs/v1beta2/core/CoreSchema.d.ts +2 -0
  83. package/dist/constructs/v1beta2/credential/Credential.d.ts +519 -0
  84. package/dist/constructs/v1beta2/credential/CredentialSchema.d.ts +2 -0
  85. package/dist/constructs/v1beta2/design/Design.d.ts +19039 -0
  86. package/dist/constructs/v1beta2/design/DesignSchema.d.ts +2 -0
  87. package/dist/constructs/v1beta2/event/Event.d.ts +626 -0
  88. package/dist/constructs/v1beta2/event/EventSchema.d.ts +2 -0
  89. package/dist/constructs/v1beta2/invitation/Invitation.d.ts +1052 -0
  90. package/dist/constructs/v1beta2/invitation/InvitationSchema.d.ts +2 -0
  91. package/dist/constructs/v1beta2/key/Key.d.ts +524 -0
  92. package/dist/constructs/v1beta2/key/KeySchema.d.ts +2 -0
  93. package/dist/constructs/v1beta2/keychain/Keychain.d.ts +652 -0
  94. package/dist/constructs/v1beta2/keychain/KeychainSchema.d.ts +2 -0
  95. package/dist/constructs/v1beta2/model/Model.d.ts +697 -0
  96. package/dist/constructs/v1beta2/model/ModelSchema.d.ts +2 -0
  97. package/dist/constructs/v1beta2/organization/Organization.d.ts +1915 -0
  98. package/dist/constructs/v1beta2/organization/OrganizationSchema.d.ts +2 -0
  99. package/dist/constructs/v1beta2/plan/Plan.d.ts +162 -0
  100. package/dist/constructs/v1beta2/plan/PlanSchema.d.ts +2 -0
  101. package/dist/constructs/v1beta2/relationship/Relationship.d.ts +2134 -0
  102. package/dist/constructs/v1beta2/relationship/RelationshipSchema.d.ts +2 -0
  103. package/dist/constructs/v1beta2/role/Role.d.ts +752 -0
  104. package/dist/constructs/v1beta2/role/RoleSchema.d.ts +2 -0
  105. package/dist/constructs/v1beta2/schedule/Schedule.d.ts +431 -0
  106. package/dist/constructs/v1beta2/schedule/ScheduleSchema.d.ts +2 -0
  107. package/dist/constructs/v1beta2/subscription/Subscription.d.ts +785 -0
  108. package/dist/constructs/v1beta2/subscription/SubscriptionSchema.d.ts +2 -0
  109. package/dist/constructs/v1beta2/team/Team.d.ts +960 -0
  110. package/dist/constructs/v1beta2/team/TeamSchema.d.ts +2 -0
  111. package/dist/constructs/v1beta2/token/Token.d.ts +544 -0
  112. package/dist/constructs/v1beta2/token/TokenSchema.d.ts +2 -0
  113. package/dist/constructs/v1beta2/user/User.d.ts +1677 -0
  114. package/dist/constructs/v1beta2/user/UserSchema.d.ts +2 -0
  115. package/dist/constructs/v1beta2/view/View.d.ts +767 -0
  116. package/dist/constructs/v1beta2/view/ViewSchema.d.ts +2 -0
  117. package/dist/constructs/v1beta3/academy/Academy.d.ts +7762 -0
  118. package/dist/constructs/v1beta3/academy/AcademySchema.d.ts +2 -0
  119. package/dist/constructs/v1beta3/component/Component.d.ts +892 -0
  120. package/dist/constructs/v1beta3/component/ComponentSchema.d.ts +2 -0
  121. package/dist/constructs/v1beta3/connection/Connection.d.ts +1414 -0
  122. package/dist/constructs/v1beta3/connection/ConnectionSchema.d.ts +2 -0
  123. package/dist/constructs/v1beta3/design/Design.d.ts +5704 -0
  124. package/dist/constructs/v1beta3/design/DesignSchema.d.ts +2 -0
  125. package/dist/constructs/v1beta3/environment/Environment.d.ts +785 -0
  126. package/dist/constructs/v1beta3/environment/EnvironmentSchema.d.ts +2 -0
  127. package/dist/constructs/v1beta3/event/Event.d.ts +720 -0
  128. package/dist/constructs/v1beta3/event/EventSchema.d.ts +2 -0
  129. package/dist/constructs/v1beta3/filter/Filter.d.ts +1452 -0
  130. package/dist/constructs/v1beta3/filter/FilterSchema.d.ts +2 -0
  131. package/dist/constructs/v1beta3/invitation/Invitation.d.ts +1060 -0
  132. package/dist/constructs/v1beta3/invitation/InvitationSchema.d.ts +2 -0
  133. package/dist/constructs/v1beta3/performance_profile/PerformanceProfile.d.ts +813 -0
  134. package/dist/constructs/v1beta3/performance_profile/PerformanceProfileSchema.d.ts +2 -0
  135. package/dist/constructs/v1beta3/plan/Plan.d.ts +199 -0
  136. package/dist/constructs/v1beta3/plan/PlanSchema.d.ts +2 -0
  137. package/dist/constructs/v1beta3/relationship/Relationship.d.ts +2134 -0
  138. package/dist/constructs/v1beta3/relationship/RelationshipSchema.d.ts +2 -0
  139. package/dist/constructs/v1beta3/subscription/Subscription.d.ts +915 -0
  140. package/dist/constructs/v1beta3/subscription/SubscriptionSchema.d.ts +2 -0
  141. package/dist/constructs/v1beta3/token/Token.d.ts +544 -0
  142. package/dist/constructs/v1beta3/token/TokenSchema.d.ts +2 -0
  143. package/dist/constructs/v1beta3/workspace/Workspace.d.ts +5086 -0
  144. package/dist/constructs/v1beta3/workspace/WorkspaceSchema.d.ts +2 -0
  145. package/dist/index.js +1 -1
  146. package/dist/index.mjs +1 -1
  147. package/package.json +2 -2
@@ -0,0 +1,1330 @@
1
+ /**
2
+ * This file was auto-generated by openapi-typescript.
3
+ * Do not make direct changes to the file.
4
+ */
5
+
6
+ export interface paths {
7
+ "/api/integrations/connections": {
8
+ /** Returns a paginated list of connections for the authenticated user with filtering, sorting and pagination support */
9
+ get: operations["getConnections"];
10
+ /** Register a new connection with credentials */
11
+ post: operations["registerConnection"];
12
+ };
13
+ "/api/integrations/connections/{connectionId}": {
14
+ /** Returns a specific connection by its ID */
15
+ get: operations["getConnectionById"];
16
+ /** Update an existing connection */
17
+ put: operations["updateConnection"];
18
+ /** Delete a specific connection */
19
+ delete: operations["deleteConnection"];
20
+ };
21
+ "/api/integrations/connections/meshery/{mesheryServerId}": {
22
+ /** Delete a Meshery server connection by server ID */
23
+ delete: operations["deleteMesheryConnection"];
24
+ };
25
+ "/api/integrations/connections/kubernetes/{connectionId}/context": {
26
+ /** Get Kubernetes context for a specific connection */
27
+ get: operations["getKubernetesContext"];
28
+ };
29
+ "/api/environments/{environmentId}/connections/{connectionId}": {
30
+ /** Associate a connection with an environment */
31
+ post: operations["addConnectionToEnvironment"];
32
+ /** Disassociate a connection from an environment */
33
+ delete: operations["removeConnectionFromEnvironment"];
34
+ };
35
+ }
36
+
37
+ export interface components {
38
+ schemas: {
39
+ /** @description Meshery Connections are managed and unmanaged resources that either through discovery or manual entry are tracked by Meshery. Learn more at https://docs.meshery.io/concepts/logical/connections */
40
+ Connection: {
41
+ /**
42
+ * Format: uuid
43
+ * @description Connection ID
44
+ */
45
+ id: string;
46
+ /** @description Connection Name */
47
+ name: string;
48
+ /**
49
+ * Format: uuid
50
+ * @description Associated Credential ID
51
+ */
52
+ credential_id?: string;
53
+ /** @description Connection Type (platform, telemetry, collaboration) */
54
+ type: string;
55
+ /** @description Connection Subtype (cloud, identity, metrics, chat, git, orchestration) */
56
+ sub_type: string;
57
+ /** @description Connection Kind (meshery, kubernetes, prometheus, grafana, gke, aws, azure, slack, github) */
58
+ kind: string;
59
+ /** @description Additional connection metadata */
60
+ metadata?: { [key: string]: unknown };
61
+ /**
62
+ * @description Connection Status
63
+ * @enum {string}
64
+ */
65
+ status:
66
+ | "discovered"
67
+ | "registered"
68
+ | "connected"
69
+ | "ignored"
70
+ | "maintenance"
71
+ | "disconnected"
72
+ | "deleted"
73
+ | "not found";
74
+ /**
75
+ * Format: uuid
76
+ * @description User ID who owns this connection
77
+ */
78
+ user_id?: string;
79
+ /** Format: date-time */
80
+ created_at?: string;
81
+ /** Format: date-time */
82
+ updated_at?: string;
83
+ /**
84
+ * Format: date-time
85
+ * @description SQL null Timestamp to handle null values of time.
86
+ */
87
+ deleted_at?: string;
88
+ /** @description Associated environments for this connection */
89
+ environments?: {
90
+ /**
91
+ * Format: uuid
92
+ * @description ID
93
+ */
94
+ id: string;
95
+ /**
96
+ * @description Specifies the version of the schema to which the environment conforms.
97
+ * @default environments.meshery.io/v1beta1
98
+ * @example [
99
+ * "v1",
100
+ * "v1alpha1",
101
+ * "v2beta3",
102
+ * "v1.custom-suffix",
103
+ * "models.meshery.io/v1beta1",
104
+ * "capability.meshery.io/v1alpha1"
105
+ * ]
106
+ */
107
+ schemaVersion: string;
108
+ /** @description Environment name */
109
+ name: string;
110
+ /** @description Environment description */
111
+ description: string;
112
+ /**
113
+ * Format: uuid
114
+ * @description Environment organization ID
115
+ */
116
+ organization_id: string;
117
+ /**
118
+ * Format: uuid
119
+ * @description Environment owner
120
+ */
121
+ owner?: string;
122
+ /**
123
+ * Format: date-time
124
+ * @description Timestamp when the resource was created.
125
+ */
126
+ created_at?: string;
127
+ /** @description Additional metadata associated with the environment. */
128
+ metadata?: { [key: string]: unknown };
129
+ /**
130
+ * Format: date-time
131
+ * @description Timestamp when the resource was updated.
132
+ */
133
+ updated_at?: string;
134
+ /**
135
+ * Format: date-time
136
+ * @description Timestamp when the environment was soft deleted. Null while the environment remains active.
137
+ */
138
+ deleted_at?: string | null;
139
+ }[];
140
+ /**
141
+ * @description Specifies the version of the schema used for the definition.
142
+ * @default connections.meshery.io/v1beta2
143
+ * @example [
144
+ * "v1",
145
+ * "v1alpha1",
146
+ * "v2beta3",
147
+ * "v1.custom-suffix",
148
+ * "models.meshery.io/v1beta1",
149
+ * "capability.meshery.io/v1alpha1"
150
+ * ]
151
+ */
152
+ schemaVersion: string;
153
+ };
154
+ /** @description Represents a page of connections with meta information about connections count */
155
+ ConnectionPage: {
156
+ /** @description List of connections on this page */
157
+ connections: {
158
+ /**
159
+ * Format: uuid
160
+ * @description Connection ID
161
+ */
162
+ id: string;
163
+ /** @description Connection Name */
164
+ name: string;
165
+ /**
166
+ * Format: uuid
167
+ * @description Associated Credential ID
168
+ */
169
+ credential_id?: string;
170
+ /** @description Connection Type (platform, telemetry, collaboration) */
171
+ type: string;
172
+ /** @description Connection Subtype (cloud, identity, metrics, chat, git, orchestration) */
173
+ sub_type: string;
174
+ /** @description Connection Kind (meshery, kubernetes, prometheus, grafana, gke, aws, azure, slack, github) */
175
+ kind: string;
176
+ /** @description Additional connection metadata */
177
+ metadata?: { [key: string]: unknown };
178
+ /**
179
+ * @description Connection Status
180
+ * @enum {string}
181
+ */
182
+ status:
183
+ | "discovered"
184
+ | "registered"
185
+ | "connected"
186
+ | "ignored"
187
+ | "maintenance"
188
+ | "disconnected"
189
+ | "deleted"
190
+ | "not found";
191
+ /**
192
+ * Format: uuid
193
+ * @description User ID who owns this connection
194
+ */
195
+ user_id?: string;
196
+ /** Format: date-time */
197
+ created_at?: string;
198
+ /** Format: date-time */
199
+ updated_at?: string;
200
+ /**
201
+ * Format: date-time
202
+ * @description SQL null Timestamp to handle null values of time.
203
+ */
204
+ deleted_at?: string;
205
+ /** @description Associated environments for this connection */
206
+ environments?: {
207
+ /**
208
+ * Format: uuid
209
+ * @description ID
210
+ */
211
+ id: string;
212
+ /**
213
+ * @description Specifies the version of the schema to which the environment conforms.
214
+ * @default environments.meshery.io/v1beta1
215
+ * @example [
216
+ * "v1",
217
+ * "v1alpha1",
218
+ * "v2beta3",
219
+ * "v1.custom-suffix",
220
+ * "models.meshery.io/v1beta1",
221
+ * "capability.meshery.io/v1alpha1"
222
+ * ]
223
+ */
224
+ schemaVersion: string;
225
+ /** @description Environment name */
226
+ name: string;
227
+ /** @description Environment description */
228
+ description: string;
229
+ /**
230
+ * Format: uuid
231
+ * @description Environment organization ID
232
+ */
233
+ organization_id: string;
234
+ /**
235
+ * Format: uuid
236
+ * @description Environment owner
237
+ */
238
+ owner?: string;
239
+ /**
240
+ * Format: date-time
241
+ * @description Timestamp when the resource was created.
242
+ */
243
+ created_at?: string;
244
+ /** @description Additional metadata associated with the environment. */
245
+ metadata?: { [key: string]: unknown };
246
+ /**
247
+ * Format: date-time
248
+ * @description Timestamp when the resource was updated.
249
+ */
250
+ updated_at?: string;
251
+ /**
252
+ * Format: date-time
253
+ * @description Timestamp when the environment was soft deleted. Null while the environment remains active.
254
+ */
255
+ deleted_at?: string | null;
256
+ }[];
257
+ /**
258
+ * @description Specifies the version of the schema used for the definition.
259
+ * @default connections.meshery.io/v1beta2
260
+ * @example [
261
+ * "v1",
262
+ * "v1alpha1",
263
+ * "v2beta3",
264
+ * "v1.custom-suffix",
265
+ * "models.meshery.io/v1beta1",
266
+ * "capability.meshery.io/v1alpha1"
267
+ * ]
268
+ */
269
+ schemaVersion: string;
270
+ }[];
271
+ /** @description Total number of connections on all pages */
272
+ total_count: number;
273
+ /** @description Current page number */
274
+ page: number;
275
+ /** @description Number of elements per page */
276
+ page_size: number;
277
+ /** @description Aggregate count of connections grouped by status */
278
+ statusSummary?: { [key: string]: number };
279
+ };
280
+ /**
281
+ * @description Connection Status Value
282
+ * @enum {string}
283
+ */
284
+ ConnectionStatusValue:
285
+ | "discovered"
286
+ | "registered"
287
+ | "connected"
288
+ | "ignored"
289
+ | "maintenance"
290
+ | "disconnected"
291
+ | "deleted"
292
+ | "not found";
293
+ /** @description Payload for creating or updating a connection */
294
+ ConnectionPayload: {
295
+ /**
296
+ * Format: uuid
297
+ * @description Connection ID
298
+ */
299
+ id?: string;
300
+ /** @description Connection name */
301
+ name: string;
302
+ /** @description Connection kind */
303
+ kind: string;
304
+ /** @description Connection type */
305
+ type: string;
306
+ /** @description Connection sub-type */
307
+ subType: string;
308
+ /** @description Credential secret data */
309
+ credentialSecret?: { [key: string]: unknown };
310
+ /** @description Connection metadata */
311
+ metadata?: { [key: string]: unknown };
312
+ /** @description Connection status */
313
+ status: string;
314
+ /**
315
+ * Format: uuid
316
+ * @description Associated credential ID
317
+ */
318
+ credentialId?: string;
319
+ };
320
+ /** @description Status count information for connections */
321
+ ConnectionStatusInfo: {
322
+ /** @description Status value */
323
+ status: string;
324
+ /** @description Number of connections with this status */
325
+ count: number;
326
+ };
327
+ /** @description Paginated list of connection status counts */
328
+ ConnectionsStatusPage: {
329
+ /** @description Total number of status entries */
330
+ total_count: number;
331
+ /** @description Current page number */
332
+ page: number;
333
+ /** @description Number of items per page */
334
+ page_size: number;
335
+ /** @description List of status counts */
336
+ connectionsStatus: {
337
+ /** @description Status value */
338
+ status: string;
339
+ /** @description Number of connections with this status */
340
+ count: number;
341
+ }[];
342
+ };
343
+ /** @description Meshery server instance information */
344
+ MesheryInstance: {
345
+ /**
346
+ * Format: uuid
347
+ * @description Instance ID
348
+ */
349
+ id?: string;
350
+ /** @description Instance name */
351
+ name?: string;
352
+ /**
353
+ * Format: uuid
354
+ * @description Server ID
355
+ */
356
+ server_id?: string;
357
+ /** @description Meshery server version */
358
+ server_version?: string;
359
+ /** @description Server location URL */
360
+ server_location?: string;
361
+ /** @description Server build SHA */
362
+ server_build_sha?: string;
363
+ /**
364
+ * Format: date-time
365
+ * @description Creation timestamp
366
+ */
367
+ created_at?: string;
368
+ /**
369
+ * Format: date-time
370
+ * @description Last update timestamp
371
+ */
372
+ updated_at?: string;
373
+ /**
374
+ * Format: date-time
375
+ * @description Deletion timestamp
376
+ */
377
+ deleted_at?: string;
378
+ };
379
+ /** @description Paginated list of Meshery instances */
380
+ MesheryInstancePage: {
381
+ /** @description List of Meshery instances */
382
+ mesheryInstances: {
383
+ /**
384
+ * Format: uuid
385
+ * @description Instance ID
386
+ */
387
+ id?: string;
388
+ /** @description Instance name */
389
+ name?: string;
390
+ /**
391
+ * Format: uuid
392
+ * @description Server ID
393
+ */
394
+ server_id?: string;
395
+ /** @description Meshery server version */
396
+ server_version?: string;
397
+ /** @description Server location URL */
398
+ server_location?: string;
399
+ /** @description Server build SHA */
400
+ server_build_sha?: string;
401
+ /**
402
+ * Format: date-time
403
+ * @description Creation timestamp
404
+ */
405
+ created_at?: string;
406
+ /**
407
+ * Format: date-time
408
+ * @description Last update timestamp
409
+ */
410
+ updated_at?: string;
411
+ /**
412
+ * Format: date-time
413
+ * @description Deletion timestamp
414
+ */
415
+ deleted_at?: string;
416
+ }[];
417
+ /** @description Current page number */
418
+ page: number;
419
+ /** @description Number of items per page */
420
+ page_size: number;
421
+ /** @description Total number of instances */
422
+ total_count: number;
423
+ };
424
+ /** @description Meshery version compatibility check */
425
+ MesheryCompatibility: {
426
+ /** @description Meshery version string */
427
+ mesheryVersion?: string;
428
+ /** @description Whether to check compatibility */
429
+ checkCompatibility?: boolean;
430
+ };
431
+ };
432
+ responses: {
433
+ /** Invalid request body or request param */
434
+ 400: {
435
+ content: {
436
+ "text/plain": string;
437
+ };
438
+ };
439
+ /** Expired JWT token used or insufficient privilege */
440
+ 401: {
441
+ content: {
442
+ "text/plain": string;
443
+ };
444
+ };
445
+ /** Result not found */
446
+ 404: {
447
+ content: {
448
+ "text/plain": string;
449
+ };
450
+ };
451
+ /** Internal server error */
452
+ 500: {
453
+ content: {
454
+ "text/plain": string;
455
+ };
456
+ };
457
+ };
458
+ parameters: {
459
+ /** @description Connection ID */
460
+ connectionId: string;
461
+ /** @description Connection kind (meshery, kubernetes, prometheus, grafana, etc.) */
462
+ connectionKind: string;
463
+ /** @description Environment ID */
464
+ environmentId: string;
465
+ /** @description Page number */
466
+ page: number;
467
+ /** @description Number of items per page */
468
+ pagesize: number;
469
+ /** @description Search term */
470
+ search: string;
471
+ /** @description Sort order */
472
+ order: string;
473
+ };
474
+ }
475
+
476
+ export interface operations {
477
+ /** Returns a paginated list of connections for the authenticated user with filtering, sorting and pagination support */
478
+ getConnections: {
479
+ parameters: {
480
+ query: {
481
+ /** Page number */
482
+ page?: number;
483
+ /** Number of items per page */
484
+ pagesize?: number;
485
+ /** Search term */
486
+ search?: string;
487
+ /** Sort order */
488
+ order?: string;
489
+ /** Filter connections (general filter string) */
490
+ filter?: string;
491
+ /** Filter by connection kind (e.g., kubernetes, prometheus, grafana) */
492
+ kind?: string[];
493
+ /** Filter by connection status */
494
+ status?: (
495
+ | "discovered"
496
+ | "registered"
497
+ | "connected"
498
+ | "ignored"
499
+ | "maintenance"
500
+ | "disconnected"
501
+ | "deleted"
502
+ | "not found"
503
+ )[];
504
+ /** Filter by connection type */
505
+ type?: string[];
506
+ /** Filter by connection name (partial match supported) */
507
+ name?: string;
508
+ };
509
+ };
510
+ responses: {
511
+ /** Paginated list of connections with summary information */
512
+ 200: {
513
+ content: {
514
+ "application/json": {
515
+ /** @description List of connections on this page */
516
+ connections: {
517
+ /**
518
+ * Format: uuid
519
+ * @description Connection ID
520
+ */
521
+ id: string;
522
+ /** @description Connection Name */
523
+ name: string;
524
+ /**
525
+ * Format: uuid
526
+ * @description Associated Credential ID
527
+ */
528
+ credential_id?: string;
529
+ /** @description Connection Type (platform, telemetry, collaboration) */
530
+ type: string;
531
+ /** @description Connection Subtype (cloud, identity, metrics, chat, git, orchestration) */
532
+ sub_type: string;
533
+ /** @description Connection Kind (meshery, kubernetes, prometheus, grafana, gke, aws, azure, slack, github) */
534
+ kind: string;
535
+ /** @description Additional connection metadata */
536
+ metadata?: { [key: string]: unknown };
537
+ /**
538
+ * @description Connection Status
539
+ * @enum {string}
540
+ */
541
+ status:
542
+ | "discovered"
543
+ | "registered"
544
+ | "connected"
545
+ | "ignored"
546
+ | "maintenance"
547
+ | "disconnected"
548
+ | "deleted"
549
+ | "not found";
550
+ /**
551
+ * Format: uuid
552
+ * @description User ID who owns this connection
553
+ */
554
+ user_id?: string;
555
+ /** Format: date-time */
556
+ created_at?: string;
557
+ /** Format: date-time */
558
+ updated_at?: string;
559
+ /**
560
+ * Format: date-time
561
+ * @description SQL null Timestamp to handle null values of time.
562
+ */
563
+ deleted_at?: string;
564
+ /** @description Associated environments for this connection */
565
+ environments?: {
566
+ /**
567
+ * Format: uuid
568
+ * @description ID
569
+ */
570
+ id: string;
571
+ /**
572
+ * @description Specifies the version of the schema to which the environment conforms.
573
+ * @default environments.meshery.io/v1beta1
574
+ * @example [
575
+ * "v1",
576
+ * "v1alpha1",
577
+ * "v2beta3",
578
+ * "v1.custom-suffix",
579
+ * "models.meshery.io/v1beta1",
580
+ * "capability.meshery.io/v1alpha1"
581
+ * ]
582
+ */
583
+ schemaVersion: string;
584
+ /** @description Environment name */
585
+ name: string;
586
+ /** @description Environment description */
587
+ description: string;
588
+ /**
589
+ * Format: uuid
590
+ * @description Environment organization ID
591
+ */
592
+ organization_id: string;
593
+ /**
594
+ * Format: uuid
595
+ * @description Environment owner
596
+ */
597
+ owner?: string;
598
+ /**
599
+ * Format: date-time
600
+ * @description Timestamp when the resource was created.
601
+ */
602
+ created_at?: string;
603
+ /** @description Additional metadata associated with the environment. */
604
+ metadata?: { [key: string]: unknown };
605
+ /**
606
+ * Format: date-time
607
+ * @description Timestamp when the resource was updated.
608
+ */
609
+ updated_at?: string;
610
+ /**
611
+ * Format: date-time
612
+ * @description Timestamp when the environment was soft deleted. Null while the environment remains active.
613
+ */
614
+ deleted_at?: string | null;
615
+ }[];
616
+ /**
617
+ * @description Specifies the version of the schema used for the definition.
618
+ * @default connections.meshery.io/v1beta2
619
+ * @example [
620
+ * "v1",
621
+ * "v1alpha1",
622
+ * "v2beta3",
623
+ * "v1.custom-suffix",
624
+ * "models.meshery.io/v1beta1",
625
+ * "capability.meshery.io/v1alpha1"
626
+ * ]
627
+ */
628
+ schemaVersion: string;
629
+ }[];
630
+ /** @description Total number of connections on all pages */
631
+ total_count: number;
632
+ /** @description Current page number */
633
+ page: number;
634
+ /** @description Number of elements per page */
635
+ page_size: number;
636
+ /** @description Aggregate count of connections grouped by status */
637
+ statusSummary?: { [key: string]: number };
638
+ };
639
+ };
640
+ };
641
+ /** Expired JWT token used or insufficient privilege */
642
+ 401: {
643
+ content: {
644
+ "text/plain": string;
645
+ };
646
+ };
647
+ /** Internal server error */
648
+ 500: {
649
+ content: {
650
+ "text/plain": string;
651
+ };
652
+ };
653
+ };
654
+ };
655
+ /** Register a new connection with credentials */
656
+ registerConnection: {
657
+ responses: {
658
+ /** Connection registered */
659
+ 201: {
660
+ content: {
661
+ "application/json": {
662
+ /**
663
+ * Format: uuid
664
+ * @description Connection ID
665
+ */
666
+ id: string;
667
+ /** @description Connection Name */
668
+ name: string;
669
+ /**
670
+ * Format: uuid
671
+ * @description Associated Credential ID
672
+ */
673
+ credential_id?: string;
674
+ /** @description Connection Type (platform, telemetry, collaboration) */
675
+ type: string;
676
+ /** @description Connection Subtype (cloud, identity, metrics, chat, git, orchestration) */
677
+ sub_type: string;
678
+ /** @description Connection Kind (meshery, kubernetes, prometheus, grafana, gke, aws, azure, slack, github) */
679
+ kind: string;
680
+ /** @description Additional connection metadata */
681
+ metadata?: { [key: string]: unknown };
682
+ /**
683
+ * @description Connection Status
684
+ * @enum {string}
685
+ */
686
+ status:
687
+ | "discovered"
688
+ | "registered"
689
+ | "connected"
690
+ | "ignored"
691
+ | "maintenance"
692
+ | "disconnected"
693
+ | "deleted"
694
+ | "not found";
695
+ /**
696
+ * Format: uuid
697
+ * @description User ID who owns this connection
698
+ */
699
+ user_id?: string;
700
+ /** Format: date-time */
701
+ created_at?: string;
702
+ /** Format: date-time */
703
+ updated_at?: string;
704
+ /**
705
+ * Format: date-time
706
+ * @description SQL null Timestamp to handle null values of time.
707
+ */
708
+ deleted_at?: string;
709
+ /** @description Associated environments for this connection */
710
+ environments?: {
711
+ /**
712
+ * Format: uuid
713
+ * @description ID
714
+ */
715
+ id: string;
716
+ /**
717
+ * @description Specifies the version of the schema to which the environment conforms.
718
+ * @default environments.meshery.io/v1beta1
719
+ * @example [
720
+ * "v1",
721
+ * "v1alpha1",
722
+ * "v2beta3",
723
+ * "v1.custom-suffix",
724
+ * "models.meshery.io/v1beta1",
725
+ * "capability.meshery.io/v1alpha1"
726
+ * ]
727
+ */
728
+ schemaVersion: string;
729
+ /** @description Environment name */
730
+ name: string;
731
+ /** @description Environment description */
732
+ description: string;
733
+ /**
734
+ * Format: uuid
735
+ * @description Environment organization ID
736
+ */
737
+ organization_id: string;
738
+ /**
739
+ * Format: uuid
740
+ * @description Environment owner
741
+ */
742
+ owner?: string;
743
+ /**
744
+ * Format: date-time
745
+ * @description Timestamp when the resource was created.
746
+ */
747
+ created_at?: string;
748
+ /** @description Additional metadata associated with the environment. */
749
+ metadata?: { [key: string]: unknown };
750
+ /**
751
+ * Format: date-time
752
+ * @description Timestamp when the resource was updated.
753
+ */
754
+ updated_at?: string;
755
+ /**
756
+ * Format: date-time
757
+ * @description Timestamp when the environment was soft deleted. Null while the environment remains active.
758
+ */
759
+ deleted_at?: string | null;
760
+ }[];
761
+ /**
762
+ * @description Specifies the version of the schema used for the definition.
763
+ * @default connections.meshery.io/v1beta2
764
+ * @example [
765
+ * "v1",
766
+ * "v1alpha1",
767
+ * "v2beta3",
768
+ * "v1.custom-suffix",
769
+ * "models.meshery.io/v1beta1",
770
+ * "capability.meshery.io/v1alpha1"
771
+ * ]
772
+ */
773
+ schemaVersion: string;
774
+ };
775
+ };
776
+ };
777
+ /** Invalid request body or request param */
778
+ 400: {
779
+ content: {
780
+ "text/plain": string;
781
+ };
782
+ };
783
+ /** Expired JWT token used or insufficient privilege */
784
+ 401: {
785
+ content: {
786
+ "text/plain": string;
787
+ };
788
+ };
789
+ /** Internal server error */
790
+ 500: {
791
+ content: {
792
+ "text/plain": string;
793
+ };
794
+ };
795
+ };
796
+ requestBody: {
797
+ content: {
798
+ "application/json": {
799
+ /**
800
+ * Format: uuid
801
+ * @description Connection ID
802
+ */
803
+ id?: string;
804
+ /** @description Connection name */
805
+ name: string;
806
+ /** @description Connection kind */
807
+ kind: string;
808
+ /** @description Connection type */
809
+ type: string;
810
+ /** @description Connection sub-type */
811
+ subType: string;
812
+ /** @description Credential secret data */
813
+ credentialSecret?: { [key: string]: unknown };
814
+ /** @description Connection metadata */
815
+ metadata?: { [key: string]: unknown };
816
+ /** @description Connection status */
817
+ status: string;
818
+ /**
819
+ * Format: uuid
820
+ * @description Associated credential ID
821
+ */
822
+ credentialId?: string;
823
+ };
824
+ };
825
+ };
826
+ };
827
+ /** Returns a specific connection by its ID */
828
+ getConnectionById: {
829
+ parameters: {
830
+ path: {
831
+ /** Connection ID */
832
+ connectionId: string;
833
+ };
834
+ };
835
+ responses: {
836
+ /** Connection details */
837
+ 200: {
838
+ content: {
839
+ "application/json": {
840
+ /**
841
+ * Format: uuid
842
+ * @description Connection ID
843
+ */
844
+ id: string;
845
+ /** @description Connection Name */
846
+ name: string;
847
+ /**
848
+ * Format: uuid
849
+ * @description Associated Credential ID
850
+ */
851
+ credential_id?: string;
852
+ /** @description Connection Type (platform, telemetry, collaboration) */
853
+ type: string;
854
+ /** @description Connection Subtype (cloud, identity, metrics, chat, git, orchestration) */
855
+ sub_type: string;
856
+ /** @description Connection Kind (meshery, kubernetes, prometheus, grafana, gke, aws, azure, slack, github) */
857
+ kind: string;
858
+ /** @description Additional connection metadata */
859
+ metadata?: { [key: string]: unknown };
860
+ /**
861
+ * @description Connection Status
862
+ * @enum {string}
863
+ */
864
+ status:
865
+ | "discovered"
866
+ | "registered"
867
+ | "connected"
868
+ | "ignored"
869
+ | "maintenance"
870
+ | "disconnected"
871
+ | "deleted"
872
+ | "not found";
873
+ /**
874
+ * Format: uuid
875
+ * @description User ID who owns this connection
876
+ */
877
+ user_id?: string;
878
+ /** Format: date-time */
879
+ created_at?: string;
880
+ /** Format: date-time */
881
+ updated_at?: string;
882
+ /**
883
+ * Format: date-time
884
+ * @description SQL null Timestamp to handle null values of time.
885
+ */
886
+ deleted_at?: string;
887
+ /** @description Associated environments for this connection */
888
+ environments?: {
889
+ /**
890
+ * Format: uuid
891
+ * @description ID
892
+ */
893
+ id: string;
894
+ /**
895
+ * @description Specifies the version of the schema to which the environment conforms.
896
+ * @default environments.meshery.io/v1beta1
897
+ * @example [
898
+ * "v1",
899
+ * "v1alpha1",
900
+ * "v2beta3",
901
+ * "v1.custom-suffix",
902
+ * "models.meshery.io/v1beta1",
903
+ * "capability.meshery.io/v1alpha1"
904
+ * ]
905
+ */
906
+ schemaVersion: string;
907
+ /** @description Environment name */
908
+ name: string;
909
+ /** @description Environment description */
910
+ description: string;
911
+ /**
912
+ * Format: uuid
913
+ * @description Environment organization ID
914
+ */
915
+ organization_id: string;
916
+ /**
917
+ * Format: uuid
918
+ * @description Environment owner
919
+ */
920
+ owner?: string;
921
+ /**
922
+ * Format: date-time
923
+ * @description Timestamp when the resource was created.
924
+ */
925
+ created_at?: string;
926
+ /** @description Additional metadata associated with the environment. */
927
+ metadata?: { [key: string]: unknown };
928
+ /**
929
+ * Format: date-time
930
+ * @description Timestamp when the resource was updated.
931
+ */
932
+ updated_at?: string;
933
+ /**
934
+ * Format: date-time
935
+ * @description Timestamp when the environment was soft deleted. Null while the environment remains active.
936
+ */
937
+ deleted_at?: string | null;
938
+ }[];
939
+ /**
940
+ * @description Specifies the version of the schema used for the definition.
941
+ * @default connections.meshery.io/v1beta2
942
+ * @example [
943
+ * "v1",
944
+ * "v1alpha1",
945
+ * "v2beta3",
946
+ * "v1.custom-suffix",
947
+ * "models.meshery.io/v1beta1",
948
+ * "capability.meshery.io/v1alpha1"
949
+ * ]
950
+ */
951
+ schemaVersion: string;
952
+ };
953
+ };
954
+ };
955
+ /** Expired JWT token used or insufficient privilege */
956
+ 401: {
957
+ content: {
958
+ "text/plain": string;
959
+ };
960
+ };
961
+ /** Result not found */
962
+ 404: {
963
+ content: {
964
+ "text/plain": string;
965
+ };
966
+ };
967
+ /** Internal server error */
968
+ 500: {
969
+ content: {
970
+ "text/plain": string;
971
+ };
972
+ };
973
+ };
974
+ };
975
+ /** Update an existing connection */
976
+ updateConnection: {
977
+ parameters: {
978
+ path: {
979
+ /** Connection ID */
980
+ connectionId: string;
981
+ };
982
+ };
983
+ responses: {
984
+ /** Connection updated */
985
+ 200: {
986
+ content: {
987
+ "application/json": {
988
+ /**
989
+ * Format: uuid
990
+ * @description Connection ID
991
+ */
992
+ id: string;
993
+ /** @description Connection Name */
994
+ name: string;
995
+ /**
996
+ * Format: uuid
997
+ * @description Associated Credential ID
998
+ */
999
+ credential_id?: string;
1000
+ /** @description Connection Type (platform, telemetry, collaboration) */
1001
+ type: string;
1002
+ /** @description Connection Subtype (cloud, identity, metrics, chat, git, orchestration) */
1003
+ sub_type: string;
1004
+ /** @description Connection Kind (meshery, kubernetes, prometheus, grafana, gke, aws, azure, slack, github) */
1005
+ kind: string;
1006
+ /** @description Additional connection metadata */
1007
+ metadata?: { [key: string]: unknown };
1008
+ /**
1009
+ * @description Connection Status
1010
+ * @enum {string}
1011
+ */
1012
+ status:
1013
+ | "discovered"
1014
+ | "registered"
1015
+ | "connected"
1016
+ | "ignored"
1017
+ | "maintenance"
1018
+ | "disconnected"
1019
+ | "deleted"
1020
+ | "not found";
1021
+ /**
1022
+ * Format: uuid
1023
+ * @description User ID who owns this connection
1024
+ */
1025
+ user_id?: string;
1026
+ /** Format: date-time */
1027
+ created_at?: string;
1028
+ /** Format: date-time */
1029
+ updated_at?: string;
1030
+ /**
1031
+ * Format: date-time
1032
+ * @description SQL null Timestamp to handle null values of time.
1033
+ */
1034
+ deleted_at?: string;
1035
+ /** @description Associated environments for this connection */
1036
+ environments?: {
1037
+ /**
1038
+ * Format: uuid
1039
+ * @description ID
1040
+ */
1041
+ id: string;
1042
+ /**
1043
+ * @description Specifies the version of the schema to which the environment conforms.
1044
+ * @default environments.meshery.io/v1beta1
1045
+ * @example [
1046
+ * "v1",
1047
+ * "v1alpha1",
1048
+ * "v2beta3",
1049
+ * "v1.custom-suffix",
1050
+ * "models.meshery.io/v1beta1",
1051
+ * "capability.meshery.io/v1alpha1"
1052
+ * ]
1053
+ */
1054
+ schemaVersion: string;
1055
+ /** @description Environment name */
1056
+ name: string;
1057
+ /** @description Environment description */
1058
+ description: string;
1059
+ /**
1060
+ * Format: uuid
1061
+ * @description Environment organization ID
1062
+ */
1063
+ organization_id: string;
1064
+ /**
1065
+ * Format: uuid
1066
+ * @description Environment owner
1067
+ */
1068
+ owner?: string;
1069
+ /**
1070
+ * Format: date-time
1071
+ * @description Timestamp when the resource was created.
1072
+ */
1073
+ created_at?: string;
1074
+ /** @description Additional metadata associated with the environment. */
1075
+ metadata?: { [key: string]: unknown };
1076
+ /**
1077
+ * Format: date-time
1078
+ * @description Timestamp when the resource was updated.
1079
+ */
1080
+ updated_at?: string;
1081
+ /**
1082
+ * Format: date-time
1083
+ * @description Timestamp when the environment was soft deleted. Null while the environment remains active.
1084
+ */
1085
+ deleted_at?: string | null;
1086
+ }[];
1087
+ /**
1088
+ * @description Specifies the version of the schema used for the definition.
1089
+ * @default connections.meshery.io/v1beta2
1090
+ * @example [
1091
+ * "v1",
1092
+ * "v1alpha1",
1093
+ * "v2beta3",
1094
+ * "v1.custom-suffix",
1095
+ * "models.meshery.io/v1beta1",
1096
+ * "capability.meshery.io/v1alpha1"
1097
+ * ]
1098
+ */
1099
+ schemaVersion: string;
1100
+ };
1101
+ };
1102
+ };
1103
+ /** Invalid request body or request param */
1104
+ 400: {
1105
+ content: {
1106
+ "text/plain": string;
1107
+ };
1108
+ };
1109
+ /** Expired JWT token used or insufficient privilege */
1110
+ 401: {
1111
+ content: {
1112
+ "text/plain": string;
1113
+ };
1114
+ };
1115
+ /** Result not found */
1116
+ 404: {
1117
+ content: {
1118
+ "text/plain": string;
1119
+ };
1120
+ };
1121
+ /** Internal server error */
1122
+ 500: {
1123
+ content: {
1124
+ "text/plain": string;
1125
+ };
1126
+ };
1127
+ };
1128
+ requestBody: {
1129
+ content: {
1130
+ "application/json": {
1131
+ /**
1132
+ * Format: uuid
1133
+ * @description Connection ID
1134
+ */
1135
+ id?: string;
1136
+ /** @description Connection name */
1137
+ name: string;
1138
+ /** @description Connection kind */
1139
+ kind: string;
1140
+ /** @description Connection type */
1141
+ type: string;
1142
+ /** @description Connection sub-type */
1143
+ subType: string;
1144
+ /** @description Credential secret data */
1145
+ credentialSecret?: { [key: string]: unknown };
1146
+ /** @description Connection metadata */
1147
+ metadata?: { [key: string]: unknown };
1148
+ /** @description Connection status */
1149
+ status: string;
1150
+ /**
1151
+ * Format: uuid
1152
+ * @description Associated credential ID
1153
+ */
1154
+ credentialId?: string;
1155
+ };
1156
+ };
1157
+ };
1158
+ };
1159
+ /** Delete a specific connection */
1160
+ deleteConnection: {
1161
+ parameters: {
1162
+ path: {
1163
+ /** Connection ID */
1164
+ connectionId: string;
1165
+ };
1166
+ };
1167
+ responses: {
1168
+ /** Connection deleted */
1169
+ 204: never;
1170
+ /** Expired JWT token used or insufficient privilege */
1171
+ 401: {
1172
+ content: {
1173
+ "text/plain": string;
1174
+ };
1175
+ };
1176
+ /** Result not found */
1177
+ 404: {
1178
+ content: {
1179
+ "text/plain": string;
1180
+ };
1181
+ };
1182
+ /** Internal server error */
1183
+ 500: {
1184
+ content: {
1185
+ "text/plain": string;
1186
+ };
1187
+ };
1188
+ };
1189
+ };
1190
+ /** Delete a Meshery server connection by server ID */
1191
+ deleteMesheryConnection: {
1192
+ parameters: {
1193
+ path: {
1194
+ /** Meshery server ID */
1195
+ mesheryServerId: string;
1196
+ };
1197
+ };
1198
+ responses: {
1199
+ /** Meshery connection deleted */
1200
+ 204: never;
1201
+ /** Expired JWT token used or insufficient privilege */
1202
+ 401: {
1203
+ content: {
1204
+ "text/plain": string;
1205
+ };
1206
+ };
1207
+ /** Result not found */
1208
+ 404: {
1209
+ content: {
1210
+ "text/plain": string;
1211
+ };
1212
+ };
1213
+ /** Internal server error */
1214
+ 500: {
1215
+ content: {
1216
+ "text/plain": string;
1217
+ };
1218
+ };
1219
+ };
1220
+ };
1221
+ /** Get Kubernetes context for a specific connection */
1222
+ getKubernetesContext: {
1223
+ parameters: {
1224
+ path: {
1225
+ /** Connection ID */
1226
+ connectionId: string;
1227
+ };
1228
+ };
1229
+ responses: {
1230
+ /** Kubernetes context */
1231
+ 200: {
1232
+ content: {
1233
+ "application/json": { [key: string]: unknown };
1234
+ };
1235
+ };
1236
+ /** Expired JWT token used or insufficient privilege */
1237
+ 401: {
1238
+ content: {
1239
+ "text/plain": string;
1240
+ };
1241
+ };
1242
+ /** Result not found */
1243
+ 404: {
1244
+ content: {
1245
+ "text/plain": string;
1246
+ };
1247
+ };
1248
+ /** Internal server error */
1249
+ 500: {
1250
+ content: {
1251
+ "text/plain": string;
1252
+ };
1253
+ };
1254
+ };
1255
+ };
1256
+ /** Associate a connection with an environment */
1257
+ addConnectionToEnvironment: {
1258
+ parameters: {
1259
+ path: {
1260
+ /** Environment ID */
1261
+ environmentId: string;
1262
+ /** Connection ID */
1263
+ connectionId: string;
1264
+ };
1265
+ };
1266
+ responses: {
1267
+ /** Connection added to environment */
1268
+ 201: unknown;
1269
+ /** Invalid request body or request param */
1270
+ 400: {
1271
+ content: {
1272
+ "text/plain": string;
1273
+ };
1274
+ };
1275
+ /** Expired JWT token used or insufficient privilege */
1276
+ 401: {
1277
+ content: {
1278
+ "text/plain": string;
1279
+ };
1280
+ };
1281
+ /** Result not found */
1282
+ 404: {
1283
+ content: {
1284
+ "text/plain": string;
1285
+ };
1286
+ };
1287
+ /** Internal server error */
1288
+ 500: {
1289
+ content: {
1290
+ "text/plain": string;
1291
+ };
1292
+ };
1293
+ };
1294
+ };
1295
+ /** Disassociate a connection from an environment */
1296
+ removeConnectionFromEnvironment: {
1297
+ parameters: {
1298
+ path: {
1299
+ /** Environment ID */
1300
+ environmentId: string;
1301
+ /** Connection ID */
1302
+ connectionId: string;
1303
+ };
1304
+ };
1305
+ responses: {
1306
+ /** Connection removed from environment */
1307
+ 204: never;
1308
+ /** Expired JWT token used or insufficient privilege */
1309
+ 401: {
1310
+ content: {
1311
+ "text/plain": string;
1312
+ };
1313
+ };
1314
+ /** Result not found */
1315
+ 404: {
1316
+ content: {
1317
+ "text/plain": string;
1318
+ };
1319
+ };
1320
+ /** Internal server error */
1321
+ 500: {
1322
+ content: {
1323
+ "text/plain": string;
1324
+ };
1325
+ };
1326
+ };
1327
+ };
1328
+ }
1329
+
1330
+ export interface external {}