@meshery/schemas 1.2.14 → 1.2.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (151) hide show
  1. package/dist/cloudApi.d.mts +1516 -1516
  2. package/dist/cloudApi.d.ts +1516 -1516
  3. package/dist/constructs/v1alpha1/capability/Capability.d.ts +114 -0
  4. package/dist/constructs/v1alpha1/capability/CapabilitySchema.d.ts +2 -0
  5. package/dist/constructs/v1alpha1/core/Core.d.ts +832 -0
  6. package/dist/constructs/v1alpha1/core/CoreSchema.d.ts +2 -0
  7. package/dist/constructs/v1alpha2/catalog/Catalog.d.ts +53 -0
  8. package/dist/constructs/v1alpha2/catalog/CatalogSchema.d.ts +2 -0
  9. package/dist/constructs/v1alpha3/relationship/Relationship.d.ts +1937 -0
  10. package/dist/constructs/v1alpha3/relationship/RelationshipSchema.d.ts +2 -0
  11. package/dist/constructs/v1beta1/academy/Academy.d.ts +6417 -0
  12. package/dist/constructs/v1beta1/academy/AcademySchema.d.ts +2 -0
  13. package/dist/constructs/v1beta1/badge/Badge.d.ts +546 -0
  14. package/dist/constructs/v1beta1/badge/BadgeSchema.d.ts +2 -0
  15. package/dist/constructs/v1beta1/capability/Capability.d.ts +114 -0
  16. package/dist/constructs/v1beta1/capability/CapabilitySchema.d.ts +2 -0
  17. package/dist/constructs/v1beta1/catalog/Catalog.d.ts +53 -0
  18. package/dist/constructs/v1beta1/catalog/CatalogSchema.d.ts +2 -0
  19. package/dist/constructs/v1beta1/category/Category.d.ts +46 -0
  20. package/dist/constructs/v1beta1/category/CategorySchema.d.ts +2 -0
  21. package/dist/constructs/v1beta1/component/Component.d.ts +869 -0
  22. package/dist/constructs/v1beta1/component/ComponentSchema.d.ts +2 -0
  23. package/dist/constructs/v1beta1/connection/Connection.d.ts +1300 -0
  24. package/dist/constructs/v1beta1/connection/ConnectionSchema.d.ts +2 -0
  25. package/dist/constructs/v1beta1/core/Core.d.ts +832 -0
  26. package/dist/constructs/v1beta1/core/CoreSchema.d.ts +2 -0
  27. package/dist/constructs/v1beta1/credential/Credential.d.ts +530 -0
  28. package/dist/constructs/v1beta1/credential/CredentialSchema.d.ts +2 -0
  29. package/dist/constructs/v1beta1/environment/Environment.d.ts +759 -0
  30. package/dist/constructs/v1beta1/environment/EnvironmentSchema.d.ts +2 -0
  31. package/dist/constructs/v1beta1/evaluation/Evaluation.d.ts +6338 -0
  32. package/dist/constructs/v1beta1/evaluation/EvaluationSchema.d.ts +2 -0
  33. package/dist/constructs/v1beta1/event/Event.d.ts +570 -0
  34. package/dist/constructs/v1beta1/event/EventSchema.d.ts +2 -0
  35. package/dist/constructs/v1beta1/feature/Feature.d.ts +308 -0
  36. package/dist/constructs/v1beta1/feature/FeatureSchema.d.ts +2 -0
  37. package/dist/constructs/v1beta1/invitation/Invitation.d.ts +983 -0
  38. package/dist/constructs/v1beta1/invitation/InvitationSchema.d.ts +2 -0
  39. package/dist/constructs/v1beta1/key/Key.d.ts +514 -0
  40. package/dist/constructs/v1beta1/key/KeySchema.d.ts +2 -0
  41. package/dist/constructs/v1beta1/keychain/Keychain.d.ts +642 -0
  42. package/dist/constructs/v1beta1/keychain/KeychainSchema.d.ts +2 -0
  43. package/dist/constructs/v1beta1/model/Model.d.ts +659 -0
  44. package/dist/constructs/v1beta1/model/ModelSchema.d.ts +2 -0
  45. package/dist/constructs/v1beta1/organization/Organization.d.ts +1598 -0
  46. package/dist/constructs/v1beta1/organization/OrganizationSchema.d.ts +2 -0
  47. package/dist/constructs/v1beta1/pattern/Pattern.d.ts +18407 -0
  48. package/dist/constructs/v1beta1/pattern/PatternSchema.d.ts +2 -0
  49. package/dist/constructs/v1beta1/plan/Plan.d.ts +149 -0
  50. package/dist/constructs/v1beta1/plan/PlanSchema.d.ts +2 -0
  51. package/dist/constructs/v1beta1/relationship/Relationship.d.ts +1921 -0
  52. package/dist/constructs/v1beta1/relationship/RelationshipSchema.d.ts +2 -0
  53. package/dist/constructs/v1beta1/role/Role.d.ts +745 -0
  54. package/dist/constructs/v1beta1/role/RoleSchema.d.ts +2 -0
  55. package/dist/constructs/v1beta1/schedule/Schedule.d.ts +374 -0
  56. package/dist/constructs/v1beta1/schedule/ScheduleSchema.d.ts +2 -0
  57. package/dist/constructs/v1beta1/subcategory/Subcategory.d.ts +68 -0
  58. package/dist/constructs/v1beta1/subcategory/SubcategorySchema.d.ts +2 -0
  59. package/dist/constructs/v1beta1/subscription/Subscription.d.ts +752 -0
  60. package/dist/constructs/v1beta1/subscription/SubscriptionSchema.d.ts +2 -0
  61. package/dist/constructs/v1beta1/support/Support.d.ts +91 -0
  62. package/dist/constructs/v1beta1/support/SupportSchema.d.ts +2 -0
  63. package/dist/constructs/v1beta1/team/Team.d.ts +846 -0
  64. package/dist/constructs/v1beta1/team/TeamSchema.d.ts +2 -0
  65. package/dist/constructs/v1beta1/token/Token.d.ts +539 -0
  66. package/dist/constructs/v1beta1/token/TokenSchema.d.ts +2 -0
  67. package/dist/constructs/v1beta1/user/User.d.ts +1677 -0
  68. package/dist/constructs/v1beta1/user/UserSchema.d.ts +2 -0
  69. package/dist/constructs/v1beta1/view/View.d.ts +759 -0
  70. package/dist/constructs/v1beta1/view/ViewSchema.d.ts +2 -0
  71. package/dist/constructs/v1beta1/workspace/Workspace.d.ts +4947 -0
  72. package/dist/constructs/v1beta1/workspace/WorkspaceSchema.d.ts +2 -0
  73. package/dist/constructs/v1beta2/academy/Academy.d.ts +7762 -0
  74. package/dist/constructs/v1beta2/academy/AcademySchema.d.ts +2 -0
  75. package/dist/constructs/v1beta2/badge/Badge.d.ts +563 -0
  76. package/dist/constructs/v1beta2/badge/BadgeSchema.d.ts +2 -0
  77. package/dist/constructs/v1beta2/catalog/Catalog.d.ts +53 -0
  78. package/dist/constructs/v1beta2/catalog/CatalogSchema.d.ts +2 -0
  79. package/dist/constructs/v1beta2/component/Component.d.ts +887 -0
  80. package/dist/constructs/v1beta2/component/ComponentSchema.d.ts +2 -0
  81. package/dist/constructs/v1beta2/connection/Connection.d.ts +1330 -0
  82. package/dist/constructs/v1beta2/connection/ConnectionSchema.d.ts +2 -0
  83. package/dist/constructs/v1beta2/core/Core.d.ts +866 -0
  84. package/dist/constructs/v1beta2/core/CoreSchema.d.ts +2 -0
  85. package/dist/constructs/v1beta2/credential/Credential.d.ts +519 -0
  86. package/dist/constructs/v1beta2/credential/CredentialSchema.d.ts +2 -0
  87. package/dist/constructs/v1beta2/design/Design.d.ts +19039 -0
  88. package/dist/constructs/v1beta2/design/DesignSchema.d.ts +2 -0
  89. package/dist/constructs/v1beta2/event/Event.d.ts +626 -0
  90. package/dist/constructs/v1beta2/event/EventSchema.d.ts +2 -0
  91. package/dist/constructs/v1beta2/invitation/Invitation.d.ts +1052 -0
  92. package/dist/constructs/v1beta2/invitation/InvitationSchema.d.ts +2 -0
  93. package/dist/constructs/v1beta2/key/Key.d.ts +524 -0
  94. package/dist/constructs/v1beta2/key/KeySchema.d.ts +2 -0
  95. package/dist/constructs/v1beta2/keychain/Keychain.d.ts +652 -0
  96. package/dist/constructs/v1beta2/keychain/KeychainSchema.d.ts +2 -0
  97. package/dist/constructs/v1beta2/model/Model.d.ts +697 -0
  98. package/dist/constructs/v1beta2/model/ModelSchema.d.ts +2 -0
  99. package/dist/constructs/v1beta2/organization/Organization.d.ts +1915 -0
  100. package/dist/constructs/v1beta2/organization/OrganizationSchema.d.ts +2 -0
  101. package/dist/constructs/v1beta2/plan/Plan.d.ts +162 -0
  102. package/dist/constructs/v1beta2/plan/PlanSchema.d.ts +2 -0
  103. package/dist/constructs/v1beta2/relationship/Relationship.d.ts +2134 -0
  104. package/dist/constructs/v1beta2/relationship/RelationshipSchema.d.ts +2 -0
  105. package/dist/constructs/v1beta2/role/Role.d.ts +752 -0
  106. package/dist/constructs/v1beta2/role/RoleSchema.d.ts +2 -0
  107. package/dist/constructs/v1beta2/schedule/Schedule.d.ts +431 -0
  108. package/dist/constructs/v1beta2/schedule/ScheduleSchema.d.ts +2 -0
  109. package/dist/constructs/v1beta2/subscription/Subscription.d.ts +785 -0
  110. package/dist/constructs/v1beta2/subscription/SubscriptionSchema.d.ts +2 -0
  111. package/dist/constructs/v1beta2/team/Team.d.ts +960 -0
  112. package/dist/constructs/v1beta2/team/TeamSchema.d.ts +2 -0
  113. package/dist/constructs/v1beta2/token/Token.d.ts +544 -0
  114. package/dist/constructs/v1beta2/token/TokenSchema.d.ts +2 -0
  115. package/dist/constructs/v1beta2/user/User.d.ts +1677 -0
  116. package/dist/constructs/v1beta2/user/UserSchema.d.ts +2 -0
  117. package/dist/constructs/v1beta2/view/View.d.ts +767 -0
  118. package/dist/constructs/v1beta2/view/ViewSchema.d.ts +2 -0
  119. package/dist/constructs/v1beta3/academy/Academy.d.ts +7762 -0
  120. package/dist/constructs/v1beta3/academy/AcademySchema.d.ts +2 -0
  121. package/dist/constructs/v1beta3/component/Component.d.ts +892 -0
  122. package/dist/constructs/v1beta3/component/ComponentSchema.d.ts +2 -0
  123. package/dist/constructs/v1beta3/connection/Connection.d.ts +1414 -0
  124. package/dist/constructs/v1beta3/connection/ConnectionSchema.d.ts +2 -0
  125. package/dist/constructs/v1beta3/design/Design.d.ts +5704 -0
  126. package/dist/constructs/v1beta3/design/DesignSchema.d.ts +2 -0
  127. package/dist/constructs/v1beta3/environment/Environment.d.ts +785 -0
  128. package/dist/constructs/v1beta3/environment/EnvironmentSchema.d.ts +2 -0
  129. package/dist/constructs/v1beta3/event/Event.d.ts +720 -0
  130. package/dist/constructs/v1beta3/event/EventSchema.d.ts +2 -0
  131. package/dist/constructs/v1beta3/filter/Filter.d.ts +1452 -0
  132. package/dist/constructs/v1beta3/filter/FilterSchema.d.ts +2 -0
  133. package/dist/constructs/v1beta3/invitation/Invitation.d.ts +1060 -0
  134. package/dist/constructs/v1beta3/invitation/InvitationSchema.d.ts +2 -0
  135. package/dist/constructs/v1beta3/performance_profile/PerformanceProfile.d.ts +813 -0
  136. package/dist/constructs/v1beta3/performance_profile/PerformanceProfileSchema.d.ts +2 -0
  137. package/dist/constructs/v1beta3/plan/Plan.d.ts +199 -0
  138. package/dist/constructs/v1beta3/plan/PlanSchema.d.ts +2 -0
  139. package/dist/constructs/v1beta3/relationship/Relationship.d.ts +2134 -0
  140. package/dist/constructs/v1beta3/relationship/RelationshipSchema.d.ts +2 -0
  141. package/dist/constructs/v1beta3/subscription/Subscription.d.ts +915 -0
  142. package/dist/constructs/v1beta3/subscription/SubscriptionSchema.d.ts +2 -0
  143. package/dist/constructs/v1beta3/token/Token.d.ts +544 -0
  144. package/dist/constructs/v1beta3/token/TokenSchema.d.ts +2 -0
  145. package/dist/constructs/v1beta3/workspace/Workspace.d.ts +5086 -0
  146. package/dist/constructs/v1beta3/workspace/WorkspaceSchema.d.ts +2 -0
  147. package/dist/index.js +1 -1
  148. package/dist/index.mjs +1 -1
  149. package/dist/mesheryApi.d.mts +546 -546
  150. package/dist/mesheryApi.d.ts +546 -546
  151. package/package.json +2 -2
