@meshery/schemas 1.3.30 → 1.3.32

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 (83) hide show
  1. package/dist/cloudApi.d.mts +4319 -3658
  2. package/dist/cloudApi.d.ts +4319 -3658
  3. package/dist/cloudApi.js +1 -1
  4. package/dist/cloudApi.mjs +1 -1
  5. package/dist/constructs/v1beta1/system/System.d.ts +764 -14
  6. package/dist/constructs/v1beta1/system/SystemSchema.js +1 -1
  7. package/dist/constructs/v1beta1/system/SystemSchema.mjs +1 -1
  8. package/dist/constructs/v1beta2/academy/AcademySchema.js +1 -1
  9. package/dist/constructs/v1beta2/academy/AcademySchema.mjs +1 -1
  10. package/dist/constructs/v1beta2/connection/Connection.d.ts +6 -6
  11. package/dist/constructs/v1beta2/connection/ConnectionSchema.js +1 -1
  12. package/dist/constructs/v1beta2/connection/ConnectionSchema.mjs +1 -1
  13. package/dist/constructs/v1beta2/core/Core.d.ts +1 -1
  14. package/dist/constructs/v1beta2/core/CoreSchema.js +1 -1
  15. package/dist/constructs/v1beta2/core/CoreSchema.mjs +1 -1
  16. package/dist/constructs/v1beta2/credential/CredentialSchema.js +2 -2
  17. package/dist/constructs/v1beta2/credential/CredentialSchema.mjs +2 -2
  18. package/dist/constructs/v1beta2/design/DesignSchema.js +5 -5
  19. package/dist/constructs/v1beta2/design/DesignSchema.mjs +5 -5
  20. package/dist/constructs/v1beta2/event/EventSchema.js +1 -1
  21. package/dist/constructs/v1beta2/event/EventSchema.mjs +1 -1
  22. package/dist/constructs/v1beta2/invitation/InvitationSchema.js +1 -1
  23. package/dist/constructs/v1beta2/invitation/InvitationSchema.mjs +1 -1
  24. package/dist/constructs/v1beta2/key/KeySchema.js +1 -1
  25. package/dist/constructs/v1beta2/key/KeySchema.mjs +1 -1
  26. package/dist/constructs/v1beta2/keychain/KeychainSchema.js +1 -1
  27. package/dist/constructs/v1beta2/keychain/KeychainSchema.mjs +1 -1
  28. package/dist/constructs/v1beta2/plan/PlanSchema.js +1 -1
  29. package/dist/constructs/v1beta2/plan/PlanSchema.mjs +1 -1
  30. package/dist/constructs/v1beta2/role/RoleSchema.js +1 -1
  31. package/dist/constructs/v1beta2/role/RoleSchema.mjs +1 -1
  32. package/dist/constructs/v1beta2/schedule/ScheduleSchema.js +2 -2
  33. package/dist/constructs/v1beta2/schedule/ScheduleSchema.mjs +2 -2
  34. package/dist/constructs/v1beta2/subscription/SubscriptionSchema.js +1 -1
  35. package/dist/constructs/v1beta2/subscription/SubscriptionSchema.mjs +1 -1
  36. package/dist/constructs/v1beta2/team/TeamSchema.js +1 -1
  37. package/dist/constructs/v1beta2/team/TeamSchema.mjs +1 -1
  38. package/dist/constructs/v1beta2/token/TokenSchema.js +1 -1
  39. package/dist/constructs/v1beta2/token/TokenSchema.mjs +1 -1
  40. package/dist/constructs/v1beta2/user/User.d.ts +6 -350
  41. package/dist/constructs/v1beta2/user/UserSchema.js +1 -1
  42. package/dist/constructs/v1beta2/user/UserSchema.mjs +1 -1
  43. package/dist/constructs/v1beta2/view/ViewSchema.js +2 -2
  44. package/dist/constructs/v1beta2/view/ViewSchema.mjs +2 -2
  45. package/dist/constructs/v1beta3/academy/AcademySchema.js +1 -1
  46. package/dist/constructs/v1beta3/academy/AcademySchema.mjs +1 -1
  47. package/dist/constructs/v1beta3/connection/Connection.d.ts +242 -22
  48. package/dist/constructs/v1beta3/connection/ConnectionSchema.js +1 -1
  49. package/dist/constructs/v1beta3/connection/ConnectionSchema.mjs +1 -1
  50. package/dist/constructs/v1beta3/design/DesignSchema.js +5 -5
  51. package/dist/constructs/v1beta3/design/DesignSchema.mjs +5 -5
  52. package/dist/constructs/v1beta3/environment/EnvironmentSchema.js +1 -1
  53. package/dist/constructs/v1beta3/environment/EnvironmentSchema.mjs +1 -1
  54. package/dist/constructs/v1beta3/event/EventSchema.js +1 -1
  55. package/dist/constructs/v1beta3/event/EventSchema.mjs +1 -1
  56. package/dist/constructs/v1beta3/filter/FilterSchema.js +2 -2
  57. package/dist/constructs/v1beta3/filter/FilterSchema.mjs +2 -2
  58. package/dist/constructs/v1beta3/invitation/InvitationSchema.js +1 -1
  59. package/dist/constructs/v1beta3/invitation/InvitationSchema.mjs +1 -1
  60. package/dist/constructs/v1beta3/pattern_resource/PatternResourceSchema.js +2 -2
  61. package/dist/constructs/v1beta3/pattern_resource/PatternResourceSchema.mjs +2 -2
  62. package/dist/constructs/v1beta3/performance_profile/PerformanceProfileSchema.js +1 -1
  63. package/dist/constructs/v1beta3/performance_profile/PerformanceProfileSchema.mjs +1 -1
  64. package/dist/constructs/v1beta3/plan/PlanSchema.js +1 -1
  65. package/dist/constructs/v1beta3/plan/PlanSchema.mjs +1 -1
  66. package/dist/constructs/v1beta3/subscription/SubscriptionSchema.js +1 -1
  67. package/dist/constructs/v1beta3/subscription/SubscriptionSchema.mjs +1 -1
  68. package/dist/constructs/v1beta3/token/TokenSchema.js +1 -1
  69. package/dist/constructs/v1beta3/token/TokenSchema.mjs +1 -1
  70. package/dist/constructs/v1beta3/user/User.d.ts +536 -5
  71. package/dist/constructs/v1beta3/user/UserSchema.js +1 -1
  72. package/dist/constructs/v1beta3/user/UserSchema.mjs +1 -1
  73. package/dist/constructs/v1beta3/workspace/WorkspaceSchema.js +2 -2
  74. package/dist/constructs/v1beta3/workspace/WorkspaceSchema.mjs +2 -2
  75. package/dist/index.d.mts +1278 -75
  76. package/dist/index.d.ts +1278 -75
  77. package/dist/index.js +7 -7
  78. package/dist/index.mjs +7 -7
  79. package/dist/mesheryApi.d.mts +5059 -3562
  80. package/dist/mesheryApi.d.ts +5059 -3562
  81. package/dist/mesheryApi.js +1 -1
  82. package/dist/mesheryApi.mjs +1 -1
  83. package/package.json +1 -1
