@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,800 @@
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/environments": {
7
+ /** Gets all environments */
8
+ get: operations["getEnvironments"];
9
+ /** Creates a new environment */
10
+ post: operations["createEnvironment"];
11
+ };
12
+ "/api/environments/{environmentId}": {
13
+ get: operations["getEnvironmentById"];
14
+ put: operations["updateEnvironment"];
15
+ delete: operations["deleteEnvironment"];
16
+ };
17
+ "/api/environments/{environmentId}/connections": {
18
+ get: operations["getEnvironmentConnections"];
19
+ };
20
+ }
21
+ interface components {
22
+ schemas: {
23
+ /**
24
+ * Environment
25
+ * @description Environments allow you to logically group related Connections and their associated Credentials. Learn more at https://docs.meshery.io/concepts/logical/environments
26
+ * @example {
27
+ * "id": "00000000-0000-0000-0000-000000000000",
28
+ * "schemaVersion": "environments.meshery.io/v1beta3",
29
+ * "name": "Production Environment",
30
+ * "description": "Connections and credentials for the production cluster.",
31
+ * "organizationId": "00000000-0000-0000-0000-000000000000",
32
+ * "owner": "00000000-0000-0000-0000-000000000000",
33
+ * "createdAt": "0001-01-01T00:00:00Z",
34
+ * "metadata": {},
35
+ * "updatedAt": "0001-01-01T00:00:00Z",
36
+ * "deletedAt": null
37
+ * }
38
+ */
39
+ Environment: {
40
+ /**
41
+ * Format: uuid
42
+ * @description ID
43
+ */
44
+ id: string;
45
+ /**
46
+ * @description Specifies the version of the schema to which the environment conforms.
47
+ * @default environments.meshery.io/v1beta3
48
+ * @example [
49
+ * "v1",
50
+ * "v1alpha1",
51
+ * "v2beta3",
52
+ * "v1.custom-suffix",
53
+ * "models.meshery.io/v1beta1",
54
+ * "capability.meshery.io/v1alpha1"
55
+ * ]
56
+ */
57
+ schemaVersion: string;
58
+ /** @description Environment name */
59
+ name: string;
60
+ /** @description Environment description */
61
+ description: string;
62
+ /**
63
+ * Format: uuid
64
+ * @description Environment organization ID
65
+ */
66
+ organizationId: string;
67
+ /**
68
+ * Format: uuid
69
+ * @description Environment owner
70
+ */
71
+ owner?: string;
72
+ /**
73
+ * Format: date-time
74
+ * @description Timestamp when the environment was created.
75
+ */
76
+ createdAt?: string;
77
+ /** @description Additional metadata associated with the environment. */
78
+ metadata?: {
79
+ [key: string]: unknown;
80
+ };
81
+ /**
82
+ * Format: date-time
83
+ * @description Timestamp when the environment was last updated.
84
+ */
85
+ updatedAt?: string;
86
+ /**
87
+ * Format: date-time
88
+ * @description Timestamp when the environment was soft deleted. Null while the environment remains active.
89
+ */
90
+ deletedAt?: string | null;
91
+ };
92
+ /** @description Junction record linking an environment to a connection. */
93
+ EnvironmentConnectionMapping: {
94
+ /**
95
+ * Format: uuid
96
+ * @description Mapping record ID.
97
+ */
98
+ id?: string;
99
+ /**
100
+ * Format: uuid
101
+ * @description ID of the associated environment.
102
+ */
103
+ environmentId?: string;
104
+ /**
105
+ * Format: uuid
106
+ * @description ID of the associated connection.
107
+ */
108
+ connectionId?: string;
109
+ /**
110
+ * Format: date-time
111
+ * @description Timestamp when the mapping was created.
112
+ */
113
+ createdAt?: string;
114
+ /**
115
+ * Format: date-time
116
+ * @description Timestamp when the mapping was last updated.
117
+ */
118
+ updatedAt?: string;
119
+ /**
120
+ * Format: date-time
121
+ * @description Timestamp when the mapping was soft-deleted. Null while the mapping remains active.
122
+ */
123
+ deletedAt?: string;
124
+ };
125
+ /** @description Payload for creating or updating an environment. */
126
+ EnvironmentPayload: {
127
+ /** @description An environment is a collection of resources. Provide a name that meaningfully represents these resources. You can change the name of the environment even after its creation. */
128
+ name: string;
129
+ /** @description An environment is a collection of resources, such as connections & credentials. Provide a detailed description to clarify the purpose of this environment and the types of resources it encompasses. You can modify the description at any time. Learn more about environments [here](https://docs.meshery.io/concepts/logical/environments). */
130
+ description?: string;
131
+ /**
132
+ * Format: uuid
133
+ * @description Select an organization in which you want to create this new environment. Keep in mind that the organization cannot be changed after creation.
134
+ */
135
+ organizationId: string;
136
+ };
137
+ /** @description Paginated list of environments. */
138
+ EnvironmentPage: {
139
+ /** @description Zero-based page index returned in this response. */
140
+ page?: number;
141
+ /** @description Maximum number of items returned on each page. */
142
+ pageSize?: number;
143
+ /** @description Total number of items across all pages. */
144
+ totalCount?: number;
145
+ /** @description Environments associated with this resource. */
146
+ environments?: {
147
+ /**
148
+ * Format: uuid
149
+ * @description ID
150
+ */
151
+ id: string;
152
+ /**
153
+ * @description Specifies the version of the schema to which the environment conforms.
154
+ * @default environments.meshery.io/v1beta3
155
+ * @example [
156
+ * "v1",
157
+ * "v1alpha1",
158
+ * "v2beta3",
159
+ * "v1.custom-suffix",
160
+ * "models.meshery.io/v1beta1",
161
+ * "capability.meshery.io/v1alpha1"
162
+ * ]
163
+ */
164
+ schemaVersion: string;
165
+ /** @description Environment name */
166
+ name: string;
167
+ /** @description Environment description */
168
+ description: string;
169
+ /**
170
+ * Format: uuid
171
+ * @description Environment organization ID
172
+ */
173
+ organizationId: string;
174
+ /**
175
+ * Format: uuid
176
+ * @description Environment owner
177
+ */
178
+ owner?: string;
179
+ /**
180
+ * Format: date-time
181
+ * @description Timestamp when the environment was created.
182
+ */
183
+ createdAt?: string;
184
+ /** @description Additional metadata associated with the environment. */
185
+ metadata?: {
186
+ [key: string]: unknown;
187
+ };
188
+ /**
189
+ * Format: date-time
190
+ * @description Timestamp when the environment was last updated.
191
+ */
192
+ updatedAt?: string;
193
+ /**
194
+ * Format: date-time
195
+ * @description Timestamp when the environment was soft deleted. Null while the environment remains active.
196
+ */
197
+ deletedAt?: string | null;
198
+ }[];
199
+ };
200
+ /** @description Paginated list of connections associated with an environment. */
201
+ EnvironmentConnectionsPage: {
202
+ /** @description Current page number of the result set. */
203
+ page?: number;
204
+ /** @description Number of items per page. */
205
+ pageSize?: number;
206
+ /** @description Total number of items available. */
207
+ totalCount?: number;
208
+ /** @description The connections of the environmentconnectionspage. */
209
+ connections?: {
210
+ [key: string]: unknown;
211
+ }[];
212
+ };
213
+ };
214
+ responses: {
215
+ /** ok */
216
+ 200: {
217
+ content: {
218
+ "text/plain": string;
219
+ };
220
+ };
221
+ /** Invalid request body or request param */
222
+ 400: {
223
+ content: {
224
+ "text/plain": string;
225
+ };
226
+ };
227
+ /** Expired JWT token used or insufficient privilege */
228
+ 401: {
229
+ content: {
230
+ "text/plain": string;
231
+ };
232
+ };
233
+ /** Result not found */
234
+ 404: {
235
+ content: {
236
+ "text/plain": string;
237
+ };
238
+ };
239
+ /** Internal server error */
240
+ 500: {
241
+ content: {
242
+ "text/plain": string;
243
+ };
244
+ };
245
+ };
246
+ parameters: {
247
+ /** @description Environment ID */
248
+ environmentId: string;
249
+ /** @description Get responses that match search param value */
250
+ search: string;
251
+ /** @description Get ordered responses */
252
+ order: string;
253
+ /** @description Get responses by page */
254
+ page: string;
255
+ /** @description Get responses by pagesize */
256
+ pagesize: string;
257
+ /** @description User's organization ID */
258
+ orgIdQuery: string;
259
+ };
260
+ requestBodies: {
261
+ /** Body for creating environment */
262
+ environmentPayload: {
263
+ content: {
264
+ "application/json": {
265
+ /** @description An environment is a collection of resources. Provide a name that meaningfully represents these resources. You can change the name of the environment even after its creation. */
266
+ name: string;
267
+ /** @description An environment is a collection of resources, such as connections & credentials. Provide a detailed description to clarify the purpose of this environment and the types of resources it encompasses. You can modify the description at any time. Learn more about environments [here](https://docs.meshery.io/concepts/logical/environments). */
268
+ description?: string;
269
+ /**
270
+ * Format: uuid
271
+ * @description Select an organization in which you want to create this new environment. Keep in mind that the organization cannot be changed after creation.
272
+ */
273
+ organizationId: string;
274
+ };
275
+ };
276
+ };
277
+ };
278
+ }
279
+ interface operations {
280
+ /** Gets all environments */
281
+ getEnvironments: {
282
+ parameters: {
283
+ query: {
284
+ /** Get responses that match search param value */
285
+ search?: string;
286
+ /** Get ordered responses */
287
+ order?: string;
288
+ /** Get responses by page */
289
+ page?: string;
290
+ /** Get responses by pagesize */
291
+ pagesize?: string;
292
+ /** User's organization ID */
293
+ orgId: string;
294
+ };
295
+ };
296
+ responses: {
297
+ /** Environments */
298
+ 200: {
299
+ content: {
300
+ "application/json": {
301
+ /** @description Zero-based page index returned in this response. */
302
+ page?: number;
303
+ /** @description Maximum number of items returned on each page. */
304
+ pageSize?: number;
305
+ /** @description Total number of items across all pages. */
306
+ totalCount?: number;
307
+ /** @description Environments associated with this resource. */
308
+ environments?: {
309
+ /**
310
+ * Format: uuid
311
+ * @description ID
312
+ */
313
+ id: string;
314
+ /**
315
+ * @description Specifies the version of the schema to which the environment conforms.
316
+ * @default environments.meshery.io/v1beta3
317
+ * @example [
318
+ * "v1",
319
+ * "v1alpha1",
320
+ * "v2beta3",
321
+ * "v1.custom-suffix",
322
+ * "models.meshery.io/v1beta1",
323
+ * "capability.meshery.io/v1alpha1"
324
+ * ]
325
+ */
326
+ schemaVersion: string;
327
+ /** @description Environment name */
328
+ name: string;
329
+ /** @description Environment description */
330
+ description: string;
331
+ /**
332
+ * Format: uuid
333
+ * @description Environment organization ID
334
+ */
335
+ organizationId: string;
336
+ /**
337
+ * Format: uuid
338
+ * @description Environment owner
339
+ */
340
+ owner?: string;
341
+ /**
342
+ * Format: date-time
343
+ * @description Timestamp when the environment was created.
344
+ */
345
+ createdAt?: string;
346
+ /** @description Additional metadata associated with the environment. */
347
+ metadata?: {
348
+ [key: string]: unknown;
349
+ };
350
+ /**
351
+ * Format: date-time
352
+ * @description Timestamp when the environment was last updated.
353
+ */
354
+ updatedAt?: string;
355
+ /**
356
+ * Format: date-time
357
+ * @description Timestamp when the environment was soft deleted. Null while the environment remains active.
358
+ */
359
+ deletedAt?: string | null;
360
+ }[];
361
+ };
362
+ };
363
+ };
364
+ /** Expired JWT token used or insufficient privilege */
365
+ 401: {
366
+ content: {
367
+ "text/plain": string;
368
+ };
369
+ };
370
+ /** Internal server error */
371
+ 500: {
372
+ content: {
373
+ "text/plain": string;
374
+ };
375
+ };
376
+ };
377
+ };
378
+ /** Creates a new environment */
379
+ createEnvironment: {
380
+ responses: {
381
+ /** Created environment */
382
+ 201: {
383
+ content: {
384
+ "application/json": {
385
+ /**
386
+ * Format: uuid
387
+ * @description ID
388
+ */
389
+ id: string;
390
+ /**
391
+ * @description Specifies the version of the schema to which the environment conforms.
392
+ * @default environments.meshery.io/v1beta3
393
+ * @example [
394
+ * "v1",
395
+ * "v1alpha1",
396
+ * "v2beta3",
397
+ * "v1.custom-suffix",
398
+ * "models.meshery.io/v1beta1",
399
+ * "capability.meshery.io/v1alpha1"
400
+ * ]
401
+ */
402
+ schemaVersion: string;
403
+ /** @description Environment name */
404
+ name: string;
405
+ /** @description Environment description */
406
+ description: string;
407
+ /**
408
+ * Format: uuid
409
+ * @description Environment organization ID
410
+ */
411
+ organizationId: string;
412
+ /**
413
+ * Format: uuid
414
+ * @description Environment owner
415
+ */
416
+ owner?: string;
417
+ /**
418
+ * Format: date-time
419
+ * @description Timestamp when the environment was created.
420
+ */
421
+ createdAt?: string;
422
+ /** @description Additional metadata associated with the environment. */
423
+ metadata?: {
424
+ [key: string]: unknown;
425
+ };
426
+ /**
427
+ * Format: date-time
428
+ * @description Timestamp when the environment was last updated.
429
+ */
430
+ updatedAt?: string;
431
+ /**
432
+ * Format: date-time
433
+ * @description Timestamp when the environment was soft deleted. Null while the environment remains active.
434
+ */
435
+ deletedAt?: string | null;
436
+ };
437
+ };
438
+ };
439
+ /** Invalid request body or request param */
440
+ 400: {
441
+ content: {
442
+ "text/plain": string;
443
+ };
444
+ };
445
+ /** Expired JWT token used or insufficient privilege */
446
+ 401: {
447
+ content: {
448
+ "text/plain": string;
449
+ };
450
+ };
451
+ /** Internal server error */
452
+ 500: {
453
+ content: {
454
+ "text/plain": string;
455
+ };
456
+ };
457
+ };
458
+ /** Body for creating environment */
459
+ requestBody: {
460
+ content: {
461
+ "application/json": {
462
+ /** @description An environment is a collection of resources. Provide a name that meaningfully represents these resources. You can change the name of the environment even after its creation. */
463
+ name: string;
464
+ /** @description An environment is a collection of resources, such as connections & credentials. Provide a detailed description to clarify the purpose of this environment and the types of resources it encompasses. You can modify the description at any time. Learn more about environments [here](https://docs.meshery.io/concepts/logical/environments). */
465
+ description?: string;
466
+ /**
467
+ * Format: uuid
468
+ * @description Select an organization in which you want to create this new environment. Keep in mind that the organization cannot be changed after creation.
469
+ */
470
+ organizationId: string;
471
+ };
472
+ };
473
+ };
474
+ };
475
+ getEnvironmentById: {
476
+ parameters: {
477
+ path: {
478
+ /** Environment ID */
479
+ environmentId: string;
480
+ };
481
+ query: {
482
+ /** User's organization ID */
483
+ orgId: string;
484
+ };
485
+ };
486
+ responses: {
487
+ /** Environment page */
488
+ 200: {
489
+ content: {
490
+ "application/json": {
491
+ /** @description Zero-based page index returned in this response. */
492
+ page?: number;
493
+ /** @description Maximum number of items returned on each page. */
494
+ pageSize?: number;
495
+ /** @description Total number of items across all pages. */
496
+ totalCount?: number;
497
+ /** @description Environments associated with this resource. */
498
+ environments?: {
499
+ /**
500
+ * Format: uuid
501
+ * @description ID
502
+ */
503
+ id: string;
504
+ /**
505
+ * @description Specifies the version of the schema to which the environment conforms.
506
+ * @default environments.meshery.io/v1beta3
507
+ * @example [
508
+ * "v1",
509
+ * "v1alpha1",
510
+ * "v2beta3",
511
+ * "v1.custom-suffix",
512
+ * "models.meshery.io/v1beta1",
513
+ * "capability.meshery.io/v1alpha1"
514
+ * ]
515
+ */
516
+ schemaVersion: string;
517
+ /** @description Environment name */
518
+ name: string;
519
+ /** @description Environment description */
520
+ description: string;
521
+ /**
522
+ * Format: uuid
523
+ * @description Environment organization ID
524
+ */
525
+ organizationId: string;
526
+ /**
527
+ * Format: uuid
528
+ * @description Environment owner
529
+ */
530
+ owner?: string;
531
+ /**
532
+ * Format: date-time
533
+ * @description Timestamp when the environment was created.
534
+ */
535
+ createdAt?: string;
536
+ /** @description Additional metadata associated with the environment. */
537
+ metadata?: {
538
+ [key: string]: unknown;
539
+ };
540
+ /**
541
+ * Format: date-time
542
+ * @description Timestamp when the environment was last updated.
543
+ */
544
+ updatedAt?: string;
545
+ /**
546
+ * Format: date-time
547
+ * @description Timestamp when the environment was soft deleted. Null while the environment remains active.
548
+ */
549
+ deletedAt?: string | null;
550
+ }[];
551
+ };
552
+ };
553
+ };
554
+ /** Invalid request body or request param */
555
+ 400: {
556
+ content: {
557
+ "text/plain": string;
558
+ };
559
+ };
560
+ /** Expired JWT token used or insufficient privilege */
561
+ 401: {
562
+ content: {
563
+ "text/plain": string;
564
+ };
565
+ };
566
+ /** Result not found */
567
+ 404: {
568
+ content: {
569
+ "text/plain": string;
570
+ };
571
+ };
572
+ /** Internal server error */
573
+ 500: {
574
+ content: {
575
+ "text/plain": string;
576
+ };
577
+ };
578
+ };
579
+ };
580
+ updateEnvironment: {
581
+ parameters: {
582
+ path: {
583
+ /** Environment ID */
584
+ environmentId: string;
585
+ };
586
+ };
587
+ responses: {
588
+ /** Environment page */
589
+ 200: {
590
+ content: {
591
+ "application/json": {
592
+ /** @description Zero-based page index returned in this response. */
593
+ page?: number;
594
+ /** @description Maximum number of items returned on each page. */
595
+ pageSize?: number;
596
+ /** @description Total number of items across all pages. */
597
+ totalCount?: number;
598
+ /** @description Environments associated with this resource. */
599
+ environments?: {
600
+ /**
601
+ * Format: uuid
602
+ * @description ID
603
+ */
604
+ id: string;
605
+ /**
606
+ * @description Specifies the version of the schema to which the environment conforms.
607
+ * @default environments.meshery.io/v1beta3
608
+ * @example [
609
+ * "v1",
610
+ * "v1alpha1",
611
+ * "v2beta3",
612
+ * "v1.custom-suffix",
613
+ * "models.meshery.io/v1beta1",
614
+ * "capability.meshery.io/v1alpha1"
615
+ * ]
616
+ */
617
+ schemaVersion: string;
618
+ /** @description Environment name */
619
+ name: string;
620
+ /** @description Environment description */
621
+ description: string;
622
+ /**
623
+ * Format: uuid
624
+ * @description Environment organization ID
625
+ */
626
+ organizationId: string;
627
+ /**
628
+ * Format: uuid
629
+ * @description Environment owner
630
+ */
631
+ owner?: string;
632
+ /**
633
+ * Format: date-time
634
+ * @description Timestamp when the environment was created.
635
+ */
636
+ createdAt?: string;
637
+ /** @description Additional metadata associated with the environment. */
638
+ metadata?: {
639
+ [key: string]: unknown;
640
+ };
641
+ /**
642
+ * Format: date-time
643
+ * @description Timestamp when the environment was last updated.
644
+ */
645
+ updatedAt?: string;
646
+ /**
647
+ * Format: date-time
648
+ * @description Timestamp when the environment was soft deleted. Null while the environment remains active.
649
+ */
650
+ deletedAt?: string | null;
651
+ }[];
652
+ };
653
+ };
654
+ };
655
+ /** Invalid request body or request param */
656
+ 400: {
657
+ content: {
658
+ "text/plain": string;
659
+ };
660
+ };
661
+ /** Expired JWT token used or insufficient privilege */
662
+ 401: {
663
+ content: {
664
+ "text/plain": string;
665
+ };
666
+ };
667
+ /** Result not found */
668
+ 404: {
669
+ content: {
670
+ "text/plain": string;
671
+ };
672
+ };
673
+ /** Internal server error */
674
+ 500: {
675
+ content: {
676
+ "text/plain": string;
677
+ };
678
+ };
679
+ };
680
+ /** Body for creating environment */
681
+ requestBody: {
682
+ content: {
683
+ "application/json": {
684
+ /** @description An environment is a collection of resources. Provide a name that meaningfully represents these resources. You can change the name of the environment even after its creation. */
685
+ name: string;
686
+ /** @description An environment is a collection of resources, such as connections & credentials. Provide a detailed description to clarify the purpose of this environment and the types of resources it encompasses. You can modify the description at any time. Learn more about environments [here](https://docs.meshery.io/concepts/logical/environments). */
687
+ description?: string;
688
+ /**
689
+ * Format: uuid
690
+ * @description Select an organization in which you want to create this new environment. Keep in mind that the organization cannot be changed after creation.
691
+ */
692
+ organizationId: string;
693
+ };
694
+ };
695
+ };
696
+ };
697
+ deleteEnvironment: {
698
+ parameters: {
699
+ path: {
700
+ /** Environment ID */
701
+ environmentId: string;
702
+ };
703
+ };
704
+ responses: {
705
+ /** Environment deleted */
706
+ 204: never;
707
+ /** Invalid request body or request param */
708
+ 400: {
709
+ content: {
710
+ "text/plain": string;
711
+ };
712
+ };
713
+ /** Expired JWT token used or insufficient privilege */
714
+ 401: {
715
+ content: {
716
+ "text/plain": string;
717
+ };
718
+ };
719
+ /** Result not found */
720
+ 404: {
721
+ content: {
722
+ "text/plain": string;
723
+ };
724
+ };
725
+ /** Internal server error */
726
+ 500: {
727
+ content: {
728
+ "text/plain": string;
729
+ };
730
+ };
731
+ };
732
+ };
733
+ getEnvironmentConnections: {
734
+ parameters: {
735
+ path: {
736
+ /** Environment ID */
737
+ environmentId: string;
738
+ };
739
+ query: {
740
+ /** Get responses that match search param value */
741
+ search?: string;
742
+ /** Get ordered responses */
743
+ order?: string;
744
+ /** Get responses by page */
745
+ page?: string;
746
+ /** Get responses by pagesize */
747
+ pagesize?: string;
748
+ /** JSON-encoded filter string used to scope the connection listing. */
749
+ filter?: string;
750
+ };
751
+ };
752
+ responses: {
753
+ /** Environment connections */
754
+ 200: {
755
+ content: {
756
+ "application/json": {
757
+ /** @description Current page number of the result set. */
758
+ page?: number;
759
+ /** @description Number of items per page. */
760
+ pageSize?: number;
761
+ /** @description Total number of items available. */
762
+ totalCount?: number;
763
+ /** @description The connections of the environmentconnectionspage. */
764
+ connections?: {
765
+ [key: string]: unknown;
766
+ }[];
767
+ };
768
+ };
769
+ };
770
+ /** Invalid request body or request param */
771
+ 400: {
772
+ content: {
773
+ "text/plain": string;
774
+ };
775
+ };
776
+ /** Expired JWT token used or insufficient privilege */
777
+ 401: {
778
+ content: {
779
+ "text/plain": string;
780
+ };
781
+ };
782
+ /** Result not found */
783
+ 404: {
784
+ content: {
785
+ "text/plain": string;
786
+ };
787
+ };
788
+ /** Internal server error */
789
+ 500: {
790
+ content: {
791
+ "text/plain": string;
792
+ };
793
+ };
794
+ };
795
+ };
796
+ }
797
+ interface external {
798
+ }
799
+
800
+ export type { components, external, operations, paths };