@meshery/schemas 1.3.32 → 1.3.34

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (30) hide show
  1. package/dist/cloudApi.d.mts +3116 -3308
  2. package/dist/cloudApi.d.ts +3116 -3308
  3. package/dist/cloudApi.js +1 -1
  4. package/dist/cloudApi.mjs +1 -1
  5. package/dist/constructs/v1beta1/evaluation/Evaluation.d.ts +1 -1
  6. package/dist/constructs/v1beta1/evaluation/EvaluationSchema.js +1 -1
  7. package/dist/constructs/v1beta1/evaluation/EvaluationSchema.mjs +1 -1
  8. package/dist/constructs/v1beta1/registry/Registry.d.ts +15022 -0
  9. package/dist/constructs/v1beta1/registry/Registry.js +1 -0
  10. package/dist/constructs/v1beta1/registry/Registry.mjs +0 -0
  11. package/dist/constructs/v1beta1/registry/RegistrySchema.d.ts +2 -0
  12. package/dist/constructs/v1beta1/registry/RegistrySchema.js +802 -0
  13. package/dist/constructs/v1beta1/registry/RegistrySchema.mjs +802 -0
  14. package/dist/constructs/v1beta2/model/Model.d.ts +0 -109
  15. package/dist/constructs/v1beta2/model/ModelSchema.js +1 -1
  16. package/dist/constructs/v1beta2/model/ModelSchema.mjs +1 -1
  17. package/dist/constructs/v1beta3/connection/Connection.d.ts +2 -2
  18. package/dist/constructs/v1beta3/connection/ConnectionSchema.js +1 -1
  19. package/dist/constructs/v1beta3/connection/ConnectionSchema.mjs +1 -1
  20. package/dist/index.js +1 -1
  21. package/dist/index.mjs +1 -1
  22. package/dist/mesheryApi.d.mts +20881 -6685
  23. package/dist/mesheryApi.d.ts +20881 -6685
  24. package/dist/mesheryApi.js +1 -1
  25. package/dist/mesheryApi.mjs +1 -1
  26. package/dist/permissions.d.mts +1 -1
  27. package/dist/permissions.d.ts +1 -1
  28. package/dist/permissions.js +1 -1
  29. package/dist/permissions.mjs +1 -1
  30. package/package.json +1 -1
@@ -4,23 +4,6 @@
4
4
  */
5
5
 
