@meshery/schemas 0.8.135 → 0.9.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 (48) hide show
  1. package/README.md +2 -2
  2. package/dist/cloudApi.d.mts +16943 -8042
  3. package/dist/cloudApi.d.ts +16943 -8042
  4. package/dist/cloudApi.js +1 -1
  5. package/dist/cloudApi.mjs +1 -1
  6. package/dist/constructs/v1beta1/badge/Badge.d.mts +201 -0
  7. package/dist/constructs/v1beta1/badge/Badge.d.ts +201 -0
  8. package/dist/constructs/v1beta1/badge/BadgeSchema.js +1 -1
  9. package/dist/constructs/v1beta1/badge/BadgeSchema.mjs +1 -1
  10. package/dist/constructs/v1beta1/environment/Environment.d.mts +366 -0
  11. package/dist/constructs/v1beta1/environment/Environment.d.ts +366 -0
  12. package/dist/constructs/v1beta1/environment/EnvironmentSchema.js +1 -1
  13. package/dist/constructs/v1beta1/environment/EnvironmentSchema.mjs +1 -1
  14. package/dist/constructs/v1beta1/event/Event.d.mts +175 -0
  15. package/dist/constructs/v1beta1/event/Event.d.ts +175 -0
  16. package/dist/constructs/v1beta1/event/EventSchema.js +1 -1
  17. package/dist/constructs/v1beta1/event/EventSchema.mjs +1 -1
  18. package/dist/constructs/v1beta1/invitation/Invitation.d.mts +166 -0
  19. package/dist/constructs/v1beta1/invitation/Invitation.d.ts +166 -0
  20. package/dist/constructs/v1beta1/invitation/InvitationSchema.js +1 -1
  21. package/dist/constructs/v1beta1/invitation/InvitationSchema.mjs +1 -1
  22. package/dist/constructs/v1beta1/model/Model.d.mts +38 -0
  23. package/dist/constructs/v1beta1/model/Model.d.ts +38 -0
  24. package/dist/constructs/v1beta1/model/ModelSchema.js +2 -2
  25. package/dist/constructs/v1beta1/model/ModelSchema.mjs +2 -2
  26. package/dist/constructs/v1beta1/organization/Organization.d.mts +48 -0
  27. package/dist/constructs/v1beta1/organization/Organization.d.ts +48 -0
  28. package/dist/constructs/v1beta1/organization/OrganizationSchema.js +1 -1
  29. package/dist/constructs/v1beta1/organization/OrganizationSchema.mjs +1 -1
  30. package/dist/constructs/v1beta1/pattern/Pattern.d.mts +6114 -2637
  31. package/dist/constructs/v1beta1/pattern/Pattern.d.ts +6114 -2637
  32. package/dist/constructs/v1beta1/pattern/PatternSchema.js +99 -3
  33. package/dist/constructs/v1beta1/pattern/PatternSchema.mjs +99 -3
  34. package/dist/constructs/v1beta1/team/Team.d.mts +68 -9
  35. package/dist/constructs/v1beta1/team/Team.d.ts +68 -9
  36. package/dist/constructs/v1beta1/team/TeamSchema.js +1 -1
  37. package/dist/constructs/v1beta1/team/TeamSchema.mjs +1 -1
  38. package/dist/constructs/v1beta1/user/User.d.mts +395 -0
  39. package/dist/constructs/v1beta1/user/User.d.ts +395 -0
  40. package/dist/constructs/v1beta1/user/UserSchema.js +1 -1
  41. package/dist/constructs/v1beta1/user/UserSchema.mjs +1 -1
  42. package/dist/index.js +102 -6
  43. package/dist/index.mjs +102 -6
  44. package/dist/mesheryApi.d.mts +4575 -1598
  45. package/dist/mesheryApi.d.ts +4575 -1598
  46. package/dist/mesheryApi.js +1 -1
  47. package/dist/mesheryApi.mjs +1 -1
  48. package/package.json +1 -1
