@meshery/schemas 1.3.116 → 1.3.118

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 (66) hide show
  1. package/README.md +10 -0
  2. package/dist/api.d.mts +9 -1
  3. package/dist/api.d.ts +9 -1
  4. package/dist/api.js +2 -2
  5. package/dist/api.mjs +2 -2
  6. package/dist/cloudApi.d.mts +739 -20
  7. package/dist/cloudApi.d.ts +739 -20
  8. package/dist/cloudApi.js +1 -1
  9. package/dist/cloudApi.mjs +1 -1
  10. package/dist/constructs/v1alpha1/controllers_config/ControllersConfig.d.ts +37 -1392
  11. package/dist/constructs/v1alpha1/controllers_config/ControllersConfigSchema.js +1 -1
  12. package/dist/constructs/v1alpha1/controllers_config/ControllersConfigSchema.mjs +1 -1
  13. package/dist/constructs/v1beta1/component/ComponentSchema.js +1 -1
  14. package/dist/constructs/v1beta1/component/ComponentSchema.mjs +1 -1
  15. package/dist/constructs/v1beta1/evaluation/EvaluationSchema.js +4 -4
  16. package/dist/constructs/v1beta1/evaluation/EvaluationSchema.mjs +4 -4
  17. package/dist/constructs/v1beta1/model/ModelSchema.js +3 -3
  18. package/dist/constructs/v1beta1/model/ModelSchema.mjs +3 -3
  19. package/dist/constructs/v1beta1/pattern/PatternSchema.js +12 -12
  20. package/dist/constructs/v1beta1/pattern/PatternSchema.mjs +12 -12
  21. package/dist/constructs/v1beta1/registry/RegistrySchema.js +18 -18
  22. package/dist/constructs/v1beta1/registry/RegistrySchema.mjs +18 -18
  23. package/dist/constructs/v1beta1/user/User.d.ts +9 -0
  24. package/dist/constructs/v1beta1/user/UserSchema.js +1 -1
  25. package/dist/constructs/v1beta1/user/UserSchema.mjs +1 -1
  26. package/dist/constructs/v1beta1/workspace/WorkspaceSchema.js +2 -2
  27. package/dist/constructs/v1beta1/workspace/WorkspaceSchema.mjs +2 -2
  28. package/dist/constructs/v1beta2/component/ComponentSchema.js +1 -1
  29. package/dist/constructs/v1beta2/component/ComponentSchema.mjs +1 -1
  30. package/dist/constructs/v1beta2/design/DesignSchema.js +12 -12
  31. package/dist/constructs/v1beta2/design/DesignSchema.mjs +12 -12
  32. package/dist/constructs/v1beta2/model/ModelSchema.js +3 -3
  33. package/dist/constructs/v1beta2/model/ModelSchema.mjs +3 -3
  34. package/dist/constructs/v1beta2/user/User.d.ts +28 -1
  35. package/dist/constructs/v1beta2/user/UserSchema.js +1 -1
  36. package/dist/constructs/v1beta2/user/UserSchema.mjs +1 -1
  37. package/dist/constructs/v1beta2/view/View.d.ts +226 -22
  38. package/dist/constructs/v1beta2/view/ViewSchema.js +4 -4
  39. package/dist/constructs/v1beta2/view/ViewSchema.mjs +4 -4
  40. package/dist/constructs/v1beta3/component/ComponentSchema.js +1 -1
  41. package/dist/constructs/v1beta3/component/ComponentSchema.mjs +1 -1
  42. package/dist/constructs/v1beta3/connection/Connection.d.ts +17 -5
  43. package/dist/constructs/v1beta3/connection/ConnectionSchema.js +3 -3
  44. package/dist/constructs/v1beta3/connection/ConnectionSchema.mjs +3 -3
  45. package/dist/constructs/v1beta3/content_item/ContentItem.d.ts +2 -2
  46. package/dist/constructs/v1beta3/content_item/ContentItemSchema.js +11 -11
  47. package/dist/constructs/v1beta3/content_item/ContentItemSchema.mjs +11 -11
  48. package/dist/constructs/v1beta3/design/DesignSchema.js +1 -1
  49. package/dist/constructs/v1beta3/design/DesignSchema.mjs +1 -1
  50. package/dist/constructs/v1beta3/event/Event.d.ts +111 -10
  51. package/dist/constructs/v1beta3/event/EventSchema.js +7 -3
  52. package/dist/constructs/v1beta3/event/EventSchema.mjs +7 -3
  53. package/dist/constructs/v1beta3/schedule/Schedule.d.ts +390 -1
  54. package/dist/constructs/v1beta3/schedule/ScheduleSchema.js +35 -15
  55. package/dist/constructs/v1beta3/schedule/ScheduleSchema.mjs +35 -15
  56. package/dist/constructs/v1beta3/workspace/WorkspaceSchema.js +2 -2
  57. package/dist/constructs/v1beta3/workspace/WorkspaceSchema.mjs +2 -2
  58. package/dist/index.d.mts +13 -7
  59. package/dist/index.d.ts +13 -7
  60. package/dist/index.js +31 -31
  61. package/dist/index.mjs +31 -31
  62. package/dist/mesheryApi.d.mts +466 -833
  63. package/dist/mesheryApi.d.ts +466 -833
  64. package/dist/mesheryApi.js +1 -1
  65. package/dist/mesheryApi.mjs +1 -1
  66. package/package.json +2 -2
