@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.
Files changed (204) hide show
  1. package/README.md +294 -23
  2. package/dist/Core-Wy_3jcVT.d.mts +736 -0
  3. package/dist/Core-Wy_3jcVT.d.ts +736 -0
  4. package/dist/cloudApi.d.mts +6873 -3592
  5. package/dist/cloudApi.d.ts +6873 -3592
  6. package/dist/cloudApi.js +1 -1
  7. package/dist/cloudApi.mjs +1 -1
  8. package/dist/constructs/v1alpha1/capability/Capability.d.mts +115 -0
  9. package/dist/constructs/v1alpha1/capability/Capability.d.ts +115 -0
  10. package/dist/constructs/v1alpha1/capability/Capability.js +1 -0
  11. package/dist/constructs/v1alpha1/capability/Capability.mjs +0 -0
  12. package/dist/constructs/v1alpha1/capability/CapabilitySchema.d.mts +155 -0
  13. package/dist/constructs/v1alpha1/capability/CapabilitySchema.d.ts +155 -0
  14. package/dist/constructs/v1alpha1/capability/CapabilitySchema.js +2 -0
  15. package/dist/constructs/v1alpha1/capability/CapabilitySchema.mjs +2 -0
  16. package/dist/constructs/v1alpha1/core/Core.d.mts +1 -0
  17. package/dist/constructs/v1alpha1/core/Core.d.ts +1 -0
  18. package/dist/constructs/v1alpha1/core/Core.js +1 -0
  19. package/dist/constructs/v1alpha1/core/Core.mjs +0 -0
  20. package/dist/constructs/v1alpha1/core/CoreSchema.d.mts +1649 -0
  21. package/dist/constructs/v1alpha1/core/CoreSchema.d.ts +1649 -0
  22. package/dist/constructs/v1alpha1/core/CoreSchema.js +2 -0
  23. package/dist/constructs/v1alpha1/core/CoreSchema.mjs +2 -0
  24. package/dist/constructs/v1alpha2/catalog/Catalog.d.mts +46 -0
  25. package/dist/constructs/v1alpha2/catalog/Catalog.d.ts +46 -0
  26. package/dist/constructs/v1alpha2/catalog/Catalog.js +1 -0
  27. package/dist/constructs/v1alpha2/catalog/Catalog.mjs +0 -0
  28. package/dist/constructs/v1alpha2/catalog/CatalogSchema.d.mts +80 -0
  29. package/dist/constructs/v1alpha2/catalog/CatalogSchema.d.ts +80 -0
  30. package/dist/constructs/v1alpha2/catalog/CatalogSchema.js +2 -0
  31. package/dist/constructs/v1alpha2/catalog/CatalogSchema.mjs +2 -0
  32. package/dist/constructs/v1beta1/academy/Academy.d.mts +5762 -0
  33. package/dist/constructs/v1beta1/academy/Academy.d.ts +5762 -0
  34. package/dist/constructs/v1beta1/academy/Academy.js +1 -0
  35. package/dist/constructs/v1beta1/academy/Academy.mjs +0 -0
  36. package/dist/constructs/v1beta1/academy/AcademySchema.d.mts +11838 -0
  37. package/dist/constructs/v1beta1/academy/AcademySchema.d.ts +11838 -0
  38. package/dist/constructs/v1beta1/academy/AcademySchema.js +2 -0
  39. package/dist/constructs/v1beta1/academy/AcademySchema.mjs +2 -0
  40. package/dist/constructs/v1beta1/badge/Badge.d.mts +253 -0
  41. package/dist/constructs/v1beta1/badge/Badge.d.ts +253 -0
  42. package/dist/constructs/v1beta1/badge/Badge.js +1 -0
  43. package/dist/constructs/v1beta1/badge/Badge.mjs +0 -0
  44. package/dist/constructs/v1beta1/badge/BadgeSchema.d.mts +519 -0
  45. package/dist/constructs/v1beta1/badge/BadgeSchema.d.ts +519 -0
  46. package/dist/constructs/v1beta1/badge/BadgeSchema.js +2 -0
  47. package/dist/constructs/v1beta1/badge/BadgeSchema.mjs +2 -0
  48. package/dist/constructs/v1beta1/category/Category.d.mts +33 -0
  49. package/dist/constructs/v1beta1/category/Category.d.ts +33 -0
  50. package/dist/constructs/v1beta1/category/Category.js +1 -0
  51. package/dist/constructs/v1beta1/category/Category.mjs +0 -0
  52. package/dist/constructs/v1beta1/category/CategorySchema.d.mts +60 -0
  53. package/dist/constructs/v1beta1/category/CategorySchema.d.ts +60 -0
  54. package/dist/constructs/v1beta1/category/CategorySchema.js +2 -0
  55. package/dist/constructs/v1beta1/category/CategorySchema.mjs +2 -0
  56. package/dist/constructs/v1beta1/component/Component.d.mts +737 -0
  57. package/dist/constructs/v1beta1/component/Component.d.ts +737 -0
  58. package/dist/constructs/v1beta1/component/Component.js +1 -0
  59. package/dist/constructs/v1beta1/component/Component.mjs +0 -0
  60. package/dist/constructs/v1beta1/component/ComponentSchema.d.mts +1751 -0
  61. package/dist/constructs/v1beta1/component/ComponentSchema.d.ts +1751 -0
  62. package/dist/constructs/v1beta1/component/ComponentSchema.js +10 -0
  63. package/dist/constructs/v1beta1/component/ComponentSchema.mjs +10 -0
  64. package/dist/constructs/v1beta1/connection/Connection.d.mts +186 -0
  65. package/dist/constructs/v1beta1/connection/Connection.d.ts +186 -0
  66. package/dist/constructs/v1beta1/connection/Connection.js +1 -0
  67. package/dist/constructs/v1beta1/connection/Connection.mjs +0 -0
  68. package/dist/constructs/v1beta1/connection/ConnectionSchema.d.mts +612 -0
  69. package/dist/constructs/v1beta1/connection/ConnectionSchema.d.ts +612 -0
  70. package/dist/constructs/v1beta1/connection/ConnectionSchema.js +2 -0
  71. package/dist/constructs/v1beta1/connection/ConnectionSchema.mjs +2 -0
  72. package/dist/constructs/v1beta1/environment/Environment.d.mts +307 -0
  73. package/dist/constructs/v1beta1/environment/Environment.d.ts +307 -0
  74. package/dist/constructs/v1beta1/environment/Environment.js +1 -0
  75. package/dist/constructs/v1beta1/environment/Environment.mjs +0 -0
  76. package/dist/constructs/v1beta1/environment/EnvironmentSchema.d.mts +904 -0
  77. package/dist/constructs/v1beta1/environment/EnvironmentSchema.d.ts +904 -0
  78. package/dist/constructs/v1beta1/environment/EnvironmentSchema.js +2 -0
  79. package/dist/constructs/v1beta1/environment/EnvironmentSchema.mjs +2 -0
  80. package/dist/constructs/v1beta1/evaluation/Evaluation.d.mts +5729 -0
  81. package/dist/constructs/v1beta1/evaluation/Evaluation.d.ts +5729 -0
  82. package/dist/constructs/v1beta1/evaluation/Evaluation.js +1 -0
  83. package/dist/constructs/v1beta1/evaluation/Evaluation.mjs +0 -0
  84. package/dist/constructs/v1beta1/evaluation/EvaluationSchema.d.mts +15473 -0
  85. package/dist/constructs/v1beta1/evaluation/EvaluationSchema.d.ts +15473 -0
  86. package/dist/constructs/v1beta1/evaluation/EvaluationSchema.js +210 -0
  87. package/dist/constructs/v1beta1/evaluation/EvaluationSchema.mjs +210 -0
  88. package/dist/constructs/v1beta1/event/Event.d.mts +177 -0
  89. package/dist/constructs/v1beta1/event/Event.d.ts +177 -0
  90. package/dist/constructs/v1beta1/event/Event.js +1 -0
  91. package/dist/constructs/v1beta1/event/Event.mjs +0 -0
  92. package/dist/constructs/v1beta1/event/EventSchema.d.mts +360 -0
  93. package/dist/constructs/v1beta1/event/EventSchema.d.ts +360 -0
  94. package/dist/constructs/v1beta1/event/EventSchema.js +1 -0
  95. package/dist/constructs/v1beta1/event/EventSchema.mjs +1 -0
  96. package/dist/constructs/v1beta1/feature/Feature.d.mts +287 -0
  97. package/dist/constructs/v1beta1/feature/Feature.d.ts +287 -0
  98. package/dist/constructs/v1beta1/feature/Feature.js +1 -0
  99. package/dist/constructs/v1beta1/feature/Feature.mjs +0 -0
  100. package/dist/constructs/v1beta1/feature/FeatureSchema.d.mts +773 -0
  101. package/dist/constructs/v1beta1/feature/FeatureSchema.d.ts +773 -0
  102. package/dist/constructs/v1beta1/feature/FeatureSchema.js +1 -0
  103. package/dist/constructs/v1beta1/feature/FeatureSchema.mjs +1 -0
  104. package/dist/constructs/v1beta1/invitation/Invitation.d.mts +644 -0
  105. package/dist/constructs/v1beta1/invitation/Invitation.d.ts +644 -0
  106. package/dist/constructs/v1beta1/invitation/Invitation.js +1 -0
  107. package/dist/constructs/v1beta1/invitation/Invitation.mjs +0 -0
  108. package/dist/constructs/v1beta1/invitation/InvitationSchema.d.mts +1652 -0
  109. package/dist/constructs/v1beta1/invitation/InvitationSchema.d.ts +1652 -0
  110. package/dist/constructs/v1beta1/invitation/InvitationSchema.js +1 -0
  111. package/dist/constructs/v1beta1/invitation/InvitationSchema.mjs +1 -0
  112. package/dist/constructs/v1beta1/key/Key.d.mts +409 -0
  113. package/dist/constructs/v1beta1/key/Key.d.ts +409 -0
  114. package/dist/constructs/v1beta1/key/Key.js +1 -0
  115. package/dist/constructs/v1beta1/key/Key.mjs +0 -0
  116. package/dist/constructs/v1beta1/key/KeySchema.d.mts +1029 -0
  117. package/dist/constructs/v1beta1/key/KeySchema.d.ts +1029 -0
  118. package/dist/constructs/v1beta1/key/KeySchema.js +1 -0
  119. package/dist/constructs/v1beta1/key/KeySchema.mjs +1 -0
  120. package/dist/constructs/v1beta1/keychain/Keychain.d.mts +641 -0
  121. package/dist/constructs/v1beta1/keychain/Keychain.d.ts +641 -0
  122. package/dist/constructs/v1beta1/keychain/Keychain.js +1 -0
  123. package/dist/constructs/v1beta1/keychain/Keychain.mjs +0 -0
  124. package/dist/constructs/v1beta1/keychain/KeychainSchema.d.mts +1541 -0
  125. package/dist/constructs/v1beta1/keychain/KeychainSchema.d.ts +1541 -0
  126. package/dist/constructs/v1beta1/keychain/KeychainSchema.js +1 -0
  127. package/dist/constructs/v1beta1/keychain/KeychainSchema.mjs +1 -0
  128. package/dist/constructs/v1beta1/model/Model.d.mts +474 -0
  129. package/dist/constructs/v1beta1/model/Model.d.ts +474 -0
  130. package/dist/constructs/v1beta1/model/Model.js +1 -0
  131. package/dist/constructs/v1beta1/model/Model.mjs +0 -0
  132. package/dist/constructs/v1beta1/model/ModelSchema.d.mts +1281 -0
  133. package/dist/constructs/v1beta1/model/ModelSchema.d.ts +1281 -0
  134. package/dist/constructs/v1beta1/model/ModelSchema.js +6 -0
  135. package/dist/constructs/v1beta1/model/ModelSchema.mjs +6 -0
  136. package/dist/constructs/v1beta1/organization/Organization.d.mts +268 -0
  137. package/dist/constructs/v1beta1/organization/Organization.d.ts +268 -0
  138. package/dist/constructs/v1beta1/organization/Organization.js +1 -0
  139. package/dist/constructs/v1beta1/organization/Organization.mjs +0 -0
  140. package/dist/constructs/v1beta1/organization/OrganizationSchema.d.mts +765 -0
  141. package/dist/constructs/v1beta1/organization/OrganizationSchema.d.ts +765 -0
  142. package/dist/constructs/v1beta1/organization/OrganizationSchema.js +1 -0
  143. package/dist/constructs/v1beta1/organization/OrganizationSchema.mjs +1 -0
  144. package/dist/constructs/v1beta1/pattern/Pattern.d.mts +5776 -0
  145. package/dist/constructs/v1beta1/pattern/Pattern.d.ts +5776 -0
  146. package/dist/constructs/v1beta1/pattern/Pattern.js +1 -0
  147. package/dist/constructs/v1beta1/pattern/Pattern.mjs +0 -0
  148. package/dist/constructs/v1beta1/pattern/PatternSchema.d.mts +15669 -0
  149. package/dist/constructs/v1beta1/pattern/PatternSchema.d.ts +15669 -0
  150. package/dist/constructs/v1beta1/pattern/PatternSchema.js +210 -0
  151. package/dist/constructs/v1beta1/pattern/PatternSchema.mjs +210 -0
  152. package/dist/constructs/v1beta1/plan/Plan.d.mts +120 -0
  153. package/dist/constructs/v1beta1/plan/Plan.d.ts +120 -0
  154. package/dist/constructs/v1beta1/plan/Plan.js +1 -0
  155. package/dist/constructs/v1beta1/plan/Plan.mjs +0 -0
  156. package/dist/constructs/v1beta1/plan/PlanSchema.d.mts +322 -0
  157. package/dist/constructs/v1beta1/plan/PlanSchema.d.ts +322 -0
  158. package/dist/constructs/v1beta1/plan/PlanSchema.js +1 -0
  159. package/dist/constructs/v1beta1/plan/PlanSchema.mjs +1 -0
  160. package/dist/constructs/v1beta1/subcategory/Subcategory.d.mts +23 -0
  161. package/dist/constructs/v1beta1/subcategory/Subcategory.d.ts +23 -0
  162. package/dist/constructs/v1beta1/subcategory/Subcategory.js +1 -0
  163. package/dist/constructs/v1beta1/subcategory/Subcategory.mjs +0 -0
  164. package/dist/constructs/v1beta1/subcategory/SubcategorySchema.d.mts +33 -0
  165. package/dist/constructs/v1beta1/subcategory/SubcategorySchema.d.ts +33 -0
  166. package/dist/constructs/v1beta1/subcategory/SubcategorySchema.js +2 -0
  167. package/dist/constructs/v1beta1/subcategory/SubcategorySchema.mjs +2 -0
  168. package/dist/constructs/v1beta1/subscription/Subscription.d.mts +624 -0
  169. package/dist/constructs/v1beta1/subscription/Subscription.d.ts +624 -0
  170. package/dist/constructs/v1beta1/subscription/Subscription.js +1 -0
  171. package/dist/constructs/v1beta1/subscription/Subscription.mjs +0 -0
  172. package/dist/constructs/v1beta1/subscription/SubscriptionSchema.d.mts +1642 -0
  173. package/dist/constructs/v1beta1/subscription/SubscriptionSchema.d.ts +1642 -0
  174. package/dist/constructs/v1beta1/subscription/SubscriptionSchema.js +2 -0
  175. package/dist/constructs/v1beta1/subscription/SubscriptionSchema.mjs +2 -0
  176. package/dist/constructs/v1beta1/user/User.d.mts +473 -0
  177. package/dist/constructs/v1beta1/user/User.d.ts +473 -0
  178. package/dist/constructs/v1beta1/user/User.js +1 -0
  179. package/dist/constructs/v1beta1/user/User.mjs +0 -0
  180. package/dist/constructs/v1beta1/user/UserSchema.d.mts +1112 -0
  181. package/dist/constructs/v1beta1/user/UserSchema.d.ts +1112 -0
  182. package/dist/constructs/v1beta1/user/UserSchema.js +1 -0
  183. package/dist/constructs/v1beta1/user/UserSchema.mjs +1 -0
  184. package/dist/constructs/v1beta1/workspace/Workspace.d.mts +303 -0
  185. package/dist/constructs/v1beta1/workspace/Workspace.d.ts +303 -0
  186. package/dist/constructs/v1beta1/workspace/Workspace.js +1 -0
  187. package/dist/constructs/v1beta1/workspace/Workspace.mjs +0 -0
  188. package/dist/constructs/v1beta1/workspace/WorkspaceSchema.d.mts +964 -0
  189. package/dist/constructs/v1beta1/workspace/WorkspaceSchema.d.ts +964 -0
  190. package/dist/constructs/v1beta1/workspace/WorkspaceSchema.js +2 -0
  191. package/dist/constructs/v1beta1/workspace/WorkspaceSchema.mjs +2 -0
  192. package/dist/index.d.mts +40 -34677
  193. package/dist/index.d.ts +40 -34677
  194. package/dist/index.js +29 -93
  195. package/dist/index.mjs +29 -93
  196. package/dist/mesheryApi.d.mts +1751 -653
  197. package/dist/mesheryApi.d.ts +1751 -653
  198. package/dist/mesheryApi.js +1 -1
  199. package/dist/mesheryApi.mjs +1 -1
  200. package/dist/permissions.d.mts +422 -0
  201. package/dist/permissions.d.ts +422 -0
  202. package/dist/permissions.js +1 -0
  203. package/dist/permissions.mjs +1 -0
  204. package/package.json +52 -48
