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