@@ -38,6 +38,26 @@ export interface paths {
38
38
  patch?: never;
39
39
  trace?: never;
40
40
  };
41
+ "/api/events/mark-all-read": {
42
+ parameters: {
43
+ query?: never;
44
+ header?: never;
45
+ path?: never;
46
+ cookie?: never;
47
+ };
48
+ get?: never;
49
+ put?: never;
50
+ /**
51
+ * Mark all events as read
52
+ * @description Marks every unread event owned by the authenticated caller as read. System-owned events are not changed. The caller is determined from the authenticated session; clients do not send a user ID.
53
+ */
54
+ post: operations["markAllEventsRead"];
55
+ delete?: never;
56
+ options?: never;
57
+ head?: never;
58
+ patch?: never;
59
+ trace?: never;
60
+ };
41
61
  "/api/events/status": {
42
62
  parameters: {
43
63
  query?: never;
@@ -283,6 +303,11 @@ export interface components {
283
303
  /** @description Updated status of the event. */
284
304
  status?: string;
285
305
  };
306
+ /** @description Response returned after marking the caller's unread events as read. */
307
+ MarkAllEventsReadResponse: {
308
+ /** @description Human-readable status message. */
309
+ message: string;
310
+ };
286
311
  /** @description Payload for bulk-deleting events by ID. */
287
312
  BulkDeleteRequest: {
288
313
  /** @description UUIDs of the events to delete. */
@@ -669,7 +694,8 @@ export interface components {
669
694
  * `platform`, `role`, `line` and `networks` are projected from
670
695
  * ScheduleCompletedEventMetadata; events without valid required
671
696
  * metadata are skipped. Public profile fields are resolved by Cloud at
672
- * read time and are included only when the user's profile is public.
697
+ * read time for every served owner (live, active, and
698
+ * shareActivityPublicly on).
673
699
  */
674
700
  EventFeedItem: {
675
701
  /**
@@ -708,14 +734,14 @@ export interface components {
708
734
  line: string;
709
735
  /** @description Networks from ScheduleCompletedEventMetadata, when present. */
710
736
  networks?: string[];
711
- /** @description Public username, never a real name; present only for a public profile. */
737
+ /** @description The same value PublicUser.username carries for the owner. Never email. Resolved for every served owner; omitted when empty. */
712
738
  displayName?: string;
713
739
  /**
714
740
  * Format: uri
715
- * @description Public avatar URL; present only for a public profile.
741
+ * @description Public avatar URL; resolved for every served owner, omitted when empty.
716
742
  */
717
743
  avatarUrl?: string;
718
- /** @description Public organization name; present only for a public profile. */
744
+ /** @description Public organization name; omitted when organization memberships are not public to an anonymous caller. */
719
745
  organizationName?: string;
720
746
  /**
721
747
  * Format: uri
@@ -769,14 +795,14 @@ export interface components {
769
795
  line: string;
770
796
  /** @description Networks from ScheduleCompletedEventMetadata, when present. */
771
797
  networks?: string[];
772
- /** @description Public username, never a real name; present only for a public profile. */
798
+ /** @description The same value PublicUser.username carries for the owner. Never email. Resolved for every served owner; omitted when empty. */
773
799
  displayName?: string;
774
800
  /**
775
801
  * Format: uri
776
- * @description Public avatar URL; present only for a public profile.
802
+ * @description Public avatar URL; resolved for every served owner, omitted when empty.
777
803
  */
778
804
  avatarUrl?: string;
779
- /** @description Public organization name; present only for a public profile. */
805
+ /** @description Public organization name; omitted when organization memberships are not public to an anonymous caller. */
780
806
  organizationName?: string;
781
807
  /**
782
808
  * Format: uri
@@ -1341,6 +1367,81 @@ export interface operations {
1341
1367
  };
1342
1368
  };
1343
1369
  };
1370
+ markAllEventsRead: {
1371
+ parameters: {
1372
+ query?: never;
1373
+ header?: never;
1374
+ path?: never;
1375
+ cookie?: never;
1376
+ };
1377
+ requestBody?: never;
1378
+ responses: {
1379
+ /** @description All of the caller's unread events were marked as read */
1380
+ 200: {
1381
+ headers: {
1382
+ [name: string]: unknown;
1383
+ };
1384
+ content: {
1385
+ "application/json": {
1386
+ /** @description Human-readable status message. */
1387
+ message: string;
1388
+ };
1389
+ };
1390
+ };
1391
+ /** @description Invalid request body or request param */
1392
+ 400: {
1393
+ headers: {
1394
+ [name: string]: unknown;
1395
+ };
1396
+ content: {
1397
+ "text/plain": string;
1398
+ };
1399
+ };
1400
+ /** @description Expired JWT token used or insufficient privilege */
1401
+ 401: {
1402
+ headers: {
1403
+ [name: string]: unknown;
1404
+ };
1405
+ content: {
1406
+ "text/plain": string;
1407
+ };
1408
+ };
1409
+ /** @description Too many requests - the caller exceeded the server's per-user request rate for this route family. Wait the number of seconds in `Retry-After` before retrying. */
1410
+ 429: {
1411
+ headers: {
1412
+ /** @description Number of seconds the caller must wait before retrying. */
1413
+ "Retry-After": number;
1414
+ [name: string]: unknown;
1415
+ };
1416
+ content: {
1417
+ "application/json": {
1418
+ /** @description The sentence the caller is shown. */
1419
+ error: string;
1420
+ /** @description MeshKit error code, a component-scoped identifier allocated by the emitting service (e.g. `<component>-<number>`); it is not a stable part of this contract. Omitted for an error that is not a MeshKit error. */
1421
+ code?: string;
1422
+ /**
1423
+ * @description MeshKit severity name. Omitted when MeshKit reports none.
1424
+ * @enum {string}
1425
+ */
1426
+ severity?: "emergency" | "alert" | "critical" | "fatal";
1427
+ /** @description MeshKit's probable causes of the error. */
1428
+ probableCause?: string[];
1429
+ /** @description MeshKit's suggested remediations for the error. */
1430
+ suggestedRemediation?: string[];
1431
+ };
1432
+ };
1433
+ };
1434
+ /** @description Internal server error */
1435
+ 500: {
1436
+ headers: {
1437
+ [name: string]: unknown;
1438
+ };
1439
+ content: {
1440
+ "text/plain": string;
1441
+ };
1442
+ };
1443
+ };
1444
+ };
1344
1445
  bulkUpdateEventStatus: {
1345
1446
  parameters: {
1346
1447
  query?: never;
@@ -2495,14 +2596,14 @@ export interface operations {
2495
2596
  line: string;
2496
2597
  /** @description Networks from ScheduleCompletedEventMetadata, when present. */
2497
2598
  networks?: string[];
2498
- /** @description Public username, never a real name; present only for a public profile. */
2599
+ /** @description The same value PublicUser.username carries for the owner. Never email. Resolved for every served owner; omitted when empty. */
2499
2600
  displayName?: string;
2500
2601
  /**
2501
2602
  * Format: uri
2502
- * @description Public avatar URL; present only for a public profile.
2603
+ * @description Public avatar URL; resolved for every served owner, omitted when empty.
2503
2604
  */
2504
2605
  avatarUrl?: string;
2505
- /** @description Public organization name; present only for a public profile. */
2606
+ /** @description Public organization name; omitted when organization memberships are not public to an anonymous caller. */
2506
2607
  organizationName?: string;
2507
2608
  /**
2508
2609
  * Format: uri