@meshery/schemas 1.0.9 → 1.1.1

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