@@ -17,6 +17,31 @@ interface paths {
17
17
  "/api/identity/users/profile": {
18
18
  get: operations["getUser"];
19
19
  };
20
+ "/api/identity/users/preferences": {
21
+ put: operations["updateUserPreference"];
22
+ };
23
+ "/api/identity/users/self": {
24
+ delete: operations["deleteOwnAccount"];
25
+ };
26
+ "/api/identity/orgs/{orgId}/users/bulk": {
27
+ post: operations["bulkDeleteUsers"];
28
+ };
29
+ "/api/identity/users/profile/details": {
30
+ get: operations["getProfileOverview"];
31
+ };
32
+ "/api/identity/users/{userId}/profile/activity": {
33
+ get: operations["getUserActivity"];
34
+ };
35
+ "/api/identity/users/notify/feedback": {
36
+ post: operations["handleFeedbackFormSubmission"];
37
+ };
38
+ "/api/identity/users/password": {
39
+ post: operations["updateUsersPassword"];
40
+ };
41
+ "/api/identity/users/notifications/preferences": {
42
+ get: operations["getAvailableNotificationPreferences"];
43
+ put: operations["updateNotificationPreferences"];
44
+ };
20
45
  }
21
46
  interface components {
22
47
  schemas: {
@@ -664,6 +689,40 @@ interface components {
664
689
  /** Format: uri */
665
690
  link: string;
666
691
  };
692
+ AccountOverview: {
693
+ [key: string]: unknown;
694
+ };
695
+ RecentActivity: {
696
+ [key: string]: unknown;
697
+ };
698
+ RecentActivityPage: {
699
+ page?: number;
700
+ page_size?: number;
701
+ total_count?: number;
702
+ data?: {
703
+ [key: string]: unknown;
704
+ }[];
705
+ };
706
+ AvailableNotificationPreference: {
707
+ category?: string;
708
+ subcategory?: string;
709
+ label?: string;
710
+ name?: string;
711
+ } & {
712
+ [key: string]: unknown;
713
+ };
714
+ AvailableNotificationPreferences: {
715
+ notification_preferences?: {
716
+ [key: string]: {
717
+ category?: string;
718
+ subcategory?: string;
719
+ label?: string;
720
+ name?: string;
721
+ } & {
722
+ [key: string]: unknown;
723
+ };
724
+ };
725
+ };
667
726
  };
668
727
  responses: {
669
728
  /** Invalid request body or request param */
@@ -709,6 +768,43 @@ interface components {
709
768
  /** @description Optional team filter when listing organization users */
710
769
  teamID: string;
711
770
  };
771
+ requestBodies: {
772
+ userPreferencePayload: {
773
+ content: {
774
+ "application/json": {
775
+ [key: string]: unknown;
776
+ };
777
+ };
778
+ };
779
+ bulkDeleteUsersPayload: {
780
+ content: {
781
+ "application/json": {
782
+ [key: string]: unknown;
783
+ };
784
+ };
785
+ };
786
+ userFeedbackPayload: {
787
+ content: {
788
+ "application/json": {
789
+ [key: string]: unknown;
790
+ };
791
+ };
792
+ };
793
+ updatePasswordPayload: {
794
+ content: {
795
+ "application/json": {
796
+ password?: string;
797
+ };
798
+ };
799
+ };
800
+ notificationPreferencePayload: {
801
+ content: {
802
+ "application/json": {
803
+ [key: string]: unknown;
804
+ };
805
+ };
806
+ };
807
+ };
712
808
  }
713
809
  interface operations {
714
810
  /** Returns organization users, optionally filtered by team membership. */
@@ -1535,6 +1631,305 @@ interface operations {
1535
1631
  };
1536
1632
  };
1537
1633
  };