@@ -0,0 +1,785 @@
1
+ /**
2
+ * This file was auto-generated by openapi-typescript.
3
+ * Do not make direct changes to the file.
4
+ */
5
+
6
+ export interface paths {
7
+ "/api/environments": {
8
+ /** Gets all environments */
9
+ get: operations["getEnvironments"];
10
+ /** Creates a new environment */
11
+ post: operations["createEnvironment"];
12
+ };
13
+ "/api/environments/{environmentId}": {
14
+ get: operations["getEnvironmentById"];
15
+ put: operations["updateEnvironment"];
16
+ delete: operations["deleteEnvironment"];
17
+ };
18
+ "/api/environments/{environmentId}/connections": {
19
+ get: operations["getEnvironmentConnections"];
20
+ };
21
+ }
22
+
23
+ export interface components {
24
+ schemas: {
25
+ /**
26
+ * Environment
27
+ * @description Environments allow you to logically group related Connections and their associated Credentials. Learn more at https://docs.meshery.io/concepts/logical/environments
28
+ * @example {
29
+ * "id": "00000000-0000-0000-0000-000000000000",
30
+ * "schemaVersion": "environments.meshery.io/v1beta3",
31
+ * "name": "Production Environment",
32
+ * "description": "Connections and credentials for the production cluster.",
33
+ * "organizationId": "00000000-0000-0000-0000-000000000000",
34
+ * "owner": "00000000-0000-0000-0000-000000000000",
35
+ * "createdAt": "0001-01-01T00:00:00Z",
36
+ * "metadata": {},
37
+ * "updatedAt": "0001-01-01T00:00:00Z",
38
+ * "deletedAt": null
39
+ * }
40
+ */
41
+ Environment: {
42
+ /**
43
+ * Format: uuid
44
+ * @description ID
45
+ */
46
+ id: string;
47
+ /**
48
+ * @description Specifies the version of the schema to which the environment conforms.
49
+ * @default environments.meshery.io/v1beta3
50
+ * @example [
51
+ * "v1",
52
+ * "v1alpha1",
53
+ * "v2beta3",
54
+ * "v1.custom-suffix",
55
+ * "models.meshery.io/v1beta1",
56
+ * "capability.meshery.io/v1alpha1"
57
+ * ]
58
+ */
59
+ schemaVersion: string;
60
+ /** @description Environment name */
61
+ name: string;
62
+ /** @description Environment description */
63
+ description: string;
64
+ /**
65
+ * Format: uuid
66
+ * @description Environment organization ID
67
+ */
68
+ organizationId: string;
69
+ /**
70
+ * Format: uuid
71
+ * @description Environment owner
72
+ */
73
+ owner?: string;
74
+ /**
75
+ * Format: date-time
76
+ * @description Timestamp when the environment was created.
77
+ */
78
+ createdAt?: string;
79
+ /** @description Additional metadata associated with the environment. */
80
+ metadata?: { [key: string]: unknown };
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?: { [key: string]: unknown };
186
+ /**
187
+ * Format: date-time
188
+ * @description Timestamp when the environment was last updated.
189
+ */
190
+ updatedAt?: string;
191
+ /**
192
+ * Format: date-time
193
+ * @description Timestamp when the environment was soft deleted. Null while the environment remains active.
194
+ */
195
+ deletedAt?: string | null;
196
+ }[];
197
+ };
198
+ /** @description Paginated list of connections associated with an environment. */
199
+ EnvironmentConnectionsPage: {
200
+ /** @description Current page number of the result set. */
201
+ page?: number;
202
+ /** @description Number of items per page. */
203
+ pageSize?: number;
204
+ /** @description Total number of items available. */
205
+ totalCount?: number;
206
+ /** @description The connections of the environmentconnectionspage. */
207
+ connections?: { [key: string]: unknown }[];
208
+ };
209
+ };
210
+ responses: {
211
+ /** ok */
212
+ 200: {
213
+ content: {
214
+ "text/plain": string;
215
+ };
216
+ };
217
+ /** Invalid request body or request param */
218
+ 400: {
219
+ content: {
220
+ "text/plain": string;
221
+ };
222
+ };
223
+ /** Expired JWT token used or insufficient privilege */
224
+ 401: {
225
+ content: {
226
+ "text/plain": string;
227
+ };
228
+ };
229
+ /** Result not found */
230
+ 404: {
231
+ content: {
232
+ "text/plain": string;
233
+ };
234
+ };
235
+ /** Internal server error */
236
+ 500: {
237
+ content: {
238
+ "text/plain": string;
239
+ };
240
+ };
241
+ };
242
+ parameters: {
243
+ /** @description Environment ID */
244
+ environmentId: string;
245
+ /** @description Get responses that match search param value */
246
+ search: string;
247
+ /** @description Get ordered responses */
248
+ order: string;
249
+ /** @description Get responses by page */
250
+ page: string;
251
+ /** @description Get responses by pagesize */
252
+ pagesize: string;
253
+ /** @description User's organization ID */
254
+ orgIdQuery: string;
255
+ };
256
+ requestBodies: {
257
+ /** Body for creating environment */
258
+ environmentPayload: {
259
+ content: {
260
+ "application/json": {
261
+ /** @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. */
262
+ name: string;
263
+ /** @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). */
264
+ description?: string;
265
+ /**
266
+ * Format: uuid
267
+ * @description Select an organization in which you want to create this new environment. Keep in mind that the organization cannot be changed after creation.
268
+ */
269
+ organizationId: string;
270
+ };
271
+ };
272
+ };
273
+ };
274
+ }
275
+
276
+ export interface operations {
277
+ /** Gets all environments */
278
+ getEnvironments: {
279
+ parameters: {
280
+ query: {
281
+ /** Get responses that match search param value */
282
+ search?: string;
283
+ /** Get ordered responses */
284
+ order?: string;
285
+ /** Get responses by page */
286
+ page?: string;
287
+ /** Get responses by pagesize */
288
+ pagesize?: string;
289
+ /** User's organization ID */
290
+ orgId: string;
291
+ };
292
+ };
293
+ responses: {
294
+ /** Environments */
295
+ 200: {
296
+ content: {
297
+ "application/json": {
298
+ /** @description Zero-based page index returned in this response. */
299
+ page?: number;
300
+ /** @description Maximum number of items returned on each page. */
301
+ pageSize?: number;
302
+ /** @description Total number of items across all pages. */
303
+ totalCount?: number;
304
+ /** @description Environments associated with this resource. */
305
+ environments?: {
306
+ /**
307
+ * Format: uuid
308
+ * @description ID
309
+ */
310
+ id: string;
311
+ /**
312
+ * @description Specifies the version of the schema to which the environment conforms.
313
+ * @default environments.meshery.io/v1beta3
314
+ * @example [
315
+ * "v1",
316
+ * "v1alpha1",
317
+ * "v2beta3",
318
+ * "v1.custom-suffix",
319
+ * "models.meshery.io/v1beta1",
320
+ * "capability.meshery.io/v1alpha1"
321
+ * ]
322
+ */
323
+ schemaVersion: string;
324
+ /** @description Environment name */
325
+ name: string;
326
+ /** @description Environment description */
327
+ description: string;
328
+ /**
329
+ * Format: uuid
330
+ * @description Environment organization ID
331
+ */
332
+ organizationId: string;
333
+ /**
334
+ * Format: uuid
335
+ * @description Environment owner
336
+ */
337
+ owner?: string;
338
+ /**
339
+ * Format: date-time
340
+ * @description Timestamp when the environment was created.
341
+ */
342
+ createdAt?: string;
343
+ /** @description Additional metadata associated with the environment. */
344
+ metadata?: { [key: string]: unknown };
345
+ /**
346
+ * Format: date-time
347
+ * @description Timestamp when the environment was last updated.
348
+ */
349
+ updatedAt?: string;
350
+ /**
351
+ * Format: date-time
352
+ * @description Timestamp when the environment was soft deleted. Null while the environment remains active.
353
+ */
354
+ deletedAt?: string | null;
355
+ }[];
356
+ };
357
+ };
358
+ };
359
+ /** Expired JWT token used or insufficient privilege */
360
+ 401: {
361
+ content: {
362
+ "text/plain": string;
363
+ };
364
+ };
365
+ /** Internal server error */
366
+ 500: {
367
+ content: {
368
+ "text/plain": string;
369
+ };
370
+ };
371
+ };
372
+ };
373
+ /** Creates a new environment */
374
+ createEnvironment: {
375
+ responses: {
376
+ /** Created environment */
377
+ 201: {
378
+ content: {
379
+ "application/json": {
380
+ /**
381
+ * Format: uuid
382
+ * @description ID
383
+ */
384
+ id: string;
385
+ /**
386
+ * @description Specifies the version of the schema to which the environment conforms.
387
+ * @default environments.meshery.io/v1beta3
388
+ * @example [
389
+ * "v1",
390
+ * "v1alpha1",
391
+ * "v2beta3",
392
+ * "v1.custom-suffix",
393
+ * "models.meshery.io/v1beta1",
394
+ * "capability.meshery.io/v1alpha1"
395
+ * ]
396
+ */
397
+ schemaVersion: string;
398
+ /** @description Environment name */
399
+ name: string;
400
+ /** @description Environment description */
401
+ description: string;
402
+ /**
403
+ * Format: uuid
404
+ * @description Environment organization ID
405
+ */
406
+ organizationId: string;
407
+ /**
408
+ * Format: uuid
409
+ * @description Environment owner
410
+ */
411
+ owner?: string;
412
+ /**
413
+ * Format: date-time
414
+ * @description Timestamp when the environment was created.
415
+ */
416
+ createdAt?: string;
417
+ /** @description Additional metadata associated with the environment. */
418
+ metadata?: { [key: string]: unknown };
419
+ /**
420
+ * Format: date-time
421
+ * @description Timestamp when the environment was last updated.
422
+ */
423
+ updatedAt?: string;
424
+ /**
425
+ * Format: date-time
426
+ * @description Timestamp when the environment was soft deleted. Null while the environment remains active.
427
+ */
428
+ deletedAt?: string | null;
429
+ };
430
+ };
431
+ };
432
+ /** Invalid request body or request param */
433
+ 400: {
434
+ content: {
435
+ "text/plain": string;
436
+ };
437
+ };
438
+ /** Expired JWT token used or insufficient privilege */
439
+ 401: {
440
+ content: {
441
+ "text/plain": string;
442
+ };
443
+ };
444
+ /** Internal server error */
445
+ 500: {
446
+ content: {
447
+ "text/plain": string;
448
+ };
449
+ };
450
+ };
451
+ /** Body for creating environment */
452
+ requestBody: {
453
+ content: {
454
+ "application/json": {
455
+ /** @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. */
456
+ name: string;
457
+ /** @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). */
458
+ description?: string;
459
+ /**
460
+ * Format: uuid
461
+ * @description Select an organization in which you want to create this new environment. Keep in mind that the organization cannot be changed after creation.
462
+ */
463
+ organizationId: string;
464
+ };
465
+ };
466
+ };
467
+ };
468
+ getEnvironmentById: {
469
+ parameters: {
470
+ path: {
471
+ /** Environment ID */
472
+ environmentId: string;
473
+ };
474
+ query: {
475
+ /** User's organization ID */
476
+ orgId: string;
477
+ };
478
+ };
479
+ responses: {
480
+ /** Environment page */
481
+ 200: {
482
+ content: {
483
+ "application/json": {
484
+ /** @description Zero-based page index returned in this response. */
485
+ page?: number;
486
+ /** @description Maximum number of items returned on each page. */
487
+ pageSize?: number;
488
+ /** @description Total number of items across all pages. */
489
+ totalCount?: number;
490
+ /** @description Environments associated with this resource. */
491
+ environments?: {
492
+ /**
493
+ * Format: uuid
494
+ * @description ID
495
+ */
496
+ id: string;
497
+ /**
498
+ * @description Specifies the version of the schema to which the environment conforms.
499
+ * @default environments.meshery.io/v1beta3
500
+ * @example [
501
+ * "v1",
502
+ * "v1alpha1",
503
+ * "v2beta3",
504
+ * "v1.custom-suffix",
505
+ * "models.meshery.io/v1beta1",
506
+ * "capability.meshery.io/v1alpha1"
507
+ * ]
508
+ */
509
+ schemaVersion: string;
510
+ /** @description Environment name */
511
+ name: string;
512
+ /** @description Environment description */
513
+ description: string;
514
+ /**
515
+ * Format: uuid
516
+ * @description Environment organization ID
517
+ */
518
+ organizationId: string;
519
+ /**
520
+ * Format: uuid
521
+ * @description Environment owner
522
+ */
523
+ owner?: string;
524
+ /**
525
+ * Format: date-time
526
+ * @description Timestamp when the environment was created.
527
+ */
528
+ createdAt?: string;
529
+ /** @description Additional metadata associated with the environment. */
530
+ metadata?: { [key: string]: unknown };
531
+ /**
532
+ * Format: date-time
533
+ * @description Timestamp when the environment was last updated.
534
+ */
535
+ updatedAt?: string;
536
+ /**
537
+ * Format: date-time
538
+ * @description Timestamp when the environment was soft deleted. Null while the environment remains active.
539
+ */
540
+ deletedAt?: string | null;
541
+ }[];
542
+ };
543
+ };
544
+ };
545
+ /** Invalid request body or request param */
546
+ 400: {
547
+ content: {
548
+ "text/plain": string;
549
+ };
550
+ };
551
+ /** Expired JWT token used or insufficient privilege */
552
+ 401: {
553
+ content: {
554
+ "text/plain": string;
555
+ };
556
+ };
557
+ /** Result not found */
558
+ 404: {
559
+ content: {
560
+ "text/plain": string;
561
+ };
562
+ };
563
+ /** Internal server error */
564
+ 500: {
565
+ content: {
566
+ "text/plain": string;
567
+ };
568
+ };
569
+ };
570
+ };
571
+ updateEnvironment: {
572
+ parameters: {
573
+ path: {
574
+ /** Environment ID */
575
+ environmentId: string;
576
+ };
577
+ };
578
+ responses: {
579
+ /** Environment page */
580
+ 200: {
581
+ content: {
582
+ "application/json": {
583
+ /** @description Zero-based page index returned in this response. */
584
+ page?: number;
585
+ /** @description Maximum number of items returned on each page. */
586
+ pageSize?: number;
587
+ /** @description Total number of items across all pages. */
588
+ totalCount?: number;
589
+ /** @description Environments associated with this resource. */
590
+ environments?: {
591
+ /**
592
+ * Format: uuid
593
+ * @description ID
594
+ */
595
+ id: string;
596
+ /**
597
+ * @description Specifies the version of the schema to which the environment conforms.
598
+ * @default environments.meshery.io/v1beta3
599
+ * @example [
600
+ * "v1",
601
+ * "v1alpha1",
602
+ * "v2beta3",
603
+ * "v1.custom-suffix",
604
+ * "models.meshery.io/v1beta1",
605
+ * "capability.meshery.io/v1alpha1"
606
+ * ]
607
+ */
608
+ schemaVersion: string;
609
+ /** @description Environment name */
610
+ name: string;
611
+ /** @description Environment description */
612
+ description: string;
613
+ /**
614
+ * Format: uuid
615
+ * @description Environment organization ID
616
+ */
617
+ organizationId: string;
618
+ /**
619
+ * Format: uuid
620
+ * @description Environment owner
621
+ */
622
+ owner?: string;
623
+ /**
624
+ * Format: date-time
625
+ * @description Timestamp when the environment was created.
626
+ */
627
+ createdAt?: string;
628
+ /** @description Additional metadata associated with the environment. */
629
+ metadata?: { [key: string]: unknown };
630
+ /**
631
+ * Format: date-time
632
+ * @description Timestamp when the environment was last updated.
633
+ */
634
+ updatedAt?: string;
635
+ /**
636
+ * Format: date-time
637
+ * @description Timestamp when the environment was soft deleted. Null while the environment remains active.
638
+ */
639
+ deletedAt?: string | null;
640
+ }[];
641
+ };
642
+ };
643
+ };
644
+ /** Invalid request body or request param */
645
+ 400: {
646
+ content: {
647
+ "text/plain": string;
648
+ };
649
+ };
650
+ /** Expired JWT token used or insufficient privilege */
651
+ 401: {
652
+ content: {
653
+ "text/plain": string;
654
+ };
655
+ };
656
+ /** Result not found */
657
+ 404: {
658
+ content: {
659
+ "text/plain": string;
660
+ };
661
+ };
662
+ /** Internal server error */
663
+ 500: {
664
+ content: {
665
+ "text/plain": string;
666
+ };
667
+ };
668
+ };
669
+ /** Body for creating environment */
670
+ requestBody: {
671
+ content: {
672
+ "application/json": {
673
+ /** @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. */
674
+ name: string;
675
+ /** @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). */
676
+ description?: string;
677
+ /**
678
+ * Format: uuid
679
+ * @description Select an organization in which you want to create this new environment. Keep in mind that the organization cannot be changed after creation.
680
+ */
681
+ organizationId: string;
682
+ };
683
+ };
684
+ };
685
+ };
686
+ deleteEnvironment: {
687
+ parameters: {
688
+ path: {
689
+ /** Environment ID */
690
+ environmentId: string;
691
+ };
692
+ };
693
+ responses: {
694
+ /** Environment deleted */
695
+ 204: never;
696
+ /** Invalid request body or request param */
697
+ 400: {
698
+ content: {
699
+ "text/plain": string;
700
+ };
701
+ };
702
+ /** Expired JWT token used or insufficient privilege */
703
+ 401: {
704
+ content: {
705
+ "text/plain": string;
706
+ };
707
+ };
708
+ /** Result not found */
709
+ 404: {
710
+ content: {
711
+ "text/plain": string;
712
+ };
713
+ };
714
+ /** Internal server error */
715
+ 500: {
716
+ content: {
717
+ "text/plain": string;
718
+ };
719
+ };
720
+ };
721
+ };
722
+ getEnvironmentConnections: {
723
+ parameters: {
724
+ path: {
725
+ /** Environment ID */
726
+ environmentId: string;
727
+ };
728
+ query: {
729
+ /** Get responses that match search param value */
730
+ search?: string;
731
+ /** Get ordered responses */
732
+ order?: string;
733
+ /** Get responses by page */
734
+ page?: string;
735
+ /** Get responses by pagesize */
736
+ pagesize?: string;
737
+ /** JSON-encoded filter string used to scope the connection listing. */
738
+ filter?: string;
739
+ };
740
+ };
741
+ responses: {
742
+ /** Environment connections */
743
+ 200: {
744
+ content: {
745
+ "application/json": {
746
+ /** @description Current page number of the result set. */
747
+ page?: number;
748
+ /** @description Number of items per page. */
749
+ pageSize?: number;
750
+ /** @description Total number of items available. */
751
+ totalCount?: number;
752
+ /** @description The connections of the environmentconnectionspage. */
753
+ connections?: { [key: string]: unknown }[];
754
+ };
755
+ };
756
+ };
757
+ /** Invalid request body or request param */
758
+ 400: {
759
+ content: {
760
+ "text/plain": string;
761
+ };
762
+ };
763
+ /** Expired JWT token used or insufficient privilege */
764
+ 401: {
765
+ content: {
766
+ "text/plain": string;
767
+ };
768
+ };
769
+ /** Result not found */
770
+ 404: {
771
+ content: {
772
+ "text/plain": string;
773
+ };
774
+ };
775
+ /** Internal server error */
776
+ 500: {
777
+ content: {
778
+ "text/plain": string;
779
+ };
780
+ };
781
+ };
782
+ };
783
+ }
784
+
785
+ export interface external {}