@meshery/schemas 1.3.59 → 1.3.61

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 (85) hide show
  1. package/README.md +9 -1
  2. package/dist/cloudApi.d.mts +19652 -6718
  3. package/dist/cloudApi.d.ts +19652 -6718
  4. package/dist/cloudApi.js +1 -1
  5. package/dist/cloudApi.mjs +1 -1
  6. package/dist/constructs/v1beta1/feature/Feature.d.ts +10 -10
  7. package/dist/constructs/v1beta1/feature/FeatureSchema.js +1 -1
  8. package/dist/constructs/v1beta1/feature/FeatureSchema.mjs +1 -1
  9. package/dist/constructs/v1beta1/organization_smtp/OrganizationSmtp.d.ts +2 -2
  10. package/dist/constructs/v1beta1/organization_smtp/OrganizationSmtpSchema.js +1 -1
  11. package/dist/constructs/v1beta1/organization_smtp/OrganizationSmtpSchema.mjs +1 -1
  12. package/dist/constructs/v1beta1/registry/Registry.d.ts +6 -6
  13. package/dist/constructs/v1beta1/registry/RegistrySchema.js +3 -3
  14. package/dist/constructs/v1beta1/registry/RegistrySchema.mjs +3 -3
  15. package/dist/constructs/v1beta3/blowhorn_binding/BlowhornBinding.d.ts +462 -0
  16. package/dist/constructs/v1beta3/blowhorn_binding/BlowhornBinding.js +1 -0
  17. package/dist/constructs/v1beta3/blowhorn_binding/BlowhornBinding.mjs +0 -0
  18. package/dist/constructs/v1beta3/blowhorn_binding/BlowhornBindingSchema.d.ts +2 -0
  19. package/dist/constructs/v1beta3/blowhorn_binding/BlowhornBindingSchema.js +23 -0
  20. package/dist/constructs/v1beta3/blowhorn_binding/BlowhornBindingSchema.mjs +23 -0
  21. package/dist/constructs/v1beta3/blowhorn_content/BlowhornContent.d.ts +719 -0
  22. package/dist/constructs/v1beta3/blowhorn_content/BlowhornContent.js +1 -0
  23. package/dist/constructs/v1beta3/blowhorn_content/BlowhornContent.mjs +0 -0
  24. package/dist/constructs/v1beta3/blowhorn_content/BlowhornContentSchema.d.ts +2 -0
  25. package/dist/constructs/v1beta3/blowhorn_content/BlowhornContentSchema.js +43 -0
  26. package/dist/constructs/v1beta3/blowhorn_content/BlowhornContentSchema.mjs +43 -0
  27. package/dist/constructs/v1beta3/blowhorn_destination/BlowhornDestination.d.ts +516 -0
  28. package/dist/constructs/v1beta3/blowhorn_destination/BlowhornDestination.js +1 -0
  29. package/dist/constructs/v1beta3/blowhorn_destination/BlowhornDestination.mjs +0 -0
  30. package/dist/constructs/v1beta3/blowhorn_destination/BlowhornDestinationSchema.d.ts +2 -0
  31. package/dist/constructs/v1beta3/blowhorn_destination/BlowhornDestinationSchema.js +23 -0
  32. package/dist/constructs/v1beta3/blowhorn_destination/BlowhornDestinationSchema.mjs +23 -0
  33. package/dist/constructs/v1beta3/blowhorn_health/BlowhornHealth.d.ts +131 -0
  34. package/dist/constructs/v1beta3/blowhorn_health/BlowhornHealth.js +1 -0
  35. package/dist/constructs/v1beta3/blowhorn_health/BlowhornHealth.mjs +0 -0
  36. package/dist/constructs/v1beta3/blowhorn_health/BlowhornHealthSchema.d.ts +2 -0
  37. package/dist/constructs/v1beta3/blowhorn_health/BlowhornHealthSchema.js +7 -0
  38. package/dist/constructs/v1beta3/blowhorn_health/BlowhornHealthSchema.mjs +7 -0
  39. package/dist/constructs/v1beta3/blowhorn_ledger/BlowhornLedger.d.ts +1546 -0
  40. package/dist/constructs/v1beta3/blowhorn_ledger/BlowhornLedger.js +1 -0
  41. package/dist/constructs/v1beta3/blowhorn_ledger/BlowhornLedger.mjs +0 -0
  42. package/dist/constructs/v1beta3/blowhorn_ledger/BlowhornLedgerSchema.d.ts +2 -0
  43. package/dist/constructs/v1beta3/blowhorn_ledger/BlowhornLedgerSchema.js +69 -0
  44. package/dist/constructs/v1beta3/blowhorn_ledger/BlowhornLedgerSchema.mjs +69 -0
  45. package/dist/constructs/v1beta3/blowhorn_profile/BlowhornProfile.d.ts +776 -0
  46. package/dist/constructs/v1beta3/blowhorn_profile/BlowhornProfile.js +1 -0
  47. package/dist/constructs/v1beta3/blowhorn_profile/BlowhornProfile.mjs +0 -0
  48. package/dist/constructs/v1beta3/blowhorn_profile/BlowhornProfileSchema.d.ts +2 -0
  49. package/dist/constructs/v1beta3/blowhorn_profile/BlowhornProfileSchema.js +45 -0
  50. package/dist/constructs/v1beta3/blowhorn_profile/BlowhornProfileSchema.mjs +45 -0
  51. package/dist/constructs/v1beta3/blowhorn_run/BlowhornRun.d.ts +784 -0
  52. package/dist/constructs/v1beta3/blowhorn_run/BlowhornRun.js +1 -0
  53. package/dist/constructs/v1beta3/blowhorn_run/BlowhornRun.mjs +0 -0
  54. package/dist/constructs/v1beta3/blowhorn_run/BlowhornRunSchema.d.ts +2 -0
  55. package/dist/constructs/v1beta3/blowhorn_run/BlowhornRunSchema.js +51 -0
  56. package/dist/constructs/v1beta3/blowhorn_run/BlowhornRunSchema.mjs +51 -0
  57. package/dist/constructs/v1beta3/connection/Connection.d.ts +14 -14
  58. package/dist/constructs/v1beta3/connection/ConnectionSchema.js +1 -1
  59. package/dist/constructs/v1beta3/connection/ConnectionSchema.mjs +1 -1
  60. package/dist/constructs/v1beta3/environment/Environment.d.ts +12 -12
  61. package/dist/constructs/v1beta3/environment/EnvironmentSchema.js +1 -1
  62. package/dist/constructs/v1beta3/environment/EnvironmentSchema.mjs +1 -1
  63. package/dist/constructs/v1beta3/job_lease/JobLease.d.ts +2570 -0
  64. package/dist/constructs/v1beta3/job_lease/JobLease.js +1 -0
  65. package/dist/constructs/v1beta3/job_lease/JobLease.mjs +0 -0
  66. package/dist/constructs/v1beta3/job_lease/JobLeaseSchema.d.ts +2 -0
  67. package/dist/constructs/v1beta3/job_lease/JobLeaseSchema.js +83 -0
  68. package/dist/constructs/v1beta3/job_lease/JobLeaseSchema.mjs +83 -0
  69. package/dist/constructs/v1beta3/token/Token.d.ts +4 -2
  70. package/dist/constructs/v1beta3/token/TokenSchema.js +1 -1
  71. package/dist/constructs/v1beta3/token/TokenSchema.mjs +1 -1
  72. package/dist/constructs/v1beta3/workspace/Workspace.d.ts +2 -2
  73. package/dist/constructs/v1beta3/workspace/WorkspaceSchema.js +1 -1
  74. package/dist/constructs/v1beta3/workspace/WorkspaceSchema.mjs +1 -1
  75. package/dist/index.d.mts +6 -6
  76. package/dist/index.d.ts +6 -6
  77. package/dist/mesheryApi.d.mts +24 -24
  78. package/dist/mesheryApi.d.ts +24 -24
  79. package/dist/mesheryApi.js +1 -1
  80. package/dist/mesheryApi.mjs +1 -1
  81. package/dist/permissions.d.mts +211 -1
  82. package/dist/permissions.d.ts +211 -1
  83. package/dist/permissions.js +1 -1
  84. package/dist/permissions.mjs +1 -1
  85. package/package.json +2 -1