1634
+ updateUserPreference: {
1635
+ responses: {
1636
+ /** Preferences updated */
1637
+ 201: {
1638
+ content: {
1639
+ "application/json": {
1640
+ [key: string]: unknown;
1641
+ };
1642
+ };
1643
+ };
1644
+ /** Expired JWT token used or insufficient privilege */
1645
+ 401: {
1646
+ content: {
1647
+ "text/plain": string;
1648
+ };
1649
+ };
1650
+ /** Internal server error */
1651
+ 500: {
1652
+ content: {
1653
+ "text/plain": string;
1654
+ };
1655
+ };
1656
+ };
1657
+ requestBody: {
1658
+ content: {
1659
+ "application/json": {
1660
+ [key: string]: unknown;
1661
+ };
1662
+ };
1663
+ };
1664
+ };
1665
+ deleteOwnAccount: {
1666
+ responses: {
1667
+ /** Account deleted */
1668
+ 201: {
1669
+ content: {
1670
+ "application/json": {
1671
+ [key: string]: unknown;
1672
+ };
1673
+ };
1674
+ };
1675
+ /** Invalid request body or request param */
1676
+ 400: {
1677
+ content: {
1678
+ "text/plain": string;
1679
+ };
1680
+ };
1681
+ /** Expired JWT token used or insufficient privilege */
1682
+ 401: {
1683
+ content: {
1684
+ "text/plain": string;
1685
+ };
1686
+ };
1687
+ /** Internal server error */
1688
+ 500: {
1689
+ content: {
1690
+ "text/plain": string;
1691
+ };
1692
+ };
1693
+ };
1694
+ };
1695
+ bulkDeleteUsers: {
1696
+ parameters: {
1697
+ path: {
1698
+ /** Organization ID */
1699
+ orgId: string;
1700
+ };
1701
+ };
1702
+ responses: {
1703
+ /** Users deleted */
1704
+ 201: {
1705
+ content: {
1706
+ "application/json": {
1707
+ [key: string]: unknown;
1708
+ };
1709
+ };
1710
+ };
1711
+ /** Invalid request body or request param */
1712
+ 400: {
1713
+ content: {
1714
+ "text/plain": string;
1715
+ };
1716
+ };
1717
+ /** Expired JWT token used or insufficient privilege */
1718
+ 401: {
1719
+ content: {
1720
+ "text/plain": string;
1721
+ };
1722
+ };
1723
+ /** Internal server error */
1724
+ 500: {
1725
+ content: {
1726
+ "text/plain": string;
1727
+ };
1728
+ };
1729
+ };
1730
+ requestBody: {
1731
+ content: {
1732
+ "application/json": {
1733
+ [key: string]: unknown;
1734
+ };
1735
+ };
1736
+ };
1737
+ };
1738
+ getProfileOverview: {
1739
+ responses: {
1740
+ /** User account overview */
1741
+ 200: {
1742
+ content: {
1743
+ "application/json": {
1744
+ [key: string]: unknown;
1745
+ };
1746
+ };
1747
+ };
1748
+ /** Expired JWT token used or insufficient privilege */
1749
+ 401: {
1750
+ content: {
1751
+ "text/plain": string;
1752
+ };
1753
+ };
1754
+ /** Internal server error */
1755
+ 500: {
1756
+ content: {
1757
+ "text/plain": string;
1758
+ };
1759
+ };
1760
+ };
1761
+ };
1762
+ getUserActivity: {
1763
+ parameters: {
1764
+ path: {
1765
+ /** User ID */
1766
+ userId: string;
1767
+ };
1768
+ query: {
1769
+ /** Get responses by page */
1770
+ page?: string;
1771
+ /** Get responses by pagesize */
1772
+ pagesize?: string;
1773
+ /** Get ordered responses */
1774
+ order?: string;
1775
+ /** Get filtered reponses */
1776
+ filter?: string;
1777
+ };
1778
+ };
1779
+ responses: {
1780
+ /** User recent activity */
1781
+ 200: {
1782
+ content: {
1783
+ "application/json": {
1784
+ page?: number;
1785
+ page_size?: number;
1786
+ total_count?: number;
1787
+ data?: {
1788
+ [key: string]: unknown;
1789
+ }[];
1790
+ };
1791
+ };
1792
+ };
1793
+ /** Internal server error */
1794
+ 500: {
1795
+ content: {
1796
+ "text/plain": string;
1797
+ };
1798
+ };
1799
+ };
1800
+ };
1801
+ handleFeedbackFormSubmission: {
1802
+ responses: {
1803
+ /** Feedback submitted */
1804
+ 201: {
1805
+ content: {
1806
+ "application/json": {
1807
+ [key: string]: unknown;
1808
+ };
1809
+ };
1810
+ };
1811
+ /** Invalid request body or request param */
1812
+ 400: {
1813
+ content: {
1814
+ "text/plain": string;
1815
+ };
1816
+ };
1817
+ /** Expired JWT token used or insufficient privilege */
1818
+ 401: {
1819
+ content: {
1820
+ "text/plain": string;
1821
+ };
1822
+ };
1823
+ /** Internal server error */
1824
+ 500: {
1825
+ content: {
1826
+ "text/plain": string;
1827
+ };
1828
+ };
1829
+ };
1830
+ requestBody: {
1831
+ content: {
1832
+ "application/json": {
1833
+ [key: string]: unknown;
1834
+ };
1835
+ };
1836
+ };
1837
+ };
1838
+ updateUsersPassword: {
1839
+ responses: {
1840
+ /** Password updated */
1841
+ 200: {
1842
+ content: {
1843
+ "application/json": {
1844
+ [key: string]: unknown;
1845
+ };
1846
+ };
1847
+ };
1848
+ /** Expired JWT token used or insufficient privilege */
1849
+ 401: {
1850
+ content: {
1851
+ "text/plain": string;
1852
+ };
1853
+ };
1854
+ /** Internal server error */
1855
+ 500: {
1856
+ content: {
1857
+ "text/plain": string;
1858
+ };
1859
+ };
1860
+ };
1861
+ requestBody: {
1862
+ content: {
1863
+ "application/json": {
1864
+ password?: string;
1865
+ };
1866
+ };
1867
+ };
1868
+ };
1869
+ getAvailableNotificationPreferences: {
1870
+ responses: {
1871
+ /** Available notification preferences */
1872
+ 200: {
1873
+ content: {
1874
+ "application/json": {
1875
+ notification_preferences?: {
1876
+ [key: string]: {
1877
+ category?: string;
1878
+ subcategory?: string;
1879
+ label?: string;
1880
+ name?: string;
1881
+ } & {
1882
+ [key: string]: unknown;
1883
+ };
1884
+ };
1885
+ };
1886
+ };
1887
+ };
1888
+ /** Expired JWT token used or insufficient privilege */
1889
+ 401: {
1890
+ content: {
1891
+ "text/plain": string;
1892
+ };
1893
+ };
1894
+ /** Internal server error */
1895
+ 500: {
1896
+ content: {
1897
+ "text/plain": string;
1898
+ };
1899
+ };
1900
+ };
1901
+ };
1902
+ updateNotificationPreferences: {
1903
+ responses: {
1904
+ /** Notification preferences updated */
1905
+ 200: {
1906
+ content: {
1907
+ "application/json": {
1908
+ [key: string]: unknown;
1909
+ };
1910
+ };
1911
+ };
1912
+ /** Invalid request body or request param */
1913
+ 400: {
1914
+ content: {
1915
+ "text/plain": string;
1916
+ };
1917
+ };
1918
+ /** Internal server error */
1919
+ 500: {
1920
+ content: {
1921
+ "text/plain": string;
1922
+ };
1923
+ };
1924
+ };
1925
+ requestBody: {
1926
+ content: {
1927
+ "application/json": {
1928
+ [key: string]: unknown;
1929
+ };
1930
+ };
1931
+ };
1932
+ };
1538
1933
  }
1539
1934
  interface external {
1540
1935
  }