@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.
- package/README.md +294 -23
- package/dist/Core-Wy_3jcVT.d.mts +736 -0
- package/dist/Core-Wy_3jcVT.d.ts +736 -0
- package/dist/cloudApi.d.mts +6873 -3592
- package/dist/cloudApi.d.ts +6873 -3592
- package/dist/cloudApi.js +1 -1
- package/dist/cloudApi.mjs +1 -1
- package/dist/constructs/v1alpha1/capability/Capability.d.mts +115 -0
- package/dist/constructs/v1alpha1/capability/Capability.d.ts +115 -0
- package/dist/constructs/v1alpha1/capability/Capability.js +1 -0
- package/dist/constructs/v1alpha1/capability/Capability.mjs +0 -0
- package/dist/constructs/v1alpha1/capability/CapabilitySchema.d.mts +155 -0
- package/dist/constructs/v1alpha1/capability/CapabilitySchema.d.ts +155 -0
- package/dist/constructs/v1alpha1/capability/CapabilitySchema.js +2 -0
- package/dist/constructs/v1alpha1/capability/CapabilitySchema.mjs +2 -0
- package/dist/constructs/v1alpha1/core/Core.d.mts +1 -0
- package/dist/constructs/v1alpha1/core/Core.d.ts +1 -0
- package/dist/constructs/v1alpha1/core/Core.js +1 -0
- package/dist/constructs/v1alpha1/core/Core.mjs +0 -0
- package/dist/constructs/v1alpha1/core/CoreSchema.d.mts +1649 -0
- package/dist/constructs/v1alpha1/core/CoreSchema.d.ts +1649 -0
- package/dist/constructs/v1alpha1/core/CoreSchema.js +2 -0
- package/dist/constructs/v1alpha1/core/CoreSchema.mjs +2 -0
- package/dist/constructs/v1alpha2/catalog/Catalog.d.mts +46 -0
- package/dist/constructs/v1alpha2/catalog/Catalog.d.ts +46 -0
- package/dist/constructs/v1alpha2/catalog/Catalog.js +1 -0
- package/dist/constructs/v1alpha2/catalog/Catalog.mjs +0 -0
- package/dist/constructs/v1alpha2/catalog/CatalogSchema.d.mts +80 -0
- package/dist/constructs/v1alpha2/catalog/CatalogSchema.d.ts +80 -0
- package/dist/constructs/v1alpha2/catalog/CatalogSchema.js +2 -0
- package/dist/constructs/v1alpha2/catalog/CatalogSchema.mjs +2 -0
- package/dist/constructs/v1beta1/academy/Academy.d.mts +5762 -0
- package/dist/constructs/v1beta1/academy/Academy.d.ts +5762 -0
- package/dist/constructs/v1beta1/academy/Academy.js +1 -0
- package/dist/constructs/v1beta1/academy/Academy.mjs +0 -0
- package/dist/constructs/v1beta1/academy/AcademySchema.d.mts +11838 -0
- package/dist/constructs/v1beta1/academy/AcademySchema.d.ts +11838 -0
- package/dist/constructs/v1beta1/academy/AcademySchema.js +2 -0
- package/dist/constructs/v1beta1/academy/AcademySchema.mjs +2 -0
- package/dist/constructs/v1beta1/badge/Badge.d.mts +253 -0
- package/dist/constructs/v1beta1/badge/Badge.d.ts +253 -0
- package/dist/constructs/v1beta1/badge/Badge.js +1 -0
- package/dist/constructs/v1beta1/badge/Badge.mjs +0 -0
- package/dist/constructs/v1beta1/badge/BadgeSchema.d.mts +519 -0
- package/dist/constructs/v1beta1/badge/BadgeSchema.d.ts +519 -0
- package/dist/constructs/v1beta1/badge/BadgeSchema.js +2 -0
- package/dist/constructs/v1beta1/badge/BadgeSchema.mjs +2 -0
- package/dist/constructs/v1beta1/category/Category.d.mts +33 -0
- package/dist/constructs/v1beta1/category/Category.d.ts +33 -0
- package/dist/constructs/v1beta1/category/Category.js +1 -0
- package/dist/constructs/v1beta1/category/Category.mjs +0 -0
- package/dist/constructs/v1beta1/category/CategorySchema.d.mts +60 -0
- package/dist/constructs/v1beta1/category/CategorySchema.d.ts +60 -0
- package/dist/constructs/v1beta1/category/CategorySchema.js +2 -0
- package/dist/constructs/v1beta1/category/CategorySchema.mjs +2 -0
- package/dist/constructs/v1beta1/component/Component.d.mts +737 -0
- package/dist/constructs/v1beta1/component/Component.d.ts +737 -0
- package/dist/constructs/v1beta1/component/Component.js +1 -0
- package/dist/constructs/v1beta1/component/Component.mjs +0 -0
- package/dist/constructs/v1beta1/component/ComponentSchema.d.mts +1751 -0
- package/dist/constructs/v1beta1/component/ComponentSchema.d.ts +1751 -0
- package/dist/constructs/v1beta1/component/ComponentSchema.js +10 -0
- package/dist/constructs/v1beta1/component/ComponentSchema.mjs +10 -0
- package/dist/constructs/v1beta1/connection/Connection.d.mts +186 -0
- package/dist/constructs/v1beta1/connection/Connection.d.ts +186 -0
- package/dist/constructs/v1beta1/connection/Connection.js +1 -0
- package/dist/constructs/v1beta1/connection/Connection.mjs +0 -0
- package/dist/constructs/v1beta1/connection/ConnectionSchema.d.mts +612 -0
- package/dist/constructs/v1beta1/connection/ConnectionSchema.d.ts +612 -0
- package/dist/constructs/v1beta1/connection/ConnectionSchema.js +2 -0
- package/dist/constructs/v1beta1/connection/ConnectionSchema.mjs +2 -0
- package/dist/constructs/v1beta1/environment/Environment.d.mts +307 -0
- package/dist/constructs/v1beta1/environment/Environment.d.ts +307 -0
- package/dist/constructs/v1beta1/environment/Environment.js +1 -0
- package/dist/constructs/v1beta1/environment/Environment.mjs +0 -0
- package/dist/constructs/v1beta1/environment/EnvironmentSchema.d.mts +904 -0
- package/dist/constructs/v1beta1/environment/EnvironmentSchema.d.ts +904 -0
- package/dist/constructs/v1beta1/environment/EnvironmentSchema.js +2 -0
- package/dist/constructs/v1beta1/environment/EnvironmentSchema.mjs +2 -0
- package/dist/constructs/v1beta1/evaluation/Evaluation.d.mts +5729 -0
- package/dist/constructs/v1beta1/evaluation/Evaluation.d.ts +5729 -0
- package/dist/constructs/v1beta1/evaluation/Evaluation.js +1 -0
- package/dist/constructs/v1beta1/evaluation/Evaluation.mjs +0 -0
- package/dist/constructs/v1beta1/evaluation/EvaluationSchema.d.mts +15473 -0
- package/dist/constructs/v1beta1/evaluation/EvaluationSchema.d.ts +15473 -0
- package/dist/constructs/v1beta1/evaluation/EvaluationSchema.js +210 -0
- package/dist/constructs/v1beta1/evaluation/EvaluationSchema.mjs +210 -0
- package/dist/constructs/v1beta1/event/Event.d.mts +177 -0
- package/dist/constructs/v1beta1/event/Event.d.ts +177 -0
- package/dist/constructs/v1beta1/event/Event.js +1 -0
- package/dist/constructs/v1beta1/event/Event.mjs +0 -0
- package/dist/constructs/v1beta1/event/EventSchema.d.mts +360 -0
- package/dist/constructs/v1beta1/event/EventSchema.d.ts +360 -0
- package/dist/constructs/v1beta1/event/EventSchema.js +1 -0
- package/dist/constructs/v1beta1/event/EventSchema.mjs +1 -0
- package/dist/constructs/v1beta1/feature/Feature.d.mts +287 -0
- package/dist/constructs/v1beta1/feature/Feature.d.ts +287 -0
- package/dist/constructs/v1beta1/feature/Feature.js +1 -0
- package/dist/constructs/v1beta1/feature/Feature.mjs +0 -0
- package/dist/constructs/v1beta1/feature/FeatureSchema.d.mts +773 -0
- package/dist/constructs/v1beta1/feature/FeatureSchema.d.ts +773 -0
- package/dist/constructs/v1beta1/feature/FeatureSchema.js +1 -0
- package/dist/constructs/v1beta1/feature/FeatureSchema.mjs +1 -0
- package/dist/constructs/v1beta1/invitation/Invitation.d.mts +644 -0
- package/dist/constructs/v1beta1/invitation/Invitation.d.ts +644 -0
- package/dist/constructs/v1beta1/invitation/Invitation.js +1 -0
- package/dist/constructs/v1beta1/invitation/Invitation.mjs +0 -0
- package/dist/constructs/v1beta1/invitation/InvitationSchema.d.mts +1652 -0
- package/dist/constructs/v1beta1/invitation/InvitationSchema.d.ts +1652 -0
- package/dist/constructs/v1beta1/invitation/InvitationSchema.js +1 -0
- package/dist/constructs/v1beta1/invitation/InvitationSchema.mjs +1 -0
- package/dist/constructs/v1beta1/key/Key.d.mts +409 -0
- package/dist/constructs/v1beta1/key/Key.d.ts +409 -0
- package/dist/constructs/v1beta1/key/Key.js +1 -0
- package/dist/constructs/v1beta1/key/Key.mjs +0 -0
- package/dist/constructs/v1beta1/key/KeySchema.d.mts +1029 -0
- package/dist/constructs/v1beta1/key/KeySchema.d.ts +1029 -0
- package/dist/constructs/v1beta1/key/KeySchema.js +1 -0
- package/dist/constructs/v1beta1/key/KeySchema.mjs +1 -0
- package/dist/constructs/v1beta1/keychain/Keychain.d.mts +641 -0
- package/dist/constructs/v1beta1/keychain/Keychain.d.ts +641 -0
- package/dist/constructs/v1beta1/keychain/Keychain.js +1 -0
- package/dist/constructs/v1beta1/keychain/Keychain.mjs +0 -0
- package/dist/constructs/v1beta1/keychain/KeychainSchema.d.mts +1541 -0
- package/dist/constructs/v1beta1/keychain/KeychainSchema.d.ts +1541 -0
- package/dist/constructs/v1beta1/keychain/KeychainSchema.js +1 -0
- package/dist/constructs/v1beta1/keychain/KeychainSchema.mjs +1 -0
- package/dist/constructs/v1beta1/model/Model.d.mts +474 -0
- package/dist/constructs/v1beta1/model/Model.d.ts +474 -0
- package/dist/constructs/v1beta1/model/Model.js +1 -0
- package/dist/constructs/v1beta1/model/Model.mjs +0 -0
- package/dist/constructs/v1beta1/model/ModelSchema.d.mts +1281 -0
- package/dist/constructs/v1beta1/model/ModelSchema.d.ts +1281 -0
- package/dist/constructs/v1beta1/model/ModelSchema.js +6 -0
- package/dist/constructs/v1beta1/model/ModelSchema.mjs +6 -0
- package/dist/constructs/v1beta1/organization/Organization.d.mts +268 -0
- package/dist/constructs/v1beta1/organization/Organization.d.ts +268 -0
- package/dist/constructs/v1beta1/organization/Organization.js +1 -0
- package/dist/constructs/v1beta1/organization/Organization.mjs +0 -0
- package/dist/constructs/v1beta1/organization/OrganizationSchema.d.mts +765 -0
- package/dist/constructs/v1beta1/organization/OrganizationSchema.d.ts +765 -0
- package/dist/constructs/v1beta1/organization/OrganizationSchema.js +1 -0
- package/dist/constructs/v1beta1/organization/OrganizationSchema.mjs +1 -0
- package/dist/constructs/v1beta1/pattern/Pattern.d.mts +5776 -0
- package/dist/constructs/v1beta1/pattern/Pattern.d.ts +5776 -0
- package/dist/constructs/v1beta1/pattern/Pattern.js +1 -0
- package/dist/constructs/v1beta1/pattern/Pattern.mjs +0 -0
- package/dist/constructs/v1beta1/pattern/PatternSchema.d.mts +15669 -0
- package/dist/constructs/v1beta1/pattern/PatternSchema.d.ts +15669 -0
- package/dist/constructs/v1beta1/pattern/PatternSchema.js +210 -0
- package/dist/constructs/v1beta1/pattern/PatternSchema.mjs +210 -0
- package/dist/constructs/v1beta1/plan/Plan.d.mts +120 -0
- package/dist/constructs/v1beta1/plan/Plan.d.ts +120 -0
- package/dist/constructs/v1beta1/plan/Plan.js +1 -0
- package/dist/constructs/v1beta1/plan/Plan.mjs +0 -0
- package/dist/constructs/v1beta1/plan/PlanSchema.d.mts +322 -0
- package/dist/constructs/v1beta1/plan/PlanSchema.d.ts +322 -0
- package/dist/constructs/v1beta1/plan/PlanSchema.js +1 -0
- package/dist/constructs/v1beta1/plan/PlanSchema.mjs +1 -0
- package/dist/constructs/v1beta1/subcategory/Subcategory.d.mts +23 -0
- package/dist/constructs/v1beta1/subcategory/Subcategory.d.ts +23 -0
- package/dist/constructs/v1beta1/subcategory/Subcategory.js +1 -0
- package/dist/constructs/v1beta1/subcategory/Subcategory.mjs +0 -0
- package/dist/constructs/v1beta1/subcategory/SubcategorySchema.d.mts +33 -0
- package/dist/constructs/v1beta1/subcategory/SubcategorySchema.d.ts +33 -0
- package/dist/constructs/v1beta1/subcategory/SubcategorySchema.js +2 -0
- package/dist/constructs/v1beta1/subcategory/SubcategorySchema.mjs +2 -0
- package/dist/constructs/v1beta1/subscription/Subscription.d.mts +624 -0
- package/dist/constructs/v1beta1/subscription/Subscription.d.ts +624 -0
- package/dist/constructs/v1beta1/subscription/Subscription.js +1 -0
- package/dist/constructs/v1beta1/subscription/Subscription.mjs +0 -0
- package/dist/constructs/v1beta1/subscription/SubscriptionSchema.d.mts +1642 -0
- package/dist/constructs/v1beta1/subscription/SubscriptionSchema.d.ts +1642 -0
- package/dist/constructs/v1beta1/subscription/SubscriptionSchema.js +2 -0
- package/dist/constructs/v1beta1/subscription/SubscriptionSchema.mjs +2 -0
- package/dist/constructs/v1beta1/user/User.d.mts +473 -0
- package/dist/constructs/v1beta1/user/User.d.ts +473 -0
- package/dist/constructs/v1beta1/user/User.js +1 -0
- package/dist/constructs/v1beta1/user/User.mjs +0 -0
- package/dist/constructs/v1beta1/user/UserSchema.d.mts +1112 -0
- package/dist/constructs/v1beta1/user/UserSchema.d.ts +1112 -0
- package/dist/constructs/v1beta1/user/UserSchema.js +1 -0
- package/dist/constructs/v1beta1/user/UserSchema.mjs +1 -0
- package/dist/constructs/v1beta1/workspace/Workspace.d.mts +303 -0
- package/dist/constructs/v1beta1/workspace/Workspace.d.ts +303 -0
- package/dist/constructs/v1beta1/workspace/Workspace.js +1 -0
- package/dist/constructs/v1beta1/workspace/Workspace.mjs +0 -0
- package/dist/constructs/v1beta1/workspace/WorkspaceSchema.d.mts +964 -0
- package/dist/constructs/v1beta1/workspace/WorkspaceSchema.d.ts +964 -0
- package/dist/constructs/v1beta1/workspace/WorkspaceSchema.js +2 -0
- package/dist/constructs/v1beta1/workspace/WorkspaceSchema.mjs +2 -0
- package/dist/index.d.mts +40 -34677
- package/dist/index.d.ts +40 -34677
- package/dist/index.js +29 -93
- package/dist/index.mjs +29 -93
- package/dist/mesheryApi.d.mts +1751 -653
- package/dist/mesheryApi.d.ts +1751 -653
- package/dist/mesheryApi.js +1 -1
- package/dist/mesheryApi.mjs +1 -1
- package/dist/permissions.d.mts +422 -0
- package/dist/permissions.d.ts +422 -0
- package/dist/permissions.js +1 -0
- package/dist/permissions.mjs +1 -0
- package/package.json +52 -48
|
@@ -0,0 +1 @@
|
|
|
1
|
+
'use strict';var e={openapi:"3.0.3",info:{title:"User Schema",version:"1.0.0"},paths:{},components:{schemas:{User:{type:"object",description:"Represents a user in Layer5 Cloud (Meshery)",required:["id","user_id","provider","email","first_name","last_name","status","created_at","updated_at","last_login_time","deleted_at"],properties:{id:{description:"Unique identifier for the user","x-go-name":"ID","x-oapi-codegen-extra-tags":{db:"id",json:"id",yaml:"id"},type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"}},user_id:{type:"string",maxLength:200,description:"User identifier (username or external ID)","x-oapi-codegen-extra-tags":{db:"user_id",json:"user_id",yaml:"user_id"}},provider:{type:"string",maxLength:100,description:"Authentication provider (e.g., Layer5 Cloud, Twitter, Facebook, Github)",example:["local","github","google","twitter"],"x-oapi-codegen-extra-tags":{db:"provider",json:"provider",yaml:"provider"}},email:{type:"string",format:"email",maxLength:300,description:"User's email address","x-oapi-codegen-extra-tags":{db:"email",json:"email",yaml:"email"}},first_name:{type:"string",maxLength:200,description:"User's first name","x-oapi-codegen-extra-tags":{db:"first_name",json:"first_name",yaml:"first_name"}},last_name:{type:"string",maxLength:300,description:"User's last name","x-oapi-codegen-extra-tags":{db:"last_name",json:"last_name",yaml:"last_name"}},avatar_url:{type:"string",format:"uri",maxLength:500,description:"URL to user's avatar image","x-oapi-codegen-extra-tags":{db:"avatar_url",json:"avatar_url",yaml:"avatar_url"}},status:{type:"string",maxLength:100,enum:["active","inactive","pending","anonymous"],description:"User account status","x-oapi-codegen-extra-tags":{db:"status",json:"status",yaml:"status"}},bio:{type:"string",maxLength:1e3,default:"",description:"User's biography or description","x-oapi-codegen-extra-tags":{db:"bio",json:"bio",yaml:"bio"}},country:{type:"object",description:"User's country information stored as JSONB",additionalProperties:true,"x-go-type":"core.Map","x-oapi-codegen-extra-tags":{db:"country",json:"country",yaml:"country"}},region:{type:"object",description:"User's region information stored as JSONB",additionalProperties:true,"x-go-type":"core.Map","x-oapi-codegen-extra-tags":{db:"region",json:"region",yaml:"region"}},preferences:{"x-go-type":"Preference",description:"User preferences stored as JSONB","x-oapi-codegen-extra-tags":{db:"preferences",json:"preferences",yaml:"preferences"},type:"object",required:["anonymousUsageStats","anonymousPerfResults","updatedAt","dashboardPreferences","selectedOrganizationID","selectedWorkspaceForOrganizations","usersExtensionPreferences","RemoteProviderPreferences"],properties:{meshAdapters:{type:"array",items:{"x-go-type":"Adapter",type:"object",description:"Placeholder for Adapter struct definition."}},grafana:{"x-go-type":"Grafana",type:"object",properties:{grafanaURL:{type:"string"},grafanaAPIKey:{type:"string"},selectedBoardsConfigs:{type:"array",items:{type:"object",properties:{board:{type:"object",description:"Placeholder for GrafanaBoard definition (define fields as needed)"},panels:{type:"array",items:{type:"object",description:"Grafana panel structure imported from github.com/grafana-tools/sdk"}},templateVars:{type:"array",items:{type:"string"}}}}}}},prometheus:{"x-go-type":"Prometheus",type:"object",properties:{prometheusURL:{type:"string"},selectedPrometheusBoardsConfigs:{type:"array",items:{type:"object",properties:{board:{type:"object",description:"Placeholder for GrafanaBoard definition (define fields as needed)"},panels:{type:"array",items:{type:"object",description:"Grafana panel structure imported from github.com/grafana-tools/sdk"}},templateVars:{type:"array",items:{type:"string"}}}}}}},loadTestPrefs:{"x-go-type":"LoadTestPreferences",type:"object",properties:{c:{type:"integer",description:"Concurrent requests"},qps:{type:"integer",description:"Queries per second"},t:{type:"string",description:"Duration"},gen:{type:"string",description:"Load generator"}}},anonymousUsageStats:{type:"boolean"},anonymousPerfResults:{type:"boolean"},updated_at:{type:"string",format:"date-time"},dashboardPreferences:{type:"object",additionalProperties:true},selectedOrganizationID:{type:"string"},selectedWorkspaceForOrganizations:{type:"object",additionalProperties:{type:"string"}},usersExtensionPreferences:{type:"object",additionalProperties:true},remoteProviderPreferences:{type:"object",additionalProperties:true}}},accepted_terms_at:{description:"Timestamp when user accepted terms and conditions","x-oapi-codegen-extra-tags":{db:"accepted_terms_at",json:"accepted_terms_at",yaml:"accepted_terms_at"},type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},first_login_time:{description:"Timestamp of user's first login","x-oapi-codegen-extra-tags":{db:"first_login_time",json:"first_login_time",yaml:"first_login_time"},type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},last_login_time:{description:"Timestamp of user's most recent login","x-oapi-codegen-extra-tags":{db:"last_login_time",json:"last_login_time",yaml:"last_login_time"},type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},created_at:{description:"Timestamp when the user record was created","x-oapi-codegen-extra-tags":{db:"created_at",json:"created_at",yaml:"created_at"},type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},updated_at:{description:"Timestamp when the user record was last updated","x-oapi-codegen-extra-tags":{db:"updated_at",json:"updated_at",yaml:"updated_at"},type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},socials:{type:"array",description:"Various online profiles associated with the user account","x-go-type":"UserSocials",items:{"x-go-type":"Social",description:"Various online profiles associated with the user account, like GitHub, LinkedIn, X, and so on.",type:"object",properties:{site:{type:"string",maxLength:50},link:{type:"string",format:"uri"}},required:["site","link"]},"x-oapi-codegen-extra-tags":{db:"socials",json:"socials",yaml:"socials"}},deleted_at:{type:"string",format:"date-time",nullable:true,description:"Timestamp when the user record was soft-deleted (null if not deleted)","x-go-type":"core.NullTime","x-oapi-codegen-extra-tags":{db:"deleted_at",json:"deleted_at",yaml:"deleted_at"}}},additionalProperties:false},GetUserResponse:{description:"Response schema for getting user information, includes user data with roles, teams, and organizations",allOf:[{type:"object",description:"Represents a user in Layer5 Cloud (Meshery)",required:["id","user_id","provider","email","first_name","last_name","status","created_at","updated_at","last_login_time","deleted_at"],properties:{id:{description:"Unique identifier for the user","x-go-name":"ID","x-oapi-codegen-extra-tags":{db:"id",json:"id",yaml:"id"},type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"}},user_id:{type:"string",maxLength:200,description:"User identifier (username or external ID)","x-oapi-codegen-extra-tags":{db:"user_id",json:"user_id",yaml:"user_id"}},provider:{type:"string",maxLength:100,description:"Authentication provider (e.g., Layer5 Cloud, Twitter, Facebook, Github)",example:["local","github","google","twitter"],"x-oapi-codegen-extra-tags":{db:"provider",json:"provider",yaml:"provider"}},email:{type:"string",format:"email",maxLength:300,description:"User's email address","x-oapi-codegen-extra-tags":{db:"email",json:"email",yaml:"email"}},first_name:{type:"string",maxLength:200,description:"User's first name","x-oapi-codegen-extra-tags":{db:"first_name",json:"first_name",yaml:"first_name"}},last_name:{type:"string",maxLength:300,description:"User's last name","x-oapi-codegen-extra-tags":{db:"last_name",json:"last_name",yaml:"last_name"}},avatar_url:{type:"string",format:"uri",maxLength:500,description:"URL to user's avatar image","x-oapi-codegen-extra-tags":{db:"avatar_url",json:"avatar_url",yaml:"avatar_url"}},status:{type:"string",maxLength:100,enum:["active","inactive","pending","anonymous"],description:"User account status","x-oapi-codegen-extra-tags":{db:"status",json:"status",yaml:"status"}},bio:{type:"string",maxLength:1e3,default:"",description:"User's biography or description","x-oapi-codegen-extra-tags":{db:"bio",json:"bio",yaml:"bio"}},country:{type:"object",description:"User's country information stored as JSONB",additionalProperties:true,"x-go-type":"core.Map","x-oapi-codegen-extra-tags":{db:"country",json:"country",yaml:"country"}},region:{type:"object",description:"User's region information stored as JSONB",additionalProperties:true,"x-go-type":"core.Map","x-oapi-codegen-extra-tags":{db:"region",json:"region",yaml:"region"}},preferences:{"x-go-type":"Preference",description:"User preferences stored as JSONB","x-oapi-codegen-extra-tags":{db:"preferences",json:"preferences",yaml:"preferences"},type:"object",required:["anonymousUsageStats","anonymousPerfResults","updatedAt","dashboardPreferences","selectedOrganizationID","selectedWorkspaceForOrganizations","usersExtensionPreferences","RemoteProviderPreferences"],properties:{meshAdapters:{type:"array",items:{"x-go-type":"Adapter",type:"object",description:"Placeholder for Adapter struct definition."}},grafana:{"x-go-type":"Grafana",type:"object",properties:{grafanaURL:{type:"string"},grafanaAPIKey:{type:"string"},selectedBoardsConfigs:{type:"array",items:{type:"object",properties:{board:{type:"object",description:"Placeholder for GrafanaBoard definition (define fields as needed)"},panels:{type:"array",items:{type:"object",description:"Grafana panel structure imported from github.com/grafana-tools/sdk"}},templateVars:{type:"array",items:{type:"string"}}}}}}},prometheus:{"x-go-type":"Prometheus",type:"object",properties:{prometheusURL:{type:"string"},selectedPrometheusBoardsConfigs:{type:"array",items:{type:"object",properties:{board:{type:"object",description:"Placeholder for GrafanaBoard definition (define fields as needed)"},panels:{type:"array",items:{type:"object",description:"Grafana panel structure imported from github.com/grafana-tools/sdk"}},templateVars:{type:"array",items:{type:"string"}}}}}}},loadTestPrefs:{"x-go-type":"LoadTestPreferences",type:"object",properties:{c:{type:"integer",description:"Concurrent requests"},qps:{type:"integer",description:"Queries per second"},t:{type:"string",description:"Duration"},gen:{type:"string",description:"Load generator"}}},anonymousUsageStats:{type:"boolean"},anonymousPerfResults:{type:"boolean"},updated_at:{type:"string",format:"date-time"},dashboardPreferences:{type:"object",additionalProperties:true},selectedOrganizationID:{type:"string"},selectedWorkspaceForOrganizations:{type:"object",additionalProperties:{type:"string"}},usersExtensionPreferences:{type:"object",additionalProperties:true},remoteProviderPreferences:{type:"object",additionalProperties:true}}},accepted_terms_at:{description:"Timestamp when user accepted terms and conditions","x-oapi-codegen-extra-tags":{db:"accepted_terms_at",json:"accepted_terms_at",yaml:"accepted_terms_at"},type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},first_login_time:{description:"Timestamp of user's first login","x-oapi-codegen-extra-tags":{db:"first_login_time",json:"first_login_time",yaml:"first_login_time"},type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},last_login_time:{description:"Timestamp of user's most recent login","x-oapi-codegen-extra-tags":{db:"last_login_time",json:"last_login_time",yaml:"last_login_time"},type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},created_at:{description:"Timestamp when the user record was created","x-oapi-codegen-extra-tags":{db:"created_at",json:"created_at",yaml:"created_at"},type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},updated_at:{description:"Timestamp when the user record was last updated","x-oapi-codegen-extra-tags":{db:"updated_at",json:"updated_at",yaml:"updated_at"},type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},socials:{type:"array",description:"Various online profiles associated with the user account","x-go-type":"UserSocials",items:{"x-go-type":"Social",description:"Various online profiles associated with the user account, like GitHub, LinkedIn, X, and so on.",type:"object",properties:{site:{type:"string",maxLength:50},link:{type:"string",format:"uri"}},required:["site","link"]},"x-oapi-codegen-extra-tags":{db:"socials",json:"socials",yaml:"socials"}},deleted_at:{type:"string",format:"date-time",nullable:true,description:"Timestamp when the user record was soft-deleted (null if not deleted)","x-go-type":"core.NullTime","x-oapi-codegen-extra-tags":{db:"deleted_at",json:"deleted_at",yaml:"deleted_at"}}},additionalProperties:false},{type:"object",properties:{role_names:{type:"array",items:{type:"string",enum:["admin","meshmap","curator","team admin","workspace admin","workspace manager","organization admin","user"]},description:"List of global roles assigned to the user",example:[["admin","meshmap"],["user"]],"x-oapi-codegen-extra-tags":{db:"role_names",json:"role_names",yaml:"role_names"}},teams:{type:"object",description:"Teams the user belongs to with role information","x-oapi-codegen-extra-tags":{db:"teams",json:"teams",yaml:"teams"},properties:{teams_with_roles:{type:"array",items:{type:"object"},"x-oapi-codegen-extra-tags":{db:"teams_with_roles",json:"teams_with_roles",yaml:"teams_with_roles"}},total_count:{type:"integer","x-oapi-codegen-extra-tags":{db:"total_count",json:"total_count",yaml:"total_count"}}}},organizations:{type:"object",description:"Organizations the user belongs to with role information","x-oapi-codegen-extra-tags":{db:"organizations",json:"organizations",yaml:"organizations"},properties:{organizations_with_roles:{type:"array",items:{type:"object"},"x-oapi-codegen-extra-tags":{db:"organizations_with_roles",json:"organizations_with_roles",yaml:"organizations_with_roles"}},total_count:{type:"integer","x-oapi-codegen-extra-tags":{db:"total_count",json:"total_count",yaml:"total_count"}}}}}}]},Preference:{type:"object",required:["anonymousUsageStats","anonymousPerfResults","updatedAt","dashboardPreferences","selectedOrganizationID","selectedWorkspaceForOrganizations","usersExtensionPreferences","RemoteProviderPreferences"],properties:{meshAdapters:{type:"array",items:{"x-go-type":"Adapter",type:"object",description:"Placeholder for Adapter struct definition."}},grafana:{"x-go-type":"Grafana",type:"object",properties:{grafanaURL:{type:"string"},grafanaAPIKey:{type:"string"},selectedBoardsConfigs:{type:"array",items:{type:"object",properties:{board:{type:"object",description:"Placeholder for GrafanaBoard definition (define fields as needed)"},panels:{type:"array",items:{type:"object",description:"Grafana panel structure imported from github.com/grafana-tools/sdk"}},templateVars:{type:"array",items:{type:"string"}}}}}}},prometheus:{"x-go-type":"Prometheus",type:"object",properties:{prometheusURL:{type:"string"},selectedPrometheusBoardsConfigs:{type:"array",items:{type:"object",properties:{board:{type:"object",description:"Placeholder for GrafanaBoard definition (define fields as needed)"},panels:{type:"array",items:{type:"object",description:"Grafana panel structure imported from github.com/grafana-tools/sdk"}},templateVars:{type:"array",items:{type:"string"}}}}}}},loadTestPrefs:{"x-go-type":"LoadTestPreferences",type:"object",properties:{c:{type:"integer",description:"Concurrent requests"},qps:{type:"integer",description:"Queries per second"},t:{type:"string",description:"Duration"},gen:{type:"string",description:"Load generator"}}},anonymousUsageStats:{type:"boolean"},anonymousPerfResults:{type:"boolean"},updated_at:{type:"string",format:"date-time"},dashboardPreferences:{type:"object",additionalProperties:true},selectedOrganizationID:{type:"string"},selectedWorkspaceForOrganizations:{type:"object",additionalProperties:{type:"string"}},usersExtensionPreferences:{type:"object",additionalProperties:true},remoteProviderPreferences:{type:"object",additionalProperties:true}}},Adapter:{type:"object",description:"Placeholder for Adapter struct definition."},Grafana:{type:"object",properties:{grafanaURL:{type:"string"},grafanaAPIKey:{type:"string"},selectedBoardsConfigs:{type:"array",items:{type:"object",properties:{board:{type:"object",description:"Placeholder for GrafanaBoard definition (define fields as needed)"},panels:{type:"array",items:{type:"object",description:"Grafana panel structure imported from github.com/grafana-tools/sdk"}},templateVars:{type:"array",items:{type:"string"}}}}}}},SelectedGrafanaConfig:{type:"object",properties:{board:{type:"object",description:"Placeholder for GrafanaBoard definition (define fields as needed)"},panels:{type:"array",items:{type:"object",description:"Grafana panel structure imported from github.com/grafana-tools/sdk"}},templateVars:{type:"array",items:{type:"string"}}}},GrafanaBoard:{type:"object",description:"Placeholder for GrafanaBoard definition (define fields as needed)"},Panel:{type:"object",description:"Grafana panel structure imported from github.com/grafana-tools/sdk"},Prometheus:{type:"object",properties:{prometheusURL:{type:"string"},selectedPrometheusBoardsConfigs:{type:"array",items:{type:"object",properties:{board:{type:"object",description:"Placeholder for GrafanaBoard definition (define fields as needed)"},panels:{type:"array",items:{type:"object",description:"Grafana panel structure imported from github.com/grafana-tools/sdk"}},templateVars:{type:"array",items:{type:"string"}}}}}}},LoadTestPreferences:{type:"object",properties:{c:{type:"integer",description:"Concurrent requests"},qps:{type:"integer",description:"Queries per second"},t:{type:"string",description:"Duration"},gen:{type:"string",description:"Load generator"}}},Social:{description:"Various online profiles associated with the user account, like GitHub, LinkedIn, X, and so on.",type:"object",properties:{site:{type:"string",maxLength:50},link:{type:"string",format:"uri"}},required:["site","link"]}}}},t=e;module.exports=t;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var e={openapi:"3.0.3",info:{title:"User Schema",version:"1.0.0"},paths:{},components:{schemas:{User:{type:"object",description:"Represents a user in Layer5 Cloud (Meshery)",required:["id","user_id","provider","email","first_name","last_name","status","created_at","updated_at","last_login_time","deleted_at"],properties:{id:{description:"Unique identifier for the user","x-go-name":"ID","x-oapi-codegen-extra-tags":{db:"id",json:"id",yaml:"id"},type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"}},user_id:{type:"string",maxLength:200,description:"User identifier (username or external ID)","x-oapi-codegen-extra-tags":{db:"user_id",json:"user_id",yaml:"user_id"}},provider:{type:"string",maxLength:100,description:"Authentication provider (e.g., Layer5 Cloud, Twitter, Facebook, Github)",example:["local","github","google","twitter"],"x-oapi-codegen-extra-tags":{db:"provider",json:"provider",yaml:"provider"}},email:{type:"string",format:"email",maxLength:300,description:"User's email address","x-oapi-codegen-extra-tags":{db:"email",json:"email",yaml:"email"}},first_name:{type:"string",maxLength:200,description:"User's first name","x-oapi-codegen-extra-tags":{db:"first_name",json:"first_name",yaml:"first_name"}},last_name:{type:"string",maxLength:300,description:"User's last name","x-oapi-codegen-extra-tags":{db:"last_name",json:"last_name",yaml:"last_name"}},avatar_url:{type:"string",format:"uri",maxLength:500,description:"URL to user's avatar image","x-oapi-codegen-extra-tags":{db:"avatar_url",json:"avatar_url",yaml:"avatar_url"}},status:{type:"string",maxLength:100,enum:["active","inactive","pending","anonymous"],description:"User account status","x-oapi-codegen-extra-tags":{db:"status",json:"status",yaml:"status"}},bio:{type:"string",maxLength:1e3,default:"",description:"User's biography or description","x-oapi-codegen-extra-tags":{db:"bio",json:"bio",yaml:"bio"}},country:{type:"object",description:"User's country information stored as JSONB",additionalProperties:true,"x-go-type":"core.Map","x-oapi-codegen-extra-tags":{db:"country",json:"country",yaml:"country"}},region:{type:"object",description:"User's region information stored as JSONB",additionalProperties:true,"x-go-type":"core.Map","x-oapi-codegen-extra-tags":{db:"region",json:"region",yaml:"region"}},preferences:{"x-go-type":"Preference",description:"User preferences stored as JSONB","x-oapi-codegen-extra-tags":{db:"preferences",json:"preferences",yaml:"preferences"},type:"object",required:["anonymousUsageStats","anonymousPerfResults","updatedAt","dashboardPreferences","selectedOrganizationID","selectedWorkspaceForOrganizations","usersExtensionPreferences","RemoteProviderPreferences"],properties:{meshAdapters:{type:"array",items:{"x-go-type":"Adapter",type:"object",description:"Placeholder for Adapter struct definition."}},grafana:{"x-go-type":"Grafana",type:"object",properties:{grafanaURL:{type:"string"},grafanaAPIKey:{type:"string"},selectedBoardsConfigs:{type:"array",items:{type:"object",properties:{board:{type:"object",description:"Placeholder for GrafanaBoard definition (define fields as needed)"},panels:{type:"array",items:{type:"object",description:"Grafana panel structure imported from github.com/grafana-tools/sdk"}},templateVars:{type:"array",items:{type:"string"}}}}}}},prometheus:{"x-go-type":"Prometheus",type:"object",properties:{prometheusURL:{type:"string"},selectedPrometheusBoardsConfigs:{type:"array",items:{type:"object",properties:{board:{type:"object",description:"Placeholder for GrafanaBoard definition (define fields as needed)"},panels:{type:"array",items:{type:"object",description:"Grafana panel structure imported from github.com/grafana-tools/sdk"}},templateVars:{type:"array",items:{type:"string"}}}}}}},loadTestPrefs:{"x-go-type":"LoadTestPreferences",type:"object",properties:{c:{type:"integer",description:"Concurrent requests"},qps:{type:"integer",description:"Queries per second"},t:{type:"string",description:"Duration"},gen:{type:"string",description:"Load generator"}}},anonymousUsageStats:{type:"boolean"},anonymousPerfResults:{type:"boolean"},updated_at:{type:"string",format:"date-time"},dashboardPreferences:{type:"object",additionalProperties:true},selectedOrganizationID:{type:"string"},selectedWorkspaceForOrganizations:{type:"object",additionalProperties:{type:"string"}},usersExtensionPreferences:{type:"object",additionalProperties:true},remoteProviderPreferences:{type:"object",additionalProperties:true}}},accepted_terms_at:{description:"Timestamp when user accepted terms and conditions","x-oapi-codegen-extra-tags":{db:"accepted_terms_at",json:"accepted_terms_at",yaml:"accepted_terms_at"},type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},first_login_time:{description:"Timestamp of user's first login","x-oapi-codegen-extra-tags":{db:"first_login_time",json:"first_login_time",yaml:"first_login_time"},type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},last_login_time:{description:"Timestamp of user's most recent login","x-oapi-codegen-extra-tags":{db:"last_login_time",json:"last_login_time",yaml:"last_login_time"},type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},created_at:{description:"Timestamp when the user record was created","x-oapi-codegen-extra-tags":{db:"created_at",json:"created_at",yaml:"created_at"},type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},updated_at:{description:"Timestamp when the user record was last updated","x-oapi-codegen-extra-tags":{db:"updated_at",json:"updated_at",yaml:"updated_at"},type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},socials:{type:"array",description:"Various online profiles associated with the user account","x-go-type":"UserSocials",items:{"x-go-type":"Social",description:"Various online profiles associated with the user account, like GitHub, LinkedIn, X, and so on.",type:"object",properties:{site:{type:"string",maxLength:50},link:{type:"string",format:"uri"}},required:["site","link"]},"x-oapi-codegen-extra-tags":{db:"socials",json:"socials",yaml:"socials"}},deleted_at:{type:"string",format:"date-time",nullable:true,description:"Timestamp when the user record was soft-deleted (null if not deleted)","x-go-type":"core.NullTime","x-oapi-codegen-extra-tags":{db:"deleted_at",json:"deleted_at",yaml:"deleted_at"}}},additionalProperties:false},GetUserResponse:{description:"Response schema for getting user information, includes user data with roles, teams, and organizations",allOf:[{type:"object",description:"Represents a user in Layer5 Cloud (Meshery)",required:["id","user_id","provider","email","first_name","last_name","status","created_at","updated_at","last_login_time","deleted_at"],properties:{id:{description:"Unique identifier for the user","x-go-name":"ID","x-oapi-codegen-extra-tags":{db:"id",json:"id",yaml:"id"},type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"}},user_id:{type:"string",maxLength:200,description:"User identifier (username or external ID)","x-oapi-codegen-extra-tags":{db:"user_id",json:"user_id",yaml:"user_id"}},provider:{type:"string",maxLength:100,description:"Authentication provider (e.g., Layer5 Cloud, Twitter, Facebook, Github)",example:["local","github","google","twitter"],"x-oapi-codegen-extra-tags":{db:"provider",json:"provider",yaml:"provider"}},email:{type:"string",format:"email",maxLength:300,description:"User's email address","x-oapi-codegen-extra-tags":{db:"email",json:"email",yaml:"email"}},first_name:{type:"string",maxLength:200,description:"User's first name","x-oapi-codegen-extra-tags":{db:"first_name",json:"first_name",yaml:"first_name"}},last_name:{type:"string",maxLength:300,description:"User's last name","x-oapi-codegen-extra-tags":{db:"last_name",json:"last_name",yaml:"last_name"}},avatar_url:{type:"string",format:"uri",maxLength:500,description:"URL to user's avatar image","x-oapi-codegen-extra-tags":{db:"avatar_url",json:"avatar_url",yaml:"avatar_url"}},status:{type:"string",maxLength:100,enum:["active","inactive","pending","anonymous"],description:"User account status","x-oapi-codegen-extra-tags":{db:"status",json:"status",yaml:"status"}},bio:{type:"string",maxLength:1e3,default:"",description:"User's biography or description","x-oapi-codegen-extra-tags":{db:"bio",json:"bio",yaml:"bio"}},country:{type:"object",description:"User's country information stored as JSONB",additionalProperties:true,"x-go-type":"core.Map","x-oapi-codegen-extra-tags":{db:"country",json:"country",yaml:"country"}},region:{type:"object",description:"User's region information stored as JSONB",additionalProperties:true,"x-go-type":"core.Map","x-oapi-codegen-extra-tags":{db:"region",json:"region",yaml:"region"}},preferences:{"x-go-type":"Preference",description:"User preferences stored as JSONB","x-oapi-codegen-extra-tags":{db:"preferences",json:"preferences",yaml:"preferences"},type:"object",required:["anonymousUsageStats","anonymousPerfResults","updatedAt","dashboardPreferences","selectedOrganizationID","selectedWorkspaceForOrganizations","usersExtensionPreferences","RemoteProviderPreferences"],properties:{meshAdapters:{type:"array",items:{"x-go-type":"Adapter",type:"object",description:"Placeholder for Adapter struct definition."}},grafana:{"x-go-type":"Grafana",type:"object",properties:{grafanaURL:{type:"string"},grafanaAPIKey:{type:"string"},selectedBoardsConfigs:{type:"array",items:{type:"object",properties:{board:{type:"object",description:"Placeholder for GrafanaBoard definition (define fields as needed)"},panels:{type:"array",items:{type:"object",description:"Grafana panel structure imported from github.com/grafana-tools/sdk"}},templateVars:{type:"array",items:{type:"string"}}}}}}},prometheus:{"x-go-type":"Prometheus",type:"object",properties:{prometheusURL:{type:"string"},selectedPrometheusBoardsConfigs:{type:"array",items:{type:"object",properties:{board:{type:"object",description:"Placeholder for GrafanaBoard definition (define fields as needed)"},panels:{type:"array",items:{type:"object",description:"Grafana panel structure imported from github.com/grafana-tools/sdk"}},templateVars:{type:"array",items:{type:"string"}}}}}}},loadTestPrefs:{"x-go-type":"LoadTestPreferences",type:"object",properties:{c:{type:"integer",description:"Concurrent requests"},qps:{type:"integer",description:"Queries per second"},t:{type:"string",description:"Duration"},gen:{type:"string",description:"Load generator"}}},anonymousUsageStats:{type:"boolean"},anonymousPerfResults:{type:"boolean"},updated_at:{type:"string",format:"date-time"},dashboardPreferences:{type:"object",additionalProperties:true},selectedOrganizationID:{type:"string"},selectedWorkspaceForOrganizations:{type:"object",additionalProperties:{type:"string"}},usersExtensionPreferences:{type:"object",additionalProperties:true},remoteProviderPreferences:{type:"object",additionalProperties:true}}},accepted_terms_at:{description:"Timestamp when user accepted terms and conditions","x-oapi-codegen-extra-tags":{db:"accepted_terms_at",json:"accepted_terms_at",yaml:"accepted_terms_at"},type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},first_login_time:{description:"Timestamp of user's first login","x-oapi-codegen-extra-tags":{db:"first_login_time",json:"first_login_time",yaml:"first_login_time"},type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},last_login_time:{description:"Timestamp of user's most recent login","x-oapi-codegen-extra-tags":{db:"last_login_time",json:"last_login_time",yaml:"last_login_time"},type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},created_at:{description:"Timestamp when the user record was created","x-oapi-codegen-extra-tags":{db:"created_at",json:"created_at",yaml:"created_at"},type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},updated_at:{description:"Timestamp when the user record was last updated","x-oapi-codegen-extra-tags":{db:"updated_at",json:"updated_at",yaml:"updated_at"},type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},socials:{type:"array",description:"Various online profiles associated with the user account","x-go-type":"UserSocials",items:{"x-go-type":"Social",description:"Various online profiles associated with the user account, like GitHub, LinkedIn, X, and so on.",type:"object",properties:{site:{type:"string",maxLength:50},link:{type:"string",format:"uri"}},required:["site","link"]},"x-oapi-codegen-extra-tags":{db:"socials",json:"socials",yaml:"socials"}},deleted_at:{type:"string",format:"date-time",nullable:true,description:"Timestamp when the user record was soft-deleted (null if not deleted)","x-go-type":"core.NullTime","x-oapi-codegen-extra-tags":{db:"deleted_at",json:"deleted_at",yaml:"deleted_at"}}},additionalProperties:false},{type:"object",properties:{role_names:{type:"array",items:{type:"string",enum:["admin","meshmap","curator","team admin","workspace admin","workspace manager","organization admin","user"]},description:"List of global roles assigned to the user",example:[["admin","meshmap"],["user"]],"x-oapi-codegen-extra-tags":{db:"role_names",json:"role_names",yaml:"role_names"}},teams:{type:"object",description:"Teams the user belongs to with role information","x-oapi-codegen-extra-tags":{db:"teams",json:"teams",yaml:"teams"},properties:{teams_with_roles:{type:"array",items:{type:"object"},"x-oapi-codegen-extra-tags":{db:"teams_with_roles",json:"teams_with_roles",yaml:"teams_with_roles"}},total_count:{type:"integer","x-oapi-codegen-extra-tags":{db:"total_count",json:"total_count",yaml:"total_count"}}}},organizations:{type:"object",description:"Organizations the user belongs to with role information","x-oapi-codegen-extra-tags":{db:"organizations",json:"organizations",yaml:"organizations"},properties:{organizations_with_roles:{type:"array",items:{type:"object"},"x-oapi-codegen-extra-tags":{db:"organizations_with_roles",json:"organizations_with_roles",yaml:"organizations_with_roles"}},total_count:{type:"integer","x-oapi-codegen-extra-tags":{db:"total_count",json:"total_count",yaml:"total_count"}}}}}}]},Preference:{type:"object",required:["anonymousUsageStats","anonymousPerfResults","updatedAt","dashboardPreferences","selectedOrganizationID","selectedWorkspaceForOrganizations","usersExtensionPreferences","RemoteProviderPreferences"],properties:{meshAdapters:{type:"array",items:{"x-go-type":"Adapter",type:"object",description:"Placeholder for Adapter struct definition."}},grafana:{"x-go-type":"Grafana",type:"object",properties:{grafanaURL:{type:"string"},grafanaAPIKey:{type:"string"},selectedBoardsConfigs:{type:"array",items:{type:"object",properties:{board:{type:"object",description:"Placeholder for GrafanaBoard definition (define fields as needed)"},panels:{type:"array",items:{type:"object",description:"Grafana panel structure imported from github.com/grafana-tools/sdk"}},templateVars:{type:"array",items:{type:"string"}}}}}}},prometheus:{"x-go-type":"Prometheus",type:"object",properties:{prometheusURL:{type:"string"},selectedPrometheusBoardsConfigs:{type:"array",items:{type:"object",properties:{board:{type:"object",description:"Placeholder for GrafanaBoard definition (define fields as needed)"},panels:{type:"array",items:{type:"object",description:"Grafana panel structure imported from github.com/grafana-tools/sdk"}},templateVars:{type:"array",items:{type:"string"}}}}}}},loadTestPrefs:{"x-go-type":"LoadTestPreferences",type:"object",properties:{c:{type:"integer",description:"Concurrent requests"},qps:{type:"integer",description:"Queries per second"},t:{type:"string",description:"Duration"},gen:{type:"string",description:"Load generator"}}},anonymousUsageStats:{type:"boolean"},anonymousPerfResults:{type:"boolean"},updated_at:{type:"string",format:"date-time"},dashboardPreferences:{type:"object",additionalProperties:true},selectedOrganizationID:{type:"string"},selectedWorkspaceForOrganizations:{type:"object",additionalProperties:{type:"string"}},usersExtensionPreferences:{type:"object",additionalProperties:true},remoteProviderPreferences:{type:"object",additionalProperties:true}}},Adapter:{type:"object",description:"Placeholder for Adapter struct definition."},Grafana:{type:"object",properties:{grafanaURL:{type:"string"},grafanaAPIKey:{type:"string"},selectedBoardsConfigs:{type:"array",items:{type:"object",properties:{board:{type:"object",description:"Placeholder for GrafanaBoard definition (define fields as needed)"},panels:{type:"array",items:{type:"object",description:"Grafana panel structure imported from github.com/grafana-tools/sdk"}},templateVars:{type:"array",items:{type:"string"}}}}}}},SelectedGrafanaConfig:{type:"object",properties:{board:{type:"object",description:"Placeholder for GrafanaBoard definition (define fields as needed)"},panels:{type:"array",items:{type:"object",description:"Grafana panel structure imported from github.com/grafana-tools/sdk"}},templateVars:{type:"array",items:{type:"string"}}}},GrafanaBoard:{type:"object",description:"Placeholder for GrafanaBoard definition (define fields as needed)"},Panel:{type:"object",description:"Grafana panel structure imported from github.com/grafana-tools/sdk"},Prometheus:{type:"object",properties:{prometheusURL:{type:"string"},selectedPrometheusBoardsConfigs:{type:"array",items:{type:"object",properties:{board:{type:"object",description:"Placeholder for GrafanaBoard definition (define fields as needed)"},panels:{type:"array",items:{type:"object",description:"Grafana panel structure imported from github.com/grafana-tools/sdk"}},templateVars:{type:"array",items:{type:"string"}}}}}}},LoadTestPreferences:{type:"object",properties:{c:{type:"integer",description:"Concurrent requests"},qps:{type:"integer",description:"Queries per second"},t:{type:"string",description:"Duration"},gen:{type:"string",description:"Load generator"}}},Social:{description:"Various online profiles associated with the user account, like GitHub, LinkedIn, X, and so on.",type:"object",properties:{site:{type:"string",maxLength:50},link:{type:"string",format:"uri"}},required:["site","link"]}}}},t=e;export{t as default};
|
|
@@ -0,0 +1,303 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by openapi-typescript.
|
|
3
|
+
* Do not make direct changes to the file.
|
|
4
|
+
*/
|
|
5
|
+
interface paths {
|
|
6
|
+
"/api/workspaces": {
|
|
7
|
+
get: {
|
|
8
|
+
responses: {
|
|
9
|
+
/** List of workspaces */
|
|
10
|
+
200: {
|
|
11
|
+
content: {
|
|
12
|
+
"application/json": {
|
|
13
|
+
page?: number;
|
|
14
|
+
page_size?: number;
|
|
15
|
+
total_count?: number;
|
|
16
|
+
workspaces?: {
|
|
17
|
+
/** Format: uuid */
|
|
18
|
+
ID?: string;
|
|
19
|
+
name?: string;
|
|
20
|
+
description?: string;
|
|
21
|
+
/** Format: uuid */
|
|
22
|
+
organization_id?: string;
|
|
23
|
+
owner?: string;
|
|
24
|
+
/** Format: date-time */
|
|
25
|
+
created_at?: string;
|
|
26
|
+
/** Format: date-time */
|
|
27
|
+
updated_at?: string;
|
|
28
|
+
/** @description SQL null Timestamp to handle null values of time. */
|
|
29
|
+
deleted_at?: string;
|
|
30
|
+
}[];
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
};
|
|
36
|
+
post: {
|
|
37
|
+
responses: {
|
|
38
|
+
/** Workspace created successfully */
|
|
39
|
+
201: {
|
|
40
|
+
content: {
|
|
41
|
+
"application/json": {
|
|
42
|
+
/** Format: uuid */
|
|
43
|
+
ID?: string;
|
|
44
|
+
name?: string;
|
|
45
|
+
description?: string;
|
|
46
|
+
/** Format: uuid */
|
|
47
|
+
organization_id?: string;
|
|
48
|
+
owner?: string;
|
|
49
|
+
/** Format: date-time */
|
|
50
|
+
created_at?: string;
|
|
51
|
+
/** Format: date-time */
|
|
52
|
+
updated_at?: string;
|
|
53
|
+
/** @description SQL null Timestamp to handle null values of time. */
|
|
54
|
+
deleted_at?: string;
|
|
55
|
+
};
|
|
56
|
+
};
|
|
57
|
+
};
|
|
58
|
+
};
|
|
59
|
+
/** Body for creating workspace */
|
|
60
|
+
requestBody: {
|
|
61
|
+
content: {
|
|
62
|
+
"application/json": {
|
|
63
|
+
/** @description Provide a name that meaningfully represents this workspace. You can change the name of the workspace even after its creation. */
|
|
64
|
+
name: string;
|
|
65
|
+
/** @description Workspaces serve as a virtual space for your team-based work, allows you to control access and more, Provide a detailed description to clarify the purpose of this workspace. Remember you can changes description of workspace after it's creations too. Learn more about workspaces [here](https://docs.meshery.io/concepts/logical/workspaces) */
|
|
66
|
+
description?: string;
|
|
67
|
+
/** @description Select an organization in which you want to create this new workspace. Keep in mind that the organization cannot be changed after creation. */
|
|
68
|
+
organization_id: string;
|
|
69
|
+
};
|
|
70
|
+
};
|
|
71
|
+
};
|
|
72
|
+
};
|
|
73
|
+
};
|
|
74
|
+
"/api/workspaces/{id}": {
|
|
75
|
+
get: {
|
|
76
|
+
parameters: {
|
|
77
|
+
path: {
|
|
78
|
+
id: string;
|
|
79
|
+
};
|
|
80
|
+
};
|
|
81
|
+
responses: {
|
|
82
|
+
/** Workspace details */
|
|
83
|
+
200: {
|
|
84
|
+
content: {
|
|
85
|
+
"application/json": {
|
|
86
|
+
/** Format: uuid */
|
|
87
|
+
ID?: string;
|
|
88
|
+
name?: string;
|
|
89
|
+
description?: string;
|
|
90
|
+
/** Format: uuid */
|
|
91
|
+
organization_id?: string;
|
|
92
|
+
owner?: string;
|
|
93
|
+
/** Format: date-time */
|
|
94
|
+
created_at?: string;
|
|
95
|
+
/** Format: date-time */
|
|
96
|
+
updated_at?: string;
|
|
97
|
+
/** @description SQL null Timestamp to handle null values of time. */
|
|
98
|
+
deleted_at?: string;
|
|
99
|
+
};
|
|
100
|
+
};
|
|
101
|
+
};
|
|
102
|
+
};
|
|
103
|
+
};
|
|
104
|
+
put: {
|
|
105
|
+
parameters: {
|
|
106
|
+
path: {
|
|
107
|
+
id: string;
|
|
108
|
+
};
|
|
109
|
+
};
|
|
110
|
+
responses: {
|
|
111
|
+
/** Workspace updated successfully */
|
|
112
|
+
200: {
|
|
113
|
+
content: {
|
|
114
|
+
"application/json": {
|
|
115
|
+
/** Format: uuid */
|
|
116
|
+
ID?: string;
|
|
117
|
+
name?: string;
|
|
118
|
+
description?: string;
|
|
119
|
+
/** Format: uuid */
|
|
120
|
+
organization_id?: string;
|
|
121
|
+
owner?: string;
|
|
122
|
+
/** Format: date-time */
|
|
123
|
+
created_at?: string;
|
|
124
|
+
/** Format: date-time */
|
|
125
|
+
updated_at?: string;
|
|
126
|
+
/** @description SQL null Timestamp to handle null values of time. */
|
|
127
|
+
deleted_at?: string;
|
|
128
|
+
};
|
|
129
|
+
};
|
|
130
|
+
};
|
|
131
|
+
};
|
|
132
|
+
/** Body for updating workspace */
|
|
133
|
+
requestBody: {
|
|
134
|
+
content: {
|
|
135
|
+
"application/json": {
|
|
136
|
+
/** @description Name of workspace */
|
|
137
|
+
name?: string;
|
|
138
|
+
/** @description Environment description */
|
|
139
|
+
description?: string;
|
|
140
|
+
/** @description Organization ID */
|
|
141
|
+
organization_id: string;
|
|
142
|
+
};
|
|
143
|
+
};
|
|
144
|
+
};
|
|
145
|
+
};
|
|
146
|
+
delete: {
|
|
147
|
+
parameters: {
|
|
148
|
+
path: {
|
|
149
|
+
id: string;
|
|
150
|
+
};
|
|
151
|
+
};
|
|
152
|
+
responses: {
|
|
153
|
+
/** Workspace deleted successfully */
|
|
154
|
+
200: unknown;
|
|
155
|
+
};
|
|
156
|
+
};
|
|
157
|
+
};
|
|
158
|
+
}
|
|
159
|
+
interface components {
|
|
160
|
+
schemas: {
|
|
161
|
+
workspace: {
|
|
162
|
+
/** Format: uuid */
|
|
163
|
+
ID?: string;
|
|
164
|
+
name?: string;
|
|
165
|
+
description?: string;
|
|
166
|
+
/** Format: uuid */
|
|
167
|
+
organization_id?: string;
|
|
168
|
+
owner?: string;
|
|
169
|
+
/** Format: date-time */
|
|
170
|
+
created_at?: string;
|
|
171
|
+
/** Format: date-time */
|
|
172
|
+
updated_at?: string;
|
|
173
|
+
/** @description SQL null Timestamp to handle null values of time. */
|
|
174
|
+
deleted_at?: string;
|
|
175
|
+
};
|
|
176
|
+
workspacesTeamsMapping: {
|
|
177
|
+
/** Format: uuid */
|
|
178
|
+
ID?: string;
|
|
179
|
+
/** Format: uuid */
|
|
180
|
+
team_id?: string;
|
|
181
|
+
/** Format: uuid */
|
|
182
|
+
workspace_id?: string;
|
|
183
|
+
/** Format: date-time */
|
|
184
|
+
created_at?: string;
|
|
185
|
+
/** Format: date-time */
|
|
186
|
+
updated_at?: string;
|
|
187
|
+
/** @description SQL null Timestamp to handle null values of time. */
|
|
188
|
+
deleted_at?: string;
|
|
189
|
+
};
|
|
190
|
+
workspacesEnvironmentsMapping: {
|
|
191
|
+
/** Format: uuid */
|
|
192
|
+
ID?: string;
|
|
193
|
+
/** Format: uuid */
|
|
194
|
+
environment_id?: string;
|
|
195
|
+
/** Format: uuid */
|
|
196
|
+
workspace_id?: string;
|
|
197
|
+
/** Format: date-time */
|
|
198
|
+
created_at?: string;
|
|
199
|
+
/** Format: date-time */
|
|
200
|
+
updated_at?: string;
|
|
201
|
+
/** @description SQL null Timestamp to handle null values of time. */
|
|
202
|
+
deleted_at?: string;
|
|
203
|
+
};
|
|
204
|
+
workspacesViewsMapping: {
|
|
205
|
+
/** Format: uuid */
|
|
206
|
+
ID?: string;
|
|
207
|
+
/** Format: uuid */
|
|
208
|
+
view_id?: string;
|
|
209
|
+
/** Format: uuid */
|
|
210
|
+
workspace_id?: string;
|
|
211
|
+
/** Format: date-time */
|
|
212
|
+
created_at?: string;
|
|
213
|
+
/** Format: date-time */
|
|
214
|
+
updated_at?: string;
|
|
215
|
+
/** @description SQL null Timestamp to handle null values of time. */
|
|
216
|
+
deleted_at?: string;
|
|
217
|
+
};
|
|
218
|
+
workspacesDesignsMapping: {
|
|
219
|
+
/** Format: uuid */
|
|
220
|
+
ID?: string;
|
|
221
|
+
/** Format: uuid */
|
|
222
|
+
design_id?: string;
|
|
223
|
+
/** Format: uuid */
|
|
224
|
+
workspace_id?: string;
|
|
225
|
+
/** Format: date-time */
|
|
226
|
+
created_at?: string;
|
|
227
|
+
/** Format: date-time */
|
|
228
|
+
updated_at?: string;
|
|
229
|
+
/** @description SQL null Timestamp to handle null values of time. */
|
|
230
|
+
deleted_at?: string;
|
|
231
|
+
};
|
|
232
|
+
workspaceUpdatePayload: {
|
|
233
|
+
/** @description Name of workspace */
|
|
234
|
+
name?: string;
|
|
235
|
+
/** @description Environment description */
|
|
236
|
+
description?: string;
|
|
237
|
+
/** @description Organization ID */
|
|
238
|
+
organization_id: string;
|
|
239
|
+
};
|
|
240
|
+
workspacePayload: {
|
|
241
|
+
/** @description Provide a name that meaningfully represents this workspace. You can change the name of the workspace even after its creation. */
|
|
242
|
+
name: string;
|
|
243
|
+
/** @description Workspaces serve as a virtual space for your team-based work, allows you to control access and more, Provide a detailed description to clarify the purpose of this workspace. Remember you can changes description of workspace after it's creations too. Learn more about workspaces [here](https://docs.meshery.io/concepts/logical/workspaces) */
|
|
244
|
+
description?: string;
|
|
245
|
+
/** @description Select an organization in which you want to create this new workspace. Keep in mind that the organization cannot be changed after creation. */
|
|
246
|
+
organization_id: string;
|
|
247
|
+
};
|
|
248
|
+
workspacePage: {
|
|
249
|
+
page?: number;
|
|
250
|
+
page_size?: number;
|
|
251
|
+
total_count?: number;
|
|
252
|
+
workspaces?: {
|
|
253
|
+
/** Format: uuid */
|
|
254
|
+
ID?: string;
|
|
255
|
+
name?: string;
|
|
256
|
+
description?: string;
|
|
257
|
+
/** Format: uuid */
|
|
258
|
+
organization_id?: string;
|
|
259
|
+
owner?: string;
|
|
260
|
+
/** Format: date-time */
|
|
261
|
+
created_at?: string;
|
|
262
|
+
/** Format: date-time */
|
|
263
|
+
updated_at?: string;
|
|
264
|
+
/** @description SQL null Timestamp to handle null values of time. */
|
|
265
|
+
deleted_at?: string;
|
|
266
|
+
}[];
|
|
267
|
+
};
|
|
268
|
+
};
|
|
269
|
+
requestBodies: {
|
|
270
|
+
/** Body for creating workspace */
|
|
271
|
+
workspacePayload: {
|
|
272
|
+
content: {
|
|
273
|
+
"application/json": {
|
|
274
|
+
/** @description Provide a name that meaningfully represents this workspace. You can change the name of the workspace even after its creation. */
|
|
275
|
+
name: string;
|
|
276
|
+
/** @description Workspaces serve as a virtual space for your team-based work, allows you to control access and more, Provide a detailed description to clarify the purpose of this workspace. Remember you can changes description of workspace after it's creations too. Learn more about workspaces [here](https://docs.meshery.io/concepts/logical/workspaces) */
|
|
277
|
+
description?: string;
|
|
278
|
+
/** @description Select an organization in which you want to create this new workspace. Keep in mind that the organization cannot be changed after creation. */
|
|
279
|
+
organization_id: string;
|
|
280
|
+
};
|
|
281
|
+
};
|
|
282
|
+
};
|
|
283
|
+
/** Body for updating workspace */
|
|
284
|
+
workspaceUpdatePayload: {
|
|
285
|
+
content: {
|
|
286
|
+
"application/json": {
|
|
287
|
+
/** @description Name of workspace */
|
|
288
|
+
name?: string;
|
|
289
|
+
/** @description Environment description */
|
|
290
|
+
description?: string;
|
|
291
|
+
/** @description Organization ID */
|
|
292
|
+
organization_id: string;
|
|
293
|
+
};
|
|
294
|
+
};
|
|
295
|
+
};
|
|
296
|
+
};
|
|
297
|
+
}
|
|
298
|
+
interface operations {
|
|
299
|
+
}
|
|
300
|
+
interface external {
|
|
301
|
+
}
|
|
302
|
+
|
|
303
|
+
export type { components, external, operations, paths };
|