@@ -0,0 +1,23 @@
1
+ var e={openapi:"3.0.0",info:{title:"BlowhornDestination",description:`OpenAPI schema for Blowhorn destinations - named publishing targets
2
+ per platform, scoped by organization.
3
+ `,version:"v1beta3",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:"blowhornDestinations",description:"Operations related to Blowhorn destinations."}],paths:{"/api/blowhorn/destinations":{get:{"x-internal":["cloud"],tags:["blowhornDestinations"],summary:"List Blowhorn destinations",operationId:"listBlowhornDestinations",description:"Returns a paginated list of Blowhorn destinations in the organization of the authenticated session.",parameters:[{name:"page",in:"query",description:"Get responses by page",schema:{type:"integer",minimum:0}},{name:"pageSize",in:"query",description:"Number of items per page (canonical camelCase form).",schema:{type:"integer",minimum:1}},{name:"pagesize",in:"query",description:"Number of items per page. Deprecated alias of pageSize;\ncanonical `pageSize` wins when both are present.\n",deprecated:true,schema:{type:"integer",minimum:1}},{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"}},{name:"platform",in:"query",required:false,description:"Filter by target platform (e.g. linkedin).",schema:{type:"string"}}],responses:{200:{description:"Blowhorn destinations page",content:{"application/json":{schema:{type:"object",description:"Paginated collection of Blowhorn destinations.",properties:{page:{type:"integer",description:"Current page number of the result set.",minimum:0},pageSize:{type:"integer",description:"Number of items per page.",minimum:1},totalCount:{type:"integer",description:"Total number of items available.",minimum:0},blowhornDestinations:{type:"array",items:{"x-go-type":"BlowhornDestination",$schema:"http://json-schema.org/draft-07/schema#",title:"Blowhorn Destination Schema",description:`Server-returned Blowhorn destination as persisted by meshery-cloud. A
4
+ destination names where an organization publishes on a platform. An
5
+ environment reference may be attached later; destinations do not carry
6
+ one in this version.
7
+ `,type:"object",additionalProperties:false,required:["id","organizationId","platform","createdAt","updatedAt"],properties:{id:{description:"Server-generated Blowhorn destination ID.","x-order":1,type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"}},organizationId:{description:"Owning organization ID. Derived from the authenticated session, never client-settable.","x-go-name":"OrganizationID","x-oapi-codegen-extra-tags":{db:"organization_id"},"x-order":2,type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"}},name:{type:"string",description:"Human-readable destination name.",maxLength:255,"x-oapi-codegen-extra-tags":{db:"name"},"x-order":3},platform:{type:"string",description:"Target platform for the destination (e.g. linkedin).",minLength:1,maxLength:255,"x-oapi-codegen-extra-tags":{db:"platform"},"x-order":4},target:{type:"string",description:"Platform-side publishing target (page, group or channel identifier).",maxLength:1024,"x-oapi-codegen-extra-tags":{db:"target"},"x-order":5},settings:{type:"object",description:"Destination settings, stored as a JSON blob.","x-go-type":"core.Map","x-go-type-import":{path:"github.com/meshery/schemas/models/core",name:"core"},"x-go-type-skip-optional-pointer":true,"x-oapi-codegen-extra-tags":{db:"settings"},"x-order":6},createdAt:{description:"Timestamp of Blowhorn destination creation.","x-oapi-codegen-extra-tags":{db:"created_at"},"x-order":7,type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},updatedAt:{description:"Timestamp of last Blowhorn destination modification.","x-oapi-codegen-extra-tags":{db:"updated_at"},"x-order":8,type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},deletedAt:{type:"string",format:"date-time",description:"Timestamp when the Blowhorn destination was soft-deleted.",nullable:true,"x-go-type":"core.NullTime","x-go-type-import":{path:"github.com/meshery/schemas/models/core",name:"core"},"x-oapi-codegen-extra-tags":{db:"deleted_at",json:"deletedAt,omitempty"},"x-order":9}}},description:"Blowhorn destinations included on this page of results."}}}}}},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:["blowhornDestinations"],summary:"Upsert Blowhorn destination",operationId:"upsertBlowhornDestination",description:"Creates a new Blowhorn destination when no `id` is supplied, or\nupdates the entry matching the provided `id`. Ownership is\nderived from the authenticated session; any client-supplied\nowner is ignored.\n",requestBody:{required:true,content:{"application/json":{schema:{type:"object",description:"Payload for creating or updating a Blowhorn destination. Contains\nonly client-settable fields; the owning `organizationId` (derived\nfrom the authenticated session) and the server-generated\n`createdAt` / `updatedAt` timestamps are intentionally excluded.\n",required:["platform"],properties:{id:{description:"Existing Blowhorn destination ID for updates; omit on create.","x-oapi-codegen-extra-tags":{json:"id,omitempty"},type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"}},name:{type:"string",description:"Human-readable destination name.",maxLength:255},platform:{type:"string",description:"Target platform for the destination (e.g. linkedin).",minLength:1,maxLength:255},target:{type:"string",description:"Platform-side publishing target (page, group or channel identifier).",maxLength:1024},settings:{type:"object",description:"Destination settings, stored as a JSON blob.","x-go-type":"core.Map","x-go-type-import":{path:"github.com/meshery/schemas/models/core",name:"core"},"x-go-type-skip-optional-pointer":true}}}}}},responses:{200:{description:"Blowhorn destination saved",content:{"application/json":{schema:{$schema:"http://json-schema.org/draft-07/schema#",title:"Blowhorn Destination Schema",description:`Server-returned Blowhorn destination as persisted by meshery-cloud. A
8
+ destination names where an organization publishes on a platform. An
9
+ environment reference may be attached later; destinations do not carry
10
+ one in this version.
11
+ `,type:"object",additionalProperties:false,required:["id","organizationId","platform","createdAt","updatedAt"],properties:{id:{description:"Server-generated Blowhorn destination ID.","x-order":1,type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"}},organizationId:{description:"Owning organization ID. Derived from the authenticated session, never client-settable.","x-go-name":"OrganizationID","x-oapi-codegen-extra-tags":{db:"organization_id"},"x-order":2,type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"}},name:{type:"string",description:"Human-readable destination name.",maxLength:255,"x-oapi-codegen-extra-tags":{db:"name"},"x-order":3},platform:{type:"string",description:"Target platform for the destination (e.g. linkedin).",minLength:1,maxLength:255,"x-oapi-codegen-extra-tags":{db:"platform"},"x-order":4},target:{type:"string",description:"Platform-side publishing target (page, group or channel identifier).",maxLength:1024,"x-oapi-codegen-extra-tags":{db:"target"},"x-order":5},settings:{type:"object",description:"Destination settings, stored as a JSON blob.","x-go-type":"core.Map","x-go-type-import":{path:"github.com/meshery/schemas/models/core",name:"core"},"x-go-type-skip-optional-pointer":true,"x-oapi-codegen-extra-tags":{db:"settings"},"x-order":6},createdAt:{description:"Timestamp of Blowhorn destination creation.","x-oapi-codegen-extra-tags":{db:"created_at"},"x-order":7,type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},updatedAt:{description:"Timestamp of last Blowhorn destination modification.","x-oapi-codegen-extra-tags":{db:"updated_at"},"x-order":8,type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},deletedAt:{type:"string",format:"date-time",description:"Timestamp when the Blowhorn destination was soft-deleted.",nullable:true,"x-go-type":"core.NullTime","x-go-type-import":{path:"github.com/meshery/schemas/models/core",name:"core"},"x-oapi-codegen-extra-tags":{db:"deleted_at",json:"deletedAt,omitempty"},"x-order":9}}}}}},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/blowhorn/destinations/{blowhornDestinationId}":{get:{"x-internal":["cloud"],tags:["blowhornDestinations"],summary:"Get Blowhorn destination by ID",operationId:"getBlowhornDestination",parameters:[{name:"blowhornDestinationId",in:"path",description:"Blowhorn destination 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:"Blowhorn destination response",content:{"application/json":{schema:{$schema:"http://json-schema.org/draft-07/schema#",title:"Blowhorn Destination Schema",description:`Server-returned Blowhorn destination as persisted by meshery-cloud. A
12
+ destination names where an organization publishes on a platform. An
13
+ environment reference may be attached later; destinations do not carry
14
+ one in this version.
15
+ `,type:"object",additionalProperties:false,required:["id","organizationId","platform","createdAt","updatedAt"],properties:{id:{description:"Server-generated Blowhorn destination ID.","x-order":1,type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"}},organizationId:{description:"Owning organization ID. Derived from the authenticated session, never client-settable.","x-go-name":"OrganizationID","x-oapi-codegen-extra-tags":{db:"organization_id"},"x-order":2,type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"}},name:{type:"string",description:"Human-readable destination name.",maxLength:255,"x-oapi-codegen-extra-tags":{db:"name"},"x-order":3},platform:{type:"string",description:"Target platform for the destination (e.g. linkedin).",minLength:1,maxLength:255,"x-oapi-codegen-extra-tags":{db:"platform"},"x-order":4},target:{type:"string",description:"Platform-side publishing target (page, group or channel identifier).",maxLength:1024,"x-oapi-codegen-extra-tags":{db:"target"},"x-order":5},settings:{type:"object",description:"Destination settings, stored as a JSON blob.","x-go-type":"core.Map","x-go-type-import":{path:"github.com/meshery/schemas/models/core",name:"core"},"x-go-type-skip-optional-pointer":true,"x-oapi-codegen-extra-tags":{db:"settings"},"x-order":6},createdAt:{description:"Timestamp of Blowhorn destination creation.","x-oapi-codegen-extra-tags":{db:"created_at"},"x-order":7,type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},updatedAt:{description:"Timestamp of last Blowhorn destination modification.","x-oapi-codegen-extra-tags":{db:"updated_at"},"x-order":8,type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},deletedAt:{type:"string",format:"date-time",description:"Timestamp when the Blowhorn destination was soft-deleted.",nullable:true,"x-go-type":"core.NullTime","x-go-type-import":{path:"github.com/meshery/schemas/models/core",name:"core"},"x-oapi-codegen-extra-tags":{db:"deleted_at",json:"deletedAt,omitempty"},"x-order":9}}}}}},400:{description:"Invalid request body or request param",content:{"text/plain":{schema:{type:"string"}}}},401:{description:"Expired JWT token used or insufficient privilege",content:{"text/plain":{schema:{type:"string"}}}},404:{description:"Result not found",content:{"text/plain":{schema:{type:"string"}}}},500:{description:"Internal server error",content:{"text/plain":{schema:{type:"string"}}}}}}}},components:{securitySchemes:{jwt:{type:"http",scheme:"Bearer [REDACTED]",bearerFormat:"JWT"}},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:{blowhornDestinationId:{name:"blowhornDestinationId",in:"path",description:"Blowhorn destination 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:"integer",minimum:0}},pageSize:{name:"pageSize",in:"query",description:"Number of items per page (canonical camelCase form).",schema:{type:"integer",minimum:1}},pagesize:{name:"pagesize",in:"query",description:"Number of items per page. Deprecated alias of pageSize;\ncanonical `pageSize` wins when both are present.\n",deprecated:true,schema:{type:"integer",minimum:1}},search:{name:"search",in:"query",description:"Get responses that match search param value",schema:{type:"string"}},order:{name:"order",in:"query",description:"Get ordered responses",schema:{type:"string"}}},schemas:{BlowhornDestination:{$schema:"http://json-schema.org/draft-07/schema#",title:"Blowhorn Destination Schema",description:`Server-returned Blowhorn destination as persisted by meshery-cloud. A
16
+ destination names where an organization publishes on a platform. An
17
+ environment reference may be attached later; destinations do not carry
18
+ one in this version.
19
+ `,type:"object",additionalProperties:false,required:["id","organizationId","platform","createdAt","updatedAt"],properties:{id:{description:"Server-generated Blowhorn destination ID.","x-order":1,type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"}},organizationId:{description:"Owning organization ID. Derived from the authenticated session, never client-settable.","x-go-name":"OrganizationID","x-oapi-codegen-extra-tags":{db:"organization_id"},"x-order":2,type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"}},name:{type:"string",description:"Human-readable destination name.",maxLength:255,"x-oapi-codegen-extra-tags":{db:"name"},"x-order":3},platform:{type:"string",description:"Target platform for the destination (e.g. linkedin).",minLength:1,maxLength:255,"x-oapi-codegen-extra-tags":{db:"platform"},"x-order":4},target:{type:"string",description:"Platform-side publishing target (page, group or channel identifier).",maxLength:1024,"x-oapi-codegen-extra-tags":{db:"target"},"x-order":5},settings:{type:"object",description:"Destination settings, stored as a JSON blob.","x-go-type":"core.Map","x-go-type-import":{path:"github.com/meshery/schemas/models/core",name:"core"},"x-go-type-skip-optional-pointer":true,"x-oapi-codegen-extra-tags":{db:"settings"},"x-order":6},createdAt:{description:"Timestamp of Blowhorn destination creation.","x-oapi-codegen-extra-tags":{db:"created_at"},"x-order":7,type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},updatedAt:{description:"Timestamp of last Blowhorn destination modification.","x-oapi-codegen-extra-tags":{db:"updated_at"},"x-order":8,type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},deletedAt:{type:"string",format:"date-time",description:"Timestamp when the Blowhorn destination was soft-deleted.",nullable:true,"x-go-type":"core.NullTime","x-go-type-import":{path:"github.com/meshery/schemas/models/core",name:"core"},"x-oapi-codegen-extra-tags":{db:"deleted_at",json:"deletedAt,omitempty"},"x-order":9}}},BlowhornDestinationPayload:{type:"object",description:"Payload for creating or updating a Blowhorn destination. Contains\nonly client-settable fields; the owning `organizationId` (derived\nfrom the authenticated session) and the server-generated\n`createdAt` / `updatedAt` timestamps are intentionally excluded.\n",required:["platform"],properties:{id:{description:"Existing Blowhorn destination ID for updates; omit on create.","x-oapi-codegen-extra-tags":{json:"id,omitempty"},type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"}},name:{type:"string",description:"Human-readable destination name.",maxLength:255},platform:{type:"string",description:"Target platform for the destination (e.g. linkedin).",minLength:1,maxLength:255},target:{type:"string",description:"Platform-side publishing target (page, group or channel identifier).",maxLength:1024},settings:{type:"object",description:"Destination settings, stored as a JSON blob.","x-go-type":"core.Map","x-go-type-import":{path:"github.com/meshery/schemas/models/core",name:"core"},"x-go-type-skip-optional-pointer":true}}},BlowhornDestinationPage:{type:"object",description:"Paginated collection of Blowhorn destinations.",properties:{page:{type:"integer",description:"Current page number of the result set.",minimum:0},pageSize:{type:"integer",description:"Number of items per page.",minimum:1},totalCount:{type:"integer",description:"Total number of items available.",minimum:0},blowhornDestinations:{type:"array",items:{"x-go-type":"BlowhornDestination",$schema:"http://json-schema.org/draft-07/schema#",title:"Blowhorn Destination Schema",description:`Server-returned Blowhorn destination as persisted by meshery-cloud. A
20
+ destination names where an organization publishes on a platform. An
21
+ environment reference may be attached later; destinations do not carry
22
+ one in this version.
23
+ `,type:"object",additionalProperties:false,required:["id","organizationId","platform","createdAt","updatedAt"],properties:{id:{description:"Server-generated Blowhorn destination ID.","x-order":1,type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"}},organizationId:{description:"Owning organization ID. Derived from the authenticated session, never client-settable.","x-go-name":"OrganizationID","x-oapi-codegen-extra-tags":{db:"organization_id"},"x-order":2,type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"}},name:{type:"string",description:"Human-readable destination name.",maxLength:255,"x-oapi-codegen-extra-tags":{db:"name"},"x-order":3},platform:{type:"string",description:"Target platform for the destination (e.g. linkedin).",minLength:1,maxLength:255,"x-oapi-codegen-extra-tags":{db:"platform"},"x-order":4},target:{type:"string",description:"Platform-side publishing target (page, group or channel identifier).",maxLength:1024,"x-oapi-codegen-extra-tags":{db:"target"},"x-order":5},settings:{type:"object",description:"Destination settings, stored as a JSON blob.","x-go-type":"core.Map","x-go-type-import":{path:"github.com/meshery/schemas/models/core",name:"core"},"x-go-type-skip-optional-pointer":true,"x-oapi-codegen-extra-tags":{db:"settings"},"x-order":6},createdAt:{description:"Timestamp of Blowhorn destination creation.","x-oapi-codegen-extra-tags":{db:"created_at"},"x-order":7,type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},updatedAt:{description:"Timestamp of last Blowhorn destination modification.","x-oapi-codegen-extra-tags":{db:"updated_at"},"x-order":8,type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},deletedAt:{type:"string",format:"date-time",description:"Timestamp when the Blowhorn destination was soft-deleted.",nullable:true,"x-go-type":"core.NullTime","x-go-type-import":{path:"github.com/meshery/schemas/models/core",name:"core"},"x-oapi-codegen-extra-tags":{db:"deleted_at",json:"deletedAt,omitempty"},"x-order":9}}},description:"Blowhorn destinations included on this page of results."}}}}}},t=e;export{t as default};
@@ -0,0 +1,131 @@
1
+ /**
2
+ * This file was auto-generated by openapi-typescript.
3
+ * Do not make direct changes to the file.
4
+ */
5
+
6
+ export interface paths {
7
+ "/api/blowhorn/health": {
8
+ parameters: {
9
+ query?: never;
10
+ header?: never;
11
+ path?: never;
12
+ cookie?: never;
13
+ };
14
+ /**
15
+ * Get Blowhorn health
16
+ * @description Returns the frozen Blowhorn contract version and whether the
17
+ * organization of the authenticated session is bound. Migrations move
18
+ * server-side; this endpoint reports the contract the server speaks.
19
+ */
20
+ get: operations["getBlowhornHealth"];
21
+ put?: never;
22
+ post?: never;
23
+ delete?: never;
24
+ options?: never;
25
+ head?: never;
26
+ patch?: never;
27
+ trace?: never;
28
+ };
29
+ }
30
+ export type webhooks = Record<string, never>;
31
+ export interface components {
32
+ schemas: {
33
+ /** @description Blowhorn contract version and organization binding status. */
34
+ BlowhornHealth: {
35
+ /** @description Frozen Blowhorn contract version the server speaks. */
36
+ contractVersion: string;
37
+ /** @description Whether the organization is bound for Blowhorn operations. */
38
+ bound: boolean;
39
+ /**
40
+ * Format: uuid
41
+ * @description Organization whose binding was checked.
42
+ */
43
+ organizationId?: string;
44
+ /**
45
+ * Format: date-time
46
+ * @description Time the binding was checked.
47
+ */
48
+ checkedAt?: string;
49
+ };
50
+ };
51
+ responses: {
52
+ /** @description Expired JWT token used or insufficient privilege */
53
+ 401: {
54
+ headers: {
55
+ [name: string]: unknown;
56
+ };
57
+ content: {
58
+ "text/plain": string;
59
+ };
60
+ };
61
+ /** @description Internal server error */
62
+ 500: {
63
+ headers: {
64
+ [name: string]: unknown;
65
+ };
66
+ content: {
67
+ "text/plain": string;
68
+ };
69
+ };
70
+ };
71
+ parameters: never;
72
+ requestBodies: never;
73
+ headers: never;
74
+ pathItems: never;
75
+ }
76
+ export type $defs = Record<string, never>;
77
+ export interface operations {
78
+ getBlowhornHealth: {
79
+ parameters: {
80
+ query?: never;
81
+ header?: never;
82
+ path?: never;
83
+ cookie?: never;
84
+ };
85
+ requestBody?: never;
86
+ responses: {
87
+ /** @description Blowhorn health response */
88
+ 200: {
89
+ headers: {
90
+ [name: string]: unknown;
91
+ };
92
+ content: {
93
+ "application/json": {
94
+ /** @description Frozen Blowhorn contract version the server speaks. */
95
+ contractVersion: string;
96
+ /** @description Whether the organization is bound for Blowhorn operations. */
97
+ bound: boolean;
98
+ /**
99
+ * Format: uuid
100
+ * @description Organization whose binding was checked.
101
+ */
102
+ organizationId?: string;
103
+ /**
104
+ * Format: date-time
105
+ * @description Time the binding was checked.
106
+ */
107
+ checkedAt?: string;
108
+ };
109
+ };
110
+ };
111
+ /** @description Expired JWT token used or insufficient privilege */
112
+ 401: {
113
+ headers: {
114
+ [name: string]: unknown;
115
+ };
116
+ content: {
117
+ "text/plain": string;
118
+ };
119
+ };
120
+ /** @description Internal server error */
121
+ 500: {
122
+ headers: {
123
+ [name: string]: unknown;
124
+ };
125
+ content: {
126
+ "text/plain": string;
127
+ };
128
+ };
129
+ };
130
+ };
131
+ }
@@ -0,0 +1,2 @@
1
+ declare const BlowhornHealthSchema: Record<string, unknown>;
2
+ export default BlowhornHealthSchema;
@@ -0,0 +1,7 @@
1
+ 'use strict';var e={openapi:"3.0.0",info:{title:"BlowhornHealth",description:`OpenAPI schema for the Blowhorn health probe - the frozen contract
2
+ version plus the organization binding check. Read-only; carries no
3
+ payload and no template.
4
+ `,version:"v1beta3",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:"blowhornHealth",description:"Operations related to Blowhorn health."}],paths:{"/api/blowhorn/health":{get:{"x-internal":["cloud"],tags:["blowhornHealth"],summary:"Get Blowhorn health",operationId:"getBlowhornHealth",description:`Returns the frozen Blowhorn contract version and whether the
5
+ organization of the authenticated session is bound. Migrations move
6
+ server-side; this endpoint reports the contract the server speaks.
7
+ `,responses:{200:{description:"Blowhorn health response",content:{"application/json":{schema:{type:"object",description:"Blowhorn contract version and organization binding status.",additionalProperties:false,required:["contractVersion","bound"],properties:{contractVersion:{type:"string",description:"Frozen Blowhorn contract version the server speaks.",minLength:1,maxLength:255},bound:{type:"boolean",description:"Whether the organization is bound for Blowhorn operations."},organizationId:{description:"Organization whose binding was checked.","x-go-name":"OrganizationID",type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"}},checkedAt:{description:"Time the binding was checked.",type:"string",format:"date-time","x-go-type-skip-optional-pointer":true}}}}}},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"}}}}}}}},components:{securitySchemes:{jwt:{type:"http",scheme:"Bearer [REDACTED]",bearerFormat:"JWT"}},responses:{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"}}}}},schemas:{BlowhornHealth:{type:"object",description:"Blowhorn contract version and organization binding status.",additionalProperties:false,required:["contractVersion","bound"],properties:{contractVersion:{type:"string",description:"Frozen Blowhorn contract version the server speaks.",minLength:1,maxLength:255},bound:{type:"boolean",description:"Whether the organization is bound for Blowhorn operations."},organizationId:{description:"Organization whose binding was checked.","x-go-name":"OrganizationID",type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"}},checkedAt:{description:"Time the binding was checked.",type:"string",format:"date-time","x-go-type-skip-optional-pointer":true}}}}}},t=e;module.exports=t;
@@ -0,0 +1,7 @@
1
+ var e={openapi:"3.0.0",info:{title:"BlowhornHealth",description:`OpenAPI schema for the Blowhorn health probe - the frozen contract
2
+ version plus the organization binding check. Read-only; carries no
3
+ payload and no template.
4
+ `,version:"v1beta3",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:"blowhornHealth",description:"Operations related to Blowhorn health."}],paths:{"/api/blowhorn/health":{get:{"x-internal":["cloud"],tags:["blowhornHealth"],summary:"Get Blowhorn health",operationId:"getBlowhornHealth",description:`Returns the frozen Blowhorn contract version and whether the
5
+ organization of the authenticated session is bound. Migrations move
6
+ server-side; this endpoint reports the contract the server speaks.
7
+ `,responses:{200:{description:"Blowhorn health response",content:{"application/json":{schema:{type:"object",description:"Blowhorn contract version and organization binding status.",additionalProperties:false,required:["contractVersion","bound"],properties:{contractVersion:{type:"string",description:"Frozen Blowhorn contract version the server speaks.",minLength:1,maxLength:255},bound:{type:"boolean",description:"Whether the organization is bound for Blowhorn operations."},organizationId:{description:"Organization whose binding was checked.","x-go-name":"OrganizationID",type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"}},checkedAt:{description:"Time the binding was checked.",type:"string",format:"date-time","x-go-type-skip-optional-pointer":true}}}}}},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"}}}}}}}},components:{securitySchemes:{jwt:{type:"http",scheme:"Bearer [REDACTED]",bearerFormat:"JWT"}},responses:{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"}}}}},schemas:{BlowhornHealth:{type:"object",description:"Blowhorn contract version and organization binding status.",additionalProperties:false,required:["contractVersion","bound"],properties:{contractVersion:{type:"string",description:"Frozen Blowhorn contract version the server speaks.",minLength:1,maxLength:255},bound:{type:"boolean",description:"Whether the organization is bound for Blowhorn operations."},organizationId:{description:"Organization whose binding was checked.","x-go-name":"OrganizationID",type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"}},checkedAt:{description:"Time the binding was checked.",type:"string",format:"date-time","x-go-type-skip-optional-pointer":true}}}}}},t=e;export{t as default};