@@ -24,26 +24,6 @@ export interface paths {
24
24
  patch?: never;
25
25
  trace?: never;
26
26
  };
27
- "/api/users": {
28
- parameters: {
29
- query?: never;
30
- header?: never;
31
- path?: never;
32
- cookie?: never;
33
- };
34
- /**
35
- * Get public users
36
- * @description Returns publicly viewable user records.
37
- */
38
- get: operations["getUsers"];
39
- put?: never;
40
- post?: never;
41
- delete?: never;
42
- options?: never;
43
- head?: never;
44
- patch?: never;
45
- trace?: never;
46
- };
47
27
  "/api/identity/users/profile/{id}": {
48
28
  parameters: {
49
29
  query?: never;
@@ -524,7 +504,7 @@ export interface components {
524
504
  * Format: date-time
525
505
  * @description SQL null Timestamp to handle null values of time.
526
506
  */
527
- deletedAt?: string;
507
+ deletedAt?: string | null;
528
508
  };
529
509
  /** @description An organization the user is a member of, together with the names of the roles assigned to that user within the organization. Returned as an item of User.organizations.organizationsWithRoles. The role names are dynamic, user-generated values (no fixed enumeration). */
530
510
  OrganizationWithRoles: {
@@ -873,7 +853,10 @@ export interface components {
873
853
  };
874
854
  }[];
875
855
  };
876
- /** @description Paginated list of public user records */
856
+ /**
857
+ * @deprecated
858
+ * @description Deprecated: the public users directory (/api/users, getUsers) is documented by the v1beta3 user construct's PublicUsersPage, which reflects the reduced projection actually served since the directory was hardened. This full-User page shape was never what the endpoint returned post-hardening and is retained only for compatibility with existing type imports.
859
+ */
877
860
  UsersPageForNonAdmin: {
878
861
  /** @description Current page number of the result set. */
879
862
  page?: number;
@@ -1912,333 +1895,6 @@ export interface operations {
1912
1895
  };
1913
1896
  };
1914
1897
  };