6
6
  export interface paths {
7
- "/api/meshmodels/register": {
8
- parameters: {
9
- query?: never;
10
- header?: never;
11
- path?: never;
12
- cookie?: never;
13
- };
14
- get?: never;
15
- put?: never;
16
- /** Register mesh models */
17
- post: operations["registerMeshmodels"];
18
- delete?: never;
19
- options?: never;
20
- head?: never;
21
- patch?: never;
22
- trace?: never;
23
- };
24
7
  "/api/integrations/meshmodels/models": {
25
8
  parameters: {
26
9
  query?: never;
@@ -813,98 +796,6 @@ export interface components {
813
796
  }
814
797
  export type $defs = Record<string, never>;
815
798
  export interface operations {
816
- registerMeshmodels: {
817
- parameters: {
818
- query?: never;
819
- header?: never;
820
- path?: never;
821
- cookie?: never;
822
- };
823
- requestBody: {
824
- content: {
825
- "multipart/form-data": {
826
- importBody: {
827
- /** @description Name of the file being uploaded. */
828
- fileName: string;
829
- /** @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 */
830
- modelFile: string;
831
- } | {
832
- /**
833
- * Format: uri
834
- * @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
835
- */
836
- url: string;
837
- } | {
838
- /**
839
- * Format: binary
840
- * @description Upload a CSV file containing model definitions
841
- */
842
- modelCsv: string;
843
- /**
844
- * Format: binary
845
- * @description Upload a CSV file containing component definitions
846
- */
847
- componentCsv: string;
848
- /**
849
- * Format: binary
850
- * @description Upload a CSV file containing relationship definitions
851
- */
852
- relationshipCsv: string;
853
- } | {
854
- /**
855
- * Format: uri
856
- * @description URI to the source code or package of the model.
857
- */
858
- url: string;
859
- };
860
- /**
861
- * Upload method
862
- * @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.
863
- * @enum {string}
864
- */
865
- uploadType: "file" | "urlImport" | "csv" | "url";
866
- /** @description The register of the importrequest. */
867
- register: boolean;
868
- };
869
- };
870
- };
871
- responses: {
872
- /** @description Model registered */
873
- 201: {
874
- headers: {
875
- [name: string]: unknown;
876
- };
877
- content: {
878
- "application/json": {
879
- message?: string;
880
- };
881
- };
882
- };
883
- /** @description Invalid request format */
884
- 400: {
885
- headers: {
886
- [name: string]: unknown;
887
- };
888
- content?: never;
889
- };
890
- /** @description Expired JWT token used or insufficient privilege */
891
- 401: {
892
- headers: {
893
- [name: string]: unknown;
894
- };
895
- content: {
896
- "text/plain": string;
897
- };
898
- };
899
- /** @description Internal server error */
900
- 500: {
901
- headers: {
902
- [name: string]: unknown;
903
- };
904
- content?: never;
905
- };
906
- };
907
- };
908
799
  getMeshModelModels: {
909
800
  parameters: {
910
801
  query?: {
@@ -1,4 +1,4 @@
1
- 'use strict';var e={openapi:"3.0.0",info:{title:"Model",description:"OpenAPI schema for Meshery model registration and management.",version:"v1beta2",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:"Models",description:"Operations related to mesh models"}],paths:{"/api/meshmodels/register":{post:{"x-internal":["cloud","meshery"],tags:["Models"],summary:"Register mesh models",operationId:"registerMeshmodels",requestBody:{required:true,content:{"multipart/form-data":{schema:{type:"object",required:["importBody","uploadType","register"],properties:{importBody:{oneOf:[{title:"File Import",type:"object",required:["fileName","modelFile"],properties:{fileName:{type:"string",description:"Name of the file being uploaded.",maxLength:255},modelFile:{type:"string",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"}}},{title:"URL Import",type:"object",required:["url"],properties:{url:{type:"string",format:"uri",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"}}},{title:"CSV Import",type:"object",required:["modelCsv","componentCsv","relationshipCsv"],properties:{modelCsv:{type:"string",format:"binary",description:"Upload a CSV file containing model definitions"},componentCsv:{type:"string",format:"binary",description:"Upload a CSV file containing component definitions"},relationshipCsv:{type:"string",format:"binary",description:"Upload a CSV file containing relationship definitions"}}},{title:"Model Create",type:"object",required:["model","url"],properties:{url:{type:"string",description:"URI to the source code or package of the model.",format:"uri",oneOf:[{title:"GitHub",type:"string",pattern:"^git://github\\.com/[\\w.-]+/[\\w.-]+(/[\\w.-]+/[\\w/-]+)?$",description:"Git protocol URL for GitHub repository or specific resource path",example:"git://github.com/cert-manager/cert-manager/master/deploy/crds","x-metadata":{uiType:"url",validationHint:"Enter a git protocol URL (e.g., git://github.com/owner/repo)"}},{title:"Artifact Hub",type:"string",pattern:"^https:\\/\\/artifacthub\\.io\\/packages\\/(search\\?ts_query_web=[\\w.-]+|[\\w.-]+\\/[\\w.-]+\\/[\\w.-]+)$",description:"Artifact Hub package URL or search query URL with model name parameter",example:"https://artifacthub.io/packages/search?ts_query_web={model-name}","x-metadata":{uiType:"url",validationHint:"Enter an Artifact Hub URL (e.g., https://artifacthub.io/packages/search?ts_query_web={meshery-operator})"}}]}}}]},uploadType:{type:"string",title:"Upload method","x-enum-casing-exempt":true,enum:["file","urlImport","csv","url"],enumDescriptions:["Upload a model file (.tar, .tar.gz, .tgz) from your local system","Import a model file using a direct URL to the source","Upload separate CSV files for model definitions, components, and their relationships"],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."},register:{type:"boolean",nullable:false,description:"The register of the importrequest."}}}}}},responses:{201:{description:"Model registered",content:{"application/json":{schema:{type:"object",properties:{message:{type:"string"}}}}}},400:{description:"Invalid request format"},401:{description:"Expired JWT token used or insufficient privilege",content:{"text/plain":{schema:{type:"string"}}}},500:{description:"Internal server error"}}}},"/api/integrations/meshmodels/models":{get:{"x-internal":["cloud"],tags:["Models"],summary:"Get mesh model models",operationId:"getMeshModelModels",parameters:[{name:"page",in:"query",required:false,description:"Current page number of the result set.",schema:{type:"integer",minimum:0}},{name:"pageSize",in:"query",required:false,description:"Number of items per page.",schema:{type:"integer",minimum:1}},{name:"search",in:"query",required:false,description:"Free-text search query applied to model names.",schema:{type:"string",maxLength:255}},{name:"order",in:"query",required:false,description:'Sort order for the result set (e.g. "name asc").',schema:{type:"string",maxLength:255}}],responses:{200:{description:"Model and capabilities registry entries retrieved.",content:{"application/json":{schema:{type:"object",description:"Page of mesh models matching the list-endpoint query.",properties:{page:{type:"integer",description:"Current page number of the result set.",minimum:0,"x-oapi-codegen-extra-tags":{json:"page,omitempty"}},pageSize:{type:"integer",description:"Number of items per page.",minimum:1,"x-oapi-codegen-extra-tags":{json:"pageSize,omitempty"}},totalCount:{type:"integer",description:"Total number of items available.",minimum:0,"x-oapi-codegen-extra-tags":{json:"totalCount,omitempty"}},models:{type:"array",items:{$id:"https://schemas.meshery.io/model.yaml",$schema:"http://json-schema.org/draft-07/schema#",description:"Meshery Models serve as a portable unit of packaging to define managed entities, their relationships, and capabilities.",additionalProperties:false,type:"object",properties:{id:{description:"Uniquely identifies the entity (i.e. component) as defined in a declaration (i.e. design).","x-order":1,"x-oapi-codegen-extra-tags":{json:"id"},type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"}},schemaVersion:{description:"Specifies the version of the schema used for the definition.","x-order":2,"x-oapi-codegen-extra-tags":{json:"schemaVersion"},default:"models.meshery.io/v1beta2",type:"string",minLength:2,maxLength:100,pattern:"^([a-z][a-z0-9.-]*\\/)?v(alpha|beta|[0-9]+(alpha[0-9]*|beta[0-9]*|rc[0-9]*)?)([.-][a-z0-9]+)*$",example:["v1","v1alpha1","v2beta3","v1.custom-suffix","models.meshery.io/v1beta1","capability.meshery.io/v1alpha1"]},version:{description:"Version of the model definition.",type:"string","x-order":3,"x-oapi-codegen-extra-tags":{json:"version"},minLength:5,maxLength:100,pattern:"^[a-z0-9]+.[0-9]+.[0-9]+(-[0-9A-Za-z-]+(.[0-9A-Za-z-]+)*)?(\\+[0-9A-Za-z-]+(\\.[0-9A-Za-z-]+)*)?$"},name:{type:"string",description:"The unique name for the model within the scope of a registrant.",helperText:"Model name should be in lowercase with hyphens, not whitespaces.",pattern:"^[a-z0-9-]+$",examples:["cert-manager"],"x-order":4,"x-oapi-codegen-extra-tags":{json:"name"},default:"untitled-model"},displayName:{description:"Human-readable name for the model.",helperText:"Model display name may include letters, numbers, and spaces. Special characters are not allowed.",minLength:1,maxLength:100,type:"string",pattern:"^[a-zA-Z0-9 ]+$",examples:["Cert Manager"],"x-order":5,"x-oapi-codegen-extra-tags":{json:"displayName"},default:"Untitled Model"},description:{type:"string",default:"A new Meshery model.",description:"Description of the model.",minLength:1,maxLength:1e3,"x-order":6,"x-oapi-codegen-extra-tags":{json:"description,omitempty"}},status:{type:"string",description:`Status of model, including:
1
+ 'use strict';var e={openapi:"3.0.0",info:{title:"Model",description:"OpenAPI schema for Meshery model registration and management.",version:"v1beta2",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:"Models",description:"Operations related to mesh models"}],paths:{"/api/integrations/meshmodels/models":{get:{"x-internal":["cloud"],tags:["Models"],summary:"Get mesh model models",operationId:"getMeshModelModels",parameters:[{name:"page",in:"query",required:false,description:"Current page number of the result set.",schema:{type:"integer",minimum:0}},{name:"pageSize",in:"query",required:false,description:"Number of items per page.",schema:{type:"integer",minimum:1}},{name:"search",in:"query",required:false,description:"Free-text search query applied to model names.",schema:{type:"string",maxLength:255}},{name:"order",in:"query",required:false,description:'Sort order for the result set (e.g. "name asc").',schema:{type:"string",maxLength:255}}],responses:{200:{description:"Model and capabilities registry entries retrieved.",content:{"application/json":{schema:{type:"object",description:"Page of mesh models matching the list-endpoint query.",properties:{page:{type:"integer",description:"Current page number of the result set.",minimum:0,"x-oapi-codegen-extra-tags":{json:"page,omitempty"}},pageSize:{type:"integer",description:"Number of items per page.",minimum:1,"x-oapi-codegen-extra-tags":{json:"pageSize,omitempty"}},totalCount:{type:"integer",description:"Total number of items available.",minimum:0,"x-oapi-codegen-extra-tags":{json:"totalCount,omitempty"}},models:{type:"array",items:{$id:"https://schemas.meshery.io/model.yaml",$schema:"http://json-schema.org/draft-07/schema#",description:"Meshery Models serve as a portable unit of packaging to define managed entities, their relationships, and capabilities.",additionalProperties:false,type:"object",properties:{id:{description:"Uniquely identifies the entity (i.e. component) as defined in a declaration (i.e. design).","x-order":1,"x-oapi-codegen-extra-tags":{json:"id"},type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"}},schemaVersion:{description:"Specifies the version of the schema used for the definition.","x-order":2,"x-oapi-codegen-extra-tags":{json:"schemaVersion"},default:"models.meshery.io/v1beta2",type:"string",minLength:2,maxLength:100,pattern:"^([a-z][a-z0-9.-]*\\/)?v(alpha|beta|[0-9]+(alpha[0-9]*|beta[0-9]*|rc[0-9]*)?)([.-][a-z0-9]+)*$",example:["v1","v1alpha1","v2beta3","v1.custom-suffix","models.meshery.io/v1beta1","capability.meshery.io/v1alpha1"]},version:{description:"Version of the model definition.",type:"string","x-order":3,"x-oapi-codegen-extra-tags":{json:"version"},minLength:5,maxLength:100,pattern:"^[a-z0-9]+.[0-9]+.[0-9]+(-[0-9A-Za-z-]+(.[0-9A-Za-z-]+)*)?(\\+[0-9A-Za-z-]+(\\.[0-9A-Za-z-]+)*)?$"},name:{type:"string",description:"The unique name for the model within the scope of a registrant.",helperText:"Model name should be in lowercase with hyphens, not whitespaces.",pattern:"^[a-z0-9-]+$",examples:["cert-manager"],"x-order":4,"x-oapi-codegen-extra-tags":{json:"name"},default:"untitled-model"},displayName:{description:"Human-readable name for the model.",helperText:"Model display name may include letters, numbers, and spaces. Special characters are not allowed.",minLength:1,maxLength:100,type:"string",pattern:"^[a-zA-Z0-9 ]+$",examples:["Cert Manager"],"x-order":5,"x-oapi-codegen-extra-tags":{json:"displayName"},default:"Untitled Model"},description:{type:"string",default:"A new Meshery model.",description:"Description of the model.",minLength:1,maxLength:1e3,"x-order":6,"x-oapi-codegen-extra-tags":{json:"description,omitempty"}},status:{type:"string",description:`Status of model, including:
2
2
  - 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.
3
3
  - maintenance: model is unavailable for a period of time.
4
4
  - enabled: model is available for use for all users of this Meshery Server.
@@ -1,4 +1,4 @@
1
- var e={openapi:"3.0.0",info:{title:"Model",description:"OpenAPI schema for Meshery model registration and management.",version:"v1beta2",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:"Models",description:"Operations related to mesh models"}],paths:{"/api/meshmodels/register":{post:{"x-internal":["cloud","meshery"],tags:["Models"],summary:"Register mesh models",operationId:"registerMeshmodels",requestBody:{required:true,content:{"multipart/form-data":{schema:{type:"object",required:["importBody","uploadType","register"],properties:{importBody:{oneOf:[{title:"File Import",type:"object",required:["fileName","modelFile"],properties:{fileName:{type:"string",description:"Name of the file being uploaded.",maxLength:255},modelFile:{type:"string",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"}}},{title:"URL Import",type:"object",required:["url"],properties:{url:{type:"string",format:"uri",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"}}},{title:"CSV Import",type:"object",required:["modelCsv","componentCsv","relationshipCsv"],properties:{modelCsv:{type:"string",format:"binary",description:"Upload a CSV file containing model definitions"},componentCsv:{type:"string",format:"binary",description:"Upload a CSV file containing component definitions"},relationshipCsv:{type:"string",format:"binary",description:"Upload a CSV file containing relationship definitions"}}},{title:"Model Create",type:"object",required:["model","url"],properties:{url:{type:"string",description:"URI to the source code or package of the model.",format:"uri",oneOf:[{title:"GitHub",type:"string",pattern:"^git://github\\.com/[\\w.-]+/[\\w.-]+(/[\\w.-]+/[\\w/-]+)?$",description:"Git protocol URL for GitHub repository or specific resource path",example:"git://github.com/cert-manager/cert-manager/master/deploy/crds","x-metadata":{uiType:"url",validationHint:"Enter a git protocol URL (e.g., git://github.com/owner/repo)"}},{title:"Artifact Hub",type:"string",pattern:"^https:\\/\\/artifacthub\\.io\\/packages\\/(search\\?ts_query_web=[\\w.-]+|[\\w.-]+\\/[\\w.-]+\\/[\\w.-]+)$",description:"Artifact Hub package URL or search query URL with model name parameter",example:"https://artifacthub.io/packages/search?ts_query_web={model-name}","x-metadata":{uiType:"url",validationHint:"Enter an Artifact Hub URL (e.g., https://artifacthub.io/packages/search?ts_query_web={meshery-operator})"}}]}}}]},uploadType:{type:"string",title:"Upload method","x-enum-casing-exempt":true,enum:["file","urlImport","csv","url"],enumDescriptions:["Upload a model file (.tar, .tar.gz, .tgz) from your local system","Import a model file using a direct URL to the source","Upload separate CSV files for model definitions, components, and their relationships"],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."},register:{type:"boolean",nullable:false,description:"The register of the importrequest."}}}}}},responses:{201:{description:"Model registered",content:{"application/json":{schema:{type:"object",properties:{message:{type:"string"}}}}}},400:{description:"Invalid request format"},401:{description:"Expired JWT token used or insufficient privilege",content:{"text/plain":{schema:{type:"string"}}}},500:{description:"Internal server error"}}}},"/api/integrations/meshmodels/models":{get:{"x-internal":["cloud"],tags:["Models"],summary:"Get mesh model models",operationId:"getMeshModelModels",parameters:[{name:"page",in:"query",required:false,description:"Current page number of the result set.",schema:{type:"integer",minimum:0}},{name:"pageSize",in:"query",required:false,description:"Number of items per page.",schema:{type:"integer",minimum:1}},{name:"search",in:"query",required:false,description:"Free-text search query applied to model names.",schema:{type:"string",maxLength:255}},{name:"order",in:"query",required:false,description:'Sort order for the result set (e.g. "name asc").',schema:{type:"string",maxLength:255}}],responses:{200:{description:"Model and capabilities registry entries retrieved.",content:{"application/json":{schema:{type:"object",description:"Page of mesh models matching the list-endpoint query.",properties:{page:{type:"integer",description:"Current page number of the result set.",minimum:0,"x-oapi-codegen-extra-tags":{json:"page,omitempty"}},pageSize:{type:"integer",description:"Number of items per page.",minimum:1,"x-oapi-codegen-extra-tags":{json:"pageSize,omitempty"}},totalCount:{type:"integer",description:"Total number of items available.",minimum:0,"x-oapi-codegen-extra-tags":{json:"totalCount,omitempty"}},models:{type:"array",items:{$id:"https://schemas.meshery.io/model.yaml",$schema:"http://json-schema.org/draft-07/schema#",description:"Meshery Models serve as a portable unit of packaging to define managed entities, their relationships, and capabilities.",additionalProperties:false,type:"object",properties:{id:{description:"Uniquely identifies the entity (i.e. component) as defined in a declaration (i.e. design).","x-order":1,"x-oapi-codegen-extra-tags":{json:"id"},type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"}},schemaVersion:{description:"Specifies the version of the schema used for the definition.","x-order":2,"x-oapi-codegen-extra-tags":{json:"schemaVersion"},default:"models.meshery.io/v1beta2",type:"string",minLength:2,maxLength:100,pattern:"^([a-z][a-z0-9.-]*\\/)?v(alpha|beta|[0-9]+(alpha[0-9]*|beta[0-9]*|rc[0-9]*)?)([.-][a-z0-9]+)*$",example:["v1","v1alpha1","v2beta3","v1.custom-suffix","models.meshery.io/v1beta1","capability.meshery.io/v1alpha1"]},version:{description:"Version of the model definition.",type:"string","x-order":3,"x-oapi-codegen-extra-tags":{json:"version"},minLength:5,maxLength:100,pattern:"^[a-z0-9]+.[0-9]+.[0-9]+(-[0-9A-Za-z-]+(.[0-9A-Za-z-]+)*)?(\\+[0-9A-Za-z-]+(\\.[0-9A-Za-z-]+)*)?$"},name:{type:"string",description:"The unique name for the model within the scope of a registrant.",helperText:"Model name should be in lowercase with hyphens, not whitespaces.",pattern:"^[a-z0-9-]+$",examples:["cert-manager"],"x-order":4,"x-oapi-codegen-extra-tags":{json:"name"},default:"untitled-model"},displayName:{description:"Human-readable name for the model.",helperText:"Model display name may include letters, numbers, and spaces. Special characters are not allowed.",minLength:1,maxLength:100,type:"string",pattern:"^[a-zA-Z0-9 ]+$",examples:["Cert Manager"],"x-order":5,"x-oapi-codegen-extra-tags":{json:"displayName"},default:"Untitled Model"},description:{type:"string",default:"A new Meshery model.",description:"Description of the model.",minLength:1,maxLength:1e3,"x-order":6,"x-oapi-codegen-extra-tags":{json:"description,omitempty"}},status:{type:"string",description:`Status of model, including:
1
+ var e={openapi:"3.0.0",info:{title:"Model",description:"OpenAPI schema for Meshery model registration and management.",version:"v1beta2",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:"Models",description:"Operations related to mesh models"}],paths:{"/api/integrations/meshmodels/models":{get:{"x-internal":["cloud"],tags:["Models"],summary:"Get mesh model models",operationId:"getMeshModelModels",parameters:[{name:"page",in:"query",required:false,description:"Current page number of the result set.",schema:{type:"integer",minimum:0}},{name:"pageSize",in:"query",required:false,description:"Number of items per page.",schema:{type:"integer",minimum:1}},{name:"search",in:"query",required:false,description:"Free-text search query applied to model names.",schema:{type:"string",maxLength:255}},{name:"order",in:"query",required:false,description:'Sort order for the result set (e.g. "name asc").',schema:{type:"string",maxLength:255}}],responses:{200:{description:"Model and capabilities registry entries retrieved.",content:{"application/json":{schema:{type:"object",description:"Page of mesh models matching the list-endpoint query.",properties:{page:{type:"integer",description:"Current page number of the result set.",minimum:0,"x-oapi-codegen-extra-tags":{json:"page,omitempty"}},pageSize:{type:"integer",description:"Number of items per page.",minimum:1,"x-oapi-codegen-extra-tags":{json:"pageSize,omitempty"}},totalCount:{type:"integer",description:"Total number of items available.",minimum:0,"x-oapi-codegen-extra-tags":{json:"totalCount,omitempty"}},models:{type:"array",items:{$id:"https://schemas.meshery.io/model.yaml",$schema:"http://json-schema.org/draft-07/schema#",description:"Meshery Models serve as a portable unit of packaging to define managed entities, their relationships, and capabilities.",additionalProperties:false,type:"object",properties:{id:{description:"Uniquely identifies the entity (i.e. component) as defined in a declaration (i.e. design).","x-order":1,"x-oapi-codegen-extra-tags":{json:"id"},type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"}},schemaVersion:{description:"Specifies the version of the schema used for the definition.","x-order":2,"x-oapi-codegen-extra-tags":{json:"schemaVersion"},default:"models.meshery.io/v1beta2",type:"string",minLength:2,maxLength:100,pattern:"^([a-z][a-z0-9.-]*\\/)?v(alpha|beta|[0-9]+(alpha[0-9]*|beta[0-9]*|rc[0-9]*)?)([.-][a-z0-9]+)*$",example:["v1","v1alpha1","v2beta3","v1.custom-suffix","models.meshery.io/v1beta1","capability.meshery.io/v1alpha1"]},version:{description:"Version of the model definition.",type:"string","x-order":3,"x-oapi-codegen-extra-tags":{json:"version"},minLength:5,maxLength:100,pattern:"^[a-z0-9]+.[0-9]+.[0-9]+(-[0-9A-Za-z-]+(.[0-9A-Za-z-]+)*)?(\\+[0-9A-Za-z-]+(\\.[0-9A-Za-z-]+)*)?$"},name:{type:"string",description:"The unique name for the model within the scope of a registrant.",helperText:"Model name should be in lowercase with hyphens, not whitespaces.",pattern:"^[a-z0-9-]+$",examples:["cert-manager"],"x-order":4,"x-oapi-codegen-extra-tags":{json:"name"},default:"untitled-model"},displayName:{description:"Human-readable name for the model.",helperText:"Model display name may include letters, numbers, and spaces. Special characters are not allowed.",minLength:1,maxLength:100,type:"string",pattern:"^[a-zA-Z0-9 ]+$",examples:["Cert Manager"],"x-order":5,"x-oapi-codegen-extra-tags":{json:"displayName"},default:"Untitled Model"},description:{type:"string",default:"A new Meshery model.",description:"Description of the model.",minLength:1,maxLength:1e3,"x-order":6,"x-oapi-codegen-extra-tags":{json:"description,omitempty"}},status:{type:"string",description:`Status of model, including:
2
2
  - 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.
3
3
  - maintenance: model is unavailable for a period of time.
4
4
  - enabled: model is available for use for all users of this Meshery Server.
@@ -180,7 +180,7 @@ export interface paths {
180
180
  patch?: never;
181
181
  trace?: never;
182
182
  };
183
- "/api/meshmodels/connections": {
183
+ "/api/registry/connections": {
184
184
  parameters: {
185
185
  query?: never;
186
186
  header?: never;
@@ -204,7 +204,7 @@ export interface paths {
204
204
  patch?: never;
205
205
  trace?: never;
206
206
  };
207
- "/api/meshmodels/connections/{connectionDefinitionId}": {
207
+ "/api/registry/connections/{connectionDefinitionId}": {
208
208
  parameters: {
209
209
  query?: never;
210
210
  header?: never;