@meshery/schemas 1.0.3 → 1.0.5

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 (36) hide show
  1. package/README.md +7 -15
  2. package/dist/cloudApi.d.mts +4047 -3586
  3. package/dist/cloudApi.d.ts +4047 -3586
  4. package/dist/cloudApi.js +1 -1
  5. package/dist/cloudApi.mjs +1 -1
  6. package/dist/constructs/v1alpha3/relationship/RelationshipSchema.js +1 -1
  7. package/dist/constructs/v1alpha3/relationship/RelationshipSchema.mjs +1 -1
  8. package/dist/constructs/v1beta1/evaluation/EvaluationSchema.js +4 -4
  9. package/dist/constructs/v1beta1/evaluation/EvaluationSchema.mjs +4 -4
  10. package/dist/constructs/v1beta1/pattern/Pattern.d.mts +0 -160
  11. package/dist/constructs/v1beta1/pattern/Pattern.d.ts +0 -160
  12. package/dist/constructs/v1beta1/pattern/PatternSchema.js +13 -13
  13. package/dist/constructs/v1beta1/pattern/PatternSchema.mjs +13 -13
  14. package/dist/constructs/v1beta1/view/View.d.mts +674 -0
  15. package/dist/constructs/v1beta1/view/View.d.ts +674 -0
  16. package/dist/constructs/v1beta1/view/View.js +1 -0
  17. package/dist/constructs/v1beta1/view/View.mjs +0 -0
  18. package/dist/constructs/v1beta1/view/ViewSchema.d.mts +7 -0
  19. package/dist/constructs/v1beta1/view/ViewSchema.d.ts +7 -0
  20. package/dist/constructs/v1beta1/view/ViewSchema.js +2 -0
  21. package/dist/constructs/v1beta1/view/ViewSchema.mjs +2 -0
  22. package/dist/constructs/v1beta1/workspace/Workspace.d.mts +357 -148
  23. package/dist/constructs/v1beta1/workspace/Workspace.d.ts +357 -148
  24. package/dist/constructs/v1beta1/workspace/WorkspaceSchema.js +5 -5
  25. package/dist/constructs/v1beta1/workspace/WorkspaceSchema.mjs +5 -5
  26. package/dist/constructs/v1beta2/design/Design.d.mts +0 -168
  27. package/dist/constructs/v1beta2/design/Design.d.ts +0 -168
  28. package/dist/constructs/v1beta2/design/DesignSchema.js +13 -13
  29. package/dist/constructs/v1beta2/design/DesignSchema.mjs +13 -13
  30. package/dist/constructs/v1beta2/relationship/RelationshipSchema.js +1 -1
  31. package/dist/constructs/v1beta2/relationship/RelationshipSchema.mjs +1 -1
  32. package/dist/index.js +33 -33
  33. package/dist/index.mjs +33 -33
  34. package/dist/mesheryApi.d.mts +382 -382
  35. package/dist/mesheryApi.d.ts +382 -382
  36. package/package.json +1 -1
@@ -60,112 +60,74 @@ interface paths {
60
60
  }
