@meshery/schemas 1.0.4 → 1.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +12 -20
- package/dist/cloudApi.d.mts +3982 -3542
- package/dist/cloudApi.d.ts +3982 -3542
- package/dist/cloudApi.js +1 -1
- package/dist/cloudApi.mjs +1 -1
- package/dist/constructs/v1alpha3/relationship/RelationshipSchema.js +1 -1
- package/dist/constructs/v1alpha3/relationship/RelationshipSchema.mjs +1 -1
- package/dist/constructs/v1beta1/credential/CredentialSchema.js +4 -4
- package/dist/constructs/v1beta1/credential/CredentialSchema.mjs +4 -4
- package/dist/constructs/v1beta1/environment/EnvironmentSchema.js +1 -1
- package/dist/constructs/v1beta1/environment/EnvironmentSchema.mjs +1 -1
- package/dist/constructs/v1beta1/evaluation/EvaluationSchema.js +4 -4
- package/dist/constructs/v1beta1/evaluation/EvaluationSchema.mjs +4 -4
- package/dist/constructs/v1beta1/feature/FeatureSchema.js +1 -1
- package/dist/constructs/v1beta1/feature/FeatureSchema.mjs +1 -1
- package/dist/constructs/v1beta1/pattern/Pattern.d.mts +0 -160
- package/dist/constructs/v1beta1/pattern/Pattern.d.ts +0 -160
- package/dist/constructs/v1beta1/pattern/PatternSchema.js +13 -13
- package/dist/constructs/v1beta1/pattern/PatternSchema.mjs +13 -13
- package/dist/constructs/v1beta1/view/View.d.mts +674 -0
- package/dist/constructs/v1beta1/view/View.d.ts +674 -0
- package/dist/constructs/v1beta1/view/View.js +1 -0
- package/dist/constructs/v1beta1/view/View.mjs +0 -0
- package/dist/constructs/v1beta1/view/ViewSchema.d.mts +7 -0
- package/dist/constructs/v1beta1/view/ViewSchema.d.ts +7 -0
- package/dist/constructs/v1beta1/view/ViewSchema.js +2 -0
- package/dist/constructs/v1beta1/view/ViewSchema.mjs +2 -0
- package/dist/constructs/v1beta1/workspace/Workspace.d.mts +61 -19
- package/dist/constructs/v1beta1/workspace/Workspace.d.ts +61 -19
- package/dist/constructs/v1beta1/workspace/WorkspaceSchema.js +5 -5
- package/dist/constructs/v1beta1/workspace/WorkspaceSchema.mjs +5 -5
- package/dist/constructs/v1beta2/design/Design.d.mts +0 -168
- package/dist/constructs/v1beta2/design/Design.d.ts +0 -168
- package/dist/constructs/v1beta2/design/DesignSchema.js +13 -13
- package/dist/constructs/v1beta2/design/DesignSchema.mjs +13 -13
- package/dist/constructs/v1beta2/relationship/RelationshipSchema.js +1 -1
- package/dist/constructs/v1beta2/relationship/RelationshipSchema.mjs +1 -1
- package/dist/index.js +33 -33
- package/dist/index.mjs +33 -33
- package/dist/mesheryApi.d.mts +7612 -2453
- package/dist/mesheryApi.d.ts +7612 -2453
- package/dist/mesheryApi.js +1 -1
- package/dist/mesheryApi.mjs +1 -1
- package/package.json +2 -2
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
'use strict';var e={openapi:"3.0.0",info:{title:"Feature",description:"OpenAPI schema for the Features construct with entitlement-related properties.",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"}},security:[{jwt:[]}],tags:[{name:"Features",description:"Operations related to features and entitlements"}],paths:{"/api/entitlement/features":{get:{"x-internal":["cloud"],operationId:"getFeatures",tags:["Features"],summary:"Get all features associated with plans",responses:{200:{description:"Features response",content:{"application/json":{schema:{type:"array",items:{"x-go-type":"Feature",type:"object",required:["id","plan_id","quantity","name"],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"}},plan_id:{"x-oapi-codegen-extra-tags":{db:"plan_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"}},plan:{"x-go-type":"planv1beta1.Plan","x-go-type-import":{path:"github.com/meshery/schemas/models/v1beta1/plan",name:"planv1beta1"},"x-oapi-codegen-extra-tags":{belongs_to:"plans",fk_id:"PlanId",json:"plan,omitempty"},type:"object",properties:{id:{"x-oapi-codegen-extra-tags":{db:"id",json:"id",csv:"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-go-type":"PlanName","x-oapi-codegen-extra-tags":{db:"name",json:"name",csv:"name"},description:"Name of the plan",enum:["Free","Team Designer","Team Operator","Enterprise"]},cadence:{"x-go-type":"PlanCadence","x-oapi-codegen-extra-tags":{db:"cadence",json:"cadence",csv:"cadence"},type:"string",enum:["monthly","yearly"]},unit:{"x-go-type":"PlanUnit","x-oapi-codegen-extra-tags":{db:"unit",json:"unit",csv:"unit"},type:"string",enum:["user","free"]},minimum_units:{type:"integer",description:"Minimum number of units required for the plan","x-oapi-codegen-extra-tags":{db:"minimum_units",json:"minimum_units",csv:"minimum_units"}},price_per_unit:{type:"number",description:"Price per unit of the plan","x-oapi-codegen-extra-tags":{db:"price_per_unit",json:"price_per_unit",csv:"price_per_unit"}},currency:{"x-go-type":"Currency","x-oapi-codegen-extra-tags":{db:"currency",json:"currency",csv:"currency"},type:"string",enum:["usd"]}},required:["id","name","cadence","unit","price_per_unit","minimum_units","currency"]},name:{"x-go-type":"FeatureName","x-oapi-codegen-extra-tags":{db:"name"},type:"string","x-enum-casing-exempt":true,enum:["ComponentsInDesign","RelationshipsInDesign","DesignsInWorkspace","WorkspacesInOrganization","ImageSizeInDesign","SizePerDesign"],description:"Enumeration of possible feature types"},quantity:{type:"number",description:"Quantity of the feature allowed, use 9999999999 for unlimited","x-oapi-codegen-extra-tags":{db:"quantity"},minimum:0},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}},additionalProperties:false}}}}},400:{description:"Invalid request body or request param",content:{"text/plain":{schema:{type:"string"}}}},401:{description:"Expired JWT token used or insufficient privilege",content:{"text/plain":{schema:{type:"string"}}}},500:{description:"Internal server error",content:{"text/plain":{schema:{type:"string"}}}}}}},"/api/entitlement/subscriptions/organizations/{organizationId}/features":{get:{"x-internal":["cloud"],operationId:"getFeaturesByOrganization",tags:["Features"],summary:"Get all features associated with plans",parameters:[{name:"organizationId",in:"path",description:"The ID of the organization",required:true,schema:{type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"}}}],responses:{200:{description:"Features response",content:{"application/json":{schema:{type:"array",items:{"x-go-type":"Feature",type:"object",required:["id","plan_id","quantity","name"],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"}},plan_id:{"x-oapi-codegen-extra-tags":{db:"plan_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"}},plan:{"x-go-type":"planv1beta1.Plan","x-go-type-import":{path:"github.com/meshery/schemas/models/v1beta1/plan",name:"planv1beta1"},"x-oapi-codegen-extra-tags":{belongs_to:"plans",fk_id:"PlanId",json:"plan,omitempty"},type:"object",properties:{id:{"x-oapi-codegen-extra-tags":{db:"id",json:"id",csv:"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-go-type":"PlanName","x-oapi-codegen-extra-tags":{db:"name",json:"name",csv:"name"},description:"Name of the plan",enum:["Free","Team Designer","Team Operator","Enterprise"]},cadence:{"x-go-type":"PlanCadence","x-oapi-codegen-extra-tags":{db:"cadence",json:"cadence",csv:"cadence"},type:"string",enum:["monthly","yearly"]},unit:{"x-go-type":"PlanUnit","x-oapi-codegen-extra-tags":{db:"unit",json:"unit",csv:"unit"},type:"string",enum:["user","free"]},minimum_units:{type:"integer",description:"Minimum number of units required for the plan","x-oapi-codegen-extra-tags":{db:"minimum_units",json:"minimum_units",csv:"minimum_units"}},price_per_unit:{type:"number",description:"Price per unit of the plan","x-oapi-codegen-extra-tags":{db:"price_per_unit",json:"price_per_unit",csv:"price_per_unit"}},currency:{"x-go-type":"Currency","x-oapi-codegen-extra-tags":{db:"currency",json:"currency",csv:"currency"},type:"string",enum:["usd"]}},required:["id","name","cadence","unit","price_per_unit","minimum_units","currency"]},name:{"x-go-type":"FeatureName","x-oapi-codegen-extra-tags":{db:"name"},type:"string","x-enum-casing-exempt":true,enum:["ComponentsInDesign","RelationshipsInDesign","DesignsInWorkspace","WorkspacesInOrganization","ImageSizeInDesign","SizePerDesign"],description:"Enumeration of possible feature types"},quantity:{type:"number",description:"Quantity of the feature allowed, use 9999999999 for unlimited","x-oapi-codegen-extra-tags":{db:"quantity"},minimum:0},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}},additionalProperties:false}}}}},400:{description:"Invalid request body or request param",content:{"text/plain":{schema:{type:"string"}}}},401:{description:"Expired JWT token used or insufficient privilege",content:{"text/plain":{schema:{type:"string"}}}},404:{description:"Result not found",content:{"text/plain":{schema:{type:"string"}}}},500:{description:"Internal server error",content:{"text/plain":{schema:{type:"string"}}}}}}}},components:{securitySchemes:{jwt:{type:"http",scheme:"bearer",bearerFormat:"JWT"}},parameters:{organization_id:{name:"organizationId",in:"path",description:"The ID of the organization",required:true,schema:{type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"}}}},schemas:{FeaturesPage:{type:"array",items:{"x-go-type":"Feature",type:"object",required:["id","plan_id","quantity","name"],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"}},plan_id:{"x-oapi-codegen-extra-tags":{db:"plan_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"}},plan:{"x-go-type":"planv1beta1.Plan","x-go-type-import":{path:"github.com/meshery/schemas/models/v1beta1/plan",name:"planv1beta1"},"x-oapi-codegen-extra-tags":{belongs_to:"plans",fk_id:"PlanId",json:"plan,omitempty"},type:"object",properties:{id:{"x-oapi-codegen-extra-tags":{db:"id",json:"id",csv:"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-go-type":"PlanName","x-oapi-codegen-extra-tags":{db:"name",json:"name",csv:"name"},description:"Name of the plan",enum:["Free","Team Designer","Team Operator","Enterprise"]},cadence:{"x-go-type":"PlanCadence","x-oapi-codegen-extra-tags":{db:"cadence",json:"cadence",csv:"cadence"},type:"string",enum:["monthly","yearly"]},unit:{"x-go-type":"PlanUnit","x-oapi-codegen-extra-tags":{db:"unit",json:"unit",csv:"unit"},type:"string",enum:["user","free"]},minimum_units:{type:"integer",description:"Minimum number of units required for the plan","x-oapi-codegen-extra-tags":{db:"minimum_units",json:"minimum_units",csv:"minimum_units"}},price_per_unit:{type:"number",description:"Price per unit of the plan","x-oapi-codegen-extra-tags":{db:"price_per_unit",json:"price_per_unit",csv:"price_per_unit"}},currency:{"x-go-type":"Currency","x-oapi-codegen-extra-tags":{db:"currency",json:"currency",csv:"currency"},type:"string",enum:["usd"]}},required:["id","name","cadence","unit","price_per_unit","minimum_units","currency"]},name:{"x-go-type":"FeatureName","x-oapi-codegen-extra-tags":{db:"name"},type:"string","x-enum-casing-exempt":true,enum:["ComponentsInDesign","RelationshipsInDesign","DesignsInWorkspace","WorkspacesInOrganization","ImageSizeInDesign","SizePerDesign"],description:"Enumeration of possible feature types"},quantity:{type:"number",description:"Quantity of the feature allowed, use 9999999999 for unlimited","x-oapi-codegen-extra-tags":{db:"quantity"},minimum:0},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}},additionalProperties:false}},FeatureName:{type:"string","x-enum-casing-exempt":true,enum:["ComponentsInDesign","RelationshipsInDesign","DesignsInWorkspace","WorkspacesInOrganization","ImageSizeInDesign","SizePerDesign"],description:"Enumeration of possible feature types"},Feature:{type:"object",required:["id","plan_id","quantity","name"],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"}},plan_id:{"x-oapi-codegen-extra-tags":{db:"plan_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"}},plan:{"x-go-type":"planv1beta1.Plan","x-go-type-import":{path:"github.com/meshery/schemas/models/v1beta1/plan",name:"planv1beta1"},"x-oapi-codegen-extra-tags":{belongs_to:"plans",fk_id:"PlanId",json:"plan,omitempty"},type:"object",properties:{id:{"x-oapi-codegen-extra-tags":{db:"id",json:"id",csv:"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-go-type":"PlanName","x-oapi-codegen-extra-tags":{db:"name",json:"name",csv:"name"},description:"Name of the plan",enum:["Free","Team Designer","Team Operator","Enterprise"]},cadence:{"x-go-type":"PlanCadence","x-oapi-codegen-extra-tags":{db:"cadence",json:"cadence",csv:"cadence"},type:"string",enum:["monthly","yearly"]},unit:{"x-go-type":"PlanUnit","x-oapi-codegen-extra-tags":{db:"unit",json:"unit",csv:"unit"},type:"string",enum:["user","free"]},minimum_units:{type:"integer",description:"Minimum number of units required for the plan","x-oapi-codegen-extra-tags":{db:"minimum_units",json:"minimum_units",csv:"minimum_units"}},price_per_unit:{type:"number",description:"Price per unit of the plan","x-oapi-codegen-extra-tags":{db:"price_per_unit",json:"price_per_unit",csv:"price_per_unit"}},currency:{"x-go-type":"Currency","x-oapi-codegen-extra-tags":{db:"currency",json:"currency",csv:"currency"},type:"string",enum:["usd"]}},required:["id","name","cadence","unit","price_per_unit","minimum_units","currency"]},name:{"x-go-type":"FeatureName","x-oapi-codegen-extra-tags":{db:"name"},type:"string","x-enum-casing-exempt":true,enum:["ComponentsInDesign","RelationshipsInDesign","DesignsInWorkspace","WorkspacesInOrganization","ImageSizeInDesign","SizePerDesign"],description:"Enumeration of possible feature types"},quantity:{type:"number",description:"Quantity of the feature allowed, use 9999999999 for unlimited","x-oapi-codegen-extra-tags":{db:"quantity"},minimum:0},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}},additionalProperties:false}}}},t=e;
|
|
1
|
+
'use strict';var e={openapi:"3.0.0",info:{title:"Feature",description:"OpenAPI schema for the Features construct with entitlement-related properties.",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"}},security:[{jwt:[]}],tags:[{name:"Features",description:"Operations related to features and entitlements"}],paths:{"/api/entitlement/features":{get:{"x-internal":["cloud"],operationId:"getFeatures",tags:["Features"],summary:"Get all features associated with plans",responses:{200:{description:"Features response",content:{"application/json":{schema:{type:"array",items:{"x-go-type":"Feature",type:"object",required:["id","plan_id","quantity","name"],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"}},plan_id:{"x-oapi-codegen-extra-tags":{db:"plan_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"}},plan:{"x-go-type":"planv1beta1.Plan","x-go-type-import":{path:"github.com/meshery/schemas/models/v1beta1/plan",name:"planv1beta1"},"x-oapi-codegen-extra-tags":{belongs_to:"plans",fk_id:"PlanId",json:"plan,omitempty"},type:"object",properties:{id:{"x-oapi-codegen-extra-tags":{db:"id",json:"id",csv:"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-go-type":"PlanName","x-oapi-codegen-extra-tags":{db:"name",json:"name",csv:"name"},description:"Name of the plan",enum:["Free","Team Designer","Team Operator","Enterprise"]},cadence:{"x-go-type":"PlanCadence","x-oapi-codegen-extra-tags":{db:"cadence",json:"cadence",csv:"cadence"},type:"string",enum:["monthly","yearly"]},unit:{"x-go-type":"PlanUnit","x-oapi-codegen-extra-tags":{db:"unit",json:"unit",csv:"unit"},type:"string",enum:["user","free"]},minimum_units:{type:"integer",description:"Minimum number of units required for the plan","x-oapi-codegen-extra-tags":{db:"minimum_units",json:"minimum_units",csv:"minimum_units"}},price_per_unit:{type:"number",description:"Price per unit of the plan","x-oapi-codegen-extra-tags":{db:"price_per_unit",json:"price_per_unit",csv:"price_per_unit"}},currency:{"x-go-type":"Currency","x-oapi-codegen-extra-tags":{db:"currency",json:"currency",csv:"currency"},type:"string",enum:["usd"]}},required:["id","name","cadence","unit","price_per_unit","minimum_units","currency"]},name:{"x-go-type":"FeatureName","x-oapi-codegen-extra-tags":{db:"name"},type:"string","x-enum-casing-exempt":true,enum:["ComponentsInDesign","RelationshipsInDesign","DesignsInWorkspace","WorkspacesInOrganization","ImageSizeInDesign","SizePerDesign"],description:"Enumeration of possible feature types"},quantity:{type:"number",description:"Quantity of the feature allowed, use 9999999999 for unlimited","x-oapi-codegen-extra-tags":{db:"quantity"},minimum:0},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}},additionalProperties:false}}}}},400:{description:"Invalid request body or request param",content:{"text/plain":{schema:{type:"string"}}}},401:{description:"Expired JWT token used or insufficient privilege",content:{"text/plain":{schema:{type:"string"}}}},500:{description:"Internal server error",content:{"text/plain":{schema:{type:"string"}}}}}}},"/api/entitlement/subscriptions/organizations/{organizationId}/features":{get:{"x-internal":["cloud"],operationId:"getFeaturesByOrganization",tags:["Features"],summary:"Get all features associated with plans",parameters:[{name:"organizationId",in:"path",description:"The ID of the organization",required:true,schema:{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"}}}],responses:{200:{description:"Features response",content:{"application/json":{schema:{type:"array",items:{"x-go-type":"Feature",type:"object",required:["id","plan_id","quantity","name"],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"}},plan_id:{"x-oapi-codegen-extra-tags":{db:"plan_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"}},plan:{"x-go-type":"planv1beta1.Plan","x-go-type-import":{path:"github.com/meshery/schemas/models/v1beta1/plan",name:"planv1beta1"},"x-oapi-codegen-extra-tags":{belongs_to:"plans",fk_id:"PlanId",json:"plan,omitempty"},type:"object",properties:{id:{"x-oapi-codegen-extra-tags":{db:"id",json:"id",csv:"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-go-type":"PlanName","x-oapi-codegen-extra-tags":{db:"name",json:"name",csv:"name"},description:"Name of the plan",enum:["Free","Team Designer","Team Operator","Enterprise"]},cadence:{"x-go-type":"PlanCadence","x-oapi-codegen-extra-tags":{db:"cadence",json:"cadence",csv:"cadence"},type:"string",enum:["monthly","yearly"]},unit:{"x-go-type":"PlanUnit","x-oapi-codegen-extra-tags":{db:"unit",json:"unit",csv:"unit"},type:"string",enum:["user","free"]},minimum_units:{type:"integer",description:"Minimum number of units required for the plan","x-oapi-codegen-extra-tags":{db:"minimum_units",json:"minimum_units",csv:"minimum_units"}},price_per_unit:{type:"number",description:"Price per unit of the plan","x-oapi-codegen-extra-tags":{db:"price_per_unit",json:"price_per_unit",csv:"price_per_unit"}},currency:{"x-go-type":"Currency","x-oapi-codegen-extra-tags":{db:"currency",json:"currency",csv:"currency"},type:"string",enum:["usd"]}},required:["id","name","cadence","unit","price_per_unit","minimum_units","currency"]},name:{"x-go-type":"FeatureName","x-oapi-codegen-extra-tags":{db:"name"},type:"string","x-enum-casing-exempt":true,enum:["ComponentsInDesign","RelationshipsInDesign","DesignsInWorkspace","WorkspacesInOrganization","ImageSizeInDesign","SizePerDesign"],description:"Enumeration of possible feature types"},quantity:{type:"number",description:"Quantity of the feature allowed, use 9999999999 for unlimited","x-oapi-codegen-extra-tags":{db:"quantity"},minimum:0},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}},additionalProperties:false}}}}},400:{description:"Invalid request body or request param",content:{"text/plain":{schema:{type:"string"}}}},401:{description:"Expired JWT token used or insufficient privilege",content:{"text/plain":{schema:{type:"string"}}}},404:{description:"Result not found",content:{"text/plain":{schema:{type:"string"}}}},500:{description:"Internal server error",content:{"text/plain":{schema:{type:"string"}}}}}}}},components:{securitySchemes:{jwt:{type:"http",scheme:"bearer",bearerFormat:"JWT"}},parameters:{organization_id:{name:"organizationId",in:"path",description:"The ID of the organization",required:true,schema:{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"}}}},schemas:{FeaturesPage:{type:"array",items:{"x-go-type":"Feature",type:"object",required:["id","plan_id","quantity","name"],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"}},plan_id:{"x-oapi-codegen-extra-tags":{db:"plan_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"}},plan:{"x-go-type":"planv1beta1.Plan","x-go-type-import":{path:"github.com/meshery/schemas/models/v1beta1/plan",name:"planv1beta1"},"x-oapi-codegen-extra-tags":{belongs_to:"plans",fk_id:"PlanId",json:"plan,omitempty"},type:"object",properties:{id:{"x-oapi-codegen-extra-tags":{db:"id",json:"id",csv:"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-go-type":"PlanName","x-oapi-codegen-extra-tags":{db:"name",json:"name",csv:"name"},description:"Name of the plan",enum:["Free","Team Designer","Team Operator","Enterprise"]},cadence:{"x-go-type":"PlanCadence","x-oapi-codegen-extra-tags":{db:"cadence",json:"cadence",csv:"cadence"},type:"string",enum:["monthly","yearly"]},unit:{"x-go-type":"PlanUnit","x-oapi-codegen-extra-tags":{db:"unit",json:"unit",csv:"unit"},type:"string",enum:["user","free"]},minimum_units:{type:"integer",description:"Minimum number of units required for the plan","x-oapi-codegen-extra-tags":{db:"minimum_units",json:"minimum_units",csv:"minimum_units"}},price_per_unit:{type:"number",description:"Price per unit of the plan","x-oapi-codegen-extra-tags":{db:"price_per_unit",json:"price_per_unit",csv:"price_per_unit"}},currency:{"x-go-type":"Currency","x-oapi-codegen-extra-tags":{db:"currency",json:"currency",csv:"currency"},type:"string",enum:["usd"]}},required:["id","name","cadence","unit","price_per_unit","minimum_units","currency"]},name:{"x-go-type":"FeatureName","x-oapi-codegen-extra-tags":{db:"name"},type:"string","x-enum-casing-exempt":true,enum:["ComponentsInDesign","RelationshipsInDesign","DesignsInWorkspace","WorkspacesInOrganization","ImageSizeInDesign","SizePerDesign"],description:"Enumeration of possible feature types"},quantity:{type:"number",description:"Quantity of the feature allowed, use 9999999999 for unlimited","x-oapi-codegen-extra-tags":{db:"quantity"},minimum:0},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}},additionalProperties:false}},FeatureName:{type:"string","x-enum-casing-exempt":true,enum:["ComponentsInDesign","RelationshipsInDesign","DesignsInWorkspace","WorkspacesInOrganization","ImageSizeInDesign","SizePerDesign"],description:"Enumeration of possible feature types"},Feature:{type:"object",required:["id","plan_id","quantity","name"],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"}},plan_id:{"x-oapi-codegen-extra-tags":{db:"plan_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"}},plan:{"x-go-type":"planv1beta1.Plan","x-go-type-import":{path:"github.com/meshery/schemas/models/v1beta1/plan",name:"planv1beta1"},"x-oapi-codegen-extra-tags":{belongs_to:"plans",fk_id:"PlanId",json:"plan,omitempty"},type:"object",properties:{id:{"x-oapi-codegen-extra-tags":{db:"id",json:"id",csv:"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-go-type":"PlanName","x-oapi-codegen-extra-tags":{db:"name",json:"name",csv:"name"},description:"Name of the plan",enum:["Free","Team Designer","Team Operator","Enterprise"]},cadence:{"x-go-type":"PlanCadence","x-oapi-codegen-extra-tags":{db:"cadence",json:"cadence",csv:"cadence"},type:"string",enum:["monthly","yearly"]},unit:{"x-go-type":"PlanUnit","x-oapi-codegen-extra-tags":{db:"unit",json:"unit",csv:"unit"},type:"string",enum:["user","free"]},minimum_units:{type:"integer",description:"Minimum number of units required for the plan","x-oapi-codegen-extra-tags":{db:"minimum_units",json:"minimum_units",csv:"minimum_units"}},price_per_unit:{type:"number",description:"Price per unit of the plan","x-oapi-codegen-extra-tags":{db:"price_per_unit",json:"price_per_unit",csv:"price_per_unit"}},currency:{"x-go-type":"Currency","x-oapi-codegen-extra-tags":{db:"currency",json:"currency",csv:"currency"},type:"string",enum:["usd"]}},required:["id","name","cadence","unit","price_per_unit","minimum_units","currency"]},name:{"x-go-type":"FeatureName","x-oapi-codegen-extra-tags":{db:"name"},type:"string","x-enum-casing-exempt":true,enum:["ComponentsInDesign","RelationshipsInDesign","DesignsInWorkspace","WorkspacesInOrganization","ImageSizeInDesign","SizePerDesign"],description:"Enumeration of possible feature types"},quantity:{type:"number",description:"Quantity of the feature allowed, use 9999999999 for unlimited","x-oapi-codegen-extra-tags":{db:"quantity"},minimum:0},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}},additionalProperties:false}}}},t=e;
|
|
2
2
|
module.exports=t;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
var e={openapi:"3.0.0",info:{title:"Feature",description:"OpenAPI schema for the Features construct with entitlement-related properties.",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"}},security:[{jwt:[]}],tags:[{name:"Features",description:"Operations related to features and entitlements"}],paths:{"/api/entitlement/features":{get:{"x-internal":["cloud"],operationId:"getFeatures",tags:["Features"],summary:"Get all features associated with plans",responses:{200:{description:"Features response",content:{"application/json":{schema:{type:"array",items:{"x-go-type":"Feature",type:"object",required:["id","plan_id","quantity","name"],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"}},plan_id:{"x-oapi-codegen-extra-tags":{db:"plan_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"}},plan:{"x-go-type":"planv1beta1.Plan","x-go-type-import":{path:"github.com/meshery/schemas/models/v1beta1/plan",name:"planv1beta1"},"x-oapi-codegen-extra-tags":{belongs_to:"plans",fk_id:"PlanId",json:"plan,omitempty"},type:"object",properties:{id:{"x-oapi-codegen-extra-tags":{db:"id",json:"id",csv:"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-go-type":"PlanName","x-oapi-codegen-extra-tags":{db:"name",json:"name",csv:"name"},description:"Name of the plan",enum:["Free","Team Designer","Team Operator","Enterprise"]},cadence:{"x-go-type":"PlanCadence","x-oapi-codegen-extra-tags":{db:"cadence",json:"cadence",csv:"cadence"},type:"string",enum:["monthly","yearly"]},unit:{"x-go-type":"PlanUnit","x-oapi-codegen-extra-tags":{db:"unit",json:"unit",csv:"unit"},type:"string",enum:["user","free"]},minimum_units:{type:"integer",description:"Minimum number of units required for the plan","x-oapi-codegen-extra-tags":{db:"minimum_units",json:"minimum_units",csv:"minimum_units"}},price_per_unit:{type:"number",description:"Price per unit of the plan","x-oapi-codegen-extra-tags":{db:"price_per_unit",json:"price_per_unit",csv:"price_per_unit"}},currency:{"x-go-type":"Currency","x-oapi-codegen-extra-tags":{db:"currency",json:"currency",csv:"currency"},type:"string",enum:["usd"]}},required:["id","name","cadence","unit","price_per_unit","minimum_units","currency"]},name:{"x-go-type":"FeatureName","x-oapi-codegen-extra-tags":{db:"name"},type:"string","x-enum-casing-exempt":true,enum:["ComponentsInDesign","RelationshipsInDesign","DesignsInWorkspace","WorkspacesInOrganization","ImageSizeInDesign","SizePerDesign"],description:"Enumeration of possible feature types"},quantity:{type:"number",description:"Quantity of the feature allowed, use 9999999999 for unlimited","x-oapi-codegen-extra-tags":{db:"quantity"},minimum:0},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}},additionalProperties:false}}}}},400:{description:"Invalid request body or request param",content:{"text/plain":{schema:{type:"string"}}}},401:{description:"Expired JWT token used or insufficient privilege",content:{"text/plain":{schema:{type:"string"}}}},500:{description:"Internal server error",content:{"text/plain":{schema:{type:"string"}}}}}}},"/api/entitlement/subscriptions/organizations/{organizationId}/features":{get:{"x-internal":["cloud"],operationId:"getFeaturesByOrganization",tags:["Features"],summary:"Get all features associated with plans",parameters:[{name:"organizationId",in:"path",description:"The ID of the organization",required:true,schema:{type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"}}}],responses:{200:{description:"Features response",content:{"application/json":{schema:{type:"array",items:{"x-go-type":"Feature",type:"object",required:["id","plan_id","quantity","name"],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"}},plan_id:{"x-oapi-codegen-extra-tags":{db:"plan_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"}},plan:{"x-go-type":"planv1beta1.Plan","x-go-type-import":{path:"github.com/meshery/schemas/models/v1beta1/plan",name:"planv1beta1"},"x-oapi-codegen-extra-tags":{belongs_to:"plans",fk_id:"PlanId",json:"plan,omitempty"},type:"object",properties:{id:{"x-oapi-codegen-extra-tags":{db:"id",json:"id",csv:"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-go-type":"PlanName","x-oapi-codegen-extra-tags":{db:"name",json:"name",csv:"name"},description:"Name of the plan",enum:["Free","Team Designer","Team Operator","Enterprise"]},cadence:{"x-go-type":"PlanCadence","x-oapi-codegen-extra-tags":{db:"cadence",json:"cadence",csv:"cadence"},type:"string",enum:["monthly","yearly"]},unit:{"x-go-type":"PlanUnit","x-oapi-codegen-extra-tags":{db:"unit",json:"unit",csv:"unit"},type:"string",enum:["user","free"]},minimum_units:{type:"integer",description:"Minimum number of units required for the plan","x-oapi-codegen-extra-tags":{db:"minimum_units",json:"minimum_units",csv:"minimum_units"}},price_per_unit:{type:"number",description:"Price per unit of the plan","x-oapi-codegen-extra-tags":{db:"price_per_unit",json:"price_per_unit",csv:"price_per_unit"}},currency:{"x-go-type":"Currency","x-oapi-codegen-extra-tags":{db:"currency",json:"currency",csv:"currency"},type:"string",enum:["usd"]}},required:["id","name","cadence","unit","price_per_unit","minimum_units","currency"]},name:{"x-go-type":"FeatureName","x-oapi-codegen-extra-tags":{db:"name"},type:"string","x-enum-casing-exempt":true,enum:["ComponentsInDesign","RelationshipsInDesign","DesignsInWorkspace","WorkspacesInOrganization","ImageSizeInDesign","SizePerDesign"],description:"Enumeration of possible feature types"},quantity:{type:"number",description:"Quantity of the feature allowed, use 9999999999 for unlimited","x-oapi-codegen-extra-tags":{db:"quantity"},minimum:0},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}},additionalProperties:false}}}}},400:{description:"Invalid request body or request param",content:{"text/plain":{schema:{type:"string"}}}},401:{description:"Expired JWT token used or insufficient privilege",content:{"text/plain":{schema:{type:"string"}}}},404:{description:"Result not found",content:{"text/plain":{schema:{type:"string"}}}},500:{description:"Internal server error",content:{"text/plain":{schema:{type:"string"}}}}}}}},components:{securitySchemes:{jwt:{type:"http",scheme:"bearer",bearerFormat:"JWT"}},parameters:{organization_id:{name:"organizationId",in:"path",description:"The ID of the organization",required:true,schema:{type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"}}}},schemas:{FeaturesPage:{type:"array",items:{"x-go-type":"Feature",type:"object",required:["id","plan_id","quantity","name"],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"}},plan_id:{"x-oapi-codegen-extra-tags":{db:"plan_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"}},plan:{"x-go-type":"planv1beta1.Plan","x-go-type-import":{path:"github.com/meshery/schemas/models/v1beta1/plan",name:"planv1beta1"},"x-oapi-codegen-extra-tags":{belongs_to:"plans",fk_id:"PlanId",json:"plan,omitempty"},type:"object",properties:{id:{"x-oapi-codegen-extra-tags":{db:"id",json:"id",csv:"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-go-type":"PlanName","x-oapi-codegen-extra-tags":{db:"name",json:"name",csv:"name"},description:"Name of the plan",enum:["Free","Team Designer","Team Operator","Enterprise"]},cadence:{"x-go-type":"PlanCadence","x-oapi-codegen-extra-tags":{db:"cadence",json:"cadence",csv:"cadence"},type:"string",enum:["monthly","yearly"]},unit:{"x-go-type":"PlanUnit","x-oapi-codegen-extra-tags":{db:"unit",json:"unit",csv:"unit"},type:"string",enum:["user","free"]},minimum_units:{type:"integer",description:"Minimum number of units required for the plan","x-oapi-codegen-extra-tags":{db:"minimum_units",json:"minimum_units",csv:"minimum_units"}},price_per_unit:{type:"number",description:"Price per unit of the plan","x-oapi-codegen-extra-tags":{db:"price_per_unit",json:"price_per_unit",csv:"price_per_unit"}},currency:{"x-go-type":"Currency","x-oapi-codegen-extra-tags":{db:"currency",json:"currency",csv:"currency"},type:"string",enum:["usd"]}},required:["id","name","cadence","unit","price_per_unit","minimum_units","currency"]},name:{"x-go-type":"FeatureName","x-oapi-codegen-extra-tags":{db:"name"},type:"string","x-enum-casing-exempt":true,enum:["ComponentsInDesign","RelationshipsInDesign","DesignsInWorkspace","WorkspacesInOrganization","ImageSizeInDesign","SizePerDesign"],description:"Enumeration of possible feature types"},quantity:{type:"number",description:"Quantity of the feature allowed, use 9999999999 for unlimited","x-oapi-codegen-extra-tags":{db:"quantity"},minimum:0},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}},additionalProperties:false}},FeatureName:{type:"string","x-enum-casing-exempt":true,enum:["ComponentsInDesign","RelationshipsInDesign","DesignsInWorkspace","WorkspacesInOrganization","ImageSizeInDesign","SizePerDesign"],description:"Enumeration of possible feature types"},Feature:{type:"object",required:["id","plan_id","quantity","name"],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"}},plan_id:{"x-oapi-codegen-extra-tags":{db:"plan_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"}},plan:{"x-go-type":"planv1beta1.Plan","x-go-type-import":{path:"github.com/meshery/schemas/models/v1beta1/plan",name:"planv1beta1"},"x-oapi-codegen-extra-tags":{belongs_to:"plans",fk_id:"PlanId",json:"plan,omitempty"},type:"object",properties:{id:{"x-oapi-codegen-extra-tags":{db:"id",json:"id",csv:"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-go-type":"PlanName","x-oapi-codegen-extra-tags":{db:"name",json:"name",csv:"name"},description:"Name of the plan",enum:["Free","Team Designer","Team Operator","Enterprise"]},cadence:{"x-go-type":"PlanCadence","x-oapi-codegen-extra-tags":{db:"cadence",json:"cadence",csv:"cadence"},type:"string",enum:["monthly","yearly"]},unit:{"x-go-type":"PlanUnit","x-oapi-codegen-extra-tags":{db:"unit",json:"unit",csv:"unit"},type:"string",enum:["user","free"]},minimum_units:{type:"integer",description:"Minimum number of units required for the plan","x-oapi-codegen-extra-tags":{db:"minimum_units",json:"minimum_units",csv:"minimum_units"}},price_per_unit:{type:"number",description:"Price per unit of the plan","x-oapi-codegen-extra-tags":{db:"price_per_unit",json:"price_per_unit",csv:"price_per_unit"}},currency:{"x-go-type":"Currency","x-oapi-codegen-extra-tags":{db:"currency",json:"currency",csv:"currency"},type:"string",enum:["usd"]}},required:["id","name","cadence","unit","price_per_unit","minimum_units","currency"]},name:{"x-go-type":"FeatureName","x-oapi-codegen-extra-tags":{db:"name"},type:"string","x-enum-casing-exempt":true,enum:["ComponentsInDesign","RelationshipsInDesign","DesignsInWorkspace","WorkspacesInOrganization","ImageSizeInDesign","SizePerDesign"],description:"Enumeration of possible feature types"},quantity:{type:"number",description:"Quantity of the feature allowed, use 9999999999 for unlimited","x-oapi-codegen-extra-tags":{db:"quantity"},minimum:0},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}},additionalProperties:false}}}},t=e;
|
|
1
|
+
var e={openapi:"3.0.0",info:{title:"Feature",description:"OpenAPI schema for the Features construct with entitlement-related properties.",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"}},security:[{jwt:[]}],tags:[{name:"Features",description:"Operations related to features and entitlements"}],paths:{"/api/entitlement/features":{get:{"x-internal":["cloud"],operationId:"getFeatures",tags:["Features"],summary:"Get all features associated with plans",responses:{200:{description:"Features response",content:{"application/json":{schema:{type:"array",items:{"x-go-type":"Feature",type:"object",required:["id","plan_id","quantity","name"],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"}},plan_id:{"x-oapi-codegen-extra-tags":{db:"plan_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"}},plan:{"x-go-type":"planv1beta1.Plan","x-go-type-import":{path:"github.com/meshery/schemas/models/v1beta1/plan",name:"planv1beta1"},"x-oapi-codegen-extra-tags":{belongs_to:"plans",fk_id:"PlanId",json:"plan,omitempty"},type:"object",properties:{id:{"x-oapi-codegen-extra-tags":{db:"id",json:"id",csv:"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-go-type":"PlanName","x-oapi-codegen-extra-tags":{db:"name",json:"name",csv:"name"},description:"Name of the plan",enum:["Free","Team Designer","Team Operator","Enterprise"]},cadence:{"x-go-type":"PlanCadence","x-oapi-codegen-extra-tags":{db:"cadence",json:"cadence",csv:"cadence"},type:"string",enum:["monthly","yearly"]},unit:{"x-go-type":"PlanUnit","x-oapi-codegen-extra-tags":{db:"unit",json:"unit",csv:"unit"},type:"string",enum:["user","free"]},minimum_units:{type:"integer",description:"Minimum number of units required for the plan","x-oapi-codegen-extra-tags":{db:"minimum_units",json:"minimum_units",csv:"minimum_units"}},price_per_unit:{type:"number",description:"Price per unit of the plan","x-oapi-codegen-extra-tags":{db:"price_per_unit",json:"price_per_unit",csv:"price_per_unit"}},currency:{"x-go-type":"Currency","x-oapi-codegen-extra-tags":{db:"currency",json:"currency",csv:"currency"},type:"string",enum:["usd"]}},required:["id","name","cadence","unit","price_per_unit","minimum_units","currency"]},name:{"x-go-type":"FeatureName","x-oapi-codegen-extra-tags":{db:"name"},type:"string","x-enum-casing-exempt":true,enum:["ComponentsInDesign","RelationshipsInDesign","DesignsInWorkspace","WorkspacesInOrganization","ImageSizeInDesign","SizePerDesign"],description:"Enumeration of possible feature types"},quantity:{type:"number",description:"Quantity of the feature allowed, use 9999999999 for unlimited","x-oapi-codegen-extra-tags":{db:"quantity"},minimum:0},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}},additionalProperties:false}}}}},400:{description:"Invalid request body or request param",content:{"text/plain":{schema:{type:"string"}}}},401:{description:"Expired JWT token used or insufficient privilege",content:{"text/plain":{schema:{type:"string"}}}},500:{description:"Internal server error",content:{"text/plain":{schema:{type:"string"}}}}}}},"/api/entitlement/subscriptions/organizations/{organizationId}/features":{get:{"x-internal":["cloud"],operationId:"getFeaturesByOrganization",tags:["Features"],summary:"Get all features associated with plans",parameters:[{name:"organizationId",in:"path",description:"The ID of the organization",required:true,schema:{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"}}}],responses:{200:{description:"Features response",content:{"application/json":{schema:{type:"array",items:{"x-go-type":"Feature",type:"object",required:["id","plan_id","quantity","name"],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"}},plan_id:{"x-oapi-codegen-extra-tags":{db:"plan_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"}},plan:{"x-go-type":"planv1beta1.Plan","x-go-type-import":{path:"github.com/meshery/schemas/models/v1beta1/plan",name:"planv1beta1"},"x-oapi-codegen-extra-tags":{belongs_to:"plans",fk_id:"PlanId",json:"plan,omitempty"},type:"object",properties:{id:{"x-oapi-codegen-extra-tags":{db:"id",json:"id",csv:"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-go-type":"PlanName","x-oapi-codegen-extra-tags":{db:"name",json:"name",csv:"name"},description:"Name of the plan",enum:["Free","Team Designer","Team Operator","Enterprise"]},cadence:{"x-go-type":"PlanCadence","x-oapi-codegen-extra-tags":{db:"cadence",json:"cadence",csv:"cadence"},type:"string",enum:["monthly","yearly"]},unit:{"x-go-type":"PlanUnit","x-oapi-codegen-extra-tags":{db:"unit",json:"unit",csv:"unit"},type:"string",enum:["user","free"]},minimum_units:{type:"integer",description:"Minimum number of units required for the plan","x-oapi-codegen-extra-tags":{db:"minimum_units",json:"minimum_units",csv:"minimum_units"}},price_per_unit:{type:"number",description:"Price per unit of the plan","x-oapi-codegen-extra-tags":{db:"price_per_unit",json:"price_per_unit",csv:"price_per_unit"}},currency:{"x-go-type":"Currency","x-oapi-codegen-extra-tags":{db:"currency",json:"currency",csv:"currency"},type:"string",enum:["usd"]}},required:["id","name","cadence","unit","price_per_unit","minimum_units","currency"]},name:{"x-go-type":"FeatureName","x-oapi-codegen-extra-tags":{db:"name"},type:"string","x-enum-casing-exempt":true,enum:["ComponentsInDesign","RelationshipsInDesign","DesignsInWorkspace","WorkspacesInOrganization","ImageSizeInDesign","SizePerDesign"],description:"Enumeration of possible feature types"},quantity:{type:"number",description:"Quantity of the feature allowed, use 9999999999 for unlimited","x-oapi-codegen-extra-tags":{db:"quantity"},minimum:0},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}},additionalProperties:false}}}}},400:{description:"Invalid request body or request param",content:{"text/plain":{schema:{type:"string"}}}},401:{description:"Expired JWT token used or insufficient privilege",content:{"text/plain":{schema:{type:"string"}}}},404:{description:"Result not found",content:{"text/plain":{schema:{type:"string"}}}},500:{description:"Internal server error",content:{"text/plain":{schema:{type:"string"}}}}}}}},components:{securitySchemes:{jwt:{type:"http",scheme:"bearer",bearerFormat:"JWT"}},parameters:{organization_id:{name:"organizationId",in:"path",description:"The ID of the organization",required:true,schema:{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"}}}},schemas:{FeaturesPage:{type:"array",items:{"x-go-type":"Feature",type:"object",required:["id","plan_id","quantity","name"],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"}},plan_id:{"x-oapi-codegen-extra-tags":{db:"plan_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"}},plan:{"x-go-type":"planv1beta1.Plan","x-go-type-import":{path:"github.com/meshery/schemas/models/v1beta1/plan",name:"planv1beta1"},"x-oapi-codegen-extra-tags":{belongs_to:"plans",fk_id:"PlanId",json:"plan,omitempty"},type:"object",properties:{id:{"x-oapi-codegen-extra-tags":{db:"id",json:"id",csv:"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-go-type":"PlanName","x-oapi-codegen-extra-tags":{db:"name",json:"name",csv:"name"},description:"Name of the plan",enum:["Free","Team Designer","Team Operator","Enterprise"]},cadence:{"x-go-type":"PlanCadence","x-oapi-codegen-extra-tags":{db:"cadence",json:"cadence",csv:"cadence"},type:"string",enum:["monthly","yearly"]},unit:{"x-go-type":"PlanUnit","x-oapi-codegen-extra-tags":{db:"unit",json:"unit",csv:"unit"},type:"string",enum:["user","free"]},minimum_units:{type:"integer",description:"Minimum number of units required for the plan","x-oapi-codegen-extra-tags":{db:"minimum_units",json:"minimum_units",csv:"minimum_units"}},price_per_unit:{type:"number",description:"Price per unit of the plan","x-oapi-codegen-extra-tags":{db:"price_per_unit",json:"price_per_unit",csv:"price_per_unit"}},currency:{"x-go-type":"Currency","x-oapi-codegen-extra-tags":{db:"currency",json:"currency",csv:"currency"},type:"string",enum:["usd"]}},required:["id","name","cadence","unit","price_per_unit","minimum_units","currency"]},name:{"x-go-type":"FeatureName","x-oapi-codegen-extra-tags":{db:"name"},type:"string","x-enum-casing-exempt":true,enum:["ComponentsInDesign","RelationshipsInDesign","DesignsInWorkspace","WorkspacesInOrganization","ImageSizeInDesign","SizePerDesign"],description:"Enumeration of possible feature types"},quantity:{type:"number",description:"Quantity of the feature allowed, use 9999999999 for unlimited","x-oapi-codegen-extra-tags":{db:"quantity"},minimum:0},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}},additionalProperties:false}},FeatureName:{type:"string","x-enum-casing-exempt":true,enum:["ComponentsInDesign","RelationshipsInDesign","DesignsInWorkspace","WorkspacesInOrganization","ImageSizeInDesign","SizePerDesign"],description:"Enumeration of possible feature types"},Feature:{type:"object",required:["id","plan_id","quantity","name"],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"}},plan_id:{"x-oapi-codegen-extra-tags":{db:"plan_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"}},plan:{"x-go-type":"planv1beta1.Plan","x-go-type-import":{path:"github.com/meshery/schemas/models/v1beta1/plan",name:"planv1beta1"},"x-oapi-codegen-extra-tags":{belongs_to:"plans",fk_id:"PlanId",json:"plan,omitempty"},type:"object",properties:{id:{"x-oapi-codegen-extra-tags":{db:"id",json:"id",csv:"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-go-type":"PlanName","x-oapi-codegen-extra-tags":{db:"name",json:"name",csv:"name"},description:"Name of the plan",enum:["Free","Team Designer","Team Operator","Enterprise"]},cadence:{"x-go-type":"PlanCadence","x-oapi-codegen-extra-tags":{db:"cadence",json:"cadence",csv:"cadence"},type:"string",enum:["monthly","yearly"]},unit:{"x-go-type":"PlanUnit","x-oapi-codegen-extra-tags":{db:"unit",json:"unit",csv:"unit"},type:"string",enum:["user","free"]},minimum_units:{type:"integer",description:"Minimum number of units required for the plan","x-oapi-codegen-extra-tags":{db:"minimum_units",json:"minimum_units",csv:"minimum_units"}},price_per_unit:{type:"number",description:"Price per unit of the plan","x-oapi-codegen-extra-tags":{db:"price_per_unit",json:"price_per_unit",csv:"price_per_unit"}},currency:{"x-go-type":"Currency","x-oapi-codegen-extra-tags":{db:"currency",json:"currency",csv:"currency"},type:"string",enum:["usd"]}},required:["id","name","cadence","unit","price_per_unit","minimum_units","currency"]},name:{"x-go-type":"FeatureName","x-oapi-codegen-extra-tags":{db:"name"},type:"string","x-enum-casing-exempt":true,enum:["ComponentsInDesign","RelationshipsInDesign","DesignsInWorkspace","WorkspacesInOrganization","ImageSizeInDesign","SizePerDesign"],description:"Enumeration of possible feature types"},quantity:{type:"number",description:"Quantity of the feature allowed, use 9999999999 for unlimited","x-oapi-codegen-extra-tags":{db:"quantity"},minimum:0},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}},additionalProperties:false}}}},t=e;
|
|
2
2
|
export{t as default};
|
|
@@ -64,13 +64,6 @@ interface paths {
|
|
|
64
64
|
"/api/content/filters/clone/{id}": {
|
|
65
65
|
post: operations["cloneFilter"];
|
|
66
66
|
};
|
|
67
|
-
"/api/content/views/{viewId}": {
|
|
68
|
-
get: operations["getViewById"];
|
|
69
|
-
put: operations["updateView"];
|
|
70
|
-
};
|
|
71
|
-
"/api/content/views": {
|
|
72
|
-
get: operations["getViews"];
|
|
73
|
-
};
|
|
74
67
|
"/api/resource/{resourceType}/share/{resourceId}": {
|
|
75
68
|
post: operations["handleResourceShare"];
|
|
76
69
|
};
|
|
@@ -7162,17 +7155,6 @@ interface components {
|
|
|
7162
7155
|
MesheryFilter: {
|
|
7163
7156
|
[key: string]: unknown;
|
|
7164
7157
|
};
|
|
7165
|
-
MesheryView: {
|
|
7166
|
-
[key: string]: unknown;
|
|
7167
|
-
};
|
|
7168
|
-
MesheryViewPage: {
|
|
7169
|
-
page?: number;
|
|
7170
|
-
page_size?: number;
|
|
7171
|
-
total_count?: number;
|
|
7172
|
-
views?: {
|
|
7173
|
-
[key: string]: unknown;
|
|
7174
|
-
}[];
|
|
7175
|
-
};
|
|
7176
7158
|
ResourceAccessMapping: {
|
|
7177
7159
|
[key: string]: unknown;
|
|
7178
7160
|
};
|
|
@@ -7228,13 +7210,6 @@ interface components {
|
|
|
7228
7210
|
};
|
|
7229
7211
|
};
|
|
7230
7212
|
};
|
|
7231
|
-
viewUpdatePayload: {
|
|
7232
|
-
content: {
|
|
7233
|
-
"application/json": {
|
|
7234
|
-
[key: string]: unknown;
|
|
7235
|
-
};
|
|
7236
|
-
};
|
|
7237
|
-
};
|
|
7238
7213
|
resourceSharePayload: {
|
|
7239
7214
|
content: {
|
|
7240
7215
|
"application/json": {
|
|
@@ -16516,141 +16491,6 @@ interface operations {
|
|
|
16516
16491
|
};
|
|
16517
16492
|
};
|
|
16518
16493
|
};
|
|
16519
|
-
getViewById: {
|
|
16520
|
-
parameters: {
|
|
16521
|
-
path: {
|
|
16522
|
-
viewId: string;
|
|
16523
|
-
};
|
|
16524
|
-
};
|
|
16525
|
-
responses: {
|
|
16526
|
-
/** View */
|
|
16527
|
-
200: {
|
|
16528
|
-
content: {
|
|
16529
|
-
"application/json": {
|
|
16530
|
-
[key: string]: unknown;
|
|
16531
|
-
};
|
|
16532
|
-
};
|
|
16533
|
-
};
|
|
16534
|
-
/** Invalid request body or request param */
|
|
16535
|
-
400: {
|
|
16536
|
-
content: {
|
|
16537
|
-
"text/plain": string;
|
|
16538
|
-
};
|
|
16539
|
-
};
|
|
16540
|
-
/** Expired JWT token used or insufficient privilege */
|
|
16541
|
-
401: {
|
|
16542
|
-
content: {
|
|
16543
|
-
"text/plain": string;
|
|
16544
|
-
};
|
|
16545
|
-
};
|
|
16546
|
-
/** Result not found */
|
|
16547
|
-
404: {
|
|
16548
|
-
content: {
|
|
16549
|
-
"text/plain": string;
|
|
16550
|
-
};
|
|
16551
|
-
};
|
|
16552
|
-
/** Internal server error */
|
|
16553
|
-
500: {
|
|
16554
|
-
content: {
|
|
16555
|
-
"text/plain": string;
|
|
16556
|
-
};
|
|
16557
|
-
};
|
|
16558
|
-
};
|
|
16559
|
-
};
|
|
16560
|
-
updateView: {
|
|
16561
|
-
parameters: {
|
|
16562
|
-
path: {
|
|
16563
|
-
viewId: string;
|
|
16564
|
-
};
|
|
16565
|
-
};
|
|
16566
|
-
responses: {
|
|
16567
|
-
/** Updated view */
|
|
16568
|
-
200: {
|
|
16569
|
-
content: {
|
|
16570
|
-
"application/json": {
|
|
16571
|
-
[key: string]: unknown;
|
|
16572
|
-
};
|
|
16573
|
-
};
|
|
16574
|
-
};
|
|
16575
|
-
/** Invalid request body or request param */
|
|
16576
|
-
400: {
|
|
16577
|
-
content: {
|
|
16578
|
-
"text/plain": string;
|
|
16579
|
-
};
|
|
16580
|
-
};
|
|
16581
|
-
/** Expired JWT token used or insufficient privilege */
|
|
16582
|
-
401: {
|
|
16583
|
-
content: {
|
|
16584
|
-
"text/plain": string;
|
|
16585
|
-
};
|
|
16586
|
-
};
|
|
16587
|
-
/** Result not found */
|
|
16588
|
-
404: {
|
|
16589
|
-
content: {
|
|
16590
|
-
"text/plain": string;
|
|
16591
|
-
};
|
|
16592
|
-
};
|
|
16593
|
-
/** Internal server error */
|
|
16594
|
-
500: {
|
|
16595
|
-
content: {
|
|
16596
|
-
"text/plain": string;
|
|
16597
|
-
};
|
|
16598
|
-
};
|
|
16599
|
-
};
|
|
16600
|
-
requestBody: {
|
|
16601
|
-
content: {
|
|
16602
|
-
"application/json": {
|
|
16603
|
-
[key: string]: unknown;
|
|
16604
|
-
};
|
|
16605
|
-
};
|
|
16606
|
-
};
|
|
16607
|
-
};
|
|
16608
|
-
getViews: {
|
|
16609
|
-
parameters: {
|
|
16610
|
-
query: {
|
|
16611
|
-
/** Get responses that match search param value */
|
|
16612
|
-
search?: string;
|
|
16613
|
-
/** Get ordered responses */
|
|
16614
|
-
order?: string;
|
|
16615
|
-
/** Get responses by page */
|
|
16616
|
-
page?: string;
|
|
16617
|
-
/** Get responses by pagesize */
|
|
16618
|
-
pagesize?: string;
|
|
16619
|
-
filter?: string;
|
|
16620
|
-
shared?: boolean;
|
|
16621
|
-
visibility?: string;
|
|
16622
|
-
orgId?: string;
|
|
16623
|
-
userId?: string;
|
|
16624
|
-
};
|
|
16625
|
-
};
|
|
16626
|
-
responses: {
|
|
16627
|
-
/** Views page */
|
|
16628
|
-
200: {
|
|
16629
|
-
content: {
|
|
16630
|
-
"application/json": {
|
|
16631
|
-
page?: number;
|
|
16632
|
-
page_size?: number;
|
|
16633
|
-
total_count?: number;
|
|
16634
|
-
views?: {
|
|
16635
|
-
[key: string]: unknown;
|
|
16636
|
-
}[];
|
|
16637
|
-
};
|
|
16638
|
-
};
|
|
16639
|
-
};
|
|
16640
|
-
/** Expired JWT token used or insufficient privilege */
|
|
16641
|
-
401: {
|
|
16642
|
-
content: {
|
|
16643
|
-
"text/plain": string;
|
|
16644
|
-
};
|
|
16645
|
-
};
|
|
16646
|
-
/** Internal server error */
|
|
16647
|
-
500: {
|
|
16648
|
-
content: {
|
|
16649
|
-
"text/plain": string;
|
|
16650
|
-
};
|
|
16651
|
-
};
|
|
16652
|
-
};
|
|
16653
|
-
};
|
|
16654
16494
|
handleResourceShare: {
|
|
16655
16495
|
parameters: {
|
|
16656
16496
|
path: {
|
|
@@ -64,13 +64,6 @@ interface paths {
|
|
|
64
64
|
"/api/content/filters/clone/{id}": {
|
|
65
65
|
post: operations["cloneFilter"];
|
|
66
66
|
};
|
|
67
|
-
"/api/content/views/{viewId}": {
|
|
68
|
-
get: operations["getViewById"];
|
|
69
|
-
put: operations["updateView"];
|
|
70
|
-
};
|
|
71
|
-
"/api/content/views": {
|
|
72
|
-
get: operations["getViews"];
|
|
73
|
-
};
|
|
74
67
|
"/api/resource/{resourceType}/share/{resourceId}": {
|
|
75
68
|
post: operations["handleResourceShare"];
|
|
76
69
|
};
|
|
@@ -7162,17 +7155,6 @@ interface components {
|
|
|
7162
7155
|
MesheryFilter: {
|
|
7163
7156
|
[key: string]: unknown;
|
|
7164
7157
|
};
|
|
7165
|
-
MesheryView: {
|
|
7166
|
-
[key: string]: unknown;
|
|
7167
|
-
};
|
|
7168
|
-
MesheryViewPage: {
|
|
7169
|
-
page?: number;
|
|
7170
|
-
page_size?: number;
|
|
7171
|
-
total_count?: number;
|
|
7172
|
-
views?: {
|
|
7173
|
-
[key: string]: unknown;
|
|
7174
|
-
}[];
|
|
7175
|
-
};
|
|
7176
7158
|
ResourceAccessMapping: {
|
|
7177
7159
|
[key: string]: unknown;
|
|
7178
7160
|
};
|
|
@@ -7228,13 +7210,6 @@ interface components {
|
|
|
7228
7210
|
};
|
|
7229
7211
|
};
|
|
7230
7212
|
};
|
|
7231
|
-
viewUpdatePayload: {
|
|
7232
|
-
content: {
|
|
7233
|
-
"application/json": {
|
|
7234
|
-
[key: string]: unknown;
|
|
7235
|
-
};
|
|
7236
|
-
};
|
|
7237
|
-
};
|
|
7238
7213
|
resourceSharePayload: {
|
|
7239
7214
|
content: {
|
|
7240
7215
|
"application/json": {
|
|
@@ -16516,141 +16491,6 @@ interface operations {
|
|
|
16516
16491
|
};
|
|
16517
16492
|
};
|
|
16518
16493
|
};
|
|
16519
|
-
getViewById: {
|
|
16520
|
-
parameters: {
|
|
16521
|
-
path: {
|
|
16522
|
-
viewId: string;
|
|
16523
|
-
};
|
|
16524
|
-
};
|
|
16525
|
-
responses: {
|
|
16526
|
-
/** View */
|
|
16527
|
-
200: {
|
|
16528
|
-
content: {
|
|
16529
|
-
"application/json": {
|
|
16530
|
-
[key: string]: unknown;
|
|
16531
|
-
};
|
|
16532
|
-
};
|
|
16533
|
-
};
|
|
16534
|
-
/** Invalid request body or request param */
|
|
16535
|
-
400: {
|
|
16536
|
-
content: {
|
|
16537
|
-
"text/plain": string;
|
|
16538
|
-
};
|
|
16539
|
-
};
|
|
16540
|
-
/** Expired JWT token used or insufficient privilege */
|
|
16541
|
-
401: {
|
|
16542
|
-
content: {
|
|
16543
|
-
"text/plain": string;
|
|
16544
|
-
};
|
|
16545
|
-
};
|
|
16546
|
-
/** Result not found */
|
|
16547
|
-
404: {
|
|
16548
|
-
content: {
|
|
16549
|
-
"text/plain": string;
|
|
16550
|
-
};
|
|
16551
|
-
};
|
|
16552
|
-
/** Internal server error */
|
|
16553
|
-
500: {
|
|
16554
|
-
content: {
|
|
16555
|
-
"text/plain": string;
|
|
16556
|
-
};
|
|
16557
|
-
};
|
|
16558
|
-
};
|
|
16559
|
-
};
|
|
16560
|
-
updateView: {
|
|
16561
|
-
parameters: {
|
|
16562
|
-
path: {
|
|
16563
|
-
viewId: string;
|
|
16564
|
-
};
|
|
16565
|
-
};
|
|
16566
|
-
responses: {
|
|
16567
|
-
/** Updated view */
|
|
16568
|
-
200: {
|
|
16569
|
-
content: {
|
|
16570
|
-
"application/json": {
|
|
16571
|
-
[key: string]: unknown;
|
|
16572
|
-
};
|
|
16573
|
-
};
|
|
16574
|
-
};
|
|
16575
|
-
/** Invalid request body or request param */
|
|
16576
|
-
400: {
|
|
16577
|
-
content: {
|
|
16578
|
-
"text/plain": string;
|
|
16579
|
-
};
|
|
16580
|
-
};
|
|
16581
|
-
/** Expired JWT token used or insufficient privilege */
|
|
16582
|
-
401: {
|
|
16583
|
-
content: {
|
|
16584
|
-
"text/plain": string;
|
|
16585
|
-
};
|
|
16586
|
-
};
|
|
16587
|
-
/** Result not found */
|
|
16588
|
-
404: {
|
|
16589
|
-
content: {
|
|
16590
|
-
"text/plain": string;
|
|
16591
|
-
};
|
|
16592
|
-
};
|
|
16593
|
-
/** Internal server error */
|
|
16594
|
-
500: {
|
|
16595
|
-
content: {
|
|
16596
|
-
"text/plain": string;
|
|
16597
|
-
};
|
|
16598
|
-
};
|
|
16599
|
-
};
|
|
16600
|
-
requestBody: {
|
|
16601
|
-
content: {
|
|
16602
|
-
"application/json": {
|
|
16603
|
-
[key: string]: unknown;
|
|
16604
|
-
};
|
|
16605
|
-
};
|
|
16606
|
-
};
|
|
16607
|
-
};
|
|
16608
|
-
getViews: {
|
|
16609
|
-
parameters: {
|
|
16610
|
-
query: {
|
|
16611
|
-
/** Get responses that match search param value */
|
|
16612
|
-
search?: string;
|
|
16613
|
-
/** Get ordered responses */
|
|
16614
|
-
order?: string;
|
|
16615
|
-
/** Get responses by page */
|
|
16616
|
-
page?: string;
|
|
16617
|
-
/** Get responses by pagesize */
|
|
16618
|
-
pagesize?: string;
|
|
16619
|
-
filter?: string;
|
|
16620
|
-
shared?: boolean;
|
|
16621
|
-
visibility?: string;
|
|
16622
|
-
orgId?: string;
|
|
16623
|
-
userId?: string;
|
|
16624
|
-
};
|
|
16625
|
-
};
|
|
16626
|
-
responses: {
|
|
16627
|
-
/** Views page */
|
|
16628
|
-
200: {
|
|
16629
|
-
content: {
|
|
16630
|
-
"application/json": {
|
|
16631
|
-
page?: number;
|
|
16632
|
-
page_size?: number;
|
|
16633
|
-
total_count?: number;
|
|
16634
|
-
views?: {
|
|
16635
|
-
[key: string]: unknown;
|
|
16636
|
-
}[];
|
|
16637
|
-
};
|
|
16638
|
-
};
|
|
16639
|
-
};
|
|
16640
|
-
/** Expired JWT token used or insufficient privilege */
|
|
16641
|
-
401: {
|
|
16642
|
-
content: {
|
|
16643
|
-
"text/plain": string;
|
|
16644
|
-
};
|
|
16645
|
-
};
|
|
16646
|
-
/** Internal server error */
|
|
16647
|
-
500: {
|
|
16648
|
-
content: {
|
|
16649
|
-
"text/plain": string;
|
|
16650
|
-
};
|
|
16651
|
-
};
|
|
16652
|
-
};
|
|
16653
|
-
};
|
|
16654
16494
|
handleResourceShare: {
|
|
16655
16495
|
parameters: {
|
|
16656
16496
|
path: {
|