1915
- getUsers: {
1916
- parameters: {
1917
- query?: {
1918
- /** @description Get responses by page */
1919
- page?: number;
1920
- /** @description Get responses by page size */
1921
- pageSize?: number;
1922
- /** @description Get responses that match search param value */
1923
- search?: string;
1924
- /** @description Get ordered responses */
1925
- order?: string;
1926
- /** @description Get filtered reponses */
1927
- filter?: string;
1928
- };
1929
- header?: never;
1930
- path?: never;
1931
- cookie?: never;
1932
- };
1933
- requestBody?: never;
1934
- responses: {
1935
- /** @description Paginated list of public users */
1936
- 200: {
1937
- headers: {
1938
- [name: string]: unknown;
1939
- };
1940
- content: {
1941
- "application/json": {
1942
- /** @description Current page number of the result set. */
1943
- page?: number;
1944
- /** @description Number of items per page. */
1945
- pageSize?: number;
1946
- /** @description Total number of items available. */
1947
- totalCount?: number;
1948
- /** @description The data of the userspagefornonadmin. */
1949
- data?: {
1950
- /**
1951
- * Format: uuid
1952
- * @description Unique identifier for the user
1953
- */
1954
- id: string;
1955
- /**
1956
- * @deprecated
1957
- * @description Legacy IdP-derived identifier. Removed in v1beta3; resolve users by id or email.
1958
- */
1959
- userId: string;
1960
- /**
1961
- * @description Authentication provider (e.g., Google, Github)
1962
- * @example [
1963
- * "local",
1964
- * "github",
1965
- * "google",
1966
- * "twitter"
1967
- * ]
1968
- */
1969
- provider: string;
1970
- /**
1971
- * Format: email
1972
- * @description User's email address
1973
- */
1974
- email: string;
1975
- /** @description User's first name */
1976
- firstName: string;
1977
- /** @description User's last name */
1978
- lastName: string;
1979
- /**
1980
- * Format: uri
1981
- * @description URL to user's avatar image
1982
- */
1983
- avatarUrl?: string;
1984
- /**
1985
- * @description User account status
1986
- * @enum {string}
1987
- */
1988
- status: "active" | "inactive" | "pending" | "anonymous";
1989
- /**
1990
- * @description User's biography or description
1991
- * @default
1992
- */
1993
- bio: string;
1994
- /** @description User's country information stored as JSONB */
1995
- country?: {
1996
- [key: string]: unknown;
1997
- };
1998
- /** @description User's region information stored as JSONB */
1999
- region?: {
2000
- [key: string]: unknown;
2001
- };
2002
- /** @description User preferences stored as JSONB */
2003
- preferences?: {
2004
- /** @description The mesh adapters of the preference. */
2005
- meshAdapters?: Record<string, never>[];
2006
- grafana?: {
2007
- /** @description Grafana URL for the user configuration. */
2008
- grafanaUrl?: string;
2009
- /** @description Grafana API key for the user configuration. */
2010
- grafanaApiKey?: string;
2011
- /** @description Selected Grafana board configurations for the user. */
2012
- selectedBoardsConfigs?: {
2013
- /** @description Placeholder for GrafanaBoard definition (define fields as needed) */
2014
- board?: Record<string, never>;
2015
- /** @description Panels selected for the Grafana board configuration. */
2016
- panels?: Record<string, never>[];
2017
- /** @description Template variables applied to the selected Grafana board configuration. */
2018
- templateVars?: string[];
2019
- }[];
2020
- };
2021
- prometheus?: {
2022
- /** @description The prometheus URL of the prometheus. */
2023
- prometheusUrl?: string;
2024
- /** @description The selected prometheus boards configs of the prometheus. */
2025
- selectedPrometheusBoardsConfigs?: {
2026
- /** @description Placeholder for GrafanaBoard definition (define fields as needed) */
2027
- board?: Record<string, never>;
2028
- /** @description Panels selected for the Grafana board configuration. */
2029
- panels?: Record<string, never>[];
2030
- /** @description Template variables applied to the selected Grafana board configuration. */
2031
- templateVars?: string[];
2032
- }[];
2033
- };
2034
- loadTestPrefs?: {
2035
- /** @description Concurrent requests */
2036
- c?: number;
2037
- /** @description Queries per second */
2038
- qps?: number;
2039
- /** @description Duration */
2040
- t?: string;
2041
- /** @description Load generator */
2042
- gen?: string;
2043
- };
2044
- /** @description The anonymous usage stats of the preference. */
2045
- anonymousUsageStats: boolean;
2046
- /** @description The anonymous perf results of the preference. */
2047
- anonymousPerfResults: boolean;
2048
- /**
2049
- * Format: date-time
2050
- * @description Timestamp of when the resource was last updated.
2051
- */
2052
- updatedAt: string;
2053
- /** @description The dashboard preferences of the preference. */
2054
- dashboardPreferences: {
2055
- [key: string]: unknown;
2056
- };
2057
- /**
2058
- * Format: uuid
2059
- * @description ID of the associated selectedOrganization.
2060
- */
2061
- selectedOrganizationId: string;
2062
- /** @description The selected workspace for organizations of the preference. */
2063
- selectedWorkspaceForOrganizations: {
2064
- [key: string]: string;
2065
- };
2066
- /** @description The users extension preferences of the preference. */
2067
- usersExtensionPreferences: {
2068
- [key: string]: unknown;
2069
- };
2070
- /** @description The remote provider preferences of the preference. */
2071
- remoteProviderPreferences: {
2072
- [key: string]: unknown;
2073
- };
2074
- };
2075
- /**
2076
- * Format: date-time
2077
- * @description Timestamp when user accepted terms and conditions
2078
- */
2079
- acceptedTermsAt?: string;
2080
- /**
2081
- * Format: date-time
2082
- * @description Timestamp of user's first login
2083
- */
2084
- firstLoginTime?: string;
2085
- /**
2086
- * Format: date-time
2087
- * @description Timestamp of user's most recent login
2088
- */
2089
- lastLoginTime: string;
2090
- /**
2091
- * Format: date-time
2092
- * @description Timestamp when the user record was created
2093
- */
2094
- createdAt: string;
2095
- /**
2096
- * Format: date-time
2097
- * @description Timestamp when the user record was last updated
2098
- */
2099
- updatedAt: string;
2100
- /** @description Various online profiles associated with the user account */
2101
- socials?: {
2102
- /** @description The site of the social. */
2103
- site: string;
2104
- /**
2105
- * Format: uri
2106
- * @description The link of the social.
2107
- */
2108
- link: string;
2109
- }[];
2110
- /**
2111
- * Format: date-time
2112
- * @description Timestamp when the user record was soft-deleted (null if not deleted)
2113
- */
2114
- deletedAt: string | null;
2115
- /**
2116
- * @description Names of the global roles assigned to the user. Free-form, user-generated values sourced from the roles table (role_name is a varchar, not a fixed enumeration); the seeded system roles such as "admin", "organization admin" and "user" are a subset, not the whole set.
2117
- * @example [
2118
- * "organization admin",
2119
- * "user"
2120
- * ]
2121
- */
2122
- roleNames?: string[];
2123
- /** @description Teams the user belongs to with role information */
2124
- teams?: {
2125
- /** @description Team memberships for the user with their assigned roles. */
2126
- teamsWithRoles?: {
2127
- /**
2128
- * Format: uuid
2129
- * @description Unique identifier of the team.
2130
- */
2131
- id: string;
2132
- /** @description Name of the team. */
2133
- name: string;
2134
- /** @description Human readable description of the team. */
2135
- description?: string;
2136
- /**
2137
- * Format: uuid
2138
- * @description Identifier of the team owner.
2139
- */
2140
- owner?: string;
2141
- /** @description Free-form metadata associated with the team. */
2142
- metadata?: {
2143
- [key: string]: unknown;
2144
- };
2145
- /**
2146
- * Format: date-time
2147
- * @description Timestamp when the team was created.
2148
- */
2149
- createdAt?: string;
2150
- /**
2151
- * Format: date-time
2152
- * @description Timestamp when the team was last updated.
2153
- */
2154
- updatedAt?: string;
2155
- /**
2156
- * Format: date-time
2157
- * @description Timestamp when the team was soft-deleted (null if not deleted).
2158
- */
2159
- deletedAt?: string | null;
2160
- /** @description Names of the roles assigned to the user within this team. Free-form, user-generated role names; not a fixed enumeration. */
2161
- roleNames: string[];
2162
- }[];
2163
- /** @description Total number of team memberships returned for the user. */
2164
- totalCount?: number;
2165
- };
2166
- /** @description Organizations the user belongs to with role information */
2167
- organizations?: {
2168
- /** @description Organization memberships for the user with their assigned roles. */
2169
- organizationsWithRoles?: {
2170
- /**
2171
- * Format: uuid
2172
- * @description Unique identifier of the organization.
2173
- */
2174
- id: string;
2175
- /** @description Name of the organization. */
2176
- name: string;
2177
- /** @description Human readable description of the organization. */
2178
- description?: string;
2179
- /** @description Country associated with the organization. */
2180
- country?: string;
2181
- /** @description Region associated with the organization. */
2182
- region?: string;
2183
- /**
2184
- * Format: uuid
2185
- * @description Identifier of the organization owner.
2186
- */
2187
- owner?: string;
2188
- /**
2189
- * Format: date-time
2190
- * @description Timestamp when the organization was created.
2191
- */
2192
- createdAt?: string;
2193
- /**
2194
- * Format: date-time
2195
- * @description Timestamp when the organization was last updated.
2196
- */
2197
- updatedAt?: string;
2198
- /**
2199
- * Format: date-time
2200
- * @description Timestamp when the organization was soft-deleted (null if not deleted).
2201
- */
2202
- deletedAt?: string | null;
2203
- /** @description Names of the roles assigned to the user within this organization. Free-form, user-generated role names; not a fixed enumeration. */
2204
- roleNames: string[];
2205
- }[];
2206
- /** @description Total number of organization memberships returned for the user. */
2207
- totalCount?: number;
2208
- };
2209
- }[];
2210
- };
2211
- };
2212
- };
2213
- /** @description Invalid request body or request param */
2214
- 400: {
2215
- headers: {
2216
- [name: string]: unknown;
2217
- };
2218
- content: {
2219
- "text/plain": string;
2220
- };
2221
- };
2222
- /** @description Expired JWT token used or insufficient privilege */
2223
- 401: {
2224
- headers: {
2225
- [name: string]: unknown;
2226
- };
2227
- content: {
2228
- "text/plain": string;
2229
- };
2230
- };
2231
- /** @description Internal server error */
2232
- 500: {
2233
- headers: {
2234
- [name: string]: unknown;
2235
- };
2236
- content: {
2237
- "text/plain": string;
2238
- };
2239
- };
2240
- };
2241
- };
2242
1898
  getUserProfileById: {
2243
1899
  parameters: {
2244
1900
  query?: never;
@@ -3472,7 +3128,7 @@ export interface operations {
3472
3128
  * Format: date-time
3473
3129
  * @description SQL null Timestamp to handle null values of time.
3474
3130
  */
3475
- deletedAt?: string;
3131
+ deletedAt?: string | null;
3476
3132
  }[];
3477
3133
  };
3478
3134
  };