61
61
  interface components {
62
62
  schemas: {
63
+ /** @description A workspace is a logical grouping of resources within an organization. Workspaces provide a way to organize environments, designs, teams, and views. Learn more at https://docs.meshery.io/concepts/logical/workspaces */
63
64
  Workspace: {
64
65
  /** Format: uuid */
65
- id?: string;
66
- name?: string;
66
+ id: string;
67
+ /** @description Name of the workspace. */
68
+ name: string;
69
+ /** @description Description of the workspace. */
67
70
  description?: string;
68
71
  /**
69
72
  * Format: uuid
70
- * @description Workspace organization ID
73
+ * @description Organization to which this workspace belongs.
74
+ */
75
+ organization_id: string;
76
+ /**
77
+ * Format: uuid
78
+ * @description User ID of the workspace owner.
71
79
  */
72
- organization_id?: string;
73
80
  owner?: string;
81
+ /** @description Metadata associated with the workspace. */
74
82
  metadata?: {
75
- [key: string]: string;
83
+ [key: string]: unknown;
76
84
  };
77
85
  /**
78
86
  * Format: date-time
79
87
  * @description Timestamp when the resource was created.
80
88
  */
81
- created_at?: string;
82
- /**
83
- * Format: date-time
84
- * @description Timestamp when the resource was updated.
85
- */
86
- updated_at?: string;
87
- /**
88
- * Format: date-time
89
- * @description Timestamp when the resource was deleted.
90
- */
91
- deleted_at?: string;
92
- };
93
- WorkspacesTeamsMapping: {
94
- /** Format: uuid */
95
- id?: string;
96
- /** Format: uuid */
97
- team_id?: string;
98
- /** Format: uuid */
99
- workspace_id?: string;
100
- /**
101
- * Format: date-time
102
- * @description Timestamp when the resource was created.
103
- */
104
- created_at?: string;
89
+ created_at: string;
105
90
  /**
106
91
  * Format: date-time
107
92
  * @description Timestamp when the resource was updated.
108
93
  */
109
- updated_at?: string;
94
+ updated_at: string;
110
95
  /**
111
96
  * Format: date-time
112
97
  * @description Timestamp when the resource was deleted.
113
98
  */
114
99
  deleted_at?: string;
115
100
  };
116
- WorkspacesEnvironmentsMapping: {
101
+ /** @description Workspace with resolved owner details, as returned in list and get responses. */
102
+ AvailableWorkspace: {
117
103
  /** Format: uuid */
118
104
  id?: string;
119
- /** Format: uuid */
120
- environment_id?: string;
121
- /** Format: uuid */
122
- workspace_id?: string;
123
- /**
124
- * Format: date-time
125
- * @description Timestamp when the resource was created.
126
- */
127
- created_at?: string;
128
- /**
129
- * Format: date-time
130
- * @description Timestamp when the resource was updated.
131
- */
132
- updated_at?: string;
133
- /**
134
- * Format: date-time
135
- * @description Timestamp when the resource was deleted.
136
- */
137
- deleted_at?: string;
138
- };
139
- WorkspacesViewsMapping: {
140
- /** Format: uuid */
141
- id?: string;
142
- /** Format: uuid */
143
- view_id?: string;
144
- /** Format: uuid */
145
- workspace_id?: string;
146
- /**
147
- * Format: date-time
148
- * @description Timestamp when the resource was created.
149
- */
150
- created_at?: string;
105
+ /** @description Name of the workspace. */
106
+ name?: string;
107
+ /** @description Description of the workspace. */
108
+ description?: string;
109
+ /** @description Name of the owning organization. */
110
+ org_name?: string;
111
+ /** @description Display name of the workspace owner. */
112
+ owner?: string;
151
113
  /**
152
- * Format: date-time
153
- * @description Timestamp when the resource was updated.
114
+ * Format: uuid
115
+ * @description User ID of the workspace owner.
154
116
  */
155
- updated_at?: string;
117
+ owner_id?: string;
118
+ /** @description Email address of the workspace owner. */
119
+ owner_email?: string;
120
+ /** @description Avatar URL of the workspace owner. */
121
+ owner_avatar?: string;
122
+ /** @description Metadata associated with the workspace. */
123
+ metadata?: {
124
+ [key: string]: unknown;
125
+ };
156
126
  /**
157
- * Format: date-time
158
- * @description Timestamp when the resource was deleted.
127
+ * Format: uuid
128
+ * @description Organization to which this workspace belongs.
159
129
  */
160
- deleted_at?: string;
161
- };
162
- WorkspacesDesignsMapping: {
163
- /** Format: uuid */
164
- id?: string;
165
- /** Format: uuid */
166
- design_id?: string;
167
- /** Format: uuid */
168
- workspace_id?: string;
130
+ organization_id?: string;
169
131
  /**
170
132
  * Format: date-time
171
133
  * @description Timestamp when the resource was created.
@@ -182,6 +144,7 @@ interface components {
182
144
  */
183
145
  deleted_at?: string;
184
146
  };
147
+ /** @description Payload for creating a workspace. */
185
148
  WorkspacePayload: {
186
149
  /** @description Name of the workspace. */
187
150
  name: string;
@@ -192,7 +155,12 @@ interface components {
192
155
  * @description Organization ID.
193
156
  */
194
157
  organization_id: string;
158
+ /** @description Metadata associated with the workspace. */
159
+ metadata?: {
160
+ [key: string]: unknown;
161
+ };
195
162
  };
163
+ /** @description Payload for updating a workspace. */
196
164
  WorkspaceUpdatePayload: {
197
165
  /** @description Name of the workspace. */
198
166
  name?: string;
@@ -203,26 +171,46 @@ interface components {
203
171
  * @description Organization ID.
204
172
  */
205
173
  organization_id: string;
174
+ /** @description Metadata associated with the workspace. */
175
+ metadata?: {
176
+ [key: string]: unknown;
177
+ };
206
178
  };
179
+ /** @description Paginated list of workspaces. */
207
180
  WorkspacePage: {
208
181
  page?: number;
209
182
  page_size?: number;
210
183
  total_count?: number;
211
- /** @description The workspaces of the workspacepage. */
184
+ /** @description List of workspaces with resolved owner details. */
212
185
  workspaces?: {
213
186
  /** Format: uuid */
214
187
  id?: string;
188
+ /** @description Name of the workspace. */
215
189
  name?: string;
190
+ /** @description Description of the workspace. */
216
191
  description?: string;
192
+ /** @description Name of the owning organization. */
193
+ org_name?: string;
194
+ /** @description Display name of the workspace owner. */
195
+ owner?: string;
217
196
  /**
218
197
  * Format: uuid
219
- * @description Workspace organization ID
198
+ * @description User ID of the workspace owner.
220
199
  */
221
- organization_id?: string;
222
- owner?: string;
200
+ owner_id?: string;
201
+ /** @description Email address of the workspace owner. */
202
+ owner_email?: string;
203
+ /** @description Avatar URL of the workspace owner. */
204
+ owner_avatar?: string;
205
+ /** @description Metadata associated with the workspace. */
223
206
  metadata?: {
224
- [key: string]: string;
207
+ [key: string]: unknown;
225
208
  };
209
+ /**
210
+ * Format: uuid
211
+ * @description Organization to which this workspace belongs.
212
+ */
213
+ organization_id?: string;
226
214
  /**
227
215
  * Format: date-time
228
216
  * @description Timestamp when the resource was created.
@@ -240,18 +228,43 @@ interface components {
240
228
  deleted_at?: string;
241
229
  }[];
242
230
  };
231
+ /** @description Junction record linking a workspace to a team. */
232
+ WorkspacesTeamsMapping: {
233
+ /** Format: uuid */
234
+ id?: string;
235
+ /** Format: uuid */
236
+ workspace_id?: string;
237
+ /** Format: uuid */
238
+ team_id?: string;
239
+ /**
240
+ * Format: date-time
241
+ * @description Timestamp when the resource was created.
242
+ */
243
+ created_at?: string;
244
+ /**
245
+ * Format: date-time
246
+ * @description Timestamp when the resource was updated.
247
+ */
248
+ updated_at?: string;
249
+ /**
250
+ * Format: date-time
251
+ * @description Timestamp when the resource was deleted.
252
+ */
253
+ deleted_at?: string;
254
+ };
255
+ /** @description Paginated list of workspace-team mappings. */
243
256
  WorkspacesTeamsMappingPage: {
244
257
  page?: number;
245
258
  page_size?: number;
246
259
  total_count?: number;
247
- /** @description The workspaces teams mapping of the workspacesteamsmappingpage. */
260
+ /** @description Workspace-team mapping entries. */
248
261
  workspacesTeamsMapping?: {
249
262
  /** Format: uuid */
250
263
  id?: string;
251
264
  /** Format: uuid */
252
- team_id?: string;
253
- /** Format: uuid */
254
265
  workspace_id?: string;
266
+ /** Format: uuid */
267
+ team_id?: string;
255
268
  /**
256
269
  * Format: date-time
257
270
  * @description Timestamp when the resource was created.
@@ -269,18 +282,43 @@ interface components {
269
282
  deleted_at?: string;
270
283
  }[];
271
284
  };
285
+ /** @description Junction record linking a workspace to an environment. */
286
+ WorkspacesEnvironmentsMapping: {
287
+ /** Format: uuid */
288
+ id?: string;
289
+ /** Format: uuid */
290
+ workspace_id?: string;
291
+ /** Format: uuid */
292
+ environment_id?: string;
293
+ /**
294
+ * Format: date-time
295
+ * @description Timestamp when the resource was created.
296
+ */
297
+ created_at?: string;
298
+ /**
299
+ * Format: date-time
300
+ * @description Timestamp when the resource was updated.
301
+ */
302
+ updated_at?: string;
303
+ /**
304
+ * Format: date-time
305
+ * @description Timestamp when the resource was deleted.
306
+ */
307
+ deleted_at?: string;
308
+ };
309
+ /** @description Paginated list of workspace-environment mappings. */
272
310
  WorkspacesEnvironmentsMappingPage: {
273
311
  page?: number;
274
312
  page_size?: number;
275
313
  total_count?: number;
276
- /** @description The workspaces environments mapping of the workspacesenvironmentsmappingpage. */
314
+ /** @description Workspace-environment mapping entries. */
277
315
  workspacesEnvironmentsMapping?: {
278
316
  /** Format: uuid */
279
317
  id?: string;
280
318
  /** Format: uuid */
281
- environment_id?: string;
282
- /** Format: uuid */
283
319
  workspace_id?: string;
320
+ /** Format: uuid */
321
+ environment_id?: string;
284
322
  /**
285
323
  * Format: date-time
286
324
  * @description Timestamp when the resource was created.
@@ -298,18 +336,43 @@ interface components {
298
336
  deleted_at?: string;
299
337
  }[];
300
338
  };
339
+ /** @description Junction record linking a workspace to a design. */
340
+ WorkspacesDesignsMapping: {
341
+ /** Format: uuid */
342
+ id?: string;
343
+ /** Format: uuid */
344
+ workspace_id?: string;
345
+ /** Format: uuid */
346
+ design_id?: string;
347
+ /**
348
+ * Format: date-time
349
+ * @description Timestamp when the resource was created.
350
+ */
351
+ created_at?: string;
352
+ /**
353
+ * Format: date-time
354
+ * @description Timestamp when the resource was updated.
355
+ */
356
+ updated_at?: string;
357
+ /**
358
+ * Format: date-time
359
+ * @description Timestamp when the resource was deleted.
360
+ */
361
+ deleted_at?: string;
362
+ };
363
+ /** @description Paginated list of workspace-design mappings. */
301
364
  WorkspacesDesignsMappingPage: {
302
365
  page?: number;
303
366
  page_size?: number;
304
367
  total_count?: number;
305
- /** @description The workspaces designs mapping of the workspacesdesignsmappingpage. */
368
+ /** @description Workspace-design mapping entries. */
306
369
  workspacesDesignsMapping?: {
307
370
  /** Format: uuid */
308
371
  id?: string;
309
372
  /** Format: uuid */
310
- design_id?: string;
311
- /** Format: uuid */
312
373
  workspace_id?: string;
374
+ /** Format: uuid */
375
+ design_id?: string;
313
376
  /**
314
377
  * Format: date-time
315
378
  * @description Timestamp when the resource was created.
@@ -327,18 +390,43 @@ interface components {
327
390
  deleted_at?: string;
328
391
  }[];
329
392
  };
393
+ /** @description Junction record linking a workspace to a view. */
394
+ WorkspacesViewsMapping: {
395
+ /** Format: uuid */
396
+ id?: string;
397
+ /** Format: uuid */
398
+ workspace_id?: string;
399
+ /** Format: uuid */
400
+ view_id?: string;
401
+ /**
402
+ * Format: date-time
403
+ * @description Timestamp when the resource was created.
404
+ */
405
+ created_at?: string;
406
+ /**
407
+ * Format: date-time
408
+ * @description Timestamp when the resource was updated.
409
+ */
410
+ updated_at?: string;
411
+ /**
412
+ * Format: date-time
413
+ * @description Timestamp when the resource was deleted.
414
+ */
415
+ deleted_at?: string;
416
+ };
417
+ /** @description Paginated list of workspace-view mappings. */
330
418
  WorkspacesViewsMappingPage: {
331
419
  page?: number;
332
420
  page_size?: number;
333
421
  total_count?: number;
334
- /** @description The workspaces views mapping of the workspacesviewsmappingpage. */
422
+ /** @description Workspace-view mapping entries. */
335
423
  workspacesViewsMapping?: {
336
424
  /** Format: uuid */
337
425
  id?: string;
338
426
  /** Format: uuid */
339
- view_id?: string;
340
- /** Format: uuid */
341
427
  workspace_id?: string;
428
+ /** Format: uuid */
429
+ view_id?: string;
342
430
  /**
343
431
  * Format: date-time
344
432
  * @description Timestamp when the resource was created.
@@ -356,11 +444,12 @@ interface components {
356
444
  deleted_at?: string;
357
445
  }[];
358
446
  };
447
+ /** @description Paginated list of designs. */
359
448
  MesheryDesignPage: {
360
449
  page?: number;
361
450
  page_size?: number;
362
451
  total_count?: number;
363
- /** @description The designs of the mesherydesignpage. */
452
+ /** @description Designs in this page. */
364
453
  designs?: {
365
454
  catalogData?: {
366
455
  /** @description Tracks the specific content version that has been made available in the Catalog. */
@@ -1772,18 +1861,41 @@ interface components {
1772
1861
  visibility?: string;
1773
1862
  }[];
1774
1863
  };
1864
+ /** @description A view enriched with the workspace and organization it belongs to. */
1775
1865
  MesheryView: {
1776
1866
  /** Format: uuid */
1777
1867
  id?: string;
1868
+ /** @description Display name of the view. */
1778
1869
  name?: string;
1870
+ /** @description Visibility level of the view. */
1871
+ visibility?: string;
1872
+ /** @description Filter configuration for this view. */
1779
1873
  filters?: {
1780
- [key: string]: string;
1874
+ [key: string]: unknown;
1781
1875
  };
1782
- visibility?: string;
1876
+ /** @description Metadata associated with the view. */
1783
1877
  metadata?: {
1784
- [key: string]: string;
1878
+ [key: string]: unknown;
1785
1879
  };
1880
+ /**
1881
+ * Format: uuid
1882
+ * @description ID of the user who created the view.
1883
+ */
1786
1884
  user_id?: string;
1885
+ /** @description Name of the workspace this view belongs to. */
1886
+ workspace_name?: string;
1887
+ /**
1888
+ * Format: uuid
1889
+ * @description ID of the workspace this view belongs to.
1890
+ */
1891
+ workspace_id: string;
1892
+ /**
1893
+ * Format: uuid
1894
+ * @description ID of the organization this view belongs to.
1895
+ */
1896
+ organization_id: string;
1897
+ /** @description Name of the organization this view belongs to. */
1898
+ organization_name?: string;
1787
1899
  /**
1788
1900
  * Format: date-time
1789
1901
  * @description Timestamp when the resource was created.
@@ -1796,27 +1908,50 @@ interface components {
1796
1908
  updated_at?: string;
1797
1909
  /**
1798
1910
  * Format: date-time
1799
- * @description Timestamp when the resource was deleted.
1911
+ * @description Timestamp when the view was soft deleted. Null while the view remains active.
1800
1912
  */
1801
1913
  deleted_at?: string;
1802
1914
  };
1915
+ /** @description Paginated list of views with location enrichment. */
1803
1916
  MesheryViewPage: {
1804
1917
  page?: number;
1805
1918
  page_size?: number;
1806
1919
  total_count?: number;
1807
- /** @description The views of the mesheryviewpage. */
1920
+ /** @description Views in this page, enriched with workspace and organization context. */
1808
1921
  views?: {
1809
1922
  /** Format: uuid */
1810
1923
  id?: string;
1924
+ /** @description Display name of the view. */
1811
1925
  name?: string;
1926
+ /** @description Visibility level of the view. */
1927
+ visibility?: string;
1928
+ /** @description Filter configuration for this view. */
1812
1929
  filters?: {
1813
- [key: string]: string;
1930
+ [key: string]: unknown;
1814
1931
  };
1815
- visibility?: string;
1932
+ /** @description Metadata associated with the view. */
1816
1933
  metadata?: {
1817
- [key: string]: string;
1934
+ [key: string]: unknown;
1818
1935
  };
1936
+ /**
1937
+ * Format: uuid
1938
+ * @description ID of the user who created the view.
1939
+ */
1819
1940
  user_id?: string;
1941
+ /** @description Name of the workspace this view belongs to. */
1942
+ workspace_name?: string;
1943
+ /**
1944
+ * Format: uuid
1945
+ * @description ID of the workspace this view belongs to.
1946
+ */
1947
+ workspace_id: string;
1948
+ /**
1949
+ * Format: uuid
1950
+ * @description ID of the organization this view belongs to.
1951
+ */
1952
+ organization_id: string;
1953
+ /** @description Name of the organization this view belongs to. */
1954
+ organization_name?: string;
1820
1955
  /**
1821
1956
  * Format: date-time
1822
1957
  * @description Timestamp when the resource was created.
@@ -1829,7 +1964,7 @@ interface components {
1829
1964
  updated_at?: string;
1830
1965
  /**
1831
1966
  * Format: date-time
1832
- * @description Timestamp when the resource was deleted.
1967
+ * @description Timestamp when the view was soft deleted. Null while the view remains active.
1833
1968
  */
1834
1969
  deleted_at?: string;
1835
1970
  }[];
@@ -1903,6 +2038,10 @@ interface components {
1903
2038
  * @description Organization ID.
1904
2039
  */
1905
2040
  organization_id: string;
2041
+ /** @description Metadata associated with the workspace. */
2042
+ metadata?: {
2043
+ [key: string]: unknown;
2044
+ };
1906
2045
  };
1907
2046
  };
1908
2047
  };
@@ -1919,6 +2058,10 @@ interface components {
1919
2058
  * @description Organization ID.
1920
2059
  */
1921
2060
  organization_id: string;
2061
+ /** @description Metadata associated with the workspace. */
2062
+ metadata?: {
2063
+ [key: string]: unknown;
2064
+ };
1922
2065
  };
1923
2066
  };
1924
2067
  };
@@ -1949,21 +2092,36 @@ interface operations {
1949
2092
  page?: number;
1950
2093
  page_size?: number;
1951
2094
  total_count?: number;
1952
- /** @description The workspaces of the workspacepage. */
2095
+ /** @description List of workspaces with resolved owner details. */
1953
2096
  workspaces?: {
1954
2097
  /** Format: uuid */
1955
2098
  id?: string;
2099
+ /** @description Name of the workspace. */
1956
2100
  name?: string;
2101
+ /** @description Description of the workspace. */
1957
2102
  description?: string;
2103
+ /** @description Name of the owning organization. */
2104
+ org_name?: string;
2105
+ /** @description Display name of the workspace owner. */
2106
+ owner?: string;
1958
2107
  /**
1959
2108
  * Format: uuid
1960
- * @description Workspace organization ID
2109
+ * @description User ID of the workspace owner.
1961
2110
  */
1962
- organization_id?: string;
1963
- owner?: string;
2111
+ owner_id?: string;
2112
+ /** @description Email address of the workspace owner. */
2113
+ owner_email?: string;
2114
+ /** @description Avatar URL of the workspace owner. */
2115
+ owner_avatar?: string;
2116
+ /** @description Metadata associated with the workspace. */
1964
2117
  metadata?: {
1965
- [key: string]: string;
2118
+ [key: string]: unknown;
1966
2119
  };
2120
+ /**
2121
+ * Format: uuid
2122
+ * @description Organization to which this workspace belongs.
2123
+ */
2124
+ organization_id?: string;
1967
2125
  /**
1968
2126
  * Format: date-time
1969
2127
  * @description Timestamp when the resource was created.
@@ -2005,28 +2163,35 @@ interface operations {
2005
2163
  content: {
2006
2164
  "application/json": {
2007
2165
  /** Format: uuid */
2008
- id?: string;
2009
- name?: string;
2166
+ id: string;
2167
+ /** @description Name of the workspace. */
2168
+ name: string;
2169
+ /** @description Description of the workspace. */
2010
2170
  description?: string;
2011
2171
  /**
2012
2172
  * Format: uuid
2013
- * @description Workspace organization ID
2173
+ * @description Organization to which this workspace belongs.
2174
+ */
2175
+ organization_id: string;
2176
+ /**
2177
+ * Format: uuid
2178
+ * @description User ID of the workspace owner.
2014
2179
  */
2015
- organization_id?: string;
2016
2180
  owner?: string;
2181
+ /** @description Metadata associated with the workspace. */
2017
2182
  metadata?: {
2018
- [key: string]: string;
2183
+ [key: string]: unknown;
2019
2184
  };
2020
2185
  /**
2021
2186
  * Format: date-time
2022
2187
  * @description Timestamp when the resource was created.
2023
2188
  */
2024
- created_at?: string;
2189
+ created_at: string;
2025
2190
  /**
2026
2191
  * Format: date-time
2027
2192
  * @description Timestamp when the resource was updated.
2028
2193
  */
2029
- updated_at?: string;
2194
+ updated_at: string;
2030
2195
  /**
2031
2196
  * Format: date-time
2032
2197
  * @description Timestamp when the resource was deleted.
@@ -2067,6 +2232,10 @@ interface operations {
2067
2232
  * @description Organization ID.
2068
2233
  */
2069
2234
  organization_id: string;
2235
+ /** @description Metadata associated with the workspace. */
2236
+ metadata?: {
2237
+ [key: string]: unknown;
2238
+ };
2070
2239
  };
2071
2240
  };
2072
2241
  };
@@ -2085,28 +2254,35 @@ interface operations {
2085
2254
  content: {
2086
2255
  "application/json": {
2087
2256
  /** Format: uuid */
2088
- id?: string;
2089
- name?: string;
2257
+ id: string;
2258
+ /** @description Name of the workspace. */
2259
+ name: string;
2260
+ /** @description Description of the workspace. */
2090
2261
  description?: string;
2091
2262
  /**
2092
2263
  * Format: uuid
2093
- * @description Workspace organization ID
2264
+ * @description Organization to which this workspace belongs.
2265
+ */
2266
+ organization_id: string;
2267
+ /**
2268
+ * Format: uuid
2269
+ * @description User ID of the workspace owner.
2094
2270
  */
2095
- organization_id?: string;
2096
2271
  owner?: string;
2272
+ /** @description Metadata associated with the workspace. */
2097
2273
  metadata?: {
2098
- [key: string]: string;
2274
+ [key: string]: unknown;
2099
2275
  };
2100
2276
  /**
2101
2277
  * Format: date-time
2102
2278
  * @description Timestamp when the resource was created.
2103
2279
  */
2104
- created_at?: string;
2280
+ created_at: string;
2105
2281
  /**
2106
2282
  * Format: date-time
2107
2283
  * @description Timestamp when the resource was updated.
2108
2284
  */
2109
- updated_at?: string;
2285
+ updated_at: string;
2110
2286
  /**
2111
2287
  * Format: date-time
2112
2288
  * @description Timestamp when the resource was deleted.
@@ -2155,28 +2331,35 @@ interface operations {
2155
2331
  content: {
2156
2332
  "application/json": {
2157
2333
  /** Format: uuid */
2158
- id?: string;
2159
- name?: string;
2334
+ id: string;
2335
+ /** @description Name of the workspace. */
2336
+ name: string;
2337
+ /** @description Description of the workspace. */
2160
2338
  description?: string;
2161
2339
  /**
2162
2340
  * Format: uuid
2163
- * @description Workspace organization ID
2341
+ * @description Organization to which this workspace belongs.
2342
+ */
2343
+ organization_id: string;
2344
+ /**
2345
+ * Format: uuid
2346
+ * @description User ID of the workspace owner.
2164
2347
  */
2165
- organization_id?: string;
2166
2348
  owner?: string;
2349
+ /** @description Metadata associated with the workspace. */
2167
2350
  metadata?: {
2168
- [key: string]: string;
2351
+ [key: string]: unknown;
2169
2352
  };
2170
2353
  /**
2171
2354
  * Format: date-time
2172
2355
  * @description Timestamp when the resource was created.
2173
2356
  */
2174
- created_at?: string;
2357
+ created_at: string;
2175
2358
  /**
2176
2359
  * Format: date-time
2177
2360
  * @description Timestamp when the resource was updated.
2178
2361
  */
2179
- updated_at?: string;
2362
+ updated_at: string;
2180
2363
  /**
2181
2364
  * Format: date-time
2182
2365
  * @description Timestamp when the resource was deleted.
@@ -2223,6 +2406,10 @@ interface operations {
2223
2406
  * @description Organization ID.
2224
2407
  */
2225
2408
  organization_id: string;
2409
+ /** @description Metadata associated with the workspace. */
2410
+ metadata?: {
2411
+ [key: string]: unknown;
2412
+ };
2226
2413
  };
2227
2414
  };
2228
2415
  };
@@ -2369,14 +2556,14 @@ interface operations {
2369
2556
  page?: number;
2370
2557
  page_size?: number;
2371
2558
  total_count?: number;
2372
- /** @description The workspaces teams mapping of the workspacesteamsmappingpage. */
2559
+ /** @description Workspace-team mapping entries. */
2373
2560
  workspacesTeamsMapping?: {
2374
2561
  /** Format: uuid */
2375
2562
  id?: string;
2376
2563
  /** Format: uuid */
2377
- team_id?: string;
2378
- /** Format: uuid */
2379
2564
  workspace_id?: string;
2565
+ /** Format: uuid */
2566
+ team_id?: string;
2380
2567
  /**
2381
2568
  * Format: date-time
2382
2569
  * @description Timestamp when the resource was created.
@@ -2590,14 +2777,14 @@ interface operations {
2590
2777
  page?: number;
2591
2778
  page_size?: number;
2592
2779
  total_count?: number;
2593
- /** @description The workspaces environments mapping of the workspacesenvironmentsmappingpage. */
2780
+ /** @description Workspace-environment mapping entries. */
2594
2781
  workspacesEnvironmentsMapping?: {
2595
2782
  /** Format: uuid */
2596
2783
  id?: string;
2597
2784
  /** Format: uuid */
2598
- environment_id?: string;
2599
- /** Format: uuid */
2600
2785
  workspace_id?: string;
2786
+ /** Format: uuid */
2787
+ environment_id?: string;
2601
2788
  /**
2602
2789
  * Format: date-time
2603
2790
  * @description Timestamp when the resource was created.
@@ -2710,7 +2897,7 @@ interface operations {
2710
2897
  page?: number;
2711
2898
  page_size?: number;
2712
2899
  total_count?: number;
2713
- /** @description The designs of the mesherydesignpage. */
2900
+ /** @description Designs in this page. */
2714
2901
  designs?: {
2715
2902
  catalogData?: {
2716
2903
  /** @description Tracks the specific content version that has been made available in the Catalog. */
@@ -4168,14 +4355,14 @@ interface operations {
4168
4355
  page?: number;
4169
4356
  page_size?: number;
4170
4357
  total_count?: number;
4171
- /** @description The workspaces designs mapping of the workspacesdesignsmappingpage. */
4358
+ /** @description Workspace-design mapping entries. */
4172
4359
  workspacesDesignsMapping?: {
4173
4360
  /** Format: uuid */
4174
4361
  id?: string;
4175
4362
  /** Format: uuid */
4176
- design_id?: string;
4177
- /** Format: uuid */
4178
4363
  workspace_id?: string;
4364
+ /** Format: uuid */
4365
+ design_id?: string;
4179
4366
  /**
4180
4367
  * Format: date-time
4181
4368
  * @description Timestamp when the resource was created.
@@ -4288,19 +4475,41 @@ interface operations {
4288
4475
  page?: number;
4289
4476
  page_size?: number;
4290
4477
  total_count?: number;
4291
- /** @description The views of the mesheryviewpage. */
4478
+ /** @description Views in this page, enriched with workspace and organization context. */
4292
4479
  views?: {
4293
4480
  /** Format: uuid */
4294
4481
  id?: string;
4482
+ /** @description Display name of the view. */
4295
4483
  name?: string;
4484
+ /** @description Visibility level of the view. */
4485
+ visibility?: string;
4486
+ /** @description Filter configuration for this view. */
4296
4487
  filters?: {
4297
- [key: string]: string;
4488
+ [key: string]: unknown;
4298
4489
  };
4299
- visibility?: string;
4490
+ /** @description Metadata associated with the view. */
4300
4491
  metadata?: {
4301
- [key: string]: string;
4492
+ [key: string]: unknown;
4302
4493
  };
4494
+ /**
4495
+ * Format: uuid
4496
+ * @description ID of the user who created the view.
4497
+ */
4303
4498
  user_id?: string;
4499
+ /** @description Name of the workspace this view belongs to. */
4500
+ workspace_name?: string;
4501
+ /**
4502
+ * Format: uuid
4503
+ * @description ID of the workspace this view belongs to.
4504
+ */
4505
+ workspace_id: string;
4506
+ /**
4507
+ * Format: uuid
4508
+ * @description ID of the organization this view belongs to.
4509
+ */
4510
+ organization_id: string;
4511
+ /** @description Name of the organization this view belongs to. */
4512
+ organization_name?: string;
4304
4513
  /**
4305
4514
  * Format: date-time
4306
4515
  * @description Timestamp when the resource was created.
@@ -4313,7 +4522,7 @@ interface operations {
4313
4522
  updated_at?: string;
4314
4523
  /**
4315
4524
  * Format: date-time
4316
- * @description Timestamp when the resource was deleted.
4525
+ * @description Timestamp when the view was soft deleted. Null while the view remains active.
4317
4526
  */
4318
4527
  deleted_at?: string;
4319
4528
  }[];
@@ -4364,14 +4573,14 @@ interface operations {
4364
4573
  page?: number;
4365
4574
  page_size?: number;
4366
4575
  total_count?: number;
4367
- /** @description The workspaces views mapping of the workspacesviewsmappingpage. */
4576
+ /** @description Workspace-view mapping entries. */
4368
4577
  workspacesViewsMapping?: {
4369
4578
  /** Format: uuid */
4370
4579
  id?: string;
4371
4580
  /** Format: uuid */
4372
- view_id?: string;
4373
- /** Format: uuid */
4374
4581
  workspace_id?: string;
4582
+ /** Format: uuid */
4583
+ view_id?: string;
4375
4584
  /**
4376
4585
  * Format: date-time
4377
4586
  * @description Timestamp when the resource was created.