@meshery/schemas 1.3.8 → 1.4.0

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 (103) hide show
  1. package/dist/cloudApi.d.mts +4154 -1704
  2. package/dist/cloudApi.d.ts +4154 -1704
  3. package/dist/cloudApi.js +1 -1
  4. package/dist/cloudApi.mjs +1 -1
  5. package/dist/constructs/v1alpha1/capability/Capability.d.ts +106 -111
  6. package/dist/constructs/v1alpha1/core/Core.d.ts +822 -734
  7. package/dist/constructs/v1alpha2/catalog/Catalog.d.ts +45 -40
  8. package/dist/constructs/v1alpha3/relationship/Relationship.d.ts +1829 -1716
  9. package/dist/constructs/v1beta1/academy/Academy.d.ts +6023 -6642
  10. package/dist/constructs/v1beta1/badge/Badge.d.ts +439 -600
  11. package/dist/constructs/v1beta1/capability/Capability.d.ts +106 -111
  12. package/dist/constructs/v1beta1/catalog/Catalog.d.ts +45 -40
  13. package/dist/constructs/v1beta1/category/Category.d.ts +38 -26
  14. package/dist/constructs/v1beta1/component/Component.d.ts +833 -729
  15. package/dist/constructs/v1beta1/connection/Connection.d.ts +1170 -1357
  16. package/dist/constructs/v1beta1/core/Core.d.ts +822 -734
  17. package/dist/constructs/v1beta1/credential/Credential.d.ts +458 -593
  18. package/dist/constructs/v1beta1/environment/Environment.d.ts +666 -835
  19. package/dist/constructs/v1beta1/evaluation/Evaluation.d.ts +6142 -5619
  20. package/dist/constructs/v1beta1/event/Event.d.ts +527 -898
  21. package/dist/constructs/v1beta1/feature/Feature.d.ts +343 -389
  22. package/dist/constructs/v1beta1/invitation/Invitation.d.ts +877 -1244
  23. package/dist/constructs/v1beta1/key/Key.d.ts +444 -589
  24. package/dist/constructs/v1beta1/keychain/Keychain.d.ts +575 -796
  25. package/dist/constructs/v1beta1/model/Model.d.ts +598 -572
  26. package/dist/constructs/v1beta1/organization/Organization.d.ts +1410 -1829
  27. package/dist/constructs/v1beta1/pattern/Pattern.d.ts +17988 -17171
  28. package/dist/constructs/v1beta1/plan/Plan.d.ts +115 -159
  29. package/dist/constructs/v1beta1/role/Role.d.ts +688 -933
  30. package/dist/constructs/v1beta1/schedule/Schedule.d.ts +315 -425
  31. package/dist/constructs/v1beta1/subcategory/Subcategory.d.ts +61 -18
  32. package/dist/constructs/v1beta1/subscription/Subscription.d.ts +674 -839
  33. package/dist/constructs/v1beta1/support/Support.d.ts +74 -115
  34. package/dist/constructs/v1beta1/system/System.d.ts +250 -385
  35. package/dist/constructs/v1beta1/team/Team.d.ts +762 -1028
  36. package/dist/constructs/v1beta1/token/Token.d.ts +475 -612
  37. package/dist/constructs/v1beta1/user/User.d.ts +1553 -1722
  38. package/dist/constructs/v1beta1/view/View.d.ts +664 -833
  39. package/dist/constructs/v1beta1/workspace/Workspace.d.ts +4705 -4910
  40. package/dist/constructs/v1beta2/academy/Academy.d.ts +7246 -7864
  41. package/dist/constructs/v1beta2/badge/Badge.d.ts +453 -610
  42. package/dist/constructs/v1beta2/catalog/Catalog.d.ts +45 -40
  43. package/dist/constructs/v1beta2/component/Component.d.ts +851 -747
  44. package/dist/constructs/v1beta2/connection/Connection.d.ts +1189 -1376
  45. package/dist/constructs/v1beta2/core/Core.d.ts +856 -768
  46. package/dist/constructs/v1beta2/credential/Credential.d.ts +437 -572
  47. package/dist/constructs/v1beta2/design/Design.d.ts +18631 -17846
  48. package/dist/constructs/v1beta2/event/Event.d.ts +575 -946
  49. package/dist/constructs/v1beta2/invitation/Invitation.d.ts +901 -1268
  50. package/dist/constructs/v1beta2/key/Key.d.ts +454 -599
  51. package/dist/constructs/v1beta2/keychain/Keychain.d.ts +585 -806
  52. package/dist/constructs/v1beta2/model/Model.d.ts +636 -610
  53. package/dist/constructs/v1beta2/organization/Organization.d.ts +2017 -2458
  54. package/dist/constructs/v1beta2/plan/Plan.d.ts +128 -169
  55. package/dist/constructs/v1beta2/relationship/Relationship.d.ts +2013 -1844
  56. package/dist/constructs/v1beta2/role/Role.d.ts +695 -940
  57. package/dist/constructs/v1beta2/schedule/Schedule.d.ts +356 -466
  58. package/dist/constructs/v1beta2/subscription/Subscription.d.ts +701 -866
  59. package/dist/constructs/v1beta2/team/Team.d.ts +852 -1118
  60. package/dist/constructs/v1beta2/token/Token.d.ts +479 -616
  61. package/dist/constructs/v1beta2/user/User.d.ts +1553 -1722
  62. package/dist/constructs/v1beta2/view/View.d.ts +669 -838
  63. package/dist/constructs/v1beta3/academy/Academy.d.ts +7246 -7864
  64. package/dist/constructs/v1beta3/academy/AcademySchema.js +1 -1
  65. package/dist/constructs/v1beta3/academy/AcademySchema.mjs +1 -1
  66. package/dist/constructs/v1beta3/component/Component.d.ts +857 -753
  67. package/dist/constructs/v1beta3/connection/Connection.d.ts +5919 -1416
  68. package/dist/constructs/v1beta3/connection/ConnectionSchema.js +25 -1
  69. package/dist/constructs/v1beta3/connection/ConnectionSchema.mjs +25 -1
  70. package/dist/constructs/v1beta3/design/Design.d.ts +5297 -5719
  71. package/dist/constructs/v1beta3/design/DesignSchema.js +2 -2
  72. package/dist/constructs/v1beta3/design/DesignSchema.mjs +2 -2
  73. package/dist/constructs/v1beta3/environment/Environment.d.ts +689 -858
  74. package/dist/constructs/v1beta3/event/Event.d.ts +666 -1041
  75. package/dist/constructs/v1beta3/event/EventSchema.js +1 -1
  76. package/dist/constructs/v1beta3/event/EventSchema.mjs +1 -1
  77. package/dist/constructs/v1beta3/filter/Filter.d.ts +1300 -1438
  78. package/dist/constructs/v1beta3/filter/FilterSchema.js +7 -7
  79. package/dist/constructs/v1beta3/filter/FilterSchema.mjs +7 -7
  80. package/dist/constructs/v1beta3/invitation/Invitation.d.ts +911 -1278
  81. package/dist/constructs/v1beta3/invitation/InvitationSchema.js +1 -1
  82. package/dist/constructs/v1beta3/invitation/InvitationSchema.mjs +1 -1
  83. package/dist/constructs/v1beta3/performance_profile/PerformanceProfile.d.ts +1114 -1412
  84. package/dist/constructs/v1beta3/performance_profile/PerformanceProfileSchema.js +1 -1
  85. package/dist/constructs/v1beta3/performance_profile/PerformanceProfileSchema.mjs +1 -1
  86. package/dist/constructs/v1beta3/plan/Plan.d.ts +156 -197
  87. package/dist/constructs/v1beta3/relationship/Relationship.d.ts +2013 -1844
  88. package/dist/constructs/v1beta3/subscription/Subscription.d.ts +804 -969
  89. package/dist/constructs/v1beta3/token/Token.d.ts +480 -617
  90. package/dist/constructs/v1beta3/token/TokenSchema.js +1 -1
  91. package/dist/constructs/v1beta3/token/TokenSchema.mjs +1 -1
  92. package/dist/constructs/v1beta3/workspace/Workspace.d.ts +4825 -5033
  93. package/dist/index.d.mts +5032 -5501
  94. package/dist/index.d.ts +5032 -5501
  95. package/dist/mesheryApi.d.mts +3334 -884
  96. package/dist/mesheryApi.d.ts +3334 -884
  97. package/dist/mesheryApi.js +1 -1
  98. package/dist/mesheryApi.mjs +1 -1
  99. package/dist/permissions.d.mts +25 -1
  100. package/dist/permissions.d.ts +25 -1
  101. package/dist/permissions.js +1 -1
  102. package/dist/permissions.mjs +1 -1
  103. package/package.json +1 -1
