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