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