@@ -0,0 +1,2 @@
1
+ var e={openapi:"3.0.0",info:{title:"connection",version:"1.0.0"},paths:{},components:{schemas:{Connection:{$id:"https://schemas.meshery.io/component.yaml",$schema:"http://json-schema.org/draft-07/schema#",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",additionalProperties:false,type:"object",required:["id","schemaVersion","name","type","sub_type","kind","status"],properties:{id:{description:"ID","x-order":1,"x-go-name":"ID","x-oapi-codegen-extra-tags":{db:"id",yaml:"id"},type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"}},name:{"x-oapi-codegen-extra-tags":{db:"name",yaml:"name"},"x-order":2,type:"string",description:"Connection Name"},credential_id:{"x-go-name":"CredentialID","x-oapi-codegen-extra-tags":{db:"credential_id",yaml:"credential_id"},"x-order":3,description:"Credential ID",type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"}},type:{"x-oapi-codegen-extra-tags":{db:"type",yaml:"type"},"x-order":4,type:"string",description:"Connection Type"},sub_type:{"x-oapi-codegen-extra-tags":{db:"sub_type",yaml:"sub_type"},"x-order":5,type:"string",description:"Connection Subtype"},kind:{"x-oapi-codegen-extra-tags":{db:"kind",yaml:"kind"},"x-order":6,type:"string",description:"Connection Kind"},metadata:{"x-oapi-codegen-extra-tags":{db:"metadata",yaml:"metadata"},"x-order":7,"x-go-type":"core.Map","x-go-type-skip-optional-pointer":true,type:"object"},status:{"x-oapi-codegen-extra-tags":{db:"status",yaml:"status"},"x-order":8,description:"Connection Status",type:"string",enum:["discovered","registered","connected","ignored","maintenance","disconnected","deleted","not found"]},user_id:{"x-go-name":"UserID","x-oapi-codegen-extra-tags":{db:"user_id",yaml:"user_id"},"x-order":9,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"}},created_at:{"x-oapi-codegen-extra-tags":{db:"created_at",yaml:"created_at"},"x-order":10,type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},updated_at:{"x-oapi-codegen-extra-tags":{db:"updated_at",yaml:"updated_at"},"x-order":11,type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},deleted_at:{"x-oapi-codegen-extra-tags":{db:"deleted_at",yaml:"deleted_at"},"x-go-type":"core.NullTime","x-order":12,type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},environments:{type:"array",items:{"x-go-type":"*environment.Environment",$id:"https://schemas.meshery.io/environment.yaml",$schema:"http://json-schema.org/draft-07/schema#",description:"Meshery Environments allow you to logically group related Connections and their associated Credentials.. Learn more at https://docs.meshery.io/concepts/logical/environments",additionalProperties:false,type:"object",required:["id","name","description","organization_id"],properties:{id:{description:"ID","x-order":1,"x-go-name":"ID","x-oapi-codegen-extra-tags":{db:"id",yaml:"id"},type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"}},name:{"x-oapi-codegen-extra-tags":{db:"name",yaml:"name"},"x-order":2,type:"string",description:"Environment name"},description:{"x-oapi-codegen-extra-tags":{db:"description",yaml:"description"},"x-order":3,type:"string",description:"Environment description"},organization_id:{"x-go-name":"OrganizationID","x-oapi-codegen-extra-tags":{db:"organization_id",yaml:"organization_id"},"x-order":4,description:"Environment organization ID",type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"}},owner:{"x-oapi-codegen-extra-tags":{db:"owner",yaml:"owner"},"x-order":5,description:"Environment owner",type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"}},created_at:{"x-oapi-codegen-extra-tags":{db:"created_at",yaml:"created_at"},"x-order":6,type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},metadata:{"x-oapi-codegen-extra-tags":{db:"metadata",yaml:"metadata"},"x-order":7,"x-go-type":"core.Map","x-go-type-skip-optional-pointer":true,type:"object"},updated_at:{"x-oapi-codegen-extra-tags":{db:"updated_at",yaml:"updated_at"},"x-order":8,type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},deleted_at:{"x-oapi-codegen-extra-tags":{db:"deleted_at",yaml:"deleted_at"},"x-go-type":"core.NullTime","x-go-import":"database/sql","x-order":9,type:"string",format:"date-time","x-go-type-skip-optional-pointer":true}}},"x-oapi-codegen-extra-tags":{db:"-",yaml:"environments",gorm:"-"},"x-go-type-skip-optional-pointer":true,"x-order":13},schemaVersion:{description:"Specifies the version of the schema used for the definition.","x-order":14,"x-oapi-codegen-extra-tags":{yaml:"schemaVersion",db:"-",gorm:"-"},default:"connections.meshery.io/v1beta1",type:"string",minLength:2,maxLength:100,pattern:"([a-z.])*(?!^/)v(alpha|beta|[0-9]+)([.-]*[a-z0-9]+)*$",example:["v1","v1alpha1","v2beta3","v1.custom-suffix"]}}},ConnectionPage:{$id:"https://schemas.meshery.io/component.yaml",$schema:"http://json-schema.org/draft-07/schema#",description:"Represents a page of connections with a meta information about connections number",additionalProperties:false,type:"object",required:["connections","total_count","page","page_size"],properties:{connections:{type:"array",items:{$id:"https://schemas.meshery.io/component.yaml",$schema:"http://json-schema.org/draft-07/schema#",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",additionalProperties:false,type:"object",required:["id","schemaVersion","name","type","sub_type","kind","status"],properties:{id:{description:"ID","x-order":1,"x-go-name":"ID","x-oapi-codegen-extra-tags":{db:"id",yaml:"id"},type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"}},name:{"x-oapi-codegen-extra-tags":{db:"name",yaml:"name"},"x-order":2,type:"string",description:"Connection Name"},credential_id:{"x-go-name":"CredentialID","x-oapi-codegen-extra-tags":{db:"credential_id",yaml:"credential_id"},"x-order":3,description:"Credential ID",type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"}},type:{"x-oapi-codegen-extra-tags":{db:"type",yaml:"type"},"x-order":4,type:"string",description:"Connection Type"},sub_type:{"x-oapi-codegen-extra-tags":{db:"sub_type",yaml:"sub_type"},"x-order":5,type:"string",description:"Connection Subtype"},kind:{"x-oapi-codegen-extra-tags":{db:"kind",yaml:"kind"},"x-order":6,type:"string",description:"Connection Kind"},metadata:{"x-oapi-codegen-extra-tags":{db:"metadata",yaml:"metadata"},"x-order":7,"x-go-type":"core.Map","x-go-type-skip-optional-pointer":true,type:"object"},status:{"x-oapi-codegen-extra-tags":{db:"status",yaml:"status"},"x-order":8,description:"Connection Status",type:"string",enum:["discovered","registered","connected","ignored","maintenance","disconnected","deleted","not found"]},user_id:{"x-go-name":"UserID","x-oapi-codegen-extra-tags":{db:"user_id",yaml:"user_id"},"x-order":9,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"}},created_at:{"x-oapi-codegen-extra-tags":{db:"created_at",yaml:"created_at"},"x-order":10,type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},updated_at:{"x-oapi-codegen-extra-tags":{db:"updated_at",yaml:"updated_at"},"x-order":11,type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},deleted_at:{"x-oapi-codegen-extra-tags":{db:"deleted_at",yaml:"deleted_at"},"x-go-type":"core.NullTime","x-order":12,type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},environments:{type:"array",items:{"x-go-type":"*environment.Environment",$id:"https://schemas.meshery.io/environment.yaml",$schema:"http://json-schema.org/draft-07/schema#",description:"Meshery Environments allow you to logically group related Connections and their associated Credentials.. Learn more at https://docs.meshery.io/concepts/logical/environments",additionalProperties:false,type:"object",required:["id","name","description","organization_id"],properties:{id:{description:"ID","x-order":1,"x-go-name":"ID","x-oapi-codegen-extra-tags":{db:"id",yaml:"id"},type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"}},name:{"x-oapi-codegen-extra-tags":{db:"name",yaml:"name"},"x-order":2,type:"string",description:"Environment name"},description:{"x-oapi-codegen-extra-tags":{db:"description",yaml:"description"},"x-order":3,type:"string",description:"Environment description"},organization_id:{"x-go-name":"OrganizationID","x-oapi-codegen-extra-tags":{db:"organization_id",yaml:"organization_id"},"x-order":4,description:"Environment organization ID",type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"}},owner:{"x-oapi-codegen-extra-tags":{db:"owner",yaml:"owner"},"x-order":5,description:"Environment owner",type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"}},created_at:{"x-oapi-codegen-extra-tags":{db:"created_at",yaml:"created_at"},"x-order":6,type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},metadata:{"x-oapi-codegen-extra-tags":{db:"metadata",yaml:"metadata"},"x-order":7,"x-go-type":"core.Map","x-go-type-skip-optional-pointer":true,type:"object"},updated_at:{"x-oapi-codegen-extra-tags":{db:"updated_at",yaml:"updated_at"},"x-order":8,type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},deleted_at:{"x-oapi-codegen-extra-tags":{db:"deleted_at",yaml:"deleted_at"},"x-go-type":"core.NullTime","x-go-import":"database/sql","x-order":9,type:"string",format:"date-time","x-go-type-skip-optional-pointer":true}}},"x-oapi-codegen-extra-tags":{db:"-",yaml:"environments",gorm:"-"},"x-go-type-skip-optional-pointer":true,"x-order":13},schemaVersion:{description:"Specifies the version of the schema used for the definition.","x-order":14,"x-oapi-codegen-extra-tags":{yaml:"schemaVersion",db:"-",gorm:"-"},default:"connections.meshery.io/v1beta1",type:"string",minLength:2,maxLength:100,pattern:"([a-z.])*(?!^/)v(alpha|beta|[0-9]+)([.-]*[a-z0-9]+)*$",example:["v1","v1alpha1","v2beta3","v1.custom-suffix"]}},"x-go-type":"*Connection"},"x-order":1},total_count:{type:"integer",description:"Total number of connections on all pages","x-order":2},page:{type:"integer",description:"Page number","x-order":3},page_size:{type:"integer",description:"Number of elements per page","x-order":4}}}}}},t=e;
2
+ export{t as default};
@@ -0,0 +1,307 @@
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/environments": {
7
+ /** Gets all environments */
8
+ get: operations["GetEnvironments"];
9
+ /** Creates a new environment */
10
+ post: operations["CreateEnvironment"];
11
+ };
12
+ }
13
+ interface components {
14
+ schemas: {
15
+ /** @description Meshery Environments allow you to logically group related Connections and their associated Credentials.. Learn more at https://docs.meshery.io/concepts/logical/environments */
16
+ environment: {
17
+ /**
18
+ * Format: uuid
19
+ * @description ID
20
+ */
21
+ id: string;
22
+ /** @description Environment name */
23
+ name: string;
24
+ /** @description Environment description */
25
+ description: string;
26
+ /**
27
+ * Format: uuid
28
+ * @description Environment organization ID
29
+ */
30
+ organization_id: string;
31
+ /**
32
+ * Format: uuid
33
+ * @description Environment owner
34
+ */
35
+ owner?: string;
36
+ /** Format: date-time */
37
+ created_at?: string;
38
+ metadata?: {
39
+ [key: string]: unknown;
40
+ };
41
+ /** Format: date-time */
42
+ updated_at?: string;
43
+ /** Format: date-time */
44
+ deleted_at?: string;
45
+ };
46
+ environmentConnectionMapping: {
47
+ /** Format: uuid */
48
+ ID?: string;
49
+ /** Format: uuid */
50
+ environment_id?: string;
51
+ /** Format: uuid */
52
+ connection_id?: string;
53
+ /** Format: date-time */
54
+ created_at?: string;
55
+ /** Format: date-time */
56
+ updated_at?: string;
57
+ /** @description SQL null Timestamp to handle null values of time. */
58
+ deleted_at?: string;
59
+ };
60
+ environmentPayload: {
61
+ /** @description An environment is a collection of resources. Provide a name that meaningfully represents these resources. You can change the name of the environment even after its creation. */
62
+ name: string;
63
+ /** @description An environment is a collection of resources, such as connections & credentail. Provide a detailed description to clarify the purpose of this environment and the types of resources it encompasses. You can modify the description at any Time. Learn more about environments [here](https://docs.meshery.io/concepts/logical/environments). */
64
+ description?: string;
65
+ /** @description Select an organization in which you want to create this new environment. Keep in mind that the organization cannot be changed after creation. */
66
+ OrganizationID?: string;
67
+ } & {
68
+ organizationID: unknown;
69
+ };
70
+ environmentPage: {
71
+ page?: number;
72
+ page_size?: number;
73
+ total_count?: number;
74
+ environments?: {
75
+ /**
76
+ * Format: uuid
77
+ * @description ID
78
+ */
79
+ id: string;
80
+ /** @description Environment name */
81
+ name: string;
82
+ /** @description Environment description */
83
+ description: string;
84
+ /**
85
+ * Format: uuid
86
+ * @description Environment organization ID
87
+ */
88
+ organization_id: string;
89
+ /**
90
+ * Format: uuid
91
+ * @description Environment owner
92
+ */
93
+ owner?: string;
94
+ /** Format: date-time */
95
+ created_at?: string;
96
+ metadata?: {
97
+ [key: string]: unknown;
98
+ };
99
+ /** Format: date-time */
100
+ updated_at?: string;
101
+ /** Format: date-time */
102
+ deleted_at?: string;
103
+ }[];
104
+ };
105
+ };
106
+ responses: {
107
+ /** ok */
108
+ 200: {
109
+ content: {
110
+ "text/plain": string;
111
+ };
112
+ };
113
+ /** Invalid request body or request param */
114
+ 400: {
115
+ content: {
116
+ "text/plain": string;
117
+ };
118
+ };
119
+ /** Expired JWT token used or insufficient privilege */
120
+ 401: {
121
+ content: {
122
+ "text/plain": string;
123
+ };
124
+ };
125
+ /** Internal server error */
126
+ 500: {
127
+ content: {
128
+ "text/plain": string;
129
+ };
130
+ };
131
+ };
132
+ parameters: {
133
+ /** @description Environment ID */
134
+ environmentId: string;
135
+ /** @description Get responses that match search param value */
136
+ search: string;
137
+ /** @description Get ordered responses */
138
+ order: string;
139
+ /** @description Get responses by page */
140
+ page: string;
141
+ /** @description Get responses by pagesize */
142
+ pagesize: string;
143
+ /** @description User's organization ID */
144
+ orgIDQuery: string;
145
+ };
146
+ requestBodies: {
147
+ /** Body for creating environment */
148
+ environmentPayload: {
149
+ content: {
150
+ "application/json": {
151
+ /** @description An environment is a collection of resources. Provide a name that meaningfully represents these resources. You can change the name of the environment even after its creation. */
152
+ name: string;
153
+ /** @description An environment is a collection of resources, such as connections & credentail. Provide a detailed description to clarify the purpose of this environment and the types of resources it encompasses. You can modify the description at any Time. Learn more about environments [here](https://docs.meshery.io/concepts/logical/environments). */
154
+ description?: string;
155
+ /** @description Select an organization in which you want to create this new environment. Keep in mind that the organization cannot be changed after creation. */
156
+ OrganizationID?: string;
157
+ } & {
158
+ organizationID: unknown;
159
+ };
160
+ };
161
+ };
162
+ };
163
+ }
164
+ interface operations {
165
+ /** Gets all environments */
166
+ GetEnvironments: {
167
+ parameters: {
168
+ query: {
169
+ /** Get responses that match search param value */
170
+ search?: string;
171
+ /** Get ordered responses */
172
+ order?: string;
173
+ /** Get responses by page */
174
+ page?: string;
175
+ /** Get responses by pagesize */
176
+ pagesize?: string;
177
+ /** User's organization ID */
178
+ orgID: string;
179
+ };
180
+ };
181
+ responses: {
182
+ /** Environments */
183
+ 200: {
184
+ content: {
185
+ "application/json": {
186
+ page?: number;
187
+ page_size?: number;
188
+ total_count?: number;
189
+ environments?: {
190
+ /**
191
+ * Format: uuid
192
+ * @description ID
193
+ */
194
+ id: string;
195
+ /** @description Environment name */
196
+ name: string;
197
+ /** @description Environment description */
198
+ description: string;
199
+ /**
200
+ * Format: uuid
201
+ * @description Environment organization ID
202
+ */
203
+ organization_id: string;
204
+ /**
205
+ * Format: uuid
206
+ * @description Environment owner
207
+ */
208
+ owner?: string;
209
+ /** Format: date-time */
210
+ created_at?: string;
211
+ metadata?: {
212
+ [key: string]: unknown;
213
+ };
214
+ /** Format: date-time */
215
+ updated_at?: string;
216
+ /** Format: date-time */
217
+ deleted_at?: string;
218
+ }[];
219
+ };
220
+ };
221
+ };
222
+ /** Expired JWT token used or insufficient privilege */
223
+ 401: {
224
+ content: {
225
+ "text/plain": string;
226
+ };
227
+ };
228
+ /** Internal server error */
229
+ 500: {
230
+ content: {
231
+ "text/plain": string;
232
+ };
233
+ };
234
+ };
235
+ };
236
+ /** Creates a new environment */
237
+ CreateEnvironment: {
238
+ responses: {
239
+ /** Created environment */
240
+ 201: {
241
+ content: {
242
+ "application/json": {
243
+ /**
244
+ * Format: uuid
245
+ * @description ID
246
+ */
247
+ id: string;
248
+ /** @description Environment name */
249
+ name: string;
250
+ /** @description Environment description */
251
+ description: string;
252
+ /**
253
+ * Format: uuid
254
+ * @description Environment organization ID
255
+ */
256
+ organization_id: string;
257
+ /**
258
+ * Format: uuid
259
+ * @description Environment owner
260
+ */
261
+ owner?: string;
262
+ /** Format: date-time */
263
+ created_at?: string;
264
+ metadata?: {
265
+ [key: string]: unknown;
266
+ };
267
+ /** Format: date-time */
268
+ updated_at?: string;
269
+ /** Format: date-time */
270
+ deleted_at?: string;
271
+ };
272
+ };
273
+ };
274
+ /** Invalid request body or request param */
275
+ 400: {
276
+ content: {
277
+ "text/plain": string;
278
+ };
279
+ };
280
+ /** Internal server error */
281
+ 500: {
282
+ content: {
283
+ "text/plain": string;
284
+ };
285
+ };
286
+ };
287
+ /** Body for creating environment */
288
+ requestBody: {
289
+ content: {
290
+ "application/json": {
291
+ /** @description An environment is a collection of resources. Provide a name that meaningfully represents these resources. You can change the name of the environment even after its creation. */
292
+ name: string;
293
+ /** @description An environment is a collection of resources, such as connections & credentail. Provide a detailed description to clarify the purpose of this environment and the types of resources it encompasses. You can modify the description at any Time. Learn more about environments [here](https://docs.meshery.io/concepts/logical/environments). */
294
+ description?: string;
295
+ /** @description Select an organization in which you want to create this new environment. Keep in mind that the organization cannot be changed after creation. */
296
+ OrganizationID?: string;
297
+ } & {
298
+ organizationID: unknown;
299
+ };
300
+ };
301
+ };
302
+ };
303
+ }
304
+ interface external {
305
+ }
306
+
307
+ export type { components, external, operations, paths };
@@ -0,0 +1,307 @@
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/environments": {
7
+ /** Gets all environments */
8
+ get: operations["GetEnvironments"];
9
+ /** Creates a new environment */
10
+ post: operations["CreateEnvironment"];
11
+ };
12
+ }
13
+ interface components {
14
+ schemas: {
15
+ /** @description Meshery Environments allow you to logically group related Connections and their associated Credentials.. Learn more at https://docs.meshery.io/concepts/logical/environments */
16
+ environment: {
17
+ /**
18
+ * Format: uuid
19
+ * @description ID
20
+ */
21
+ id: string;
22
+ /** @description Environment name */
23
+ name: string;
24
+ /** @description Environment description */
25
+ description: string;
26
+ /**
27
+ * Format: uuid
28
+ * @description Environment organization ID
29
+ */
30
+ organization_id: string;
31
+ /**
32
+ * Format: uuid
33
+ * @description Environment owner
34
+ */
35
+ owner?: string;
36
+ /** Format: date-time */
37
+ created_at?: string;
38
+ metadata?: {
39
+ [key: string]: unknown;
40
+ };
41
+ /** Format: date-time */
42
+ updated_at?: string;
43
+ /** Format: date-time */
44
+ deleted_at?: string;
45
+ };
46
+ environmentConnectionMapping: {
47
+ /** Format: uuid */
48
+ ID?: string;
49
+ /** Format: uuid */
50
+ environment_id?: string;
51
+ /** Format: uuid */
52
+ connection_id?: string;
53
+ /** Format: date-time */
54
+ created_at?: string;
55
+ /** Format: date-time */
56
+ updated_at?: string;
57
+ /** @description SQL null Timestamp to handle null values of time. */
58
+ deleted_at?: string;
59
+ };
60
+ environmentPayload: {
61
+ /** @description An environment is a collection of resources. Provide a name that meaningfully represents these resources. You can change the name of the environment even after its creation. */
62
+ name: string;
63
+ /** @description An environment is a collection of resources, such as connections & credentail. Provide a detailed description to clarify the purpose of this environment and the types of resources it encompasses. You can modify the description at any Time. Learn more about environments [here](https://docs.meshery.io/concepts/logical/environments). */
64
+ description?: string;
65
+ /** @description Select an organization in which you want to create this new environment. Keep in mind that the organization cannot be changed after creation. */
66
+ OrganizationID?: string;
67
+ } & {
68
+ organizationID: unknown;
69
+ };
70
+ environmentPage: {
71
+ page?: number;
72
+ page_size?: number;
73
+ total_count?: number;
74
+ environments?: {
75
+ /**
76
+ * Format: uuid
77
+ * @description ID
78
+ */
79
+ id: string;
80
+ /** @description Environment name */
81
+ name: string;
82
+ /** @description Environment description */
83
+ description: string;
84
+ /**
85
+ * Format: uuid
86
+ * @description Environment organization ID
87
+ */
88
+ organization_id: string;
89
+ /**
90
+ * Format: uuid
91
+ * @description Environment owner
92
+ */
93
+ owner?: string;
94
+ /** Format: date-time */
95
+ created_at?: string;
96
+ metadata?: {
97
+ [key: string]: unknown;
98
+ };
99
+ /** Format: date-time */
100
+ updated_at?: string;
101
+ /** Format: date-time */
102
+ deleted_at?: string;
103
+ }[];
104
+ };
105
+ };
106
+ responses: {
107
+ /** ok */
108
+ 200: {
109
+ content: {
110
+ "text/plain": string;
111
+ };
112
+ };
113
+ /** Invalid request body or request param */
114
+ 400: {
115
+ content: {
116
+ "text/plain": string;
117
+ };
118
+ };
119
+ /** Expired JWT token used or insufficient privilege */
120
+ 401: {
121
+ content: {
122
+ "text/plain": string;
123
+ };
124
+ };
125
+ /** Internal server error */
126
+ 500: {
127
+ content: {
128
+ "text/plain": string;
129
+ };
130
+ };
131
+ };
132
+ parameters: {
133
+ /** @description Environment ID */
134
+ environmentId: string;
135
+ /** @description Get responses that match search param value */
136
+ search: string;
137
+ /** @description Get ordered responses */
138
+ order: string;
139
+ /** @description Get responses by page */
140
+ page: string;
141
+ /** @description Get responses by pagesize */
142
+ pagesize: string;
143
+ /** @description User's organization ID */
144
+ orgIDQuery: string;
145
+ };
146
+ requestBodies: {
147
+ /** Body for creating environment */
148
+ environmentPayload: {
149
+ content: {
150
+ "application/json": {
151
+ /** @description An environment is a collection of resources. Provide a name that meaningfully represents these resources. You can change the name of the environment even after its creation. */
152
+ name: string;
153
+ /** @description An environment is a collection of resources, such as connections & credentail. Provide a detailed description to clarify the purpose of this environment and the types of resources it encompasses. You can modify the description at any Time. Learn more about environments [here](https://docs.meshery.io/concepts/logical/environments). */
154
+ description?: string;
155
+ /** @description Select an organization in which you want to create this new environment. Keep in mind that the organization cannot be changed after creation. */
156
+ OrganizationID?: string;
157
+ } & {
158
+ organizationID: unknown;
159
+ };
160
+ };
161
+ };
162
+ };
163
+ }
164
+ interface operations {
165
+ /** Gets all environments */
166
+ GetEnvironments: {
167
+ parameters: {
168
+ query: {
169
+ /** Get responses that match search param value */
170
+ search?: string;
171
+ /** Get ordered responses */
172
+ order?: string;
173
+ /** Get responses by page */
174
+ page?: string;
175
+ /** Get responses by pagesize */
176
+ pagesize?: string;
177
+ /** User's organization ID */
178
+ orgID: string;
179
+ };
180
+ };
181
+ responses: {
182
+ /** Environments */
183
+ 200: {
184
+ content: {
185
+ "application/json": {
186
+ page?: number;
187
+ page_size?: number;
188
+ total_count?: number;
189
+ environments?: {
190
+ /**
191
+ * Format: uuid
192
+ * @description ID
193
+ */
194
+ id: string;
195
+ /** @description Environment name */
196
+ name: string;
197
+ /** @description Environment description */
198
+ description: string;
199
+ /**
200
+ * Format: uuid
201
+ * @description Environment organization ID
202
+ */
203
+ organization_id: string;
204
+ /**
205
+ * Format: uuid
206
+ * @description Environment owner
207
+ */
208
+ owner?: string;
209
+ /** Format: date-time */
210
+ created_at?: string;
211
+ metadata?: {
212
+ [key: string]: unknown;
213
+ };
214
+ /** Format: date-time */
215
+ updated_at?: string;
216
+ /** Format: date-time */
217
+ deleted_at?: string;
218
+ }[];
219
+ };
220
+ };
221
+ };
222
+ /** Expired JWT token used or insufficient privilege */
223
+ 401: {
224
+ content: {
225
+ "text/plain": string;
226
+ };
227
+ };
228
+ /** Internal server error */
229
+ 500: {
230
+ content: {
231
+ "text/plain": string;
232
+ };
233
+ };
234
+ };
235
+ };
236
+ /** Creates a new environment */
237
+ CreateEnvironment: {
238
+ responses: {
239
+ /** Created environment */
240
+ 201: {
241
+ content: {
242
+ "application/json": {
243
+ /**
244
+ * Format: uuid
245
+ * @description ID
246
+ */
247
+ id: string;
248
+ /** @description Environment name */
249
+ name: string;
250
+ /** @description Environment description */
251
+ description: string;
252
+ /**
253
+ * Format: uuid
254
+ * @description Environment organization ID
255
+ */
256
+ organization_id: string;
257
+ /**
258
+ * Format: uuid
259
+ * @description Environment owner
260
+ */
261
+ owner?: string;
262
+ /** Format: date-time */
263
+ created_at?: string;
264
+ metadata?: {
265
+ [key: string]: unknown;
266
+ };
267
+ /** Format: date-time */
268
+ updated_at?: string;
269
+ /** Format: date-time */
270
+ deleted_at?: string;
271
+ };
272
+ };
273
+ };
274
+ /** Invalid request body or request param */
275
+ 400: {
276
+ content: {
277
+ "text/plain": string;
278
+ };
279
+ };
280
+ /** Internal server error */
281
+ 500: {
282
+ content: {
283
+ "text/plain": string;
284
+ };
285
+ };
286
+ };
287
+ /** Body for creating environment */
288
+ requestBody: {
289
+ content: {
290
+ "application/json": {
291
+ /** @description An environment is a collection of resources. Provide a name that meaningfully represents these resources. You can change the name of the environment even after its creation. */
292
+ name: string;
293
+ /** @description An environment is a collection of resources, such as connections & credentail. Provide a detailed description to clarify the purpose of this environment and the types of resources it encompasses. You can modify the description at any Time. Learn more about environments [here](https://docs.meshery.io/concepts/logical/environments). */
294
+ description?: string;
295
+ /** @description Select an organization in which you want to create this new environment. Keep in mind that the organization cannot be changed after creation. */
296
+ OrganizationID?: string;
297
+ } & {
298
+ organizationID: unknown;
299
+ };
300
+ };
301
+ };
302
+ };
303
+ }
304
+ interface external {
305
+ }
306
+
307
+ export type { components, external, operations, paths };
@@ -0,0 +1 @@
1
+ 'use strict';