@meshery/schemas 0.8.107 → 0.8.108

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 (204) hide show
  1. package/README.md +294 -23
  2. package/dist/Core-Wy_3jcVT.d.mts +736 -0
  3. package/dist/Core-Wy_3jcVT.d.ts +736 -0
  4. package/dist/cloudApi.d.mts +6873 -3592
  5. package/dist/cloudApi.d.ts +6873 -3592
  6. package/dist/cloudApi.js +1 -1
  7. package/dist/cloudApi.mjs +1 -1
  8. package/dist/constructs/v1alpha1/capability/Capability.d.mts +115 -0
  9. package/dist/constructs/v1alpha1/capability/Capability.d.ts +115 -0
  10. package/dist/constructs/v1alpha1/capability/Capability.js +1 -0
  11. package/dist/constructs/v1alpha1/capability/Capability.mjs +0 -0
  12. package/dist/constructs/v1alpha1/capability/CapabilitySchema.d.mts +155 -0
  13. package/dist/constructs/v1alpha1/capability/CapabilitySchema.d.ts +155 -0
  14. package/dist/constructs/v1alpha1/capability/CapabilitySchema.js +2 -0
  15. package/dist/constructs/v1alpha1/capability/CapabilitySchema.mjs +2 -0
  16. package/dist/constructs/v1alpha1/core/Core.d.mts +1 -0
  17. package/dist/constructs/v1alpha1/core/Core.d.ts +1 -0
  18. package/dist/constructs/v1alpha1/core/Core.js +1 -0
  19. package/dist/constructs/v1alpha1/core/Core.mjs +0 -0
  20. package/dist/constructs/v1alpha1/core/CoreSchema.d.mts +1649 -0
  21. package/dist/constructs/v1alpha1/core/CoreSchema.d.ts +1649 -0
  22. package/dist/constructs/v1alpha1/core/CoreSchema.js +2 -0
  23. package/dist/constructs/v1alpha1/core/CoreSchema.mjs +2 -0
  24. package/dist/constructs/v1alpha2/catalog/Catalog.d.mts +46 -0
  25. package/dist/constructs/v1alpha2/catalog/Catalog.d.ts +46 -0
  26. package/dist/constructs/v1alpha2/catalog/Catalog.js +1 -0
  27. package/dist/constructs/v1alpha2/catalog/Catalog.mjs +0 -0
  28. package/dist/constructs/v1alpha2/catalog/CatalogSchema.d.mts +80 -0
  29. package/dist/constructs/v1alpha2/catalog/CatalogSchema.d.ts +80 -0
  30. package/dist/constructs/v1alpha2/catalog/CatalogSchema.js +2 -0
  31. package/dist/constructs/v1alpha2/catalog/CatalogSchema.mjs +2 -0
  32. package/dist/constructs/v1beta1/academy/Academy.d.mts +5762 -0
  33. package/dist/constructs/v1beta1/academy/Academy.d.ts +5762 -0
  34. package/dist/constructs/v1beta1/academy/Academy.js +1 -0
  35. package/dist/constructs/v1beta1/academy/Academy.mjs +0 -0
  36. package/dist/constructs/v1beta1/academy/AcademySchema.d.mts +11838 -0
  37. package/dist/constructs/v1beta1/academy/AcademySchema.d.ts +11838 -0
  38. package/dist/constructs/v1beta1/academy/AcademySchema.js +2 -0
  39. package/dist/constructs/v1beta1/academy/AcademySchema.mjs +2 -0
  40. package/dist/constructs/v1beta1/badge/Badge.d.mts +253 -0
  41. package/dist/constructs/v1beta1/badge/Badge.d.ts +253 -0
  42. package/dist/constructs/v1beta1/badge/Badge.js +1 -0
  43. package/dist/constructs/v1beta1/badge/Badge.mjs +0 -0
  44. package/dist/constructs/v1beta1/badge/BadgeSchema.d.mts +519 -0
  45. package/dist/constructs/v1beta1/badge/BadgeSchema.d.ts +519 -0
  46. package/dist/constructs/v1beta1/badge/BadgeSchema.js +2 -0
  47. package/dist/constructs/v1beta1/badge/BadgeSchema.mjs +2 -0
  48. package/dist/constructs/v1beta1/category/Category.d.mts +33 -0
  49. package/dist/constructs/v1beta1/category/Category.d.ts +33 -0
  50. package/dist/constructs/v1beta1/category/Category.js +1 -0
  51. package/dist/constructs/v1beta1/category/Category.mjs +0 -0
  52. package/dist/constructs/v1beta1/category/CategorySchema.d.mts +60 -0
  53. package/dist/constructs/v1beta1/category/CategorySchema.d.ts +60 -0
  54. package/dist/constructs/v1beta1/category/CategorySchema.js +2 -0
  55. package/dist/constructs/v1beta1/category/CategorySchema.mjs +2 -0
  56. package/dist/constructs/v1beta1/component/Component.d.mts +737 -0
  57. package/dist/constructs/v1beta1/component/Component.d.ts +737 -0
  58. package/dist/constructs/v1beta1/component/Component.js +1 -0
  59. package/dist/constructs/v1beta1/component/Component.mjs +0 -0
  60. package/dist/constructs/v1beta1/component/ComponentSchema.d.mts +1751 -0
  61. package/dist/constructs/v1beta1/component/ComponentSchema.d.ts +1751 -0
  62. package/dist/constructs/v1beta1/component/ComponentSchema.js +10 -0
  63. package/dist/constructs/v1beta1/component/ComponentSchema.mjs +10 -0
  64. package/dist/constructs/v1beta1/connection/Connection.d.mts +186 -0
  65. package/dist/constructs/v1beta1/connection/Connection.d.ts +186 -0
  66. package/dist/constructs/v1beta1/connection/Connection.js +1 -0
  67. package/dist/constructs/v1beta1/connection/Connection.mjs +0 -0
  68. package/dist/constructs/v1beta1/connection/ConnectionSchema.d.mts +612 -0
  69. package/dist/constructs/v1beta1/connection/ConnectionSchema.d.ts +612 -0
  70. package/dist/constructs/v1beta1/connection/ConnectionSchema.js +2 -0
  71. package/dist/constructs/v1beta1/connection/ConnectionSchema.mjs +2 -0
  72. package/dist/constructs/v1beta1/environment/Environment.d.mts +307 -0
  73. package/dist/constructs/v1beta1/environment/Environment.d.ts +307 -0
  74. package/dist/constructs/v1beta1/environment/Environment.js +1 -0
  75. package/dist/constructs/v1beta1/environment/Environment.mjs +0 -0
  76. package/dist/constructs/v1beta1/environment/EnvironmentSchema.d.mts +904 -0
  77. package/dist/constructs/v1beta1/environment/EnvironmentSchema.d.ts +904 -0
  78. package/dist/constructs/v1beta1/environment/EnvironmentSchema.js +2 -0
  79. package/dist/constructs/v1beta1/environment/EnvironmentSchema.mjs +2 -0
  80. package/dist/constructs/v1beta1/evaluation/Evaluation.d.mts +5729 -0
  81. package/dist/constructs/v1beta1/evaluation/Evaluation.d.ts +5729 -0
  82. package/dist/constructs/v1beta1/evaluation/Evaluation.js +1 -0
  83. package/dist/constructs/v1beta1/evaluation/Evaluation.mjs +0 -0
  84. package/dist/constructs/v1beta1/evaluation/EvaluationSchema.d.mts +15473 -0
  85. package/dist/constructs/v1beta1/evaluation/EvaluationSchema.d.ts +15473 -0
  86. package/dist/constructs/v1beta1/evaluation/EvaluationSchema.js +210 -0
  87. package/dist/constructs/v1beta1/evaluation/EvaluationSchema.mjs +210 -0
  88. package/dist/constructs/v1beta1/event/Event.d.mts +177 -0
  89. package/dist/constructs/v1beta1/event/Event.d.ts +177 -0
  90. package/dist/constructs/v1beta1/event/Event.js +1 -0
  91. package/dist/constructs/v1beta1/event/Event.mjs +0 -0
  92. package/dist/constructs/v1beta1/event/EventSchema.d.mts +360 -0
  93. package/dist/constructs/v1beta1/event/EventSchema.d.ts +360 -0
  94. package/dist/constructs/v1beta1/event/EventSchema.js +1 -0
  95. package/dist/constructs/v1beta1/event/EventSchema.mjs +1 -0
  96. package/dist/constructs/v1beta1/feature/Feature.d.mts +287 -0
  97. package/dist/constructs/v1beta1/feature/Feature.d.ts +287 -0
  98. package/dist/constructs/v1beta1/feature/Feature.js +1 -0
  99. package/dist/constructs/v1beta1/feature/Feature.mjs +0 -0
  100. package/dist/constructs/v1beta1/feature/FeatureSchema.d.mts +773 -0
  101. package/dist/constructs/v1beta1/feature/FeatureSchema.d.ts +773 -0
  102. package/dist/constructs/v1beta1/feature/FeatureSchema.js +1 -0
  103. package/dist/constructs/v1beta1/feature/FeatureSchema.mjs +1 -0
  104. package/dist/constructs/v1beta1/invitation/Invitation.d.mts +644 -0
  105. package/dist/constructs/v1beta1/invitation/Invitation.d.ts +644 -0
  106. package/dist/constructs/v1beta1/invitation/Invitation.js +1 -0
  107. package/dist/constructs/v1beta1/invitation/Invitation.mjs +0 -0
  108. package/dist/constructs/v1beta1/invitation/InvitationSchema.d.mts +1652 -0
  109. package/dist/constructs/v1beta1/invitation/InvitationSchema.d.ts +1652 -0
  110. package/dist/constructs/v1beta1/invitation/InvitationSchema.js +1 -0
  111. package/dist/constructs/v1beta1/invitation/InvitationSchema.mjs +1 -0
  112. package/dist/constructs/v1beta1/key/Key.d.mts +409 -0
  113. package/dist/constructs/v1beta1/key/Key.d.ts +409 -0
  114. package/dist/constructs/v1beta1/key/Key.js +1 -0
  115. package/dist/constructs/v1beta1/key/Key.mjs +0 -0
  116. package/dist/constructs/v1beta1/key/KeySchema.d.mts +1029 -0
  117. package/dist/constructs/v1beta1/key/KeySchema.d.ts +1029 -0
  118. package/dist/constructs/v1beta1/key/KeySchema.js +1 -0
  119. package/dist/constructs/v1beta1/key/KeySchema.mjs +1 -0
  120. package/dist/constructs/v1beta1/keychain/Keychain.d.mts +641 -0
  121. package/dist/constructs/v1beta1/keychain/Keychain.d.ts +641 -0
  122. package/dist/constructs/v1beta1/keychain/Keychain.js +1 -0
  123. package/dist/constructs/v1beta1/keychain/Keychain.mjs +0 -0
  124. package/dist/constructs/v1beta1/keychain/KeychainSchema.d.mts +1541 -0
  125. package/dist/constructs/v1beta1/keychain/KeychainSchema.d.ts +1541 -0
  126. package/dist/constructs/v1beta1/keychain/KeychainSchema.js +1 -0
  127. package/dist/constructs/v1beta1/keychain/KeychainSchema.mjs +1 -0
  128. package/dist/constructs/v1beta1/model/Model.d.mts +474 -0
  129. package/dist/constructs/v1beta1/model/Model.d.ts +474 -0
  130. package/dist/constructs/v1beta1/model/Model.js +1 -0
  131. package/dist/constructs/v1beta1/model/Model.mjs +0 -0
  132. package/dist/constructs/v1beta1/model/ModelSchema.d.mts +1281 -0
  133. package/dist/constructs/v1beta1/model/ModelSchema.d.ts +1281 -0
  134. package/dist/constructs/v1beta1/model/ModelSchema.js +6 -0
  135. package/dist/constructs/v1beta1/model/ModelSchema.mjs +6 -0
  136. package/dist/constructs/v1beta1/organization/Organization.d.mts +268 -0
  137. package/dist/constructs/v1beta1/organization/Organization.d.ts +268 -0
  138. package/dist/constructs/v1beta1/organization/Organization.js +1 -0
  139. package/dist/constructs/v1beta1/organization/Organization.mjs +0 -0
  140. package/dist/constructs/v1beta1/organization/OrganizationSchema.d.mts +765 -0
  141. package/dist/constructs/v1beta1/organization/OrganizationSchema.d.ts +765 -0
  142. package/dist/constructs/v1beta1/organization/OrganizationSchema.js +1 -0
  143. package/dist/constructs/v1beta1/organization/OrganizationSchema.mjs +1 -0
  144. package/dist/constructs/v1beta1/pattern/Pattern.d.mts +5776 -0
  145. package/dist/constructs/v1beta1/pattern/Pattern.d.ts +5776 -0
  146. package/dist/constructs/v1beta1/pattern/Pattern.js +1 -0
  147. package/dist/constructs/v1beta1/pattern/Pattern.mjs +0 -0
  148. package/dist/constructs/v1beta1/pattern/PatternSchema.d.mts +15669 -0
  149. package/dist/constructs/v1beta1/pattern/PatternSchema.d.ts +15669 -0
  150. package/dist/constructs/v1beta1/pattern/PatternSchema.js +210 -0
  151. package/dist/constructs/v1beta1/pattern/PatternSchema.mjs +210 -0
  152. package/dist/constructs/v1beta1/plan/Plan.d.mts +120 -0
  153. package/dist/constructs/v1beta1/plan/Plan.d.ts +120 -0
  154. package/dist/constructs/v1beta1/plan/Plan.js +1 -0
  155. package/dist/constructs/v1beta1/plan/Plan.mjs +0 -0
  156. package/dist/constructs/v1beta1/plan/PlanSchema.d.mts +322 -0
  157. package/dist/constructs/v1beta1/plan/PlanSchema.d.ts +322 -0
  158. package/dist/constructs/v1beta1/plan/PlanSchema.js +1 -0
  159. package/dist/constructs/v1beta1/plan/PlanSchema.mjs +1 -0
  160. package/dist/constructs/v1beta1/subcategory/Subcategory.d.mts +23 -0
  161. package/dist/constructs/v1beta1/subcategory/Subcategory.d.ts +23 -0
  162. package/dist/constructs/v1beta1/subcategory/Subcategory.js +1 -0
  163. package/dist/constructs/v1beta1/subcategory/Subcategory.mjs +0 -0
  164. package/dist/constructs/v1beta1/subcategory/SubcategorySchema.d.mts +33 -0
  165. package/dist/constructs/v1beta1/subcategory/SubcategorySchema.d.ts +33 -0
  166. package/dist/constructs/v1beta1/subcategory/SubcategorySchema.js +2 -0
  167. package/dist/constructs/v1beta1/subcategory/SubcategorySchema.mjs +2 -0
  168. package/dist/constructs/v1beta1/subscription/Subscription.d.mts +624 -0
  169. package/dist/constructs/v1beta1/subscription/Subscription.d.ts +624 -0
  170. package/dist/constructs/v1beta1/subscription/Subscription.js +1 -0
  171. package/dist/constructs/v1beta1/subscription/Subscription.mjs +0 -0
  172. package/dist/constructs/v1beta1/subscription/SubscriptionSchema.d.mts +1642 -0
  173. package/dist/constructs/v1beta1/subscription/SubscriptionSchema.d.ts +1642 -0
  174. package/dist/constructs/v1beta1/subscription/SubscriptionSchema.js +2 -0
  175. package/dist/constructs/v1beta1/subscription/SubscriptionSchema.mjs +2 -0
  176. package/dist/constructs/v1beta1/user/User.d.mts +473 -0
  177. package/dist/constructs/v1beta1/user/User.d.ts +473 -0
  178. package/dist/constructs/v1beta1/user/User.js +1 -0
  179. package/dist/constructs/v1beta1/user/User.mjs +0 -0
  180. package/dist/constructs/v1beta1/user/UserSchema.d.mts +1112 -0
  181. package/dist/constructs/v1beta1/user/UserSchema.d.ts +1112 -0
  182. package/dist/constructs/v1beta1/user/UserSchema.js +1 -0
  183. package/dist/constructs/v1beta1/user/UserSchema.mjs +1 -0
  184. package/dist/constructs/v1beta1/workspace/Workspace.d.mts +303 -0
  185. package/dist/constructs/v1beta1/workspace/Workspace.d.ts +303 -0
  186. package/dist/constructs/v1beta1/workspace/Workspace.js +1 -0
  187. package/dist/constructs/v1beta1/workspace/Workspace.mjs +0 -0
  188. package/dist/constructs/v1beta1/workspace/WorkspaceSchema.d.mts +964 -0
  189. package/dist/constructs/v1beta1/workspace/WorkspaceSchema.d.ts +964 -0
  190. package/dist/constructs/v1beta1/workspace/WorkspaceSchema.js +2 -0
  191. package/dist/constructs/v1beta1/workspace/WorkspaceSchema.mjs +2 -0
  192. package/dist/index.d.mts +40 -34677
  193. package/dist/index.d.ts +40 -34677
  194. package/dist/index.js +29 -93
  195. package/dist/index.mjs +29 -93
  196. package/dist/mesheryApi.d.mts +1751 -653
  197. package/dist/mesheryApi.d.ts +1751 -653
  198. package/dist/mesheryApi.js +1 -1
  199. package/dist/mesheryApi.mjs +1 -1
  200. package/dist/permissions.d.mts +422 -0
  201. package/dist/permissions.d.ts +422 -0
  202. package/dist/permissions.js +1 -0
  203. package/dist/permissions.mjs +1 -0
  204. package/package.json +52 -48