@@ -4,87 +4,379 @@
4
4
  */
5
5
 
6
6
  export interface paths {
7
- "/api/environments": {
8
- parameters: {
9
- query?: never;
10
- header?: never;
11
- path?: never;
12
- cookie?: never;
13
- };
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;
14
179
  /**
15
- * Get all environments
16
- * @description Gets all environments
180
+ * Format: date-time
181
+ * @description Timestamp when the environment was created.
17
182
  */
18
- get: operations["getEnvironments"];
19
- put?: never;
183
+ createdAt?: string;
184
+ /** @description Additional metadata associated with the environment. */
185
+ metadata?: { [key: string]: unknown };
20
186
  /**
21
- * Create an environment
22
- * @description Creates a new environment
187
+ * Format: date-time
188
+ * @description Timestamp when the environment was last updated.
23
189
  */
24
- post: operations["createEnvironment"];
25
- delete?: never;
26
- options?: never;
27
- head?: never;
28
- patch?: never;
29
- trace?: never;
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
+ }[];
30
197
  };
31
- "/api/environments/{environmentId}": {
32
- parameters: {
33
- query?: never;
34
- header?: never;
35
- path?: never;
36
- cookie?: never;
37
- };
38
- /** Get environment by ID */
39
- get: operations["getEnvironmentById"];
40
- /** Update an environment */
41
- put: operations["updateEnvironment"];
42
- post?: never;
43
- /** Delete an environment */
44
- delete: operations["deleteEnvironment"];
45
- options?: never;
46
- head?: never;
47
- patch?: never;
48
- trace?: never;
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
+ };
49
222
  };
