@meshery/schemas 0.8.127 → 0.8.129
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/dist/{Core-vaTzd8cz.d.mts → Core-BiYtFM4v.d.mts} +1 -1
- package/dist/{Core-vaTzd8cz.d.ts → Core-BiYtFM4v.d.ts} +1 -1
- package/dist/cloudApi.d.mts +13676 -3825
- package/dist/cloudApi.d.ts +13676 -3825
- package/dist/cloudApi.js +1 -1
- package/dist/cloudApi.mjs +1 -1
- package/dist/constructs/v1alpha1/capability/CapabilitySchema.d.mts +1 -149
- package/dist/constructs/v1alpha1/capability/CapabilitySchema.d.ts +1 -149
- package/dist/constructs/v1alpha1/capability/CapabilitySchema.js +1 -1
- package/dist/constructs/v1alpha1/capability/CapabilitySchema.mjs +1 -1
- package/dist/constructs/v1alpha1/core/Core.d.mts +1 -1
- package/dist/constructs/v1alpha1/core/Core.d.ts +1 -1
- package/dist/constructs/v1alpha1/core/CoreSchema.d.mts +1 -1643
- package/dist/constructs/v1alpha1/core/CoreSchema.d.ts +1 -1643
- package/dist/constructs/v1alpha1/core/CoreSchema.js +1 -1
- package/dist/constructs/v1alpha1/core/CoreSchema.mjs +1 -1
- package/dist/constructs/v1alpha2/catalog/CatalogSchema.d.mts +1 -74
- package/dist/constructs/v1alpha2/catalog/CatalogSchema.d.ts +1 -74
- package/dist/constructs/v1alpha2/catalog/CatalogSchema.js +1 -1
- package/dist/constructs/v1alpha2/catalog/CatalogSchema.mjs +1 -1
- package/dist/constructs/v1alpha3/relationship/Relationship.d.mts +32 -128
- package/dist/constructs/v1alpha3/relationship/Relationship.d.ts +32 -128
- package/dist/constructs/v1alpha3/relationship/RelationshipSchema.d.mts +1 -6973
- package/dist/constructs/v1alpha3/relationship/RelationshipSchema.d.ts +1 -6973
- package/dist/constructs/v1alpha3/relationship/RelationshipSchema.js +15 -15
- package/dist/constructs/v1alpha3/relationship/RelationshipSchema.mjs +15 -15
- package/dist/constructs/v1beta1/academy/Academy.d.mts +749 -319
- package/dist/constructs/v1beta1/academy/Academy.d.ts +749 -319
- package/dist/constructs/v1beta1/academy/AcademySchema.d.mts +1 -11832
- package/dist/constructs/v1beta1/academy/AcademySchema.d.ts +1 -11832
- package/dist/constructs/v1beta1/academy/AcademySchema.js +1 -1
- package/dist/constructs/v1beta1/academy/AcademySchema.mjs +1 -1
- package/dist/constructs/v1beta1/badge/BadgeSchema.d.mts +1 -513
- package/dist/constructs/v1beta1/badge/BadgeSchema.d.ts +1 -513
- package/dist/constructs/v1beta1/badge/BadgeSchema.js +1 -1
- package/dist/constructs/v1beta1/badge/BadgeSchema.mjs +1 -1
- package/dist/constructs/v1beta1/category/CategorySchema.d.mts +1 -54
- package/dist/constructs/v1beta1/category/CategorySchema.d.ts +1 -54
- package/dist/constructs/v1beta1/category/CategorySchema.js +1 -1
- package/dist/constructs/v1beta1/category/CategorySchema.mjs +1 -1
- package/dist/constructs/v1beta1/component/Component.d.mts +6 -12
- package/dist/constructs/v1beta1/component/Component.d.ts +6 -12
- package/dist/constructs/v1beta1/component/ComponentSchema.d.mts +1 -1771
- package/dist/constructs/v1beta1/component/ComponentSchema.d.ts +1 -1771
- package/dist/constructs/v1beta1/component/ComponentSchema.js +3 -3
- package/dist/constructs/v1beta1/component/ComponentSchema.mjs +3 -3
- package/dist/constructs/v1beta1/connection/Connection.d.mts +12 -12
- package/dist/constructs/v1beta1/connection/Connection.d.ts +12 -12
- package/dist/constructs/v1beta1/connection/ConnectionSchema.d.mts +1 -2978
- package/dist/constructs/v1beta1/connection/ConnectionSchema.d.ts +1 -2978
- package/dist/constructs/v1beta1/connection/ConnectionSchema.js +1 -1
- package/dist/constructs/v1beta1/connection/ConnectionSchema.mjs +1 -1
- package/dist/constructs/v1beta1/credential/Credential.d.mts +517 -0
- package/dist/constructs/v1beta1/credential/Credential.d.ts +517 -0
- package/dist/constructs/v1beta1/credential/Credential.js +1 -0
- package/dist/constructs/v1beta1/credential/Credential.mjs +0 -0
- package/dist/constructs/v1beta1/credential/CredentialSchema.d.mts +7 -0
- package/dist/constructs/v1beta1/credential/CredentialSchema.d.ts +7 -0
- package/dist/constructs/v1beta1/credential/CredentialSchema.js +9 -0
- package/dist/constructs/v1beta1/credential/CredentialSchema.mjs +9 -0
- package/dist/constructs/v1beta1/environment/Environment.d.mts +4 -4
- package/dist/constructs/v1beta1/environment/Environment.d.ts +4 -4
- package/dist/constructs/v1beta1/environment/EnvironmentSchema.d.mts +1 -958
- package/dist/constructs/v1beta1/environment/EnvironmentSchema.d.ts +1 -958
- package/dist/constructs/v1beta1/environment/EnvironmentSchema.js +1 -1
- package/dist/constructs/v1beta1/environment/EnvironmentSchema.mjs +1 -1
- package/dist/constructs/v1beta1/evaluation/Evaluation.d.mts +68 -212
- package/dist/constructs/v1beta1/evaluation/Evaluation.d.ts +68 -212
- package/dist/constructs/v1beta1/evaluation/EvaluationSchema.d.mts +1 -16507
- package/dist/constructs/v1beta1/evaluation/EvaluationSchema.d.ts +1 -16507
- package/dist/constructs/v1beta1/evaluation/EvaluationSchema.js +25 -25
- package/dist/constructs/v1beta1/evaluation/EvaluationSchema.mjs +25 -25
- package/dist/constructs/v1beta1/event/EventSchema.d.mts +1 -354
- package/dist/constructs/v1beta1/event/EventSchema.d.ts +1 -354
- package/dist/constructs/v1beta1/event/EventSchema.js +2 -1
- package/dist/constructs/v1beta1/event/EventSchema.mjs +2 -1
- package/dist/constructs/v1beta1/feature/FeatureSchema.d.mts +1 -767
- package/dist/constructs/v1beta1/feature/FeatureSchema.d.ts +1 -767
- package/dist/constructs/v1beta1/feature/FeatureSchema.js +2 -1
- package/dist/constructs/v1beta1/feature/FeatureSchema.mjs +2 -1
- package/dist/constructs/v1beta1/invitation/InvitationSchema.d.mts +1 -1646
- package/dist/constructs/v1beta1/invitation/InvitationSchema.d.ts +1 -1646
- package/dist/constructs/v1beta1/invitation/InvitationSchema.js +2 -1
- package/dist/constructs/v1beta1/invitation/InvitationSchema.mjs +2 -1
- package/dist/constructs/v1beta1/key/KeySchema.d.mts +1 -1219
- package/dist/constructs/v1beta1/key/KeySchema.d.ts +1 -1219
- package/dist/constructs/v1beta1/key/KeySchema.js +2 -1
- package/dist/constructs/v1beta1/key/KeySchema.mjs +2 -1
- package/dist/constructs/v1beta1/keychain/KeychainSchema.d.mts +1 -1543
- package/dist/constructs/v1beta1/keychain/KeychainSchema.d.ts +1 -1543
- package/dist/constructs/v1beta1/keychain/KeychainSchema.js +2 -1
- package/dist/constructs/v1beta1/keychain/KeychainSchema.mjs +2 -1
- package/dist/constructs/v1beta1/model/Model.d.mts +7 -13
- package/dist/constructs/v1beta1/model/Model.d.ts +7 -13
- package/dist/constructs/v1beta1/model/ModelSchema.d.mts +1 -1301
- package/dist/constructs/v1beta1/model/ModelSchema.d.ts +1 -1301
- package/dist/constructs/v1beta1/model/ModelSchema.js +2 -2
- package/dist/constructs/v1beta1/model/ModelSchema.mjs +2 -2
- package/dist/constructs/v1beta1/organization/OrganizationSchema.d.mts +1 -1488
- package/dist/constructs/v1beta1/organization/OrganizationSchema.d.ts +1 -1488
- package/dist/constructs/v1beta1/organization/OrganizationSchema.js +2 -1
- package/dist/constructs/v1beta1/organization/OrganizationSchema.mjs +2 -1
- package/dist/constructs/v1beta1/pattern/Pattern.d.mts +7481 -212
- package/dist/constructs/v1beta1/pattern/Pattern.d.ts +7481 -212
- package/dist/constructs/v1beta1/pattern/PatternSchema.d.mts +1 -16703
- package/dist/constructs/v1beta1/pattern/PatternSchema.d.ts +1 -16703
- package/dist/constructs/v1beta1/pattern/PatternSchema.js +265 -25
- package/dist/constructs/v1beta1/pattern/PatternSchema.mjs +265 -25
- package/dist/constructs/v1beta1/plan/PlanSchema.d.mts +1 -316
- package/dist/constructs/v1beta1/plan/PlanSchema.d.ts +1 -316
- package/dist/constructs/v1beta1/plan/PlanSchema.js +2 -1
- package/dist/constructs/v1beta1/plan/PlanSchema.mjs +2 -1
- package/dist/constructs/v1beta1/role/Role.d.mts +614 -0
- package/dist/constructs/v1beta1/role/Role.d.ts +614 -0
- package/dist/constructs/v1beta1/role/Role.js +1 -0
- package/dist/constructs/v1beta1/role/Role.mjs +0 -0
- package/dist/constructs/v1beta1/role/RoleSchema.d.mts +7 -0
- package/dist/constructs/v1beta1/role/RoleSchema.d.ts +7 -0
- package/dist/constructs/v1beta1/role/RoleSchema.js +2 -0
- package/dist/constructs/v1beta1/role/RoleSchema.mjs +2 -0
- package/dist/constructs/v1beta1/schedule/Schedule.d.mts +371 -0
- package/dist/constructs/v1beta1/schedule/Schedule.d.ts +371 -0
- package/dist/constructs/v1beta1/schedule/Schedule.js +1 -0
- package/dist/constructs/v1beta1/schedule/Schedule.mjs +0 -0
- package/dist/constructs/v1beta1/schedule/ScheduleSchema.d.mts +7 -0
- package/dist/constructs/v1beta1/schedule/ScheduleSchema.d.ts +7 -0
- package/dist/constructs/v1beta1/schedule/ScheduleSchema.js +13 -0
- package/dist/constructs/v1beta1/schedule/ScheduleSchema.mjs +13 -0
- package/dist/constructs/v1beta1/subcategory/SubcategorySchema.d.mts +1 -27
- package/dist/constructs/v1beta1/subcategory/SubcategorySchema.d.ts +1 -27
- package/dist/constructs/v1beta1/subcategory/SubcategorySchema.js +1 -1
- package/dist/constructs/v1beta1/subcategory/SubcategorySchema.mjs +1 -1
- package/dist/constructs/v1beta1/subscription/SubscriptionSchema.d.mts +1 -1636
- package/dist/constructs/v1beta1/subscription/SubscriptionSchema.d.ts +1 -1636
- package/dist/constructs/v1beta1/subscription/SubscriptionSchema.js +1 -1
- package/dist/constructs/v1beta1/subscription/SubscriptionSchema.mjs +1 -1
- package/dist/constructs/v1beta1/team/Team.d.mts +46 -16
- package/dist/constructs/v1beta1/team/Team.d.ts +46 -16
- package/dist/constructs/v1beta1/team/TeamSchema.d.mts +1 -2016
- package/dist/constructs/v1beta1/team/TeamSchema.d.ts +1 -2016
- package/dist/constructs/v1beta1/team/TeamSchema.js +1 -1
- package/dist/constructs/v1beta1/team/TeamSchema.mjs +1 -1
- package/dist/constructs/v1beta1/user/UserSchema.d.mts +1 -1106
- package/dist/constructs/v1beta1/user/UserSchema.d.ts +1 -1106
- package/dist/constructs/v1beta1/user/UserSchema.js +2 -1
- package/dist/constructs/v1beta1/user/UserSchema.mjs +2 -1
- package/dist/constructs/v1beta1/workspace/WorkspaceSchema.d.mts +1 -958
- package/dist/constructs/v1beta1/workspace/WorkspaceSchema.d.ts +1 -958
- package/dist/constructs/v1beta1/workspace/WorkspaceSchema.js +1 -1
- package/dist/constructs/v1beta1/workspace/WorkspaceSchema.mjs +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +283 -43
- package/dist/index.mjs +283 -43
- package/dist/mesheryApi.d.mts +2025 -183
- package/dist/mesheryApi.d.ts +2025 -183
- package/dist/mesheryApi.js +1 -1
- package/dist/mesheryApi.mjs +1 -1
- package/package.json +1 -1
|
@@ -1 +1,2 @@
|
|
|
1
|
-
'use strict';var e={openapi:"3.0.0",info:{title:"Organization",version:"1.0.0"},paths:{"/api/identity/orgs/by-domain":{get:{summary:"Get organization by domain",operationId:"getOrgByDomain",parameters:[{name:"domain",in:"query",required:true,schema:{type:"string"}}],responses:{200:{description:"Successful response",content:{"application/json":{schema:{type:"object",required:["id","name","country","region","description","owner","metadata","created_at","updated_at"],properties:{id:{"x-oapi-codegen-extra-tags":{db:"id"},type:"string",format:"uuid",description:"A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"}},name:{type:"string","x-oapi-codegen-extra-tags":{db:"name"}},country:{type:"string","x-oapi-codegen-extra-tags":{db:"country"}},region:{type:"string","x-oapi-codegen-extra-tags":{db:"region"}},description:{type:"string","x-oapi-codegen-extra-tags":{db:"description"}},owner:{"x-oapi-codegen-extra-tags":{db:"owner"},type:"string",format:"uuid",description:"A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"}},metadata:{"x-go-type":"OrgMetadata","x-oapi-codegen-extra-tags":{db:"metadata"},type:"object",required:["preferences"],properties:{preferences:{"x-go-type":"Preferences",type:"object",required:["theme","dashboard"],properties:{theme:{"x-go-type":"Theme",type:"object",required:["id","logo"],properties:{id:{type:"string"},logo:{"x-go-type":"Logo",type:"object",required:["desktop_view","mobile_view","dark_desktop_view","dark_mobile_view"],properties:{desktop_view:{"x-go-type":"Location",type:"object",required:["svg","location"],properties:{svg:{type:"string"},location:{type:"string"}}},mobile_view:{"x-go-type":"Location",type:"object",required:["svg","location"],properties:{svg:{type:"string"},location:{type:"string"}}},dark_desktop_view:{"x-go-type":"Location",type:"object",required:["svg","location"],properties:{svg:{type:"string"},location:{type:"string"}}},dark_mobile_view:{"x-go-type":"Location",type:"object",required:["svg","location"],properties:{svg:{type:"string"},location:{type:"string"}}}}},vars:{type:"object",additionalProperties:true}}},dashboard:{"x-go-type":"DashboardPrefs",type:"object",description:"Preferences specific to dashboard behavior",additionalProperties:true}}}}},created_at:{"x-oapi-codegen-extra-tags":{db:"created_at"},type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},updated_at:{"x-oapi-codegen-extra-tags":{db:"updated_at"},type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},deleted_at:{"x-oapi-codegen-extra-tags":{db:"deleted_at"},type:"string",format:"date-time","x-go-type":"sql.NullTime","x-go-type-import":{path:"database/sql"},"x-go-type-skip-optional-pointer":true},domain:{type:"string",nullable:true,"x-oapi-codegen-extra-tags":{db:"domain"}}}}}}},404:{description:"Organization not found"},500:{description:"Internal server error"}}}},"/api/identity/orgs/{orgID}/teams/{teamId}":{post:{summary:"Add team to organization or soft delete team",description:"Adds a team to an organization. If request body contains action=delete, tombstones a team by setting its deleted_at timestamp. The team's organization mapping remains intact.",operationId:"AddTeamToOrg",parameters:[{name:"orgID",in:"path",required:true,schema:{type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"},"x-oapi-codegen-extra-tags":{db:"org_id",json:"org_id"},"x-go-type-name":"OrganizationId","x-go-type-skip-optional-pointer":true}},{name:"teamId",in:"path",required:true,schema:{type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"},"x-oapi-codegen-extra-tags":{db:"team_id",json:"team_id"},"x-go-type-name":"TeamId","x-go-type-skip-optional-pointer":true}}],requestBody:{required:false,content:{"application/json":{schema:{type:"object",description:"Optional action payload for POST on /api/identity/orgs/{orgID}/teams/{teamId}.",properties:{action:{type:"string",description:"Internal action to perform on the team resource.",enum:["delete"]}}}}}},responses:{200:{description:"Team added to organization or team tombstoned",content:{"application/json":{schema:{oneOf:[{type:"object",properties:{page:{type:"integer"},page_size:{type:"integer"},total_count:{type:"integer"},teams_organizations_mapping:{type:"array",items:{type:"object",properties:{ID:{type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"},"x-oapi-codegen-extra-tags":{db:"id",json:"id"},"x-go-type-name":"GeneralId","x-go-type-skip-optional-pointer":true},org_id:{type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"},"x-oapi-codegen-extra-tags":{db:"org_id",json:"org_id"},"x-go-type-name":"OrganizationId","x-go-type-skip-optional-pointer":true},team_id:{type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"},"x-oapi-codegen-extra-tags":{db:"team_id",json:"team_id"},"x-go-type-name":"TeamId","x-go-type-skip-optional-pointer":true},created_at:{type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},updated_at:{type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},deleted_at:{type:"string",format:"date-time","x-go-type":"sql.NullTime","x-go-type-import":{path:"database/sql"},"x-go-type-skip-optional-pointer":true}}}}}},{type:"object",properties:{page:{type:"integer"},page_size:{type:"integer"},total_count:{type:"integer"},teams:{type:"array",items:{type:"object",properties:{ID:{type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"},"x-oapi-codegen-extra-tags":{db:"id",json:"id"},"x-go-type-name":"GeneralId","x-go-type-skip-optional-pointer":true},name:{type:"string","x-go-type-skip-optional-pointer":true},description:{type:"string","x-go-type-skip-optional-pointer":true},owner:{type:"string","x-go-type-skip-optional-pointer":true},metadata:{type:"object",additionalProperties:{type:"string"},"x-go-type-skip-optional-pointer":true},created_at:{type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},updated_at:{type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},deleted_at:{type:"string",format:"date-time","x-go-type":"sql.NullTime","x-go-type-import":{path:"database/sql"},"x-go-type-skip-optional-pointer":true}}}}}}]}}}},400:{description:"Bad request"},401:{description:"Unauthorized"},404:{description:"Not found"},500:{description:"Internal server error"}}},delete:{summary:"Remove team from organization",description:"Removes (unassigns) a team from an organization.",operationId:"RemoveTeamFromOrg",parameters:[{name:"orgID",in:"path",required:true,schema:{type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"},"x-oapi-codegen-extra-tags":{db:"org_id",json:"org_id"},"x-go-type-name":"OrganizationId","x-go-type-skip-optional-pointer":true}},{name:"teamId",in:"path",required:true,schema:{type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"},"x-oapi-codegen-extra-tags":{db:"team_id",json:"team_id"},"x-go-type-name":"TeamId","x-go-type-skip-optional-pointer":true}}],responses:{200:{description:"Team removed from organization",content:{"application/json":{schema:{type:"object",properties:{page:{type:"integer"},page_size:{type:"integer"},total_count:{type:"integer"},teams_organizations_mapping:{type:"array",items:{type:"object",properties:{ID:{type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"},"x-oapi-codegen-extra-tags":{db:"id",json:"id"},"x-go-type-name":"GeneralId","x-go-type-skip-optional-pointer":true},org_id:{type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"},"x-oapi-codegen-extra-tags":{db:"org_id",json:"org_id"},"x-go-type-name":"OrganizationId","x-go-type-skip-optional-pointer":true},team_id:{type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"},"x-oapi-codegen-extra-tags":{db:"team_id",json:"team_id"},"x-go-type-name":"TeamId","x-go-type-skip-optional-pointer":true},created_at:{type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},updated_at:{type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},deleted_at:{type:"string",format:"date-time","x-go-type":"sql.NullTime","x-go-type-import":{path:"database/sql"},"x-go-type-skip-optional-pointer":true}}}}}}}}},400:{description:"Bad request"},401:{description:"Unauthorized"},404:{description:"Not found"},500:{description:"Internal server error"}}}}},components:{parameters:{orgID:{name:"orgID",in:"path",required:true,schema:{type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"},"x-oapi-codegen-extra-tags":{db:"org_id",json:"org_id"},"x-go-type-name":"OrganizationId","x-go-type-skip-optional-pointer":true}},teamId:{name:"teamId",in:"path",required:true,schema:{type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"},"x-oapi-codegen-extra-tags":{db:"team_id",json:"team_id"},"x-go-type-name":"TeamId","x-go-type-skip-optional-pointer":true}}},schemas:{UUID:{type:"string",format:"uuid",description:"A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"}},NullableTime:{type:"string",format:"date-time","x-go-type":"sql.NullTime","x-go-type-import":{path:"database/sql"},"x-go-type-skip-optional-pointer":true},Time:{type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},Text:{type:"string","x-go-type-skip-optional-pointer":true},MapObject:{type:"object",additionalProperties:{type:"string"},"x-go-type-skip-optional-pointer":true},OrgTeamActionPayload:{type:"object",description:"Optional action payload for POST on /api/identity/orgs/{orgID}/teams/{teamId}.",properties:{action:{type:"string",description:"Internal action to perform on the team resource.",enum:["delete"]}}},Location:{type:"object",required:["svg","location"],properties:{svg:{type:"string"},location:{type:"string"}}},Logo:{type:"object",required:["desktop_view","mobile_view","dark_desktop_view","dark_mobile_view"],properties:{desktop_view:{"x-go-type":"Location",type:"object",required:["svg","location"],properties:{svg:{type:"string"},location:{type:"string"}}},mobile_view:{"x-go-type":"Location",type:"object",required:["svg","location"],properties:{svg:{type:"string"},location:{type:"string"}}},dark_desktop_view:{"x-go-type":"Location",type:"object",required:["svg","location"],properties:{svg:{type:"string"},location:{type:"string"}}},dark_mobile_view:{"x-go-type":"Location",type:"object",required:["svg","location"],properties:{svg:{type:"string"},location:{type:"string"}}}}},Theme:{type:"object",required:["id","logo"],properties:{id:{type:"string"},logo:{"x-go-type":"Logo",type:"object",required:["desktop_view","mobile_view","dark_desktop_view","dark_mobile_view"],properties:{desktop_view:{"x-go-type":"Location",type:"object",required:["svg","location"],properties:{svg:{type:"string"},location:{type:"string"}}},mobile_view:{"x-go-type":"Location",type:"object",required:["svg","location"],properties:{svg:{type:"string"},location:{type:"string"}}},dark_desktop_view:{"x-go-type":"Location",type:"object",required:["svg","location"],properties:{svg:{type:"string"},location:{type:"string"}}},dark_mobile_view:{"x-go-type":"Location",type:"object",required:["svg","location"],properties:{svg:{type:"string"},location:{type:"string"}}}}},vars:{type:"object",additionalProperties:true}}},DashboardPrefs:{type:"object",description:"Preferences specific to dashboard behavior",additionalProperties:true},Preferences:{type:"object",required:["theme","dashboard"],properties:{theme:{"x-go-type":"Theme",type:"object",required:["id","logo"],properties:{id:{type:"string"},logo:{"x-go-type":"Logo",type:"object",required:["desktop_view","mobile_view","dark_desktop_view","dark_mobile_view"],properties:{desktop_view:{"x-go-type":"Location",type:"object",required:["svg","location"],properties:{svg:{type:"string"},location:{type:"string"}}},mobile_view:{"x-go-type":"Location",type:"object",required:["svg","location"],properties:{svg:{type:"string"},location:{type:"string"}}},dark_desktop_view:{"x-go-type":"Location",type:"object",required:["svg","location"],properties:{svg:{type:"string"},location:{type:"string"}}},dark_mobile_view:{"x-go-type":"Location",type:"object",required:["svg","location"],properties:{svg:{type:"string"},location:{type:"string"}}}}},vars:{type:"object",additionalProperties:true}}},dashboard:{"x-go-type":"DashboardPrefs",type:"object",description:"Preferences specific to dashboard behavior",additionalProperties:true}}},OrgMetadata:{type:"object",required:["preferences"],properties:{preferences:{"x-go-type":"Preferences",type:"object",required:["theme","dashboard"],properties:{theme:{"x-go-type":"Theme",type:"object",required:["id","logo"],properties:{id:{type:"string"},logo:{"x-go-type":"Logo",type:"object",required:["desktop_view","mobile_view","dark_desktop_view","dark_mobile_view"],properties:{desktop_view:{"x-go-type":"Location",type:"object",required:["svg","location"],properties:{svg:{type:"string"},location:{type:"string"}}},mobile_view:{"x-go-type":"Location",type:"object",required:["svg","location"],properties:{svg:{type:"string"},location:{type:"string"}}},dark_desktop_view:{"x-go-type":"Location",type:"object",required:["svg","location"],properties:{svg:{type:"string"},location:{type:"string"}}},dark_mobile_view:{"x-go-type":"Location",type:"object",required:["svg","location"],properties:{svg:{type:"string"},location:{type:"string"}}}}},vars:{type:"object",additionalProperties:true}}},dashboard:{"x-go-type":"DashboardPrefs",type:"object",description:"Preferences specific to dashboard behavior",additionalProperties:true}}}}},Organization:{type:"object",required:["id","name","country","region","description","owner","metadata","created_at","updated_at"],properties:{id:{"x-oapi-codegen-extra-tags":{db:"id"},type:"string",format:"uuid",description:"A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"}},name:{type:"string","x-oapi-codegen-extra-tags":{db:"name"}},country:{type:"string","x-oapi-codegen-extra-tags":{db:"country"}},region:{type:"string","x-oapi-codegen-extra-tags":{db:"region"}},description:{type:"string","x-oapi-codegen-extra-tags":{db:"description"}},owner:{"x-oapi-codegen-extra-tags":{db:"owner"},type:"string",format:"uuid",description:"A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"}},metadata:{"x-go-type":"OrgMetadata","x-oapi-codegen-extra-tags":{db:"metadata"},type:"object",required:["preferences"],properties:{preferences:{"x-go-type":"Preferences",type:"object",required:["theme","dashboard"],properties:{theme:{"x-go-type":"Theme",type:"object",required:["id","logo"],properties:{id:{type:"string"},logo:{"x-go-type":"Logo",type:"object",required:["desktop_view","mobile_view","dark_desktop_view","dark_mobile_view"],properties:{desktop_view:{"x-go-type":"Location",type:"object",required:["svg","location"],properties:{svg:{type:"string"},location:{type:"string"}}},mobile_view:{"x-go-type":"Location",type:"object",required:["svg","location"],properties:{svg:{type:"string"},location:{type:"string"}}},dark_desktop_view:{"x-go-type":"Location",type:"object",required:["svg","location"],properties:{svg:{type:"string"},location:{type:"string"}}},dark_mobile_view:{"x-go-type":"Location",type:"object",required:["svg","location"],properties:{svg:{type:"string"},location:{type:"string"}}}}},vars:{type:"object",additionalProperties:true}}},dashboard:{"x-go-type":"DashboardPrefs",type:"object",description:"Preferences specific to dashboard behavior",additionalProperties:true}}}}},created_at:{"x-oapi-codegen-extra-tags":{db:"created_at"},type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},updated_at:{"x-oapi-codegen-extra-tags":{db:"updated_at"},type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},deleted_at:{"x-oapi-codegen-extra-tags":{db:"deleted_at"},type:"string",format:"date-time","x-go-type":"sql.NullTime","x-go-type-import":{path:"database/sql"},"x-go-type-skip-optional-pointer":true},domain:{type:"string",nullable:true,"x-oapi-codegen-extra-tags":{db:"domain"}}}},AvailableTeam:{type:"object",properties:{ID:{type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"},"x-oapi-codegen-extra-tags":{db:"id",json:"id"},"x-go-type-name":"GeneralId","x-go-type-skip-optional-pointer":true},name:{type:"string","x-go-type-skip-optional-pointer":true},description:{type:"string","x-go-type-skip-optional-pointer":true},owner:{type:"string","x-go-type-skip-optional-pointer":true},metadata:{type:"object",additionalProperties:{type:"string"},"x-go-type-skip-optional-pointer":true},created_at:{type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},updated_at:{type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},deleted_at:{type:"string",format:"date-time","x-go-type":"sql.NullTime","x-go-type-import":{path:"database/sql"},"x-go-type-skip-optional-pointer":true}}},TeamsPage:{type:"object",properties:{page:{type:"integer"},page_size:{type:"integer"},total_count:{type:"integer"},teams:{type:"array",items:{type:"object",properties:{ID:{type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"},"x-oapi-codegen-extra-tags":{db:"id",json:"id"},"x-go-type-name":"GeneralId","x-go-type-skip-optional-pointer":true},name:{type:"string","x-go-type-skip-optional-pointer":true},description:{type:"string","x-go-type-skip-optional-pointer":true},owner:{type:"string","x-go-type-skip-optional-pointer":true},metadata:{type:"object",additionalProperties:{type:"string"},"x-go-type-skip-optional-pointer":true},created_at:{type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},updated_at:{type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},deleted_at:{type:"string",format:"date-time","x-go-type":"sql.NullTime","x-go-type-import":{path:"database/sql"},"x-go-type-skip-optional-pointer":true}}}}}},TeamsOrganizationsMapping:{type:"object",properties:{ID:{type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"},"x-oapi-codegen-extra-tags":{db:"id",json:"id"},"x-go-type-name":"GeneralId","x-go-type-skip-optional-pointer":true},org_id:{type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"},"x-oapi-codegen-extra-tags":{db:"org_id",json:"org_id"},"x-go-type-name":"OrganizationId","x-go-type-skip-optional-pointer":true},team_id:{type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"},"x-oapi-codegen-extra-tags":{db:"team_id",json:"team_id"},"x-go-type-name":"TeamId","x-go-type-skip-optional-pointer":true},created_at:{type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},updated_at:{type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},deleted_at:{type:"string",format:"date-time","x-go-type":"sql.NullTime","x-go-type-import":{path:"database/sql"},"x-go-type-skip-optional-pointer":true}}},TeamsOrganizationsMappingPage:{type:"object",properties:{page:{type:"integer"},page_size:{type:"integer"},total_count:{type:"integer"},teams_organizations_mapping:{type:"array",items:{type:"object",properties:{ID:{type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"},"x-oapi-codegen-extra-tags":{db:"id",json:"id"},"x-go-type-name":"GeneralId","x-go-type-skip-optional-pointer":true},org_id:{type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"},"x-oapi-codegen-extra-tags":{db:"org_id",json:"org_id"},"x-go-type-name":"OrganizationId","x-go-type-skip-optional-pointer":true},team_id:{type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"},"x-oapi-codegen-extra-tags":{db:"team_id",json:"team_id"},"x-go-type-name":"TeamId","x-go-type-skip-optional-pointer":true},created_at:{type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},updated_at:{type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},deleted_at:{type:"string",format:"date-time","x-go-type":"sql.NullTime","x-go-type-import":{path:"database/sql"},"x-go-type-skip-optional-pointer":true}}}}}}}}},t=e;module.exports=t;
|
|
1
|
+
'use strict';var e={openapi:"3.0.0",info:{title:"Organization",description:"OpenAPI schema for organization management in Meshery Cloud.",version:"v1beta1",contact:{name:"Meshery Maintainers",email:"maintainers@meshery.io",url:"https://meshery.io"},license:{name:"Apache 2.0",url:"https://www.apache.org/licenses/LICENSE-2.0.html"}},paths:{"/api/identity/orgs/by-domain":{get:{summary:"Get organization by domain",operationId:"getOrgByDomain",parameters:[{name:"domain",in:"query",required:true,schema:{type:"string"}}],responses:{200:{description:"Successful response",content:{"application/json":{schema:{type:"object",required:["id","name","country","region","description","owner","metadata","created_at","updated_at"],properties:{id:{"x-oapi-codegen-extra-tags":{db:"id"},type:"string",format:"uuid",description:"A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"}},name:{type:"string","x-oapi-codegen-extra-tags":{db:"name"}},country:{type:"string","x-oapi-codegen-extra-tags":{db:"country"}},region:{type:"string","x-oapi-codegen-extra-tags":{db:"region"}},description:{type:"string","x-oapi-codegen-extra-tags":{db:"description"}},owner:{"x-oapi-codegen-extra-tags":{db:"owner"},type:"string",format:"uuid",description:"A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"}},metadata:{"x-go-type":"OrgMetadata","x-oapi-codegen-extra-tags":{db:"metadata"},type:"object",required:["preferences"],properties:{preferences:{"x-go-type":"Preferences",type:"object",required:["theme","dashboard"],properties:{theme:{"x-go-type":"Theme",type:"object",required:["id","logo"],properties:{id:{type:"string"},logo:{"x-go-type":"Logo",type:"object",required:["desktop_view","mobile_view","dark_desktop_view","dark_mobile_view"],properties:{desktop_view:{"x-go-type":"Location",type:"object",required:["svg","location"],properties:{svg:{type:"string"},location:{type:"string"}}},mobile_view:{"x-go-type":"Location",type:"object",required:["svg","location"],properties:{svg:{type:"string"},location:{type:"string"}}},dark_desktop_view:{"x-go-type":"Location",type:"object",required:["svg","location"],properties:{svg:{type:"string"},location:{type:"string"}}},dark_mobile_view:{"x-go-type":"Location",type:"object",required:["svg","location"],properties:{svg:{type:"string"},location:{type:"string"}}}}},vars:{type:"object",additionalProperties:true}}},dashboard:{"x-go-type":"DashboardPrefs",type:"object",description:"Preferences specific to dashboard behavior",additionalProperties:true}}}}},created_at:{"x-oapi-codegen-extra-tags":{db:"created_at"},type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},updated_at:{"x-oapi-codegen-extra-tags":{db:"updated_at"},type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},deleted_at:{"x-oapi-codegen-extra-tags":{db:"deleted_at"},type:"string",format:"date-time","x-go-type":"sql.NullTime","x-go-type-import":{path:"database/sql"},"x-go-type-skip-optional-pointer":true},domain:{type:"string",nullable:true,"x-oapi-codegen-extra-tags":{db:"domain"}}}}}}},404:{description:"Organization not found"},500:{description:"Internal server error"}}}},"/api/identity/orgs/{orgID}/teams/{teamId}":{post:{summary:"Add team to organization or soft delete team",description:"Adds a team to an organization. If request body contains action=delete, tombstones a team by setting its deleted_at timestamp. The team's organization mapping remains intact.",operationId:"AddTeamToOrg",parameters:[{name:"orgID",in:"path",required:true,schema:{type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"},"x-oapi-codegen-extra-tags":{db:"org_id",json:"org_id"},"x-go-type-name":"OrganizationId","x-go-type-skip-optional-pointer":true}},{name:"teamId",in:"path",required:true,schema:{type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"},"x-oapi-codegen-extra-tags":{db:"team_id",json:"team_id"},"x-go-type-name":"TeamId","x-go-type-skip-optional-pointer":true}}],requestBody:{required:false,content:{"application/json":{schema:{type:"object",description:"Optional action payload for POST on /api/identity/orgs/{orgID}/teams/{teamId}.",properties:{action:{type:"string",description:"Internal action to perform on the team resource.",enum:["delete"]}}}}}},responses:{200:{description:"Team added to organization or team tombstoned",content:{"application/json":{schema:{oneOf:[{type:"object",properties:{page:{type:"integer"},page_size:{type:"integer"},total_count:{type:"integer"},teams_organizations_mapping:{type:"array",items:{type:"object",properties:{ID:{type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"},"x-oapi-codegen-extra-tags":{db:"id",json:"id"},"x-go-type-name":"GeneralId","x-go-type-skip-optional-pointer":true},org_id:{type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"},"x-oapi-codegen-extra-tags":{db:"org_id",json:"org_id"},"x-go-type-name":"OrganizationId","x-go-type-skip-optional-pointer":true},team_id:{type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"},"x-oapi-codegen-extra-tags":{db:"team_id",json:"team_id"},"x-go-type-name":"TeamId","x-go-type-skip-optional-pointer":true},created_at:{type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},updated_at:{type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},deleted_at:{type:"string",format:"date-time","x-go-type":"sql.NullTime","x-go-type-import":{path:"database/sql"},"x-go-type-skip-optional-pointer":true}}}}}},{type:"object",properties:{page:{type:"integer"},page_size:{type:"integer"},total_count:{type:"integer"},teams:{type:"array",items:{type:"object",properties:{ID:{type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"},"x-oapi-codegen-extra-tags":{db:"id",json:"id"},"x-go-type-name":"GeneralId","x-go-type-skip-optional-pointer":true},name:{type:"string","x-go-type-skip-optional-pointer":true},description:{type:"string","x-go-type-skip-optional-pointer":true},owner:{type:"string","x-go-type-skip-optional-pointer":true},metadata:{type:"object",additionalProperties:{type:"string"},"x-go-type-skip-optional-pointer":true},created_at:{type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},updated_at:{type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},deleted_at:{type:"string",format:"date-time","x-go-type":"sql.NullTime","x-go-type-import":{path:"database/sql"},"x-go-type-skip-optional-pointer":true}}}}}}]}}}},400:{description:"Bad request"},401:{description:"Unauthorized"},404:{description:"Not found"},500:{description:"Internal server error"}}},delete:{summary:"Remove team from organization",description:"Removes (unassigns) a team from an organization.",operationId:"RemoveTeamFromOrg",parameters:[{name:"orgID",in:"path",required:true,schema:{type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"},"x-oapi-codegen-extra-tags":{db:"org_id",json:"org_id"},"x-go-type-name":"OrganizationId","x-go-type-skip-optional-pointer":true}},{name:"teamId",in:"path",required:true,schema:{type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"},"x-oapi-codegen-extra-tags":{db:"team_id",json:"team_id"},"x-go-type-name":"TeamId","x-go-type-skip-optional-pointer":true}}],responses:{200:{description:"Team removed from organization",content:{"application/json":{schema:{type:"object",properties:{page:{type:"integer"},page_size:{type:"integer"},total_count:{type:"integer"},teams_organizations_mapping:{type:"array",items:{type:"object",properties:{ID:{type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"},"x-oapi-codegen-extra-tags":{db:"id",json:"id"},"x-go-type-name":"GeneralId","x-go-type-skip-optional-pointer":true},org_id:{type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"},"x-oapi-codegen-extra-tags":{db:"org_id",json:"org_id"},"x-go-type-name":"OrganizationId","x-go-type-skip-optional-pointer":true},team_id:{type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"},"x-oapi-codegen-extra-tags":{db:"team_id",json:"team_id"},"x-go-type-name":"TeamId","x-go-type-skip-optional-pointer":true},created_at:{type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},updated_at:{type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},deleted_at:{type:"string",format:"date-time","x-go-type":"sql.NullTime","x-go-type-import":{path:"database/sql"},"x-go-type-skip-optional-pointer":true}}}}}}}}},400:{description:"Bad request"},401:{description:"Unauthorized"},404:{description:"Not found"},500:{description:"Internal server error"}}}}},components:{parameters:{orgID:{name:"orgID",in:"path",required:true,schema:{type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"},"x-oapi-codegen-extra-tags":{db:"org_id",json:"org_id"},"x-go-type-name":"OrganizationId","x-go-type-skip-optional-pointer":true}},teamId:{name:"teamId",in:"path",required:true,schema:{type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"},"x-oapi-codegen-extra-tags":{db:"team_id",json:"team_id"},"x-go-type-name":"TeamId","x-go-type-skip-optional-pointer":true}}},schemas:{UUID:{type:"string",format:"uuid",description:"A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"}},NullableTime:{type:"string",format:"date-time","x-go-type":"sql.NullTime","x-go-type-import":{path:"database/sql"},"x-go-type-skip-optional-pointer":true},Time:{type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},Text:{type:"string","x-go-type-skip-optional-pointer":true},MapObject:{type:"object",additionalProperties:{type:"string"},"x-go-type-skip-optional-pointer":true},OrgTeamActionPayload:{type:"object",description:"Optional action payload for POST on /api/identity/orgs/{orgID}/teams/{teamId}.",properties:{action:{type:"string",description:"Internal action to perform on the team resource.",enum:["delete"]}}},Location:{type:"object",required:["svg","location"],properties:{svg:{type:"string"},location:{type:"string"}}},Logo:{type:"object",required:["desktop_view","mobile_view","dark_desktop_view","dark_mobile_view"],properties:{desktop_view:{"x-go-type":"Location",type:"object",required:["svg","location"],properties:{svg:{type:"string"},location:{type:"string"}}},mobile_view:{"x-go-type":"Location",type:"object",required:["svg","location"],properties:{svg:{type:"string"},location:{type:"string"}}},dark_desktop_view:{"x-go-type":"Location",type:"object",required:["svg","location"],properties:{svg:{type:"string"},location:{type:"string"}}},dark_mobile_view:{"x-go-type":"Location",type:"object",required:["svg","location"],properties:{svg:{type:"string"},location:{type:"string"}}}}},Theme:{type:"object",required:["id","logo"],properties:{id:{type:"string"},logo:{"x-go-type":"Logo",type:"object",required:["desktop_view","mobile_view","dark_desktop_view","dark_mobile_view"],properties:{desktop_view:{"x-go-type":"Location",type:"object",required:["svg","location"],properties:{svg:{type:"string"},location:{type:"string"}}},mobile_view:{"x-go-type":"Location",type:"object",required:["svg","location"],properties:{svg:{type:"string"},location:{type:"string"}}},dark_desktop_view:{"x-go-type":"Location",type:"object",required:["svg","location"],properties:{svg:{type:"string"},location:{type:"string"}}},dark_mobile_view:{"x-go-type":"Location",type:"object",required:["svg","location"],properties:{svg:{type:"string"},location:{type:"string"}}}}},vars:{type:"object",additionalProperties:true}}},DashboardPrefs:{type:"object",description:"Preferences specific to dashboard behavior",additionalProperties:true},Preferences:{type:"object",required:["theme","dashboard"],properties:{theme:{"x-go-type":"Theme",type:"object",required:["id","logo"],properties:{id:{type:"string"},logo:{"x-go-type":"Logo",type:"object",required:["desktop_view","mobile_view","dark_desktop_view","dark_mobile_view"],properties:{desktop_view:{"x-go-type":"Location",type:"object",required:["svg","location"],properties:{svg:{type:"string"},location:{type:"string"}}},mobile_view:{"x-go-type":"Location",type:"object",required:["svg","location"],properties:{svg:{type:"string"},location:{type:"string"}}},dark_desktop_view:{"x-go-type":"Location",type:"object",required:["svg","location"],properties:{svg:{type:"string"},location:{type:"string"}}},dark_mobile_view:{"x-go-type":"Location",type:"object",required:["svg","location"],properties:{svg:{type:"string"},location:{type:"string"}}}}},vars:{type:"object",additionalProperties:true}}},dashboard:{"x-go-type":"DashboardPrefs",type:"object",description:"Preferences specific to dashboard behavior",additionalProperties:true}}},OrgMetadata:{type:"object",required:["preferences"],properties:{preferences:{"x-go-type":"Preferences",type:"object",required:["theme","dashboard"],properties:{theme:{"x-go-type":"Theme",type:"object",required:["id","logo"],properties:{id:{type:"string"},logo:{"x-go-type":"Logo",type:"object",required:["desktop_view","mobile_view","dark_desktop_view","dark_mobile_view"],properties:{desktop_view:{"x-go-type":"Location",type:"object",required:["svg","location"],properties:{svg:{type:"string"},location:{type:"string"}}},mobile_view:{"x-go-type":"Location",type:"object",required:["svg","location"],properties:{svg:{type:"string"},location:{type:"string"}}},dark_desktop_view:{"x-go-type":"Location",type:"object",required:["svg","location"],properties:{svg:{type:"string"},location:{type:"string"}}},dark_mobile_view:{"x-go-type":"Location",type:"object",required:["svg","location"],properties:{svg:{type:"string"},location:{type:"string"}}}}},vars:{type:"object",additionalProperties:true}}},dashboard:{"x-go-type":"DashboardPrefs",type:"object",description:"Preferences specific to dashboard behavior",additionalProperties:true}}}}},Organization:{type:"object",required:["id","name","country","region","description","owner","metadata","created_at","updated_at"],properties:{id:{"x-oapi-codegen-extra-tags":{db:"id"},type:"string",format:"uuid",description:"A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"}},name:{type:"string","x-oapi-codegen-extra-tags":{db:"name"}},country:{type:"string","x-oapi-codegen-extra-tags":{db:"country"}},region:{type:"string","x-oapi-codegen-extra-tags":{db:"region"}},description:{type:"string","x-oapi-codegen-extra-tags":{db:"description"}},owner:{"x-oapi-codegen-extra-tags":{db:"owner"},type:"string",format:"uuid",description:"A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"}},metadata:{"x-go-type":"OrgMetadata","x-oapi-codegen-extra-tags":{db:"metadata"},type:"object",required:["preferences"],properties:{preferences:{"x-go-type":"Preferences",type:"object",required:["theme","dashboard"],properties:{theme:{"x-go-type":"Theme",type:"object",required:["id","logo"],properties:{id:{type:"string"},logo:{"x-go-type":"Logo",type:"object",required:["desktop_view","mobile_view","dark_desktop_view","dark_mobile_view"],properties:{desktop_view:{"x-go-type":"Location",type:"object",required:["svg","location"],properties:{svg:{type:"string"},location:{type:"string"}}},mobile_view:{"x-go-type":"Location",type:"object",required:["svg","location"],properties:{svg:{type:"string"},location:{type:"string"}}},dark_desktop_view:{"x-go-type":"Location",type:"object",required:["svg","location"],properties:{svg:{type:"string"},location:{type:"string"}}},dark_mobile_view:{"x-go-type":"Location",type:"object",required:["svg","location"],properties:{svg:{type:"string"},location:{type:"string"}}}}},vars:{type:"object",additionalProperties:true}}},dashboard:{"x-go-type":"DashboardPrefs",type:"object",description:"Preferences specific to dashboard behavior",additionalProperties:true}}}}},created_at:{"x-oapi-codegen-extra-tags":{db:"created_at"},type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},updated_at:{"x-oapi-codegen-extra-tags":{db:"updated_at"},type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},deleted_at:{"x-oapi-codegen-extra-tags":{db:"deleted_at"},type:"string",format:"date-time","x-go-type":"sql.NullTime","x-go-type-import":{path:"database/sql"},"x-go-type-skip-optional-pointer":true},domain:{type:"string",nullable:true,"x-oapi-codegen-extra-tags":{db:"domain"}}}},AvailableTeam:{type:"object",properties:{ID:{type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"},"x-oapi-codegen-extra-tags":{db:"id",json:"id"},"x-go-type-name":"GeneralId","x-go-type-skip-optional-pointer":true},name:{type:"string","x-go-type-skip-optional-pointer":true},description:{type:"string","x-go-type-skip-optional-pointer":true},owner:{type:"string","x-go-type-skip-optional-pointer":true},metadata:{type:"object",additionalProperties:{type:"string"},"x-go-type-skip-optional-pointer":true},created_at:{type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},updated_at:{type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},deleted_at:{type:"string",format:"date-time","x-go-type":"sql.NullTime","x-go-type-import":{path:"database/sql"},"x-go-type-skip-optional-pointer":true}}},TeamsPage:{type:"object",properties:{page:{type:"integer"},page_size:{type:"integer"},total_count:{type:"integer"},teams:{type:"array",items:{type:"object",properties:{ID:{type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"},"x-oapi-codegen-extra-tags":{db:"id",json:"id"},"x-go-type-name":"GeneralId","x-go-type-skip-optional-pointer":true},name:{type:"string","x-go-type-skip-optional-pointer":true},description:{type:"string","x-go-type-skip-optional-pointer":true},owner:{type:"string","x-go-type-skip-optional-pointer":true},metadata:{type:"object",additionalProperties:{type:"string"},"x-go-type-skip-optional-pointer":true},created_at:{type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},updated_at:{type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},deleted_at:{type:"string",format:"date-time","x-go-type":"sql.NullTime","x-go-type-import":{path:"database/sql"},"x-go-type-skip-optional-pointer":true}}}}}},TeamsOrganizationsMapping:{type:"object",properties:{ID:{type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"},"x-oapi-codegen-extra-tags":{db:"id",json:"id"},"x-go-type-name":"GeneralId","x-go-type-skip-optional-pointer":true},org_id:{type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"},"x-oapi-codegen-extra-tags":{db:"org_id",json:"org_id"},"x-go-type-name":"OrganizationId","x-go-type-skip-optional-pointer":true},team_id:{type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"},"x-oapi-codegen-extra-tags":{db:"team_id",json:"team_id"},"x-go-type-name":"TeamId","x-go-type-skip-optional-pointer":true},created_at:{type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},updated_at:{type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},deleted_at:{type:"string",format:"date-time","x-go-type":"sql.NullTime","x-go-type-import":{path:"database/sql"},"x-go-type-skip-optional-pointer":true}}},TeamsOrganizationsMappingPage:{type:"object",properties:{page:{type:"integer"},page_size:{type:"integer"},total_count:{type:"integer"},teams_organizations_mapping:{type:"array",items:{type:"object",properties:{ID:{type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"},"x-oapi-codegen-extra-tags":{db:"id",json:"id"},"x-go-type-name":"GeneralId","x-go-type-skip-optional-pointer":true},org_id:{type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"},"x-oapi-codegen-extra-tags":{db:"org_id",json:"org_id"},"x-go-type-name":"OrganizationId","x-go-type-skip-optional-pointer":true},team_id:{type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"},"x-oapi-codegen-extra-tags":{db:"team_id",json:"team_id"},"x-go-type-name":"TeamId","x-go-type-skip-optional-pointer":true},created_at:{type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},updated_at:{type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},deleted_at:{type:"string",format:"date-time","x-go-type":"sql.NullTime","x-go-type-import":{path:"database/sql"},"x-go-type-skip-optional-pointer":true}}}}}}}}},t=e;
|
|
2
|
+
module.exports=t;
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
var e={openapi:"3.0.0",info:{title:"Organization",version:"1.0.0"},paths:{"/api/identity/orgs/by-domain":{get:{summary:"Get organization by domain",operationId:"getOrgByDomain",parameters:[{name:"domain",in:"query",required:true,schema:{type:"string"}}],responses:{200:{description:"Successful response",content:{"application/json":{schema:{type:"object",required:["id","name","country","region","description","owner","metadata","created_at","updated_at"],properties:{id:{"x-oapi-codegen-extra-tags":{db:"id"},type:"string",format:"uuid",description:"A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"}},name:{type:"string","x-oapi-codegen-extra-tags":{db:"name"}},country:{type:"string","x-oapi-codegen-extra-tags":{db:"country"}},region:{type:"string","x-oapi-codegen-extra-tags":{db:"region"}},description:{type:"string","x-oapi-codegen-extra-tags":{db:"description"}},owner:{"x-oapi-codegen-extra-tags":{db:"owner"},type:"string",format:"uuid",description:"A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"}},metadata:{"x-go-type":"OrgMetadata","x-oapi-codegen-extra-tags":{db:"metadata"},type:"object",required:["preferences"],properties:{preferences:{"x-go-type":"Preferences",type:"object",required:["theme","dashboard"],properties:{theme:{"x-go-type":"Theme",type:"object",required:["id","logo"],properties:{id:{type:"string"},logo:{"x-go-type":"Logo",type:"object",required:["desktop_view","mobile_view","dark_desktop_view","dark_mobile_view"],properties:{desktop_view:{"x-go-type":"Location",type:"object",required:["svg","location"],properties:{svg:{type:"string"},location:{type:"string"}}},mobile_view:{"x-go-type":"Location",type:"object",required:["svg","location"],properties:{svg:{type:"string"},location:{type:"string"}}},dark_desktop_view:{"x-go-type":"Location",type:"object",required:["svg","location"],properties:{svg:{type:"string"},location:{type:"string"}}},dark_mobile_view:{"x-go-type":"Location",type:"object",required:["svg","location"],properties:{svg:{type:"string"},location:{type:"string"}}}}},vars:{type:"object",additionalProperties:true}}},dashboard:{"x-go-type":"DashboardPrefs",type:"object",description:"Preferences specific to dashboard behavior",additionalProperties:true}}}}},created_at:{"x-oapi-codegen-extra-tags":{db:"created_at"},type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},updated_at:{"x-oapi-codegen-extra-tags":{db:"updated_at"},type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},deleted_at:{"x-oapi-codegen-extra-tags":{db:"deleted_at"},type:"string",format:"date-time","x-go-type":"sql.NullTime","x-go-type-import":{path:"database/sql"},"x-go-type-skip-optional-pointer":true},domain:{type:"string",nullable:true,"x-oapi-codegen-extra-tags":{db:"domain"}}}}}}},404:{description:"Organization not found"},500:{description:"Internal server error"}}}},"/api/identity/orgs/{orgID}/teams/{teamId}":{post:{summary:"Add team to organization or soft delete team",description:"Adds a team to an organization. If request body contains action=delete, tombstones a team by setting its deleted_at timestamp. The team's organization mapping remains intact.",operationId:"AddTeamToOrg",parameters:[{name:"orgID",in:"path",required:true,schema:{type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"},"x-oapi-codegen-extra-tags":{db:"org_id",json:"org_id"},"x-go-type-name":"OrganizationId","x-go-type-skip-optional-pointer":true}},{name:"teamId",in:"path",required:true,schema:{type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"},"x-oapi-codegen-extra-tags":{db:"team_id",json:"team_id"},"x-go-type-name":"TeamId","x-go-type-skip-optional-pointer":true}}],requestBody:{required:false,content:{"application/json":{schema:{type:"object",description:"Optional action payload for POST on /api/identity/orgs/{orgID}/teams/{teamId}.",properties:{action:{type:"string",description:"Internal action to perform on the team resource.",enum:["delete"]}}}}}},responses:{200:{description:"Team added to organization or team tombstoned",content:{"application/json":{schema:{oneOf:[{type:"object",properties:{page:{type:"integer"},page_size:{type:"integer"},total_count:{type:"integer"},teams_organizations_mapping:{type:"array",items:{type:"object",properties:{ID:{type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"},"x-oapi-codegen-extra-tags":{db:"id",json:"id"},"x-go-type-name":"GeneralId","x-go-type-skip-optional-pointer":true},org_id:{type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"},"x-oapi-codegen-extra-tags":{db:"org_id",json:"org_id"},"x-go-type-name":"OrganizationId","x-go-type-skip-optional-pointer":true},team_id:{type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"},"x-oapi-codegen-extra-tags":{db:"team_id",json:"team_id"},"x-go-type-name":"TeamId","x-go-type-skip-optional-pointer":true},created_at:{type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},updated_at:{type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},deleted_at:{type:"string",format:"date-time","x-go-type":"sql.NullTime","x-go-type-import":{path:"database/sql"},"x-go-type-skip-optional-pointer":true}}}}}},{type:"object",properties:{page:{type:"integer"},page_size:{type:"integer"},total_count:{type:"integer"},teams:{type:"array",items:{type:"object",properties:{ID:{type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"},"x-oapi-codegen-extra-tags":{db:"id",json:"id"},"x-go-type-name":"GeneralId","x-go-type-skip-optional-pointer":true},name:{type:"string","x-go-type-skip-optional-pointer":true},description:{type:"string","x-go-type-skip-optional-pointer":true},owner:{type:"string","x-go-type-skip-optional-pointer":true},metadata:{type:"object",additionalProperties:{type:"string"},"x-go-type-skip-optional-pointer":true},created_at:{type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},updated_at:{type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},deleted_at:{type:"string",format:"date-time","x-go-type":"sql.NullTime","x-go-type-import":{path:"database/sql"},"x-go-type-skip-optional-pointer":true}}}}}}]}}}},400:{description:"Bad request"},401:{description:"Unauthorized"},404:{description:"Not found"},500:{description:"Internal server error"}}},delete:{summary:"Remove team from organization",description:"Removes (unassigns) a team from an organization.",operationId:"RemoveTeamFromOrg",parameters:[{name:"orgID",in:"path",required:true,schema:{type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"},"x-oapi-codegen-extra-tags":{db:"org_id",json:"org_id"},"x-go-type-name":"OrganizationId","x-go-type-skip-optional-pointer":true}},{name:"teamId",in:"path",required:true,schema:{type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"},"x-oapi-codegen-extra-tags":{db:"team_id",json:"team_id"},"x-go-type-name":"TeamId","x-go-type-skip-optional-pointer":true}}],responses:{200:{description:"Team removed from organization",content:{"application/json":{schema:{type:"object",properties:{page:{type:"integer"},page_size:{type:"integer"},total_count:{type:"integer"},teams_organizations_mapping:{type:"array",items:{type:"object",properties:{ID:{type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"},"x-oapi-codegen-extra-tags":{db:"id",json:"id"},"x-go-type-name":"GeneralId","x-go-type-skip-optional-pointer":true},org_id:{type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"},"x-oapi-codegen-extra-tags":{db:"org_id",json:"org_id"},"x-go-type-name":"OrganizationId","x-go-type-skip-optional-pointer":true},team_id:{type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"},"x-oapi-codegen-extra-tags":{db:"team_id",json:"team_id"},"x-go-type-name":"TeamId","x-go-type-skip-optional-pointer":true},created_at:{type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},updated_at:{type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},deleted_at:{type:"string",format:"date-time","x-go-type":"sql.NullTime","x-go-type-import":{path:"database/sql"},"x-go-type-skip-optional-pointer":true}}}}}}}}},400:{description:"Bad request"},401:{description:"Unauthorized"},404:{description:"Not found"},500:{description:"Internal server error"}}}}},components:{parameters:{orgID:{name:"orgID",in:"path",required:true,schema:{type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"},"x-oapi-codegen-extra-tags":{db:"org_id",json:"org_id"},"x-go-type-name":"OrganizationId","x-go-type-skip-optional-pointer":true}},teamId:{name:"teamId",in:"path",required:true,schema:{type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"},"x-oapi-codegen-extra-tags":{db:"team_id",json:"team_id"},"x-go-type-name":"TeamId","x-go-type-skip-optional-pointer":true}}},schemas:{UUID:{type:"string",format:"uuid",description:"A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"}},NullableTime:{type:"string",format:"date-time","x-go-type":"sql.NullTime","x-go-type-import":{path:"database/sql"},"x-go-type-skip-optional-pointer":true},Time:{type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},Text:{type:"string","x-go-type-skip-optional-pointer":true},MapObject:{type:"object",additionalProperties:{type:"string"},"x-go-type-skip-optional-pointer":true},OrgTeamActionPayload:{type:"object",description:"Optional action payload for POST on /api/identity/orgs/{orgID}/teams/{teamId}.",properties:{action:{type:"string",description:"Internal action to perform on the team resource.",enum:["delete"]}}},Location:{type:"object",required:["svg","location"],properties:{svg:{type:"string"},location:{type:"string"}}},Logo:{type:"object",required:["desktop_view","mobile_view","dark_desktop_view","dark_mobile_view"],properties:{desktop_view:{"x-go-type":"Location",type:"object",required:["svg","location"],properties:{svg:{type:"string"},location:{type:"string"}}},mobile_view:{"x-go-type":"Location",type:"object",required:["svg","location"],properties:{svg:{type:"string"},location:{type:"string"}}},dark_desktop_view:{"x-go-type":"Location",type:"object",required:["svg","location"],properties:{svg:{type:"string"},location:{type:"string"}}},dark_mobile_view:{"x-go-type":"Location",type:"object",required:["svg","location"],properties:{svg:{type:"string"},location:{type:"string"}}}}},Theme:{type:"object",required:["id","logo"],properties:{id:{type:"string"},logo:{"x-go-type":"Logo",type:"object",required:["desktop_view","mobile_view","dark_desktop_view","dark_mobile_view"],properties:{desktop_view:{"x-go-type":"Location",type:"object",required:["svg","location"],properties:{svg:{type:"string"},location:{type:"string"}}},mobile_view:{"x-go-type":"Location",type:"object",required:["svg","location"],properties:{svg:{type:"string"},location:{type:"string"}}},dark_desktop_view:{"x-go-type":"Location",type:"object",required:["svg","location"],properties:{svg:{type:"string"},location:{type:"string"}}},dark_mobile_view:{"x-go-type":"Location",type:"object",required:["svg","location"],properties:{svg:{type:"string"},location:{type:"string"}}}}},vars:{type:"object",additionalProperties:true}}},DashboardPrefs:{type:"object",description:"Preferences specific to dashboard behavior",additionalProperties:true},Preferences:{type:"object",required:["theme","dashboard"],properties:{theme:{"x-go-type":"Theme",type:"object",required:["id","logo"],properties:{id:{type:"string"},logo:{"x-go-type":"Logo",type:"object",required:["desktop_view","mobile_view","dark_desktop_view","dark_mobile_view"],properties:{desktop_view:{"x-go-type":"Location",type:"object",required:["svg","location"],properties:{svg:{type:"string"},location:{type:"string"}}},mobile_view:{"x-go-type":"Location",type:"object",required:["svg","location"],properties:{svg:{type:"string"},location:{type:"string"}}},dark_desktop_view:{"x-go-type":"Location",type:"object",required:["svg","location"],properties:{svg:{type:"string"},location:{type:"string"}}},dark_mobile_view:{"x-go-type":"Location",type:"object",required:["svg","location"],properties:{svg:{type:"string"},location:{type:"string"}}}}},vars:{type:"object",additionalProperties:true}}},dashboard:{"x-go-type":"DashboardPrefs",type:"object",description:"Preferences specific to dashboard behavior",additionalProperties:true}}},OrgMetadata:{type:"object",required:["preferences"],properties:{preferences:{"x-go-type":"Preferences",type:"object",required:["theme","dashboard"],properties:{theme:{"x-go-type":"Theme",type:"object",required:["id","logo"],properties:{id:{type:"string"},logo:{"x-go-type":"Logo",type:"object",required:["desktop_view","mobile_view","dark_desktop_view","dark_mobile_view"],properties:{desktop_view:{"x-go-type":"Location",type:"object",required:["svg","location"],properties:{svg:{type:"string"},location:{type:"string"}}},mobile_view:{"x-go-type":"Location",type:"object",required:["svg","location"],properties:{svg:{type:"string"},location:{type:"string"}}},dark_desktop_view:{"x-go-type":"Location",type:"object",required:["svg","location"],properties:{svg:{type:"string"},location:{type:"string"}}},dark_mobile_view:{"x-go-type":"Location",type:"object",required:["svg","location"],properties:{svg:{type:"string"},location:{type:"string"}}}}},vars:{type:"object",additionalProperties:true}}},dashboard:{"x-go-type":"DashboardPrefs",type:"object",description:"Preferences specific to dashboard behavior",additionalProperties:true}}}}},Organization:{type:"object",required:["id","name","country","region","description","owner","metadata","created_at","updated_at"],properties:{id:{"x-oapi-codegen-extra-tags":{db:"id"},type:"string",format:"uuid",description:"A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"}},name:{type:"string","x-oapi-codegen-extra-tags":{db:"name"}},country:{type:"string","x-oapi-codegen-extra-tags":{db:"country"}},region:{type:"string","x-oapi-codegen-extra-tags":{db:"region"}},description:{type:"string","x-oapi-codegen-extra-tags":{db:"description"}},owner:{"x-oapi-codegen-extra-tags":{db:"owner"},type:"string",format:"uuid",description:"A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"}},metadata:{"x-go-type":"OrgMetadata","x-oapi-codegen-extra-tags":{db:"metadata"},type:"object",required:["preferences"],properties:{preferences:{"x-go-type":"Preferences",type:"object",required:["theme","dashboard"],properties:{theme:{"x-go-type":"Theme",type:"object",required:["id","logo"],properties:{id:{type:"string"},logo:{"x-go-type":"Logo",type:"object",required:["desktop_view","mobile_view","dark_desktop_view","dark_mobile_view"],properties:{desktop_view:{"x-go-type":"Location",type:"object",required:["svg","location"],properties:{svg:{type:"string"},location:{type:"string"}}},mobile_view:{"x-go-type":"Location",type:"object",required:["svg","location"],properties:{svg:{type:"string"},location:{type:"string"}}},dark_desktop_view:{"x-go-type":"Location",type:"object",required:["svg","location"],properties:{svg:{type:"string"},location:{type:"string"}}},dark_mobile_view:{"x-go-type":"Location",type:"object",required:["svg","location"],properties:{svg:{type:"string"},location:{type:"string"}}}}},vars:{type:"object",additionalProperties:true}}},dashboard:{"x-go-type":"DashboardPrefs",type:"object",description:"Preferences specific to dashboard behavior",additionalProperties:true}}}}},created_at:{"x-oapi-codegen-extra-tags":{db:"created_at"},type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},updated_at:{"x-oapi-codegen-extra-tags":{db:"updated_at"},type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},deleted_at:{"x-oapi-codegen-extra-tags":{db:"deleted_at"},type:"string",format:"date-time","x-go-type":"sql.NullTime","x-go-type-import":{path:"database/sql"},"x-go-type-skip-optional-pointer":true},domain:{type:"string",nullable:true,"x-oapi-codegen-extra-tags":{db:"domain"}}}},AvailableTeam:{type:"object",properties:{ID:{type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"},"x-oapi-codegen-extra-tags":{db:"id",json:"id"},"x-go-type-name":"GeneralId","x-go-type-skip-optional-pointer":true},name:{type:"string","x-go-type-skip-optional-pointer":true},description:{type:"string","x-go-type-skip-optional-pointer":true},owner:{type:"string","x-go-type-skip-optional-pointer":true},metadata:{type:"object",additionalProperties:{type:"string"},"x-go-type-skip-optional-pointer":true},created_at:{type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},updated_at:{type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},deleted_at:{type:"string",format:"date-time","x-go-type":"sql.NullTime","x-go-type-import":{path:"database/sql"},"x-go-type-skip-optional-pointer":true}}},TeamsPage:{type:"object",properties:{page:{type:"integer"},page_size:{type:"integer"},total_count:{type:"integer"},teams:{type:"array",items:{type:"object",properties:{ID:{type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"},"x-oapi-codegen-extra-tags":{db:"id",json:"id"},"x-go-type-name":"GeneralId","x-go-type-skip-optional-pointer":true},name:{type:"string","x-go-type-skip-optional-pointer":true},description:{type:"string","x-go-type-skip-optional-pointer":true},owner:{type:"string","x-go-type-skip-optional-pointer":true},metadata:{type:"object",additionalProperties:{type:"string"},"x-go-type-skip-optional-pointer":true},created_at:{type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},updated_at:{type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},deleted_at:{type:"string",format:"date-time","x-go-type":"sql.NullTime","x-go-type-import":{path:"database/sql"},"x-go-type-skip-optional-pointer":true}}}}}},TeamsOrganizationsMapping:{type:"object",properties:{ID:{type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"},"x-oapi-codegen-extra-tags":{db:"id",json:"id"},"x-go-type-name":"GeneralId","x-go-type-skip-optional-pointer":true},org_id:{type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"},"x-oapi-codegen-extra-tags":{db:"org_id",json:"org_id"},"x-go-type-name":"OrganizationId","x-go-type-skip-optional-pointer":true},team_id:{type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"},"x-oapi-codegen-extra-tags":{db:"team_id",json:"team_id"},"x-go-type-name":"TeamId","x-go-type-skip-optional-pointer":true},created_at:{type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},updated_at:{type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},deleted_at:{type:"string",format:"date-time","x-go-type":"sql.NullTime","x-go-type-import":{path:"database/sql"},"x-go-type-skip-optional-pointer":true}}},TeamsOrganizationsMappingPage:{type:"object",properties:{page:{type:"integer"},page_size:{type:"integer"},total_count:{type:"integer"},teams_organizations_mapping:{type:"array",items:{type:"object",properties:{ID:{type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"},"x-oapi-codegen-extra-tags":{db:"id",json:"id"},"x-go-type-name":"GeneralId","x-go-type-skip-optional-pointer":true},org_id:{type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"},"x-oapi-codegen-extra-tags":{db:"org_id",json:"org_id"},"x-go-type-name":"OrganizationId","x-go-type-skip-optional-pointer":true},team_id:{type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"},"x-oapi-codegen-extra-tags":{db:"team_id",json:"team_id"},"x-go-type-name":"TeamId","x-go-type-skip-optional-pointer":true},created_at:{type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},updated_at:{type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},deleted_at:{type:"string",format:"date-time","x-go-type":"sql.NullTime","x-go-type-import":{path:"database/sql"},"x-go-type-skip-optional-pointer":true}}}}}}}}},t=e;export{t as default};
|
|
1
|
+
var e={openapi:"3.0.0",info:{title:"Organization",description:"OpenAPI schema for organization management in Meshery Cloud.",version:"v1beta1",contact:{name:"Meshery Maintainers",email:"maintainers@meshery.io",url:"https://meshery.io"},license:{name:"Apache 2.0",url:"https://www.apache.org/licenses/LICENSE-2.0.html"}},paths:{"/api/identity/orgs/by-domain":{get:{summary:"Get organization by domain",operationId:"getOrgByDomain",parameters:[{name:"domain",in:"query",required:true,schema:{type:"string"}}],responses:{200:{description:"Successful response",content:{"application/json":{schema:{type:"object",required:["id","name","country","region","description","owner","metadata","created_at","updated_at"],properties:{id:{"x-oapi-codegen-extra-tags":{db:"id"},type:"string",format:"uuid",description:"A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"}},name:{type:"string","x-oapi-codegen-extra-tags":{db:"name"}},country:{type:"string","x-oapi-codegen-extra-tags":{db:"country"}},region:{type:"string","x-oapi-codegen-extra-tags":{db:"region"}},description:{type:"string","x-oapi-codegen-extra-tags":{db:"description"}},owner:{"x-oapi-codegen-extra-tags":{db:"owner"},type:"string",format:"uuid",description:"A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"}},metadata:{"x-go-type":"OrgMetadata","x-oapi-codegen-extra-tags":{db:"metadata"},type:"object",required:["preferences"],properties:{preferences:{"x-go-type":"Preferences",type:"object",required:["theme","dashboard"],properties:{theme:{"x-go-type":"Theme",type:"object",required:["id","logo"],properties:{id:{type:"string"},logo:{"x-go-type":"Logo",type:"object",required:["desktop_view","mobile_view","dark_desktop_view","dark_mobile_view"],properties:{desktop_view:{"x-go-type":"Location",type:"object",required:["svg","location"],properties:{svg:{type:"string"},location:{type:"string"}}},mobile_view:{"x-go-type":"Location",type:"object",required:["svg","location"],properties:{svg:{type:"string"},location:{type:"string"}}},dark_desktop_view:{"x-go-type":"Location",type:"object",required:["svg","location"],properties:{svg:{type:"string"},location:{type:"string"}}},dark_mobile_view:{"x-go-type":"Location",type:"object",required:["svg","location"],properties:{svg:{type:"string"},location:{type:"string"}}}}},vars:{type:"object",additionalProperties:true}}},dashboard:{"x-go-type":"DashboardPrefs",type:"object",description:"Preferences specific to dashboard behavior",additionalProperties:true}}}}},created_at:{"x-oapi-codegen-extra-tags":{db:"created_at"},type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},updated_at:{"x-oapi-codegen-extra-tags":{db:"updated_at"},type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},deleted_at:{"x-oapi-codegen-extra-tags":{db:"deleted_at"},type:"string",format:"date-time","x-go-type":"sql.NullTime","x-go-type-import":{path:"database/sql"},"x-go-type-skip-optional-pointer":true},domain:{type:"string",nullable:true,"x-oapi-codegen-extra-tags":{db:"domain"}}}}}}},404:{description:"Organization not found"},500:{description:"Internal server error"}}}},"/api/identity/orgs/{orgID}/teams/{teamId}":{post:{summary:"Add team to organization or soft delete team",description:"Adds a team to an organization. If request body contains action=delete, tombstones a team by setting its deleted_at timestamp. The team's organization mapping remains intact.",operationId:"AddTeamToOrg",parameters:[{name:"orgID",in:"path",required:true,schema:{type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"},"x-oapi-codegen-extra-tags":{db:"org_id",json:"org_id"},"x-go-type-name":"OrganizationId","x-go-type-skip-optional-pointer":true}},{name:"teamId",in:"path",required:true,schema:{type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"},"x-oapi-codegen-extra-tags":{db:"team_id",json:"team_id"},"x-go-type-name":"TeamId","x-go-type-skip-optional-pointer":true}}],requestBody:{required:false,content:{"application/json":{schema:{type:"object",description:"Optional action payload for POST on /api/identity/orgs/{orgID}/teams/{teamId}.",properties:{action:{type:"string",description:"Internal action to perform on the team resource.",enum:["delete"]}}}}}},responses:{200:{description:"Team added to organization or team tombstoned",content:{"application/json":{schema:{oneOf:[{type:"object",properties:{page:{type:"integer"},page_size:{type:"integer"},total_count:{type:"integer"},teams_organizations_mapping:{type:"array",items:{type:"object",properties:{ID:{type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"},"x-oapi-codegen-extra-tags":{db:"id",json:"id"},"x-go-type-name":"GeneralId","x-go-type-skip-optional-pointer":true},org_id:{type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"},"x-oapi-codegen-extra-tags":{db:"org_id",json:"org_id"},"x-go-type-name":"OrganizationId","x-go-type-skip-optional-pointer":true},team_id:{type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"},"x-oapi-codegen-extra-tags":{db:"team_id",json:"team_id"},"x-go-type-name":"TeamId","x-go-type-skip-optional-pointer":true},created_at:{type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},updated_at:{type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},deleted_at:{type:"string",format:"date-time","x-go-type":"sql.NullTime","x-go-type-import":{path:"database/sql"},"x-go-type-skip-optional-pointer":true}}}}}},{type:"object",properties:{page:{type:"integer"},page_size:{type:"integer"},total_count:{type:"integer"},teams:{type:"array",items:{type:"object",properties:{ID:{type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"},"x-oapi-codegen-extra-tags":{db:"id",json:"id"},"x-go-type-name":"GeneralId","x-go-type-skip-optional-pointer":true},name:{type:"string","x-go-type-skip-optional-pointer":true},description:{type:"string","x-go-type-skip-optional-pointer":true},owner:{type:"string","x-go-type-skip-optional-pointer":true},metadata:{type:"object",additionalProperties:{type:"string"},"x-go-type-skip-optional-pointer":true},created_at:{type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},updated_at:{type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},deleted_at:{type:"string",format:"date-time","x-go-type":"sql.NullTime","x-go-type-import":{path:"database/sql"},"x-go-type-skip-optional-pointer":true}}}}}}]}}}},400:{description:"Bad request"},401:{description:"Unauthorized"},404:{description:"Not found"},500:{description:"Internal server error"}}},delete:{summary:"Remove team from organization",description:"Removes (unassigns) a team from an organization.",operationId:"RemoveTeamFromOrg",parameters:[{name:"orgID",in:"path",required:true,schema:{type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"},"x-oapi-codegen-extra-tags":{db:"org_id",json:"org_id"},"x-go-type-name":"OrganizationId","x-go-type-skip-optional-pointer":true}},{name:"teamId",in:"path",required:true,schema:{type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"},"x-oapi-codegen-extra-tags":{db:"team_id",json:"team_id"},"x-go-type-name":"TeamId","x-go-type-skip-optional-pointer":true}}],responses:{200:{description:"Team removed from organization",content:{"application/json":{schema:{type:"object",properties:{page:{type:"integer"},page_size:{type:"integer"},total_count:{type:"integer"},teams_organizations_mapping:{type:"array",items:{type:"object",properties:{ID:{type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"},"x-oapi-codegen-extra-tags":{db:"id",json:"id"},"x-go-type-name":"GeneralId","x-go-type-skip-optional-pointer":true},org_id:{type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"},"x-oapi-codegen-extra-tags":{db:"org_id",json:"org_id"},"x-go-type-name":"OrganizationId","x-go-type-skip-optional-pointer":true},team_id:{type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"},"x-oapi-codegen-extra-tags":{db:"team_id",json:"team_id"},"x-go-type-name":"TeamId","x-go-type-skip-optional-pointer":true},created_at:{type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},updated_at:{type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},deleted_at:{type:"string",format:"date-time","x-go-type":"sql.NullTime","x-go-type-import":{path:"database/sql"},"x-go-type-skip-optional-pointer":true}}}}}}}}},400:{description:"Bad request"},401:{description:"Unauthorized"},404:{description:"Not found"},500:{description:"Internal server error"}}}}},components:{parameters:{orgID:{name:"orgID",in:"path",required:true,schema:{type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"},"x-oapi-codegen-extra-tags":{db:"org_id",json:"org_id"},"x-go-type-name":"OrganizationId","x-go-type-skip-optional-pointer":true}},teamId:{name:"teamId",in:"path",required:true,schema:{type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"},"x-oapi-codegen-extra-tags":{db:"team_id",json:"team_id"},"x-go-type-name":"TeamId","x-go-type-skip-optional-pointer":true}}},schemas:{UUID:{type:"string",format:"uuid",description:"A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"}},NullableTime:{type:"string",format:"date-time","x-go-type":"sql.NullTime","x-go-type-import":{path:"database/sql"},"x-go-type-skip-optional-pointer":true},Time:{type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},Text:{type:"string","x-go-type-skip-optional-pointer":true},MapObject:{type:"object",additionalProperties:{type:"string"},"x-go-type-skip-optional-pointer":true},OrgTeamActionPayload:{type:"object",description:"Optional action payload for POST on /api/identity/orgs/{orgID}/teams/{teamId}.",properties:{action:{type:"string",description:"Internal action to perform on the team resource.",enum:["delete"]}}},Location:{type:"object",required:["svg","location"],properties:{svg:{type:"string"},location:{type:"string"}}},Logo:{type:"object",required:["desktop_view","mobile_view","dark_desktop_view","dark_mobile_view"],properties:{desktop_view:{"x-go-type":"Location",type:"object",required:["svg","location"],properties:{svg:{type:"string"},location:{type:"string"}}},mobile_view:{"x-go-type":"Location",type:"object",required:["svg","location"],properties:{svg:{type:"string"},location:{type:"string"}}},dark_desktop_view:{"x-go-type":"Location",type:"object",required:["svg","location"],properties:{svg:{type:"string"},location:{type:"string"}}},dark_mobile_view:{"x-go-type":"Location",type:"object",required:["svg","location"],properties:{svg:{type:"string"},location:{type:"string"}}}}},Theme:{type:"object",required:["id","logo"],properties:{id:{type:"string"},logo:{"x-go-type":"Logo",type:"object",required:["desktop_view","mobile_view","dark_desktop_view","dark_mobile_view"],properties:{desktop_view:{"x-go-type":"Location",type:"object",required:["svg","location"],properties:{svg:{type:"string"},location:{type:"string"}}},mobile_view:{"x-go-type":"Location",type:"object",required:["svg","location"],properties:{svg:{type:"string"},location:{type:"string"}}},dark_desktop_view:{"x-go-type":"Location",type:"object",required:["svg","location"],properties:{svg:{type:"string"},location:{type:"string"}}},dark_mobile_view:{"x-go-type":"Location",type:"object",required:["svg","location"],properties:{svg:{type:"string"},location:{type:"string"}}}}},vars:{type:"object",additionalProperties:true}}},DashboardPrefs:{type:"object",description:"Preferences specific to dashboard behavior",additionalProperties:true},Preferences:{type:"object",required:["theme","dashboard"],properties:{theme:{"x-go-type":"Theme",type:"object",required:["id","logo"],properties:{id:{type:"string"},logo:{"x-go-type":"Logo",type:"object",required:["desktop_view","mobile_view","dark_desktop_view","dark_mobile_view"],properties:{desktop_view:{"x-go-type":"Location",type:"object",required:["svg","location"],properties:{svg:{type:"string"},location:{type:"string"}}},mobile_view:{"x-go-type":"Location",type:"object",required:["svg","location"],properties:{svg:{type:"string"},location:{type:"string"}}},dark_desktop_view:{"x-go-type":"Location",type:"object",required:["svg","location"],properties:{svg:{type:"string"},location:{type:"string"}}},dark_mobile_view:{"x-go-type":"Location",type:"object",required:["svg","location"],properties:{svg:{type:"string"},location:{type:"string"}}}}},vars:{type:"object",additionalProperties:true}}},dashboard:{"x-go-type":"DashboardPrefs",type:"object",description:"Preferences specific to dashboard behavior",additionalProperties:true}}},OrgMetadata:{type:"object",required:["preferences"],properties:{preferences:{"x-go-type":"Preferences",type:"object",required:["theme","dashboard"],properties:{theme:{"x-go-type":"Theme",type:"object",required:["id","logo"],properties:{id:{type:"string"},logo:{"x-go-type":"Logo",type:"object",required:["desktop_view","mobile_view","dark_desktop_view","dark_mobile_view"],properties:{desktop_view:{"x-go-type":"Location",type:"object",required:["svg","location"],properties:{svg:{type:"string"},location:{type:"string"}}},mobile_view:{"x-go-type":"Location",type:"object",required:["svg","location"],properties:{svg:{type:"string"},location:{type:"string"}}},dark_desktop_view:{"x-go-type":"Location",type:"object",required:["svg","location"],properties:{svg:{type:"string"},location:{type:"string"}}},dark_mobile_view:{"x-go-type":"Location",type:"object",required:["svg","location"],properties:{svg:{type:"string"},location:{type:"string"}}}}},vars:{type:"object",additionalProperties:true}}},dashboard:{"x-go-type":"DashboardPrefs",type:"object",description:"Preferences specific to dashboard behavior",additionalProperties:true}}}}},Organization:{type:"object",required:["id","name","country","region","description","owner","metadata","created_at","updated_at"],properties:{id:{"x-oapi-codegen-extra-tags":{db:"id"},type:"string",format:"uuid",description:"A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"}},name:{type:"string","x-oapi-codegen-extra-tags":{db:"name"}},country:{type:"string","x-oapi-codegen-extra-tags":{db:"country"}},region:{type:"string","x-oapi-codegen-extra-tags":{db:"region"}},description:{type:"string","x-oapi-codegen-extra-tags":{db:"description"}},owner:{"x-oapi-codegen-extra-tags":{db:"owner"},type:"string",format:"uuid",description:"A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"}},metadata:{"x-go-type":"OrgMetadata","x-oapi-codegen-extra-tags":{db:"metadata"},type:"object",required:["preferences"],properties:{preferences:{"x-go-type":"Preferences",type:"object",required:["theme","dashboard"],properties:{theme:{"x-go-type":"Theme",type:"object",required:["id","logo"],properties:{id:{type:"string"},logo:{"x-go-type":"Logo",type:"object",required:["desktop_view","mobile_view","dark_desktop_view","dark_mobile_view"],properties:{desktop_view:{"x-go-type":"Location",type:"object",required:["svg","location"],properties:{svg:{type:"string"},location:{type:"string"}}},mobile_view:{"x-go-type":"Location",type:"object",required:["svg","location"],properties:{svg:{type:"string"},location:{type:"string"}}},dark_desktop_view:{"x-go-type":"Location",type:"object",required:["svg","location"],properties:{svg:{type:"string"},location:{type:"string"}}},dark_mobile_view:{"x-go-type":"Location",type:"object",required:["svg","location"],properties:{svg:{type:"string"},location:{type:"string"}}}}},vars:{type:"object",additionalProperties:true}}},dashboard:{"x-go-type":"DashboardPrefs",type:"object",description:"Preferences specific to dashboard behavior",additionalProperties:true}}}}},created_at:{"x-oapi-codegen-extra-tags":{db:"created_at"},type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},updated_at:{"x-oapi-codegen-extra-tags":{db:"updated_at"},type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},deleted_at:{"x-oapi-codegen-extra-tags":{db:"deleted_at"},type:"string",format:"date-time","x-go-type":"sql.NullTime","x-go-type-import":{path:"database/sql"},"x-go-type-skip-optional-pointer":true},domain:{type:"string",nullable:true,"x-oapi-codegen-extra-tags":{db:"domain"}}}},AvailableTeam:{type:"object",properties:{ID:{type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"},"x-oapi-codegen-extra-tags":{db:"id",json:"id"},"x-go-type-name":"GeneralId","x-go-type-skip-optional-pointer":true},name:{type:"string","x-go-type-skip-optional-pointer":true},description:{type:"string","x-go-type-skip-optional-pointer":true},owner:{type:"string","x-go-type-skip-optional-pointer":true},metadata:{type:"object",additionalProperties:{type:"string"},"x-go-type-skip-optional-pointer":true},created_at:{type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},updated_at:{type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},deleted_at:{type:"string",format:"date-time","x-go-type":"sql.NullTime","x-go-type-import":{path:"database/sql"},"x-go-type-skip-optional-pointer":true}}},TeamsPage:{type:"object",properties:{page:{type:"integer"},page_size:{type:"integer"},total_count:{type:"integer"},teams:{type:"array",items:{type:"object",properties:{ID:{type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"},"x-oapi-codegen-extra-tags":{db:"id",json:"id"},"x-go-type-name":"GeneralId","x-go-type-skip-optional-pointer":true},name:{type:"string","x-go-type-skip-optional-pointer":true},description:{type:"string","x-go-type-skip-optional-pointer":true},owner:{type:"string","x-go-type-skip-optional-pointer":true},metadata:{type:"object",additionalProperties:{type:"string"},"x-go-type-skip-optional-pointer":true},created_at:{type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},updated_at:{type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},deleted_at:{type:"string",format:"date-time","x-go-type":"sql.NullTime","x-go-type-import":{path:"database/sql"},"x-go-type-skip-optional-pointer":true}}}}}},TeamsOrganizationsMapping:{type:"object",properties:{ID:{type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"},"x-oapi-codegen-extra-tags":{db:"id",json:"id"},"x-go-type-name":"GeneralId","x-go-type-skip-optional-pointer":true},org_id:{type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"},"x-oapi-codegen-extra-tags":{db:"org_id",json:"org_id"},"x-go-type-name":"OrganizationId","x-go-type-skip-optional-pointer":true},team_id:{type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"},"x-oapi-codegen-extra-tags":{db:"team_id",json:"team_id"},"x-go-type-name":"TeamId","x-go-type-skip-optional-pointer":true},created_at:{type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},updated_at:{type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},deleted_at:{type:"string",format:"date-time","x-go-type":"sql.NullTime","x-go-type-import":{path:"database/sql"},"x-go-type-skip-optional-pointer":true}}},TeamsOrganizationsMappingPage:{type:"object",properties:{page:{type:"integer"},page_size:{type:"integer"},total_count:{type:"integer"},teams_organizations_mapping:{type:"array",items:{type:"object",properties:{ID:{type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"},"x-oapi-codegen-extra-tags":{db:"id",json:"id"},"x-go-type-name":"GeneralId","x-go-type-skip-optional-pointer":true},org_id:{type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"},"x-oapi-codegen-extra-tags":{db:"org_id",json:"org_id"},"x-go-type-name":"OrganizationId","x-go-type-skip-optional-pointer":true},team_id:{type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"},"x-oapi-codegen-extra-tags":{db:"team_id",json:"team_id"},"x-go-type-name":"TeamId","x-go-type-skip-optional-pointer":true},created_at:{type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},updated_at:{type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},deleted_at:{type:"string",format:"date-time","x-go-type":"sql.NullTime","x-go-type-import":{path:"database/sql"},"x-go-type-skip-optional-pointer":true}}}}}}}}},t=e;
|
|
2
|
+
export{t as default};
|