@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,2 @@
1
+ declare const BlowhornProfileSchema: Record<string, unknown>;
2
+ export default BlowhornProfileSchema;
@@ -0,0 +1,45 @@
1
+ 'use strict';var e={openapi:"3.0.0",info:{title:"BlowhornProfile",description:`OpenAPI schema for Blowhorn profiles - subject-to-slug records with
2
+ free-form attributes, scoped by organization and keyed by subject.
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:"blowhornProfiles",description:"Operations related to Blowhorn profiles."}],paths:{"/api/blowhorn/profiles":{get:{"x-internal":["cloud"],tags:["blowhornProfiles"],summary:"List Blowhorn profiles",operationId:"listBlowhornProfiles",description:"Returns a paginated list of Blowhorn profiles 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"}}],responses:{200:{description:"Blowhorn profiles page",content:{"application/json":{schema:{type:"object",description:"Paginated collection of Blowhorn profiles.",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},blowhornProfiles:{type:"array",items:{"x-go-type":"BlowhornProfile",$schema:"http://json-schema.org/draft-07/schema#",title:"Blowhorn Profile Schema",description:`Server-returned Blowhorn profile as persisted by meshery-cloud. A profile
4
+ binds a subject to a slug with free-form attributes, scoped by
5
+ organization and keyed by subject. Subject-to-slug resolution stays
6
+ Blowhorn-side; organization, user and team identity are reused from the
7
+ existing constructs. Profiles soft-delete, and renames are guarded
8
+ server-side.
9
+ `,type:"object",additionalProperties:false,required:["id","organizationId","subject","slug","createdAt","updatedAt"],properties:{id:{description:"Server-generated Blowhorn profile 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"}},subject:{type:"string",description:"Subject the profile is keyed by.",minLength:1,maxLength:255,"x-oapi-codegen-extra-tags":{db:"subject"},"x-order":3},slug:{type:"string",description:"Unique slug for the profile within the organization. Renames are guarded server-side.",minLength:1,maxLength:255,"x-oapi-codegen-extra-tags":{db:"slug"},"x-order":4},attributes:{type:"object",description:"Free-form profile attributes, 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:"attributes"},"x-order":5},createdAt:{description:"Timestamp of Blowhorn profile creation.","x-oapi-codegen-extra-tags":{db:"created_at"},"x-order":6,type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},updatedAt:{description:"Timestamp of last Blowhorn profile modification.","x-oapi-codegen-extra-tags":{db:"updated_at"},"x-order":7,type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},deletedAt:{type:"string",format:"date-time",description:"Timestamp when the Blowhorn profile 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":8}}},description:"Blowhorn profiles 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:["blowhornProfiles"],summary:"Upsert Blowhorn profile",operationId:"upsertBlowhornProfile",description:"Creates a new Blowhorn profile 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. Slug renames are guarded server-side.\n",requestBody:{required:true,content:{"application/json":{schema:{type:"object",description:"Payload for creating or updating a Blowhorn profile. 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:["subject","slug"],properties:{id:{description:"Existing Blowhorn profile 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"}},subject:{type:"string",description:"Subject the profile is keyed by.",minLength:1,maxLength:255},slug:{type:"string",description:"Unique slug for the profile within the organization. Renames are guarded server-side.",minLength:1,maxLength:255},attributes:{type:"object",description:"Free-form profile attributes, 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 profile saved",content:{"application/json":{schema:{$schema:"http://json-schema.org/draft-07/schema#",title:"Blowhorn Profile Schema",description:`Server-returned Blowhorn profile as persisted by meshery-cloud. A profile
10
+ binds a subject to a slug with free-form attributes, scoped by
11
+ organization and keyed by subject. Subject-to-slug resolution stays
12
+ Blowhorn-side; organization, user and team identity are reused from the
13
+ existing constructs. Profiles soft-delete, and renames are guarded
14
+ server-side.
15
+ `,type:"object",additionalProperties:false,required:["id","organizationId","subject","slug","createdAt","updatedAt"],properties:{id:{description:"Server-generated Blowhorn profile 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"}},subject:{type:"string",description:"Subject the profile is keyed by.",minLength:1,maxLength:255,"x-oapi-codegen-extra-tags":{db:"subject"},"x-order":3},slug:{type:"string",description:"Unique slug for the profile within the organization. Renames are guarded server-side.",minLength:1,maxLength:255,"x-oapi-codegen-extra-tags":{db:"slug"},"x-order":4},attributes:{type:"object",description:"Free-form profile attributes, 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:"attributes"},"x-order":5},createdAt:{description:"Timestamp of Blowhorn profile creation.","x-oapi-codegen-extra-tags":{db:"created_at"},"x-order":6,type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},updatedAt:{description:"Timestamp of last Blowhorn profile modification.","x-oapi-codegen-extra-tags":{db:"updated_at"},"x-order":7,type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},deletedAt:{type:"string",format:"date-time",description:"Timestamp when the Blowhorn profile 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":8}}}}}},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/profiles/by-subject":{get:{"x-internal":["cloud"],tags:["blowhornProfiles"],summary:"Get Blowhorn profile by subject",operationId:"getBlowhornProfileBySubject",description:"Returns the Blowhorn profile keyed by the given subject within the organization of the authenticated session.",parameters:[{name:"subject",in:"query",required:true,description:"Subject the profile is keyed by.",schema:{type:"string"}}],responses:{200:{description:"Blowhorn profile response",content:{"application/json":{schema:{$schema:"http://json-schema.org/draft-07/schema#",title:"Blowhorn Profile Schema",description:`Server-returned Blowhorn profile as persisted by meshery-cloud. A profile
16
+ binds a subject to a slug with free-form attributes, scoped by
17
+ organization and keyed by subject. Subject-to-slug resolution stays
18
+ Blowhorn-side; organization, user and team identity are reused from the
19
+ existing constructs. Profiles soft-delete, and renames are guarded
20
+ server-side.
21
+ `,type:"object",additionalProperties:false,required:["id","organizationId","subject","slug","createdAt","updatedAt"],properties:{id:{description:"Server-generated Blowhorn profile 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"}},subject:{type:"string",description:"Subject the profile is keyed by.",minLength:1,maxLength:255,"x-oapi-codegen-extra-tags":{db:"subject"},"x-order":3},slug:{type:"string",description:"Unique slug for the profile within the organization. Renames are guarded server-side.",minLength:1,maxLength:255,"x-oapi-codegen-extra-tags":{db:"slug"},"x-order":4},attributes:{type:"object",description:"Free-form profile attributes, 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:"attributes"},"x-order":5},createdAt:{description:"Timestamp of Blowhorn profile creation.","x-oapi-codegen-extra-tags":{db:"created_at"},"x-order":6,type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},updatedAt:{description:"Timestamp of last Blowhorn profile modification.","x-oapi-codegen-extra-tags":{db:"updated_at"},"x-order":7,type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},deletedAt:{type:"string",format:"date-time",description:"Timestamp when the Blowhorn profile 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":8}}}}}},400:{description:"Invalid request body or request param",content:{"text/plain":{schema:{type:"string"}}}},401:{description:"Expired JWT token used or insufficient privilege",content:{"text/plain":{schema:{type:"string"}}}},404:{description:"Result not found",content:{"text/plain":{schema:{type:"string"}}}},500:{description:"Internal server error",content:{"text/plain":{schema:{type:"string"}}}}}}},"/api/blowhorn/profiles/{blowhornProfileId}":{get:{"x-internal":["cloud"],tags:["blowhornProfiles"],summary:"Get Blowhorn profile by ID",operationId:"getBlowhornProfile",parameters:[{name:"blowhornProfileId",in:"path",description:"Blowhorn profile 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 profile response",content:{"application/json":{schema:{$schema:"http://json-schema.org/draft-07/schema#",title:"Blowhorn Profile Schema",description:`Server-returned Blowhorn profile as persisted by meshery-cloud. A profile
22
+ binds a subject to a slug with free-form attributes, scoped by
23
+ organization and keyed by subject. Subject-to-slug resolution stays
24
+ Blowhorn-side; organization, user and team identity are reused from the
25
+ existing constructs. Profiles soft-delete, and renames are guarded
26
+ server-side.
27
+ `,type:"object",additionalProperties:false,required:["id","organizationId","subject","slug","createdAt","updatedAt"],properties:{id:{description:"Server-generated Blowhorn profile 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"}},subject:{type:"string",description:"Subject the profile is keyed by.",minLength:1,maxLength:255,"x-oapi-codegen-extra-tags":{db:"subject"},"x-order":3},slug:{type:"string",description:"Unique slug for the profile within the organization. Renames are guarded server-side.",minLength:1,maxLength:255,"x-oapi-codegen-extra-tags":{db:"slug"},"x-order":4},attributes:{type:"object",description:"Free-form profile attributes, 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:"attributes"},"x-order":5},createdAt:{description:"Timestamp of Blowhorn profile creation.","x-oapi-codegen-extra-tags":{db:"created_at"},"x-order":6,type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},updatedAt:{description:"Timestamp of last Blowhorn profile modification.","x-oapi-codegen-extra-tags":{db:"updated_at"},"x-order":7,type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},deletedAt:{type:"string",format:"date-time",description:"Timestamp when the Blowhorn profile 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":8}}}}}},400:{description:"Invalid request body or request param",content:{"text/plain":{schema:{type:"string"}}}},401:{description:"Expired JWT token used or insufficient privilege",content:{"text/plain":{schema:{type:"string"}}}},404:{description:"Result not found",content:{"text/plain":{schema:{type:"string"}}}},500:{description:"Internal server error",content:{"text/plain":{schema:{type:"string"}}}}}},put:{"x-internal":["cloud"],tags:["blowhornProfiles"],summary:"Update Blowhorn profile",operationId:"updateBlowhornProfile",description:"Updates the Blowhorn profile matching the path ID. Slug renames are guarded server-side.",parameters:[{name:"blowhornProfileId",in:"path",description:"Blowhorn profile ID",required:true,schema:{type:"string",format:"uuid",description:"A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"}}}],requestBody:{required:true,content:{"application/json":{schema:{type:"object",description:"Payload for creating or updating a Blowhorn profile. 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:["subject","slug"],properties:{id:{description:"Existing Blowhorn profile 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"}},subject:{type:"string",description:"Subject the profile is keyed by.",minLength:1,maxLength:255},slug:{type:"string",description:"Unique slug for the profile within the organization. Renames are guarded server-side.",minLength:1,maxLength:255},attributes:{type:"object",description:"Free-form profile attributes, 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 profile updated",content:{"application/json":{schema:{$schema:"http://json-schema.org/draft-07/schema#",title:"Blowhorn Profile Schema",description:`Server-returned Blowhorn profile as persisted by meshery-cloud. A profile
28
+ binds a subject to a slug with free-form attributes, scoped by
29
+ organization and keyed by subject. Subject-to-slug resolution stays
30
+ Blowhorn-side; organization, user and team identity are reused from the
31
+ existing constructs. Profiles soft-delete, and renames are guarded
32
+ server-side.
33
+ `,type:"object",additionalProperties:false,required:["id","organizationId","subject","slug","createdAt","updatedAt"],properties:{id:{description:"Server-generated Blowhorn profile 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"}},subject:{type:"string",description:"Subject the profile is keyed by.",minLength:1,maxLength:255,"x-oapi-codegen-extra-tags":{db:"subject"},"x-order":3},slug:{type:"string",description:"Unique slug for the profile within the organization. Renames are guarded server-side.",minLength:1,maxLength:255,"x-oapi-codegen-extra-tags":{db:"slug"},"x-order":4},attributes:{type:"object",description:"Free-form profile attributes, 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:"attributes"},"x-order":5},createdAt:{description:"Timestamp of Blowhorn profile creation.","x-oapi-codegen-extra-tags":{db:"created_at"},"x-order":6,type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},updatedAt:{description:"Timestamp of last Blowhorn profile modification.","x-oapi-codegen-extra-tags":{db:"updated_at"},"x-order":7,type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},deletedAt:{type:"string",format:"date-time",description:"Timestamp when the Blowhorn profile 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":8}}}}}},400:{description:"Invalid request body or request param",content:{"text/plain":{schema:{type:"string"}}}},401:{description:"Expired JWT token used or insufficient privilege",content:{"text/plain":{schema:{type:"string"}}}},404:{description:"Result not found",content:{"text/plain":{schema:{type:"string"}}}},500:{description:"Internal server error",content:{"text/plain":{schema:{type:"string"}}}}}},delete:{"x-internal":["cloud"],tags:["blowhornProfiles"],summary:"Delete Blowhorn profile",operationId:"deleteBlowhornProfile",description:"Soft-deletes the Blowhorn profile.",parameters:[{name:"blowhornProfileId",in:"path",description:"Blowhorn profile ID",required:true,schema:{type:"string",format:"uuid",description:"A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"}}}],responses:{204:{description:"Blowhorn profile deleted"},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:{blowhornProfileId:{name:"blowhornProfileId",in:"path",description:"Blowhorn profile 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:{BlowhornProfile:{$schema:"http://json-schema.org/draft-07/schema#",title:"Blowhorn Profile Schema",description:`Server-returned Blowhorn profile as persisted by meshery-cloud. A profile
34
+ binds a subject to a slug with free-form attributes, scoped by
35
+ organization and keyed by subject. Subject-to-slug resolution stays
36
+ Blowhorn-side; organization, user and team identity are reused from the
37
+ existing constructs. Profiles soft-delete, and renames are guarded
38
+ server-side.
39
+ `,type:"object",additionalProperties:false,required:["id","organizationId","subject","slug","createdAt","updatedAt"],properties:{id:{description:"Server-generated Blowhorn profile 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"}},subject:{type:"string",description:"Subject the profile is keyed by.",minLength:1,maxLength:255,"x-oapi-codegen-extra-tags":{db:"subject"},"x-order":3},slug:{type:"string",description:"Unique slug for the profile within the organization. Renames are guarded server-side.",minLength:1,maxLength:255,"x-oapi-codegen-extra-tags":{db:"slug"},"x-order":4},attributes:{type:"object",description:"Free-form profile attributes, 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:"attributes"},"x-order":5},createdAt:{description:"Timestamp of Blowhorn profile creation.","x-oapi-codegen-extra-tags":{db:"created_at"},"x-order":6,type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},updatedAt:{description:"Timestamp of last Blowhorn profile modification.","x-oapi-codegen-extra-tags":{db:"updated_at"},"x-order":7,type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},deletedAt:{type:"string",format:"date-time",description:"Timestamp when the Blowhorn profile 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":8}}},BlowhornProfilePayload:{type:"object",description:"Payload for creating or updating a Blowhorn profile. 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:["subject","slug"],properties:{id:{description:"Existing Blowhorn profile 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"}},subject:{type:"string",description:"Subject the profile is keyed by.",minLength:1,maxLength:255},slug:{type:"string",description:"Unique slug for the profile within the organization. Renames are guarded server-side.",minLength:1,maxLength:255},attributes:{type:"object",description:"Free-form profile attributes, 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}}},BlowhornProfilePage:{type:"object",description:"Paginated collection of Blowhorn profiles.",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},blowhornProfiles:{type:"array",items:{"x-go-type":"BlowhornProfile",$schema:"http://json-schema.org/draft-07/schema#",title:"Blowhorn Profile Schema",description:`Server-returned Blowhorn profile as persisted by meshery-cloud. A profile
40
+ binds a subject to a slug with free-form attributes, scoped by
41
+ organization and keyed by subject. Subject-to-slug resolution stays
42
+ Blowhorn-side; organization, user and team identity are reused from the
43
+ existing constructs. Profiles soft-delete, and renames are guarded
44
+ server-side.
45
+ `,type:"object",additionalProperties:false,required:["id","organizationId","subject","slug","createdAt","updatedAt"],properties:{id:{description:"Server-generated Blowhorn profile 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"}},subject:{type:"string",description:"Subject the profile is keyed by.",minLength:1,maxLength:255,"x-oapi-codegen-extra-tags":{db:"subject"},"x-order":3},slug:{type:"string",description:"Unique slug for the profile within the organization. Renames are guarded server-side.",minLength:1,maxLength:255,"x-oapi-codegen-extra-tags":{db:"slug"},"x-order":4},attributes:{type:"object",description:"Free-form profile attributes, 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:"attributes"},"x-order":5},createdAt:{description:"Timestamp of Blowhorn profile creation.","x-oapi-codegen-extra-tags":{db:"created_at"},"x-order":6,type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},updatedAt:{description:"Timestamp of last Blowhorn profile modification.","x-oapi-codegen-extra-tags":{db:"updated_at"},"x-order":7,type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},deletedAt:{type:"string",format:"date-time",description:"Timestamp when the Blowhorn profile 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":8}}},description:"Blowhorn profiles included on this page of results."}}}}}},t=e;module.exports=t;
@@ -0,0 +1,45 @@
1
+ var e={openapi:"3.0.0",info:{title:"BlowhornProfile",description:`OpenAPI schema for Blowhorn profiles - subject-to-slug records with
2
+ free-form attributes, scoped by organization and keyed by subject.
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:"blowhornProfiles",description:"Operations related to Blowhorn profiles."}],paths:{"/api/blowhorn/profiles":{get:{"x-internal":["cloud"],tags:["blowhornProfiles"],summary:"List Blowhorn profiles",operationId:"listBlowhornProfiles",description:"Returns a paginated list of Blowhorn profiles 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"}}],responses:{200:{description:"Blowhorn profiles page",content:{"application/json":{schema:{type:"object",description:"Paginated collection of Blowhorn profiles.",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},blowhornProfiles:{type:"array",items:{"x-go-type":"BlowhornProfile",$schema:"http://json-schema.org/draft-07/schema#",title:"Blowhorn Profile Schema",description:`Server-returned Blowhorn profile as persisted by meshery-cloud. A profile
4
+ binds a subject to a slug with free-form attributes, scoped by
5
+ organization and keyed by subject. Subject-to-slug resolution stays
6
+ Blowhorn-side; organization, user and team identity are reused from the
7
+ existing constructs. Profiles soft-delete, and renames are guarded
8
+ server-side.
9
+ `,type:"object",additionalProperties:false,required:["id","organizationId","subject","slug","createdAt","updatedAt"],properties:{id:{description:"Server-generated Blowhorn profile 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"}},subject:{type:"string",description:"Subject the profile is keyed by.",minLength:1,maxLength:255,"x-oapi-codegen-extra-tags":{db:"subject"},"x-order":3},slug:{type:"string",description:"Unique slug for the profile within the organization. Renames are guarded server-side.",minLength:1,maxLength:255,"x-oapi-codegen-extra-tags":{db:"slug"},"x-order":4},attributes:{type:"object",description:"Free-form profile attributes, 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:"attributes"},"x-order":5},createdAt:{description:"Timestamp of Blowhorn profile creation.","x-oapi-codegen-extra-tags":{db:"created_at"},"x-order":6,type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},updatedAt:{description:"Timestamp of last Blowhorn profile modification.","x-oapi-codegen-extra-tags":{db:"updated_at"},"x-order":7,type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},deletedAt:{type:"string",format:"date-time",description:"Timestamp when the Blowhorn profile 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":8}}},description:"Blowhorn profiles 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:["blowhornProfiles"],summary:"Upsert Blowhorn profile",operationId:"upsertBlowhornProfile",description:"Creates a new Blowhorn profile 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. Slug renames are guarded server-side.\n",requestBody:{required:true,content:{"application/json":{schema:{type:"object",description:"Payload for creating or updating a Blowhorn profile. 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:["subject","slug"],properties:{id:{description:"Existing Blowhorn profile 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"}},subject:{type:"string",description:"Subject the profile is keyed by.",minLength:1,maxLength:255},slug:{type:"string",description:"Unique slug for the profile within the organization. Renames are guarded server-side.",minLength:1,maxLength:255},attributes:{type:"object",description:"Free-form profile attributes, 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 profile saved",content:{"application/json":{schema:{$schema:"http://json-schema.org/draft-07/schema#",title:"Blowhorn Profile Schema",description:`Server-returned Blowhorn profile as persisted by meshery-cloud. A profile
10
+ binds a subject to a slug with free-form attributes, scoped by
11
+ organization and keyed by subject. Subject-to-slug resolution stays
12
+ Blowhorn-side; organization, user and team identity are reused from the
13
+ existing constructs. Profiles soft-delete, and renames are guarded
14
+ server-side.
15
+ `,type:"object",additionalProperties:false,required:["id","organizationId","subject","slug","createdAt","updatedAt"],properties:{id:{description:"Server-generated Blowhorn profile 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"}},subject:{type:"string",description:"Subject the profile is keyed by.",minLength:1,maxLength:255,"x-oapi-codegen-extra-tags":{db:"subject"},"x-order":3},slug:{type:"string",description:"Unique slug for the profile within the organization. Renames are guarded server-side.",minLength:1,maxLength:255,"x-oapi-codegen-extra-tags":{db:"slug"},"x-order":4},attributes:{type:"object",description:"Free-form profile attributes, 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:"attributes"},"x-order":5},createdAt:{description:"Timestamp of Blowhorn profile creation.","x-oapi-codegen-extra-tags":{db:"created_at"},"x-order":6,type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},updatedAt:{description:"Timestamp of last Blowhorn profile modification.","x-oapi-codegen-extra-tags":{db:"updated_at"},"x-order":7,type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},deletedAt:{type:"string",format:"date-time",description:"Timestamp when the Blowhorn profile 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":8}}}}}},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/profiles/by-subject":{get:{"x-internal":["cloud"],tags:["blowhornProfiles"],summary:"Get Blowhorn profile by subject",operationId:"getBlowhornProfileBySubject",description:"Returns the Blowhorn profile keyed by the given subject within the organization of the authenticated session.",parameters:[{name:"subject",in:"query",required:true,description:"Subject the profile is keyed by.",schema:{type:"string"}}],responses:{200:{description:"Blowhorn profile response",content:{"application/json":{schema:{$schema:"http://json-schema.org/draft-07/schema#",title:"Blowhorn Profile Schema",description:`Server-returned Blowhorn profile as persisted by meshery-cloud. A profile
16
+ binds a subject to a slug with free-form attributes, scoped by
17
+ organization and keyed by subject. Subject-to-slug resolution stays
18
+ Blowhorn-side; organization, user and team identity are reused from the
19
+ existing constructs. Profiles soft-delete, and renames are guarded
20
+ server-side.
21
+ `,type:"object",additionalProperties:false,required:["id","organizationId","subject","slug","createdAt","updatedAt"],properties:{id:{description:"Server-generated Blowhorn profile 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"}},subject:{type:"string",description:"Subject the profile is keyed by.",minLength:1,maxLength:255,"x-oapi-codegen-extra-tags":{db:"subject"},"x-order":3},slug:{type:"string",description:"Unique slug for the profile within the organization. Renames are guarded server-side.",minLength:1,maxLength:255,"x-oapi-codegen-extra-tags":{db:"slug"},"x-order":4},attributes:{type:"object",description:"Free-form profile attributes, 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:"attributes"},"x-order":5},createdAt:{description:"Timestamp of Blowhorn profile creation.","x-oapi-codegen-extra-tags":{db:"created_at"},"x-order":6,type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},updatedAt:{description:"Timestamp of last Blowhorn profile modification.","x-oapi-codegen-extra-tags":{db:"updated_at"},"x-order":7,type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},deletedAt:{type:"string",format:"date-time",description:"Timestamp when the Blowhorn profile 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":8}}}}}},400:{description:"Invalid request body or request param",content:{"text/plain":{schema:{type:"string"}}}},401:{description:"Expired JWT token used or insufficient privilege",content:{"text/plain":{schema:{type:"string"}}}},404:{description:"Result not found",content:{"text/plain":{schema:{type:"string"}}}},500:{description:"Internal server error",content:{"text/plain":{schema:{type:"string"}}}}}}},"/api/blowhorn/profiles/{blowhornProfileId}":{get:{"x-internal":["cloud"],tags:["blowhornProfiles"],summary:"Get Blowhorn profile by ID",operationId:"getBlowhornProfile",parameters:[{name:"blowhornProfileId",in:"path",description:"Blowhorn profile 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 profile response",content:{"application/json":{schema:{$schema:"http://json-schema.org/draft-07/schema#",title:"Blowhorn Profile Schema",description:`Server-returned Blowhorn profile as persisted by meshery-cloud. A profile
22
+ binds a subject to a slug with free-form attributes, scoped by
23
+ organization and keyed by subject. Subject-to-slug resolution stays
24
+ Blowhorn-side; organization, user and team identity are reused from the
25
+ existing constructs. Profiles soft-delete, and renames are guarded
26
+ server-side.
27
+ `,type:"object",additionalProperties:false,required:["id","organizationId","subject","slug","createdAt","updatedAt"],properties:{id:{description:"Server-generated Blowhorn profile 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"}},subject:{type:"string",description:"Subject the profile is keyed by.",minLength:1,maxLength:255,"x-oapi-codegen-extra-tags":{db:"subject"},"x-order":3},slug:{type:"string",description:"Unique slug for the profile within the organization. Renames are guarded server-side.",minLength:1,maxLength:255,"x-oapi-codegen-extra-tags":{db:"slug"},"x-order":4},attributes:{type:"object",description:"Free-form profile attributes, 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:"attributes"},"x-order":5},createdAt:{description:"Timestamp of Blowhorn profile creation.","x-oapi-codegen-extra-tags":{db:"created_at"},"x-order":6,type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},updatedAt:{description:"Timestamp of last Blowhorn profile modification.","x-oapi-codegen-extra-tags":{db:"updated_at"},"x-order":7,type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},deletedAt:{type:"string",format:"date-time",description:"Timestamp when the Blowhorn profile 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":8}}}}}},400:{description:"Invalid request body or request param",content:{"text/plain":{schema:{type:"string"}}}},401:{description:"Expired JWT token used or insufficient privilege",content:{"text/plain":{schema:{type:"string"}}}},404:{description:"Result not found",content:{"text/plain":{schema:{type:"string"}}}},500:{description:"Internal server error",content:{"text/plain":{schema:{type:"string"}}}}}},put:{"x-internal":["cloud"],tags:["blowhornProfiles"],summary:"Update Blowhorn profile",operationId:"updateBlowhornProfile",description:"Updates the Blowhorn profile matching the path ID. Slug renames are guarded server-side.",parameters:[{name:"blowhornProfileId",in:"path",description:"Blowhorn profile ID",required:true,schema:{type:"string",format:"uuid",description:"A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"}}}],requestBody:{required:true,content:{"application/json":{schema:{type:"object",description:"Payload for creating or updating a Blowhorn profile. 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:["subject","slug"],properties:{id:{description:"Existing Blowhorn profile 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"}},subject:{type:"string",description:"Subject the profile is keyed by.",minLength:1,maxLength:255},slug:{type:"string",description:"Unique slug for the profile within the organization. Renames are guarded server-side.",minLength:1,maxLength:255},attributes:{type:"object",description:"Free-form profile attributes, 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 profile updated",content:{"application/json":{schema:{$schema:"http://json-schema.org/draft-07/schema#",title:"Blowhorn Profile Schema",description:`Server-returned Blowhorn profile as persisted by meshery-cloud. A profile
28
+ binds a subject to a slug with free-form attributes, scoped by
29
+ organization and keyed by subject. Subject-to-slug resolution stays
30
+ Blowhorn-side; organization, user and team identity are reused from the
31
+ existing constructs. Profiles soft-delete, and renames are guarded
32
+ server-side.
33
+ `,type:"object",additionalProperties:false,required:["id","organizationId","subject","slug","createdAt","updatedAt"],properties:{id:{description:"Server-generated Blowhorn profile 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"}},subject:{type:"string",description:"Subject the profile is keyed by.",minLength:1,maxLength:255,"x-oapi-codegen-extra-tags":{db:"subject"},"x-order":3},slug:{type:"string",description:"Unique slug for the profile within the organization. Renames are guarded server-side.",minLength:1,maxLength:255,"x-oapi-codegen-extra-tags":{db:"slug"},"x-order":4},attributes:{type:"object",description:"Free-form profile attributes, 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:"attributes"},"x-order":5},createdAt:{description:"Timestamp of Blowhorn profile creation.","x-oapi-codegen-extra-tags":{db:"created_at"},"x-order":6,type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},updatedAt:{description:"Timestamp of last Blowhorn profile modification.","x-oapi-codegen-extra-tags":{db:"updated_at"},"x-order":7,type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},deletedAt:{type:"string",format:"date-time",description:"Timestamp when the Blowhorn profile 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":8}}}}}},400:{description:"Invalid request body or request param",content:{"text/plain":{schema:{type:"string"}}}},401:{description:"Expired JWT token used or insufficient privilege",content:{"text/plain":{schema:{type:"string"}}}},404:{description:"Result not found",content:{"text/plain":{schema:{type:"string"}}}},500:{description:"Internal server error",content:{"text/plain":{schema:{type:"string"}}}}}},delete:{"x-internal":["cloud"],tags:["blowhornProfiles"],summary:"Delete Blowhorn profile",operationId:"deleteBlowhornProfile",description:"Soft-deletes the Blowhorn profile.",parameters:[{name:"blowhornProfileId",in:"path",description:"Blowhorn profile ID",required:true,schema:{type:"string",format:"uuid",description:"A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"}}}],responses:{204:{description:"Blowhorn profile deleted"},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:{blowhornProfileId:{name:"blowhornProfileId",in:"path",description:"Blowhorn profile 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:{BlowhornProfile:{$schema:"http://json-schema.org/draft-07/schema#",title:"Blowhorn Profile Schema",description:`Server-returned Blowhorn profile as persisted by meshery-cloud. A profile
34
+ binds a subject to a slug with free-form attributes, scoped by
35
+ organization and keyed by subject. Subject-to-slug resolution stays
36
+ Blowhorn-side; organization, user and team identity are reused from the
37
+ existing constructs. Profiles soft-delete, and renames are guarded
38
+ server-side.
39
+ `,type:"object",additionalProperties:false,required:["id","organizationId","subject","slug","createdAt","updatedAt"],properties:{id:{description:"Server-generated Blowhorn profile 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"}},subject:{type:"string",description:"Subject the profile is keyed by.",minLength:1,maxLength:255,"x-oapi-codegen-extra-tags":{db:"subject"},"x-order":3},slug:{type:"string",description:"Unique slug for the profile within the organization. Renames are guarded server-side.",minLength:1,maxLength:255,"x-oapi-codegen-extra-tags":{db:"slug"},"x-order":4},attributes:{type:"object",description:"Free-form profile attributes, 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:"attributes"},"x-order":5},createdAt:{description:"Timestamp of Blowhorn profile creation.","x-oapi-codegen-extra-tags":{db:"created_at"},"x-order":6,type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},updatedAt:{description:"Timestamp of last Blowhorn profile modification.","x-oapi-codegen-extra-tags":{db:"updated_at"},"x-order":7,type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},deletedAt:{type:"string",format:"date-time",description:"Timestamp when the Blowhorn profile 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":8}}},BlowhornProfilePayload:{type:"object",description:"Payload for creating or updating a Blowhorn profile. 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:["subject","slug"],properties:{id:{description:"Existing Blowhorn profile 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"}},subject:{type:"string",description:"Subject the profile is keyed by.",minLength:1,maxLength:255},slug:{type:"string",description:"Unique slug for the profile within the organization. Renames are guarded server-side.",minLength:1,maxLength:255},attributes:{type:"object",description:"Free-form profile attributes, 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}}},BlowhornProfilePage:{type:"object",description:"Paginated collection of Blowhorn profiles.",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},blowhornProfiles:{type:"array",items:{"x-go-type":"BlowhornProfile",$schema:"http://json-schema.org/draft-07/schema#",title:"Blowhorn Profile Schema",description:`Server-returned Blowhorn profile as persisted by meshery-cloud. A profile
40
+ binds a subject to a slug with free-form attributes, scoped by
41
+ organization and keyed by subject. Subject-to-slug resolution stays
42
+ Blowhorn-side; organization, user and team identity are reused from the
43
+ existing constructs. Profiles soft-delete, and renames are guarded
44
+ server-side.
45
+ `,type:"object",additionalProperties:false,required:["id","organizationId","subject","slug","createdAt","updatedAt"],properties:{id:{description:"Server-generated Blowhorn profile 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"}},subject:{type:"string",description:"Subject the profile is keyed by.",minLength:1,maxLength:255,"x-oapi-codegen-extra-tags":{db:"subject"},"x-order":3},slug:{type:"string",description:"Unique slug for the profile within the organization. Renames are guarded server-side.",minLength:1,maxLength:255,"x-oapi-codegen-extra-tags":{db:"slug"},"x-order":4},attributes:{type:"object",description:"Free-form profile attributes, 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:"attributes"},"x-order":5},createdAt:{description:"Timestamp of Blowhorn profile creation.","x-oapi-codegen-extra-tags":{db:"created_at"},"x-order":6,type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},updatedAt:{description:"Timestamp of last Blowhorn profile modification.","x-oapi-codegen-extra-tags":{db:"updated_at"},"x-order":7,type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},deletedAt:{type:"string",format:"date-time",description:"Timestamp when the Blowhorn profile 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":8}}},description:"Blowhorn profiles included on this page of results."}}}}}},t=e;export{t as default};