@@ -1 +1 @@
1
- 'use strict';var react=require('@reduxjs/toolkit/query/react');var a="Layer5-Current-Orgid";var g=react.fetchBaseQuery({baseUrl:process.env.RTK_CLOUD_ENDPOINT_PREFIX,credentials:"include",prepareHeaders:(e,{getState:t})=>{let n=t().organization.value;return e.set(a,n==null?void 0:n.id),e}}),d=async(e,t,r)=>await g(e,t,r);react.createApi({baseQuery:d,tagTypes:[],endpoints:e=>({})});var o=react.createApi({reducerPath:"mesheryRtkSchemasApi",baseQuery:react.fetchBaseQuery({baseUrl:process.env.RTK_MESHERY_ENDPOINT_PREFIX,credentials:"include"}),endpoints:()=>({})});var c=["design_other","model_other","workspace_workspaces","environment_environments","evaluation_other"],l=o.enhanceEndpoints({addTagTypes:c}).injectEndpoints({endpoints:e=>({importDesign:e.mutation({query:t=>({url:"/api/pattern/import",method:"POST",body:t.body}),invalidatesTags:["design_other"]}),registerMeshmodels:e.mutation({query:t=>({url:"/api/meshmodels/register",method:"POST",body:t.body}),invalidatesTags:["model_other"]}),getApiWorkspaces:e.query({query:()=>({url:"/api/workspaces"}),providesTags:["workspace_workspaces"]}),postApiWorkspaces:e.mutation({query:t=>({url:"/api/workspaces",method:"POST",body:t.body}),invalidatesTags:["workspace_workspaces"]}),getApiWorkspacesById:e.query({query:t=>({url:`/api/workspaces/${t.id}`}),providesTags:["workspace_workspaces"]}),putApiWorkspacesById:e.mutation({query:t=>({url:`/api/workspaces/${t.id}`,method:"PUT",body:t.body}),invalidatesTags:["workspace_workspaces"]}),deleteApiWorkspacesById:e.mutation({query:t=>({url:`/api/workspaces/${t.id}`,method:"DELETE"}),invalidatesTags:["workspace_workspaces"]}),createEnvironment:e.mutation({query:t=>({url:"/api/environments",method:"POST",body:t.body}),invalidatesTags:["environment_environments"]}),getEnvironments:e.query({query:t=>({url:"/api/environments",params:{search:t.search,order:t.order,page:t.page,pagesize:t.pagesize,orgID:t.orgId}}),providesTags:["environment_environments"]}),postEvaluate:e.mutation({query:t=>({url:"/evaluate",method:"POST",body:t.body}),invalidatesTags:["evaluation_other"]})}),overrideExisting:false});var {useImportDesignMutation:v,useRegisterMeshmodelsMutation:h,useGetApiWorkspacesQuery:k,usePostApiWorkspacesMutation:f,useGetApiWorkspacesByIdQuery:_,usePutApiWorkspacesByIdMutation:A,useDeleteApiWorkspacesByIdMutation:x,useCreateEnvironmentMutation:R,useGetEnvironmentsQuery:C,usePostEvaluateMutation:w}=l;exports.addTagTypes=c;exports.mesheryApi=l;exports.useCreateEnvironmentMutation=R;exports.useDeleteApiWorkspacesByIdMutation=x;exports.useGetApiWorkspacesByIdQuery=_;exports.useGetApiWorkspacesQuery=k;exports.useGetEnvironmentsQuery=C;exports.useImportDesignMutation=v;exports.usePostApiWorkspacesMutation=f;exports.usePostEvaluateMutation=w;exports.usePutApiWorkspacesByIdMutation=A;exports.useRegisterMeshmodelsMutation=h;
1
+ 'use strict';var react=require('@reduxjs/toolkit/query/react');var a="Layer5-Current-Orgid";var g=react.fetchBaseQuery({baseUrl:process.env.RTK_CLOUD_ENDPOINT_PREFIX,credentials:"include",prepareHeaders:(e,{getState:t})=>{let n=t().organization.value;return e.set(a,n==null?void 0:n.id),e}}),d=async(e,t,r)=>await g(e,t,r);react.createApi({baseQuery:d,tagTypes:[],endpoints:e=>({})});var o=react.createApi({reducerPath:"mesheryRtkSchemasApi",baseQuery:react.fetchBaseQuery({baseUrl:process.env.RTK_MESHERY_ENDPOINT_PREFIX,credentials:"include"}),endpoints:()=>({})});var p=["design_other","environment_environments","evaluation_other","events_other","model_other","Organization_other","workspace_workspaces"],l=o.enhanceEndpoints({addTagTypes:p}).injectEndpoints({endpoints:e=>({importDesign:e.mutation({query:t=>({url:"/api/pattern/import",method:"POST",body:t.body}),invalidatesTags:["design_other"]}),createEnvironment:e.mutation({query:t=>({url:"/api/environments",method:"POST",body:t.body}),invalidatesTags:["environment_environments"]}),getEnvironments:e.query({query:t=>({url:"/api/environments",params:{search:t.search,order:t.order,page:t.page,pagesize:t.pagesize,orgID:t.orgId}}),providesTags:["environment_environments"]}),postEvaluate:e.mutation({query:t=>({url:"/evaluate",method:"POST",body:t.body}),invalidatesTags:["evaluation_other"]}),deleteEventsById:e.mutation({query:t=>({url:`/events/${t.id}`,method:"DELETE"}),invalidatesTags:["events_other"]}),postEvents:e.mutation({query:t=>({url:"/events",method:"POST",body:t.body}),invalidatesTags:["events_other"]}),deleteEvents:e.mutation({query:t=>({url:"/events",method:"DELETE",body:t.body}),invalidatesTags:["events_other"]}),putEventsStatus:e.mutation({query:t=>({url:"/events/status",method:"PUT",body:t.body}),invalidatesTags:["events_other"]}),putEventsByIdStatus:e.mutation({query:t=>({url:`/events/${t.id}/status`,method:"PUT",body:t.body}),invalidatesTags:["events_other"]}),registerMeshmodels:e.mutation({query:t=>({url:"/api/meshmodels/register",method:"POST",body:t.body}),invalidatesTags:["model_other"]}),getOrgByDomain:e.query({query:t=>({url:"/api/identity/orgs/by-domain",params:{domain:t.domain}}),providesTags:["Organization_other"]}),getApiWorkspaces:e.query({query:()=>({url:"/api/workspaces"}),providesTags:["workspace_workspaces"]}),postApiWorkspaces:e.mutation({query:t=>({url:"/api/workspaces",method:"POST",body:t.body}),invalidatesTags:["workspace_workspaces"]}),getApiWorkspacesById:e.query({query:t=>({url:`/api/workspaces/${t.id}`}),providesTags:["workspace_workspaces"]}),putApiWorkspacesById:e.mutation({query:t=>({url:`/api/workspaces/${t.id}`,method:"PUT",body:t.body}),invalidatesTags:["workspace_workspaces"]}),deleteApiWorkspacesById:e.mutation({query:t=>({url:`/api/workspaces/${t.id}`,method:"DELETE"}),invalidatesTags:["workspace_workspaces"]})}),overrideExisting:false});var {useImportDesignMutation:v,useCreateEnvironmentMutation:h,useGetEnvironmentsQuery:k,usePostEvaluateMutation:f,useDeleteEventsByIdMutation:A,usePostEventsMutation:_,useDeleteEventsMutation:x,usePutEventsStatusMutation:R,usePutEventsByIdStatusMutation:w,useRegisterMeshmodelsMutation:C,useGetOrgByDomainQuery:E,useGetApiWorkspacesQuery:S,usePostApiWorkspacesMutation:I,useGetApiWorkspacesByIdQuery:D,usePutApiWorkspacesByIdMutation:P,useDeleteApiWorkspacesByIdMutation:T}=l;exports.addTagTypes=p;exports.mesheryApi=l;exports.useCreateEnvironmentMutation=h;exports.useDeleteApiWorkspacesByIdMutation=T;exports.useDeleteEventsByIdMutation=A;exports.useDeleteEventsMutation=x;exports.useGetApiWorkspacesByIdQuery=D;exports.useGetApiWorkspacesQuery=S;exports.useGetEnvironmentsQuery=k;exports.useGetOrgByDomainQuery=E;exports.useImportDesignMutation=v;exports.usePostApiWorkspacesMutation=I;exports.usePostEvaluateMutation=f;exports.usePostEventsMutation=_;exports.usePutApiWorkspacesByIdMutation=P;exports.usePutEventsByIdStatusMutation=w;exports.usePutEventsStatusMutation=R;exports.useRegisterMeshmodelsMutation=C;
@@ -1 +1 @@
1
- import {fetchBaseQuery,createApi}from'@reduxjs/toolkit/query/react';var a="Layer5-Current-Orgid";var g=fetchBaseQuery({baseUrl:process.env.RTK_CLOUD_ENDPOINT_PREFIX,credentials:"include",prepareHeaders:(e,{getState:t})=>{let n=t().organization.value;return e.set(a,n==null?void 0:n.id),e}}),d=async(e,t,r)=>await g(e,t,r);createApi({baseQuery:d,tagTypes:[],endpoints:e=>({})});var o=createApi({reducerPath:"mesheryRtkSchemasApi",baseQuery:fetchBaseQuery({baseUrl:process.env.RTK_MESHERY_ENDPOINT_PREFIX,credentials:"include"}),endpoints:()=>({})});var c=["design_other","model_other","workspace_workspaces","environment_environments","evaluation_other"],l=o.enhanceEndpoints({addTagTypes:c}).injectEndpoints({endpoints:e=>({importDesign:e.mutation({query:t=>({url:"/api/pattern/import",method:"POST",body:t.body}),invalidatesTags:["design_other"]}),registerMeshmodels:e.mutation({query:t=>({url:"/api/meshmodels/register",method:"POST",body:t.body}),invalidatesTags:["model_other"]}),getApiWorkspaces:e.query({query:()=>({url:"/api/workspaces"}),providesTags:["workspace_workspaces"]}),postApiWorkspaces:e.mutation({query:t=>({url:"/api/workspaces",method:"POST",body:t.body}),invalidatesTags:["workspace_workspaces"]}),getApiWorkspacesById:e.query({query:t=>({url:`/api/workspaces/${t.id}`}),providesTags:["workspace_workspaces"]}),putApiWorkspacesById:e.mutation({query:t=>({url:`/api/workspaces/${t.id}`,method:"PUT",body:t.body}),invalidatesTags:["workspace_workspaces"]}),deleteApiWorkspacesById:e.mutation({query:t=>({url:`/api/workspaces/${t.id}`,method:"DELETE"}),invalidatesTags:["workspace_workspaces"]}),createEnvironment:e.mutation({query:t=>({url:"/api/environments",method:"POST",body:t.body}),invalidatesTags:["environment_environments"]}),getEnvironments:e.query({query:t=>({url:"/api/environments",params:{search:t.search,order:t.order,page:t.page,pagesize:t.pagesize,orgID:t.orgId}}),providesTags:["environment_environments"]}),postEvaluate:e.mutation({query:t=>({url:"/evaluate",method:"POST",body:t.body}),invalidatesTags:["evaluation_other"]})}),overrideExisting:false});var {useImportDesignMutation:v,useRegisterMeshmodelsMutation:h,useGetApiWorkspacesQuery:k,usePostApiWorkspacesMutation:f,useGetApiWorkspacesByIdQuery:_,usePutApiWorkspacesByIdMutation:A,useDeleteApiWorkspacesByIdMutation:x,useCreateEnvironmentMutation:R,useGetEnvironmentsQuery:C,usePostEvaluateMutation:w}=l;export{c as addTagTypes,l as mesheryApi,R as useCreateEnvironmentMutation,x as useDeleteApiWorkspacesByIdMutation,_ as useGetApiWorkspacesByIdQuery,k as useGetApiWorkspacesQuery,C as useGetEnvironmentsQuery,v as useImportDesignMutation,f as usePostApiWorkspacesMutation,w as usePostEvaluateMutation,A as usePutApiWorkspacesByIdMutation,h as useRegisterMeshmodelsMutation};
1
+ import {fetchBaseQuery,createApi}from'@reduxjs/toolkit/query/react';var a="Layer5-Current-Orgid";var g=fetchBaseQuery({baseUrl:process.env.RTK_CLOUD_ENDPOINT_PREFIX,credentials:"include",prepareHeaders:(e,{getState:t})=>{let n=t().organization.value;return e.set(a,n==null?void 0:n.id),e}}),d=async(e,t,r)=>await g(e,t,r);createApi({baseQuery:d,tagTypes:[],endpoints:e=>({})});var o=createApi({reducerPath:"mesheryRtkSchemasApi",baseQuery:fetchBaseQuery({baseUrl:process.env.RTK_MESHERY_ENDPOINT_PREFIX,credentials:"include"}),endpoints:()=>({})});var p=["design_other","environment_environments","evaluation_other","events_other","model_other","Organization_other","workspace_workspaces"],l=o.enhanceEndpoints({addTagTypes:p}).injectEndpoints({endpoints:e=>({importDesign:e.mutation({query:t=>({url:"/api/pattern/import",method:"POST",body:t.body}),invalidatesTags:["design_other"]}),createEnvironment:e.mutation({query:t=>({url:"/api/environments",method:"POST",body:t.body}),invalidatesTags:["environment_environments"]}),getEnvironments:e.query({query:t=>({url:"/api/environments",params:{search:t.search,order:t.order,page:t.page,pagesize:t.pagesize,orgID:t.orgId}}),providesTags:["environment_environments"]}),postEvaluate:e.mutation({query:t=>({url:"/evaluate",method:"POST",body:t.body}),invalidatesTags:["evaluation_other"]}),deleteEventsById:e.mutation({query:t=>({url:`/events/${t.id}`,method:"DELETE"}),invalidatesTags:["events_other"]}),postEvents:e.mutation({query:t=>({url:"/events",method:"POST",body:t.body}),invalidatesTags:["events_other"]}),deleteEvents:e.mutation({query:t=>({url:"/events",method:"DELETE",body:t.body}),invalidatesTags:["events_other"]}),putEventsStatus:e.mutation({query:t=>({url:"/events/status",method:"PUT",body:t.body}),invalidatesTags:["events_other"]}),putEventsByIdStatus:e.mutation({query:t=>({url:`/events/${t.id}/status`,method:"PUT",body:t.body}),invalidatesTags:["events_other"]}),registerMeshmodels:e.mutation({query:t=>({url:"/api/meshmodels/register",method:"POST",body:t.body}),invalidatesTags:["model_other"]}),getOrgByDomain:e.query({query:t=>({url:"/api/identity/orgs/by-domain",params:{domain:t.domain}}),providesTags:["Organization_other"]}),getApiWorkspaces:e.query({query:()=>({url:"/api/workspaces"}),providesTags:["workspace_workspaces"]}),postApiWorkspaces:e.mutation({query:t=>({url:"/api/workspaces",method:"POST",body:t.body}),invalidatesTags:["workspace_workspaces"]}),getApiWorkspacesById:e.query({query:t=>({url:`/api/workspaces/${t.id}`}),providesTags:["workspace_workspaces"]}),putApiWorkspacesById:e.mutation({query:t=>({url:`/api/workspaces/${t.id}`,method:"PUT",body:t.body}),invalidatesTags:["workspace_workspaces"]}),deleteApiWorkspacesById:e.mutation({query:t=>({url:`/api/workspaces/${t.id}`,method:"DELETE"}),invalidatesTags:["workspace_workspaces"]})}),overrideExisting:false});var {useImportDesignMutation:v,useCreateEnvironmentMutation:h,useGetEnvironmentsQuery:k,usePostEvaluateMutation:f,useDeleteEventsByIdMutation:A,usePostEventsMutation:_,useDeleteEventsMutation:x,usePutEventsStatusMutation:R,usePutEventsByIdStatusMutation:w,useRegisterMeshmodelsMutation:C,useGetOrgByDomainQuery:E,useGetApiWorkspacesQuery:S,usePostApiWorkspacesMutation:I,useGetApiWorkspacesByIdQuery:D,usePutApiWorkspacesByIdMutation:P,useDeleteApiWorkspacesByIdMutation:T}=l;export{p as addTagTypes,l as mesheryApi,h as useCreateEnvironmentMutation,T as useDeleteApiWorkspacesByIdMutation,A as useDeleteEventsByIdMutation,x as useDeleteEventsMutation,D as useGetApiWorkspacesByIdQuery,S as useGetApiWorkspacesQuery,k as useGetEnvironmentsQuery,E as useGetOrgByDomainQuery,v as useImportDesignMutation,I as usePostApiWorkspacesMutation,f as usePostEvaluateMutation,_ as usePostEventsMutation,P as usePutApiWorkspacesByIdMutation,w as usePutEventsByIdStatusMutation,R as usePutEventsStatusMutation,C as useRegisterMeshmodelsMutation};
@@ -0,0 +1,422 @@
1
+ /**
2
+ * Permission key constants generated from permissions.csv
3
+ * This file is auto-generated - DO NOT EDIT MANUALLY.
4
+ * To regenerate, run: node build/generate-permissions-ts.js
5
+ */
6
+ /**
7
+ * A branded type representing a permission key UUID.
8
+ * This provides type safety while remaining compatible with string operations.
9
+ */
10
+ type PermissionKey = string & {
11
+ readonly __brand: 'PermissionKey';
12
+ };
13
+ /**
14
+ * Creates a PermissionKey from a UUID string.
15
+ * @param uuid - The UUID string to convert
16
+ * @returns The branded PermissionKey
17
+ */
18
+ declare function createPermissionKey(uuid: string): PermissionKey;
19
+ /**
20
+ * Permission key constants.
21
+ * Each key represents a unique permission identified by its UUID.
22
+ */
23
+ declare const PermissionKeys: {
24
+ /**
25
+ * Share design with anyone within your organization, and make your design easily accessible to all relevant team members.
26
+ */
27
+ readonly CatalogShareDesign: PermissionKey;
28
+ /**
29
+ * Clone any published design to customise it according to your use cases
30
+ */
31
+ readonly CatalogCloneDesign: PermissionKey;
32
+ /**
33
+ * View all public and published designs of other team members and private of signed-in user
34
+ */
35
+ readonly DesignsViewDesigns: PermissionKey;
36
+ /**
37
+ * View all public and published filters of other team members and private of signed-in user
38
+ */
39
+ readonly FiltersViewFilters: PermissionKey;
40
+ /**
41
+ * View the catalog publication request queue
42
+ */
43
+ readonly CatalogRequestsViewCatalogRequests: PermissionKey;
44
+ /**
45
+ * Approve catalog publication requests
46
+ */
47
+ readonly CatalogRequestsApproveCatalogRequest: PermissionKey;
48
+ /**
49
+ * Deny catalog publication requests
50
+ */
51
+ readonly CatalogRequestsDenyCatalogRequest: PermissionKey;
52
+ /**
53
+ * Create new Meshery design
54
+ */
55
+ readonly DesignsCreateNewDesign: PermissionKey;
56
+ /**
57
+ * Import a design
58
+ */
59
+ readonly DesignsImportDesign: PermissionKey;
60
+ /**
61
+ * Publish a design
62
+ */
63
+ readonly DesignsPublishDesign: PermissionKey;
64
+ /**
65
+ * Unpublish a design
66
+ */
67
+ readonly DesignsUnpublishDesign: PermissionKey;
68
+ /**
69
+ * Validate a design
70
+ */
71
+ readonly DesignsValidateDesign: PermissionKey;
72
+ /**
73
+ * Deploy a design
74
+ */
75
+ readonly DesignsDeployDesign: PermissionKey;
76
+ /**
77
+ * Retract all resources used in a Meshery design from the cluster
78
+ */
79
+ readonly DesignsUndeployDesign: PermissionKey;
80
+ /**
81
+ * Set design information or details of a design
82
+ */
83
+ readonly DesignsDetailsOfDesign: PermissionKey;
84
+ /**
85
+ * Edit a design
86
+ */
87
+ readonly DesignsEditDesign: PermissionKey;
88
+ /**
89
+ * Delete a design
90
+ */
91
+ readonly DesignsDeleteADesign: PermissionKey;
92
+ /**
93
+ * Download a Meshery design in OCI or YAML format
94
+ */
95
+ readonly DesignsDownloadADesign: PermissionKey;
96
+ /**
97
+ * Import a filter
98
+ */
99
+ readonly FiltersImportFilter: PermissionKey;
100
+ /**
101
+ * Download a WASM filter
102
+ */
103
+ readonly FiltersDownloadAWasmFilter: PermissionKey;
104
+ /**
105
+ * Check information or details of a WASM filter
106
+ */
107
+ readonly FiltersDetailsOfWasmFilter: PermissionKey;
108
+ /**
109
+ * Edit WASM filter
110
+ */
111
+ readonly FiltersEditWasmFilter: PermissionKey;
112
+ /**
113
+ * Clone WASM filter from catalog, which allows customizing filter and use it in design
114
+ */
115
+ readonly FiltersCloneWasmFilter: PermissionKey;
116
+ /**
117
+ * Delete WASM filter permanently from catalog.
118
+ */
119
+ readonly FiltersDeleteWasmFilter: PermissionKey;
120
+ /**
121
+ * Install or enable or disabble extensions in Meshery
122
+ */
123
+ readonly ExtensionsInstallExtension: PermissionKey;
124
+ /**
125
+ * View all user preferences in Meshery UI
126
+ */
127
+ readonly ExtensionsViewMesheryUserPreferences: PermissionKey;
128
+ /**
129
+ * View all extensions on the extension page
130
+ */
131
+ readonly ExtensionsViewExtensions: PermissionKey;
132
+ /**
133
+ * View all configured Kubernetes clusters
134
+ */
135
+ readonly UsersViewAllKubernetesClusters: PermissionKey;
136
+ /**
137
+ * See only teams to which you are a member. See all other members within those teams.
138
+ */
139
+ readonly TeamsViewTeam: PermissionKey;
140
+ /**
141
+ * See all teams of which you are an administrator. See all members of those teams.
142
+ */
143
+ readonly TeamsViewTeams: PermissionKey;
144
+ /**
145
+ * See all teams within an organization. See all members of all teams.
146
+ */
147
+ readonly TeamsViewAllTeams: PermissionKey;
148
+ /**
149
+ * Directly create a new user account within a team.
150
+ */
151
+ readonly TeamsAddUserToTeam: PermissionKey;
152
+ /**
153
+ * Send a request for a user to join a team.
154
+ */
155
+ readonly TeamsInviteUserToTeam: PermissionKey;
156
+ /**
157
+ * Discontinue user membership of a team and team resources.
158
+ */
159
+ readonly TeamsRemoveUserFromTeam: PermissionKey;
160
+ /**
161
+ * Establish new team for organizing groups of users and resource access.
162
+ */
163
+ readonly TeamsCreateTeam: PermissionKey;
164
+ /**
165
+ * Dissolve a team and all user memberships. Leave associated resources intact.
166
+ */
167
+ readonly TeamsDeleteTeam: PermissionKey;
168
+ /**
169
+ * Edit a team and add new members to it.
170
+ */
171
+ readonly TeamsEditTeam: PermissionKey;
172
+ /**
173
+ * Remove roles from users in a team.
174
+ */
175
+ readonly TeamsRemoveRolesFromTeamMembers: PermissionKey;
176
+ /**
177
+ * Assign roles to users in a team
178
+ */
179
+ readonly TeamsAssignRolesToTeamMembers: PermissionKey;
180
+ /**
181
+ * This governs the team's invitation permissions, determining whether the team is allowed to extend invitations to new individuals to join through open invite link.
182
+ */
183
+ readonly TeamsOpenTeamInvite: PermissionKey;
184
+ /**
185
+ * Establish new organization for organizing teams, users, and resource access.
186
+ */
187
+ readonly OrganizationsCreateOrganization: PermissionKey;
188
+ /**
189
+ * Edit organiaztions and add teams to it
190
+ */
191
+ readonly OrganizationsEditOrganization: PermissionKey;
192
+ /**
193
+ * Directly create a new user account within an organization.
194
+ */
195
+ readonly OrganizationsAddUserToOrganization: PermissionKey;
196
+ /**
197
+ * Send a request for a user to join an organization.
198
+ */
199
+ readonly OrganizationsInviteUserToOrganization: PermissionKey;
200
+ /**
201
+ * Discontinue user access to organization, teams and resources; cease billing accrual.
202
+ */
203
+ readonly OrganizationsRemoveUserFromOrganization: PermissionKey;
204
+ /**
205
+ * Elevate or remove organization level administrative privileges.
206
+ */
207
+ readonly OrganizationsPromoteOrDemoteUserToOrgAdmin: PermissionKey;
208
+ /**
209
+ * See only organizations to which you are a member. See all other members within your membership teams.
210
+ */
211
+ readonly OrganizationsViewOrg: PermissionKey;
212
+ /**
213
+ * See all organizations of which you are an administrator. See all members of those organizations.
214
+ */
215
+ readonly OrganizationsViewOrganizations: PermissionKey;
216
+ /**
217
+ * See all organizations within a Layer5 Cloud deployment. See all organizations, teams, and users.
218
+ */
219
+ readonly OrganizationsViewAllOrganizations: PermissionKey;
220
+ /**
221
+ * Remove roles from users in an organization
222
+ */
223
+ readonly OrganizationsRemoveRolesFromOrganizationMembers: PermissionKey;
224
+ /**
225
+ * Assign roles to users in an organization
226
+ */
227
+ readonly OrganizationsAssignRolesToOrganizationMembers: PermissionKey;
228
+ /**
229
+ * Add Kubernetes cluster
230
+ */
231
+ readonly ConnectionsAddCluster: PermissionKey;
232
+ /**
233
+ * Change connection state
234
+ */
235
+ readonly ConnectionsChangeConnectionState: PermissionKey;
236
+ /**
237
+ * Clearing the database by clicking on the `Flush MeshSync`
238
+ */
239
+ readonly ConnectionsFlushMeshsyncData: PermissionKey;
240
+ /**
241
+ * Register discovered Meshsync resource to change state to connection
242
+ */
243
+ readonly ConnectionsRegisterDiscoveredMeshsyncResource: PermissionKey;
244
+ /**
245
+ * Delete a connection
246
+ */
247
+ readonly ConnectionsDeleteAConnection: PermissionKey;
248
+ /**
249
+ * View settings in Meshery
250
+ */
251
+ readonly SettingsViewSettings: PermissionKey;
252
+ /**
253
+ * Configure and connect to Meshery adapters
254
+ */
255
+ readonly SettingsConnectAdapter: PermissionKey;
256
+ /**
257
+ * Configure and connect to metrics like Grafana and Promethues
258
+ */
259
+ readonly SettingsConnectMetrics: PermissionKey;
260
+ /**
261
+ * View already configured metrics
262
+ */
263
+ readonly SettingsViewMetrics: PermissionKey;
264
+ /**
265
+ * Explore entities within capabilities registry
266
+ */
267
+ readonly SettingsViewRegistry: PermissionKey;
268
+ /**
269
+ * Add a new performace profile
270
+ */
271
+ readonly PerformanceAddPerformaceProfile: PermissionKey;
272
+ /**
273
+ * Run a test on performance profile
274
+ */
275
+ readonly PerformanceRunTest: PermissionKey;
276
+ /**
277
+ * View results of performance tests
278
+ */
279
+ readonly PerformanceViewResults: PermissionKey;
280
+ /**
281
+ * Edit performance test
282
+ */
283
+ readonly PerformanceEditPerformanceTest: PermissionKey;
284
+ /**
285
+ * Delete performance test
286
+ */
287
+ readonly PerformanceDeletePerformanceTest: PermissionKey;
288
+ /**
289
+ * View all performance profiles
290
+ */
291
+ readonly PerformanceViewPerformanceProfiles: PermissionKey;
292
+ /**
293
+ * This permission grants the user the ability to manage infrastructure life cycles within meshery. Meshery allows users to visualize, work on and manage various cloud native technologies.
294
+ */
295
+ readonly CloudNativeInfrastructureLifecycleManageCloudNativeInfrastructureLifeCycle: PermissionKey;
296
+ /**
297
+ * Manage configuration for applications like EmojiVoto, HTTPBin, Image Hub, Istio Book Info
298
+ */
299
+ readonly CloudNativeInfrastructureLifecycleManageCloudNativeInfrastructureConfiguration: PermissionKey;
300
+ /**
301
+ * Configure infrastructure with some predefined options like Automatic Sidecar injection, Envoy Filter, Policy
302
+ */
303
+ readonly CloudNativeInfrastructureLifecycleApplyCloudNativeInfrastructureConfiguration: PermissionKey;
304
+ /**
305
+ * Validate cloud native infrastructure configuration against best practices like Analyze Running Configuration, SMI conformance
306
+ */
307
+ readonly CloudNativeInfrastructureLifecycleValidateCloudNativeInfrastructureConfiguration: PermissionKey;
308
+ /**
309
+ * This permission grants the user the ability to apply custom configuration and customize existing configuration of thier cloud native infrastructure
310
+ */
311
+ readonly CloudNativeInfrastructureLifecycleApplyCustomCloudNativeConfiguration: PermissionKey;
312
+ /**
313
+ * This permission grants the user the ability to deploy their infrastructure to a cluster through Meshery. Meshery allows users to visualize, work on and manage various cloud native technologies
314
+ */
315
+ readonly CloudNativeInfrastructureLifecycleDeployCloudNativeInfrastructure: PermissionKey;
316
+ /**
317
+ * This permission grants the user the ability to undeploy their infrastructure from a cluster through Meshery. Meshery allows users to visualize, work on and manage various cloud native technologies
318
+ */
319
+ readonly CloudNativeInfrastructureLifecycleUndeployCloudNativeInfrastructure: PermissionKey;
320
+ /**
321
+ * This permission grants the user the ability to view all cloud native infrastructure in Meshery. Meshery allows users to visualize, work on and manage various cloud native technologies.
322
+ */
323
+ readonly CloudNativeInfrastructureLifecycleViewCloudNativeInfrastructure: PermissionKey;
324
+ /**
325
+ * View all connections within an environment
326
+ */
327
+ readonly ConnectionsViewConnections: PermissionKey;
328
+ /**
329
+ * See all environments within an workspace.
330
+ */
331
+ readonly EnvironmentsViewEnvironment: PermissionKey;
332
+ /**
333
+ * Create a new environment
334
+ */
335
+ readonly EnvironmentsCreateEnvironment: PermissionKey;
336
+ /**
337
+ * Dissolve environment and all connection memberships. Leave associated resources intact.
338
+ */
339
+ readonly EnvironmentsDeleteEnvironment: PermissionKey;
340
+ /**
341
+ * Edit environment and it connection membership
342
+ */
343
+ readonly EnvironmentsEditEnvironment: PermissionKey;
344
+ /**
345
+ * Add new connections to environments
346
+ */
347
+ readonly EnvironmentsAssignConnectionsToEnvironment: PermissionKey;
348
+ /**
349
+ * Remove connections from environment,
350
+ */
351
+ readonly EnvironmentsRemoveConnectionsFromEnvironments: PermissionKey;
352
+ /**
353
+ * View all items in catalog
354
+ */
355
+ readonly CatalogViewCatalog: PermissionKey;
356
+ /**
357
+ * See all workspaces within an organization
358
+ */
359
+ readonly WorkspaceViewWorkspace: PermissionKey;
360
+ /**
361
+ * Dissolve workspace and all team and environment memberships. Leave associated resources intact
362
+ */
363
+ readonly WorkspaceDeleteWorkspace: PermissionKey;
364
+ /**
365
+ * Edit workspace and it's team and environment membership
366
+ */
367
+ readonly WorkspaceEditWorkspace: PermissionKey;
368
+ /**
369
+ * Create new workspace
370
+ */
371
+ readonly WorkspaceCreateWorkspace: PermissionKey;
372
+ /**
373
+ * Add new team to workspace
374
+ */
375
+ readonly WorkspaceAssignTeamToWorkspace: PermissionKey;
376
+ /**
377
+ * Remove team from workspace
378
+ */
379
+ readonly WorkspaceRemoveTeamFromWorkspace: PermissionKey;
380
+ /**
381
+ * Add new environment to workspace
382
+ */
383
+ readonly WorkspaceAssignEnvironmentToWorkspace: PermissionKey;
384
+ /**
385
+ * Remove environment from workspace
386
+ */
387
+ readonly WorkspaceRemoveEnvironmentFromWorkspace: PermissionKey;
388
+ /**
389
+ * Assign designs to workspaces
390
+ */
391
+ readonly WorkspaceAssignDesignsToWorkspaces: PermissionKey;
392
+ /**
393
+ * Remove designs from workspaces
394
+ */
395
+ readonly WorkspaceRemoveDesignsFromWorkspaces: PermissionKey;
396
+ /**
397
+ * Reset Meshery database
398
+ */
399
+ readonly SettingsResetDatabase: PermissionKey;
400
+ /**
401
+ * View and assess the performance of learners and of your organization's academy content.
402
+ */
403
+ readonly AdministrationAccessTheAcademyConsole: PermissionKey;
404
+ };
405
+ /**
406
+ * Type representing all valid permission key names.
407
+ */
408
+ type PermissionKeyName = keyof typeof PermissionKeys;
409
+ /**
410
+ * Type representing all valid permission key values.
411
+ */
412
+ type PermissionKeyValue = typeof PermissionKeys[PermissionKeyName];
413
+ /**
414
+ * Array of all permission keys for iteration.
415
+ */
416
+ declare const AllPermissionKeys: PermissionKey[];
417
+ /**
418
+ * Array of all permission key names for iteration.
419
+ */
420
+ declare const AllPermissionKeyNames: ("CatalogShareDesign" | "CatalogCloneDesign" | "DesignsViewDesigns" | "FiltersViewFilters" | "CatalogRequestsViewCatalogRequests" | "CatalogRequestsApproveCatalogRequest" | "CatalogRequestsDenyCatalogRequest" | "DesignsCreateNewDesign" | "DesignsImportDesign" | "DesignsPublishDesign" | "DesignsUnpublishDesign" | "DesignsValidateDesign" | "DesignsDeployDesign" | "DesignsUndeployDesign" | "DesignsDetailsOfDesign" | "DesignsEditDesign" | "DesignsDeleteADesign" | "DesignsDownloadADesign" | "FiltersImportFilter" | "FiltersDownloadAWasmFilter" | "FiltersDetailsOfWasmFilter" | "FiltersEditWasmFilter" | "FiltersCloneWasmFilter" | "FiltersDeleteWasmFilter" | "ExtensionsInstallExtension" | "ExtensionsViewMesheryUserPreferences" | "ExtensionsViewExtensions" | "UsersViewAllKubernetesClusters" | "TeamsViewTeam" | "TeamsViewTeams" | "TeamsViewAllTeams" | "TeamsAddUserToTeam" | "TeamsInviteUserToTeam" | "TeamsRemoveUserFromTeam" | "TeamsCreateTeam" | "TeamsDeleteTeam" | "TeamsEditTeam" | "TeamsRemoveRolesFromTeamMembers" | "TeamsAssignRolesToTeamMembers" | "TeamsOpenTeamInvite" | "OrganizationsCreateOrganization" | "OrganizationsEditOrganization" | "OrganizationsAddUserToOrganization" | "OrganizationsInviteUserToOrganization" | "OrganizationsRemoveUserFromOrganization" | "OrganizationsPromoteOrDemoteUserToOrgAdmin" | "OrganizationsViewOrg" | "OrganizationsViewOrganizations" | "OrganizationsViewAllOrganizations" | "OrganizationsRemoveRolesFromOrganizationMembers" | "OrganizationsAssignRolesToOrganizationMembers" | "ConnectionsAddCluster" | "ConnectionsChangeConnectionState" | "ConnectionsFlushMeshsyncData" | "ConnectionsRegisterDiscoveredMeshsyncResource" | "ConnectionsDeleteAConnection" | "SettingsViewSettings" | "SettingsConnectAdapter" | "SettingsConnectMetrics" | "SettingsViewMetrics" | "SettingsViewRegistry" | "PerformanceAddPerformaceProfile" | "PerformanceRunTest" | "PerformanceViewResults" | "PerformanceEditPerformanceTest" | "PerformanceDeletePerformanceTest" | "PerformanceViewPerformanceProfiles" | "CloudNativeInfrastructureLifecycleManageCloudNativeInfrastructureLifeCycle" | "CloudNativeInfrastructureLifecycleManageCloudNativeInfrastructureConfiguration" | "CloudNativeInfrastructureLifecycleApplyCloudNativeInfrastructureConfiguration" | "CloudNativeInfrastructureLifecycleValidateCloudNativeInfrastructureConfiguration" | "CloudNativeInfrastructureLifecycleApplyCustomCloudNativeConfiguration" | "CloudNativeInfrastructureLifecycleDeployCloudNativeInfrastructure" | "CloudNativeInfrastructureLifecycleUndeployCloudNativeInfrastructure" | "CloudNativeInfrastructureLifecycleViewCloudNativeInfrastructure" | "ConnectionsViewConnections" | "EnvironmentsViewEnvironment" | "EnvironmentsCreateEnvironment" | "EnvironmentsDeleteEnvironment" | "EnvironmentsEditEnvironment" | "EnvironmentsAssignConnectionsToEnvironment" | "EnvironmentsRemoveConnectionsFromEnvironments" | "CatalogViewCatalog" | "WorkspaceViewWorkspace" | "WorkspaceDeleteWorkspace" | "WorkspaceEditWorkspace" | "WorkspaceCreateWorkspace" | "WorkspaceAssignTeamToWorkspace" | "WorkspaceRemoveTeamFromWorkspace" | "WorkspaceAssignEnvironmentToWorkspace" | "WorkspaceRemoveEnvironmentFromWorkspace" | "WorkspaceAssignDesignsToWorkspaces" | "WorkspaceRemoveDesignsFromWorkspaces" | "SettingsResetDatabase" | "AdministrationAccessTheAcademyConsole")[];
421
+
422
+ export { AllPermissionKeyNames, AllPermissionKeys, type PermissionKey, type PermissionKeyName, type PermissionKeyValue, PermissionKeys, createPermissionKey };