@meshery/schemas 0.8.107 → 0.8.108
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +294 -23
- package/dist/Core-Wy_3jcVT.d.mts +736 -0
- package/dist/Core-Wy_3jcVT.d.ts +736 -0
- package/dist/cloudApi.d.mts +6873 -3592
- package/dist/cloudApi.d.ts +6873 -3592
- package/dist/cloudApi.js +1 -1
- package/dist/cloudApi.mjs +1 -1
- package/dist/constructs/v1alpha1/capability/Capability.d.mts +115 -0
- package/dist/constructs/v1alpha1/capability/Capability.d.ts +115 -0
- package/dist/constructs/v1alpha1/capability/Capability.js +1 -0
- package/dist/constructs/v1alpha1/capability/Capability.mjs +0 -0
- package/dist/constructs/v1alpha1/capability/CapabilitySchema.d.mts +155 -0
- package/dist/constructs/v1alpha1/capability/CapabilitySchema.d.ts +155 -0
- package/dist/constructs/v1alpha1/capability/CapabilitySchema.js +2 -0
- package/dist/constructs/v1alpha1/capability/CapabilitySchema.mjs +2 -0
- package/dist/constructs/v1alpha1/core/Core.d.mts +1 -0
- package/dist/constructs/v1alpha1/core/Core.d.ts +1 -0
- package/dist/constructs/v1alpha1/core/Core.js +1 -0
- package/dist/constructs/v1alpha1/core/Core.mjs +0 -0
- package/dist/constructs/v1alpha1/core/CoreSchema.d.mts +1649 -0
- package/dist/constructs/v1alpha1/core/CoreSchema.d.ts +1649 -0
- package/dist/constructs/v1alpha1/core/CoreSchema.js +2 -0
- package/dist/constructs/v1alpha1/core/CoreSchema.mjs +2 -0
- package/dist/constructs/v1alpha2/catalog/Catalog.d.mts +46 -0
- package/dist/constructs/v1alpha2/catalog/Catalog.d.ts +46 -0
- package/dist/constructs/v1alpha2/catalog/Catalog.js +1 -0
- package/dist/constructs/v1alpha2/catalog/Catalog.mjs +0 -0
- package/dist/constructs/v1alpha2/catalog/CatalogSchema.d.mts +80 -0
- package/dist/constructs/v1alpha2/catalog/CatalogSchema.d.ts +80 -0
- package/dist/constructs/v1alpha2/catalog/CatalogSchema.js +2 -0
- package/dist/constructs/v1alpha2/catalog/CatalogSchema.mjs +2 -0
- package/dist/constructs/v1beta1/academy/Academy.d.mts +5762 -0
- package/dist/constructs/v1beta1/academy/Academy.d.ts +5762 -0
- package/dist/constructs/v1beta1/academy/Academy.js +1 -0
- package/dist/constructs/v1beta1/academy/Academy.mjs +0 -0
- package/dist/constructs/v1beta1/academy/AcademySchema.d.mts +11838 -0
- package/dist/constructs/v1beta1/academy/AcademySchema.d.ts +11838 -0
- package/dist/constructs/v1beta1/academy/AcademySchema.js +2 -0
- package/dist/constructs/v1beta1/academy/AcademySchema.mjs +2 -0
- package/dist/constructs/v1beta1/badge/Badge.d.mts +253 -0
- package/dist/constructs/v1beta1/badge/Badge.d.ts +253 -0
- package/dist/constructs/v1beta1/badge/Badge.js +1 -0
- package/dist/constructs/v1beta1/badge/Badge.mjs +0 -0
- package/dist/constructs/v1beta1/badge/BadgeSchema.d.mts +519 -0
- package/dist/constructs/v1beta1/badge/BadgeSchema.d.ts +519 -0
- package/dist/constructs/v1beta1/badge/BadgeSchema.js +2 -0
- package/dist/constructs/v1beta1/badge/BadgeSchema.mjs +2 -0
- package/dist/constructs/v1beta1/category/Category.d.mts +33 -0
- package/dist/constructs/v1beta1/category/Category.d.ts +33 -0
- package/dist/constructs/v1beta1/category/Category.js +1 -0
- package/dist/constructs/v1beta1/category/Category.mjs +0 -0
- package/dist/constructs/v1beta1/category/CategorySchema.d.mts +60 -0
- package/dist/constructs/v1beta1/category/CategorySchema.d.ts +60 -0
- package/dist/constructs/v1beta1/category/CategorySchema.js +2 -0
- package/dist/constructs/v1beta1/category/CategorySchema.mjs +2 -0
- package/dist/constructs/v1beta1/component/Component.d.mts +737 -0
- package/dist/constructs/v1beta1/component/Component.d.ts +737 -0
- package/dist/constructs/v1beta1/component/Component.js +1 -0
- package/dist/constructs/v1beta1/component/Component.mjs +0 -0
- package/dist/constructs/v1beta1/component/ComponentSchema.d.mts +1751 -0
- package/dist/constructs/v1beta1/component/ComponentSchema.d.ts +1751 -0
- package/dist/constructs/v1beta1/component/ComponentSchema.js +10 -0
- package/dist/constructs/v1beta1/component/ComponentSchema.mjs +10 -0
- package/dist/constructs/v1beta1/connection/Connection.d.mts +186 -0
- package/dist/constructs/v1beta1/connection/Connection.d.ts +186 -0
- package/dist/constructs/v1beta1/connection/Connection.js +1 -0
- package/dist/constructs/v1beta1/connection/Connection.mjs +0 -0
- package/dist/constructs/v1beta1/connection/ConnectionSchema.d.mts +612 -0
- package/dist/constructs/v1beta1/connection/ConnectionSchema.d.ts +612 -0
- package/dist/constructs/v1beta1/connection/ConnectionSchema.js +2 -0
- package/dist/constructs/v1beta1/connection/ConnectionSchema.mjs +2 -0
- package/dist/constructs/v1beta1/environment/Environment.d.mts +307 -0
- package/dist/constructs/v1beta1/environment/Environment.d.ts +307 -0
- package/dist/constructs/v1beta1/environment/Environment.js +1 -0
- package/dist/constructs/v1beta1/environment/Environment.mjs +0 -0
- package/dist/constructs/v1beta1/environment/EnvironmentSchema.d.mts +904 -0
- package/dist/constructs/v1beta1/environment/EnvironmentSchema.d.ts +904 -0
- package/dist/constructs/v1beta1/environment/EnvironmentSchema.js +2 -0
- package/dist/constructs/v1beta1/environment/EnvironmentSchema.mjs +2 -0
- package/dist/constructs/v1beta1/evaluation/Evaluation.d.mts +5729 -0
- package/dist/constructs/v1beta1/evaluation/Evaluation.d.ts +5729 -0
- package/dist/constructs/v1beta1/evaluation/Evaluation.js +1 -0
- package/dist/constructs/v1beta1/evaluation/Evaluation.mjs +0 -0
- package/dist/constructs/v1beta1/evaluation/EvaluationSchema.d.mts +15473 -0
- package/dist/constructs/v1beta1/evaluation/EvaluationSchema.d.ts +15473 -0
- package/dist/constructs/v1beta1/evaluation/EvaluationSchema.js +210 -0
- package/dist/constructs/v1beta1/evaluation/EvaluationSchema.mjs +210 -0
- package/dist/constructs/v1beta1/event/Event.d.mts +177 -0
- package/dist/constructs/v1beta1/event/Event.d.ts +177 -0
- package/dist/constructs/v1beta1/event/Event.js +1 -0
- package/dist/constructs/v1beta1/event/Event.mjs +0 -0
- package/dist/constructs/v1beta1/event/EventSchema.d.mts +360 -0
- package/dist/constructs/v1beta1/event/EventSchema.d.ts +360 -0
- package/dist/constructs/v1beta1/event/EventSchema.js +1 -0
- package/dist/constructs/v1beta1/event/EventSchema.mjs +1 -0
- package/dist/constructs/v1beta1/feature/Feature.d.mts +287 -0
- package/dist/constructs/v1beta1/feature/Feature.d.ts +287 -0
- package/dist/constructs/v1beta1/feature/Feature.js +1 -0
- package/dist/constructs/v1beta1/feature/Feature.mjs +0 -0
- package/dist/constructs/v1beta1/feature/FeatureSchema.d.mts +773 -0
- package/dist/constructs/v1beta1/feature/FeatureSchema.d.ts +773 -0
- package/dist/constructs/v1beta1/feature/FeatureSchema.js +1 -0
- package/dist/constructs/v1beta1/feature/FeatureSchema.mjs +1 -0
- package/dist/constructs/v1beta1/invitation/Invitation.d.mts +644 -0
- package/dist/constructs/v1beta1/invitation/Invitation.d.ts +644 -0
- package/dist/constructs/v1beta1/invitation/Invitation.js +1 -0
- package/dist/constructs/v1beta1/invitation/Invitation.mjs +0 -0
- package/dist/constructs/v1beta1/invitation/InvitationSchema.d.mts +1652 -0
- package/dist/constructs/v1beta1/invitation/InvitationSchema.d.ts +1652 -0
- package/dist/constructs/v1beta1/invitation/InvitationSchema.js +1 -0
- package/dist/constructs/v1beta1/invitation/InvitationSchema.mjs +1 -0
- package/dist/constructs/v1beta1/key/Key.d.mts +409 -0
- package/dist/constructs/v1beta1/key/Key.d.ts +409 -0
- package/dist/constructs/v1beta1/key/Key.js +1 -0
- package/dist/constructs/v1beta1/key/Key.mjs +0 -0
- package/dist/constructs/v1beta1/key/KeySchema.d.mts +1029 -0
- package/dist/constructs/v1beta1/key/KeySchema.d.ts +1029 -0
- package/dist/constructs/v1beta1/key/KeySchema.js +1 -0
- package/dist/constructs/v1beta1/key/KeySchema.mjs +1 -0
- package/dist/constructs/v1beta1/keychain/Keychain.d.mts +641 -0
- package/dist/constructs/v1beta1/keychain/Keychain.d.ts +641 -0
- package/dist/constructs/v1beta1/keychain/Keychain.js +1 -0
- package/dist/constructs/v1beta1/keychain/Keychain.mjs +0 -0
- package/dist/constructs/v1beta1/keychain/KeychainSchema.d.mts +1541 -0
- package/dist/constructs/v1beta1/keychain/KeychainSchema.d.ts +1541 -0
- package/dist/constructs/v1beta1/keychain/KeychainSchema.js +1 -0
- package/dist/constructs/v1beta1/keychain/KeychainSchema.mjs +1 -0
- package/dist/constructs/v1beta1/model/Model.d.mts +474 -0
- package/dist/constructs/v1beta1/model/Model.d.ts +474 -0
- package/dist/constructs/v1beta1/model/Model.js +1 -0
- package/dist/constructs/v1beta1/model/Model.mjs +0 -0
- package/dist/constructs/v1beta1/model/ModelSchema.d.mts +1281 -0
- package/dist/constructs/v1beta1/model/ModelSchema.d.ts +1281 -0
- package/dist/constructs/v1beta1/model/ModelSchema.js +6 -0
- package/dist/constructs/v1beta1/model/ModelSchema.mjs +6 -0
- package/dist/constructs/v1beta1/organization/Organization.d.mts +268 -0
- package/dist/constructs/v1beta1/organization/Organization.d.ts +268 -0
- package/dist/constructs/v1beta1/organization/Organization.js +1 -0
- package/dist/constructs/v1beta1/organization/Organization.mjs +0 -0
- package/dist/constructs/v1beta1/organization/OrganizationSchema.d.mts +765 -0
- package/dist/constructs/v1beta1/organization/OrganizationSchema.d.ts +765 -0
- package/dist/constructs/v1beta1/organization/OrganizationSchema.js +1 -0
- package/dist/constructs/v1beta1/organization/OrganizationSchema.mjs +1 -0
- package/dist/constructs/v1beta1/pattern/Pattern.d.mts +5776 -0
- package/dist/constructs/v1beta1/pattern/Pattern.d.ts +5776 -0
- package/dist/constructs/v1beta1/pattern/Pattern.js +1 -0
- package/dist/constructs/v1beta1/pattern/Pattern.mjs +0 -0
- package/dist/constructs/v1beta1/pattern/PatternSchema.d.mts +15669 -0
- package/dist/constructs/v1beta1/pattern/PatternSchema.d.ts +15669 -0
- package/dist/constructs/v1beta1/pattern/PatternSchema.js +210 -0
- package/dist/constructs/v1beta1/pattern/PatternSchema.mjs +210 -0
- package/dist/constructs/v1beta1/plan/Plan.d.mts +120 -0
- package/dist/constructs/v1beta1/plan/Plan.d.ts +120 -0
- package/dist/constructs/v1beta1/plan/Plan.js +1 -0
- package/dist/constructs/v1beta1/plan/Plan.mjs +0 -0
- package/dist/constructs/v1beta1/plan/PlanSchema.d.mts +322 -0
- package/dist/constructs/v1beta1/plan/PlanSchema.d.ts +322 -0
- package/dist/constructs/v1beta1/plan/PlanSchema.js +1 -0
- package/dist/constructs/v1beta1/plan/PlanSchema.mjs +1 -0
- package/dist/constructs/v1beta1/subcategory/Subcategory.d.mts +23 -0
- package/dist/constructs/v1beta1/subcategory/Subcategory.d.ts +23 -0
- package/dist/constructs/v1beta1/subcategory/Subcategory.js +1 -0
- package/dist/constructs/v1beta1/subcategory/Subcategory.mjs +0 -0
- package/dist/constructs/v1beta1/subcategory/SubcategorySchema.d.mts +33 -0
- package/dist/constructs/v1beta1/subcategory/SubcategorySchema.d.ts +33 -0
- package/dist/constructs/v1beta1/subcategory/SubcategorySchema.js +2 -0
- package/dist/constructs/v1beta1/subcategory/SubcategorySchema.mjs +2 -0
- package/dist/constructs/v1beta1/subscription/Subscription.d.mts +624 -0
- package/dist/constructs/v1beta1/subscription/Subscription.d.ts +624 -0
- package/dist/constructs/v1beta1/subscription/Subscription.js +1 -0
- package/dist/constructs/v1beta1/subscription/Subscription.mjs +0 -0
- package/dist/constructs/v1beta1/subscription/SubscriptionSchema.d.mts +1642 -0
- package/dist/constructs/v1beta1/subscription/SubscriptionSchema.d.ts +1642 -0
- package/dist/constructs/v1beta1/subscription/SubscriptionSchema.js +2 -0
- package/dist/constructs/v1beta1/subscription/SubscriptionSchema.mjs +2 -0
- package/dist/constructs/v1beta1/user/User.d.mts +473 -0
- package/dist/constructs/v1beta1/user/User.d.ts +473 -0
- package/dist/constructs/v1beta1/user/User.js +1 -0
- package/dist/constructs/v1beta1/user/User.mjs +0 -0
- package/dist/constructs/v1beta1/user/UserSchema.d.mts +1112 -0
- package/dist/constructs/v1beta1/user/UserSchema.d.ts +1112 -0
- package/dist/constructs/v1beta1/user/UserSchema.js +1 -0
- package/dist/constructs/v1beta1/user/UserSchema.mjs +1 -0
- package/dist/constructs/v1beta1/workspace/Workspace.d.mts +303 -0
- package/dist/constructs/v1beta1/workspace/Workspace.d.ts +303 -0
- package/dist/constructs/v1beta1/workspace/Workspace.js +1 -0
- package/dist/constructs/v1beta1/workspace/Workspace.mjs +0 -0
- package/dist/constructs/v1beta1/workspace/WorkspaceSchema.d.mts +964 -0
- package/dist/constructs/v1beta1/workspace/WorkspaceSchema.d.ts +964 -0
- package/dist/constructs/v1beta1/workspace/WorkspaceSchema.js +2 -0
- package/dist/constructs/v1beta1/workspace/WorkspaceSchema.mjs +2 -0
- package/dist/index.d.mts +40 -34677
- package/dist/index.d.ts +40 -34677
- package/dist/index.js +29 -93
- package/dist/index.mjs +29 -93
- package/dist/mesheryApi.d.mts +1751 -653
- package/dist/mesheryApi.d.ts +1751 -653
- package/dist/mesheryApi.js +1 -1
- package/dist/mesheryApi.mjs +1 -1
- package/dist/permissions.d.mts +422 -0
- package/dist/permissions.d.ts +422 -0
- package/dist/permissions.js +1 -0
- package/dist/permissions.mjs +1 -0
- package/package.json +52 -48
|
@@ -0,0 +1 @@
|
|
|
1
|
+
'use strict';var e={openapi:"3.0.0",info:{title:"keychain",version:"1.0.0"},security:[{jwt:[]}],tags:[{name:"Keychain",description:"Operations related to keychains"}],paths:{"/api/auth/keychains":{get:{"x-internal":["cloud"],tags:["Keychain"],summary:"List keychains",operationId:"getKeychains",parameters:[{name:"page",in:"query",description:"Get responses by page",schema:{type:"string"}},{name:"pagesize",in:"query",description:"Get responses by pagesize",schema:{type:"string"}},{name:"search",in:"query",description:"Get responses that match search param value",schema:{type:"string"}},{name:"order",in:"query",description:"Get ordered responses",schema:{type:"string"}}],responses:{200:{description:"Keychain(s) fetched",content:{"application/json":{schema:{type:"object",required:["page","page_size","total_count","keychains"],properties:{page:{"x-order":1,type:"integer","x-go-type-skip-optional-pointer":true},page_size:{"x-order":2,type:"integer","x-go-type-skip-optional-pointer":true},total_count:{"x-order":3,type:"integer","x-go-type-skip-optional-pointer":true},keychains:{type:"array",items:{"x-go-type":"Keychain",type:"object",description:"Represents a collection of keys.",required:["id","name","owner","created_at","updated_at"],properties:{id:{description:"Unique identifier for the keychain.","x-oapi-codegen-extra-tags":{db:"id"},"x-order":1,type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"}},name:{type:"string",description:"Name of the keychain.","x-oapi-codegen-extra-tags":{db:"name"},"x-order":2},owner:{description:"Owner of the keychain.","x-oapi-codegen-extra-tags":{db:"owner"},"x-order":3,type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"}},created_at:{"x-order":4,description:"Timestamp when the resource was created.","x-go-type":"time.Time",type:"string",format:"date-time","x-go-name":"CreatedAt","x-oapi-codegen-extra-tags":{db:"created_at",yaml:"created_at"},"x-go-type-skip-optional-pointer":true},updated_at:{"x-order":5,description:"Timestamp when the resource was updated.","x-go-type":"time.Time",type:"string",format:"date-time","x-go-name":"UpdatedAt","x-oapi-codegen-extra-tags":{db:"updated_at",yaml:"updated_at"},"x-go-type-skip-optional-pointer":true},deleted_at:{"x-oapi-codegen-extra-tags":{db:"deleted_at"},"x-order":6,description:"SQL null Timestamp to handle null values of time.","x-go-type":"sql.NullTime",type:"string","x-go-type-skip-optional-pointer":true}}},"x-order":4}}}}}},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"}}}}}},post:{"x-internal":["cloud"],tags:["Keychain"],summary:"Create a keychain",operationId:"createKeychain",requestBody:{required:true,content:{"application/json":{schema:{type:"object",description:"Represents a collection of keys.",required:["id","name","owner","created_at","updated_at"],properties:{id:{description:"Unique identifier for the keychain.","x-oapi-codegen-extra-tags":{db:"id"},"x-order":1,type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"}},name:{type:"string",description:"Name of the keychain.","x-oapi-codegen-extra-tags":{db:"name"},"x-order":2},owner:{description:"Owner of the keychain.","x-oapi-codegen-extra-tags":{db:"owner"},"x-order":3,type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"}},created_at:{"x-order":4,description:"Timestamp when the resource was created.","x-go-type":"time.Time",type:"string",format:"date-time","x-go-name":"CreatedAt","x-oapi-codegen-extra-tags":{db:"created_at",yaml:"created_at"},"x-go-type-skip-optional-pointer":true},updated_at:{"x-order":5,description:"Timestamp when the resource was updated.","x-go-type":"time.Time",type:"string",format:"date-time","x-go-name":"UpdatedAt","x-oapi-codegen-extra-tags":{db:"updated_at",yaml:"updated_at"},"x-go-type-skip-optional-pointer":true},deleted_at:{"x-oapi-codegen-extra-tags":{db:"deleted_at"},"x-order":6,description:"SQL null Timestamp to handle null values of time.","x-go-type":"sql.NullTime",type:"string","x-go-type-skip-optional-pointer":true}}}}}},responses:{200:{description:"Keychain created",content:{"application/json":{schema:{type:"object",description:"Represents a collection of keys.",required:["id","name","owner","created_at","updated_at"],properties:{id:{description:"Unique identifier for the keychain.","x-oapi-codegen-extra-tags":{db:"id"},"x-order":1,type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"}},name:{type:"string",description:"Name of the keychain.","x-oapi-codegen-extra-tags":{db:"name"},"x-order":2},owner:{description:"Owner of the keychain.","x-oapi-codegen-extra-tags":{db:"owner"},"x-order":3,type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"}},created_at:{"x-order":4,description:"Timestamp when the resource was created.","x-go-type":"time.Time",type:"string",format:"date-time","x-go-name":"CreatedAt","x-oapi-codegen-extra-tags":{db:"created_at",yaml:"created_at"},"x-go-type-skip-optional-pointer":true},updated_at:{"x-order":5,description:"Timestamp when the resource was updated.","x-go-type":"time.Time",type:"string",format:"date-time","x-go-name":"UpdatedAt","x-oapi-codegen-extra-tags":{db:"updated_at",yaml:"updated_at"},"x-go-type-skip-optional-pointer":true},deleted_at:{"x-oapi-codegen-extra-tags":{db:"deleted_at"},"x-order":6,description:"SQL null Timestamp to handle null values of time.","x-go-type":"sql.NullTime",type:"string","x-go-type-skip-optional-pointer":true}}}}}},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/auth/keychains/{keychainId}":{get:{"x-internal":["cloud"],tags:["Keychain"],summary:"Get keychain by ID",operationId:"getKeychainById",parameters:[{name:"keychainId",in:"path",description:"Keychain ID",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:"Keychain fetched",content:{"application/json":{schema:{type:"object",description:"Represents a collection of keys.",required:["id","name","owner","created_at","updated_at"],properties:{id:{description:"Unique identifier for the keychain.","x-oapi-codegen-extra-tags":{db:"id"},"x-order":1,type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"}},name:{type:"string",description:"Name of the keychain.","x-oapi-codegen-extra-tags":{db:"name"},"x-order":2},owner:{description:"Owner of the keychain.","x-oapi-codegen-extra-tags":{db:"owner"},"x-order":3,type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"}},created_at:{"x-order":4,description:"Timestamp when the resource was created.","x-go-type":"time.Time",type:"string",format:"date-time","x-go-name":"CreatedAt","x-oapi-codegen-extra-tags":{db:"created_at",yaml:"created_at"},"x-go-type-skip-optional-pointer":true},updated_at:{"x-order":5,description:"Timestamp when the resource was updated.","x-go-type":"time.Time",type:"string",format:"date-time","x-go-name":"UpdatedAt","x-oapi-codegen-extra-tags":{db:"updated_at",yaml:"updated_at"},"x-go-type-skip-optional-pointer":true},deleted_at:{"x-oapi-codegen-extra-tags":{db:"deleted_at"},"x-order":6,description:"SQL null Timestamp to handle null values of time.","x-go-type":"sql.NullTime",type:"string","x-go-type-skip-optional-pointer":true}}}}}},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"}}}}}},put:{"x-internal":["cloud"],tags:["Keychain"],summary:"Update keychain",operationId:"updateKeychain",parameters:[{name:"keychainId",in:"path",description:"Keychain ID",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"}}}],requestBody:{required:true,content:{"application/json":{schema:{type:"object",description:"Represents a collection of keys.",required:["id","name","owner","created_at","updated_at"],properties:{id:{description:"Unique identifier for the keychain.","x-oapi-codegen-extra-tags":{db:"id"},"x-order":1,type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"}},name:{type:"string",description:"Name of the keychain.","x-oapi-codegen-extra-tags":{db:"name"},"x-order":2},owner:{description:"Owner of the keychain.","x-oapi-codegen-extra-tags":{db:"owner"},"x-order":3,type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"}},created_at:{"x-order":4,description:"Timestamp when the resource was created.","x-go-type":"time.Time",type:"string",format:"date-time","x-go-name":"CreatedAt","x-oapi-codegen-extra-tags":{db:"created_at",yaml:"created_at"},"x-go-type-skip-optional-pointer":true},updated_at:{"x-order":5,description:"Timestamp when the resource was updated.","x-go-type":"time.Time",type:"string",format:"date-time","x-go-name":"UpdatedAt","x-oapi-codegen-extra-tags":{db:"updated_at",yaml:"updated_at"},"x-go-type-skip-optional-pointer":true},deleted_at:{"x-oapi-codegen-extra-tags":{db:"deleted_at"},"x-order":6,description:"SQL null Timestamp to handle null values of time.","x-go-type":"sql.NullTime",type:"string","x-go-type-skip-optional-pointer":true}}}}}},responses:{200:{description:"Keychain updated",content:{"application/json":{schema:{type:"object",description:"Represents a collection of keys.",required:["id","name","owner","created_at","updated_at"],properties:{id:{description:"Unique identifier for the keychain.","x-oapi-codegen-extra-tags":{db:"id"},"x-order":1,type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"}},name:{type:"string",description:"Name of the keychain.","x-oapi-codegen-extra-tags":{db:"name"},"x-order":2},owner:{description:"Owner of the keychain.","x-oapi-codegen-extra-tags":{db:"owner"},"x-order":3,type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"}},created_at:{"x-order":4,description:"Timestamp when the resource was created.","x-go-type":"time.Time",type:"string",format:"date-time","x-go-name":"CreatedAt","x-oapi-codegen-extra-tags":{db:"created_at",yaml:"created_at"},"x-go-type-skip-optional-pointer":true},updated_at:{"x-order":5,description:"Timestamp when the resource was updated.","x-go-type":"time.Time",type:"string",format:"date-time","x-go-name":"UpdatedAt","x-oapi-codegen-extra-tags":{db:"updated_at",yaml:"updated_at"},"x-go-type-skip-optional-pointer":true},deleted_at:{"x-oapi-codegen-extra-tags":{db:"deleted_at"},"x-order":6,description:"SQL null Timestamp to handle null values of time.","x-go-type":"sql.NullTime",type:"string","x-go-type-skip-optional-pointer":true}}}}}},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"}}}}}},delete:{"x-internal":["cloud"],tags:["Keychain"],summary:"Delete keychain",operationId:"deleteKeychain",parameters:[{name:"keychainId",in:"path",description:"Keychain ID",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:{204:{description:"Keychain deleted"},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"}}}}}}},"/api/auth/keychains/{keychainId}/{keyId}":{post:{"x-internal":["cloud"],tags:["Keychain"],summary:"Add key to keychain",operationId:"addKeyToKeychain",parameters:[{name:"keychainId",in:"path",description:"Keychain ID",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"}}},{name:"keyId",in:"path",description:"Key ID",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:{204:{description:"Key added to keychain"},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"}}}}}},delete:{"x-internal":["cloud"],tags:["Keychain"],summary:"Remove key from keychain",operationId:"removeKeyFromKeychain",parameters:[{name:"keychainId",in:"path",description:"Keychain ID",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"}}},{name:"keyId",in:"path",description:"Key ID",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:{204:{description:"Key removed from keychain"},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"}}}}}}},"/api/auth/keychains/{keychainId}/keys":{get:{"x-internal":["cloud"],tags:["Keychain"],summary:"List keys in a keychain",operationId:"getKeysOfKeychain",parameters:[{name:"keychainId",in:"path",description:"Keychain ID",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"}}},{name:"page",in:"query",description:"Get responses by page",schema:{type:"string"}},{name:"pagesize",in:"query",description:"Get responses by pagesize",schema:{type:"string"}},{name:"search",in:"query",description:"Get responses that match search param value",schema:{type:"string"}},{name:"order",in:"query",description:"Get ordered responses",schema:{type:"string"}}],responses:{200:{description:"Keys fetched successfully",content:{"application/json":{schema:{type:"object",required:["page","page_size","total_count","keys"],properties:{page:{"x-order":1,type:"integer","x-go-type-skip-optional-pointer":true},page_size:{"x-order":2,type:"integer","x-go-type-skip-optional-pointer":true},total_count:{"x-order":3,type:"integer","x-go-type-skip-optional-pointer":true},keys:{type:"array",items:{"x-go-type":"Key",type:"object",description:"Represents an authorization key used for access control.",required:["id","owner","function","category","subcategory","description","created_at","updated_at"],properties:{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"},"x-go-name":"ID","x-oapi-codegen-extra-tags":{db:"id"},"x-order":1},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"},"x-go-name":"Owner","x-oapi-codegen-extra-tags":{db:"owner"},"x-order":2},function:{type:"string",description:"Operation permitted by the key.","x-oapi-codegen-extra-tags":{db:"function"},"x-order":3},category:{type:"string",description:"Category for the key.","x-oapi-codegen-extra-tags":{db:"category"},"x-order":4},subcategory:{type:"string",description:"Subcategory for the key.","x-oapi-codegen-extra-tags":{db:"subcategory"},"x-order":5},description:{type:"string",description:"Human readable description of the key.","x-oapi-codegen-extra-tags":{db:"description"},"x-order":6},created_at:{"x-order":7,description:"Timestamp when the resource was created.","x-go-type":"time.Time",type:"string",format:"date-time","x-go-name":"CreatedAt","x-oapi-codegen-extra-tags":{db:"created_at",yaml:"created_at"},"x-go-type-skip-optional-pointer":true},updated_at:{"x-order":8,description:"Timestamp when the resource was updated.","x-go-type":"time.Time",type:"string",format:"date-time","x-go-name":"UpdatedAt","x-oapi-codegen-extra-tags":{db:"updated_at",yaml:"updated_at"},"x-go-type-skip-optional-pointer":true},deleted_at:{"x-oapi-codegen-extra-tags":{db:"deleted_at"},"x-order":9,description:"SQL null Timestamp to handle null values of time.","x-go-type":"sql.NullTime",type:"string","x-go-type-skip-optional-pointer":true}}},"x-order":4}}}}}},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:{responses:{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"}}}}},parameters:{keyId:{name:"keyId",in:"path",description:"Key ID",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"}}},keychainId:{name:"keychainId",in:"path",description:"Keychain ID",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"}}},page:{name:"page",in:"query",description:"Get responses by page",schema:{type:"string"}},pagesize:{name:"pagesize",in:"query",description:"Get responses by pagesize",schema:{type:"string"}},order:{name:"order",in:"query",description:"Get ordered responses",schema:{type:"string"}},search:{name:"search",in:"query",description:"Get responses that match search param value",schema:{type:"string"}}},securitySchemes:{jwt:{type:"http",scheme:"bearer",bearerFormat:"JWT"}},schemas:{Keychain:{type:"object",description:"Represents a collection of keys.",required:["id","name","owner","created_at","updated_at"],properties:{id:{description:"Unique identifier for the keychain.","x-oapi-codegen-extra-tags":{db:"id"},"x-order":1,type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"}},name:{type:"string",description:"Name of the keychain.","x-oapi-codegen-extra-tags":{db:"name"},"x-order":2},owner:{description:"Owner of the keychain.","x-oapi-codegen-extra-tags":{db:"owner"},"x-order":3,type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"}},created_at:{"x-order":4,description:"Timestamp when the resource was created.","x-go-type":"time.Time",type:"string",format:"date-time","x-go-name":"CreatedAt","x-oapi-codegen-extra-tags":{db:"created_at",yaml:"created_at"},"x-go-type-skip-optional-pointer":true},updated_at:{"x-order":5,description:"Timestamp when the resource was updated.","x-go-type":"time.Time",type:"string",format:"date-time","x-go-name":"UpdatedAt","x-oapi-codegen-extra-tags":{db:"updated_at",yaml:"updated_at"},"x-go-type-skip-optional-pointer":true},deleted_at:{"x-oapi-codegen-extra-tags":{db:"deleted_at"},"x-order":6,description:"SQL null Timestamp to handle null values of time.","x-go-type":"sql.NullTime",type:"string","x-go-type-skip-optional-pointer":true}}},KeychainPage:{type:"object",required:["page","page_size","total_count","keychains"],properties:{page:{"x-order":1,type:"integer","x-go-type-skip-optional-pointer":true},page_size:{"x-order":2,type:"integer","x-go-type-skip-optional-pointer":true},total_count:{"x-order":3,type:"integer","x-go-type-skip-optional-pointer":true},keychains:{type:"array",items:{"x-go-type":"Keychain",type:"object",description:"Represents a collection of keys.",required:["id","name","owner","created_at","updated_at"],properties:{id:{description:"Unique identifier for the keychain.","x-oapi-codegen-extra-tags":{db:"id"},"x-order":1,type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"}},name:{type:"string",description:"Name of the keychain.","x-oapi-codegen-extra-tags":{db:"name"},"x-order":2},owner:{description:"Owner of the keychain.","x-oapi-codegen-extra-tags":{db:"owner"},"x-order":3,type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"}},created_at:{"x-order":4,description:"Timestamp when the resource was created.","x-go-type":"time.Time",type:"string",format:"date-time","x-go-name":"CreatedAt","x-oapi-codegen-extra-tags":{db:"created_at",yaml:"created_at"},"x-go-type-skip-optional-pointer":true},updated_at:{"x-order":5,description:"Timestamp when the resource was updated.","x-go-type":"time.Time",type:"string",format:"date-time","x-go-name":"UpdatedAt","x-oapi-codegen-extra-tags":{db:"updated_at",yaml:"updated_at"},"x-go-type-skip-optional-pointer":true},deleted_at:{"x-oapi-codegen-extra-tags":{db:"deleted_at"},"x-order":6,description:"SQL null Timestamp to handle null values of time.","x-go-type":"sql.NullTime",type:"string","x-go-type-skip-optional-pointer":true}}},"x-order":4}}}}}},t=e;module.exports=t;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var e={openapi:"3.0.0",info:{title:"keychain",version:"1.0.0"},security:[{jwt:[]}],tags:[{name:"Keychain",description:"Operations related to keychains"}],paths:{"/api/auth/keychains":{get:{"x-internal":["cloud"],tags:["Keychain"],summary:"List keychains",operationId:"getKeychains",parameters:[{name:"page",in:"query",description:"Get responses by page",schema:{type:"string"}},{name:"pagesize",in:"query",description:"Get responses by pagesize",schema:{type:"string"}},{name:"search",in:"query",description:"Get responses that match search param value",schema:{type:"string"}},{name:"order",in:"query",description:"Get ordered responses",schema:{type:"string"}}],responses:{200:{description:"Keychain(s) fetched",content:{"application/json":{schema:{type:"object",required:["page","page_size","total_count","keychains"],properties:{page:{"x-order":1,type:"integer","x-go-type-skip-optional-pointer":true},page_size:{"x-order":2,type:"integer","x-go-type-skip-optional-pointer":true},total_count:{"x-order":3,type:"integer","x-go-type-skip-optional-pointer":true},keychains:{type:"array",items:{"x-go-type":"Keychain",type:"object",description:"Represents a collection of keys.",required:["id","name","owner","created_at","updated_at"],properties:{id:{description:"Unique identifier for the keychain.","x-oapi-codegen-extra-tags":{db:"id"},"x-order":1,type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"}},name:{type:"string",description:"Name of the keychain.","x-oapi-codegen-extra-tags":{db:"name"},"x-order":2},owner:{description:"Owner of the keychain.","x-oapi-codegen-extra-tags":{db:"owner"},"x-order":3,type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"}},created_at:{"x-order":4,description:"Timestamp when the resource was created.","x-go-type":"time.Time",type:"string",format:"date-time","x-go-name":"CreatedAt","x-oapi-codegen-extra-tags":{db:"created_at",yaml:"created_at"},"x-go-type-skip-optional-pointer":true},updated_at:{"x-order":5,description:"Timestamp when the resource was updated.","x-go-type":"time.Time",type:"string",format:"date-time","x-go-name":"UpdatedAt","x-oapi-codegen-extra-tags":{db:"updated_at",yaml:"updated_at"},"x-go-type-skip-optional-pointer":true},deleted_at:{"x-oapi-codegen-extra-tags":{db:"deleted_at"},"x-order":6,description:"SQL null Timestamp to handle null values of time.","x-go-type":"sql.NullTime",type:"string","x-go-type-skip-optional-pointer":true}}},"x-order":4}}}}}},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"}}}}}},post:{"x-internal":["cloud"],tags:["Keychain"],summary:"Create a keychain",operationId:"createKeychain",requestBody:{required:true,content:{"application/json":{schema:{type:"object",description:"Represents a collection of keys.",required:["id","name","owner","created_at","updated_at"],properties:{id:{description:"Unique identifier for the keychain.","x-oapi-codegen-extra-tags":{db:"id"},"x-order":1,type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"}},name:{type:"string",description:"Name of the keychain.","x-oapi-codegen-extra-tags":{db:"name"},"x-order":2},owner:{description:"Owner of the keychain.","x-oapi-codegen-extra-tags":{db:"owner"},"x-order":3,type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"}},created_at:{"x-order":4,description:"Timestamp when the resource was created.","x-go-type":"time.Time",type:"string",format:"date-time","x-go-name":"CreatedAt","x-oapi-codegen-extra-tags":{db:"created_at",yaml:"created_at"},"x-go-type-skip-optional-pointer":true},updated_at:{"x-order":5,description:"Timestamp when the resource was updated.","x-go-type":"time.Time",type:"string",format:"date-time","x-go-name":"UpdatedAt","x-oapi-codegen-extra-tags":{db:"updated_at",yaml:"updated_at"},"x-go-type-skip-optional-pointer":true},deleted_at:{"x-oapi-codegen-extra-tags":{db:"deleted_at"},"x-order":6,description:"SQL null Timestamp to handle null values of time.","x-go-type":"sql.NullTime",type:"string","x-go-type-skip-optional-pointer":true}}}}}},responses:{200:{description:"Keychain created",content:{"application/json":{schema:{type:"object",description:"Represents a collection of keys.",required:["id","name","owner","created_at","updated_at"],properties:{id:{description:"Unique identifier for the keychain.","x-oapi-codegen-extra-tags":{db:"id"},"x-order":1,type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"}},name:{type:"string",description:"Name of the keychain.","x-oapi-codegen-extra-tags":{db:"name"},"x-order":2},owner:{description:"Owner of the keychain.","x-oapi-codegen-extra-tags":{db:"owner"},"x-order":3,type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"}},created_at:{"x-order":4,description:"Timestamp when the resource was created.","x-go-type":"time.Time",type:"string",format:"date-time","x-go-name":"CreatedAt","x-oapi-codegen-extra-tags":{db:"created_at",yaml:"created_at"},"x-go-type-skip-optional-pointer":true},updated_at:{"x-order":5,description:"Timestamp when the resource was updated.","x-go-type":"time.Time",type:"string",format:"date-time","x-go-name":"UpdatedAt","x-oapi-codegen-extra-tags":{db:"updated_at",yaml:"updated_at"},"x-go-type-skip-optional-pointer":true},deleted_at:{"x-oapi-codegen-extra-tags":{db:"deleted_at"},"x-order":6,description:"SQL null Timestamp to handle null values of time.","x-go-type":"sql.NullTime",type:"string","x-go-type-skip-optional-pointer":true}}}}}},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/auth/keychains/{keychainId}":{get:{"x-internal":["cloud"],tags:["Keychain"],summary:"Get keychain by ID",operationId:"getKeychainById",parameters:[{name:"keychainId",in:"path",description:"Keychain ID",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:"Keychain fetched",content:{"application/json":{schema:{type:"object",description:"Represents a collection of keys.",required:["id","name","owner","created_at","updated_at"],properties:{id:{description:"Unique identifier for the keychain.","x-oapi-codegen-extra-tags":{db:"id"},"x-order":1,type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"}},name:{type:"string",description:"Name of the keychain.","x-oapi-codegen-extra-tags":{db:"name"},"x-order":2},owner:{description:"Owner of the keychain.","x-oapi-codegen-extra-tags":{db:"owner"},"x-order":3,type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"}},created_at:{"x-order":4,description:"Timestamp when the resource was created.","x-go-type":"time.Time",type:"string",format:"date-time","x-go-name":"CreatedAt","x-oapi-codegen-extra-tags":{db:"created_at",yaml:"created_at"},"x-go-type-skip-optional-pointer":true},updated_at:{"x-order":5,description:"Timestamp when the resource was updated.","x-go-type":"time.Time",type:"string",format:"date-time","x-go-name":"UpdatedAt","x-oapi-codegen-extra-tags":{db:"updated_at",yaml:"updated_at"},"x-go-type-skip-optional-pointer":true},deleted_at:{"x-oapi-codegen-extra-tags":{db:"deleted_at"},"x-order":6,description:"SQL null Timestamp to handle null values of time.","x-go-type":"sql.NullTime",type:"string","x-go-type-skip-optional-pointer":true}}}}}},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"}}}}}},put:{"x-internal":["cloud"],tags:["Keychain"],summary:"Update keychain",operationId:"updateKeychain",parameters:[{name:"keychainId",in:"path",description:"Keychain ID",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"}}}],requestBody:{required:true,content:{"application/json":{schema:{type:"object",description:"Represents a collection of keys.",required:["id","name","owner","created_at","updated_at"],properties:{id:{description:"Unique identifier for the keychain.","x-oapi-codegen-extra-tags":{db:"id"},"x-order":1,type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"}},name:{type:"string",description:"Name of the keychain.","x-oapi-codegen-extra-tags":{db:"name"},"x-order":2},owner:{description:"Owner of the keychain.","x-oapi-codegen-extra-tags":{db:"owner"},"x-order":3,type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"}},created_at:{"x-order":4,description:"Timestamp when the resource was created.","x-go-type":"time.Time",type:"string",format:"date-time","x-go-name":"CreatedAt","x-oapi-codegen-extra-tags":{db:"created_at",yaml:"created_at"},"x-go-type-skip-optional-pointer":true},updated_at:{"x-order":5,description:"Timestamp when the resource was updated.","x-go-type":"time.Time",type:"string",format:"date-time","x-go-name":"UpdatedAt","x-oapi-codegen-extra-tags":{db:"updated_at",yaml:"updated_at"},"x-go-type-skip-optional-pointer":true},deleted_at:{"x-oapi-codegen-extra-tags":{db:"deleted_at"},"x-order":6,description:"SQL null Timestamp to handle null values of time.","x-go-type":"sql.NullTime",type:"string","x-go-type-skip-optional-pointer":true}}}}}},responses:{200:{description:"Keychain updated",content:{"application/json":{schema:{type:"object",description:"Represents a collection of keys.",required:["id","name","owner","created_at","updated_at"],properties:{id:{description:"Unique identifier for the keychain.","x-oapi-codegen-extra-tags":{db:"id"},"x-order":1,type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"}},name:{type:"string",description:"Name of the keychain.","x-oapi-codegen-extra-tags":{db:"name"},"x-order":2},owner:{description:"Owner of the keychain.","x-oapi-codegen-extra-tags":{db:"owner"},"x-order":3,type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"}},created_at:{"x-order":4,description:"Timestamp when the resource was created.","x-go-type":"time.Time",type:"string",format:"date-time","x-go-name":"CreatedAt","x-oapi-codegen-extra-tags":{db:"created_at",yaml:"created_at"},"x-go-type-skip-optional-pointer":true},updated_at:{"x-order":5,description:"Timestamp when the resource was updated.","x-go-type":"time.Time",type:"string",format:"date-time","x-go-name":"UpdatedAt","x-oapi-codegen-extra-tags":{db:"updated_at",yaml:"updated_at"},"x-go-type-skip-optional-pointer":true},deleted_at:{"x-oapi-codegen-extra-tags":{db:"deleted_at"},"x-order":6,description:"SQL null Timestamp to handle null values of time.","x-go-type":"sql.NullTime",type:"string","x-go-type-skip-optional-pointer":true}}}}}},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"}}}}}},delete:{"x-internal":["cloud"],tags:["Keychain"],summary:"Delete keychain",operationId:"deleteKeychain",parameters:[{name:"keychainId",in:"path",description:"Keychain ID",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:{204:{description:"Keychain deleted"},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"}}}}}}},"/api/auth/keychains/{keychainId}/{keyId}":{post:{"x-internal":["cloud"],tags:["Keychain"],summary:"Add key to keychain",operationId:"addKeyToKeychain",parameters:[{name:"keychainId",in:"path",description:"Keychain ID",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"}}},{name:"keyId",in:"path",description:"Key ID",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:{204:{description:"Key added to keychain"},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"}}}}}},delete:{"x-internal":["cloud"],tags:["Keychain"],summary:"Remove key from keychain",operationId:"removeKeyFromKeychain",parameters:[{name:"keychainId",in:"path",description:"Keychain ID",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"}}},{name:"keyId",in:"path",description:"Key ID",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:{204:{description:"Key removed from keychain"},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"}}}}}}},"/api/auth/keychains/{keychainId}/keys":{get:{"x-internal":["cloud"],tags:["Keychain"],summary:"List keys in a keychain",operationId:"getKeysOfKeychain",parameters:[{name:"keychainId",in:"path",description:"Keychain ID",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"}}},{name:"page",in:"query",description:"Get responses by page",schema:{type:"string"}},{name:"pagesize",in:"query",description:"Get responses by pagesize",schema:{type:"string"}},{name:"search",in:"query",description:"Get responses that match search param value",schema:{type:"string"}},{name:"order",in:"query",description:"Get ordered responses",schema:{type:"string"}}],responses:{200:{description:"Keys fetched successfully",content:{"application/json":{schema:{type:"object",required:["page","page_size","total_count","keys"],properties:{page:{"x-order":1,type:"integer","x-go-type-skip-optional-pointer":true},page_size:{"x-order":2,type:"integer","x-go-type-skip-optional-pointer":true},total_count:{"x-order":3,type:"integer","x-go-type-skip-optional-pointer":true},keys:{type:"array",items:{"x-go-type":"Key",type:"object",description:"Represents an authorization key used for access control.",required:["id","owner","function","category","subcategory","description","created_at","updated_at"],properties:{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"},"x-go-name":"ID","x-oapi-codegen-extra-tags":{db:"id"},"x-order":1},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"},"x-go-name":"Owner","x-oapi-codegen-extra-tags":{db:"owner"},"x-order":2},function:{type:"string",description:"Operation permitted by the key.","x-oapi-codegen-extra-tags":{db:"function"},"x-order":3},category:{type:"string",description:"Category for the key.","x-oapi-codegen-extra-tags":{db:"category"},"x-order":4},subcategory:{type:"string",description:"Subcategory for the key.","x-oapi-codegen-extra-tags":{db:"subcategory"},"x-order":5},description:{type:"string",description:"Human readable description of the key.","x-oapi-codegen-extra-tags":{db:"description"},"x-order":6},created_at:{"x-order":7,description:"Timestamp when the resource was created.","x-go-type":"time.Time",type:"string",format:"date-time","x-go-name":"CreatedAt","x-oapi-codegen-extra-tags":{db:"created_at",yaml:"created_at"},"x-go-type-skip-optional-pointer":true},updated_at:{"x-order":8,description:"Timestamp when the resource was updated.","x-go-type":"time.Time",type:"string",format:"date-time","x-go-name":"UpdatedAt","x-oapi-codegen-extra-tags":{db:"updated_at",yaml:"updated_at"},"x-go-type-skip-optional-pointer":true},deleted_at:{"x-oapi-codegen-extra-tags":{db:"deleted_at"},"x-order":9,description:"SQL null Timestamp to handle null values of time.","x-go-type":"sql.NullTime",type:"string","x-go-type-skip-optional-pointer":true}}},"x-order":4}}}}}},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:{responses:{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"}}}}},parameters:{keyId:{name:"keyId",in:"path",description:"Key ID",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"}}},keychainId:{name:"keychainId",in:"path",description:"Keychain ID",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"}}},page:{name:"page",in:"query",description:"Get responses by page",schema:{type:"string"}},pagesize:{name:"pagesize",in:"query",description:"Get responses by pagesize",schema:{type:"string"}},order:{name:"order",in:"query",description:"Get ordered responses",schema:{type:"string"}},search:{name:"search",in:"query",description:"Get responses that match search param value",schema:{type:"string"}}},securitySchemes:{jwt:{type:"http",scheme:"bearer",bearerFormat:"JWT"}},schemas:{Keychain:{type:"object",description:"Represents a collection of keys.",required:["id","name","owner","created_at","updated_at"],properties:{id:{description:"Unique identifier for the keychain.","x-oapi-codegen-extra-tags":{db:"id"},"x-order":1,type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"}},name:{type:"string",description:"Name of the keychain.","x-oapi-codegen-extra-tags":{db:"name"},"x-order":2},owner:{description:"Owner of the keychain.","x-oapi-codegen-extra-tags":{db:"owner"},"x-order":3,type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"}},created_at:{"x-order":4,description:"Timestamp when the resource was created.","x-go-type":"time.Time",type:"string",format:"date-time","x-go-name":"CreatedAt","x-oapi-codegen-extra-tags":{db:"created_at",yaml:"created_at"},"x-go-type-skip-optional-pointer":true},updated_at:{"x-order":5,description:"Timestamp when the resource was updated.","x-go-type":"time.Time",type:"string",format:"date-time","x-go-name":"UpdatedAt","x-oapi-codegen-extra-tags":{db:"updated_at",yaml:"updated_at"},"x-go-type-skip-optional-pointer":true},deleted_at:{"x-oapi-codegen-extra-tags":{db:"deleted_at"},"x-order":6,description:"SQL null Timestamp to handle null values of time.","x-go-type":"sql.NullTime",type:"string","x-go-type-skip-optional-pointer":true}}},KeychainPage:{type:"object",required:["page","page_size","total_count","keychains"],properties:{page:{"x-order":1,type:"integer","x-go-type-skip-optional-pointer":true},page_size:{"x-order":2,type:"integer","x-go-type-skip-optional-pointer":true},total_count:{"x-order":3,type:"integer","x-go-type-skip-optional-pointer":true},keychains:{type:"array",items:{"x-go-type":"Keychain",type:"object",description:"Represents a collection of keys.",required:["id","name","owner","created_at","updated_at"],properties:{id:{description:"Unique identifier for the keychain.","x-oapi-codegen-extra-tags":{db:"id"},"x-order":1,type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"}},name:{type:"string",description:"Name of the keychain.","x-oapi-codegen-extra-tags":{db:"name"},"x-order":2},owner:{description:"Owner of the keychain.","x-oapi-codegen-extra-tags":{db:"owner"},"x-order":3,type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"}},created_at:{"x-order":4,description:"Timestamp when the resource was created.","x-go-type":"time.Time",type:"string",format:"date-time","x-go-name":"CreatedAt","x-oapi-codegen-extra-tags":{db:"created_at",yaml:"created_at"},"x-go-type-skip-optional-pointer":true},updated_at:{"x-order":5,description:"Timestamp when the resource was updated.","x-go-type":"time.Time",type:"string",format:"date-time","x-go-name":"UpdatedAt","x-oapi-codegen-extra-tags":{db:"updated_at",yaml:"updated_at"},"x-go-type-skip-optional-pointer":true},deleted_at:{"x-oapi-codegen-extra-tags":{db:"deleted_at"},"x-order":6,description:"SQL null Timestamp to handle null values of time.","x-go-type":"sql.NullTime",type:"string","x-go-type-skip-optional-pointer":true}}},"x-order":4}}}}}},t=e;export{t as default};
|
|
@@ -0,0 +1,474 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by openapi-typescript.
|
|
3
|
+
* Do not make direct changes to the file.
|
|
4
|
+
*/
|
|
5
|
+
interface paths {
|
|
6
|
+
"/api/meshmodels/register": {
|
|
7
|
+
post: operations["RegisterMeshmodels"];
|
|
8
|
+
};
|
|
9
|
+
}
|
|
10
|
+
interface components {
|
|
11
|
+
schemas: {
|
|
12
|
+
/** @description Registrant-defined data associated with the model. Properties pertain to the software being managed (e.g. Kubernetes v1.31). */
|
|
13
|
+
Model: {
|
|
14
|
+
/** @description Version of the model as defined by the registrant. */
|
|
15
|
+
version: string;
|
|
16
|
+
};
|
|
17
|
+
/** @description Meshery Models serve as a portable unit of packaging to define managed entities, their relationships, and capabilities. */
|
|
18
|
+
ModelDefinition: {
|
|
19
|
+
/**
|
|
20
|
+
* Format: uuid
|
|
21
|
+
* @description Uniquely identifies the entity (i.e. component) as defined in a declaration (i.e. design).
|
|
22
|
+
*/
|
|
23
|
+
id: string;
|
|
24
|
+
/**
|
|
25
|
+
* @description Specifies the version of the schema used for the definition.
|
|
26
|
+
* @default models.meshery.io/v1beta1
|
|
27
|
+
* @example [
|
|
28
|
+
* "v1",
|
|
29
|
+
* "v1alpha1",
|
|
30
|
+
* "v2beta3",
|
|
31
|
+
* "v1.custom-suffix"
|
|
32
|
+
* ]
|
|
33
|
+
*/
|
|
34
|
+
schemaVersion: string;
|
|
35
|
+
/** @description A valid semantic version string between 5 and 256 characters. The pattern allows for a major.minor.patch version followed by an optional pre-release tag like '-alpha' or '-beta.2' and an optional build metadata tag like '+build.1. */
|
|
36
|
+
version: string;
|
|
37
|
+
/**
|
|
38
|
+
* @description The unique name for the model within the scope of a registrant.
|
|
39
|
+
* @default untitled-model
|
|
40
|
+
*/
|
|
41
|
+
name: string;
|
|
42
|
+
/**
|
|
43
|
+
* @description Human-readable name for the model.
|
|
44
|
+
* @default Untitled Model
|
|
45
|
+
*/
|
|
46
|
+
displayName: string;
|
|
47
|
+
/**
|
|
48
|
+
* @description Description of the model.
|
|
49
|
+
* @default A new Meshery model.
|
|
50
|
+
*/
|
|
51
|
+
description: string;
|
|
52
|
+
/**
|
|
53
|
+
* @description Status of model, including:
|
|
54
|
+
* - duplicate: this component is a duplicate of another. The component that is to be the canonical reference and that is duplicated by other components should not be assigned the 'duplicate' status.
|
|
55
|
+
* - maintenance: model is unavailable for a period of time.
|
|
56
|
+
* - enabled: model is available for use for all users of this Meshery Server.
|
|
57
|
+
* - ignored: model is unavailable for use for all users of this Meshery Server.
|
|
58
|
+
* @default enabled
|
|
59
|
+
* @enum {string}
|
|
60
|
+
*/
|
|
61
|
+
status: "ignored" | "enabled" | "duplicate";
|
|
62
|
+
/** @description Meshery Connections are managed and unmanaged resources that either through discovery or manual entry are tracked by Meshery. Learn more at https://docs.meshery.io/concepts/logical/connections */
|
|
63
|
+
registrant: {
|
|
64
|
+
/**
|
|
65
|
+
* Format: uuid
|
|
66
|
+
* @description ID
|
|
67
|
+
*/
|
|
68
|
+
id: string;
|
|
69
|
+
/** @description Connection Name */
|
|
70
|
+
name: string;
|
|
71
|
+
/**
|
|
72
|
+
* Format: uuid
|
|
73
|
+
* @description Credential ID
|
|
74
|
+
*/
|
|
75
|
+
credential_id?: string;
|
|
76
|
+
/** @description Connection Type */
|
|
77
|
+
type: string;
|
|
78
|
+
/** @description Connection Subtype */
|
|
79
|
+
sub_type: string;
|
|
80
|
+
/** @description Connection Kind */
|
|
81
|
+
kind: string;
|
|
82
|
+
metadata?: {
|
|
83
|
+
[key: string]: unknown;
|
|
84
|
+
};
|
|
85
|
+
/**
|
|
86
|
+
* @description Connection Status
|
|
87
|
+
* @enum {string}
|
|
88
|
+
*/
|
|
89
|
+
status: "discovered" | "registered" | "connected" | "ignored" | "maintenance" | "disconnected" | "deleted" | "not found";
|
|
90
|
+
/**
|
|
91
|
+
* Format: uuid
|
|
92
|
+
* @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
|
|
93
|
+
*/
|
|
94
|
+
user_id?: string;
|
|
95
|
+
/** Format: date-time */
|
|
96
|
+
created_at?: string;
|
|
97
|
+
/** Format: date-time */
|
|
98
|
+
updated_at?: string;
|
|
99
|
+
/** Format: date-time */
|
|
100
|
+
deleted_at?: string;
|
|
101
|
+
environments?: {
|
|
102
|
+
/**
|
|
103
|
+
* Format: uuid
|
|
104
|
+
* @description ID
|
|
105
|
+
*/
|
|
106
|
+
id: string;
|
|
107
|
+
/** @description Environment name */
|
|
108
|
+
name: string;
|
|
109
|
+
/** @description Environment description */
|
|
110
|
+
description: string;
|
|
111
|
+
/**
|
|
112
|
+
* Format: uuid
|
|
113
|
+
* @description Environment organization ID
|
|
114
|
+
*/
|
|
115
|
+
organization_id: string;
|
|
116
|
+
/**
|
|
117
|
+
* Format: uuid
|
|
118
|
+
* @description Environment owner
|
|
119
|
+
*/
|
|
120
|
+
owner?: string;
|
|
121
|
+
/** Format: date-time */
|
|
122
|
+
created_at?: string;
|
|
123
|
+
metadata?: {
|
|
124
|
+
[key: string]: unknown;
|
|
125
|
+
};
|
|
126
|
+
/** Format: date-time */
|
|
127
|
+
updated_at?: string;
|
|
128
|
+
/** Format: date-time */
|
|
129
|
+
deleted_at?: string;
|
|
130
|
+
}[];
|
|
131
|
+
/**
|
|
132
|
+
* @description Specifies the version of the schema used for the definition.
|
|
133
|
+
* @default connections.meshery.io/v1beta1
|
|
134
|
+
* @example [
|
|
135
|
+
* "v1",
|
|
136
|
+
* "v1alpha1",
|
|
137
|
+
* "v2beta3",
|
|
138
|
+
* "v1.custom-suffix"
|
|
139
|
+
* ]
|
|
140
|
+
*/
|
|
141
|
+
schemaVersion: string;
|
|
142
|
+
};
|
|
143
|
+
/**
|
|
144
|
+
* Format: uuid
|
|
145
|
+
* @description ID of the registrant.
|
|
146
|
+
*/
|
|
147
|
+
registrantId: string;
|
|
148
|
+
/**
|
|
149
|
+
* Format: uuid
|
|
150
|
+
* @description ID of the category.
|
|
151
|
+
*/
|
|
152
|
+
categoryId: string;
|
|
153
|
+
/** @description Category of the model. */
|
|
154
|
+
category: {
|
|
155
|
+
/**
|
|
156
|
+
* Format: uuid
|
|
157
|
+
* @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
|
|
158
|
+
*/
|
|
159
|
+
id: string;
|
|
160
|
+
/**
|
|
161
|
+
* @description The category of the model that determines the main grouping.
|
|
162
|
+
* @default Uncategorized
|
|
163
|
+
* @enum {string}
|
|
164
|
+
*/
|
|
165
|
+
name: "Analytics" | "App Definition and Development" | "Cloud Native Network" | "Cloud Native Storage" | "Database" | "Machine Learning" | "Observability and Analysis" | "Orchestration & Management" | "Platform" | "Provisioning" | "Runtime" | "Security & Compliance" | "Serverless" | "Tools" | "Uncategorized";
|
|
166
|
+
metadata: {
|
|
167
|
+
[key: string]: unknown;
|
|
168
|
+
};
|
|
169
|
+
};
|
|
170
|
+
/**
|
|
171
|
+
* SubCategory
|
|
172
|
+
* @description Sub category of the model determines the secondary grouping.
|
|
173
|
+
* @default Uncategorized
|
|
174
|
+
* @enum {string}
|
|
175
|
+
*/
|
|
176
|
+
subCategory: "API Gateway" | "API Integration" | "Application Definition & Image Build" | "Automation & Configuration" | "Certified Kubernetes - Distribution" | "Chaos Engineering" | "Cloud Native Storage" | "Cloud Provider" | "CNI" | "Compute" | "Container Registry" | "Container Runtime" | "Container Security" | "Container" | "Content Delivery Network" | "Continuous Integration & Delivery" | "Coordination & Service Discovery" | "Database" | "Flowchart" | "Framework" | "Installable Platform" | "Key Management" | "Key Management Service" | "Kubernetes" | "Logging" | "Machine Learning" | "Management Governance" | "Metrics" | "Monitoring" | "Networking Content Delivery" | "Operating System" | "Query" | "Remote Procedure Call" | "Scheduling & Orchestration" | "Secrets Management" | "Security Identity & Compliance" | "Service Mesh" | "Service Proxy" | "Source Version Control" | "Storage" | "Specifications" | "Streaming & Messaging" | "Tools" | "Tracing" | "Uncategorized" | "Video Conferencing";
|
|
177
|
+
/** @description Metadata containing additional information associated with the model. */
|
|
178
|
+
metadata?: {
|
|
179
|
+
/** @description Capabilities associated with the model */
|
|
180
|
+
capabilities?: {
|
|
181
|
+
/**
|
|
182
|
+
* @description Specifies the version of the schema to which the capability definition conforms.
|
|
183
|
+
* @example [
|
|
184
|
+
* "v1",
|
|
185
|
+
* "v1alpha1",
|
|
186
|
+
* "v2beta3",
|
|
187
|
+
* "v1.custom-suffix"
|
|
188
|
+
* ]
|
|
189
|
+
*/
|
|
190
|
+
schemaVersion: string;
|
|
191
|
+
/** @description A valid semantic version string between 5 and 256 characters. The pattern allows for a major.minor.patch version followed by an optional pre-release tag like '-alpha' or '-beta.2' and an optional build metadata tag like '+build.1. */
|
|
192
|
+
version: string;
|
|
193
|
+
/** @description Name of the capability in human-readible format. */
|
|
194
|
+
displayName: string;
|
|
195
|
+
/** @description A written representation of the purpose and characteristics of the capability. */
|
|
196
|
+
description: string;
|
|
197
|
+
/** @description Top-level categorization of the capability */
|
|
198
|
+
kind: string;
|
|
199
|
+
/** @description Classification of capabilities. Used to group capabilities similar in nature. */
|
|
200
|
+
type: string;
|
|
201
|
+
/** @description Most granular unit of capability classification. The combination of Kind, Type and SubType together uniquely identify a Capability. */
|
|
202
|
+
subType: string;
|
|
203
|
+
/** @description Key that backs the capability. */
|
|
204
|
+
key: string;
|
|
205
|
+
/** @description State of the entity in which the capability is applicable. */
|
|
206
|
+
entityState: ("declaration" | "instance")[];
|
|
207
|
+
/**
|
|
208
|
+
* @description Status of the capability
|
|
209
|
+
* @default enabled
|
|
210
|
+
* @enum {string}
|
|
211
|
+
*/
|
|
212
|
+
status: "enabled" | "disabled";
|
|
213
|
+
/** @description Metadata contains additional information associated with the capability. Extension point. */
|
|
214
|
+
metadata?: {
|
|
215
|
+
[key: string]: unknown;
|
|
216
|
+
};
|
|
217
|
+
}[];
|
|
218
|
+
/**
|
|
219
|
+
* @description Indicates whether the model and its entities should be treated as deployable entities or as logical representations.
|
|
220
|
+
* @default false
|
|
221
|
+
*/
|
|
222
|
+
isAnnotation?: boolean;
|
|
223
|
+
/**
|
|
224
|
+
* @description Primary color associated with the model.
|
|
225
|
+
* @default #00b39f
|
|
226
|
+
*/
|
|
227
|
+
primaryColor?: string;
|
|
228
|
+
/**
|
|
229
|
+
* @description Secondary color associated with the model.
|
|
230
|
+
* @default #00D3A9
|
|
231
|
+
*/
|
|
232
|
+
secondaryColor?: string;
|
|
233
|
+
/**
|
|
234
|
+
* @description SVG representation of the model in white color.
|
|
235
|
+
* @default <svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M16.405 8.732v6.57l5.694-3.297-5.694-3.273Zm0 7.942v6.602l5.747-3.285-5.747-3.317Z" fill="#fff"/><path d="M15.586 15.256v-6.47l-5.622 3.225 5.622 3.245ZM4.307 23.252a13.809 13.809 0 0 0 4.362 4.39v-6.914l-4.362 2.524Zm11.279-.008v-6.52L9.95 19.985l5.636 3.258Z" fill="#fff" fill-opacity=".8"/><path d="m9.49 27.23 5.707-3.263-5.707-3.3v6.563Z" fill="#fff"/><path d="M22.54 27.265v-6.553l-5.699 3.259 5.7 3.294Zm5.58-4.773a13.697 13.697 0 0 0 1.612-5.895l-5.934 3.397 4.323 2.498Z" fill="#fff" fill-opacity=".8"/><path d="m23.362 19.298 5.728-3.276-5.728-3.291v6.567Z" fill="#fff"/><path d="M22.541 11.315V4.8l-5.673 3.253 5.673 3.262Zm0 7.955v-6.574l-5.685 3.292 5.685 3.281Z" fill="#fff" fill-opacity=".8"/><path d="M9.49 12.684v6.622l5.728-3.316-5.728-3.306Z" fill="#fff"/><path d="M15.586 2.25a13.69 13.69 0 0 0-6.037 1.595l6.037 3.463V2.25Z" fill="#fff" fill-opacity=".8"/><path d="M9.49 4.756v6.583l5.732-3.288L9.49 4.756Z" fill="#fff"/><path d="M8.669 4.356a13.83 13.83 0 0 0-4.362 4.39l4.362 2.518V4.356Z" fill="#fff" fill-opacity=".8"/><path d="M22.504 3.88a13.695 13.695 0 0 0-6.099-1.63v5.123l6.1-3.493ZM2.25 16.483c.071 2.12.634 4.196 1.644 6.062l4.418-2.559-6.062-3.503Zm1.644-7.028a13.68 13.68 0 0 0-1.644 6.036l6.068-3.482-4.424-2.554Z" fill="#fff"/><path d="M9.539 28.147a13.673 13.673 0 0 0 6.047 1.603v-5.062L9.54 28.147Z" fill="#fff" fill-opacity=".8"/><path d="M27.697 8.768a13.83 13.83 0 0 0-4.335-4.383v6.889l4.335-2.506ZM23.362 27.62a13.851 13.851 0 0 0 4.351-4.417l-4.351-2.514v6.93Z" fill="#fff"/><path d="M29.75 15.452a13.659 13.659 0 0 0-1.63-5.979l-4.381 2.53 6.011 3.45Z" fill="#fff" fill-opacity=".8"/><path d="M16.405 29.75a13.673 13.673 0 0 0 6.036-1.595l-6.036-3.498v5.093Z" fill="#fff"/><path d="M8.669 19.247v-6.494L3.03 15.986l5.639 3.261Z" fill="#fff" fill-opacity=".8"/></svg>
|
|
236
|
+
*/
|
|
237
|
+
svgWhite: string;
|
|
238
|
+
/**
|
|
239
|
+
* @description SVG representation of the model in colored format.
|
|
240
|
+
* @default <svg xmlns="http://www.w3.org/2000/svg" id="Layer_1" data-name="Layer 1" viewBox="0 0 134.95 135.02"><defs><style>.cls-1{fill:#00d3a9}.cls-2{fill:#00b39f}</style></defs><title>meshery-logo-light</title><polygon points="69.49 31.82 69.49 64.07 97.44 47.89 69.49 31.82" class="cls-1"/><polygon points="69.49 70.81 69.49 103.22 97.7 87.09 69.49 70.81" class="cls-1"/><polygon points="65.47 63.85 65.47 32.09 37.87 47.92 65.47 63.85" class="cls-2"/><path d="M10.1,103.1a67.79,67.79,0,0,0,21.41,21.55V90.71Z" class="cls-2"/><polygon points="65.47 103.06 65.47 71.05 37.8 87.07 65.47 103.06" class="cls-2"/><polygon points="35.54 122.63 63.56 106.61 35.54 90.41 35.54 122.63" class="cls-1"/><polygon points="99.61 122.8 99.61 90.63 71.63 106.63 99.61 122.8" class="cls-2"/><path d="M127,99.37a67.22,67.22,0,0,0,7.91-28.94L105.78,87.11Z" class="cls-2"/><polygon points="103.64 83.69 131.76 67.61 103.64 51.45 103.64 83.69" class="cls-1"/><polygon points="99.61 44.5 99.61 12.52 71.76 28.49 99.61 44.5" class="cls-2"/><polygon points="99.61 83.55 99.61 51.28 71.7 67.44 99.61 83.55" class="cls-2"/><polygon points="67.48 135.02 67.49 135.02 67.48 135.02 67.48 135.02" class="cls-2"/><polygon points="35.54 51.22 35.54 83.73 63.66 67.45 35.54 51.22" class="cls-1"/><path d="M65.47,0A67.2,67.2,0,0,0,35.83,7.83l29.64,17Z" class="cls-2"/><polygon points="35.54 12.3 35.54 44.62 63.68 28.48 35.54 12.3" class="cls-1"/><path d="M31.51,10.34A67.89,67.89,0,0,0,10.1,31.89L31.51,44.25Z" class="cls-2"/><path d="M99.43,8A67.23,67.23,0,0,0,69.49,0V25.15Z" class="cls-1"/><path d="M0,69.87A67.27,67.27,0,0,0,8.07,99.63L29.76,87.07Z" class="cls-1"/><path d="M8.07,35.37A67.16,67.16,0,0,0,0,65L29.79,47.91Z" class="cls-1"/><path d="M35.78,127.13A67.13,67.13,0,0,0,65.47,135V110.15Z" class="cls-2"/><path d="M124.92,32a67.9,67.9,0,0,0-21.28-21.52V44.3Z" class="cls-1"/><path d="M103.64,124.54A68,68,0,0,0,125,102.86L103.64,90.52Z" class="cls-1"/><path d="M135,64.81a67.06,67.06,0,0,0-8-29.35L105.49,47.88Z" class="cls-2"/><path d="M69.49,135a67.12,67.12,0,0,0,29.63-7.83L69.49,110Z" class="cls-1"/><polygon points="31.51 83.44 31.51 51.56 3.83 67.43 31.51 83.44" class="cls-2"/></svg>
|
|
241
|
+
*/
|
|
242
|
+
svgColor: string;
|
|
243
|
+
/** @description SVG representation of the complete model. */
|
|
244
|
+
svgComplete?: string;
|
|
245
|
+
/**
|
|
246
|
+
* @description The shape of the node's body. Note that each shape fits within the specified width and height, and so you may have to adjust width and height if you desire an equilateral shape (i.e. width !== height for several equilateral shapes)
|
|
247
|
+
* @enum {string}
|
|
248
|
+
*/
|
|
249
|
+
shape?: "ellipse" | "triangle" | "round-triangle" | "rectangle" | "round-rectangle" | "bottom-round-rectangle" | "cut-rectangle" | "barrel" | "rhomboid" | "diamond" | "round-diamond" | "pentagon" | "round-pentagon" | "hexagon" | "round-hexagon" | "concave-hexagon" | "heptagon" | "round-heptagon" | "octagon" | "round-octagon" | "star" | "tag" | "round-tag" | "vee" | "polygon";
|
|
250
|
+
} & {
|
|
251
|
+
[key: string]: unknown;
|
|
252
|
+
};
|
|
253
|
+
/** @description Registrant-defined data associated with the model. Properties pertain to the software being managed (e.g. Kubernetes v1.31). */
|
|
254
|
+
model: {
|
|
255
|
+
/** @description Version of the model as defined by the registrant. */
|
|
256
|
+
version: string;
|
|
257
|
+
};
|
|
258
|
+
relationships: unknown[];
|
|
259
|
+
components: unknown[];
|
|
260
|
+
/**
|
|
261
|
+
* @description Number of components associated with the model.
|
|
262
|
+
* @default 0
|
|
263
|
+
*/
|
|
264
|
+
componentsCount: number;
|
|
265
|
+
/**
|
|
266
|
+
* @description Number of relationships associated with the model.
|
|
267
|
+
* @default 0
|
|
268
|
+
*/
|
|
269
|
+
relationshipsCount: number;
|
|
270
|
+
/**
|
|
271
|
+
* Format: date-time
|
|
272
|
+
* @description Timestamp when the resource was created.
|
|
273
|
+
*/
|
|
274
|
+
created_at?: string;
|
|
275
|
+
/**
|
|
276
|
+
* Format: date-time
|
|
277
|
+
* @description Timestamp when the resource was updated.
|
|
278
|
+
*/
|
|
279
|
+
updated_at?: string;
|
|
280
|
+
};
|
|
281
|
+
RegistrantReference: {
|
|
282
|
+
kind: string;
|
|
283
|
+
};
|
|
284
|
+
/** @description Reference to the specific registered model to which the component belongs and from which model version, category, and other properties may be referenced. Learn more at https://docs.meshery.io/concepts/models */
|
|
285
|
+
ModelReference: {
|
|
286
|
+
/**
|
|
287
|
+
* Format: uuid
|
|
288
|
+
* @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
|
|
289
|
+
*/
|
|
290
|
+
id: string;
|
|
291
|
+
/**
|
|
292
|
+
* @description The unique name for the model within the scope of a registrant.
|
|
293
|
+
* @default untitled-model
|
|
294
|
+
*/
|
|
295
|
+
name: string;
|
|
296
|
+
/** @description A valid semantic version string between 5 and 256 characters. The pattern allows for a major.minor.patch version followed by an optional pre-release tag like '-alpha' or '-beta.2' and an optional build metadata tag like '+build.1. */
|
|
297
|
+
version: string;
|
|
298
|
+
/**
|
|
299
|
+
* @description Human-readable name for the model.
|
|
300
|
+
* @default Untitled Model
|
|
301
|
+
*/
|
|
302
|
+
displayName: string;
|
|
303
|
+
/** @description Registrant-defined data associated with the model. Properties pertain to the software being managed (e.g. Kubernetes v1.31). */
|
|
304
|
+
model: {
|
|
305
|
+
/** @description Version of the model as defined by the registrant. */
|
|
306
|
+
version: string;
|
|
307
|
+
};
|
|
308
|
+
registrant: {
|
|
309
|
+
kind: string;
|
|
310
|
+
};
|
|
311
|
+
};
|
|
312
|
+
ImportRequest: {
|
|
313
|
+
importBody: {
|
|
314
|
+
/** @description Name of the file being uploaded. */
|
|
315
|
+
fileName: string;
|
|
316
|
+
/**
|
|
317
|
+
* Format: file
|
|
318
|
+
* @description Supported model file formats are: .tar, .tar.gz, and .tgz. See [Import Models Documentation](https://docs.meshery.io/guides/configuration-management/importing-models#import-models-using-meshery-ui) for details
|
|
319
|
+
*/
|
|
320
|
+
modelFile: string;
|
|
321
|
+
} | {
|
|
322
|
+
/**
|
|
323
|
+
* Format: uri
|
|
324
|
+
* @description A direct URL to a single model file, for example: https://raw.github.com/your-model-file.tar. Supported model file formats are: .tar, .tar.gz, and .tgz. \n\nFor bulk import of your model use the GitHub connection or CSV files. See [Import Models Documentation](https://docs.meshery.io/guides/configuration-management/importing-models#import-models-using-meshery-ui) for details
|
|
325
|
+
*/
|
|
326
|
+
url: string;
|
|
327
|
+
} | {
|
|
328
|
+
/**
|
|
329
|
+
* Format: binary
|
|
330
|
+
* @description Upload a CSV file containing model definitions
|
|
331
|
+
*/
|
|
332
|
+
modelCsv: string;
|
|
333
|
+
/**
|
|
334
|
+
* Format: binary
|
|
335
|
+
* @description Upload a CSV file containing component definitions
|
|
336
|
+
*/
|
|
337
|
+
componentCsv: string;
|
|
338
|
+
/**
|
|
339
|
+
* Format: binary
|
|
340
|
+
* @description Upload a CSV file containing relationship definitions
|
|
341
|
+
*/
|
|
342
|
+
relationshipCsv: string;
|
|
343
|
+
} | ({
|
|
344
|
+
/**
|
|
345
|
+
* Format: uri
|
|
346
|
+
* @description URI to the source code or package of the model.
|
|
347
|
+
*/
|
|
348
|
+
url: string;
|
|
349
|
+
} & {
|
|
350
|
+
model: unknown;
|
|
351
|
+
});
|
|
352
|
+
/**
|
|
353
|
+
* Upload method
|
|
354
|
+
* @description Choose the method you prefer to upload your model file. Select 'File Import' or 'CSV Import' if you have the file on your local system or 'URL Import' if you have the file hosted online.
|
|
355
|
+
* @enum {string}
|
|
356
|
+
*/
|
|
357
|
+
uploadType: "file" | "urlImport" | "csv" | "url";
|
|
358
|
+
register: boolean;
|
|
359
|
+
};
|
|
360
|
+
ImportBody: {
|
|
361
|
+
/** @description Name of the file being uploaded. */
|
|
362
|
+
fileName: string;
|
|
363
|
+
/**
|
|
364
|
+
* Format: file
|
|
365
|
+
* @description Supported model file formats are: .tar, .tar.gz, and .tgz. See [Import Models Documentation](https://docs.meshery.io/guides/configuration-management/importing-models#import-models-using-meshery-ui) for details
|
|
366
|
+
*/
|
|
367
|
+
modelFile: string;
|
|
368
|
+
} | {
|
|
369
|
+
/**
|
|
370
|
+
* Format: uri
|
|
371
|
+
* @description A direct URL to a single model file, for example: https://raw.github.com/your-model-file.tar. Supported model file formats are: .tar, .tar.gz, and .tgz. \n\nFor bulk import of your model use the GitHub connection or CSV files. See [Import Models Documentation](https://docs.meshery.io/guides/configuration-management/importing-models#import-models-using-meshery-ui) for details
|
|
372
|
+
*/
|
|
373
|
+
url: string;
|
|
374
|
+
} | {
|
|
375
|
+
/**
|
|
376
|
+
* Format: binary
|
|
377
|
+
* @description Upload a CSV file containing model definitions
|
|
378
|
+
*/
|
|
379
|
+
modelCsv: string;
|
|
380
|
+
/**
|
|
381
|
+
* Format: binary
|
|
382
|
+
* @description Upload a CSV file containing component definitions
|
|
383
|
+
*/
|
|
384
|
+
componentCsv: string;
|
|
385
|
+
/**
|
|
386
|
+
* Format: binary
|
|
387
|
+
* @description Upload a CSV file containing relationship definitions
|
|
388
|
+
*/
|
|
389
|
+
relationshipCsv: string;
|
|
390
|
+
} | ({
|
|
391
|
+
/**
|
|
392
|
+
* Format: uri
|
|
393
|
+
* @description URI to the source code or package of the model.
|
|
394
|
+
*/
|
|
395
|
+
url: string;
|
|
396
|
+
} & {
|
|
397
|
+
model: unknown;
|
|
398
|
+
});
|
|
399
|
+
};
|
|
400
|
+
}
|
|
401
|
+
interface operations {
|
|
402
|
+
RegisterMeshmodels: {
|
|
403
|
+
responses: {
|
|
404
|
+
/** Successful registration */
|
|
405
|
+
200: {
|
|
406
|
+
content: {
|
|
407
|
+
"application/json": {
|
|
408
|
+
message?: string;
|
|
409
|
+
};
|
|
410
|
+
};
|
|
411
|
+
};
|
|
412
|
+
/** Invalid request format */
|
|
413
|
+
400: unknown;
|
|
414
|
+
/** Internal server error */
|
|
415
|
+
500: unknown;
|
|
416
|
+
};
|
|
417
|
+
requestBody: {
|
|
418
|
+
content: {
|
|
419
|
+
"multipart/form-data": {
|
|
420
|
+
importBody: {
|
|
421
|
+
/** @description Name of the file being uploaded. */
|
|
422
|
+
fileName: string;
|
|
423
|
+
/**
|
|
424
|
+
* Format: file
|
|
425
|
+
* @description Supported model file formats are: .tar, .tar.gz, and .tgz. See [Import Models Documentation](https://docs.meshery.io/guides/configuration-management/importing-models#import-models-using-meshery-ui) for details
|
|
426
|
+
*/
|
|
427
|
+
modelFile: string;
|
|
428
|
+
} | {
|
|
429
|
+
/**
|
|
430
|
+
* Format: uri
|
|
431
|
+
* @description A direct URL to a single model file, for example: https://raw.github.com/your-model-file.tar. Supported model file formats are: .tar, .tar.gz, and .tgz. \n\nFor bulk import of your model use the GitHub connection or CSV files. See [Import Models Documentation](https://docs.meshery.io/guides/configuration-management/importing-models#import-models-using-meshery-ui) for details
|
|
432
|
+
*/
|
|
433
|
+
url: string;
|
|
434
|
+
} | {
|
|
435
|
+
/**
|
|
436
|
+
* Format: binary
|
|
437
|
+
* @description Upload a CSV file containing model definitions
|
|
438
|
+
*/
|
|
439
|
+
modelCsv: string;
|
|
440
|
+
/**
|
|
441
|
+
* Format: binary
|
|
442
|
+
* @description Upload a CSV file containing component definitions
|
|
443
|
+
*/
|
|
444
|
+
componentCsv: string;
|
|
445
|
+
/**
|
|
446
|
+
* Format: binary
|
|
447
|
+
* @description Upload a CSV file containing relationship definitions
|
|
448
|
+
*/
|
|
449
|
+
relationshipCsv: string;
|
|
450
|
+
} | ({
|
|
451
|
+
/**
|
|
452
|
+
* Format: uri
|
|
453
|
+
* @description URI to the source code or package of the model.
|
|
454
|
+
*/
|
|
455
|
+
url: string;
|
|
456
|
+
} & {
|
|
457
|
+
model: unknown;
|
|
458
|
+
});
|
|
459
|
+
/**
|
|
460
|
+
* Upload method
|
|
461
|
+
* @description Choose the method you prefer to upload your model file. Select 'File Import' or 'CSV Import' if you have the file on your local system or 'URL Import' if you have the file hosted online.
|
|
462
|
+
* @enum {string}
|
|
463
|
+
*/
|
|
464
|
+
uploadType: "file" | "urlImport" | "csv" | "url";
|
|
465
|
+
register: boolean;
|
|
466
|
+
};
|
|
467
|
+
};
|
|
468
|
+
};
|
|
469
|
+
};
|
|
470
|
+
}
|
|
471
|
+
interface external {
|
|
472
|
+
}
|
|
473
|
+
|
|
474
|
+
export type { components, external, operations, paths };
|