50
- "/api/environments/{environmentId}/connections": {
51
- parameters: {
52
- query?: never;
53
- header?: never;
54
- path?: never;
55
- cookie?: never;
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;
56
270
  };
57
- /** Get environment connections */
58
- get: operations["getEnvironmentConnections"];
59
- put?: never;
60
- post?: never;
61
- delete?: never;
62
- options?: never;
63
- head?: never;
64
- patch?: never;
65
- trace?: never;
271
+ };
66
272
  };
273
+ };
67
274
  }
68
- export type webhooks = Record<string, never>;
69
- export interface components {
70
- schemas: {
71
- /**
72
- * Environment
73
- * @description Environments allow you to logically group related Connections and their associated Credentials. Learn more at https://docs.meshery.io/concepts/logical/environments
74
- * @example {
75
- * "id": "00000000-0000-0000-0000-000000000000",
76
- * "schemaVersion": "environments.meshery.io/v1beta3",
77
- * "name": "Production Environment",
78
- * "description": "Connections and credentials for the production cluster.",
79
- * "organizationId": "00000000-0000-0000-0000-000000000000",
80
- * "owner": "00000000-0000-0000-0000-000000000000",
81
- * "createdAt": "0001-01-01T00:00:00Z",
82
- * "metadata": {},
83
- * "updatedAt": "0001-01-01T00:00:00Z",
84
- * "deletedAt": null
85
- * }
86
- */
87
- Environment: {
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": {
88
380
  /**
89
381
  * Format: uuid
90
382
  * @description ID
@@ -94,13 +386,13 @@ export interface components {
94
386
  * @description Specifies the version of the schema to which the environment conforms.
95
387
  * @default environments.meshery.io/v1beta3
96
388
  * @example [
97
- * "v1",
98
- * "v1alpha1",
99
- * "v2beta3",
100
- * "v1.custom-suffix",
101
- * "models.meshery.io/v1beta1",
102
- * "capability.meshery.io/v1alpha1"
103
- * ]
389
+ * "v1",
390
+ * "v1alpha1",
391
+ * "v2beta3",
392
+ * "v1.custom-suffix",
393
+ * "models.meshery.io/v1beta1",
394
+ * "capability.meshery.io/v1alpha1"
395
+ * ]
104
396
  */
105
397
  schemaVersion: string;
106
398
  /** @description Environment name */
@@ -123,7 +415,7 @@ export interface components {
123
415
  */
124
416
  createdAt?: string;
125
417
  /** @description Additional metadata associated with the environment. */
126
- metadata?: Record<string, never>;
418
+ metadata?: { [key: string]: unknown };
127
419
  /**
128
420
  * Format: date-time
129
421
  * @description Timestamp when the environment was last updated.
@@ -134,54 +426,61 @@ export interface components {
134
426
  * @description Timestamp when the environment was soft deleted. Null while the environment remains active.
135
427
  */
136
428
  deletedAt?: string | null;
429
+ };
137
430
  };
138
- /** @description Junction record linking an environment to a connection. */
139
- EnvironmentConnectionMapping: {
140
- /**
141
- * Format: uuid
142
- * @description Mapping record ID.
143
- */
144
- id?: string;
145
- /**
146
- * Format: uuid
147
- * @description ID of the associated environment.
148
- */
149
- environmentId?: string;
150
- /**
151
- * Format: uuid
152
- * @description ID of the associated connection.
153
- */
154
- connectionId?: string;
155
- /**
156
- * Format: date-time
157
- * @description Timestamp when the mapping was created.
158
- */
159
- createdAt?: string;
160
- /**
161
- * Format: date-time
162
- * @description Timestamp when the mapping was last updated.
163
- */
164
- updatedAt?: string;
165
- /**
166
- * Format: date-time
167
- * @description Timestamp when the mapping was soft-deleted. Null while the mapping remains active.
168
- */
169
- deletedAt?: string;
431
+ };
432
+ /** Invalid request body or request param */
433
+ 400: {
434
+ content: {
435
+ "text/plain": string;
170
436
  };
171
- /** @description Payload for creating or updating an environment. */
172
- EnvironmentPayload: {
173
- /** @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. */
174
- name: string;
175
- /** @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). */
176
- description?: string;
177
- /**
178
- * Format: uuid
179
- * @description Select an organization in which you want to create this new environment. Keep in mind that the organization cannot be changed after creation.
180
- */
181
- organizationId: string;
437
+ };
438
+ /** Expired JWT token used or insufficient privilege */
439
+ 401: {
440
+ content: {
441
+ "text/plain": string;
182
442
  };
183
- /** @description Paginated list of environments. */
184
- EnvironmentPage: {
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": {
185
484
  /** @description Zero-based page index returned in this response. */
186
485
  page?: number;
187
486
  /** @description Maximum number of items returned on each page. */
@@ -190,765 +489,297 @@ export interface components {
190
489
  totalCount?: number;
191
490
  /** @description Environments associated with this resource. */
192
491
  environments?: {
193
- /**
194
- * Format: uuid
195
- * @description ID
196
- */
197
- id: string;
198
- /**
199
- * @description Specifies the version of the schema to which the environment conforms.
200
- * @default environments.meshery.io/v1beta3
201
- * @example [
202
- * "v1",
203
- * "v1alpha1",
204
- * "v2beta3",
205
- * "v1.custom-suffix",
206
- * "models.meshery.io/v1beta1",
207
- * "capability.meshery.io/v1alpha1"
208
- * ]
209
- */
210
- schemaVersion: string;
211
- /** @description Environment name */
212
- name: string;
213
- /** @description Environment description */
214
- description: string;
215
- /**
216
- * Format: uuid
217
- * @description Environment organization ID
218
- */
219
- organizationId: string;
220
- /**
221
- * Format: uuid
222
- * @description Environment owner
223
- */
224
- owner?: string;
225
- /**
226
- * Format: date-time
227
- * @description Timestamp when the environment was created.
228
- */
229
- createdAt?: string;
230
- /** @description Additional metadata associated with the environment. */
231
- metadata?: Record<string, never>;
232
- /**
233
- * Format: date-time
234
- * @description Timestamp when the environment was last updated.
235
- */
236
- updatedAt?: string;
237
- /**
238
- * Format: date-time
239
- * @description Timestamp when the environment was soft deleted. Null while the environment remains active.
240
- */
241
- deletedAt?: string | null;
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;
242
541
  }[];
542
+ };
243
543
  };
244
- /** @description Paginated list of connections associated with an environment. */
245
- EnvironmentConnectionsPage: {
246
- /** @description Current page number of the result set. */
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. */
247
584
  page?: number;
248
- /** @description Number of items per page. */
585
+ /** @description Maximum number of items returned on each page. */
249
586
  pageSize?: number;
250
- /** @description Total number of items available. */
587
+ /** @description Total number of items across all pages. */
251
588
  totalCount?: number;
252
- /** @description The connections of the environmentconnectionspage. */
253
- connections?: {
254
- [key: string]: unknown;
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;
255
640
  }[];
641
+ };
256
642
  };
257
- };
258
- responses: {
259
- /** @description ok */
260
- 200: {
261
- headers: {
262
- [name: string]: unknown;
263
- };
264
- content: {
265
- "text/plain": string;
266
- };
643
+ };
644
+ /** Invalid request body or request param */
645
+ 400: {
646
+ content: {
647
+ "text/plain": string;
267
648
  };
268
- /** @description Invalid request body or request param */
269
- 400: {
270
- headers: {
271
- [name: string]: unknown;
272
- };
273
- content: {
274
- "text/plain": string;
275
- };
649
+ };
650
+ /** Expired JWT token used or insufficient privilege */
651
+ 401: {
652
+ content: {
653
+ "text/plain": string;
276
654
  };
277
- /** @description Expired JWT token used or insufficient privilege */
278
- 401: {
279
- headers: {
280
- [name: string]: unknown;
281
- };
282
- content: {
283
- "text/plain": string;
284
- };
655
+ };
656
+ /** Result not found */
657
+ 404: {
658
+ content: {
659
+ "text/plain": string;
285
660
  };
286
- /** @description Result not found */
287
- 404: {
288
- headers: {
289
- [name: string]: unknown;
290
- };
291
- content: {
292
- "text/plain": string;
293
- };
661
+ };
662
+ /** Internal server error */
663
+ 500: {
664
+ content: {
665
+ "text/plain": string;
294
666
  };
295
- /** @description Internal server error */
296
- 500: {
297
- headers: {
298
- [name: string]: unknown;
299
- };
300
- content: {
301
- "text/plain": string;
302
- };
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;
303
682
  };
683
+ };
304
684
  };
685
+ };
686
+ deleteEnvironment: {
305
687
  parameters: {
306
- /** @description Environment ID */
688
+ path: {
689
+ /** Environment ID */
307
690
  environmentId: string;
308
- /** @description Get responses that match search param value */
309
- search: string;
310
- /** @description Get ordered responses */
311
- order: string;
312
- /** @description Get responses by page */
313
- page: string;
314
- /** @description Get responses by pagesize */
315
- pagesize: string;
316
- /** @description User's organization ID */
317
- orgIdQuery: string;
318
- };
319
- requestBodies: {
320
- /** @description Body for creating environment */
321
- environmentPayload: {
322
- content: {
323
- "application/json": {
324
- /** @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. */
325
- name: string;
326
- /** @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). */
327
- description?: string;
328
- /**
329
- * Format: uuid
330
- * @description Select an organization in which you want to create this new environment. Keep in mind that the organization cannot be changed after creation.
331
- */
332
- organizationId: string;
333
- };
334
- };
335
- };
691
+ };
336
692
  };
337
- headers: never;
338
- pathItems: never;
339
- }
340
- export type $defs = Record<string, never>;
341
- export interface operations {
342
- getEnvironments: {
343
- parameters: {
344
- query: {
345
- /** @description Get responses that match search param value */
346
- search?: string;
347
- /** @description Get ordered responses */
348
- order?: string;
349
- /** @description Get responses by page */
350
- page?: string;
351
- /** @description Get responses by pagesize */
352
- pagesize?: string;
353
- /** @description User's organization ID */
354
- orgId: string;
355
- };
356
- header?: never;
357
- path?: never;
358
- cookie?: never;
693
+ responses: {
694
+ /** Environment deleted */
695
+ 204: never;
696
+ /** Invalid request body or request param */
697
+ 400: {
698
+ content: {
699
+ "text/plain": string;
359
700
  };
360
- requestBody?: never;
361
- responses: {
362
- /** @description Environments */
363
- 200: {
364
- headers: {
365
- [name: string]: unknown;
366
- };
367
- content: {
368
- "application/json": {
369
- /** @description Zero-based page index returned in this response. */
370
- page?: number;
371
- /** @description Maximum number of items returned on each page. */
372
- pageSize?: number;
373
- /** @description Total number of items across all pages. */
374
- totalCount?: number;
375
- /** @description Environments associated with this resource. */
376
- environments?: {
377
- /**
378
- * Format: uuid
379
- * @description ID
380
- */
381
- id: string;
382
- /**
383
- * @description Specifies the version of the schema to which the environment conforms.
384
- * @default environments.meshery.io/v1beta3
385
- * @example [
386
- * "v1",
387
- * "v1alpha1",
388
- * "v2beta3",
389
- * "v1.custom-suffix",
390
- * "models.meshery.io/v1beta1",
391
- * "capability.meshery.io/v1alpha1"
392
- * ]
393
- */
394
- schemaVersion: string;
395
- /** @description Environment name */
396
- name: string;
397
- /** @description Environment description */
398
- description: string;
399
- /**
400
- * Format: uuid
401
- * @description Environment organization ID
402
- */
403
- organizationId: string;
404
- /**
405
- * Format: uuid
406
- * @description Environment owner
407
- */
408
- owner?: string;
409
- /**
410
- * Format: date-time
411
- * @description Timestamp when the environment was created.
412
- */
413
- createdAt?: string;
414
- /** @description Additional metadata associated with the environment. */
415
- metadata?: Record<string, never>;
416
- /**
417
- * Format: date-time
418
- * @description Timestamp when the environment was last updated.
419
- */
420
- updatedAt?: string;
421
- /**
422
- * Format: date-time
423
- * @description Timestamp when the environment was soft deleted. Null while the environment remains active.
424
- */
425
- deletedAt?: string | null;
426
- }[];
427
- };
428
- };
429
- };
430
- /** @description Expired JWT token used or insufficient privilege */
431
- 401: {
432
- headers: {
433
- [name: string]: unknown;
434
- };
435
- content: {
436
- "text/plain": string;
437
- };
438
- };
439
- /** @description Internal server error */
440
- 500: {
441
- headers: {
442
- [name: string]: unknown;
443
- };
444
- content: {
445
- "text/plain": string;
446
- };
447
- };
701
+ };
702
+ /** Expired JWT token used or insufficient privilege */
703
+ 401: {
704
+ content: {
705
+ "text/plain": string;
448
706
  };
449
- };
450
- createEnvironment: {
451
- parameters: {
452
- query?: never;
453
- header?: never;
454
- path?: never;
455
- cookie?: never;
707
+ };
708
+ /** Result not found */
709
+ 404: {
710
+ content: {
711
+ "text/plain": string;
456
712
  };
457
- /** @description Body for creating environment */
458
- requestBody: {
459
- content: {
460
- "application/json": {
461
- /** @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. */
462
- name: string;
463
- /** @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). */
464
- description?: string;
465
- /**
466
- * Format: uuid
467
- * @description Select an organization in which you want to create this new environment. Keep in mind that the organization cannot be changed after creation.
468
- */
469
- organizationId: string;
470
- };
471
- };
472
- };
473
- responses: {
474
- /** @description Created environment */
475
- 201: {
476
- headers: {
477
- [name: string]: unknown;
478
- };
479
- content: {
480
- "application/json": {
481
- /**
482
- * Format: uuid
483
- * @description ID
484
- */
485
- id: string;
486
- /**
487
- * @description Specifies the version of the schema to which the environment conforms.
488
- * @default environments.meshery.io/v1beta3
489
- * @example [
490
- * "v1",
491
- * "v1alpha1",
492
- * "v2beta3",
493
- * "v1.custom-suffix",
494
- * "models.meshery.io/v1beta1",
495
- * "capability.meshery.io/v1alpha1"
496
- * ]
497
- */
498
- schemaVersion: string;
499
- /** @description Environment name */
500
- name: string;
501
- /** @description Environment description */
502
- description: string;
503
- /**
504
- * Format: uuid
505
- * @description Environment organization ID
506
- */
507
- organizationId: string;
508
- /**
509
- * Format: uuid
510
- * @description Environment owner
511
- */
512
- owner?: string;
513
- /**
514
- * Format: date-time
515
- * @description Timestamp when the environment was created.
516
- */
517
- createdAt?: string;
518
- /** @description Additional metadata associated with the environment. */
519
- metadata?: Record<string, never>;
520
- /**
521
- * Format: date-time
522
- * @description Timestamp when the environment was last updated.
523
- */
524
- updatedAt?: string;
525
- /**
526
- * Format: date-time
527
- * @description Timestamp when the environment was soft deleted. Null while the environment remains active.
528
- */
529
- deletedAt?: string | null;
530
- };
531
- };
532
- };
533
- /** @description Invalid request body or request param */
534
- 400: {
535
- headers: {
536
- [name: string]: unknown;
537
- };
538
- content: {
539
- "text/plain": string;
540
- };
541
- };
542
- /** @description Expired JWT token used or insufficient privilege */
543
- 401: {
544
- headers: {
545
- [name: string]: unknown;
546
- };
547
- content: {
548
- "text/plain": string;
549
- };
550
- };
551
- /** @description Internal server error */
552
- 500: {
553
- headers: {
554
- [name: string]: unknown;
555
- };
556
- content: {
557
- "text/plain": string;
558
- };
559
- };
713
+ };
714
+ /** Internal server error */
715
+ 500: {
716
+ content: {
717
+ "text/plain": string;
560
718
  };
719
+ };
561
720
  };
562
- getEnvironmentById: {
563
- parameters: {
564
- query: {
565
- /** @description User's organization ID */
566
- orgId: string;
567
- };
568
- header?: never;
569
- path: {
570
- /** @description Environment ID */
571
- environmentId: string;
572
- };
573
- cookie?: never;
574
- };
575
- requestBody?: never;
576
- responses: {
577
- /** @description Environment page */
578
- 200: {
579
- headers: {
580
- [name: string]: unknown;
581
- };
582
- content: {
583
- "application/json": {
584
- /** @description Zero-based page index returned in this response. */
585
- page?: number;
586
- /** @description Maximum number of items returned on each page. */
587
- pageSize?: number;
588
- /** @description Total number of items across all pages. */
589
- totalCount?: number;
590
- /** @description Environments associated with this resource. */
591
- environments?: {
592
- /**
593
- * Format: uuid
594
- * @description ID
595
- */
596
- id: string;
597
- /**
598
- * @description Specifies the version of the schema to which the environment conforms.
599
- * @default environments.meshery.io/v1beta3
600
- * @example [
601
- * "v1",
602
- * "v1alpha1",
603
- * "v2beta3",
604
- * "v1.custom-suffix",
605
- * "models.meshery.io/v1beta1",
606
- * "capability.meshery.io/v1alpha1"
607
- * ]
608
- */
609
- schemaVersion: string;
610
- /** @description Environment name */
611
- name: string;
612
- /** @description Environment description */
613
- description: string;
614
- /**
615
- * Format: uuid
616
- * @description Environment organization ID
617
- */
618
- organizationId: string;
619
- /**
620
- * Format: uuid
621
- * @description Environment owner
622
- */
623
- owner?: string;
624
- /**
625
- * Format: date-time
626
- * @description Timestamp when the environment was created.
627
- */
628
- createdAt?: string;
629
- /** @description Additional metadata associated with the environment. */
630
- metadata?: Record<string, never>;
631
- /**
632
- * Format: date-time
633
- * @description Timestamp when the environment was last updated.
634
- */
635
- updatedAt?: string;
636
- /**
637
- * Format: date-time
638
- * @description Timestamp when the environment was soft deleted. Null while the environment remains active.
639
- */
640
- deletedAt?: string | null;
641
- }[];
642
- };
643
- };
644
- };
645
- /** @description Invalid request body or request param */
646
- 400: {
647
- headers: {
648
- [name: string]: unknown;
649
- };
650
- content: {
651
- "text/plain": string;
652
- };
653
- };
654
- /** @description Expired JWT token used or insufficient privilege */
655
- 401: {
656
- headers: {
657
- [name: string]: unknown;
658
- };
659
- content: {
660
- "text/plain": string;
661
- };
662
- };
663
- /** @description Result not found */
664
- 404: {
665
- headers: {
666
- [name: string]: unknown;
667
- };
668
- content: {
669
- "text/plain": string;
670
- };
671
- };
672
- /** @description Internal server error */
673
- 500: {
674
- headers: {
675
- [name: string]: unknown;
676
- };
677
- content: {
678
- "text/plain": string;
679
- };
680
- };
681
- };
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
+ };
682
740
  };
683
- updateEnvironment: {
684
- parameters: {
685
- query?: never;
686
- header?: never;
687
- path: {
688
- /** @description Environment ID */
689
- environmentId: string;
690
- };
691
- cookie?: never;
692
- };
693
- /** @description Body for creating environment */
694
- requestBody: {
695
- content: {
696
- "application/json": {
697
- /** @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. */
698
- name: string;
699
- /** @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). */
700
- description?: string;
701
- /**
702
- * Format: uuid
703
- * @description Select an organization in which you want to create this new environment. Keep in mind that the organization cannot be changed after creation.
704
- */
705
- organizationId: string;
706
- };
707
- };
708
- };
709
- responses: {
710
- /** @description Environment page */
711
- 200: {
712
- headers: {
713
- [name: string]: unknown;
714
- };
715
- content: {
716
- "application/json": {
717
- /** @description Zero-based page index returned in this response. */
718
- page?: number;
719
- /** @description Maximum number of items returned on each page. */
720
- pageSize?: number;
721
- /** @description Total number of items across all pages. */
722
- totalCount?: number;
723
- /** @description Environments associated with this resource. */
724
- environments?: {
725
- /**
726
- * Format: uuid
727
- * @description ID
728
- */
729
- id: string;
730
- /**
731
- * @description Specifies the version of the schema to which the environment conforms.
732
- * @default environments.meshery.io/v1beta3
733
- * @example [
734
- * "v1",
735
- * "v1alpha1",
736
- * "v2beta3",
737
- * "v1.custom-suffix",
738
- * "models.meshery.io/v1beta1",
739
- * "capability.meshery.io/v1alpha1"
740
- * ]
741
- */
742
- schemaVersion: string;
743
- /** @description Environment name */
744
- name: string;
745
- /** @description Environment description */
746
- description: string;
747
- /**
748
- * Format: uuid
749
- * @description Environment organization ID
750
- */
751
- organizationId: string;
752
- /**
753
- * Format: uuid
754
- * @description Environment owner
755
- */
756
- owner?: string;
757
- /**
758
- * Format: date-time
759
- * @description Timestamp when the environment was created.
760
- */
761
- createdAt?: string;
762
- /** @description Additional metadata associated with the environment. */
763
- metadata?: Record<string, never>;
764
- /**
765
- * Format: date-time
766
- * @description Timestamp when the environment was last updated.
767
- */
768
- updatedAt?: string;
769
- /**
770
- * Format: date-time
771
- * @description Timestamp when the environment was soft deleted. Null while the environment remains active.
772
- */
773
- deletedAt?: string | null;
774
- }[];
775
- };
776
- };
777
- };
778
- /** @description Invalid request body or request param */
779
- 400: {
780
- headers: {
781
- [name: string]: unknown;
782
- };
783
- content: {
784
- "text/plain": string;
785
- };
786
- };
787
- /** @description Expired JWT token used or insufficient privilege */
788
- 401: {
789
- headers: {
790
- [name: string]: unknown;
791
- };
792
- content: {
793
- "text/plain": string;
794
- };
795
- };
796
- /** @description Result not found */
797
- 404: {
798
- headers: {
799
- [name: string]: unknown;
800
- };
801
- content: {
802
- "text/plain": string;
803
- };
804
- };
805
- /** @description Internal server error */
806
- 500: {
807
- headers: {
808
- [name: string]: unknown;
809
- };
810
- content: {
811
- "text/plain": string;
812
- };
813
- };
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
+ };
814
755
  };
815
- };
816
- deleteEnvironment: {
817
- parameters: {
818
- query?: never;
819
- header?: never;
820
- path: {
821
- /** @description Environment ID */
822
- environmentId: string;
823
- };
824
- cookie?: never;
756
+ };
757
+ /** Invalid request body or request param */
758
+ 400: {
759
+ content: {
760
+ "text/plain": string;
825
761
  };
826
- requestBody?: never;
827
- responses: {
828
- /** @description Environment deleted */
829
- 204: {
830
- headers: {
831
- [name: string]: unknown;
832
- };
833
- content?: never;
834
- };
835
- /** @description Invalid request body or request param */
836
- 400: {
837
- headers: {
838
- [name: string]: unknown;
839
- };
840
- content: {
841
- "text/plain": string;
842
- };
843
- };
844
- /** @description Expired JWT token used or insufficient privilege */
845
- 401: {
846
- headers: {
847
- [name: string]: unknown;
848
- };
849
- content: {
850
- "text/plain": string;
851
- };
852
- };
853
- /** @description Result not found */
854
- 404: {
855
- headers: {
856
- [name: string]: unknown;
857
- };
858
- content: {
859
- "text/plain": string;
860
- };
861
- };
862
- /** @description Internal server error */
863
- 500: {
864
- headers: {
865
- [name: string]: unknown;
866
- };
867
- content: {
868
- "text/plain": string;
869
- };
870
- };
762
+ };
763
+ /** Expired JWT token used or insufficient privilege */
764
+ 401: {
765
+ content: {
766
+ "text/plain": string;
871
767
  };
872
- };
873
- getEnvironmentConnections: {
874
- parameters: {
875
- query?: {
876
- /** @description Get responses that match search param value */
877
- search?: string;
878
- /** @description Get ordered responses */
879
- order?: string;
880
- /** @description Get responses by page */
881
- page?: string;
882
- /** @description Get responses by pagesize */
883
- pagesize?: string;
884
- /** @description JSON-encoded filter string used to scope the connection listing. */
885
- filter?: string;
886
- };
887
- header?: never;
888
- path: {
889
- /** @description Environment ID */
890
- environmentId: string;
891
- };
892
- cookie?: never;
768
+ };
769
+ /** Result not found */
770
+ 404: {
771
+ content: {
772
+ "text/plain": string;
893
773
  };
894
- requestBody?: never;
895
- responses: {
896
- /** @description Environment connections */
897
- 200: {
898
- headers: {
899
- [name: string]: unknown;
900
- };
901
- content: {
902
- "application/json": {
903
- /** @description Current page number of the result set. */
904
- page?: number;
905
- /** @description Number of items per page. */
906
- pageSize?: number;
907
- /** @description Total number of items available. */
908
- totalCount?: number;
909
- /** @description The connections of the environmentconnectionspage. */
910
- connections?: {
911
- [key: string]: unknown;
912
- }[];
913
- };
914
- };
915
- };
916
- /** @description Invalid request body or request param */
917
- 400: {
918
- headers: {
919
- [name: string]: unknown;
920
- };
921
- content: {
922
- "text/plain": string;
923
- };
924
- };
925
- /** @description Expired JWT token used or insufficient privilege */
926
- 401: {
927
- headers: {
928
- [name: string]: unknown;
929
- };
930
- content: {
931
- "text/plain": string;
932
- };
933
- };
934
- /** @description Result not found */
935
- 404: {
936
- headers: {
937
- [name: string]: unknown;
938
- };
939
- content: {
940
- "text/plain": string;
941
- };
942
- };
943
- /** @description Internal server error */
944
- 500: {
945
- headers: {
946
- [name: string]: unknown;
947
- };
948
- content: {
949
- "text/plain": string;
950
- };
951
- };
774
+ };
775
+ /** Internal server error */
776
+ 500: {
777
+ content: {
778
+ "text/plain": string;
952
779
  };
780
+ };
953
781
  };
782
+ };
954
783
  }
784
+
785
+ export interface external {}